]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
1f1bc12c439d4b3dd0b6ff1972c01132081a23f7
[lyx.git] / src / ChangeLog
1 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * lyxrc.C: do not set user_email to a default value but use empty
4         instead. The entry used to be translated, which does not work
5         since at the point where lyxrc is constructed there is no
6         translation service available
7
8         * messages.C (getLocaleDir): remove and use directly
9         lyx_localedir() instead
10
11 2004-06-02  Angus Leeming  <leeming@lyx.org>
12
13         Fix crash caused by dereferencing null pointer 'exportdata' in
14         OutputParams by creating a new ExportData variable on the heap,
15         storing it in a boost::shared_ptr.
16         The crash was triggered when generating an Instant Preview
17         of an external inset.
18
19         * Makefile.am: add outputparams.C
20
21         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
22         (c-tor): allocate memory to it.
23
24         * exporter.C (c-tor): associated changes.
25
26 2004-06-01  Angus Leeming  <leeming@lyx.org>
27
28         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
29         contains data before calling isInset(0). (Bug 1513.)
30
31 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
32
33         * exporter.C (checkOverwrite): new method
34         * exporter.C (copyFile): new method
35         * exporter.C (Export): copy referenced files to the document dir
36         * exporter.[Ch]: new class ExportedFile
37         * exporter.[Ch]: new class ExportData. Contains currently the
38         names of referenced external files
39         * outputparams.h: add exportdata member.
40
41 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
42
43         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
44         version.C-tmp
45
46 2004-05-19  Angus Leeming  <leeming@lyx.org>
47
48         * LaTeXFeatures.C:
49         * ToolbarBackend.C:
50         * bufferparams.C:
51         * lyxfunc.C: small changes due to the introduction of namespace
52         lyx::frontend and the moving of namespace biblio to lyx::biblio.
53
54 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
55
56         * text3.C (dispatch): supress update when only moving the cursor
57         * cursor.C (selHandle): remove commented code
58
59 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
60
61         * paragraph.C (startTeXParParams): correct column count
62         * CutAndPaste.C (pasteSelection): remove const_cast
63         * output_docbook.C (docbookParagraphs): remove const_cast
64         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
65         const_cast and return ParagraphList::const_iterator
66         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
67         * output_plaintext.C (writeFileAscii): remove const_cast
68         * paragraph.[Ch] (simpleTeXOnePar): make const
69         * paragraph_funcs.C (outerPar): use const iterators
70         * paragraph_pimpl.C (validate): use const iterators
71         * text.C (setHeightOfRow): use const iterators
72
73 2004-05-17  Angus Leeming  <leeming@lyx.org>
74
75         * lfuns.h:
76         * LyXAction.C (init): new LFUN_INSET_REFRESH.
77
78         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
79         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
80         if the citation engine has changed.
81
82 2004-05-14  José Matos  <jamatos@lyx.org>
83
84         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
85         if the textclass does not provide it. Have it different for sgml and
86         xml.
87         support the language of document.
88         * output_docbook.C (docbookParagraphs):
89         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
90         first anchor as the id of the paragraph, remove special case code.
91         * sgml.C (escapeChar): escape only < & >.
92
93 2004-05-14  Angus Leeming  <leeming@lyx.org>
94
95         * bufferparams.h: move biblio::CiteEngine enum here to minimize
96         dependencies on src/frontends/controllers/biblio.h. Define a
97         CiteEngine_enum wrapper class to enable the enum to be forward
98         declared.
99
100 2004-05-12  Angus Leeming  <leeming@lyx.org>
101
102         * buffer.C: up LYX_FORMAT to 234.
103         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
104         use_numerical_citations with a single biblio::CiteEngine cite_engine
105         variable.
106         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
107
108 2004-05-13  José Matos  <jamatos@lyx.org>
109
110         * converter.h:
111         * converter.C (Converter, readFlags): add xml member.
112         * outputparams.h: add XML flavor.
113         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
114
115 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
116
117         * lyxfunc.C (dispatch):
118         (getStatus): fix handling of LFUN_SEQUENCE
119
120 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
121
122         * debug.C (showLevel): do not forget the end-of-line marker
123
124 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
125
126         * kbmap.C (read): do not stop parsing a bind file when an error
127         occurs (bug 1575)
128
129 2004-04-29  Angus Leeming  <leeming@lyx.org>
130
131         * cursor.C:
132         * factory.C:
133         * pariterator.C:
134         * text2.C: wrap a bunch of #warning statements
135         inside #ifdef WITH_WARNINGS blocks.
136
137 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
138
139         * buffer.C: increment format to 233.
140
141 2004-04-28  Angus Leeming  <leeming@lyx.org>
142
143         * BufferView_pimpl.C:
144         * lyxfunc.C:
145         * text3.C:
146         s/updateToolbar()/updateToolbars()/
147         s/Toolbar.h/Toolbars.h/
148
149 2004-04-28  Angus Leeming  <leeming@lyx.org>
150
151         * BufferView.[Ch] (c-tor):
152         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
153         No longer passes these data to the WorkArea generator.
154
155 2004-04-28  Angus Leeming  <leeming@lyx.org>
156
157         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
158
159 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
160
161         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
162
163 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
164
165         * output_latex.C (TeXEnvironment): make sure that there is a line
166         break before \end{foo} for the last paragraph of a document
167         (TeXOnePar): if the paragraph is at the end of the document (or
168         inset) and the language has to be reset, then make sure that the
169         line break is _before_ the language command, not after (fixes bug
170         1225); also make sure that the language reset command is the first
171         thing after the paragraph (to ensure proper nesting of
172         environments and thus fix bug 1404)
173
174 2004-04-21  John Levon  <levon@movementarian.org>
175
176         * ToolbarBackend.h:
177         * ToolbarBackend.C: make "name" be a programmatic name
178         and a gui_name field.
179
180         * lyxfunc.C: display the minibuffer on M-x
181
182 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
183
184         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
185         (bug 1526)
186
187 2004-04-19  Angus Leeming  <leeming@lyx.org>
188
189         * BufferView_pimpl.C (setBuffer): changed preview interface.
190
191         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
192         possible values.
193
194 2004-04-19  John Levon  <levon@movementarian.org>
195
196         * BufferView_pimpl.C:
197         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
198
199 2004-04-05  Angus Leeming  <leeming@lyx.org>
200
201         * text.C (redoParagraphs): add call to updateCounters(), thereby
202         fixing the missing "Figure #:" label from the caption of a
203         figure float.
204
205 2004-04-13  Angus Leeming  <leeming@lyx.org>
206
207         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
208         cursor is clicked out of an inset.
209
210 2004-04-13  Angus Leeming  <leeming@lyx.org>
211
212         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
213         than an InsetOld one.
214
215 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
216
217         * format.[Ch]: add editor to Format
218         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
219         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
220
221 2004-04-08  André Pönitz  <poenitz@gmx.net>
222
223         * metricsinfo.h: remove PainterInfo::width member
224
225 2004-04-08  Angus Leeming  <leeming@lyx.org>
226
227         * lyx_sty.C (boldsymbol_def): modify so that it outputs
228         "\providecommand" rather than "\newcommand", thereby preventing
229         clashes with packages that define "\boldsymbol" themselves.
230         Eg, beamer.
231
232 2004-04-08  Angus Leeming  <leeming@lyx.org>
233
234         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
235         thereby squashing an unnecessary warning.
236
237 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
238
239         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
240         setBuffer()
241
242 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
243
244         * BufferView.C (setCursor): call redoParagraph (some insets could
245         have been opened)
246         (putSelectionAt): remove the 'double update' trick
247
248         * BufferView_pimpl.C (fitCursor): call refreshPar
249         (workAreaDispatch): remove an uneeded update call
250         (dispatch): remove some manual update calls
251
252         * cursor.[Ch]: remove cached_y_, updatePos
253         (selHandle): set noUpdate when appropriate
254
255         * lyxfunc.C (dispatch): track if we need an update
256
257         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
258
259         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
260         (paintSelection): cheap optimization, do not call cursorX when not
261         needed
262         (paintPars): change signature
263         (refreshPar): add
264         (paintText): adjust
265         (paintTextInset): adjust
266
267         * text.C: adjust
268
269 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
270
271         * lengthcommon.C: compilation fix: remove explicit array size from
272         unit_name[] and friends
273
274 2004-04-05  Angus Leeming  <leeming@lyx.org>
275
276         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
277
278         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
279         present only for the preferences dialog.
280         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
281
282 2004-04-05  Angus Leeming  <leeming@lyx.org>
283
284         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
285         to enable the frontends to export changes to lyxrc correctly.
286
287         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
288
289 2004-04-07  André Pönitz  <poenitz@gmx.net>
290
291         * cursor.[Ch] (selClear, adjust): remove math
292
293         * cursor_slice.C: more agressive assert
294
295         * lyxfunc.C:
296         * BufferView_pimpl.C: rework mouse event dispatch
297
298         * dociterator.C:
299         * paragraph.C:
300         * text2.C:
301         * text3.C: adjust
302
303 2004-04-05  André Pönitz  <poenitz@gmx.net>
304
305         * cursor.[Ch] (valign, halign...): remove unneeded functions
306
307 2004-04-05  Angus Leeming  <leeming@lyx.org>
308
309         * lyxlength.[Ch] (unit_name et al.): const-correct.
310
311 2004-04-05  Angus Leeming  <leeming@lyx.org>
312
313         * BufferView_pimpl.C:
314         * buffer.C:
315         * counters.C:
316         * cursor.C:
317         * lyxfunc.C
318         * paragraph.C:
319         * pariterator.C:
320         * text.C:
321         * text2.C:
322         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
323
324 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
325
326         * text3.C (getStatus): add LFUN_BEGINNINGBUF
327
328 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
329
330         * lyxfind.C: add a couple of inTexted() tests + other small fixes
331         * BufferView_pimpl.[Ch] (getStatus)
332         * BufferView.[Ch] (getStatus): add
333         * lyxfunc.C (getStatus): move lfuns handled in
334         BufferView::dispatch to te function above
335         * Cursor.C (setSelection): set selection() = true
336
337 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
338
339         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
340
341 2004-03-31  Angus Leeming  <leeming@lyx.org>
342
343         * lyxfunc.C (dispatch): Fall through to the generic
344         Dialogs::show("preamble").
345
346 2004-03-31  Angus Leeming  <leeming@lyx.org>
347
348         * lyxfunc.C (dispatch): Fall through to the generic
349         Dialogs::show("spellchecker").
350
351 2004-03-31  Angus Leeming  <leeming@lyx.org>
352
353         * lyxfunc.C (getStatus, dispatch): changed invocation of the
354         preferences dialog.
355
356 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
357
358         * BufferView.C
359         * cursor.[Ch]
360         * dociterator.[Ch]:
361         * insetiterator.[Ch]:
362         * lyxfind.C:
363         * lyxfunc.C:
364         * pariterator.[Ch]:
365         * text2.C:
366         * undo.[Ch]: s/DocumentIterator/DocIterator/g
367
368 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
369
370         * BufferView.C (setCursor, putSelectionAt): call edit to open the
371         insets where we are putting the cursor.
372
373 2004-03-31  Angus Leeming  <leeming@lyx.org>
374
375         * lfuns.h:
376         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
377
378         * lyxrc.[Ch] (read, write): overloaded member functions taking
379         a std::[io]stream arguments.
380
381         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
382
383 2004-03-31  Angus Leeming  <leeming@lyx.org>
384
385         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
386         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
387
388         * lyxtextclass.C (load): if the text class couldn't be loaded, then
389         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
390
391 2004-03-31  Angus Leeming  <leeming@lyx.org>
392
393         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
394         the LFUN_ALL_INSETS_TOGGLE code.
395
396 2004-03-30  Angus Leeming  <leeming@lyx.org>
397
398         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
399         has died. Fall through to the generic Dialogs::show("document").
400
401 2004-03-30  Angus Leeming  <leeming@lyx.org>
402
403         * lfuns.h:
404         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
405         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
406
407         * lyxfunc.C (getStatus, dispatch): define the actions for these
408         lfuns. Little more than a cut and pste job from ControlDocument.C
409
410         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
411
412 2004-03-30  Angus Leeming  <leeming@lyx.org>
413
414         * lfuns.h:
415         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
416         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
417
418         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
419         open/closed state of ollapsable insets. Usage:
420
421         all-inset-toggle <state> <name>, where
422         <state> == "open" || "closed" || "toggle" and
423         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
424
425         * lyxtext.h, text2.C (toggleInset): removed.
426
427         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
428         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
429         now passes LFUN_INSET_TOGGLE to the found inset.
430
431         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
432         is now invoked as "all-insets-toggle toggle branch".
433
434 2004-03-30  Angus Leeming  <leeming@lyx.org>
435
436         * dociterator.C:
437         * insetiterator.C:
438         * pariterator.[Ch]: added/corrected header blurb.
439
440 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
441
442         * dociterator.[Ch]: add an inset_ member
443         (backwardPos): implemented
444         (backwardPos, forwardPos): use inset_ when the stack is empty.
445         (doc_iterator_begin, doc_iterator_end): implemented
446         * pariterator.[Ch]: adjust, add begin, end
447         * insetiterator.[Ch]: adjust, add begin, end
448         * cursor.C:
449         * document.C:
450         * BufferView.C:
451         * BufferView_pimpl.C:
452         * CutAndPaste.C: adjust
453
454 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
455
456         * buffer.C: increment file format to 232.
457         * LaTeXFeatures.C: add bibtopic package.
458         * bufferparams.[Ch]: param \use_bibtopic.
459
460         * lyxrc.[Ch]: add lyxrc bibtex_command
461         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
462
463         * buffer.C: increment file format to 231.
464
465 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
466
467         * dociterator.C: implement forwardPar
468         * iterators.[Ch]: remove, replaced by
469         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
470         * BufferView.C:
471         * BufferView_pimpl.C:
472         * CutAndPaste.C:
473         * buffer.C:
474         * bufferview_funcs.C:
475         * cursor.C:
476         * lyxfind.C
477         * lyxfunc.C
478         * paragraph_funcs.C
479         * toc.C:
480         * Makefile.am: adjust
481
482 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
483
484         * CutAndPaste.C (pasteSelection): fix 2 crashes
485         (eraseSelection): fix a crash
486         * paragraph_funcs.C: remove a warning
487
488 2004-03-28  Angus Leeming  <leeming@lyx.org>
489
490         * lfuns.h:
491         * LyXAction.C (init): new LFUN_PRINT.
492
493         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
494
495 2004-03-27  Angus Leeming  <leeming@lyx.org>
496
497         * lfuns.h:
498         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
499
500         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
501
502 2004-03-27  Angus Leeming  <leeming@lyx.org>
503
504         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
505         insetlist always contains non-null pointers to insets.
506
507 2004-03-26  Angus Leeming  <leeming@lyx.org>
508
509         * src/BufferView_pimpl.C:
510         * src/CutAndPaste.C:
511         * src/buffer.C:
512         * src/iterators.C:
513         * src/output_plaintext.C:
514         * src/outputparams.h:
515         * src/paragraph_funcs.C:
516         * src/rowpainter.C:
517         * src/text.C:
518         * src/text2.C:
519         * src/frontends/controllers/ControlErrorList.C:
520         * src/frontends/gtk/FileDialogPrivate.C:
521         * src/frontends/gtk/GPainter.C:
522         * src/frontends/gtk/GToolbar.C:
523         * src/frontends/qt2/QRef.C:
524         * src/mathed/math_scriptinset.C: squash compiler warnings.
525
526 2004-03-26  Angus Leeming  <leeming@lyx.org>
527
528         * ispell.C (LaunchIspell::start):
529         * lyx_cb.C (AutoSaveBuffer::start):
530         invoke run(DontWait) rather than runNonBlocking().
531
532 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
533
534         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
535
536 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
537
538         * kbsequence.C (print): adjust
539
540         * kbmap.C (printKeySym): rename and change signature
541         (printKey): use LyXKeySym::print()
542
543 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
544
545         * undo.C: add using std::advance to compile for stlport
546
547 2004-03-24  Angus Leeming  <leeming@lyx.org>
548
549         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
550         it leads to a crash when no buffer is present.
551
552 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
553             Martin Vermeer  <martin.vermeer@hut.fi>
554
555         * lyxfunc.C (dispatch):
556         * bufferparams.C (readToken): use the new LColor::setColor
557
558         * LColor.[Ch] (setColor): new version that takes two strings as
559         argument and creates a new color entry if necessary
560
561 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
562
563         * buffer.C (makeLaTeXFile): if the main latex file that is
564         processed is usually a subdocument of some master, then pretend
565         for a while that it is actually the master
566
567 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
568
569         * buffer.C (getLabelList):
570         (getBibkeyList): use getMasterBuffer()
571         (getMasterBuffer): new method. Returns the main document in the
572         case where one is using included documents.
573
574 2004-03-25  André Pönitz  <poenitz@gmx.net>
575
576         * Makefile.am:
577         * iterators.[Ch]:
578         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
579
580         * ParagraphList_fwd.h: change ParagraphList to a std::vector
581
582         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
583         text*.C over here. Rename namespace CutAndPaste to lyx::cap
584
585         * ParameterStruct.h: merge with ParagraphParameters
586
587         * lyxtext.h: remove LyXText::parOffset() and getPar()
588
589         * text3.C: Remove all 'manual' update calls. We do now one per user
590         interaction which is completely sufficient.
591
592         * Bidi.C:
593         * BufferView.[Ch]:
594         * BufferView_pimpl.C:
595         * FontIterator.[Ch]:
596         * MenuBackend.C:
597         * ParagraphParameters.[Ch]:
598         * buffer.C:
599         * buffer.h:
600         * bufferlist.C:
601         * cursor.[Ch]:
602         * cursor_slice.[Ch]:
603         * dociterator.[Ch]:
604         * errorlist.[Ch]:
605         * factory.C:
606         * lfuns.h:
607         * lyxfind.C:
608         * lyxfunc.C:
609         * output_docbook.[Ch]:
610         * output_latex.[Ch]:
611         * output_linuxdoc.[Ch]:
612         * output_plaintext.[Ch]:
613         * paragraph.[Ch]:
614         * paragraph_funcs.[Ch]:
615         * paragraph_pimpl.[Ch]:
616         * rowpainter.C:
617         * tabular.[Ch]:
618         * text.C:
619         * text2.C:
620         * toc.C:
621         * undo.[Ch]: adjust
622
623         * frontends/controllers/ControlDocument.C:
624         * frontends/controllers/ControlErrorList.C:
625         * frontends/controllers/ControlSpellchecker.C:
626         * insets/inset.C:
627         * insets/inset.h:
628         * insets/insetbase.h:
629         * insets/insetbibitem.C:
630         * insets/insetbox.C:
631         * insets/insetbranch.C:
632         * insets/insetcaption.C:
633         * insets/insetcharstyle.C:
634         * insets/insetcharstyle.h:
635         * insets/insetcollapsable.C:
636         * insets/insetcollapsable.h:
637         * insets/insetert.C:
638         * insets/insetfloat.C:
639         * insets/insetfoot.C:
640         * insets/insetmarginal.C:
641         * insets/insetnote.C:
642         * insets/insetoptarg.C:
643         * insets/insettabular.C:
644         * insets/insettext.C:
645         * insets/insettext.h:
646         * insets/insetwrap.C:
647         * mathed/math_mboxinset.C:
648         * mathed/math_nestinset.C:
649         * mathed/math_scriptinset.C:
650         * mathed/math_scriptinset.h:
651         * support/types.h:
652
653 2004-03-24  Angus Leeming  <leeming@lyx.org>
654
655         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
656         deal with any child processes that have finished but are waiting to
657         communicate this fact to the rest of LyX.
658
659 2004-03-24  Angus Leeming  <leeming@lyx.org>
660
661         64-bit compile fixes.
662
663         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
664         (c-tor): pass lyx::pos_types rather than ints.
665
666         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
667         lyx::pos_type.
668
669         * text.C (Delete): compile fix.
670         (getPar): ensure that function declaration is the same as that in
671         the header file.
672
673 2004-03-23  Angus Leeming  <leeming@lyx.org>
674
675         * ispell.C (LaunchIspell):
676         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
677         a boost::shred_ptr rather than a std::auto_ptr.
678
679 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
680
681         * lyxfunc.C (getStatus): handle read-only buffers correctly;
682         handle LFUN_FILE_INSERT_*
683
684         * lyxrc.C (setDefaults, getDescription, output, read):
685         * lyxrc.h: remove ps_command
686
687 2004-03-22  Angus Leeming  <leeming@lyx.org>
688
689         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
690         Ensure that error_handler is processed once only and that all data
691         is saved before attempting to output any warning messages.
692
693         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
694
695 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
696
697         * tabular.C (TeXRow): crash fix (from Kayvan and André)
698
699 2004-03-19  André Pönitz  <poenitz@gmx.net>
700
701         * cursor.[Ch] (reset): take main text inset as argument
702
703         * BufferView: adjust
704         * BufferView_pimpl.C: adjust
705
706         * paragraph.[Ch]: fix completely broken operator=()
707
708 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
709
710         * LColor.C (getFromLyXName): make sure that the color name is used
711         as lowercase.
712
713 2004-03-17  Angus Leeming  <leeming@lyx.org>
714
715         * lfuns.h:
716         * LyXAction.C (init): remove LFUN_FORKS_KILL.
717
718         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
719         dialog and to kill a forked process.
720
721 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
722
723         * text2.C (setCursorFromCoordinates): fix font problem
724
725 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
726
727         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
728         bogus "rebuild cursor" code
729
730 2004-03-11  André Pönitz  <poenitz@gmx.net>
731
732         * buffer.[Ch]: use InsetText instead of LyXText as container for
733         the main lyx text.
734
735         * dociterator.[Ch]: drop the BufferView * member which is not needed
736         anymore after the change to buffer.C
737
738         * paragraph_funcs.C:
739         * text.C:
740         * text2.C:
741         * BufferView.[Ch]:
742         * BufferView_pimpl.[Ch]:
743         * cursor.[Ch]:
744         * cursor_slice.[Ch]: adjust
745
746         * text3.C: fix bug in mathDispatch
747
748 2004-03-08  André Pönitz  <poenitz@gmx.net>
749
750         * undo.[Ch]: use 'StableDocumentIterator' as base for
751         the Undo struct.
752
753 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
754
755         * LaTeXFeatures.C:
756         * bufferparams.[Ch]: add jurabib support and param.
757
758         * LaTeX.C: add FIXME/comment.
759
760 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
761
762         * buffer.C: increment file format to 230.
763
764 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
765
766         * cursor.C (dispatch): avoid infinite loops
767
768 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
769
770         * rowpainter.C (paintSelection): fix x coordinates
771
772 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
773
774         * text.C (rowBreakPoint): fix breaking before displayed insets
775
776 2004-03-01  André Pönitz  <poenitz@gmx.net>
777
778         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
779
780         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
781
782         * Makefile.am:
783         * BufferView.C:
784         * BufferView_pimpl.C:
785         * buffer.C:
786         * lyxfind.C:
787         * lyxfunc.C:
788         * text.C:
789         * text2.C:
790         * text3.C: adjust
791
792 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
793
794         * lyxtext.h:
795         * text.C:
796         * text2.C:
797         * rowpainter.C:
798         * BufferView_pimpl.C: rename textwidth -> maxwidth,
799         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
800
801 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
802
803         * Bidi.[Ch] (computeTables): const correctness
804         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
805         fill_hfill, fill_label_hfill and x from Row
806         * lyxtext.h: prepareToPrint returns a RowMetrics
807         * rowPainter.C: adjust
808         * text.C (prepareToPrint): use width, not textWidth. adjust
809         (redoParagraphInternal, cursorX): adjust
810         * text2.C (getColumnNearX): adjust
811         (init): put a default value to the top LyXText::width
812
813 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
814
815         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
816
817 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
818
819         * lyxtext.h: add FontIterator class
820
821         * text.C (FontIterator, operator*, operator->, operator++): add
822         (rowBreakPoint, setRowWidth): adjust (fixing a
823         rebreaking bug)
824
825 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
826
827         * BufferView_pimpl.C (workAreaDispatch): allow also
828         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
829
830 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
831
832         * text.C (rowBreakPoint): fix a bug showing with very large insets
833
834 2004-02-25  André Pönitz  <poenitz@gmx.net>
835
836         * text3.C:
837         * cursor.[Ch]: move some mathed specific code to mathed
838
839 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
840
841         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
842         use_tempdir in preferences
843         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
844         tempfile creation
845         * lyx_main.C: ensure that tempdir is valid
846         * lyxlex.h: correct typo
847         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
848         * paragraph.[Ch] (isMultiLingual): make const
849         * cursor.[Ch] (openable): make const
850
851 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
852
853         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
854
855 2004-02-20  André Pönitz  <poenitz@gmx.net>
856
857         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
858
859         * cursor.[Ch]: prepare for localized getStatus()
860
861         * lyxtext.h:
862         * tabular.C:
863         * text.C:
864         * text2.C:
865         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
866
867 2004-02-20  André Pönitz  <poenitz@gmx.net>
868
869         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
870
871 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
872
873         * text2.C (setCursorFromCoordinates): switch to absolute coords
874         (cursorUp): adjust
875         (cursorDown): adjust
876         * text3.C (dispatch): adjust
877
878 2004-02-16  André Pönitz  <poenitz@gmx.net>
879
880         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
881           insets/ChangeLog)
882
883         * cursor_slice.[Ch]: remove unneeded acessor function
884
885         * lyxtext.h: rename rtl() to isRTL()
886
887         * rowpainter.C:
888         * tabular.C:
889         * text.C:
890         * text2.C:
891         * text3.C: adjust
892
893 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
894
895         * rowpainter.C (paintSelection): coord fix
896
897 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
898
899         * Spacing.C: compile fix
900
901 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
902
903         * cursor.C (dispatch): restore current_ before returning
904
905 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
906
907         * text2.C (cursorUp, cursorDown): fix coords
908         (moveUp): fix crash
909
910 2004-02-12  André Pönitz  <poenitz@gmx.net>
911
912         * lyxtext.h:
913         * text.C:
914         * text2.C:
915         * text3.C: add LCursor & parameter to most cursor movement functions
916           remove usage of LyXText::cursorRow() and cursorPar()
917
918         * cursor.[Ch]: add textRow() needed members
919
920         * BufferView.C:
921         * BufferView_pimpl.C:
922         * paragraph.[Ch]:
923         * BufferView.C:
924         * BufferView_pimpl.C: adjust
925
926 2004-02-11  André Pönitz  <poenitz@gmx.net>
927
928         * lyxfunc.C:
929         * BufferView.[Ch]:
930         * BufferView_pimpl.C: shift undo/redo handling
931
932         * cursor.[Ch]: fix mathed crash
933
934         * lyxfind.C:
935         * lyxtext.h: move selectionAsText to LCursor
936
937         * output_latex.C:
938         * paragraph.C:
939         * text.C:
940         * text2.C:
941         * text3.C: adjust
942
943         * rowpainter.C: fix excessive drawing
944
945 2004-02-06  André Pönitz  <poenitz@gmx.net>
946
947         * BufferView.[Ch]:
948         * BufferView_pimpl.[Ch]:
949         * text3.C: move some text specific LFUN handling
950
951 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
952
953         * text3.C (checkInsetHit): adjust coords
954         * text2.C (getColumnNearX): adjust coords
955         (edit): adjust coords
956         * text.C (getRowNearY): add two asserts
957
958 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
959
960         * converter.C:
961         * format.C: add using std::distance to compile on gcc 2.95/stlport
962
963 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
964
965         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
966
967 2004-02-04  André Pönitz  <poenitz@gmx.net>
968
969         * BufferView.[Ch] (insertInset):
970         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
971
972         * text2.C:
973         * text3.C: adjust
974
975 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
976
977         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
978         on the default clause of the switch
979         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
980         wasn't catched by LCursor::dispatch
981
982 2004-02-03  André Pönitz  <poenitz@gmx.net>
983
984         * BufferView.C:
985         * cursor.[Ch]: some additional asserts
986
987         * undo.[Ch]: remove LyXText dependency in interface
988
989         * lyxfunc.C: adjust
990
991         * lyxtext.h (firstPar, lastPar): remove dead functions
992
993         * text.C:
994         * text2.C:
995         * text3.C:
996         * paragraph.[Ch]: adjust
997
998 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
999
1000         * lyxfind.C (find): fix argument order in call to ::find
1001
1002 2004-02-02  André Pönitz  <poenitz@gmx.net>
1003
1004         * cursor.[Ch]: remove direct access to anchor
1005
1006         * text.C: remove findText() hack
1007
1008 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1009
1010         * iterators.[Ch] (lockPath): remove in favour of...
1011         * BufferView.[Ch] (setCursor): this addition
1012         * BufferView.C (putSelectionAt): adjust
1013         * undo.C (performUndoOrRedo): adjust
1014         * lyxfunc.C (dispatch): adjust
1015
1016 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1017
1018         * iterators.C (lockPath): add a missing slice
1019         * undo.C (performUndoOrRedo): remove redundant positioning code
1020
1021 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1022
1023         * vc-backend.C (scanMaster): ";" -> ';'
1024
1025 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1026
1027         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1028         std::binary_function
1029
1030         * lyxtextclass.C (compare_name): rename to...
1031         (LayoutNamesEqual): ...this
1032
1033         * lyxlex_pimpl.C (compare_tags): inherit from
1034         std::binary_function, put back into anon namespace
1035
1036         * lyxfind.C (MatchString): inherig from std::binary_function
1037         (findChange): use empty() istead of !size()
1038
1039         * format.C (FormatNamesEqual): new functor
1040         (getFormat): use it
1041         (getNumber): use it
1042         (add): use it
1043         (erase): use it
1044         (setViewer): use it
1045
1046         * converter.C (compare_Converter): rename to...
1047         (ConverterEqual): ...this, and fixup a bit.
1048         (getConverter): use it, and make function const
1049         (getNumber): use it, and make function const
1050         (add): use it
1051         (erase): use it:
1052
1053         * bufferlist.C: add using boost::bind
1054
1055         * MenuBackend.C (MenuNamesEqual): new functor
1056         (hasMenu): use it, and make function const
1057         (hasSubmenu): use nested bind to get rid of compare_memfun.
1058
1059 2004-01-30  André Pönitz  <poenitz@gmx.net>
1060
1061         * BufferView_pimpl.C:
1062         * cursor.C:
1063         * cursor.h:
1064         * cursor_slice.[Ch]:
1065         * lyxfunc.C:
1066         * lyxtext.h:
1067         * paragraph_funcs.C:
1068         * paragraph_funcs.h:
1069         * rowpainter.C:
1070         * text.C:
1071         * text2.C:
1072         * text3.C: move some of the edit(x,y) handling to the insets
1073         some coordinate changes.
1074
1075 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1076
1077         * text.C: add using statements for std::advance and std::distance
1078
1079         * paragraph.C: add using statement for std::distance
1080
1081         * lyxfind.C: add using statement for std::advance
1082
1083         * cursor.C (region): remove std:: from swap
1084         (openable): use nucleus in stead of operator->
1085
1086         * BufferView.C: add using statements for std::distance and std::swap
1087
1088 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1089
1090         * iterators.C: Remove the pimple, move the needed structures to
1091         the header file. Create accessor for the positions stack.
1092         (asPosIterator): remove function
1093
1094         * PosIterator.C (PosIterator): move constructors to top of file
1095         (PosIterator): reimplement the constructor taking a ParIterator in
1096         terms of setFrom.
1097         (setFrom): new function
1098         (operator!=): inline it
1099
1100 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1101
1102         * lyxfind.C (replaceAll): use std::advance
1103
1104         * iterators.h: inherit from std::iterator.
1105
1106         * PosIterator.C (advance, distance): remove
1107         * PosIterator.h: interit from std::iterator.
1108
1109 2004-01-26  André Pönitz  <poenitz@gmx.net>
1110
1111         * BufferView.[Ch]:
1112         * BufferView_pimpl.[Ch]:
1113         * InsetList.[Ch]:
1114         * PosIterator.[Ch]:
1115         * buffer.h:
1116         * bufferview_funcs.C:
1117         * cursor.[Ch]:
1118         * cursor_slice.h:
1119         * factory.[Ch]:
1120         * iterators.[Ch]:
1121         * lyxfind.C:
1122         * lyxfunc.C:
1123         * lyxtext.h:
1124         * output_docbook.C:
1125         * output_latex.C:
1126         * output_linuxdoc.C:
1127         * output_plaintext.C:
1128         * paragraph.[Ch]:
1129         * paragraph_funcs.[Ch]:
1130         * paragraph_pimpl.[Ch]:
1131         * rowpainter.C:
1132         * tabular.C:
1133         * tabular.h:
1134         * text.C:
1135         * text2.C:
1136         * text3.C: more IU:  dumps most of the rest of the mathcursor
1137     implementation into cursor.[Ch]; "globalize" a bit of it.
1138
1139 2004-01-25  Angus Leeming  <leeming@lyx.org>
1140
1141         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1142
1143 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1144
1145         * LaTeXFeatures.h: add nice_ and nice() const
1146         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1147
1148 2004-01-20  André Pönitz  <poenitz@gmx.net>
1149
1150         * BufferView.[Ch]:
1151         * BufferView_pimpl.C:
1152         * PosIterator.C:
1153         * bufferview_funcs.C:
1154         * cursor.[Ch]:
1155         * cursor_slice.[Ch]:
1156         * factory.C:
1157         * iterators.C:
1158         * lyx_cb.C:
1159         * lyxfind.C:
1160         * lyxfunc.C:
1161         * lyxtext.h:
1162         * rowpainter.C:
1163         * text.C:
1164         * text2.C:
1165         * text3.C:
1166         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1167           LCursor and mathcursor parts to LCursor and InsetBase.
1168
1169 2004-01-15  André Pönitz  <poenitz@gmx.net>
1170
1171         * cursor_slice.[Ch]: add a few covienience functions
1172
1173         * funcrequest.[Ch]: remove BufferView * member
1174
1175         * BufferView_pimpl.C:
1176         * cursor.C:
1177         * factory.[Ch]:
1178         * lyxfind.[Ch]:
1179         * lyxfunc.C:
1180         * lyxtext.h:
1181         * text3.C:
1182         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1183
1184 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1185
1186         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1187         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1188
1189 2004-01-13  André Pönitz  <poenitz@gmx.net>
1190
1191         * textcursor.[Ch]:
1192         * lyxtext.h: hide cursor and selection anchor behind accessor function
1193
1194         * BufferView.C:
1195         * BufferView_pimpl.[Ch]:
1196         * PosIterator.C:
1197         * bufferview_funcs.C:
1198         * cursor.h:
1199         * lyxfind.C:
1200         * lyxfunc.C:
1201         * text.C:
1202         * text2.C:
1203         * text3.C:
1204         * undo.C: adjust
1205
1206         * cursor.h:
1207         * cursor_slice.[Ch]: some integer type changes for inset unification
1208
1209         * lyxcursor.[hC]: remove, it's CursorSlice now.
1210
1211         * Makefile.am:
1212         * BufferView_pimpl.[Ch]:
1213         * bufferview_funcs.C:
1214         * cursor_slice.C:
1215         * lyxtext.h:
1216         * text.C:
1217         * text2.C:
1218         * text3.C:
1219         * textcursor.[Ch]: adjust
1220
1221 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1222
1223         * text2.C (undoSpan): add and use
1224         * text.C (breakParagraph): use undoSpan (fix bug 578)
1225         * lyxtext.h: adjust
1226
1227 2004-01-08  Angus Leeming  <leeming@lyx.org>
1228
1229         * BufferView_pimpl.C (MenuInsertLyXFile):
1230         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1231         * lyxfunc.C (menuNew, open, doImport):
1232         FileFilterList change to the FileDialog open and save functions.
1233
1234 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1235
1236         * ShareContainer.h: make isEqual and isUnique adaptable
1237
1238         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1239
1240 2004-01-07  Angus Leeming  <leeming@lyx.org>
1241
1242         * LyXAction.C:
1243         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1244
1245         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1246
1247         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1248         functions replacing find, replace and replaceAll.
1249
1250         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1251         LFUN_WORDFIND(FORWARD|BACKWARD).
1252
1253 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1254
1255         * text.C (breakParagraph): remove an outdated #warning
1256
1257 2004-01-07  André Pönitz  <poenitz@gmx.net>
1258
1259         * lyxfind.C: somewhat clearer logic
1260
1261         * text.C: prevent crash in cursorX on unitialized row cache
1262
1263 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1264
1265         * lyxcursor.[Ch] (operator>): add
1266         * textcursor.C (selStart, selEnd): use std::min and std::max
1267
1268 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1269
1270         * Chktex.C: include boost/format.hpp
1271
1272 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1273
1274         * InsetList.C: replace functor MathcIt with adaptable functor
1275         InsetTablePosLess
1276         (insetIterator): modify accordingly
1277
1278         * BranchList.h: move the BranchNamesEqual functor here from...
1279         * BranchList.C: ... to here
1280
1281         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1282         SameName and match.
1283         (add): replace a finding loop with std::find_if.
1284
1285 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1286
1287         * output_docbook.C: moving LatexParam functionality into
1288         .layout files
1289
1290 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1291
1292         * buffer.C: increment format to 229.
1293
1294 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1295
1296         * LaTeXFeatures.C:
1297         * lyx_sty.[Ch]: remove minipageindent_def
1298
1299         * LyXAction.C:
1300         * factory.C:
1301         * lfuns.h:
1302         * lyxfunc.C:
1303         * text3.C: remove LFUN_INSET_MINIPAGE
1304
1305 2003-12-28  Angus Leeming  <leeming@lyx.org>
1306
1307         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1308
1309 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1310
1311         * text2.C (setParagraph): fix off-by-one crash
1312
1313 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1314
1315         * output_docbook.C: header stuff for AGU
1316
1317 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1318
1319         * text2.C (redoCursor): remove
1320         * text.C:
1321         * text3.C:
1322         * BufferView_pimpl.C: remove calls to redoCursor and
1323         setCursor(cursor.par(), cursor.pos()) all around
1324
1325 2003-12-15  Angus Leeming  <leeming@lyx.org>
1326
1327         * buffer.C: up the format to 228.
1328
1329 2003-12-15  André Pönitz  <poenitz@gmx.net>
1330
1331         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1332         slices
1333
1334         * Makefile.am:
1335
1336         * BufferView_pimpl.C:
1337         * cursor.[Ch]:
1338         * lyxcursor.[Ch]:
1339         * rowpainter.[Ch]:
1340         * lyxtext.h:
1341         * text.C:
1342         * text2.C:
1343         * text3.C: adjust
1344
1345 2003-12-15  Angus Leeming  <leeming@lyx.org>
1346
1347         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1348         than getFromGUIName to manipulate the color.
1349
1350 2003-12-14  Angus Leeming  <leeming@lyx.org>
1351
1352         * BranchList.[Ch]: minimize the API.
1353         (Branch::getBranch, getColor): now return a 'const &'.
1354         (Branch::setSelected) now returns a bool set to true if the
1355         selection status changes.
1356         (BranchList::clear, size, getColor, setColor, setSelected,
1357         allBranches, allSelected, separator): removed.
1358         (BranchList::find): new functions, returning the Branch with
1359         the given name.
1360         (BranchList::add, remove): return a bool indicating that
1361         the operation was successful.
1362
1363         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1364         new InsetBranch::isBranchSlected member function.
1365
1366         * LColor.[Ch]: mimimize the API.
1367         (fill): renamed as addColor and made private.
1368         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1369         versions of these functions taking a string arg have been removed.
1370
1371         * bufferparams.C (readToken):
1372         * lyxfunc.C (dispatch):
1373         * lyxrc.C (read): changes due to the altered BranchList and
1374         LColor APIs.
1375
1376         * factory.C (createInset, readInset): changes due to altered
1377         InsetBranch c-tor.
1378
1379 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1380
1381         * factory.C:
1382         * lyxfunc.C: remove insetminipage. "minipage-insert"
1383         now produces a frameless minipage box inset.
1384
1385 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1386
1387         * textcursor.[Ch] (selStart,selEnd): add new methods
1388         remove selection::start, end, use LyXCursor::operator<
1389         * lyxcursor.[Ch] (operator<): add
1390         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1391         * BufferView.[Ch] (unsetXSel): add
1392         * text2.C (clearSelection): use unsetXSel,adjust
1393         * text.C: adjust
1394         * text3.C: adjust
1395         * rowpainter.C: adjust
1396         * bufferview_funcs.C (put_selection_at): adjust
1397
1398 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1399
1400         * BufferView_pimpl.C: small coord. correction
1401
1402 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1403
1404         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1405         dragging over the splash screen.
1406
1407 2003-12-11  Angus Leeming  <leeming@lyx.org>
1408
1409         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1410         as it is now handled in LyXText::dispatch.
1411
1412         * text3.C (doInsertInset): remove a level of nesting.
1413
1414 2003-12-11  Angus Leeming  <leeming@lyx.org>
1415
1416         * factory.C (createInset): changes due to the changed interface to
1417         InsetCommandMailer::string2params.
1418
1419 2003-12-10  Angus Leeming  <leeming@lyx.org>
1420
1421         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1422         'dialog-show-new-inset <inset name>'
1423
1424 2003-12-10  Angus Leeming  <leeming@lyx.org>
1425
1426         * buffer.C: up the format to 227.
1427
1428         * factory.C: the box inset is now identified simply by 'Box'.
1429
1430 2003-12-10  Angus Leeming  <leeming@lyx.org>
1431
1432         * buffer.C: up the format to 226.
1433
1434         * factory.C: the note inset is now identified simply by 'Note'.
1435
1436 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1437
1438         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1439         when a pit is enough. Standarize a couple of loops.
1440
1441 2003-12-05  Angus Leeming  <leeming@lyx.org>
1442
1443         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1444         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1445         data to the re-worked "log" dialog.
1446
1447 2003-12-03  André Pönitz  <poenitz@gmx.net>
1448
1449         * PosIterator.C:
1450         * iterators.C:
1451         * lyxtext.h:
1452         * output_latex.C:
1453         * paragraph_funcs.C:
1454         * text.C:
1455         * text2.C: use Inset::getText instead of Inset::getParagraph
1456
1457 2003-12-03  André Pönitz  <poenitz@gmx.net>
1458
1459         * buffer.[Ch]:
1460         * lyxtext.h:
1461         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1462         InsetText::read() as LyXText::read()
1463
1464 2003-12-02  Angus Leeming  <leeming@lyx.org>
1465
1466         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1467         type. Add a comment in the implementation that the function uses
1468         the stream's bad() function rather than fail() as the std::streams
1469         would do.
1470
1471 2003-12-02  André Pönitz  <poenitz@gmx.net>
1472
1473         * lyxlex.[Ch]: make interface more similar to std::stream
1474
1475         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1476
1477 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1478
1479         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1480
1481 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1482
1483         * vspace.[Ch]: remove VSpace::NONE
1484
1485 2003-12-01  André Pönitz  <poenitz@gmx.net>
1486
1487         * buffer.[Ch]:
1488         * lyxtext.h: move ParagraphList member to LyXText
1489         rename LyXText::ownerParagraphs to LyXText::paragraph
1490
1491         * CutAndPaste.C:
1492         * bufferview_funcs.C:
1493         * iterators.[Ch]:
1494         * lyx_cb.C:
1495         * paragraph.C:
1496         * rowpainter.C:
1497         * tabular.C:
1498         * text.C:
1499         * text2.C:
1500         * text3.C: adjust
1501
1502         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1503
1504         * undo.C: fix cursor positioning
1505
1506 2003-12-01  John Levon  <levon@movementarian.org>
1507
1508         * BufferView_pimpl.C: fix a crash on exit with
1509         a buffer open
1510
1511 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1512
1513         * BranchList.C: fix setSelected() method.
1514
1515 2003-11-28  André Pönitz  <poenitz@gmx.net>
1516
1517         * ParagraphParameters.[Ch]:
1518         * ParameterStruct.h: remove space above/below from Paragraph to
1519          InsetVSpace
1520
1521         * BufferView_pimpl.C:
1522         * factory.C:
1523         * lyxfunc.C:
1524         * lyxtext.h:
1525         * output_latex.C:
1526         * paragraph.C:
1527         * paragraph_funcs.C:
1528         * rowpainter.[Ch]:
1529         * text.C:
1530         * text2.C:
1531         * text3.C: adjust
1532
1533 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1534
1535         * factory.C: Syntax change for CharStyles
1536
1537 2003-11-28  André Pönitz  <poenitz@gmx.net>
1538
1539         * BufferView.[Ch]:
1540         * BufferView.[Ch]:
1541         * buffer.[Ch]:
1542         * buffer.[Ch]: move LyXText member
1543
1544 2003-11-28  André Pönitz  <poenitz@gmx.net>
1545
1546         * BufferView.[Ch]: make LyXText * text a private member
1547
1548         * BufferView_pimpl.C:
1549         * cursor.C:
1550         * iterators.C:
1551         * lyx_cb.C:
1552         * lyxfind.C:
1553         * lyxtext.h:
1554         * rowpainter.[Ch]:
1555         * text.C:
1556         * text2.C:
1557         * undo.C: adjust
1558
1559         * output_plaintext.C: cleanup
1560
1561 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1562
1563         * buffer.C:
1564         * lyxtextclass.[Ch]: parametrize SGML document header
1565
1566 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1567
1568         * converter.[Ch]:
1569         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1570         getFlavor().
1571
1572 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1573
1574         * text2.C (setFont): rework using PosIterator (no more recursive)
1575         (setCharFont): no more needed
1576         (setLayout): no more selection cursors fiddling (done by redoCursor)
1577         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1578         destroy remaining ones)
1579
1580 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1581
1582         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1583         * lyxtext.h: ditto
1584         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1585         selection cursors
1586         * lyxfunc.C: adjust
1587         * text3.C: adjust + re-allow multi par depth changes
1588         * textcursor.C: simplify a bit
1589
1590 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1591
1592         * src/buffer.C:
1593         * src/lyxlayout.C:
1594         * src/lyxlayout.h:
1595         * src/lyxtext.h:
1596         * src/output_docbook.C:
1597         * src/output_latex.C:
1598         * src/paragraph.C:
1599         * src/paragraph.h:
1600         * src/sgml.C:
1601         * src/sgml.h:
1602         * src/text2.C: Introducing a number of tags parametrizing various
1603         XML formats that we may want to support
1604
1605 2003-11-25  André Pönitz  <poenitz@gmx.net>
1606
1607         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1608
1609         * lyxtext.h (leftMargin/rightMargin): simplify interface
1610
1611         * rowpainter.C:
1612         * text.C:
1613         * text2.C:
1614         * text3.C: adjust
1615
1616 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1617
1618         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1619         master file to any child files. Fixes bug 546.
1620
1621 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1622
1623         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1624
1625 2003-11-24  André Pönitz  <poenitz@gmx.net>
1626
1627         * rowpainter.C: simplification
1628
1629         * text2.C (updateCounters): remove call to redoParagraph on
1630         changed labels as this is far too expensive.
1631
1632 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1633
1634         * converter.C (convert): fix a crash: this function gets
1635         called with buffer == 0 from importer code.
1636
1637 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1638
1639         * text3.C (cursorPrevious): make sure that we do not compare
1640         iterators form different containers.
1641         (cursorNext): ditto
1642
1643         * rowpainter.C (paintSelection): make sure that we do not compare
1644         iterators from different containers.
1645
1646         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1647         iterators from different ParagraphList containers.
1648         [NEXT] ditto
1649
1650         * text2.C (LyXText): change order of initialization slightly
1651         (operator=): new function. copy all variables except cache_par_
1652         (moveUp): make sure that we do not compare iterators from
1653         different ParagraphList constainers.
1654         (moveDown): ditto
1655
1656         * text.C (firstPar): new function
1657         (lastPar): new function
1658         (endPar): new function
1659
1660         * lyxtext.h: move things around and group public functions, public
1661         variables, private functions, private variables
1662
1663 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1664
1665         * factory.C: change call to InsetERT constructor to avoid
1666         additional invocation of method status
1667         * text2.C (toggleInset): remove redundant update() call
1668         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1669         instead of a Bufferview pointer
1670
1671 2003-11-21  André Pönitz  <poenitz@gmx.net>
1672
1673         * rowpainter.C: simplification
1674
1675 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1676
1677         * text3.C (dispatch): make possible to extend a word/row selection
1678         with the mouse
1679
1680 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1681
1682         * lyxtext.h: x0_,y0_ -> xo_,yo_
1683         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1684         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1685         * rowpainter.C (paintRows): paint full paragraphs
1686
1687 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1688
1689         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1690         screen coordinates)
1691
1692 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1693
1694         * lyxtext.h: add x0_, y0_
1695         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1696         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1697
1698 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1699
1700         * text2.C (setCursorIntern): move the x_target update here *
1701         * text3.C: change some bv() to true/false in calls to
1702         cursorUp/Down/Right/Left
1703         * cursor.C: use helper function.
1704
1705 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1706
1707         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1708         * paragraph_funcs.[Ch]: correct comment
1709         * rowpainter.C: do not paint selections away from bv->cursor()
1710         Fix a long standing selection painting bug.
1711         * text3.C: generalize mouse-selection code to LyXTexts other that
1712         top one
1713         * textcursor.C: do not use y coords if we can use par offsets
1714
1715 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1716
1717         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1718         cursor position after e.g. inset insert)
1719
1720 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1721
1722         * lyxfind.C (replace): adjust to locking removal + some
1723         code simplification
1724
1725 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1726
1727         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1728         of the path
1729
1730 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1731
1732         * lyxlayout.[Ch]:
1733         * output_docbook.C: XML sanitation: new layout
1734         parameters InnerTag and CommandDepth
1735
1736 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1737
1738         * BufferView_pimpl.C:
1739         * factory.C:
1740         * text3.C: Fix the insertion and modification of button-style
1741         insets
1742
1743 2003-11-13  André Pönitz  <poenitz@gmx.net>
1744
1745         * InsetList.[Ch]: remove deleteLyXText
1746
1747         * paragraph.[Ch]: cache beginOfBody position
1748
1749         * Bidi.C:
1750         * text.C:
1751         * text2.C:
1752         * text3.C: remove superfluous update() calls
1753
1754         * vspace.C: cleanup
1755
1756 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1757
1758         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1759         * BufferView.C (fitLockedInsetCursor): remove
1760         * cursor.[Ch] (getDim): add
1761         * text.C (getRowNearY): add faster version
1762         * text3.C: remove some update calls
1763
1764 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1765
1766         * LaTeXFeatures.C:
1767         * LyXAction.C:
1768         * MenuBackend.C:
1769         * MenuBackend.h:
1770         * dispatchresult.h:
1771         * factory.C:
1772         * lfuns.h:
1773         * lyxfunc.C:
1774         * lyxtextclass.C:
1775         * lyxtextclass.h:
1776         * text3.C: The Character Style /XML short element patch.
1777
1778 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1779
1780         * text3.C:
1781         * factory.C: Small step to solving 'unable to insert some insets'
1782         problem
1783
1784 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1785
1786         * cursor.[Ch] (updatePos): new function for updating the y
1787         position of the tip inset
1788         * bufferview_funcs.C (put_selection_at):
1789         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1790
1791 2003-11-11  André Pönitz  <poenitz@gmx.net>
1792
1793         * text.C: remove big comment on invalid Paragraph pointers as it is
1794         not valid anymore
1795
1796 2003-11-11  André Pönitz  <poenitz@gmx.net>
1797
1798         * text_funcs.[Ch]: merge with ...
1799
1800         * text.C: ... this
1801
1802         * lyxtext.h:
1803         * text2.C:
1804         * text3.C: adjust
1805
1806         * Makefile.am: remove text_funcs.[Ch]
1807
1808 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1809
1810         * cursor.C (getPos): return absolute cached y coord
1811
1812         * BufferView_pimpl.C (fitCursor): new simplistic code
1813         (workAreaDispatch): add a fitCursor call
1814
1815 2003-11-10  André Pönitz  <poenitz@gmx.net>
1816
1817         * BufferView.[Ch]:
1818         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1819
1820 2003-11-10  André Pönitz  <poenitz@gmx.net>
1821
1822         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1823         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1824         indicate that the cursor needs to leave an inset
1825
1826         * lyxtext.h: remove inset locking
1827
1828         * cursor.[Ch]: re-implement functionality provided by inset locking
1829
1830         * BufferView.[Ch]:
1831         * BufferView_pimpl.[Ch]:
1832         * LyXAction.C:
1833         * bufferview_funcs.[Ch]:
1834         * factory.C:
1835         * funcrequest.[Ch]:
1836         * iterators.C:
1837         * lyx_cb.C:
1838         * lyxfind.C:
1839         * lyxfunc.C:
1840         * text.C:
1841         * text2.C:
1842         * text3.C:
1843         * undo.C: adjust
1844
1845 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1846
1847         * PosIterator.[Ch]: replace the stack with a vector, add inset
1848         accesor
1849         * iterators.[C]: adjust
1850
1851 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1852
1853         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1854         replaced
1855         * paragraph_funcs.C (readParToken): put the correct id in the
1856         error item, not the id of the top paragraph
1857
1858 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1859
1860         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1861         * bufferview_funcs.C (put_selection_at): use the above
1862
1863 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1864
1865         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1866
1867 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1868
1869         * output_linuxdoc.h:
1870         * output_plaintext.h:
1871         * output.h:
1872         * output_docbook.h: add #include statements
1873
1874 2003-11-05  José Matos  <jamatos@lyx.org>
1875
1876         * output_docbook.[Ch]:
1877         * output_latex.[Ch]:
1878         * output_linuxdoc.[Ch]:
1879         * output_plaintext.[Ch]: New files for output formats.
1880         * output.[Ch]: New file for helper functions.
1881
1882         * buffer.[Ch]:
1883         * paragraph_funcs.[Ch]: output functions moved to new files.
1884
1885         * outputparams.h: rename of latexrunparams.h
1886
1887         * LaTeX.[Ch]:
1888         * buffer.[Ch]:
1889         * bufferlist.[Ch]:
1890         * converter.[Ch]:
1891         * exporter.C:
1892         * paragraph.[Ch]:
1893         * paragraph_funcs.[Ch]:
1894         * paragraph_pimpl.[Ch]:
1895         * tabular.[Ch]: rename ascii to plaintext
1896         and LatexRunParams to OutputParams.
1897
1898 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1899
1900         * iterators.[Ch] (text): require bv argument
1901         * undo.C (recordUndo):
1902         * lyxfunc.C (dispatch):
1903         * bufferview_funcs.C (put_selection_at): adjust
1904
1905 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1906
1907         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1908
1909 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1910
1911         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1912         nestings
1913
1914 2003-11-04  André Pönitz  <poenitz@gmx.net>
1915
1916         * cursor.[Ch]: restructure
1917
1918         * BufferView.[Ch]:
1919         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1920
1921         * iterators.[Ch] (asCursor): remove
1922
1923         * lfuns.h: remove LFUN_INSET_EDIT
1924
1925         * lyxfunc.C:
1926         * tabular.C:
1927         * text.C:
1928         * text2.C:
1929         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1930
1931 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1932
1933         * lyxfind.[Ch]: complete overhaul
1934         * BufferView_pimpl.C:
1935         * lyxfunc.C: adjust
1936         * paragraph.[Ch] (insert): add
1937
1938 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1939
1940         * BufferView.[Ch]:
1941         * lyxtext.h:
1942         * text.C: remove dead spellcheck code
1943
1944 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1945
1946         * dispatchresult.h: add a val setter
1947
1948         * cursor.C (dispatch): use a tempvar for data_[i]
1949
1950 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1951
1952         * PosIterator.[Ch]: compile fix
1953
1954 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1955
1956         * text.C (cursorPar): deactivate the cursor cache
1957
1958 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1959
1960         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1961
1962 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1963
1964         * text3.C (dispatch): adjust for new DisptchResult semantics.
1965
1966         * lyxfunc.C (dispatch): handle update when return from
1967         Cursor::dispatch, adjust for new DispatchResult semantics.
1968
1969         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1970         DispatchResult(true) mean to not update. Add class functions for
1971         setting dispatched and update, as well as reading.
1972
1973         * cursor.C (dispatch): don't handle update here
1974
1975 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1976
1977         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1978         * trans_mgr.C: adjust
1979
1980         * paragraph_funcs.C (readParToken): exception safety
1981
1982         * lyxvc.h: store the vcs pointer in a scoped_ptr
1983         * lyxvc.C: adjust
1984
1985         * lyxsocket.C (serverCallback): exception safety
1986
1987         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1988
1989         * ispell.C (clone): make it return a auto_ptr
1990
1991         * factory.C (createInset): exception safety
1992         (readInset): exception safety
1993
1994         * bufferlist.C (newBuffer): exception safety
1995
1996         * Thesaurus.C (Thesaurus): use initialization for aik_
1997
1998         * MenuBackend.C (expandToc): exception safety.
1999
2000 2003-11-03  André Pönitz  <poenitz@gmx.net>
2001
2002         * buffer.C:
2003         * buffer.h:
2004         * bufferview_funcs.C: remove getInsetFromId()
2005
2006         * lyxcursor.[Ch]:
2007         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2008
2009         * lyxfunc.C:
2010         * text2.C:
2011         * text3.C: adjust
2012
2013 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2014
2015         * PosIterator.C (distance, advance): new
2016         * bufferview_funcs.[Ch] (put_selection_at): new
2017         * iterators.[Ch] (lockPath): new
2018
2019 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2020
2021         * iterators.[Ch] (asPosIterator): added
2022         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2023         * PosIterator.[Ch]: added
2024
2025 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2026
2027         * text3.C:
2028         * lyxfunc.C:
2029         * cursor.C (dispatch):
2030         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2031
2032         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2033         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2034         contructor, add a class function dispatched. Remove operator>=
2035
2036 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2037
2038         * debug.C: only use the default constructor for debugstream
2039         (lyxerr) here.
2040
2041         * main.C (main): include debug.h and setup the lyxerr streambuf
2042         here.
2043
2044 2003-10-31  José Matos  <jamatos@lyx.org>
2045
2046         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2047
2048         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2049         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2050         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2051         * paragraph_pimpl.C (simpleTeXSpecialC):
2052         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2053         add LatexRunParams argument.
2054
2055         * exporter.C (Export): change call accordingly.
2056
2057         * latexrunparams.h: add new member to take care of the other backends.
2058 2003-10-30  José Matos  <jamatos@lyx.org>
2059
2060         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2061         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2062         factorise code for paragraph output.
2063         * buffer.[Ch]:
2064         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2065         move functions.
2066
2067 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2068
2069         * text3.C (dispatch):
2070         * lyxfunc.C (dispatch):
2071         * cursor.C (dispatch):
2072         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2073
2074         * dispatchresult.h: make the dispatch_result_t ctor explicit
2075
2076 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2077
2078         * sgml.[Ch]:
2079         * buffer.C: small refactoring of docbook stuff
2080
2081 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2082
2083         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2084         meaning.
2085
2086 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2087
2088         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2089         operator dispatch_result_t, and operators for == != and >=
2090
2091         * cursor.C (dispatch): adjust for operator dispatch_result_t
2092         removal. comment out call to update
2093
2094         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2095
2096 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2097
2098         * text3.C:
2099         * text2.C:
2100         * text.C:
2101         * lyxtext.h:
2102         * lyxfunc.C:
2103         * cursor.C:
2104         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2105         (dispatch):
2106
2107         * dispatchresult.h: new file, DispatchResult broken out of
2108         insets/insetbase.h
2109
2110         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2111
2112 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2113
2114         * text.C (rowBreakPoint): put a hack inside #if 0
2115
2116 2003-10-28  André Pönitz  <poenitz@gmx.net>
2117
2118         * lyxtext.h:
2119         * metricsinfo.C:
2120         * paragraph_funcs.C:
2121         * rowpainter.C:
2122         * text.C:
2123         * text2.C: general cleanup (lots of small stuff)
2124
2125 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2126
2127         * text2.C (cursorEnd): simple fix to the "end key goes to one
2128         before the end on last row" bug
2129
2130 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2131
2132         * text.C (backspace): fix the "zombie characters"
2133
2134 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2135
2136         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2137
2138 2003-10-27  André Pönitz  <poenitz@gmx.net>
2139
2140         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2141
2142         * factory.C: handle new InsetPagebreak, InsetLine
2143
2144         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2145         and move handling into new InsetPagebreak, InsetLine
2146
2147         * BufferView_pimpl.C:
2148         * LyXAction.C:
2149         * ParagraphParameters.C:
2150         * ParameterStruct.h:
2151         * lyxfunc.C:
2152         * lyxtext.h:
2153         * paragraph.C:
2154         * paragraph.h:
2155         * paragraph_funcs.C:
2156         * paragraph_pimpl.C:
2157         * rowpainter.C:
2158         * text.C:
2159         * text2.C:
2160         * text3.C: adjust
2161
2162 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2163
2164         * text.C:
2165         * lyxrow_funcs.[Ch]:
2166         * Bidi.C:
2167         * paragraph.C:
2168         * lyxtext.h:
2169         * rowpainter.C:
2170         * text2.C:
2171         * text3.C: remove lastPos uses in favour of Row::endpos
2172
2173 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2174
2175         * undo.C (performUndoOrRedo): fix two crashes by setting a
2176         cursor by hand and reordering some calls. Use bv->lockInset instead
2177         of inset->edit because the latter loses cursor information
2178
2179 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2180
2181         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2182         by Martin
2183         (rowBreakPoint): fix width. change point to point + 1.
2184         Add a missing check.
2185
2186 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2187
2188         * MenuBackend.C:
2189         * lyxfunc.C: fix (at least partly) the problems
2190         with the Nav menu and headers inside branch insets
2191         reported by Kayvan
2192
2193 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2194
2195         * paragraph.C (getChar): add strong asserts
2196
2197         * lyxrow_funcs.C (lastPos): remove hideous hack
2198
2199         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2200         (fill): adjust to that (avoid an infinite loop)
2201
2202 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2203
2204         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2205
2206 2003-10-23  André Pönitz  <poenitz@gmx.net>
2207
2208         * RowList_fwd.h: change list<> to vector<> to gain speed
2209         after suggestion from Alfredo
2210
2211 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2212
2213         * lyxtext.h: move the bidi stuff from here...
2214         * text.C: and here
2215         * text2.C: and here
2216         * Bidi.[Ch]: ... to here
2217
2218 2003-10-23  André Pönitz  <poenitz@gmx.net>
2219
2220         * lyxtext.h:
2221         * text.C (isLastRow, isFirstRow): new functions
2222
2223         * paragraph.h: new width cache member
2224
2225         * rowpainter.C: replace RowList::iterator with Row & where possible
2226
2227         * lyxfunc.C: replace several view()->text with a single call
2228
2229         * toc.C: fix 'unused' warning
2230
2231 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2232
2233         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2234         when woring with stream::pos_type
2235         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2236
2237 2003-10-22  André Pönitz  <poenitz@gmx.net>
2238
2239         * lyxtext.h:
2240         * text.C: use Row & instead of RowList::iterator
2241
2242         * lyxrow.h: rename end() to endpos()
2243
2244         * rowpainter.C:
2245         * text.C:
2246         * text2.C: adjust
2247
2248 2003-10-22  Angus Leeming  <leeming@lyx.org>
2249
2250         * buffer.[Ch] (fully_loaded): new member function, returning true
2251         only when the file has been loaded fully.
2252         Used to prevent the premature generation of previews and by the
2253         citation inset to prevent computation of the natbib-style label.
2254
2255         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2256         templates are all set up.
2257
2258         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2259
2260 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2261
2262         * text.C: fixed an "oops" in the "is a bit silly"
2263         bug fix
2264
2265 2003-10-21  André Pönitz  <poenitz@gmx.net>
2266
2267         * FuncStatus.[Ch]: small stuff, whitespace
2268
2269         * lyxfont.[Ch]: operator<<() for debug reasons
2270
2271         * lyxfunc.C:
2272         * lyxrow_funcs.C:
2273         * lyxtext.h: whitespace, spelling
2274
2275         * paragraph.C: naming of variables
2276
2277         * text.C:
2278         * text2.C: small stuff
2279
2280
2281 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2282
2283         * text.C: (1) finish off the inset display() work;
2284         (2) fix the "is a bit silly" bug (accessing char
2285         past end of par).
2286
2287 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2288
2289         * text.C: re-introduce display() for insets, fixing the
2290         various bugs (stretch of line above, math inset
2291         positioning, ...)
2292
2293 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2294
2295         * text.C (rightMargin): remove spurious semicolon
2296
2297         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2298         1415)
2299
2300 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2301
2302         * text3.C: fix one crash due to wrong cursor def
2303
2304 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2305
2306         * vc-backend.C (scanMaster): make the regex static
2307
2308         * LaTeX.C (scanAuxFile): make the regexs static
2309
2310         * text3.C (doInsertInset, dispatch, dispatch):
2311         * text2.C (cursorUp, cursorDown):
2312         * text.C (selectNextWordToSpellcheck):
2313         * BufferView_pimpl.C (dispatch):
2314         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2315
2316 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2317
2318         * lyxsocket.C: include <cerrno>
2319
2320 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2321
2322         * lyxfunc.C (dispatch): remove textcache stuff
2323
2324         * bufferlist.C (release): remove textcache stuff
2325         (closeAll): ditto
2326
2327         * TextCache.C: delete file
2328         * TextCache.h: delete file
2329
2330         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2331
2332         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2333         delete of the bv_->text.
2334         (resizeCurrentBuffer): remove texcache stuff
2335         (workAreaResize): ditto
2336
2337 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2338
2339         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2340         action.
2341
2342 2003-10-16  André Pönitz  <poenitz@gmx.net>
2343
2344         * lyxrow.[Ch]:
2345         * paragraph.h:
2346         * rowpainter.C:
2347         * text.C:
2348         * text2.C:
2349         * text3.C: speed up by storing y positions per paragraph plus per-row
2350         offset instead of having a 'full' y position in the row.
2351
2352 2003-10-15  André Pönitz  <poenitz@gmx.net>
2353
2354         * iterators.[Ch]:
2355         * iterators.[Ch]:
2356         * undo.[Ch]: make undo aware of inner insets
2357
2358 2003-10-14  Angus Leeming  <leeming@lyx.org>
2359
2360         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2361         static member functions LyX::ref() and LyX::cref.
2362         (lastfiles): new accessor functions for the new lastfiles_ member var.
2363         (addLyXView, views_): add a new LyXView to the list of views_.
2364         (updateInset): loop over all LyXViews to call their own updateInset
2365         member function, returning a pointer to the Buffer owning the inset.
2366
2367         * BufferView_pimpl.C (loadLyXFile):
2368         * MenuBackend.C (expandLastfiles):
2369         * bufferlist.C (MenuWrite, QuitLyX):
2370         lastfiles is no longer a global variable.
2371         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2372
2373         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2374         static function. Access through LyX::cref().emergencyCleanup().
2375
2376 2003-10-14  André Pönitz  <poenitz@gmx.net>
2377
2378         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2379
2380         * undo.[Ch]: restoring part of 'undo in insets'
2381
2382         * Makefile.am:
2383         * undo_funcs.[Ch]: merge with undo.[Ch]
2384
2385         * tabular.C: small cleansing stuff
2386
2387 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2388
2389         * paragraph_funcs.C (readParToken): report unknown insets as error
2390         boxes. Use the outer paragraph as location (also for unknown
2391         tokens).
2392
2393         * factory.C (readInset): do not abort on reading an unknown inset.
2394         Eat it and return 0.
2395
2396 2003-10-13  Angus Leeming  <leeming@lyx.org>
2397
2398         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2399
2400         * lyxrc.C: displayTranslator is now a function,
2401         declared in GraphicsTypes.h.
2402
2403 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2404
2405         * format.C: new placeholder $$a to pass the socket address.
2406
2407         * bufferlist.[Ch]: new function getBufferFromTmp.
2408
2409         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2410           files in the temporary dir.
2411
2412 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2413
2414         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2415
2416         * Makefile.am: add lyxsocket.[Ch].
2417
2418         * lyx_main.C (error_handler): handle SIGPIPE.
2419
2420 2003-10-13  André Pönitz  <poenitz@gmx.net>
2421
2422         * BufferView_pimpl.C:
2423         * lyxtext.h:
2424         * text.C:
2425         * text2.C:
2426         * text3.C:
2427         * undo_funcs.[Ch]: use paroffset_type instead of
2428           ParagraphList::iterators to prevent multiple conversion
2429           (and get a more robust interface)
2430
2431 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2432
2433         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2434         * lyxtext.h: ditto
2435         * text3.C (dispatch): ditto
2436
2437 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2438
2439         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2440         move the onlyfile, use onlyfile instead of foundfile in a couple
2441         of places.
2442
2443         * DepTable.C (update): flush the error stream a bit more
2444
2445 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2446
2447         * lyxserver.C (callback): adjust
2448
2449         * lyxfunc.C (getStatus): add a missing brace in commented code
2450         (ensureBufferClean): reindent
2451         (dispatch): delete version taking a string
2452
2453 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2454
2455         * LaTeX.C (deplog): move found file handlig from here...
2456         (handleFoundFile): .. to new function here.
2457         (deplog): make sure to discover several files mentioned on the
2458         same log line.
2459
2460 2003-10-10  André Pönitz  <poenitz@gmx.net>
2461
2462         * lyxfunc.C:
2463         * lyxtext.h:
2464         * tabular.C:
2465         * text.C:
2466         * text2.C:
2467         * text3.C: fix some of the tabular crashes
2468
2469 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2470
2471         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2472
2473         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2474
2475 2003-10-09  André Pönitz  <poenitz@gmx.net>
2476
2477         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2478
2479         * BufferView.C:
2480         * BufferView_pimpl.C:
2481         * bufferview_funcs.C:
2482         * lyx_cb.C:
2483         * lyxcursor.C:
2484         * lyxfind.C:
2485         * lyxfunc.C:
2486         * lyxtext.h:
2487         * text.C:
2488         * text2.C:
2489         * text3.C:
2490         * text_funcs.[Ch]:
2491         * textcursor.[Ch]:
2492         * undo_funcs.C: adjust
2493
2494 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2495
2496         * text2.C (incrementItemDepth): new function, use a backtracking
2497         algorithm to discover the correct item depth.
2498         (resetEnumCounterIfNeeded): new function, use a backtracking
2499         algorithm to discover if counter reset is needed.
2500         (setCounter): use them. Simplify a bit. Add different labels for
2501         different item depths for itemize.
2502
2503         * paragraph.C (Paragraph): remove initialization of enumdepth
2504         (operator=): ditto
2505
2506         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2507         enumerate and itemize. Change the type of itemdepth to signed char.
2508
2509 2003-10-08  André Pönitz  <poenitz@gmx.net>
2510
2511         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2512           thing assignable.
2513         * text.C:
2514         * text2.C: adjust
2515
2516         * tabular.[Ch]: fix crash after 'row-insert'
2517
2518 2003-10-08  Angus Leeming  <leeming@lyx.org>
2519
2520         Fix doxygen warnings.
2521
2522         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2523         Remove CutAndPaste:: prefix from header file declaration.
2524
2525         * LColor.h (fill): remove LColor:: prefix from declaration.
2526
2527         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2528         use lyx::depth_type rather than Paragraph::depth_type so that
2529         header file and .C file match.
2530
2531         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2532
2533         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2534         * aspell.C: \file aspell_local.C -> \file aspell.C
2535         * gettext.C: \file gettext.C -> \file src/gettext.C
2536         * gettext.h: \file gettext.h -> \file src/gettext.h
2537         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2538         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2539         * text.C: \file text.C -> \file src/text.C
2540
2541         * toc.C: move comment so that doxygen is not confused.
2542
2543 2003-10-07  Angus Leeming  <leeming@lyx.org>
2544
2545         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2546
2547 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2548
2549         * aspell.C:
2550         * aspell_local.h: add forgotten std::string's.
2551
2552 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2553
2554         * LaTeXFeatures.C:
2555         * LyXAction.C:
2556         * factory.C:
2557         * lfuns.h:
2558         * lyxfunc.C:
2559         * text3.C: The Box patch. Fancybox support, minipage, parbox
2560
2561 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2562
2563         * CutAndPaste.h:
2564         * DepTable.h:
2565         * FloatList.h:
2566         * LaTeXFeatures.h:
2567         * ParagraphParameters.h:
2568         * TextCache.h:
2569         * Thesaurus.h:
2570         * bufferlist.h:
2571         * exporter.h:
2572         * importer.h:
2573         * lastfiles.h:
2574         * lyxfind.h:
2575         * lyxfont.h:
2576         * lyxlex.h:
2577         * lyxtextclasslist.h:
2578         * messages.h:
2579         * paragraph.h:
2580         * paragraph_pimpl.C:
2581         * textcursor.h: add <string> and other small fixes to make Lars'
2582         std::string patch compile with STLport.
2583
2584 2003-10-06  Angus Leeming  <leeming@lyx.org>
2585
2586         * LColor.h: Add missing #include <string>.
2587
2588 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2589
2590         * All most all file in all subdirs: Make <string> be the prefered
2591         way of getting to std::string, add using declarations.
2592
2593 2003-10-06  André Pönitz  <poenitz@gmx.net>
2594
2595         * metricsinfo.C: initialize LyXFont before changing attribute.
2596         (fixes the 'math in \emph is upright' bug)
2597
2598 2003-10-06  André Pönitz  <poenitz@gmx.net>
2599
2600         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2601
2602 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2603
2604         * graph.C:
2605         * paragraph_pimpl.C: Small fixes to build using STLport
2606
2607 2003-10-02  André Pönitz  <poenitz@gmx.net>
2608
2609         * lyxfunc.C:
2610         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2611
2612 2003-10-01  André Pönitz  <poenitz@gmx.net>
2613
2614         * factory.C: assert early
2615
2616 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2617
2618         * lyx_main.C: remove the global debug object
2619
2620         * debug.h: adjust for new debugstream
2621
2622         * debug.C: adjust for new debugstream and keep the global debug
2623         object here.
2624
2625 2003-09-22  Angus Leeming  <leeming@lyx.org>
2626
2627         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2628         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2629         an incomplete class LyXFont.
2630
2631 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2632
2633         * factory.C: bug fix in branches
2634
2635 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2636
2637         * lyxfunc.C (processKeySym): adjust
2638         (dispatch): adjust
2639         (dispatch): change arg name from ev to func, adjust
2640         (sendDispatchMessage): ditto
2641
2642         * lyx_main.C (defaultKeyBindings): adjust keybindings
2643         (deadKeyBindings): ditto
2644
2645         * kbsequence.C (addkey): return a FuncRequest
2646
2647         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2648
2649         * kbmap.C (bind): take a FuncRequest as arg, adjust
2650         (read): adjust
2651         (lookup): adjust
2652         (defkey): change to take a FuncRequest as arg, adjust
2653         (findbinding): take a FuncRequest as arg, adjust.
2654
2655         * funcrequest.h (operator=): added
2656
2657         * funcrequest.C (FuncRequest): default kb_action changed from
2658         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2659
2660         * buffer.C (dispatch): simplify
2661         (dispatch): adjust to take a FuncRequest as arg, adjust
2662
2663         * boost.C (assertion_failed): change assertion message slightly
2664
2665         * ToolbarBackend.C (read): simplify
2666
2667         * MenuBackend.C (binding): adjust call to findbinding, add a
2668         message if no binding is found.
2669         (read): simplify
2670         (expandToc): correct by adding a empty FuncRequest
2671
2672         * LyXAction.C: include <boost/assert.hpp>
2673         (isPseudoAction): delete function
2674         (LookupFunc): change name to...
2675         (lookupFunc): this. change return type to FuncRequest.
2676         (getActionName): take kb_action as arg, simplify
2677         (funcHasFlag): add an assert, simplify.
2678
2679 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2680
2681         * toc.C (action): return a FuncRequest, simplify
2682
2683         * lyxfunc.C (processKeySym): adjust
2684         (getStatus): delete version that takes an int.
2685         (getStatus): adjust
2686         (dispatch): delete version that takes action as int
2687         (dispatch): adjust
2688         (sendDispatchMessage): simplify and adjust
2689
2690         * funcrequest.C (getArg): take unsigned int as arg
2691
2692         * ToolbarBackend.C (read): adjust
2693         (add): delete version that takes func as a string.
2694         (getIton): take a FuncRequest as arg
2695
2696         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2697         action.
2698
2699         * MenuBackend.C (MenuItem): add a new construct that only takes a
2700         Kind, simplify the constructor use for submenus.
2701         (add): adjust
2702         (expandLastfiles): adjust
2703         (expandDocuments): adjust
2704         (expandFormats): adjust
2705         (expandFloatListInsert): adjust
2706         (expandFloatInsert): adjust
2707         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2708
2709         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2710         Remove class variables lyx_pseudo_map and lyx_arg_map
2711
2712         * LyXAction.C (searchActionArg): delete function
2713         (getPseudoAction): delete function
2714         (retrieveActionArg): delete function
2715         (LookupFunc): make it return kb_action, simplify.
2716         (getActionName): simplify
2717
2718         * factory.C (createInset): fix new bug
2719
2720 2003-09-19  Angus Leeming  <leeming@lyx.org>
2721
2722         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2723         masterFilename_ parameter in the include inset.
2724
2725         * factory.C (createInset): changes due to the changes to InsetInclude.
2726
2727 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2728
2729         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2730
2731 2003-09-18  Angus Leeming  <leeming@lyx.org>
2732
2733         * buffer.C:
2734         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2735         Inset::fillWithBibKeys.
2736         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2737
2738 2003-09-18  Angus Leeming  <leeming@lyx.org>
2739
2740         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2741         variables.
2742         (ctor): pass and store a 'Buffer const &'
2743         (buffer): new member function.
2744
2745         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2746         '*this' to the LaTeXFeatures ctor.
2747
2748 2003-09-18  Angus Leeming  <leeming@lyx.org>
2749
2750         * LColor.h:
2751         * lyxfont.C:
2752         * lyxfont.h:
2753         * lyxtext.h:
2754         * text.C: rename EnumLColor as LColor_color.
2755
2756 2003-09-18  Angus Leeming  <leeming@lyx.org>
2757
2758         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2759         remove #include "insets/insetbase.h" from cursor.h.
2760
2761 2003-09-18  Angus Leeming  <leeming@lyx.org>
2762
2763         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2764         InsetOld_code to remove #include "inset.h".
2765
2766         * iterators.C: add #include "insets/inset.h"
2767
2768 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2769
2770         * BufferView.C: remove more locking stuff that apparently doesn't
2771         do anything sensible.
2772
2773 2003-09-16  André Pönitz  <poenitz@gmx.net>
2774
2775         * paragraph.[Ch]:
2776         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2777           performance boost.
2778
2779 2003-09-16  Angus Leeming  <leeming@lyx.org>
2780
2781         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2782
2783         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2784         arg/return type.
2785
2786         * paragraph.h: remove #include "lyxfont.h". Forward declare
2787         LyXFont_size.
2788
2789 2003-09-16  Angus Leeming  <leeming@lyx.org>
2790
2791         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2792         of support/textutils.h.
2793         (isWord): move the contents of support/textutils.h's IsWordChar here.
2794
2795         * buffer.C:
2796         * lyxfind.C:
2797         * rowpainter.C:
2798         * text.C:
2799         * text2.C: add #include "paragraph.h".
2800
2801         * rowpainter.C:
2802         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2803
2804 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2805
2806         * main.C:
2807         * lyx_main.C:
2808         * lyx_cb.C:
2809         * buffer.C:
2810         * LaTeX.C: use namespace alias for lyx::support::os
2811
2812 2003-09-16  Angus Leeming  <leeming@lyx.org>
2813
2814         * bufferparams.C:
2815         * bufferview_funcs.C:
2816         * factory.C:
2817         * lyxfunc.C:
2818         * paragraph_pimpl.C:
2819         * rowpainter.C:
2820         * text.C: add #include "LColor.h".
2821
2822 2003-09-16  Angus Leeming  <leeming@lyx.org>
2823
2824         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2825         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2826         return LyXFont &.
2827         Store the FontBits::color variable as an int rather than as an
2828         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2829         file.
2830
2831         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2832         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2833         string calls together.
2834
2835         * lyxrc.C: add #include "LColor.h".
2836
2837 2003-09-15  Angus Leeming  <leeming@lyx.org>
2838
2839         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2840         a cow_ptr.
2841
2842 2003-09-15  Angus Leeming  <leeming@lyx.org>
2843
2844         * LColor.h: add an EnumLColor wrapper for LColor::color.
2845
2846         * lyxfont.[Ch] (color, setColor, realColor):
2847         * lyxtext.h, text.C (backgroundColor):
2848         pass EnumLColor args to/from the functions, rather than LColor::color
2849         ones.
2850
2851         * lyxfont.h:
2852         * lyxtext.h: forward declare EnumLColor.
2853
2854         * lyx_main.C: add #include "LColor.h".
2855
2856 2003-09-15  Angus Leeming  <leeming@lyx.org>
2857
2858         * .cvsignore: add lyx-gtk.
2859
2860 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2861
2862         * Chktex.C
2863         * LaTeX.C
2864         * LaTeXFeatures.C
2865         * ParagraphParameters.C
2866         * Spacing.C
2867         * buffer.C
2868         * bufferparams.C
2869         * bufferview_funcs.C
2870         * chset.C
2871         * counters.C
2872         * funcrequest.C
2873         * lyxfont.C
2874         * lyxgluelength.C
2875         * lyxlength.C
2876         * paragraph.C
2877         * paragraph_funcs.C
2878         * text3.C
2879         * vc-backend.C: remove usage of STRCONV
2880
2881 2003-09-15  Angus Leeming  <leeming@lyx.org>
2882
2883         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2884         explicitly define the color passed to the painter.
2885
2886 2003-09-15  Angus Leeming  <leeming@lyx.org>
2887
2888         * bufferparams.C (BufferParams): reorder member initializers to avoid
2889         compiler warning.
2890
2891 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2892
2893         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2894         * text.C (updateRowPositions): remove an unusual nop
2895
2896 2003-09-12  André Pönitz  <poenitz@gmx.net>
2897
2898         * BufferView_pimpl.C:
2899         * Bullet.C:
2900         * layout.h:
2901         * lyxfunc.C:
2902         * lyxlayout.[Ch]:
2903         * lyxtextclass.C:
2904         * rowpainter.C:
2905         * text.C:
2906         * text2.C:
2907         * Counters.[Ch]: finish the 'automatic counters' job
2908
2909 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2910
2911         * aspell.C: include <boost/assert.cpp> (compile fix)
2912
2913 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2914
2915         * boost.C (assertion_failed): use lyx::support::abort instead of
2916         assert.
2917
2918 2003-09-10  Angus Leeming  <leeming@lyx.org>
2919
2920         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2921         with their _fwd progeny.
2922
2923 2003-09-09  Angus Leeming  <leeming@lyx.org>
2924
2925         134 files throughtout the source tree: replace 'using namespace abc;'
2926         directives with the appropriate 'using abc::xyz;' declarations.
2927
2928 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2929
2930         * boost.C (emergencyCleanup): moved here from LAssert.c
2931         (assertion_failed): new function, called by BOOST_ASSERT
2932
2933         * several files: change Assert to BOOST_ASSERT
2934
2935 2003-09-09  Angus Leeming  <leeming@lyx.org>
2936
2937         * buffer.[Ch]: Add an Impl class and move Buffer's member
2938         variables into it. As a result move several header files out of
2939         buffer.h.
2940
2941         Add header files to lots of .C files all over the tree as a result.
2942
2943 2003-09-09  Angus Leeming  <leeming@lyx.org>
2944
2945         * buffer.[Ch]: make Buffer's member variables private. Add
2946         accessor functions.
2947
2948         Lots of changes all over the tree as a result.
2949
2950 2003-09-08  Angus Leeming  <leeming@lyx.org>
2951
2952         * graph.C: #include <config.h>.
2953
2954 2003-09-08  Angus Leeming  <leeming@lyx.org>
2955
2956         * BranchList.C:
2957         * BufferView.C:
2958         * BufferView_pimpl.C:
2959         * CutAndPaste.C:
2960         * DepTable.C:
2961         * LaTeX.C:
2962         * LaTeXFeatures.C:
2963         * LyXAction.C:
2964         * MenuBackend.C:
2965         * TextCache.C:
2966         * aspell.C:
2967         * buffer.C:
2968         * bufferlist.C:
2969         * changes.C:
2970         * chset.C:
2971         * converter.C:
2972         * counters.C:
2973         * debug.C:
2974         * graph.C:
2975         * ispell.C:
2976         * lyx_cb.C:
2977         * lyxfind.C:
2978         * lyxfunc.C:
2979         * lyxlex_pimpl.C:
2980         * lyxrc.C:
2981         * lyxrow.C:
2982         * paragraph.C:
2983         * rowpainter.C:
2984         * texrow.C:
2985         * text.C:
2986         * text2.C:
2987         * toc.C: remove redundant using directives.
2988
2989 2003-09-07  Angus Leeming  <leeming@lyx.org>
2990
2991         * LaTeXFeatures.h: remove #include "support/types.h".
2992         * ToolbarBackend.h: remove #include <algorithm>.
2993         * changes.h: remove #include <ctime>.
2994         * debug.h: remove #include <iosfwd>.
2995         * graph.h: remove #include "support/std_string.h".
2996         * lyx_main.h: remove #include <csignal>.
2997         * lyxlex_pimpl.h: remove #include <fstream>.
2998         * sgml.h: remove #include <algorithm>, <utility>.
2999         * toc.h: remove #include "support/std_ostream.h".
3000         Add #include <iosfwd>.
3001
3002 2003-09-07  Angus Leeming  <leeming@lyx.org>
3003
3004         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3005
3006         * converter.h: forward declare LatexRunParams.
3007         * encoding.h: remove #include "lyxrc.h".
3008         * lyxtext.h: remove #include "LColor.h".
3009         * lyxtextclass.h: remove #include "support/types.h".
3010         * trans.h: remove #include "tex-accent.h".
3011         * trans_mgr.h: remove #include "tex-accent.h".
3012         * insets/inset.h: remove #include "support/types.h", <vector>.
3013         * insets/insetcollapsable.h: remove #include "LColor.h".
3014         * insets/insetinclude.h: remove #include "dimension.h".
3015         * insets/insetlatexaccent.h: remove #include "dimension.h".
3016         * insets/insetoptarg.h:: remove #include "insettext.h".
3017         * insets/insettext.h: remove #include "dimension.h",
3018         <boost/shared_ptr.hpp>
3019
3020         * insets/renderers.h: add #include "dimension.h".
3021         * insets/updatableinset.h: add #include "support/types.h".
3022
3023         * many .C files: Associated changes.
3024
3025 2003-09-06  Angus Leeming  <leeming@lyx.org>
3026
3027         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3028         one, inside testInvariant.
3029
3030         * PrinterParams.C: new file.
3031         * PrinterParams.[Ch]: move the function bodies out of line.
3032
3033 2003-09-06  Angus Leeming  <leeming@lyx.org>
3034
3035         * ParagraphParameters.h: forward declare ParameterStruct rather than
3036         including its header file.
3037         (depth): moved out-of-line.
3038
3039 2003-09-06  Angus Leeming  <leeming@lyx.org>
3040
3041         * BufferView_pimpl.h:
3042         * kbmap.h:
3043         * kbsequence.h:
3044         * lyxfunc.h: forward declare LyXKeySym rather than
3045         #include "frontends/LyXKeySym.h".
3046
3047         * BufferView_pimpl.C:
3048         * kbmap.C:
3049         * kbsequence.C:
3050         * lyxfunc.C: associated changes.
3051
3052 2003-09-06  Angus Leeming  <leeming@lyx.org>
3053
3054         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3055         As a result, can remove the #include "insets/inset.h" from BufferView.h
3056
3057 2003-09-06  Angus Leeming  <leeming@lyx.org>
3058
3059         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3060         As a result, can remove the #include "insets/inset.h" from BufferView.h
3061
3062 2003-09-06  Angus Leeming  <leeming@lyx.org>
3063
3064         * buffer_funcs.C:
3065         * buffer.h:
3066         * bufferlist.C:
3067         * BufferView.C:
3068         * bufferview_funcs.C:
3069         * BufferView_pimpl.C:
3070         * CutAndPaste.C:
3071         * lyx_cb.C:
3072         * lyxfunc.C:
3073         * paragraph.h:
3074         * ParagraphParameters.C:
3075         * tabular.C:
3076         * text3.C:
3077         * toc.C:
3078         * undo_funcs.C:
3079         * frontends/controllers/ControlDocument.C:
3080         * insets/insetcaption.C: rearrange the #includes into some sort of
3081         coherent order.
3082
3083         * buffer.h: remove #includes ErrorList.h, undo.h
3084
3085 2003-09-06  Angus Leeming  <leeming@lyx.org>
3086
3087         * support/types.h: add a 'depth_type' typedef, used to store the
3088         nesting depth of a paragraph.
3089
3090         * paragraph.h:
3091         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3092         defining explicitly.
3093
3094         * buffer.h:
3095         * paragraph_funcs.h:
3096         * ParagraphParameters.h:
3097         * sgml.h: use lyx::depth_type rather than Paragraph or
3098         ParameterStruct's depth_type.
3099
3100         * buffer.h
3101         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3102
3103         * BufferView.C:
3104         * BufferView_pimpl.C:
3105         * CutAndPaste.C:
3106         * ParagraphParameters.C:
3107         * buffer_funcs.C:
3108         * bufferlist.C:
3109         * bufferview_funcs.C:
3110         * lyx_cb.C:
3111         * lyxfunc.C:
3112         * tabular.C:
3113         * text3.C:
3114         * toc.C:
3115         * undo_funcs.C:
3116         * frontends/LyXView.C:
3117         * frontends/controllers/ControlDocument.C:
3118         * frontends/controllers/ControlErrorList.C:
3119         * insets/insetbibitem.C:
3120         * insets/insetbranch.C:
3121         * insets/insetcaption.C:
3122         * insets/insetcollapsable.C:
3123         * insets/insetenv.C:
3124         * insets/insetert.C:
3125         * insets/insetfloat.C:
3126         * insets/insetfoot.C:
3127         * insets/insetfootlike.C:
3128         * insets/insetnewline.C:
3129         * insets/insetquotes.C:
3130         * insets/insettabular.C:
3131         * insets/insettext.C:
3132         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3133
3134         * frontends/controllers/ControlChanges.C: #include "changes.h".
3135
3136 2003-09-06  Angus Leeming  <leeming@lyx.org>
3137
3138         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3139         than #including paragraph.h.
3140
3141         * ParagraphList.h:
3142         * RowList.h: deleted. Superfluous.
3143
3144         * CutAndPaste.h:
3145         * iterators.h:
3146         * lyxcursor.h:
3147         * lyxtext.h:
3148         * text_funcs.h:
3149         * undo.h:
3150         * undo_funcs.h:
3151         * insets/inset.h:
3152         * insets/insettext.h: use ParagraphList_fwd.h rather than
3153         ParagraphList.h.
3154
3155         * paragraph.h: don't forward declare ParagraphList.
3156
3157         * buffer.h:
3158         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3159         rather than ParagraphList.h. paragraph.h is still needed for the
3160         Paragraph::depth_type parameters.
3161
3162         * textcursor.h: enable it to compile stand-alone in light of the
3163         above changes.
3164
3165         * bufferview_funcs.C:
3166         * iterators.C:
3167         * lyxfunc.C:
3168         * lyxrow_funcs.C:
3169         * paragraph.C:
3170         * rowpainter.C:
3171         * text.C:
3172         * text2.C:
3173         * text3.C:
3174         * text_funcs.C:
3175         * textcursor.C:
3176         * undo.C:
3177         * frontends/controllers/ControlParagraph.C:
3178         * frontends/controllers/ControlTabular.C:
3179         * insets/insetmarginal.C:
3180         * insets/insetminipage.C:
3181         * insets/insetnote.C:
3182         * insets/insetoptarg.C: add header files needed to compile again.
3183
3184 2003-09-06  Angus Leeming  <leeming@lyx.org>
3185
3186         * RowList_fwd.h: new file, forward-declaring Row rather than
3187         #including lyxrow.h.
3188
3189         * lyxrow_funcs.h:
3190         * lyxtext.h:
3191         * paragraph.h:
3192         * insets/insettext.h: use it instead of RowList.h
3193
3194         * bufferview_funcs.C:
3195         * lyxfunc.C:
3196         * lyxrow_funcs.C:
3197         * paragraph.C:
3198         * rowpainter.C:
3199         * text.C:
3200         * text2.C:
3201         * text3.C: #include "RowList.h".
3202
3203 2003-09-05  Angus Leeming  <leeming@lyx.org>
3204
3205         * factory.C (createInset):
3206         * vspace.C (c-tor): replace sscanf call with an istringstream.
3207         * ispell.C: re-add missing HP/UX headers.
3208         * lyxserver.C: re-add missing  os2 headers.
3209
3210 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3211
3212         * BranchList.C:
3213         * graph.C:
3214         * ispell.C:
3215         * lastfiles.C:
3216         * lyx_cb.C:
3217         * lyxserver.C:
3218         * texrow.C:
3219         * text3.C: re-add missing system headers, needed for 2.95.2.
3220
3221 2003-09-05  Angus Leeming  <leeming@lyx.org>
3222
3223         Changes most place everywhere due to the removal of using directives
3224         from support/std_sstream.h.
3225
3226 2003-09-05  Angus Leeming  <leeming@lyx.org>
3227
3228         Replace LString.h with support/std_string.h,
3229         Lsstream.h with support/std_sstream.h,
3230         support/LIstream.h with support/std_istream.h,
3231         support/LOstream.h with support/std_ostream.h.
3232
3233         Changes resulting throughout the tree.
3234
3235 2003-09-05  Angus Leeming  <leeming@lyx.org>
3236
3237         * sgml.h: ensure that the header file can be compiled stand-alone.
3238         * *.C: strip out redundant #includes. (320 in total.)
3239
3240 2003-09-04  Angus Leeming  <leeming@lyx.org>
3241
3242         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3243         here (from getPackages).
3244
3245         * debug.[Ch]: add a new EXTERNAL tag.
3246
3247 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3248
3249         * text2.C (cursorEnd): simplify
3250         (setCursor): adjust
3251         (getColumnNearX): adjust
3252
3253         * text.C (computeBidiTables): adjust
3254         (fill): adjust
3255
3256         * rowpainter.C (paintChars): adjust
3257         (paintSelection): adjust
3258         (paintChangeBar): adjust
3259         (paintText): adjust
3260
3261         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3262         lastPos instead.
3263         (numberOfSeparators): adjust
3264
3265 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3266
3267         * LyXAction.C:
3268         * box.[Ch]:
3269         * lfuns.h:
3270         * lyxfunc.C:
3271         * text3.C: Restricts the mouse click functionality
3272         of insets like bibtex, include, toc and floatlist to the visible
3273         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3274         up the dialogs. Cursor has to be in front of the inset (i.e.
3275         start of row) for this to function.
3276
3277 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3278
3279         * bufferview_funcs.C (currentState): output row information
3280
3281 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3282
3283         * bufferview_funcs.C (currentState): output paragraph position
3284
3285 2003-09-04  Angus Leeming  <leeming@lyx.org>
3286
3287         * FloatList.h: move out #include "Floating.h".
3288         * LaTeX.h: move out #include "DepTable.h".
3289         * LyXAction.h: move out #include "funcrequest.h".
3290         * buffer.h: move out #include "author.h", "iterators.h".
3291         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3292         * lyx_main.h: move out #include "errorlist.h".
3293         * lyxfunc.h: move out #include "FuncStatus.h".
3294         * lyxtext: move out #include "lyxcursor.h".
3295         * paragraph_pimpl.h: move out #include "counters.h".
3296
3297 2003-09-03  Angus Leeming  <leeming@lyx.org>
3298
3299         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3300         preamble_snippets list, enabling us to add snippets to the preamble
3301         only if the snippet was not there already.
3302
3303 2003-09-04  Angus Leeming  <leeming@lyx.org>
3304
3305         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3306
3307 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3308
3309         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3310         update
3311
3312 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3313
3314         * BranchList.C: point fix, earlier forgotten
3315
3316 2003-09-02  Angus Leeming  <leeming@lyx.org>
3317
3318         * box.C (contains): renamed from 'contained' after a fantastic
3319         amount of hot air.
3320
3321 2003-09-02  John Levon  <levon@movementarian.org>
3322
3323         * BufferView.C:
3324         * lyxcursor.h:
3325         * lyxcursor.C:
3326         * lyxfunc.C:
3327         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3328
3329 2003-09-02  John Levon  <levon@movementarian.org>
3330
3331         * text2.C: simplification of cursorEnd(), including partial
3332         fix for bug 1376
3333
3334 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3335
3336         * buffer.C (readFile): add a space
3337
3338 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3339
3340         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3341
3342 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3343
3344         * buffer.C (readFile): new function, take a filename and a
3345         ParagraphList::iterator
3346         (readFile): adjust
3347         (readFile): adjust, make it private. don't use setStream, make
3348         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3349         always contain the filename.
3350
3351         * BufferView.C (insertLyXFile): simplify and make it work for
3352         gzipped files.
3353
3354 2003-08-30  John Levon  <levon@movementarian.org>
3355
3356         * Makefile.am: fix dist (from Kayvan)
3357
3358 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3359
3360         * most files: change to use const Buffer refs
3361
3362 2003-08-27  André Pönitz  <poenitz@gmx.net>
3363
3364         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3365         on top of ownerPar().
3366
3367 2003-08-27  John Levon  <levon@movementarian.org>
3368
3369         * funcrequest.C: properly initialise POD members
3370
3371 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3372
3373         * lyxtext.h (top_y): move top_y from here
3374         * text.C:
3375         * text2.C:
3376         * text3.C:
3377         * BufferView.[Ch]:
3378         * BufferView_pimpl.[Ch]: to here
3379         * frontends/screen.C:
3380         * insets/insettabular.C:
3381         * insets/insettext.C: adjust
3382         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3383
3384 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3385
3386         * BufferView.[Ch]:
3387         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3388
3389 2003-08-26  André Pönitz  <poenitz@gmx.net>
3390
3391         * paragraph_func.[Ch] (outerPar): new function
3392
3393         * paragraph.C:
3394         * paragraph_funcs.C:
3395         * paragraph_funcs.h:
3396         * paragraph_pimpl.C:
3397         * text2.C: remove Inset::par_owner
3398
3399 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3400
3401         * lyxrow_funcs.C:
3402         * lyxtext.h:
3403         * text.C:
3404         * text2.C: eliminates the needFullRow/display() stuff
3405         altogether, putting the logic in metrics/draw in the insets.
3406
3407 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3408
3409         * text2.C (redoParagraphInternal, redoParagraphs):
3410         * text.C (redoParagraph): add a call to updateRowPositions at the
3411         end of each 'metrics-like' call. Remove all others.
3412         (getRow): remove the 'y-computing' version.
3413         (getRowNearY): do not compute nor return the real y. Solve the
3414         'y < 0' problem and simplify.
3415
3416 2003-08-22  Angus Leeming  <leeming@lyx.org>
3417
3418         * *.[Ch]: clean-up of licence and author blurbs.
3419         Also move config.h out of a few .h files and into a few .C files.
3420
3421 2003-08-22  André Pönitz  <poenitz@gmx.net>
3422
3423         * lyxrow.[Ch]: add x_ and *fill_ members
3424
3425         * lyxtext.h:
3426         * text.C:
3427         * rowpainter.C:
3428         * text2.C: adjust/remove prepareToPrint() calls
3429
3430 2003-08-22  André Pönitz  <poenitz@gmx.net>
3431
3432         * lyxrow.[Ch]: add  end_ member
3433
3434         * lyxrow_funcs.C: use LyXRow::end_
3435
3436         * lyxtext.h (singleWidth): add LyXFont parameter
3437
3438         * rowpainter.C:
3439         * text2.C: adjust LyXText::singleWidth() calls
3440
3441         * text.C (redoParagraph): simplify row breaking logic
3442
3443
3444 2003-08-19  André Pönitz  <poenitz@gmx.net>
3445
3446         * funcrequest.C: initialize button_ member
3447
3448         * text3.C:
3449         * rowpainter.[Ch]: interface consolidation
3450
3451 2003-08-18  André Pönitz  <poenitz@gmx.net>
3452
3453         * BufferView.C:
3454         * BufferView_pimpl.C:
3455         * lyxfind.C:
3456         * paragraph_funcs.C:
3457         * rowpainter.C:
3458         * text3.C: remove LyXScreen::draw() and fitCursor calls
3459
3460         * BranchList.h: remove spurious semicolons
3461
3462         * MenuBackend.C: fix branchlist related crash
3463
3464 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3465
3466         * BranchList.[Ch]:
3467         * InsetList.[Ch]:
3468         * LColor.[Ch]:
3469         * LyXAction.C:
3470         * Makefile.am:
3471         * MenuBackend.[Ch]:
3472         * bufferparams.[Ch]:
3473         * factory.C:
3474         * lfuns.h:
3475         * lyxfunc.C:
3476         * text3.C: implements the 'branch inset'
3477         idea. This allows the output of various versions of a document
3478         from a single source version, selectively outputing or suppressing
3479         output of parts of the text.
3480         This implementation contains a 'branch list editor' in a separate
3481         tab of the document settings dialog. Branches are user definable
3482         and have a "display colour" to distinguish them on-screen.
3483
3484         ColorHandler was somewhat cleaned up.
3485         (1) make possible a dynamically growing LColor list by allowing
3486         the graphic context cache to grow along (vector);
3487         (2) eliminate an IMHO unnecessary step in colour allocation.
3488
3489 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3490
3491         * BufferView_pimpl.C: compile fix
3492
3493 2003-08-15  André Pönitz  <poenitz@gmx.net>
3494
3495         * rowpainter.C: remove extra metrics calls
3496
3497         * lyxtext.h: merge the two constructors into a single one,
3498           pass reference to owner's par list
3499
3500         * BufferView_pimpl.C:
3501         * text.C:
3502         * text2.C: adjust
3503
3504 2003-08-15  André Pönitz  <poenitz@gmx.net>
3505
3506         * lyxrow_funcs.[Ch]:
3507         * lyxtext.h:
3508         * paragraph.h:
3509         * paragraph_funcs.C:
3510         * rowpainter.C:
3511         * text.C:
3512         * text2.C:
3513         * text3.C:
3514         * text_funcs.C: split LyXText::rowlist_ into individual
3515         Paragraph::rows_ chunks
3516
3517         * BufferView.[Ch]:
3518         * BufferView_pimpl.[Ch]:
3519         * lyxfind.C:
3520         * lyxtext.h:
3521         * text3.C: remove toggleSelection()
3522
3523 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3524
3525         * bufferlist.C: beautify two alerts (shorter text of buttons)
3526         * buffer.C: Remove redundant ' ' from message
3527         * tabular.h:
3528         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3529         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3530         rename VALIGN_CENTER to VALIGN_MIDDLE
3531
3532 2003-08-11  André Pönitz  <poenitz@gmx.net>
3533
3534         * lyxtext.h (getPar):
3535         * text.C: new function
3536
3537 2003-08-11  André Pönitz  <poenitz@gmx.net>
3538
3539         * Makefile.am:
3540         * tracer.[Ch]: remove unneeded files
3541
3542         * InsetList.[Ch]: remove resizeInsetsLyXText()
3543
3544         * lyxtext.h:
3545         * text.C:
3546         * text2.C:
3547         * text3.C: merge insertParagraphs() and appendParagraph()
3548         remove breakAgain(), update()
3549
3550         * BufferView_pimpl.[Ch]:
3551         * bufferview_funcs.[Ch]:
3552         * lyxfunc.C:
3553         * paragraph.[Ch]:
3554         * rowpainter.C:
3555         * tabular.C: adjust after text & InsetList changes.
3556
3557 2003-08-08  André Pönitz  <poenitz@gmx.net>
3558
3559         * text.C (insertChar, backspace): replace rowlist fiddling
3560         with rebreak of full par
3561
3562         * lyxtext.h:
3563         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3564         checkParagraph, updateInset): removed
3565
3566 2003-08-07  André Pönitz  <poenitz@gmx.net>
3567
3568         * paragraph.C:
3569         * text3.C: merge some LFUN handlers, remove dead code
3570
3571 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3572
3573         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3574
3575 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3576
3577         * text2.C (DEPM): fix part of bug 1255 and 1256
3578
3579 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3580
3581         * BufferView_pimpl.C (workAreaDispatch): change to use
3582         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3583         that are no mouse related.
3584
3585 2003-08-05  André Pönitz  <poenitz@gmx.net>
3586
3587         * BufferView.[Ch]:
3588         * BufferView_pimpl.[Ch]:
3589         * bufferview_funcs.C:
3590         * text2.C:
3591         * text3.C: rip out "deep update"
3592
3593         * textcursor.[Ch] (last_sel_cursor): remove unused member
3594
3595 2003-08-04  André Pönitz  <poenitz@gmx.net>
3596
3597         * BufferView.[Ch]:
3598         * BufferView_pimpl.[Ch]:
3599         * ParagraphParameters.C:
3600         * bufferview_funcs.C:
3601         * lyx_cb.C:
3602         * lyxfind.C:
3603         * lyxfunc.C:
3604         * text.C:
3605         * text2.C:
3606         * text3.C: replace "complicated" BufferView::update(...) calls with
3607         simpler ones.
3608
3609         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3610
3611 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3612
3613         * Makefile.am (lyx_SOURCES): add paper.h
3614
3615 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3616
3617         * Makefile.am: move things around so that both lyx-qt and
3618         lyx-xforms can be built (according to --with-frontend). Then lyx
3619         is a symbolic link to lyx-[firstfrontend]
3620
3621 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3622
3623         * Always use std::endl with lyxerr
3624
3625 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3626
3627         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3628
3629 2003-08-01  André Pönitz  <poenitz@gmx.net>
3630
3631         * BufferView.[Ch]:
3632         * BufferView_pimpl.[Ch]:
3633         * lyxfunc.C:
3634         * text3.C: merge BufferView::repaint() and BufferView::update()
3635
3636 2003-08-01  José Matos  <jamatos@lyx.org>
3637
3638         * buffer.[Ch]: file_format is no longer a buffer data element.
3639
3640 2003-08-01  André Pönitz  <poenitz@gmx.net>
3641
3642         * BufferView.C:
3643         * lyxtext.h:
3644         * text.C:
3645         * text2.C: make redoParagraph more independent of current cursor
3646
3647         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3648         * text.C:
3649         * text2.C: remove unneeded members
3650
3651 2003-07-30  André Pönitz  <poenitz@gmx.net>
3652
3653         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3654
3655         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3656           create a single function...
3657
3658         * paragraph_funcs.C (moveItem): ... here.
3659
3660         * text.C:
3661           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3662
3663 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3664
3665         * LColor.[Ch]: Add comment and greyedout logical colors.
3666
3667 2003-07-30  André Pönitz  <poenitz@gmx.net>
3668
3669         * tabular.C: don't use Assert too heavily. This crashes where it
3670           shouldn't
3671
3672 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3673
3674         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3675         is disabled (bug 1232)
3676
3677 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3678
3679         * factory.C: limited 'arg' scope
3680
3681 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3682
3683         * factory.C: fixed Note submenu issues
3684
3685 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3686
3687         * factory.C: submenu for Note/Comment/Greyedout
3688
3689 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3690
3691         * lyx_main.C (LyX):
3692         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3693
3694 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3695
3696         * LaTeXFeatures.C:
3697         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3698         greyedout. Patch provided by Jürgen Spitzmüller.
3699
3700 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3701
3702         * kbmap.C (read): fix error message when reading bind files
3703
3704 2003-07-29  Angus Leeming  <leeming@lyx.org>
3705
3706         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3707         certainly does not do what it purports to do. I am doing it, and
3708         us, a favour by killing it.
3709
3710 2003-07-28  José Matos  <jamatos@lyx.org>
3711
3712         * buffer.C (readBody, do_writeFile):
3713         * paragraph.C(readParagraph): \end_document replaces \the_end.
3714
3715 2003-07-29  André Pönitz  <poenitz@gmx.net>
3716
3717         * BufferView.[Ch]:
3718         * BufferView_pimpl.[Ch]:
3719         * lyxfunc.C:
3720         * text2.C:
3721         * text3.C:
3722         * textcursor.[Ch]: remove toggleToggle & Co
3723
3724 2003-07-28  José Matos  <jamatos@fep.up.pt>
3725
3726         * buffer.C (readParagraph):
3727         * params_func (readParToken, readParagraph):
3728         * paragraph.C (write): \layout -> \begin_layout.
3729
3730 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3731
3732         * lyxlex_pimpl.C (setFile): clean up slightly.
3733
3734         * bufferparams.h: add compressed var
3735
3736         * buffer_funcs.C (readFile): adjust for LyXLex change
3737         (newFile): ditto + simplify
3738
3739         * buffer.C (writeFile): handle writing of compressed files
3740
3741         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3742         Check if the file is compressed and set a bufferparm if so.
3743
3744         * Makefile.am (lyx_LDADD): remove explicit -lz
3745
3746 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3747
3748         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3749         makeDocBookFile): put the real LyX version in the first line of
3750         the file
3751
3752         * version.h:
3753         * version.C.in: remove lyx_docversion
3754
3755         * tabular.C (write_attribute): add a template-based version to
3756         write enums properly
3757
3758 2003-07-28  André Pönitz  <poenitz@gmx.net>
3759
3760         * lyxtext.h:
3761         * text.C:
3762         * text2.C:
3763         * text3.C: use doubles again for x-coordinates. They are needed.
3764
3765 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3766
3767         * messages.C (getLocaleDir): use lyx_localedir()
3768
3769         * lyxlex_pimpl.C (setFile): compress stuff
3770
3771         * buffer.C (writeFile): add some compression stuff
3772         (do_writeFile): new func, dont call expliti close... will this
3773         breake anything?
3774
3775         * Makefile.am (lyx_LDADD): add -lz
3776
3777 2003-07-28  José Matos  <jamatos@fep.up.pt>
3778
3779         * buffer.C: increment file format.
3780         * paragraph_funcs (readParagraph, readParToken):
3781         * paragraph.C (readParagraph): add \end_layout.
3782
3783 2003-07-27  Angus Leeming  <leeming@lyx.org>
3784
3785         * Makefile.am: remove special casing for configure-time setting of
3786         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3787
3788         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3789         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3790
3791 2003-07-26  André Pönitz  <poenitz@gmx.net>
3792
3793         * paragraph_func.[Ch]:
3794         * paragraph.C (realizeFont): inline it whereever it is used
3795
3796         * rowpainter.C:
3797         * text.C:
3798         * text2.C:
3799         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3800
3801
3802 2003-07-26  André Pönitz  <poenitz@gmx.net>
3803
3804         *       lyxtext.h:
3805         * text.C:
3806         * text2.C: get rid of LyXText::need_break_row
3807
3808 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3809
3810         * toc.[Ch]: put namespace toc inside namespace lyx
3811
3812         * MenuBackend.C (expandToc2): adjust for lyx::toc
3813         (expandToc): ditto
3814
3815         * lyxfunc.C (dispatch): adjust for lyx::find
3816
3817         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3818         lyx::find instead. Reorganize a bit.
3819         (LyXReplace): rename to replace
3820         (LyXFind): rename to find
3821
3822         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3823         (dispatch): ditto
3824
3825 2003-07-26  André Pönitz  <poenitz@gmx.net>
3826
3827         * text.C (setHeightOfRow): restrict scope of temporary variable
3828
3829         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3830           code (never has been used?)
3831
3832 2003-07-27  Asger Alstrup  <alstrup@local>
3833
3834         * text.C (fill): Optimise algorithm to exploit that we can reuse
3835         the LyXFont for many characters.
3836         (setHeightOfRow): Same thing.
3837         (rowBreakPoint): Same thing.
3838
3839 2003-07-26  Asger Alstrup  <alstrup@local>
3840
3841         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3842
3843         * text.C (singleWidth): Spurious font copying in hot-spot
3844         singleWidth avoided. Reorder tests for arabic for efficiency.
3845
3846         * text.C (fill): handle empty paragraphs better.
3847
3848 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3849
3850         * ispell.C:
3851         * encoding.h: add includes
3852
3853         * lyxrc.C: remove reading of bind files
3854
3855         * lyx_main.C (init): setup bindings and menus only if we have a
3856         gui.
3857
3858         * kbmap.C (read): new method. Do the actual reading of bind
3859         files.
3860
3861         * converter.C (dvipdfm_options):
3862         * bufferparams.C:
3863         * lyxrc.C (read):
3864         (output): adapt PAPER_* enums.
3865
3866         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3867
3868         * bufferparams.h: remove paper-related enums from there
3869
3870         * paper.h: New file. A trivial header file to hold paper-related
3871         enums. It should later expand to contain many paper-related
3872         horrors access.
3873
3874         * lyxrc.C: declare extern displayTranslator
3875
3876 2003-07-27  José Matos  <jamatos@fep.up.pt>
3877
3878         * tabular.[Ch] (linuxdoc): add support for tables and figures
3879         (linuxdoc).
3880
3881 2003-07-27  José Matos  <jamatos@fep.up.pt>
3882
3883         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3884         consistency in both functions.
3885         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3886
3887 2003-07-26  Asger Alstrup  <alstrup@local>
3888
3889         * rowpainter.C (paintRows): Change algorithm to work directly on
3890         the insets rather than asking every character in the document
3891         whether its an inset.
3892
3893 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3894
3895         * buffer.C (openFileWrite): factorize some code
3896
3897 2003-07-26  Angus Leeming  <leeming@lyx.org>
3898
3899         * lyx_cb.C:
3900         * lyx_main.[Ch]: replace occurances of system_tempdir with
3901         os::getTmpDir().
3902
3903 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3904
3905         * rename Inset to InsetOld
3906
3907 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3908
3909         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3910         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3911         which I think is a bit clearer. EDIT is gone, since it was
3912         premature optimisation, and broken for mathed anyway.
3913         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3914         with cursor positioning in insets as well (math insets still do not
3915         work, but that's a different story anyway.) It mysteriously
3916         crashes sometimes with undo in the first paragraph, but I'm fairly
3917         confident that this is a compiler bug.
3918
3919 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3920
3921         * paragraph.C (Paragraph): adjust for new clone return type
3922         (operator==): ditto
3923         (copyIntoMinibuffer): ditto
3924
3925 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3926
3927         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3928         by not having a special case, and always doing a full rebreak of
3929         the document after undo.
3930
3931 2003-07-23  Angus Leeming  <leeming@lyx.org>
3932
3933         * factory.C (createInset): InsetExternal::setParams now takes a
3934         Buffer const * arg.
3935
3936 2003-07-23  Angus Leeming  <leeming@lyx.org>
3937
3938         * factory.C (createInset): changed interface to the external and
3939         graphics mailers' string2params functions.
3940
3941 2003-07-23  Angus Leeming  <leeming@lyx.org>
3942
3943         * factory.C (createInset): pass a
3944         Buffer const * parameter to InsetExternalMailer's string2params.
3945
3946 2003-07-22  John Levon  <levon@movementarian.org>
3947
3948         * Thesaurus.h: include the right aiksaurus header
3949
3950 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3951
3952         * MenuBackend.C (expand): check menu shortcuts unconditionally
3953
3954 2003-07-21  Angus Leeming  <leeming@lyx.org>
3955
3956         * factory.C (createInset): pass a
3957         buffer_path parameter to InsetGraphicsMailer's string2params.
3958
3959 2003-07-21  Angus Leeming  <leeming@lyx.org>
3960
3961         * BufferView_pimpl.C (buffer):
3962         * buffer.C (d-tor):
3963         * lyx_main.C (LyX):
3964         * lyxfunc.C (dispatch):
3965         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3966         rather than the grfx shortcut.
3967
3968 2003-07-21  André Pönitz  <poenitz@gmx.net>
3969
3970         * rowpainter.C: remove unused variables
3971
3972         * tabular_funcs.C:
3973         * tabular_funcs.h: move to tabular.C
3974         * Makefile.am: adjust
3975
3976         * tabular.[Ch]: basic optical cleaning
3977
3978         * author.h: pass references, not values
3979
3980 2003-07-18  André Pönitz  <poenitz@gmx.net>
3981
3982         * lyxtext.h:
3983         * metricsinfo.C:
3984         * metricsinfo.h:
3985         * rowpainter.C:
3986         * text.C:
3987         * text2.C:
3988         * text3.C: two-phase drawing for InsetText and InsetTabular
3989         some float -> int changes.
3990
3991 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3992
3993         * lyx_main.C: fix the fix
3994
3995 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3996
3997         * lyx_main.C: fix a crash in batch mode if no files specified
3998         * converter.C: ws
3999
4000 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4001
4002         * format.[Ch] (papersize): moved to BufferParams
4003         * converter.[Ch] (dvips_options): moved to BufferParams
4004         (dvipdfm_options): moved to anon namespace
4005         * bufferparams.[Ch]: added above functions.
4006
4007 2003-07-17  André Pönitz  <poenitz@gmx.net>
4008
4009         * lyxtext.h:
4010         * rowpainter.C:
4011         * text2.C: don't call inset->update() anymore
4012
4013         * metricsinfo.[Ch]: add convenience constructor
4014
4015 2003-07-16  André Pönitz  <poenitz@gmx.net>
4016
4017         * lyxcursor.[Ch]:
4018         * lyxfunc.[Ch]:
4019         * text.C:
4020         * text2.C: replace the LyXCursor::irow_ member with
4021          on-demand computation of the value
4022
4023 2003-07-16  John Levon  <levon@movementarian.org>
4024
4025         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4026
4027 2003-07-15  André Pönitz  <poenitz@gmx.net>
4028
4029         * text.C:
4030         * text2.C: remove no more needed refresh_row
4031
4032 2003-07-15  André Pönitz  <poenitz@gmx.net>
4033
4034         * lyxtext.h:
4035         * rowpainter.C:
4036         * text2.C:
4037         * text3.C: refresh_status tristate -> need_update bool
4038
4039 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4040
4041         * lyxtext.h (init): remove reinit argument (act as if always true)
4042         * text2.C: adjust to that
4043
4044 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4045
4046         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4047         * text3.C: use it to delete selections in some cases
4048         (bugs 441, 673, 702, 954).
4049
4050 2003-07-14  André Pönitz  <poenitz@gmx.net>
4051
4052         * rowpainter.[Ch]: reduce interface
4053
4054 2003-07-14  André Pönitz  <poenitz@gmx.net>
4055
4056         * BufferView_pimpl.C:
4057         * text2.C: adjust after removing unused BufferView * argument
4058
4059 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4060
4061         * text2.C (init): fix a crash fired on resize
4062
4063 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4064
4065         * buffer.[Ch]: added new closing signal
4066         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4067         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4068         BufferView::Pimpl via the closing the signal
4069
4070 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4071
4072         * buffer.[Ch]: take out all bv-related from buffer
4073         * BufferView.C:
4074         * BufferView_pimpl.[Ch]: connect to new signals
4075         * CutAndPaste.C: removed useless asserts
4076         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4077         * lyxvc.[Ch]:
4078         * vc-backend.[Ch]:
4079         * lyxfunc.C: moved view-related funciontality from vc here
4080         * paragraph.C: removed outdated comments
4081         * text.C: ws
4082
4083 2003-07-10  André Pönitz  <poenitz@gmx.net>
4084
4085         * BufferView_pimpl.C:
4086         * tabular.h:
4087         * tabular_funcs.C:
4088         * text.C:
4089         * text2.C: remove InsetText::InnerCache, clean up consequences
4090
4091 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4092
4093         * ispell.C: fix two typos in error messages
4094
4095 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4096
4097         * Extend Note inset to other forms of annotation like Comment
4098         and Greyedout. Right button click gives dialog.
4099
4100         Files modified or added (+):
4101
4102         * insetnote.[Ch]
4103         * FormNote.[Ch]      +
4104         * ControlNote.[Ch]   +
4105         * form_note.fd       +
4106         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4107         frontends/controllers
4108         * xforms/Dialogs.C
4109         * factory.C
4110
4111 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4112
4113         * aspell.C: add missing namespace lyx::support
4114
4115 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4116
4117         * BufferView.[Ch] (newFile): Add
4118         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4119         * LaTeX.[Ch] (message): added this signal and use it
4120         * buffer.[Ch] (busy, message): added these signals and use them
4121         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4122         * converter.C:
4123         * exporter.C:
4124         * format.C:
4125         * importer.C: use buffer signals instead of direct bv calling
4126         * lyx_cb.[Ch] (ShowMessage): removed
4127         * lyx_main.C:
4128         * lyxfunc.C:
4129         * paragraph_funcs.C:
4130         * text2.C: use buffer signals
4131
4132 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4133
4134         * introduce namespace lyx::graphics
4135
4136 2003-07-02  André Pönitz  <poenitz@gmx.net>
4137
4138         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4139
4140 2003-07-01  André Pönitz  <poenitz@gmx.net>
4141
4142         * text.C:
4143         * text2.C:
4144         * text3.C:
4145         * text_funcs.[Ch]:
4146         * textcursor.h:
4147         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4148           text*.C to text_func.C
4149
4150 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4151
4152         * introduce namespace lyx::support
4153
4154 2003-06-30  André Pönitz  <poenitz@gmx.net>
4155
4156         * Chktex.C:
4157         * funcrequest.C:
4158         * lyxtext.h:
4159         * text.C: re-enable --with-included-string
4160
4161 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4162
4163         * textcursor.C: add <config.h>
4164
4165         * text.C (getWord): remove const from word_location arg
4166
4167         * lyxvc.C (getLogFile): fix const type order
4168
4169         * lyxtext.h: remove const from word_location arg, add arg name
4170
4171         * lyxlayout.h: currect type on labeltype.
4172
4173         * importer.C: correct \file
4174
4175         * converter.C (intToFormat): use std:: on ret val, ws changes
4176
4177         * bufferlist.h: correct \file
4178
4179         * buffer.C (makeLinuxDocFile): fix const type order
4180         (makeDocBookFile): ditto
4181         (fillWithBibKeys): use std:: on stdlib args.
4182
4183         * CutAndPaste.C: fix authors.
4184         (availableSelections): use std:: on return vector
4185
4186 2003-06-27  André Pönitz  <poenitz@gmx.net>
4187
4188         * BufferView_pimpl.C:
4189         * bufferview_funcs.C:
4190         * lyxcursor.C:
4191         * lyxcursor.h:
4192         * lyxfunc.C:
4193         * lyxtext.h:
4194         * rowpainter.C:
4195         * text.C:
4196         * text2.C:
4197         * text3.C: remove LyXCursor::row_ member
4198
4199         * lyxtext.h:
4200         * text.C: rename fullRebreak() to partialRebreak() and implement
4201           a fullRebreak() that really bereks fully
4202
4203         * textcursor.h: new struct for cursor-related data
4204
4205 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4206
4207         * lyx_main.C (LyX): get full path of document loaded on the
4208         command line
4209
4210 2003-06-26  André Pönitz  <poenitz@gmx.net>
4211
4212         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4213           remove unused/broken operator>,<,>=.
4214
4215         *       text.C: remove only use of broken operator<= in an Assert().
4216
4217 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4218
4219         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4220         moved errorlist_.clear to showErrorList
4221
4222 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4223
4224         * converter.C (scanLog, runLaTeX):
4225         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4226         move the bv->showErrorList call to the callers
4227         * lyxfunc.C: i.e. here...
4228         * text2.C: and here
4229         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4230         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4231         namespace, the second to...
4232         * buffer_funcs (BufferFormat, parseErrors): added
4233         * errorlist.C (ErrorList(TeXErrors const &)): removed
4234
4235 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4236
4237         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4238
4239 2003-06-24  "Garst R. Reese" <reese@isn.net>
4240
4241         * debug.C: fix typo
4242
4243 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4244
4245         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4246
4247         * version.C.in: change docversion to 1.4
4248
4249 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4250
4251         * buffer.C: fix a bug just introduced
4252
4253 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4254
4255         * buffer.[Ch]: added the parseError signal and use it, removed
4256         sgmlError
4257         * BufferView.[Ch] (addError): moved to ...
4258         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4259         to the Buffer::parseError signal to catch (guess what) parse errors
4260         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4261
4262 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4263
4264         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4265         ability to create a buffer and to return an existing one from
4266         the list. Moved these functions to...
4267         * buffer_funcs.[Ch]: added
4268         * BufferView.[Ch] (loadLyXFile): added
4269         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4270         job removed from bufferlist::loadLyXFile.
4271         * buffer.C (setReadOnly): make it work without view
4272         (i.e added an if (users))
4273
4274 2003-06-19  Angus Leeming  <leeming@lyx.org>
4275
4276         * lfuns.h:
4277         * LyXAction.C (init):
4278         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4279         with LFUN_DIALOG_SHOW <name> <data>.
4280
4281 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4282
4283         * CutAndPaste.C (availableSelections): small compilation fix for
4284         ancient (gcc 2.9x) compilers
4285
4286 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4287
4288         * text3.C (cursorNext): add tmp var
4289
4290         * text2.C (updateCounters): for function calling out of for clause
4291         (replaceSelectionWithString): ditto
4292         (insertStringAsParagraphs): ditto
4293         (getColumnNearX): add tmp var
4294         (setCursorFromCoordinates): add tmp var
4295         (cursorDownParagraph): add tmp var
4296         (deleteEmptyParagraphMechanism): add tmp var
4297
4298         * text.C (insertChar): add tmp var
4299
4300         * rowpainter.C (paintDepthBar): add tmp var
4301
4302         * CutAndPaste.C (availableSelections): potentially check all
4303         paragraphs in a cut to fill the shown strings.
4304
4305 2003-06-18  André Pönitz  <poenitz@gmx.net>
4306
4307         * kbmap.[Ch]: use vector<> instead of list<>
4308
4309 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4310
4311         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4312         pasteSelection with index
4313
4314         * text2.C (pasteSelection): modify, call pasteSelection with index
4315
4316         * paragraph.C (asString): reimplement version with no interval to
4317         call the one with interval.
4318
4319         * lyxtext.h: add index arg to pasteSelection
4320
4321         * MenuBackend.C (MenuItem): handle PasteRecent
4322         (Menu::read::Menutags): add md_pasterecent
4323         (read): handle it
4324         (expandPasteRecent): new function
4325         (expand): use it
4326
4327         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4328
4329         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4330         the limited stack
4331         (availableSelections): new function
4332
4333 2003-06-17  Angus Leeming  <leeming@lyx.org>
4334
4335         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4336
4337 2003-06-17  Angus Leeming  <leeming@lyx.org>
4338
4339         * lfuns.h:
4340         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4341
4342         * lyxfunc.C (dispatch): invoke it.
4343
4344 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4345
4346         * iterators.C (operator++, ParPosition): reintroduce some
4347         const_cast for the benefit of older compilers.
4348
4349 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4350
4351         * text3.C (dispatch): do not modify clipboard when doing
4352         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4353         LFUN_DELETE_SKIP on a selection selection
4354
4355 2003-06-16  André Pönitz  <poenitz@gmx.net>
4356
4357         * BufferView.C:
4358         * buffer.C:
4359         * buffer.h:
4360         * paragraph.C:
4361         * tabular.[Ch]: IU of clone() and getLabelList();
4362
4363 2003-06-13  André Pönitz  <poenitz@gmx.net>
4364
4365         * tabular.h: compactification
4366
4367 2003-06-12  André Pönitz  <poenitz@gmx.net>
4368
4369         * tabular.C:
4370         * tabular.h:
4371         * tabular_funcs.h: some renaming plus whitespace
4372
4373 2003-06-12  André Pönitz  <poenitz@gmx.net>
4374
4375         * BufferView.C:
4376         * BufferView_pimpl.C:
4377         * CutAndPaste.C:
4378         * buffer.C:
4379         * iterators.[Ch]:
4380         * lyxfunc.C:
4381         * text.C:
4382         * toc.C: Return a Paragraph & for ParIterator::operator*()
4383
4384 2003-06-11  John Levon  <levon@movementarian.org>
4385
4386         * lyx_main.C:
4387         * ToolbarBackend.h:
4388         * ToolbarBackend.C: add "Toolbars" section and
4389         put the flags there
4390
4391 2003-06-10  Angus Leeming  <leeming@lyx.org>
4392
4393         * lfuns.h:
4394         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4395
4396         * lyxfunc.C (dispatch): invoke it.
4397
4398 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4399
4400         * main.C: protect <ios> with HAVE_IOS
4401         (main): protect sync_with_stdio with HAVE_IOS
4402
4403 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4404
4405         * text2.C (cutSelection): adjust
4406         (pasteSelection): adjust
4407
4408         * messages.C: handle get of empty string
4409
4410         * main.C (main): use sync_with_stdio(false)
4411
4412         * lyxfunc.C (dispatch): adjust
4413
4414         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4415         (WriteAs): remove unneeded BufferView arg.
4416
4417         * bufferparams.h: use correct types on papersize, papersize2 and
4418         paperpackage.
4419
4420         * bufferparams.C (readToken): adjust for type
4421         (writeLaTeX): add missing cases to switch.
4422
4423         * bufferlist.C (quitWriteBuffer): adjust
4424         (close): adjust
4425
4426         * buffer.C (asciiParagraph): remove some commented code.
4427
4428         * CutAndPaste.C: remove current_view extern variable.
4429         (cutSelection): add BufferParams arg.
4430         (eraseSelection): add BufferParams arg.
4431         (pasteSelection): add Buffer const & arg
4432
4433 2003-06-07  John Levon  <levon@movementarian.org>
4434
4435         * buffer.C:
4436         * paragraph_funcs.C:
4437         * paragraph_pimpl.C:
4438         * text.C:
4439         * text2.C:
4440         * paragraph.h:
4441         * paragraph.C: allow InsetERT to freely space lines,
4442         and some consolidation of code
4443
4444 2003-06-06  José Matos  <jamatos@fep.up.pt>
4445
4446         * buffer.C (makeDocBookFile): fix bug #821
4447
4448 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4449
4450         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4451
4452 2003-06-04  Angus Leeming  <leeming@lyx.org>
4453
4454         * buffer.C: bump format to 224.
4455
4456 2003-06-05  André Pönitz  <poenitz@gmx.net>
4457
4458         * text2.C (redoParagraphs): remove two const_cast<>
4459
4460 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4461
4462         * ParagraphList.h: remove last remnants of NO_STD_LIST
4463
4464 2003-06-03  Angus Leeming  <leeming@lyx.org>
4465
4466         * factory.C (createInset): small change to the way InsetExternal's params
4467         are set.
4468
4469 2003-06-04  André Pönitz  <poenitz@gmx.net>
4470
4471         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4472
4473         * paragraph_pimpl.h:
4474         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4475
4476         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4477
4478         * undo_funcs.C: make some simple cases of undo work again
4479
4480 2003-06-03  John Levon  <levon@movementarian.org>
4481
4482         * ispell.C: HPUX doesn't have sys/select.h
4483         (from Albert Chin)
4484
4485 2003-06-03  John Levon  <levon@movementarian.org>
4486
4487         * CutAndPaste.C: update tabular and include inset
4488         buffer references
4489
4490         * buffer.h:
4491         * paragraph.h:
4492         * paragraph.C: remove owningBuffer(), don't pass Buffer
4493         to clone()
4494
4495         * factory.C: insetGraphicsParams changed
4496
4497 2003-06-02  John Levon  <levon@movementarian.org>
4498
4499         * LyXAction.C:
4500         * factory.C:
4501         * lfuns.h:
4502         * lyxfunc.C:
4503         * text3.C: remove insetparent
4504
4505 2003-06-02  John Levon  <levon@movementarian.org>
4506
4507         * buffer.h:
4508         * buffer.C: fix inset_iterator.end(), move out of line
4509         (bug 1149)
4510
4511 2003-06-01  John Levon  <levon@movementarian.org>
4512
4513         * text3.C: use a proper cut/paste when doing inset
4514         insert (from Jürgen Spitzmüller)
4515
4516 2003-06-01  John Levon  <levon@movementarian.org>
4517
4518         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4519
4520 2003-05-30  André Pönitz  <poenitz@gmx.net>
4521
4522         * rowpainter.C: unify second drawing phase
4523
4524 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4525
4526         * trans_mgr.C: remove one case of current_view
4527
4528         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4529
4530         * paragraph_funcs.h: remove paragraph.h include
4531
4532         * paragraph.h: delete NO_STD_LIST stuff
4533
4534         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4535
4536         * buffer.h: remove paragraph.h include
4537
4538         * ParagraphList.C: delete file
4539
4540         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4541
4542         * toc.C (getTocList): adjust
4543
4544         * paragraph_pimpl.C (validate): adjust
4545
4546         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4547
4548         * paragraph.C (Paragraph): adjust
4549         (getPositionOfInset): use const_iterator, adjust
4550         (bibitem): use const_iterator, adjust
4551         (setInsetOwner): adjust
4552
4553         * iterators.C (operator++): adjust
4554
4555         * InsetList.[Ch]: Replace selfmade iterator with standard
4556         vector::iterator also introduce const_iterator. Remove getPos,
4557         getInset and setInset from InsetTable. Adjust accordingly.
4558
4559         * BufferView.C (lockInset): adjust
4560         (ChangeInsets): adjust
4561
4562         * tabular.[Ch]: delete commented same_id functions
4563
4564 2003-05-28  John Levon  <levon@movementarian.org>
4565
4566         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4567
4568 2003-05-28  André Pönitz  <poenitz@gmx.net>
4569
4570         * metricsinfo.[Ch]: remove 'fullredraw' member
4571
4572 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4573
4574         * lyxtextclass.C (operator): remove caching.
4575
4576 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4577
4578         * text3.C: adjust
4579
4580         * text2.C (cursorBottom): adjust
4581         (setCounter): use ParagraphList::find, adjust
4582
4583         * text.C (workWidth): use ParagraphList::find, adjust
4584
4585         * lyxcursor.C (LyXCursor): adjust
4586
4587         * buffer.C (inset_iterator): adjust
4588
4589         * ParagraphList.h: make iterator(value_type) private, make
4590         ParagraphList a friend of iterator.
4591
4592         * ParagraphList.C (find): new function
4593
4594         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4595
4596 2003-05-27  André Pönitz  <poenitz@gmx.net>
4597
4598         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4599
4600 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4601
4602         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4603
4604 2003-05-26  John Levon  <levon@movementarian.org>
4605
4606         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4607
4608 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4609
4610         * remove same_id from function signatures, adjust.
4611
4612 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4613
4614         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4615
4616         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4617
4618         * paragraph.C (Paragraph): get rid of same_ids parameter
4619
4620         * ParagraphList.C (insert): adjust
4621         (push_back): adjust
4622
4623 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4624
4625         * paragraph_funcs.C (breakParagraph): adjust
4626         (breakParagraphConservative): adjust
4627
4628         * buffer.C (readParagraph): adjust
4629
4630         * ParagraphList.C (insert): take a reference instead of a pointer
4631         (insert): adjust
4632
4633         * paragraph.[Ch] (id): new function
4634
4635         * bufferlist.C (newFile): adjust
4636
4637         * ParagraphList.C (ParagraphList): adjust
4638         (assign): adjust
4639         (push_back): take a reference instead of a pointer.
4640
4641         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4642
4643         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4644         instead.
4645
4646         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4647         set else use old code.
4648
4649         * ParagraphList.C: remove all NO_NEXT code and only compile this
4650         code of NO_STD_LIST is set.
4651
4652 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4653
4654         * BufferView_pimpl.C:
4655         * TextCache.C:
4656         * TextCache.h:
4657         * bufferlist.C:
4658         * errorlist.h:
4659         * format.C:
4660         * format.h:
4661         * graph.C:
4662         * lyxfunc.C:
4663         * lyxrc.C:
4664         * graphics/GraphicsConverter.C:
4665         * graphics/PreviewLoader.C: header adjustment
4666
4667 2003-05-23  Angus Leeming  <leeming@lyx.org>
4668
4669         * LaTeXFeatures.[Ch] (useBabel): new method.
4670         * bufferparams.C (writeLaTeX): use it.
4671
4672 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4673
4674         * ParagraphList.h (set): remove unused function.
4675
4676 2003-05-23  André Pönitz  <poenitz@gmx.net>
4677
4678         * BufferView.C:
4679         * BufferView_pimpl.C:
4680         * buffer.C:
4681         * buffer.h:
4682         * lyxfunc.C:
4683         * undo_funcs.C: setUndo reworked
4684
4685         * iterators.[Ch]: add access to topmost ParagraphList
4686
4687         * lyxtext.[Ch] (workWidth): add a const
4688
4689 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4690
4691         * texrow.[Ch] (increasePos): remove function
4692         * exporter.C (export): removed unused var and outdated comment
4693
4694 2003-05-23  Angus Leeming  <leeming@lyx.org>
4695
4696         * latexrunparams.h: rename fragile as moving_arg.
4697         * paragraph.C (simpleTeXOnePar): ditto.
4698         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4699
4700 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4701
4702         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4703         (createUndo): ditto
4704         (textUndoOrRedo): comment out a currently unused var.
4705
4706         * paragraph.h (NO_NEXT): enable NO_NEXT
4707
4708         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4709
4710         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4711
4712         * exporter.C (Export): adjust for removeAutoInsets removal.
4713
4714         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4715
4716         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4717
4718         * BufferView.[Ch] (removeAutoInsets): delete function
4719
4720 2003-05-22  Angus Leeming  <leeming@lyx.org>
4721
4722         * latexrunparams.h: add a free_spacing variable.
4723
4724         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4725         to pass moving_arg, as the data is stored in runparams.fragile.
4726
4727         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4728         to Inset::latexOptional or to simpleTeXOnePar.
4729
4730         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4731         free_spacing arg to Inset::latexOptional.
4732
4733         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4734         free_spacing arg.
4735
4736 2003-05-22  Angus Leeming  <leeming@lyx.org>
4737
4738         * latexrunparams.h: add fragile and use_babel variables.
4739
4740         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4741         * buffer.C (makeLaTeXFile): store this returned value in
4742         runparams.use_babel, thus passing it to the inset::latex methods.
4743
4744         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4745         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4746
4747         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4748         longer has a fragile arg, as it is stored in runparams.fragile.
4749
4750         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4751         moving_arg parameter as the data is stored in runparams.fragile.
4752
4753         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4754         a fragile parameter as the data is stored in runparams.fragile.
4755
4756 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4757
4758         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4759
4760 2003-05-22  Angus Leeming  <leeming@lyx.org>
4761
4762         * latexrunparams.h: add a 'bool nice' which defaults to false.
4763
4764         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4765         now encapsulated within runparams.
4766
4767         * bufferlist.C (updateIncludedTeXfiles):
4768         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4769
4770 2003-05-22  Angus Leeming  <leeming@lyx.org>
4771
4772         * latexrunparams.h: new file containing struct LatexRunParams.
4773         * Makefile.am: add new file.
4774
4775         * LaTeX.[Ch] (c-tor, run):
4776         * buffer.[Ch] (makeLaTeXFile):
4777         * bufferlist.[Ch] (updateIncludedTeXfiles):
4778         * converter.C (convert, scanLog):
4779         * converter.[Ch] (runLaTeX):
4780         * exporter.C (Export):
4781         * paragraph.[Ch] (simpleTeXOnePar):
4782         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4783         * paragraph_funcs.[Ch] (latexParagraphs):
4784         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4785         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4786         pass around a LatexRunParams parameter.
4787
4788 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4789
4790         * paragraph.[Ch]: remove unused constructor
4791
4792         * ParagraphList.C (erase): new function, taking two iterators
4793
4794 2003-05-22  André Pönitz  <poenitz@gmx.net>
4795
4796         * undo_funcs.C: remove duplicated code
4797
4798         * iterator.[Ch]: operator=
4799
4800 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4801
4802         * tabular.C (SetMultiColumn): ws changes
4803
4804         * rowpainter.C (paintFirst): get rid of a ->previous
4805
4806         * lyx_cb.C (getPossibleLabel): parlist simplification
4807
4808         * BufferView.C (ChangeInsets): simplify slightly.
4809
4810 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4811
4812         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4813         * lfuns.h: new LFUN_SPACE
4814         * lyxfunc.C: protected space has a new lfun
4815         * paragraph_funcs.C: read new space insets
4816         * text3.C:
4817         * factory.C: handle new space insets
4818
4819 2003-05-22  André Pönitz  <poenitz@gmx.net>
4820
4821         * BufferView.C:
4822         * BufferView_pimpl.C:
4823         * buffer.[Ch]:
4824         * lyxfunc.C:
4825         * undo_funcs.C: return a ParIterator from getParFromID.
4826
4827         * iterators.[Ch]: add two const's
4828
4829 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4830
4831         * toc.C (getTocList): adjust
4832
4833         * iterators.[Ch]: rework for parlist
4834
4835         * buffer.C (par_iterator_begin): adjust
4836         (par_iterator_end): adjust
4837
4838         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4839
4840         * BufferView.C (removeAutoInsets): adjust
4841         (ChangeInsets): adjust
4842
4843 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4844
4845         * text.C (top_y): fix bug 1110
4846
4847 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4848
4849         * errorlist.[Ch]: added
4850         * buffer.C:
4851         * BufferView.[Ch]:
4852         * BufferView_pimpl.C:
4853         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4854         instead
4855
4856 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4857
4858         * Makefile.am: ensure that lyx is relinked upon changes to the
4859         various "convenience" libs.
4860
4861 2003-05-20  Angus Leeming  <leeming@lyx.org>
4862
4863         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4864         files are compiled in alphabetical order again.
4865
4866         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4867
4868 2003-05-19  Angus Leeming  <leeming@lyx.org>
4869
4870         * gettext.[Ch]: remove "char const * _(char const *)".
4871
4872 2003-05-19  André Pönitz  <poenitz@gmx.net>
4873
4874         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4875
4876         * Makefile.am:
4877         * BufferView.C:
4878         * DepTable.h:
4879         * LaTeXFeatures.C:
4880         * buffer.C:
4881         * lyxfont.C:
4882         * lyxlex.h:
4883         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4884
4885 2003-05-19  André Pönitz  <poenitz@gmx.net>
4886
4887         * buffer.C:
4888         * lyxlayout.[Ch]:
4889         * lyxtextclass.[Ch]:
4890         * paragraph.C:
4891         * paragraph_funcs.[Ch]:
4892         * text2.C:
4893         * text3.C: more insetenv work
4894
4895 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4896
4897         * ParagraphParameters.C (params2string): small bug fixed
4898
4899 2003-05-16  André Pönitz  <poenitz@gmx.net>
4900
4901         * debug.C:
4902         * bufferview_funcs.C: patch from Kornel Benko to prevent
4903           crash when _(...) is called twice in a statement
4904
4905 2003-05-16  André Pönitz  <poenitz@gmx.net>
4906
4907         * BufferView.C:
4908         * lyxfunc.C:
4909         * text.C:
4910         * text2.C:
4911         * text3.C:
4912         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4913
4914 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4915
4916         * lyx_main.C (init): remove spurious static_cast
4917
4918 2003-05-14  André Pönitz  <poenitz@gmx.net>
4919
4920         * BufferView.C: fix format string
4921
4922 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4923
4924         * BufferView.[Ch] (insertErrors): removed
4925         * BufferView.[Ch] (showErrorList): added
4926         * buffer.C (runChkTeX):
4927         * converter.C (scanLog): call showErrorList instead of inserterrors
4928
4929 2003-05-13  André Pönitz  <poenitz@gmx.net>
4930
4931         * BufferView_pimpl.C:
4932         * buffer.C:
4933         * bufferview_func.C:
4934         * MenuBackend.C:
4935         * lyxfunc.C:
4936         * lyxrc.C:
4937         * tex-accent.C:
4938         * text3.C:
4939         * toc.C:
4940         * tabular_funcs.h: tostr() from its own header
4941
4942         * ParagraphParameters.C:
4943         * ToolbarBackend.C:
4944         * bufferparams.C:
4945         * format.C:
4946         * lyxlex_pimpl.C:
4947         * text3.C: STRCONV()
4948
4949 2003-05-12  André Pönitz  <poenitz@gmx.net>
4950
4951         * BufferView.C:
4952         * BufferView_pimpl.C:
4953         * CutAndPaste.C:
4954         * LaTeX.C:
4955         * LaTeXFeatures.C:
4956         * ParagraphParameters.C:
4957         * buffer.C:
4958         * bufferlist.C:
4959         * bufferparams.C:
4960         * bufferview_funcs.C:
4961         * converter.C:
4962         * counters.C:
4963         * debug.C:
4964         * exporter.C:
4965         * format.C:
4966         * importer.C:
4967         * lyx_cb.C:
4968         * lyx_main.C:
4969         * lyxfont.C:
4970         * lyxfunc.C:
4971         * lyxvc.C:
4972         * paragraph.C:
4973         * paragraph_funcs.C:
4974         * tabular.C:
4975         * tabular_funcs.C:
4976         * text2.C:
4977         * text3.C:  boost::format -> bformat  all over the place
4978
4979
4980 2003-05-09  André Pönitz  <poenitz@gmx.net>
4981
4982         * LColor.[Ch]: Pimpl the #include <map> away
4983
4984 2003-05-09  John Levon  <levon@movementarian.org>
4985
4986         * bufferlist.C: never remove emergency saves
4987
4988 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4989
4990         * Makefile.am: better lib building
4991
4992 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4993
4994         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4995         instead.
4996         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4997         (simpleTeXSpecialChars): adjust
4998         (simpleTeXSpecialChars): adjust
4999         * paragraph.C (simpleTeXOnePar): adjust
5000         * buffer.C (makeLaTeXFile): adjust
5001
5002         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5003
5004         * text2.C (changeDepth): parlist cleanup
5005         (getColumnNearX): ditto
5006
5007         * rowpainter.C (getLabelFont): parlist cleanup
5008
5009         * bufferlist.C (newFile): parlist cleanup
5010
5011         * CutAndPaste.C (eraseSelection): parlist cleanup
5012
5013         * BufferView_pimpl.C (trackChanges): parlist cleanup
5014         (dispatch): ditto
5015
5016         * BufferView.C (lockInset): parlist cleanup.
5017         (ChangeInsets): ditto
5018
5019 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5020
5021         * CutAndPaste.h: Update file header.
5022
5023         * CutAndPaste.C: Update file header.
5024         Store the parts cut out of the Document in a limited_stack.
5025         (copySelection): adjust
5026         (pasteSelection): new function, takes the index in the limited stack.
5027         (nrOfParagraphs): adjust
5028         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5029         simplify error inset insertion.
5030         (checkPastePossible): adjust
5031
5032 2003-05-06  John Levon  <levon@movementarian.org>
5033
5034         * text2.C: don't cast wrap inset to float
5035
5036 2003-05-05  André Pönitz  <poenitz@gmx.net>
5037
5038         * iterator.C:
5039         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5040
5041         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5042           few naked Paragraph *.
5043
5044 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5045
5046         * bufferparams.C: Output warning if a document with missing
5047         TeX document class is loaded
5048         * exporter.C: Disable TeX exports if the document class is missing
5049         * lyxtextclass.C:
5050         * lyxtextclass.h:
5051         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5052         isTeXClassAvailable()
5053
5054 2003-05-03  John Levon  <levon@movementarian.org>
5055
5056         * BufferView.h:
5057         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5058         explicit cursor show/hide
5059
5060         * BufferView_pimpl.h:
5061         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5062         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5063
5064         * lyxfunc.C: hide cursor before dispatching.
5065
5066         * lyx_cb.C:
5067         * lyxfind.C:
5068         * text.C:
5069         * text3.C: remove explicit cursor hides
5070
5071 2003-05-02  André Pönitz  <poenitz@gmx.net>
5072
5073         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5074
5075         * undo_funcs.C:
5076         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5077           linked lists
5078
5079         * text2.C: tiny whitespace
5080
5081 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5082
5083         * undo_funcs.C: almost only ws changes.
5084
5085         * ParagraphList.C (splice): just return if pl is empty.
5086
5087 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5088
5089         * ParagraphList.C (splice): new function.
5090
5091         * CutAndPaste.C (pasteSelection): use it
5092
5093 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5094
5095         * CutAndPaste.C (pasteSelection): remove the last next and
5096         previous from this file.
5097
5098 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5099
5100         * CutAndPaste.C (pasteSelection): more clean up, user proper
5101         ParagraphList functions for pasteing.
5102
5103         * ParagraphList.C (insert): new function, three arg insert
5104
5105 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5106
5107         * ParagraphList.C (insert): new function, three arg insert
5108
5109         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5110         not on paragraphs.
5111
5112 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5113
5114         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5115
5116 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5117
5118         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5119
5120 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5121
5122         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5123         (copySelection): clean up a bit.
5124         (pasteSelection): use make_pair
5125
5126         * ParagraphList.C (ParagraphList): implement copy constructor
5127         (operator=): implement, base on copy constructor.
5128         (assign): new func
5129
5130         * paragraph.C (erase): return a bool
5131
5132         * paragraph_pimpl.C (erasePos): remove function, move contents...
5133         (erase): ... here. Return a bool.
5134         (erase): call erase instead of erasePos.
5135
5136 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5137
5138         * ParagraphList.h: define PitPosPair
5139         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5140         ParagraphList, fix a bug on pasting multiple pars
5141         * text2.C: change interface to C&P
5142
5143 2003-04-30  André Pönitz  <poenitz@gmx.net>
5144
5145         * undo_func.C: revert part of yesterday's patch 2
5146
5147 2003-04-30  John Levon  <levon@movementarian.org>
5148
5149         * LColor.C: s/tabular/table/
5150
5151 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5152
5153         * text3.C (dispatch): do not convert iterator -> pointer
5154         * undo_funcs.C (setCursorParUndo): ditto
5155         * text_funcs.C (transposeChars): ditto
5156
5157         * text2.C (setLayout): ws changes only
5158
5159         * text.C (breakParagraph): do not convert iterator -> pointer
5160         (insertChar): ditto
5161         (acceptChange): ditto
5162         (rejectChange): ditto
5163         (changeCase): ditto
5164         (Delete): ditto
5165         (backspace): ditto
5166
5167         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5168         pointer
5169
5170 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5171
5172         * text3.C (gotoInset): YABG (yet another bad getChar)
5173
5174 2003-04-29  André Pönitz  <poenitz@gmx.net>
5175
5176         * paragraph.h: make operator= private unimplemented as long as
5177           it is unusable
5178
5179         * ParagraphList.C: whitespace
5180
5181         * paragraph.[Ch]:
5182         * paragraph_pimpl.[Ch]:
5183         * paragraph_funcs.C:
5184         * CutAndPaste.C:
5185         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5186
5187         * text2.C:
5188           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5189
5190 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5191
5192         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5193         * paragraph.[Ch] (erase):
5194         * paragraph_pimpl.[Ch] (erase): change return type and value
5195         * text2.C (cutSelection): some rework
5196
5197 2003-04-28  John Levon  <levon@movementarian.org>
5198
5199         * bufferlist.C: changes for unsaved changes dialog
5200
5201 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5202
5203         * bufferlist.C (newFile): set language (messages_) for new
5204         documents also.
5205
5206         * buffer.C (readFile): ws changes only.
5207
5208 2003-04-28  André Pönitz  <poenitz@gmx.net>
5209
5210         * undo_funcs.C:
5211         * lyxfunc.C:
5212         * buffer.[Ch]:
5213         * BufferView_pimpl.C:
5214         * BufferView.C: getParFromID related ParagraphList::iterator changes
5215
5216 2003-04-28  André Pönitz  <poenitz@gmx.net>
5217
5218         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5219           Changes
5220
5221 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5222
5223         * messages.C: remove one more localedir class variable.
5224
5225 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5226
5227         * messages.C (getLocaleDir): singleton generation function
5228         (Pimpl): use it.
5229         (Messages): add a default constructor.
5230
5231         * main.C (main): do not setup localedir here, do not call
5232         gettext_init.
5233
5234         * gettext.C (_): use it.
5235         (gettext_init): delete funciton
5236
5237 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5238
5239         * gettext.C (getLyXMessages): new singleton generating function.
5240
5241         * buffer.C (updateDocLang): adjust
5242
5243         * Makefile.am (messages.o): add target
5244         (main.o): remove target
5245
5246 2003-04-27  John Levon  <levon@movementarian.org>
5247
5248         * bufferlist.C:
5249         * lyx_cb.C:
5250         * lyxfunc.C:
5251         * lyxvc.C: specify cancel button in Alert::prompt
5252
5253 2003-04-26  John Levon  <levon@movementarian.org>
5254
5255         * text3.C:
5256         * lyxfunc.C:
5257         * lfuns.h:
5258         * LyXAction.C: add LFUN_INSET_SETTINGS
5259
5260         * lyxfunc.C: don't enable tabular-feature when there's
5261         just any locking inset
5262
5263 2003-04-26  John Levon  <levon@movementarian.org>
5264
5265         * bufferlist.C: re-add Cancel to buffer close question
5266
5267         * lyxfunc.C: fix import UI a bit
5268
5269 2003-04-25  John Levon  <levon@movementarian.org>
5270
5271         * gettext.C: remove the broken asserts for now
5272
5273 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5274
5275         * messages.C: make case where setlocale cannot comply work better.
5276
5277         * buffer.C (updateDocLang): new function
5278         (changeLanguage): use it
5279         (readFile): use it
5280
5281         * text2.C (setCounter): use B_ a bit.
5282
5283         * lyxlayout.C (Read): be sure to trim the label strings.
5284
5285         * messages.C (Messages): fix typo in comment
5286
5287         * buffer.C (readFile): set message_ after file is loaded.
5288         (makeDocBookFile): remove double return
5289         (changeLanguage): reset message_ upon language change.
5290         (B_): new func, use this to get translated buffer strings.
5291
5292         * main.C: add myself and Jean Marc as authors.
5293
5294 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5295
5296         * messages.[hC]: pimplify Messages, and three different pimpls to be
5297         used in different circumstances.
5298
5299         * gettext.[Ch]: change for use with new message code.
5300
5301 2003-04-24 André Pönitz <poenitz@gmx.net>
5302
5303         * factory.C: support for eqref
5304
5305 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5306
5307         * messages.[Ch]: add missing char
5308
5309         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5310
5311         * messages.[Ch]: New files
5312
5313 2003-04-18  John Levon  <levon@movementarian.org>
5314
5315         * BufferView.h:
5316         * BufferView.C:
5317         * BufferView_pimpl.C:
5318         * lfuns.h:
5319         * LyXAction.C:
5320         * lyxtext.h:
5321         * text2.C: remove layout-copy/paste (bug 778)
5322
5323 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5324
5325         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5326
5327 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5328
5329         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5330         if they succeed. Act accordingly.
5331
5332 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5333
5334         * text2.C (setCharFont): adjust
5335         (setCounter): adjust
5336         (insertStringAsLines): adjust
5337
5338         * text.C (leftMargin): adjust
5339         (setHeightOfRow): adjust
5340
5341         * rowpainter.C (paintFirst): adjust
5342         (paintLast): adjust
5343
5344         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5345         (outerHook): ditto
5346         (isFirstInSequence): ditto
5347         (getEndLabel): ditto
5348         (outerFont): adjust
5349
5350         * paragraph.C (getParLanguage): comment out some hard stuff.
5351
5352         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5353         (sgmlError): ditto
5354         (simpleDocBookOnePar): ditto
5355         (makeDocBookFile): use ParagraphList::iterator
5356
5357         * CutAndPaste.C (pasteSelection): adjust
5358
5359 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5360
5361         * text2.C (getFont): adjust
5362         (getLayoutFont): adjust
5363         (getLabelFont): adjust
5364
5365         * paragraph_funcs.C (TeXOnePar): adjust
5366
5367         * buffer.C (simpleLinuxDocOnePar): adjust
5368         (simpleDocBookOnePar): adjust
5369
5370         * CutAndPaste.C (pasteSelection): adjust
5371
5372         * BufferView.C (getEncoding): adjust
5373
5374         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5375
5376 2003-04-16  John Levon  <levon@movementarian.org>
5377
5378         * lyxfind.C: use parlist stuff for search/changes
5379
5380 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5381
5382         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5383
5384         * text2.C (deleteEmptyParagraphMechanism): adjust
5385
5386         * text2.[Ch] (ownerParagraph): delete func (both of them
5387
5388 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5389
5390         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5391
5392 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5393
5394         * ParagraphList.C: prepare for NO_NEXT
5395
5396 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5397
5398         * text2.C (getFont): adjust
5399         (getLayoutFont): adjust
5400         (getLabelFont): adjust
5401
5402         * paragraph.C (getFont): adjust
5403         (getLabelFont): adjust
5404         (getLayoutFont): adjust
5405
5406         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5407
5408 2003-04-15  John Levon  <levon@movementarian.org>
5409
5410         From Angus Leeming
5411
5412         * lyx_main.C: handle Include in .ui files
5413
5414 2003-04-15  John Levon  <levon@movementarian.org>
5415
5416         * MenuBackend.C: make the doc files length shorter
5417
5418         * ToolbarBackend.h:
5419         * ToolbarBackend.C: handle toolbar placement flags,
5420         Minibuffer
5421
5422 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5423
5424         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5425         adjust
5426
5427         * paragraph_funcs.C (TeXOnePar): adjust
5428
5429         * paragraph.C (getLabelFont): add outerfont arg, adjust
5430         (getLayoutFont): ditto
5431         (simpleTeXOnePar): adjust
5432
5433         * paragraph_pimpl.C (realizeFont): delete func
5434
5435 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5436
5437         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5438         row argument, constify cur argument.
5439
5440 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5441
5442         * text2.C (getFont): adjust
5443         (getLayoutFont): adjust
5444         (getLabelFont): adjust
5445
5446         * paragraph_funcs.C (TeXOnePar): adjust
5447         (outerFont): new func...
5448         (realizeFont): ...moved out from here, changed this to facilitate
5449         transition
5450
5451         * paragraph.C (getFont): take outerfont as arg, adjust
5452         (simpleTeXOnePar): add outerfont arg, adjust
5453
5454         * buffer.C (simpleLinuxDocOnePar): adjust
5455         (simpleDocBookOnePar): adjust
5456
5457         * CutAndPaste.C (pasteSelection): adjust
5458
5459         * BufferView.C (getEncoding): adjust
5460
5461 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5462
5463         * text2.C (setCharFont): adjust
5464         (setCounter): adjust
5465
5466         * text.C (leftMargin): adjust
5467         (setHeightOfRow): adjust
5468
5469         * rowpainter.C (paintFirst): adjust
5470         (paintLast): adjust
5471
5472         * paragraph_pimpl.C (realizeFont): adjust
5473
5474         * paragraph.C (isFirstInSequence): move from here...
5475         * paragraph_funcs.C (isFirstInSequence): ...to here
5476
5477         * paragraph.C (outerHook): move from here...
5478         * paragraph_funcs.C (outerHook): ...to here
5479
5480         * paragraph.C (depthHook): move from here...
5481         * paragraph_funcs.C (depthHook): ...to here
5482
5483         * paragraph.C (getEndLabel): move from here...
5484         * paragraph_funcs.C (getEndLabel): ...to here
5485
5486         * text2.C (realizeFont): move from here...
5487         * paragraph_funcs.C (realizeFont): ...to here
5488
5489 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5490
5491         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5492
5493 2003-04-14  Angus Leeming  <leeming@lyx.org>
5494
5495         * LColor.[Ch]: scrap LColor mathcursor.
5496
5497 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5498
5499         * lyxlex.[Ch] (text): delete function
5500         * trans.C (Load): adjust
5501         * paragraph_funcs.C (readParToken): adjust
5502
5503 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5504
5505         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5506         vector<char> instead of a char[].
5507
5508         * lyxlex_pimpl.C (getString): adjust
5509         (next): adjust
5510         (lex): use getString
5511         (eatLine): adjust
5512         (nextToken): adjust
5513
5514         * lyxlex.C (text): use pimpl_->getString()
5515         (getBool): ditto
5516         (findToken): ditto
5517
5518 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5519
5520         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5521         (makeFontEntriesLayoutSpecific): temp var for par.size()
5522         (setLayout): temp var for ownerParagraphs().end()
5523         (fullRebreak): temp var for rows().end()
5524         (selectionAsString): temp var for boost::next(startpit), realize
5525         that the while really is a regular for loop.
5526         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5527         setCursor in one place.
5528         (setParagraph): temp vr for ownerParagraphs().end()
5529         (updateCounters): make the while loop a for loop
5530         (cutSelection): temp var for ownerParagraphs().end()
5531         (updateInset): make the do {} while() a regular for loop
5532         (getCursorX): use temp vars
5533         (setCurrentFont): use temp vars
5534         (getColumnNearX): use temp vars
5535
5536 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5537
5538         * text.C (transformChar): use temp var for getChar
5539         (computeBidiTables): use temp var for row->par()
5540         (fill): move temp vars for row->par() and pit->layout() earlier in
5541         the function.
5542         (labelFill): use temp var for row->par()
5543         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5544         asc and desc, realize that pit never changes and that firstpit is
5545         just a duplicate and not needed. Exchange rit->par() with pit in a
5546         lot of places.
5547         (breakAgain): use a temp var for boost::next(rit)
5548         (breakAgainOneRow): ditto
5549         (breakParagraph): use a temp var for rows().begin()
5550         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5551         (cursorRightOneWord): use temp var for cursor.par() and
5552         cursor.pos(), remove usage of tmpcursor.
5553         (cursorLeftOneWord): use temp var for cursor.par() and
5554         cursor.pos() only set cur at end of function.
5555
5556 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5557
5558         * text.C, text2.C: exchange all usage of Paragraph::next with
5559         boost::next(ParagraphList::iterator)
5560
5561         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5562
5563         * text2.C (cursorTop): simplify implementation
5564         (cursorBottom): ditto
5565         (setParagraph): use ParagraphList::iterator
5566         (setCurrentFont): adjust
5567         (getColumnNearX): adjust
5568         (cursorRight): adjust
5569         (cursorLeft): remove usage of Paragraph::previous
5570         (cursorUpParagraph): ditto
5571         (deleteEmptyParagraphMechanism): slight cleanup
5572
5573         * text.C (isBoundary): take a Paragraph const & instead of a
5574         pointer as arg.
5575         (addressBreakPoint): ditto
5576         (leftMargin): remove usage of Paragraph::previous.
5577         (setHeightOfRow): ditto
5578         (cursorLeftOneWord): ditto
5579         (selectNextWordToSpellcheck): ditto
5580         (Delete): ditto
5581         (backspace): ditto
5582         (breakParagraph): remove one usage of Paragraph::next
5583         (redoParagraph): ditto
5584         (acceptChange): ditto
5585         (insertChar): adjust
5586         (rowBreakPoint): adjust
5587
5588         * bufferview_funcs.C (toggleAndShow): adjust
5589
5590 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5591
5592         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5593         methods to access it.
5594         * lyxtext.h:
5595         * text.C: Added updateRowPositions to compute all row positions.
5596         Make top_y and getRowNearY() to use the cached y position
5597
5598 2003-04-11  John Levon  <levon@movementarian.org>
5599
5600         * text.C (rowBreakPoint): reintroduce the labelEnd
5601         checks, code copied from the row fill stuff. Deep voodoo.
5602
5603         * text.C (fill): add a comment and debugging for the
5604         next poor soul.
5605
5606 2003-04-11  John Levon  <levon@movementarian.org>
5607
5608         * text.C: make sure fullrow insets get wrapped to the next line,
5609         even when they're in a manual label
5610
5611 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5612
5613         * text2.C (insertParagraph): make it take ParagraphList::iterator
5614         as arg.
5615         (setLayout): make it return ParagraphList::iterator
5616         (redoParagraphs): ditto
5617         (setCounter): ditto
5618         (checkParagraph): ditto
5619
5620         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5621
5622         * text2.C: adjust several funcs.
5623         (realizeFont): take a ParagraphList::iterator as arg.
5624         (getLayoutFont): ditto
5625         (getLabelFont): ditto
5626         (setCharFont): ditto
5627
5628         * text.C: adjust several funcs.
5629
5630 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5631
5632         * text.C (selectNextWordToSpellcheck): don't accidentally
5633         skip insets
5634
5635 2003-04-10  John Levon  <levon@movementarian.org>
5636
5637         * ToolbarBackend.C (getIcon): special handling for
5638         LFUN_MATH_DELIM
5639
5640 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5641
5642         * text2.C (cursorRight): a getChar assert fixed
5643
5644 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5645
5646         * text2.C (getFont): change to take a ParagraphList::iterator
5647         instead of Paragraph*
5648         Adjust several functions.
5649
5650         * text.C (transformChar): change to take a ParagraphList::iterator
5651         instead of Paragraph*
5652         (singleWidth): ditto
5653         Adjust several functions.
5654
5655         * rowpainter.C: adjust several functions
5656         * rowpainter.h:store a ParagraphList::iterator and not a
5657         Paragraph&.
5658
5659
5660 2003-04-09  John Levon  <levon@movementarian.org>
5661
5662         * lyxfunc.C:
5663         * lfuns.h:
5664         * LyXAction.h:
5665         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5666         and the "help" bits as well
5667
5668 2003-04-09  John Levon  <levon@movementarian.org>
5669
5670         * ToolbarBackend.h:
5671         * ToolbarBackend.C: allow multiple toolbars
5672
5673 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5674
5675         * undo_funcs.C (setCursorParUndo): adjust
5676
5677         * text_funcs.C (transposeChars): adjust
5678
5679         * text3.C (gotoNextInset): adjust
5680         (dispatch): adjust
5681
5682         * text2.C (setLayout): adjust
5683         (changeDepth): adjust
5684         (setFont): adjust
5685         (redoParagraphs): adjust
5686         (selectionAsString): adjust
5687         (setParagraph): adjust
5688         (insertInset): adjust
5689         (cutSelection): adjust
5690         (copySelection): adjust
5691         (pasteSelection): adjust
5692         (insertStringAsLines): adjust
5693         (updateInset): adjust
5694         (setCursor): change to take a ParagraphList::iterator parameter
5695         (setCursorIntern): change to take a ParagraphList::iterator parameter
5696         (setCurrentFont): adjust
5697         (cursorLeft): adjust
5698         (cursorRight): adjust
5699         (deleteEmptyParagraphMechanism): adjust
5700
5701         * text.C (breakParagraph): adjust
5702         (insertChar): adjust
5703         (acceptChange): adjust
5704         (rejectChange): adjust
5705         (selectNextWordToSpellcheck): adjust
5706         (changeCase): adjust
5707         (Delete): adjust
5708         (backspace): adjust
5709
5710         * lyxfind.C (SearchForward): adjust
5711         (SearchBackward): adjust
5712         (nextChange): adjust
5713
5714         * lyxcursor.C (par): adjust
5715
5716         * lyxcursor.h: store a ParagraphList::iterator instead of a
5717         Paragraph*
5718
5719         * lyx_cb.C (getPossibleLabel): adjust
5720
5721         * bufferview_funcs.C (toggleAndShow): adjust
5722
5723         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5724         (dispatch): adjust
5725
5726         * BufferView.C (removeAutoInsets): adjust
5727         (lockedInsetStoreUndo): adjust
5728
5729 2003-04-09  John Levon  <levon@movementarian.org>
5730
5731         * ToolbarBackend.C: try icon without argument
5732         if with argument fails
5733
5734 2003-04-08  John Levon  <levon@movementarian.org>
5735
5736         * ToolbarBackend.h:
5737         * ToolbarBackend.C: add getIcon(), handle tooltip,
5738         and change from "Icon" to "Item".
5739
5740 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5741
5742         * BufferView.C (lockInset): another bad getchar crunched
5743
5744 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5745
5746         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5747         again)
5748
5749 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5750
5751         * lyxfind.C (searchForward, searchBackwards): bug 782
5752
5753 2003-04-07  John Levon  <levon@movementarian.org>
5754
5755         * paragraph.C: remove dead comment
5756
5757         * text.C: remove troublesome depth-fiddling code
5758         in leftMargin() and rightMargin() (bug 1017)
5759
5760         * text.C: fix breaking of rows in nested lists
5761         (bug 1004)
5762
5763         * text2.C (updateCounters): fix up depth values
5764         (bug 1013)
5765
5766 2003-04-07  John Levon  <levon@movementarian.org>
5767
5768         * BufferView_pimpl.C: clear message when doc finishes resizing,
5769         and after a mouse event
5770
5771         * lyxfunc.C: clear message after exiting inset
5772
5773 2003-04-07  John Levon  <levon@movementarian.org>
5774
5775         * bufferview_funcs.C: show math status not outside
5776         status in the statusbar
5777
5778 2003-04-07  John Levon  <levon@movementarian.org>
5779
5780         * lyxfunc.C: note status changed after a depth change
5781
5782 2003-04-04  Angus Leeming  <leeming@lyx.org>
5783
5784         * LaTeX.h: move AuxInfo operator==, != out of line.
5785         Remove LaTeX virtual destructor; nothing derives from it.
5786         Move operator()() out of public area and rename it startscript().
5787         Change protected for private.
5788
5789 2003-04-04  Angus Leeming  <leeming@lyx.org>
5790
5791         * lyxfunc.C:
5792         * text2.C: remove unneeded #includes.
5793
5794 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5795
5796         * text2.C (dEPM): fix the heigth of the next row
5797
5798 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5799
5800         * text.C: squashed an invalid getChar requester + some ws changes
5801
5802 2003-04-03  John Levon  <levon@movementarian.org>
5803
5804         * bufferview_funcs.h:
5805         * bufferview_funcs.C:
5806         * lyxfunc.C:
5807         * lyxtext.h:
5808         * text2.C: make getStatus work for the env depth lfuns
5809
5810 2003-04-03  John Levon  <levon@movementarian.org>
5811
5812         * bufferview_funcs.h:
5813         * bufferview_funcs.C:
5814         * lyxfunc.C:
5815         * lyxtext.h:
5816         * text2.C: parlistize decDepth(), by merging it with incDepth()
5817
5818 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5819
5820         * lyxrow.h: store a ParagraphList::iterator instead of a
5821         Paragraph* and adjust other class functions to suit.
5822
5823         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5824         above.
5825
5826 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5827
5828         * text2.C (setCursor): do not anchor to cursor row for the time being
5829
5830 2003-04-02  John Levon  <levon@movementarian.org>
5831
5832         * LyXAction.C:
5833         * lfuns.h:
5834         * lyx_main.C:
5835         * lyxtext.h:
5836         * text.C:
5837         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5838
5839 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5840
5841         * paragraph.h: make ParagraphList and ParagraphList::iterator
5842         friends of Paragraph.
5843
5844         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5845
5846         * ParagraphList.C: Use the private next_ and previous_ from
5847         Paragraph.
5848
5849 2003-04-01  John Levon  <levon@movementarian.org>
5850
5851         * ToolbarBackend.h:
5852         * ToolbarBackend.C:
5853         * Makefile.am: rename, remove defaults gunk
5854
5855         * MenuBackend.h:
5856         * MenuBackend.C: remove defaults gunk
5857
5858         * Languages.h:
5859         * Languages.C: remove defaults gunk
5860
5861         * lyx_main.h:
5862         * lyx_main.C: error out if files couldn't be found.
5863
5864 2003-04-02  John Levon  <levon@movementarian.org>
5865
5866         * text2.C: make incDepth() use parlist
5867
5868 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5869
5870         * undo_funcs.C (firstUndoParagraph): adjust
5871
5872         * text3.C (gotoInset): adjust
5873         (dispatch): adjust, and rewrite loop.
5874
5875         * text2.C (init): adjust, and rewrite loop.
5876         (redoParagraphs): adjust
5877         (updateInset): adjust, and rewrite loop.
5878         (deleteEmptyParagraphMechanism): adjust
5879
5880         * tabular.C (LyXTabular): adjust
5881         (SetMultiColumn): adjust
5882         (TeXRow): adjust
5883
5884         * lyxtext.[Ch] (ownerParagraph): delete function
5885         (ownerParagraphs): new function returns a ParagraphList.
5886
5887         * BufferView.C (removeAutoInsets): adjust
5888         (insertErrors): adjust
5889         (setCursorFromRow): adjust
5890
5891 2003-04-01  Angus Leeming  <leeming@lyx.org>
5892
5893         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5894         in the frontends.
5895
5896 2003-04-02  John Levon  <levon@movementarian.org>
5897
5898         * lyxtext.h:
5899         * text.C:
5900         * Makefile.am:
5901         * text_funcs.h:
5902         * text_funcs.C: make transposeChars a free function
5903
5904         * lyxrow_funcs.C: remove wrong comment
5905
5906 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5907
5908         * lyxtext.h: adjust
5909         * rowpainter.C: adjust
5910         * text.C: adjust
5911         * text2.C: adjust
5912         * text3.C: adjust
5913
5914         * lyxrow_funcs. [Ch]: new files
5915
5916         * lyxrow.[Ch]: remove next and previous pointers
5917         (next,previous): remove accessor functions
5918         (isParEnd): move to lyxrow_funcs
5919         (lastPos): move to lyxrow_funcs
5920         (nextRowIsAllInset): move to lyxrow_funcs
5921         (lastPrintablePos): move to lyxrow_funcs
5922         (numberOfSeparators): move to lyxrow_funcs
5923         (numberOfHfills): move to lyxrow_funcs
5924         (numberOfLabelHfills): move to lyxrow_funcs
5925         (hfillExpansion): move to lyxrow_funcs
5926
5927         * lyxfunc.C: adjust
5928
5929         * bufferview_funcs.C (toggleAndShow): adjust
5930
5931         * RowList.h: Remove class RowList from file leave just a
5932         std::list<Row>.
5933
5934         * RowList.C: delete file
5935
5936         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5937         and lyxrow_funcs.h
5938
5939 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5940
5941         * text3.C (cursorPrevious): adjust
5942         (cursorNext): adjust
5943         (dispatch): adjust
5944
5945         * text2.C (redoHeightOfParagraph): adjust
5946         (redoDrawingOfParagraph): adjust
5947         (setCursor): adjust
5948
5949         * text.C (breakParagraph): adjust
5950         (insertChar): adjust
5951         (backspace): adjust
5952
5953         * rowpainter.C (RowPainter): adjust
5954         (leftMargin): simplify and adjust
5955         (most rowpainter functions): adjust.
5956
5957         * rowpainter.h: store the row as RowList::iterator not as Row*
5958
5959         * lyxcursor.C (row): taka RowList::iterator as arg
5960         (irow): ditto
5961
5962         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5963         of Row*.
5964
5965 2003-04-01  Angus Leeming  <leeming@lyx.org>
5966
5967         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5968         stuff like bool Bool.
5969
5970 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5971
5972         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5973         rewrite a loop
5974
5975 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5976
5977         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5978         RowList::iterator.
5979
5980         * lyxtext.h (rows): drop one version and leve a const variant that
5981         returns a RowList::iterator.
5982
5983 2003-03-31  Angus Leeming  <leeming@lyx.org>
5984
5985         * text.C (fill): ensure that the signature is the same as that in the
5986         header file.
5987
5988 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5989
5990         * text2.C (redoParagraphs): adjust
5991         (updateCounters): adjust
5992         (checkParagraph): adjust
5993         (getColumnNearX): adjust and reformat a bit.
5994
5995         * text.C (top_y): adjust
5996         (workWidth): adjust
5997         (leftMargin): adjust
5998         (prepareToPrint): adjust
5999         (getRow): adjust
6000         (getRowNearY): adjust
6001
6002         * lyxtext.h: make rowlist_ mutable.
6003
6004         * RowList.h: add const_iterator
6005         * RowList.C: adjust for RowList::const_iterator.
6006
6007         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6008         adjust.
6009
6010 2003-03-31  John Levon  <levon@movementarian.org>
6011
6012         * lyxrc.h:
6013         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6014
6015         * lyx_main.C: set default fonts from using lyx_gui funcs
6016
6017         * exporter.C: pdf_mode moved from lyxrc
6018
6019         * lyx_cb.C:
6020         * lyxfunc.C: changes from above
6021
6022 2003-03-31  John Levon  <levon@movementarian.org>
6023
6024         * lyx_main.C: fix to the last fix
6025
6026 2003-03-31  John Levon  <levon@movementarian.org>
6027
6028         * bufferlist.C: "Load original" -> "Load Original"
6029
6030         * converter.C:
6031         * exporter.C:
6032         * importer.C:
6033         * lyx_main.C:
6034         * format.C: more Alert cleanups
6035
6036 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6037
6038         * text2.C (removeParagraph): make it take a RowList::iterator as
6039         arg, adjust.
6040         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6041         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6042
6043         * text.C (anchor_row): make it take a RowList::iterator as arg,
6044         adjust.
6045         (computeBidiTables): make it take a const reference to Row instead
6046         of Row pointer, adjust.
6047         (leftMargin): make it take a RowList::iterator as arg, adjust.
6048         (rowBreakPoint): adjust
6049         (breakAgainOneRow): make it take a RowList::iterator as arg,
6050         adjust.
6051         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6052
6053         * bufferview_funcs.C (toggleAndShow): adjust
6054
6055 2003-03-30  John Levon  <levon@movementarian.org>
6056
6057         * Makefile.am:
6058         * BoostFormat.h:
6059         * boost-inst.C: moved to support
6060
6061         * several files: changes as a result
6062
6063 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6064
6065         * text2.C (LyXText): adjust.
6066         (init): adjust
6067         (removeRow): make it take a RowList::iterator as arg, adjust.
6068         (fullRebreak): adjust
6069         (deleteEmptyParagraphMechanism): adjust
6070         (clearPaint): adjust
6071         (postPaint): adjust
6072
6073         * text.C (top_y): adjust
6074         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6075         (breakAgain): make it take a RowList::iterator as arg, adjust.
6076         (breakParagraph): adjust
6077         (insertChar): adjust
6078         (backspace): adjust
6079
6080         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6081         need_break_row, and refresh_row.
6082
6083         * text3.C (dispatch): adjust
6084
6085         * text2.C (checkParagraph): adjust
6086         (setCursor): adjust
6087         (setCursorFromCoordinates): adjust
6088
6089         * text.C (top_y): adjust
6090         (workWidth): adjust
6091         (getRow): make it return a RowList::iterator, adjust
6092         (getRowNearY): make it return a RowList::iterator, adjust
6093
6094         * text2.C (init): adjust
6095         (insertRow): remove function
6096         (insertParagraph): adjust
6097         (redoParagraphs): adjust
6098         (fullRebreak): adjust
6099         (updateCounters): adjust
6100
6101         * text.C (top_y): rewrite to use RowList iterators.
6102         (top_y): adjust
6103         (setHeightOfRow): rewrite to sue RowList iterators.
6104         (appendParagraph): adjust
6105         (breakAgain): adjust
6106         (breakAgainOneRow): adjust
6107         (breakParagraph): adjust
6108         (getRow): adjust
6109         (getRowNearY): adjust, and remove commented code.
6110
6111         * lyxtext.h (firstRow): delete function
6112         (lastRow): delete function
6113         (rows): new function (const and non-const versions.)
6114         (insertRow): delete function
6115
6116         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6117
6118 2003-03-29  John Levon  <levon@movementarian.org>
6119
6120         * BufferView_pimpl.C: always update scrollbar top
6121         because pasting text when we're anchored could mean we
6122         miss an update altogether
6123
6124 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6125
6126         * text2.C (init): use rowlist_.end() and not 0.
6127         (insertRow): change to take a RowList::iterator as arg, adjust
6128         for this.
6129         (insertParagraph): change to take a RowList::iterator as arg,
6130         adjust for this.
6131         (redoParagraphs): remove some debug msgs.
6132
6133         * text.C (appendParagraph): change to take a RowList::iterator
6134         arg, adjust for this.
6135         (breakAgain): add an assert
6136         (breakAgainOneRow): ditto
6137
6138 2003-03-29  John Levon  <levon@movementarian.org>
6139
6140         * text2.C: do not clear selection after inc/decDepth
6141         (bug 550)
6142
6143 2003-03-29  John Levon  <levon@movementarian.org>
6144
6145         * BufferView.C:
6146         * buffer.C: fix broken strerrors according to Lars
6147
6148 2003-03-29  John Levon  <levon@movementarian.org>
6149
6150         * converters.C: more Alert cleanups
6151
6152 2003-03-29  John Levon  <levon@movementarian.org>
6153
6154         * bufferview_funcs.C: remove pointless Alert
6155
6156         * buffer.C: fix confusing error message when
6157         a template is chmoded 000
6158
6159 2003-03-29  John Levon  <levon@movementarian.org>
6160
6161         * BufferView.C:
6162         * BufferView.h:
6163         * BufferView_pimpl.C: Alert fixes
6164
6165         * Makefile.am:
6166         * tabular.C:
6167         * tabular-old.C: remove unused table compat reading
6168
6169 2003-03-29  John Levon  <levon@movementarian.org>
6170
6171         * BufferView.C:
6172         * buffer.C:
6173         * lyx_cb.h:
6174         * lyx_cb.C: more Alert cleanups
6175
6176         * lyxfunc.C: don't allow chktex if not latex document
6177
6178 2003-03-29  John Levon  <levon@movementarian.org>
6179
6180         * lyx_cb.C:
6181         * BufferView.C:
6182         * buffer.C: warnings pushed down from support/,
6183         kill err_alert
6184
6185 2003-03-29  John Levon  <levon@movementarian.org>
6186
6187         * lyxfunc.C: safety check for C-r (revert)
6188
6189 2003-03-29  John Levon  <levon@movementarian.org>
6190
6191         * bufferlist.h:
6192         * bufferlist.C: several UI fixes using Alert::prompt.
6193         Fix the pointless looping quit code. Fix stupid revert
6194         behaviour (bug 938)
6195
6196         * lyxvc.h:
6197         * lyxvc.C:
6198         * lyx_cb.C: use Alert::prompt
6199
6200         * lyx_main.C: remove a silly question
6201
6202         * lyxfunc.C: remove a couple of silly questions,
6203         use Alert::prompt
6204
6205 2003-03-28  John Levon  <levon@movementarian.org>
6206
6207         * text2.C: fix bug 974 (End on empty par)
6208
6209 2003-03-28  John Levon  <levon@movementarian.org>
6210
6211         * BufferView_pimpl.C:
6212         * LyXAction.C:
6213         * lfuns.h: remove do-nothing math greek lfuns
6214
6215 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6216
6217         * lyxgluelength.h (isValidGlueLength): add default arg on
6218         parameter 2. Remove default arg from friend in class.
6219
6220         * lyxlength.h (isValidLength): add default arg on parameter 2.
6221         Remove default arg from friend in class.
6222
6223         * text2.C (LyXText): adjust, initialize refresh_row.
6224         (init): adjust
6225         (removeRow): adjust
6226         (insertRow): adjust
6227         (insertParagraph): adjst
6228         (redoParagraphs): adjust
6229         (fullRebreak): adjust
6230         (updateCounters): adjust
6231         (deleteEmptyParagraphMechanism): first attempt at fixing a
6232         crashing bug.
6233
6234         * text.C (top_y): adjust
6235         (setHeightOfRow): adjust
6236         (getRow): adjust
6237         (getRowNearY): adjust
6238
6239         * lyxtext.h: include RowList.h
6240         (~LyXText): not needed anymore, deleted.
6241         (firstRow): modify for RowList
6242         (lastRow): new function
6243         Delete firstrow and lastrow class variables, add a Rowlist
6244         rowlist_ class variable.
6245
6246         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6247         paragraph is empty.
6248
6249         * RowList.C (insert): fix case where it == begin().
6250
6251 2003-03-26  Angus Leeming  <leeming@lyx.org>
6252
6253         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6254         the thesaurus dialog.
6255
6256 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6257
6258         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6259
6260         * RowList.[Ch]: new files
6261
6262         * ParagraphList.C (erase): handle the case where it == begin
6263         correctly.
6264
6265 2003-03-25  John Levon  <levon@movementarian.org>
6266
6267         * Makefile.am:
6268         * aspell_local.h:
6269         * aspell.C: add new aspell support
6270
6271         * lyxrc.h:
6272         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6273         have it accessible.
6274
6275 2003-03-25  Angus Leeming  <leeming@lyx.org>
6276
6277         * lfuns.h:
6278         * LyXAction.C (init): new LFUN_INSET_INSERT.
6279
6280         * BufferView_pimpl.C (dispatch): split out part of the
6281         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6282
6283         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6284         LFUN_INSET_APPLY.
6285
6286 2003-03-25  Angus Leeming  <leeming@lyx.org>
6287
6288         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6289
6290 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6291
6292         * text2.C:
6293         * text3.C: remove useless row->height(0)
6294
6295 2003-03-25  John Levon  <levon@movementarian.org>
6296
6297         * lyxtext.h:
6298         * text2.C:
6299         * text3.C: rename the refreshing stuff to better names
6300
6301 2003-03-24  John Levon  <levon@movementarian.org>
6302
6303         * BufferView_pimpl.h:
6304         * BufferView_pimpl.C: update layout choice on a mouse
6305         press/release
6306
6307 2003-03-23  John Levon  <levon@movementarian.org>
6308
6309         * Makefile.am: fix commandtags.h reference
6310
6311 2003-03-22  John Levon  <levon@movementarian.org>
6312
6313         * BufferView_pimpl.C:
6314         * lyxtext.h:
6315         * rowpainter.C:
6316         * rowpainter.h:
6317         * text.C:
6318         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6319
6320 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6321
6322         * lyxtext.h:
6323         * text.C: take the rtl methods out of line
6324
6325 2003-03-21 André Pönitz <poenitz@gmx.net>
6326
6327         * metricsinfo.[Ch]: new files containing structures to be passed around
6328         during the two-phase-drawing...
6329
6330 2003-03-21 André Pönitz <poenitz@gmx.net>
6331
6332         * lyxtextclass.C: read 'environment' tag.
6333
6334 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6335
6336         * text2.C (removeRow): fix bug 964
6337
6338 2003-03-20  John Levon  <levon@movementarian.org>
6339
6340         * rowpainter.C:
6341         * text.C:
6342         * text2.C: paint cleanups. Inset::update() dropped font
6343         parameter
6344
6345 2003-03-19  John Levon  <levon@movementarian.org>
6346
6347         * lyxfunc.C: only fitcursor/markDirty if available()
6348
6349 2003-03-19  John Levon  <levon@movementarian.org>
6350
6351         * commandtags.h: rename to ...
6352
6353         * lfuns.h: ... this, and renumber / cleanup
6354
6355 2003-03-19  John Levon  <levon@movementarian.org>
6356
6357         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6358         fit the cursor after an lfun
6359
6360         * BufferView.h:
6361         * BufferView.C:
6362         * BufferView_pimpl.h:
6363         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6364
6365         * LyXAction.C: layout-character should have ReadOnly
6366
6367         * ParagraphParameters.C:
6368         * buffer.C:
6369         * bufferview_funcs.C:
6370         * lyx_cb.C:
6371         * lyxfind.C:
6372         * lyxtext.h:
6373         * text.C:
6374         * text2.C:
6375         * text3.C:
6376         * undo_funcs.C: changes from above
6377
6378 2003-03-18  John Levon  <levon@movementarian.org>
6379
6380         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6381         remove it from update()
6382
6383         * lyxfunc.C: update layout choice after an lfun
6384
6385         * text3.C: remove extra updateLayoutChoice()s
6386
6387 2003-03-18  John Levon  <levon@movementarian.org>
6388
6389         * text.C: top_y change means full repaint, fix
6390         a drawing bug with cursor movement
6391
6392 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6393
6394         * lyxtext.h:
6395         * text.C:
6396         * text2.C: anchor row on setCursor
6397
6398 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6399
6400         * lyxtext.h: remove almost all mutable keywords
6401         * text.C:
6402         * text2.C:
6403         * text3.C: remove const keywords accordingly
6404
6405 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6406
6407         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6408         anon namespace
6409         (TeXEnvironment): ditto
6410         (TeXOnePar): ditto
6411
6412 2003-03-17  John Levon  <levon@movementarian.org>
6413
6414         * text.C (rowBreakPoint): remove attempt to fix displayed
6415         math insets inside a manual label
6416
6417 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6418
6419         * lyxtext.h: remove BufferView* as first arg from almost all class
6420         functions.
6421         * other files: adjust.
6422
6423 2003-03-17  John Levon  <levon@movementarian.org>
6424
6425         * lyxtext.h:
6426         * undo_funcs.C:
6427         * text2.C: more paint cleanups
6428
6429         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6430
6431         * rowpainter.h:
6432         * rowpainter.C: remove "smart" background painting code
6433
6434 2003-03-16  John Levon  <levon@movementarian.org>
6435
6436         * lyxtext.h:
6437         * text.C:
6438         * text2.C:
6439         * text3.C: add helper functions for setting refresh_row/y
6440
6441 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6442
6443         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6444         newline inset which *can* get inserted in the pass_thru layouts.
6445         This is primarily for literate documents.
6446
6447 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6448
6449         * buffer.C: increment LYX_FORMAT to 223
6450
6451 2003-03-14 André Pönitz <poenitz@gmx.net>
6452
6453         * textclass.h: prepare for environment handling, ws changes
6454         * lyxlayout.C: read latexheader and latexfooter tags
6455
6456 2003-03-14  John Levon  <levon@movementarian.org>
6457
6458         * text2.C: rewrite ::status() a bit
6459
6460 2003-03-13  John Levon  <levon@movementarian.org>
6461
6462         * lyxtext.h: add some docs
6463
6464 2003-03-13  John Levon  <levon@movementarian.org>
6465
6466         * lyxtext.h:
6467         * text.C:
6468         * text2.C:
6469         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6470
6471 2003-03-13  John Levon  <levon@movementarian.org>
6472
6473         * text3.C: fix appendix redrawing
6474
6475 2003-03-13  John Levon  <levon@movementarian.org>
6476
6477         * text.C (setHeightOfRow):
6478         * rowpainter.h:
6479         * rowpainter.C: make appendix mark have the text
6480           "Appendix" so the user knows what it is
6481
6482         * LColor.h:
6483         * LColor.C: s/appendixline/appendix/ from above
6484
6485 2003-03-13  John Levon  <levon@movementarian.org>
6486
6487         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6488
6489         * text.C: fix a getChar(pos) bug properly
6490
6491 2003-03-13  Angus Leeming  <leeming@lyx.org>
6492
6493         * commandtags.h:
6494         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6495         Probably only temporary. Let's see how things pan out.
6496
6497         * BufferView.C (unlockInset):
6498         * BufferView_pimpl.C (fitCursor):
6499         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6500
6501         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6502         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6503
6504         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6505         new functions that convert ParagraphParameters to and from a string.
6506
6507         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6508         BufferView::Pimpl's dispatch.
6509         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6510
6511 2003-03-13 André Pönitz <poenitz@gmx.net>
6512
6513         * lyxfunc.C:
6514         * text3.C:
6515         * factory.C: make it aware of InsetEnv
6516
6517 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6518
6519         * text2.C (setCursor): never ask for one past last
6520         (setCursor): add some debugging messages.
6521
6522         * text.C (singleWidth): never ask for one past last
6523         (singleWidth): ditto
6524         (leftMargin): ditto
6525         (rightMargin): ditto
6526         (rowBreakPoint): ditto
6527         (setHeightOfRow): ditto
6528         (prepareToPrint): ditto
6529
6530         * rowpainter.C (paintBackground): never ask for one past last
6531         (paintText): never ask for one past last
6532
6533         * paragraph_pimpl.C (getChar): make the assert stricter, never
6534         allow the one past last pos to be taken
6535
6536         * paragraph.C (getChar): ws changes only
6537
6538         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6539         (numberOfSeparators): ditto
6540         (numberOfHfills): ditto
6541
6542 2003-03-12  John Levon  <levon@movementarian.org>
6543
6544         * author.h:
6545         * author.C:
6546         * bufferparams.h:
6547         * bufferparams.C:
6548         * paragraph_funcs.C: fix per-buffer authorlists
6549
6550 2003-03-12  John Levon  <levon@movementarian.org>
6551
6552         * text.C: fix newline in right address
6553
6554 2003-03-12  Angus Leeming  <leeming@lyx.org>
6555
6556         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6557         duplicate those in LyXFunc::dispatch.
6558
6559         * commandtags.h:
6560         * LyXAction.C:
6561         * ToolbarDefaults.C:
6562         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6563         Add LFUN_FONTFREE_UPDATE.
6564
6565         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6566         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6567
6568         * bufferview_func.[Ch]: several new functions to facilliate
6569         transfer of data to and from the character dialog.
6570
6571 2003-03-12  John Levon  <levon@movementarian.org>
6572
6573         * buffer.C:
6574         * paragraph.h:
6575         * paragraph.C:
6576         * paragraph_funcs.C:
6577         * paragraph_pimpl.C:
6578         * sgml.C:
6579         * tabular.C:
6580         * text.C:
6581         * text3.C: remove META_NEWLINE in favour of an inset
6582
6583         * rowpainter.h:
6584         * rowpainter.C: remove paintNewline (done by inset)
6585
6586 2003-03-12  John Levon  <levon@movementarian.org>
6587
6588         * paragraph_pimpl.C: complain about bad getChar()s
6589         for a while at least
6590
6591 2003-03-12  John Levon  <levon@movementarian.org>
6592
6593         * buffer.h:
6594         * buffer.C: move paragraph read into a separate function,
6595         a little renaming to reflect that.
6596
6597         * bufferparams.h:
6598         * bufferparams.C: remove the author_ids map, not necessary now
6599
6600         * factory.h:
6601         * factory.C: moved Buffer::readInset to here
6602
6603         * paragraph_funcs.h:
6604         * paragraph_funcs.C: readParagraph free function moved from
6605         buffer.C
6606
6607         * tabular.C: name change
6608
6609 2003-03-12  John Levon  <levon@movementarian.org>
6610
6611         * buffer.C:
6612         * ParagraphParameters.C: move par params input to
6613         a read() method
6614
6615         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6616         behave like a normal read from the stream wrt reading
6617         a line vs. a \\token
6618
6619 2003-03-12  John Levon  <levon@movementarian.org>
6620
6621         * paragraph.C:
6622         * ParagraphParameters.h:
6623         * ParagraphParameters.C: move output code to a
6624         ::write() method
6625
6626 2003-03-12  John Levon  <levon@movementarian.org>
6627
6628         * BufferView.C (insertLyXFile):
6629         * buffer.h:
6630         * buffer.C:
6631         * tabular.C: use a parlist iterator for creating the
6632           document.
6633
6634 2003-03-12  John Levon  <levon@movementarian.org>
6635
6636         * buffer.C: make current_change static local not
6637           static file-scope
6638
6639 2003-03-12  John Levon  <levon@movementarian.org>
6640
6641         * buffer.C: fix insertStringAsLines for change tracking
6642
6643 2003-03-12  John Levon  <levon@movementarian.org>
6644
6645         * BufferView.C:
6646         * tabular.C:
6647         * buffer.h:
6648         * buffer.C:
6649         * bufferparams.h:
6650         * bufferparams.C: move author list into params. Rename some
6651           functions. Move the header reading into a separate token
6652           loop. Move the header token reading into BufferParams.
6653
6654 2003-03-12  John Levon  <levon@movementarian.org>
6655
6656         * changes.C: put debug inside lyxerr.debugging() checks
6657
6658 2003-03-11 André Pönitz <poenitz@gmx.net>
6659
6660         * factory.C: make it aware of InsetHFill
6661
6662 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6663
6664         * buffer.C (latexParagraphs): move function from here...
6665         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6666         args.
6667
6668 2003-03-10  Angus Leeming  <leeming@lyx.org>
6669
6670         * LyXAction.C (init): fix bug in poplating array with multiple entries
6671         with the same LFUN (spotted by JMarc).
6672
6673 2003-03-10  John Levon  <levon@movementarian.org>
6674
6675         * text.C:
6676         * text2.C: move getColumnNearX() near its
6677         only call site
6678
6679 2003-03-10  John Levon  <levon@movementarian.org>
6680
6681         * text.C: fix break before a minipage
6682
6683 2003-03-10  John Levon  <levon@movementarian.org>
6684
6685         * text.C: fix the last commit
6686
6687 2003-03-09  John Levon  <levon@movementarian.org>
6688
6689         * lyxtext.h:
6690         * text.C:
6691         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6692         bug 365 (don't break before insets unless needed). Don't
6693         return a value > last under any circumstances.
6694
6695 2003-03-09  Angus Leeming  <leeming@lyx.org>
6696
6697         * BufferView_pimpl.C (trackChanges, dispatch): call
6698         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6699
6700 2003-03-09  Angus Leeming  <leeming@lyx.org>
6701
6702         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6703         than Dialogs::showAboutlyx().
6704
6705 2003-03-09  Angus Leeming  <leeming@lyx.org>
6706
6707         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6708         than Dialogs::showTabularCreate().
6709
6710 2003-03-09  John Levon  <levon@movementarian.org>
6711
6712         * lyxtext.h:
6713         * text.C:
6714         * text2.C: 3rd arg to nextBreakPoint was always the same.
6715           Use references.
6716
6717 2003-03-08  John Levon  <levon@movementarian.org>
6718
6719         * lyxrow.C:
6720         * paragraph.C:
6721         * paragraph.h:
6722         * rowpainter.C:
6723         * text.C:
6724         * text2.C: Remove the "main" bit from the "main body"
6725           notion.
6726
6727 2003-03-08  John Levon  <levon@movementarian.org>
6728
6729         * text.C (leftMargin): The left margin of an empty
6730         manual label paragraph should not include the label width
6731         string length.
6732
6733         * text.C (prepareToPrint): don't attempt to measure hfills
6734         for empty manual label paragraphs - the answer should be 0
6735
6736 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6737
6738         * CutAndPaste.C: remove commented code and reindent.
6739
6740 2003-03-08  John Levon  <levon@movementarian.org>
6741
6742         * lyxfunc.h:
6743         * lyxfunc.C: move reloadBuffer()
6744
6745         * BufferView.h:
6746         * BufferView.C: to here
6747
6748         * lyxvc.C: add comment
6749
6750         * vc-backend.h:
6751         * vc-backend.C: call bv->reload() to avoid
6752           getStatus() check on MENURELOAD
6753
6754 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6755
6756         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6757         to an old format .dep file.
6758
6759 2003-03-07  Angus Leeming  <leeming@lyx.org>
6760
6761         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6762         when the LFUN_MOUSE_RELEASE should have been handled by
6763         inset->localDispatch.
6764
6765 2003-03-07  Angus Leeming  <leeming@lyx.org>
6766
6767         * BufferView_pimpl.C (dispatch):
6768         * LyXAction.C (init):
6769         * ToolbarDefaults.C (init):
6770         * commandtags.h:
6771         * lyxfunc.C (getStatus):
6772         remove LFUN_INSET_GRAPHICS.
6773
6774         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6775
6776 2003-03-07  Angus Leeming  <leeming@lyx.org>
6777
6778         * commandtags.h:
6779         * LyXAction.C (init):
6780         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6781
6782         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6783
6784         * commandtags.h:
6785         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6786
6787         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6788         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6789
6790 2003-03-07  Angus Leeming  <leeming@lyx.org>
6791
6792         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6793         remove "ert".
6794
6795 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6796
6797         * ParagraphList.C (front): new function
6798         (back): implement
6799
6800 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6801
6802         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6803         and top_row_offset_. removed var first_y.
6804         * text.C (top_y):
6805         * text2.C (LyXText, removeRow):
6806         * text3.C:
6807         * BufferView_pimpl.C:
6808         use these methods instead of using first_y
6809
6810 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6811
6812         * text2.C (pasteSelection): adjust for checkPastePossible
6813
6814         * CutAndPaste.C: remove Paragraph * buf and replace with
6815         ParagraphList paragraphs.
6816         (DeleteBuffer): delete
6817         (cutSelection): change the tc type to textclass_type
6818         (copySelection): change the tc type to textclass_type
6819         (copySelection): adjust for ParagraphList
6820         (pasteSelection): change the tc type to textclass_type
6821         (pasteSelection): adjust for Paragraphlist
6822         (nrOfParagraphs): simplify for ParagraphList
6823         (checkPastePossible): simplify for ParagraphList
6824         (checkPastePossible): remove unused arg
6825
6826         * ParagraphList.C (insert): handle the case where there are no
6827         paragraphs yet.
6828
6829         * CutAndPaste.h: make CutAndPaste a namespace.
6830
6831         * text3.C (dispatch): adjust
6832
6833         * text.C (breakParagraph): add a ParagraphList as arg
6834
6835         * paragraph_funcs.C (breakParagraph): change to take a
6836         BufferParams and a ParagraphList as args.
6837         (breakParagraphConservative): ditto
6838         (mergeParagraph): ditto
6839         (TeXDeeper): add a ParagraphList arg
6840         (TeXEnvironment): ditto
6841         (TeXOnePar): ditto
6842
6843         * buffer.C (readLyXformat2): adjust
6844         (insertStringAsLines): adjust
6845         (latexParagraphs): adjust
6846
6847         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6848         (cutSelection): adjust
6849         (pasteSelection): adjust
6850
6851         * BufferView_pimpl.C (insertInset): adjust
6852
6853 2003-03-05  Angus Leeming  <leeming@lyx.org>
6854
6855         * commandtags.h:
6856         * LyXAction.C (init):
6857         * BufferView_pimpl.C (dispatch):
6858         * lyxfunc.C (getStatus):
6859         remove LFUN_CHILD_INSERT.
6860
6861         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6862
6863 2003-03-05  Angus Leeming  <leeming@lyx.org>
6864
6865         * commandtags.h:
6866         * LyXAction.C (init):
6867         * src/factory.C (createInset):
6868         * lyxfunc.C (getStatus):
6869         * text3.C (dispatch):
6870         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6871
6872         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6873
6874 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6875
6876         * ParagraphList.C (insert): handle insert right before end()
6877         (erase): fix cases where it can be first or last paragraph.
6878
6879 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6880
6881         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6882         Paragraph::next and Paragraph::previous
6883         (TeXOnePar): ditto
6884
6885         * text.C (breakParagraph): adjust
6886
6887         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6888         BufferParams& as arg.
6889         (breakParagraph): use ParagraphList::insert
6890         (breakParagraphConservative): take a Buffer* instead of a
6891         BufferParams& as arg.
6892         (breakParagraphConservative): use ParagraphList::insert.
6893
6894         * buffer.C (insertStringAsLines): un-const it
6895         (insertStringAsLines): adjust
6896
6897         * ParagraphList.C (insert): new function
6898
6899         * CutAndPaste.C (pasteSelection): adjust
6900
6901         * text.C (backspace): adjust
6902
6903         * tabular.C (SetMultiColumn): adjust
6904
6905         * CutAndPaste.C (cutSelection): adjust
6906         (pasteSelection): adjust
6907
6908         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6909         Buffer const * as arg
6910
6911         * ParagraphList.C (erase): new function
6912         * paragraph_funcs.C (mergeParagraph): use it
6913         (mergeParagraph): make it take a Buffer* instead of a
6914         BufferParams* as arg
6915
6916         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6917         as arg
6918         (breakParagraphConservative): ditto
6919
6920         * paragraph.h: remove the breakParagraph friend
6921
6922         * paragraph.C (eraseIntern): new function
6923         (setChange): new function
6924
6925         * paragraph_funcs.C (mergeParagraph): make it take a
6926         ParagraphList::iterator instead of a Paragraph *, adjust
6927         accordingly.
6928
6929         * paragraph.h: move an #endif so that the change tracking stuff
6930         also works in the NO_NEXT case.
6931
6932 2003-03-04  Angus Leeming  <leeming@lyx.org>
6933
6934         * commandtags.h:
6935         * LyXAction.C: new LFUN_INSET_MODIFY.
6936
6937         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6938         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6939
6940 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6941
6942         * several files: ws changes only
6943
6944         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6945         (TeXEnvironment): ditto
6946         (TeXDeeper): ditto
6947
6948         * buffer.C (makeLaTeXFile): adjust
6949         (latexParagraphs): make it take ParagraphList::iterator as args
6950
6951 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6952
6953         * buffer.C (latexParagraphs): adjust
6954
6955         * paragraph.C (TeXOnePar): move function...
6956         (optArgInset): move function...
6957         (TeXEnvironment): move function...
6958         * paragraph_pimpl.C (TeXDeeper): move function...
6959         * paragraph_funcs.C: ...here
6960
6961         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6962
6963 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6964
6965         * buffer.C (readInset): remove compability code for old Figure and
6966         InsetInfo insets
6967
6968 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6969
6970         * buffer.C: ws changes
6971         (readInset):
6972
6973         * BufferView_pimpl.C: ditto
6974         * author.C: ditto
6975         * buffer.h: ditto
6976         * bufferlist.h: ditto
6977         * changes.h: ditto
6978         * lyxfunc.C: ditto
6979
6980 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6981
6982         * converter.[Ch]: split into itself +
6983         * graph.[Ch]
6984         * format.[Ch]
6985         * Makefile.am: += graph.[Ch] + format.[Ch]
6986         * MenuBackend.C
6987         * buffer.C
6988         * exporter.C
6989         * importer.C
6990         * lyx_main.C
6991         * lyxfunc.C
6992         * lyxrc.C: added #include "format.h"
6993
6994 2003-02-27  Angus Leeming  <leeming@lyx.org>
6995
6996         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6997           a label.
6998
6999         * factory.C (createInset): add "label" to the factory.
7000
7001         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7002           string and do no more.
7003
7004 2003-02-27  Angus Leeming  <leeming@lyx.org>
7005
7006         * commandtags.h:
7007         * LyXAction.C (init):
7008         * factory.C (createInset):
7009         * BufferView_pimpl.C (dispatch):
7010           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7011
7012         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7013
7014         * lyxfunc.C (dispatch):
7015         * text3.C (dispatch): pass name to params2string.
7016
7017 2003-02-26  Angus Leeming  <leeming@lyx.org>
7018
7019         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7020           blocks together.
7021           Rearrange the ~includes. Strip out the unnecessary ones.
7022
7023         * factory.C (createInset): reformat.
7024           create new insets for the various LFUN_XYZ_APPLY lfuns.
7025
7026 2003-02-26  John Levon  <levon@movementarian.org>
7027
7028         * lyxrow.h:
7029         * lyxrow.C: add isParStart,isParEnd helpers
7030
7031         * paragraph.h: make isInserted/DeletedText take refs
7032
7033         * paragraph_funcs.h:
7034         * paragraph_funcs.C: remove #if 0'd code
7035
7036         * lyxtext.h:
7037         * text3.C:
7038         * text2.C:
7039         * text.C: use lyxrow helpers above.
7040           Move draw and paint routines to RowPainter.
7041           Make several methods use refs not pointers.
7042           Make backgroundColor() const.
7043           Add markChangeInDraw(), isInInset().
7044           Merge changeRegionCase into changeCase.
7045           Make workWidth() shouldn't-happen code into an Assert.
7046
7047         * rowpainter.h:
7048         * rowpainter.C: new class for painting a row.
7049
7050         * vspace.h:
7051         * vspace.C: make inPixels take a ref
7052
7053 2003-02-26  Angus Leeming  <leeming@lyx.org>
7054
7055         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7056         LFUN_REF_APPLY.
7057
7058 2003-02-25  John Levon  <levon@movementarian.org>
7059
7060         * ispell.C: give the forked command a more accurate name
7061
7062 2003-02-22  John Levon  <levon@movementarian.org>
7063
7064         * toc.h:
7065         * toc.C: make TocItem store an id not a Paragraph *
7066           (bug #913)
7067
7068 2003-02-21  Angus Leeming  <leeming@lyx.org>
7069
7070         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7071           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7072           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7073           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7074           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7075           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7076
7077         * BufferView_pimpl.C (dispatch):
7078         * LyXAction.C (init):
7079         * factory.C (createInset):
7080         * lyxfunc.C (getStatus, dispatch):
7081         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7082
7083 2003-02-21  Angus Leeming  <leeming@lyx.org>
7084
7085         * BufferView_pimpl.C (MenuInsertLyXFile):
7086         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7087         * lyxfunc.C (menuNew, open, doImport):
7088           no longer pass a LyXView & to fileDlg.
7089
7090 2003-02-21  Angus Leeming  <leeming@lyx.org>
7091
7092         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7093         * LyXAction.C: change, BIBKEY to BIBITEM.
7094         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7095         Change InsetBibKey to InsetBibitem.
7096         Change BIBKEY_CODE to BIBITEM_CODE.
7097         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7098         * factory.C: replace insetbib.h with insetbibitem.h.
7099         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7100         * paragraph.C: replace insetbib.h with insetbibitem.h.
7101         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7102         Change bibkey() to bibitem().
7103         * text.C: remove insetbib.h.
7104         * text2.C: replace insetbib.h with insetbibitem.h.
7105         change bibkey() to bibitem().
7106         * text3.C: remove insetbib.h.
7107         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7108
7109 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7110
7111         * lyxrc.C (output): enclose user email in quotes (in case there are
7112         several words)
7113
7114 2003-02-18  John Levon  <levon@movementarian.org>
7115
7116         * buffer.h: add std::
7117
7118 2003-02-17  John Levon  <levon@movementarian.org>
7119
7120         * SpellBase.h:
7121         * ispell.h:
7122         * ispell.C:
7123         * pspell.h:
7124         * pspell.C: reworking. Especially in ispell, a large
7125           number of clean ups and bug fixes.
7126
7127         * lyxfunc.C: fix revert to behave sensibly
7128
7129 2003-02-17 André Pönitz <poenitz@gmx.net>
7130
7131         * LyXAction.C:
7132         * commandtags.h: new LFUN_INSERT_BIBKEY
7133
7134         * layout.h:
7135         * lyxlayout.C:
7136         * buffer.C:
7137         * factory.C:
7138         * text.C:
7139         * text2.C:
7140         * text3.C:
7141         * paragraph.[Ch]:
7142         * paragraph_func.C: remove special bibkey handling
7143
7144 2003-02-17  John Levon  <levon@movementarian.org>
7145
7146         * text.C (Delete): fix case where delete at the end of
7147           the very first paragraph would not merge the pars
7148
7149 2003-02-17  John Levon  <levon@movementarian.org>
7150
7151         * lyxrow.C: fix lastPrintablePos()
7152
7153 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7154
7155         * bufferparams.C (writeLaTeX): add a std:here
7156
7157         * buffer.C: and remove a using directive there
7158
7159 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7160
7161         * buffer.C (makeLaTeXFile): move the code that generates the
7162           preamble...
7163
7164         * bufferparams.C (writeLaTeX): ... in this new method
7165
7166         * LaTeXFeatures.C (getEncodingSet): make const
7167           (getLanguages): make const
7168
7169         * MenuBackend.C (binding): returns the binding associated to this
7170           action
7171           (add): sets the status of each item by calling getStatus. Adds
7172           some intelligence.
7173           (read): add support for OptSubMenu
7174           (expand): remove extra separator at the end of expanded menu
7175
7176 2003-02-15  John Levon  <levon@movementarian.org>
7177
7178         * BufferView.C:
7179         * BufferView_pimpl.C:
7180         * bufferlist.h:
7181         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7182           inset code that had no actual effect. Remove unneeded status
7183           code.
7184
7185 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7186
7187         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7188           in preamble
7189
7190 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7191
7192         * text.C (drawLengthMarker): also draw an arrow marker for
7193           symbolic lengths (medskip...)
7194
7195 2003-02-14  John Levon  <levon@movementarian.org>
7196
7197         * tabular.h:
7198         * tabular.C: better method names
7199
7200 2003-02-14  John Levon  <levon@movementarian.org>
7201
7202         * BufferView_pimpl.C:
7203         * bufferlist.C:
7204         * buffer.C:
7205         * converter.C:
7206         * lyx_cb.C:
7207         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7208           it's a more accurate name. Remove some pointless uses.
7209
7210 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7211
7212         * text2.C (LyXText): change order of initilizers to shut off
7213           warnings
7214
7215 2003-02-14  John Levon  <levon@movementarian.org>
7216
7217         * buffer.C: use ParIterator for getParFromID()
7218
7219         * paragraph.h:
7220         * paragraph.C:
7221         * paragraph_pimpl.h:
7222         * paragraph_pimpl.C: remove unused getParFromID()
7223
7224 2003-02-14  John Levon  <levon@movementarian.org>
7225
7226         * buffer.C: remove some very old #if 0'd parse code
7227
7228 2003-02-13  John Levon  <levon@movementarian.org>
7229
7230         * text.h:
7231         * text.C:
7232         * text2.C: move hfillExpansion(), numberOfSeparators(),
7233           rowLast(), rowLastPrintable(), numberofHfills(),
7234           numberOfLabelHfills() ...
7235
7236         * lyxrow.h:
7237         * lyxrow.C: ... to member functions here.
7238
7239         * paragraph.h:
7240         * paragraph.C:
7241         * lyxtext.h:
7242         * text.C: remove LyXText::beginningOfMainBody(), and call
7243           p->beginningOfMainBody() directly. Move the check for
7244           LABEL_MANUAL into the latter.
7245
7246         * text.h:
7247         * text.C:
7248         * text2.C:
7249         * vspace.C:
7250         * BufferView.h:
7251         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7252
7253         * text.h:
7254         * text.C:
7255         * text2.C:
7256         * text3.C:
7257         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7258           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7259
7260 2003-02-13  John Levon  <levon@movementarian.org>
7261
7262         * CutAndPaste.C: remove debug
7263
7264 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7265
7266         * paragraph.C (asString): remove two unused variables
7267
7268         * lyxtextclass.C (readTitleType):
7269           (Read):
7270           (LyXTextClass): handle new members titletype_ and titlename_
7271
7272         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7273
7274 2003-02-09  John Levon  <levon@movementarian.org>
7275
7276         * buffer.h:
7277         * buffer.C: replace hand-coded list with a map for the dep clean
7278
7279 2003-02-08  John Levon  <levon@movementarian.org>
7280
7281         * LaTeX.C: consolidate code into showRunMessage() helper
7282
7283 2003-02-08  John Levon  <levon@movementarian.org>
7284
7285         * lyxfind.C:
7286         * lyxtext.h:
7287         * text2.C:
7288         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7289           and pass the size in explicitly
7290
7291         * BufferView_pimpl.h:
7292         * BufferView_pimpl.C:
7293         * BufferView.h:
7294         * BufferView.C: add getCurrentChange()
7295
7296         * BufferView_pimpl.h:
7297         * BufferView_pimpl.C: handle change lfuns
7298
7299         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7300           for changes. Mark pasted paragraphs as new.
7301
7302         * support/lyxtime.h:
7303         * support/lyxtime.C:
7304         * DepTable.C: abstract time_t as lyx::time_type
7305
7306         * LColor.h:
7307         * LColor.C: add colours for new text, deleted text, changebars
7308
7309         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7310           package use "usenames" option.
7311
7312         * commandtags.h:
7313         * lyxfunc.C:
7314         * LyXAction.C: add change lfuns
7315
7316         * Makefile.am:
7317         * author.h:
7318         * author.C: author handling
7319
7320         * buffer.h:
7321         * buffer.C: add a per-buffer author list, with first entry as
7322           current author. Handle new .lyx tokens for change tracking. Output
7323           author list to .lyx file. Output dvipost stuff to .tex preamble.
7324           Bump lyx format to 222.
7325
7326         * bufferlist.h:
7327         * bufferlist.C: add setCurrentAuthor() to reset current author details
7328           in all buffers.
7329
7330         * bufferparams.h:
7331         * bufferparams.C: add param for tracking
7332
7333         * bufferview_funcs.C: output change info in minibuffer
7334
7335         * Makefile.am:
7336         * changes.h:
7337         * changes.C: add change-tracking structure
7338
7339         * debug.h:
7340         * debug.C: add CHANGES debug flag
7341
7342         * lyxfind.h:
7343         * lyxfind.C: add code for finding the next change piece
7344
7345         * lyxrc.h:
7346         * lyxrc.C: add user_name and user_email
7347
7348         * lyxrow.h:
7349         * lyxrow.C: add a metric for the top of the text line
7350
7351         * lyxtext.h:
7352         * text.C: implement accept/rejectChange()
7353
7354         * lyxtext.h:
7355         * text.C: paint changebars. Paint new/deleted text in the chosen
7356         colours. Strike through deleted text.
7357
7358         * paragraph.h:
7359         * paragraph.C:
7360         * paragraph_pimpl.h:
7361         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7362           in the current change to the insert functions. Rework erase to
7363           mark text as deleted, adding an eraseIntern() and a range-based
7364           erase(). Implement per-paragraph change lookup and
7365           accept/reject.
7366
7367         * paragraph_funcs.C: Fixup paste for change tracking.
7368
7369         * tabular.C: mark added row/columns as new.
7370
7371         * text.C: fix rowLast() to never return -1. Don't allow
7372           spellchecking of deleted text. Track transpose changes. Don't
7373           allow paragraph break or merge where appropriate.
7374
7375         * text2.C: leave cursor at end of selection after a cut.
7376
7377 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7378
7379         * text.C (getLengthMarkerHeight):
7380         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7381         visible on screen too.
7382
7383 2003-02-07  John Levon  <levon@movementarian.org>
7384
7385         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7386
7387 2003-02-05  Angus Leeming  <leeming@lyx.org>
7388
7389         * lyxserver.C (read_ready): revert my patch of 11 September last year
7390         as it sends PC cpu through the roof. Presumably this means that
7391         the lyxserver will no longer run on an Alpha...
7392
7393 2003-01-30  Angus Leeming  <leeming@lyx.org>
7394
7395         * factory.C (createInset): create an InsetCommandParam of type "index"
7396         and use it to 'do the right thing'.
7397
7398         * text2.C (getStringToIndex): ensure that cursor position is always
7399         reset to the reset_cursor position.
7400
7401 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7402
7403         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7404         disabled.
7405
7406 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7407
7408         * bufferview.C:
7409         * lyxcb.C:
7410         * lyxfunc.C: Output messages with identical spelling, punctuation,
7411         and spaces
7412
7413 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7414
7415         * MenuBackend.C (expandFormats): List only viewable export formats
7416         in "View" menu
7417
7418         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7419         message
7420
7421         * lyxfunc.C (getStatus): Make sure that formats other than
7422         "fax" can also be disabled
7423
7424 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7425
7426         * text3.C (dispatch): put the lfuns that insert insets in 3
7427         groups, and call doInsertInset with appropriate arguments.
7428         (doInsertInset): new function, that creates an inset and inserts
7429         it according to some boolean parameters.
7430
7431 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7432
7433         * buffer.C (readFile): remember to pass on 'par' when calling
7434         readFile recursively.
7435
7436 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7437
7438         * MenuBackend.C (expandFormats): add "..." to import formats.
7439
7440 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7441
7442         * paragraph.C (asString): Remove XForms RTL hacks.
7443
7444 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7445         * buffer.C: fix typo
7446
7447 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7448
7449         * Makefile.am (LIBS): delete var
7450         (lyx_LDADD): add @LIBS@ here instead.
7451
7452 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7453
7454         * Clarify the meaning of "wheel mouse jump"
7455
7456 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7457
7458         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7459         tabular in a float
7460
7461 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7462
7463         * importer.C (Loaders): do not preallocate 3 elements in the
7464         vector, since one ends up with 6 elements otherwise
7465
7466 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7467
7468         * DepTable.C (write): write the file name as last element of the
7469         .dep file (because it may contain spaces)
7470         (read): read info in the right order
7471
7472 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7473
7474         * paragraph_pimpl.C (simpleTeXBlanks):
7475         (simpleTeXSpecialChars):
7476         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7477
7478         * tabular.C (latex): add some missing case statements. Reindent.
7479
7480         * MenuBackend.C (expandToc): remove unused variable.
7481
7482 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7483
7484         * LColor.C:
7485         * LaTeX.C:
7486         * LyXAction.C:
7487         * MenuBackend.C:
7488         * buffer.C:
7489         * exporter.C:
7490         * lyxfunc.C:
7491         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7492         and the like.
7493
7494 2003-01-05  John Levon  <levon@movementarian.org>
7495
7496         * BufferView.h:
7497         * BufferView.C: add getEncoding()
7498
7499         * kbsequence.h:
7500         * kbsequence.C: do not store last keypress
7501
7502         * lyxfunc.h:
7503         * lyxfunc.C: store last keypress here instead. Pass encoding
7504           to getISOEncoded()
7505
7506 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7507
7508         * lyx_main.C (init): remove annoying error message when following
7509         symbolic links (bug #780)
7510
7511 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7512
7513         * text.C (insertChar):
7514         * lyxrc.C (getDescription): remove extra spaces
7515
7516 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7517
7518         * lyxrc.C (getDescription): remove extra spaces
7519
7520 2002-12-20  John Levon  <levon@movementarian.org>
7521
7522         * text3.C: hack fix for page up/down across tall rows
7523
7524 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7525
7526         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7527         not been invoked
7528
7529 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7530
7531         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7532         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7533         thesaurus is not compiled in
7534
7535 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7536
7537         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7538
7539 2002-12-16  Angus Leeming  <leeming@lyx.org>
7540
7541         * lyxrc.[Ch]:
7542         * lyx_main.C (init): remove override_x_deadkeys stuff.
7543
7544 2002-12-12  John Levon  <levon@movementarian.org>
7545
7546         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7547           insert. Only remove shift modifier under strict
7548           circumstances.
7549
7550 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7551
7552         * MenuBackend.C (expandToc): fix crash.
7553
7554 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7555
7556         * MenuBackend.C (expandToc): gettext on float names.
7557
7558 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7559
7560         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7561         implement bool empty() [bug 490]
7562
7563 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7564
7565         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7566
7567 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7568
7569         * several files: ws changes
7570
7571 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7572
7573         * text2.C (setCounter): clean up a bit, use boost.format.
7574         (updateCounters): initialize par upon declaration.
7575
7576         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7577         if the layout exists. We do not just store the layout any more.
7578         (SwitchLayoutsBetweenClasses): use boost.format
7579
7580 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7581
7582         * converter.C (convert): if from and to files are the same, use a
7583         temporary files as intermediary
7584
7585 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7586
7587         * commandtags.h:
7588         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7589
7590 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7591
7592         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7593
7594 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7595
7596         * tabular.C (asciiPrintCell): use string(size, char) instead of
7597         explicit loop.
7598
7599         * sgml.C (openTag): fix order of arguments to string constructor
7600         (closeTag): ditto
7601
7602         * lyxfunc.C (dispatch): use boost.format
7603
7604         * lots of files: change "c" -> 'c'
7605
7606 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7607
7608         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7609
7610 2002-11-25  Angus Leeming  <leeming@lyx.org>
7611
7612         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7613
7614         * lyx_main.C (init): compile fix.
7615
7616 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7617
7618         * lyx_cb.C (start): boost.formatify
7619         do not include <iostream>
7620
7621         * lengthcommon.C: ws only
7622
7623         * boost-inst.C,BoostFormat.h: add more explict instantations
7624
7625 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7626
7627         * lots of files: handle USE_BOOST_FORMAT
7628
7629 2002-11-21  John Levon  <levon@movementarian.org>
7630
7631         * pspell.C: fix compile
7632
7633 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7634
7635         * lyxfunc.C (dispatch): use boost::format
7636         (open): ditto
7637         (doImport): ditto
7638
7639         * lyxfont.C (stateText): use boost::format
7640
7641         * lyx_main.C (LyX): use boost::format
7642         (init): ditto
7643         (queryUserLyXDir): ditto
7644         (readRcFile): ditto
7645         (parse_dbg): ditto
7646         (typedef boost::function): use the recommened syntax.
7647
7648         * importer.C (Import): use boost::format
7649
7650         * debug.C (showLevel): use boost::format
7651
7652         * converter.C (view): use boost::format
7653         (convert): ditto
7654         (move): ditto
7655         (scanLog): ditto
7656
7657         * bufferview_funcs.C (currentState): use boost::format
7658
7659         * bufferlist.C (emergencyWrite): use boost::format
7660
7661         * buffer.C (readLyXformat2): use boost::format
7662         (parseSingleLyXformat2Token): ditto
7663
7664         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7665
7666         * LaTeX.C (run): use boost::format
7667
7668         * Chktex.C (scanLogFile): use boost::format
7669
7670         * BufferView_pimpl.C (savePosition): use boost::format
7671         (restorePosition): ditto
7672         (MenuInsertLyXFile): ditto
7673
7674         * BoostFormat.h: help file for explicit instation.
7675
7676 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7677
7678         * tabular.C (latex): Support for block alignment in fixed width
7679         columns.
7680
7681 2002-11-17  John Levon  <levon@movementarian.org>
7682
7683         * BufferView_pimpl.C:
7684         * lyx_cb.C:
7685         * lyxfunc.C: split filedialog into open/save
7686
7687 2002-11-08  Juergen Vigna  <jug@sad.it>
7688
7689         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7690         by my last patch (hopefully).
7691
7692 2002-11-08  John Levon  <levon@movementarian.org>
7693
7694         * iterators.h:
7695         * iterators.C:
7696         * buffer.h:
7697         * buffer.C:
7698         * paragraph.h:
7699         * paragraph.C:
7700         * toc.h:
7701         * toc.C: ParConstIterator, and use it (from Lars)
7702
7703 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7704
7705         * lyxtextclass.[Ch]: revise and add doxygen comments
7706
7707 2002-11-07  John Levon  <levon@movementarian.org>
7708
7709         * text.C: fix progress value for spellchecker
7710
7711         * toc.C: fix navigate menu for insetwrap inside minipage
7712
7713         * paragraph_funcs.C: added FIXME for suspect code
7714
7715 2002-11-07  John Levon  <levon@movementarian.org>
7716
7717         * BufferView_pimpl.C: fix redrawing of insets
7718           on buffer switch
7719
7720 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7721
7722         * text2.C (updateCounters): fix bug 668
7723
7724 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7725
7726         * text3.C (dispatch): Do not make the buffer dirty when moving the
7727         cursor.
7728
7729 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7730
7731         * vc-backend.C: STRCONV
7732         (scanMaster): ditto
7733
7734         * text2.C (setCounter): STRCONV
7735
7736         * paragraph.C (asString): STRCONV
7737
7738         * lyxlength.C (asString): STRCONV
7739         (asLatexString): ditto
7740
7741         * lyxgluelength.C (asString): STRCONV
7742         (asLatexString): ditto
7743
7744         * lyxfunc.C (dispatch): STRCONV
7745         (open): ditto
7746
7747         * lyxfont.C (stateText): STRCONV
7748
7749         * importer.C (Import): STRCONV
7750
7751         * counters.C (labelItem): STRCONV
7752         (numberLabel): ditto
7753         (numberLabel): remove unused ostringstream o
7754
7755         * chset.C: STRCONV
7756         (loadFile): ditto
7757
7758         * bufferview_funcs.C (currentState): STRCONV
7759
7760         * buffer.C (readFile): STRCONV
7761         (asciiParagraph): ditto
7762         (makeLaTeXFile): ditto
7763
7764         * Spacing.C (writeEnvirBegin): STRCONV
7765
7766         * LaTeXFeatures.C (getLanguages): STRCONV
7767         (getPackages): ditto
7768         (getMacros): ditto
7769         (getBabelOptions): ditto
7770         (getTClassPreamble): ditto
7771         (getLyXSGMLEntities): ditto
7772         (getIncludedFiles): ditto
7773
7774         * LaTeX.C: STRCONV
7775         (run): ditto
7776         (scanAuxFile): ditto
7777         (deplog): ditto
7778
7779         * LString.h: add the STRCONV macros
7780
7781         * BufferView_pimpl.C (savePosition): STRCONV
7782         (restorePosition): ditto
7783         (MenuInsertLyXFile): ditto
7784
7785         * vc-backend.C (scanMaster): change from submatch[...] to
7786         submatch.str(...)
7787
7788         * funcrequest.C: include config.h
7789
7790         * factory.C: include config.h
7791
7792         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7793
7794         * box.C: include config.h
7795
7796         * LaTeX.C (scanAuxFile): change from submatch[...] to
7797         submatch.str(...)
7798         (deplog): ditto
7799
7800 2002-10-25  Angus Leeming  <leeming@lyx.org>
7801
7802         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7803
7804         * ispell.[Ch] (setError): new method.
7805         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7806         Use setError() insetead of goto END.
7807
7808         * lyx_cb.C (AutoSave): move out child process into new class
7809         AutoSaveBuffer.
7810
7811 2002-10-30  John Levon  <levon@movementarian.org>
7812
7813         * text3.C: make start appendix undoable
7814
7815 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7816
7817         * lyxlength.C (inPixels): Fix returned value.
7818
7819         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7820         environment.
7821
7822 2002-10-24  Angus Leeming  <leeming@lyx.org>
7823
7824         * lyxgluelength.h: no need to forward declare BufferParams
7825         or BufferView, so don't.
7826
7827 2002-10-21  John Levon  <levon@movementarian.org>
7828
7829         * BufferView.C: menuUndo ->undo, redo
7830
7831         * BufferView.h: document, remove dead, make some methods private
7832
7833         * paragraph_funcs.h:
7834         * paragraph_funcs.C:
7835         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7836
7837         * buffer.h:
7838         * buffer.C:
7839         * sgml.h:
7840         * sgml.C: move sgml open/close tag into sgml.C
7841
7842         * bufferview_funcs.h: unused prototype
7843
7844         * lyxfunc.h:
7845         * lyxfunc.C: remove unused
7846
7847         * lyxtext.h:
7848         * text.C: remove unused
7849
7850 2002-10-21  John Levon  <levon@movementarian.org>
7851
7852         * BufferView.h:
7853         * BufferView.C:
7854         * BufferView_pimpl.h:
7855         * BufferView_pimpl.C: fix mouse wheel handling based on
7856           patch from Darren Freeman
7857
7858 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7859
7860         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7861
7862 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7863
7864         * lyxlength.C (inPixels): Fix hanfling of negative length.
7865         Fix LyXLength::MU case.
7866
7867 2002-10-16  John Levon  <levon@movementarian.org>
7868
7869         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7870
7871 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7872
7873         * converter.C (view): add support for $$i (file name) and $$p
7874         (file path) for the viewer command. If $$i is not specified, then
7875         it is appended to the command (for compatibility with old syntax)
7876
7877 2002-10-14  Juergen Vigna  <jug@sad.it>
7878
7879         * undo_funcs.C (textHandleUndo): alter the order in which the
7880         new undopar is added to the LyXText, as we have to set first
7881         the right prev/next and then add it as otherwise the rebuild of
7882         LyXText is not correct. Also reset the cursor to the right paragraph,
7883         with this IMO we could remove the hack in "redoParagraphs()".
7884
7885 2002-10-09  Angus Leeming  <leeming@lyx.org>
7886
7887         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7888         to turn off an optimisation if a new inset is to be inserted.
7889
7890 2002-10-11 André Pönitz <poenitz@gmx.net>
7891
7892         * lyxtext.h: make some functions public to allow access
7893         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7894
7895 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7896
7897         * text3.C (dispatch): when changing layout, avoid an infinite loop
7898         [bug #652]
7899
7900 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7901
7902         * lyxrc.C (read): treat a viewer or converter command of "none" as
7903         if it were empty.
7904
7905         * MenuBackend.C (expandFormats): for an update, also allow the
7906         formats that are not viewable
7907
7908         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7909         script if it is newer than the lyxrc.defaults in user directory
7910
7911 2002-10-07 André Pönitz <poenitz@gmx.net>
7912
7913         * text.C: Vitaly Lipatov's small i18n fix
7914
7915 2002-09-25  Angus Leeming  <leeming@lyx.org>
7916
7917         * ispell.h: doxygen fix.
7918
7919 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7920
7921         * buffer.h (readFile): Add a new argument to the method, to allow
7922         reading of old-format templates.
7923
7924 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7925
7926         * toc.C (getTocList): Get TOC from InsetWrap.
7927
7928 2002-09-16  John Levon  <levon@movementarian.org>
7929
7930         * lyxfunc.C: check tabular for cut/copy too
7931
7932 2002-09-12  John Levon  <levon@movementarian.org>
7933
7934         * LyXAction.C: tidy
7935
7936         * factory.h:
7937         * factory.C: add header
7938
7939         * paragraph_funcs.h:
7940         * paragraph_funcs.C: cleanup
7941
7942 2002-09-11  John Levon  <levon@movementarian.org>
7943
7944         * PrinterParams.h: odd/even default to true
7945
7946 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7947
7948         * PrinterParams.h: update printer parameters for new xforms dialog
7949
7950 2002-09-11  Angus Leeming  <leeming@lyx.org>
7951
7952         * lyxserver.C (read_ready): re-write to make it more transparent
7953         and to make it work in coherent fashion under Tru64 Unix.
7954
7955 2002-09-11  André Pönitz <poenitz@gmx.net>
7956
7957         * commandtags.h:
7958         * LyXAction.C:
7959         * text3.C: implement LFUN_WORDSEL
7960
7961 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7962
7963         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7964         make floatlist_ a boost::shared_ptr<FloatList>
7965
7966         * lyxtextclass.C: include FloatList.h
7967         (LyXTextClass): initialize floatlist_
7968         (TextClassTags): add TC_NOFLOAT
7969         (Read): match "nofloat" to TC_NOFLOAT and use it.
7970         (readFloat): modify call to floatlist_
7971         (floats): ditto
7972         (floats): ditto
7973
7974         * FloatList.[Ch] (FloatList): remove commented out float
7975         initialization.
7976         (erase): new function
7977
7978 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7979
7980         * MenuBackend.C (expandToc): fix crash when there is no document
7981         open
7982
7983 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7984
7985         * many files: Add insetwrap.
7986
7987 2002-09-09  John Levon  <levon@movementarian.org>
7988
7989         * text2.C: remove confusing and awkward depth wraparound
7990
7991 2002-09-09  John Levon  <levon@movementarian.org>
7992
7993         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7994
7995         * buffer.h:
7996         * buffer.C: remove getIncludeonlyList()
7997
7998         * paragraph.C:
7999         * lyxfunc.C: remove headers
8000
8001 2002-09-09  Juergen Vigna  <jug@sad.it>
8002
8003         * text.C (getColumnNearX): fix form Michael this is most
8004         probably a cut&paste bug.
8005
8006 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8007
8008         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8009
8010         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8011         references, ws changes.
8012
8013         * text2.C (init): update counters after init
8014         (insertParagraph): no need to set counter on idividual paragraphs.
8015         (setCounter): access the counters object in the textclass object
8016         on in the buffer object.
8017         (updateCounters): ditto
8018
8019         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8020         shared_ptr<Counters> to avoid loading counters.h in all
8021         compilation units.
8022         (LyXTextClass): initialize ctrs_
8023         (TextClassTags): add TC_COUNTER, and ...
8024         (Read): use it here.
8025         (CounterTags): new tags
8026         (readCounter): new function
8027         (counters): new funtion
8028         (defaultLayoutName): return a const reference
8029
8030         * counters.C (Counters): remove contructor
8031         (newCounter): remove a couple of unneeded statements.
8032         (newCounter): simplify a bit.
8033         (numberLabel): some small formatting changes.
8034
8035         * buffer.[Ch]: remove all traces of counters, move the Counters
8036         object to the LyXTextClass.
8037
8038 2002-09-06  Alain Castera  <castera@in2p3.fr>
8039
8040         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8041         package to set the horizontal alignment on fixed width columns.
8042
8043         * lyx_sty.C:
8044         * lyx_sty.h: added tabularnewline macro def.
8045
8046         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8047
8048 2002-09-06  John Levon  <levon@movementarian.org>
8049
8050         * LyXAction.C: tooltips for sub/superscript
8051
8052         * MenuBackend.C: a bit more verbose
8053
8054         * lyxfunc.C: tiny clean
8055
8056         * undo_funcs.C: document undo_frozen
8057
8058 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8059
8060         * counters.C (Counters): add missing algorithm counter.
8061
8062         * text2.C (setCounter): lookup the counter with layouts latexname
8063         instead of by section number.
8064         (setCounter): use a hackish way to lookup the correct enum
8065         counter.
8066         a float name->type change
8067         reset enum couners with counter name directly instead of depth value.
8068
8069         * counters.C (Counters): remove the push_backs, change to use the
8070         float type not the float name.
8071         (labelItem): remove unused string, float name->type change
8072
8073         * counters.h: don't include vector, loose the enums and sects vectors
8074
8075 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8076
8077         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8078         (Read): add float->TC_FLOAT to textclassTags
8079         (Read): and handle it in the switch
8080         (readFloat): new function
8081
8082         * FloatList.C (FloatList): comment out the hardcoded float
8083         definitions.
8084
8085         * lyxlayout.h: ws change.
8086
8087 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8088
8089         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8090
8091 2002-09-03  Angus Leeming  <leeming@lyx.org>
8092
8093         * BufferView_pimpl.h: qualified name is not allowed in member
8094         declaration: WorkArea & Pimpl::workarea() const;
8095
8096         * factory.C: added using std::endl directive.
8097
8098         * text3.C: added using std::find and std::vector directives.
8099
8100 2002-08-29  André Pönitz <poenitz@gmx.net>
8101
8102         * lyxtext.h:
8103         * text2.C: remove unused member number_of_rows
8104
8105         * Makefile.am:
8106         * BufferView2.C: remove file, move contents to...
8107         * BufferView.C: ... here
8108
8109         * BufferView_pimpl.C:
8110         * factory.C: move more inset creation to factory
8111
8112         * vspace.C: avoid direct usage of LyXText, ws changes
8113
8114         * BufferView.[Ch]:
8115                 don't provide direct access to WorkArea, use two simple
8116                 acessors haveSelction() and workHeight() instead
8117
8118
8119 2002-08-29  John Levon  <levon@movementarian.org>
8120
8121         * BufferView_pimpl.C (dispatch): do not continue when
8122           no buffer
8123
8124 2002-08-28  André Pönitz <poenitz@gmx.net>
8125
8126         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8127
8128         * BufferView.h:
8129         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8130
8131 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8132
8133         * buffer.C: increment LYX_FORMAT to 221
8134
8135         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8136         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8137
8138         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8139
8140         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8141
8142 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8143
8144         * factory.C (createInset): use LyXTextClass::floats
8145
8146         * MenuBackend.C (expandFloatListInsert):
8147         (expandFloatInsert):
8148         (expandToc):
8149
8150         * text2.C (setCounter):
8151
8152         * LaTeXFeatures.C (useFloat):
8153         (getFloatDefinitions):
8154
8155         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8156
8157         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8158         floatlist_, with accessor floats().
8159
8160         * FloatList.h: remove global FloatList
8161
8162 2002-08-26  André Pönitz <poenitz@gmx.net>
8163
8164         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8165
8166         * BufferView.h:
8167         * BufferView2.C:
8168         * BufferView_pimpl.C:
8169         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8170
8171 2002-08-25  John Levon  <levon@movementarian.org>
8172
8173         * LyXAction.C: fix margin note description
8174
8175 2002-08-24  John Levon  <levon@movementarian.org>
8176
8177         * buffer.C:
8178         * bufferlist.C:
8179         * bufferview_funcs.C:
8180         * lyxfont.C:
8181         * undo_funcs.C: cleanups
8182
8183         * lyxfunc.C: disable CUT/COPY when no selection
8184
8185 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8186
8187         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8188         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8189
8190         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8191         Add backward compatibility to "mono", "gray" and "no".
8192
8193 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8194
8195         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8196         (and file_format >= 200).
8197
8198 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8199
8200         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8201
8202 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8203
8204         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8205
8206 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8207
8208         * BufferView_pimpl.C:
8209         * LyXAction.C:
8210         * buffer.C:
8211         * commandtags.h:
8212         * lyxfunc.C:
8213         * paragraph.[Ch]:
8214         * text2.C:
8215         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8216         inset and code to make it  work with the paragraph code. The inset
8217         can be anywhere in the paragraph, but will only do the expected
8218         thing in LaTeX if the layout file contains the parameter line
8219                         OptionalArgs    1
8220         (or more generally, a nonzero value) for that layout.
8221
8222 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8223
8224         * paragraph.h: remove the declaration of undefined counters class
8225         function.
8226
8227 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8228
8229         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8230         Dr. Richard Hawkins.
8231
8232 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8233
8234         * paragraph_funcs.h: remove some unneeded includes
8235
8236         * text.C (backspace): pasteParagraph now in global scipe
8237
8238         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8239         (pasteSelection): ditto
8240
8241         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8242         * paragraph_funcs.C (pasteParagraph): ... here
8243
8244 2002-08-20  André Pönitz <poenitz@gmx.net>
8245
8246         * commandtags.h: new LFUNs for swapping/copying table row/colums
8247
8248         * LyXAction.C:
8249         * lyxfunc.C: support for new lfuns
8250
8251 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8252
8253         * tabular.C:
8254         * buffer.[Ch]: remove NO_COMPABILITY stuff
8255
8256 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8257
8258         * boost.C (throw_exception): new file, with helper function for
8259         boost compiled without exceptions.
8260
8261         * paragraph.h:
8262         * lyxlength.C:
8263         * buffer.C:
8264         * ParameterStruct.h:
8265         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8266
8267         * bufferlist.C (emergencyWriteAll): use boost bind
8268
8269         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8270
8271         * text.C: include paragraph_funcs.h
8272         (breakParagraph): breakParagraph is now in global scope
8273
8274         * paragraph_funcs.[Ch]: new files
8275
8276         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8277         global scope
8278
8279         * buffer.C: include paragraph_funcs.h
8280         (insertStringAsLines): breakParagraph is now in global scope
8281
8282         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8283         paragraph_funcs.C
8284
8285         * CutAndPaste.C: include paragraph_funcs.h
8286         (cutSelection): breakParagraphConservative is now in global scope
8287         (pasteSelection): ditto
8288
8289         * buffer.h: declare oprator== and operator!= for
8290         Buffer::inset_iterator
8291
8292         * bufferlist.C (emergencyWrite): don't use fmt(...)
8293
8294         * text3.C: add using std::endl
8295
8296         * BufferView.C (moveCursorUpdate): remove default arg
8297
8298 2002-08-20  André Pönitz <poenitz@gmx.net>
8299
8300         * buffer.[Ch]: move inline functions to .C
8301
8302         * BufferView2.C:
8303         * BufferView_pimpl.C:
8304         * text.C:
8305         * buffer.[Ch]: use improved inset_iterator
8306
8307         * buffer.C:
8308         * paragraph.[Ch]: write one paragraph at a time
8309
8310 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8311
8312         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8313         style if style is not specified.
8314
8315 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8316
8317         * text2.C (setCounter): when searching for right label for a
8318         caption, make sure to recurse to parent insets (so that a caption
8319         in a minipage in a figure float works) (bug #568)
8320
8321 2002-08-20  André Pönitz <poenitz@gmx.net>
8322
8323         * text3.C: new file for LyXText::dispatch() and helpers
8324
8325         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8326
8327         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8328
8329 2002-08-19  André Pönitz <poenitz@gmx.net>
8330
8331         * lyxtext.h:
8332         * text.C: new LyXText::dispatch()
8333
8334         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8335
8336 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8337
8338         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8339
8340         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8341         Hebrew text.
8342
8343 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8344
8345         * Makefile.am: use $(variables) instead of @substitutions@
8346
8347 2002-08-15  André Pönitz <poenitz@gmx.net>
8348
8349         * lyxfunc.C:
8350         * BufferView_pimpl.C: streamlining mathed <-> outer world
8351         interaction
8352
8353         * commandtags.h:
8354         * LyXAction.C: remove unused LFUN_MATH
8355
8356 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8357
8358         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8359
8360 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8361
8362         * paragraph.C (Paragraph): reformat a bit
8363         (cutIntoMinibuffer): use builtin InsetList function instad of
8364         doing it manually.
8365         (getInset): ditto
8366
8367         * buffer.C: include boost/bind.hpp, add using std::for_each
8368         (writeFileAscii): use ParagraphList iterators
8369         (validate): use for_each for validate traversal of paragraphs
8370         (getBibkeyList): use ParagraphList iterators
8371         (resizeInsets): use for_each to resizeInsetsLyXText for all
8372         paragraphs.
8373         (getParFromID): use ParagraphList iterators
8374
8375         * BufferView2.C (lockInset): use paragraph list and iterators
8376
8377 2002-08-14  John Levon  <levon@movementarian.org>
8378
8379         * lyxserver.C: remove spurious xforms include
8380
8381 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8382
8383         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8384
8385 2002-08-13  André Pönitz <poenitz@gmx.net>
8386
8387         * LyXAction.[Ch]:
8388         * lyxfunc.C: further cleaning
8389
8390 2002-08-13  André Pönitz <poenitz@gmx.net>
8391
8392         * funcrequest.h: new constructor
8393
8394         * funcrequest.C: move stuff here from .h
8395
8396         * Makefile.am:
8397         * BufferView_pimpl.C:
8398         * LyXAction.C:
8399         * toc.C:
8400         * lyxfunc.C: subsequent changes
8401
8402         * lyxfunc.h: new view() member function
8403
8404         * lyxfunc.C: subsequent changes
8405
8406 2002-08-13  Angus Leeming  <leeming@lyx.org>
8407
8408         * BufferView2.C:
8409         * BufferView_pimpl.C:
8410         * buffer.C:
8411         * converter.C:
8412         * importer.C:
8413         * lyxfunc.C:
8414         * lyxvc.C:
8415         * toc.C:
8416         * vc-backend.C:
8417         changes due to the changed LyXView interface that now returns references
8418         to member variables not pointers.
8419
8420 2002-08-13  Angus Leeming  <leeming@lyx.org>
8421
8422         * WordLangTuple (word, lang_code): return references to strings,
8423         not strings.
8424
8425         * BufferView.h:
8426         * SpellBase.h:
8427         * lyxtext.h: forward-declare WordLangTuple.
8428
8429         * BufferView2.C:
8430         * ispell.C:
8431         * pspell.C:
8432         * text.C: #include "WordLangTuple.h".
8433
8434         * lyxtext.h:
8435         * text.C: (selectNextWordToSpellcheck): constify return type.
8436
8437 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8438
8439         * buffer.C:
8440         * buffer.h:
8441         * lyxtext.h:
8442         * paragraph.C:
8443         * paragraph_pimpl.h:
8444         * text.C:
8445         * text2.C:
8446         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8447         suggested by Angus.
8448         Made updateCounter always count from start of buffer, and removed
8449         second argument (par).
8450         Reverted floats number display to '#'. Perhaps I'll try again when the
8451         code base is sanitized a bit.
8452
8453 2002-08-12  Angus Leeming  <leeming@lyx.org>
8454
8455         * buffer.[Ch] (getLabelList): constify.
8456
8457 2002-08-07  André Pönitz <poenitz@gmx.net>
8458
8459         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8460
8461         * funcrequest.h: extension to keep mouse (x,y) position
8462
8463 2002-08-12  Juergen Vigna  <jug@sad.it>
8464
8465         * BufferView2.C (insertErrors): forbid undo when inserting error
8466         insets.
8467
8468         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8469
8470 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8471
8472         * ParagraphList.[Ch]: new files
8473
8474         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8475
8476         * BufferView2.C (lockInset): ParagraphList changes
8477         * toc.C: ditto
8478         * text2.C: ditto
8479         * bufferlist.C: ditto
8480         * buffer.h: ditto
8481         * buffer.C: ditto
8482
8483 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8484
8485         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8486         unused class variable counter_,
8487
8488         * paragraph.[Ch] (getFirstCounter): delete unused function
8489
8490         * counters.C: include LAssert.h
8491         (reset): add a new function with no arg, change other version to
8492         not have def. arg and to not allow empty arg.
8493
8494         * text2.C (setCounter): remove empty arg from call to Counters::reset
8495
8496 2002-08-11  John Levon  <levon@movementarian.org>
8497
8498         * Makefile.am: add WordLangTuple.h
8499
8500 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8501
8502         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8503         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8504
8505         * insets/insettext.C: InsetList changes
8506
8507         * graphics/GraphicsSupport.C (operator()): InsetList changes
8508
8509         * toc.C (getTocList): InsetList changes
8510
8511         * paragraph_pimpl.[Ch]: InsetList changes
8512
8513         * paragraph.[Ch]: InsetList changes
8514
8515         * buffer.C (inset_iterator): InsetList changes
8516         (setParagraph): ditto
8517         * buffer.h (inset_iterator): ditto
8518         * iterators.C (operator++): ditto
8519         * iterators.h: ditto
8520
8521         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8522
8523         * InsetList.[Ch]: new files, most InsetList handling moved out of
8524         paragraph.C.
8525
8526         * BufferView2.C (removeAutoInsets): InsetList changes
8527         (lockInset): ditto
8528         (ChangeInsets): ditto
8529
8530 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8531
8532         * paragraph_pimpl.h (empty): new function
8533
8534         * paragraph.[Ch] (empty): new function
8535
8536         * other files: use the new Paragraph::empty function
8537
8538 2002-08-09  John Levon  <levon@movementarian.org>
8539
8540         * lyxtext.h: remove unused refresh_height
8541
8542 2002-08-09  John Levon  <levon@movementarian.org>
8543
8544         * Makefile.am:
8545         * sgml.h:
8546         * sgml.C:
8547         * buffer.C:
8548         * paragraph.h:
8549         * paragraph.C: move sgml char escaping out of paragraph
8550
8551         * paragraph.h:
8552         * paragraph.C: remove id setter
8553
8554         * buffer.C:
8555         * paragraph.C:
8556         * paragraph_pimpl.C: remove dead tex_code_break_column
8557
8558         * bufferview_funcs.C: small cleanup
8559
8560         * lyxfunc.C: remove dead proto
8561
8562         * lyxtext.h: make some stuff private. Remove some dead stuff.
8563
8564         * lyxgluelength.C: make as[LyX]String() readable
8565
8566 2002-08-08  John Levon  <levon@movementarian.org>
8567
8568         * LyXAction.h:
8569         * LyXAction.C:
8570         * MenuBackend.C:
8571         * ToolbarDefaults.C:
8572         * lyxfunc.C:
8573         * lyxrc.C:
8574         * toc.C: lyxaction cleanup
8575
8576 2002-08-08  John Levon  <levon@movementarian.org>
8577
8578         * BufferView2.C: small cleanup
8579
8580         * lyxfind.h:
8581         * lyxfind.C: move unnecessary header into the .C
8582
8583 2002-08-08  John Levon  <levon@movementarian.org>
8584
8585         * funcrequest.h: just tedious nonsense
8586
8587         * lyx_main.h:
8588         * lyx_main.C: cleanups
8589
8590         * buffer.C:
8591         * vspace.C: remove dead header lyx_main.h
8592
8593 2002-08-07  Angus Leeming  <leeming@lyx.org>
8594
8595         * Paragraph.[Ch]:
8596         * paragraph_pimpl.h:
8597         Forward declare class Counters in paragraph.h by moving the ctrs member
8598         variable into Paragraph::Pimpl.
8599         (counters): new method, returning a reference to pimpl_->ctrs.
8600
8601         * text2.C: ensuing changes.
8602
8603 2002-08-07  John Levon  <levon@movementarian.org>
8604
8605         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8606
8607         * BufferView_pimpl.C: announce X selection on double/triple
8608           click
8609
8610         * lyx_main.C: use correct bool in batch dispatch
8611
8612         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8613
8614 2002-08-07  André Pönitz <poenitz@gmx.net>
8615
8616         * funcrequest.h: new class to wrap a kb_action and its argument
8617
8618         * BufferView.[Ch]:
8619         * BufferView_pimpl[Ch]:
8620         * LaTeX.C:
8621         * LyXAction.[Ch]:
8622         * lyxfunc.[Ch]:
8623         * lyxrc.C: subsequent changes
8624
8625
8626 2002-08-07  John Levon  <levon@movementarian.org>
8627
8628         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8629           document options change.
8630
8631 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8632
8633         * counters.[Ch]
8634         * text2.C
8635         * paragraph.[Ch]
8636         * makefile.am: move counters functionality over from
8637         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8638
8639 2002-08-06  John Levon  <levon@movementarian.org>
8640
8641         * WordLangTuple.h: new file for word + language code tuple
8642
8643         * SpellBase.h:
8644         * pspell.h:
8645         * pspell.C:
8646         * ispell.h:
8647         * ispell.C:
8648         * lyxtext.h:
8649         * text.C:
8650         * text2.C:
8651         * BufferView.h:
8652         * BufferView2.C: use WordLangTuple
8653
8654         * layout.h:
8655         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8656
8657 2002-08-06  John Levon  <levon@movementarian.org>
8658
8659         * lyx_main.C: fix cmdline batch handling
8660
8661 2002-08-06  André Pönitz <poenitz@gmx.net>
8662
8663         * lyxrc.C: set default for show_banner to true
8664
8665 2002-08-06  John Levon  <levon@movementarian.org>
8666
8667         * pspell.C: fix a crash, and allow new aspell to work
8668
8669 2002-08-06  John Levon  <levon@movementarian.org>
8670
8671         * lyxfunc.C:
8672         * kbmap.C: small cleanup
8673
8674         * vspace.h:
8675         * vspace.C: add const
8676
8677 2002-08-05  John Levon  <levon@movementarian.org>
8678
8679         * LyXAction.C: back to tabular-insert
8680
8681 2002-08-04  John Levon  <levon@movementarian.org>
8682
8683         * BufferView.h:
8684         * BufferView.C: cosmetic change
8685
8686         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8687
8688         * bufferlist.C:
8689         * buffer.h:
8690         * buffer.C:
8691         * lyxcb.h:
8692         * lyxcb.C:
8693         * lyxserver.C:
8694         * lyxvc.C:
8695         * vc-backend.C:
8696         * BufferView2.C: purge all "Lyx" not "LyX" strings
8697
8698         * lyxcursor.h:
8699         * lyxcursor.C: attempt to add some documentation
8700
8701         * lyxfunc.C:
8702         * commandtags.h:
8703         * LyXAction.C:
8704         * ToolbarDefaults.C:
8705         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8706           merge with LFUN_TABULAR_INSERT
8707
8708         * Makefile.am:
8709         * SpellBase.h:
8710         * ispell.h:
8711         * ispell.C:
8712         * pspell.h:
8713         * pspell.C: split up i/pspell implementations into separate
8714           files, many cleanups
8715
8716         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8717
8718         * text2.C: some cleanup
8719
8720         * lyxfunc.C: don't check for isp_command == "none" any more, it
8721           didn't make any sense
8722
8723 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8724
8725         * counters.[Ch]
8726         * text2.C
8727         * paragraph.[Ch]
8728         * makefile.am: move counters functionality over
8729         from text2.C/paragraph.[Ch] to counters.[Ch], and
8730         make proper C++.
8731 2002-08-02  John Levon  <levon@movementarian.org>
8732
8733         * buffer.C: s/lyxconvert/lyx2lyx/
8734
8735 2002-08-02  Angus Leeming  <leeming@lyx.org>
8736
8737         * lyxlex.C: revert John's change as it breaks reading of the user
8738         preamble.
8739
8740 2002-08-02  Angus Leeming  <leeming@lyx.org>
8741
8742         * importer.C (Import):
8743         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8744         changes due to LyXView::view() now returning a boost::shared_ptr.
8745
8746 2002-08-02  John Levon  <levon@movementarian.org>
8747
8748         * lyxlex.C: small cleanup
8749
8750 2002-08-02  John Levon  <levon@movementarian.org>
8751
8752         * text2.C (status): small cleanup, no logic change
8753
8754 2002-08-01  John Levon  <levon@movementarian.org>
8755
8756         * buffer.h:
8757         * buffer.C (writeFile): don't output alerts, caller
8758           handles this
8759
8760         * bufferlist.C:
8761         * lyx_cb.C: from above
8762
8763         * lyxfunc.C: allow to open non-existent files
8764
8765 2002-07-31  John Levon  <levon@movementarian.org>
8766
8767         * lyxserver.C: don't let incidental errors get
8768           in the way (errno)
8769
8770 2002-07-30  John Levon  <levon@movementarian.org>
8771
8772         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8773
8774 2002-07-30  John Levon  <levon@movementarian.org>
8775
8776         * lyxserver.h:
8777         * lyxserver.C: remove I/O callback too
8778
8779 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8780
8781         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8782         log.
8783
8784 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8785
8786         * many files: strip,frontStrip -> trim,ltrim,rtrim
8787
8788 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8789
8790         * PrinterParams.h: remove extern containsOnly, and include
8791         support/lstrings.h instead.
8792
8793         * LaTeX.C (scanAuxFile): modify because of strip changes
8794         (deplog): ditto
8795         * buffer.C (makeLaTeXFile): ditto
8796         * bufferparams.C (writeFile): ditt
8797         * lyxfont.C (stateText): ditto
8798         * lyxserver.C (read_ready): ditto
8799         * vc-backend.C (scanMaster): ditto
8800
8801         * BufferView_pimpl.h: ws changes
8802
8803         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8804
8805 2002-07-26  André Pönitz <poenitz@gmx.net>
8806
8807         * kb_sequence.C: remove unnedred usings
8808
8809 2002-07-26  Juergen Vigna  <jug@sad.it>
8810
8811         * lyxfind.C (LyXReplace): we have to check better if the returned
8812         text is not of theLockingInset()->getLockingInset().
8813
8814 2002-07-25  Juergen Vigna  <jug@sad.it>
8815
8816         * lyxfind.C (LyXReplace): don't replace if we don't get the
8817         right LyXText.
8818
8819         * undo_funcs.C (createUndo): remove debugging code.
8820
8821 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8822
8823         * buffer.C (parseSingleLyXformat2Token): Use default placement
8824         when reading old floats.
8825
8826         * FloatList.C (FloatList): Change the default placement of figure
8827         and tables to "tbp".
8828
8829 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8830
8831         * MenuBackend.C: using std::max
8832
8833 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8834
8835         * MenuBackend.C (expandToc):
8836         (expandToc2): code moved from xforms menu frontend. It is now
8837         generic and TOCs are transparent to menu frontends.
8838
8839 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8840
8841         * toc.C (getTocList): protect against buf=0
8842
8843         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8844         Menu as first parameter. Now, this calls itself recursively to
8845         expand a whole tree (this will be useful for TOC handling)
8846         (expandFloatInsert): remove 'wide' version of floats
8847
8848         * MenuBackend.h (submenuname): returns the name of the submenu.
8849         (submenu): returns the submenu itself, provided it has been
8850         created by MenuBackend::expand
8851
8852 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8853
8854         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8855         insets which have noFontChange == true. (bug #172)
8856
8857 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8858
8859         * BufferView_pimpl.C: add connection objects and use them...
8860         (Pimpl): here.
8861
8862 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8863
8864         * MenuBackend.C (expandLastfiles):
8865         (expandDocuments):
8866         (expandFormats):
8867         (expandFloatListInsert):
8868         (expandFloatInsert):
8869         (expand): split expand in parts
8870
8871 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8872
8873         * lyx_gui.C: use lyx_gui::exit()
8874
8875 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8876
8877         * LyXAction.C: show the failing pseudo action
8878
8879 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8880
8881         * buffer.C (readFile): Run the lyxconvert script in order to read
8882         old files.
8883
8884 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8885
8886         * LyXAction.C:
8887         * commandtags.h:
8888         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8889
8890 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8891
8892         * LyXAction.C:
8893         * commandtags.h:
8894         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8895
8896 2002-07-22  Herbert Voss  <voss@lyx.org>
8897
8898         * lengthcommon.C:
8899         * lyxlength.[Ch]: add support for the vertical lengths
8900
8901 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8902
8903         * toc.[Ch]: std:: fixes
8904
8905 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8906
8907         * lyxrc.C: do not include lyx_main.h
8908
8909         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8910         for layouts
8911
8912         * lyxrc.C:
8913         * encoding.C:
8914         * bufferlist.C:
8915         * BufferView2.C: include "lyxlex.h"
8916
8917         * tabular.h:
8918         * bufferparams.h: do not #include "lyxlex.h"
8919
8920         * lyxtextclasslist.C (Add): remove method
8921         (classlist): renamed to classlist_
8922
8923         * paragraph_pimpl.C:
8924         * paragraph.C:
8925         * text2.C:
8926         * CutAndPaste.C:
8927         * bufferview_funcs.C:
8928         * bufferlist.C:
8929         * text.C:
8930         * LaTeXFeatures.C:
8931         * buffer.C:
8932         * toc.C (getTocList): use BufferParams::getLyXTextClass
8933
8934         * toc.C (getTocList): use InsetFloat::addToToc
8935
8936         * toc.[Ch]: new files, containing helper functions to handle table
8937         of contents
8938
8939         * lyxfunc.C (dispatch): no need to remove spaces around command
8940         given as a string
8941         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8942         first command of the sequence; it is not very clever, but I do not
8943         have a better idea, actually
8944
8945         * LyXAction.C (LookupFunc): make sure to remove space at the
8946         beginning and end of the command
8947
8948 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8949
8950         * MenuBackend.C (getMenubar): new method: return the menubar of
8951         this menu set
8952         (read): treat differently reading of menu and menubar (in
8953         particular, the menubar has no name now)
8954         (Menu::menubar): remove
8955
8956         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8957         saving is finished
8958
8959 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8960
8961         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8962         a bibitem inset in a RTL paragraph.
8963
8964 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8965
8966         * paragraph_pimpl.C: constify
8967
8968         * BufferView_pimpl.C:
8969         * LaTeX.C:
8970         * lyxfunc.C: fix dispatch in a nicer way
8971
8972 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8973
8974         * lyxfunc.C (dispatch):
8975         * BufferView_pimpl.C:
8976         * BufferView_pimpl.h:
8977         * BufferView.C:
8978         * BufferView.h: rename Dispatch() to dispatch()
8979
8980         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8981
8982         * lyxlayout.C (Read): honor DependsOn tag
8983
8984         * lyxlayout.[Ch] (depends_on): new method
8985
8986         * version.C.in: update lyx_docversion
8987
8988         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8989
8990         * paragraph.C (validate): remove from here...
8991         * paragraph_pimpl.C (validate): ... and move here
8992         (isTextAt): make it const
8993
8994         * buffer.C (getLists): ws cleanup
8995
8996 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8997
8998         * language.C (read): Use iso8859-1 encoding in latex_lang
8999         (this prevents LyX from crashing when using iso10646-1 encoding).
9000
9001 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9002
9003         * text2.C (toggleInset): if cursor is inside an inset, close the
9004         inset and leave cursor _after_ it
9005
9006 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9007
9008         * lyxfunc.C: move minibuffer completion handling out of here
9009
9010 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9011
9012         * BufferView_pimpl.C:
9013         * LaTeX.C: fix dispatch calls
9014
9015 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9016
9017         * text.C (drawChars): Fix Arabic text rendering.
9018
9019 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9020
9021         * LyXAction.C:
9022         * commandtags.h:
9023         * lyxfunc.C: remove message-push/pop
9024
9025         * lyxserver.C:
9026         * lyxfunc.h:
9027         * lyxfunc.C: rationalise some code by removing verboseDispatch
9028           in favour of a bool argument to dispatch()
9029
9030 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9031
9032         * lyx_main.C (init): make sure to read symlinks as absolute paths
9033
9034 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9035
9036         * lyxfunc.h:
9037         * lyxfunc.C: no need for commandshortcut to be a member
9038
9039 2002-07-15  André Pönitz <poenitz@gmx.net>
9040
9041         * converter.C: add support for $$s (scripts from lib/scripts dir)
9042         * lyx_main.C: white space
9043
9044 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9045
9046         * bufferlist.C:
9047         * lyxrc.h:
9048         * lyxrc.C: remove second exit confirmation
9049
9050 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9051
9052         * BufferView.h:
9053         * BufferView.C:
9054         * BufferView2.C:
9055         * BufferView_pimpl.h:
9056         * BufferView_pimpl.C:
9057         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9058
9059 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9060
9061         * MenuBackend.C (expand): add numeric shortcuts to document menu
9062
9063         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9064
9065 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9066
9067         * lyxfont.C (setLyXFamily):
9068         (setLyXSeries):
9069         (setLyXShape):
9070         (setLyXSize):
9071         (setLyXMisc):
9072         (lyxRead):
9073         * debug.C (value):
9074         * buffer.C (asciiParagraph): use ascii_lowercase
9075
9076 2002-07-15  Mike Fabian  <mfabian@suse.de>
9077
9078         * lyxlex_pimpl.C (search_kw):
9079         * lyxlex.C (getLongString):
9080         * converter.h (operator<):
9081         * converter.C (operator<):
9082         * buffer.C (parseSingleLyXformat2Token):
9083         (asciiParagraph):
9084         * ToolbarDefaults.C (read):
9085         * MenuBackend.C (checkShortcuts):
9086         (read):
9087         * LColor.C (getFromGUIName):
9088         (getFromLyXName): use the compare_ascii_no_case instead of
9089         compare_no_case, because in turkish, 'i' is not the lowercase
9090         version of 'I', and thus turkish locale breaks parsing of tags.
9091
9092 2002-07-16  Angus Leeming  <leeming@lyx.org>
9093
9094         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9095         now takes a Buffer const & argument.
9096
9097 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9098
9099         * BufferView.C (resize): check there's a buffer to resize
9100
9101 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9102
9103         * lyxfunc.C: remove dead code
9104
9105         * lyxserver.h:
9106         * lyxserver.C: use lyx_guii::set_read_callback
9107
9108 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9109
9110         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9111         an inset in a RTL paragraph.
9112
9113 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9114
9115         * lyxfunc.C: repaint after a font size update
9116
9117 2002-07-15  André Pönitz <poenitz@gmx.net>
9118
9119         * lyxlength.C: inBP should be able to return negative values
9120
9121 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9122
9123         * lyxfunc.C: use lyx_gui::update_fonts()
9124
9125 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9126
9127         * lyxfunc.C: use lyx_gui::update_color()
9128
9129 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9130
9131         * bufferlist.C:
9132         * lyxfunc.h:
9133         * lyxfunc.C:
9134         * lyxrc.h:
9135         * lyxrc.C: remove file->new asks for name option, and let
9136           buffer-new take an argument
9137
9138 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9139
9140         * BufferView_pimpl.C: remove unneeded extra repaint()
9141
9142 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9143
9144         * LyXAction.C: allow command-sequence with NoBuffer
9145
9146         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9147
9148 2002-07-10  Angus Leeming  <leeming@lyx.org>
9149
9150         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9151
9152 2002-07-09  Angus Leeming  <leeming@lyx.org>
9153
9154         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9155
9156 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9157
9158         * lengthcommon.h: whitespace
9159
9160         * lyxfunc.C: update scrollbar after goto paragraph
9161
9162         * lyxtext.h: factor out page break drawing, and fix it so
9163           page break/added space paints as selected nicely
9164
9165 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9166
9167         * BufferView_pimpl.C: add FIXMEs, clean up a little
9168
9169 2002-07-09  André Pönitz <poenitz@gmx.net>
9170
9171         * lyxfont.[Ch]: support for wasy symbols
9172
9173 2002-07-08  André Pönitz <poenitz@gmx.net>
9174
9175         * BufferView_pimpl.C: apply John's patch for #93.
9176
9177 2002-07-05  Angus Leeming  <leeming@lyx.org>
9178
9179         * BufferView_pimpl.C (buffer): generate previews if desired.
9180
9181         * LColor.h: add "preview" to the color enum.
9182
9183         * LColor.C (LColor): add a corresponding entry to the items array.
9184
9185         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9186         with this buffer.
9187
9188 2002-07-05  Angus Leeming  <leeming@lyx.org>
9189
9190         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9191         The body of the code is now in the method that is passed an ostream &
9192         rather than a file name.
9193         Pass an additional only_preamble parameter, useful for the forthcoming
9194         preview stuff.
9195
9196 2002-07-03  André Pönitz <poenitz@gmx.net>
9197
9198         * lyxfunc.C: simplify getStatus() a bit for math stuff
9199
9200 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9201
9202         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9203
9204 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9205
9206         * text.C (changeRegionCase): do not change case of all the
9207         document when region ends at paragraph end (bug #461)
9208
9209 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9210
9211         * paragraph.C (startTeXParParams):
9212         (endTeXParParams): add \protect when necessary
9213
9214 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9215
9216         * BufferView_pimpl.C (workAreaExpose): remove warning
9217
9218 2002-06-27  Angus Leeming  <leeming@lyx.org>
9219
9220         * Makefile.am: add lyxlayout_ptr_fwd.h.
9221
9222 2002-06-26  André Pönitz <poenitz@gmx.net>
9223
9224         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9225
9226 2002-06-25  Angus Leeming  <leeming@lyx.org>
9227
9228         * lyxfunc.C (dispatch): Comment out the call to
9229         grfx::GCache::changeDisplay. The method no longer exists now that the
9230         pixmap generation part of the graphics loader has been moved into
9231         InsetGraphics.
9232
9233 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9234
9235         * text2.C: layout as layout
9236
9237         * text.C: layout as layout
9238
9239         * tabular.C (OldFormatRead): layout as layout
9240
9241         * paragraph_pimpl.C (TeXDeeper): layout as layout
9242         (realizeFont): layout as layout
9243
9244         * paragraph.C (writeFile): layout as layout
9245         (validate): layout as layout
9246         (getFont): layout as layout
9247         (getLabelFont): layout as layout
9248         (getLayoutFont): layout as layout
9249         (breakParagraph): layout as layout
9250         (stripLeadingSpaces): layout as layout
9251         (getEndLabel): layout as layout
9252         (getMaxDepthAfter): layout as layout
9253         (applyLayout): layout as layout
9254         (TeXOnePar): layout as layout
9255         (simpleTeXOnePar): layout as layout
9256         (TeXEnvironment): layout as layout
9257         (layout): layout as layout
9258         (layout): layout as layout
9259
9260         * lyxtextclass.C (compare_name): new functor to work with
9261         shared_ptr, layout as layout
9262         (Read): layout as layout
9263         (hasLayout): layout as layout
9264         (operator): layout as layout
9265         (delete_layout): layout as layout
9266         (defaultLayout): layout as layout
9267
9268         * lyxlayout_ptr_fwd.h: new file
9269
9270         * lyxlayout.C (Read): layout as layout
9271
9272         * lyx_cb.C (MenuInsertLabel): layout as layout
9273
9274         * bufferlist.C (newFile): layout as layout
9275
9276         * buffer.C (readLyXformat2): layout as layout
9277         (parseSingleLyXformat2Token): layout as layout
9278         (insertStringAsLines): layout as layout
9279         (asciiParagraph): layout as layout
9280         (latexParagraphs): layout as layout
9281         (makeLinuxDocFile): layout as layout
9282         (simpleLinuxDocOnePar): layout as layout
9283         (makeDocBookFile): layout as layout
9284         (simpleDocBookOnePar): layout as layout
9285         (getLists): layout as layout
9286
9287         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9288
9289         * CutAndPaste.C (cutSelection): layout as layout
9290         (pasteSelection): layout as layout
9291         (SwitchLayoutsBetweenClasses): layout as layout
9292
9293         * BufferView_pimpl.C (Dispatch): layout as layout
9294         (smartQuote): layout as layout
9295
9296         * BufferView2.C (unlockInset): layout as layout
9297
9298 2002-06-24  André Pönitz <poenitz@gmx.net>
9299
9300         * lyxfunc.C: fix #487
9301
9302 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9303
9304         * lyxrc.h:
9305         * lyxrc.C:
9306         * lyxfunc.C: remove display_shortcuts, show_banner
9307
9308 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9309
9310         * Buffer_pimpl.C: oops, update on resize
9311
9312 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9313
9314         * buffer.C:
9315         * converter.C:
9316         * exporter.C:
9317         * lyxfunc.C:
9318         * BufferView.h:
9319         * BufferView.C: use repaint()
9320
9321         * BufferView_pimpl.h:
9322         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9323           as it's a clearer description. Remove superfluous
9324           redraws.
9325
9326 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9327
9328         * text.C: fix bug 488. Not ideal, but getting
9329           getWord() to work properly for the insets that
9330           matter is more difficult ...
9331
9332 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9333
9334         * BufferView_pimpl.C:
9335         * LyXAction.C:
9336         * commandtags.h:
9337         * lyxfunc.C: remove the six million index lyxfuncs to just
9338           one, and DTRT (bug 458)
9339
9340 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9341
9342         * BufferView.h:
9343         * BufferView.C:
9344         * BufferView_pimpl.h:
9345         * BufferView_pimpl.C: clean up resize() stuff,
9346           and unnecessary updateScreen()s
9347
9348 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9349
9350         * BufferView.h:
9351         * BufferView.C:
9352         * BufferView_pimpl.h:
9353         * BufferView_pimpl.C:
9354         * lyxfind.h:
9355         * lyxfind.C:
9356         * minibuffer.C: remove focus management of workarea,
9357           not needed. Use screen's greyOut()
9358
9359 2002-06-17  Herbert Voss  <voss@lyx.org>
9360
9361         * converter.C: (convert) do not post a message, when converting
9362         fails, let the calling function decide what to do in this case
9363
9364 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9365
9366         * lyxfunc.C: tidy up a little
9367
9368 2002-06-16    <alstrup@diku.dk>
9369
9370         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9371         Got rid of FORMS_H_LOCATION include. Now we are
9372         GUII.
9373
9374 2002-06-15  LyX Development team  <lyx@rilke>
9375
9376         * buffer.[Ch] (sgmlOpenTag):
9377         (sgmlCloseTag): Added support for avoiding pernicious mixed
9378         content. Return number of lines written.
9379
9380         (makeLinuxDocFile):
9381         (makeDocBookFile): Fixed calls to sgml*Tag.
9382         Simple white space clean.
9383
9384         (simpleDocBookOnePar): Simple white space clean.
9385
9386         * tabular.[Ch] (docBook): Renamed to docbook and got another
9387         argument to related with the pernicious mixed content.
9388
9389         (docbookRow): Fixed calls for docbook inset method.
9390
9391 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9392
9393         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9394         so it's X11 independent.
9395
9396         * kb*.[Ch]: ditto.
9397
9398         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9399
9400 2002-06-15  Lyx Development team  <lyx@electronia>
9401
9402         * intl.h: Renamed getTrans to getTransManager.
9403
9404 2002-06-14  Angus Leeming  <leeming@lyx.org>
9405
9406         * Makefile.am: nuke forgotten stl_string_fwd.h.
9407
9408 2002-06-12  Angus Leeming  <leeming@lyx.org>
9409
9410         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9411
9412 2002-06-13  Angus Leeming  <leeming@lyx.org>
9413
9414         * LaTeX.C:
9415         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9416
9417 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9418
9419         * kbmap.C (getiso): add support for cyrillic and greek
9420
9421 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9422
9423         * BufferView.h:
9424         * BufferView.C:
9425         * BufferView_pimpl.h:
9426         * BufferView_pimpl.C: move bogus scrolling logic
9427           to xforms
9428
9429 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9430
9431         * lyxfunc.C:
9432         * BufferView_pimpl.C: view->resize() change
9433
9434 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9435
9436         * BufferView_pimpl.C: topCursorVisible
9437           prototype change
9438
9439 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9440
9441         * Makefile.am:
9442         * lyx_gui.h:
9443         * lyx_gui.C: move to frontends/
9444
9445         * main.C:
9446         * lyx_main.h:
9447         * lyx_main.C: changes from above
9448
9449 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9450
9451         * intl.C:
9452         * intl.h:
9453         * kbmap.C:
9454         * kbsequence.C:
9455         * lyx_cb.C:
9456         * lyx_main.C: minor tidy
9457
9458 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9459
9460         * BufferView_pimpl.h:
9461         * BufferView_pimpl.C:
9462         * BufferView.h:
9463         * BufferView.C: make painter() const,
9464           remove dead code
9465
9466         * BufferView2.C: use screen() accessor
9467
9468         * lyx_main.h:
9469         * lyx_main.C: some minor cleanup
9470
9471 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9472
9473         * BufferView_pimpl.h:
9474         * BufferView_pimpl.C: remove enter/leaveView,
9475           use workHeight()
9476
9477 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9478
9479         * BufferView.h:
9480         * BufferView.C:
9481         * BufferView2.C:
9482         * BufferView_pimpl.h:
9483         * BufferView_pimpl.C: only construct screen once,
9484           rename
9485
9486         * lyxrc.C: remove pointless comment
9487
9488 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9489
9490         * BufferView.h:
9491         * BufferView.C: remove active() and belowMouse()
9492
9493         * BufferView_pimpl.h:
9494         * BufferView_pimpl.C: use workarea() not workarea_,
9495           and make it use a scoped_ptr instead
9496
9497 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9498
9499         * lyx_gui.C: add debug message on BadWindow
9500
9501 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9502
9503         * sp_spell.C: fdopen is not part of the C++ standard.
9504
9505         * paragraph.C (InsetIterator): use >= instead of ==
9506
9507 2002-06-07  Angus Leeming  <leeming@lyx.org>
9508
9509         Fixes needed to compile with Compaq cxx 6.5.
9510         * BufferView_pimpl.C:
9511         * DepTable.C:
9512         * buffer.C:
9513         * converter.C:
9514         * encoding.C:
9515         * lyx_gui.C:
9516         * lyx_main.C:
9517         * lyxtextclasslist.C:
9518         * minibuffer.C:
9519         * sp_spell.C:
9520         * tabular_funcs.C:
9521         * vc-backend.C:
9522         all c-library variables have been moved into namespace std. Wrap
9523         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9524
9525         * lyxlength.C:
9526         * tabular-old.C:
9527         * tabular.C:
9528         Add a using std::abs declaration.
9529
9530         * kbmap.h (modifier_pair):
9531         * paragraph.h (InsetTable, InsetList):
9532         * lyxfont.h (FontBits):
9533         type definition made public.
9534
9535         * bufferlist.C (emergencyWriteAll): the compiler complains that
9536         there is more than one possible lyx::class_fun template to choose from.
9537         I re-named the void specialisation as lyx::void_class_fun.
9538
9539         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9540
9541         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9542         the compiler is is unable to find tostr in write_attribute.
9543
9544 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9545
9546         * buffer.C (sgmlError): hide #warning
9547
9548 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9549
9550         * xtl/*: get rid of xtl, which is not in use anyway
9551
9552         * LyXAction.C (init):
9553         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9554         were unimplemented xtl experimentation
9555
9556 2002-06-04  André Pönitz <poenitz@gmx.net>
9557
9558         * lyxfunc.C: disable array operation on simple formulae
9559
9560 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9561
9562         * converter.C: constify a bit
9563
9564 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9565
9566         * lyx_gui.C: check xforms version correctly
9567
9568 2002-04-30  Herbert Voss  <voss@lyx.org>
9569
9570         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9571         "keep" option
9572
9573 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9574
9575         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9576           attempt to register it with a VCS)
9577
9578 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9579
9580         * lyx_main.C (init): honor variables LYX_DIR_13x and
9581         LYX_USERDIR_13x
9582
9583 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9584
9585         * buffer.h:
9586         * buffer.C:
9587         * lyx_main.C: fix a crash on bad command line,
9588           and give a useful exit status on error
9589
9590         * lyxfunc.C (doImport): allow -i lyx to work
9591
9592 2002-03-30  André Pönitz <poenitz@gmx.net>
9593
9594         * lyxfunc.C: mathed font changes
9595
9596 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9597
9598         * LaTeX.C:
9599         * importer.h:
9600         * importer.C:
9601         * lyx_sty.h:
9602         * lyx_sty.C:
9603         * lyxlex.C:
9604         * lyxrow.h:
9605         * lyxtext.h:
9606         * paragraph.h:
9607         * paragraph.C:
9608         * texrow.h:
9609         * texrow.C:
9610         * text.C:
9611         * trans_mgr.h: srcdocs, and some minor cleanups
9612
9613 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9614
9615         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9616         call getFont all the time)
9617
9618 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9619
9620         * switch from SigC signals to boost::signals
9621
9622 2002-05-29  André Pönitz <poenitz@gmx.net>
9623
9624         * paragraph_pimpl.C (getChar): don't call size() too often...
9625
9626 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9627
9628         * paragraph_pimpl.C (insertChar): do not try to update tables when
9629         appending (pos == size())
9630
9631         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9632         in order to reduce drastically the number of comparisons needed to
9633         parse a large document
9634
9635 2002-05-29  André Pönitz <poenitz@gmx.net>
9636
9637         * text.C:
9638         * text2.C:
9639         * lyxtextclass.C:
9640         * sp_pspell.h:
9641         * textclasslist.[Ch]:
9642         * sp_ispell.h: whitespace change
9643
9644 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9645
9646         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9647         lyxaction directly now.
9648
9649 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9650
9651         * trans.C:
9652         * lyxfont.C:
9653         * lyxvc.C: remove unused headers
9654
9655 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9656
9657         * Makefile.am:
9658         * buffer.h:
9659         * undostack.h:
9660         * undostack.C:
9661         * undo_funcs.h:
9662         * undo_funcs.C: some cleanups. Use shared_ptr
9663           and a template for the undo stacks.
9664
9665 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9666
9667         * BufferView_pimpl.h:
9668         * BufferView_pimpl.C:
9669         * kbmap.h:
9670         * kbmap.C:
9671         * kbsequence.h:
9672         * kbsequence.C:
9673         * lyxfunc.h:
9674         * lyxfunc.C:
9675         * text2.C: use key_state/mouse_state
9676
9677 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9678
9679         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9680         and LSubstring
9681
9682         * chset.C: change include order
9683         (loadFile): use boost regex and get rid of LRegex and LSubstring
9684
9685         * Makefile.am (BOOST_LIBS): new variable
9686         (lyx_LDADD): use it
9687
9688         * LaTeX.C: change include order.
9689         (scanAuxFile): use boost regex and get rid of LRegex and
9690         LSubstring
9691         (deplog): ditto
9692
9693 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9694
9695         * ColorHandler.h:
9696         * ColorHandler.C:
9697         * FontInfo.h:
9698         * FontInfo.C: moved to frontends/xforms/
9699
9700         * FontLoader.h:
9701         * FontLoader.C: moved into frontends for GUIIzation
9702
9703         * Makefile.am:
9704         * lyx_gui.C:
9705         * lyxfont.C:
9706         * lyxfunc.C: changes from above
9707
9708 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9709
9710         * LColor.C: remove spurious X include
9711
9712         * BufferView_pimpl.C:
9713         * Makefile.am:
9714         * font.h:
9715         * font.C:
9716         * text.C:
9717         * text2.C: move font metrics to frontends/
9718
9719 2002-05-24  Juergen Vigna  <jug@sad.it>
9720
9721         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9722         setting the undo_cursor.
9723
9724         * ParagraphParameters.h: include local includes first.
9725
9726 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9727
9728         * BufferView_pimpl.C:
9729         * BufferView_pimpl.h:
9730         * Makefile.am:
9731         * WorkArea.h:
9732         * WorkArea.C:
9733         * screen.C: move WorkArea into frontends/
9734
9735         * lyxscreen.h:
9736         * screen.C:
9737         * text.C:
9738         * BufferView.C:
9739         * BufferView2.C: move LyXScreen into frontends/
9740
9741         * lyxlookup.h:
9742         * lyxlookup.C:
9743         * lyx_gui.C: move lyxlookup into frontends/xforms/
9744
9745 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9746
9747         * BufferView2.C:
9748         * BufferView_pimpl.C:
9749         * FontLoader.C:
9750         * LyXView.h:
9751         * LyXView.C:
9752         * Makefile.am:
9753         * WorkArea.C:
9754         * XFormsView.h:
9755         * XFormsView.C:
9756         * buffer.C:
9757         * bufferlist.C:
9758         * bufferview_funcs.C:
9759         * converter.C:
9760         * importer.C:
9761         * lyx_cb.C:
9762         * lyx_gui.C:
9763         * lyx_main.C:
9764         * lyx_find.C:
9765         * lyxfunc.C:
9766         * lyxvc.C:
9767         * minibuffer.C:
9768         * text.C:
9769         * text2.C:
9770         * trans.C:
9771         * vc-backend.C: move LyX/XFormsView into frontends/
9772
9773 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9774
9775         * Makefile.am:
9776         * PainterBase.C:
9777         * PainterBase.h:
9778         * Painter.C:
9779         * Painter.h:
9780         * WorkArea.C:
9781         * WorkArea.h:
9782         * screen.C:
9783         * tabular.C:
9784         * text.C:
9785         * text2.C: move Painter to frontends/
9786
9787 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9788
9789         * buffer.C: comment out some some code that depend upon lyx_format
9790         < 220
9791
9792         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9793         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9794
9795         * buffer.h (NO_COMPABILITY): turn off compability
9796
9797         * ColorHandler.C: include scoped_array.hpp
9798
9799         * font.C: Use more specific smart_ptr header.
9800         * Painter.C: ditto
9801         * gettext.C: ditto
9802         * ShareContainer.h: ditto
9803         * lyx_main.h: ditto
9804         * kbmap.h: ditto
9805         * FontInfo.h: ditto
9806         * BufferView_pimpl.h: ditto
9807         * ColorHandler.h: ditto
9808
9809         * kbmap.C (defkey): change call to shared_ptr::reset
9810
9811 2002-05-21  Juergen Vigna  <jug@sad.it>
9812
9813         * buffer.C (insertErtContents): fix to insert ert asis if it is
9814         non empty. Skip it completely if it contains only whitespaces.
9815
9816 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9817
9818         * BufferView_pimpl.C:
9819         * BufferView2.C: clear selection on paste (bug 393)
9820
9821 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9822
9823         * DepTable.C: include ctime
9824
9825 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9826
9827         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9828
9829 2002-05-14  Juergen Vigna  <jug@sad.it>
9830
9831         * text.C (breakParagraph): fixed function to honor the keepempty
9832         layout in the right maner and also to permit the right breaking
9833         algorithm on empty or non empyt keepempty paragraphs.
9834
9835         * paragraph.C (breakParagraph): we have to check also if the par
9836         is really empty (!size()) for isempty otherwise we do the wrong
9837         paragraph break.
9838
9839 2002-05-10  Juergen Vigna  <jug@sad.it>
9840
9841         * buffer.[Ch] : The following are only changes to the ert
9842         compatibility read reading old LaTeX layout and font stuff and
9843         convert it to ERTInsets.
9844
9845         * buffer.h: added isErtInset().
9846
9847         * buffer.C (struct ErtComp): add a fromlayout bool to check
9848         if we're inside a LaTeX layout.
9849         (isErtInset): new helper function.
9850         (insertErtContents): look for other ert insets before this one
9851         and insert the contents there, so that we don't have subsequent
9852         ERT insets with nothing between them. This way we create only one
9853         inset with multiple paragraphs. Also check if we don't insert only
9854         spaces ' ' as they are ignored anyway afterwards in the .tex file
9855         so if we have only spaces we will ignore this latex part in the
9856         new file.
9857         (parseSingleLyXformat2Token \\layout): better compatibility when
9858         reading layout-latex stuff.
9859         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9860         language tag.
9861         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9862         stuff after reading the inset only get the information back from
9863         the stack.
9864
9865 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9866
9867         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9868
9869         * LaTeXFeatures.C (getBabelOptions): New method.
9870
9871 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9872
9873         * BufferView_pimpl.C (Dispatch): work around missing argument for
9874         'layout'
9875
9876 2002-05-08  Juergen Vigna  <jug@sad.it>
9877
9878         * text.C (leftMargin): handle paragraph leftindent.
9879
9880         * paragraph.C (writeFile): write the new \\leftindent tag.
9881         (validate): handle leftindent code.
9882         (TeXEnvironment): handle paragraphleftindent code again.
9883
9884         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9885
9886         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9887         for paragrap_extra indent code and new token \\leftindent.
9888         (latexParagraphs): handle the leftindent as environment.
9889
9890         * ParameterStruct.h: added leftindent support.
9891
9892         * ParagraphParameters.C (leftIndent): added support functions for
9893         the paragraph left indent.
9894
9895         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9896         more appropriate.
9897
9898 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9899
9900         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9901         inside insetERT.
9902
9903         * text.C (computeBidiTables): No bidi in insetERT.
9904
9905         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9906         in RTL documents.
9907
9908 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9909
9910         * version.C.in: pre 5
9911
9912 2002-05-02  José Matos  <jamatos@fep.up.pt>
9913         * buffer.C (makeDocBookFile): white space changes, add newline to
9914         command styles.
9915         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9916
9917         * tabular.C (docBook): fix typo.
9918
9919 2002-05-03  Juergen Vigna  <jug@sad.it>
9920
9921         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9922         change in LyXText as we can not be sure it was not freed.
9923         (drawOneRow): remove unused code.
9924
9925         * text.C (drawInset): redo the calculation of the need_break_row as
9926         it could have a row which was already freed.
9927         (draw): look at the return value of drawInset and return false if
9928         it also returned false.
9929         (paintRowText): look at the return value of draw and return false if
9930         it also returned false.
9931
9932         * lyxtext.h: added bool return type to drawInset() and draw() so that
9933         if we have a change in the row so that the rowbreak has to be redone
9934         we abort drawing as it will be called again.
9935
9936 2002-05-02  Juergen Vigna  <jug@sad.it>
9937
9938         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9939         a change in the maintext also if we're inside an inset.
9940         (Dispatch): set the cursor again after a break line and after the
9941         screen has been updated as it could be we're in a different row.
9942
9943         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9944         to set the cursor behind the pargraph with > size().
9945         (setCursor): check also for the same paragraph when checking where
9946         to put the cursor if we have a NFR inset.
9947
9948         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9949         parts of layout read further up as it still was in the wrong
9950         position.
9951
9952 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9953
9954         * screen.C (drawFromTo): change sine fullRebreak always return
9955         true.
9956
9957         * buffer.C (parseSingleLyXformat2Token): reindent some
9958
9959         * BufferView_pimpl.C (update): change since fullRebreak always
9960         return true.
9961         (Dispatch): git rid of the last hardcoded "Standard"s.
9962
9963 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9964
9965         * text2.[Ch] (fullRebreak): make it return void now that we always
9966         returned true.
9967
9968 2002-04-30  Juergen Vigna  <jug@sad.it>
9969
9970         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9971         ert compatibility check for "latex" layout.
9972
9973 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9974
9975         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9976         minipages: use col% instead of p%, and also use the current font.
9977         (makeLaTeXFile): Fix use babel condition.
9978         (parseSingleLyXformat2Token): Correct font when reading old floats.
9979
9980 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9981
9982         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9983         inserting list of floats.
9984
9985 2002-04-25  Herbert Voss  <voss@lyx.org>
9986
9987         * MenuBackend.C (expand): don't add the graphics extensions to the
9988         export menu
9989
9990 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9991
9992         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9993         non-existing layout, do not complain if it was the default layout
9994         of the original class (bug #342)
9995
9996 2002-04-24  Juergen Vigna  <jug@sad.it>
9997
9998         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9999         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10000
10001 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10002
10003         * buffer.C (getBibkeyList): If using \bibliography, return the
10004         option field with the reference itself. Enables us to provide natbib
10005         support when using \bibliography.
10006
10007 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10008
10009         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10010
10011         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10012         natbib is provided by the LaTeX class.
10013
10014 2002-04-23  Juergen Vigna  <jug@sad.it>
10015
10016         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10017         Wakeup functions.
10018
10019         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10020
10021 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10022
10023         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10024
10025         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10026         ensuremath around textordmasculine, textordfeminine and
10027         textdegree.
10028
10029 2002-04-19  Juergen Vigna  <jug@sad.it>
10030
10031         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10032         reinitializing the buffer otherwise row-dimensions may be wrong.
10033         (update): reset also the selection cursors if they do exits otherwise
10034         their x/y positions may be wrong.
10035
10036         * text2.C (cursorDown): don't enter the inset if we came from a row
10037         above and are one row over the inset.
10038
10039         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10040         really leaving an inset.
10041
10042 2002-04-18  Juergen Vigna  <jug@sad.it>
10043
10044         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10045         of the selected paragraph does not have the selected layout also if
10046         the last one had!
10047
10048         * text2.C (setLayout): fixed bug which did not change last selected
10049         paragraph.
10050
10051         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10052         changed the read and substituted \\end_float with \\end_inset!
10053
10054         * BufferView_pimpl.C (cursorPrevious):
10055         (cursorNext): fixed to make it work with rows heigher than the work
10056         area without moving the cursor only the draw of the row.
10057         (workAreaMotionNotify): fix jumping over high rows.
10058
10059 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10060
10061         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10062         Ressler.
10063
10064 2002-04-16  Juergen Vigna  <jug@sad.it>
10065
10066         * text2.C (setCursor): set also the irow().
10067         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10068         (cursorUp):
10069         (cursorDown): support for locking an inset if the x_fix value goes
10070         inside it. That way I can transverse insets too with cursor up/down.
10071
10072         * lyxrow.h: added irow helper function same as other (i) functions.
10073
10074         * BufferView_pimpl.C (cursorPrevious):
10075         (cursorNext): fixed for insets!
10076
10077 2002-04-15  Juergen Vigna  <jug@sad.it>
10078
10079         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10080         position otherwise it is wrong in some cases.
10081
10082         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10083         inside the inset before the call.
10084
10085 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10086
10087         * buffer.[Ch] (getBibkeyList): make it const.
10088
10089 2002-04-12  Juergen Vigna  <jug@sad.it>
10090
10091         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10092
10093         * text2.C (getCursorX): new helper function
10094         (setCursor): compute also ix_
10095         (setCursorFromCoordinates): set also ix.
10096
10097         * lyxcursor.h: added ix_ and helper functions.
10098
10099         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10100
10101         * buffer.C (insertStringAsLines): dont break paragraph if the this
10102         paragraph is inside an inset which does not permit it!
10103
10104         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10105         also with no chars on this paragraph.
10106         (paintRowText): only paint stuff if it's inside the workarea!
10107
10108         * paragraph.C (breakParagraph): honor keepempty flag and break the
10109         paragraph always below not above.
10110
10111         * BufferView2.C (unlockInset): update the paragraph layout on inset
10112         unlock as we changed paragraph in such a case.
10113
10114         * lyxfind.C (LyXFind): clear the former selection if not found!
10115
10116         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10117         again called in insertChar().
10118
10119         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10120         an inset which uses the whole row!
10121         (rightMargin): ditto.
10122         (insertChar): force a rebreak if we inserted an inset!
10123
10124 2002-03-28  Herbert Voss  <voss@lyx.org>
10125
10126         * lyxlength.[Ch]: add inBP() to get the right PS-point
10127         units (BigPoint). With inPixels we have rounding errors
10128
10129 2002-04-11  Juergen Vigna  <jug@sad.it>
10130
10131         * text2.C (setCursorFromCoordinates): set iy to the right value.
10132         (setCursor): add check if row->previous exists!
10133
10134         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10135         an old float_type as this was the case in the old code!
10136
10137         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10138
10139         * BufferView2.C (showLockedInsetCursor): use iy
10140         (fitLockedInsetCursor): ditto
10141
10142         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10143         locked insets as there we have the right value now.
10144
10145         * lyxcursor.C: added iy_ variable and iy functions to set to the
10146         baseline of cursor-y of the locked inset.
10147
10148         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10149         (setCursor): fixed for insets which need a full row.
10150
10151         * text.C (rowLastPrintable): don't ignore the last space when before
10152         an inset which needs a full row.
10153         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10154         as last character of a row when before a inset which needs a full row.
10155
10156 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10157
10158         * version.C.in: update date
10159
10160         * text2.C (fullRebreak): try to always return true and see what
10161         happens...
10162
10163 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10164
10165         * MenuBackend.C (expand): use Floating::listName
10166
10167         * FloatList.C (FloatList): add listName argument to the built-in
10168         floats
10169
10170         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10171         text associated with the float.
10172
10173 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10174
10175         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10176
10177 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10178
10179         * ShareContainer.h: add a couple of missing typenames.
10180
10181 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10182
10183         * lyxrc.C (getDescription): use _() correctly rather than N_().
10184
10185 2002-03-28  Herbert Voss  <voss@lyx.org>
10186
10187         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10188         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10189
10190 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10191
10192         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10193         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10194
10195 2002-03-29  Juergen Vigna  <jug@sad.it>
10196
10197         * lyxfunc.C (dispatch): add a missing fitCursor call.
10198
10199         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10200         it was scrolled by a cursor move, so return the bool status.
10201
10202         * BufferView.C (fitCursor): return the bool flag also to the outside
10203         world as this is needed.
10204
10205         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10206
10207         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10208         call the edit() as it is not needed (and wrong) IMO.
10209         (workAreaButtonPress): set the screen_first variable before evt.
10210         unlock the inset as this may change screen_first and then we have
10211         a wrong y position for the click!
10212
10213 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10214
10215         * MenuBackend.C (expand): another translation that I missed
10216
10217 2002-03-28  Juergen Vigna  <jug@sad.it>
10218
10219         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10220
10221         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10222
10223 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10224
10225         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10226
10227         * MenuBackend.C (expand): fix export/view/update when there is no
10228         document open.
10229
10230 2002-03-27  Herbert Voss  <voss@lyx.org>
10231
10232         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10233         and text%
10234
10235 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10236
10237         * bufferview_funcs.C (currentState): only show paragraph number
10238         for is DEVEL_VERSION is set.
10239
10240         * lyxfunc.C (dispatch): put warning in INFO channel
10241
10242         * MenuBackend.C (expand): translate the name of floats
10243
10244         * FloatList.C (FloatList): mark the float names for translation
10245
10246         * converter.C (convert): use LibScriptSearch
10247
10248 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10249
10250         * MenuBackend.C (defaults): fix default menu (we might as well get
10251         rid of it...)
10252
10253 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10254
10255         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10256         directory.
10257
10258 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10259
10260         * lyxvc.C: reorder includes.
10261
10262 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10263
10264         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10265           properly
10266
10267 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10268
10269         * CutAndPaste.C: change layouts earlier on paste
10270           to avoid crashing when calling getFont()
10271
10272 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10273
10274         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10275         irritating #error.
10276
10277 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10278
10279         * WorkArea.C: remove 'Pending' debug message.
10280
10281         * most files: ws cleanup
10282
10283         * buffer.[Ch]: ws changes
10284
10285         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10286
10287 2002-03-21  Juergen Vigna  <jug@sad.it>
10288
10289         * tabular.C (SetMultiColumn): collapse also the contents of the
10290         cells and set the last border right. Added a Buffer const * param.
10291
10292 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10293
10294         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10295         linking or not.
10296
10297 2002-03-19  Juergen Vigna  <jug@sad.it>
10298
10299         * text2.C (clearSelection): reset also xsel_cache.
10300
10301         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10302         where it needs to be called (John tells us to do so too :)
10303         (selectionLost): reset sel_cache.
10304
10305         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10306
10307 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10308
10309         * text2.C (setCursorIntern): put debuging code in INSETS channel
10310
10311 2002-03-19  André Pönitz <poenitz@gmx.net>
10312
10313         * lyxfunc.C: tiny whitespace change
10314
10315 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10316
10317         * ToolbarDefaults.C (init):
10318         * LyXAction.C (init):
10319         * commandtags.h:
10320         * BufferView_pimpl.C (Dispatch):
10321         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10322
10323 2002-03-19  Allan Rae  <rae@lyx.org>
10324
10325         * exporter.C (Export): removeAutoInsets before doing anything else.
10326         While I've just introduced a dependency on BufferView this really is
10327         the best place to clean the buffer otherwise you need to cleanup in
10328         a dozen places before calling export or cleanup in a dozen functions
10329         that export calls.
10330
10331         * converter.C (runLaTeX):
10332         (scanLog): Better handling of removeAutoInsets and screen updates.
10333
10334         * lyxfunc.C (dispatch): small whitespace changes
10335
10336 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10337
10338         * WorkArea.C (C_WorkAreaEvent): return a value.
10339         (event_cb): return 1 if we handled the event, 0 otherwise.
10340
10341         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10342
10343 2002-03-18  Juergen Vigna  <jug@sad.it>
10344
10345         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10346         (GetAdditionalWidth): ditto.
10347         (RightLine): ditto.
10348         (LeftLine): ditto.
10349
10350         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10351         inset if we're there actually (probably not used right now but this
10352         is the direction to go for unifying code).
10353         (paste): disable code to clear the selection.
10354
10355         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10356         inside an InsetText and move the check further up as it is in the
10357         wrong place.
10358
10359         * text2.C (pasteSelection): set a selection over the pasted text.
10360
10361 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10362
10363         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10364         and libgraphics to build on Cygwin.
10365
10366 2002-03-15  Juergen Vigna  <jug@sad.it>
10367
10368         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10369         inserting an Inset into the paragraph. I know this is not the best
10370         fix but we already use current_view in CutAndPaste so we will remove
10371         all of it's using at the same time.
10372
10373         * buffer.C (sgmlError): deactivated function till it is rewritten in
10374         the right mode, now it can create problems.
10375
10376         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10377         before accessing it.
10378
10379 2002-03-14  Juergen Vigna  <jug@sad.it>
10380
10381         * undo_funcs.C (textHandleUndo): do the right thing when updating
10382         the inset after the undo/redo.
10383
10384         * text2.C (setCursor): just some testcode for #44 not ready yet.
10385
10386         * undo_funcs.C (textHandleUndo): set the next() and previous()
10387         pointers of the paragraph to 0 before deleting otherwise we have
10388         problems with the Paragraph::[destructor].
10389
10390         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10391         on a paragraph insertion.
10392
10393 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10394
10395         * buffer.C (asciiParagraph): use += operator for char append to
10396         string.
10397
10398         * paragraph.C (getFontSettings): compare >= not just >
10399         (highestFontInRange): ditto
10400         (setFont): ditto
10401
10402 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10403
10404         * paragraph.C: change several algorithm to be more appripriate for
10405         the problem domain. This is lookip in FontList and in the InsetList.
10406
10407 2002-03-13  André Pönitz <poenitz@gmx.net>
10408
10409         * commandtags.h:
10410         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10411
10412 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10413
10414         * commandtags.h:
10415         * LyXAction.C:
10416         * lyxfunc.C:
10417         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10418
10419 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10420
10421         * Painter.C (display): anon helper function, adjust code for this
10422         change.
10423         (pixmap): remove function.
10424
10425         * Painter.h: remove private display variable.
10426
10427         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10428
10429 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10430
10431         * WorkArea.[Ch]: remove figinset_canvas cruft.
10432
10433 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10434
10435         * lyxtextclass.C (operator): add one item cache optimization.
10436
10437         * bufferlist.h: doxy changes
10438
10439         * bufferlist.C: ws changes
10440
10441         * DepTable.[Ch] (ext_exist): place const in the right spot.
10442
10443         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10444         call resizeInsets.
10445         (workAreaExpose): call resizeInsets when the with BufferView changes.
10446         (Dispatch): adjust for protectedBlank removal
10447         (specialChar): call updateInset if the insert went ok.
10448
10449         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10450         specialChar instead.
10451
10452         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10453
10454         * BufferView.h: doxy change
10455
10456         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10457
10458         * lyxtextclass.C (operator[]): remove non-const version
10459         (defaultLayout): remove non-const version
10460
10461 2002-03-12  Juergen Vigna  <jug@sad.it>
10462
10463         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10464         did resize the LyXText too.
10465
10466         * buffer.C (readLyXformat2): set layout information on newly allocated
10467         paragraphs.
10468
10469         * tabular.C (OldFormatRead): set layout information on the paragraph.
10470
10471 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10472
10473         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10474
10475 2002-03-11  Juergen Vigna  <jug@sad.it>
10476
10477         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10478         plainly wrong.
10479         (resizeCurrentBuffer): force also the insets to resize themselfes.
10480         (moveCursorUpdate): fixed up for InsetText.
10481
10482 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10483
10484         * commandtags.h:
10485         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10486         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10487         value of Dialogs::tooltipsEnabled().
10488         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10489
10490 2002-03-08  Juergen Vigna  <jug@sad.it>
10491
10492         * BufferView_pimpl.C (updateInset): update inset inside inset also
10493         if it isn't inside theLockingInset().
10494
10495 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10496
10497         * buffer.C (asciiParagraph): redo some of the word and line length
10498         handling.
10499         (getLists): look for Caption instead of caption.
10500
10501 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10502
10503         * buffer.C (Buffer): initialize niceFile to true
10504         (makeLaTeXFile):
10505         (makeLinuxDocFile):
10506         (makeDocBookFile): make sure niceFile is true on exit
10507
10508 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10509
10510         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10511
10512 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10513
10514         * LyXSendto.C: remove.
10515         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10516         * lyx_gui.C: remove now-redundant comment.
10517         * ColorHandler.h: remove forward declaration of class WorkArea.
10518         * lyxfunc.C: remove #include "WorkArea.h".
10519
10520 2002-03-07  Juergen Vigna  <jug@sad.it>
10521
10522         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10523         got moved away with the DEPM and also set the inset_owner always
10524         right which before could have been omitted.
10525
10526 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10527
10528         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10529         wanted layout is not found.
10530
10531 2002-03-07  Juergen Vigna  <jug@sad.it>
10532
10533         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10534
10535 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10536
10537         * paragraph.C (breakParagraph): use default layout not layout of
10538         prev paragraph.
10539         (Paragraph): clear ParagraphParameters.
10540
10541 2002-03-06  Juergen Vigna  <jug@sad.it>
10542
10543         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10544         otherwise it would not be a valid lenght. Fixed a special case in
10545         the minipage compatibility read where we end the document with a
10546         minipage.
10547
10548         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10549         was set as it could be 0 for InsetTexts first entry.
10550
10551 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10552
10553         * paragraph.C (writeFile): if layout is empty write out
10554         defaultLayoutName().
10555
10556         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10557         file without named layout we set layout to defaultLayoutName().
10558
10559 2002-03-06  Juergen Vigna  <jug@sad.it>
10560
10561         * CutAndPaste.C (copySelection): set layout for new paragraph.
10562
10563         * text.C (prepareToPrint): leave ERT inset left aligned
10564         (leftMargin): don't indent paragraphs inside ERT insets
10565
10566 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10567
10568         * paragraph.C (breakParagraph): dont call clear do the work manually
10569
10570         * paragraph.[Ch] (clear): remove function
10571
10572 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10573
10574         * paragraph.C (Paragraph): dont call clear, the work has already
10575         been done.
10576
10577         * lyxtextclass.C (operator): assert if n is empty
10578
10579         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10580         work manually instead.
10581
10582 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10583
10584         * BufferView_pimpl.C: protect selectionLost against text == 0
10585
10586 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10587
10588         * text.C (breakParagraph): fix a setting layout to '0' problem.
10589
10590 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10591
10592         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10593         final location of file, for the included files, and graphics.
10594
10595 2002-03-05  Juergen Vigna  <jug@sad.it>
10596
10597         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10598
10599 2002-03-04  Juergen Vigna  <jug@sad.it>
10600
10601         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10602
10603         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10604         last column of multicolumn cells.
10605         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10606
10607 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10608
10609         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10610         file if it doesn't go to a temporary file.
10611
10612         * buffer.C (sgmlOpenTag):
10613         (sgmlCloseTag):  remove extra newline insertion.
10614
10615 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10616
10617         * text.C (getRowNearY): comment out debug msg
10618
10619 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10620
10621         * text2.C: first -> first_y
10622
10623         * text.C (getRowNearY): add some attemts at a possible
10624         optimization, not working.
10625
10626         * tabular.[Ch]: add BufferParams to several function so that newly
10627         created paragraph can be initialized to he default layotu for the
10628         buffers textclass.
10629
10630         * tabular-old.C (ReadOld): add buf->params to call of Init
10631
10632         * screen.C: rename text->first to text->first_y
10633
10634         * paragraph.C (breakParagraph): always set layout in the broken
10635         paragraph
10636
10637         * lyxtextclass.C (Read): remove lowercase
10638         (hasLayout): ditto
10639         (operator): ditto
10640         (delete_layout): ditto
10641
10642         * lyxtext.h: rename first -> first_y
10643
10644         * lyxlayout.C (Read): remove lowercase
10645         (name): ditto
10646         (setName): ditto
10647         (obsoleted_by): ditto
10648
10649         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10650
10651         * buffer.C (insertErtContents): add params are to InsetERT
10652         (parseSingleLyXformat2Token): add code to check if a paragraphs
10653         layout really exist.
10654         (parseSingleLyXformat2Token): add params to several inset
10655         constructors
10656         (asciiParagraph): remove lowercase, do the layout comparisons with
10657         no_case
10658
10659         * BufferView_pimpl.C (cursorNext): first -> first_y
10660         (resizeCurrentBuffer): first -> first_y
10661         (updateScrollbar): first -> first_y
10662         (scrollCB): first -> first_y
10663         (workAreaMotionNotify): first -> first_y
10664         (workAreaButtonPress): first -> first_y
10665         (checkInsetHit): first -> first_y
10666         (cursorPrevious): first -> first_y
10667         (cursorNext): first -> first_y
10668         (Dispatch): add buffer_->params to severl inset contructors
10669
10670 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10671
10672         * lyxlayout.C (Read): remove some debug info that I forgot.
10673
10674         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10675         clean up the code slightly.
10676         (makeLinuxDocFile): ditto
10677         (makeDocBookFile): ditto
10678
10679         * text2.C: layout as string
10680
10681         * text.C: layout as string
10682
10683         * paragraph_pimpl.C: layout as string
10684
10685         * paragraph.[Ch]: layout as string
10686
10687         * lyxtextclasslist.[Ch]: layout as string
10688
10689         * lyxtextclass.[Ch]: layout as string
10690
10691         * lyxtext.h: layout as string
10692
10693         * lyxlayout.[Ch]: layout as string
10694
10695         * lyx_cb.C: layout as string
10696
10697         * bufferview_funcs.C: layout as string
10698
10699         * bufferparams.C: layout as string
10700
10701         * buffer.C: layout as string
10702
10703         * LyXView.[Ch]: layout as string
10704
10705         * LaTeXFeatures.[Ch]: layout as string
10706
10707         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10708
10709         * BufferView_pimpl.C: change current_layout to string, remove
10710         lyx::layout_type.
10711         (Dispatch):
10712         (smartQuote):
10713         (insertInset):
10714         (workAreaButtonRelease): layout as string
10715
10716         * BufferView2.C (unlockInset): adjust
10717
10718         * vspace.C (asLatexCommand): use an explict temp variable.
10719
10720 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10721
10722         * Makefile.am: use FRONTEND_*
10723
10724 2002-03-01  Juergen Vigna  <jug@sad.it>
10725
10726         * tabular.C (SetWidthOfMulticolCell): changed to something better
10727         I hope but still work in progress.
10728         (recalculateMulticolumnsOfColumn): renamed function from
10729         recalculateMulticolCells as it is more appropriate now.
10730         (SetWidthOfCell): calculate multicols better.
10731
10732 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10733
10734         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10735
10736         * lyxfunc.C (processKeySym): print sequence also if it is
10737         `deleted' (complete)
10738
10739         * kbsequence.C (print): print sequence even if it is deleted
10740         (complete would be a better word, actually).
10741
10742         * lyxfunc.C (dispatch): print complete options after a prefix key
10743
10744         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10745
10746 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10747
10748         * text2.C (setCharFont): eliminate setCharFont code duplication.
10749
10750 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10751
10752         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10753         LFUN_TABULAR_FEATURE (bug #177)
10754
10755 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10756
10757         * Makefile.am: remove figure.h
10758
10759 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10760
10761         * Bufferview_pimpl.C:
10762         * CutAndPasteC:
10763         * LaTeX.C:
10764         * LyXSendto.C:
10765         * buffer.C:
10766         * bufferlist.C:
10767         * converter.C:
10768         * language.C:
10769         * lyxfunc.C:
10770         * lyxvc.C:
10771         * paragraph.C:
10772         * text.C:
10773         * text2.C: remove #include "lyx_gui_misc.h".
10774
10775         * LaTeX.C: added #include <cstdio>
10776
10777 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10778
10779         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10780         that the paragraph following this one can have.
10781
10782         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10783
10784         * vspace.C (asLatexCommand): fix bogus gcc warning
10785
10786         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10787
10788 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10789
10790         * text2.C (setLayout): get rid of redundant code
10791
10792 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10793
10794         * text2.C (incDepth): make sure depth cannot be increased beyond
10795         reasonable values.
10796
10797 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10798
10799         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10800         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10801
10802         * PainterBase.h (image):
10803         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10804         a LyXImage const *.
10805
10806 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10807
10808         * BufferView.C:
10809         * BufferView.h:
10810         * BufferView_pimpl.C:
10811         * BufferView_pimpl.h:
10812         * LaTeXFeatures.C:
10813         * LyXAction.C:
10814         * LyXView.C:
10815         * Makefile.am:
10816         * UpdateList.h:
10817         * UpdateList.C:
10818         * buffer.C:
10819         * figure.h:
10820         * figureForm.C:
10821         * figureForm.h:
10822         * figure_form.C:
10823         * figure_form.h:
10824         * lyx_cb.C:
10825         * lyx_gui.C:
10826         * lyx_gui_misc.C:
10827         * lyxfunc.C:
10828         * sp_base.h:
10829         * sp_ispell.h:
10830         * sp_pspell.h:
10831         * sp_spell.C: remove fig inset, and the crap house of
10832           cards that follows it
10833
10834 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10835
10836         * Makefile.am:
10837         * lyxserver.C:
10838         * os2_defines.h:
10839         * os2_errortable.h:
10840         * nt_defines.h: move .h into support/
10841
10842         * vms_defines.h: remove
10843
10844         * WorkArea.C: add space in debug output
10845
10846         * text2.C:
10847         * paragraph.C:
10848         * buffer.C: add WITH_WARNINGS
10849
10850         * vc-backend.h:
10851         * vc-backend.C:
10852         * bufferlist.C: s/retrive/retrieve/, add docs
10853
10854         * vspace.h:
10855         * vspace.C:
10856         * kbmap.h:
10857         * lyxlength.h:
10858         * lyxgluelength.h:
10859         * length_common.h:
10860         * chset.h:
10861         * chset.C: add docs
10862
10863         * lyxgui.C: add ID to X error handler
10864
10865         * lyxtestclass.c: fix typo
10866
10867 2002-02-26  Juergen Vigna  <jug@sad.it>
10868
10869         * tabular_funcs.C (write_attribute): changed so that some default
10870         attributes are not written at all.
10871         (getTokenValue): set default values before trying to read the
10872         value so we have the return value always set as default if we don't
10873         find the token we search for.
10874
10875         * tabular.C (Write): write bools as bools not as strings!
10876
10877 2002-02-22  Juergen Vigna  <jug@sad.it>
10878
10879         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10880         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10881
10882         * text.C (leftMargin): don't add an indent for paragraphs inside
10883         tabular cells (fix #208).
10884
10885 2002-02-21  José Matos  <jamatos@fep.up.pt>
10886
10887         * tabular.C (docBook): fixed support for long tables.
10888
10889 2002-02-20  Juergen Vigna  <jug@sad.it>
10890
10891         * text2.C (getFont): get the drawing font of the Inset if this
10892         paragraph is inside an inset (only important for InsetERT for now).
10893
10894         * buffer.C (insertErtContents): use new lanugage params in ERT
10895         constructor.
10896
10897         * CutAndPaste.C: commenting out seemingly uneeded code.
10898
10899 2002-02-19  Allan Rae  <rae@lyx.org>
10900
10901         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10902         Iterators might be simple to use but they also get invalidated.
10903         (removeAutoInsets): renamed saved cursor tracking variables and added
10904         some comments to clarify what everything does.
10905
10906 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10907
10908         * Chktex.C:
10909         * LaTeX.C:
10910         * LyXSendto.C:
10911         * converter.C:
10912         * lyx_cb.C:
10913         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10914         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10915
10916         * lyxfunc.C:
10917         * vc-backend.h: remove #include "support/syscall.h"
10918
10919         * LaTeX.C:
10920         * LyXSendto.C:
10921         * converter.C: rearrange #includes in Lars' approved fashion.
10922
10923         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10924         forward declare class Timeout in the header file.
10925
10926         * XFormsView.C: changes due to the above.
10927
10928         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10929         similar to LyXView.
10930
10931         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10932         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10933
10934 2002-02-18  José Matos  <jamatos@fep.up.pt>
10935
10936         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10937         insets contents.
10938
10939 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10940
10941         * a lot of small ws changes
10942         * add a lot of using std::XXX
10943         * use std construcs some places where approp.
10944         * use some exisint stuff from lyxfunctional where approp.
10945         * Make file changes to use partial linking (lets test this now...)
10946
10947 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10948
10949         * Chktex.C:
10950         * buffer.C:
10951         remove #include "support/syscontr.h" as it's redundant. Always has been.
10952
10953         * Chktex.C:
10954         * LaTeX.C:
10955         * LyXSendto.C:
10956         * converter.C:
10957         * lyx_cb.C:
10958         * vc-backend.C:
10959         change Systemcalls::System to Systemcalls::Wait and
10960         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10961         No change of functionality, just reflects the stripped down Systemcalls
10962         class.
10963
10964 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10965
10966         * debug.[Ch]: add a GRAPHICS type to the enum.
10967
10968 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10969
10970         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10971
10972         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10973         there is an inset.
10974
10975 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10976
10977         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10978         match the changes below.
10979
10980         * text2.C (toggleInset): if there is not editable inset at cursor
10981         position, try to see if cursor is _inside_ a collapsable inset
10982         and close it.
10983
10984 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10985
10986         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10987         document menu has a nice checkbox
10988
10989 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10990
10991         * lyxlength.C (asLatexString): change PW to output as percent of
10992         \textwidth.
10993
10994         * lengthcommon.C: change '%' to 't%'
10995
10996         * lyxfunc.C (dispatch): a few comments from Martin
10997
10998 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10999
11000         * WorkArea.h:
11001         * WorkArea.C:
11002         * BufferView_pimpl.h:
11003         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11004           the X selection.
11005
11006 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11007
11008         * vspace.C (inPixels): fix compiler warning
11009
11010 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11011
11012         * lyxfunc.C (getStatus): fix status message for disabled commands.
11013
11014 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11015
11016         * BufferView_pimpl.C: fix crash on close buffer
11017         during selection (#227)
11018
11019 2002-01-27  Herbert Voss  <voss@lyx.org>
11020
11021         * buffer.C: link old Figure to new graphic inset
11022
11023 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11024
11025         * FontLoader.C (getFontinfo): Change the latex font names in order
11026         to match the names of type1inst.
11027
11028 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11029
11030         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11031
11032         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11033         (extchanged): ditto
11034         (ext_exist): ditto
11035         (remove_files_with_extension): ditto
11036         (remove_file): ditto
11037         (write): ditto
11038
11039         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11040         document is smaller than the work area height. Do not initialize
11041         static variables to 0.
11042
11043 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11044
11045         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11046
11047         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11048         LFUN_LAYOUT_PARAGRAPHS.
11049
11050         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11051         tabular. It is possible to provide a possible cell, which will
11052         typically be the actcell from the corresponding insettabular
11053
11054         * lyxfunc.C (getStatus): small cleanup; disable
11055         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11056         true
11057
11058 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11059
11060         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11061
11062         * paragraph.C (startTeXParParams):
11063         (endTeXParParams): new methods. The LaTeX code to
11064         start/end paragraph formatting
11065         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11066         empty (fixes bug #200)
11067
11068         * vspace.C (inPixels): adapt to the change below
11069         (inPixels): [later] more cleanups (remove unused variables)
11070
11071         * lyxlength.C (inPixels): change to use a width and a height as
11072         parameter.
11073
11074 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11075
11076         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11077         Replaced with \paperwidth
11078
11079         * DepTable.C (insert): add std:: qualifier
11080
11081 2002-01-18  Allan Rae  <rae@lyx.org>
11082
11083         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11084         updated also?
11085
11086         * text.C (drawInset): Turned out I didn't know enough about how
11087         rebreaking worked.  This fixes most of the redraw problems.  I see
11088         an occasional cursor trail when a line is broken now and the cursor
11089         placement can seem out by a few pixels also after a rebreak.
11090
11091 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11092
11093         * buffer.C (parseSingleLyXformat2Token): update because minipage
11094         width is now a LyXLength
11095
11096         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11097
11098         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11099         math insets
11100
11101 2002-01-17  Juergen Vigna  <jug@sad.it>
11102
11103         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11104
11105         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11106         is set correctly and the inset is updated correctly.
11107
11108 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11109
11110         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11111         the beginning of the loop.
11112
11113 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11114
11115         * lyxrc.C: improve help for use_scalable_fonts
11116
11117 2002-01-17  Allan Rae  <rae@lyx.org>
11118
11119         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11120
11121 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11122
11123         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11124         make sure to set their inset_owner to the right value (bug #171)
11125
11126 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11127
11128         * DepTable.h
11129         * DepTable.C: Implement mtime checking to reduce time spent doing
11130         CRCs.
11131
11132 2002-01-16  Juergen Vigna  <jug@sad.it>
11133
11134         * tabular.C (GetAdditionalHeight): one of error fixed.
11135
11136         * lyxrc.C (output): small fix in writing use_pspell.
11137
11138 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11139
11140         * sp_base.h: #include LString.h
11141
11142 2002-01-16  Allan Rae  <rae@lyx.org>
11143
11144         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11145         Can someone check this please?
11146
11147         * text.C (drawInset): It was possible that p.row would be removed by
11148         breakAgainOneRow upsetting a few other settings.  There may be another
11149         small tweak possible by setting need_break_row = 0 when p.row has been
11150         removed but I don't know enough about the logic here.
11151
11152 2002-01-15  Allan Rae  <rae@lyx.org>
11153
11154         * text.C (insertChar): removed conditional truism.
11155
11156         * BufferView2.C (removeAutoInsets): More tweaks.
11157         cur_par_prev could be a stray pointer.  Check for trailing empty line
11158         in case last line was cur_par and only had an error inset on it.
11159
11160 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11161
11162         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11163         absolute
11164
11165         * vc-backend.C (most methods):
11166         * exporter.C (Export):
11167         * converter.C (convert):
11168         (runLaTeX):
11169         * LyXSendto.C (SendtoApplyCB):
11170         * lyxfunc.C (dispatch):
11171         (menuNew):
11172         (open):
11173         (doImport):
11174         * lyx_cb.C (AutoSave):
11175         (InsertAsciiFile):
11176         * BufferView_pimpl.C (MenuInsertLyXFile):
11177         * buffer.C (runChktex): use Buffer::filePath().
11178
11179         * buffer.h: rename filename to filename_; rename filepath to
11180         filepath_ and make it private
11181         (filePath): new method
11182
11183         * buffer.C (writeFile): use fileName()
11184         (getLatexName):
11185
11186         * lyx_main.C (init): fix starting  of LyX when the binary is a
11187         link from so,ewhere else.
11188
11189         * minibuffer.C: include <cctype> for isprint
11190
11191 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11192
11193         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11194         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11195         name clash with InsetCollapsable's width function.
11196
11197 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11198
11199         * lastfiles.C: include <iterator>
11200
11201 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11202
11203         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11204         std::count.
11205
11206         * buffer.C (makeLaTeXFile): ditto.
11207         Also make loop operation more transparent.
11208
11209 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11210
11211         * ToolbarDefaults.C: remove trailing comma closing namespace.
11212
11213         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11214
11215         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11216         as in WorkArea.
11217
11218         * trans.C (Load): comment out unused variable, allowed.
11219
11220 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11221
11222         * minibuffer.[Ch] (append_char): new method to recieve input from the
11223         drop-down completion browser. If a key was pressed, then recieve this
11224         char and append it to the existing string.
11225         (peek_event): modify the positioning data passed to the completion
11226         browser so that it can be placed above the minibuffer rather than below.
11227 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11228
11229         * LyXAction.C (init): alloe error-next for readonly documents.
11230
11231         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11232         count.
11233
11234 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11235
11236         * bufferlist.C (readFile): create the buffer _after_ checking that
11237         the file exists.
11238
11239         * lyxfunc.C (verboseDispatch): fix handling of arguments
11240
11241         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11242
11243         * lyxrc.C: use string::erase() instead of initializing to "".
11244
11245
11246 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11247
11248         * BufferView_pimpl.h:
11249         * BufferView_pimpl.C:
11250         * WorkArea.h:
11251         * WorkArea.C:
11252         * text2.C: tell X when we have made a selection for copying
11253
11254 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11255
11256         * BufferView_pimpl.C (MenuInsertLyXFile):
11257         * lyxfunc.C (menuNew):
11258         (open):
11259         (doImport): add shortcuts to directory buttons
11260
11261         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11262         open a float)
11263
11264         * lyxfunc.C (setStatusMessage):
11265         (getStatusMessage): new methods
11266         (getStatus):use setStatusMessage instead of setErrorMessage
11267         (dispatch): when function is disabled, set error message here
11268         [instead of in getStatus previously]
11269
11270         * BufferView_pimpl.C (workAreaButtonRelease): update
11271         toolbar/menubar here too.
11272
11273 2002-01-13  Allan Rae  <rae@lyx.org>
11274
11275         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11276         Now seems indestructible.  Remaining task is to audit all other
11277         code affected by deleteEmptyParagraphMechanism.  One small quirk
11278         left is that an empty document with an error in the preamble can
11279         be made to report an error but no error box appears.  I don't know
11280         where it goes.
11281         (removeAutoInsets): Improved comments.
11282
11283 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11284
11285         * Thesaurus.h:
11286         * Thesaurus.C: update for Aiksaurus 0.14
11287
11288 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11289
11290         * text2.C (firstParagraph): removed member function, all uses
11291         replaces with ownerParagraph
11292         (redoParagraphs): here
11293         (updateInset): here
11294         (toggleAppendix): here
11295         * BufferView2.C (insertErrors): here
11296         (setCursorFromRow): here
11297
11298 2002-01-13  Allan Rae  <rae@lyx.org>
11299
11300         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11301         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11302         There is still a way to segfault this although you may have to do this
11303         multiple times: Have an InsetERT with an unknown command in it.
11304         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11305         <down-arrow>, <Enter> again, View->DVI, BANG!
11306
11307         * text2.C (setCursor):
11308         (deleteEmptyParagraphMechanism):
11309         * lyxtext.h (setCursor):
11310         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11311         Making use of the return value may help fix other bugs.
11312
11313 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11314
11315         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11316
11317         * LyXView.C (updateMenubar): call MenuBar::update here
11318         (updateToolbar): but not here
11319         (showState): do not update toolbar/menubar
11320
11321         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11322         should need to care about that.
11323
11324         * lyxfunc.C (verboseDispatch): simplify a bit
11325         (getStatus): have a version which takes a pseudoaction, and
11326         another which requires a (kb_action,string).
11327
11328         * LyXAction.C (retrieveActionArg): make it work also when action
11329         is not a pseudo-action.
11330         (getActionName): simplify a bit
11331         (helpText):
11332
11333 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11334
11335         * lyxfunc.C (verboseDispatch): new families of methods with
11336         several ways to specify a command and a bool to indicate whether
11337         the command name and shortcut should be displayed in minibuffer
11338         (eventually, we could extend that to a finer bitmask like
11339         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11340         (dispatch): the pristine dispatch command which just, well,
11341         dispatchs! Note it still sets its result to minibuffer; I'm not
11342         sure we want that.
11343
11344         * lyxfunc.h: remove setHintMessage
11345
11346         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11347
11348 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11349
11350         * BufferView_pimpl.C (specialChar): delete new inset if we have
11351         not been able to insert it.
11352
11353         * kbmap.C: revert to using int instead of kb_action, since all we
11354         are dealing with is pseudo-actions.
11355
11356         * LyXAction.C (searchActionArg): change to return int instead of
11357         kb_action, since the result is a pseudoaction.
11358
11359 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11360
11361         * buffer.C (insertErtContents): Fix (partially) the font bug.
11362
11363 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11364
11365         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11366         as the other one is broken on my machine!
11367
11368 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11369
11370         * commandtags.h:
11371         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11372
11373 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11374
11375         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11376         reflect their actual use. Provide compatibility code for older lyxrc
11377         files.
11378
11379         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11380         FL_NORMAL_STYLE.
11381         change names of popup font variables in line with the changes to lyxrc.C
11382
11383 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11384
11385         * buffer.C (asciiParagraph): avoid outputing a word twice after
11386         an inset.
11387
11388         * lyxrc.C (getDescription): document that document_path and
11389         template_path can be empty.
11390
11391 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11392
11393         * LaTeXFeatures.C (getMacros):
11394         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11395
11396         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11397
11398         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11399         getPackages.
11400         (getPackages): rename feature "floats" to "float". Use an array to
11401         iterate over 'simple' features (i.e. just a \usepackage). Add
11402         handling of "amsmath" (renamed from "amsstyle").
11403
11404 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11405
11406         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11407         features list.
11408
11409 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11410
11411         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11412         FuncStaus::FuncStatus & FuncStaus::some_method().
11413
11414 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11415
11416         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11417         of the func_satus stuff. Edited and massaged in various ways by
11418         JMarc.
11419
11420         * lyxfunc.C (getStatus): use FuncStatus
11421
11422 2002-01-08  Juergen Vigna  <jug@sad.it>
11423
11424         * text.C (nextBreakPoint): use function Inset::isChar().
11425
11426         * paragraph.C (TeXOnePar): use function
11427         Inset::forceDefaultParagraphs.
11428
11429         * buffer.C (latexParagraphs): use function
11430         Inset::forceDefaultParagraphs.
11431
11432 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11433
11434         * lyx_gui.C (init): set the style of the menu popups to
11435         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11436
11437 2002-01-07  Juergen Vigna  <jug@sad.it>
11438
11439         * text.C (setHeightOfRow): small fix
11440         (prepareToPrint): don't look at alignment if we don't have the place
11441         for doing it.
11442
11443 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11444
11445         * box.C: New file. Move the Box methods and functions out of box.h,
11446         following Lars' suggestion.
11447
11448 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11449
11450         * box.h: #include "support/LOstream.h", needed for inlined function.
11451
11452         * lyxtextclass.C:
11453         * lyxtextclasslist.C: added some using std declarations.
11454
11455 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11456
11457         * box.h: make signed dimensions to allow insets wider than
11458           the screen (bug #162)
11459
11460         * BufferView_pimpl.C: add some insetHit debug
11461
11462 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11463
11464         * vc-backend.C: add FIXME
11465
11466 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11467
11468         * lyxfunc.C (getStatus): enable code for showing math font status
11469         in toolbar/menu.
11470
11471 2002-01-07  Juergen Vigna  <jug@sad.it>
11472
11473         * text.C (nextBreakPoint): removed debug output not needed anymore.
11474
11475 2002-01-06  Juergen Vigna  <jug@sad.it>
11476
11477         * text.C (nextBreakPoint): fixed up this function we had this bug
11478         since ever but now hopefully we break row better.
11479         (insertChar): we have to check if an inset is the next char as it
11480         could now happen that a large inset is causing a break.
11481
11482 2002-01-05  Juergen Vigna  <jug@sad.it>
11483
11484         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11485         if it doesn't like to be drawed.
11486
11487 2002-01-04  Juergen Vigna  <jug@sad.it>
11488
11489         * BufferView2.C (lockInset): forgot to set a cursor.
11490
11491         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11492
11493 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11494
11495         * FormMathsPanel.C:
11496         * FormMathsPanel.h
11497         * MathsSymbols.C:
11498         * form_maths_panel.C:
11499         * form_maths_panel.h:
11500         * form_maths_panel.fd: implemented sub- and super- buttons in math
11501         panel.
11502
11503         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11504         (or ^ space) to be used as in TeX (req'd by André).
11505
11506         * lyxfunc.C: Allow ^ and _ again to be used both as
11507         super/subscript (mathed) and as themselves (in text).
11508
11509 2002-01-03  Allan Rae  <rae@lyx.org>
11510
11511         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11512         "LyX" or the filename of the current buffer if it has one.  This is a
11513         modified form of John Levon's patch.
11514
11515         * XFormsView.C (setWindowTitle): also set icon title.
11516
11517         * LyXView.h (setWindowTitle): signature changed.
11518         * XFormsView.h (setWindowTitle): ditto.
11519
11520 2002-01-02  Juergen Vigna  <jug@sad.it>
11521
11522         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11523
11524 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11525
11526         * screen.C (topCursorVisible): introduce a temp var for
11527         text->cursor.row(), handle the case where this row is null. (kindo
11528         hachish)
11529
11530         * text2.C (setCursor): add a couple of asserts.
11531
11532         * paragraph.h (inset_iterator): add -> operator
11533
11534         * paragraph.[Ch] (autoDeleteInsets): remove member function
11535
11536         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11537         cursor pos correctly and handle inset deletion by itself.
11538         (insertErrors): move iterator declaration out of for expression
11539
11540         * lyxtextclass.C: add <algorithm>
11541
11542         * Makefile.am: added the new files to sources, removed layout.C
11543
11544         * layout.C: removed file
11545
11546         * layout.h: remove LYX_DUMMY_LAYOUT
11547
11548         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11549         layout.
11550
11551         * lyxlayout.[Ch]:
11552         * lyxtextclass.[Ch]:
11553         * lyxtextclasslist.[Ch]: new files
11554
11555         * include order changes to a lot of files, also changes because of
11556         the six new files.
11557
11558 2001-12-27  Juergen Vigna  <jug@sad.it>
11559
11560         * buffer.C (asciiParagraph): more fixes.
11561
11562         * tabular.C (ascii): make ascii export support export of only the
11563         data separated by a column-delimiter.
11564         (ascii): better support for ascii export.
11565
11566         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11567
11568 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11569
11570         * tabular_funcs.C: use a "using std::getline" instead of the
11571         previous fix from Angus (necessary for cxx + lyxstring)
11572
11573 2001-12-24  Juergen Vigna  <jug@sad.it>
11574
11575         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11576
11577         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11578         problems. First check a minipage also if we have some ert-contents
11579         (not only on par->size(), second set the right depth of the paragraph
11580         on the relink to the root-paragraph-list!
11581
11582         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11583         which then did not anymore update the main paragraphs on undo/redo!
11584
11585 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11586
11587         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11588         code. Support all font-changing funcs (even those which are not in
11589         menu currently). Support for reporting font settings in
11590         mathed (disabled until Andre provides a function on mathed's side).
11591
11592         * func_status.h (toggle): small helper function to set toggle
11593         state on a flag.
11594
11595 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11596
11597         * tabular_funcs.C: getline -> std::getline
11598
11599 2001-12-21  Juergen Vigna  <jug@sad.it>
11600
11601         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11602         accessed and could be 0 (I couldn't generate this but it seems
11603         Michael could!).
11604
11605 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11606
11607         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11608         * tabular_funcs.h: here and include iosfwd
11609
11610 2001-12-20  Juergen Vigna  <jug@sad.it>
11611
11612         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11613         inside inset but undo_par was.
11614
11615 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11616
11617         * Thesaurus.C: always include <config.h> in sources.
11618
11619         * Painter.h:
11620         * lyxlookup.h:
11621         * box.h: do not include <config.h> in header files
11622
11623         * text.C (paintLastRow): remove unused variable
11624
11625         * text.C (transformChar):
11626         (insertChar):
11627         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11628
11629         * Painter.C (text):
11630         * font.C (width): rewrite to use uppercase() instead of
11631         islower/toupper.
11632
11633         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11634
11635 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11636
11637         * lyxfind.C: clean up of find failure position change
11638
11639 2001-12-20  Juergen Vigna  <jug@sad.it>
11640
11641         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11642
11643         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11644         (TeXRow): added to LaTeX a single tabular row.
11645         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11646         (Latex): simplified and finally good LT-h/f support.
11647         (various_functions): just small adaptions for LT-h/f support.
11648
11649         * tabular_funcs.[hC]: added and moved here all not classfunctions
11650         of LyXTabular.
11651
11652 2001-12-19  Juergen Vigna  <jug@sad.it>
11653
11654         * tabular.[Ch]: better support for longtabular options (not finished
11655         yet!)
11656
11657 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11658
11659         * text.C (paintLastRow): use the label font instead of the font of
11660         the last character to compute the size of *_BOX. This makes more
11661         sense and avoids a crash with empty paragraphs.
11662         Use Painter::rectangle to draw EMPTY_BOX.
11663
11664 2001-12-19  Juergen Vigna  <jug@sad.it>
11665
11666         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11667         the paragraphs if the replaced paragraph is not the first one!
11668         Tried to delete not used paragraphs but does not work yet so for
11669         now it's inside #ifdef's and by default off!
11670
11671 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11672
11673         * MenuBackend.C: include "lyx_main.h" instead of declaring
11674         lastfiles (actually was declared as LastFiles* instead of a
11675         scoped_ptr).
11676
11677 2001-12-17  Juergen Vigna  <jug@sad.it>
11678
11679         * tabular.C (AppendColumn): applied John's fix
11680
11681 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11682
11683         * BufferView.h:
11684         * BufferView.C:
11685         * BufferView_pimpl.h:
11686         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11687
11688         * Makefile.am:
11689         * box.h: new start of class for above
11690
11691         * lyxfunc.C: ignore space-only minibuffer dispatches.
11692           Show the command name when it doesn't exist
11693
11694         * minibuffer.C: don't add empty lines to the history
11695
11696         * minibuffer.C: add a space on dropdown completion
11697
11698 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11699
11700         * text.C: fix line above/below drawing in insets
11701
11702 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11703
11704         * lyxlength.C (LyXLength): Initialize private variables.
11705
11706 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11707
11708         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11709         when inserting error insets.
11710
11711 2001-12-13  Juergen Vigna  <jug@sad.it>
11712
11713         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11714         actually sometimes the before-paragraph.
11715         (setUndo): don't clear the redostack if we're not actually undoing!
11716
11717 2001-12-06  Juergen Vigna  <jug@sad.it>
11718
11719         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11720         and fixed redoing of main paragraph, so we can use it now ;)
11721
11722         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11723
11724 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11725
11726         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11727         Juergen's request
11728
11729 2001-12-13  André Pönitz <poenitz@gmx.net>
11730
11731         * undostack.[Ch]:
11732         * undo_func.C: minor cleanup
11733
11734 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11735
11736         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11737         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11738         font in urw-fonts package which is marked as -urw-fontspecific and
11739         does not work (incidentally, changing the encoding in the
11740         fonts.dir of this package to -adobe-fontspecific fixes the
11741         problem).
11742
11743         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11744         is a crash when undoing first paragraph (Juergen, please take a
11745         look). THis does not mean the undo fix is wrong, just that it
11746         uncovers problems.
11747
11748         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11749         the (Paragraph*) version when needed instead of duplicating the
11750         code.
11751
11752         * text.C (workWidth): use Inset::parOwner to find out where the
11753         inset has been inserted. This is a huge performance gain for large
11754         documents with lots of insets. If Inset::parOwner is not set, fall
11755         back on the brute force method
11756
11757         * paragraph_pimpl.C (insertInset):
11758         * paragraph.C (Paragraph):
11759         (cutIntoMinibuffer): set parOwner of insets when
11760         inserting/removing them
11761
11762         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11763
11764 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11765
11766         * commandtags.h:
11767         * LyXAction.C:
11768         * lyx_main.C:
11769         * lyxfunc.C:
11770         * mathed/formulabase.C:
11771         * mathed/math_cursor.[Ch]:
11772         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11773
11774
11775 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11776
11777         * lyxlength.[Ch] (operator!=): new function
11778
11779 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11780
11781         * text.C (workWidth): use Inset::parOwner to find out where the
11782         inset has been inserted. This is a huge performance gain for large
11783         documents with lots of insets. If Inset::parOwner is not set, fall
11784         back on the brute force method
11785
11786         * paragraph_pimpl.C (insertInset):
11787         * paragraph.C (Paragraph):
11788         (cutIntoMinibuffer): set parOwner of insets when
11789         inserting/removing them
11790
11791         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11792
11793 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11794
11795         * tabular-old.C (getTokenValue):
11796         * tabular.C (getTokenValue):
11797         (write_attribute): new versions for LyXLength
11798         (everywhere): adjust the use of widths
11799
11800         * tabular.h: change the type of widths from string to LyXLength
11801
11802 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11803
11804         * paragraph.C: fixed missing line number count when exporting
11805         Environments to LaTeX file
11806
11807         * buffer.C: added informational message for checking line numbers.
11808
11809 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11810
11811         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11812         paragraph, do the 'double space' part, but not the 'empty
11813         paragraph' one.
11814
11815         * text.C (workWidth): small optimization
11816         (getLengthMarkerHeight): use minimal size for negative lengths.
11817
11818 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11819
11820         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11821
11822         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11823
11824 2001-12-11  André Pönitz <poenitz@gmx.net>
11825
11826         * FontLoader.C:
11827         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11828
11829 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11830
11831         * text2.C: keep selection on a setFont()
11832
11833 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11834
11835         * lyx_cb.C: another bv->text misuse, from insert label
11836
11837 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11838
11839         * kbsequence.h:
11840         * kbsequence.C: re-instate nmodifier mask
11841
11842 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11843
11844         * lyx_main.h: make lyxGUI private.
11845
11846 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11847
11848         * lyxfind.C: place the cursor correctly on failed search
11849
11850 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11851
11852         * text.C (getLengthMarkerHeight): for small heights, the arrows
11853         are not always on top/bottom of the text
11854         (drawLengthMarker): smaller arrows; take the left margin in
11855         account; draw also vfills.
11856         (paintFirstRow):
11857         (paintLastRow): remove special code for vfill and standard spaces,
11858         since everything is handled in drawLengthMarker now.
11859
11860 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11861
11862         * buffer.C (insertErtContents): try to handle font and language
11863         interaction a bit better.g
11864
11865         * ColorHandler.C (updateColor): change the hash to cover the whole
11866         LColor enum, ws cleanup
11867         (getGCLinepars): ditto
11868         (getGCLinepars): only lookup in the linecache once.
11869
11870 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11871
11872         * iterators.C (operator++): Make the iterator more robust
11873
11874         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11875         (John's patch)
11876         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11877
11878 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11879
11880         * lyxtext.h:
11881         * text.C: better added space drawing
11882
11883 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11884
11885         * LyXView.C:
11886         * BufferView2.C: fix layout combo update on inset unlock
11887
11888 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11889
11890         * Makefile.am: don't compile unused files
11891
11892 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11893
11894         * lyxfunc.C:
11895         * commandtags.h:
11896         * LyXAction.C: remove old LFUN_LAYOUTNO
11897
11898 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11899
11900         * paragraph_pimpl.h:
11901         * paragraph_pimpl.C: isTextAt() doesn't need font param
11902
11903 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11904
11905         * lyxlex.h:
11906         * lyxlex.C: little cleanup
11907
11908 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11909
11910         * BufferView_pimpl.C: fix insertAscii for insets
11911
11912 2001-12-05  Juergen Vigna  <jug@sad.it>
11913
11914         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11915         set the right font on the "multi" paragraph paste!
11916
11917 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11918
11919         * trans_decl.h:
11920         * trans_mgr.[Ch]:
11921         * trans.[Ch]:
11922         * lyxgluelength.C:
11923         * lyxlength.C: remove out-commented code.
11924
11925         * BufferView_pimpl:
11926         * CutAndPaste.C:
11927         * DepTable.C:
11928         * buffer.C:
11929         * chset.C:
11930         * lastfiles.C:
11931         * lyxlex.C:
11932         * lyxlex_pimpl.C:
11933         * lyxserver.C:
11934         * screen.C:
11935         * tabular-old.C:
11936         * tabular.C:
11937         * text.C:
11938         * trans_mgr.C:
11939         * vc-backend.C: change "while(" to "while ("
11940
11941         * lyxlength.[Ch]: add zero function to check if length is zero or
11942         not
11943         * lyxgluelength.C: use it
11944
11945 2001-12-05  Allan Rae  <rae@lyx.org>
11946
11947         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11948         Works for 2.95.3, from what I understand of Garst's reports this should
11949         work for other g++ versions.  We're screwed if the abs(int) definition
11950         changed between bugfix releases of gcc.
11951
11952 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11953
11954         * text.C: fix chapter label offset !
11955
11956 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11957
11958         * lyxtext.h:
11959         * text.C: fix hfill at end of line, clean up
11960
11961 2001-12-04  Juergen Vigna  <jug@sad.it>
11962
11963         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11964         that we force an update of the inset and it's owners if neccessary.
11965
11966 2001-12-03  Juergen Vigna  <jug@sad.it>
11967
11968         * text.C (rowLast): simplified code
11969
11970 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11971
11972         * lyxfunc.C: fix show options on timeout
11973
11974 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11975
11976         * screen.C (topCursorVisible): scroll half a page when the cursor
11977         reached top of bottom of screen
11978
11979 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11980
11981         * minibuffer.C: deactivate on loss of focus
11982
11983 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11984
11985         * vspace.[Ch] (operator!=): add operator.
11986
11987 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11988
11989         * BufferView_pimpl.C: refuse to open an inset when
11990         there's a selection.
11991
11992 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11993
11994         * BufferView_pimpl.C: allow to click on RHS of full row insets
11995
11996 2001-11-30  Juergen Vigna  <jug@sad.it>
11997
11998         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11999         insets for undo reasons.
12000
12001 2001-11-28  André Pönitz <poenitz@gmx.net>
12002
12003         * vspace.[Ch]: cosmetical changes
12004
12005 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12006
12007         * LyXAction.h:
12008         * LyXAction.C:
12009         * lyxfunc.h:
12010         * lyxfunc.C:
12011         * kbmap.h:
12012         * kbmap.C:
12013         * lyxrc.C:
12014         * kbsequence.h:
12015         * kbsequence.C: part re-write of old kb code
12016
12017         * Painter.C:
12018         * WorkArea.C: remove Lgb_bug_find_hack
12019
12020 2001-11-30  José Matos <jamatos@fep.up.pt>
12021
12022         * buffer.C (makeDocBookFile): add a comment to point a hack.
12023         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12024         Fixed a double write of labels.
12025
12026 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12027
12028         * LaTeX.C:
12029         * LaTeX.h Fixed bug in LaTeX class where it would not
12030         re-run latex if no depfiles were changed, but the .dvi was removed.
12031
12032 2001-11-28  André Pönitz <poenitz@gmx.net>
12033
12034         * all the files from the change on 2001/11/26:
12035         use lyx::layout_type instead of LyXTextClass::size_type
12036         use lyx::textclass_type instead of LyXTextClassList::size_type
12037
12038 2001-11-29  Juergen Vigna  <jug@sad.it>
12039
12040         * text.C: added support for paragraph::isFreeSpacing()
12041
12042         * buffer.C: same as above
12043
12044         * paragraph.h: inserted isFreeSpacing() function to enable
12045         FreeSpacing inside InsetERT.
12046
12047         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12048         of the paragraph's in the cut/copy buffer to 0!
12049
12050         * text2.C (removeRow): remove the assert as it can!
12051
12052         * lyxtext.h: added helper function firstRow returning firstrow and
12053         made firstrow private again.
12054
12055         * BufferView2.C (lockInset): don't relock if we're already locked!
12056
12057         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12058         the only paragraph.
12059         (removeRow): added Assert::(firstrow)
12060
12061         * debug.C: forgot to add INSETTEXT here.
12062
12063 2001-11-28  Juergen Vigna  <jug@sad.it>
12064
12065         * sp_spell.C (initialize): changed error text to more general
12066         spellchecker command use (not only ispell!)
12067
12068         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12069
12070         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12071
12072 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12073
12074         * vspace.C: initialise lyxgluelength on failure
12075
12076 2001-11-28  Allan Rae  <rae@lyx.org>
12077
12078         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12079         declaration & definition that looks like a function declaration.
12080
12081 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12082
12083         * BufferView2.C (copy):
12084         (copyEnvironment): do not clear the selection when doing a copy.
12085
12086         * text.C (paintFirstRow): compilation fix
12087
12088 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12089
12090         * tabular.C (Latex): correct line count when writing latex.
12091
12092 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12093
12094         * paragraph_pimpl.h:
12095         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12096           bug a bit
12097
12098 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12099
12100         * text.C:
12101         * LColor.h:
12102         * LColor.C: change vfillline->added_space
12103
12104         * text.C: add markers and text for added space
12105
12106         * vspace.C: fix comment
12107
12108 2001-11-28  André Pönitz <poenitz@gmx.net>
12109
12110         * paragraph.C: whitespace changes
12111         * all the other files from the change on 2001/11/26:
12112         change *::pos_type into lyx::pos_type
12113
12114 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12115
12116         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12117         language of the document when inserting error insets.
12118
12119 2001-11-26  André Pönitz <poenitz@gmx.net>
12120
12121         * BufferView_pimpl.[Ch]:
12122         *       CutAndPaste.C:
12123         * buffer.[Ch]:
12124         * lyxcursor.[Ch]:
12125         * lyxfind.C:
12126         * lyxfunc.C:
12127         * lyxrow.[Ch]:
12128         * paragraph.[Ch]:
12129         * paragraph_pimpl.[Ch]:
12130         * sp_spell.C:
12131         * text.C:
12132         * text2.C: reduce header dependencies, introduce type for positions
12133
12134 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12135
12136         * <various>: change to use Alert.h
12137
12138 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12139
12140         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12141         when encountering an unknown token.
12142         (readLyXformat2): Show an error message if there were unknown tokens.
12143
12144 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12145
12146         * BufferView2.C:
12147         * BufferView_pimpl.C:
12148         * buffer.C:
12149         * paragraph.h:
12150         * text.C:
12151         * text2.C: use par->isInset()
12152
12153 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12154
12155         * paragraph_pimpl.h:
12156         * paragraph_pimpl.C: cleanup
12157
12158 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12159
12160         * text2.C (removeRow):
12161         * text.C (setHeightOfRow): remove useless (and costly) call to
12162         getRow.
12163
12164 2001-11-20  Allan Rae  <rae@lyx.org>
12165
12166         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12167         Now need Inset*::checkInsertChar() to return true for appropriate
12168         cases so that the characters in the minibuffer will actually be
12169         inserted.
12170
12171 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12172
12173         * text.C: change the order of the includes.
12174         (workWidth): initialize it at once.
12175         (workWidth): make maxw unsigned
12176         (setHeightOfRow): remove unused variable (inset)
12177         (selectSelectedWord): remove unused variable (inset)
12178         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12179
12180 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12181
12182         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12183         server is not running.
12184         (openConnection):
12185         (closeConnection): add debug info when server is disabled.
12186
12187         * ColorHandler.C (getGCForeground): send debug message to GUI
12188         channel.
12189
12190         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12191
12192         * kbmap.C (bind): modify because return conventions of
12193         kb_sequence::parse have changed.
12194
12195         * kbsequence.C (parse): only ignore spaces and not any stupid
12196         control character. This avoids tests like s[i] <= ' ', which are
12197         guaranteed to fail with 8bit characters and signed chars.
12198         Change return code to string::npos when there have been no error
12199         (0 was a bad idea when error is at first character)
12200
12201 2001-11-14  José Matos  <jamatos@fep.up.pt>
12202
12203         * buffer.h:
12204         * buffer.C (simpleDocBookOnePar): removed unused argument.
12205
12206 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12207
12208         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12209         insets which are part of a word. Paragraph::isLetter takes care of
12210         that now. Use Paragraph::isInset to identify insets.
12211         (selectSelectedWord): do not test for hyphenation break.
12212
12213         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12214         that protected spaces are considered as spaces.
12215
12216         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12217         Inset::isLetter.
12218
12219 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12220
12221         * lyxserver.h:
12222         * lyxserver.C: fix it. and small cleanup.
12223
12224 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12225
12226         * BufferView_pimpl.C: use inline helpers
12227
12228         * LaTeXFeatures.h:
12229         * LaTeXFeatures.C: fix typos
12230
12231         * Spacing.h:
12232         * Spacing.C: move spacing_string into class
12233
12234         * ToolbarDefaults.C: move stuff into namespace anon
12235
12236         * layout.h: update enum
12237
12238         * lyxfunc.C: use better debug
12239
12240         * minibuffer.h: fix typo
12241
12242         * debug.h:
12243         * debug.C:
12244         * WorkArea.C: add and use Debug::WORKAREA
12245
12246         * lyxtext.h:
12247         * text.C:
12248         * text2.C: code re-organisation, inline helpers
12249
12250 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12251
12252         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12253         std::vector.empty().
12254
12255 2001-11-09  Allan Rae  <rae@lyx.org>
12256
12257         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12258         '\n's after tables.  Tabular and ERT inset work now makes this no
12259         longer necessary.
12260
12261 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12262
12263         * minibuffer.h:
12264         * minibuffer.C: fix crash, improve drop-down completion
12265
12266 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12267
12268         * lyxserver.h:
12269         * lyxserver.C: invalidate fd's when doing endPipe()
12270
12271 2001-11-08  José Matos  <jamatos@fep.up.pt>
12272
12273         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12274         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12275
12276         * paragraph.h:
12277         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12278
12279 2001-11-07  José Matos  <jamatos@fep.up.pt>
12280
12281         * buffer.h:
12282         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12283         const qualifier.
12284
12285         * buffer.C (sgmlOpenTag):
12286         * buffer.C (sgmlCloseTag): removed debug info.
12287
12288         * buffer.h (sgmlOpenTag):
12289         * buffer.h (sgmlCloseTag): made public.
12290
12291 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12292
12293         * buffer.C (saveParamsAsDefaults):
12294         * lyx_cb.C (MenuLayoutSave): remove
12295
12296         * LyXAction.C (init):
12297         * commandtags.h:
12298         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12299
12300 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12301
12302         * buffer.C (setPaperStuff): removed from here...
12303
12304         * bufferparams.C (setPaperStuff): ... and moved there.
12305
12306 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12307
12308         * minibuffer.h:
12309         * minibuffer.C:
12310         * XFormsView.C: add support for drop-down completion
12311
12312 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12313
12314         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12315         commands.
12316
12317 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12318
12319         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12320         disabled.
12321
12322 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12323
12324         * lyx_main.C: change ref to known bugs
12325
12326 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12327
12328         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12329         to work around older babel problems.
12330
12331 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12332
12333         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12334
12335 2001-10-24  Juergen Vigna  <jug@sad.it>
12336
12337         * tabular-old.C (ReadOld): below variable changes reflected.
12338
12339         * tabular.[Ch]: added ltType struct for longtable header/footer
12340         defines and changed all instances where they are used. Added
12341         future support for double top/bottom rows.
12342
12343 2001-10-24  José Matos  <jamatos@fep.up.pt>
12344
12345         * buffer.h (docbookHandleCaption):
12346         * buffer.C (docbookHandleCaption): removed unused function.
12347         (makeDocBookFile): moved docbook supported version to v4.1.
12348
12349 2001-10-24  José Matos  <jamatos@fep.up.pt>
12350
12351         * tabular.h:
12352         * tabular.C (docbookRow): new function to export docbook code of a row.
12353         (DocBook): now honors the longtable flags.
12354
12355 2001-10-23  José Matos  <jamatos@fep.up.pt>
12356
12357         * LaTeXFeatures.h:
12358         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12359         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12360
12361         * buffer.C (makeLinuxDocFile):
12362         (makeDocBookFile): reworked the preamble, more clean, and with
12363         support for lyx defined entities. Changed the document declaration
12364         to be more XML friendly.
12365
12366         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12367         if we need to output XML that should be done with a filter.
12368
12369 2001-10-22  Juergen Vigna  <jug@sad.it>
12370
12371         * sp_pspell.h (class PSpell): add alive function needed in the
12372         controller to see if the spellchecker could be started.
12373
12374 2001-10-22  Juergen Vigna  <jug@sad.it>
12375
12376         * buffer.C (insertStringAsLines): modify the font for inserting
12377         chars in certain conditions by calling checkInsertChar(font).
12378
12379 2001-10-19  Juergen Vigna  <jug@sad.it>
12380
12381         * text.C (workWidth): use getRow instead of wrong algorithm.
12382         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12383
12384 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12385
12386         * lyxserver.h:
12387         * lyxserver.C:
12388         * lyx_main.h:
12389         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12390
12391 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12392
12393         * text.C (workWidth): do not search for the exact row when
12394         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12395         optimization for big documents.
12396
12397 2001-10-18  Juergen Vigna  <jug@sad.it>
12398
12399         * text.C (workWidth): new function with added Inset * parameter.
12400
12401 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12402
12403         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12404
12405         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12406         change return type of getColumnNearX.
12407
12408
12409         * text.C (changeRegionCase): use uppercase/lowercase instead of
12410         toupper/tolower.
12411         (leftMargin):
12412         (rightMargin): simplify code by factoring out the uses of
12413         textclasslist.
12414         (labelFill):
12415         (numberOfHfills):
12416         (setHeightOfRow):
12417         (appendParagraph): use Paragraph::size_type
12418
12419 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12420
12421         * vspace.C (asLatexString): add a missing break
12422
12423 2001-10-15  Herbert Voss  <voss@perce.de>
12424
12425         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12426
12427 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12428
12429         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12430         is not available.
12431
12432 2001-10-10  André Pönitz <poenitz@gmx.net>
12433
12434         * lyxfunc.C: removed greek_kb_flag.
12435
12436 2001-10-10  Herbert Voss  <voss@perce.de>
12437
12438         * lyx_main.C: delete global string help_lyxdir.
12439
12440 2001-10-09  Herbert Voss  <voss@perce.de>
12441
12442         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12443
12444         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12445
12446         * lyx_main.C: added global string help_lyxdir.
12447
12448         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12449
12450 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12451
12452         * lyxrc.C (set_font_norm_type): support iso8859-4
12453
12454 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12455
12456         * LaTeX.C (deplog): add another regex for MikTeX
12457
12458 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12459
12460         * lyxrc.C (set_font_norm_type): support iso8859-3
12461
12462 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12463
12464         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12465
12466         * LaTeXFeatures.C: remove special case of french and index
12467
12468         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12469         before \begin{document}). This solves several incompatibilities.
12470
12471 2001-10-03  Garst Reese  <reese@isn.net>
12472
12473         * lyx_cb.C: change CheckTex error msg.
12474
12475 2001-10-03  José Matos  <jamatos@fep.up.pt>
12476
12477         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12478
12479 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12480
12481         * .cvsignore: update
12482
12483         * lyx_main.C (commandLineVersionInfo): use new style version info.
12484
12485         * buffer.C (writeFile):
12486         (makeLaTeXFile):
12487         (makeLinuxDocFile):
12488         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12489
12490         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12491
12492         * version.h: update to use stuff in version.C
12493
12494         * version.C.in: new file. Contains version information determined
12495         at compile time. This is a merging of version.h and
12496         version_info.h.in.
12497
12498 2001-10-03  Juergen Vigna  <jug@sad.it>
12499
12500         * BufferView_pimpl.C (update): don't change "dirty" status in
12501         updateInset call.
12502
12503 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12504
12505         * WorkArea.C (c-tor): re-position version string slightly.
12506
12507 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12508
12509         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12510         revert to previous code.
12511
12512         WorkArea.[Ch]: (show, destroySplash): methods removed.
12513
12514         WorkArea.C: rework code so that it's an amalgam of the codes before and
12515         after the splash screen was moved to WorkArea.
12516
12517 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12518
12519         * lyxrc.C (read):
12520         * vspace.C (inPixels):
12521         (lyx_advance):
12522         * kbmap.C (bind):
12523         * buffer.C (insertStringAsLines):
12524         (asciiParagraph): fix types to be large enough
12525
12526         * lyxlex_pimpl.h: change member status from short to int
12527
12528         * layout.h: fix type of endlabeltype
12529
12530         * kbmap.C (bind):
12531         * kbsequence.C (parse): change return type to string::size_type
12532
12533         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12534         variable
12535
12536         * Bullet.C (bulletSize):
12537         (bulletEntry): do not use short ints as parameters
12538
12539         * BufferView2.C (insertLyXFile): change a char to an int.
12540
12541         * WorkArea.C (WorkArea): remove unneeded floats in computation
12542
12543 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12544
12545         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12546
12547         * paragraph.C (asString): Do not ignore newline/hfill chars when
12548         copying to the clipboard.
12549
12550 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12551
12552         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12553         after a multi-line inset.
12554
12555 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12556
12557         * paragraph.C (validate): Set NeedLyXFootnoteCode
12558
12559 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12560
12561         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12562         and decrease-error to decrease.
12563
12564 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12565
12566         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12567         it more readable (should be equivalent)
12568
12569 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12570
12571         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12572
12573 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12574
12575         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12576         of a cursor (row, etc.) after a character has been deleted
12577         (deleteEmptyParagraphMechanism): call the method above on _all_
12578         cursors held by the LyXText when a double space has been
12579         detected/deleted.
12580
12581 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12582
12583         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12584         pixmap.
12585         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12586
12587         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12588         background. Use greyOut() and the new show() methods to toggle between
12589         the foreground and background. Add code to remove the splash after
12590         its initial showing.
12591
12592         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12593         (create_forms): no longer call Dialogs::showSplash.
12594
12595 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12596
12597         * .cvsignore: add version_info.h
12598
12599 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12600
12601         * version_info.h.in: new file
12602
12603         * Makefile.am: add version_info.h.in
12604
12605         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12606         version_info.h instead of VERSION_INFO
12607
12608 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12609
12610         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12611         The ERT inset now returns string().
12612
12613 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12614
12615         * lyxtext.h, text.C (selectNextWord): renamed as
12616         selectNextWordToSpellcheck.
12617
12618         * text.C (selectNextWordToSpellcheck): Modified to not select
12619         words inside an ERT inset.
12620
12621 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12622
12623         * lyx_cb.C (MenuLayoutSave): change a bit the question
12624
12625         * sp_base.h: include <sys/types.h>
12626
12627 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12628
12629         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12630
12631 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12632
12633         * several files: fix typos in user-visible strings
12634
12635 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12636
12637         * text2.C (pasteSelection): do not set the selection, since it
12638         will be cleared later. Actually, the intent was to fix the way the
12639         selection was set, but I figured rmoving the code was just as good.
12640
12641 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12642
12643         * FontLoader.C (available): Check if font is available without
12644         loading the font.
12645
12646 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12647
12648         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12649
12650 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12651
12652         * lyxrc.[Ch]: added display_graphics variable and associated code.
12653
12654 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12655
12656         * bufferparams.C (hasClassDefaults): new method. Returns true if
12657         the buffer parameters correspond to known class defaults
12658
12659 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12660
12661         * XFormsView.C (show): set minimum size to the main window.
12662
12663 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12664
12665         * text2.C (copySelection):
12666         (cutSelection):
12667         * lyxfind.C (LyXReplace):
12668         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12669         LyXText::selectionAsString.
12670
12671         * paragraph.C (asString): add "label" argument to the second form
12672
12673         * text2.C (selectionAsString): add "label" argument and pass it to
12674         Paragraph::asString.
12675
12676 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12677
12678         * lyx_main.C (commandLineHelp): remove version information
12679
12680 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12681
12682         * lyx_main.C: add -version commandline option
12683
12684 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12685
12686         * paragraph.h: make the optional constructor arg required instead.
12687         some modifications to other files because of this.
12688
12689         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12690
12691         * lyxserver.C (C_LyXComm_callback): make it static
12692
12693         * lyx_main.C (error_handler): make it static
12694
12695         * lyx_gui.C (LyX_XErrHandler): make it static
12696
12697         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12698
12699         * WorkArea.C: make the extern "C" methods static.
12700
12701         * Makefile.am (lyx_LDADD): simplify
12702
12703 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12704
12705         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12706         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12707
12708         * LyXAction.C (init):
12709         * lyxfunc.C (dispatch): associated code removal.
12710
12711 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12712
12713         * lyxfont.h (isSymbolFont): shut off warning
12714
12715         * text.C (setHeightOfRow):
12716         (getVisibleRow): fix crash with empty paragraphs which have a
12717         bottom line
12718
12719 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12720
12721         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12722         code.
12723
12724 2001-09-04  José Matos  <jamatos@fep.up.pt>
12725         * buffer.C
12726         * buffer.h
12727         * tabular.C (docbook): rename docBook method to docbook.
12728
12729 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12730
12731         * Makefile.am: add dependencies to main.o.
12732
12733 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12734
12735         * FontLoader.C (available): Return false if !lyxrc.use_gui
12736
12737 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12738
12739         * FontInfo.C (query):
12740         * converter.C (view):
12741         * importer.C (Import):
12742         * exporter.C (Export): Can not -> cannot.
12743
12744 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12745
12746         * BufferView_pimpl.C: allow to create index inset even if
12747           string is empty
12748
12749 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12750
12751         * buffer.C (getLists): replace boost::tie code with an explicit pair
12752         as boost::tie can break some compilers.
12753
12754         * iterators.h: Added a std:: declaration to the return type of
12755         ParIterator::size.
12756
12757 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12758
12759         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12760           case.
12761
12762 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12763
12764         * iterators.[Ch]: New files. Provide paragraph iterators.
12765
12766         * buffer.C (changeLanguage): Use paragraph iterators.
12767         (isMultiLingual): ditto
12768
12769         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12770
12771 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12772
12773         * FontLoader.C: Support for cmr font.
12774
12775 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12776
12777         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12778         (available): New method.
12779
12780         * FontInfo.C (getFontname): Use scalable fonts even when
12781         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12782         found.
12783
12784 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12785
12786         * converter.C (Formats::view): reverted! Incorrect fix.
12787
12788 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12789
12790         * converter.C (Formats::view): only output the -paper option
12791         if the dvi viewer is xdvi, thereby fixing bug #233429.
12792
12793 2001-08-23  Herbert Voss  <voss@perce>
12794
12795         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12796
12797 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12798
12799         * Spacing.h (Spacing): Set space to Default on in the default
12800         constructor.
12801
12802 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12803
12804         * vc-backend.h (RCS::versionString): add RCS to version
12805         (CVS::versionString): add CVS to version
12806
12807         * vc-backend.C (scanMaster): do not add CVS to version.
12808         (scanMaster): do not add RCS to version
12809
12810         * lyxvc.C (versionString): new method
12811
12812         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12813
12814 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12815
12816         * Spacing.C (set): initialize fval
12817
12818 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12819
12820         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12821         " or \.
12822
12823 2001-08-16  Juergen Vigna  <jug@sad.it>
12824
12825         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12826
12827 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12828
12829         * BufferView_pimpl.C:
12830         * figureForm.C:
12831         * lyxtext.h:
12832         * text2.C: setParagraph takes linespacing now
12833
12834 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12835
12836         * LyxAction.C: add internal LFUN_CITATION_INSERT
12837
12838         * LyXView.C: actually apply fix
12839
12840         * bufferlist.C: fix open non-existent file
12841
12842         * lyxfind.C: fix indentation
12843
12844         * lyxfunc.C: remove unneeded assert, fix typo
12845
12846 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12847
12848         * MenuBackend.C: use "Floatname List"
12849
12850 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12851
12852         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12853         when converting LaTeX layout to insetERT.
12854         Generate a non-collapsed float when reading old float
12855
12856 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12857
12858         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12859         ERT insets.
12860
12861 2001-08-13  Juergen Vigna  <jug@sad.it>
12862
12863         * text.C (fill): return 0 instead of 20 as this seems to be the more
12864         correct value.
12865
12866 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12867
12868         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12869         lyxrc.font_norm.
12870
12871 2001-08-13  Juergen Vigna  <jug@sad.it>
12872
12873         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12874         casesensitive off.
12875         (SearchBackward): comment out the unlocking of the inset_owner this
12876         should not be needed!
12877
12878 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12879
12880         * Many files: Remove inherit_language, and add latex_language
12881
12882         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12883         collapsible insets.
12884
12885 2001-08-10  Juergen Vigna  <jug@sad.it>
12886
12887         * text.C (prepareToPrint): fixed hfill-width in draw!
12888
12889         * BufferView2.C (selectLastWord): save the selection cursor as this
12890         now is cleared in the function LyXText::clearSelection!
12891
12892 2001-08-08  Juergen Vigna  <jug@sad.it>
12893
12894         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12895         BACKSPACE type functions.
12896
12897         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12898         is only cutted from the document but not put in the cut-buffer, where
12899         still the old stuff should be.
12900
12901         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12902
12903         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12904
12905         * tabular.C (SetWidthOfCell): fixed special case where the width
12906         was not updated!
12907         (LeftLine): handle '|' in align_special.
12908         (RightLine): ditto
12909         (LeftAlreadyDrawed): ditto
12910         (SetWidthOfCell): ditto
12911
12912 2001-08-07  Juergen Vigna  <jug@sad.it>
12913
12914         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12915
12916 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12917
12918         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12919         * lyxlex.[hC]: ditto
12920
12921 2001-08-06  Juergen Vigna  <jug@sad.it>
12922
12923         * text.C (getVisibleRow): fix up row clearing a bit.
12924
12925 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12926
12927         * minibuffer.C: make sure the X server sees the changes in the input.
12928
12929 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12930
12931         * paragraph.C (getFont): split into...
12932         (getLabelFont): this
12933         (getLayoutFont): and this
12934         * paragraph_pimpl.C (realizeFont): calling this
12935
12936         * text2.C (getFont): split into...
12937         (getLayoutFont): this
12938         (getLabelFont): and this
12939         (realizeFont): all three calling this
12940
12941         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12942         files where used.
12943
12944 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12945
12946         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12947
12948 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12949
12950         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12951         layouts from the Quote inset insertion.
12952
12953 2001-08-03  Juergen Vigna  <jug@sad.it>
12954
12955         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12956
12957         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12958         only if status not is already CHANGED_IN_DRAW (second level).
12959
12960         * text.C (draw): don't set the need_break_row when inside an
12961         InsetText LyXText.
12962
12963 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12964
12965         * buffer.C (parseSingleLyXformat2Token): handle more latex
12966         conversion cases.
12967
12968         * bufferview_funcs.[hC]: change function names to
12969         begin with small char, adjust other files.
12970
12971 2001-08-02  André Pönitz <poenitz@gmx.net>
12972
12973         * lyxfunc.C:
12974         BufferView_pimpl.C: remove broken special code for math-greek
12975
12976 2001-08-02  Juergen Vigna  <jug@sad.it>
12977
12978         * BufferView_pimpl.C (update): redone this function so that we
12979         update the text again if there was a CHANGE_IN_DRAW.
12980
12981         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12982         (drawFromTo): added a new internal bool which is used by draw() and
12983         redraw() function.
12984         (general): some cursor drawing problems fixed.
12985
12986 2001-08-01  Juergen Vigna  <jug@sad.it>
12987
12988         * lyxfind.C (LyXFind): fixed
12989         (SearchForward): ditto
12990         (SearchBackward): ditto
12991
12992         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12993         spurius drawing of the cursor in the main area.
12994
12995         * text2.C (status): small fix which could lead to a segfault!
12996         (clearSelection): remove unneeded BufferView param.
12997
12998 2001-08-01  André Pönitz <poenitz@gmx.net>
12999
13000         * lyxfunc.C: small change due to changed mathed interface
13001
13002 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13003
13004         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13005
13006 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13007
13008         * lyxfunc.c: fail gracefully if file doesn't exist
13009
13010         * LyXSendto.C:
13011         * buffer.C:
13012         * lyxfunc.C:
13013         * BufferView_pimpl.C: IsDirWriteable() proto changed
13014
13015         * LyXView.C: fix updateWindowTitle() to store the last title
13016
13017 2001-07-31  Juergen Vigna  <jug@sad.it>
13018
13019         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13020         the font (wrong since using of Paragraph::highestFontInRange).
13021
13022         * paragraph.C (highestFontInRange): added a default_size parameter.
13023
13024         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13025         (setHeightOfRow): reformat
13026
13027 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13028
13029         * converter.[hC] + affected files: move to (inital-char)lowercase
13030         function names.
13031
13032         * ParagraphParameters.C (ParagraphParameters): remove commented code
13033
13034         * PainterBase.[Ch]: remove commented code
13035
13036         * LaTeXFeatures.h: add "bool floats" for float.sty
13037
13038         * LaTeXFeatures.C (LaTeXFeatures): init floats
13039         (require): handle float
13040         (getPackages): do it with floats
13041
13042 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13043
13044         * BufferView_pimpl.C (Dispatch): improve handling of
13045         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13046
13047         * commandtags.h: #include lyxfont.h here temporarily to avoid
13048         keybinding bug.
13049
13050         * bufferlist.h: include LString.h here.
13051
13052 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13053
13054         * text2.C (getStringToIndex): new method.
13055
13056 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13057
13058         * *: Reduced header file dependencies all over.
13059
13060 2001-07-30  Baruch Even  <baruch@lyx.org>
13061
13062         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13063
13064 2001-07-29  Baruch Even  <baruch@lyx.org>
13065
13066         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13067
13068 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13069
13070         * ParameterStruct.h (endif): add a default constructor to make
13071         sure that all variables is initialized.
13072
13073         * ParagraphParameters.C (ParagraphParameters): adjust
13074
13075 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13076
13077         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13078         index; also, check that there is something to index, and that it
13079         does not span over several paragraphs.
13080         (doubleClick): use WHOLE_WORD_STRICT for double click.
13081
13082         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13083
13084         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13085         scheme.
13086
13087 2001-07-26  Baruch Even  <baruch@lyx.org>
13088
13089         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13090         an InsetFig figure, backwards compatible reading of old figure code.
13091
13092 2001-07-27  Juergen Vigna  <jug@sad.it>
13093
13094         * text2.C: font.realize function adaption.
13095
13096         * text.C (draw): add a warnings lyxerr text if needed.
13097
13098         * layout.C: font.realize function adaption.
13099
13100         * language.C: add inherit_language and implement it's handlings
13101
13102         * bufferview_funcs.C (StyleReset): remove language parameter from
13103         font creation (should be language_inherit now).
13104
13105         * bufferparams.C (writeFile): handle ignore_language.
13106
13107         * paragraph.C (getFontSettings): the language has to be resolved
13108         otherwise we have problems in LyXFont!
13109
13110         * lyxfont.C (lyxWriteChanges): added document_language parameter
13111         (update): removed unneeded language parameter
13112
13113         * paragraph.C (validate): fixed wrong output of color-package when
13114         using interface colors for certain fonts in certain environments,
13115         which should not seen as that on the final output.
13116
13117 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13118
13119         * BufferView_pimpl.C:
13120         * Thesaurus.h:
13121         * Thesaurus.C:
13122         * Makefile.am:
13123         * commandtags.h:
13124         * LyXAction.C: add thesaurus support
13125
13126         * lyxfind.h:
13127         * lyxfind.C: add "once" parameter, for thesaurus, to not
13128           move to the next match
13129
13130 2001-07-26  Juergen Vigna  <jug@sad.it>
13131
13132         * lyxfont.C (realize): honor ignore_language too!
13133         (resolved): ditto.
13134
13135         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13136
13137         * text.C (draw): one place more for ignore_language to not draw
13138         itself!
13139
13140 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13141
13142         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13143
13144 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13145
13146         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13147         the minipage conversion problem.
13148
13149 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13150
13151         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13152         insert an inset.
13153
13154 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13155
13156         * BufferView.h: don't forward declare WorkArea
13157
13158         * BufferView.C: don't include WorkArea.h
13159
13160 2001-07-25  André Pönitz <poenitz@gmx.net>
13161
13162         * commandtags.h:
13163         * LyXAction.C:
13164         * lyxfunc.C:  new LFUN 'math-space'
13165
13166         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13167
13168 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13169
13170         * text2.C (toggleInset): call open/close
13171
13172 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13173
13174         * lyxfunc.C (dispatch): add debug for the disabled case
13175
13176         * font.C (buttonText): make similar to rectText
13177
13178         * buffer.C (readInset): comment out parsing of insetlist and
13179         insttheorem
13180
13181         * PainterBase.C (rectText): small correction
13182
13183         * BufferView_pimpl.C: comment out insettheorem and insetlist
13184         * LyXAction.C: ditto
13185         * commandtags.h: ditto
13186
13187 2001-07-24  Juergen Vigna  <jug@sad.it>
13188
13189         * text.C (draw): honor the ignore_language.
13190
13191         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13192
13193 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13194
13195         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13196         char inset.
13197
13198 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13199
13200         * lyxtext.h: remove unused (and unimplemented) methods
13201
13202 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13203
13204         * text.C (getVisibleRow): honor background color
13205
13206         * PainterBase.h:
13207         * Painter.h: remove default color argument for fillRectangle
13208
13209         * text.C (backgroundColor): new method
13210
13211 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13212
13213         * text.C (getVisibleRow): adjust
13214
13215         * font.[Ch] (rectText): new method, metrics
13216         (buttonText): new method, metrics
13217
13218         * PainterBase.[hC]: make rectText and buttonText always draw and take
13219         fewer paramteres.
13220
13221 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13222
13223         * ToolbarDefaults.C (read):
13224         * MenuBackend.C (read): allow escaping in all strings
13225
13226         * BufferView_pimpl.C (insertAndEditInset): new method.
13227         (Dispatch): use insertAndEditInset whenever appropriate.
13228
13229         * BufferView_pimpl.C (insertNote): removed
13230
13231         * BufferView_pimpl.C (smartQuote): new method, moved from
13232         BufferView; if an insetquote cannot be inserted, insert a '"'
13233         character instead.
13234
13235         * BufferView2.C: remove insertCorrectQuote();
13236
13237         * lyxfunc.C (getStatus): Add support for all remaingin
13238         inset-insert lfuns.
13239
13240         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13241
13242         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13243         command (necessary to pass " as parameter of self-insert.
13244
13245         * text.C (selectWordWhenUnderCursor):
13246         (selectWord): add word_location parameter
13247         (selectWordWhenUnderCursor): same + remove special code for word
13248         boundary.
13249         (selectNextWord): use kind() to guess type of insetspecialchar,
13250         not latex().
13251
13252         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13253         (insertErtContents): create ert insets as collapsed.
13254         (readInset): better compatibility code for Info inset.
13255
13256 2001-07-20  Juergen Vigna  <jug@sad.it>
13257
13258         * lyxfunc.C (dispatch): use always LyXFind now!
13259
13260         * text2.C (init): add a reinit flag so that the LyXText can be
13261         reinited instead of deleted and reallocated (used in InsetText).
13262
13263         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13264
13265         * text.C: ditto
13266
13267         * text2.C: ditto
13268
13269 2001-07-18  Juergen Vigna  <jug@sad.it>
13270
13271         * text.C (selectNextWord): handle insets inside inset by calling
13272         always the bv->text functions so that we can go up the_locking_inset!
13273
13274         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13275         in strange locations when inside an inset!
13276
13277         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13278         handling to include insets.
13279
13280         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13281
13282 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13283
13284         * LyXAction.C (init):
13285         * commandtags.h:
13286         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13287         LIGATURE_BREAK, since the name is so stupid.
13288
13289 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13290
13291         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13292         InsetInfos.
13293
13294         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13295
13296         * sp_form.[Ch]: remove.
13297
13298         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13299
13300         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13301         InsetInfo.
13302
13303         * src/buffer.C (readInset): ditto.
13304
13305 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13306
13307         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13308         menuSeparator(), endOfSentenceDot(), ldots() and
13309         hyphenationPoint(), which are therefore removed.
13310         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13311
13312         * LyXAction.C (init):
13313         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13314
13315         * paragraph.C (getWord): removed.
13316
13317         * BufferView_pimpl.C (Dispatch): use last word or selection for
13318         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13319
13320         * lyx_main.C (queryUserLyXDir): do not ask before creating
13321         user_dir, except if it has been named explicitely.
13322
13323 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13324
13325         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13326         a document of zero size.
13327
13328 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13329
13330         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13331         approriately in the c-tor and in require().
13332         (getPackages): output the appropriate LaTeX for natbib support.
13333
13334         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13335         variables "use_natbib" and "use_numerical_citations" when reading the
13336         LyX file.
13337         (readInset): read the various natbib cite commands.
13338         (validate): white-space change.
13339
13340         * bufferparams.[Ch]: new variables "bool use_natbib" and
13341         "bool use_numerical_citations".
13342         (writeFile): output them in the LyX file.
13343
13344 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13345
13346         * lyxfunc.C (getStatus): add support for all the inset insertion
13347         commands.
13348
13349         * text2.C (insertInset):
13350         * paragraph.C (insetAllowed):
13351         * BufferView_pimpl.C (insertInset): update to take in account the
13352         renaming of insertInsetAllowed
13353
13354         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13355
13356         * text2.C (getInset): new method. returns inset at cursor position.
13357
13358         * BufferView_pimpl.C (Dispatch): changes because of this.
13359
13360         * LyXAction.C (init): rename open-stuff to inset-toggle.
13361
13362         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13363
13364         * text2.C (toggleInset): renamed from openStuff; use
13365         Inset::open().
13366
13367 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13368
13369         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13370
13371         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13372
13373 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13374
13375         * buffer.C (readLyXformat2): Add filename to the error dialog
13376
13377 2001-07-18  Juergen Vigna  <jug@sad.it>
13378
13379         * tabular.C (GetCellNumber): put an assert here instead of the check!
13380
13381 2001-07-17  Juergen Vigna  <jug@sad.it>
13382
13383         * BufferView_pimpl.C (toggleSelection): adapted too.
13384
13385         * text.C (selectNextWord): adapted for use with insets.
13386         (selectSelectedWord): ditto
13387
13388 2001-07-17  Juergen Vigna  <jug@sad.it>
13389
13390         * sp_spell.C (PSpell): fix initialitation order.
13391
13392 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13393
13394         * paragraph.C: spacing
13395
13396 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13397
13398         * sp_spell.C: repair language selection for pspell
13399
13400 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13401
13402         * lyxfunc.h: change more methods to begin with lower char.
13403
13404 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13405
13406         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13407         for unknown layouts.
13408
13409 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13410
13411         * buffer.C (readLyXformat2): Generate an error dialog if there are
13412         unknown layouts.
13413
13414 2001-07-16  Juergen Vigna  <jug@sad.it>
13415
13416         * sp_spell.C: always compile ISpell part.
13417
13418         * lyxrc.C: added use_pspell entry and it's handling.
13419
13420 2001-07-13  Juergen Vigna  <jug@sad.it>
13421
13422         * sp_spell.C: removed double includes.
13423
13424 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13425
13426         Consistent use of Lsstream.h:
13427         * Lsstream.h: added using std::stringstream for consistencies sake.
13428
13429         * buffer.C: removed using std::stringstream
13430
13431         * lyxfont.C (stateText):
13432         * paragraph.C (asString):
13433         * text.C (selectNextWord, selectSelectedWord):
13434         * text2.C (setCounter):
13435         * vspace.C (asString, asLatexString):
13436         std::ostringstream -> ostringstream.
13437
13438 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13439
13440         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13441         * commandtags.h: add LFUN_HELP_ABOUTLYX
13442         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13443
13444 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13445
13446         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13447         cursorToggle()
13448         * lyx_gui_misc.C: remove spellchecker
13449         * lyxfunc.C: showSpellchecker
13450         * sp_base.h: added
13451         * sp_ispell.h: added
13452         * sp_pspell.h: added
13453         * sp_spell.C: added
13454         * sp_form.[Ch]: removed
13455         * spellchecker.[Ch]: removed
13456
13457 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13458
13459         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13460         is set.
13461         (simpleTeXSpecialChars): Simply print the input character without
13462         any special translation if pass_thru is set.
13463
13464         * layout.h: Added bool pass_thru to layout class for being able to
13465         implement pass through of a paragraph for Literate Programming.
13466
13467         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13468         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13469         * layout.C (Read): add "passthru" to list of layout tags and add
13470         code to set the pass_thru boolean when it is read.
13471
13472 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13473
13474         * trans_decl.h: remove allowed from KmodInfo
13475
13476         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13477         remove allowed code
13478         (Load): adjust
13479
13480         * paragraph_pimpl.C (erase): use boost::prior
13481
13482         * Painter.C (text): use data() instead of c_str() when length is
13483         also provided.
13484         * WorkArea.C (putClipboard): ditto
13485         * font.h (width): ditto
13486
13487         * BufferView2.C: use it-> instead of (*it). for iterators
13488         * texrow.C: ditto
13489         * paragraph_pimpl.C: ditto
13490         * paragraph.C: ditto
13491         * minibuffer.C: ditto
13492         * language.C: ditto
13493         * kbmap.C: ditto
13494         * encoding.C: ditto
13495         * counters.C: ditto
13496         * converter.C: ditto
13497         * chset.C: ditto
13498         * Variables.C: ditto
13499         * TextCache.C: ditto
13500         * MenuBackend.C: ditto
13501         * LyXAction.C: ditto
13502         * LColor.C: ditto
13503         * FloatList.C: ditto
13504         * DepTable.C: ditto
13505         * ColorHandler.C (LyXColorHandler): ditto
13506
13507 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13508
13509         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13510
13511         * text2.C (openStuff): reintroduce this method (which had been
13512         nuked in NEW_INSETS frenzy).
13513
13514         * lyxfunc.C (Dispatch): when an action has not been handled, use
13515         its name in the error message, not its number.
13516
13517         * paragraph.C (inInset): change method name to begin with lowercase.
13518
13519         * undo_funcs.C:
13520         * text2.C: updates because of this.
13521
13522 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13523
13524         * ToolbarDefaults.C (add): add spaces in error message
13525
13526 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13527
13528         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13529         (readLyXformat2): rename return_par to first_par, use lyxlex's
13530         pushToken and remove the manual push handling.
13531         (parseSingleLyXformat2Token): add another ert comp. variable:
13532         in_tabular, rename return_par to first_par. handle newlines better
13533
13534 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13535
13536         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13537
13538 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13539
13540         * text2.C (getParFromID): removed
13541
13542         * buffer.C (getParFromID): new method moved form lyxtext.
13543         * BufferView2.C (insertErrors): adjust
13544         (setCursorFromRow): adjust
13545         * BufferView_pimpl.C (restorePosition): adjust
13546         * lyxfunc.C (Dispatch): adjust
13547         * undo_funcs.C (textUndo): adjust
13548         (textRedo): adjust
13549         (textHandleUndo): adjust
13550         (textHandleUndo): adjust
13551
13552 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13553
13554         * buffer.C: up' the LYX_FORMAT
13555
13556         * lyxfont.h: turn NO_LATEX on as default
13557
13558         * buffer.C (insertErtContents): new methods of tex style compability.
13559         (parseSingleLyXformat2Token): use it several places.
13560         * tabular.C (OldFormatRead): and here
13561
13562 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13563
13564         * text2.C: remove some commented code.
13565         reindent file.
13566
13567         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13568         * trans.C: changes because of the above.
13569
13570 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13571
13572         * text2.C (setCounter): Fix counters bug with bibliography layout.
13573
13574 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13575
13576         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13577         own member functions
13578         (simpleTeXSpecialChars): ditto
13579
13580 2001-07-06  Juergen Vigna  <jug@sad.it>
13581
13582         * a lot of files: changed the access to LyXText::status and the
13583         call of undo-functions.
13584
13585         * undo.[Ch]: added a inset_id to the undo informations.
13586
13587         * undo_funcs.[Ch]: added and moved here all undo functions.
13588
13589         * lyxtext.h: give the status enum a weight, made status_ a private
13590         variable and made accessor functions for it, removed the whole bunch
13591         of undo-functions as they are now in their own file, make some
13592         functions publically available. Added function ownerParagraph with
13593         int parameter.
13594
13595         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13596         made InInset() a const function, added getParFromID() function.
13597
13598         * buffer.[Ch]: added const version for inset_iterator functions,
13599         added getInsetFromID() function.
13600
13601         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13602         changed undo functions for new version.
13603
13604 2001-07-05  Juergen Vigna  <jug@sad.it>
13605
13606         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13607         unknow mechanism does not call the proper constructor but only this
13608         one also if I request the other!?
13609
13610 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13611
13612         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13613
13614         * text2.C (LyXText): use initialization lists.
13615
13616         * lyxtext.h (Selection): initialize set_ and mark_
13617         (init): remove method
13618
13619 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13620
13621         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13622
13623 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13624
13625         * screen.[Ch]: change method names to begin with lowercase
13626
13627         * BufferView_pimpl.C (updateScrollbar): simplify further and
13628         hopefully make it a bit faster.
13629
13630 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13631
13632         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13633         calling directly xforms functions.
13634
13635         * Painter.C (Painter):
13636         * lyx_cb.C (MenuWrite):
13637         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13638         fl_display.
13639
13640         * lyx_gui.C: remove bogus guiruntime extern declaration.
13641
13642 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13643
13644         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13645         in NEW_INSETS
13646         (redoDrawingOfParagraph): ditto
13647         (redoParagraphs): ditto
13648         (cutSelection): don't create a object for CutAndPaste use the
13649         static method directly
13650         (pasteSelection): ditto
13651
13652         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13653         LyXview (+ rename)
13654
13655 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13656
13657         * modifications to some other files because of this.
13658
13659         * Makefile.am (lyx_SOURCES): add XFormsView
13660
13661         * XFormsView.[Ch]: new files
13662
13663         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13664         the main window. Move the gui dependent stuff to XFormsView
13665
13666 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13667
13668         * tabular.C (GetCellInset): update cur_cell also in the row/col
13669         version of this function.
13670
13671         * lyxfunc.C: no need to include figure_form.h here.
13672
13673         * FontLoader.h:
13674         * lyxfunc.h:
13675         * lyxscreen.h:
13676         * text2.C:
13677         * lyxvc.C: no need to include forms.h here.
13678
13679 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13680
13681         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13682
13683         * lyxfunc.C (Dispatch):
13684         * Spacing.C (set):
13685         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13686         constructor argument.
13687
13688 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13689
13690         * paragraph.C (Paragraph): dont't clear, and just set layout.
13691         (makeSameLayout): use params's copy contructor.
13692
13693         * ParagraphParameters.[Ch] (makeSame): delete method
13694
13695 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13696
13697         * Variables.[Ch]: fix indentation, rename set to isSet
13698
13699 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13700
13701         * lyxfunc.C (Dispatch): fix typo
13702
13703 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13704
13705         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13706         upper_bound.
13707
13708         * bufferlist.C: include assert.h for emergencyWrite().
13709
13710 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13711
13712         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13713           give up at last (bug #425202) !
13714
13715 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13716
13717         * lyx_gui_misc.C:
13718         * sp_form.h:
13719         * sp_form.C:
13720         * spellchecker.h:
13721         * spellchecker.C: strip spellchecker options and bring up
13722           preferences tab instead
13723
13724 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13725
13726         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13727         the istringstream constructor
13728
13729 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13730
13731         * paragraph.C (getLayout): fix return value
13732
13733         * paragraph.h: do not declare getLayout as inline.
13734
13735         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13736
13737 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13738
13739         * lyxcursor.h (operator<): new func
13740         (operator>): new func
13741         (operator>=): new func
13742         (operator<=): new func
13743
13744         * text.C (changeCase): use selection.start and selection.end
13745         (changeRegionCase): require from to be <= to. Require par to be a
13746         valid paragraph.
13747
13748         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13749
13750 2001-06-27  Juergen Vigna  <jug@sad.it>
13751
13752         * text.C (cursorLeftOneWord): changed to return the cursor and added
13753         overlay with BufferView * parameter which calls this one.
13754         (getWord): added
13755         (selectWord): use new getWord function.
13756         (changeCase): renamed from changeWordCase as and extended to work
13757         also on selections.
13758
13759         * lyxtext.h: added enum word_location
13760
13761         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13762         changeCase as this operates now also on selections.
13763
13764 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13765
13766         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13767
13768         * many files: send debug output to Debug::INFO instead of
13769         Debug::ANY.
13770
13771         * converter.C (View):
13772         (Convert):
13773         (Move): send debug output to Debug::FILES instead of console.
13774
13775 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13776
13777         * lyxfunc.C (getStatus): use func_status
13778
13779         * func_status.h: new header, describing the results of
13780         LyXFunc::getStatus;
13781
13782         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13783         LFUN_MATH_HALIGN.
13784
13785 2001-06-25  The LyX Project  <jug@sad.it>
13786
13787         * buffer.C (sgmlOpenTag):
13788         (sgmlCloseTag):
13789         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13790
13791 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13792
13793         * text2.C: remove some dead code
13794
13795         * tabular.C (GetCellInset): store the last cell checked (gotten)
13796
13797         * tabular.h: add the helper for the speedup
13798
13799         * lyxtext.h: remove some dead code
13800
13801 2001-06-26  The LyX Project  <Asger>
13802
13803         * paragraph.C: Change export to LaTeX of alignment to
13804         \begin{center} and family for better roundtrip work with reLyX.
13805
13806         * Tune the math drawing a bit.
13807
13808 2001-06-25  The LyX Project  <Asger>
13809
13810         * LColor.C (LColor): New color for math background. New color
13811         for buttons.
13812
13813 2001-06-25  The LyX Project  <jug@sad.it>
13814
13815         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13816
13817         * lyxfunc.C (Open):
13818         * bufferlist.C (newFile): do not restrict to files ending with
13819         .lyx
13820
13821         * BufferView_pimpl.C (MenuInsertLyXFile):
13822
13823 2001-06-24  The LyX Project  <jug@sad.it>
13824
13825         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13826         of compare_no_case
13827
13828 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13829
13830         * lyxtext.h: rename most methods to begin with a small char.
13831         Lots of changes because of this.
13832
13833         * paragraph.C (Paragraph): do not call fitToSize
13834         (erase): call Pimpl::erase
13835         (insertChar): call Pimpl::insertChar
13836         (insertInset): call Pipl::insertInset
13837         (breakParagraph): do not call fitToSize
13838         (breakParagraphConservative): do not call fitToSize
13839         (fitToSize): remove method
13840
13841         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13842
13843 2001-06-24  The LyX Project  <Asger>
13844
13845         * Fix Qt compilation^2
13846
13847 2001-06-24  The LyX Project  <jug@sad.it>
13848
13849         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13850         depthHook(getDepth()-1).
13851
13852         * paragraph.h:
13853         * ParagraphParameters.h:
13854         * ParameterStruct.h: change type of depth to unsigned int ==
13855         depth_type. Many adaptations to other files before of that.
13856
13857 2001-06-24  The LyX Project  <Asger>
13858
13859         * Fix Qt compilation.
13860
13861 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13862
13863         * paragraph.h: renamed several methods to begin with small letter.
13864         several changes to many parts of the code because of this.
13865
13866 2001-06-23  The LyX Project  <jug@sad.it>
13867
13868         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13869         rewritten to discard all double spaces when KeepEmpty is off
13870         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13871         to only handle newlines but not fiddle with spaces and friends.
13872
13873         * lyxfunc.C (MenuNew): when doing 'new from template', use
13874         template_path as default directory
13875
13876 2001-06-23  The LyX Project  <Asger>
13877
13878         * Clean-up of header file includes all over
13879         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13880
13881 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13882
13883         * paragraph.h: renamed from lyxparagraph.h
13884
13885 2001-06-23  Asger  <lyx@violet.home.sad.it>
13886
13887         * Buffer.h: Removed Buffer::resize
13888         * BufferList.h: Removed BufferList::resize
13889         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13890         the document lazily when we change the width, or the font settings.
13891
13892 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13893
13894         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13895
13896 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13897
13898         * buffer.h: remove out of date comment
13899
13900 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13901
13902         * lyxscreen.h:
13903         * screen.C: fix "theoretical" GC leak
13904
13905 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13906
13907         * LaTeX.C (scanAuxFile):
13908         (deplog): remove trailing \r when reading stream (useful under
13909         win32)
13910
13911 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13912
13913         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13914         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13915         and BufferView::theLockingInset(Inset*), so should use them and not
13916         access bv_->text->the_locking_inset directly.
13917
13918         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13919
13920 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13921
13922         * Makefile.am:
13923         * tex-defs.h: remove old unused file
13924
13925 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13926
13927         * BufferView_pimpl.C: fix typo, remove minibuffer message
13928           when buffer has loaded
13929
13930 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13931
13932         * lyxfunc.C (Dispatch): use stringstream
13933         (MenuNew): use stringstream
13934         (Open): use stringstream
13935
13936         * importer.C (Import): use stringstream
13937
13938         * bufferview_funcs.C (CurrentState): use stringstream
13939
13940         * LaTeX.C (run): use stringstream
13941
13942         * BufferView_pimpl.C (savePosition): use stringstream
13943         (restorePosition): use stringstream
13944         (MenuInsertLyXFile): use stringstream
13945
13946 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13947
13948         * BufferView.C:
13949         * Bullet.C:
13950         * ColorHandler.C:
13951         * FontInfo.C:
13952         * FontLoader.C:
13953         * LColor.C:
13954         * LaTeXFeatures.C:
13955         * Painter.C:
13956         * gettext.C:
13957         * lyx_gui_misc.C:
13958         * lyxserver.C:
13959         * vspace.C: removed // -*- C++ -*- as first line.
13960
13961         * lyxfind.h:
13962         * version.h: added // -*- C++ -*- as first line.
13963
13964 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13965
13966         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13967
13968         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13969         of string
13970
13971 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13972
13973         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13974         of floats.
13975
13976 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13977
13978         * gettext.C: include LString.h even when --disable-nls is on.
13979
13980 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13981
13982         * converter.h (Get): changed argument type from int to
13983         FormatList::size_type to avoid unnecessary conversion.
13984
13985         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13986         before using it.
13987
13988 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13989
13990         * gettext.h: include LString.h even when --disable-nls is on.
13991
13992 2001-06-07  Juergen Vigna  <jug@sad.it>
13993
13994         * text.C (BreakAgain): subst spaces with tabs.
13995
13996         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13997         (resizeInsetsLyXText): set force on resizeLyXText.
13998
13999 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14000
14001         * gettext.h (gettext_init):
14002         (locale_init): use a real definition instead of a macro
14003
14004 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14005
14006         * Bufferview_pimpl.C:
14007         * LColor.h:
14008         * LColor.C: further lcolor tidies
14009
14010 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14011
14012         * BufferView_pimpl.C (updateScrollbar): simplify.
14013
14014         * BufferView2.C: don't include insets/insetinfo.h, change
14015         prototype for insertInset and call the Pimpl version. let
14016         updateInset call Pimpl version.
14017
14018         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14019         gotoInset to BufferView::Pimpl
14020
14021 2001-06-01  Juergen Vigna  <jug@sad.it>
14022
14023         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14024         inside a LockingInset (is the update needed at all?).
14025
14026 2001-05-31  Juergen Vigna  <jug@sad.it>
14027
14028         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14029         here not the old one otherwise how should we compare it afterwards
14030         if it's the same!
14031
14032 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14033
14034         * lyxfont.C:
14035         * tabular.C:
14036         * tabular-old.C:
14037         * FontInfo.C: bring C functions into global namespace when
14038         necessary
14039
14040 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14041
14042         * LString.h: make sure config.h has been loaded before LString.h.
14043
14044         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14045         (one for each char read by EatLine!).
14046
14047         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14048         variables.
14049
14050 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14051
14052         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14053         to the same as the par we break from
14054
14055 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14056
14057         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14058
14059         * MenuBackend.C (expand): also create menu entries for wide
14060         versions of the floats.
14061
14062         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14063
14064         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14065
14066         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14067         frontends/Makefile.am
14068
14069         * text2.C: adjust
14070         * text.C: adjust
14071
14072
14073         * tabular.C (getTokenValue): add std::
14074
14075         * tabular-old.C (getTokenValue): add std::
14076         (getTokenValue): ditto
14077         (getTokenValue): ditto
14078
14079         * screen.C (ToggleSelection): adjust
14080
14081         * lyxtext.h: put selection cursors inside a Selection struct.
14082
14083         * lyxfunc.C (moveCursorUpdate): adjust
14084
14085         * lyxfont.C (latexWriteStartChanges): add std::
14086
14087         * lyxfind.C: adjust
14088
14089         * font.h: delete with(char const *, LyXFont const &)
14090
14091         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14092
14093         * FontInfo.C (getFontname): add std::
14094
14095         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14096         (workAreaButtonPress): adjust
14097         (tripleClick): adjust
14098         (update): adjust
14099         (moveCursorUpdate): adjust
14100         (Dispatch): adjust
14101
14102         * BufferView2.C (gotoInset): adjust
14103
14104 2001-05-30  Juergen Vigna  <jug@sad.it>
14105
14106         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14107         to check pspell I add this as default as I now have new pspell
14108         libraries and they seem to use this.
14109
14110 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14111
14112         * text2.C (CutSelection): make the cursor valid before the call to
14113         ClearSelection.
14114
14115 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14116
14117         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14118         relied on 0 terminated strings and other horrors. Bug found due to
14119         the new assert in lyxstring!
14120
14121         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14122         KP_ keys.
14123
14124 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14125
14126         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14127         to latinkeys.bind.
14128
14129         * lyxfunc.C (processKeySym): change method of getting to the
14130         self-insert char.
14131
14132         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14133         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14134         * BufferView_pimpl.[Ch]: here as private methods.
14135
14136 2001-05-28  Juergen Vigna  <jug@sad.it>
14137
14138         * text.C (SetHeightOfRow): added the update() call again as it is
14139         needed to initialize inset dimensions!
14140
14141 2001-05-16  Juergen Vigna  <jug@sad.it>
14142
14143         * text2.C (SetCharFont): Add new function with BufferView * and
14144         bool toggleall parameters for setting insets internal fonts.
14145         (SetFont): Freeze the undo as we may change fonts in Insets and
14146         all this change should be inside only one Undo!
14147
14148         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14149         setting font's in insets as for them we have the SetFont function!
14150
14151 2001-05-15  Juergen Vigna  <jug@sad.it>
14152
14153         * text2.C (ClearSelection): to be sure we REALLY don't have any
14154         selection anymore!
14155
14156         * tabular.C (TeXCellPreamble): fixed the left border problem for
14157         multicolumn cells.
14158
14159 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14160
14161         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14162         dependancy file
14163
14164 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14165
14166         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14167         LFUN_BREAKPARAGRAPH.
14168
14169         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14170         help test to "internal only", similar for LFUN_INSERT_URL
14171
14172         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14173         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14174         auto_region_delete and deadkeys.
14175
14176 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14177
14178         * LColor.h:
14179         * LColor.C: remove some dead entries, tidy a little
14180
14181 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14182
14183         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14184         commented code.
14185         (Dispatch): implement LFUN_ESCAPE
14186
14187         * commandtags.h: add LFUN_ESCAPE
14188
14189         * LyXAction.C (init): add entry for LFUN_ESCAPE
14190
14191         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14192         Remove commented code.
14193         (insertNote): moved here
14194         (open_new_inset): moved here
14195
14196         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14197         BufferView_pimpl
14198
14199 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14200
14201         * kbmap.C (findbinding): clean it up and make it work correctly.
14202
14203         * lyx_main.C (init): do not pass argc and argv as parameters
14204
14205 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14206
14207         * buffer.C: fix path for OS/2 & Win32
14208
14209         * lyx_gui.C:
14210         * lyx_main:
14211         * lyx_main.C: Added os:: class.
14212
14213         * os2_defines.h: update
14214
14215 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14216
14217         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14218         better by trying again with reduced state.
14219
14220 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14221
14222         * lyxrc.C (read): print error about invalid key sequence only when
14223         debugging (because not all latinX keysyms are known to some X
14224         servers)
14225
14226         * kbsequence.C (getiso): add a few std:: qualifiers
14227         (getiso): comment out extra return statement.
14228
14229 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14230
14231         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14232         handling.
14233         (Dispatch): enhance the accent inset a bit. (not perfect)
14234
14235 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14236
14237         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14238
14239 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14240
14241         * bufferlist.C (emergencyWrite): fix assert() call
14242
14243 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14244
14245         * text.C (InsertChar): Added trivial patch to only send the "you
14246         can not do multiple spaces this way" message once during a
14247         session.
14248
14249 2001-05-08  Baruch Even  <baruch@lyx.org>
14250
14251         * Makefile.am: Changed order of libraries to get LyX to link properly
14252         with the gnome frontend.
14253
14254 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14255
14256         * LaTeXFeatures.h: add a std:: qualifier
14257
14258 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14259
14260         * paragraph.C (String): use stringstream
14261
14262 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14263
14264         * paragraph.C (writeFile): remove footflag arg
14265
14266         * buffer.C (makeLaTeXFile): use stringstream
14267         (latexParagraphs): remove footnot gurba
14268
14269         * LaTeXFeatures.C (getPackages): use stringstream
14270         (getMacros): likewise
14271         (getTClassPreamble): likewise
14272         (getFloatDefinitions): new method
14273
14274         * paragraph.C (writeFile): reindent
14275         (Erase): reindent
14276
14277         * WorkArea.h: revert the xpos + etc changes.
14278
14279         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14280
14281         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14282
14283         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14284         (pasteSelection): likewise
14285         * text2.C (CreateUndo): likewise
14286
14287 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14288
14289         * minibuffer.C (peek_event): temporarily reduce the functionality
14290         of the minibuffer (to allow args on lfuns)
14291
14292         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14293         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14294
14295         * buffer.C (readInset): add compability reading of old float
14296         lists, add reading of new style float list.
14297         (readInset): avoid reevaluation of inscmd.getCmdName()
14298         (getLists): reindent
14299
14300         * MenuBackend.C (MenuItem): implement parsing of
14301         md_floatlistinsert and md_floatinsert.
14302         (expand::LastFiles): move initalizaton of iterators out of loop,
14303         avoid reevaluation.
14304         (expand::Documents): introduce typdedef vector<string> Strings,
14305         and use it.
14306         (expand::ExportFormats): introduce typedef vector<Format const *>
14307         Formats, and use it.
14308         (expand): implement FloatListInsert and FloatInsert.
14309
14310         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14311         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14312         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14313
14314         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14315         handling.
14316         (Dispatch::LFUN_FLOAT_LIST): implement
14317
14318 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14319
14320         * LaTeX.C (run): Fix problem with --export code.
14321
14322 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14323
14324         * BufferView.[Ch] (workarea): removed.
14325         (getClipboard) new method; wrapper for workarea()->getClipboard()
14326
14327         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14328         bug.
14329
14330         * WorkArea.h (width, height, xpos, ypos): These methods all
14331         returned the dimensions of the work_area sub-area of WorkArea,
14332         resulting in a position error if the WorkArea were resized. Now
14333         return the dimensions of the entire WorkArea.
14334
14335         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14336
14337 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14338
14339         * LaTeX.C (deplog): correct the syntax of regex reg1
14340
14341 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14342
14343         * undo.C: remove !NEW_INSETS cruft
14344
14345 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14346
14347         * text2.C: remove !NEW_INSETS cruft
14348
14349         * text.C: remove !NEW_INSETS cruft
14350
14351         * tabular.C: remove !NEW_INSETS cruft
14352
14353         * spellchecker.C: remove !NEW_INSETS cruft
14354
14355         * lyxtext.h: remove !NEW_INSETS cruft
14356
14357         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14358
14359         * lyxfunc.C: remove !NEW_INSETS cruft
14360
14361         * lyxfind.C: remove !NEW_INSETS cruft
14362
14363         * lyx_cb.C: remove !NEW_INSETS cruft
14364
14365         * figureForm.C: remove  !NEW_INSETS cruft
14366
14367         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14368
14369         * buffer.[Ch]: remove !NEW_INSETS cruft
14370
14371         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14372
14373         * CutAndPaste.C: remove !NEW_INSETS cruft
14374
14375         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14376
14377         * BufferView2.C: remove !NEW_INSETS cruft
14378
14379         * BufferView.h: remove !NEW_INSETS cruft
14380
14381 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14382
14383         * Lsstream.h: include LString.h before the sstream headers to
14384         fix problem with gcc 2.95.3 and lyxstring
14385
14386 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14387
14388         * lyx_main.C: add using directives when needed for C functions
14389         declared in std:: namespace.
14390
14391 2001-04-27  Juergen Vigna  <jug@sad.it>
14392
14393         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14394         (SetHeightOfRow): comment out the update call should not be needed!
14395
14396 2001-04-13  Juergen Vigna  <jug@sad.it>
14397
14398         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14399         (LyXTabular): tried to minimize operator= operations (and realized
14400         hopfully Lars wish).
14401
14402 2001-04-27  Juergen Vigna  <jug@sad.it>
14403
14404         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14405
14406 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14407
14408         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14409
14410         * buffer.C (readInset): hack to make listof algorithm work
14411
14412         * BufferView_pimpl.C: hack to make listof algorithm work
14413
14414 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14415
14416         * LyXAction.C: removed all !NEW_INSETS cruft
14417         (init): moved lfun_item in method
14418
14419         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14420
14421 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14422
14423         * BufferView2.C (theLockingInset): white space.
14424
14425 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14426
14427         * minibuffer.C: include <iostream>
14428
14429         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14430
14431         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14432
14433         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14434
14435         * text.[Ch] (TransposeChars): new method
14436
14437 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14438
14439         * call message directly through LyXView instead of through LyXFunc
14440         * BufferView2.C: adjust
14441         * BufferView_pimpl.C: adjust
14442         * FontLoader.C: adjust
14443         * buffer.C: adjust
14444         * bufferview_funcs.C: adjust
14445         * converter.C: adjust
14446         * figureForm.C: adjust
14447         * importer.C: adjust
14448         * lyx_cb.C: adjust
14449         * lyx_gui_misc.C: adjust
14450         * lyxfunc.C: adjust
14451         * lyxvc.C: adjust
14452         * text2.C: adjust
14453         + more files in subdirs
14454
14455         * lyxparagraph.h (size): move up int file
14456         (GetLayout): ditto
14457
14458         * adjust all uses of Assert to lyx::Assert.
14459
14460         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14461         lyxfunctional in namespace lyx
14462         * layout.C (hasLayout): ditto
14463         (GetLayout): ditto
14464         (GetLayout): ditto
14465         (delete_layout): ditto
14466         (NumberOfClass): ditto
14467         * converter.C (GetFormat): ditto
14468         (GetNumber): ditto
14469         (Add): ditto
14470         (Delete): ditto
14471         (SetViewer): ditto
14472         * bufferlist.C (getFileNames): ditto
14473         (emergencyWriteAll): ditto
14474         (exists): ditto
14475         (getBuffer): ditto
14476         * MenuBackend.C (hasSubmenu): ditto
14477         (hasMenu): ditto
14478         (getMenu): ditto
14479         * BufferView_pimpl.C (getInsetByCode): ditto
14480
14481 2001-04-18  Juergen Vigna  <jug@sad.it>
14482
14483         * vspace.C (asLatexString): fixed the 100% problem.
14484
14485 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14486
14487         * lyxfunc.C (Dispatch):
14488         * minibuffer.C:
14489         * minibuffer.h: add a few std:: qualifiers
14490
14491 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14492
14493         * minibuffer.[Ch]: reimplement so that commands is initiated and
14494         run from lyxfunc, simplified som handling, and made the completion
14495         and history code for complete. wip.
14496
14497         * lyxfunc.C (processKeySym): call message
14498         (miniDispatch): new temporary method
14499         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14500         (LFUN_MESSAGE): implement
14501         (LFUN_MESSAGE_PUSH): implement
14502         (LFUN_MESSAGE_POP): implement
14503         (initMiniBuffer): the initial/defualt minibuffer message.
14504
14505         * lyxfont.[Ch]: inline some more getters
14506
14507         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14508
14509         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14510
14511         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14512         (AutoSave): use LFUN_MESSAGE
14513         (Reconfigure): ditto
14514
14515         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14516
14517         * figureForm.C: use LFUN_MESSAGE
14518
14519         * converter.C (runLaTeX): use LFUN_MESSAGE
14520
14521         * bufferview_funcs.C: use LFUN_MESSAGE
14522         (Melt): ditto
14523         (changeDepth): ditto
14524
14525         * bufferparams.h: use boost::
14526
14527         * bufferlist.h: inherit privately from noncopyable
14528
14529         * bufferlist.C (loadLyXFile): remove some commented code.
14530
14531         * buffer.C (runChktex): use LFUN_MESSAGE
14532
14533         * ShareContainer.h: inherit privately from noncopyable
14534
14535         * ParagraphParameters.[hC] (depth): inline it.
14536
14537         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14538         methods.
14539         (message): new method
14540         (messagePush): ditto
14541         (messagePop): ditto
14542         (show): init minibuffer
14543         (showState): direct call
14544
14545         * LaTeX.[Ch]: inherit privately from noncopyable
14546         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14547         instead of WriteStatus.
14548
14549         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14550
14551         * BufferView_pimpl.C (buffer): don't init minibuffer
14552         (workAreaButtonPress): use LFUN_MESSAGE
14553         (workAreaButtonRelease): ditto
14554         (savePosition): ditto
14555         (restorePosition): ditto
14556         (MenuInsertLyXFile): ditto
14557         (workAreaExpose): don't init minibuffer
14558         (update): remove commented code, simplify
14559
14560         * BufferView2.C (openStuff): use LFUN_MESSAGE
14561         (toggleFloat): ditto
14562         (menuUndo): ditto
14563         (menuRedo): ditto
14564         (copyEnvironment): ditto
14565         (pasteEnvironment): ditto
14566         (copy): ditto
14567         (cut): ditto
14568         (paste): ditto
14569         (gotoInset): ditto
14570         (updateInset): remove some commented code
14571
14572         * lastfiles.h: inherit privately from noncopyable
14573         * layout.h: ditto
14574         * lyx_gui.h: ditto
14575         * lyx_main.h: ditto
14576         * lyxlex.h: ditto
14577         * lyxlex_pimpl.h: ditto
14578
14579         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14580         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14581         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14582
14583         * LyXAction.h: inherit privately from noncopyable, add methods
14584         func_begin, func_end, returning iterators to the func map.
14585
14586         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14587         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14588         (func_begin): new method
14589         (func_end): new method
14590
14591         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14592         and not)
14593         (copySelection): ditto
14594         (pasteSelection): ditto
14595
14596         * BufferView.C: whitespace change
14597         * BufferView.h: inherit privately from noncopyable
14598
14599 2001-04-16  Allan Rae  <rae@lyx.org>
14600
14601         * tabular-old.C (l_getline):
14602         * spellchecker.C (sc_check_word):
14603         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14604         an unrecognised preprocessor directive.  So ensure they're wrapped.
14605
14606 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14607
14608         * src/exporter.C (Export): Give an error message when path to file
14609         contains spaces.
14610
14611 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14612
14613         * LaTeX.C (deplog): Always check that foundfile exists.
14614
14615 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14616
14617         * lyx_main.h:
14618         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14619
14620 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14621
14622         * tabular.[Ch] (getLabelList): implement new method
14623
14624         * minibuffer.h: comment ouf setTiimer
14625
14626         * minibuffer.C (ExecutingCB): constify res
14627         (peek_event): constify s
14628         (Set): constify ntext
14629         (Init): constify nicename
14630
14631         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14632
14633         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14634         (savePosition): use two params to Minibuffer::Set
14635         (restorePosition): ditto
14636
14637 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14638
14639         * lyx_main.C: include language.h
14640
14641         * Makefile.am (lyx_main.o): add language.h
14642
14643 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14644
14645         * exporter.C:
14646         * paragraph.C:
14647         * screen.C:
14648         * tabular.C:
14649         * CutAndPaste.C: include gettext.h
14650
14651         * lyxfont.h: remove old hack with ON and OFF.
14652
14653         * lyxparagraph.h:
14654         * lyxfont.h: do not include language.h...
14655
14656         * BufferView2.C:
14657         * LaTeXFeatures.C:
14658         * Painter.C:
14659         * bufferview_funcs.C:
14660         * font.C:
14661         * lyxfont.C:
14662         * text.C:
14663         * text2.C:
14664         * trans_mgr.C:
14665         * paragraph.C: ... but do it here instead
14666
14667 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14668
14669         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14670
14671         * tabular.C: small reformat
14672
14673         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14674         NEW_INSETS version
14675         (GetChar): ditto
14676         (BreakParagraph): ditto
14677         (SetOnlyLayout): ditto
14678         (SetLayout): ditto
14679
14680         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14681         with one arg less.
14682
14683         * lastfiles.C: removed most using decl, add std:: where needed
14684
14685         * buffer.C: ws changes
14686
14687         * MenuBackend.C (class compare_format): put into anon namespace
14688         (expand): constify label, names, action, action2
14689         (expand):
14690
14691         * text.C (SingleWidth): constify font
14692         (IsBoundary): constify rtl2
14693         (GetVisibleRow): constify ww
14694
14695         * LaTeX.C (deplog): constify logfile
14696
14697         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14698         start_x, end_x
14699         (workAreaExpose): constify widthChange, heightChange
14700
14701         * lyxrow.C (par): moved
14702         (height): moved
14703         (next): moved
14704         * lyxrow.h: as inlines here
14705
14706         * lyxfont.h (shape): moved from lyxfont.C
14707         (emph): moved from lyxfont.C
14708
14709         * lyxfont.C (LyXFont): use initialization list for all
14710         constructors
14711         (shape): move to lyxfont.h as inline
14712         (emph): move to lyxfont.h as inline
14713
14714
14715 2001-04-04  Juergen Vigna  <jug@sad.it>
14716
14717         * vspace.C: had to include stdio.h for use of sscanf
14718
14719 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14720
14721         * BufferView.h:
14722         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14723         independent of xforms.
14724
14725 2001-04-02  Juergen Vigna  <jug@sad.it>
14726
14727         * spellchecker.C: fixed namespace placing!
14728
14729 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14730
14731         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14732         the LyXParagraph * is 0.
14733
14734 2001-03-29  Juergen Vigna  <jug@sad.it>
14735
14736         * vspace.C: added support for %, c%, p%, l%.
14737         (stringFromUnit): added helper function.
14738         (asLatexString): changed to give right results for the %-values.
14739
14740         * buffer.C: convert the widthp in a width%.
14741
14742 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14743
14744         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14745         figureForm.[Ch].
14746
14747         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14748         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14749
14750         * lyx_cb.[Ch]: see above.
14751
14752         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14753         form1.[Ch].
14754
14755         * form1.[Ch]:
14756         * lyx.[Ch]: replaced by figure_form.[Ch].
14757
14758         * lyx_gui.C:
14759         * lyx_gui_misc.C:
14760         * lyxfunc.C: changed headers associated with above changes.
14761
14762 2001-03-27  Juergen Vigna  <jug@sad.it>
14763
14764         * BufferView_pimpl.C: set the temporary cursor right!
14765
14766 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14767
14768         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14769
14770 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14771
14772         * LString.h: removed "using std::getline"!
14773
14774         * BufferView_pimpl.C (Dispatch): changes due to changes in
14775         InsetInclude::Params.
14776
14777         * buffer.C (tag_name): removed redundant break statements as they were
14778         producing lots of warnings with my compiler.
14779
14780 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14781
14782         * LString.h: add "using std::getline" when using the real <string>.
14783
14784 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14785
14786         * buffer.C: removed bitset usage.
14787         PAR_TAG moved to an anonymous name space.
14788         (tag_name): new funtion, also in the anonymous namespace.
14789         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14790         (makeDocBookFile): clean code. Completed transition from string arrays
14791         to string vectors.
14792         (SimpleDocBookOnePar): code clean.
14793
14794 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14795
14796         * tabular.C: add some comments.
14797
14798 2001-03-22  Juergen Vigna  <jug@sad.it>
14799
14800         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14801         compatibility read a bit and fixed bug with minipage in different
14802         depth.
14803
14804 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14805
14806         * buffer.C (pop_tag): removed.
14807         (push_tag): removed.
14808         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14809         array replaced with vector. Added support for CDATA sections.
14810         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14811         at any nest level.
14812         (makeDocBookFile): XML conformant declaration of CDATA section,
14813         fixed bug related to <emphasis> in the first paragraph char.
14814         (sgmlOpenTag): exclude empty tags.
14815         (sgmlCloseTag): ditto.
14816
14817         * buffer.h (pop_tag): removed.
14818         (push_tag): removed.
14819
14820 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14821
14822         * language.h (Languages): added size_type and size().
14823
14824 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14825
14826         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14827         response on compability reading of minipages. One probliem is that
14828         the old usage of minipages was «flertydig»
14829
14830         * several files here and in subdirs: don't use static at file
14831         scope use anon namespaces instead.
14832
14833 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14834
14835         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14836         LaTeX output. This is necessary for Literate document
14837         processing.
14838
14839 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14840
14841         * buffer.C: insert hfill when needed.
14842
14843         * tabular.C (l_getline): use string::erase, small whitespace change.
14844
14845         * BufferView_pimpl.C: try the anon namespace.
14846         * WorkArea.C: ditto
14847
14848 2001-03-16  Juergen Vigna  <jug@sad.it>
14849
14850         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14851         otherwise it won't open options-dialogs.
14852
14853         * buffer.C: honor pextraWidth(p) on converting minipages.
14854
14855         * tabular.C (l_getline): changed the functions to strip trailing \r.
14856
14857 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14858
14859         * BufferView_pimpl.C:
14860         * minibuffer..C: added "using SigC::slot" declaration.
14861
14862 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14863
14864         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14865
14866         * text2.C: ditto
14867
14868         * text.C: ditto
14869
14870         * paragraph.C: ditto
14871
14872         * lyxtext.h: NO_PEXTRA
14873
14874         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14875
14876         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14877         * ParameterStruct.h: ditto
14878         * ParagraphParameters.h: ditto
14879         * lyxparagraph.h: ditto
14880
14881 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14882
14883         * buffer.C: add compability for minipage alignment.
14884         (latexParagraphs): remove unwanted pextra check.
14885
14886         * several files: remove CXX_WORKING_NAMESPACES
14887
14888         * buffer.C (pop_tag): tie is in namespace boost
14889
14890         * BufferView.h: noncopyable is in namespace boost
14891         * lyxlex.h: ditto
14892         * lyx_main.h: ditto
14893         * lyx_gui.h: ditto
14894         * layout.h: ditto
14895         * lastfiles.h: ditto
14896         * bufferlist.h: ditto
14897         * ShareContainer.h: ditto
14898         * LyXView.h: ditto
14899         * LyXAction.h: ditto
14900         * LaTeX.h: ditto
14901
14902 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14903
14904         * Merging changes from BRANCH_MVC back into HEAD.
14905
14906         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14907
14908 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14909
14910         * BufferView_pimpl.C: change from intl.C
14911
14912         * combox.h:
14913         * combox.C:
14914         * Makefile.am: move combox.*
14915
14916         * form1.h:
14917         * form1.C:
14918         * lyx_gui.C:
14919         * intl.h:
14920         * intl.C: remove dialog (covered by prefs)
14921
14922 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14923
14924         * lyxfunc.C (Dispatch): removed redundant break statement.
14925
14926 2001-03-14  Juergen Vigna  <jug@sad.it>
14927
14928         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14929
14930 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14931
14932         * buffer.C: add hack to fix compability reading of minipages.
14933
14934 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14935
14936         * buffer.C (getLists): Cleanup.
14937
14938 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14939
14940         * lyxfont.C (update): don't honor toggleall on font size.
14941
14942 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14943
14944         * bmtable.c:
14945         * bmtable.h:
14946         * Makefile.am: moved to frontends/xforms/
14947
14948         * lyx_gui_misc.C:
14949         * lyxfunc.C:
14950         * BufferView_pimpl.C: changes for moved mathpanel
14951
14952 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14953
14954         * gettext.h: fix gettext_init() in --disable-nls
14955
14956 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14957
14958         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14959
14960 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14961
14962         * lyx.C:
14963         * lyx.h: strip external form
14964
14965 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14966
14967         * BufferView_pimpl.C: add comment, destroySplash()
14968
14969 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14970
14971         * BufferView_pimpl.C:
14972         * LyXAction.C:
14973         * buffer.C:
14974         * commandtags.h:
14975         * lyxfunc.C: use re-worked insetinclude
14976
14977 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14978
14979         * buffer.C: add using std::stringstream.
14980
14981         * lyx_cb.C: readd using std::ios.
14982
14983         * buffer.C: add using std::map.
14984
14985         * BufferView_pimpl.C: add using std::vector.
14986
14987         * ShareContainer.h: add std:: to swap.
14988
14989         * buffer.h: add some typedefs
14990         * buffer.C (getLists): use them
14991         (getLists): renamed from getTocList.
14992         add a counter for the different float types and use it in the
14993         generated string.
14994         (getLists): use the same counter for the NEW_INSETS and the "non"
14995         NEW_INSETS
14996
14997         * lyx_cb.h: remove unused items, includes, using etc.
14998
14999         * ShareContainer.h: remove some commented code, add more comments
15000         and "documentation".
15001
15002 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15003
15004         * buffer.C (getTocList): make the list also when NEW_INSETS is
15005         defined.
15006
15007         * buffer.h: remove TocType
15008
15009         * buffer.C (getTocList): change to return a map<string,
15010         vector<TocItem> >, implement for dynamic number of list.
15011
15012         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15013         * text2.C (PasteSelection): adjust
15014         * CutAndPaste.C (pasteSelection): adjust
15015
15016         * FloatList.C (FloatList): update from the new_insets branch.
15017         * Floating.[Ch]: ditto
15018         * LaTeXFeatures.C: ditto
15019         * buffer.C: ditto
15020         * lyxlex_pimpl.C: ditto
15021
15022         * paragraph.C (Last): remove when NEW_INSETS is defined.
15023
15024         * other file: changes because of the above.
15025
15026 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15027
15028         * lyxparagraph.h: rename next to next_, previous to previous_,
15029         make them private for NEW_INSETS. Rename Next() to next(),
15030         Previous() to previous().
15031
15032         * other files: changes because of the above.
15033
15034 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15035
15036         * BufferView.h:
15037         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15038         problem.
15039
15040 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15041
15042         * main.C (main): pass lyx_localedir to gettext_init().
15043
15044         * gettext.h: remove locale_init and gettext_init macros
15045
15046         * gettext.C (locale_init): new function
15047         (gettext_init): new function
15048
15049         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15050         setlocale().
15051
15052 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15053
15054         * Moved credits to frontends:
15055         * credits.[Ch]: removed
15056         * credits_form.[Ch]: removed
15057         * lyx_gui_misc.C: remove credits stuff
15058         * Makefile.am:
15059
15060 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15061
15062         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15063
15064         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15065         unneeded destructor.
15066
15067         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15068         a standalone pointer again.
15069
15070         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15071
15072 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15073
15074         * Makefile.am:
15075         * filedlg.h:
15076         * filedlg.C:
15077         * LyXAction.C:
15078         * ToolbarDefaults.C:
15079         * bufferlist.C:
15080         * commandtags.h:
15081         * form1.C:
15082         * form1.h:
15083         * lyx_cb.C:
15084         * lyx_cb.h:
15085         * lyxfunc.h:
15086         * lyxfunc.C:
15087         * BufferView_pimpl.C: use new file dialog in GUII
15088
15089         * lyx_cb.h:
15090         * lyx_cb.C: remove LayoutsCB to Toolbar
15091
15092 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15093
15094         * ShareContainer.h (get): add std:: qualifier
15095
15096 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15097
15098         * ShareContainer.h: define a proper ShareContainer::value_type
15099         type (and use typename to please compaq cxx)
15100
15101 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15102
15103         * lyxparagraph.h: move serveral local vars to
15104         ParameterStruct/ParagraphParameters., use ShareContainer in
15105         FontTable., make vars in FontTable private and add getter and
15106         setter.
15107
15108         * paragraph.C: changes because of the above.
15109
15110         * lyxfont.h: remove copy constructor and copy assignment. (the
15111         default ones is ok), move number inside FontBits. move inlines to
15112         lyxfont.C
15113
15114         * lyxfont.C: add number to initializaton of statics, move several
15115         inlines here. constify several local vars. some whitespace
15116         cleanup. Dont hide outerscope variables.
15117
15118         * Spacing.h: add two new constructors to match the set methods.
15119
15120         * ShareContainer.h: new file, will perhaps be moved to support
15121
15122         * ParameterStruct.h: new file
15123
15124         * ParagraphParameters.h: new file
15125
15126         * ParagraphParameters.C: new file
15127
15128         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15129         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15130
15131         * BufferView_pimpl.C: ParagraphParameter changes.
15132         * buffer.C: Likewise.
15133         * bufferview_funcs.C: Likewise.
15134         * text.C: Likewise.
15135         * text2.C: Likewise.
15136
15137 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15138
15139         * lyxfind.C (LyXReplace): do not redefine default argument in
15140         implementation.
15141         (IsStringInText): ditto
15142         (SearchForward): ditto
15143         (SearchBackward): ditto
15144
15145 2001-03-06  Juergen Vigna  <jug@sad.it>
15146
15147         * lyxfind.C (IsStringInText): put parentes around expressions.
15148
15149 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15150
15151         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15152
15153 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15154
15155         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15156
15157         * stl_string_fwd.h: add comment
15158
15159         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15160
15161         * tabular.h:
15162         * tabular.C: remove unused DocBook methods
15163
15164         * intl.C:
15165         * language.C:
15166         * paragraph.C:
15167         * buffer.C:
15168         killed DO_USE_DEFAULT_LANGUAGE
15169
15170 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15171
15172         * lyx_gui.C: do not include language.h.
15173
15174         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15175         arguments in function implementation.
15176
15177 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15178
15179         * BufferView_pimpl.C: add <ctime>
15180
15181 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15182
15183         * BufferView_pimpl.C: add using std::find_if
15184
15185 2001-02-27  José Matos  <jamatos@fep.up.pt>
15186
15187         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15188         by OnlyPath.
15189
15190 2001-02-11  José Matos  <jamatos@fep.up.pt>
15191
15192         * buffer.C (makeDocBookFile): command styles now have a parameter as
15193         "title" by default.
15194
15195 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15196
15197         * layout_forms.[Ch]: removed
15198         * lyx_cb.[Ch]: out character
15199         * lyx_gui.C: out character
15200         * lyx_gui_misc.C: out character
15201         * bufferview_funcs.C: : out character,
15202         added toggleall as parameter in ToggleAndShow
15203
15204 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15205
15206         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15207
15208         * text2.C (SetCurrentFont): Disable number property at boundary.
15209
15210 2001-02-26  Juergen Vigna  <jug@sad.it>
15211
15212         * lyxfunc.C (getStatus): added a string argument override function so
15213         that this is correctly called from LyXFunc::Dispatch if it contains a
15214         do_not_use_argument which is used!
15215         (Dispatch): added check for "custom" export and call appropriate func.
15216
15217 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15218
15219         * lyxrc.C: Add language_command_local, language_use_babel and
15220         language_global_options.
15221
15222         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15223
15224         * buffer.C (makeLaTeXFile): Use language_use_babel and
15225         language_global_options.
15226
15227 2001-02-23  Juergen Vigna  <jug@sad.it>
15228
15229         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15230         which works with LyXText and putted it inside BufferView. Here now we
15231         only call for that part the BufferView::Dispatch() function.
15232
15233         * BufferView.C (Dispatch): added.
15234
15235         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15236         functions which needs to use a LyXText over from LyXFunc.
15237         (MenuInsertLyXFile): added
15238         (getInsetByCode): added
15239         (moveCursorUpdate): added
15240         (static TEXT): added
15241
15242 2001-02-22  Juergen Vigna  <jug@sad.it>
15243
15244         * BufferView_pimpl.C (update): call a status update to see if LyXText
15245         needs it.
15246
15247 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15248
15249         * vc-backend.C (revert): implement for CVS
15250         (getLog): implement for CVS
15251
15252 2001-02-20  Juergen Vigna  <jug@sad.it>
15253
15254         * text2.C (ClearSelection): added BufferView param for inset_owner call
15255
15256         * lyxfunc.C (TEXT): added this function and use it instead of
15257         directly owner->view()-text of getLyXText().
15258
15259 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15260
15261         * src/layout_forms.C: out preamble
15262         * src/layout_forms.h: out preamble
15263         * src/lyx_cb.C: out preamble
15264         * src/lyx_cb.h: out preamble
15265         * src/lyx_gui.C: out preamble
15266         * src/lyx_gui_misc.C: out preamble
15267         * src/lyxfunc.C: connect with guii preamble
15268
15269 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15270
15271         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15272
15273 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15274
15275         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15276         whether to run bibtex.
15277
15278 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15279
15280         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15281
15282 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15283
15284         * Makefile.am (lyx_SOURCES): removed bibforms.h
15285
15286         * vspace.h: doxygen
15287
15288         * text.C (GetVisibleRow): make several local vars const
15289
15290         * tabular.C: small cleanup.
15291
15292         * lyxserver.C (callback): use compare instead of strncmp
15293
15294         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15295         inlines to after class or to paragraph.C
15296
15297         * lyxfont.h: remove friend operator!=
15298
15299         * converter.h: move friend bool operator< to non friend and after
15300         class def.
15301
15302         * combox.h: small cleanup
15303
15304         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15305         to inlines after class def.
15306
15307         * buffer.C (pop_tag): use string operations instead of strcmp
15308
15309         * bmtable.c: doxygen, small cleanup
15310
15311         * LaTeX.h: remove friend operator==
15312
15313 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15314
15315         * screen.C:
15316         * lyxrc.[Ch]:
15317         * lyxfunc.C:
15318         * lyxfont.[Ch]:
15319         * lyx_cb.C:
15320         * intl.[Ch]:
15321         * commandtags.h:
15322         * buffer.C:
15323         * WorkArea.[Ch]:
15324         * LyXAction.C:
15325         * BufferView_pimpl.C:
15326         * BufferView.[Ch]: remove cruft
15327
15328 2001-02-14  Juergen Vigna  <jug@sad.it>
15329
15330         * lyxfunc.C: removed #if 0 unused code
15331
15332         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15333
15334         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15335
15336         * text2.C (SetSelection): added a BufferView * parameter
15337
15338 2001-02-13  Juergen Vigna  <jug@sad.it>
15339
15340         * lyxfunc.C (Dispatch): fixed protected blank problem.
15341         * BufferView2.C (protectedBlank): added LyxText * parameter.
15342
15343         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15344         (AppendColumn): same as above for column_info.
15345
15346         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15347         (moveCursorUpdate): use a LyXText param for support of InsetText.
15348
15349         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15350         (tripleClick): ditto
15351
15352         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15353
15354         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15355
15356         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15357
15358         * text2.C (SetSelection): set correct update status if inset_owner
15359         (ToggleFree): ditto
15360
15361 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15362
15363         * tabular.C: remove some commented code.
15364
15365 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15366
15367         * BufferView_pimpl.C: call hideSplash()
15368
15369         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15370
15371         * include_form.h:
15372         * bibforms.h: remove
15373
15374         * lyxfunc.C:
15375         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15376           add LFUN_CHILD_CREATE
15377
15378         * counters.h: fix tiny typo
15379
15380         * lyx_cb.C:
15381         * lyx.h:
15382         * lyx_gui.C:
15383         * lyx.C: move splash to frontends/xforms/
15384
15385         * lyx_gui_misc.C: move Include and Bibform to frontends
15386
15387         * lyxvc.h: clarify comment
15388
15389         * vspace.C: tiny housekeeping
15390
15391 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15392
15393         * text.C (PrepareToPrint): RTL Fix.
15394
15395         * paragraph.C (GetUChar): New method.
15396         (String):  Use GetUChar.
15397
15398         * buffer.C (asciiParagraph): Use GetUChar.
15399
15400 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15401
15402         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15403
15404 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15405
15406         * buffer.h:
15407         * buffer.C: rename to getLogName(), handle
15408           build log / latex log nicely
15409
15410 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15411
15412         * MenuBackend.C:
15413         * MenuBackend.h: remove support for reference menuitem type.
15414
15415 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15416
15417         * BufferView_pimpl.C: housekeeping
15418         * BufferView_pimpl.h:
15419         * LyXView.h:
15420         * Makefile.am:
15421         * Timeout.C:
15422         * Timeout.h:
15423         * minibuffer.h: move Timeout GUI-I
15424
15425 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15426
15427         * lyxrc.C (read): Update converters data-structures.
15428
15429 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15430
15431         * LaTeX.h (operator!=): add operator != for Aux_Info
15432
15433 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15434
15435         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15436
15437         * LaTeXLog.C: deleted, useful code moved to Buffer
15438
15439         * buffer.h:
15440         * buffer.C: new function getLatexLogName()
15441
15442         * lyx_gui_misc.C:
15443         * lyx_gui.C:
15444         * lyxvc.C:
15445         * lyxvc.h:
15446         * lyxfunc.C: use frontends for LaTeX and VC logs
15447
15448 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15449
15450         * LaTeX.h: yet another std:: that Allan forgot.
15451
15452         * Variables.C (set): renamed from isset(), because this clashes
15453         with some HP-UX macros (grr).
15454
15455 2001-02-06  Allan Rae  <rae@lyx.org>
15456
15457         * LaTeX.h: Another bug fix.  Missing std:: this time.
15458
15459 2001-02-04  Allan Rae  <rae@lyx.org>
15460
15461         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15462         floats problem. I've left it commented out because it's not quite
15463         correct.  It should also test that the current object is a table or
15464         figure inset.  But I haven't gotten around to figuring out how to do
15465         that.  I *think* it'll be something like: "table" == inset.type()
15466
15467         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15468         bool.
15469
15470 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15471
15472         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15473         all the citation/databases/styles in the auxilary file.
15474         (run): Rerun latex if there was a babel language error.
15475
15476 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15477
15478         * text.C (Backspace): Preserve the font when changing newline char
15479         with a space.
15480         (BreakParagraph): If the cursor is before a space, delete the space.
15481
15482         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15483
15484 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15485
15486         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15487         new argument (code).
15488         (ChangeCitationsIfUnique): New method.
15489
15490         * paragraph.C (GetPositionOfInset): Handle bibkey.
15491
15492 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15493
15494         * BufferView_pimpl.h: change type of Position::par_pos to
15495         LyXParagraph::size_type.
15496
15497 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15498
15499         * BufferView_pimpl.C (savePosition, restorePosition): Write
15500         messages to minibuffer.
15501
15502 2001-01-28  José Matos  <jamatos@fep.up.pt>
15503
15504         * buffer.C (makeDocBookFile): adds support for document language.
15505         A silly restriction on the name of LatexCommand types where removed.
15506         Added support for CDATA sections, allows to chars unescaped, used
15507         among others in code, to avoid escape < and >.
15508
15509 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15510
15511         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15512         saved positions instrad of a stack. Furthermore, a position is
15513         stored using paragraph id/paragraph position.
15514
15515         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15516         Remove LFUN_REF_BACK.
15517
15518 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15519
15520         * converter.C (dvipdfm_options): New method.
15521
15522 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15523
15524         * vspace.C (isValidLength): Fix for empty input string.
15525
15526 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15527
15528         * LyXAction.C (init): change description of LFUN_FIGURE to
15529         "Insert Graphics"
15530
15531 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15532
15533         * LaTeX.C: add using directive
15534
15535 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15536
15537         * MenuBackend.C (expand): Fix the sorting of the formats.
15538
15539 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15540
15541         * lyx_main.C: tiny error message fix
15542
15543 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15544
15545         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15546         calling fl_initialize(). This fixes the problem with ',' as
15547         decimal separator in text files.
15548
15549 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15550
15551         * trans.C (process): Fix the keymap bug.
15552
15553 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15554
15555         * LaTeX.C (scanAuxFiles): New method. Provides support for
15556         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15557         (scanLogFile) Scan for "run BibTeX" messages.
15558
15559         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15560         OT1 font encoding. Also, load the aecompl package if the ae
15561         package is loaded.
15562
15563         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15564
15565 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15566
15567         * texrow.C (increasePos): turn two error messages into debug
15568         messages.
15569
15570 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15571
15572         * LaTeX.C (scanAux): Handle the \@input macro.
15573         (runBibTeX): Use scanAux().
15574
15575         * language.C (latex_options_): New field.
15576
15577         * LaTeXFeatures.C (getMacros): Add language macros.
15578
15579         * buffer.C (makeLaTeXFile): Small fix.
15580
15581 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15582
15583         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15584
15585         * text2.C: add a using directive.
15586
15587 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15588
15589         * BufferView2.C:
15590         * lyx_gui_misc.h:
15591         * lyxfr1.C:
15592         * lyxfunc.C: kill LyXBell.
15593
15594 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15595
15596         * text.C (IsBoundary): Remove the error message
15597
15598         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15599
15600         * lyxrc.C (setDefaults): Correct initialization value for
15601         font_norm_type.
15602
15603 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15604
15605         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15606         gotoError().
15607
15608         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15609         and GotoNextNote().
15610
15611         * src/LyXAction.C: Added reference-next.
15612
15613         * text.C (InsertChar): Use contains instead of strchr.
15614
15615         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15616
15617 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15618
15619         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15620         alignment commands (when needed).
15621
15622         * text.C (InsertChar): Add ':' to number separator chars.