]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
199f415698fdf3234d8f62db31d2bcdbf6fee81f
[lyx.git] / src / ChangeLog
1 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * kbmap.C (findbindings): a couple of new methods. returns a
4         container of kb_sequence objects. The real work is done by the
5         private recursive version
6         (printbindings): uses findbindings to print out a bracketed list
7         of bindings (renamed from findbinding).
8
9         * MenuBackend.C (binding): use kb_keymap::findbindings
10
11         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
12
13 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
14
15         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
16
17 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
18
19         * paragraph.C (isWord): return true on insets that report
20         isLetter().
21
22         * text.C (getWord): use Paragraph::isWord to decide what is in a
23         word and what is not; fix bug 1609.
24
25 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
26
27         * tex-strings.C: add "none" to string_paperpackages[], fixes
28         off-by-one-error in the paperpackage selection.
29         
30         * lyxlex.[Ch]:
31         * tex-strings.[Ch]: char const * string[n] 
32         -> char const * const string[]
33
34 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
35
36         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
37         command, return early.
38  
39 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
40
41         * debug.h: add DEBUG to enum and fix size of ANY.
42
43         * debug.C: add support for Debug::DEBUG
44         (showTags): cast errorTags.level to unsigned int
45
46         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
47         (redoCurrentBuffer): ditto
48         (updateScrollbar): ditto
49         * cursor.C (dispatch): ditto
50         * text2.C (setLayout): ditto
51         (setFont): ditto
52         (updateCounters): ditto
53         (editXY): ditto
54         (deleteEmptyParagraphMechanism): ditto
55
56 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
57
58         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
59         annotations to cleanup the Makefile slightly.
60
61 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
62
63         * lyxrc.C: do not set user_email to a default value but use empty
64         instead. The entry used to be translated, which does not work
65         since at the point where lyxrc is constructed there is no
66         translation service available
67
68         * messages.C (getLocaleDir): remove and use directly
69         lyx_localedir() instead
70
71 2004-06-02  Angus Leeming  <leeming@lyx.org>
72
73         Fix crash caused by dereferencing null pointer 'exportdata' in
74         OutputParams by creating a new ExportData variable on the heap,
75         storing it in a boost::shared_ptr.
76         The crash was triggered when generating an Instant Preview
77         of an external inset.
78
79         * Makefile.am: add outputparams.C
80
81         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
82         (c-tor): allocate memory to it.
83
84         * exporter.C (c-tor): associated changes.
85
86 2004-06-01  Angus Leeming  <leeming@lyx.org>
87
88         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
89         contains data before calling isInset(0). (Bug 1513.)
90
91 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
92
93         * exporter.C (checkOverwrite): new method
94         * exporter.C (copyFile): new method
95         * exporter.C (Export): copy referenced files to the document dir
96         * exporter.[Ch]: new class ExportedFile
97         * exporter.[Ch]: new class ExportData. Contains currently the
98         names of referenced external files
99         * outputparams.h: add exportdata member.
100
101 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
102
103         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
104         version.C-tmp
105
106 2004-05-19  Angus Leeming  <leeming@lyx.org>
107
108         * LaTeXFeatures.C:
109         * ToolbarBackend.C:
110         * bufferparams.C:
111         * lyxfunc.C: small changes due to the introduction of namespace
112         lyx::frontend and the moving of namespace biblio to lyx::biblio.
113
114 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
115
116         * text3.C (dispatch): supress update when only moving the cursor
117         * cursor.C (selHandle): remove commented code
118
119 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
120
121         * paragraph.C (startTeXParParams): correct column count
122         * CutAndPaste.C (pasteSelection): remove const_cast
123         * output_docbook.C (docbookParagraphs): remove const_cast
124         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
125         const_cast and return ParagraphList::const_iterator
126         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
127         * output_plaintext.C (writeFileAscii): remove const_cast
128         * paragraph.[Ch] (simpleTeXOnePar): make const
129         * paragraph_funcs.C (outerPar): use const iterators
130         * paragraph_pimpl.C (validate): use const iterators
131         * text.C (setHeightOfRow): use const iterators
132
133 2004-05-17  Angus Leeming  <leeming@lyx.org>
134
135         * lfuns.h:
136         * LyXAction.C (init): new LFUN_INSET_REFRESH.
137
138         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
139         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
140         if the citation engine has changed.
141
142 2004-05-14  José Matos  <jamatos@lyx.org>
143
144         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
145         if the textclass does not provide it. Have it different for sgml and
146         xml.
147         support the language of document.
148         * output_docbook.C (docbookParagraphs):
149         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
150         first anchor as the id of the paragraph, remove special case code.
151         * sgml.C (escapeChar): escape only < & >.
152
153 2004-05-14  Angus Leeming  <leeming@lyx.org>
154
155         * bufferparams.h: move biblio::CiteEngine enum here to minimize
156         dependencies on src/frontends/controllers/biblio.h. Define a
157         CiteEngine_enum wrapper class to enable the enum to be forward
158         declared.
159
160 2004-05-12  Angus Leeming  <leeming@lyx.org>
161
162         * buffer.C: up LYX_FORMAT to 234.
163         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
164         use_numerical_citations with a single biblio::CiteEngine cite_engine
165         variable.
166         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
167
168 2004-05-13  José Matos  <jamatos@lyx.org>
169
170         * converter.h:
171         * converter.C (Converter, readFlags): add xml member.
172         * outputparams.h: add XML flavor.
173         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
174
175 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
176
177         * lyxfunc.C (dispatch):
178         (getStatus): fix handling of LFUN_SEQUENCE
179
180 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
181
182         * debug.C (showLevel): do not forget the end-of-line marker
183
184 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
185
186         * kbmap.C (read): do not stop parsing a bind file when an error
187         occurs (bug 1575)
188
189 2004-04-29  Angus Leeming  <leeming@lyx.org>
190
191         * cursor.C:
192         * factory.C:
193         * pariterator.C:
194         * text2.C: wrap a bunch of #warning statements
195         inside #ifdef WITH_WARNINGS blocks.
196
197 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
198
199         * buffer.C: increment format to 233.
200
201 2004-04-28  Angus Leeming  <leeming@lyx.org>
202
203         * BufferView_pimpl.C:
204         * lyxfunc.C:
205         * text3.C:
206         s/updateToolbar()/updateToolbars()/
207         s/Toolbar.h/Toolbars.h/
208
209 2004-04-28  Angus Leeming  <leeming@lyx.org>
210
211         * BufferView.[Ch] (c-tor):
212         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
213         No longer passes these data to the WorkArea generator.
214
215 2004-04-28  Angus Leeming  <leeming@lyx.org>
216
217         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
218
219 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
220
221         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
222
223 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
224
225         * output_latex.C (TeXEnvironment): make sure that there is a line
226         break before \end{foo} for the last paragraph of a document
227         (TeXOnePar): if the paragraph is at the end of the document (or
228         inset) and the language has to be reset, then make sure that the
229         line break is _before_ the language command, not after (fixes bug
230         1225); also make sure that the language reset command is the first
231         thing after the paragraph (to ensure proper nesting of
232         environments and thus fix bug 1404)
233
234 2004-04-21  John Levon  <levon@movementarian.org>
235
236         * ToolbarBackend.h:
237         * ToolbarBackend.C: make "name" be a programmatic name
238         and a gui_name field.
239
240         * lyxfunc.C: display the minibuffer on M-x
241
242 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
243
244         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
245         (bug 1526)
246
247 2004-04-19  Angus Leeming  <leeming@lyx.org>
248
249         * BufferView_pimpl.C (setBuffer): changed preview interface.
250
251         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
252         possible values.
253
254 2004-04-19  John Levon  <levon@movementarian.org>
255
256         * BufferView_pimpl.C:
257         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
258
259 2004-04-05  Angus Leeming  <leeming@lyx.org>
260
261         * text.C (redoParagraphs): add call to updateCounters(), thereby
262         fixing the missing "Figure #:" label from the caption of a
263         figure float.
264
265 2004-04-13  Angus Leeming  <leeming@lyx.org>
266
267         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
268         cursor is clicked out of an inset.
269
270 2004-04-13  Angus Leeming  <leeming@lyx.org>
271
272         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
273         than an InsetOld one.
274
275 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
276
277         * format.[Ch]: add editor to Format
278         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
279         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
280
281 2004-04-08  André Pönitz  <poenitz@gmx.net>
282
283         * metricsinfo.h: remove PainterInfo::width member
284
285 2004-04-08  Angus Leeming  <leeming@lyx.org>
286
287         * lyx_sty.C (boldsymbol_def): modify so that it outputs
288         "\providecommand" rather than "\newcommand", thereby preventing
289         clashes with packages that define "\boldsymbol" themselves.
290         Eg, beamer.
291
292 2004-04-08  Angus Leeming  <leeming@lyx.org>
293
294         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
295         thereby squashing an unnecessary warning.
296
297 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
298
299         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
300         setBuffer()
301
302 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
303
304         * BufferView.C (setCursor): call redoParagraph (some insets could
305         have been opened)
306         (putSelectionAt): remove the 'double update' trick
307
308         * BufferView_pimpl.C (fitCursor): call refreshPar
309         (workAreaDispatch): remove an uneeded update call
310         (dispatch): remove some manual update calls
311
312         * cursor.[Ch]: remove cached_y_, updatePos
313         (selHandle): set noUpdate when appropriate
314
315         * lyxfunc.C (dispatch): track if we need an update
316
317         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
318
319         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
320         (paintSelection): cheap optimization, do not call cursorX when not
321         needed
322         (paintPars): change signature
323         (refreshPar): add
324         (paintText): adjust
325         (paintTextInset): adjust
326
327         * text.C: adjust
328
329 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
330
331         * lengthcommon.C: compilation fix: remove explicit array size from
332         unit_name[] and friends
333
334 2004-04-05  Angus Leeming  <leeming@lyx.org>
335
336         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
337
338         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
339         present only for the preferences dialog.
340         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
341
342 2004-04-05  Angus Leeming  <leeming@lyx.org>
343
344         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
345         to enable the frontends to export changes to lyxrc correctly.
346
347         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
348
349 2004-04-07  André Pönitz  <poenitz@gmx.net>
350
351         * cursor.[Ch] (selClear, adjust): remove math
352
353         * cursor_slice.C: more agressive assert
354
355         * lyxfunc.C:
356         * BufferView_pimpl.C: rework mouse event dispatch
357
358         * dociterator.C:
359         * paragraph.C:
360         * text2.C:
361         * text3.C: adjust
362
363 2004-04-05  André Pönitz  <poenitz@gmx.net>
364
365         * cursor.[Ch] (valign, halign...): remove unneeded functions
366
367 2004-04-05  Angus Leeming  <leeming@lyx.org>
368
369         * lyxlength.[Ch] (unit_name et al.): const-correct.
370
371 2004-04-05  Angus Leeming  <leeming@lyx.org>
372
373         * BufferView_pimpl.C:
374         * buffer.C:
375         * counters.C:
376         * cursor.C:
377         * lyxfunc.C
378         * paragraph.C:
379         * pariterator.C:
380         * text.C:
381         * text2.C:
382         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
383
384 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
385
386         * text3.C (getStatus): add LFUN_BEGINNINGBUF
387
388 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
389
390         * lyxfind.C: add a couple of inTexted() tests + other small fixes
391         * BufferView_pimpl.[Ch] (getStatus)
392         * BufferView.[Ch] (getStatus): add
393         * lyxfunc.C (getStatus): move lfuns handled in
394         BufferView::dispatch to te function above
395         * Cursor.C (setSelection): set selection() = true
396
397 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
398
399         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
400
401 2004-03-31  Angus Leeming  <leeming@lyx.org>
402
403         * lyxfunc.C (dispatch): Fall through to the generic
404         Dialogs::show("preamble").
405
406 2004-03-31  Angus Leeming  <leeming@lyx.org>
407
408         * lyxfunc.C (dispatch): Fall through to the generic
409         Dialogs::show("spellchecker").
410
411 2004-03-31  Angus Leeming  <leeming@lyx.org>
412
413         * lyxfunc.C (getStatus, dispatch): changed invocation of the
414         preferences dialog.
415
416 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
417
418         * BufferView.C
419         * cursor.[Ch]
420         * dociterator.[Ch]:
421         * insetiterator.[Ch]:
422         * lyxfind.C:
423         * lyxfunc.C:
424         * pariterator.[Ch]:
425         * text2.C:
426         * undo.[Ch]: s/DocumentIterator/DocIterator/g
427
428 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
429
430         * BufferView.C (setCursor, putSelectionAt): call edit to open the
431         insets where we are putting the cursor.
432
433 2004-03-31  Angus Leeming  <leeming@lyx.org>
434
435         * lfuns.h:
436         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
437
438         * lyxrc.[Ch] (read, write): overloaded member functions taking
439         a std::[io]stream arguments.
440
441         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
442
443 2004-03-31  Angus Leeming  <leeming@lyx.org>
444
445         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
446         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
447
448         * lyxtextclass.C (load): if the text class couldn't be loaded, then
449         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
450
451 2004-03-31  Angus Leeming  <leeming@lyx.org>
452
453         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
454         the LFUN_ALL_INSETS_TOGGLE code.
455
456 2004-03-30  Angus Leeming  <leeming@lyx.org>
457
458         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
459         has died. Fall through to the generic Dialogs::show("document").
460
461 2004-03-30  Angus Leeming  <leeming@lyx.org>
462
463         * lfuns.h:
464         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
465         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
466
467         * lyxfunc.C (getStatus, dispatch): define the actions for these
468         lfuns. Little more than a cut and pste job from ControlDocument.C
469
470         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
471
472 2004-03-30  Angus Leeming  <leeming@lyx.org>
473
474         * lfuns.h:
475         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
476         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
477
478         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
479         open/closed state of ollapsable insets. Usage:
480
481         all-inset-toggle <state> <name>, where
482         <state> == "open" || "closed" || "toggle" and
483         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
484
485         * lyxtext.h, text2.C (toggleInset): removed.
486
487         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
488         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
489         now passes LFUN_INSET_TOGGLE to the found inset.
490
491         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
492         is now invoked as "all-insets-toggle toggle branch".
493
494 2004-03-30  Angus Leeming  <leeming@lyx.org>
495
496         * dociterator.C:
497         * insetiterator.C:
498         * pariterator.[Ch]: added/corrected header blurb.
499
500 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
501
502         * dociterator.[Ch]: add an inset_ member
503         (backwardPos): implemented
504         (backwardPos, forwardPos): use inset_ when the stack is empty.
505         (doc_iterator_begin, doc_iterator_end): implemented
506         * pariterator.[Ch]: adjust, add begin, end
507         * insetiterator.[Ch]: adjust, add begin, end
508         * cursor.C:
509         * document.C:
510         * BufferView.C:
511         * BufferView_pimpl.C:
512         * CutAndPaste.C: adjust
513
514 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
515
516         * buffer.C: increment file format to 232.
517         * LaTeXFeatures.C: add bibtopic package.
518         * bufferparams.[Ch]: param \use_bibtopic.
519
520         * lyxrc.[Ch]: add lyxrc bibtex_command
521         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
522
523         * buffer.C: increment file format to 231.
524
525 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
526
527         * dociterator.C: implement forwardPar
528         * iterators.[Ch]: remove, replaced by
529         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
530         * BufferView.C:
531         * BufferView_pimpl.C:
532         * CutAndPaste.C:
533         * buffer.C:
534         * bufferview_funcs.C:
535         * cursor.C:
536         * lyxfind.C
537         * lyxfunc.C
538         * paragraph_funcs.C
539         * toc.C:
540         * Makefile.am: adjust
541
542 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
543
544         * CutAndPaste.C (pasteSelection): fix 2 crashes
545         (eraseSelection): fix a crash
546         * paragraph_funcs.C: remove a warning
547
548 2004-03-28  Angus Leeming  <leeming@lyx.org>
549
550         * lfuns.h:
551         * LyXAction.C (init): new LFUN_PRINT.
552
553         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
554
555 2004-03-27  Angus Leeming  <leeming@lyx.org>
556
557         * lfuns.h:
558         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
559
560         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
561
562 2004-03-27  Angus Leeming  <leeming@lyx.org>
563
564         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
565         insetlist always contains non-null pointers to insets.
566
567 2004-03-26  Angus Leeming  <leeming@lyx.org>
568
569         * src/BufferView_pimpl.C:
570         * src/CutAndPaste.C:
571         * src/buffer.C:
572         * src/iterators.C:
573         * src/output_plaintext.C:
574         * src/outputparams.h:
575         * src/paragraph_funcs.C:
576         * src/rowpainter.C:
577         * src/text.C:
578         * src/text2.C:
579         * src/frontends/controllers/ControlErrorList.C:
580         * src/frontends/gtk/FileDialogPrivate.C:
581         * src/frontends/gtk/GPainter.C:
582         * src/frontends/gtk/GToolbar.C:
583         * src/frontends/qt2/QRef.C:
584         * src/mathed/math_scriptinset.C: squash compiler warnings.
585
586 2004-03-26  Angus Leeming  <leeming@lyx.org>
587
588         * ispell.C (LaunchIspell::start):
589         * lyx_cb.C (AutoSaveBuffer::start):
590         invoke run(DontWait) rather than runNonBlocking().
591
592 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
593
594         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
595
596 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
597
598         * kbsequence.C (print): adjust
599
600         * kbmap.C (printKeySym): rename and change signature
601         (printKey): use LyXKeySym::print()
602
603 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
604
605         * undo.C: add using std::advance to compile for stlport
606
607 2004-03-24  Angus Leeming  <leeming@lyx.org>
608
609         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
610         it leads to a crash when no buffer is present.
611
612 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
613             Martin Vermeer  <martin.vermeer@hut.fi>
614
615         * lyxfunc.C (dispatch):
616         * bufferparams.C (readToken): use the new LColor::setColor
617
618         * LColor.[Ch] (setColor): new version that takes two strings as
619         argument and creates a new color entry if necessary
620
621 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
622
623         * buffer.C (makeLaTeXFile): if the main latex file that is
624         processed is usually a subdocument of some master, then pretend
625         for a while that it is actually the master
626
627 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
628
629         * buffer.C (getLabelList):
630         (getBibkeyList): use getMasterBuffer()
631         (getMasterBuffer): new method. Returns the main document in the
632         case where one is using included documents.
633
634 2004-03-25  André Pönitz  <poenitz@gmx.net>
635
636         * Makefile.am:
637         * iterators.[Ch]:
638         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
639
640         * ParagraphList_fwd.h: change ParagraphList to a std::vector
641
642         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
643         text*.C over here. Rename namespace CutAndPaste to lyx::cap
644
645         * ParameterStruct.h: merge with ParagraphParameters
646
647         * lyxtext.h: remove LyXText::parOffset() and getPar()
648
649         * text3.C: Remove all 'manual' update calls. We do now one per user
650         interaction which is completely sufficient.
651
652         * Bidi.C:
653         * BufferView.[Ch]:
654         * BufferView_pimpl.C:
655         * FontIterator.[Ch]:
656         * MenuBackend.C:
657         * ParagraphParameters.[Ch]:
658         * buffer.C:
659         * buffer.h:
660         * bufferlist.C:
661         * cursor.[Ch]:
662         * cursor_slice.[Ch]:
663         * dociterator.[Ch]:
664         * errorlist.[Ch]:
665         * factory.C:
666         * lfuns.h:
667         * lyxfind.C:
668         * lyxfunc.C:
669         * output_docbook.[Ch]:
670         * output_latex.[Ch]:
671         * output_linuxdoc.[Ch]:
672         * output_plaintext.[Ch]:
673         * paragraph.[Ch]:
674         * paragraph_funcs.[Ch]:
675         * paragraph_pimpl.[Ch]:
676         * rowpainter.C:
677         * tabular.[Ch]:
678         * text.C:
679         * text2.C:
680         * toc.C:
681         * undo.[Ch]: adjust
682
683         * frontends/controllers/ControlDocument.C:
684         * frontends/controllers/ControlErrorList.C:
685         * frontends/controllers/ControlSpellchecker.C:
686         * insets/inset.C:
687         * insets/inset.h:
688         * insets/insetbase.h:
689         * insets/insetbibitem.C:
690         * insets/insetbox.C:
691         * insets/insetbranch.C:
692         * insets/insetcaption.C:
693         * insets/insetcharstyle.C:
694         * insets/insetcharstyle.h:
695         * insets/insetcollapsable.C:
696         * insets/insetcollapsable.h:
697         * insets/insetert.C:
698         * insets/insetfloat.C:
699         * insets/insetfoot.C:
700         * insets/insetmarginal.C:
701         * insets/insetnote.C:
702         * insets/insetoptarg.C:
703         * insets/insettabular.C:
704         * insets/insettext.C:
705         * insets/insettext.h:
706         * insets/insetwrap.C:
707         * mathed/math_mboxinset.C:
708         * mathed/math_nestinset.C:
709         * mathed/math_scriptinset.C:
710         * mathed/math_scriptinset.h:
711         * support/types.h:
712
713 2004-03-24  Angus Leeming  <leeming@lyx.org>
714
715         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
716         deal with any child processes that have finished but are waiting to
717         communicate this fact to the rest of LyX.
718
719 2004-03-24  Angus Leeming  <leeming@lyx.org>
720
721         64-bit compile fixes.
722
723         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
724         (c-tor): pass lyx::pos_types rather than ints.
725
726         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
727         lyx::pos_type.
728
729         * text.C (Delete): compile fix.
730         (getPar): ensure that function declaration is the same as that in
731         the header file.
732
733 2004-03-23  Angus Leeming  <leeming@lyx.org>
734
735         * ispell.C (LaunchIspell):
736         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
737         a boost::shred_ptr rather than a std::auto_ptr.
738
739 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
740
741         * lyxfunc.C (getStatus): handle read-only buffers correctly;
742         handle LFUN_FILE_INSERT_*
743
744         * lyxrc.C (setDefaults, getDescription, output, read):
745         * lyxrc.h: remove ps_command
746
747 2004-03-22  Angus Leeming  <leeming@lyx.org>
748
749         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
750         Ensure that error_handler is processed once only and that all data
751         is saved before attempting to output any warning messages.
752
753         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
754
755 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
756
757         * tabular.C (TeXRow): crash fix (from Kayvan and André)
758
759 2004-03-19  André Pönitz  <poenitz@gmx.net>
760
761         * cursor.[Ch] (reset): take main text inset as argument
762
763         * BufferView: adjust
764         * BufferView_pimpl.C: adjust
765
766         * paragraph.[Ch]: fix completely broken operator=()
767
768 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
769
770         * LColor.C (getFromLyXName): make sure that the color name is used
771         as lowercase.
772
773 2004-03-17  Angus Leeming  <leeming@lyx.org>
774
775         * lfuns.h:
776         * LyXAction.C (init): remove LFUN_FORKS_KILL.
777
778         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
779         dialog and to kill a forked process.
780
781 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
782
783         * text2.C (setCursorFromCoordinates): fix font problem
784
785 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
786
787         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
788         bogus "rebuild cursor" code
789
790 2004-03-11  André Pönitz  <poenitz@gmx.net>
791
792         * buffer.[Ch]: use InsetText instead of LyXText as container for
793         the main lyx text.
794
795         * dociterator.[Ch]: drop the BufferView * member which is not needed
796         anymore after the change to buffer.C
797
798         * paragraph_funcs.C:
799         * text.C:
800         * text2.C:
801         * BufferView.[Ch]:
802         * BufferView_pimpl.[Ch]:
803         * cursor.[Ch]:
804         * cursor_slice.[Ch]: adjust
805
806         * text3.C: fix bug in mathDispatch
807
808 2004-03-08  André Pönitz  <poenitz@gmx.net>
809
810         * undo.[Ch]: use 'StableDocumentIterator' as base for
811         the Undo struct.
812
813 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
814
815         * LaTeXFeatures.C:
816         * bufferparams.[Ch]: add jurabib support and param.
817
818         * LaTeX.C: add FIXME/comment.
819
820 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
821
822         * buffer.C: increment file format to 230.
823
824 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
825
826         * cursor.C (dispatch): avoid infinite loops
827
828 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
829
830         * rowpainter.C (paintSelection): fix x coordinates
831
832 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
833
834         * text.C (rowBreakPoint): fix breaking before displayed insets
835
836 2004-03-01  André Pönitz  <poenitz@gmx.net>
837
838         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
839
840         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
841
842         * Makefile.am:
843         * BufferView.C:
844         * BufferView_pimpl.C:
845         * buffer.C:
846         * lyxfind.C:
847         * lyxfunc.C:
848         * text.C:
849         * text2.C:
850         * text3.C: adjust
851
852 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
853
854         * lyxtext.h:
855         * text.C:
856         * text2.C:
857         * rowpainter.C:
858         * BufferView_pimpl.C: rename textwidth -> maxwidth,
859         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
860
861 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
862
863         * Bidi.[Ch] (computeTables): const correctness
864         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
865         fill_hfill, fill_label_hfill and x from Row
866         * lyxtext.h: prepareToPrint returns a RowMetrics
867         * rowPainter.C: adjust
868         * text.C (prepareToPrint): use width, not textWidth. adjust
869         (redoParagraphInternal, cursorX): adjust
870         * text2.C (getColumnNearX): adjust
871         (init): put a default value to the top LyXText::width
872
873 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
874
875         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
876
877 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
878
879         * lyxtext.h: add FontIterator class
880
881         * text.C (FontIterator, operator*, operator->, operator++): add
882         (rowBreakPoint, setRowWidth): adjust (fixing a
883         rebreaking bug)
884
885 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
886
887         * BufferView_pimpl.C (workAreaDispatch): allow also
888         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
889
890 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
891
892         * text.C (rowBreakPoint): fix a bug showing with very large insets
893
894 2004-02-25  André Pönitz  <poenitz@gmx.net>
895
896         * text3.C:
897         * cursor.[Ch]: move some mathed specific code to mathed
898
899 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
900
901         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
902         use_tempdir in preferences
903         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
904         tempfile creation
905         * lyx_main.C: ensure that tempdir is valid
906         * lyxlex.h: correct typo
907         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
908         * paragraph.[Ch] (isMultiLingual): make const
909         * cursor.[Ch] (openable): make const
910
911 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
912
913         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
914
915 2004-02-20  André Pönitz  <poenitz@gmx.net>
916
917         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
918
919         * cursor.[Ch]: prepare for localized getStatus()
920
921         * lyxtext.h:
922         * tabular.C:
923         * text.C:
924         * text2.C:
925         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
926
927 2004-02-20  André Pönitz  <poenitz@gmx.net>
928
929         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
930
931 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
932
933         * text2.C (setCursorFromCoordinates): switch to absolute coords
934         (cursorUp): adjust
935         (cursorDown): adjust
936         * text3.C (dispatch): adjust
937
938 2004-02-16  André Pönitz  <poenitz@gmx.net>
939
940         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
941           insets/ChangeLog)
942
943         * cursor_slice.[Ch]: remove unneeded acessor function
944
945         * lyxtext.h: rename rtl() to isRTL()
946
947         * rowpainter.C:
948         * tabular.C:
949         * text.C:
950         * text2.C:
951         * text3.C: adjust
952
953 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
954
955         * rowpainter.C (paintSelection): coord fix
956
957 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
958
959         * Spacing.C: compile fix
960
961 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
962
963         * cursor.C (dispatch): restore current_ before returning
964
965 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
966
967         * text2.C (cursorUp, cursorDown): fix coords
968         (moveUp): fix crash
969
970 2004-02-12  André Pönitz  <poenitz@gmx.net>
971
972         * lyxtext.h:
973         * text.C:
974         * text2.C:
975         * text3.C: add LCursor & parameter to most cursor movement functions
976           remove usage of LyXText::cursorRow() and cursorPar()
977
978         * cursor.[Ch]: add textRow() needed members
979
980         * BufferView.C:
981         * BufferView_pimpl.C:
982         * paragraph.[Ch]:
983         * BufferView.C:
984         * BufferView_pimpl.C: adjust
985
986 2004-02-11  André Pönitz  <poenitz@gmx.net>
987
988         * lyxfunc.C:
989         * BufferView.[Ch]:
990         * BufferView_pimpl.C: shift undo/redo handling
991
992         * cursor.[Ch]: fix mathed crash
993
994         * lyxfind.C:
995         * lyxtext.h: move selectionAsText to LCursor
996
997         * output_latex.C:
998         * paragraph.C:
999         * text.C:
1000         * text2.C:
1001         * text3.C: adjust
1002
1003         * rowpainter.C: fix excessive drawing
1004
1005 2004-02-06  André Pönitz  <poenitz@gmx.net>
1006
1007         * BufferView.[Ch]:
1008         * BufferView_pimpl.[Ch]:
1009         * text3.C: move some text specific LFUN handling
1010
1011 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1012
1013         * text3.C (checkInsetHit): adjust coords
1014         * text2.C (getColumnNearX): adjust coords
1015         (edit): adjust coords
1016         * text.C (getRowNearY): add two asserts
1017
1018 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1019
1020         * converter.C:
1021         * format.C: add using std::distance to compile on gcc 2.95/stlport
1022
1023 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1024
1025         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1026
1027 2004-02-04  André Pönitz  <poenitz@gmx.net>
1028
1029         * BufferView.[Ch] (insertInset):
1030         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1031
1032         * text2.C:
1033         * text3.C: adjust
1034
1035 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1036
1037         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1038         on the default clause of the switch
1039         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1040         wasn't catched by LCursor::dispatch
1041
1042 2004-02-03  André Pönitz  <poenitz@gmx.net>
1043
1044         * BufferView.C:
1045         * cursor.[Ch]: some additional asserts
1046
1047         * undo.[Ch]: remove LyXText dependency in interface
1048
1049         * lyxfunc.C: adjust
1050
1051         * lyxtext.h (firstPar, lastPar): remove dead functions
1052
1053         * text.C:
1054         * text2.C:
1055         * text3.C:
1056         * paragraph.[Ch]: adjust
1057
1058 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1059
1060         * lyxfind.C (find): fix argument order in call to ::find
1061
1062 2004-02-02  André Pönitz  <poenitz@gmx.net>
1063
1064         * cursor.[Ch]: remove direct access to anchor
1065
1066         * text.C: remove findText() hack
1067
1068 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1069
1070         * iterators.[Ch] (lockPath): remove in favour of...
1071         * BufferView.[Ch] (setCursor): this addition
1072         * BufferView.C (putSelectionAt): adjust
1073         * undo.C (performUndoOrRedo): adjust
1074         * lyxfunc.C (dispatch): adjust
1075
1076 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1077
1078         * iterators.C (lockPath): add a missing slice
1079         * undo.C (performUndoOrRedo): remove redundant positioning code
1080
1081 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1082
1083         * vc-backend.C (scanMaster): ";" -> ';'
1084
1085 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1086
1087         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1088         std::binary_function
1089
1090         * lyxtextclass.C (compare_name): rename to...
1091         (LayoutNamesEqual): ...this
1092
1093         * lyxlex_pimpl.C (compare_tags): inherit from
1094         std::binary_function, put back into anon namespace
1095
1096         * lyxfind.C (MatchString): inherig from std::binary_function
1097         (findChange): use empty() istead of !size()
1098
1099         * format.C (FormatNamesEqual): new functor
1100         (getFormat): use it
1101         (getNumber): use it
1102         (add): use it
1103         (erase): use it
1104         (setViewer): use it
1105
1106         * converter.C (compare_Converter): rename to...
1107         (ConverterEqual): ...this, and fixup a bit.
1108         (getConverter): use it, and make function const
1109         (getNumber): use it, and make function const
1110         (add): use it
1111         (erase): use it:
1112
1113         * bufferlist.C: add using boost::bind
1114
1115         * MenuBackend.C (MenuNamesEqual): new functor
1116         (hasMenu): use it, and make function const
1117         (hasSubmenu): use nested bind to get rid of compare_memfun.
1118
1119 2004-01-30  André Pönitz  <poenitz@gmx.net>
1120
1121         * BufferView_pimpl.C:
1122         * cursor.C:
1123         * cursor.h:
1124         * cursor_slice.[Ch]:
1125         * lyxfunc.C:
1126         * lyxtext.h:
1127         * paragraph_funcs.C:
1128         * paragraph_funcs.h:
1129         * rowpainter.C:
1130         * text.C:
1131         * text2.C:
1132         * text3.C: move some of the edit(x,y) handling to the insets
1133         some coordinate changes.
1134
1135 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1136
1137         * text.C: add using statements for std::advance and std::distance
1138
1139         * paragraph.C: add using statement for std::distance
1140
1141         * lyxfind.C: add using statement for std::advance
1142
1143         * cursor.C (region): remove std:: from swap
1144         (openable): use nucleus in stead of operator->
1145
1146         * BufferView.C: add using statements for std::distance and std::swap
1147
1148 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1149
1150         * iterators.C: Remove the pimple, move the needed structures to
1151         the header file. Create accessor for the positions stack.
1152         (asPosIterator): remove function
1153
1154         * PosIterator.C (PosIterator): move constructors to top of file
1155         (PosIterator): reimplement the constructor taking a ParIterator in
1156         terms of setFrom.
1157         (setFrom): new function
1158         (operator!=): inline it
1159
1160 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1161
1162         * lyxfind.C (replaceAll): use std::advance
1163
1164         * iterators.h: inherit from std::iterator.
1165
1166         * PosIterator.C (advance, distance): remove
1167         * PosIterator.h: interit from std::iterator.
1168
1169 2004-01-26  André Pönitz  <poenitz@gmx.net>
1170
1171         * BufferView.[Ch]:
1172         * BufferView_pimpl.[Ch]:
1173         * InsetList.[Ch]:
1174         * PosIterator.[Ch]:
1175         * buffer.h:
1176         * bufferview_funcs.C:
1177         * cursor.[Ch]:
1178         * cursor_slice.h:
1179         * factory.[Ch]:
1180         * iterators.[Ch]:
1181         * lyxfind.C:
1182         * lyxfunc.C:
1183         * lyxtext.h:
1184         * output_docbook.C:
1185         * output_latex.C:
1186         * output_linuxdoc.C:
1187         * output_plaintext.C:
1188         * paragraph.[Ch]:
1189         * paragraph_funcs.[Ch]:
1190         * paragraph_pimpl.[Ch]:
1191         * rowpainter.C:
1192         * tabular.C:
1193         * tabular.h:
1194         * text.C:
1195         * text2.C:
1196         * text3.C: more IU:  dumps most of the rest of the mathcursor
1197     implementation into cursor.[Ch]; "globalize" a bit of it.
1198
1199 2004-01-25  Angus Leeming  <leeming@lyx.org>
1200
1201         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1202
1203 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1204
1205         * LaTeXFeatures.h: add nice_ and nice() const
1206         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1207
1208 2004-01-20  André Pönitz  <poenitz@gmx.net>
1209
1210         * BufferView.[Ch]:
1211         * BufferView_pimpl.C:
1212         * PosIterator.C:
1213         * bufferview_funcs.C:
1214         * cursor.[Ch]:
1215         * cursor_slice.[Ch]:
1216         * factory.C:
1217         * iterators.C:
1218         * lyx_cb.C:
1219         * lyxfind.C:
1220         * lyxfunc.C:
1221         * lyxtext.h:
1222         * rowpainter.C:
1223         * text.C:
1224         * text2.C:
1225         * text3.C:
1226         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1227           LCursor and mathcursor parts to LCursor and InsetBase.
1228
1229 2004-01-15  André Pönitz  <poenitz@gmx.net>
1230
1231         * cursor_slice.[Ch]: add a few covienience functions
1232
1233         * funcrequest.[Ch]: remove BufferView * member
1234
1235         * BufferView_pimpl.C:
1236         * cursor.C:
1237         * factory.[Ch]:
1238         * lyxfind.[Ch]:
1239         * lyxfunc.C:
1240         * lyxtext.h:
1241         * text3.C:
1242         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1243
1244 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1245
1246         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1247         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1248
1249 2004-01-13  André Pönitz  <poenitz@gmx.net>
1250
1251         * textcursor.[Ch]:
1252         * lyxtext.h: hide cursor and selection anchor behind accessor function
1253
1254         * BufferView.C:
1255         * BufferView_pimpl.[Ch]:
1256         * PosIterator.C:
1257         * bufferview_funcs.C:
1258         * cursor.h:
1259         * lyxfind.C:
1260         * lyxfunc.C:
1261         * text.C:
1262         * text2.C:
1263         * text3.C:
1264         * undo.C: adjust
1265
1266         * cursor.h:
1267         * cursor_slice.[Ch]: some integer type changes for inset unification
1268
1269         * lyxcursor.[hC]: remove, it's CursorSlice now.
1270
1271         * Makefile.am:
1272         * BufferView_pimpl.[Ch]:
1273         * bufferview_funcs.C:
1274         * cursor_slice.C:
1275         * lyxtext.h:
1276         * text.C:
1277         * text2.C:
1278         * text3.C:
1279         * textcursor.[Ch]: adjust
1280
1281 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1282
1283         * text2.C (undoSpan): add and use
1284         * text.C (breakParagraph): use undoSpan (fix bug 578)
1285         * lyxtext.h: adjust
1286
1287 2004-01-08  Angus Leeming  <leeming@lyx.org>
1288
1289         * BufferView_pimpl.C (MenuInsertLyXFile):
1290         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1291         * lyxfunc.C (menuNew, open, doImport):
1292         FileFilterList change to the FileDialog open and save functions.
1293
1294 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1295
1296         * ShareContainer.h: make isEqual and isUnique adaptable
1297
1298         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1299
1300 2004-01-07  Angus Leeming  <leeming@lyx.org>
1301
1302         * LyXAction.C:
1303         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1304
1305         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1306
1307         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1308         functions replacing find, replace and replaceAll.
1309
1310         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1311         LFUN_WORDFIND(FORWARD|BACKWARD).
1312
1313 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1314
1315         * text.C (breakParagraph): remove an outdated #warning
1316
1317 2004-01-07  André Pönitz  <poenitz@gmx.net>
1318
1319         * lyxfind.C: somewhat clearer logic
1320
1321         * text.C: prevent crash in cursorX on unitialized row cache
1322
1323 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1324
1325         * lyxcursor.[Ch] (operator>): add
1326         * textcursor.C (selStart, selEnd): use std::min and std::max
1327
1328 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1329
1330         * Chktex.C: include boost/format.hpp
1331
1332 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1333
1334         * InsetList.C: replace functor MathcIt with adaptable functor
1335         InsetTablePosLess
1336         (insetIterator): modify accordingly
1337
1338         * BranchList.h: move the BranchNamesEqual functor here from...
1339         * BranchList.C: ... to here
1340
1341         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1342         SameName and match.
1343         (add): replace a finding loop with std::find_if.
1344
1345 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1346
1347         * output_docbook.C: moving LatexParam functionality into
1348         .layout files
1349
1350 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1351
1352         * buffer.C: increment format to 229.
1353
1354 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1355
1356         * LaTeXFeatures.C:
1357         * lyx_sty.[Ch]: remove minipageindent_def
1358
1359         * LyXAction.C:
1360         * factory.C:
1361         * lfuns.h:
1362         * lyxfunc.C:
1363         * text3.C: remove LFUN_INSET_MINIPAGE
1364
1365 2003-12-28  Angus Leeming  <leeming@lyx.org>
1366
1367         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1368
1369 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1370
1371         * text2.C (setParagraph): fix off-by-one crash
1372
1373 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1374
1375         * output_docbook.C: header stuff for AGU
1376
1377 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1378
1379         * text2.C (redoCursor): remove
1380         * text.C:
1381         * text3.C:
1382         * BufferView_pimpl.C: remove calls to redoCursor and
1383         setCursor(cursor.par(), cursor.pos()) all around
1384
1385 2003-12-15  Angus Leeming  <leeming@lyx.org>
1386
1387         * buffer.C: up the format to 228.
1388
1389 2003-12-15  André Pönitz  <poenitz@gmx.net>
1390
1391         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1392         slices
1393
1394         * Makefile.am:
1395
1396         * BufferView_pimpl.C:
1397         * cursor.[Ch]:
1398         * lyxcursor.[Ch]:
1399         * rowpainter.[Ch]:
1400         * lyxtext.h:
1401         * text.C:
1402         * text2.C:
1403         * text3.C: adjust
1404
1405 2003-12-15  Angus Leeming  <leeming@lyx.org>
1406
1407         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1408         than getFromGUIName to manipulate the color.
1409
1410 2003-12-14  Angus Leeming  <leeming@lyx.org>
1411
1412         * BranchList.[Ch]: minimize the API.
1413         (Branch::getBranch, getColor): now return a 'const &'.
1414         (Branch::setSelected) now returns a bool set to true if the
1415         selection status changes.
1416         (BranchList::clear, size, getColor, setColor, setSelected,
1417         allBranches, allSelected, separator): removed.
1418         (BranchList::find): new functions, returning the Branch with
1419         the given name.
1420         (BranchList::add, remove): return a bool indicating that
1421         the operation was successful.
1422
1423         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1424         new InsetBranch::isBranchSlected member function.
1425
1426         * LColor.[Ch]: mimimize the API.
1427         (fill): renamed as addColor and made private.
1428         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1429         versions of these functions taking a string arg have been removed.
1430
1431         * bufferparams.C (readToken):
1432         * lyxfunc.C (dispatch):
1433         * lyxrc.C (read): changes due to the altered BranchList and
1434         LColor APIs.
1435
1436         * factory.C (createInset, readInset): changes due to altered
1437         InsetBranch c-tor.
1438
1439 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1440
1441         * factory.C:
1442         * lyxfunc.C: remove insetminipage. "minipage-insert"
1443         now produces a frameless minipage box inset.
1444
1445 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1446
1447         * textcursor.[Ch] (selStart,selEnd): add new methods
1448         remove selection::start, end, use LyXCursor::operator<
1449         * lyxcursor.[Ch] (operator<): add
1450         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1451         * BufferView.[Ch] (unsetXSel): add
1452         * text2.C (clearSelection): use unsetXSel,adjust
1453         * text.C: adjust
1454         * text3.C: adjust
1455         * rowpainter.C: adjust
1456         * bufferview_funcs.C (put_selection_at): adjust
1457
1458 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1459
1460         * BufferView_pimpl.C: small coord. correction
1461
1462 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1463
1464         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1465         dragging over the splash screen.
1466
1467 2003-12-11  Angus Leeming  <leeming@lyx.org>
1468
1469         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1470         as it is now handled in LyXText::dispatch.
1471
1472         * text3.C (doInsertInset): remove a level of nesting.
1473
1474 2003-12-11  Angus Leeming  <leeming@lyx.org>
1475
1476         * factory.C (createInset): changes due to the changed interface to
1477         InsetCommandMailer::string2params.
1478
1479 2003-12-10  Angus Leeming  <leeming@lyx.org>
1480
1481         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1482         'dialog-show-new-inset <inset name>'
1483
1484 2003-12-10  Angus Leeming  <leeming@lyx.org>
1485
1486         * buffer.C: up the format to 227.
1487
1488         * factory.C: the box inset is now identified simply by 'Box'.
1489
1490 2003-12-10  Angus Leeming  <leeming@lyx.org>
1491
1492         * buffer.C: up the format to 226.
1493
1494         * factory.C: the note inset is now identified simply by 'Note'.
1495
1496 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1497
1498         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1499         when a pit is enough. Standarize a couple of loops.
1500
1501 2003-12-05  Angus Leeming  <leeming@lyx.org>
1502
1503         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1504         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1505         data to the re-worked "log" dialog.
1506
1507 2003-12-03  André Pönitz  <poenitz@gmx.net>
1508
1509         * PosIterator.C:
1510         * iterators.C:
1511         * lyxtext.h:
1512         * output_latex.C:
1513         * paragraph_funcs.C:
1514         * text.C:
1515         * text2.C: use Inset::getText instead of Inset::getParagraph
1516
1517 2003-12-03  André Pönitz  <poenitz@gmx.net>
1518
1519         * buffer.[Ch]:
1520         * lyxtext.h:
1521         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1522         InsetText::read() as LyXText::read()
1523
1524 2003-12-02  Angus Leeming  <leeming@lyx.org>
1525
1526         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1527         type. Add a comment in the implementation that the function uses
1528         the stream's bad() function rather than fail() as the std::streams
1529         would do.
1530
1531 2003-12-02  André Pönitz  <poenitz@gmx.net>
1532
1533         * lyxlex.[Ch]: make interface more similar to std::stream
1534
1535         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1536
1537 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1538
1539         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1540
1541 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1542
1543         * vspace.[Ch]: remove VSpace::NONE
1544
1545 2003-12-01  André Pönitz  <poenitz@gmx.net>
1546
1547         * buffer.[Ch]:
1548         * lyxtext.h: move ParagraphList member to LyXText
1549         rename LyXText::ownerParagraphs to LyXText::paragraph
1550
1551         * CutAndPaste.C:
1552         * bufferview_funcs.C:
1553         * iterators.[Ch]:
1554         * lyx_cb.C:
1555         * paragraph.C:
1556         * rowpainter.C:
1557         * tabular.C:
1558         * text.C:
1559         * text2.C:
1560         * text3.C: adjust
1561
1562         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1563
1564         * undo.C: fix cursor positioning
1565
1566 2003-12-01  John Levon  <levon@movementarian.org>
1567
1568         * BufferView_pimpl.C: fix a crash on exit with
1569         a buffer open
1570
1571 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1572
1573         * BranchList.C: fix setSelected() method.
1574
1575 2003-11-28  André Pönitz  <poenitz@gmx.net>
1576
1577         * ParagraphParameters.[Ch]:
1578         * ParameterStruct.h: remove space above/below from Paragraph to
1579          InsetVSpace
1580
1581         * BufferView_pimpl.C:
1582         * factory.C:
1583         * lyxfunc.C:
1584         * lyxtext.h:
1585         * output_latex.C:
1586         * paragraph.C:
1587         * paragraph_funcs.C:
1588         * rowpainter.[Ch]:
1589         * text.C:
1590         * text2.C:
1591         * text3.C: adjust
1592
1593 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1594
1595         * factory.C: Syntax change for CharStyles
1596
1597 2003-11-28  André Pönitz  <poenitz@gmx.net>
1598
1599         * BufferView.[Ch]:
1600         * BufferView.[Ch]:
1601         * buffer.[Ch]:
1602         * buffer.[Ch]: move LyXText member
1603
1604 2003-11-28  André Pönitz  <poenitz@gmx.net>
1605
1606         * BufferView.[Ch]: make LyXText * text a private member
1607
1608         * BufferView_pimpl.C:
1609         * cursor.C:
1610         * iterators.C:
1611         * lyx_cb.C:
1612         * lyxfind.C:
1613         * lyxtext.h:
1614         * rowpainter.[Ch]:
1615         * text.C:
1616         * text2.C:
1617         * undo.C: adjust
1618
1619         * output_plaintext.C: cleanup
1620
1621 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1622
1623         * buffer.C:
1624         * lyxtextclass.[Ch]: parametrize SGML document header
1625
1626 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1627
1628         * converter.[Ch]:
1629         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1630         getFlavor().
1631
1632 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1633
1634         * text2.C (setFont): rework using PosIterator (no more recursive)
1635         (setCharFont): no more needed
1636         (setLayout): no more selection cursors fiddling (done by redoCursor)
1637         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1638         destroy remaining ones)
1639
1640 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1641
1642         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1643         * lyxtext.h: ditto
1644         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1645         selection cursors
1646         * lyxfunc.C: adjust
1647         * text3.C: adjust + re-allow multi par depth changes
1648         * textcursor.C: simplify a bit
1649
1650 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1651
1652         * src/buffer.C:
1653         * src/lyxlayout.C:
1654         * src/lyxlayout.h:
1655         * src/lyxtext.h:
1656         * src/output_docbook.C:
1657         * src/output_latex.C:
1658         * src/paragraph.C:
1659         * src/paragraph.h:
1660         * src/sgml.C:
1661         * src/sgml.h:
1662         * src/text2.C: Introducing a number of tags parametrizing various
1663         XML formats that we may want to support
1664
1665 2003-11-25  André Pönitz  <poenitz@gmx.net>
1666
1667         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1668
1669         * lyxtext.h (leftMargin/rightMargin): simplify interface
1670
1671         * rowpainter.C:
1672         * text.C:
1673         * text2.C:
1674         * text3.C: adjust
1675
1676 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1677
1678         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1679         master file to any child files. Fixes bug 546.
1680
1681 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1682
1683         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1684
1685 2003-11-24  André Pönitz  <poenitz@gmx.net>
1686
1687         * rowpainter.C: simplification
1688
1689         * text2.C (updateCounters): remove call to redoParagraph on
1690         changed labels as this is far too expensive.
1691
1692 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1693
1694         * converter.C (convert): fix a crash: this function gets
1695         called with buffer == 0 from importer code.
1696
1697 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1698
1699         * text3.C (cursorPrevious): make sure that we do not compare
1700         iterators form different containers.
1701         (cursorNext): ditto
1702
1703         * rowpainter.C (paintSelection): make sure that we do not compare
1704         iterators from different containers.
1705
1706         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1707         iterators from different ParagraphList containers.
1708         [NEXT] ditto
1709
1710         * text2.C (LyXText): change order of initialization slightly
1711         (operator=): new function. copy all variables except cache_par_
1712         (moveUp): make sure that we do not compare iterators from
1713         different ParagraphList constainers.
1714         (moveDown): ditto
1715
1716         * text.C (firstPar): new function
1717         (lastPar): new function
1718         (endPar): new function
1719
1720         * lyxtext.h: move things around and group public functions, public
1721         variables, private functions, private variables
1722
1723 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1724
1725         * factory.C: change call to InsetERT constructor to avoid
1726         additional invocation of method status
1727         * text2.C (toggleInset): remove redundant update() call
1728         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1729         instead of a Bufferview pointer
1730
1731 2003-11-21  André Pönitz  <poenitz@gmx.net>
1732
1733         * rowpainter.C: simplification
1734
1735 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1736
1737         * text3.C (dispatch): make possible to extend a word/row selection
1738         with the mouse
1739
1740 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1741
1742         * lyxtext.h: x0_,y0_ -> xo_,yo_
1743         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1744         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1745         * rowpainter.C (paintRows): paint full paragraphs
1746
1747 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1748
1749         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1750         screen coordinates)
1751
1752 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1753
1754         * lyxtext.h: add x0_, y0_
1755         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1756         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1757
1758 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1759
1760         * text2.C (setCursorIntern): move the x_target update here *
1761         * text3.C: change some bv() to true/false in calls to
1762         cursorUp/Down/Right/Left
1763         * cursor.C: use helper function.
1764
1765 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1766
1767         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1768         * paragraph_funcs.[Ch]: correct comment
1769         * rowpainter.C: do not paint selections away from bv->cursor()
1770         Fix a long standing selection painting bug.
1771         * text3.C: generalize mouse-selection code to LyXTexts other that
1772         top one
1773         * textcursor.C: do not use y coords if we can use par offsets
1774
1775 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1776
1777         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1778         cursor position after e.g. inset insert)
1779
1780 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1781
1782         * lyxfind.C (replace): adjust to locking removal + some
1783         code simplification
1784
1785 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1786
1787         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1788         of the path
1789
1790 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1791
1792         * lyxlayout.[Ch]:
1793         * output_docbook.C: XML sanitation: new layout
1794         parameters InnerTag and CommandDepth
1795
1796 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1797
1798         * BufferView_pimpl.C:
1799         * factory.C:
1800         * text3.C: Fix the insertion and modification of button-style
1801         insets
1802
1803 2003-11-13  André Pönitz  <poenitz@gmx.net>
1804
1805         * InsetList.[Ch]: remove deleteLyXText
1806
1807         * paragraph.[Ch]: cache beginOfBody position
1808
1809         * Bidi.C:
1810         * text.C:
1811         * text2.C:
1812         * text3.C: remove superfluous update() calls
1813
1814         * vspace.C: cleanup
1815
1816 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1817
1818         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1819         * BufferView.C (fitLockedInsetCursor): remove
1820         * cursor.[Ch] (getDim): add
1821         * text.C (getRowNearY): add faster version
1822         * text3.C: remove some update calls
1823
1824 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1825
1826         * LaTeXFeatures.C:
1827         * LyXAction.C:
1828         * MenuBackend.C:
1829         * MenuBackend.h:
1830         * dispatchresult.h:
1831         * factory.C:
1832         * lfuns.h:
1833         * lyxfunc.C:
1834         * lyxtextclass.C:
1835         * lyxtextclass.h:
1836         * text3.C: The Character Style /XML short element patch.
1837
1838 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1839
1840         * text3.C:
1841         * factory.C: Small step to solving 'unable to insert some insets'
1842         problem
1843
1844 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1845
1846         * cursor.[Ch] (updatePos): new function for updating the y
1847         position of the tip inset
1848         * bufferview_funcs.C (put_selection_at):
1849         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1850
1851 2003-11-11  André Pönitz  <poenitz@gmx.net>
1852
1853         * text.C: remove big comment on invalid Paragraph pointers as it is
1854         not valid anymore
1855
1856 2003-11-11  André Pönitz  <poenitz@gmx.net>
1857
1858         * text_funcs.[Ch]: merge with ...
1859
1860         * text.C: ... this
1861
1862         * lyxtext.h:
1863         * text2.C:
1864         * text3.C: adjust
1865
1866         * Makefile.am: remove text_funcs.[Ch]
1867
1868 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1869
1870         * cursor.C (getPos): return absolute cached y coord
1871
1872         * BufferView_pimpl.C (fitCursor): new simplistic code
1873         (workAreaDispatch): add a fitCursor call
1874
1875 2003-11-10  André Pönitz  <poenitz@gmx.net>
1876
1877         * BufferView.[Ch]:
1878         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1879
1880 2003-11-10  André Pönitz  <poenitz@gmx.net>
1881
1882         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1883         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1884         indicate that the cursor needs to leave an inset
1885
1886         * lyxtext.h: remove inset locking
1887
1888         * cursor.[Ch]: re-implement functionality provided by inset locking
1889
1890         * BufferView.[Ch]:
1891         * BufferView_pimpl.[Ch]:
1892         * LyXAction.C:
1893         * bufferview_funcs.[Ch]:
1894         * factory.C:
1895         * funcrequest.[Ch]:
1896         * iterators.C:
1897         * lyx_cb.C:
1898         * lyxfind.C:
1899         * lyxfunc.C:
1900         * text.C:
1901         * text2.C:
1902         * text3.C:
1903         * undo.C: adjust
1904
1905 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1906
1907         * PosIterator.[Ch]: replace the stack with a vector, add inset
1908         accesor
1909         * iterators.[C]: adjust
1910
1911 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1912
1913         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1914         replaced
1915         * paragraph_funcs.C (readParToken): put the correct id in the
1916         error item, not the id of the top paragraph
1917
1918 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1919
1920         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1921         * bufferview_funcs.C (put_selection_at): use the above
1922
1923 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1924
1925         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1926
1927 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1928
1929         * output_linuxdoc.h:
1930         * output_plaintext.h:
1931         * output.h:
1932         * output_docbook.h: add #include statements
1933
1934 2003-11-05  José Matos  <jamatos@lyx.org>
1935
1936         * output_docbook.[Ch]:
1937         * output_latex.[Ch]:
1938         * output_linuxdoc.[Ch]:
1939         * output_plaintext.[Ch]: New files for output formats.
1940         * output.[Ch]: New file for helper functions.
1941
1942         * buffer.[Ch]:
1943         * paragraph_funcs.[Ch]: output functions moved to new files.
1944
1945         * outputparams.h: rename of latexrunparams.h
1946
1947         * LaTeX.[Ch]:
1948         * buffer.[Ch]:
1949         * bufferlist.[Ch]:
1950         * converter.[Ch]:
1951         * exporter.C:
1952         * paragraph.[Ch]:
1953         * paragraph_funcs.[Ch]:
1954         * paragraph_pimpl.[Ch]:
1955         * tabular.[Ch]: rename ascii to plaintext
1956         and LatexRunParams to OutputParams.
1957
1958 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1959
1960         * iterators.[Ch] (text): require bv argument
1961         * undo.C (recordUndo):
1962         * lyxfunc.C (dispatch):
1963         * bufferview_funcs.C (put_selection_at): adjust
1964
1965 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1966
1967         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1968
1969 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1970
1971         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1972         nestings
1973
1974 2003-11-04  André Pönitz  <poenitz@gmx.net>
1975
1976         * cursor.[Ch]: restructure
1977
1978         * BufferView.[Ch]:
1979         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1980
1981         * iterators.[Ch] (asCursor): remove
1982
1983         * lfuns.h: remove LFUN_INSET_EDIT
1984
1985         * lyxfunc.C:
1986         * tabular.C:
1987         * text.C:
1988         * text2.C:
1989         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1990
1991 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1992
1993         * lyxfind.[Ch]: complete overhaul
1994         * BufferView_pimpl.C:
1995         * lyxfunc.C: adjust
1996         * paragraph.[Ch] (insert): add
1997
1998 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1999
2000         * BufferView.[Ch]:
2001         * lyxtext.h:
2002         * text.C: remove dead spellcheck code
2003
2004 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2005
2006         * dispatchresult.h: add a val setter
2007
2008         * cursor.C (dispatch): use a tempvar for data_[i]
2009
2010 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2011
2012         * PosIterator.[Ch]: compile fix
2013
2014 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2015
2016         * text.C (cursorPar): deactivate the cursor cache
2017
2018 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2019
2020         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2021
2022 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2023
2024         * text3.C (dispatch): adjust for new DisptchResult semantics.
2025
2026         * lyxfunc.C (dispatch): handle update when return from
2027         Cursor::dispatch, adjust for new DispatchResult semantics.
2028
2029         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2030         DispatchResult(true) mean to not update. Add class functions for
2031         setting dispatched and update, as well as reading.
2032
2033         * cursor.C (dispatch): don't handle update here
2034
2035 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2036
2037         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2038         * trans_mgr.C: adjust
2039
2040         * paragraph_funcs.C (readParToken): exception safety
2041
2042         * lyxvc.h: store the vcs pointer in a scoped_ptr
2043         * lyxvc.C: adjust
2044
2045         * lyxsocket.C (serverCallback): exception safety
2046
2047         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2048
2049         * ispell.C (clone): make it return a auto_ptr
2050
2051         * factory.C (createInset): exception safety
2052         (readInset): exception safety
2053
2054         * bufferlist.C (newBuffer): exception safety
2055
2056         * Thesaurus.C (Thesaurus): use initialization for aik_
2057
2058         * MenuBackend.C (expandToc): exception safety.
2059
2060 2003-11-03  André Pönitz  <poenitz@gmx.net>
2061
2062         * buffer.C:
2063         * buffer.h:
2064         * bufferview_funcs.C: remove getInsetFromId()
2065
2066         * lyxcursor.[Ch]:
2067         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2068
2069         * lyxfunc.C:
2070         * text2.C:
2071         * text3.C: adjust
2072
2073 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2074
2075         * PosIterator.C (distance, advance): new
2076         * bufferview_funcs.[Ch] (put_selection_at): new
2077         * iterators.[Ch] (lockPath): new
2078
2079 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2080
2081         * iterators.[Ch] (asPosIterator): added
2082         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2083         * PosIterator.[Ch]: added
2084
2085 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2086
2087         * text3.C:
2088         * lyxfunc.C:
2089         * cursor.C (dispatch):
2090         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2091
2092         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2093         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2094         contructor, add a class function dispatched. Remove operator>=
2095
2096 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2097
2098         * debug.C: only use the default constructor for debugstream
2099         (lyxerr) here.
2100
2101         * main.C (main): include debug.h and setup the lyxerr streambuf
2102         here.
2103
2104 2003-10-31  José Matos  <jamatos@lyx.org>
2105
2106         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2107
2108         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2109         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2110         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2111         * paragraph_pimpl.C (simpleTeXSpecialC):
2112         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2113         add LatexRunParams argument.
2114
2115         * exporter.C (Export): change call accordingly.
2116
2117         * latexrunparams.h: add new member to take care of the other backends.
2118 2003-10-30  José Matos  <jamatos@lyx.org>
2119
2120         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2121         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2122         factorise code for paragraph output.
2123         * buffer.[Ch]:
2124         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2125         move functions.
2126
2127 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2128
2129         * text3.C (dispatch):
2130         * lyxfunc.C (dispatch):
2131         * cursor.C (dispatch):
2132         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2133
2134         * dispatchresult.h: make the dispatch_result_t ctor explicit
2135
2136 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2137
2138         * sgml.[Ch]:
2139         * buffer.C: small refactoring of docbook stuff
2140
2141 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2142
2143         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2144         meaning.
2145
2146 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2147
2148         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2149         operator dispatch_result_t, and operators for == != and >=
2150
2151         * cursor.C (dispatch): adjust for operator dispatch_result_t
2152         removal. comment out call to update
2153
2154         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2155
2156 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2157
2158         * text3.C:
2159         * text2.C:
2160         * text.C:
2161         * lyxtext.h:
2162         * lyxfunc.C:
2163         * cursor.C:
2164         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2165         (dispatch):
2166
2167         * dispatchresult.h: new file, DispatchResult broken out of
2168         insets/insetbase.h
2169
2170         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2171
2172 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2173
2174         * text.C (rowBreakPoint): put a hack inside #if 0
2175
2176 2003-10-28  André Pönitz  <poenitz@gmx.net>
2177
2178         * lyxtext.h:
2179         * metricsinfo.C:
2180         * paragraph_funcs.C:
2181         * rowpainter.C:
2182         * text.C:
2183         * text2.C: general cleanup (lots of small stuff)
2184
2185 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2186
2187         * text2.C (cursorEnd): simple fix to the "end key goes to one
2188         before the end on last row" bug
2189
2190 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2191
2192         * text.C (backspace): fix the "zombie characters"
2193
2194 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2195
2196         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2197
2198 2003-10-27  André Pönitz  <poenitz@gmx.net>
2199
2200         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2201
2202         * factory.C: handle new InsetPagebreak, InsetLine
2203
2204         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2205         and move handling into new InsetPagebreak, InsetLine
2206
2207         * BufferView_pimpl.C:
2208         * LyXAction.C:
2209         * ParagraphParameters.C:
2210         * ParameterStruct.h:
2211         * lyxfunc.C:
2212         * lyxtext.h:
2213         * paragraph.C:
2214         * paragraph.h:
2215         * paragraph_funcs.C:
2216         * paragraph_pimpl.C:
2217         * rowpainter.C:
2218         * text.C:
2219         * text2.C:
2220         * text3.C: adjust
2221
2222 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2223
2224         * text.C:
2225         * lyxrow_funcs.[Ch]:
2226         * Bidi.C:
2227         * paragraph.C:
2228         * lyxtext.h:
2229         * rowpainter.C:
2230         * text2.C:
2231         * text3.C: remove lastPos uses in favour of Row::endpos
2232
2233 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2234
2235         * undo.C (performUndoOrRedo): fix two crashes by setting a
2236         cursor by hand and reordering some calls. Use bv->lockInset instead
2237         of inset->edit because the latter loses cursor information
2238
2239 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2240
2241         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2242         by Martin
2243         (rowBreakPoint): fix width. change point to point + 1.
2244         Add a missing check.
2245
2246 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2247
2248         * MenuBackend.C:
2249         * lyxfunc.C: fix (at least partly) the problems
2250         with the Nav menu and headers inside branch insets
2251         reported by Kayvan
2252
2253 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2254
2255         * paragraph.C (getChar): add strong asserts
2256
2257         * lyxrow_funcs.C (lastPos): remove hideous hack
2258
2259         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2260         (fill): adjust to that (avoid an infinite loop)
2261
2262 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2263
2264         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2265
2266 2003-10-23  André Pönitz  <poenitz@gmx.net>
2267
2268         * RowList_fwd.h: change list<> to vector<> to gain speed
2269         after suggestion from Alfredo
2270
2271 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2272
2273         * lyxtext.h: move the bidi stuff from here...
2274         * text.C: and here
2275         * text2.C: and here
2276         * Bidi.[Ch]: ... to here
2277
2278 2003-10-23  André Pönitz  <poenitz@gmx.net>
2279
2280         * lyxtext.h:
2281         * text.C (isLastRow, isFirstRow): new functions
2282
2283         * paragraph.h: new width cache member
2284
2285         * rowpainter.C: replace RowList::iterator with Row & where possible
2286
2287         * lyxfunc.C: replace several view()->text with a single call
2288
2289         * toc.C: fix 'unused' warning
2290
2291 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2292
2293         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2294         when woring with stream::pos_type
2295         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2296
2297 2003-10-22  André Pönitz  <poenitz@gmx.net>
2298
2299         * lyxtext.h:
2300         * text.C: use Row & instead of RowList::iterator
2301
2302         * lyxrow.h: rename end() to endpos()
2303
2304         * rowpainter.C:
2305         * text.C:
2306         * text2.C: adjust
2307
2308 2003-10-22  Angus Leeming  <leeming@lyx.org>
2309
2310         * buffer.[Ch] (fully_loaded): new member function, returning true
2311         only when the file has been loaded fully.
2312         Used to prevent the premature generation of previews and by the
2313         citation inset to prevent computation of the natbib-style label.
2314
2315         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2316         templates are all set up.
2317
2318         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2319
2320 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2321
2322         * text.C: fixed an "oops" in the "is a bit silly"
2323         bug fix
2324
2325 2003-10-21  André Pönitz  <poenitz@gmx.net>
2326
2327         * FuncStatus.[Ch]: small stuff, whitespace
2328
2329         * lyxfont.[Ch]: operator<<() for debug reasons
2330
2331         * lyxfunc.C:
2332         * lyxrow_funcs.C:
2333         * lyxtext.h: whitespace, spelling
2334
2335         * paragraph.C: naming of variables
2336
2337         * text.C:
2338         * text2.C: small stuff
2339
2340
2341 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2342
2343         * text.C: (1) finish off the inset display() work;
2344         (2) fix the "is a bit silly" bug (accessing char
2345         past end of par).
2346
2347 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2348
2349         * text.C: re-introduce display() for insets, fixing the
2350         various bugs (stretch of line above, math inset
2351         positioning, ...)
2352
2353 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2354
2355         * text.C (rightMargin): remove spurious semicolon
2356
2357         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2358         1415)
2359
2360 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2361
2362         * text3.C: fix one crash due to wrong cursor def
2363
2364 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2365
2366         * vc-backend.C (scanMaster): make the regex static
2367
2368         * LaTeX.C (scanAuxFile): make the regexs static
2369
2370         * text3.C (doInsertInset, dispatch, dispatch):
2371         * text2.C (cursorUp, cursorDown):
2372         * text.C (selectNextWordToSpellcheck):
2373         * BufferView_pimpl.C (dispatch):
2374         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2375
2376 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2377
2378         * lyxsocket.C: include <cerrno>
2379
2380 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2381
2382         * lyxfunc.C (dispatch): remove textcache stuff
2383
2384         * bufferlist.C (release): remove textcache stuff
2385         (closeAll): ditto
2386
2387         * TextCache.C: delete file
2388         * TextCache.h: delete file
2389
2390         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2391
2392         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2393         delete of the bv_->text.
2394         (resizeCurrentBuffer): remove texcache stuff
2395         (workAreaResize): ditto
2396
2397 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2398
2399         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2400         action.
2401
2402 2003-10-16  André Pönitz  <poenitz@gmx.net>
2403
2404         * lyxrow.[Ch]:
2405         * paragraph.h:
2406         * rowpainter.C:
2407         * text.C:
2408         * text2.C:
2409         * text3.C: speed up by storing y positions per paragraph plus per-row
2410         offset instead of having a 'full' y position in the row.
2411
2412 2003-10-15  André Pönitz  <poenitz@gmx.net>
2413
2414         * iterators.[Ch]:
2415         * iterators.[Ch]:
2416         * undo.[Ch]: make undo aware of inner insets
2417
2418 2003-10-14  Angus Leeming  <leeming@lyx.org>
2419
2420         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2421         static member functions LyX::ref() and LyX::cref.
2422         (lastfiles): new accessor functions for the new lastfiles_ member var.
2423         (addLyXView, views_): add a new LyXView to the list of views_.
2424         (updateInset): loop over all LyXViews to call their own updateInset
2425         member function, returning a pointer to the Buffer owning the inset.
2426
2427         * BufferView_pimpl.C (loadLyXFile):
2428         * MenuBackend.C (expandLastfiles):
2429         * bufferlist.C (MenuWrite, QuitLyX):
2430         lastfiles is no longer a global variable.
2431         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2432
2433         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2434         static function. Access through LyX::cref().emergencyCleanup().
2435
2436 2003-10-14  André Pönitz  <poenitz@gmx.net>
2437
2438         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2439
2440         * undo.[Ch]: restoring part of 'undo in insets'
2441
2442         * Makefile.am:
2443         * undo_funcs.[Ch]: merge with undo.[Ch]
2444
2445         * tabular.C: small cleansing stuff
2446
2447 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2448
2449         * paragraph_funcs.C (readParToken): report unknown insets as error
2450         boxes. Use the outer paragraph as location (also for unknown
2451         tokens).
2452
2453         * factory.C (readInset): do not abort on reading an unknown inset.
2454         Eat it and return 0.
2455
2456 2003-10-13  Angus Leeming  <leeming@lyx.org>
2457
2458         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2459
2460         * lyxrc.C: displayTranslator is now a function,
2461         declared in GraphicsTypes.h.
2462
2463 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2464
2465         * format.C: new placeholder $$a to pass the socket address.
2466
2467         * bufferlist.[Ch]: new function getBufferFromTmp.
2468
2469         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2470           files in the temporary dir.
2471
2472 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2473
2474         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2475
2476         * Makefile.am: add lyxsocket.[Ch].
2477
2478         * lyx_main.C (error_handler): handle SIGPIPE.
2479
2480 2003-10-13  André Pönitz  <poenitz@gmx.net>
2481
2482         * BufferView_pimpl.C:
2483         * lyxtext.h:
2484         * text.C:
2485         * text2.C:
2486         * text3.C:
2487         * undo_funcs.[Ch]: use paroffset_type instead of
2488           ParagraphList::iterators to prevent multiple conversion
2489           (and get a more robust interface)
2490
2491 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2492
2493         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2494         * lyxtext.h: ditto
2495         * text3.C (dispatch): ditto
2496
2497 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2498
2499         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2500         move the onlyfile, use onlyfile instead of foundfile in a couple
2501         of places.
2502
2503         * DepTable.C (update): flush the error stream a bit more
2504
2505 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2506
2507         * lyxserver.C (callback): adjust
2508
2509         * lyxfunc.C (getStatus): add a missing brace in commented code
2510         (ensureBufferClean): reindent
2511         (dispatch): delete version taking a string
2512
2513 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2514
2515         * LaTeX.C (deplog): move found file handlig from here...
2516         (handleFoundFile): .. to new function here.
2517         (deplog): make sure to discover several files mentioned on the
2518         same log line.
2519
2520 2003-10-10  André Pönitz  <poenitz@gmx.net>
2521
2522         * lyxfunc.C:
2523         * lyxtext.h:
2524         * tabular.C:
2525         * text.C:
2526         * text2.C:
2527         * text3.C: fix some of the tabular crashes
2528
2529 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2530
2531         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2532
2533         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2534
2535 2003-10-09  André Pönitz  <poenitz@gmx.net>
2536
2537         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2538
2539         * BufferView.C:
2540         * BufferView_pimpl.C:
2541         * bufferview_funcs.C:
2542         * lyx_cb.C:
2543         * lyxcursor.C:
2544         * lyxfind.C:
2545         * lyxfunc.C:
2546         * lyxtext.h:
2547         * text.C:
2548         * text2.C:
2549         * text3.C:
2550         * text_funcs.[Ch]:
2551         * textcursor.[Ch]:
2552         * undo_funcs.C: adjust
2553
2554 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2555
2556         * text2.C (incrementItemDepth): new function, use a backtracking
2557         algorithm to discover the correct item depth.
2558         (resetEnumCounterIfNeeded): new function, use a backtracking
2559         algorithm to discover if counter reset is needed.
2560         (setCounter): use them. Simplify a bit. Add different labels for
2561         different item depths for itemize.
2562
2563         * paragraph.C (Paragraph): remove initialization of enumdepth
2564         (operator=): ditto
2565
2566         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2567         enumerate and itemize. Change the type of itemdepth to signed char.
2568
2569 2003-10-08  André Pönitz  <poenitz@gmx.net>
2570
2571         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2572           thing assignable.
2573         * text.C:
2574         * text2.C: adjust
2575
2576         * tabular.[Ch]: fix crash after 'row-insert'
2577
2578 2003-10-08  Angus Leeming  <leeming@lyx.org>
2579
2580         Fix doxygen warnings.
2581
2582         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2583         Remove CutAndPaste:: prefix from header file declaration.
2584
2585         * LColor.h (fill): remove LColor:: prefix from declaration.
2586
2587         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2588         use lyx::depth_type rather than Paragraph::depth_type so that
2589         header file and .C file match.
2590
2591         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2592
2593         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2594         * aspell.C: \file aspell_local.C -> \file aspell.C
2595         * gettext.C: \file gettext.C -> \file src/gettext.C
2596         * gettext.h: \file gettext.h -> \file src/gettext.h
2597         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2598         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2599         * text.C: \file text.C -> \file src/text.C
2600
2601         * toc.C: move comment so that doxygen is not confused.
2602
2603 2003-10-07  Angus Leeming  <leeming@lyx.org>
2604
2605         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2606
2607 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2608
2609         * aspell.C:
2610         * aspell_local.h: add forgotten std::string's.
2611
2612 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2613
2614         * LaTeXFeatures.C:
2615         * LyXAction.C:
2616         * factory.C:
2617         * lfuns.h:
2618         * lyxfunc.C:
2619         * text3.C: The Box patch. Fancybox support, minipage, parbox
2620
2621 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2622
2623         * CutAndPaste.h:
2624         * DepTable.h:
2625         * FloatList.h:
2626         * LaTeXFeatures.h:
2627         * ParagraphParameters.h:
2628         * TextCache.h:
2629         * Thesaurus.h:
2630         * bufferlist.h:
2631         * exporter.h:
2632         * importer.h:
2633         * lastfiles.h:
2634         * lyxfind.h:
2635         * lyxfont.h:
2636         * lyxlex.h:
2637         * lyxtextclasslist.h:
2638         * messages.h:
2639         * paragraph.h:
2640         * paragraph_pimpl.C:
2641         * textcursor.h: add <string> and other small fixes to make Lars'
2642         std::string patch compile with STLport.
2643
2644 2003-10-06  Angus Leeming  <leeming@lyx.org>
2645
2646         * LColor.h: Add missing #include <string>.
2647
2648 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2649
2650         * All most all file in all subdirs: Make <string> be the prefered
2651         way of getting to std::string, add using declarations.
2652
2653 2003-10-06  André Pönitz  <poenitz@gmx.net>
2654
2655         * metricsinfo.C: initialize LyXFont before changing attribute.
2656         (fixes the 'math in \emph is upright' bug)
2657
2658 2003-10-06  André Pönitz  <poenitz@gmx.net>
2659
2660         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2661
2662 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2663
2664         * graph.C:
2665         * paragraph_pimpl.C: Small fixes to build using STLport
2666
2667 2003-10-02  André Pönitz  <poenitz@gmx.net>
2668
2669         * lyxfunc.C:
2670         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2671
2672 2003-10-01  André Pönitz  <poenitz@gmx.net>
2673
2674         * factory.C: assert early
2675
2676 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2677
2678         * lyx_main.C: remove the global debug object
2679
2680         * debug.h: adjust for new debugstream
2681
2682         * debug.C: adjust for new debugstream and keep the global debug
2683         object here.
2684
2685 2003-09-22  Angus Leeming  <leeming@lyx.org>
2686
2687         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2688         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2689         an incomplete class LyXFont.
2690
2691 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2692
2693         * factory.C: bug fix in branches
2694
2695 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2696
2697         * lyxfunc.C (processKeySym): adjust
2698         (dispatch): adjust
2699         (dispatch): change arg name from ev to func, adjust
2700         (sendDispatchMessage): ditto
2701
2702         * lyx_main.C (defaultKeyBindings): adjust keybindings
2703         (deadKeyBindings): ditto
2704
2705         * kbsequence.C (addkey): return a FuncRequest
2706
2707         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2708
2709         * kbmap.C (bind): take a FuncRequest as arg, adjust
2710         (read): adjust
2711         (lookup): adjust
2712         (defkey): change to take a FuncRequest as arg, adjust
2713         (findbinding): take a FuncRequest as arg, adjust.
2714
2715         * funcrequest.h (operator=): added
2716
2717         * funcrequest.C (FuncRequest): default kb_action changed from
2718         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2719
2720         * buffer.C (dispatch): simplify
2721         (dispatch): adjust to take a FuncRequest as arg, adjust
2722
2723         * boost.C (assertion_failed): change assertion message slightly
2724
2725         * ToolbarBackend.C (read): simplify
2726
2727         * MenuBackend.C (binding): adjust call to findbinding, add a
2728         message if no binding is found.
2729         (read): simplify
2730         (expandToc): correct by adding a empty FuncRequest
2731
2732         * LyXAction.C: include <boost/assert.hpp>
2733         (isPseudoAction): delete function
2734         (LookupFunc): change name to...
2735         (lookupFunc): this. change return type to FuncRequest.
2736         (getActionName): take kb_action as arg, simplify
2737         (funcHasFlag): add an assert, simplify.
2738
2739 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2740
2741         * toc.C (action): return a FuncRequest, simplify
2742
2743         * lyxfunc.C (processKeySym): adjust
2744         (getStatus): delete version that takes an int.
2745         (getStatus): adjust
2746         (dispatch): delete version that takes action as int
2747         (dispatch): adjust
2748         (sendDispatchMessage): simplify and adjust
2749
2750         * funcrequest.C (getArg): take unsigned int as arg
2751
2752         * ToolbarBackend.C (read): adjust
2753         (add): delete version that takes func as a string.
2754         (getIton): take a FuncRequest as arg
2755
2756         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2757         action.
2758
2759         * MenuBackend.C (MenuItem): add a new construct that only takes a
2760         Kind, simplify the constructor use for submenus.
2761         (add): adjust
2762         (expandLastfiles): adjust
2763         (expandDocuments): adjust
2764         (expandFormats): adjust
2765         (expandFloatListInsert): adjust
2766         (expandFloatInsert): adjust
2767         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2768
2769         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2770         Remove class variables lyx_pseudo_map and lyx_arg_map
2771
2772         * LyXAction.C (searchActionArg): delete function
2773         (getPseudoAction): delete function
2774         (retrieveActionArg): delete function
2775         (LookupFunc): make it return kb_action, simplify.
2776         (getActionName): simplify
2777
2778         * factory.C (createInset): fix new bug
2779
2780 2003-09-19  Angus Leeming  <leeming@lyx.org>
2781
2782         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2783         masterFilename_ parameter in the include inset.
2784
2785         * factory.C (createInset): changes due to the changes to InsetInclude.
2786
2787 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2788
2789         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2790
2791 2003-09-18  Angus Leeming  <leeming@lyx.org>
2792
2793         * buffer.C:
2794         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2795         Inset::fillWithBibKeys.
2796         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2797
2798 2003-09-18  Angus Leeming  <leeming@lyx.org>
2799
2800         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2801         variables.
2802         (ctor): pass and store a 'Buffer const &'
2803         (buffer): new member function.
2804
2805         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2806         '*this' to the LaTeXFeatures ctor.
2807
2808 2003-09-18  Angus Leeming  <leeming@lyx.org>
2809
2810         * LColor.h:
2811         * lyxfont.C:
2812         * lyxfont.h:
2813         * lyxtext.h:
2814         * text.C: rename EnumLColor as LColor_color.
2815
2816 2003-09-18  Angus Leeming  <leeming@lyx.org>
2817
2818         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2819         remove #include "insets/insetbase.h" from cursor.h.
2820
2821 2003-09-18  Angus Leeming  <leeming@lyx.org>
2822
2823         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2824         InsetOld_code to remove #include "inset.h".
2825
2826         * iterators.C: add #include "insets/inset.h"
2827
2828 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2829
2830         * BufferView.C: remove more locking stuff that apparently doesn't
2831         do anything sensible.
2832
2833 2003-09-16  André Pönitz  <poenitz@gmx.net>
2834
2835         * paragraph.[Ch]:
2836         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2837           performance boost.
2838
2839 2003-09-16  Angus Leeming  <leeming@lyx.org>
2840
2841         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2842
2843         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2844         arg/return type.
2845
2846         * paragraph.h: remove #include "lyxfont.h". Forward declare
2847         LyXFont_size.
2848
2849 2003-09-16  Angus Leeming  <leeming@lyx.org>
2850
2851         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2852         of support/textutils.h.
2853         (isWord): move the contents of support/textutils.h's IsWordChar here.
2854
2855         * buffer.C:
2856         * lyxfind.C:
2857         * rowpainter.C:
2858         * text.C:
2859         * text2.C: add #include "paragraph.h".
2860
2861         * rowpainter.C:
2862         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2863
2864 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2865
2866         * main.C:
2867         * lyx_main.C:
2868         * lyx_cb.C:
2869         * buffer.C:
2870         * LaTeX.C: use namespace alias for lyx::support::os
2871
2872 2003-09-16  Angus Leeming  <leeming@lyx.org>
2873
2874         * bufferparams.C:
2875         * bufferview_funcs.C:
2876         * factory.C:
2877         * lyxfunc.C:
2878         * paragraph_pimpl.C:
2879         * rowpainter.C:
2880         * text.C: add #include "LColor.h".
2881
2882 2003-09-16  Angus Leeming  <leeming@lyx.org>
2883
2884         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2885         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2886         return LyXFont &.
2887         Store the FontBits::color variable as an int rather than as an
2888         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2889         file.
2890
2891         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2892         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2893         string calls together.
2894
2895         * lyxrc.C: add #include "LColor.h".
2896
2897 2003-09-15  Angus Leeming  <leeming@lyx.org>
2898
2899         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2900         a cow_ptr.
2901
2902 2003-09-15  Angus Leeming  <leeming@lyx.org>
2903
2904         * LColor.h: add an EnumLColor wrapper for LColor::color.
2905
2906         * lyxfont.[Ch] (color, setColor, realColor):
2907         * lyxtext.h, text.C (backgroundColor):
2908         pass EnumLColor args to/from the functions, rather than LColor::color
2909         ones.
2910
2911         * lyxfont.h:
2912         * lyxtext.h: forward declare EnumLColor.
2913
2914         * lyx_main.C: add #include "LColor.h".
2915
2916 2003-09-15  Angus Leeming  <leeming@lyx.org>
2917
2918         * .cvsignore: add lyx-gtk.
2919
2920 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2921
2922         * Chktex.C
2923         * LaTeX.C
2924         * LaTeXFeatures.C
2925         * ParagraphParameters.C
2926         * Spacing.C
2927         * buffer.C
2928         * bufferparams.C
2929         * bufferview_funcs.C
2930         * chset.C
2931         * counters.C
2932         * funcrequest.C
2933         * lyxfont.C
2934         * lyxgluelength.C
2935         * lyxlength.C
2936         * paragraph.C
2937         * paragraph_funcs.C
2938         * text3.C
2939         * vc-backend.C: remove usage of STRCONV
2940
2941 2003-09-15  Angus Leeming  <leeming@lyx.org>
2942
2943         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2944         explicitly define the color passed to the painter.
2945
2946 2003-09-15  Angus Leeming  <leeming@lyx.org>
2947
2948         * bufferparams.C (BufferParams): reorder member initializers to avoid
2949         compiler warning.
2950
2951 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2952
2953         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2954         * text.C (updateRowPositions): remove an unusual nop
2955
2956 2003-09-12  André Pönitz  <poenitz@gmx.net>
2957
2958         * BufferView_pimpl.C:
2959         * Bullet.C:
2960         * layout.h:
2961         * lyxfunc.C:
2962         * lyxlayout.[Ch]:
2963         * lyxtextclass.C:
2964         * rowpainter.C:
2965         * text.C:
2966         * text2.C:
2967         * Counters.[Ch]: finish the 'automatic counters' job
2968
2969 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2970
2971         * aspell.C: include <boost/assert.cpp> (compile fix)
2972
2973 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2974
2975         * boost.C (assertion_failed): use lyx::support::abort instead of
2976         assert.
2977
2978 2003-09-10  Angus Leeming  <leeming@lyx.org>
2979
2980         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2981         with their _fwd progeny.
2982
2983 2003-09-09  Angus Leeming  <leeming@lyx.org>
2984
2985         134 files throughtout the source tree: replace 'using namespace abc;'
2986         directives with the appropriate 'using abc::xyz;' declarations.
2987
2988 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2989
2990         * boost.C (emergencyCleanup): moved here from LAssert.c
2991         (assertion_failed): new function, called by BOOST_ASSERT
2992
2993         * several files: change Assert to BOOST_ASSERT
2994
2995 2003-09-09  Angus Leeming  <leeming@lyx.org>
2996
2997         * buffer.[Ch]: Add an Impl class and move Buffer's member
2998         variables into it. As a result move several header files out of
2999         buffer.h.
3000
3001         Add header files to lots of .C files all over the tree as a result.
3002
3003 2003-09-09  Angus Leeming  <leeming@lyx.org>
3004
3005         * buffer.[Ch]: make Buffer's member variables private. Add
3006         accessor functions.
3007
3008         Lots of changes all over the tree as a result.
3009
3010 2003-09-08  Angus Leeming  <leeming@lyx.org>
3011
3012         * graph.C: #include <config.h>.
3013
3014 2003-09-08  Angus Leeming  <leeming@lyx.org>
3015
3016         * BranchList.C:
3017         * BufferView.C:
3018         * BufferView_pimpl.C:
3019         * CutAndPaste.C:
3020         * DepTable.C:
3021         * LaTeX.C:
3022         * LaTeXFeatures.C:
3023         * LyXAction.C:
3024         * MenuBackend.C:
3025         * TextCache.C:
3026         * aspell.C:
3027         * buffer.C:
3028         * bufferlist.C:
3029         * changes.C:
3030         * chset.C:
3031         * converter.C:
3032         * counters.C:
3033         * debug.C:
3034         * graph.C:
3035         * ispell.C:
3036         * lyx_cb.C:
3037         * lyxfind.C:
3038         * lyxfunc.C:
3039         * lyxlex_pimpl.C:
3040         * lyxrc.C:
3041         * lyxrow.C:
3042         * paragraph.C:
3043         * rowpainter.C:
3044         * texrow.C:
3045         * text.C:
3046         * text2.C:
3047         * toc.C: remove redundant using directives.
3048
3049 2003-09-07  Angus Leeming  <leeming@lyx.org>
3050
3051         * LaTeXFeatures.h: remove #include "support/types.h".
3052         * ToolbarBackend.h: remove #include <algorithm>.
3053         * changes.h: remove #include <ctime>.
3054         * debug.h: remove #include <iosfwd>.
3055         * graph.h: remove #include "support/std_string.h".
3056         * lyx_main.h: remove #include <csignal>.
3057         * lyxlex_pimpl.h: remove #include <fstream>.
3058         * sgml.h: remove #include <algorithm>, <utility>.
3059         * toc.h: remove #include "support/std_ostream.h".
3060         Add #include <iosfwd>.
3061
3062 2003-09-07  Angus Leeming  <leeming@lyx.org>
3063
3064         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3065
3066         * converter.h: forward declare LatexRunParams.
3067         * encoding.h: remove #include "lyxrc.h".
3068         * lyxtext.h: remove #include "LColor.h".
3069         * lyxtextclass.h: remove #include "support/types.h".
3070         * trans.h: remove #include "tex-accent.h".
3071         * trans_mgr.h: remove #include "tex-accent.h".
3072         * insets/inset.h: remove #include "support/types.h", <vector>.
3073         * insets/insetcollapsable.h: remove #include "LColor.h".
3074         * insets/insetinclude.h: remove #include "dimension.h".
3075         * insets/insetlatexaccent.h: remove #include "dimension.h".
3076         * insets/insetoptarg.h:: remove #include "insettext.h".
3077         * insets/insettext.h: remove #include "dimension.h",
3078         <boost/shared_ptr.hpp>
3079
3080         * insets/renderers.h: add #include "dimension.h".
3081         * insets/updatableinset.h: add #include "support/types.h".
3082
3083         * many .C files: Associated changes.
3084
3085 2003-09-06  Angus Leeming  <leeming@lyx.org>
3086
3087         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3088         one, inside testInvariant.
3089
3090         * PrinterParams.C: new file.
3091         * PrinterParams.[Ch]: move the function bodies out of line.
3092
3093 2003-09-06  Angus Leeming  <leeming@lyx.org>
3094
3095         * ParagraphParameters.h: forward declare ParameterStruct rather than
3096         including its header file.
3097         (depth): moved out-of-line.
3098
3099 2003-09-06  Angus Leeming  <leeming@lyx.org>
3100
3101         * BufferView_pimpl.h:
3102         * kbmap.h:
3103         * kbsequence.h:
3104         * lyxfunc.h: forward declare LyXKeySym rather than
3105         #include "frontends/LyXKeySym.h".
3106
3107         * BufferView_pimpl.C:
3108         * kbmap.C:
3109         * kbsequence.C:
3110         * lyxfunc.C: associated changes.
3111
3112 2003-09-06  Angus Leeming  <leeming@lyx.org>
3113
3114         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3115         As a result, can remove the #include "insets/inset.h" from BufferView.h
3116
3117 2003-09-06  Angus Leeming  <leeming@lyx.org>
3118
3119         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3120         As a result, can remove the #include "insets/inset.h" from BufferView.h
3121
3122 2003-09-06  Angus Leeming  <leeming@lyx.org>
3123
3124         * buffer_funcs.C:
3125         * buffer.h:
3126         * bufferlist.C:
3127         * BufferView.C:
3128         * bufferview_funcs.C:
3129         * BufferView_pimpl.C:
3130         * CutAndPaste.C:
3131         * lyx_cb.C:
3132         * lyxfunc.C:
3133         * paragraph.h:
3134         * ParagraphParameters.C:
3135         * tabular.C:
3136         * text3.C:
3137         * toc.C:
3138         * undo_funcs.C:
3139         * frontends/controllers/ControlDocument.C:
3140         * insets/insetcaption.C: rearrange the #includes into some sort of
3141         coherent order.
3142
3143         * buffer.h: remove #includes ErrorList.h, undo.h
3144
3145 2003-09-06  Angus Leeming  <leeming@lyx.org>
3146
3147         * support/types.h: add a 'depth_type' typedef, used to store the
3148         nesting depth of a paragraph.
3149
3150         * paragraph.h:
3151         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3152         defining explicitly.
3153
3154         * buffer.h:
3155         * paragraph_funcs.h:
3156         * ParagraphParameters.h:
3157         * sgml.h: use lyx::depth_type rather than Paragraph or
3158         ParameterStruct's depth_type.
3159
3160         * buffer.h
3161         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3162
3163         * BufferView.C:
3164         * BufferView_pimpl.C:
3165         * CutAndPaste.C:
3166         * ParagraphParameters.C:
3167         * buffer_funcs.C:
3168         * bufferlist.C:
3169         * bufferview_funcs.C:
3170         * lyx_cb.C:
3171         * lyxfunc.C:
3172         * tabular.C:
3173         * text3.C:
3174         * toc.C:
3175         * undo_funcs.C:
3176         * frontends/LyXView.C:
3177         * frontends/controllers/ControlDocument.C:
3178         * frontends/controllers/ControlErrorList.C:
3179         * insets/insetbibitem.C:
3180         * insets/insetbranch.C:
3181         * insets/insetcaption.C:
3182         * insets/insetcollapsable.C:
3183         * insets/insetenv.C:
3184         * insets/insetert.C:
3185         * insets/insetfloat.C:
3186         * insets/insetfoot.C:
3187         * insets/insetfootlike.C:
3188         * insets/insetnewline.C:
3189         * insets/insetquotes.C:
3190         * insets/insettabular.C:
3191         * insets/insettext.C:
3192         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3193
3194         * frontends/controllers/ControlChanges.C: #include "changes.h".
3195
3196 2003-09-06  Angus Leeming  <leeming@lyx.org>
3197
3198         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3199         than #including paragraph.h.
3200
3201         * ParagraphList.h:
3202         * RowList.h: deleted. Superfluous.
3203
3204         * CutAndPaste.h:
3205         * iterators.h:
3206         * lyxcursor.h:
3207         * lyxtext.h:
3208         * text_funcs.h:
3209         * undo.h:
3210         * undo_funcs.h:
3211         * insets/inset.h:
3212         * insets/insettext.h: use ParagraphList_fwd.h rather than
3213         ParagraphList.h.
3214
3215         * paragraph.h: don't forward declare ParagraphList.
3216
3217         * buffer.h:
3218         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3219         rather than ParagraphList.h. paragraph.h is still needed for the
3220         Paragraph::depth_type parameters.
3221
3222         * textcursor.h: enable it to compile stand-alone in light of the
3223         above changes.
3224
3225         * bufferview_funcs.C:
3226         * iterators.C:
3227         * lyxfunc.C:
3228         * lyxrow_funcs.C:
3229         * paragraph.C:
3230         * rowpainter.C:
3231         * text.C:
3232         * text2.C:
3233         * text3.C:
3234         * text_funcs.C:
3235         * textcursor.C:
3236         * undo.C:
3237         * frontends/controllers/ControlParagraph.C:
3238         * frontends/controllers/ControlTabular.C:
3239         * insets/insetmarginal.C:
3240         * insets/insetminipage.C:
3241         * insets/insetnote.C:
3242         * insets/insetoptarg.C: add header files needed to compile again.
3243
3244 2003-09-06  Angus Leeming  <leeming@lyx.org>
3245
3246         * RowList_fwd.h: new file, forward-declaring Row rather than
3247         #including lyxrow.h.
3248
3249         * lyxrow_funcs.h:
3250         * lyxtext.h:
3251         * paragraph.h:
3252         * insets/insettext.h: use it instead of RowList.h
3253
3254         * bufferview_funcs.C:
3255         * lyxfunc.C:
3256         * lyxrow_funcs.C:
3257         * paragraph.C:
3258         * rowpainter.C:
3259         * text.C:
3260         * text2.C:
3261         * text3.C: #include "RowList.h".
3262
3263 2003-09-05  Angus Leeming  <leeming@lyx.org>
3264
3265         * factory.C (createInset):
3266         * vspace.C (c-tor): replace sscanf call with an istringstream.
3267         * ispell.C: re-add missing HP/UX headers.
3268         * lyxserver.C: re-add missing  os2 headers.
3269
3270 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3271
3272         * BranchList.C:
3273         * graph.C:
3274         * ispell.C:
3275         * lastfiles.C:
3276         * lyx_cb.C:
3277         * lyxserver.C:
3278         * texrow.C:
3279         * text3.C: re-add missing system headers, needed for 2.95.2.
3280
3281 2003-09-05  Angus Leeming  <leeming@lyx.org>
3282
3283         Changes most place everywhere due to the removal of using directives
3284         from support/std_sstream.h.
3285
3286 2003-09-05  Angus Leeming  <leeming@lyx.org>
3287
3288         Replace LString.h with support/std_string.h,
3289         Lsstream.h with support/std_sstream.h,
3290         support/LIstream.h with support/std_istream.h,
3291         support/LOstream.h with support/std_ostream.h.
3292
3293         Changes resulting throughout the tree.
3294
3295 2003-09-05  Angus Leeming  <leeming@lyx.org>
3296
3297         * sgml.h: ensure that the header file can be compiled stand-alone.
3298         * *.C: strip out redundant #includes. (320 in total.)
3299
3300 2003-09-04  Angus Leeming  <leeming@lyx.org>
3301
3302         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3303         here (from getPackages).
3304
3305         * debug.[Ch]: add a new EXTERNAL tag.
3306
3307 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3308
3309         * text2.C (cursorEnd): simplify
3310         (setCursor): adjust
3311         (getColumnNearX): adjust
3312
3313         * text.C (computeBidiTables): adjust
3314         (fill): adjust
3315
3316         * rowpainter.C (paintChars): adjust
3317         (paintSelection): adjust
3318         (paintChangeBar): adjust
3319         (paintText): adjust
3320
3321         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3322         lastPos instead.
3323         (numberOfSeparators): adjust
3324
3325 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3326
3327         * LyXAction.C:
3328         * box.[Ch]:
3329         * lfuns.h:
3330         * lyxfunc.C:
3331         * text3.C: Restricts the mouse click functionality
3332         of insets like bibtex, include, toc and floatlist to the visible
3333         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3334         up the dialogs. Cursor has to be in front of the inset (i.e.
3335         start of row) for this to function.
3336
3337 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3338
3339         * bufferview_funcs.C (currentState): output row information
3340
3341 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3342
3343         * bufferview_funcs.C (currentState): output paragraph position
3344
3345 2003-09-04  Angus Leeming  <leeming@lyx.org>
3346
3347         * FloatList.h: move out #include "Floating.h".
3348         * LaTeX.h: move out #include "DepTable.h".
3349         * LyXAction.h: move out #include "funcrequest.h".
3350         * buffer.h: move out #include "author.h", "iterators.h".
3351         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3352         * lyx_main.h: move out #include "errorlist.h".
3353         * lyxfunc.h: move out #include "FuncStatus.h".
3354         * lyxtext: move out #include "lyxcursor.h".
3355         * paragraph_pimpl.h: move out #include "counters.h".
3356
3357 2003-09-03  Angus Leeming  <leeming@lyx.org>
3358
3359         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3360         preamble_snippets list, enabling us to add snippets to the preamble
3361         only if the snippet was not there already.
3362
3363 2003-09-04  Angus Leeming  <leeming@lyx.org>
3364
3365         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3366
3367 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3368
3369         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3370         update
3371
3372 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3373
3374         * BranchList.C: point fix, earlier forgotten
3375
3376 2003-09-02  Angus Leeming  <leeming@lyx.org>
3377
3378         * box.C (contains): renamed from 'contained' after a fantastic
3379         amount of hot air.
3380
3381 2003-09-02  John Levon  <levon@movementarian.org>
3382
3383         * BufferView.C:
3384         * lyxcursor.h:
3385         * lyxcursor.C:
3386         * lyxfunc.C:
3387         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3388
3389 2003-09-02  John Levon  <levon@movementarian.org>
3390
3391         * text2.C: simplification of cursorEnd(), including partial
3392         fix for bug 1376
3393
3394 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3395
3396         * buffer.C (readFile): add a space
3397
3398 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3399
3400         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3401
3402 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3403
3404         * buffer.C (readFile): new function, take a filename and a
3405         ParagraphList::iterator
3406         (readFile): adjust
3407         (readFile): adjust, make it private. don't use setStream, make
3408         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3409         always contain the filename.
3410
3411         * BufferView.C (insertLyXFile): simplify and make it work for
3412         gzipped files.
3413
3414 2003-08-30  John Levon  <levon@movementarian.org>
3415
3416         * Makefile.am: fix dist (from Kayvan)
3417
3418 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3419
3420         * most files: change to use const Buffer refs
3421
3422 2003-08-27  André Pönitz  <poenitz@gmx.net>
3423
3424         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3425         on top of ownerPar().
3426
3427 2003-08-27  John Levon  <levon@movementarian.org>
3428
3429         * funcrequest.C: properly initialise POD members
3430
3431 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3432
3433         * lyxtext.h (top_y): move top_y from here
3434         * text.C:
3435         * text2.C:
3436         * text3.C:
3437         * BufferView.[Ch]:
3438         * BufferView_pimpl.[Ch]: to here
3439         * frontends/screen.C:
3440         * insets/insettabular.C:
3441         * insets/insettext.C: adjust
3442         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3443
3444 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3445
3446         * BufferView.[Ch]:
3447         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3448
3449 2003-08-26  André Pönitz  <poenitz@gmx.net>
3450
3451         * paragraph_func.[Ch] (outerPar): new function
3452
3453         * paragraph.C:
3454         * paragraph_funcs.C:
3455         * paragraph_funcs.h:
3456         * paragraph_pimpl.C:
3457         * text2.C: remove Inset::par_owner
3458
3459 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3460
3461         * lyxrow_funcs.C:
3462         * lyxtext.h:
3463         * text.C:
3464         * text2.C: eliminates the needFullRow/display() stuff
3465         altogether, putting the logic in metrics/draw in the insets.
3466
3467 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3468
3469         * text2.C (redoParagraphInternal, redoParagraphs):
3470         * text.C (redoParagraph): add a call to updateRowPositions at the
3471         end of each 'metrics-like' call. Remove all others.
3472         (getRow): remove the 'y-computing' version.
3473         (getRowNearY): do not compute nor return the real y. Solve the
3474         'y < 0' problem and simplify.
3475
3476 2003-08-22  Angus Leeming  <leeming@lyx.org>
3477
3478         * *.[Ch]: clean-up of licence and author blurbs.
3479         Also move config.h out of a few .h files and into a few .C files.
3480
3481 2003-08-22  André Pönitz  <poenitz@gmx.net>
3482
3483         * lyxrow.[Ch]: add x_ and *fill_ members
3484
3485         * lyxtext.h:
3486         * text.C:
3487         * rowpainter.C:
3488         * text2.C: adjust/remove prepareToPrint() calls
3489
3490 2003-08-22  André Pönitz  <poenitz@gmx.net>
3491
3492         * lyxrow.[Ch]: add  end_ member
3493
3494         * lyxrow_funcs.C: use LyXRow::end_
3495
3496         * lyxtext.h (singleWidth): add LyXFont parameter
3497
3498         * rowpainter.C:
3499         * text2.C: adjust LyXText::singleWidth() calls
3500
3501         * text.C (redoParagraph): simplify row breaking logic
3502
3503
3504 2003-08-19  André Pönitz  <poenitz@gmx.net>
3505
3506         * funcrequest.C: initialize button_ member
3507
3508         * text3.C:
3509         * rowpainter.[Ch]: interface consolidation
3510
3511 2003-08-18  André Pönitz  <poenitz@gmx.net>
3512
3513         * BufferView.C:
3514         * BufferView_pimpl.C:
3515         * lyxfind.C:
3516         * paragraph_funcs.C:
3517         * rowpainter.C:
3518         * text3.C: remove LyXScreen::draw() and fitCursor calls
3519
3520         * BranchList.h: remove spurious semicolons
3521
3522         * MenuBackend.C: fix branchlist related crash
3523
3524 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3525
3526         * BranchList.[Ch]:
3527         * InsetList.[Ch]:
3528         * LColor.[Ch]:
3529         * LyXAction.C:
3530         * Makefile.am:
3531         * MenuBackend.[Ch]:
3532         * bufferparams.[Ch]:
3533         * factory.C:
3534         * lfuns.h:
3535         * lyxfunc.C:
3536         * text3.C: implements the 'branch inset'
3537         idea. This allows the output of various versions of a document
3538         from a single source version, selectively outputing or suppressing
3539         output of parts of the text.
3540         This implementation contains a 'branch list editor' in a separate
3541         tab of the document settings dialog. Branches are user definable
3542         and have a "display colour" to distinguish them on-screen.
3543
3544         ColorHandler was somewhat cleaned up.
3545         (1) make possible a dynamically growing LColor list by allowing
3546         the graphic context cache to grow along (vector);
3547         (2) eliminate an IMHO unnecessary step in colour allocation.
3548
3549 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3550
3551         * BufferView_pimpl.C: compile fix
3552
3553 2003-08-15  André Pönitz  <poenitz@gmx.net>
3554
3555         * rowpainter.C: remove extra metrics calls
3556
3557         * lyxtext.h: merge the two constructors into a single one,
3558           pass reference to owner's par list
3559
3560         * BufferView_pimpl.C:
3561         * text.C:
3562         * text2.C: adjust
3563
3564 2003-08-15  André Pönitz  <poenitz@gmx.net>
3565
3566         * lyxrow_funcs.[Ch]:
3567         * lyxtext.h:
3568         * paragraph.h:
3569         * paragraph_funcs.C:
3570         * rowpainter.C:
3571         * text.C:
3572         * text2.C:
3573         * text3.C:
3574         * text_funcs.C: split LyXText::rowlist_ into individual
3575         Paragraph::rows_ chunks
3576
3577         * BufferView.[Ch]:
3578         * BufferView_pimpl.[Ch]:
3579         * lyxfind.C:
3580         * lyxtext.h:
3581         * text3.C: remove toggleSelection()
3582
3583 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3584
3585         * bufferlist.C: beautify two alerts (shorter text of buttons)
3586         * buffer.C: Remove redundant ' ' from message
3587         * tabular.h:
3588         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3589         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3590         rename VALIGN_CENTER to VALIGN_MIDDLE
3591
3592 2003-08-11  André Pönitz  <poenitz@gmx.net>
3593
3594         * lyxtext.h (getPar):
3595         * text.C: new function
3596
3597 2003-08-11  André Pönitz  <poenitz@gmx.net>
3598
3599         * Makefile.am:
3600         * tracer.[Ch]: remove unneeded files
3601
3602         * InsetList.[Ch]: remove resizeInsetsLyXText()
3603
3604         * lyxtext.h:
3605         * text.C:
3606         * text2.C:
3607         * text3.C: merge insertParagraphs() and appendParagraph()
3608         remove breakAgain(), update()
3609
3610         * BufferView_pimpl.[Ch]:
3611         * bufferview_funcs.[Ch]:
3612         * lyxfunc.C:
3613         * paragraph.[Ch]:
3614         * rowpainter.C:
3615         * tabular.C: adjust after text & InsetList changes.
3616
3617 2003-08-08  André Pönitz  <poenitz@gmx.net>
3618
3619         * text.C (insertChar, backspace): replace rowlist fiddling
3620         with rebreak of full par
3621
3622         * lyxtext.h:
3623         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3624         checkParagraph, updateInset): removed
3625
3626 2003-08-07  André Pönitz  <poenitz@gmx.net>
3627
3628         * paragraph.C:
3629         * text3.C: merge some LFUN handlers, remove dead code
3630
3631 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3632
3633         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3634
3635 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3636
3637         * text2.C (DEPM): fix part of bug 1255 and 1256
3638
3639 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3640
3641         * BufferView_pimpl.C (workAreaDispatch): change to use
3642         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3643         that are no mouse related.
3644
3645 2003-08-05  André Pönitz  <poenitz@gmx.net>
3646
3647         * BufferView.[Ch]:
3648         * BufferView_pimpl.[Ch]:
3649         * bufferview_funcs.C:
3650         * text2.C:
3651         * text3.C: rip out "deep update"
3652
3653         * textcursor.[Ch] (last_sel_cursor): remove unused member
3654
3655 2003-08-04  André Pönitz  <poenitz@gmx.net>
3656
3657         * BufferView.[Ch]:
3658         * BufferView_pimpl.[Ch]:
3659         * ParagraphParameters.C:
3660         * bufferview_funcs.C:
3661         * lyx_cb.C:
3662         * lyxfind.C:
3663         * lyxfunc.C:
3664         * text.C:
3665         * text2.C:
3666         * text3.C: replace "complicated" BufferView::update(...) calls with
3667         simpler ones.
3668
3669         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3670
3671 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3672
3673         * Makefile.am (lyx_SOURCES): add paper.h
3674
3675 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3676
3677         * Makefile.am: move things around so that both lyx-qt and
3678         lyx-xforms can be built (according to --with-frontend). Then lyx
3679         is a symbolic link to lyx-[firstfrontend]
3680
3681 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3682
3683         * Always use std::endl with lyxerr
3684
3685 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3686
3687         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3688
3689 2003-08-01  André Pönitz  <poenitz@gmx.net>
3690
3691         * BufferView.[Ch]:
3692         * BufferView_pimpl.[Ch]:
3693         * lyxfunc.C:
3694         * text3.C: merge BufferView::repaint() and BufferView::update()
3695
3696 2003-08-01  José Matos  <jamatos@lyx.org>
3697
3698         * buffer.[Ch]: file_format is no longer a buffer data element.
3699
3700 2003-08-01  André Pönitz  <poenitz@gmx.net>
3701
3702         * BufferView.C:
3703         * lyxtext.h:
3704         * text.C:
3705         * text2.C: make redoParagraph more independent of current cursor
3706
3707         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3708         * text.C:
3709         * text2.C: remove unneeded members
3710
3711 2003-07-30  André Pönitz  <poenitz@gmx.net>
3712
3713         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3714
3715         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3716           create a single function...
3717
3718         * paragraph_funcs.C (moveItem): ... here.
3719
3720         * text.C:
3721           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3722
3723 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3724
3725         * LColor.[Ch]: Add comment and greyedout logical colors.
3726
3727 2003-07-30  André Pönitz  <poenitz@gmx.net>
3728
3729         * tabular.C: don't use Assert too heavily. This crashes where it
3730           shouldn't
3731
3732 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3733
3734         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3735         is disabled (bug 1232)
3736
3737 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3738
3739         * factory.C: limited 'arg' scope
3740
3741 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3742
3743         * factory.C: fixed Note submenu issues
3744
3745 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3746
3747         * factory.C: submenu for Note/Comment/Greyedout
3748
3749 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3750
3751         * lyx_main.C (LyX):
3752         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3753
3754 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3755
3756         * LaTeXFeatures.C:
3757         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3758         greyedout. Patch provided by Jürgen Spitzmüller.
3759
3760 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3761
3762         * kbmap.C (read): fix error message when reading bind files
3763
3764 2003-07-29  Angus Leeming  <leeming@lyx.org>
3765
3766         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3767         certainly does not do what it purports to do. I am doing it, and
3768         us, a favour by killing it.
3769
3770 2003-07-28  José Matos  <jamatos@lyx.org>
3771
3772         * buffer.C (readBody, do_writeFile):
3773         * paragraph.C(readParagraph): \end_document replaces \the_end.
3774
3775 2003-07-29  André Pönitz  <poenitz@gmx.net>
3776
3777         * BufferView.[Ch]:
3778         * BufferView_pimpl.[Ch]:
3779         * lyxfunc.C:
3780         * text2.C:
3781         * text3.C:
3782         * textcursor.[Ch]: remove toggleToggle & Co
3783
3784 2003-07-28  José Matos  <jamatos@fep.up.pt>
3785
3786         * buffer.C (readParagraph):
3787         * params_func (readParToken, readParagraph):
3788         * paragraph.C (write): \layout -> \begin_layout.
3789
3790 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3791
3792         * lyxlex_pimpl.C (setFile): clean up slightly.
3793
3794         * bufferparams.h: add compressed var
3795
3796         * buffer_funcs.C (readFile): adjust for LyXLex change
3797         (newFile): ditto + simplify
3798
3799         * buffer.C (writeFile): handle writing of compressed files
3800
3801         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3802         Check if the file is compressed and set a bufferparm if so.
3803
3804         * Makefile.am (lyx_LDADD): remove explicit -lz
3805
3806 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3807
3808         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3809         makeDocBookFile): put the real LyX version in the first line of
3810         the file
3811
3812         * version.h:
3813         * version.C.in: remove lyx_docversion
3814
3815         * tabular.C (write_attribute): add a template-based version to
3816         write enums properly
3817
3818 2003-07-28  André Pönitz  <poenitz@gmx.net>
3819
3820         * lyxtext.h:
3821         * text.C:
3822         * text2.C:
3823         * text3.C: use doubles again for x-coordinates. They are needed.
3824
3825 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3826
3827         * messages.C (getLocaleDir): use lyx_localedir()
3828
3829         * lyxlex_pimpl.C (setFile): compress stuff
3830
3831         * buffer.C (writeFile): add some compression stuff
3832         (do_writeFile): new func, dont call expliti close... will this
3833         breake anything?
3834
3835         * Makefile.am (lyx_LDADD): add -lz
3836
3837 2003-07-28  José Matos  <jamatos@fep.up.pt>
3838
3839         * buffer.C: increment file format.
3840         * paragraph_funcs (readParagraph, readParToken):
3841         * paragraph.C (readParagraph): add \end_layout.
3842
3843 2003-07-27  Angus Leeming  <leeming@lyx.org>
3844
3845         * Makefile.am: remove special casing for configure-time setting of
3846         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3847
3848         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3849         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3850
3851 2003-07-26  André Pönitz  <poenitz@gmx.net>
3852
3853         * paragraph_func.[Ch]:
3854         * paragraph.C (realizeFont): inline it whereever it is used
3855
3856         * rowpainter.C:
3857         * text.C:
3858         * text2.C:
3859         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3860
3861
3862 2003-07-26  André Pönitz  <poenitz@gmx.net>
3863
3864         *       lyxtext.h:
3865         * text.C:
3866         * text2.C: get rid of LyXText::need_break_row
3867
3868 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3869
3870         * toc.[Ch]: put namespace toc inside namespace lyx
3871
3872         * MenuBackend.C (expandToc2): adjust for lyx::toc
3873         (expandToc): ditto
3874
3875         * lyxfunc.C (dispatch): adjust for lyx::find
3876
3877         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3878         lyx::find instead. Reorganize a bit.
3879         (LyXReplace): rename to replace
3880         (LyXFind): rename to find
3881
3882         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3883         (dispatch): ditto
3884
3885 2003-07-26  André Pönitz  <poenitz@gmx.net>
3886
3887         * text.C (setHeightOfRow): restrict scope of temporary variable
3888
3889         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3890           code (never has been used?)
3891
3892 2003-07-27  Asger Alstrup  <alstrup@local>
3893
3894         * text.C (fill): Optimise algorithm to exploit that we can reuse
3895         the LyXFont for many characters.
3896         (setHeightOfRow): Same thing.
3897         (rowBreakPoint): Same thing.
3898
3899 2003-07-26  Asger Alstrup  <alstrup@local>
3900
3901         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3902
3903         * text.C (singleWidth): Spurious font copying in hot-spot
3904         singleWidth avoided. Reorder tests for arabic for efficiency.
3905
3906         * text.C (fill): handle empty paragraphs better.
3907
3908 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3909
3910         * ispell.C:
3911         * encoding.h: add includes
3912
3913         * lyxrc.C: remove reading of bind files
3914
3915         * lyx_main.C (init): setup bindings and menus only if we have a
3916         gui.
3917
3918         * kbmap.C (read): new method. Do the actual reading of bind
3919         files.
3920
3921         * converter.C (dvipdfm_options):
3922         * bufferparams.C:
3923         * lyxrc.C (read):
3924         (output): adapt PAPER_* enums.
3925
3926         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3927
3928         * bufferparams.h: remove paper-related enums from there
3929
3930         * paper.h: New file. A trivial header file to hold paper-related
3931         enums. It should later expand to contain many paper-related
3932         horrors access.
3933
3934         * lyxrc.C: declare extern displayTranslator
3935
3936 2003-07-27  José Matos  <jamatos@fep.up.pt>
3937
3938         * tabular.[Ch] (linuxdoc): add support for tables and figures
3939         (linuxdoc).
3940
3941 2003-07-27  José Matos  <jamatos@fep.up.pt>
3942
3943         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3944         consistency in both functions.
3945         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3946
3947 2003-07-26  Asger Alstrup  <alstrup@local>
3948
3949         * rowpainter.C (paintRows): Change algorithm to work directly on
3950         the insets rather than asking every character in the document
3951         whether its an inset.
3952
3953 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3954
3955         * buffer.C (openFileWrite): factorize some code
3956
3957 2003-07-26  Angus Leeming  <leeming@lyx.org>
3958
3959         * lyx_cb.C:
3960         * lyx_main.[Ch]: replace occurances of system_tempdir with
3961         os::getTmpDir().
3962
3963 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3964
3965         * rename Inset to InsetOld
3966
3967 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3968
3969         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3970         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3971         which I think is a bit clearer. EDIT is gone, since it was
3972         premature optimisation, and broken for mathed anyway.
3973         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3974         with cursor positioning in insets as well (math insets still do not
3975         work, but that's a different story anyway.) It mysteriously
3976         crashes sometimes with undo in the first paragraph, but I'm fairly
3977         confident that this is a compiler bug.
3978
3979 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3980
3981         * paragraph.C (Paragraph): adjust for new clone return type
3982         (operator==): ditto
3983         (copyIntoMinibuffer): ditto
3984
3985 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3986
3987         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3988         by not having a special case, and always doing a full rebreak of
3989         the document after undo.
3990
3991 2003-07-23  Angus Leeming  <leeming@lyx.org>
3992
3993         * factory.C (createInset): InsetExternal::setParams now takes a
3994         Buffer const * arg.
3995
3996 2003-07-23  Angus Leeming  <leeming@lyx.org>
3997
3998         * factory.C (createInset): changed interface to the external and
3999         graphics mailers' string2params functions.
4000
4001 2003-07-23  Angus Leeming  <leeming@lyx.org>
4002
4003         * factory.C (createInset): pass a
4004         Buffer const * parameter to InsetExternalMailer's string2params.
4005
4006 2003-07-22  John Levon  <levon@movementarian.org>
4007
4008         * Thesaurus.h: include the right aiksaurus header
4009
4010 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4011
4012         * MenuBackend.C (expand): check menu shortcuts unconditionally
4013
4014 2003-07-21  Angus Leeming  <leeming@lyx.org>
4015
4016         * factory.C (createInset): pass a
4017         buffer_path parameter to InsetGraphicsMailer's string2params.
4018
4019 2003-07-21  Angus Leeming  <leeming@lyx.org>
4020
4021         * BufferView_pimpl.C (buffer):
4022         * buffer.C (d-tor):
4023         * lyx_main.C (LyX):
4024         * lyxfunc.C (dispatch):
4025         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4026         rather than the grfx shortcut.
4027
4028 2003-07-21  André Pönitz  <poenitz@gmx.net>
4029
4030         * rowpainter.C: remove unused variables
4031
4032         * tabular_funcs.C:
4033         * tabular_funcs.h: move to tabular.C
4034         * Makefile.am: adjust
4035
4036         * tabular.[Ch]: basic optical cleaning
4037
4038         * author.h: pass references, not values
4039
4040 2003-07-18  André Pönitz  <poenitz@gmx.net>
4041
4042         * lyxtext.h:
4043         * metricsinfo.C:
4044         * metricsinfo.h:
4045         * rowpainter.C:
4046         * text.C:
4047         * text2.C:
4048         * text3.C: two-phase drawing for InsetText and InsetTabular
4049         some float -> int changes.
4050
4051 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4052
4053         * lyx_main.C: fix the fix
4054
4055 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4056
4057         * lyx_main.C: fix a crash in batch mode if no files specified
4058         * converter.C: ws
4059
4060 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4061
4062         * format.[Ch] (papersize): moved to BufferParams
4063         * converter.[Ch] (dvips_options): moved to BufferParams
4064         (dvipdfm_options): moved to anon namespace
4065         * bufferparams.[Ch]: added above functions.
4066
4067 2003-07-17  André Pönitz  <poenitz@gmx.net>
4068
4069         * lyxtext.h:
4070         * rowpainter.C:
4071         * text2.C: don't call inset->update() anymore
4072
4073         * metricsinfo.[Ch]: add convenience constructor
4074
4075 2003-07-16  André Pönitz  <poenitz@gmx.net>
4076
4077         * lyxcursor.[Ch]:
4078         * lyxfunc.[Ch]:
4079         * text.C:
4080         * text2.C: replace the LyXCursor::irow_ member with
4081          on-demand computation of the value
4082
4083 2003-07-16  John Levon  <levon@movementarian.org>
4084
4085         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4086
4087 2003-07-15  André Pönitz  <poenitz@gmx.net>
4088
4089         * text.C:
4090         * text2.C: remove no more needed refresh_row
4091
4092 2003-07-15  André Pönitz  <poenitz@gmx.net>
4093
4094         * lyxtext.h:
4095         * rowpainter.C:
4096         * text2.C:
4097         * text3.C: refresh_status tristate -> need_update bool
4098
4099 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4100
4101         * lyxtext.h (init): remove reinit argument (act as if always true)
4102         * text2.C: adjust to that
4103
4104 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4105
4106         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4107         * text3.C: use it to delete selections in some cases
4108         (bugs 441, 673, 702, 954).
4109
4110 2003-07-14  André Pönitz  <poenitz@gmx.net>
4111
4112         * rowpainter.[Ch]: reduce interface
4113
4114 2003-07-14  André Pönitz  <poenitz@gmx.net>
4115
4116         * BufferView_pimpl.C:
4117         * text2.C: adjust after removing unused BufferView * argument
4118
4119 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4120
4121         * text2.C (init): fix a crash fired on resize
4122
4123 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4124
4125         * buffer.[Ch]: added new closing signal
4126         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4127         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4128         BufferView::Pimpl via the closing the signal
4129
4130 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4131
4132         * buffer.[Ch]: take out all bv-related from buffer
4133         * BufferView.C:
4134         * BufferView_pimpl.[Ch]: connect to new signals
4135         * CutAndPaste.C: removed useless asserts
4136         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4137         * lyxvc.[Ch]:
4138         * vc-backend.[Ch]:
4139         * lyxfunc.C: moved view-related funciontality from vc here
4140         * paragraph.C: removed outdated comments
4141         * text.C: ws
4142
4143 2003-07-10  André Pönitz  <poenitz@gmx.net>
4144
4145         * BufferView_pimpl.C:
4146         * tabular.h:
4147         * tabular_funcs.C:
4148         * text.C:
4149         * text2.C: remove InsetText::InnerCache, clean up consequences
4150
4151 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4152
4153         * ispell.C: fix two typos in error messages
4154
4155 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4156
4157         * Extend Note inset to other forms of annotation like Comment
4158         and Greyedout. Right button click gives dialog.
4159
4160         Files modified or added (+):
4161
4162         * insetnote.[Ch]
4163         * FormNote.[Ch]      +
4164         * ControlNote.[Ch]   +
4165         * form_note.fd       +
4166         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4167         frontends/controllers
4168         * xforms/Dialogs.C
4169         * factory.C
4170
4171 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4172
4173         * aspell.C: add missing namespace lyx::support
4174
4175 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4176
4177         * BufferView.[Ch] (newFile): Add
4178         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4179         * LaTeX.[Ch] (message): added this signal and use it
4180         * buffer.[Ch] (busy, message): added these signals and use them
4181         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4182         * converter.C:
4183         * exporter.C:
4184         * format.C:
4185         * importer.C: use buffer signals instead of direct bv calling
4186         * lyx_cb.[Ch] (ShowMessage): removed
4187         * lyx_main.C:
4188         * lyxfunc.C:
4189         * paragraph_funcs.C:
4190         * text2.C: use buffer signals
4191
4192 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4193
4194         * introduce namespace lyx::graphics
4195
4196 2003-07-02  André Pönitz  <poenitz@gmx.net>
4197
4198         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4199
4200 2003-07-01  André Pönitz  <poenitz@gmx.net>
4201
4202         * text.C:
4203         * text2.C:
4204         * text3.C:
4205         * text_funcs.[Ch]:
4206         * textcursor.h:
4207         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4208           text*.C to text_func.C
4209
4210 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4211
4212         * introduce namespace lyx::support
4213
4214 2003-06-30  André Pönitz  <poenitz@gmx.net>
4215
4216         * Chktex.C:
4217         * funcrequest.C:
4218         * lyxtext.h:
4219         * text.C: re-enable --with-included-string
4220
4221 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4222
4223         * textcursor.C: add <config.h>
4224
4225         * text.C (getWord): remove const from word_location arg
4226
4227         * lyxvc.C (getLogFile): fix const type order
4228
4229         * lyxtext.h: remove const from word_location arg, add arg name
4230
4231         * lyxlayout.h: currect type on labeltype.
4232
4233         * importer.C: correct \file
4234
4235         * converter.C (intToFormat): use std:: on ret val, ws changes
4236
4237         * bufferlist.h: correct \file
4238
4239         * buffer.C (makeLinuxDocFile): fix const type order
4240         (makeDocBookFile): ditto
4241         (fillWithBibKeys): use std:: on stdlib args.
4242
4243         * CutAndPaste.C: fix authors.
4244         (availableSelections): use std:: on return vector
4245
4246 2003-06-27  André Pönitz  <poenitz@gmx.net>
4247
4248         * BufferView_pimpl.C:
4249         * bufferview_funcs.C:
4250         * lyxcursor.C:
4251         * lyxcursor.h:
4252         * lyxfunc.C:
4253         * lyxtext.h:
4254         * rowpainter.C:
4255         * text.C:
4256         * text2.C:
4257         * text3.C: remove LyXCursor::row_ member
4258
4259         * lyxtext.h:
4260         * text.C: rename fullRebreak() to partialRebreak() and implement
4261           a fullRebreak() that really bereks fully
4262
4263         * textcursor.h: new struct for cursor-related data
4264
4265 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4266
4267         * lyx_main.C (LyX): get full path of document loaded on the
4268         command line
4269
4270 2003-06-26  André Pönitz  <poenitz@gmx.net>
4271
4272         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4273           remove unused/broken operator>,<,>=.
4274
4275         *       text.C: remove only use of broken operator<= in an Assert().
4276
4277 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4278
4279         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4280         moved errorlist_.clear to showErrorList
4281
4282 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4283
4284         * converter.C (scanLog, runLaTeX):
4285         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4286         move the bv->showErrorList call to the callers
4287         * lyxfunc.C: i.e. here...
4288         * text2.C: and here
4289         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4290         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4291         namespace, the second to...
4292         * buffer_funcs (BufferFormat, parseErrors): added
4293         * errorlist.C (ErrorList(TeXErrors const &)): removed
4294
4295 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4296
4297         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4298
4299 2003-06-24  "Garst R. Reese" <reese@isn.net>
4300
4301         * debug.C: fix typo
4302
4303 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4304
4305         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4306
4307         * version.C.in: change docversion to 1.4
4308
4309 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4310
4311         * buffer.C: fix a bug just introduced
4312
4313 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4314
4315         * buffer.[Ch]: added the parseError signal and use it, removed
4316         sgmlError
4317         * BufferView.[Ch] (addError): moved to ...
4318         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4319         to the Buffer::parseError signal to catch (guess what) parse errors
4320         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4321
4322 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4323
4324         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4325         ability to create a buffer and to return an existing one from
4326         the list. Moved these functions to...
4327         * buffer_funcs.[Ch]: added
4328         * BufferView.[Ch] (loadLyXFile): added
4329         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4330         job removed from bufferlist::loadLyXFile.
4331         * buffer.C (setReadOnly): make it work without view
4332         (i.e added an if (users))
4333
4334 2003-06-19  Angus Leeming  <leeming@lyx.org>
4335
4336         * lfuns.h:
4337         * LyXAction.C (init):
4338         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4339         with LFUN_DIALOG_SHOW <name> <data>.
4340
4341 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4342
4343         * CutAndPaste.C (availableSelections): small compilation fix for
4344         ancient (gcc 2.9x) compilers
4345
4346 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4347
4348         * text3.C (cursorNext): add tmp var
4349
4350         * text2.C (updateCounters): for function calling out of for clause
4351         (replaceSelectionWithString): ditto
4352         (insertStringAsParagraphs): ditto
4353         (getColumnNearX): add tmp var
4354         (setCursorFromCoordinates): add tmp var
4355         (cursorDownParagraph): add tmp var
4356         (deleteEmptyParagraphMechanism): add tmp var
4357
4358         * text.C (insertChar): add tmp var
4359
4360         * rowpainter.C (paintDepthBar): add tmp var
4361
4362         * CutAndPaste.C (availableSelections): potentially check all
4363         paragraphs in a cut to fill the shown strings.
4364
4365 2003-06-18  André Pönitz  <poenitz@gmx.net>
4366
4367         * kbmap.[Ch]: use vector<> instead of list<>
4368
4369 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4370
4371         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4372         pasteSelection with index
4373
4374         * text2.C (pasteSelection): modify, call pasteSelection with index
4375
4376         * paragraph.C (asString): reimplement version with no interval to
4377         call the one with interval.
4378
4379         * lyxtext.h: add index arg to pasteSelection
4380
4381         * MenuBackend.C (MenuItem): handle PasteRecent
4382         (Menu::read::Menutags): add md_pasterecent
4383         (read): handle it
4384         (expandPasteRecent): new function
4385         (expand): use it
4386
4387         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4388
4389         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4390         the limited stack
4391         (availableSelections): new function
4392
4393 2003-06-17  Angus Leeming  <leeming@lyx.org>
4394
4395         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4396
4397 2003-06-17  Angus Leeming  <leeming@lyx.org>
4398
4399         * lfuns.h:
4400         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4401
4402         * lyxfunc.C (dispatch): invoke it.
4403
4404 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4405
4406         * iterators.C (operator++, ParPosition): reintroduce some
4407         const_cast for the benefit of older compilers.
4408
4409 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4410
4411         * text3.C (dispatch): do not modify clipboard when doing
4412         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4413         LFUN_DELETE_SKIP on a selection selection
4414
4415 2003-06-16  André Pönitz  <poenitz@gmx.net>
4416
4417         * BufferView.C:
4418         * buffer.C:
4419         * buffer.h:
4420         * paragraph.C:
4421         * tabular.[Ch]: IU of clone() and getLabelList();
4422
4423 2003-06-13  André Pönitz  <poenitz@gmx.net>
4424
4425         * tabular.h: compactification
4426
4427 2003-06-12  André Pönitz  <poenitz@gmx.net>
4428
4429         * tabular.C:
4430         * tabular.h:
4431         * tabular_funcs.h: some renaming plus whitespace
4432
4433 2003-06-12  André Pönitz  <poenitz@gmx.net>
4434
4435         * BufferView.C:
4436         * BufferView_pimpl.C:
4437         * CutAndPaste.C:
4438         * buffer.C:
4439         * iterators.[Ch]:
4440         * lyxfunc.C:
4441         * text.C:
4442         * toc.C: Return a Paragraph & for ParIterator::operator*()
4443
4444 2003-06-11  John Levon  <levon@movementarian.org>
4445
4446         * lyx_main.C:
4447         * ToolbarBackend.h:
4448         * ToolbarBackend.C: add "Toolbars" section and
4449         put the flags there
4450
4451 2003-06-10  Angus Leeming  <leeming@lyx.org>
4452
4453         * lfuns.h:
4454         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4455
4456         * lyxfunc.C (dispatch): invoke it.
4457
4458 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4459
4460         * main.C: protect <ios> with HAVE_IOS
4461         (main): protect sync_with_stdio with HAVE_IOS
4462
4463 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4464
4465         * text2.C (cutSelection): adjust
4466         (pasteSelection): adjust
4467
4468         * messages.C: handle get of empty string
4469
4470         * main.C (main): use sync_with_stdio(false)
4471
4472         * lyxfunc.C (dispatch): adjust
4473
4474         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4475         (WriteAs): remove unneeded BufferView arg.
4476
4477         * bufferparams.h: use correct types on papersize, papersize2 and
4478         paperpackage.
4479
4480         * bufferparams.C (readToken): adjust for type
4481         (writeLaTeX): add missing cases to switch.
4482
4483         * bufferlist.C (quitWriteBuffer): adjust
4484         (close): adjust
4485
4486         * buffer.C (asciiParagraph): remove some commented code.
4487
4488         * CutAndPaste.C: remove current_view extern variable.
4489         (cutSelection): add BufferParams arg.
4490         (eraseSelection): add BufferParams arg.
4491         (pasteSelection): add Buffer const & arg
4492
4493 2003-06-07  John Levon  <levon@movementarian.org>
4494
4495         * buffer.C:
4496         * paragraph_funcs.C:
4497         * paragraph_pimpl.C:
4498         * text.C:
4499         * text2.C:
4500         * paragraph.h:
4501         * paragraph.C: allow InsetERT to freely space lines,
4502         and some consolidation of code
4503
4504 2003-06-06  José Matos  <jamatos@fep.up.pt>
4505
4506         * buffer.C (makeDocBookFile): fix bug #821
4507
4508 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4509
4510         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4511
4512 2003-06-04  Angus Leeming  <leeming@lyx.org>
4513
4514         * buffer.C: bump format to 224.
4515
4516 2003-06-05  André Pönitz  <poenitz@gmx.net>
4517
4518         * text2.C (redoParagraphs): remove two const_cast<>
4519
4520 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4521
4522         * ParagraphList.h: remove last remnants of NO_STD_LIST
4523
4524 2003-06-03  Angus Leeming  <leeming@lyx.org>
4525
4526         * factory.C (createInset): small change to the way InsetExternal's params
4527         are set.
4528
4529 2003-06-04  André Pönitz  <poenitz@gmx.net>
4530
4531         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4532
4533         * paragraph_pimpl.h:
4534         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4535
4536         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4537
4538         * undo_funcs.C: make some simple cases of undo work again
4539
4540 2003-06-03  John Levon  <levon@movementarian.org>
4541
4542         * ispell.C: HPUX doesn't have sys/select.h
4543         (from Albert Chin)
4544
4545 2003-06-03  John Levon  <levon@movementarian.org>
4546
4547         * CutAndPaste.C: update tabular and include inset
4548         buffer references
4549
4550         * buffer.h:
4551         * paragraph.h:
4552         * paragraph.C: remove owningBuffer(), don't pass Buffer
4553         to clone()
4554
4555         * factory.C: insetGraphicsParams changed
4556
4557 2003-06-02  John Levon  <levon@movementarian.org>
4558
4559         * LyXAction.C:
4560         * factory.C:
4561         * lfuns.h:
4562         * lyxfunc.C:
4563         * text3.C: remove insetparent
4564
4565 2003-06-02  John Levon  <levon@movementarian.org>
4566
4567         * buffer.h:
4568         * buffer.C: fix inset_iterator.end(), move out of line
4569         (bug 1149)
4570
4571 2003-06-01  John Levon  <levon@movementarian.org>
4572
4573         * text3.C: use a proper cut/paste when doing inset
4574         insert (from Jürgen Spitzmüller)
4575
4576 2003-06-01  John Levon  <levon@movementarian.org>
4577
4578         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4579
4580 2003-05-30  André Pönitz  <poenitz@gmx.net>
4581
4582         * rowpainter.C: unify second drawing phase
4583
4584 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4585
4586         * trans_mgr.C: remove one case of current_view
4587
4588         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4589
4590         * paragraph_funcs.h: remove paragraph.h include
4591
4592         * paragraph.h: delete NO_STD_LIST stuff
4593
4594         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4595
4596         * buffer.h: remove paragraph.h include
4597
4598         * ParagraphList.C: delete file
4599
4600         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4601
4602         * toc.C (getTocList): adjust
4603
4604         * paragraph_pimpl.C (validate): adjust
4605
4606         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4607
4608         * paragraph.C (Paragraph): adjust
4609         (getPositionOfInset): use const_iterator, adjust
4610         (bibitem): use const_iterator, adjust
4611         (setInsetOwner): adjust
4612
4613         * iterators.C (operator++): adjust
4614
4615         * InsetList.[Ch]: Replace selfmade iterator with standard
4616         vector::iterator also introduce const_iterator. Remove getPos,
4617         getInset and setInset from InsetTable. Adjust accordingly.
4618
4619         * BufferView.C (lockInset): adjust
4620         (ChangeInsets): adjust
4621
4622         * tabular.[Ch]: delete commented same_id functions
4623
4624 2003-05-28  John Levon  <levon@movementarian.org>
4625
4626         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4627
4628 2003-05-28  André Pönitz  <poenitz@gmx.net>
4629
4630         * metricsinfo.[Ch]: remove 'fullredraw' member
4631
4632 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4633
4634         * lyxtextclass.C (operator): remove caching.
4635
4636 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4637
4638         * text3.C: adjust
4639
4640         * text2.C (cursorBottom): adjust
4641         (setCounter): use ParagraphList::find, adjust
4642
4643         * text.C (workWidth): use ParagraphList::find, adjust
4644
4645         * lyxcursor.C (LyXCursor): adjust
4646
4647         * buffer.C (inset_iterator): adjust
4648
4649         * ParagraphList.h: make iterator(value_type) private, make
4650         ParagraphList a friend of iterator.
4651
4652         * ParagraphList.C (find): new function
4653
4654         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4655
4656 2003-05-27  André Pönitz  <poenitz@gmx.net>
4657
4658         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4659
4660 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4661
4662         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4663
4664 2003-05-26  John Levon  <levon@movementarian.org>
4665
4666         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4667
4668 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4669
4670         * remove same_id from function signatures, adjust.
4671
4672 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4673
4674         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4675
4676         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4677
4678         * paragraph.C (Paragraph): get rid of same_ids parameter
4679
4680         * ParagraphList.C (insert): adjust
4681         (push_back): adjust
4682
4683 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4684
4685         * paragraph_funcs.C (breakParagraph): adjust
4686         (breakParagraphConservative): adjust
4687
4688         * buffer.C (readParagraph): adjust
4689
4690         * ParagraphList.C (insert): take a reference instead of a pointer
4691         (insert): adjust
4692
4693         * paragraph.[Ch] (id): new function
4694
4695         * bufferlist.C (newFile): adjust
4696
4697         * ParagraphList.C (ParagraphList): adjust
4698         (assign): adjust
4699         (push_back): take a reference instead of a pointer.
4700
4701         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4702
4703         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4704         instead.
4705
4706         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4707         set else use old code.
4708
4709         * ParagraphList.C: remove all NO_NEXT code and only compile this
4710         code of NO_STD_LIST is set.
4711
4712 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4713
4714         * BufferView_pimpl.C:
4715         * TextCache.C:
4716         * TextCache.h:
4717         * bufferlist.C:
4718         * errorlist.h:
4719         * format.C:
4720         * format.h:
4721         * graph.C:
4722         * lyxfunc.C:
4723         * lyxrc.C:
4724         * graphics/GraphicsConverter.C:
4725         * graphics/PreviewLoader.C: header adjustment
4726
4727 2003-05-23  Angus Leeming  <leeming@lyx.org>
4728
4729         * LaTeXFeatures.[Ch] (useBabel): new method.
4730         * bufferparams.C (writeLaTeX): use it.
4731
4732 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4733
4734         * ParagraphList.h (set): remove unused function.
4735
4736 2003-05-23  André Pönitz  <poenitz@gmx.net>
4737
4738         * BufferView.C:
4739         * BufferView_pimpl.C:
4740         * buffer.C:
4741         * buffer.h:
4742         * lyxfunc.C:
4743         * undo_funcs.C: setUndo reworked
4744
4745         * iterators.[Ch]: add access to topmost ParagraphList
4746
4747         * lyxtext.[Ch] (workWidth): add a const
4748
4749 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4750
4751         * texrow.[Ch] (increasePos): remove function
4752         * exporter.C (export): removed unused var and outdated comment
4753
4754 2003-05-23  Angus Leeming  <leeming@lyx.org>
4755
4756         * latexrunparams.h: rename fragile as moving_arg.
4757         * paragraph.C (simpleTeXOnePar): ditto.
4758         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4759
4760 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4761
4762         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4763         (createUndo): ditto
4764         (textUndoOrRedo): comment out a currently unused var.
4765
4766         * paragraph.h (NO_NEXT): enable NO_NEXT
4767
4768         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4769
4770         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4771
4772         * exporter.C (Export): adjust for removeAutoInsets removal.
4773
4774         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4775
4776         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4777
4778         * BufferView.[Ch] (removeAutoInsets): delete function
4779
4780 2003-05-22  Angus Leeming  <leeming@lyx.org>
4781
4782         * latexrunparams.h: add a free_spacing variable.
4783
4784         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4785         to pass moving_arg, as the data is stored in runparams.fragile.
4786
4787         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4788         to Inset::latexOptional or to simpleTeXOnePar.
4789
4790         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4791         free_spacing arg to Inset::latexOptional.
4792
4793         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4794         free_spacing arg.
4795
4796 2003-05-22  Angus Leeming  <leeming@lyx.org>
4797
4798         * latexrunparams.h: add fragile and use_babel variables.
4799
4800         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4801         * buffer.C (makeLaTeXFile): store this returned value in
4802         runparams.use_babel, thus passing it to the inset::latex methods.
4803
4804         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4805         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4806
4807         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4808         longer has a fragile arg, as it is stored in runparams.fragile.
4809
4810         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4811         moving_arg parameter as the data is stored in runparams.fragile.
4812
4813         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4814         a fragile parameter as the data is stored in runparams.fragile.
4815
4816 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4817
4818         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4819
4820 2003-05-22  Angus Leeming  <leeming@lyx.org>
4821
4822         * latexrunparams.h: add a 'bool nice' which defaults to false.
4823
4824         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4825         now encapsulated within runparams.
4826
4827         * bufferlist.C (updateIncludedTeXfiles):
4828         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4829
4830 2003-05-22  Angus Leeming  <leeming@lyx.org>
4831
4832         * latexrunparams.h: new file containing struct LatexRunParams.
4833         * Makefile.am: add new file.
4834
4835         * LaTeX.[Ch] (c-tor, run):
4836         * buffer.[Ch] (makeLaTeXFile):
4837         * bufferlist.[Ch] (updateIncludedTeXfiles):
4838         * converter.C (convert, scanLog):
4839         * converter.[Ch] (runLaTeX):
4840         * exporter.C (Export):
4841         * paragraph.[Ch] (simpleTeXOnePar):
4842         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4843         * paragraph_funcs.[Ch] (latexParagraphs):
4844         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4845         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4846         pass around a LatexRunParams parameter.
4847
4848 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4849
4850         * paragraph.[Ch]: remove unused constructor
4851
4852         * ParagraphList.C (erase): new function, taking two iterators
4853
4854 2003-05-22  André Pönitz  <poenitz@gmx.net>
4855
4856         * undo_funcs.C: remove duplicated code
4857
4858         * iterator.[Ch]: operator=
4859
4860 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4861
4862         * tabular.C (SetMultiColumn): ws changes
4863
4864         * rowpainter.C (paintFirst): get rid of a ->previous
4865
4866         * lyx_cb.C (getPossibleLabel): parlist simplification
4867
4868         * BufferView.C (ChangeInsets): simplify slightly.
4869
4870 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4871
4872         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4873         * lfuns.h: new LFUN_SPACE
4874         * lyxfunc.C: protected space has a new lfun
4875         * paragraph_funcs.C: read new space insets
4876         * text3.C:
4877         * factory.C: handle new space insets
4878
4879 2003-05-22  André Pönitz  <poenitz@gmx.net>
4880
4881         * BufferView.C:
4882         * BufferView_pimpl.C:
4883         * buffer.[Ch]:
4884         * lyxfunc.C:
4885         * undo_funcs.C: return a ParIterator from getParFromID.
4886
4887         * iterators.[Ch]: add two const's
4888
4889 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4890
4891         * toc.C (getTocList): adjust
4892
4893         * iterators.[Ch]: rework for parlist
4894
4895         * buffer.C (par_iterator_begin): adjust
4896         (par_iterator_end): adjust
4897
4898         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4899
4900         * BufferView.C (removeAutoInsets): adjust
4901         (ChangeInsets): adjust
4902
4903 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4904
4905         * text.C (top_y): fix bug 1110
4906
4907 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4908
4909         * errorlist.[Ch]: added
4910         * buffer.C:
4911         * BufferView.[Ch]:
4912         * BufferView_pimpl.C:
4913         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4914         instead
4915
4916 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4917
4918         * Makefile.am: ensure that lyx is relinked upon changes to the
4919         various "convenience" libs.
4920
4921 2003-05-20  Angus Leeming  <leeming@lyx.org>
4922
4923         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4924         files are compiled in alphabetical order again.
4925
4926         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4927
4928 2003-05-19  Angus Leeming  <leeming@lyx.org>
4929
4930         * gettext.[Ch]: remove "char const * _(char const *)".
4931
4932 2003-05-19  André Pönitz  <poenitz@gmx.net>
4933
4934         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4935
4936         * Makefile.am:
4937         * BufferView.C:
4938         * DepTable.h:
4939         * LaTeXFeatures.C:
4940         * buffer.C:
4941         * lyxfont.C:
4942         * lyxlex.h:
4943         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4944
4945 2003-05-19  André Pönitz  <poenitz@gmx.net>
4946
4947         * buffer.C:
4948         * lyxlayout.[Ch]:
4949         * lyxtextclass.[Ch]:
4950         * paragraph.C:
4951         * paragraph_funcs.[Ch]:
4952         * text2.C:
4953         * text3.C: more insetenv work
4954
4955 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4956
4957         * ParagraphParameters.C (params2string): small bug fixed
4958
4959 2003-05-16  André Pönitz  <poenitz@gmx.net>
4960
4961         * debug.C:
4962         * bufferview_funcs.C: patch from Kornel Benko to prevent
4963           crash when _(...) is called twice in a statement
4964
4965 2003-05-16  André Pönitz  <poenitz@gmx.net>
4966
4967         * BufferView.C:
4968         * lyxfunc.C:
4969         * text.C:
4970         * text2.C:
4971         * text3.C:
4972         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4973
4974 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4975
4976         * lyx_main.C (init): remove spurious static_cast
4977
4978 2003-05-14  André Pönitz  <poenitz@gmx.net>
4979
4980         * BufferView.C: fix format string
4981
4982 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4983
4984         * BufferView.[Ch] (insertErrors): removed
4985         * BufferView.[Ch] (showErrorList): added
4986         * buffer.C (runChkTeX):
4987         * converter.C (scanLog): call showErrorList instead of inserterrors
4988
4989 2003-05-13  André Pönitz  <poenitz@gmx.net>
4990
4991         * BufferView_pimpl.C:
4992         * buffer.C:
4993         * bufferview_func.C:
4994         * MenuBackend.C:
4995         * lyxfunc.C:
4996         * lyxrc.C:
4997         * tex-accent.C:
4998         * text3.C:
4999         * toc.C:
5000         * tabular_funcs.h: tostr() from its own header
5001
5002         * ParagraphParameters.C:
5003         * ToolbarBackend.C:
5004         * bufferparams.C:
5005         * format.C:
5006         * lyxlex_pimpl.C:
5007         * text3.C: STRCONV()
5008
5009 2003-05-12  André Pönitz  <poenitz@gmx.net>
5010
5011         * BufferView.C:
5012         * BufferView_pimpl.C:
5013         * CutAndPaste.C:
5014         * LaTeX.C:
5015         * LaTeXFeatures.C:
5016         * ParagraphParameters.C:
5017         * buffer.C:
5018         * bufferlist.C:
5019         * bufferparams.C:
5020         * bufferview_funcs.C:
5021         * converter.C:
5022         * counters.C:
5023         * debug.C:
5024         * exporter.C:
5025         * format.C:
5026         * importer.C:
5027         * lyx_cb.C:
5028         * lyx_main.C:
5029         * lyxfont.C:
5030         * lyxfunc.C:
5031         * lyxvc.C:
5032         * paragraph.C:
5033         * paragraph_funcs.C:
5034         * tabular.C:
5035         * tabular_funcs.C:
5036         * text2.C:
5037         * text3.C:  boost::format -> bformat  all over the place
5038
5039
5040 2003-05-09  André Pönitz  <poenitz@gmx.net>
5041
5042         * LColor.[Ch]: Pimpl the #include <map> away
5043
5044 2003-05-09  John Levon  <levon@movementarian.org>
5045
5046         * bufferlist.C: never remove emergency saves
5047
5048 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5049
5050         * Makefile.am: better lib building
5051
5052 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5053
5054         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5055         instead.
5056         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5057         (simpleTeXSpecialChars): adjust
5058         (simpleTeXSpecialChars): adjust
5059         * paragraph.C (simpleTeXOnePar): adjust
5060         * buffer.C (makeLaTeXFile): adjust
5061
5062         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5063
5064         * text2.C (changeDepth): parlist cleanup
5065         (getColumnNearX): ditto
5066
5067         * rowpainter.C (getLabelFont): parlist cleanup
5068
5069         * bufferlist.C (newFile): parlist cleanup
5070
5071         * CutAndPaste.C (eraseSelection): parlist cleanup
5072
5073         * BufferView_pimpl.C (trackChanges): parlist cleanup
5074         (dispatch): ditto
5075
5076         * BufferView.C (lockInset): parlist cleanup.
5077         (ChangeInsets): ditto
5078
5079 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5080
5081         * CutAndPaste.h: Update file header.
5082
5083         * CutAndPaste.C: Update file header.
5084         Store the parts cut out of the Document in a limited_stack.
5085         (copySelection): adjust
5086         (pasteSelection): new function, takes the index in the limited stack.
5087         (nrOfParagraphs): adjust
5088         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5089         simplify error inset insertion.
5090         (checkPastePossible): adjust
5091
5092 2003-05-06  John Levon  <levon@movementarian.org>
5093
5094         * text2.C: don't cast wrap inset to float
5095
5096 2003-05-05  André Pönitz  <poenitz@gmx.net>
5097
5098         * iterator.C:
5099         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5100
5101         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5102           few naked Paragraph *.
5103
5104 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5105
5106         * bufferparams.C: Output warning if a document with missing
5107         TeX document class is loaded
5108         * exporter.C: Disable TeX exports if the document class is missing
5109         * lyxtextclass.C:
5110         * lyxtextclass.h:
5111         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5112         isTeXClassAvailable()
5113
5114 2003-05-03  John Levon  <levon@movementarian.org>
5115
5116         * BufferView.h:
5117         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5118         explicit cursor show/hide
5119
5120         * BufferView_pimpl.h:
5121         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5122         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5123
5124         * lyxfunc.C: hide cursor before dispatching.
5125
5126         * lyx_cb.C:
5127         * lyxfind.C:
5128         * text.C:
5129         * text3.C: remove explicit cursor hides
5130
5131 2003-05-02  André Pönitz  <poenitz@gmx.net>
5132
5133         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5134
5135         * undo_funcs.C:
5136         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5137           linked lists
5138
5139         * text2.C: tiny whitespace
5140
5141 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5142
5143         * undo_funcs.C: almost only ws changes.
5144
5145         * ParagraphList.C (splice): just return if pl is empty.
5146
5147 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5148
5149         * ParagraphList.C (splice): new function.
5150
5151         * CutAndPaste.C (pasteSelection): use it
5152
5153 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5154
5155         * CutAndPaste.C (pasteSelection): remove the last next and
5156         previous from this file.
5157
5158 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5159
5160         * CutAndPaste.C (pasteSelection): more clean up, user proper
5161         ParagraphList functions for pasteing.
5162
5163         * ParagraphList.C (insert): new function, three arg insert
5164
5165 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5166
5167         * ParagraphList.C (insert): new function, three arg insert
5168
5169         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5170         not on paragraphs.
5171
5172 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5173
5174         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5175
5176 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5177
5178         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5179
5180 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5181
5182         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5183         (copySelection): clean up a bit.
5184         (pasteSelection): use make_pair
5185
5186         * ParagraphList.C (ParagraphList): implement copy constructor
5187         (operator=): implement, base on copy constructor.
5188         (assign): new func
5189
5190         * paragraph.C (erase): return a bool
5191
5192         * paragraph_pimpl.C (erasePos): remove function, move contents...
5193         (erase): ... here. Return a bool.
5194         (erase): call erase instead of erasePos.
5195
5196 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5197
5198         * ParagraphList.h: define PitPosPair
5199         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5200         ParagraphList, fix a bug on pasting multiple pars
5201         * text2.C: change interface to C&P
5202
5203 2003-04-30  André Pönitz  <poenitz@gmx.net>
5204
5205         * undo_func.C: revert part of yesterday's patch 2
5206
5207 2003-04-30  John Levon  <levon@movementarian.org>
5208
5209         * LColor.C: s/tabular/table/
5210
5211 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5212
5213         * text3.C (dispatch): do not convert iterator -> pointer
5214         * undo_funcs.C (setCursorParUndo): ditto
5215         * text_funcs.C (transposeChars): ditto
5216
5217         * text2.C (setLayout): ws changes only
5218
5219         * text.C (breakParagraph): do not convert iterator -> pointer
5220         (insertChar): ditto
5221         (acceptChange): ditto
5222         (rejectChange): ditto
5223         (changeCase): ditto
5224         (Delete): ditto
5225         (backspace): ditto
5226
5227         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5228         pointer
5229
5230 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5231
5232         * text3.C (gotoInset): YABG (yet another bad getChar)
5233
5234 2003-04-29  André Pönitz  <poenitz@gmx.net>
5235
5236         * paragraph.h: make operator= private unimplemented as long as
5237           it is unusable
5238
5239         * ParagraphList.C: whitespace
5240
5241         * paragraph.[Ch]:
5242         * paragraph_pimpl.[Ch]:
5243         * paragraph_funcs.C:
5244         * CutAndPaste.C:
5245         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5246
5247         * text2.C:
5248           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5249
5250 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5251
5252         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5253         * paragraph.[Ch] (erase):
5254         * paragraph_pimpl.[Ch] (erase): change return type and value
5255         * text2.C (cutSelection): some rework
5256
5257 2003-04-28  John Levon  <levon@movementarian.org>
5258
5259         * bufferlist.C: changes for unsaved changes dialog
5260
5261 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5262
5263         * bufferlist.C (newFile): set language (messages_) for new
5264         documents also.
5265
5266         * buffer.C (readFile): ws changes only.
5267
5268 2003-04-28  André Pönitz  <poenitz@gmx.net>
5269
5270         * undo_funcs.C:
5271         * lyxfunc.C:
5272         * buffer.[Ch]:
5273         * BufferView_pimpl.C:
5274         * BufferView.C: getParFromID related ParagraphList::iterator changes
5275
5276 2003-04-28  André Pönitz  <poenitz@gmx.net>
5277
5278         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5279           Changes
5280
5281 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5282
5283         * messages.C: remove one more localedir class variable.
5284
5285 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5286
5287         * messages.C (getLocaleDir): singleton generation function
5288         (Pimpl): use it.
5289         (Messages): add a default constructor.
5290
5291         * main.C (main): do not setup localedir here, do not call
5292         gettext_init.
5293
5294         * gettext.C (_): use it.
5295         (gettext_init): delete funciton
5296
5297 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5298
5299         * gettext.C (getLyXMessages): new singleton generating function.
5300
5301         * buffer.C (updateDocLang): adjust
5302
5303         * Makefile.am (messages.o): add target
5304         (main.o): remove target
5305
5306 2003-04-27  John Levon  <levon@movementarian.org>
5307
5308         * bufferlist.C:
5309         * lyx_cb.C:
5310         * lyxfunc.C:
5311         * lyxvc.C: specify cancel button in Alert::prompt
5312
5313 2003-04-26  John Levon  <levon@movementarian.org>
5314
5315         * text3.C:
5316         * lyxfunc.C:
5317         * lfuns.h:
5318         * LyXAction.C: add LFUN_INSET_SETTINGS
5319
5320         * lyxfunc.C: don't enable tabular-feature when there's
5321         just any locking inset
5322
5323 2003-04-26  John Levon  <levon@movementarian.org>
5324
5325         * bufferlist.C: re-add Cancel to buffer close question
5326
5327         * lyxfunc.C: fix import UI a bit
5328
5329 2003-04-25  John Levon  <levon@movementarian.org>
5330
5331         * gettext.C: remove the broken asserts for now
5332
5333 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5334
5335         * messages.C: make case where setlocale cannot comply work better.
5336
5337         * buffer.C (updateDocLang): new function
5338         (changeLanguage): use it
5339         (readFile): use it
5340
5341         * text2.C (setCounter): use B_ a bit.
5342
5343         * lyxlayout.C (Read): be sure to trim the label strings.
5344
5345         * messages.C (Messages): fix typo in comment
5346
5347         * buffer.C (readFile): set message_ after file is loaded.
5348         (makeDocBookFile): remove double return
5349         (changeLanguage): reset message_ upon language change.
5350         (B_): new func, use this to get translated buffer strings.
5351
5352         * main.C: add myself and Jean Marc as authors.
5353
5354 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5355
5356         * messages.[hC]: pimplify Messages, and three different pimpls to be
5357         used in different circumstances.
5358
5359         * gettext.[Ch]: change for use with new message code.
5360
5361 2003-04-24 André Pönitz <poenitz@gmx.net>
5362
5363         * factory.C: support for eqref
5364
5365 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5366
5367         * messages.[Ch]: add missing char
5368
5369         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5370
5371         * messages.[Ch]: New files
5372
5373 2003-04-18  John Levon  <levon@movementarian.org>
5374
5375         * BufferView.h:
5376         * BufferView.C:
5377         * BufferView_pimpl.C:
5378         * lfuns.h:
5379         * LyXAction.C:
5380         * lyxtext.h:
5381         * text2.C: remove layout-copy/paste (bug 778)
5382
5383 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5384
5385         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5386
5387 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5388
5389         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5390         if they succeed. Act accordingly.
5391
5392 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5393
5394         * text2.C (setCharFont): adjust
5395         (setCounter): adjust
5396         (insertStringAsLines): adjust
5397
5398         * text.C (leftMargin): adjust
5399         (setHeightOfRow): adjust
5400
5401         * rowpainter.C (paintFirst): adjust
5402         (paintLast): adjust
5403
5404         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5405         (outerHook): ditto
5406         (isFirstInSequence): ditto
5407         (getEndLabel): ditto
5408         (outerFont): adjust
5409
5410         * paragraph.C (getParLanguage): comment out some hard stuff.
5411
5412         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5413         (sgmlError): ditto
5414         (simpleDocBookOnePar): ditto
5415         (makeDocBookFile): use ParagraphList::iterator
5416
5417         * CutAndPaste.C (pasteSelection): adjust
5418
5419 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5420
5421         * text2.C (getFont): adjust
5422         (getLayoutFont): adjust
5423         (getLabelFont): adjust
5424
5425         * paragraph_funcs.C (TeXOnePar): adjust
5426
5427         * buffer.C (simpleLinuxDocOnePar): adjust
5428         (simpleDocBookOnePar): adjust
5429
5430         * CutAndPaste.C (pasteSelection): adjust
5431
5432         * BufferView.C (getEncoding): adjust
5433
5434         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5435
5436 2003-04-16  John Levon  <levon@movementarian.org>
5437
5438         * lyxfind.C: use parlist stuff for search/changes
5439
5440 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5441
5442         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5443
5444         * text2.C (deleteEmptyParagraphMechanism): adjust
5445
5446         * text2.[Ch] (ownerParagraph): delete func (both of them
5447
5448 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5449
5450         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5451
5452 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5453
5454         * ParagraphList.C: prepare for NO_NEXT
5455
5456 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5457
5458         * text2.C (getFont): adjust
5459         (getLayoutFont): adjust
5460         (getLabelFont): adjust
5461
5462         * paragraph.C (getFont): adjust
5463         (getLabelFont): adjust
5464         (getLayoutFont): adjust
5465
5466         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5467
5468 2003-04-15  John Levon  <levon@movementarian.org>
5469
5470         From Angus Leeming
5471
5472         * lyx_main.C: handle Include in .ui files
5473
5474 2003-04-15  John Levon  <levon@movementarian.org>
5475
5476         * MenuBackend.C: make the doc files length shorter
5477
5478         * ToolbarBackend.h:
5479         * ToolbarBackend.C: handle toolbar placement flags,
5480         Minibuffer
5481
5482 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5483
5484         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5485         adjust
5486
5487         * paragraph_funcs.C (TeXOnePar): adjust
5488
5489         * paragraph.C (getLabelFont): add outerfont arg, adjust
5490         (getLayoutFont): ditto
5491         (simpleTeXOnePar): adjust
5492
5493         * paragraph_pimpl.C (realizeFont): delete func
5494
5495 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5496
5497         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5498         row argument, constify cur argument.
5499
5500 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5501
5502         * text2.C (getFont): adjust
5503         (getLayoutFont): adjust
5504         (getLabelFont): adjust
5505
5506         * paragraph_funcs.C (TeXOnePar): adjust
5507         (outerFont): new func...
5508         (realizeFont): ...moved out from here, changed this to facilitate
5509         transition
5510
5511         * paragraph.C (getFont): take outerfont as arg, adjust
5512         (simpleTeXOnePar): add outerfont arg, adjust
5513
5514         * buffer.C (simpleLinuxDocOnePar): adjust
5515         (simpleDocBookOnePar): adjust
5516
5517         * CutAndPaste.C (pasteSelection): adjust
5518
5519         * BufferView.C (getEncoding): adjust
5520
5521 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5522
5523         * text2.C (setCharFont): adjust
5524         (setCounter): adjust
5525
5526         * text.C (leftMargin): adjust
5527         (setHeightOfRow): adjust
5528
5529         * rowpainter.C (paintFirst): adjust
5530         (paintLast): adjust
5531
5532         * paragraph_pimpl.C (realizeFont): adjust
5533
5534         * paragraph.C (isFirstInSequence): move from here...
5535         * paragraph_funcs.C (isFirstInSequence): ...to here
5536
5537         * paragraph.C (outerHook): move from here...
5538         * paragraph_funcs.C (outerHook): ...to here
5539
5540         * paragraph.C (depthHook): move from here...
5541         * paragraph_funcs.C (depthHook): ...to here
5542
5543         * paragraph.C (getEndLabel): move from here...
5544         * paragraph_funcs.C (getEndLabel): ...to here
5545
5546         * text2.C (realizeFont): move from here...
5547         * paragraph_funcs.C (realizeFont): ...to here
5548
5549 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5550
5551         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5552
5553 2003-04-14  Angus Leeming  <leeming@lyx.org>
5554
5555         * LColor.[Ch]: scrap LColor mathcursor.
5556
5557 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5558
5559         * lyxlex.[Ch] (text): delete function
5560         * trans.C (Load): adjust
5561         * paragraph_funcs.C (readParToken): adjust
5562
5563 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5564
5565         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5566         vector<char> instead of a char[].
5567
5568         * lyxlex_pimpl.C (getString): adjust
5569         (next): adjust
5570         (lex): use getString
5571         (eatLine): adjust
5572         (nextToken): adjust
5573
5574         * lyxlex.C (text): use pimpl_->getString()
5575         (getBool): ditto
5576         (findToken): ditto
5577
5578 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5579
5580         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5581         (makeFontEntriesLayoutSpecific): temp var for par.size()
5582         (setLayout): temp var for ownerParagraphs().end()
5583         (fullRebreak): temp var for rows().end()
5584         (selectionAsString): temp var for boost::next(startpit), realize
5585         that the while really is a regular for loop.
5586         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5587         setCursor in one place.
5588         (setParagraph): temp vr for ownerParagraphs().end()
5589         (updateCounters): make the while loop a for loop
5590         (cutSelection): temp var for ownerParagraphs().end()
5591         (updateInset): make the do {} while() a regular for loop
5592         (getCursorX): use temp vars
5593         (setCurrentFont): use temp vars
5594         (getColumnNearX): use temp vars
5595
5596 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5597
5598         * text.C (transformChar): use temp var for getChar
5599         (computeBidiTables): use temp var for row->par()
5600         (fill): move temp vars for row->par() and pit->layout() earlier in
5601         the function.
5602         (labelFill): use temp var for row->par()
5603         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5604         asc and desc, realize that pit never changes and that firstpit is
5605         just a duplicate and not needed. Exchange rit->par() with pit in a
5606         lot of places.
5607         (breakAgain): use a temp var for boost::next(rit)
5608         (breakAgainOneRow): ditto
5609         (breakParagraph): use a temp var for rows().begin()
5610         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5611         (cursorRightOneWord): use temp var for cursor.par() and
5612         cursor.pos(), remove usage of tmpcursor.
5613         (cursorLeftOneWord): use temp var for cursor.par() and
5614         cursor.pos() only set cur at end of function.
5615
5616 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5617
5618         * text.C, text2.C: exchange all usage of Paragraph::next with
5619         boost::next(ParagraphList::iterator)
5620
5621         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5622
5623         * text2.C (cursorTop): simplify implementation
5624         (cursorBottom): ditto
5625         (setParagraph): use ParagraphList::iterator
5626         (setCurrentFont): adjust
5627         (getColumnNearX): adjust
5628         (cursorRight): adjust
5629         (cursorLeft): remove usage of Paragraph::previous
5630         (cursorUpParagraph): ditto
5631         (deleteEmptyParagraphMechanism): slight cleanup
5632
5633         * text.C (isBoundary): take a Paragraph const & instead of a
5634         pointer as arg.
5635         (addressBreakPoint): ditto
5636         (leftMargin): remove usage of Paragraph::previous.
5637         (setHeightOfRow): ditto
5638         (cursorLeftOneWord): ditto
5639         (selectNextWordToSpellcheck): ditto
5640         (Delete): ditto
5641         (backspace): ditto
5642         (breakParagraph): remove one usage of Paragraph::next
5643         (redoParagraph): ditto
5644         (acceptChange): ditto
5645         (insertChar): adjust
5646         (rowBreakPoint): adjust
5647
5648         * bufferview_funcs.C (toggleAndShow): adjust
5649
5650 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5651
5652         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5653         methods to access it.
5654         * lyxtext.h:
5655         * text.C: Added updateRowPositions to compute all row positions.
5656         Make top_y and getRowNearY() to use the cached y position
5657
5658 2003-04-11  John Levon  <levon@movementarian.org>
5659
5660         * text.C (rowBreakPoint): reintroduce the labelEnd
5661         checks, code copied from the row fill stuff. Deep voodoo.
5662
5663         * text.C (fill): add a comment and debugging for the
5664         next poor soul.
5665
5666 2003-04-11  John Levon  <levon@movementarian.org>
5667
5668         * text.C: make sure fullrow insets get wrapped to the next line,
5669         even when they're in a manual label
5670
5671 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5672
5673         * text2.C (insertParagraph): make it take ParagraphList::iterator
5674         as arg.
5675         (setLayout): make it return ParagraphList::iterator
5676         (redoParagraphs): ditto
5677         (setCounter): ditto
5678         (checkParagraph): ditto
5679
5680         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5681
5682         * text2.C: adjust several funcs.
5683         (realizeFont): take a ParagraphList::iterator as arg.
5684         (getLayoutFont): ditto
5685         (getLabelFont): ditto
5686         (setCharFont): ditto
5687
5688         * text.C: adjust several funcs.
5689
5690 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5691
5692         * text.C (selectNextWordToSpellcheck): don't accidentally
5693         skip insets
5694
5695 2003-04-10  John Levon  <levon@movementarian.org>
5696
5697         * ToolbarBackend.C (getIcon): special handling for
5698         LFUN_MATH_DELIM
5699
5700 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5701
5702         * text2.C (cursorRight): a getChar assert fixed
5703
5704 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5705
5706         * text2.C (getFont): change to take a ParagraphList::iterator
5707         instead of Paragraph*
5708         Adjust several functions.
5709
5710         * text.C (transformChar): change to take a ParagraphList::iterator
5711         instead of Paragraph*
5712         (singleWidth): ditto
5713         Adjust several functions.
5714
5715         * rowpainter.C: adjust several functions
5716         * rowpainter.h:store a ParagraphList::iterator and not a
5717         Paragraph&.
5718
5719
5720 2003-04-09  John Levon  <levon@movementarian.org>
5721
5722         * lyxfunc.C:
5723         * lfuns.h:
5724         * LyXAction.h:
5725         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5726         and the "help" bits as well
5727
5728 2003-04-09  John Levon  <levon@movementarian.org>
5729
5730         * ToolbarBackend.h:
5731         * ToolbarBackend.C: allow multiple toolbars
5732
5733 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5734
5735         * undo_funcs.C (setCursorParUndo): adjust
5736
5737         * text_funcs.C (transposeChars): adjust
5738
5739         * text3.C (gotoNextInset): adjust
5740         (dispatch): adjust
5741
5742         * text2.C (setLayout): adjust
5743         (changeDepth): adjust
5744         (setFont): adjust
5745         (redoParagraphs): adjust
5746         (selectionAsString): adjust
5747         (setParagraph): adjust
5748         (insertInset): adjust
5749         (cutSelection): adjust
5750         (copySelection): adjust
5751         (pasteSelection): adjust
5752         (insertStringAsLines): adjust
5753         (updateInset): adjust
5754         (setCursor): change to take a ParagraphList::iterator parameter
5755         (setCursorIntern): change to take a ParagraphList::iterator parameter
5756         (setCurrentFont): adjust
5757         (cursorLeft): adjust
5758         (cursorRight): adjust
5759         (deleteEmptyParagraphMechanism): adjust
5760
5761         * text.C (breakParagraph): adjust
5762         (insertChar): adjust
5763         (acceptChange): adjust
5764         (rejectChange): adjust
5765         (selectNextWordToSpellcheck): adjust
5766         (changeCase): adjust
5767         (Delete): adjust
5768         (backspace): adjust
5769
5770         * lyxfind.C (SearchForward): adjust
5771         (SearchBackward): adjust
5772         (nextChange): adjust
5773
5774         * lyxcursor.C (par): adjust
5775
5776         * lyxcursor.h: store a ParagraphList::iterator instead of a
5777         Paragraph*
5778
5779         * lyx_cb.C (getPossibleLabel): adjust
5780
5781         * bufferview_funcs.C (toggleAndShow): adjust
5782
5783         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5784         (dispatch): adjust
5785
5786         * BufferView.C (removeAutoInsets): adjust
5787         (lockedInsetStoreUndo): adjust
5788
5789 2003-04-09  John Levon  <levon@movementarian.org>
5790
5791         * ToolbarBackend.C: try icon without argument
5792         if with argument fails
5793
5794 2003-04-08  John Levon  <levon@movementarian.org>
5795
5796         * ToolbarBackend.h:
5797         * ToolbarBackend.C: add getIcon(), handle tooltip,
5798         and change from "Icon" to "Item".
5799
5800 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5801
5802         * BufferView.C (lockInset): another bad getchar crunched
5803
5804 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5805
5806         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5807         again)
5808
5809 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5810
5811         * lyxfind.C (searchForward, searchBackwards): bug 782
5812
5813 2003-04-07  John Levon  <levon@movementarian.org>
5814
5815         * paragraph.C: remove dead comment
5816
5817         * text.C: remove troublesome depth-fiddling code
5818         in leftMargin() and rightMargin() (bug 1017)
5819
5820         * text.C: fix breaking of rows in nested lists
5821         (bug 1004)
5822
5823         * text2.C (updateCounters): fix up depth values
5824         (bug 1013)
5825
5826 2003-04-07  John Levon  <levon@movementarian.org>
5827
5828         * BufferView_pimpl.C: clear message when doc finishes resizing,
5829         and after a mouse event
5830
5831         * lyxfunc.C: clear message after exiting inset
5832
5833 2003-04-07  John Levon  <levon@movementarian.org>
5834
5835         * bufferview_funcs.C: show math status not outside
5836         status in the statusbar
5837
5838 2003-04-07  John Levon  <levon@movementarian.org>
5839
5840         * lyxfunc.C: note status changed after a depth change
5841
5842 2003-04-04  Angus Leeming  <leeming@lyx.org>
5843
5844         * LaTeX.h: move AuxInfo operator==, != out of line.
5845         Remove LaTeX virtual destructor; nothing derives from it.
5846         Move operator()() out of public area and rename it startscript().
5847         Change protected for private.
5848
5849 2003-04-04  Angus Leeming  <leeming@lyx.org>
5850
5851         * lyxfunc.C:
5852         * text2.C: remove unneeded #includes.
5853
5854 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5855
5856         * text2.C (dEPM): fix the heigth of the next row
5857
5858 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5859
5860         * text.C: squashed an invalid getChar requester + some ws changes
5861
5862 2003-04-03  John Levon  <levon@movementarian.org>
5863
5864         * bufferview_funcs.h:
5865         * bufferview_funcs.C:
5866         * lyxfunc.C:
5867         * lyxtext.h:
5868         * text2.C: make getStatus work for the env depth lfuns
5869
5870 2003-04-03  John Levon  <levon@movementarian.org>
5871
5872         * bufferview_funcs.h:
5873         * bufferview_funcs.C:
5874         * lyxfunc.C:
5875         * lyxtext.h:
5876         * text2.C: parlistize decDepth(), by merging it with incDepth()
5877
5878 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5879
5880         * lyxrow.h: store a ParagraphList::iterator instead of a
5881         Paragraph* and adjust other class functions to suit.
5882
5883         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5884         above.
5885
5886 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5887
5888         * text2.C (setCursor): do not anchor to cursor row for the time being
5889
5890 2003-04-02  John Levon  <levon@movementarian.org>
5891
5892         * LyXAction.C:
5893         * lfuns.h:
5894         * lyx_main.C:
5895         * lyxtext.h:
5896         * text.C:
5897         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5898
5899 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5900
5901         * paragraph.h: make ParagraphList and ParagraphList::iterator
5902         friends of Paragraph.
5903
5904         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5905
5906         * ParagraphList.C: Use the private next_ and previous_ from
5907         Paragraph.
5908
5909 2003-04-01  John Levon  <levon@movementarian.org>
5910
5911         * ToolbarBackend.h:
5912         * ToolbarBackend.C:
5913         * Makefile.am: rename, remove defaults gunk
5914
5915         * MenuBackend.h:
5916         * MenuBackend.C: remove defaults gunk
5917
5918         * Languages.h:
5919         * Languages.C: remove defaults gunk
5920
5921         * lyx_main.h:
5922         * lyx_main.C: error out if files couldn't be found.
5923
5924 2003-04-02  John Levon  <levon@movementarian.org>
5925
5926         * text2.C: make incDepth() use parlist
5927
5928 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5929
5930         * undo_funcs.C (firstUndoParagraph): adjust
5931
5932         * text3.C (gotoInset): adjust
5933         (dispatch): adjust, and rewrite loop.
5934
5935         * text2.C (init): adjust, and rewrite loop.
5936         (redoParagraphs): adjust
5937         (updateInset): adjust, and rewrite loop.
5938         (deleteEmptyParagraphMechanism): adjust
5939
5940         * tabular.C (LyXTabular): adjust
5941         (SetMultiColumn): adjust
5942         (TeXRow): adjust
5943
5944         * lyxtext.[Ch] (ownerParagraph): delete function
5945         (ownerParagraphs): new function returns a ParagraphList.
5946
5947         * BufferView.C (removeAutoInsets): adjust
5948         (insertErrors): adjust
5949         (setCursorFromRow): adjust
5950
5951 2003-04-01  Angus Leeming  <leeming@lyx.org>
5952
5953         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5954         in the frontends.
5955
5956 2003-04-02  John Levon  <levon@movementarian.org>
5957
5958         * lyxtext.h:
5959         * text.C:
5960         * Makefile.am:
5961         * text_funcs.h:
5962         * text_funcs.C: make transposeChars a free function
5963
5964         * lyxrow_funcs.C: remove wrong comment
5965
5966 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5967
5968         * lyxtext.h: adjust
5969         * rowpainter.C: adjust
5970         * text.C: adjust
5971         * text2.C: adjust
5972         * text3.C: adjust
5973
5974         * lyxrow_funcs. [Ch]: new files
5975
5976         * lyxrow.[Ch]: remove next and previous pointers
5977         (next,previous): remove accessor functions
5978         (isParEnd): move to lyxrow_funcs
5979         (lastPos): move to lyxrow_funcs
5980         (nextRowIsAllInset): move to lyxrow_funcs
5981         (lastPrintablePos): move to lyxrow_funcs
5982         (numberOfSeparators): move to lyxrow_funcs
5983         (numberOfHfills): move to lyxrow_funcs
5984         (numberOfLabelHfills): move to lyxrow_funcs
5985         (hfillExpansion): move to lyxrow_funcs
5986
5987         * lyxfunc.C: adjust
5988
5989         * bufferview_funcs.C (toggleAndShow): adjust
5990
5991         * RowList.h: Remove class RowList from file leave just a
5992         std::list<Row>.
5993
5994         * RowList.C: delete file
5995
5996         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5997         and lyxrow_funcs.h
5998
5999 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6000
6001         * text3.C (cursorPrevious): adjust
6002         (cursorNext): adjust
6003         (dispatch): adjust
6004
6005         * text2.C (redoHeightOfParagraph): adjust
6006         (redoDrawingOfParagraph): adjust
6007         (setCursor): adjust
6008
6009         * text.C (breakParagraph): adjust
6010         (insertChar): adjust
6011         (backspace): adjust
6012
6013         * rowpainter.C (RowPainter): adjust
6014         (leftMargin): simplify and adjust
6015         (most rowpainter functions): adjust.
6016
6017         * rowpainter.h: store the row as RowList::iterator not as Row*
6018
6019         * lyxcursor.C (row): taka RowList::iterator as arg
6020         (irow): ditto
6021
6022         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6023         of Row*.
6024
6025 2003-04-01  Angus Leeming  <leeming@lyx.org>
6026
6027         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6028         stuff like bool Bool.
6029
6030 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6031
6032         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6033         rewrite a loop
6034
6035 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6036
6037         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6038         RowList::iterator.
6039
6040         * lyxtext.h (rows): drop one version and leve a const variant that
6041         returns a RowList::iterator.
6042
6043 2003-03-31  Angus Leeming  <leeming@lyx.org>
6044
6045         * text.C (fill): ensure that the signature is the same as that in the
6046         header file.
6047
6048 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6049
6050         * text2.C (redoParagraphs): adjust
6051         (updateCounters): adjust
6052         (checkParagraph): adjust
6053         (getColumnNearX): adjust and reformat a bit.
6054
6055         * text.C (top_y): adjust
6056         (workWidth): adjust
6057         (leftMargin): adjust
6058         (prepareToPrint): adjust
6059         (getRow): adjust
6060         (getRowNearY): adjust
6061
6062         * lyxtext.h: make rowlist_ mutable.
6063
6064         * RowList.h: add const_iterator
6065         * RowList.C: adjust for RowList::const_iterator.
6066
6067         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6068         adjust.
6069
6070 2003-03-31  John Levon  <levon@movementarian.org>
6071
6072         * lyxrc.h:
6073         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6074
6075         * lyx_main.C: set default fonts from using lyx_gui funcs
6076
6077         * exporter.C: pdf_mode moved from lyxrc
6078
6079         * lyx_cb.C:
6080         * lyxfunc.C: changes from above
6081
6082 2003-03-31  John Levon  <levon@movementarian.org>
6083
6084         * lyx_main.C: fix to the last fix
6085
6086 2003-03-31  John Levon  <levon@movementarian.org>
6087
6088         * bufferlist.C: "Load original" -> "Load Original"
6089
6090         * converter.C:
6091         * exporter.C:
6092         * importer.C:
6093         * lyx_main.C:
6094         * format.C: more Alert cleanups
6095
6096 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6097
6098         * text2.C (removeParagraph): make it take a RowList::iterator as
6099         arg, adjust.
6100         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6101         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6102
6103         * text.C (anchor_row): make it take a RowList::iterator as arg,
6104         adjust.
6105         (computeBidiTables): make it take a const reference to Row instead
6106         of Row pointer, adjust.
6107         (leftMargin): make it take a RowList::iterator as arg, adjust.
6108         (rowBreakPoint): adjust
6109         (breakAgainOneRow): make it take a RowList::iterator as arg,
6110         adjust.
6111         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6112
6113         * bufferview_funcs.C (toggleAndShow): adjust
6114
6115 2003-03-30  John Levon  <levon@movementarian.org>
6116
6117         * Makefile.am:
6118         * BoostFormat.h:
6119         * boost-inst.C: moved to support
6120
6121         * several files: changes as a result
6122
6123 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6124
6125         * text2.C (LyXText): adjust.
6126         (init): adjust
6127         (removeRow): make it take a RowList::iterator as arg, adjust.
6128         (fullRebreak): adjust
6129         (deleteEmptyParagraphMechanism): adjust
6130         (clearPaint): adjust
6131         (postPaint): adjust
6132
6133         * text.C (top_y): adjust
6134         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6135         (breakAgain): make it take a RowList::iterator as arg, adjust.
6136         (breakParagraph): adjust
6137         (insertChar): adjust
6138         (backspace): adjust
6139
6140         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6141         need_break_row, and refresh_row.
6142
6143         * text3.C (dispatch): adjust
6144
6145         * text2.C (checkParagraph): adjust
6146         (setCursor): adjust
6147         (setCursorFromCoordinates): adjust
6148
6149         * text.C (top_y): adjust
6150         (workWidth): adjust
6151         (getRow): make it return a RowList::iterator, adjust
6152         (getRowNearY): make it return a RowList::iterator, adjust
6153
6154         * text2.C (init): adjust
6155         (insertRow): remove function
6156         (insertParagraph): adjust
6157         (redoParagraphs): adjust
6158         (fullRebreak): adjust
6159         (updateCounters): adjust
6160
6161         * text.C (top_y): rewrite to use RowList iterators.
6162         (top_y): adjust
6163         (setHeightOfRow): rewrite to sue RowList iterators.
6164         (appendParagraph): adjust
6165         (breakAgain): adjust
6166         (breakAgainOneRow): adjust
6167         (breakParagraph): adjust
6168         (getRow): adjust
6169         (getRowNearY): adjust, and remove commented code.
6170
6171         * lyxtext.h (firstRow): delete function
6172         (lastRow): delete function
6173         (rows): new function (const and non-const versions.)
6174         (insertRow): delete function
6175
6176         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6177
6178 2003-03-29  John Levon  <levon@movementarian.org>
6179
6180         * BufferView_pimpl.C: always update scrollbar top
6181         because pasting text when we're anchored could mean we
6182         miss an update altogether
6183
6184 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6185
6186         * text2.C (init): use rowlist_.end() and not 0.
6187         (insertRow): change to take a RowList::iterator as arg, adjust
6188         for this.
6189         (insertParagraph): change to take a RowList::iterator as arg,
6190         adjust for this.
6191         (redoParagraphs): remove some debug msgs.
6192
6193         * text.C (appendParagraph): change to take a RowList::iterator
6194         arg, adjust for this.
6195         (breakAgain): add an assert
6196         (breakAgainOneRow): ditto
6197
6198 2003-03-29  John Levon  <levon@movementarian.org>
6199
6200         * text2.C: do not clear selection after inc/decDepth
6201         (bug 550)
6202
6203 2003-03-29  John Levon  <levon@movementarian.org>
6204
6205         * BufferView.C:
6206         * buffer.C: fix broken strerrors according to Lars
6207
6208 2003-03-29  John Levon  <levon@movementarian.org>
6209
6210         * converters.C: more Alert cleanups
6211
6212 2003-03-29  John Levon  <levon@movementarian.org>
6213
6214         * bufferview_funcs.C: remove pointless Alert
6215
6216         * buffer.C: fix confusing error message when
6217         a template is chmoded 000
6218
6219 2003-03-29  John Levon  <levon@movementarian.org>
6220
6221         * BufferView.C:
6222         * BufferView.h:
6223         * BufferView_pimpl.C: Alert fixes
6224
6225         * Makefile.am:
6226         * tabular.C:
6227         * tabular-old.C: remove unused table compat reading
6228
6229 2003-03-29  John Levon  <levon@movementarian.org>
6230
6231         * BufferView.C:
6232         * buffer.C:
6233         * lyx_cb.h:
6234         * lyx_cb.C: more Alert cleanups
6235
6236         * lyxfunc.C: don't allow chktex if not latex document
6237
6238 2003-03-29  John Levon  <levon@movementarian.org>
6239
6240         * lyx_cb.C:
6241         * BufferView.C:
6242         * buffer.C: warnings pushed down from support/,
6243         kill err_alert
6244
6245 2003-03-29  John Levon  <levon@movementarian.org>
6246
6247         * lyxfunc.C: safety check for C-r (revert)
6248
6249 2003-03-29  John Levon  <levon@movementarian.org>
6250
6251         * bufferlist.h:
6252         * bufferlist.C: several UI fixes using Alert::prompt.
6253         Fix the pointless looping quit code. Fix stupid revert
6254         behaviour (bug 938)
6255
6256         * lyxvc.h:
6257         * lyxvc.C:
6258         * lyx_cb.C: use Alert::prompt
6259
6260         * lyx_main.C: remove a silly question
6261
6262         * lyxfunc.C: remove a couple of silly questions,
6263         use Alert::prompt
6264
6265 2003-03-28  John Levon  <levon@movementarian.org>
6266
6267         * text2.C: fix bug 974 (End on empty par)
6268
6269 2003-03-28  John Levon  <levon@movementarian.org>
6270
6271         * BufferView_pimpl.C:
6272         * LyXAction.C:
6273         * lfuns.h: remove do-nothing math greek lfuns
6274
6275 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6276
6277         * lyxgluelength.h (isValidGlueLength): add default arg on
6278         parameter 2. Remove default arg from friend in class.
6279
6280         * lyxlength.h (isValidLength): add default arg on parameter 2.
6281         Remove default arg from friend in class.
6282
6283         * text2.C (LyXText): adjust, initialize refresh_row.
6284         (init): adjust
6285         (removeRow): adjust
6286         (insertRow): adjust
6287         (insertParagraph): adjst
6288         (redoParagraphs): adjust
6289         (fullRebreak): adjust
6290         (updateCounters): adjust
6291         (deleteEmptyParagraphMechanism): first attempt at fixing a
6292         crashing bug.
6293
6294         * text.C (top_y): adjust
6295         (setHeightOfRow): adjust
6296         (getRow): adjust
6297         (getRowNearY): adjust
6298
6299         * lyxtext.h: include RowList.h
6300         (~LyXText): not needed anymore, deleted.
6301         (firstRow): modify for RowList
6302         (lastRow): new function
6303         Delete firstrow and lastrow class variables, add a Rowlist
6304         rowlist_ class variable.
6305
6306         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6307         paragraph is empty.
6308
6309         * RowList.C (insert): fix case where it == begin().
6310
6311 2003-03-26  Angus Leeming  <leeming@lyx.org>
6312
6313         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6314         the thesaurus dialog.
6315
6316 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6317
6318         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6319
6320         * RowList.[Ch]: new files
6321
6322         * ParagraphList.C (erase): handle the case where it == begin
6323         correctly.
6324
6325 2003-03-25  John Levon  <levon@movementarian.org>
6326
6327         * Makefile.am:
6328         * aspell_local.h:
6329         * aspell.C: add new aspell support
6330
6331         * lyxrc.h:
6332         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6333         have it accessible.
6334
6335 2003-03-25  Angus Leeming  <leeming@lyx.org>
6336
6337         * lfuns.h:
6338         * LyXAction.C (init): new LFUN_INSET_INSERT.
6339
6340         * BufferView_pimpl.C (dispatch): split out part of the
6341         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6342
6343         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6344         LFUN_INSET_APPLY.
6345
6346 2003-03-25  Angus Leeming  <leeming@lyx.org>
6347
6348         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6349
6350 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6351
6352         * text2.C:
6353         * text3.C: remove useless row->height(0)
6354
6355 2003-03-25  John Levon  <levon@movementarian.org>
6356
6357         * lyxtext.h:
6358         * text2.C:
6359         * text3.C: rename the refreshing stuff to better names
6360
6361 2003-03-24  John Levon  <levon@movementarian.org>
6362
6363         * BufferView_pimpl.h:
6364         * BufferView_pimpl.C: update layout choice on a mouse
6365         press/release
6366
6367 2003-03-23  John Levon  <levon@movementarian.org>
6368
6369         * Makefile.am: fix commandtags.h reference
6370
6371 2003-03-22  John Levon  <levon@movementarian.org>
6372
6373         * BufferView_pimpl.C:
6374         * lyxtext.h:
6375         * rowpainter.C:
6376         * rowpainter.h:
6377         * text.C:
6378         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6379
6380 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6381
6382         * lyxtext.h:
6383         * text.C: take the rtl methods out of line
6384
6385 2003-03-21 André Pönitz <poenitz@gmx.net>
6386
6387         * metricsinfo.[Ch]: new files containing structures to be passed around
6388         during the two-phase-drawing...
6389
6390 2003-03-21 André Pönitz <poenitz@gmx.net>
6391
6392         * lyxtextclass.C: read 'environment' tag.
6393
6394 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6395
6396         * text2.C (removeRow): fix bug 964
6397
6398 2003-03-20  John Levon  <levon@movementarian.org>
6399
6400         * rowpainter.C:
6401         * text.C:
6402         * text2.C: paint cleanups. Inset::update() dropped font
6403         parameter
6404
6405 2003-03-19  John Levon  <levon@movementarian.org>
6406
6407         * lyxfunc.C: only fitcursor/markDirty if available()
6408
6409 2003-03-19  John Levon  <levon@movementarian.org>
6410
6411         * commandtags.h: rename to ...
6412
6413         * lfuns.h: ... this, and renumber / cleanup
6414
6415 2003-03-19  John Levon  <levon@movementarian.org>
6416
6417         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6418         fit the cursor after an lfun
6419
6420         * BufferView.h:
6421         * BufferView.C:
6422         * BufferView_pimpl.h:
6423         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6424
6425         * LyXAction.C: layout-character should have ReadOnly
6426
6427         * ParagraphParameters.C:
6428         * buffer.C:
6429         * bufferview_funcs.C:
6430         * lyx_cb.C:
6431         * lyxfind.C:
6432         * lyxtext.h:
6433         * text.C:
6434         * text2.C:
6435         * text3.C:
6436         * undo_funcs.C: changes from above
6437
6438 2003-03-18  John Levon  <levon@movementarian.org>
6439
6440         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6441         remove it from update()
6442
6443         * lyxfunc.C: update layout choice after an lfun
6444
6445         * text3.C: remove extra updateLayoutChoice()s
6446
6447 2003-03-18  John Levon  <levon@movementarian.org>
6448
6449         * text.C: top_y change means full repaint, fix
6450         a drawing bug with cursor movement
6451
6452 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6453
6454         * lyxtext.h:
6455         * text.C:
6456         * text2.C: anchor row on setCursor
6457
6458 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6459
6460         * lyxtext.h: remove almost all mutable keywords
6461         * text.C:
6462         * text2.C:
6463         * text3.C: remove const keywords accordingly
6464
6465 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6466
6467         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6468         anon namespace
6469         (TeXEnvironment): ditto
6470         (TeXOnePar): ditto
6471
6472 2003-03-17  John Levon  <levon@movementarian.org>
6473
6474         * text.C (rowBreakPoint): remove attempt to fix displayed
6475         math insets inside a manual label
6476
6477 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6478
6479         * lyxtext.h: remove BufferView* as first arg from almost all class
6480         functions.
6481         * other files: adjust.
6482
6483 2003-03-17  John Levon  <levon@movementarian.org>
6484
6485         * lyxtext.h:
6486         * undo_funcs.C:
6487         * text2.C: more paint cleanups
6488
6489         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6490
6491         * rowpainter.h:
6492         * rowpainter.C: remove "smart" background painting code
6493
6494 2003-03-16  John Levon  <levon@movementarian.org>
6495
6496         * lyxtext.h:
6497         * text.C:
6498         * text2.C:
6499         * text3.C: add helper functions for setting refresh_row/y
6500
6501 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6502
6503         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6504         newline inset which *can* get inserted in the pass_thru layouts.
6505         This is primarily for literate documents.
6506
6507 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6508
6509         * buffer.C: increment LYX_FORMAT to 223
6510
6511 2003-03-14 André Pönitz <poenitz@gmx.net>
6512
6513         * textclass.h: prepare for environment handling, ws changes
6514         * lyxlayout.C: read latexheader and latexfooter tags
6515
6516 2003-03-14  John Levon  <levon@movementarian.org>
6517
6518         * text2.C: rewrite ::status() a bit
6519
6520 2003-03-13  John Levon  <levon@movementarian.org>
6521
6522         * lyxtext.h: add some docs
6523
6524 2003-03-13  John Levon  <levon@movementarian.org>
6525
6526         * lyxtext.h:
6527         * text.C:
6528         * text2.C:
6529         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6530
6531 2003-03-13  John Levon  <levon@movementarian.org>
6532
6533         * text3.C: fix appendix redrawing
6534
6535 2003-03-13  John Levon  <levon@movementarian.org>
6536
6537         * text.C (setHeightOfRow):
6538         * rowpainter.h:
6539         * rowpainter.C: make appendix mark have the text
6540           "Appendix" so the user knows what it is
6541
6542         * LColor.h:
6543         * LColor.C: s/appendixline/appendix/ from above
6544
6545 2003-03-13  John Levon  <levon@movementarian.org>
6546
6547         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6548
6549         * text.C: fix a getChar(pos) bug properly
6550
6551 2003-03-13  Angus Leeming  <leeming@lyx.org>
6552
6553         * commandtags.h:
6554         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6555         Probably only temporary. Let's see how things pan out.
6556
6557         * BufferView.C (unlockInset):
6558         * BufferView_pimpl.C (fitCursor):
6559         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6560
6561         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6562         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6563
6564         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6565         new functions that convert ParagraphParameters to and from a string.
6566
6567         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6568         BufferView::Pimpl's dispatch.
6569         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6570
6571 2003-03-13 André Pönitz <poenitz@gmx.net>
6572
6573         * lyxfunc.C:
6574         * text3.C:
6575         * factory.C: make it aware of InsetEnv
6576
6577 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6578
6579         * text2.C (setCursor): never ask for one past last
6580         (setCursor): add some debugging messages.
6581
6582         * text.C (singleWidth): never ask for one past last
6583         (singleWidth): ditto
6584         (leftMargin): ditto
6585         (rightMargin): ditto
6586         (rowBreakPoint): ditto
6587         (setHeightOfRow): ditto
6588         (prepareToPrint): ditto
6589
6590         * rowpainter.C (paintBackground): never ask for one past last
6591         (paintText): never ask for one past last
6592
6593         * paragraph_pimpl.C (getChar): make the assert stricter, never
6594         allow the one past last pos to be taken
6595
6596         * paragraph.C (getChar): ws changes only
6597
6598         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6599         (numberOfSeparators): ditto
6600         (numberOfHfills): ditto
6601
6602 2003-03-12  John Levon  <levon@movementarian.org>
6603
6604         * author.h:
6605         * author.C:
6606         * bufferparams.h:
6607         * bufferparams.C:
6608         * paragraph_funcs.C: fix per-buffer authorlists
6609
6610 2003-03-12  John Levon  <levon@movementarian.org>
6611
6612         * text.C: fix newline in right address
6613
6614 2003-03-12  Angus Leeming  <leeming@lyx.org>
6615
6616         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6617         duplicate those in LyXFunc::dispatch.
6618
6619         * commandtags.h:
6620         * LyXAction.C:
6621         * ToolbarDefaults.C:
6622         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6623         Add LFUN_FONTFREE_UPDATE.
6624
6625         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6626         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6627
6628         * bufferview_func.[Ch]: several new functions to facilliate
6629         transfer of data to and from the character dialog.
6630
6631 2003-03-12  John Levon  <levon@movementarian.org>
6632
6633         * buffer.C:
6634         * paragraph.h:
6635         * paragraph.C:
6636         * paragraph_funcs.C:
6637         * paragraph_pimpl.C:
6638         * sgml.C:
6639         * tabular.C:
6640         * text.C:
6641         * text3.C: remove META_NEWLINE in favour of an inset
6642
6643         * rowpainter.h:
6644         * rowpainter.C: remove paintNewline (done by inset)
6645
6646 2003-03-12  John Levon  <levon@movementarian.org>
6647
6648         * paragraph_pimpl.C: complain about bad getChar()s
6649         for a while at least
6650
6651 2003-03-12  John Levon  <levon@movementarian.org>
6652
6653         * buffer.h:
6654         * buffer.C: move paragraph read into a separate function,
6655         a little renaming to reflect that.
6656
6657         * bufferparams.h:
6658         * bufferparams.C: remove the author_ids map, not necessary now
6659
6660         * factory.h:
6661         * factory.C: moved Buffer::readInset to here
6662
6663         * paragraph_funcs.h:
6664         * paragraph_funcs.C: readParagraph free function moved from
6665         buffer.C
6666
6667         * tabular.C: name change
6668
6669 2003-03-12  John Levon  <levon@movementarian.org>
6670
6671         * buffer.C:
6672         * ParagraphParameters.C: move par params input to
6673         a read() method
6674
6675         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6676         behave like a normal read from the stream wrt reading
6677         a line vs. a \\token
6678
6679 2003-03-12  John Levon  <levon@movementarian.org>
6680
6681         * paragraph.C:
6682         * ParagraphParameters.h:
6683         * ParagraphParameters.C: move output code to a
6684         ::write() method
6685
6686 2003-03-12  John Levon  <levon@movementarian.org>
6687
6688         * BufferView.C (insertLyXFile):
6689         * buffer.h:
6690         * buffer.C:
6691         * tabular.C: use a parlist iterator for creating the
6692           document.
6693
6694 2003-03-12  John Levon  <levon@movementarian.org>
6695
6696         * buffer.C: make current_change static local not
6697           static file-scope
6698
6699 2003-03-12  John Levon  <levon@movementarian.org>
6700
6701         * buffer.C: fix insertStringAsLines for change tracking
6702
6703 2003-03-12  John Levon  <levon@movementarian.org>
6704
6705         * BufferView.C:
6706         * tabular.C:
6707         * buffer.h:
6708         * buffer.C:
6709         * bufferparams.h:
6710         * bufferparams.C: move author list into params. Rename some
6711           functions. Move the header reading into a separate token
6712           loop. Move the header token reading into BufferParams.
6713
6714 2003-03-12  John Levon  <levon@movementarian.org>
6715
6716         * changes.C: put debug inside lyxerr.debugging() checks
6717
6718 2003-03-11 André Pönitz <poenitz@gmx.net>
6719
6720         * factory.C: make it aware of InsetHFill
6721
6722 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6723
6724         * buffer.C (latexParagraphs): move function from here...
6725         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6726         args.
6727
6728 2003-03-10  Angus Leeming  <leeming@lyx.org>
6729
6730         * LyXAction.C (init): fix bug in poplating array with multiple entries
6731         with the same LFUN (spotted by JMarc).
6732
6733 2003-03-10  John Levon  <levon@movementarian.org>
6734
6735         * text.C:
6736         * text2.C: move getColumnNearX() near its
6737         only call site
6738
6739 2003-03-10  John Levon  <levon@movementarian.org>
6740
6741         * text.C: fix break before a minipage
6742
6743 2003-03-10  John Levon  <levon@movementarian.org>
6744
6745         * text.C: fix the last commit
6746
6747 2003-03-09  John Levon  <levon@movementarian.org>
6748
6749         * lyxtext.h:
6750         * text.C:
6751         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6752         bug 365 (don't break before insets unless needed). Don't
6753         return a value > last under any circumstances.
6754
6755 2003-03-09  Angus Leeming  <leeming@lyx.org>
6756
6757         * BufferView_pimpl.C (trackChanges, dispatch): call
6758         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6759
6760 2003-03-09  Angus Leeming  <leeming@lyx.org>
6761
6762         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6763         than Dialogs::showAboutlyx().
6764
6765 2003-03-09  Angus Leeming  <leeming@lyx.org>
6766
6767         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6768         than Dialogs::showTabularCreate().
6769
6770 2003-03-09  John Levon  <levon@movementarian.org>
6771
6772         * lyxtext.h:
6773         * text.C:
6774         * text2.C: 3rd arg to nextBreakPoint was always the same.
6775           Use references.
6776
6777 2003-03-08  John Levon  <levon@movementarian.org>
6778
6779         * lyxrow.C:
6780         * paragraph.C:
6781         * paragraph.h:
6782         * rowpainter.C:
6783         * text.C:
6784         * text2.C: Remove the "main" bit from the "main body"
6785           notion.
6786
6787 2003-03-08  John Levon  <levon@movementarian.org>
6788
6789         * text.C (leftMargin): The left margin of an empty
6790         manual label paragraph should not include the label width
6791         string length.
6792
6793         * text.C (prepareToPrint): don't attempt to measure hfills
6794         for empty manual label paragraphs - the answer should be 0
6795
6796 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6797
6798         * CutAndPaste.C: remove commented code and reindent.
6799
6800 2003-03-08  John Levon  <levon@movementarian.org>
6801
6802         * lyxfunc.h:
6803         * lyxfunc.C: move reloadBuffer()
6804
6805         * BufferView.h:
6806         * BufferView.C: to here
6807
6808         * lyxvc.C: add comment
6809
6810         * vc-backend.h:
6811         * vc-backend.C: call bv->reload() to avoid
6812           getStatus() check on MENURELOAD
6813
6814 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6815
6816         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6817         to an old format .dep file.
6818
6819 2003-03-07  Angus Leeming  <leeming@lyx.org>
6820
6821         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6822         when the LFUN_MOUSE_RELEASE should have been handled by
6823         inset->localDispatch.
6824
6825 2003-03-07  Angus Leeming  <leeming@lyx.org>
6826
6827         * BufferView_pimpl.C (dispatch):
6828         * LyXAction.C (init):
6829         * ToolbarDefaults.C (init):
6830         * commandtags.h:
6831         * lyxfunc.C (getStatus):
6832         remove LFUN_INSET_GRAPHICS.
6833
6834         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6835
6836 2003-03-07  Angus Leeming  <leeming@lyx.org>
6837
6838         * commandtags.h:
6839         * LyXAction.C (init):
6840         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6841
6842         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6843
6844         * commandtags.h:
6845         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6846
6847         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6848         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6849
6850 2003-03-07  Angus Leeming  <leeming@lyx.org>
6851
6852         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6853         remove "ert".
6854
6855 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6856
6857         * ParagraphList.C (front): new function
6858         (back): implement
6859
6860 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6861
6862         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6863         and top_row_offset_. removed var first_y.
6864         * text.C (top_y):
6865         * text2.C (LyXText, removeRow):
6866         * text3.C:
6867         * BufferView_pimpl.C:
6868         use these methods instead of using first_y
6869
6870 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6871
6872         * text2.C (pasteSelection): adjust for checkPastePossible
6873
6874         * CutAndPaste.C: remove Paragraph * buf and replace with
6875         ParagraphList paragraphs.
6876         (DeleteBuffer): delete
6877         (cutSelection): change the tc type to textclass_type
6878         (copySelection): change the tc type to textclass_type
6879         (copySelection): adjust for ParagraphList
6880         (pasteSelection): change the tc type to textclass_type
6881         (pasteSelection): adjust for Paragraphlist
6882         (nrOfParagraphs): simplify for ParagraphList
6883         (checkPastePossible): simplify for ParagraphList
6884         (checkPastePossible): remove unused arg
6885
6886         * ParagraphList.C (insert): handle the case where there are no
6887         paragraphs yet.
6888
6889         * CutAndPaste.h: make CutAndPaste a namespace.
6890
6891         * text3.C (dispatch): adjust
6892
6893         * text.C (breakParagraph): add a ParagraphList as arg
6894
6895         * paragraph_funcs.C (breakParagraph): change to take a
6896         BufferParams and a ParagraphList as args.
6897         (breakParagraphConservative): ditto
6898         (mergeParagraph): ditto
6899         (TeXDeeper): add a ParagraphList arg
6900         (TeXEnvironment): ditto
6901         (TeXOnePar): ditto
6902
6903         * buffer.C (readLyXformat2): adjust
6904         (insertStringAsLines): adjust
6905         (latexParagraphs): adjust
6906
6907         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6908         (cutSelection): adjust
6909         (pasteSelection): adjust
6910
6911         * BufferView_pimpl.C (insertInset): adjust
6912
6913 2003-03-05  Angus Leeming  <leeming@lyx.org>
6914
6915         * commandtags.h:
6916         * LyXAction.C (init):
6917         * BufferView_pimpl.C (dispatch):
6918         * lyxfunc.C (getStatus):
6919         remove LFUN_CHILD_INSERT.
6920
6921         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6922
6923 2003-03-05  Angus Leeming  <leeming@lyx.org>
6924
6925         * commandtags.h:
6926         * LyXAction.C (init):
6927         * src/factory.C (createInset):
6928         * lyxfunc.C (getStatus):
6929         * text3.C (dispatch):
6930         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6931
6932         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6933
6934 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6935
6936         * ParagraphList.C (insert): handle insert right before end()
6937         (erase): fix cases where it can be first or last paragraph.
6938
6939 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6940
6941         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6942         Paragraph::next and Paragraph::previous
6943         (TeXOnePar): ditto
6944
6945         * text.C (breakParagraph): adjust
6946
6947         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6948         BufferParams& as arg.
6949         (breakParagraph): use ParagraphList::insert
6950         (breakParagraphConservative): take a Buffer* instead of a
6951         BufferParams& as arg.
6952         (breakParagraphConservative): use ParagraphList::insert.
6953
6954         * buffer.C (insertStringAsLines): un-const it
6955         (insertStringAsLines): adjust
6956
6957         * ParagraphList.C (insert): new function
6958
6959         * CutAndPaste.C (pasteSelection): adjust
6960
6961         * text.C (backspace): adjust
6962
6963         * tabular.C (SetMultiColumn): adjust
6964
6965         * CutAndPaste.C (cutSelection): adjust
6966         (pasteSelection): adjust
6967
6968         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6969         Buffer const * as arg
6970
6971         * ParagraphList.C (erase): new function
6972         * paragraph_funcs.C (mergeParagraph): use it
6973         (mergeParagraph): make it take a Buffer* instead of a
6974         BufferParams* as arg
6975
6976         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6977         as arg
6978         (breakParagraphConservative): ditto
6979
6980         * paragraph.h: remove the breakParagraph friend
6981
6982         * paragraph.C (eraseIntern): new function
6983         (setChange): new function
6984
6985         * paragraph_funcs.C (mergeParagraph): make it take a
6986         ParagraphList::iterator instead of a Paragraph *, adjust
6987         accordingly.
6988
6989         * paragraph.h: move an #endif so that the change tracking stuff
6990         also works in the NO_NEXT case.
6991
6992 2003-03-04  Angus Leeming  <leeming@lyx.org>
6993
6994         * commandtags.h:
6995         * LyXAction.C: new LFUN_INSET_MODIFY.
6996
6997         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6998         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6999
7000 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7001
7002         * several files: ws changes only
7003
7004         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7005         (TeXEnvironment): ditto
7006         (TeXDeeper): ditto
7007
7008         * buffer.C (makeLaTeXFile): adjust
7009         (latexParagraphs): make it take ParagraphList::iterator as args
7010
7011 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7012
7013         * buffer.C (latexParagraphs): adjust
7014
7015         * paragraph.C (TeXOnePar): move function...
7016         (optArgInset): move function...
7017         (TeXEnvironment): move function...
7018         * paragraph_pimpl.C (TeXDeeper): move function...
7019         * paragraph_funcs.C: ...here
7020
7021         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7022
7023 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7024
7025         * buffer.C (readInset): remove compability code for old Figure and
7026         InsetInfo insets
7027
7028 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7029
7030         * buffer.C: ws changes
7031         (readInset):
7032
7033         * BufferView_pimpl.C: ditto
7034         * author.C: ditto
7035         * buffer.h: ditto
7036         * bufferlist.h: ditto
7037         * changes.h: ditto
7038         * lyxfunc.C: ditto
7039
7040 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7041
7042         * converter.[Ch]: split into itself +
7043         * graph.[Ch]
7044         * format.[Ch]
7045         * Makefile.am: += graph.[Ch] + format.[Ch]
7046         * MenuBackend.C
7047         * buffer.C
7048         * exporter.C
7049         * importer.C
7050         * lyx_main.C
7051         * lyxfunc.C
7052         * lyxrc.C: added #include "format.h"
7053
7054 2003-02-27  Angus Leeming  <leeming@lyx.org>
7055
7056         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7057           a label.
7058
7059         * factory.C (createInset): add "label" to the factory.
7060
7061         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7062           string and do no more.
7063
7064 2003-02-27  Angus Leeming  <leeming@lyx.org>
7065
7066         * commandtags.h:
7067         * LyXAction.C (init):
7068         * factory.C (createInset):
7069         * BufferView_pimpl.C (dispatch):
7070           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7071
7072         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7073
7074         * lyxfunc.C (dispatch):
7075         * text3.C (dispatch): pass name to params2string.
7076
7077 2003-02-26  Angus Leeming  <leeming@lyx.org>
7078
7079         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7080           blocks together.
7081           Rearrange the ~includes. Strip out the unnecessary ones.
7082
7083         * factory.C (createInset): reformat.
7084           create new insets for the various LFUN_XYZ_APPLY lfuns.
7085
7086 2003-02-26  John Levon  <levon@movementarian.org>
7087
7088         * lyxrow.h:
7089         * lyxrow.C: add isParStart,isParEnd helpers
7090
7091         * paragraph.h: make isInserted/DeletedText take refs
7092
7093         * paragraph_funcs.h:
7094         * paragraph_funcs.C: remove #if 0'd code
7095
7096         * lyxtext.h:
7097         * text3.C:
7098         * text2.C:
7099         * text.C: use lyxrow helpers above.
7100           Move draw and paint routines to RowPainter.
7101           Make several methods use refs not pointers.
7102           Make backgroundColor() const.
7103           Add markChangeInDraw(), isInInset().
7104           Merge changeRegionCase into changeCase.
7105           Make workWidth() shouldn't-happen code into an Assert.
7106
7107         * rowpainter.h:
7108         * rowpainter.C: new class for painting a row.
7109
7110         * vspace.h:
7111         * vspace.C: make inPixels take a ref
7112
7113 2003-02-26  Angus Leeming  <leeming@lyx.org>
7114
7115         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7116         LFUN_REF_APPLY.
7117
7118 2003-02-25  John Levon  <levon@movementarian.org>
7119
7120         * ispell.C: give the forked command a more accurate name
7121
7122 2003-02-22  John Levon  <levon@movementarian.org>
7123
7124         * toc.h:
7125         * toc.C: make TocItem store an id not a Paragraph *
7126           (bug #913)
7127
7128 2003-02-21  Angus Leeming  <leeming@lyx.org>
7129
7130         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7131           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7132           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7133           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7134           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7135           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7136
7137         * BufferView_pimpl.C (dispatch):
7138         * LyXAction.C (init):
7139         * factory.C (createInset):
7140         * lyxfunc.C (getStatus, dispatch):
7141         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7142
7143 2003-02-21  Angus Leeming  <leeming@lyx.org>
7144
7145         * BufferView_pimpl.C (MenuInsertLyXFile):
7146         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7147         * lyxfunc.C (menuNew, open, doImport):
7148           no longer pass a LyXView & to fileDlg.
7149
7150 2003-02-21  Angus Leeming  <leeming@lyx.org>
7151
7152         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7153         * LyXAction.C: change, BIBKEY to BIBITEM.
7154         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7155         Change InsetBibKey to InsetBibitem.
7156         Change BIBKEY_CODE to BIBITEM_CODE.
7157         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7158         * factory.C: replace insetbib.h with insetbibitem.h.
7159         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7160         * paragraph.C: replace insetbib.h with insetbibitem.h.
7161         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7162         Change bibkey() to bibitem().
7163         * text.C: remove insetbib.h.
7164         * text2.C: replace insetbib.h with insetbibitem.h.
7165         change bibkey() to bibitem().
7166         * text3.C: remove insetbib.h.
7167         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7168
7169 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7170
7171         * lyxrc.C (output): enclose user email in quotes (in case there are
7172         several words)
7173
7174 2003-02-18  John Levon  <levon@movementarian.org>
7175
7176         * buffer.h: add std::
7177
7178 2003-02-17  John Levon  <levon@movementarian.org>
7179
7180         * SpellBase.h:
7181         * ispell.h:
7182         * ispell.C:
7183         * pspell.h:
7184         * pspell.C: reworking. Especially in ispell, a large
7185           number of clean ups and bug fixes.
7186
7187         * lyxfunc.C: fix revert to behave sensibly
7188
7189 2003-02-17 André Pönitz <poenitz@gmx.net>
7190
7191         * LyXAction.C:
7192         * commandtags.h: new LFUN_INSERT_BIBKEY
7193
7194         * layout.h:
7195         * lyxlayout.C:
7196         * buffer.C:
7197         * factory.C:
7198         * text.C:
7199         * text2.C:
7200         * text3.C:
7201         * paragraph.[Ch]:
7202         * paragraph_func.C: remove special bibkey handling
7203
7204 2003-02-17  John Levon  <levon@movementarian.org>
7205
7206         * text.C (Delete): fix case where delete at the end of
7207           the very first paragraph would not merge the pars
7208
7209 2003-02-17  John Levon  <levon@movementarian.org>
7210
7211         * lyxrow.C: fix lastPrintablePos()
7212
7213 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7214
7215         * bufferparams.C (writeLaTeX): add a std:here
7216
7217         * buffer.C: and remove a using directive there
7218
7219 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7220
7221         * buffer.C (makeLaTeXFile): move the code that generates the
7222           preamble...
7223
7224         * bufferparams.C (writeLaTeX): ... in this new method
7225
7226         * LaTeXFeatures.C (getEncodingSet): make const
7227           (getLanguages): make const
7228
7229         * MenuBackend.C (binding): returns the binding associated to this
7230           action
7231           (add): sets the status of each item by calling getStatus. Adds
7232           some intelligence.
7233           (read): add support for OptSubMenu
7234           (expand): remove extra separator at the end of expanded menu
7235
7236 2003-02-15  John Levon  <levon@movementarian.org>
7237
7238         * BufferView.C:
7239         * BufferView_pimpl.C:
7240         * bufferlist.h:
7241         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7242           inset code that had no actual effect. Remove unneeded status
7243           code.
7244
7245 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7246
7247         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7248           in preamble
7249
7250 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7251
7252         * text.C (drawLengthMarker): also draw an arrow marker for
7253           symbolic lengths (medskip...)
7254
7255 2003-02-14  John Levon  <levon@movementarian.org>
7256
7257         * tabular.h:
7258         * tabular.C: better method names
7259
7260 2003-02-14  John Levon  <levon@movementarian.org>
7261
7262         * BufferView_pimpl.C:
7263         * bufferlist.C:
7264         * buffer.C:
7265         * converter.C:
7266         * lyx_cb.C:
7267         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7268           it's a more accurate name. Remove some pointless uses.
7269
7270 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7271
7272         * text2.C (LyXText): change order of initilizers to shut off
7273           warnings
7274
7275 2003-02-14  John Levon  <levon@movementarian.org>
7276
7277         * buffer.C: use ParIterator for getParFromID()
7278
7279         * paragraph.h:
7280         * paragraph.C:
7281         * paragraph_pimpl.h:
7282         * paragraph_pimpl.C: remove unused getParFromID()
7283
7284 2003-02-14  John Levon  <levon@movementarian.org>
7285
7286         * buffer.C: remove some very old #if 0'd parse code
7287
7288 2003-02-13  John Levon  <levon@movementarian.org>
7289
7290         * text.h:
7291         * text.C:
7292         * text2.C: move hfillExpansion(), numberOfSeparators(),
7293           rowLast(), rowLastPrintable(), numberofHfills(),
7294           numberOfLabelHfills() ...
7295
7296         * lyxrow.h:
7297         * lyxrow.C: ... to member functions here.
7298
7299         * paragraph.h:
7300         * paragraph.C:
7301         * lyxtext.h:
7302         * text.C: remove LyXText::beginningOfMainBody(), and call
7303           p->beginningOfMainBody() directly. Move the check for
7304           LABEL_MANUAL into the latter.
7305
7306         * text.h:
7307         * text.C:
7308         * text2.C:
7309         * vspace.C:
7310         * BufferView.h:
7311         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7312
7313         * text.h:
7314         * text.C:
7315         * text2.C:
7316         * text3.C:
7317         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7318           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7319
7320 2003-02-13  John Levon  <levon@movementarian.org>
7321
7322         * CutAndPaste.C: remove debug
7323
7324 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7325
7326         * paragraph.C (asString): remove two unused variables
7327
7328         * lyxtextclass.C (readTitleType):
7329           (Read):
7330           (LyXTextClass): handle new members titletype_ and titlename_
7331
7332         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7333
7334 2003-02-09  John Levon  <levon@movementarian.org>
7335
7336         * buffer.h:
7337         * buffer.C: replace hand-coded list with a map for the dep clean
7338
7339 2003-02-08  John Levon  <levon@movementarian.org>
7340
7341         * LaTeX.C: consolidate code into showRunMessage() helper
7342
7343 2003-02-08  John Levon  <levon@movementarian.org>
7344
7345         * lyxfind.C:
7346         * lyxtext.h:
7347         * text2.C:
7348         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7349           and pass the size in explicitly
7350
7351         * BufferView_pimpl.h:
7352         * BufferView_pimpl.C:
7353         * BufferView.h:
7354         * BufferView.C: add getCurrentChange()
7355
7356         * BufferView_pimpl.h:
7357         * BufferView_pimpl.C: handle change lfuns
7358
7359         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7360           for changes. Mark pasted paragraphs as new.
7361
7362         * support/lyxtime.h:
7363         * support/lyxtime.C:
7364         * DepTable.C: abstract time_t as lyx::time_type
7365
7366         * LColor.h:
7367         * LColor.C: add colours for new text, deleted text, changebars
7368
7369         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7370           package use "usenames" option.
7371
7372         * commandtags.h:
7373         * lyxfunc.C:
7374         * LyXAction.C: add change lfuns
7375
7376         * Makefile.am:
7377         * author.h:
7378         * author.C: author handling
7379
7380         * buffer.h:
7381         * buffer.C: add a per-buffer author list, with first entry as
7382           current author. Handle new .lyx tokens for change tracking. Output
7383           author list to .lyx file. Output dvipost stuff to .tex preamble.
7384           Bump lyx format to 222.
7385
7386         * bufferlist.h:
7387         * bufferlist.C: add setCurrentAuthor() to reset current author details
7388           in all buffers.
7389
7390         * bufferparams.h:
7391         * bufferparams.C: add param for tracking
7392
7393         * bufferview_funcs.C: output change info in minibuffer
7394
7395         * Makefile.am:
7396         * changes.h:
7397         * changes.C: add change-tracking structure
7398
7399         * debug.h:
7400         * debug.C: add CHANGES debug flag
7401
7402         * lyxfind.h:
7403         * lyxfind.C: add code for finding the next change piece
7404
7405         * lyxrc.h:
7406         * lyxrc.C: add user_name and user_email
7407
7408         * lyxrow.h:
7409         * lyxrow.C: add a metric for the top of the text line
7410
7411         * lyxtext.h:
7412         * text.C: implement accept/rejectChange()
7413
7414         * lyxtext.h:
7415         * text.C: paint changebars. Paint new/deleted text in the chosen
7416         colours. Strike through deleted text.
7417
7418         * paragraph.h:
7419         * paragraph.C:
7420         * paragraph_pimpl.h:
7421         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7422           in the current change to the insert functions. Rework erase to
7423           mark text as deleted, adding an eraseIntern() and a range-based
7424           erase(). Implement per-paragraph change lookup and
7425           accept/reject.
7426
7427         * paragraph_funcs.C: Fixup paste for change tracking.
7428
7429         * tabular.C: mark added row/columns as new.
7430
7431         * text.C: fix rowLast() to never return -1. Don't allow
7432           spellchecking of deleted text. Track transpose changes. Don't
7433           allow paragraph break or merge where appropriate.
7434
7435         * text2.C: leave cursor at end of selection after a cut.
7436
7437 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7438
7439         * text.C (getLengthMarkerHeight):
7440         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7441         visible on screen too.
7442
7443 2003-02-07  John Levon  <levon@movementarian.org>
7444
7445         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7446
7447 2003-02-05  Angus Leeming  <leeming@lyx.org>
7448
7449         * lyxserver.C (read_ready): revert my patch of 11 September last year
7450         as it sends PC cpu through the roof. Presumably this means that
7451         the lyxserver will no longer run on an Alpha...
7452
7453 2003-01-30  Angus Leeming  <leeming@lyx.org>
7454
7455         * factory.C (createInset): create an InsetCommandParam of type "index"
7456         and use it to 'do the right thing'.
7457
7458         * text2.C (getStringToIndex): ensure that cursor position is always
7459         reset to the reset_cursor position.
7460
7461 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7462
7463         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7464         disabled.
7465
7466 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7467
7468         * bufferview.C:
7469         * lyxcb.C:
7470         * lyxfunc.C: Output messages with identical spelling, punctuation,
7471         and spaces
7472
7473 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7474
7475         * MenuBackend.C (expandFormats): List only viewable export formats
7476         in "View" menu
7477
7478         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7479         message
7480
7481         * lyxfunc.C (getStatus): Make sure that formats other than
7482         "fax" can also be disabled
7483
7484 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7485
7486         * text3.C (dispatch): put the lfuns that insert insets in 3
7487         groups, and call doInsertInset with appropriate arguments.
7488         (doInsertInset): new function, that creates an inset and inserts
7489         it according to some boolean parameters.
7490
7491 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7492
7493         * buffer.C (readFile): remember to pass on 'par' when calling
7494         readFile recursively.
7495
7496 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7497
7498         * MenuBackend.C (expandFormats): add "..." to import formats.
7499
7500 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7501
7502         * paragraph.C (asString): Remove XForms RTL hacks.
7503
7504 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7505         * buffer.C: fix typo
7506
7507 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7508
7509         * Makefile.am (LIBS): delete var
7510         (lyx_LDADD): add @LIBS@ here instead.
7511
7512 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7513
7514         * Clarify the meaning of "wheel mouse jump"
7515
7516 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7517
7518         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7519         tabular in a float
7520
7521 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7522
7523         * importer.C (Loaders): do not preallocate 3 elements in the
7524         vector, since one ends up with 6 elements otherwise
7525
7526 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7527
7528         * DepTable.C (write): write the file name as last element of the
7529         .dep file (because it may contain spaces)
7530         (read): read info in the right order
7531
7532 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7533
7534         * paragraph_pimpl.C (simpleTeXBlanks):
7535         (simpleTeXSpecialChars):
7536         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7537
7538         * tabular.C (latex): add some missing case statements. Reindent.
7539
7540         * MenuBackend.C (expandToc): remove unused variable.
7541
7542 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7543
7544         * LColor.C:
7545         * LaTeX.C:
7546         * LyXAction.C:
7547         * MenuBackend.C:
7548         * buffer.C:
7549         * exporter.C:
7550         * lyxfunc.C:
7551         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7552         and the like.
7553
7554 2003-01-05  John Levon  <levon@movementarian.org>
7555
7556         * BufferView.h:
7557         * BufferView.C: add getEncoding()
7558
7559         * kbsequence.h:
7560         * kbsequence.C: do not store last keypress
7561
7562         * lyxfunc.h:
7563         * lyxfunc.C: store last keypress here instead. Pass encoding
7564           to getISOEncoded()
7565
7566 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7567
7568         * lyx_main.C (init): remove annoying error message when following
7569         symbolic links (bug #780)
7570
7571 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7572
7573         * text.C (insertChar):
7574         * lyxrc.C (getDescription): remove extra spaces
7575
7576 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7577
7578         * lyxrc.C (getDescription): remove extra spaces
7579
7580 2002-12-20  John Levon  <levon@movementarian.org>
7581
7582         * text3.C: hack fix for page up/down across tall rows
7583
7584 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7585
7586         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7587         not been invoked
7588
7589 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7590
7591         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7592         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7593         thesaurus is not compiled in
7594
7595 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7596
7597         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7598
7599 2002-12-16  Angus Leeming  <leeming@lyx.org>
7600
7601         * lyxrc.[Ch]:
7602         * lyx_main.C (init): remove override_x_deadkeys stuff.
7603
7604 2002-12-12  John Levon  <levon@movementarian.org>
7605
7606         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7607           insert. Only remove shift modifier under strict
7608           circumstances.
7609
7610 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7611
7612         * MenuBackend.C (expandToc): fix crash.
7613
7614 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7615
7616         * MenuBackend.C (expandToc): gettext on float names.
7617
7618 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7619
7620         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7621         implement bool empty() [bug 490]
7622
7623 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7624
7625         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7626
7627 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7628
7629         * several files: ws changes
7630
7631 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7632
7633         * text2.C (setCounter): clean up a bit, use boost.format.
7634         (updateCounters): initialize par upon declaration.
7635
7636         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7637         if the layout exists. We do not just store the layout any more.
7638         (SwitchLayoutsBetweenClasses): use boost.format
7639
7640 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7641
7642         * converter.C (convert): if from and to files are the same, use a
7643         temporary files as intermediary
7644
7645 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7646
7647         * commandtags.h:
7648         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7649
7650 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7651
7652         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7653
7654 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7655
7656         * tabular.C (asciiPrintCell): use string(size, char) instead of
7657         explicit loop.
7658
7659         * sgml.C (openTag): fix order of arguments to string constructor
7660         (closeTag): ditto
7661
7662         * lyxfunc.C (dispatch): use boost.format
7663
7664         * lots of files: change "c" -> 'c'
7665
7666 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7667
7668         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7669
7670 2002-11-25  Angus Leeming  <leeming@lyx.org>
7671
7672         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7673
7674         * lyx_main.C (init): compile fix.
7675
7676 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7677
7678         * lyx_cb.C (start): boost.formatify
7679         do not include <iostream>
7680
7681         * lengthcommon.C: ws only
7682
7683         * boost-inst.C,BoostFormat.h: add more explict instantations
7684
7685 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7686
7687         * lots of files: handle USE_BOOST_FORMAT
7688
7689 2002-11-21  John Levon  <levon@movementarian.org>
7690
7691         * pspell.C: fix compile
7692
7693 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7694
7695         * lyxfunc.C (dispatch): use boost::format
7696         (open): ditto
7697         (doImport): ditto
7698
7699         * lyxfont.C (stateText): use boost::format
7700
7701         * lyx_main.C (LyX): use boost::format
7702         (init): ditto
7703         (queryUserLyXDir): ditto
7704         (readRcFile): ditto
7705         (parse_dbg): ditto
7706         (typedef boost::function): use the recommened syntax.
7707
7708         * importer.C (Import): use boost::format
7709
7710         * debug.C (showLevel): use boost::format
7711
7712         * converter.C (view): use boost::format
7713         (convert): ditto
7714         (move): ditto
7715         (scanLog): ditto
7716
7717         * bufferview_funcs.C (currentState): use boost::format
7718
7719         * bufferlist.C (emergencyWrite): use boost::format
7720
7721         * buffer.C (readLyXformat2): use boost::format
7722         (parseSingleLyXformat2Token): ditto
7723
7724         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7725
7726         * LaTeX.C (run): use boost::format
7727
7728         * Chktex.C (scanLogFile): use boost::format
7729
7730         * BufferView_pimpl.C (savePosition): use boost::format
7731         (restorePosition): ditto
7732         (MenuInsertLyXFile): ditto
7733
7734         * BoostFormat.h: help file for explicit instation.
7735
7736 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7737
7738         * tabular.C (latex): Support for block alignment in fixed width
7739         columns.
7740
7741 2002-11-17  John Levon  <levon@movementarian.org>
7742
7743         * BufferView_pimpl.C:
7744         * lyx_cb.C:
7745         * lyxfunc.C: split filedialog into open/save
7746
7747 2002-11-08  Juergen Vigna  <jug@sad.it>
7748
7749         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7750         by my last patch (hopefully).
7751
7752 2002-11-08  John Levon  <levon@movementarian.org>
7753
7754         * iterators.h:
7755         * iterators.C:
7756         * buffer.h:
7757         * buffer.C:
7758         * paragraph.h:
7759         * paragraph.C:
7760         * toc.h:
7761         * toc.C: ParConstIterator, and use it (from Lars)
7762
7763 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7764
7765         * lyxtextclass.[Ch]: revise and add doxygen comments
7766
7767 2002-11-07  John Levon  <levon@movementarian.org>
7768
7769         * text.C: fix progress value for spellchecker
7770
7771         * toc.C: fix navigate menu for insetwrap inside minipage
7772
7773         * paragraph_funcs.C: added FIXME for suspect code
7774
7775 2002-11-07  John Levon  <levon@movementarian.org>
7776
7777         * BufferView_pimpl.C: fix redrawing of insets
7778           on buffer switch
7779
7780 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7781
7782         * text2.C (updateCounters): fix bug 668
7783
7784 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7785
7786         * text3.C (dispatch): Do not make the buffer dirty when moving the
7787         cursor.
7788
7789 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7790
7791         * vc-backend.C: STRCONV
7792         (scanMaster): ditto
7793
7794         * text2.C (setCounter): STRCONV
7795
7796         * paragraph.C (asString): STRCONV
7797
7798         * lyxlength.C (asString): STRCONV
7799         (asLatexString): ditto
7800
7801         * lyxgluelength.C (asString): STRCONV
7802         (asLatexString): ditto
7803
7804         * lyxfunc.C (dispatch): STRCONV
7805         (open): ditto
7806
7807         * lyxfont.C (stateText): STRCONV
7808
7809         * importer.C (Import): STRCONV
7810
7811         * counters.C (labelItem): STRCONV
7812         (numberLabel): ditto
7813         (numberLabel): remove unused ostringstream o
7814
7815         * chset.C: STRCONV
7816         (loadFile): ditto
7817
7818         * bufferview_funcs.C (currentState): STRCONV
7819
7820         * buffer.C (readFile): STRCONV
7821         (asciiParagraph): ditto
7822         (makeLaTeXFile): ditto
7823
7824         * Spacing.C (writeEnvirBegin): STRCONV
7825
7826         * LaTeXFeatures.C (getLanguages): STRCONV
7827         (getPackages): ditto
7828         (getMacros): ditto
7829         (getBabelOptions): ditto
7830         (getTClassPreamble): ditto
7831         (getLyXSGMLEntities): ditto
7832         (getIncludedFiles): ditto
7833
7834         * LaTeX.C: STRCONV
7835         (run): ditto
7836         (scanAuxFile): ditto
7837         (deplog): ditto
7838
7839         * LString.h: add the STRCONV macros
7840
7841         * BufferView_pimpl.C (savePosition): STRCONV
7842         (restorePosition): ditto
7843         (MenuInsertLyXFile): ditto
7844
7845         * vc-backend.C (scanMaster): change from submatch[...] to
7846         submatch.str(...)
7847
7848         * funcrequest.C: include config.h
7849
7850         * factory.C: include config.h
7851
7852         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7853
7854         * box.C: include config.h
7855
7856         * LaTeX.C (scanAuxFile): change from submatch[...] to
7857         submatch.str(...)
7858         (deplog): ditto
7859
7860 2002-10-25  Angus Leeming  <leeming@lyx.org>
7861
7862         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7863
7864         * ispell.[Ch] (setError): new method.
7865         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7866         Use setError() insetead of goto END.
7867
7868         * lyx_cb.C (AutoSave): move out child process into new class
7869         AutoSaveBuffer.
7870
7871 2002-10-30  John Levon  <levon@movementarian.org>
7872
7873         * text3.C: make start appendix undoable
7874
7875 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7876
7877         * lyxlength.C (inPixels): Fix returned value.
7878
7879         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7880         environment.
7881
7882 2002-10-24  Angus Leeming  <leeming@lyx.org>
7883
7884         * lyxgluelength.h: no need to forward declare BufferParams
7885         or BufferView, so don't.
7886
7887 2002-10-21  John Levon  <levon@movementarian.org>
7888
7889         * BufferView.C: menuUndo ->undo, redo
7890
7891         * BufferView.h: document, remove dead, make some methods private
7892
7893         * paragraph_funcs.h:
7894         * paragraph_funcs.C:
7895         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7896
7897         * buffer.h:
7898         * buffer.C:
7899         * sgml.h:
7900         * sgml.C: move sgml open/close tag into sgml.C
7901
7902         * bufferview_funcs.h: unused prototype
7903
7904         * lyxfunc.h:
7905         * lyxfunc.C: remove unused
7906
7907         * lyxtext.h:
7908         * text.C: remove unused
7909
7910 2002-10-21  John Levon  <levon@movementarian.org>
7911
7912         * BufferView.h:
7913         * BufferView.C:
7914         * BufferView_pimpl.h:
7915         * BufferView_pimpl.C: fix mouse wheel handling based on
7916           patch from Darren Freeman
7917
7918 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7919
7920         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7921
7922 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7923
7924         * lyxlength.C (inPixels): Fix hanfling of negative length.
7925         Fix LyXLength::MU case.
7926
7927 2002-10-16  John Levon  <levon@movementarian.org>
7928
7929         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7930
7931 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7932
7933         * converter.C (view): add support for $$i (file name) and $$p
7934         (file path) for the viewer command. If $$i is not specified, then
7935         it is appended to the command (for compatibility with old syntax)
7936
7937 2002-10-14  Juergen Vigna  <jug@sad.it>
7938
7939         * undo_funcs.C (textHandleUndo): alter the order in which the
7940         new undopar is added to the LyXText, as we have to set first
7941         the right prev/next and then add it as otherwise the rebuild of
7942         LyXText is not correct. Also reset the cursor to the right paragraph,
7943         with this IMO we could remove the hack in "redoParagraphs()".
7944
7945 2002-10-09  Angus Leeming  <leeming@lyx.org>
7946
7947         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7948         to turn off an optimisation if a new inset is to be inserted.
7949
7950 2002-10-11 André Pönitz <poenitz@gmx.net>
7951
7952         * lyxtext.h: make some functions public to allow access
7953         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7954
7955 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7956
7957         * text3.C (dispatch): when changing layout, avoid an infinite loop
7958         [bug #652]
7959
7960 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7961
7962         * lyxrc.C (read): treat a viewer or converter command of "none" as
7963         if it were empty.
7964
7965         * MenuBackend.C (expandFormats): for an update, also allow the
7966         formats that are not viewable
7967
7968         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7969         script if it is newer than the lyxrc.defaults in user directory
7970
7971 2002-10-07 André Pönitz <poenitz@gmx.net>
7972
7973         * text.C: Vitaly Lipatov's small i18n fix
7974
7975 2002-09-25  Angus Leeming  <leeming@lyx.org>
7976
7977         * ispell.h: doxygen fix.
7978
7979 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7980
7981         * buffer.h (readFile): Add a new argument to the method, to allow
7982         reading of old-format templates.
7983
7984 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7985
7986         * toc.C (getTocList): Get TOC from InsetWrap.
7987
7988 2002-09-16  John Levon  <levon@movementarian.org>
7989
7990         * lyxfunc.C: check tabular for cut/copy too
7991
7992 2002-09-12  John Levon  <levon@movementarian.org>
7993
7994         * LyXAction.C: tidy
7995
7996         * factory.h:
7997         * factory.C: add header
7998
7999         * paragraph_funcs.h:
8000         * paragraph_funcs.C: cleanup
8001
8002 2002-09-11  John Levon  <levon@movementarian.org>
8003
8004         * PrinterParams.h: odd/even default to true
8005
8006 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8007
8008         * PrinterParams.h: update printer parameters for new xforms dialog
8009
8010 2002-09-11  Angus Leeming  <leeming@lyx.org>
8011
8012         * lyxserver.C (read_ready): re-write to make it more transparent
8013         and to make it work in coherent fashion under Tru64 Unix.
8014
8015 2002-09-11  André Pönitz <poenitz@gmx.net>
8016
8017         * commandtags.h:
8018         * LyXAction.C:
8019         * text3.C: implement LFUN_WORDSEL
8020
8021 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8022
8023         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8024         make floatlist_ a boost::shared_ptr<FloatList>
8025
8026         * lyxtextclass.C: include FloatList.h
8027         (LyXTextClass): initialize floatlist_
8028         (TextClassTags): add TC_NOFLOAT
8029         (Read): match "nofloat" to TC_NOFLOAT and use it.
8030         (readFloat): modify call to floatlist_
8031         (floats): ditto
8032         (floats): ditto
8033
8034         * FloatList.[Ch] (FloatList): remove commented out float
8035         initialization.
8036         (erase): new function
8037
8038 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8039
8040         * MenuBackend.C (expandToc): fix crash when there is no document
8041         open
8042
8043 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8044
8045         * many files: Add insetwrap.
8046
8047 2002-09-09  John Levon  <levon@movementarian.org>
8048
8049         * text2.C: remove confusing and awkward depth wraparound
8050
8051 2002-09-09  John Levon  <levon@movementarian.org>
8052
8053         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8054
8055         * buffer.h:
8056         * buffer.C: remove getIncludeonlyList()
8057
8058         * paragraph.C:
8059         * lyxfunc.C: remove headers
8060
8061 2002-09-09  Juergen Vigna  <jug@sad.it>
8062
8063         * text.C (getColumnNearX): fix form Michael this is most
8064         probably a cut&paste bug.
8065
8066 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8067
8068         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8069
8070         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8071         references, ws changes.
8072
8073         * text2.C (init): update counters after init
8074         (insertParagraph): no need to set counter on idividual paragraphs.
8075         (setCounter): access the counters object in the textclass object
8076         on in the buffer object.
8077         (updateCounters): ditto
8078
8079         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8080         shared_ptr<Counters> to avoid loading counters.h in all
8081         compilation units.
8082         (LyXTextClass): initialize ctrs_
8083         (TextClassTags): add TC_COUNTER, and ...
8084         (Read): use it here.
8085         (CounterTags): new tags
8086         (readCounter): new function
8087         (counters): new funtion
8088         (defaultLayoutName): return a const reference
8089
8090         * counters.C (Counters): remove contructor
8091         (newCounter): remove a couple of unneeded statements.
8092         (newCounter): simplify a bit.
8093         (numberLabel): some small formatting changes.
8094
8095         * buffer.[Ch]: remove all traces of counters, move the Counters
8096         object to the LyXTextClass.
8097
8098 2002-09-06  Alain Castera  <castera@in2p3.fr>
8099
8100         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8101         package to set the horizontal alignment on fixed width columns.
8102
8103         * lyx_sty.C:
8104         * lyx_sty.h: added tabularnewline macro def.
8105
8106         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8107
8108 2002-09-06  John Levon  <levon@movementarian.org>
8109
8110         * LyXAction.C: tooltips for sub/superscript
8111
8112         * MenuBackend.C: a bit more verbose
8113
8114         * lyxfunc.C: tiny clean
8115
8116         * undo_funcs.C: document undo_frozen
8117
8118 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8119
8120         * counters.C (Counters): add missing algorithm counter.
8121
8122         * text2.C (setCounter): lookup the counter with layouts latexname
8123         instead of by section number.
8124         (setCounter): use a hackish way to lookup the correct enum
8125         counter.
8126         a float name->type change
8127         reset enum couners with counter name directly instead of depth value.
8128
8129         * counters.C (Counters): remove the push_backs, change to use the
8130         float type not the float name.
8131         (labelItem): remove unused string, float name->type change
8132
8133         * counters.h: don't include vector, loose the enums and sects vectors
8134
8135 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8136
8137         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8138         (Read): add float->TC_FLOAT to textclassTags
8139         (Read): and handle it in the switch
8140         (readFloat): new function
8141
8142         * FloatList.C (FloatList): comment out the hardcoded float
8143         definitions.
8144
8145         * lyxlayout.h: ws change.
8146
8147 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8148
8149         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8150
8151 2002-09-03  Angus Leeming  <leeming@lyx.org>
8152
8153         * BufferView_pimpl.h: qualified name is not allowed in member
8154         declaration: WorkArea & Pimpl::workarea() const;
8155
8156         * factory.C: added using std::endl directive.
8157
8158         * text3.C: added using std::find and std::vector directives.
8159
8160 2002-08-29  André Pönitz <poenitz@gmx.net>
8161
8162         * lyxtext.h:
8163         * text2.C: remove unused member number_of_rows
8164
8165         * Makefile.am:
8166         * BufferView2.C: remove file, move contents to...
8167         * BufferView.C: ... here
8168
8169         * BufferView_pimpl.C:
8170         * factory.C: move more inset creation to factory
8171
8172         * vspace.C: avoid direct usage of LyXText, ws changes
8173
8174         * BufferView.[Ch]:
8175                 don't provide direct access to WorkArea, use two simple
8176                 acessors haveSelction() and workHeight() instead
8177
8178
8179 2002-08-29  John Levon  <levon@movementarian.org>
8180
8181         * BufferView_pimpl.C (dispatch): do not continue when
8182           no buffer
8183
8184 2002-08-28  André Pönitz <poenitz@gmx.net>
8185
8186         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8187
8188         * BufferView.h:
8189         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8190
8191 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8192
8193         * buffer.C: increment LYX_FORMAT to 221
8194
8195         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8196         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8197
8198         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8199
8200         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8201
8202 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8203
8204         * factory.C (createInset): use LyXTextClass::floats
8205
8206         * MenuBackend.C (expandFloatListInsert):
8207         (expandFloatInsert):
8208         (expandToc):
8209
8210         * text2.C (setCounter):
8211
8212         * LaTeXFeatures.C (useFloat):
8213         (getFloatDefinitions):
8214
8215         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8216
8217         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8218         floatlist_, with accessor floats().
8219
8220         * FloatList.h: remove global FloatList
8221
8222 2002-08-26  André Pönitz <poenitz@gmx.net>
8223
8224         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8225
8226         * BufferView.h:
8227         * BufferView2.C:
8228         * BufferView_pimpl.C:
8229         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8230
8231 2002-08-25  John Levon  <levon@movementarian.org>
8232
8233         * LyXAction.C: fix margin note description
8234
8235 2002-08-24  John Levon  <levon@movementarian.org>
8236
8237         * buffer.C:
8238         * bufferlist.C:
8239         * bufferview_funcs.C:
8240         * lyxfont.C:
8241         * undo_funcs.C: cleanups
8242
8243         * lyxfunc.C: disable CUT/COPY when no selection
8244
8245 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8246
8247         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8248         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8249
8250         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8251         Add backward compatibility to "mono", "gray" and "no".
8252
8253 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8254
8255         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8256         (and file_format >= 200).
8257
8258 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8259
8260         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8261
8262 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8263
8264         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8265
8266 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8267
8268         * BufferView_pimpl.C:
8269         * LyXAction.C:
8270         * buffer.C:
8271         * commandtags.h:
8272         * lyxfunc.C:
8273         * paragraph.[Ch]:
8274         * text2.C:
8275         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8276         inset and code to make it  work with the paragraph code. The inset
8277         can be anywhere in the paragraph, but will only do the expected
8278         thing in LaTeX if the layout file contains the parameter line
8279                         OptionalArgs    1
8280         (or more generally, a nonzero value) for that layout.
8281
8282 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8283
8284         * paragraph.h: remove the declaration of undefined counters class
8285         function.
8286
8287 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8288
8289         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8290         Dr. Richard Hawkins.
8291
8292 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8293
8294         * paragraph_funcs.h: remove some unneeded includes
8295
8296         * text.C (backspace): pasteParagraph now in global scipe
8297
8298         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8299         (pasteSelection): ditto
8300
8301         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8302         * paragraph_funcs.C (pasteParagraph): ... here
8303
8304 2002-08-20  André Pönitz <poenitz@gmx.net>
8305
8306         * commandtags.h: new LFUNs for swapping/copying table row/colums
8307
8308         * LyXAction.C:
8309         * lyxfunc.C: support for new lfuns
8310
8311 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8312
8313         * tabular.C:
8314         * buffer.[Ch]: remove NO_COMPABILITY stuff
8315
8316 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8317
8318         * boost.C (throw_exception): new file, with helper function for
8319         boost compiled without exceptions.
8320
8321         * paragraph.h:
8322         * lyxlength.C:
8323         * buffer.C:
8324         * ParameterStruct.h:
8325         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8326
8327         * bufferlist.C (emergencyWriteAll): use boost bind
8328
8329         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8330
8331         * text.C: include paragraph_funcs.h
8332         (breakParagraph): breakParagraph is now in global scope
8333
8334         * paragraph_funcs.[Ch]: new files
8335
8336         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8337         global scope
8338
8339         * buffer.C: include paragraph_funcs.h
8340         (insertStringAsLines): breakParagraph is now in global scope
8341
8342         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8343         paragraph_funcs.C
8344
8345         * CutAndPaste.C: include paragraph_funcs.h
8346         (cutSelection): breakParagraphConservative is now in global scope
8347         (pasteSelection): ditto
8348
8349         * buffer.h: declare oprator== and operator!= for
8350         Buffer::inset_iterator
8351
8352         * bufferlist.C (emergencyWrite): don't use fmt(...)
8353
8354         * text3.C: add using std::endl
8355
8356         * BufferView.C (moveCursorUpdate): remove default arg
8357
8358 2002-08-20  André Pönitz <poenitz@gmx.net>
8359
8360         * buffer.[Ch]: move inline functions to .C
8361
8362         * BufferView2.C:
8363         * BufferView_pimpl.C:
8364         * text.C:
8365         * buffer.[Ch]: use improved inset_iterator
8366
8367         * buffer.C:
8368         * paragraph.[Ch]: write one paragraph at a time
8369
8370 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8371
8372         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8373         style if style is not specified.
8374
8375 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8376
8377         * text2.C (setCounter): when searching for right label for a
8378         caption, make sure to recurse to parent insets (so that a caption
8379         in a minipage in a figure float works) (bug #568)
8380
8381 2002-08-20  André Pönitz <poenitz@gmx.net>
8382
8383         * text3.C: new file for LyXText::dispatch() and helpers
8384
8385         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8386
8387         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8388
8389 2002-08-19  André Pönitz <poenitz@gmx.net>
8390
8391         * lyxtext.h:
8392         * text.C: new LyXText::dispatch()
8393
8394         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8395
8396 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8397
8398         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8399
8400         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8401         Hebrew text.
8402
8403 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8404
8405         * Makefile.am: use $(variables) instead of @substitutions@
8406
8407 2002-08-15  André Pönitz <poenitz@gmx.net>
8408
8409         * lyxfunc.C:
8410         * BufferView_pimpl.C: streamlining mathed <-> outer world
8411         interaction
8412
8413         * commandtags.h:
8414         * LyXAction.C: remove unused LFUN_MATH
8415
8416 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8417
8418         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8419
8420 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8421
8422         * paragraph.C (Paragraph): reformat a bit
8423         (cutIntoMinibuffer): use builtin InsetList function instad of
8424         doing it manually.
8425         (getInset): ditto
8426
8427         * buffer.C: include boost/bind.hpp, add using std::for_each
8428         (writeFileAscii): use ParagraphList iterators
8429         (validate): use for_each for validate traversal of paragraphs
8430         (getBibkeyList): use ParagraphList iterators
8431         (resizeInsets): use for_each to resizeInsetsLyXText for all
8432         paragraphs.
8433         (getParFromID): use ParagraphList iterators
8434
8435         * BufferView2.C (lockInset): use paragraph list and iterators
8436
8437 2002-08-14  John Levon  <levon@movementarian.org>
8438
8439         * lyxserver.C: remove spurious xforms include
8440
8441 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8442
8443         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8444
8445 2002-08-13  André Pönitz <poenitz@gmx.net>
8446
8447         * LyXAction.[Ch]:
8448         * lyxfunc.C: further cleaning
8449
8450 2002-08-13  André Pönitz <poenitz@gmx.net>
8451
8452         * funcrequest.h: new constructor
8453
8454         * funcrequest.C: move stuff here from .h
8455
8456         * Makefile.am:
8457         * BufferView_pimpl.C:
8458         * LyXAction.C:
8459         * toc.C:
8460         * lyxfunc.C: subsequent changes
8461
8462         * lyxfunc.h: new view() member function
8463
8464         * lyxfunc.C: subsequent changes
8465
8466 2002-08-13  Angus Leeming  <leeming@lyx.org>
8467
8468         * BufferView2.C:
8469         * BufferView_pimpl.C:
8470         * buffer.C:
8471         * converter.C:
8472         * importer.C:
8473         * lyxfunc.C:
8474         * lyxvc.C:
8475         * toc.C:
8476         * vc-backend.C:
8477         changes due to the changed LyXView interface that now returns references
8478         to member variables not pointers.
8479
8480 2002-08-13  Angus Leeming  <leeming@lyx.org>
8481
8482         * WordLangTuple (word, lang_code): return references to strings,
8483         not strings.
8484
8485         * BufferView.h:
8486         * SpellBase.h:
8487         * lyxtext.h: forward-declare WordLangTuple.
8488
8489         * BufferView2.C:
8490         * ispell.C:
8491         * pspell.C:
8492         * text.C: #include "WordLangTuple.h".
8493
8494         * lyxtext.h:
8495         * text.C: (selectNextWordToSpellcheck): constify return type.
8496
8497 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8498
8499         * buffer.C:
8500         * buffer.h:
8501         * lyxtext.h:
8502         * paragraph.C:
8503         * paragraph_pimpl.h:
8504         * text.C:
8505         * text2.C:
8506         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8507         suggested by Angus.
8508         Made updateCounter always count from start of buffer, and removed
8509         second argument (par).
8510         Reverted floats number display to '#'. Perhaps I'll try again when the
8511         code base is sanitized a bit.
8512
8513 2002-08-12  Angus Leeming  <leeming@lyx.org>
8514
8515         * buffer.[Ch] (getLabelList): constify.
8516
8517 2002-08-07  André Pönitz <poenitz@gmx.net>
8518
8519         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8520
8521         * funcrequest.h: extension to keep mouse (x,y) position
8522
8523 2002-08-12  Juergen Vigna  <jug@sad.it>
8524
8525         * BufferView2.C (insertErrors): forbid undo when inserting error
8526         insets.
8527
8528         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8529
8530 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8531
8532         * ParagraphList.[Ch]: new files
8533
8534         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8535
8536         * BufferView2.C (lockInset): ParagraphList changes
8537         * toc.C: ditto
8538         * text2.C: ditto
8539         * bufferlist.C: ditto
8540         * buffer.h: ditto
8541         * buffer.C: ditto
8542
8543 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8544
8545         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8546         unused class variable counter_,
8547
8548         * paragraph.[Ch] (getFirstCounter): delete unused function
8549
8550         * counters.C: include LAssert.h
8551         (reset): add a new function with no arg, change other version to
8552         not have def. arg and to not allow empty arg.
8553
8554         * text2.C (setCounter): remove empty arg from call to Counters::reset
8555
8556 2002-08-11  John Levon  <levon@movementarian.org>
8557
8558         * Makefile.am: add WordLangTuple.h
8559
8560 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8561
8562         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8563         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8564
8565         * insets/insettext.C: InsetList changes
8566
8567         * graphics/GraphicsSupport.C (operator()): InsetList changes
8568
8569         * toc.C (getTocList): InsetList changes
8570
8571         * paragraph_pimpl.[Ch]: InsetList changes
8572
8573         * paragraph.[Ch]: InsetList changes
8574
8575         * buffer.C (inset_iterator): InsetList changes
8576         (setParagraph): ditto
8577         * buffer.h (inset_iterator): ditto
8578         * iterators.C (operator++): ditto
8579         * iterators.h: ditto
8580
8581         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8582
8583         * InsetList.[Ch]: new files, most InsetList handling moved out of
8584         paragraph.C.
8585
8586         * BufferView2.C (removeAutoInsets): InsetList changes
8587         (lockInset): ditto
8588         (ChangeInsets): ditto
8589
8590 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8591
8592         * paragraph_pimpl.h (empty): new function
8593
8594         * paragraph.[Ch] (empty): new function
8595
8596         * other files: use the new Paragraph::empty function
8597
8598 2002-08-09  John Levon  <levon@movementarian.org>
8599
8600         * lyxtext.h: remove unused refresh_height
8601
8602 2002-08-09  John Levon  <levon@movementarian.org>
8603
8604         * Makefile.am:
8605         * sgml.h:
8606         * sgml.C:
8607         * buffer.C:
8608         * paragraph.h:
8609         * paragraph.C: move sgml char escaping out of paragraph
8610
8611         * paragraph.h:
8612         * paragraph.C: remove id setter
8613
8614         * buffer.C:
8615         * paragraph.C:
8616         * paragraph_pimpl.C: remove dead tex_code_break_column
8617
8618         * bufferview_funcs.C: small cleanup
8619
8620         * lyxfunc.C: remove dead proto
8621
8622         * lyxtext.h: make some stuff private. Remove some dead stuff.
8623
8624         * lyxgluelength.C: make as[LyX]String() readable
8625
8626 2002-08-08  John Levon  <levon@movementarian.org>
8627
8628         * LyXAction.h:
8629         * LyXAction.C:
8630         * MenuBackend.C:
8631         * ToolbarDefaults.C:
8632         * lyxfunc.C:
8633         * lyxrc.C:
8634         * toc.C: lyxaction cleanup
8635
8636 2002-08-08  John Levon  <levon@movementarian.org>
8637
8638         * BufferView2.C: small cleanup
8639
8640         * lyxfind.h:
8641         * lyxfind.C: move unnecessary header into the .C
8642
8643 2002-08-08  John Levon  <levon@movementarian.org>
8644
8645         * funcrequest.h: just tedious nonsense
8646
8647         * lyx_main.h:
8648         * lyx_main.C: cleanups
8649
8650         * buffer.C:
8651         * vspace.C: remove dead header lyx_main.h
8652
8653 2002-08-07  Angus Leeming  <leeming@lyx.org>
8654
8655         * Paragraph.[Ch]:
8656         * paragraph_pimpl.h:
8657         Forward declare class Counters in paragraph.h by moving the ctrs member
8658         variable into Paragraph::Pimpl.
8659         (counters): new method, returning a reference to pimpl_->ctrs.
8660
8661         * text2.C: ensuing changes.
8662
8663 2002-08-07  John Levon  <levon@movementarian.org>
8664
8665         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8666
8667         * BufferView_pimpl.C: announce X selection on double/triple
8668           click
8669
8670         * lyx_main.C: use correct bool in batch dispatch
8671
8672         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8673
8674 2002-08-07  André Pönitz <poenitz@gmx.net>
8675
8676         * funcrequest.h: new class to wrap a kb_action and its argument
8677
8678         * BufferView.[Ch]:
8679         * BufferView_pimpl[Ch]:
8680         * LaTeX.C:
8681         * LyXAction.[Ch]:
8682         * lyxfunc.[Ch]:
8683         * lyxrc.C: subsequent changes
8684
8685
8686 2002-08-07  John Levon  <levon@movementarian.org>
8687
8688         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8689           document options change.
8690
8691 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8692
8693         * counters.[Ch]
8694         * text2.C
8695         * paragraph.[Ch]
8696         * makefile.am: move counters functionality over from
8697         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8698
8699 2002-08-06  John Levon  <levon@movementarian.org>
8700
8701         * WordLangTuple.h: new file for word + language code tuple
8702
8703         * SpellBase.h:
8704         * pspell.h:
8705         * pspell.C:
8706         * ispell.h:
8707         * ispell.C:
8708         * lyxtext.h:
8709         * text.C:
8710         * text2.C:
8711         * BufferView.h:
8712         * BufferView2.C: use WordLangTuple
8713
8714         * layout.h:
8715         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8716
8717 2002-08-06  John Levon  <levon@movementarian.org>
8718
8719         * lyx_main.C: fix cmdline batch handling
8720
8721 2002-08-06  André Pönitz <poenitz@gmx.net>
8722
8723         * lyxrc.C: set default for show_banner to true
8724
8725 2002-08-06  John Levon  <levon@movementarian.org>
8726
8727         * pspell.C: fix a crash, and allow new aspell to work
8728
8729 2002-08-06  John Levon  <levon@movementarian.org>
8730
8731         * lyxfunc.C:
8732         * kbmap.C: small cleanup
8733
8734         * vspace.h:
8735         * vspace.C: add const
8736
8737 2002-08-05  John Levon  <levon@movementarian.org>
8738
8739         * LyXAction.C: back to tabular-insert
8740
8741 2002-08-04  John Levon  <levon@movementarian.org>
8742
8743         * BufferView.h:
8744         * BufferView.C: cosmetic change
8745
8746         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8747
8748         * bufferlist.C:
8749         * buffer.h:
8750         * buffer.C:
8751         * lyxcb.h:
8752         * lyxcb.C:
8753         * lyxserver.C:
8754         * lyxvc.C:
8755         * vc-backend.C:
8756         * BufferView2.C: purge all "Lyx" not "LyX" strings
8757
8758         * lyxcursor.h:
8759         * lyxcursor.C: attempt to add some documentation
8760
8761         * lyxfunc.C:
8762         * commandtags.h:
8763         * LyXAction.C:
8764         * ToolbarDefaults.C:
8765         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8766           merge with LFUN_TABULAR_INSERT
8767
8768         * Makefile.am:
8769         * SpellBase.h:
8770         * ispell.h:
8771         * ispell.C:
8772         * pspell.h:
8773         * pspell.C: split up i/pspell implementations into separate
8774           files, many cleanups
8775
8776         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8777
8778         * text2.C: some cleanup
8779
8780         * lyxfunc.C: don't check for isp_command == "none" any more, it
8781           didn't make any sense
8782
8783 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8784
8785         * counters.[Ch]
8786         * text2.C
8787         * paragraph.[Ch]
8788         * makefile.am: move counters functionality over
8789         from text2.C/paragraph.[Ch] to counters.[Ch], and
8790         make proper C++.
8791 2002-08-02  John Levon  <levon@movementarian.org>
8792
8793         * buffer.C: s/lyxconvert/lyx2lyx/
8794
8795 2002-08-02  Angus Leeming  <leeming@lyx.org>
8796
8797         * lyxlex.C: revert John's change as it breaks reading of the user
8798         preamble.
8799
8800 2002-08-02  Angus Leeming  <leeming@lyx.org>
8801
8802         * importer.C (Import):
8803         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8804         changes due to LyXView::view() now returning a boost::shared_ptr.
8805
8806 2002-08-02  John Levon  <levon@movementarian.org>
8807
8808         * lyxlex.C: small cleanup
8809
8810 2002-08-02  John Levon  <levon@movementarian.org>
8811
8812         * text2.C (status): small cleanup, no logic change
8813
8814 2002-08-01  John Levon  <levon@movementarian.org>
8815
8816         * buffer.h:
8817         * buffer.C (writeFile): don't output alerts, caller
8818           handles this
8819
8820         * bufferlist.C:
8821         * lyx_cb.C: from above
8822
8823         * lyxfunc.C: allow to open non-existent files
8824
8825 2002-07-31  John Levon  <levon@movementarian.org>
8826
8827         * lyxserver.C: don't let incidental errors get
8828           in the way (errno)
8829
8830 2002-07-30  John Levon  <levon@movementarian.org>
8831
8832         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8833
8834 2002-07-30  John Levon  <levon@movementarian.org>
8835
8836         * lyxserver.h:
8837         * lyxserver.C: remove I/O callback too
8838
8839 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8840
8841         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8842         log.
8843
8844 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8845
8846         * many files: strip,frontStrip -> trim,ltrim,rtrim
8847
8848 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8849
8850         * PrinterParams.h: remove extern containsOnly, and include
8851         support/lstrings.h instead.
8852
8853         * LaTeX.C (scanAuxFile): modify because of strip changes
8854         (deplog): ditto
8855         * buffer.C (makeLaTeXFile): ditto
8856         * bufferparams.C (writeFile): ditt
8857         * lyxfont.C (stateText): ditto
8858         * lyxserver.C (read_ready): ditto
8859         * vc-backend.C (scanMaster): ditto
8860
8861         * BufferView_pimpl.h: ws changes
8862
8863         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8864
8865 2002-07-26  André Pönitz <poenitz@gmx.net>
8866
8867         * kb_sequence.C: remove unnedred usings
8868
8869 2002-07-26  Juergen Vigna  <jug@sad.it>
8870
8871         * lyxfind.C (LyXReplace): we have to check better if the returned
8872         text is not of theLockingInset()->getLockingInset().
8873
8874 2002-07-25  Juergen Vigna  <jug@sad.it>
8875
8876         * lyxfind.C (LyXReplace): don't replace if we don't get the
8877         right LyXText.
8878
8879         * undo_funcs.C (createUndo): remove debugging code.
8880
8881 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8882
8883         * buffer.C (parseSingleLyXformat2Token): Use default placement
8884         when reading old floats.
8885
8886         * FloatList.C (FloatList): Change the default placement of figure
8887         and tables to "tbp".
8888
8889 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8890
8891         * MenuBackend.C: using std::max
8892
8893 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8894
8895         * MenuBackend.C (expandToc):
8896         (expandToc2): code moved from xforms menu frontend. It is now
8897         generic and TOCs are transparent to menu frontends.
8898
8899 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8900
8901         * toc.C (getTocList): protect against buf=0
8902
8903         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8904         Menu as first parameter. Now, this calls itself recursively to
8905         expand a whole tree (this will be useful for TOC handling)
8906         (expandFloatInsert): remove 'wide' version of floats
8907
8908         * MenuBackend.h (submenuname): returns the name of the submenu.
8909         (submenu): returns the submenu itself, provided it has been
8910         created by MenuBackend::expand
8911
8912 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8913
8914         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8915         insets which have noFontChange == true. (bug #172)
8916
8917 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8918
8919         * BufferView_pimpl.C: add connection objects and use them...
8920         (Pimpl): here.
8921
8922 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8923
8924         * MenuBackend.C (expandLastfiles):
8925         (expandDocuments):
8926         (expandFormats):
8927         (expandFloatListInsert):
8928         (expandFloatInsert):
8929         (expand): split expand in parts
8930
8931 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8932
8933         * lyx_gui.C: use lyx_gui::exit()
8934
8935 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8936
8937         * LyXAction.C: show the failing pseudo action
8938
8939 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8940
8941         * buffer.C (readFile): Run the lyxconvert script in order to read
8942         old files.
8943
8944 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8945
8946         * LyXAction.C:
8947         * commandtags.h:
8948         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8949
8950 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8951
8952         * LyXAction.C:
8953         * commandtags.h:
8954         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8955
8956 2002-07-22  Herbert Voss  <voss@lyx.org>
8957
8958         * lengthcommon.C:
8959         * lyxlength.[Ch]: add support for the vertical lengths
8960
8961 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8962
8963         * toc.[Ch]: std:: fixes
8964
8965 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8966
8967         * lyxrc.C: do not include lyx_main.h
8968
8969         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8970         for layouts
8971
8972         * lyxrc.C:
8973         * encoding.C:
8974         * bufferlist.C:
8975         * BufferView2.C: include "lyxlex.h"
8976
8977         * tabular.h:
8978         * bufferparams.h: do not #include "lyxlex.h"
8979
8980         * lyxtextclasslist.C (Add): remove method
8981         (classlist): renamed to classlist_
8982
8983         * paragraph_pimpl.C:
8984         * paragraph.C:
8985         * text2.C:
8986         * CutAndPaste.C:
8987         * bufferview_funcs.C:
8988         * bufferlist.C:
8989         * text.C:
8990         * LaTeXFeatures.C:
8991         * buffer.C:
8992         * toc.C (getTocList): use BufferParams::getLyXTextClass
8993
8994         * toc.C (getTocList): use InsetFloat::addToToc
8995
8996         * toc.[Ch]: new files, containing helper functions to handle table
8997         of contents
8998
8999         * lyxfunc.C (dispatch): no need to remove spaces around command
9000         given as a string
9001         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9002         first command of the sequence; it is not very clever, but I do not
9003         have a better idea, actually
9004
9005         * LyXAction.C (LookupFunc): make sure to remove space at the
9006         beginning and end of the command
9007
9008 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9009
9010         * MenuBackend.C (getMenubar): new method: return the menubar of
9011         this menu set
9012         (read): treat differently reading of menu and menubar (in
9013         particular, the menubar has no name now)
9014         (Menu::menubar): remove
9015
9016         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9017         saving is finished
9018
9019 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9020
9021         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9022         a bibitem inset in a RTL paragraph.
9023
9024 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9025
9026         * paragraph_pimpl.C: constify
9027
9028         * BufferView_pimpl.C:
9029         * LaTeX.C:
9030         * lyxfunc.C: fix dispatch in a nicer way
9031
9032 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9033
9034         * lyxfunc.C (dispatch):
9035         * BufferView_pimpl.C:
9036         * BufferView_pimpl.h:
9037         * BufferView.C:
9038         * BufferView.h: rename Dispatch() to dispatch()
9039
9040         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9041
9042         * lyxlayout.C (Read): honor DependsOn tag
9043
9044         * lyxlayout.[Ch] (depends_on): new method
9045
9046         * version.C.in: update lyx_docversion
9047
9048         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9049
9050         * paragraph.C (validate): remove from here...
9051         * paragraph_pimpl.C (validate): ... and move here
9052         (isTextAt): make it const
9053
9054         * buffer.C (getLists): ws cleanup
9055
9056 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9057
9058         * language.C (read): Use iso8859-1 encoding in latex_lang
9059         (this prevents LyX from crashing when using iso10646-1 encoding).
9060
9061 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9062
9063         * text2.C (toggleInset): if cursor is inside an inset, close the
9064         inset and leave cursor _after_ it
9065
9066 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9067
9068         * lyxfunc.C: move minibuffer completion handling out of here
9069
9070 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9071
9072         * BufferView_pimpl.C:
9073         * LaTeX.C: fix dispatch calls
9074
9075 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9076
9077         * text.C (drawChars): Fix Arabic text rendering.
9078
9079 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9080
9081         * LyXAction.C:
9082         * commandtags.h:
9083         * lyxfunc.C: remove message-push/pop
9084
9085         * lyxserver.C:
9086         * lyxfunc.h:
9087         * lyxfunc.C: rationalise some code by removing verboseDispatch
9088           in favour of a bool argument to dispatch()
9089
9090 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9091
9092         * lyx_main.C (init): make sure to read symlinks as absolute paths
9093
9094 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9095
9096         * lyxfunc.h:
9097         * lyxfunc.C: no need for commandshortcut to be a member
9098
9099 2002-07-15  André Pönitz <poenitz@gmx.net>
9100
9101         * converter.C: add support for $$s (scripts from lib/scripts dir)
9102         * lyx_main.C: white space
9103
9104 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9105
9106         * bufferlist.C:
9107         * lyxrc.h:
9108         * lyxrc.C: remove second exit confirmation
9109
9110 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9111
9112         * BufferView.h:
9113         * BufferView.C:
9114         * BufferView2.C:
9115         * BufferView_pimpl.h:
9116         * BufferView_pimpl.C:
9117         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9118
9119 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9120
9121         * MenuBackend.C (expand): add numeric shortcuts to document menu
9122
9123         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9124
9125 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9126
9127         * lyxfont.C (setLyXFamily):
9128         (setLyXSeries):
9129         (setLyXShape):
9130         (setLyXSize):
9131         (setLyXMisc):
9132         (lyxRead):
9133         * debug.C (value):
9134         * buffer.C (asciiParagraph): use ascii_lowercase
9135
9136 2002-07-15  Mike Fabian  <mfabian@suse.de>
9137
9138         * lyxlex_pimpl.C (search_kw):
9139         * lyxlex.C (getLongString):
9140         * converter.h (operator<):
9141         * converter.C (operator<):
9142         * buffer.C (parseSingleLyXformat2Token):
9143         (asciiParagraph):
9144         * ToolbarDefaults.C (read):
9145         * MenuBackend.C (checkShortcuts):
9146         (read):
9147         * LColor.C (getFromGUIName):
9148         (getFromLyXName): use the compare_ascii_no_case instead of
9149         compare_no_case, because in turkish, 'i' is not the lowercase
9150         version of 'I', and thus turkish locale breaks parsing of tags.
9151
9152 2002-07-16  Angus Leeming  <leeming@lyx.org>
9153
9154         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9155         now takes a Buffer const & argument.
9156
9157 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9158
9159         * BufferView.C (resize): check there's a buffer to resize
9160
9161 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9162
9163         * lyxfunc.C: remove dead code
9164
9165         * lyxserver.h:
9166         * lyxserver.C: use lyx_guii::set_read_callback
9167
9168 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9169
9170         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9171         an inset in a RTL paragraph.
9172
9173 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9174
9175         * lyxfunc.C: repaint after a font size update
9176
9177 2002-07-15  André Pönitz <poenitz@gmx.net>
9178
9179         * lyxlength.C: inBP should be able to return negative values
9180
9181 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9182
9183         * lyxfunc.C: use lyx_gui::update_fonts()
9184
9185 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9186
9187         * lyxfunc.C: use lyx_gui::update_color()
9188
9189 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9190
9191         * bufferlist.C:
9192         * lyxfunc.h:
9193         * lyxfunc.C:
9194         * lyxrc.h:
9195         * lyxrc.C: remove file->new asks for name option, and let
9196           buffer-new take an argument
9197
9198 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9199
9200         * BufferView_pimpl.C: remove unneeded extra repaint()
9201
9202 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9203
9204         * LyXAction.C: allow command-sequence with NoBuffer
9205
9206         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9207
9208 2002-07-10  Angus Leeming  <leeming@lyx.org>
9209
9210         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9211
9212 2002-07-09  Angus Leeming  <leeming@lyx.org>
9213
9214         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9215
9216 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9217
9218         * lengthcommon.h: whitespace
9219
9220         * lyxfunc.C: update scrollbar after goto paragraph
9221
9222         * lyxtext.h: factor out page break drawing, and fix it so
9223           page break/added space paints as selected nicely
9224
9225 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9226
9227         * BufferView_pimpl.C: add FIXMEs, clean up a little
9228
9229 2002-07-09  André Pönitz <poenitz@gmx.net>
9230
9231         * lyxfont.[Ch]: support for wasy symbols
9232
9233 2002-07-08  André Pönitz <poenitz@gmx.net>
9234
9235         * BufferView_pimpl.C: apply John's patch for #93.
9236
9237 2002-07-05  Angus Leeming  <leeming@lyx.org>
9238
9239         * BufferView_pimpl.C (buffer): generate previews if desired.
9240
9241         * LColor.h: add "preview" to the color enum.
9242
9243         * LColor.C (LColor): add a corresponding entry to the items array.
9244
9245         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9246         with this buffer.
9247
9248 2002-07-05  Angus Leeming  <leeming@lyx.org>
9249
9250         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9251         The body of the code is now in the method that is passed an ostream &
9252         rather than a file name.
9253         Pass an additional only_preamble parameter, useful for the forthcoming
9254         preview stuff.
9255
9256 2002-07-03  André Pönitz <poenitz@gmx.net>
9257
9258         * lyxfunc.C: simplify getStatus() a bit for math stuff
9259
9260 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9261
9262         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9263
9264 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9265
9266         * text.C (changeRegionCase): do not change case of all the
9267         document when region ends at paragraph end (bug #461)
9268
9269 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9270
9271         * paragraph.C (startTeXParParams):
9272         (endTeXParParams): add \protect when necessary
9273
9274 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9275
9276         * BufferView_pimpl.C (workAreaExpose): remove warning
9277
9278 2002-06-27  Angus Leeming  <leeming@lyx.org>
9279
9280         * Makefile.am: add lyxlayout_ptr_fwd.h.
9281
9282 2002-06-26  André Pönitz <poenitz@gmx.net>
9283
9284         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9285
9286 2002-06-25  Angus Leeming  <leeming@lyx.org>
9287
9288         * lyxfunc.C (dispatch): Comment out the call to
9289         grfx::GCache::changeDisplay. The method no longer exists now that the
9290         pixmap generation part of the graphics loader has been moved into
9291         InsetGraphics.
9292
9293 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9294
9295         * text2.C: layout as layout
9296
9297         * text.C: layout as layout
9298
9299         * tabular.C (OldFormatRead): layout as layout
9300
9301         * paragraph_pimpl.C (TeXDeeper): layout as layout
9302         (realizeFont): layout as layout
9303
9304         * paragraph.C (writeFile): layout as layout
9305         (validate): layout as layout
9306         (getFont): layout as layout
9307         (getLabelFont): layout as layout
9308         (getLayoutFont): layout as layout
9309         (breakParagraph): layout as layout
9310         (stripLeadingSpaces): layout as layout
9311         (getEndLabel): layout as layout
9312         (getMaxDepthAfter): layout as layout
9313         (applyLayout): layout as layout
9314         (TeXOnePar): layout as layout
9315         (simpleTeXOnePar): layout as layout
9316         (TeXEnvironment): layout as layout
9317         (layout): layout as layout
9318         (layout): layout as layout
9319
9320         * lyxtextclass.C (compare_name): new functor to work with
9321         shared_ptr, layout as layout
9322         (Read): layout as layout
9323         (hasLayout): layout as layout
9324         (operator): layout as layout
9325         (delete_layout): layout as layout
9326         (defaultLayout): layout as layout
9327
9328         * lyxlayout_ptr_fwd.h: new file
9329
9330         * lyxlayout.C (Read): layout as layout
9331
9332         * lyx_cb.C (MenuInsertLabel): layout as layout
9333
9334         * bufferlist.C (newFile): layout as layout
9335
9336         * buffer.C (readLyXformat2): layout as layout
9337         (parseSingleLyXformat2Token): layout as layout
9338         (insertStringAsLines): layout as layout
9339         (asciiParagraph): layout as layout
9340         (latexParagraphs): layout as layout
9341         (makeLinuxDocFile): layout as layout
9342         (simpleLinuxDocOnePar): layout as layout
9343         (makeDocBookFile): layout as layout
9344         (simpleDocBookOnePar): layout as layout
9345         (getLists): layout as layout
9346
9347         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9348
9349         * CutAndPaste.C (cutSelection): layout as layout
9350         (pasteSelection): layout as layout
9351         (SwitchLayoutsBetweenClasses): layout as layout
9352
9353         * BufferView_pimpl.C (Dispatch): layout as layout
9354         (smartQuote): layout as layout
9355
9356         * BufferView2.C (unlockInset): layout as layout
9357
9358 2002-06-24  André Pönitz <poenitz@gmx.net>
9359
9360         * lyxfunc.C: fix #487
9361
9362 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9363
9364         * lyxrc.h:
9365         * lyxrc.C:
9366         * lyxfunc.C: remove display_shortcuts, show_banner
9367
9368 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9369
9370         * Buffer_pimpl.C: oops, update on resize
9371
9372 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9373
9374         * buffer.C:
9375         * converter.C:
9376         * exporter.C:
9377         * lyxfunc.C:
9378         * BufferView.h:
9379         * BufferView.C: use repaint()
9380
9381         * BufferView_pimpl.h:
9382         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9383           as it's a clearer description. Remove superfluous
9384           redraws.
9385
9386 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9387
9388         * text.C: fix bug 488. Not ideal, but getting
9389           getWord() to work properly for the insets that
9390           matter is more difficult ...
9391
9392 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9393
9394         * BufferView_pimpl.C:
9395         * LyXAction.C:
9396         * commandtags.h:
9397         * lyxfunc.C: remove the six million index lyxfuncs to just
9398           one, and DTRT (bug 458)
9399
9400 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9401
9402         * BufferView.h:
9403         * BufferView.C:
9404         * BufferView_pimpl.h:
9405         * BufferView_pimpl.C: clean up resize() stuff,
9406           and unnecessary updateScreen()s
9407
9408 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9409
9410         * BufferView.h:
9411         * BufferView.C:
9412         * BufferView_pimpl.h:
9413         * BufferView_pimpl.C:
9414         * lyxfind.h:
9415         * lyxfind.C:
9416         * minibuffer.C: remove focus management of workarea,
9417           not needed. Use screen's greyOut()
9418
9419 2002-06-17  Herbert Voss  <voss@lyx.org>
9420
9421         * converter.C: (convert) do not post a message, when converting
9422         fails, let the calling function decide what to do in this case
9423
9424 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9425
9426         * lyxfunc.C: tidy up a little
9427
9428 2002-06-16    <alstrup@diku.dk>
9429
9430         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9431         Got rid of FORMS_H_LOCATION include. Now we are
9432         GUII.
9433
9434 2002-06-15  LyX Development team  <lyx@rilke>
9435
9436         * buffer.[Ch] (sgmlOpenTag):
9437         (sgmlCloseTag): Added support for avoiding pernicious mixed
9438         content. Return number of lines written.
9439
9440         (makeLinuxDocFile):
9441         (makeDocBookFile): Fixed calls to sgml*Tag.
9442         Simple white space clean.
9443
9444         (simpleDocBookOnePar): Simple white space clean.
9445
9446         * tabular.[Ch] (docBook): Renamed to docbook and got another
9447         argument to related with the pernicious mixed content.
9448
9449         (docbookRow): Fixed calls for docbook inset method.
9450
9451 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9452
9453         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9454         so it's X11 independent.
9455
9456         * kb*.[Ch]: ditto.
9457
9458         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9459
9460 2002-06-15  Lyx Development team  <lyx@electronia>
9461
9462         * intl.h: Renamed getTrans to getTransManager.
9463
9464 2002-06-14  Angus Leeming  <leeming@lyx.org>
9465
9466         * Makefile.am: nuke forgotten stl_string_fwd.h.
9467
9468 2002-06-12  Angus Leeming  <leeming@lyx.org>
9469
9470         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9471
9472 2002-06-13  Angus Leeming  <leeming@lyx.org>
9473
9474         * LaTeX.C:
9475         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9476
9477 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9478
9479         * kbmap.C (getiso): add support for cyrillic and greek
9480
9481 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9482
9483         * BufferView.h:
9484         * BufferView.C:
9485         * BufferView_pimpl.h:
9486         * BufferView_pimpl.C: move bogus scrolling logic
9487           to xforms
9488
9489 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9490
9491         * lyxfunc.C:
9492         * BufferView_pimpl.C: view->resize() change
9493
9494 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9495
9496         * BufferView_pimpl.C: topCursorVisible
9497           prototype change
9498
9499 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9500
9501         * Makefile.am:
9502         * lyx_gui.h:
9503         * lyx_gui.C: move to frontends/
9504
9505         * main.C:
9506         * lyx_main.h:
9507         * lyx_main.C: changes from above
9508
9509 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9510
9511         * intl.C:
9512         * intl.h:
9513         * kbmap.C:
9514         * kbsequence.C:
9515         * lyx_cb.C:
9516         * lyx_main.C: minor tidy
9517
9518 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9519
9520         * BufferView_pimpl.h:
9521         * BufferView_pimpl.C:
9522         * BufferView.h:
9523         * BufferView.C: make painter() const,
9524           remove dead code
9525
9526         * BufferView2.C: use screen() accessor
9527
9528         * lyx_main.h:
9529         * lyx_main.C: some minor cleanup
9530
9531 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9532
9533         * BufferView_pimpl.h:
9534         * BufferView_pimpl.C: remove enter/leaveView,
9535           use workHeight()
9536
9537 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9538
9539         * BufferView.h:
9540         * BufferView.C:
9541         * BufferView2.C:
9542         * BufferView_pimpl.h:
9543         * BufferView_pimpl.C: only construct screen once,
9544           rename
9545
9546         * lyxrc.C: remove pointless comment
9547
9548 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9549
9550         * BufferView.h:
9551         * BufferView.C: remove active() and belowMouse()
9552
9553         * BufferView_pimpl.h:
9554         * BufferView_pimpl.C: use workarea() not workarea_,
9555           and make it use a scoped_ptr instead
9556
9557 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9558
9559         * lyx_gui.C: add debug message on BadWindow
9560
9561 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9562
9563         * sp_spell.C: fdopen is not part of the C++ standard.
9564
9565         * paragraph.C (InsetIterator): use >= instead of ==
9566
9567 2002-06-07  Angus Leeming  <leeming@lyx.org>
9568
9569         Fixes needed to compile with Compaq cxx 6.5.
9570         * BufferView_pimpl.C:
9571         * DepTable.C:
9572         * buffer.C:
9573         * converter.C:
9574         * encoding.C:
9575         * lyx_gui.C:
9576         * lyx_main.C:
9577         * lyxtextclasslist.C:
9578         * minibuffer.C:
9579         * sp_spell.C:
9580         * tabular_funcs.C:
9581         * vc-backend.C:
9582         all c-library variables have been moved into namespace std. Wrap
9583         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9584
9585         * lyxlength.C:
9586         * tabular-old.C:
9587         * tabular.C:
9588         Add a using std::abs declaration.
9589
9590         * kbmap.h (modifier_pair):
9591         * paragraph.h (InsetTable, InsetList):
9592         * lyxfont.h (FontBits):
9593         type definition made public.
9594
9595         * bufferlist.C (emergencyWriteAll): the compiler complains that
9596         there is more than one possible lyx::class_fun template to choose from.
9597         I re-named the void specialisation as lyx::void_class_fun.
9598
9599         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9600
9601         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9602         the compiler is is unable to find tostr in write_attribute.
9603
9604 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9605
9606         * buffer.C (sgmlError): hide #warning
9607
9608 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9609
9610         * xtl/*: get rid of xtl, which is not in use anyway
9611
9612         * LyXAction.C (init):
9613         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9614         were unimplemented xtl experimentation
9615
9616 2002-06-04  André Pönitz <poenitz@gmx.net>
9617
9618         * lyxfunc.C: disable array operation on simple formulae
9619
9620 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9621
9622         * converter.C: constify a bit
9623
9624 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9625
9626         * lyx_gui.C: check xforms version correctly
9627
9628 2002-04-30  Herbert Voss  <voss@lyx.org>
9629
9630         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9631         "keep" option
9632
9633 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9634
9635         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9636           attempt to register it with a VCS)
9637
9638 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9639
9640         * lyx_main.C (init): honor variables LYX_DIR_13x and
9641         LYX_USERDIR_13x
9642
9643 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9644
9645         * buffer.h:
9646         * buffer.C:
9647         * lyx_main.C: fix a crash on bad command line,
9648           and give a useful exit status on error
9649
9650         * lyxfunc.C (doImport): allow -i lyx to work
9651
9652 2002-03-30  André Pönitz <poenitz@gmx.net>
9653
9654         * lyxfunc.C: mathed font changes
9655
9656 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9657
9658         * LaTeX.C:
9659         * importer.h:
9660         * importer.C:
9661         * lyx_sty.h:
9662         * lyx_sty.C:
9663         * lyxlex.C:
9664         * lyxrow.h:
9665         * lyxtext.h:
9666         * paragraph.h:
9667         * paragraph.C:
9668         * texrow.h:
9669         * texrow.C:
9670         * text.C:
9671         * trans_mgr.h: srcdocs, and some minor cleanups
9672
9673 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9674
9675         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9676         call getFont all the time)
9677
9678 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9679
9680         * switch from SigC signals to boost::signals
9681
9682 2002-05-29  André Pönitz <poenitz@gmx.net>
9683
9684         * paragraph_pimpl.C (getChar): don't call size() too often...
9685
9686 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9687
9688         * paragraph_pimpl.C (insertChar): do not try to update tables when
9689         appending (pos == size())
9690
9691         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9692         in order to reduce drastically the number of comparisons needed to
9693         parse a large document
9694
9695 2002-05-29  André Pönitz <poenitz@gmx.net>
9696
9697         * text.C:
9698         * text2.C:
9699         * lyxtextclass.C:
9700         * sp_pspell.h:
9701         * textclasslist.[Ch]:
9702         * sp_ispell.h: whitespace change
9703
9704 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9705
9706         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9707         lyxaction directly now.
9708
9709 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9710
9711         * trans.C:
9712         * lyxfont.C:
9713         * lyxvc.C: remove unused headers
9714
9715 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9716
9717         * Makefile.am:
9718         * buffer.h:
9719         * undostack.h:
9720         * undostack.C:
9721         * undo_funcs.h:
9722         * undo_funcs.C: some cleanups. Use shared_ptr
9723           and a template for the undo stacks.
9724
9725 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9726
9727         * BufferView_pimpl.h:
9728         * BufferView_pimpl.C:
9729         * kbmap.h:
9730         * kbmap.C:
9731         * kbsequence.h:
9732         * kbsequence.C:
9733         * lyxfunc.h:
9734         * lyxfunc.C:
9735         * text2.C: use key_state/mouse_state
9736
9737 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9738
9739         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9740         and LSubstring
9741
9742         * chset.C: change include order
9743         (loadFile): use boost regex and get rid of LRegex and LSubstring
9744
9745         * Makefile.am (BOOST_LIBS): new variable
9746         (lyx_LDADD): use it
9747
9748         * LaTeX.C: change include order.
9749         (scanAuxFile): use boost regex and get rid of LRegex and
9750         LSubstring
9751         (deplog): ditto
9752
9753 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9754
9755         * ColorHandler.h:
9756         * ColorHandler.C:
9757         * FontInfo.h:
9758         * FontInfo.C: moved to frontends/xforms/
9759
9760         * FontLoader.h:
9761         * FontLoader.C: moved into frontends for GUIIzation
9762
9763         * Makefile.am:
9764         * lyx_gui.C:
9765         * lyxfont.C:
9766         * lyxfunc.C: changes from above
9767
9768 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9769
9770         * LColor.C: remove spurious X include
9771
9772         * BufferView_pimpl.C:
9773         * Makefile.am:
9774         * font.h:
9775         * font.C:
9776         * text.C:
9777         * text2.C: move font metrics to frontends/
9778
9779 2002-05-24  Juergen Vigna  <jug@sad.it>
9780
9781         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9782         setting the undo_cursor.
9783
9784         * ParagraphParameters.h: include local includes first.
9785
9786 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9787
9788         * BufferView_pimpl.C:
9789         * BufferView_pimpl.h:
9790         * Makefile.am:
9791         * WorkArea.h:
9792         * WorkArea.C:
9793         * screen.C: move WorkArea into frontends/
9794
9795         * lyxscreen.h:
9796         * screen.C:
9797         * text.C:
9798         * BufferView.C:
9799         * BufferView2.C: move LyXScreen into frontends/
9800
9801         * lyxlookup.h:
9802         * lyxlookup.C:
9803         * lyx_gui.C: move lyxlookup into frontends/xforms/
9804
9805 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9806
9807         * BufferView2.C:
9808         * BufferView_pimpl.C:
9809         * FontLoader.C:
9810         * LyXView.h:
9811         * LyXView.C:
9812         * Makefile.am:
9813         * WorkArea.C:
9814         * XFormsView.h:
9815         * XFormsView.C:
9816         * buffer.C:
9817         * bufferlist.C:
9818         * bufferview_funcs.C:
9819         * converter.C:
9820         * importer.C:
9821         * lyx_cb.C:
9822         * lyx_gui.C:
9823         * lyx_main.C:
9824         * lyx_find.C:
9825         * lyxfunc.C:
9826         * lyxvc.C:
9827         * minibuffer.C:
9828         * text.C:
9829         * text2.C:
9830         * trans.C:
9831         * vc-backend.C: move LyX/XFormsView into frontends/
9832
9833 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9834
9835         * Makefile.am:
9836         * PainterBase.C:
9837         * PainterBase.h:
9838         * Painter.C:
9839         * Painter.h:
9840         * WorkArea.C:
9841         * WorkArea.h:
9842         * screen.C:
9843         * tabular.C:
9844         * text.C:
9845         * text2.C: move Painter to frontends/
9846
9847 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9848
9849         * buffer.C: comment out some some code that depend upon lyx_format
9850         < 220
9851
9852         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9853         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9854
9855         * buffer.h (NO_COMPABILITY): turn off compability
9856
9857         * ColorHandler.C: include scoped_array.hpp
9858
9859         * font.C: Use more specific smart_ptr header.
9860         * Painter.C: ditto
9861         * gettext.C: ditto
9862         * ShareContainer.h: ditto
9863         * lyx_main.h: ditto
9864         * kbmap.h: ditto
9865         * FontInfo.h: ditto
9866         * BufferView_pimpl.h: ditto
9867         * ColorHandler.h: ditto
9868
9869         * kbmap.C (defkey): change call to shared_ptr::reset
9870
9871 2002-05-21  Juergen Vigna  <jug@sad.it>
9872
9873         * buffer.C (insertErtContents): fix to insert ert asis if it is
9874         non empty. Skip it completely if it contains only whitespaces.
9875
9876 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9877
9878         * BufferView_pimpl.C:
9879         * BufferView2.C: clear selection on paste (bug 393)
9880
9881 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9882
9883         * DepTable.C: include ctime
9884
9885 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9886
9887         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9888
9889 2002-05-14  Juergen Vigna  <jug@sad.it>
9890
9891         * text.C (breakParagraph): fixed function to honor the keepempty
9892         layout in the right maner and also to permit the right breaking
9893         algorithm on empty or non empyt keepempty paragraphs.
9894
9895         * paragraph.C (breakParagraph): we have to check also if the par
9896         is really empty (!size()) for isempty otherwise we do the wrong
9897         paragraph break.
9898
9899 2002-05-10  Juergen Vigna  <jug@sad.it>
9900
9901         * buffer.[Ch] : The following are only changes to the ert
9902         compatibility read reading old LaTeX layout and font stuff and
9903         convert it to ERTInsets.
9904
9905         * buffer.h: added isErtInset().
9906
9907         * buffer.C (struct ErtComp): add a fromlayout bool to check
9908         if we're inside a LaTeX layout.
9909         (isErtInset): new helper function.
9910         (insertErtContents): look for other ert insets before this one
9911         and insert the contents there, so that we don't have subsequent
9912         ERT insets with nothing between them. This way we create only one
9913         inset with multiple paragraphs. Also check if we don't insert only
9914         spaces ' ' as they are ignored anyway afterwards in the .tex file
9915         so if we have only spaces we will ignore this latex part in the
9916         new file.
9917         (parseSingleLyXformat2Token \\layout): better compatibility when
9918         reading layout-latex stuff.
9919         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9920         language tag.
9921         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9922         stuff after reading the inset only get the information back from
9923         the stack.
9924
9925 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9926
9927         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9928
9929         * LaTeXFeatures.C (getBabelOptions): New method.
9930
9931 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9932
9933         * BufferView_pimpl.C (Dispatch): work around missing argument for
9934         'layout'
9935
9936 2002-05-08  Juergen Vigna  <jug@sad.it>
9937
9938         * text.C (leftMargin): handle paragraph leftindent.
9939
9940         * paragraph.C (writeFile): write the new \\leftindent tag.
9941         (validate): handle leftindent code.
9942         (TeXEnvironment): handle paragraphleftindent code again.
9943
9944         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9945
9946         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9947         for paragrap_extra indent code and new token \\leftindent.
9948         (latexParagraphs): handle the leftindent as environment.
9949
9950         * ParameterStruct.h: added leftindent support.
9951
9952         * ParagraphParameters.C (leftIndent): added support functions for
9953         the paragraph left indent.
9954
9955         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9956         more appropriate.
9957
9958 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9959
9960         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9961         inside insetERT.
9962
9963         * text.C (computeBidiTables): No bidi in insetERT.
9964
9965         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9966         in RTL documents.
9967
9968 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9969
9970         * version.C.in: pre 5
9971
9972 2002-05-02  José Matos  <jamatos@fep.up.pt>
9973         * buffer.C (makeDocBookFile): white space changes, add newline to
9974         command styles.
9975         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9976
9977         * tabular.C (docBook): fix typo.
9978
9979 2002-05-03  Juergen Vigna  <jug@sad.it>
9980
9981         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9982         change in LyXText as we can not be sure it was not freed.
9983         (drawOneRow): remove unused code.
9984
9985         * text.C (drawInset): redo the calculation of the need_break_row as
9986         it could have a row which was already freed.
9987         (draw): look at the return value of drawInset and return false if
9988         it also returned false.
9989         (paintRowText): look at the return value of draw and return false if
9990         it also returned false.
9991
9992         * lyxtext.h: added bool return type to drawInset() and draw() so that
9993         if we have a change in the row so that the rowbreak has to be redone
9994         we abort drawing as it will be called again.
9995
9996 2002-05-02  Juergen Vigna  <jug@sad.it>
9997
9998         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9999         a change in the maintext also if we're inside an inset.
10000         (Dispatch): set the cursor again after a break line and after the
10001         screen has been updated as it could be we're in a different row.
10002
10003         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10004         to set the cursor behind the pargraph with > size().
10005         (setCursor): check also for the same paragraph when checking where
10006         to put the cursor if we have a NFR inset.
10007
10008         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10009         parts of layout read further up as it still was in the wrong
10010         position.
10011
10012 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10013
10014         * screen.C (drawFromTo): change sine fullRebreak always return
10015         true.
10016
10017         * buffer.C (parseSingleLyXformat2Token): reindent some
10018
10019         * BufferView_pimpl.C (update): change since fullRebreak always
10020         return true.
10021         (Dispatch): git rid of the last hardcoded "Standard"s.
10022
10023 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10024
10025         * text2.[Ch] (fullRebreak): make it return void now that we always
10026         returned true.
10027
10028 2002-04-30  Juergen Vigna  <jug@sad.it>
10029
10030         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10031         ert compatibility check for "latex" layout.
10032
10033 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10034
10035         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10036         minipages: use col% instead of p%, and also use the current font.
10037         (makeLaTeXFile): Fix use babel condition.
10038         (parseSingleLyXformat2Token): Correct font when reading old floats.
10039
10040 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10041
10042         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10043         inserting list of floats.
10044
10045 2002-04-25  Herbert Voss  <voss@lyx.org>
10046
10047         * MenuBackend.C (expand): don't add the graphics extensions to the
10048         export menu
10049
10050 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10051
10052         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10053         non-existing layout, do not complain if it was the default layout
10054         of the original class (bug #342)
10055
10056 2002-04-24  Juergen Vigna  <jug@sad.it>
10057
10058         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10059         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10060
10061 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10062
10063         * buffer.C (getBibkeyList): If using \bibliography, return the
10064         option field with the reference itself. Enables us to provide natbib
10065         support when using \bibliography.
10066
10067 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10068
10069         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10070
10071         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10072         natbib is provided by the LaTeX class.
10073
10074 2002-04-23  Juergen Vigna  <jug@sad.it>
10075
10076         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10077         Wakeup functions.
10078
10079         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10080
10081 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10082
10083         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10084
10085         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10086         ensuremath around textordmasculine, textordfeminine and
10087         textdegree.
10088
10089 2002-04-19  Juergen Vigna  <jug@sad.it>
10090
10091         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10092         reinitializing the buffer otherwise row-dimensions may be wrong.
10093         (update): reset also the selection cursors if they do exits otherwise
10094         their x/y positions may be wrong.
10095
10096         * text2.C (cursorDown): don't enter the inset if we came from a row
10097         above and are one row over the inset.
10098
10099         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10100         really leaving an inset.
10101
10102 2002-04-18  Juergen Vigna  <jug@sad.it>
10103
10104         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10105         of the selected paragraph does not have the selected layout also if
10106         the last one had!
10107
10108         * text2.C (setLayout): fixed bug which did not change last selected
10109         paragraph.
10110
10111         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10112         changed the read and substituted \\end_float with \\end_inset!
10113
10114         * BufferView_pimpl.C (cursorPrevious):
10115         (cursorNext): fixed to make it work with rows heigher than the work
10116         area without moving the cursor only the draw of the row.
10117         (workAreaMotionNotify): fix jumping over high rows.
10118
10119 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10120
10121         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10122         Ressler.
10123
10124 2002-04-16  Juergen Vigna  <jug@sad.it>
10125
10126         * text2.C (setCursor): set also the irow().
10127         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10128         (cursorUp):
10129         (cursorDown): support for locking an inset if the x_fix value goes
10130         inside it. That way I can transverse insets too with cursor up/down.
10131
10132         * lyxrow.h: added irow helper function same as other (i) functions.
10133
10134         * BufferView_pimpl.C (cursorPrevious):
10135         (cursorNext): fixed for insets!
10136
10137 2002-04-15  Juergen Vigna  <jug@sad.it>
10138
10139         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10140         position otherwise it is wrong in some cases.
10141
10142         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10143         inside the inset before the call.
10144
10145 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10146
10147         * buffer.[Ch] (getBibkeyList): make it const.
10148
10149 2002-04-12  Juergen Vigna  <jug@sad.it>
10150
10151         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10152
10153         * text2.C (getCursorX): new helper function
10154         (setCursor): compute also ix_
10155         (setCursorFromCoordinates): set also ix.
10156
10157         * lyxcursor.h: added ix_ and helper functions.
10158
10159         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10160
10161         * buffer.C (insertStringAsLines): dont break paragraph if the this
10162         paragraph is inside an inset which does not permit it!
10163
10164         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10165         also with no chars on this paragraph.
10166         (paintRowText): only paint stuff if it's inside the workarea!
10167
10168         * paragraph.C (breakParagraph): honor keepempty flag and break the
10169         paragraph always below not above.
10170
10171         * BufferView2.C (unlockInset): update the paragraph layout on inset
10172         unlock as we changed paragraph in such a case.
10173
10174         * lyxfind.C (LyXFind): clear the former selection if not found!
10175
10176         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10177         again called in insertChar().
10178
10179         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10180         an inset which uses the whole row!
10181         (rightMargin): ditto.
10182         (insertChar): force a rebreak if we inserted an inset!
10183
10184 2002-03-28  Herbert Voss  <voss@lyx.org>
10185
10186         * lyxlength.[Ch]: add inBP() to get the right PS-point
10187         units (BigPoint). With inPixels we have rounding errors
10188
10189 2002-04-11  Juergen Vigna  <jug@sad.it>
10190
10191         * text2.C (setCursorFromCoordinates): set iy to the right value.
10192         (setCursor): add check if row->previous exists!
10193
10194         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10195         an old float_type as this was the case in the old code!
10196
10197         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10198
10199         * BufferView2.C (showLockedInsetCursor): use iy
10200         (fitLockedInsetCursor): ditto
10201
10202         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10203         locked insets as there we have the right value now.
10204
10205         * lyxcursor.C: added iy_ variable and iy functions to set to the
10206         baseline of cursor-y of the locked inset.
10207
10208         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10209         (setCursor): fixed for insets which need a full row.
10210
10211         * text.C (rowLastPrintable): don't ignore the last space when before
10212         an inset which needs a full row.
10213         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10214         as last character of a row when before a inset which needs a full row.
10215
10216 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10217
10218         * version.C.in: update date
10219
10220         * text2.C (fullRebreak): try to always return true and see what
10221         happens...
10222
10223 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10224
10225         * MenuBackend.C (expand): use Floating::listName
10226
10227         * FloatList.C (FloatList): add listName argument to the built-in
10228         floats
10229
10230         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10231         text associated with the float.
10232
10233 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10234
10235         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10236
10237 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10238
10239         * ShareContainer.h: add a couple of missing typenames.
10240
10241 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10242
10243         * lyxrc.C (getDescription): use _() correctly rather than N_().
10244
10245 2002-03-28  Herbert Voss  <voss@lyx.org>
10246
10247         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10248         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10249
10250 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10251
10252         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10253         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10254
10255 2002-03-29  Juergen Vigna  <jug@sad.it>
10256
10257         * lyxfunc.C (dispatch): add a missing fitCursor call.
10258
10259         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10260         it was scrolled by a cursor move, so return the bool status.
10261
10262         * BufferView.C (fitCursor): return the bool flag also to the outside
10263         world as this is needed.
10264
10265         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10266
10267         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10268         call the edit() as it is not needed (and wrong) IMO.
10269         (workAreaButtonPress): set the screen_first variable before evt.
10270         unlock the inset as this may change screen_first and then we have
10271         a wrong y position for the click!
10272
10273 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10274
10275         * MenuBackend.C (expand): another translation that I missed
10276
10277 2002-03-28  Juergen Vigna  <jug@sad.it>
10278
10279         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10280
10281         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10282
10283 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10284
10285         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10286
10287         * MenuBackend.C (expand): fix export/view/update when there is no
10288         document open.
10289
10290 2002-03-27  Herbert Voss  <voss@lyx.org>
10291
10292         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10293         and text%
10294
10295 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10296
10297         * bufferview_funcs.C (currentState): only show paragraph number
10298         for is DEVEL_VERSION is set.
10299
10300         * lyxfunc.C (dispatch): put warning in INFO channel
10301
10302         * MenuBackend.C (expand): translate the name of floats
10303
10304         * FloatList.C (FloatList): mark the float names for translation
10305
10306         * converter.C (convert): use LibScriptSearch
10307
10308 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10309
10310         * MenuBackend.C (defaults): fix default menu (we might as well get
10311         rid of it...)
10312
10313 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10314
10315         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10316         directory.
10317
10318 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10319
10320         * lyxvc.C: reorder includes.
10321
10322 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10323
10324         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10325           properly
10326
10327 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10328
10329         * CutAndPaste.C: change layouts earlier on paste
10330           to avoid crashing when calling getFont()
10331
10332 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10333
10334         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10335         irritating #error.
10336
10337 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10338
10339         * WorkArea.C: remove 'Pending' debug message.
10340
10341         * most files: ws cleanup
10342
10343         * buffer.[Ch]: ws changes
10344
10345         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10346
10347 2002-03-21  Juergen Vigna  <jug@sad.it>
10348
10349         * tabular.C (SetMultiColumn): collapse also the contents of the
10350         cells and set the last border right. Added a Buffer const * param.
10351
10352 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10353
10354         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10355         linking or not.
10356
10357 2002-03-19  Juergen Vigna  <jug@sad.it>
10358
10359         * text2.C (clearSelection): reset also xsel_cache.
10360
10361         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10362         where it needs to be called (John tells us to do so too :)
10363         (selectionLost): reset sel_cache.
10364
10365         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10366
10367 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10368
10369         * text2.C (setCursorIntern): put debuging code in INSETS channel
10370
10371 2002-03-19  André Pönitz <poenitz@gmx.net>
10372
10373         * lyxfunc.C: tiny whitespace change
10374
10375 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10376
10377         * ToolbarDefaults.C (init):
10378         * LyXAction.C (init):
10379         * commandtags.h:
10380         * BufferView_pimpl.C (Dispatch):
10381         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10382
10383 2002-03-19  Allan Rae  <rae@lyx.org>
10384
10385         * exporter.C (Export): removeAutoInsets before doing anything else.
10386         While I've just introduced a dependency on BufferView this really is
10387         the best place to clean the buffer otherwise you need to cleanup in
10388         a dozen places before calling export or cleanup in a dozen functions
10389         that export calls.
10390
10391         * converter.C (runLaTeX):
10392         (scanLog): Better handling of removeAutoInsets and screen updates.
10393
10394         * lyxfunc.C (dispatch): small whitespace changes
10395
10396 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10397
10398         * WorkArea.C (C_WorkAreaEvent): return a value.
10399         (event_cb): return 1 if we handled the event, 0 otherwise.
10400
10401         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10402
10403 2002-03-18  Juergen Vigna  <jug@sad.it>
10404
10405         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10406         (GetAdditionalWidth): ditto.
10407         (RightLine): ditto.
10408         (LeftLine): ditto.
10409
10410         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10411         inset if we're there actually (probably not used right now but this
10412         is the direction to go for unifying code).
10413         (paste): disable code to clear the selection.
10414
10415         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10416         inside an InsetText and move the check further up as it is in the
10417         wrong place.
10418
10419         * text2.C (pasteSelection): set a selection over the pasted text.
10420
10421 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10422
10423         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10424         and libgraphics to build on Cygwin.
10425
10426 2002-03-15  Juergen Vigna  <jug@sad.it>
10427
10428         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10429         inserting an Inset into the paragraph. I know this is not the best
10430         fix but we already use current_view in CutAndPaste so we will remove
10431         all of it's using at the same time.
10432
10433         * buffer.C (sgmlError): deactivated function till it is rewritten in
10434         the right mode, now it can create problems.
10435
10436         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10437         before accessing it.
10438
10439 2002-03-14  Juergen Vigna  <jug@sad.it>
10440
10441         * undo_funcs.C (textHandleUndo): do the right thing when updating
10442         the inset after the undo/redo.
10443
10444         * text2.C (setCursor): just some testcode for #44 not ready yet.
10445
10446         * undo_funcs.C (textHandleUndo): set the next() and previous()
10447         pointers of the paragraph to 0 before deleting otherwise we have
10448         problems with the Paragraph::[destructor].
10449
10450         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10451         on a paragraph insertion.
10452
10453 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10454
10455         * buffer.C (asciiParagraph): use += operator for char append to
10456         string.
10457
10458         * paragraph.C (getFontSettings): compare >= not just >
10459         (highestFontInRange): ditto
10460         (setFont): ditto
10461
10462 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10463
10464         * paragraph.C: change several algorithm to be more appripriate for
10465         the problem domain. This is lookip in FontList and in the InsetList.
10466
10467 2002-03-13  André Pönitz <poenitz@gmx.net>
10468
10469         * commandtags.h:
10470         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10471
10472 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10473
10474         * commandtags.h:
10475         * LyXAction.C:
10476         * lyxfunc.C:
10477         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10478
10479 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10480
10481         * Painter.C (display): anon helper function, adjust code for this
10482         change.
10483         (pixmap): remove function.
10484
10485         * Painter.h: remove private display variable.
10486
10487         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10488
10489 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10490
10491         * WorkArea.[Ch]: remove figinset_canvas cruft.
10492
10493 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10494
10495         * lyxtextclass.C (operator): add one item cache optimization.
10496
10497         * bufferlist.h: doxy changes
10498
10499         * bufferlist.C: ws changes
10500
10501         * DepTable.[Ch] (ext_exist): place const in the right spot.
10502
10503         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10504         call resizeInsets.
10505         (workAreaExpose): call resizeInsets when the with BufferView changes.
10506         (Dispatch): adjust for protectedBlank removal
10507         (specialChar): call updateInset if the insert went ok.
10508
10509         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10510         specialChar instead.
10511
10512         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10513
10514         * BufferView.h: doxy change
10515
10516         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10517
10518         * lyxtextclass.C (operator[]): remove non-const version
10519         (defaultLayout): remove non-const version
10520
10521 2002-03-12  Juergen Vigna  <jug@sad.it>
10522
10523         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10524         did resize the LyXText too.
10525
10526         * buffer.C (readLyXformat2): set layout information on newly allocated
10527         paragraphs.
10528
10529         * tabular.C (OldFormatRead): set layout information on the paragraph.
10530
10531 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10532
10533         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10534
10535 2002-03-11  Juergen Vigna  <jug@sad.it>
10536
10537         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10538         plainly wrong.
10539         (resizeCurrentBuffer): force also the insets to resize themselfes.
10540         (moveCursorUpdate): fixed up for InsetText.
10541
10542 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10543
10544         * commandtags.h:
10545         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10546         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10547         value of Dialogs::tooltipsEnabled().
10548         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10549
10550 2002-03-08  Juergen Vigna  <jug@sad.it>
10551
10552         * BufferView_pimpl.C (updateInset): update inset inside inset also
10553         if it isn't inside theLockingInset().
10554
10555 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10556
10557         * buffer.C (asciiParagraph): redo some of the word and line length
10558         handling.
10559         (getLists): look for Caption instead of caption.
10560
10561 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10562
10563         * buffer.C (Buffer): initialize niceFile to true
10564         (makeLaTeXFile):
10565         (makeLinuxDocFile):
10566         (makeDocBookFile): make sure niceFile is true on exit
10567
10568 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10569
10570         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10571
10572 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10573
10574         * LyXSendto.C: remove.
10575         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10576         * lyx_gui.C: remove now-redundant comment.
10577         * ColorHandler.h: remove forward declaration of class WorkArea.
10578         * lyxfunc.C: remove #include "WorkArea.h".
10579
10580 2002-03-07  Juergen Vigna  <jug@sad.it>
10581
10582         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10583         got moved away with the DEPM and also set the inset_owner always
10584         right which before could have been omitted.
10585
10586 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10587
10588         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10589         wanted layout is not found.
10590
10591 2002-03-07  Juergen Vigna  <jug@sad.it>
10592
10593         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10594
10595 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10596
10597         * paragraph.C (breakParagraph): use default layout not layout of
10598         prev paragraph.
10599         (Paragraph): clear ParagraphParameters.
10600
10601 2002-03-06  Juergen Vigna  <jug@sad.it>
10602
10603         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10604         otherwise it would not be a valid lenght. Fixed a special case in
10605         the minipage compatibility read where we end the document with a
10606         minipage.
10607
10608         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10609         was set as it could be 0 for InsetTexts first entry.
10610
10611 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10612
10613         * paragraph.C (writeFile): if layout is empty write out
10614         defaultLayoutName().
10615
10616         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10617         file without named layout we set layout to defaultLayoutName().
10618
10619 2002-03-06  Juergen Vigna  <jug@sad.it>
10620
10621         * CutAndPaste.C (copySelection): set layout for new paragraph.
10622
10623         * text.C (prepareToPrint): leave ERT inset left aligned
10624         (leftMargin): don't indent paragraphs inside ERT insets
10625
10626 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10627
10628         * paragraph.C (breakParagraph): dont call clear do the work manually
10629
10630         * paragraph.[Ch] (clear): remove function
10631
10632 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10633
10634         * paragraph.C (Paragraph): dont call clear, the work has already
10635         been done.
10636
10637         * lyxtextclass.C (operator): assert if n is empty
10638
10639         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10640         work manually instead.
10641
10642 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10643
10644         * BufferView_pimpl.C: protect selectionLost against text == 0
10645
10646 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10647
10648         * text.C (breakParagraph): fix a setting layout to '0' problem.
10649
10650 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10651
10652         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10653         final location of file, for the included files, and graphics.
10654
10655 2002-03-05  Juergen Vigna  <jug@sad.it>
10656
10657         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10658
10659 2002-03-04  Juergen Vigna  <jug@sad.it>
10660
10661         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10662
10663         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10664         last column of multicolumn cells.
10665         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10666
10667 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10668
10669         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10670         file if it doesn't go to a temporary file.
10671
10672         * buffer.C (sgmlOpenTag):
10673         (sgmlCloseTag):  remove extra newline insertion.
10674
10675 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10676
10677         * text.C (getRowNearY): comment out debug msg
10678
10679 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10680
10681         * text2.C: first -> first_y
10682
10683         * text.C (getRowNearY): add some attemts at a possible
10684         optimization, not working.
10685
10686         * tabular.[Ch]: add BufferParams to several function so that newly
10687         created paragraph can be initialized to he default layotu for the
10688         buffers textclass.
10689
10690         * tabular-old.C (ReadOld): add buf->params to call of Init
10691
10692         * screen.C: rename text->first to text->first_y
10693
10694         * paragraph.C (breakParagraph): always set layout in the broken
10695         paragraph
10696
10697         * lyxtextclass.C (Read): remove lowercase
10698         (hasLayout): ditto
10699         (operator): ditto
10700         (delete_layout): ditto
10701
10702         * lyxtext.h: rename first -> first_y
10703
10704         * lyxlayout.C (Read): remove lowercase
10705         (name): ditto
10706         (setName): ditto
10707         (obsoleted_by): ditto
10708
10709         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10710
10711         * buffer.C (insertErtContents): add params are to InsetERT
10712         (parseSingleLyXformat2Token): add code to check if a paragraphs
10713         layout really exist.
10714         (parseSingleLyXformat2Token): add params to several inset
10715         constructors
10716         (asciiParagraph): remove lowercase, do the layout comparisons with
10717         no_case
10718
10719         * BufferView_pimpl.C (cursorNext): first -> first_y
10720         (resizeCurrentBuffer): first -> first_y
10721         (updateScrollbar): first -> first_y
10722         (scrollCB): first -> first_y
10723         (workAreaMotionNotify): first -> first_y
10724         (workAreaButtonPress): first -> first_y
10725         (checkInsetHit): first -> first_y
10726         (cursorPrevious): first -> first_y
10727         (cursorNext): first -> first_y
10728         (Dispatch): add buffer_->params to severl inset contructors
10729
10730 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10731
10732         * lyxlayout.C (Read): remove some debug info that I forgot.
10733
10734         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10735         clean up the code slightly.
10736         (makeLinuxDocFile): ditto
10737         (makeDocBookFile): ditto
10738
10739         * text2.C: layout as string
10740
10741         * text.C: layout as string
10742
10743         * paragraph_pimpl.C: layout as string
10744
10745         * paragraph.[Ch]: layout as string
10746
10747         * lyxtextclasslist.[Ch]: layout as string
10748
10749         * lyxtextclass.[Ch]: layout as string
10750
10751         * lyxtext.h: layout as string
10752
10753         * lyxlayout.[Ch]: layout as string
10754
10755         * lyx_cb.C: layout as string
10756
10757         * bufferview_funcs.C: layout as string
10758
10759         * bufferparams.C: layout as string
10760
10761         * buffer.C: layout as string
10762
10763         * LyXView.[Ch]: layout as string
10764
10765         * LaTeXFeatures.[Ch]: layout as string
10766
10767         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10768
10769         * BufferView_pimpl.C: change current_layout to string, remove
10770         lyx::layout_type.
10771         (Dispatch):
10772         (smartQuote):
10773         (insertInset):
10774         (workAreaButtonRelease): layout as string
10775
10776         * BufferView2.C (unlockInset): adjust
10777
10778         * vspace.C (asLatexCommand): use an explict temp variable.
10779
10780 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10781
10782         * Makefile.am: use FRONTEND_*
10783
10784 2002-03-01  Juergen Vigna  <jug@sad.it>
10785
10786         * tabular.C (SetWidthOfMulticolCell): changed to something better
10787         I hope but still work in progress.
10788         (recalculateMulticolumnsOfColumn): renamed function from
10789         recalculateMulticolCells as it is more appropriate now.
10790         (SetWidthOfCell): calculate multicols better.
10791
10792 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10793
10794         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10795
10796         * lyxfunc.C (processKeySym): print sequence also if it is
10797         `deleted' (complete)
10798
10799         * kbsequence.C (print): print sequence even if it is deleted
10800         (complete would be a better word, actually).
10801
10802         * lyxfunc.C (dispatch): print complete options after a prefix key
10803
10804         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10805
10806 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10807
10808         * text2.C (setCharFont): eliminate setCharFont code duplication.
10809
10810 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10811
10812         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10813         LFUN_TABULAR_FEATURE (bug #177)
10814
10815 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10816
10817         * Makefile.am: remove figure.h
10818
10819 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10820
10821         * Bufferview_pimpl.C:
10822         * CutAndPasteC:
10823         * LaTeX.C:
10824         * LyXSendto.C:
10825         * buffer.C:
10826         * bufferlist.C:
10827         * converter.C:
10828         * language.C:
10829         * lyxfunc.C:
10830         * lyxvc.C:
10831         * paragraph.C:
10832         * text.C:
10833         * text2.C: remove #include "lyx_gui_misc.h".
10834
10835         * LaTeX.C: added #include <cstdio>
10836
10837 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10838
10839         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10840         that the paragraph following this one can have.
10841
10842         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10843
10844         * vspace.C (asLatexCommand): fix bogus gcc warning
10845
10846         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10847
10848 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10849
10850         * text2.C (setLayout): get rid of redundant code
10851
10852 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10853
10854         * text2.C (incDepth): make sure depth cannot be increased beyond
10855         reasonable values.
10856
10857 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10858
10859         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10860         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10861
10862         * PainterBase.h (image):
10863         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10864         a LyXImage const *.
10865
10866 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10867
10868         * BufferView.C:
10869         * BufferView.h:
10870         * BufferView_pimpl.C:
10871         * BufferView_pimpl.h:
10872         * LaTeXFeatures.C:
10873         * LyXAction.C:
10874         * LyXView.C:
10875         * Makefile.am:
10876         * UpdateList.h:
10877         * UpdateList.C:
10878         * buffer.C:
10879         * figure.h:
10880         * figureForm.C:
10881         * figureForm.h:
10882         * figure_form.C:
10883         * figure_form.h:
10884         * lyx_cb.C:
10885         * lyx_gui.C:
10886         * lyx_gui_misc.C:
10887         * lyxfunc.C:
10888         * sp_base.h:
10889         * sp_ispell.h:
10890         * sp_pspell.h:
10891         * sp_spell.C: remove fig inset, and the crap house of
10892           cards that follows it
10893
10894 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10895
10896         * Makefile.am:
10897         * lyxserver.C:
10898         * os2_defines.h:
10899         * os2_errortable.h:
10900         * nt_defines.h: move .h into support/
10901
10902         * vms_defines.h: remove
10903
10904         * WorkArea.C: add space in debug output
10905
10906         * text2.C:
10907         * paragraph.C:
10908         * buffer.C: add WITH_WARNINGS
10909
10910         * vc-backend.h:
10911         * vc-backend.C:
10912         * bufferlist.C: s/retrive/retrieve/, add docs
10913
10914         * vspace.h:
10915         * vspace.C:
10916         * kbmap.h:
10917         * lyxlength.h:
10918         * lyxgluelength.h:
10919         * length_common.h:
10920         * chset.h:
10921         * chset.C: add docs
10922
10923         * lyxgui.C: add ID to X error handler
10924
10925         * lyxtestclass.c: fix typo
10926
10927 2002-02-26  Juergen Vigna  <jug@sad.it>
10928
10929         * tabular_funcs.C (write_attribute): changed so that some default
10930         attributes are not written at all.
10931         (getTokenValue): set default values before trying to read the
10932         value so we have the return value always set as default if we don't
10933         find the token we search for.
10934
10935         * tabular.C (Write): write bools as bools not as strings!
10936
10937 2002-02-22  Juergen Vigna  <jug@sad.it>
10938
10939         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10940         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10941
10942         * text.C (leftMargin): don't add an indent for paragraphs inside
10943         tabular cells (fix #208).
10944
10945 2002-02-21  José Matos  <jamatos@fep.up.pt>
10946
10947         * tabular.C (docBook): fixed support for long tables.
10948
10949 2002-02-20  Juergen Vigna  <jug@sad.it>
10950
10951         * text2.C (getFont): get the drawing font of the Inset if this
10952         paragraph is inside an inset (only important for InsetERT for now).
10953
10954         * buffer.C (insertErtContents): use new lanugage params in ERT
10955         constructor.
10956
10957         * CutAndPaste.C: commenting out seemingly uneeded code.
10958
10959 2002-02-19  Allan Rae  <rae@lyx.org>
10960
10961         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10962         Iterators might be simple to use but they also get invalidated.
10963         (removeAutoInsets): renamed saved cursor tracking variables and added
10964         some comments to clarify what everything does.
10965
10966 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10967
10968         * Chktex.C:
10969         * LaTeX.C:
10970         * LyXSendto.C:
10971         * converter.C:
10972         * lyx_cb.C:
10973         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10974         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10975
10976         * lyxfunc.C:
10977         * vc-backend.h: remove #include "support/syscall.h"
10978
10979         * LaTeX.C:
10980         * LyXSendto.C:
10981         * converter.C: rearrange #includes in Lars' approved fashion.
10982
10983         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10984         forward declare class Timeout in the header file.
10985
10986         * XFormsView.C: changes due to the above.
10987
10988         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10989         similar to LyXView.
10990
10991         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10992         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10993
10994 2002-02-18  José Matos  <jamatos@fep.up.pt>
10995
10996         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10997         insets contents.
10998
10999 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11000
11001         * a lot of small ws changes
11002         * add a lot of using std::XXX
11003         * use std construcs some places where approp.
11004         * use some exisint stuff from lyxfunctional where approp.
11005         * Make file changes to use partial linking (lets test this now...)
11006
11007 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11008
11009         * Chktex.C:
11010         * buffer.C:
11011         remove #include "support/syscontr.h" as it's redundant. Always has been.
11012
11013         * Chktex.C:
11014         * LaTeX.C:
11015         * LyXSendto.C:
11016         * converter.C:
11017         * lyx_cb.C:
11018         * vc-backend.C:
11019         change Systemcalls::System to Systemcalls::Wait and
11020         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11021         No change of functionality, just reflects the stripped down Systemcalls
11022         class.
11023
11024 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11025
11026         * debug.[Ch]: add a GRAPHICS type to the enum.
11027
11028 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11029
11030         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11031
11032         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11033         there is an inset.
11034
11035 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11036
11037         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11038         match the changes below.
11039
11040         * text2.C (toggleInset): if there is not editable inset at cursor
11041         position, try to see if cursor is _inside_ a collapsable inset
11042         and close it.
11043
11044 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11045
11046         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11047         document menu has a nice checkbox
11048
11049 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11050
11051         * lyxlength.C (asLatexString): change PW to output as percent of
11052         \textwidth.
11053
11054         * lengthcommon.C: change '%' to 't%'
11055
11056         * lyxfunc.C (dispatch): a few comments from Martin
11057
11058 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11059
11060         * WorkArea.h:
11061         * WorkArea.C:
11062         * BufferView_pimpl.h:
11063         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11064           the X selection.
11065
11066 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11067
11068         * vspace.C (inPixels): fix compiler warning
11069
11070 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11071
11072         * lyxfunc.C (getStatus): fix status message for disabled commands.
11073
11074 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11075
11076         * BufferView_pimpl.C: fix crash on close buffer
11077         during selection (#227)
11078
11079 2002-01-27  Herbert Voss  <voss@lyx.org>
11080
11081         * buffer.C: link old Figure to new graphic inset
11082
11083 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11084
11085         * FontLoader.C (getFontinfo): Change the latex font names in order
11086         to match the names of type1inst.
11087
11088 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11089
11090         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11091
11092         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11093         (extchanged): ditto
11094         (ext_exist): ditto
11095         (remove_files_with_extension): ditto
11096         (remove_file): ditto
11097         (write): ditto
11098
11099         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11100         document is smaller than the work area height. Do not initialize
11101         static variables to 0.
11102
11103 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11104
11105         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11106
11107         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11108         LFUN_LAYOUT_PARAGRAPHS.
11109
11110         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11111         tabular. It is possible to provide a possible cell, which will
11112         typically be the actcell from the corresponding insettabular
11113
11114         * lyxfunc.C (getStatus): small cleanup; disable
11115         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11116         true
11117
11118 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11119
11120         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11121
11122         * paragraph.C (startTeXParParams):
11123         (endTeXParParams): new methods. The LaTeX code to
11124         start/end paragraph formatting
11125         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11126         empty (fixes bug #200)
11127
11128         * vspace.C (inPixels): adapt to the change below
11129         (inPixels): [later] more cleanups (remove unused variables)
11130
11131         * lyxlength.C (inPixels): change to use a width and a height as
11132         parameter.
11133
11134 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11135
11136         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11137         Replaced with \paperwidth
11138
11139         * DepTable.C (insert): add std:: qualifier
11140
11141 2002-01-18  Allan Rae  <rae@lyx.org>
11142
11143         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11144         updated also?
11145
11146         * text.C (drawInset): Turned out I didn't know enough about how
11147         rebreaking worked.  This fixes most of the redraw problems.  I see
11148         an occasional cursor trail when a line is broken now and the cursor
11149         placement can seem out by a few pixels also after a rebreak.
11150
11151 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11152
11153         * buffer.C (parseSingleLyXformat2Token): update because minipage
11154         width is now a LyXLength
11155
11156         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11157
11158         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11159         math insets
11160
11161 2002-01-17  Juergen Vigna  <jug@sad.it>
11162
11163         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11164
11165         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11166         is set correctly and the inset is updated correctly.
11167
11168 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11169
11170         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11171         the beginning of the loop.
11172
11173 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11174
11175         * lyxrc.C: improve help for use_scalable_fonts
11176
11177 2002-01-17  Allan Rae  <rae@lyx.org>
11178
11179         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11180
11181 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11182
11183         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11184         make sure to set their inset_owner to the right value (bug #171)
11185
11186 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11187
11188         * DepTable.h
11189         * DepTable.C: Implement mtime checking to reduce time spent doing
11190         CRCs.
11191
11192 2002-01-16  Juergen Vigna  <jug@sad.it>
11193
11194         * tabular.C (GetAdditionalHeight): one of error fixed.
11195
11196         * lyxrc.C (output): small fix in writing use_pspell.
11197
11198 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11199
11200         * sp_base.h: #include LString.h
11201
11202 2002-01-16  Allan Rae  <rae@lyx.org>
11203
11204         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11205         Can someone check this please?
11206
11207         * text.C (drawInset): It was possible that p.row would be removed by
11208         breakAgainOneRow upsetting a few other settings.  There may be another
11209         small tweak possible by setting need_break_row = 0 when p.row has been
11210         removed but I don't know enough about the logic here.
11211
11212 2002-01-15  Allan Rae  <rae@lyx.org>
11213
11214         * text.C (insertChar): removed conditional truism.
11215
11216         * BufferView2.C (removeAutoInsets): More tweaks.
11217         cur_par_prev could be a stray pointer.  Check for trailing empty line
11218         in case last line was cur_par and only had an error inset on it.
11219
11220 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11221
11222         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11223         absolute
11224
11225         * vc-backend.C (most methods):
11226         * exporter.C (Export):
11227         * converter.C (convert):
11228         (runLaTeX):
11229         * LyXSendto.C (SendtoApplyCB):
11230         * lyxfunc.C (dispatch):
11231         (menuNew):
11232         (open):
11233         (doImport):
11234         * lyx_cb.C (AutoSave):
11235         (InsertAsciiFile):
11236         * BufferView_pimpl.C (MenuInsertLyXFile):
11237         * buffer.C (runChktex): use Buffer::filePath().
11238
11239         * buffer.h: rename filename to filename_; rename filepath to
11240         filepath_ and make it private
11241         (filePath): new method
11242
11243         * buffer.C (writeFile): use fileName()
11244         (getLatexName):
11245
11246         * lyx_main.C (init): fix starting  of LyX when the binary is a
11247         link from so,ewhere else.
11248
11249         * minibuffer.C: include <cctype> for isprint
11250
11251 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11252
11253         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11254         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11255         name clash with InsetCollapsable's width function.
11256
11257 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11258
11259         * lastfiles.C: include <iterator>
11260
11261 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11262
11263         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11264         std::count.
11265
11266         * buffer.C (makeLaTeXFile): ditto.
11267         Also make loop operation more transparent.
11268
11269 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11270
11271         * ToolbarDefaults.C: remove trailing comma closing namespace.
11272
11273         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11274
11275         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11276         as in WorkArea.
11277
11278         * trans.C (Load): comment out unused variable, allowed.
11279
11280 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11281
11282         * minibuffer.[Ch] (append_char): new method to recieve input from the
11283         drop-down completion browser. If a key was pressed, then recieve this
11284         char and append it to the existing string.
11285         (peek_event): modify the positioning data passed to the completion
11286         browser so that it can be placed above the minibuffer rather than below.
11287 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11288
11289         * LyXAction.C (init): alloe error-next for readonly documents.
11290
11291         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11292         count.
11293
11294 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11295
11296         * bufferlist.C (readFile): create the buffer _after_ checking that
11297         the file exists.
11298
11299         * lyxfunc.C (verboseDispatch): fix handling of arguments
11300
11301         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11302
11303         * lyxrc.C: use string::erase() instead of initializing to "".
11304
11305
11306 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11307
11308         * BufferView_pimpl.h:
11309         * BufferView_pimpl.C:
11310         * WorkArea.h:
11311         * WorkArea.C:
11312         * text2.C: tell X when we have made a selection for copying
11313
11314 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11315
11316         * BufferView_pimpl.C (MenuInsertLyXFile):
11317         * lyxfunc.C (menuNew):
11318         (open):
11319         (doImport): add shortcuts to directory buttons
11320
11321         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11322         open a float)
11323
11324         * lyxfunc.C (setStatusMessage):
11325         (getStatusMessage): new methods
11326         (getStatus):use setStatusMessage instead of setErrorMessage
11327         (dispatch): when function is disabled, set error message here
11328         [instead of in getStatus previously]
11329
11330         * BufferView_pimpl.C (workAreaButtonRelease): update
11331         toolbar/menubar here too.
11332
11333 2002-01-13  Allan Rae  <rae@lyx.org>
11334
11335         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11336         Now seems indestructible.  Remaining task is to audit all other
11337         code affected by deleteEmptyParagraphMechanism.  One small quirk
11338         left is that an empty document with an error in the preamble can
11339         be made to report an error but no error box appears.  I don't know
11340         where it goes.
11341         (removeAutoInsets): Improved comments.
11342
11343 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11344
11345         * Thesaurus.h:
11346         * Thesaurus.C: update for Aiksaurus 0.14
11347
11348 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11349
11350         * text2.C (firstParagraph): removed member function, all uses
11351         replaces with ownerParagraph
11352         (redoParagraphs): here
11353         (updateInset): here
11354         (toggleAppendix): here
11355         * BufferView2.C (insertErrors): here
11356         (setCursorFromRow): here
11357
11358 2002-01-13  Allan Rae  <rae@lyx.org>
11359
11360         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11361         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11362         There is still a way to segfault this although you may have to do this
11363         multiple times: Have an InsetERT with an unknown command in it.
11364         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11365         <down-arrow>, <Enter> again, View->DVI, BANG!
11366
11367         * text2.C (setCursor):
11368         (deleteEmptyParagraphMechanism):
11369         * lyxtext.h (setCursor):
11370         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11371         Making use of the return value may help fix other bugs.
11372
11373 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11374
11375         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11376
11377         * LyXView.C (updateMenubar): call MenuBar::update here
11378         (updateToolbar): but not here
11379         (showState): do not update toolbar/menubar
11380
11381         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11382         should need to care about that.
11383
11384         * lyxfunc.C (verboseDispatch): simplify a bit
11385         (getStatus): have a version which takes a pseudoaction, and
11386         another which requires a (kb_action,string).
11387
11388         * LyXAction.C (retrieveActionArg): make it work also when action
11389         is not a pseudo-action.
11390         (getActionName): simplify a bit
11391         (helpText):
11392
11393 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11394
11395         * lyxfunc.C (verboseDispatch): new families of methods with
11396         several ways to specify a command and a bool to indicate whether
11397         the command name and shortcut should be displayed in minibuffer
11398         (eventually, we could extend that to a finer bitmask like
11399         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11400         (dispatch): the pristine dispatch command which just, well,
11401         dispatchs! Note it still sets its result to minibuffer; I'm not
11402         sure we want that.
11403
11404         * lyxfunc.h: remove setHintMessage
11405
11406         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11407
11408 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11409
11410         * BufferView_pimpl.C (specialChar): delete new inset if we have
11411         not been able to insert it.
11412
11413         * kbmap.C: revert to using int instead of kb_action, since all we
11414         are dealing with is pseudo-actions.
11415
11416         * LyXAction.C (searchActionArg): change to return int instead of
11417         kb_action, since the result is a pseudoaction.
11418
11419 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11420
11421         * buffer.C (insertErtContents): Fix (partially) the font bug.
11422
11423 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11424
11425         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11426         as the other one is broken on my machine!
11427
11428 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11429
11430         * commandtags.h:
11431         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11432
11433 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11434
11435         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11436         reflect their actual use. Provide compatibility code for older lyxrc
11437         files.
11438
11439         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11440         FL_NORMAL_STYLE.
11441         change names of popup font variables in line with the changes to lyxrc.C
11442
11443 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11444
11445         * buffer.C (asciiParagraph): avoid outputing a word twice after
11446         an inset.
11447
11448         * lyxrc.C (getDescription): document that document_path and
11449         template_path can be empty.
11450
11451 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11452
11453         * LaTeXFeatures.C (getMacros):
11454         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11455
11456         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11457
11458         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11459         getPackages.
11460         (getPackages): rename feature "floats" to "float". Use an array to
11461         iterate over 'simple' features (i.e. just a \usepackage). Add
11462         handling of "amsmath" (renamed from "amsstyle").
11463
11464 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11465
11466         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11467         features list.
11468
11469 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11470
11471         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11472         FuncStaus::FuncStatus & FuncStaus::some_method().
11473
11474 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11475
11476         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11477         of the func_satus stuff. Edited and massaged in various ways by
11478         JMarc.
11479
11480         * lyxfunc.C (getStatus): use FuncStatus
11481
11482 2002-01-08  Juergen Vigna  <jug@sad.it>
11483
11484         * text.C (nextBreakPoint): use function Inset::isChar().
11485
11486         * paragraph.C (TeXOnePar): use function
11487         Inset::forceDefaultParagraphs.
11488
11489         * buffer.C (latexParagraphs): use function
11490         Inset::forceDefaultParagraphs.
11491
11492 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11493
11494         * lyx_gui.C (init): set the style of the menu popups to
11495         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11496
11497 2002-01-07  Juergen Vigna  <jug@sad.it>
11498
11499         * text.C (setHeightOfRow): small fix
11500         (prepareToPrint): don't look at alignment if we don't have the place
11501         for doing it.
11502
11503 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11504
11505         * box.C: New file. Move the Box methods and functions out of box.h,
11506         following Lars' suggestion.
11507
11508 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11509
11510         * box.h: #include "support/LOstream.h", needed for inlined function.
11511
11512         * lyxtextclass.C:
11513         * lyxtextclasslist.C: added some using std declarations.
11514
11515 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11516
11517         * box.h: make signed dimensions to allow insets wider than
11518           the screen (bug #162)
11519
11520         * BufferView_pimpl.C: add some insetHit debug
11521
11522 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11523
11524         * vc-backend.C: add FIXME
11525
11526 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11527
11528         * lyxfunc.C (getStatus): enable code for showing math font status
11529         in toolbar/menu.
11530
11531 2002-01-07  Juergen Vigna  <jug@sad.it>
11532
11533         * text.C (nextBreakPoint): removed debug output not needed anymore.
11534
11535 2002-01-06  Juergen Vigna  <jug@sad.it>
11536
11537         * text.C (nextBreakPoint): fixed up this function we had this bug
11538         since ever but now hopefully we break row better.
11539         (insertChar): we have to check if an inset is the next char as it
11540         could now happen that a large inset is causing a break.
11541
11542 2002-01-05  Juergen Vigna  <jug@sad.it>
11543
11544         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11545         if it doesn't like to be drawed.
11546
11547 2002-01-04  Juergen Vigna  <jug@sad.it>
11548
11549         * BufferView2.C (lockInset): forgot to set a cursor.
11550
11551         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11552
11553 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11554
11555         * FormMathsPanel.C:
11556         * FormMathsPanel.h
11557         * MathsSymbols.C:
11558         * form_maths_panel.C:
11559         * form_maths_panel.h:
11560         * form_maths_panel.fd: implemented sub- and super- buttons in math
11561         panel.
11562
11563         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11564         (or ^ space) to be used as in TeX (req'd by André).
11565
11566         * lyxfunc.C: Allow ^ and _ again to be used both as
11567         super/subscript (mathed) and as themselves (in text).
11568
11569 2002-01-03  Allan Rae  <rae@lyx.org>
11570
11571         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11572         "LyX" or the filename of the current buffer if it has one.  This is a
11573         modified form of John Levon's patch.
11574
11575         * XFormsView.C (setWindowTitle): also set icon title.
11576
11577         * LyXView.h (setWindowTitle): signature changed.
11578         * XFormsView.h (setWindowTitle): ditto.
11579
11580 2002-01-02  Juergen Vigna  <jug@sad.it>
11581
11582         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11583
11584 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11585
11586         * screen.C (topCursorVisible): introduce a temp var for
11587         text->cursor.row(), handle the case where this row is null. (kindo
11588         hachish)
11589
11590         * text2.C (setCursor): add a couple of asserts.
11591
11592         * paragraph.h (inset_iterator): add -> operator
11593
11594         * paragraph.[Ch] (autoDeleteInsets): remove member function
11595
11596         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11597         cursor pos correctly and handle inset deletion by itself.
11598         (insertErrors): move iterator declaration out of for expression
11599
11600         * lyxtextclass.C: add <algorithm>
11601
11602         * Makefile.am: added the new files to sources, removed layout.C
11603
11604         * layout.C: removed file
11605
11606         * layout.h: remove LYX_DUMMY_LAYOUT
11607
11608         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11609         layout.
11610
11611         * lyxlayout.[Ch]:
11612         * lyxtextclass.[Ch]:
11613         * lyxtextclasslist.[Ch]: new files
11614
11615         * include order changes to a lot of files, also changes because of
11616         the six new files.
11617
11618 2001-12-27  Juergen Vigna  <jug@sad.it>
11619
11620         * buffer.C (asciiParagraph): more fixes.
11621
11622         * tabular.C (ascii): make ascii export support export of only the
11623         data separated by a column-delimiter.
11624         (ascii): better support for ascii export.
11625
11626         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11627
11628 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11629
11630         * tabular_funcs.C: use a "using std::getline" instead of the
11631         previous fix from Angus (necessary for cxx + lyxstring)
11632
11633 2001-12-24  Juergen Vigna  <jug@sad.it>
11634
11635         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11636
11637         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11638         problems. First check a minipage also if we have some ert-contents
11639         (not only on par->size(), second set the right depth of the paragraph
11640         on the relink to the root-paragraph-list!
11641
11642         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11643         which then did not anymore update the main paragraphs on undo/redo!
11644
11645 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11646
11647         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11648         code. Support all font-changing funcs (even those which are not in
11649         menu currently). Support for reporting font settings in
11650         mathed (disabled until Andre provides a function on mathed's side).
11651
11652         * func_status.h (toggle): small helper function to set toggle
11653         state on a flag.
11654
11655 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11656
11657         * tabular_funcs.C: getline -> std::getline
11658
11659 2001-12-21  Juergen Vigna  <jug@sad.it>
11660
11661         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11662         accessed and could be 0 (I couldn't generate this but it seems
11663         Michael could!).
11664
11665 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11666
11667         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11668         * tabular_funcs.h: here and include iosfwd
11669
11670 2001-12-20  Juergen Vigna  <jug@sad.it>
11671
11672         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11673         inside inset but undo_par was.
11674
11675 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11676
11677         * Thesaurus.C: always include <config.h> in sources.
11678
11679         * Painter.h:
11680         * lyxlookup.h:
11681         * box.h: do not include <config.h> in header files
11682
11683         * text.C (paintLastRow): remove unused variable
11684
11685         * text.C (transformChar):
11686         (insertChar):
11687         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11688
11689         * Painter.C (text):
11690         * font.C (width): rewrite to use uppercase() instead of
11691         islower/toupper.
11692
11693         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11694
11695 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11696
11697         * lyxfind.C: clean up of find failure position change
11698
11699 2001-12-20  Juergen Vigna  <jug@sad.it>
11700
11701         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11702
11703         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11704         (TeXRow): added to LaTeX a single tabular row.
11705         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11706         (Latex): simplified and finally good LT-h/f support.
11707         (various_functions): just small adaptions for LT-h/f support.
11708
11709         * tabular_funcs.[hC]: added and moved here all not classfunctions
11710         of LyXTabular.
11711
11712 2001-12-19  Juergen Vigna  <jug@sad.it>
11713
11714         * tabular.[Ch]: better support for longtabular options (not finished
11715         yet!)
11716
11717 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11718
11719         * text.C (paintLastRow): use the label font instead of the font of
11720         the last character to compute the size of *_BOX. This makes more
11721         sense and avoids a crash with empty paragraphs.
11722         Use Painter::rectangle to draw EMPTY_BOX.
11723
11724 2001-12-19  Juergen Vigna  <jug@sad.it>
11725
11726         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11727         the paragraphs if the replaced paragraph is not the first one!
11728         Tried to delete not used paragraphs but does not work yet so for
11729         now it's inside #ifdef's and by default off!
11730
11731 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11732
11733         * MenuBackend.C: include "lyx_main.h" instead of declaring
11734         lastfiles (actually was declared as LastFiles* instead of a
11735         scoped_ptr).
11736
11737 2001-12-17  Juergen Vigna  <jug@sad.it>
11738
11739         * tabular.C (AppendColumn): applied John's fix
11740
11741 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11742
11743         * BufferView.h:
11744         * BufferView.C:
11745         * BufferView_pimpl.h:
11746         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11747
11748         * Makefile.am:
11749         * box.h: new start of class for above
11750
11751         * lyxfunc.C: ignore space-only minibuffer dispatches.
11752           Show the command name when it doesn't exist
11753
11754         * minibuffer.C: don't add empty lines to the history
11755
11756         * minibuffer.C: add a space on dropdown completion
11757
11758 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11759
11760         * text.C: fix line above/below drawing in insets
11761
11762 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11763
11764         * lyxlength.C (LyXLength): Initialize private variables.
11765
11766 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11767
11768         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11769         when inserting error insets.
11770
11771 2001-12-13  Juergen Vigna  <jug@sad.it>
11772
11773         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11774         actually sometimes the before-paragraph.
11775         (setUndo): don't clear the redostack if we're not actually undoing!
11776
11777 2001-12-06  Juergen Vigna  <jug@sad.it>
11778
11779         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11780         and fixed redoing of main paragraph, so we can use it now ;)
11781
11782         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11783
11784 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11785
11786         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11787         Juergen's request
11788
11789 2001-12-13  André Pönitz <poenitz@gmx.net>
11790
11791         * undostack.[Ch]:
11792         * undo_func.C: minor cleanup
11793
11794 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11795
11796         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11797         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11798         font in urw-fonts package which is marked as -urw-fontspecific and
11799         does not work (incidentally, changing the encoding in the
11800         fonts.dir of this package to -adobe-fontspecific fixes the
11801         problem).
11802
11803         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11804         is a crash when undoing first paragraph (Juergen, please take a
11805         look). THis does not mean the undo fix is wrong, just that it
11806         uncovers problems.
11807
11808         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11809         the (Paragraph*) version when needed instead of duplicating the
11810         code.
11811
11812         * text.C (workWidth): use Inset::parOwner to find out where the
11813         inset has been inserted. This is a huge performance gain for large
11814         documents with lots of insets. If Inset::parOwner is not set, fall
11815         back on the brute force method
11816
11817         * paragraph_pimpl.C (insertInset):
11818         * paragraph.C (Paragraph):
11819         (cutIntoMinibuffer): set parOwner of insets when
11820         inserting/removing them
11821
11822         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11823
11824 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11825
11826         * commandtags.h:
11827         * LyXAction.C:
11828         * lyx_main.C:
11829         * lyxfunc.C:
11830         * mathed/formulabase.C:
11831         * mathed/math_cursor.[Ch]:
11832         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11833
11834
11835 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11836
11837         * lyxlength.[Ch] (operator!=): new function
11838
11839 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11840
11841         * text.C (workWidth): use Inset::parOwner to find out where the
11842         inset has been inserted. This is a huge performance gain for large
11843         documents with lots of insets. If Inset::parOwner is not set, fall
11844         back on the brute force method
11845
11846         * paragraph_pimpl.C (insertInset):
11847         * paragraph.C (Paragraph):
11848         (cutIntoMinibuffer): set parOwner of insets when
11849         inserting/removing them
11850
11851         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11852
11853 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11854
11855         * tabular-old.C (getTokenValue):
11856         * tabular.C (getTokenValue):
11857         (write_attribute): new versions for LyXLength
11858         (everywhere): adjust the use of widths
11859
11860         * tabular.h: change the type of widths from string to LyXLength
11861
11862 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11863
11864         * paragraph.C: fixed missing line number count when exporting
11865         Environments to LaTeX file
11866
11867         * buffer.C: added informational message for checking line numbers.
11868
11869 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11870
11871         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11872         paragraph, do the 'double space' part, but not the 'empty
11873         paragraph' one.
11874
11875         * text.C (workWidth): small optimization
11876         (getLengthMarkerHeight): use minimal size for negative lengths.
11877
11878 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11879
11880         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11881
11882         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11883
11884 2001-12-11  André Pönitz <poenitz@gmx.net>
11885
11886         * FontLoader.C:
11887         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11888
11889 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11890
11891         * text2.C: keep selection on a setFont()
11892
11893 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11894
11895         * lyx_cb.C: another bv->text misuse, from insert label
11896
11897 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11898
11899         * kbsequence.h:
11900         * kbsequence.C: re-instate nmodifier mask
11901
11902 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11903
11904         * lyx_main.h: make lyxGUI private.
11905
11906 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11907
11908         * lyxfind.C: place the cursor correctly on failed search
11909
11910 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11911
11912         * text.C (getLengthMarkerHeight): for small heights, the arrows
11913         are not always on top/bottom of the text
11914         (drawLengthMarker): smaller arrows; take the left margin in
11915         account; draw also vfills.
11916         (paintFirstRow):
11917         (paintLastRow): remove special code for vfill and standard spaces,
11918         since everything is handled in drawLengthMarker now.
11919
11920 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11921
11922         * buffer.C (insertErtContents): try to handle font and language
11923         interaction a bit better.g
11924
11925         * ColorHandler.C (updateColor): change the hash to cover the whole
11926         LColor enum, ws cleanup
11927         (getGCLinepars): ditto
11928         (getGCLinepars): only lookup in the linecache once.
11929
11930 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11931
11932         * iterators.C (operator++): Make the iterator more robust
11933
11934         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11935         (John's patch)
11936         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11937
11938 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11939
11940         * lyxtext.h:
11941         * text.C: better added space drawing
11942
11943 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11944
11945         * LyXView.C:
11946         * BufferView2.C: fix layout combo update on inset unlock
11947
11948 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11949
11950         * Makefile.am: don't compile unused files
11951
11952 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11953
11954         * lyxfunc.C:
11955         * commandtags.h:
11956         * LyXAction.C: remove old LFUN_LAYOUTNO
11957
11958 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11959
11960         * paragraph_pimpl.h:
11961         * paragraph_pimpl.C: isTextAt() doesn't need font param
11962
11963 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11964
11965         * lyxlex.h:
11966         * lyxlex.C: little cleanup
11967
11968 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11969
11970         * BufferView_pimpl.C: fix insertAscii for insets
11971
11972 2001-12-05  Juergen Vigna  <jug@sad.it>
11973
11974         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11975         set the right font on the "multi" paragraph paste!
11976
11977 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11978
11979         * trans_decl.h:
11980         * trans_mgr.[Ch]:
11981         * trans.[Ch]:
11982         * lyxgluelength.C:
11983         * lyxlength.C: remove out-commented code.
11984
11985         * BufferView_pimpl:
11986         * CutAndPaste.C:
11987         * DepTable.C:
11988         * buffer.C:
11989         * chset.C:
11990         * lastfiles.C:
11991         * lyxlex.C:
11992         * lyxlex_pimpl.C:
11993         * lyxserver.C:
11994         * screen.C:
11995         * tabular-old.C:
11996         * tabular.C:
11997         * text.C:
11998         * trans_mgr.C:
11999         * vc-backend.C: change "while(" to "while ("
12000
12001         * lyxlength.[Ch]: add zero function to check if length is zero or
12002         not
12003         * lyxgluelength.C: use it
12004
12005 2001-12-05  Allan Rae  <rae@lyx.org>
12006
12007         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12008         Works for 2.95.3, from what I understand of Garst's reports this should
12009         work for other g++ versions.  We're screwed if the abs(int) definition
12010         changed between bugfix releases of gcc.
12011
12012 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12013
12014         * text.C: fix chapter label offset !
12015
12016 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12017
12018         * lyxtext.h:
12019         * text.C: fix hfill at end of line, clean up
12020
12021 2001-12-04  Juergen Vigna  <jug@sad.it>
12022
12023         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12024         that we force an update of the inset and it's owners if neccessary.
12025
12026 2001-12-03  Juergen Vigna  <jug@sad.it>
12027
12028         * text.C (rowLast): simplified code
12029
12030 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12031
12032         * lyxfunc.C: fix show options on timeout
12033
12034 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12035
12036         * screen.C (topCursorVisible): scroll half a page when the cursor
12037         reached top of bottom of screen
12038
12039 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12040
12041         * minibuffer.C: deactivate on loss of focus
12042
12043 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12044
12045         * vspace.[Ch] (operator!=): add operator.
12046
12047 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12048
12049         * BufferView_pimpl.C: refuse to open an inset when
12050         there's a selection.
12051
12052 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12053
12054         * BufferView_pimpl.C: allow to click on RHS of full row insets
12055
12056 2001-11-30  Juergen Vigna  <jug@sad.it>
12057
12058         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12059         insets for undo reasons.
12060
12061 2001-11-28  André Pönitz <poenitz@gmx.net>
12062
12063         * vspace.[Ch]: cosmetical changes
12064
12065 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12066
12067         * LyXAction.h:
12068         * LyXAction.C:
12069         * lyxfunc.h:
12070         * lyxfunc.C:
12071         * kbmap.h:
12072         * kbmap.C:
12073         * lyxrc.C:
12074         * kbsequence.h:
12075         * kbsequence.C: part re-write of old kb code
12076
12077         * Painter.C:
12078         * WorkArea.C: remove Lgb_bug_find_hack
12079
12080 2001-11-30  José Matos <jamatos@fep.up.pt>
12081
12082         * buffer.C (makeDocBookFile): add a comment to point a hack.
12083         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12084         Fixed a double write of labels.
12085
12086 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12087
12088         * LaTeX.C:
12089         * LaTeX.h Fixed bug in LaTeX class where it would not
12090         re-run latex if no depfiles were changed, but the .dvi was removed.
12091
12092 2001-11-28  André Pönitz <poenitz@gmx.net>
12093
12094         * all the files from the change on 2001/11/26:
12095         use lyx::layout_type instead of LyXTextClass::size_type
12096         use lyx::textclass_type instead of LyXTextClassList::size_type
12097
12098 2001-11-29  Juergen Vigna  <jug@sad.it>
12099
12100         * text.C: added support for paragraph::isFreeSpacing()
12101
12102         * buffer.C: same as above
12103
12104         * paragraph.h: inserted isFreeSpacing() function to enable
12105         FreeSpacing inside InsetERT.
12106
12107         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12108         of the paragraph's in the cut/copy buffer to 0!
12109
12110         * text2.C (removeRow): remove the assert as it can!
12111
12112         * lyxtext.h: added helper function firstRow returning firstrow and
12113         made firstrow private again.
12114
12115         * BufferView2.C (lockInset): don't relock if we're already locked!
12116
12117         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12118         the only paragraph.
12119         (removeRow): added Assert::(firstrow)
12120
12121         * debug.C: forgot to add INSETTEXT here.
12122
12123 2001-11-28  Juergen Vigna  <jug@sad.it>
12124
12125         * sp_spell.C (initialize): changed error text to more general
12126         spellchecker command use (not only ispell!)
12127
12128         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12129
12130         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12131
12132 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12133
12134         * vspace.C: initialise lyxgluelength on failure
12135
12136 2001-11-28  Allan Rae  <rae@lyx.org>
12137
12138         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12139         declaration & definition that looks like a function declaration.
12140
12141 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12142
12143         * BufferView2.C (copy):
12144         (copyEnvironment): do not clear the selection when doing a copy.
12145
12146         * text.C (paintFirstRow): compilation fix
12147
12148 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12149
12150         * tabular.C (Latex): correct line count when writing latex.
12151
12152 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12153
12154         * paragraph_pimpl.h:
12155         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12156           bug a bit
12157
12158 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12159
12160         * text.C:
12161         * LColor.h:
12162         * LColor.C: change vfillline->added_space
12163
12164         * text.C: add markers and text for added space
12165
12166         * vspace.C: fix comment
12167
12168 2001-11-28  André Pönitz <poenitz@gmx.net>
12169
12170         * paragraph.C: whitespace changes
12171         * all the other files from the change on 2001/11/26:
12172         change *::pos_type into lyx::pos_type
12173
12174 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12175
12176         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12177         language of the document when inserting error insets.
12178
12179 2001-11-26  André Pönitz <poenitz@gmx.net>
12180
12181         * BufferView_pimpl.[Ch]:
12182         *       CutAndPaste.C:
12183         * buffer.[Ch]:
12184         * lyxcursor.[Ch]:
12185         * lyxfind.C:
12186         * lyxfunc.C:
12187         * lyxrow.[Ch]:
12188         * paragraph.[Ch]:
12189         * paragraph_pimpl.[Ch]:
12190         * sp_spell.C:
12191         * text.C:
12192         * text2.C: reduce header dependencies, introduce type for positions
12193
12194 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12195
12196         * <various>: change to use Alert.h
12197
12198 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12199
12200         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12201         when encountering an unknown token.
12202         (readLyXformat2): Show an error message if there were unknown tokens.
12203
12204 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12205
12206         * BufferView2.C:
12207         * BufferView_pimpl.C:
12208         * buffer.C:
12209         * paragraph.h:
12210         * text.C:
12211         * text2.C: use par->isInset()
12212
12213 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12214
12215         * paragraph_pimpl.h:
12216         * paragraph_pimpl.C: cleanup
12217
12218 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12219
12220         * text2.C (removeRow):
12221         * text.C (setHeightOfRow): remove useless (and costly) call to
12222         getRow.
12223
12224 2001-11-20  Allan Rae  <rae@lyx.org>
12225
12226         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12227         Now need Inset*::checkInsertChar() to return true for appropriate
12228         cases so that the characters in the minibuffer will actually be
12229         inserted.
12230
12231 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12232
12233         * text.C: change the order of the includes.
12234         (workWidth): initialize it at once.
12235         (workWidth): make maxw unsigned
12236         (setHeightOfRow): remove unused variable (inset)
12237         (selectSelectedWord): remove unused variable (inset)
12238         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12239
12240 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12241
12242         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12243         server is not running.
12244         (openConnection):
12245         (closeConnection): add debug info when server is disabled.
12246
12247         * ColorHandler.C (getGCForeground): send debug message to GUI
12248         channel.
12249
12250         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12251
12252         * kbmap.C (bind): modify because return conventions of
12253         kb_sequence::parse have changed.
12254
12255         * kbsequence.C (parse): only ignore spaces and not any stupid
12256         control character. This avoids tests like s[i] <= ' ', which are
12257         guaranteed to fail with 8bit characters and signed chars.
12258         Change return code to string::npos when there have been no error
12259         (0 was a bad idea when error is at first character)
12260
12261 2001-11-14  José Matos  <jamatos@fep.up.pt>
12262
12263         * buffer.h:
12264         * buffer.C (simpleDocBookOnePar): removed unused argument.
12265
12266 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12267
12268         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12269         insets which are part of a word. Paragraph::isLetter takes care of
12270         that now. Use Paragraph::isInset to identify insets.
12271         (selectSelectedWord): do not test for hyphenation break.
12272
12273         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12274         that protected spaces are considered as spaces.
12275
12276         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12277         Inset::isLetter.
12278
12279 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12280
12281         * lyxserver.h:
12282         * lyxserver.C: fix it. and small cleanup.
12283
12284 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12285
12286         * BufferView_pimpl.C: use inline helpers
12287
12288         * LaTeXFeatures.h:
12289         * LaTeXFeatures.C: fix typos
12290
12291         * Spacing.h:
12292         * Spacing.C: move spacing_string into class
12293
12294         * ToolbarDefaults.C: move stuff into namespace anon
12295
12296         * layout.h: update enum
12297
12298         * lyxfunc.C: use better debug
12299
12300         * minibuffer.h: fix typo
12301
12302         * debug.h:
12303         * debug.C:
12304         * WorkArea.C: add and use Debug::WORKAREA
12305
12306         * lyxtext.h:
12307         * text.C:
12308         * text2.C: code re-organisation, inline helpers
12309
12310 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12311
12312         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12313         std::vector.empty().
12314
12315 2001-11-09  Allan Rae  <rae@lyx.org>
12316
12317         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12318         '\n's after tables.  Tabular and ERT inset work now makes this no
12319         longer necessary.
12320
12321 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12322
12323         * minibuffer.h:
12324         * minibuffer.C: fix crash, improve drop-down completion
12325
12326 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12327
12328         * lyxserver.h:
12329         * lyxserver.C: invalidate fd's when doing endPipe()
12330
12331 2001-11-08  José Matos  <jamatos@fep.up.pt>
12332
12333         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12334         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12335
12336         * paragraph.h:
12337         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12338
12339 2001-11-07  José Matos  <jamatos@fep.up.pt>
12340
12341         * buffer.h:
12342         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12343         const qualifier.
12344
12345         * buffer.C (sgmlOpenTag):
12346         * buffer.C (sgmlCloseTag): removed debug info.
12347
12348         * buffer.h (sgmlOpenTag):
12349         * buffer.h (sgmlCloseTag): made public.
12350
12351 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12352
12353         * buffer.C (saveParamsAsDefaults):
12354         * lyx_cb.C (MenuLayoutSave): remove
12355
12356         * LyXAction.C (init):
12357         * commandtags.h:
12358         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12359
12360 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12361
12362         * buffer.C (setPaperStuff): removed from here...
12363
12364         * bufferparams.C (setPaperStuff): ... and moved there.
12365
12366 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12367
12368         * minibuffer.h:
12369         * minibuffer.C:
12370         * XFormsView.C: add support for drop-down completion
12371
12372 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12373
12374         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12375         commands.
12376
12377 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12378
12379         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12380         disabled.
12381
12382 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12383
12384         * lyx_main.C: change ref to known bugs
12385
12386 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12387
12388         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12389         to work around older babel problems.
12390
12391 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12392
12393         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12394
12395 2001-10-24  Juergen Vigna  <jug@sad.it>
12396
12397         * tabular-old.C (ReadOld): below variable changes reflected.
12398
12399         * tabular.[Ch]: added ltType struct for longtable header/footer
12400         defines and changed all instances where they are used. Added
12401         future support for double top/bottom rows.
12402
12403 2001-10-24  José Matos  <jamatos@fep.up.pt>
12404
12405         * buffer.h (docbookHandleCaption):
12406         * buffer.C (docbookHandleCaption): removed unused function.
12407         (makeDocBookFile): moved docbook supported version to v4.1.
12408
12409 2001-10-24  José Matos  <jamatos@fep.up.pt>
12410
12411         * tabular.h:
12412         * tabular.C (docbookRow): new function to export docbook code of a row.
12413         (DocBook): now honors the longtable flags.
12414
12415 2001-10-23  José Matos  <jamatos@fep.up.pt>
12416
12417         * LaTeXFeatures.h:
12418         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12419         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12420
12421         * buffer.C (makeLinuxDocFile):
12422         (makeDocBookFile): reworked the preamble, more clean, and with
12423         support for lyx defined entities. Changed the document declaration
12424         to be more XML friendly.
12425
12426         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12427         if we need to output XML that should be done with a filter.
12428
12429 2001-10-22  Juergen Vigna  <jug@sad.it>
12430
12431         * sp_pspell.h (class PSpell): add alive function needed in the
12432         controller to see if the spellchecker could be started.
12433
12434 2001-10-22  Juergen Vigna  <jug@sad.it>
12435
12436         * buffer.C (insertStringAsLines): modify the font for inserting
12437         chars in certain conditions by calling checkInsertChar(font).
12438
12439 2001-10-19  Juergen Vigna  <jug@sad.it>
12440
12441         * text.C (workWidth): use getRow instead of wrong algorithm.
12442         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12443
12444 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12445
12446         * lyxserver.h:
12447         * lyxserver.C:
12448         * lyx_main.h:
12449         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12450
12451 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12452
12453         * text.C (workWidth): do not search for the exact row when
12454         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12455         optimization for big documents.
12456
12457 2001-10-18  Juergen Vigna  <jug@sad.it>
12458
12459         * text.C (workWidth): new function with added Inset * parameter.
12460
12461 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12462
12463         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12464
12465         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12466         change return type of getColumnNearX.
12467
12468
12469         * text.C (changeRegionCase): use uppercase/lowercase instead of
12470         toupper/tolower.
12471         (leftMargin):
12472         (rightMargin): simplify code by factoring out the uses of
12473         textclasslist.
12474         (labelFill):
12475         (numberOfHfills):
12476         (setHeightOfRow):
12477         (appendParagraph): use Paragraph::size_type
12478
12479 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12480
12481         * vspace.C (asLatexString): add a missing break
12482
12483 2001-10-15  Herbert Voss  <voss@perce.de>
12484
12485         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12486
12487 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12488
12489         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12490         is not available.
12491
12492 2001-10-10  André Pönitz <poenitz@gmx.net>
12493
12494         * lyxfunc.C: removed greek_kb_flag.
12495
12496 2001-10-10  Herbert Voss  <voss@perce.de>
12497
12498         * lyx_main.C: delete global string help_lyxdir.
12499
12500 2001-10-09  Herbert Voss  <voss@perce.de>
12501
12502         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12503
12504         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12505
12506         * lyx_main.C: added global string help_lyxdir.
12507
12508         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12509
12510 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12511
12512         * lyxrc.C (set_font_norm_type): support iso8859-4
12513
12514 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12515
12516         * LaTeX.C (deplog): add another regex for MikTeX
12517
12518 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12519
12520         * lyxrc.C (set_font_norm_type): support iso8859-3
12521
12522 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12523
12524         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12525
12526         * LaTeXFeatures.C: remove special case of french and index
12527
12528         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12529         before \begin{document}). This solves several incompatibilities.
12530
12531 2001-10-03  Garst Reese  <reese@isn.net>
12532
12533         * lyx_cb.C: change CheckTex error msg.
12534
12535 2001-10-03  José Matos  <jamatos@fep.up.pt>
12536
12537         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12538
12539 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12540
12541         * .cvsignore: update
12542
12543         * lyx_main.C (commandLineVersionInfo): use new style version info.
12544
12545         * buffer.C (writeFile):
12546         (makeLaTeXFile):
12547         (makeLinuxDocFile):
12548         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12549
12550         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12551
12552         * version.h: update to use stuff in version.C
12553
12554         * version.C.in: new file. Contains version information determined
12555         at compile time. This is a merging of version.h and
12556         version_info.h.in.
12557
12558 2001-10-03  Juergen Vigna  <jug@sad.it>
12559
12560         * BufferView_pimpl.C (update): don't change "dirty" status in
12561         updateInset call.
12562
12563 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12564
12565         * WorkArea.C (c-tor): re-position version string slightly.
12566
12567 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12568
12569         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12570         revert to previous code.
12571
12572         WorkArea.[Ch]: (show, destroySplash): methods removed.
12573
12574         WorkArea.C: rework code so that it's an amalgam of the codes before and
12575         after the splash screen was moved to WorkArea.
12576
12577 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12578
12579         * lyxrc.C (read):
12580         * vspace.C (inPixels):
12581         (lyx_advance):
12582         * kbmap.C (bind):
12583         * buffer.C (insertStringAsLines):
12584         (asciiParagraph): fix types to be large enough
12585
12586         * lyxlex_pimpl.h: change member status from short to int
12587
12588         * layout.h: fix type of endlabeltype
12589
12590         * kbmap.C (bind):
12591         * kbsequence.C (parse): change return type to string::size_type
12592
12593         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12594         variable
12595
12596         * Bullet.C (bulletSize):
12597         (bulletEntry): do not use short ints as parameters
12598
12599         * BufferView2.C (insertLyXFile): change a char to an int.
12600
12601         * WorkArea.C (WorkArea): remove unneeded floats in computation
12602
12603 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12604
12605         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12606
12607         * paragraph.C (asString): Do not ignore newline/hfill chars when
12608         copying to the clipboard.
12609
12610 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12611
12612         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12613         after a multi-line inset.
12614
12615 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12616
12617         * paragraph.C (validate): Set NeedLyXFootnoteCode
12618
12619 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12620
12621         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12622         and decrease-error to decrease.
12623
12624 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12625
12626         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12627         it more readable (should be equivalent)
12628
12629 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12630
12631         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12632
12633 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12634
12635         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12636         of a cursor (row, etc.) after a character has been deleted
12637         (deleteEmptyParagraphMechanism): call the method above on _all_
12638         cursors held by the LyXText when a double space has been
12639         detected/deleted.
12640
12641 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12642
12643         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12644         pixmap.
12645         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12646
12647         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12648         background. Use greyOut() and the new show() methods to toggle between
12649         the foreground and background. Add code to remove the splash after
12650         its initial showing.
12651
12652         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12653         (create_forms): no longer call Dialogs::showSplash.
12654
12655 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12656
12657         * .cvsignore: add version_info.h
12658
12659 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12660
12661         * version_info.h.in: new file
12662
12663         * Makefile.am: add version_info.h.in
12664
12665         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12666         version_info.h instead of VERSION_INFO
12667
12668 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12669
12670         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12671         The ERT inset now returns string().
12672
12673 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12674
12675         * lyxtext.h, text.C (selectNextWord): renamed as
12676         selectNextWordToSpellcheck.
12677
12678         * text.C (selectNextWordToSpellcheck): Modified to not select
12679         words inside an ERT inset.
12680
12681 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12682
12683         * lyx_cb.C (MenuLayoutSave): change a bit the question
12684
12685         * sp_base.h: include <sys/types.h>
12686
12687 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12688
12689         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12690
12691 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12692
12693         * several files: fix typos in user-visible strings
12694
12695 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12696
12697         * text2.C (pasteSelection): do not set the selection, since it
12698         will be cleared later. Actually, the intent was to fix the way the
12699         selection was set, but I figured rmoving the code was just as good.
12700
12701 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12702
12703         * FontLoader.C (available): Check if font is available without
12704         loading the font.
12705
12706 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12707
12708         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12709
12710 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12711
12712         * lyxrc.[Ch]: added display_graphics variable and associated code.
12713
12714 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12715
12716         * bufferparams.C (hasClassDefaults): new method. Returns true if
12717         the buffer parameters correspond to known class defaults
12718
12719 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12720
12721         * XFormsView.C (show): set minimum size to the main window.
12722
12723 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12724
12725         * text2.C (copySelection):
12726         (cutSelection):
12727         * lyxfind.C (LyXReplace):
12728         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12729         LyXText::selectionAsString.
12730
12731         * paragraph.C (asString): add "label" argument to the second form
12732
12733         * text2.C (selectionAsString): add "label" argument and pass it to
12734         Paragraph::asString.
12735
12736 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12737
12738         * lyx_main.C (commandLineHelp): remove version information
12739
12740 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12741
12742         * lyx_main.C: add -version commandline option
12743
12744 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12745
12746         * paragraph.h: make the optional constructor arg required instead.
12747         some modifications to other files because of this.
12748
12749         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12750
12751         * lyxserver.C (C_LyXComm_callback): make it static
12752
12753         * lyx_main.C (error_handler): make it static
12754
12755         * lyx_gui.C (LyX_XErrHandler): make it static
12756
12757         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12758
12759         * WorkArea.C: make the extern "C" methods static.
12760
12761         * Makefile.am (lyx_LDADD): simplify
12762
12763 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12764
12765         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12766         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12767
12768         * LyXAction.C (init):
12769         * lyxfunc.C (dispatch): associated code removal.
12770
12771 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12772
12773         * lyxfont.h (isSymbolFont): shut off warning
12774
12775         * text.C (setHeightOfRow):
12776         (getVisibleRow): fix crash with empty paragraphs which have a
12777         bottom line
12778
12779 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12780
12781         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12782         code.
12783
12784 2001-09-04  José Matos  <jamatos@fep.up.pt>
12785         * buffer.C
12786         * buffer.h
12787         * tabular.C (docbook): rename docBook method to docbook.
12788
12789 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12790
12791         * Makefile.am: add dependencies to main.o.
12792
12793 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12794
12795         * FontLoader.C (available): Return false if !lyxrc.use_gui
12796
12797 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12798
12799         * FontInfo.C (query):
12800         * converter.C (view):
12801         * importer.C (Import):
12802         * exporter.C (Export): Can not -> cannot.
12803
12804 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12805
12806         * BufferView_pimpl.C: allow to create index inset even if
12807           string is empty
12808
12809 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12810
12811         * buffer.C (getLists): replace boost::tie code with an explicit pair
12812         as boost::tie can break some compilers.
12813
12814         * iterators.h: Added a std:: declaration to the return type of
12815         ParIterator::size.
12816
12817 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12818
12819         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12820           case.
12821
12822 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12823
12824         * iterators.[Ch]: New files. Provide paragraph iterators.
12825
12826         * buffer.C (changeLanguage): Use paragraph iterators.
12827         (isMultiLingual): ditto
12828
12829         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12830
12831 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12832
12833         * FontLoader.C: Support for cmr font.
12834
12835 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12836
12837         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12838         (available): New method.
12839
12840         * FontInfo.C (getFontname): Use scalable fonts even when
12841         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12842         found.
12843
12844 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12845
12846         * converter.C (Formats::view): reverted! Incorrect fix.
12847
12848 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12849
12850         * converter.C (Formats::view): only output the -paper option
12851         if the dvi viewer is xdvi, thereby fixing bug #233429.
12852
12853 2001-08-23  Herbert Voss  <voss@perce>
12854
12855         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12856
12857 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12858
12859         * Spacing.h (Spacing): Set space to Default on in the default
12860         constructor.
12861
12862 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12863
12864         * vc-backend.h (RCS::versionString): add RCS to version
12865         (CVS::versionString): add CVS to version
12866
12867         * vc-backend.C (scanMaster): do not add CVS to version.
12868         (scanMaster): do not add RCS to version
12869
12870         * lyxvc.C (versionString): new method
12871
12872         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12873
12874 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12875
12876         * Spacing.C (set): initialize fval
12877
12878 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12879
12880         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12881         " or \.
12882
12883 2001-08-16  Juergen Vigna  <jug@sad.it>
12884
12885         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12886
12887 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12888
12889         * BufferView_pimpl.C:
12890         * figureForm.C:
12891         * lyxtext.h:
12892         * text2.C: setParagraph takes linespacing now
12893
12894 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12895
12896         * LyxAction.C: add internal LFUN_CITATION_INSERT
12897
12898         * LyXView.C: actually apply fix
12899
12900         * bufferlist.C: fix open non-existent file
12901
12902         * lyxfind.C: fix indentation
12903
12904         * lyxfunc.C: remove unneeded assert, fix typo
12905
12906 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12907
12908         * MenuBackend.C: use "Floatname List"
12909
12910 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12911
12912         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12913         when converting LaTeX layout to insetERT.
12914         Generate a non-collapsed float when reading old float
12915
12916 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12917
12918         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12919         ERT insets.
12920
12921 2001-08-13  Juergen Vigna  <jug@sad.it>
12922
12923         * text.C (fill): return 0 instead of 20 as this seems to be the more
12924         correct value.
12925
12926 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12927
12928         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12929         lyxrc.font_norm.
12930
12931 2001-08-13  Juergen Vigna  <jug@sad.it>
12932
12933         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12934         casesensitive off.
12935         (SearchBackward): comment out the unlocking of the inset_owner this
12936         should not be needed!
12937
12938 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12939
12940         * Many files: Remove inherit_language, and add latex_language
12941
12942         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12943         collapsible insets.
12944
12945 2001-08-10  Juergen Vigna  <jug@sad.it>
12946
12947         * text.C (prepareToPrint): fixed hfill-width in draw!
12948
12949         * BufferView2.C (selectLastWord): save the selection cursor as this
12950         now is cleared in the function LyXText::clearSelection!
12951
12952 2001-08-08  Juergen Vigna  <jug@sad.it>
12953
12954         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12955         BACKSPACE type functions.
12956
12957         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12958         is only cutted from the document but not put in the cut-buffer, where
12959         still the old stuff should be.
12960
12961         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12962
12963         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12964
12965         * tabular.C (SetWidthOfCell): fixed special case where the width
12966         was not updated!
12967         (LeftLine): handle '|' in align_special.
12968         (RightLine): ditto
12969         (LeftAlreadyDrawed): ditto
12970         (SetWidthOfCell): ditto
12971
12972 2001-08-07  Juergen Vigna  <jug@sad.it>
12973
12974         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12975
12976 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12977
12978         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12979         * lyxlex.[hC]: ditto
12980
12981 2001-08-06  Juergen Vigna  <jug@sad.it>
12982
12983         * text.C (getVisibleRow): fix up row clearing a bit.
12984
12985 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12986
12987         * minibuffer.C: make sure the X server sees the changes in the input.
12988
12989 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12990
12991         * paragraph.C (getFont): split into...
12992         (getLabelFont): this
12993         (getLayoutFont): and this
12994         * paragraph_pimpl.C (realizeFont): calling this
12995
12996         * text2.C (getFont): split into...
12997         (getLayoutFont): this
12998         (getLabelFont): and this
12999         (realizeFont): all three calling this
13000
13001         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13002         files where used.
13003
13004 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13005
13006         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13007
13008 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13009
13010         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13011         layouts from the Quote inset insertion.
13012
13013 2001-08-03  Juergen Vigna  <jug@sad.it>
13014
13015         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13016
13017         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13018         only if status not is already CHANGED_IN_DRAW (second level).
13019
13020         * text.C (draw): don't set the need_break_row when inside an
13021         InsetText LyXText.
13022
13023 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13024
13025         * buffer.C (parseSingleLyXformat2Token): handle more latex
13026         conversion cases.
13027
13028         * bufferview_funcs.[hC]: change function names to
13029         begin with small char, adjust other files.
13030
13031 2001-08-02  André Pönitz <poenitz@gmx.net>
13032
13033         * lyxfunc.C:
13034         BufferView_pimpl.C: remove broken special code for math-greek
13035
13036 2001-08-02  Juergen Vigna  <jug@sad.it>
13037
13038         * BufferView_pimpl.C (update): redone this function so that we
13039         update the text again if there was a CHANGE_IN_DRAW.
13040
13041         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13042         (drawFromTo): added a new internal bool which is used by draw() and
13043         redraw() function.
13044         (general): some cursor drawing problems fixed.
13045
13046 2001-08-01  Juergen Vigna  <jug@sad.it>
13047
13048         * lyxfind.C (LyXFind): fixed
13049         (SearchForward): ditto
13050         (SearchBackward): ditto
13051
13052         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13053         spurius drawing of the cursor in the main area.
13054
13055         * text2.C (status): small fix which could lead to a segfault!
13056         (clearSelection): remove unneeded BufferView param.
13057
13058 2001-08-01  André Pönitz <poenitz@gmx.net>
13059
13060         * lyxfunc.C: small change due to changed mathed interface
13061
13062 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13063
13064         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13065
13066 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13067
13068         * lyxfunc.c: fail gracefully if file doesn't exist
13069
13070         * LyXSendto.C:
13071         * buffer.C:
13072         * lyxfunc.C:
13073         * BufferView_pimpl.C: IsDirWriteable() proto changed
13074
13075         * LyXView.C: fix updateWindowTitle() to store the last title
13076
13077 2001-07-31  Juergen Vigna  <jug@sad.it>
13078
13079         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13080         the font (wrong since using of Paragraph::highestFontInRange).
13081
13082         * paragraph.C (highestFontInRange): added a default_size parameter.
13083
13084         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13085         (setHeightOfRow): reformat
13086
13087 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13088
13089         * converter.[hC] + affected files: move to (inital-char)lowercase
13090         function names.
13091
13092         * ParagraphParameters.C (ParagraphParameters): remove commented code
13093
13094         * PainterBase.[Ch]: remove commented code
13095
13096         * LaTeXFeatures.h: add "bool floats" for float.sty
13097
13098         * LaTeXFeatures.C (LaTeXFeatures): init floats
13099         (require): handle float
13100         (getPackages): do it with floats
13101
13102 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13103
13104         * BufferView_pimpl.C (Dispatch): improve handling of
13105         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13106
13107         * commandtags.h: #include lyxfont.h here temporarily to avoid
13108         keybinding bug.
13109
13110         * bufferlist.h: include LString.h here.
13111
13112 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13113
13114         * text2.C (getStringToIndex): new method.
13115
13116 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13117
13118         * *: Reduced header file dependencies all over.
13119
13120 2001-07-30  Baruch Even  <baruch@lyx.org>
13121
13122         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13123
13124 2001-07-29  Baruch Even  <baruch@lyx.org>
13125
13126         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13127
13128 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13129
13130         * ParameterStruct.h (endif): add a default constructor to make
13131         sure that all variables is initialized.
13132
13133         * ParagraphParameters.C (ParagraphParameters): adjust
13134
13135 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13136
13137         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13138         index; also, check that there is something to index, and that it
13139         does not span over several paragraphs.
13140         (doubleClick): use WHOLE_WORD_STRICT for double click.
13141
13142         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13143
13144         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13145         scheme.
13146
13147 2001-07-26  Baruch Even  <baruch@lyx.org>
13148
13149         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13150         an InsetFig figure, backwards compatible reading of old figure code.
13151
13152 2001-07-27  Juergen Vigna  <jug@sad.it>
13153
13154         * text2.C: font.realize function adaption.
13155
13156         * text.C (draw): add a warnings lyxerr text if needed.
13157
13158         * layout.C: font.realize function adaption.
13159
13160         * language.C: add inherit_language and implement it's handlings
13161
13162         * bufferview_funcs.C (StyleReset): remove language parameter from
13163         font creation (should be language_inherit now).
13164
13165         * bufferparams.C (writeFile): handle ignore_language.
13166
13167         * paragraph.C (getFontSettings): the language has to be resolved
13168         otherwise we have problems in LyXFont!
13169
13170         * lyxfont.C (lyxWriteChanges): added document_language parameter
13171         (update): removed unneeded language parameter
13172
13173         * paragraph.C (validate): fixed wrong output of color-package when
13174         using interface colors for certain fonts in certain environments,
13175         which should not seen as that on the final output.
13176
13177 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13178
13179         * BufferView_pimpl.C:
13180         * Thesaurus.h:
13181         * Thesaurus.C:
13182         * Makefile.am:
13183         * commandtags.h:
13184         * LyXAction.C: add thesaurus support
13185
13186         * lyxfind.h:
13187         * lyxfind.C: add "once" parameter, for thesaurus, to not
13188           move to the next match
13189
13190 2001-07-26  Juergen Vigna  <jug@sad.it>
13191
13192         * lyxfont.C (realize): honor ignore_language too!
13193         (resolved): ditto.
13194
13195         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13196
13197         * text.C (draw): one place more for ignore_language to not draw
13198         itself!
13199
13200 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13201
13202         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13203
13204 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13205
13206         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13207         the minipage conversion problem.
13208
13209 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13210
13211         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13212         insert an inset.
13213
13214 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13215
13216         * BufferView.h: don't forward declare WorkArea
13217
13218         * BufferView.C: don't include WorkArea.h
13219
13220 2001-07-25  André Pönitz <poenitz@gmx.net>
13221
13222         * commandtags.h:
13223         * LyXAction.C:
13224         * lyxfunc.C:  new LFUN 'math-space'
13225
13226         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13227
13228 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13229
13230         * text2.C (toggleInset): call open/close
13231
13232 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13233
13234         * lyxfunc.C (dispatch): add debug for the disabled case
13235
13236         * font.C (buttonText): make similar to rectText
13237
13238         * buffer.C (readInset): comment out parsing of insetlist and
13239         insttheorem
13240
13241         * PainterBase.C (rectText): small correction
13242
13243         * BufferView_pimpl.C: comment out insettheorem and insetlist
13244         * LyXAction.C: ditto
13245         * commandtags.h: ditto
13246
13247 2001-07-24  Juergen Vigna  <jug@sad.it>
13248
13249         * text.C (draw): honor the ignore_language.
13250
13251         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13252
13253 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13254
13255         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13256         char inset.
13257
13258 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13259
13260         * lyxtext.h: remove unused (and unimplemented) methods
13261
13262 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13263
13264         * text.C (getVisibleRow): honor background color
13265
13266         * PainterBase.h:
13267         * Painter.h: remove default color argument for fillRectangle
13268
13269         * text.C (backgroundColor): new method
13270
13271 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13272
13273         * text.C (getVisibleRow): adjust
13274
13275         * font.[Ch] (rectText): new method, metrics
13276         (buttonText): new method, metrics
13277
13278         * PainterBase.[hC]: make rectText and buttonText always draw and take
13279         fewer paramteres.
13280
13281 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13282
13283         * ToolbarDefaults.C (read):
13284         * MenuBackend.C (read): allow escaping in all strings
13285
13286         * BufferView_pimpl.C (insertAndEditInset): new method.
13287         (Dispatch): use insertAndEditInset whenever appropriate.
13288
13289         * BufferView_pimpl.C (insertNote): removed
13290
13291         * BufferView_pimpl.C (smartQuote): new method, moved from
13292         BufferView; if an insetquote cannot be inserted, insert a '"'
13293         character instead.
13294
13295         * BufferView2.C: remove insertCorrectQuote();
13296
13297         * lyxfunc.C (getStatus): Add support for all remaingin
13298         inset-insert lfuns.
13299
13300         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13301
13302         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13303         command (necessary to pass " as parameter of self-insert.
13304
13305         * text.C (selectWordWhenUnderCursor):
13306         (selectWord): add word_location parameter
13307         (selectWordWhenUnderCursor): same + remove special code for word
13308         boundary.
13309         (selectNextWord): use kind() to guess type of insetspecialchar,
13310         not latex().
13311
13312         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13313         (insertErtContents): create ert insets as collapsed.
13314         (readInset): better compatibility code for Info inset.
13315
13316 2001-07-20  Juergen Vigna  <jug@sad.it>
13317
13318         * lyxfunc.C (dispatch): use always LyXFind now!
13319
13320         * text2.C (init): add a reinit flag so that the LyXText can be
13321         reinited instead of deleted and reallocated (used in InsetText).
13322
13323         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13324
13325         * text.C: ditto
13326
13327         * text2.C: ditto
13328
13329 2001-07-18  Juergen Vigna  <jug@sad.it>
13330
13331         * text.C (selectNextWord): handle insets inside inset by calling
13332         always the bv->text functions so that we can go up the_locking_inset!
13333
13334         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13335         in strange locations when inside an inset!
13336
13337         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13338         handling to include insets.
13339
13340         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13341
13342 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13343
13344         * LyXAction.C (init):
13345         * commandtags.h:
13346         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13347         LIGATURE_BREAK, since the name is so stupid.
13348
13349 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13350
13351         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13352         InsetInfos.
13353
13354         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13355
13356         * sp_form.[Ch]: remove.
13357
13358         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13359
13360         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13361         InsetInfo.
13362
13363         * src/buffer.C (readInset): ditto.
13364
13365 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13366
13367         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13368         menuSeparator(), endOfSentenceDot(), ldots() and
13369         hyphenationPoint(), which are therefore removed.
13370         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13371
13372         * LyXAction.C (init):
13373         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13374
13375         * paragraph.C (getWord): removed.
13376
13377         * BufferView_pimpl.C (Dispatch): use last word or selection for
13378         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13379
13380         * lyx_main.C (queryUserLyXDir): do not ask before creating
13381         user_dir, except if it has been named explicitely.
13382
13383 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13384
13385         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13386         a document of zero size.
13387
13388 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13389
13390         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13391         approriately in the c-tor and in require().
13392         (getPackages): output the appropriate LaTeX for natbib support.
13393
13394         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13395         variables "use_natbib" and "use_numerical_citations" when reading the
13396         LyX file.
13397         (readInset): read the various natbib cite commands.
13398         (validate): white-space change.
13399
13400         * bufferparams.[Ch]: new variables "bool use_natbib" and
13401         "bool use_numerical_citations".
13402         (writeFile): output them in the LyX file.
13403
13404 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13405
13406         * lyxfunc.C (getStatus): add support for all the inset insertion
13407         commands.
13408
13409         * text2.C (insertInset):
13410         * paragraph.C (insetAllowed):
13411         * BufferView_pimpl.C (insertInset): update to take in account the
13412         renaming of insertInsetAllowed
13413
13414         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13415
13416         * text2.C (getInset): new method. returns inset at cursor position.
13417
13418         * BufferView_pimpl.C (Dispatch): changes because of this.
13419
13420         * LyXAction.C (init): rename open-stuff to inset-toggle.
13421
13422         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13423
13424         * text2.C (toggleInset): renamed from openStuff; use
13425         Inset::open().
13426
13427 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13428
13429         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13430
13431         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13432
13433 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13434
13435         * buffer.C (readLyXformat2): Add filename to the error dialog
13436
13437 2001-07-18  Juergen Vigna  <jug@sad.it>
13438
13439         * tabular.C (GetCellNumber): put an assert here instead of the check!
13440
13441 2001-07-17  Juergen Vigna  <jug@sad.it>
13442
13443         * BufferView_pimpl.C (toggleSelection): adapted too.
13444
13445         * text.C (selectNextWord): adapted for use with insets.
13446         (selectSelectedWord): ditto
13447
13448 2001-07-17  Juergen Vigna  <jug@sad.it>
13449
13450         * sp_spell.C (PSpell): fix initialitation order.
13451
13452 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13453
13454         * paragraph.C: spacing
13455
13456 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13457
13458         * sp_spell.C: repair language selection for pspell
13459
13460 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13461
13462         * lyxfunc.h: change more methods to begin with lower char.
13463
13464 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13465
13466         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13467         for unknown layouts.
13468
13469 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13470
13471         * buffer.C (readLyXformat2): Generate an error dialog if there are
13472         unknown layouts.
13473
13474 2001-07-16  Juergen Vigna  <jug@sad.it>
13475
13476         * sp_spell.C: always compile ISpell part.
13477
13478         * lyxrc.C: added use_pspell entry and it's handling.
13479
13480 2001-07-13  Juergen Vigna  <jug@sad.it>
13481
13482         * sp_spell.C: removed double includes.
13483
13484 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13485
13486         Consistent use of Lsstream.h:
13487         * Lsstream.h: added using std::stringstream for consistencies sake.
13488
13489         * buffer.C: removed using std::stringstream
13490
13491         * lyxfont.C (stateText):
13492         * paragraph.C (asString):
13493         * text.C (selectNextWord, selectSelectedWord):
13494         * text2.C (setCounter):
13495         * vspace.C (asString, asLatexString):
13496         std::ostringstream -> ostringstream.
13497
13498 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13499
13500         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13501         * commandtags.h: add LFUN_HELP_ABOUTLYX
13502         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13503
13504 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13505
13506         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13507         cursorToggle()
13508         * lyx_gui_misc.C: remove spellchecker
13509         * lyxfunc.C: showSpellchecker
13510         * sp_base.h: added
13511         * sp_ispell.h: added
13512         * sp_pspell.h: added
13513         * sp_spell.C: added
13514         * sp_form.[Ch]: removed
13515         * spellchecker.[Ch]: removed
13516
13517 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13518
13519         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13520         is set.
13521         (simpleTeXSpecialChars): Simply print the input character without
13522         any special translation if pass_thru is set.
13523
13524         * layout.h: Added bool pass_thru to layout class for being able to
13525         implement pass through of a paragraph for Literate Programming.
13526
13527         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13528         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13529         * layout.C (Read): add "passthru" to list of layout tags and add
13530         code to set the pass_thru boolean when it is read.
13531
13532 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13533
13534         * trans_decl.h: remove allowed from KmodInfo
13535
13536         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13537         remove allowed code
13538         (Load): adjust
13539
13540         * paragraph_pimpl.C (erase): use boost::prior
13541
13542         * Painter.C (text): use data() instead of c_str() when length is
13543         also provided.
13544         * WorkArea.C (putClipboard): ditto
13545         * font.h (width): ditto
13546
13547         * BufferView2.C: use it-> instead of (*it). for iterators
13548         * texrow.C: ditto
13549         * paragraph_pimpl.C: ditto
13550         * paragraph.C: ditto
13551         * minibuffer.C: ditto
13552         * language.C: ditto
13553         * kbmap.C: ditto
13554         * encoding.C: ditto
13555         * counters.C: ditto
13556         * converter.C: ditto
13557         * chset.C: ditto
13558         * Variables.C: ditto
13559         * TextCache.C: ditto
13560         * MenuBackend.C: ditto
13561         * LyXAction.C: ditto
13562         * LColor.C: ditto
13563         * FloatList.C: ditto
13564         * DepTable.C: ditto
13565         * ColorHandler.C (LyXColorHandler): ditto
13566
13567 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13568
13569         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13570
13571         * text2.C (openStuff): reintroduce this method (which had been
13572         nuked in NEW_INSETS frenzy).
13573
13574         * lyxfunc.C (Dispatch): when an action has not been handled, use
13575         its name in the error message, not its number.
13576
13577         * paragraph.C (inInset): change method name to begin with lowercase.
13578
13579         * undo_funcs.C:
13580         * text2.C: updates because of this.
13581
13582 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13583
13584         * ToolbarDefaults.C (add): add spaces in error message
13585
13586 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13587
13588         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13589         (readLyXformat2): rename return_par to first_par, use lyxlex's
13590         pushToken and remove the manual push handling.
13591         (parseSingleLyXformat2Token): add another ert comp. variable:
13592         in_tabular, rename return_par to first_par. handle newlines better
13593
13594 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13595
13596         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13597
13598 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13599
13600         * text2.C (getParFromID): removed
13601
13602         * buffer.C (getParFromID): new method moved form lyxtext.
13603         * BufferView2.C (insertErrors): adjust
13604         (setCursorFromRow): adjust
13605         * BufferView_pimpl.C (restorePosition): adjust
13606         * lyxfunc.C (Dispatch): adjust
13607         * undo_funcs.C (textUndo): adjust
13608         (textRedo): adjust
13609         (textHandleUndo): adjust
13610         (textHandleUndo): adjust
13611
13612 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13613
13614         * buffer.C: up' the LYX_FORMAT
13615
13616         * lyxfont.h: turn NO_LATEX on as default
13617
13618         * buffer.C (insertErtContents): new methods of tex style compability.
13619         (parseSingleLyXformat2Token): use it several places.
13620         * tabular.C (OldFormatRead): and here
13621
13622 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13623
13624         * text2.C: remove some commented code.
13625         reindent file.
13626
13627         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13628         * trans.C: changes because of the above.
13629
13630 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13631
13632         * text2.C (setCounter): Fix counters bug with bibliography layout.
13633
13634 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13635
13636         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13637         own member functions
13638         (simpleTeXSpecialChars): ditto
13639
13640 2001-07-06  Juergen Vigna  <jug@sad.it>
13641
13642         * a lot of files: changed the access to LyXText::status and the
13643         call of undo-functions.
13644
13645         * undo.[Ch]: added a inset_id to the undo informations.
13646
13647         * undo_funcs.[Ch]: added and moved here all undo functions.
13648
13649         * lyxtext.h: give the status enum a weight, made status_ a private
13650         variable and made accessor functions for it, removed the whole bunch
13651         of undo-functions as they are now in their own file, make some
13652         functions publically available. Added function ownerParagraph with
13653         int parameter.
13654
13655         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13656         made InInset() a const function, added getParFromID() function.
13657
13658         * buffer.[Ch]: added const version for inset_iterator functions,
13659         added getInsetFromID() function.
13660
13661         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13662         changed undo functions for new version.
13663
13664 2001-07-05  Juergen Vigna  <jug@sad.it>
13665
13666         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13667         unknow mechanism does not call the proper constructor but only this
13668         one also if I request the other!?
13669
13670 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13671
13672         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13673
13674         * text2.C (LyXText): use initialization lists.
13675
13676         * lyxtext.h (Selection): initialize set_ and mark_
13677         (init): remove method
13678
13679 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13680
13681         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13682
13683 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13684
13685         * screen.[Ch]: change method names to begin with lowercase
13686
13687         * BufferView_pimpl.C (updateScrollbar): simplify further and
13688         hopefully make it a bit faster.
13689
13690 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13691
13692         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13693         calling directly xforms functions.
13694
13695         * Painter.C (Painter):
13696         * lyx_cb.C (MenuWrite):
13697         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13698         fl_display.
13699
13700         * lyx_gui.C: remove bogus guiruntime extern declaration.
13701
13702 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13703
13704         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13705         in NEW_INSETS
13706         (redoDrawingOfParagraph): ditto
13707         (redoParagraphs): ditto
13708         (cutSelection): don't create a object for CutAndPaste use the
13709         static method directly
13710         (pasteSelection): ditto
13711
13712         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13713         LyXview (+ rename)
13714
13715 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13716
13717         * modifications to some other files because of this.
13718
13719         * Makefile.am (lyx_SOURCES): add XFormsView
13720
13721         * XFormsView.[Ch]: new files
13722
13723         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13724         the main window. Move the gui dependent stuff to XFormsView
13725
13726 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13727
13728         * tabular.C (GetCellInset): update cur_cell also in the row/col
13729         version of this function.
13730
13731         * lyxfunc.C: no need to include figure_form.h here.
13732
13733         * FontLoader.h:
13734         * lyxfunc.h:
13735         * lyxscreen.h:
13736         * text2.C:
13737         * lyxvc.C: no need to include forms.h here.
13738
13739 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13740
13741         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13742
13743         * lyxfunc.C (Dispatch):
13744         * Spacing.C (set):
13745         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13746         constructor argument.
13747
13748 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13749
13750         * paragraph.C (Paragraph): dont't clear, and just set layout.
13751         (makeSameLayout): use params's copy contructor.
13752
13753         * ParagraphParameters.[Ch] (makeSame): delete method
13754
13755 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13756
13757         * Variables.[Ch]: fix indentation, rename set to isSet
13758
13759 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13760
13761         * lyxfunc.C (Dispatch): fix typo
13762
13763 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13764
13765         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13766         upper_bound.
13767
13768         * bufferlist.C: include assert.h for emergencyWrite().
13769
13770 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13771
13772         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13773           give up at last (bug #425202) !
13774
13775 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13776
13777         * lyx_gui_misc.C:
13778         * sp_form.h:
13779         * sp_form.C:
13780         * spellchecker.h:
13781         * spellchecker.C: strip spellchecker options and bring up
13782           preferences tab instead
13783
13784 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13785
13786         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13787         the istringstream constructor
13788
13789 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13790
13791         * paragraph.C (getLayout): fix return value
13792
13793         * paragraph.h: do not declare getLayout as inline.
13794
13795         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13796
13797 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13798
13799         * lyxcursor.h (operator<): new func
13800         (operator>): new func
13801         (operator>=): new func
13802         (operator<=): new func
13803
13804         * text.C (changeCase): use selection.start and selection.end
13805         (changeRegionCase): require from to be <= to. Require par to be a
13806         valid paragraph.
13807
13808         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13809
13810 2001-06-27  Juergen Vigna  <jug@sad.it>
13811
13812         * text.C (cursorLeftOneWord): changed to return the cursor and added
13813         overlay with BufferView * parameter which calls this one.
13814         (getWord): added
13815         (selectWord): use new getWord function.
13816         (changeCase): renamed from changeWordCase as and extended to work
13817         also on selections.
13818
13819         * lyxtext.h: added enum word_location
13820
13821         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13822         changeCase as this operates now also on selections.
13823
13824 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13825
13826         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13827
13828         * many files: send debug output to Debug::INFO instead of
13829         Debug::ANY.
13830
13831         * converter.C (View):
13832         (Convert):
13833         (Move): send debug output to Debug::FILES instead of console.
13834
13835 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13836
13837         * lyxfunc.C (getStatus): use func_status
13838
13839         * func_status.h: new header, describing the results of
13840         LyXFunc::getStatus;
13841
13842         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13843         LFUN_MATH_HALIGN.
13844
13845 2001-06-25  The LyX Project  <jug@sad.it>
13846
13847         * buffer.C (sgmlOpenTag):
13848         (sgmlCloseTag):
13849         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13850
13851 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13852
13853         * text2.C: remove some dead code
13854
13855         * tabular.C (GetCellInset): store the last cell checked (gotten)
13856
13857         * tabular.h: add the helper for the speedup
13858
13859         * lyxtext.h: remove some dead code
13860
13861 2001-06-26  The LyX Project  <Asger>
13862
13863         * paragraph.C: Change export to LaTeX of alignment to
13864         \begin{center} and family for better roundtrip work with reLyX.
13865
13866         * Tune the math drawing a bit.
13867
13868 2001-06-25  The LyX Project  <Asger>
13869
13870         * LColor.C (LColor): New color for math background. New color
13871         for buttons.
13872
13873 2001-06-25  The LyX Project  <jug@sad.it>
13874
13875         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13876
13877         * lyxfunc.C (Open):
13878         * bufferlist.C (newFile): do not restrict to files ending with
13879         .lyx
13880
13881         * BufferView_pimpl.C (MenuInsertLyXFile):
13882
13883 2001-06-24  The LyX Project  <jug@sad.it>
13884
13885         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13886         of compare_no_case
13887
13888 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13889
13890         * lyxtext.h: rename most methods to begin with a small char.
13891         Lots of changes because of this.
13892
13893         * paragraph.C (Paragraph): do not call fitToSize
13894         (erase): call Pimpl::erase
13895         (insertChar): call Pimpl::insertChar
13896         (insertInset): call Pipl::insertInset
13897         (breakParagraph): do not call fitToSize
13898         (breakParagraphConservative): do not call fitToSize
13899         (fitToSize): remove method
13900
13901         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13902
13903 2001-06-24  The LyX Project  <Asger>
13904
13905         * Fix Qt compilation^2
13906
13907 2001-06-24  The LyX Project  <jug@sad.it>
13908
13909         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13910         depthHook(getDepth()-1).
13911
13912         * paragraph.h:
13913         * ParagraphParameters.h:
13914         * ParameterStruct.h: change type of depth to unsigned int ==
13915         depth_type. Many adaptations to other files before of that.
13916
13917 2001-06-24  The LyX Project  <Asger>
13918
13919         * Fix Qt compilation.
13920
13921 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13922
13923         * paragraph.h: renamed several methods to begin with small letter.
13924         several changes to many parts of the code because of this.
13925
13926 2001-06-23  The LyX Project  <jug@sad.it>
13927
13928         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13929         rewritten to discard all double spaces when KeepEmpty is off
13930         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13931         to only handle newlines but not fiddle with spaces and friends.
13932
13933         * lyxfunc.C (MenuNew): when doing 'new from template', use
13934         template_path as default directory
13935
13936 2001-06-23  The LyX Project  <Asger>
13937
13938         * Clean-up of header file includes all over
13939         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13940
13941 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13942
13943         * paragraph.h: renamed from lyxparagraph.h
13944
13945 2001-06-23  Asger  <lyx@violet.home.sad.it>
13946
13947         * Buffer.h: Removed Buffer::resize
13948         * BufferList.h: Removed BufferList::resize
13949         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13950         the document lazily when we change the width, or the font settings.
13951
13952 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13953
13954         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13955
13956 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13957
13958         * buffer.h: remove out of date comment
13959
13960 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13961
13962         * lyxscreen.h:
13963         * screen.C: fix "theoretical" GC leak
13964
13965 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13966
13967         * LaTeX.C (scanAuxFile):
13968         (deplog): remove trailing \r when reading stream (useful under
13969         win32)
13970
13971 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13972
13973         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13974         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13975         and BufferView::theLockingInset(Inset*), so should use them and not
13976         access bv_->text->the_locking_inset directly.
13977
13978         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13979
13980 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13981
13982         * Makefile.am:
13983         * tex-defs.h: remove old unused file
13984
13985 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13986
13987         * BufferView_pimpl.C: fix typo, remove minibuffer message
13988           when buffer has loaded
13989
13990 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13991
13992         * lyxfunc.C (Dispatch): use stringstream
13993         (MenuNew): use stringstream
13994         (Open): use stringstream
13995
13996         * importer.C (Import): use stringstream
13997
13998         * bufferview_funcs.C (CurrentState): use stringstream
13999
14000         * LaTeX.C (run): use stringstream
14001
14002         * BufferView_pimpl.C (savePosition): use stringstream
14003         (restorePosition): use stringstream
14004         (MenuInsertLyXFile): use stringstream
14005
14006 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14007
14008         * BufferView.C:
14009         * Bullet.C:
14010         * ColorHandler.C:
14011         * FontInfo.C:
14012         * FontLoader.C:
14013         * LColor.C:
14014         * LaTeXFeatures.C:
14015         * Painter.C:
14016         * gettext.C:
14017         * lyx_gui_misc.C:
14018         * lyxserver.C:
14019         * vspace.C: removed // -*- C++ -*- as first line.
14020
14021         * lyxfind.h:
14022         * version.h: added // -*- C++ -*- as first line.
14023
14024 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14025
14026         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14027
14028         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14029         of string
14030
14031 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14032
14033         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14034         of floats.
14035
14036 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14037
14038         * gettext.C: include LString.h even when --disable-nls is on.
14039
14040 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14041
14042         * converter.h (Get): changed argument type from int to
14043         FormatList::size_type to avoid unnecessary conversion.
14044
14045         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14046         before using it.
14047
14048 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14049
14050         * gettext.h: include LString.h even when --disable-nls is on.
14051
14052 2001-06-07  Juergen Vigna  <jug@sad.it>
14053
14054         * text.C (BreakAgain): subst spaces with tabs.
14055
14056         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14057         (resizeInsetsLyXText): set force on resizeLyXText.
14058
14059 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14060
14061         * gettext.h (gettext_init):
14062         (locale_init): use a real definition instead of a macro
14063
14064 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14065
14066         * Bufferview_pimpl.C:
14067         * LColor.h:
14068         * LColor.C: further lcolor tidies
14069
14070 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14071
14072         * BufferView_pimpl.C (updateScrollbar): simplify.
14073
14074         * BufferView2.C: don't include insets/insetinfo.h, change
14075         prototype for insertInset and call the Pimpl version. let
14076         updateInset call Pimpl version.
14077
14078         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14079         gotoInset to BufferView::Pimpl
14080
14081 2001-06-01  Juergen Vigna  <jug@sad.it>
14082
14083         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14084         inside a LockingInset (is the update needed at all?).
14085
14086 2001-05-31  Juergen Vigna  <jug@sad.it>
14087
14088         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14089         here not the old one otherwise how should we compare it afterwards
14090         if it's the same!
14091
14092 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14093
14094         * lyxfont.C:
14095         * tabular.C:
14096         * tabular-old.C:
14097         * FontInfo.C: bring C functions into global namespace when
14098         necessary
14099
14100 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14101
14102         * LString.h: make sure config.h has been loaded before LString.h.
14103
14104         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14105         (one for each char read by EatLine!).
14106
14107         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14108         variables.
14109
14110 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14111
14112         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14113         to the same as the par we break from
14114
14115 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14116
14117         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14118
14119         * MenuBackend.C (expand): also create menu entries for wide
14120         versions of the floats.
14121
14122         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14123
14124         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14125
14126         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14127         frontends/Makefile.am
14128
14129         * text2.C: adjust
14130         * text.C: adjust
14131
14132
14133         * tabular.C (getTokenValue): add std::
14134
14135         * tabular-old.C (getTokenValue): add std::
14136         (getTokenValue): ditto
14137         (getTokenValue): ditto
14138
14139         * screen.C (ToggleSelection): adjust
14140
14141         * lyxtext.h: put selection cursors inside a Selection struct.
14142
14143         * lyxfunc.C (moveCursorUpdate): adjust
14144
14145         * lyxfont.C (latexWriteStartChanges): add std::
14146
14147         * lyxfind.C: adjust
14148
14149         * font.h: delete with(char const *, LyXFont const &)
14150
14151         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14152
14153         * FontInfo.C (getFontname): add std::
14154
14155         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14156         (workAreaButtonPress): adjust
14157         (tripleClick): adjust
14158         (update): adjust
14159         (moveCursorUpdate): adjust
14160         (Dispatch): adjust
14161
14162         * BufferView2.C (gotoInset): adjust
14163
14164 2001-05-30  Juergen Vigna  <jug@sad.it>
14165
14166         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14167         to check pspell I add this as default as I now have new pspell
14168         libraries and they seem to use this.
14169
14170 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14171
14172         * text2.C (CutSelection): make the cursor valid before the call to
14173         ClearSelection.
14174
14175 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14176
14177         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14178         relied on 0 terminated strings and other horrors. Bug found due to
14179         the new assert in lyxstring!
14180
14181         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14182         KP_ keys.
14183
14184 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14185
14186         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14187         to latinkeys.bind.
14188
14189         * lyxfunc.C (processKeySym): change method of getting to the
14190         self-insert char.
14191
14192         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14193         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14194         * BufferView_pimpl.[Ch]: here as private methods.
14195
14196 2001-05-28  Juergen Vigna  <jug@sad.it>
14197
14198         * text.C (SetHeightOfRow): added the update() call again as it is
14199         needed to initialize inset dimensions!
14200
14201 2001-05-16  Juergen Vigna  <jug@sad.it>
14202
14203         * text2.C (SetCharFont): Add new function with BufferView * and
14204         bool toggleall parameters for setting insets internal fonts.
14205         (SetFont): Freeze the undo as we may change fonts in Insets and
14206         all this change should be inside only one Undo!
14207
14208         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14209         setting font's in insets as for them we have the SetFont function!
14210
14211 2001-05-15  Juergen Vigna  <jug@sad.it>
14212
14213         * text2.C (ClearSelection): to be sure we REALLY don't have any
14214         selection anymore!
14215
14216         * tabular.C (TeXCellPreamble): fixed the left border problem for
14217         multicolumn cells.
14218
14219 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14220
14221         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14222         dependancy file
14223
14224 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14225
14226         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14227         LFUN_BREAKPARAGRAPH.
14228
14229         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14230         help test to "internal only", similar for LFUN_INSERT_URL
14231
14232         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14233         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14234         auto_region_delete and deadkeys.
14235
14236 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14237
14238         * LColor.h:
14239         * LColor.C: remove some dead entries, tidy a little
14240
14241 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14242
14243         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14244         commented code.
14245         (Dispatch): implement LFUN_ESCAPE
14246
14247         * commandtags.h: add LFUN_ESCAPE
14248
14249         * LyXAction.C (init): add entry for LFUN_ESCAPE
14250
14251         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14252         Remove commented code.
14253         (insertNote): moved here
14254         (open_new_inset): moved here
14255
14256         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14257         BufferView_pimpl
14258
14259 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14260
14261         * kbmap.C (findbinding): clean it up and make it work correctly.
14262
14263         * lyx_main.C (init): do not pass argc and argv as parameters
14264
14265 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14266
14267         * buffer.C: fix path for OS/2 & Win32
14268
14269         * lyx_gui.C:
14270         * lyx_main:
14271         * lyx_main.C: Added os:: class.
14272
14273         * os2_defines.h: update
14274
14275 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14276
14277         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14278         better by trying again with reduced state.
14279
14280 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14281
14282         * lyxrc.C (read): print error about invalid key sequence only when
14283         debugging (because not all latinX keysyms are known to some X
14284         servers)
14285
14286         * kbsequence.C (getiso): add a few std:: qualifiers
14287         (getiso): comment out extra return statement.
14288
14289 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14290
14291         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14292         handling.
14293         (Dispatch): enhance the accent inset a bit. (not perfect)
14294
14295 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14296
14297         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14298
14299 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14300
14301         * bufferlist.C (emergencyWrite): fix assert() call
14302
14303 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14304
14305         * text.C (InsertChar): Added trivial patch to only send the "you
14306         can not do multiple spaces this way" message once during a
14307         session.
14308
14309 2001-05-08  Baruch Even  <baruch@lyx.org>
14310
14311         * Makefile.am: Changed order of libraries to get LyX to link properly
14312         with the gnome frontend.
14313
14314 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14315
14316         * LaTeXFeatures.h: add a std:: qualifier
14317
14318 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14319
14320         * paragraph.C (String): use stringstream
14321
14322 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14323
14324         * paragraph.C (writeFile): remove footflag arg
14325
14326         * buffer.C (makeLaTeXFile): use stringstream
14327         (latexParagraphs): remove footnot gurba
14328
14329         * LaTeXFeatures.C (getPackages): use stringstream
14330         (getMacros): likewise
14331         (getTClassPreamble): likewise
14332         (getFloatDefinitions): new method
14333
14334         * paragraph.C (writeFile): reindent
14335         (Erase): reindent
14336
14337         * WorkArea.h: revert the xpos + etc changes.
14338
14339         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14340
14341         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14342
14343         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14344         (pasteSelection): likewise
14345         * text2.C (CreateUndo): likewise
14346
14347 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14348
14349         * minibuffer.C (peek_event): temporarily reduce the functionality
14350         of the minibuffer (to allow args on lfuns)
14351
14352         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14353         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14354
14355         * buffer.C (readInset): add compability reading of old float
14356         lists, add reading of new style float list.
14357         (readInset): avoid reevaluation of inscmd.getCmdName()
14358         (getLists): reindent
14359
14360         * MenuBackend.C (MenuItem): implement parsing of
14361         md_floatlistinsert and md_floatinsert.
14362         (expand::LastFiles): move initalizaton of iterators out of loop,
14363         avoid reevaluation.
14364         (expand::Documents): introduce typdedef vector<string> Strings,
14365         and use it.
14366         (expand::ExportFormats): introduce typedef vector<Format const *>
14367         Formats, and use it.
14368         (expand): implement FloatListInsert and FloatInsert.
14369
14370         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14371         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14372         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14373
14374         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14375         handling.
14376         (Dispatch::LFUN_FLOAT_LIST): implement
14377
14378 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14379
14380         * LaTeX.C (run): Fix problem with --export code.
14381
14382 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14383
14384         * BufferView.[Ch] (workarea): removed.
14385         (getClipboard) new method; wrapper for workarea()->getClipboard()
14386
14387         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14388         bug.
14389
14390         * WorkArea.h (width, height, xpos, ypos): These methods all
14391         returned the dimensions of the work_area sub-area of WorkArea,
14392         resulting in a position error if the WorkArea were resized. Now
14393         return the dimensions of the entire WorkArea.
14394
14395         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14396
14397 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14398
14399         * LaTeX.C (deplog): correct the syntax of regex reg1
14400
14401 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14402
14403         * undo.C: remove !NEW_INSETS cruft
14404
14405 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14406
14407         * text2.C: remove !NEW_INSETS cruft
14408
14409         * text.C: remove !NEW_INSETS cruft
14410
14411         * tabular.C: remove !NEW_INSETS cruft
14412
14413         * spellchecker.C: remove !NEW_INSETS cruft
14414
14415         * lyxtext.h: remove !NEW_INSETS cruft
14416
14417         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14418
14419         * lyxfunc.C: remove !NEW_INSETS cruft
14420
14421         * lyxfind.C: remove !NEW_INSETS cruft
14422
14423         * lyx_cb.C: remove !NEW_INSETS cruft
14424
14425         * figureForm.C: remove  !NEW_INSETS cruft
14426
14427         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14428
14429         * buffer.[Ch]: remove !NEW_INSETS cruft
14430
14431         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14432
14433         * CutAndPaste.C: remove !NEW_INSETS cruft
14434
14435         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14436
14437         * BufferView2.C: remove !NEW_INSETS cruft
14438
14439         * BufferView.h: remove !NEW_INSETS cruft
14440
14441 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14442
14443         * Lsstream.h: include LString.h before the sstream headers to
14444         fix problem with gcc 2.95.3 and lyxstring
14445
14446 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14447
14448         * lyx_main.C: add using directives when needed for C functions
14449         declared in std:: namespace.
14450
14451 2001-04-27  Juergen Vigna  <jug@sad.it>
14452
14453         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14454         (SetHeightOfRow): comment out the update call should not be needed!
14455
14456 2001-04-13  Juergen Vigna  <jug@sad.it>
14457
14458         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14459         (LyXTabular): tried to minimize operator= operations (and realized
14460         hopfully Lars wish).
14461
14462 2001-04-27  Juergen Vigna  <jug@sad.it>
14463
14464         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14465
14466 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14467
14468         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14469
14470         * buffer.C (readInset): hack to make listof algorithm work
14471
14472         * BufferView_pimpl.C: hack to make listof algorithm work
14473
14474 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14475
14476         * LyXAction.C: removed all !NEW_INSETS cruft
14477         (init): moved lfun_item in method
14478
14479         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14480
14481 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14482
14483         * BufferView2.C (theLockingInset): white space.
14484
14485 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14486
14487         * minibuffer.C: include <iostream>
14488
14489         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14490
14491         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14492
14493         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14494
14495         * text.[Ch] (TransposeChars): new method
14496
14497 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14498
14499         * call message directly through LyXView instead of through LyXFunc
14500         * BufferView2.C: adjust
14501         * BufferView_pimpl.C: adjust
14502         * FontLoader.C: adjust
14503         * buffer.C: adjust
14504         * bufferview_funcs.C: adjust
14505         * converter.C: adjust
14506         * figureForm.C: adjust
14507         * importer.C: adjust
14508         * lyx_cb.C: adjust
14509         * lyx_gui_misc.C: adjust
14510         * lyxfunc.C: adjust
14511         * lyxvc.C: adjust
14512         * text2.C: adjust
14513         + more files in subdirs
14514
14515         * lyxparagraph.h (size): move up int file
14516         (GetLayout): ditto
14517
14518         * adjust all uses of Assert to lyx::Assert.
14519
14520         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14521         lyxfunctional in namespace lyx
14522         * layout.C (hasLayout): ditto
14523         (GetLayout): ditto
14524         (GetLayout): ditto
14525         (delete_layout): ditto
14526         (NumberOfClass): ditto
14527         * converter.C (GetFormat): ditto
14528         (GetNumber): ditto
14529         (Add): ditto
14530         (Delete): ditto
14531         (SetViewer): ditto
14532         * bufferlist.C (getFileNames): ditto
14533         (emergencyWriteAll): ditto
14534         (exists): ditto
14535         (getBuffer): ditto
14536         * MenuBackend.C (hasSubmenu): ditto
14537         (hasMenu): ditto
14538         (getMenu): ditto
14539         * BufferView_pimpl.C (getInsetByCode): ditto
14540
14541 2001-04-18  Juergen Vigna  <jug@sad.it>
14542
14543         * vspace.C (asLatexString): fixed the 100% problem.
14544
14545 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14546
14547         * lyxfunc.C (Dispatch):
14548         * minibuffer.C:
14549         * minibuffer.h: add a few std:: qualifiers
14550
14551 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14552
14553         * minibuffer.[Ch]: reimplement so that commands is initiated and
14554         run from lyxfunc, simplified som handling, and made the completion
14555         and history code for complete. wip.
14556
14557         * lyxfunc.C (processKeySym): call message
14558         (miniDispatch): new temporary method
14559         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14560         (LFUN_MESSAGE): implement
14561         (LFUN_MESSAGE_PUSH): implement
14562         (LFUN_MESSAGE_POP): implement
14563         (initMiniBuffer): the initial/defualt minibuffer message.
14564
14565         * lyxfont.[Ch]: inline some more getters
14566
14567         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14568
14569         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14570
14571         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14572         (AutoSave): use LFUN_MESSAGE
14573         (Reconfigure): ditto
14574
14575         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14576
14577         * figureForm.C: use LFUN_MESSAGE
14578
14579         * converter.C (runLaTeX): use LFUN_MESSAGE
14580
14581         * bufferview_funcs.C: use LFUN_MESSAGE
14582         (Melt): ditto
14583         (changeDepth): ditto
14584
14585         * bufferparams.h: use boost::
14586
14587         * bufferlist.h: inherit privately from noncopyable
14588
14589         * bufferlist.C (loadLyXFile): remove some commented code.
14590
14591         * buffer.C (runChktex): use LFUN_MESSAGE
14592
14593         * ShareContainer.h: inherit privately from noncopyable
14594
14595         * ParagraphParameters.[hC] (depth): inline it.
14596
14597         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14598         methods.
14599         (message): new method
14600         (messagePush): ditto
14601         (messagePop): ditto
14602         (show): init minibuffer
14603         (showState): direct call
14604
14605         * LaTeX.[Ch]: inherit privately from noncopyable
14606         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14607         instead of WriteStatus.
14608
14609         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14610
14611         * BufferView_pimpl.C (buffer): don't init minibuffer
14612         (workAreaButtonPress): use LFUN_MESSAGE
14613         (workAreaButtonRelease): ditto
14614         (savePosition): ditto
14615         (restorePosition): ditto
14616         (MenuInsertLyXFile): ditto
14617         (workAreaExpose): don't init minibuffer
14618         (update): remove commented code, simplify
14619
14620         * BufferView2.C (openStuff): use LFUN_MESSAGE
14621         (toggleFloat): ditto
14622         (menuUndo): ditto
14623         (menuRedo): ditto
14624         (copyEnvironment): ditto
14625         (pasteEnvironment): ditto
14626         (copy): ditto
14627         (cut): ditto
14628         (paste): ditto
14629         (gotoInset): ditto
14630         (updateInset): remove some commented code
14631
14632         * lastfiles.h: inherit privately from noncopyable
14633         * layout.h: ditto
14634         * lyx_gui.h: ditto
14635         * lyx_main.h: ditto
14636         * lyxlex.h: ditto
14637         * lyxlex_pimpl.h: ditto
14638
14639         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14640         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14641         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14642
14643         * LyXAction.h: inherit privately from noncopyable, add methods
14644         func_begin, func_end, returning iterators to the func map.
14645
14646         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14647         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14648         (func_begin): new method
14649         (func_end): new method
14650
14651         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14652         and not)
14653         (copySelection): ditto
14654         (pasteSelection): ditto
14655
14656         * BufferView.C: whitespace change
14657         * BufferView.h: inherit privately from noncopyable
14658
14659 2001-04-16  Allan Rae  <rae@lyx.org>
14660
14661         * tabular-old.C (l_getline):
14662         * spellchecker.C (sc_check_word):
14663         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14664         an unrecognised preprocessor directive.  So ensure they're wrapped.
14665
14666 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14667
14668         * src/exporter.C (Export): Give an error message when path to file
14669         contains spaces.
14670
14671 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14672
14673         * LaTeX.C (deplog): Always check that foundfile exists.
14674
14675 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14676
14677         * lyx_main.h:
14678         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14679
14680 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14681
14682         * tabular.[Ch] (getLabelList): implement new method
14683
14684         * minibuffer.h: comment ouf setTiimer
14685
14686         * minibuffer.C (ExecutingCB): constify res
14687         (peek_event): constify s
14688         (Set): constify ntext
14689         (Init): constify nicename
14690
14691         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14692
14693         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14694         (savePosition): use two params to Minibuffer::Set
14695         (restorePosition): ditto
14696
14697 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14698
14699         * lyx_main.C: include language.h
14700
14701         * Makefile.am (lyx_main.o): add language.h
14702
14703 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14704
14705         * exporter.C:
14706         * paragraph.C:
14707         * screen.C:
14708         * tabular.C:
14709         * CutAndPaste.C: include gettext.h
14710
14711         * lyxfont.h: remove old hack with ON and OFF.
14712
14713         * lyxparagraph.h:
14714         * lyxfont.h: do not include language.h...
14715
14716         * BufferView2.C:
14717         * LaTeXFeatures.C:
14718         * Painter.C:
14719         * bufferview_funcs.C:
14720         * font.C:
14721         * lyxfont.C:
14722         * text.C:
14723         * text2.C:
14724         * trans_mgr.C:
14725         * paragraph.C: ... but do it here instead
14726
14727 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14728
14729         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14730
14731         * tabular.C: small reformat
14732
14733         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14734         NEW_INSETS version
14735         (GetChar): ditto
14736         (BreakParagraph): ditto
14737         (SetOnlyLayout): ditto
14738         (SetLayout): ditto
14739
14740         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14741         with one arg less.
14742
14743         * lastfiles.C: removed most using decl, add std:: where needed
14744
14745         * buffer.C: ws changes
14746
14747         * MenuBackend.C (class compare_format): put into anon namespace
14748         (expand): constify label, names, action, action2
14749         (expand):
14750
14751         * text.C (SingleWidth): constify font
14752         (IsBoundary): constify rtl2
14753         (GetVisibleRow): constify ww
14754
14755         * LaTeX.C (deplog): constify logfile
14756
14757         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14758         start_x, end_x
14759         (workAreaExpose): constify widthChange, heightChange
14760
14761         * lyxrow.C (par): moved
14762         (height): moved
14763         (next): moved
14764         * lyxrow.h: as inlines here
14765
14766         * lyxfont.h (shape): moved from lyxfont.C
14767         (emph): moved from lyxfont.C
14768
14769         * lyxfont.C (LyXFont): use initialization list for all
14770         constructors
14771         (shape): move to lyxfont.h as inline
14772         (emph): move to lyxfont.h as inline
14773
14774
14775 2001-04-04  Juergen Vigna  <jug@sad.it>
14776
14777         * vspace.C: had to include stdio.h for use of sscanf
14778
14779 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14780
14781         * BufferView.h:
14782         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14783         independent of xforms.
14784
14785 2001-04-02  Juergen Vigna  <jug@sad.it>
14786
14787         * spellchecker.C: fixed namespace placing!
14788
14789 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14790
14791         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14792         the LyXParagraph * is 0.
14793
14794 2001-03-29  Juergen Vigna  <jug@sad.it>
14795
14796         * vspace.C: added support for %, c%, p%, l%.
14797         (stringFromUnit): added helper function.
14798         (asLatexString): changed to give right results for the %-values.
14799
14800         * buffer.C: convert the widthp in a width%.
14801
14802 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14803
14804         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14805         figureForm.[Ch].
14806
14807         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14808         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14809
14810         * lyx_cb.[Ch]: see above.
14811
14812         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14813         form1.[Ch].
14814
14815         * form1.[Ch]:
14816         * lyx.[Ch]: replaced by figure_form.[Ch].
14817
14818         * lyx_gui.C:
14819         * lyx_gui_misc.C:
14820         * lyxfunc.C: changed headers associated with above changes.
14821
14822 2001-03-27  Juergen Vigna  <jug@sad.it>
14823
14824         * BufferView_pimpl.C: set the temporary cursor right!
14825
14826 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14827
14828         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14829
14830 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14831
14832         * LString.h: removed "using std::getline"!
14833
14834         * BufferView_pimpl.C (Dispatch): changes due to changes in
14835         InsetInclude::Params.
14836
14837         * buffer.C (tag_name): removed redundant break statements as they were
14838         producing lots of warnings with my compiler.
14839
14840 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14841
14842         * LString.h: add "using std::getline" when using the real <string>.
14843
14844 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14845
14846         * buffer.C: removed bitset usage.
14847         PAR_TAG moved to an anonymous name space.
14848         (tag_name): new funtion, also in the anonymous namespace.
14849         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14850         (makeDocBookFile): clean code. Completed transition from string arrays
14851         to string vectors.
14852         (SimpleDocBookOnePar): code clean.
14853
14854 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14855
14856         * tabular.C: add some comments.
14857
14858 2001-03-22  Juergen Vigna  <jug@sad.it>
14859
14860         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14861         compatibility read a bit and fixed bug with minipage in different
14862         depth.
14863
14864 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14865
14866         * buffer.C (pop_tag): removed.
14867         (push_tag): removed.
14868         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14869         array replaced with vector. Added support for CDATA sections.
14870         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14871         at any nest level.
14872         (makeDocBookFile): XML conformant declaration of CDATA section,
14873         fixed bug related to <emphasis> in the first paragraph char.
14874         (sgmlOpenTag): exclude empty tags.
14875         (sgmlCloseTag): ditto.
14876
14877         * buffer.h (pop_tag): removed.
14878         (push_tag): removed.
14879
14880 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14881
14882         * language.h (Languages): added size_type and size().
14883
14884 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14885
14886         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14887         response on compability reading of minipages. One probliem is that
14888         the old usage of minipages was «flertydig»
14889
14890         * several files here and in subdirs: don't use static at file
14891         scope use anon namespaces instead.
14892
14893 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14894
14895         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14896         LaTeX output. This is necessary for Literate document
14897         processing.
14898
14899 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14900
14901         * buffer.C: insert hfill when needed.
14902
14903         * tabular.C (l_getline): use string::erase, small whitespace change.
14904
14905         * BufferView_pimpl.C: try the anon namespace.
14906         * WorkArea.C: ditto
14907
14908 2001-03-16  Juergen Vigna  <jug@sad.it>
14909
14910         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14911         otherwise it won't open options-dialogs.
14912
14913         * buffer.C: honor pextraWidth(p) on converting minipages.
14914
14915         * tabular.C (l_getline): changed the functions to strip trailing \r.
14916
14917 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14918
14919         * BufferView_pimpl.C:
14920         * minibuffer..C: added "using SigC::slot" declaration.
14921
14922 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14923
14924         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14925
14926         * text2.C: ditto
14927
14928         * text.C: ditto
14929
14930         * paragraph.C: ditto
14931
14932         * lyxtext.h: NO_PEXTRA
14933
14934         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14935
14936         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14937         * ParameterStruct.h: ditto
14938         * ParagraphParameters.h: ditto
14939         * lyxparagraph.h: ditto
14940
14941 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14942
14943         * buffer.C: add compability for minipage alignment.
14944         (latexParagraphs): remove unwanted pextra check.
14945
14946         * several files: remove CXX_WORKING_NAMESPACES
14947
14948         * buffer.C (pop_tag): tie is in namespace boost
14949
14950         * BufferView.h: noncopyable is in namespace boost
14951         * lyxlex.h: ditto
14952         * lyx_main.h: ditto
14953         * lyx_gui.h: ditto
14954         * layout.h: ditto
14955         * lastfiles.h: ditto
14956         * bufferlist.h: ditto
14957         * ShareContainer.h: ditto
14958         * LyXView.h: ditto
14959         * LyXAction.h: ditto
14960         * LaTeX.h: ditto
14961
14962 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14963
14964         * Merging changes from BRANCH_MVC back into HEAD.
14965
14966         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14967
14968 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14969
14970         * BufferView_pimpl.C: change from intl.C
14971
14972         * combox.h:
14973         * combox.C:
14974         * Makefile.am: move combox.*
14975
14976         * form1.h:
14977         * form1.C:
14978         * lyx_gui.C:
14979         * intl.h:
14980         * intl.C: remove dialog (covered by prefs)
14981
14982 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14983
14984         * lyxfunc.C (Dispatch): removed redundant break statement.
14985
14986 2001-03-14  Juergen Vigna  <jug@sad.it>
14987
14988         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14989
14990 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14991
14992         * buffer.C: add hack to fix compability reading of minipages.
14993
14994 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14995
14996         * buffer.C (getLists): Cleanup.
14997
14998 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14999
15000         * lyxfont.C (update): don't honor toggleall on font size.
15001
15002 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15003
15004         * bmtable.c:
15005         * bmtable.h:
15006         * Makefile.am: moved to frontends/xforms/
15007
15008         * lyx_gui_misc.C:
15009         * lyxfunc.C:
15010         * BufferView_pimpl.C: changes for moved mathpanel
15011
15012 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15013
15014         * gettext.h: fix gettext_init() in --disable-nls
15015
15016 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15017
15018         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15019
15020 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15021
15022         * lyx.C:
15023         * lyx.h: strip external form
15024
15025 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15026
15027         * BufferView_pimpl.C: add comment, destroySplash()
15028
15029 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15030
15031         * BufferView_pimpl.C:
15032         * LyXAction.C:
15033         * buffer.C:
15034         * commandtags.h:
15035         * lyxfunc.C: use re-worked insetinclude
15036
15037 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15038
15039         * buffer.C: add using std::stringstream.
15040
15041         * lyx_cb.C: readd using std::ios.
15042
15043         * buffer.C: add using std::map.
15044
15045         * BufferView_pimpl.C: add using std::vector.
15046
15047         * ShareContainer.h: add std:: to swap.
15048
15049         * buffer.h: add some typedefs
15050         * buffer.C (getLists): use them
15051         (getLists): renamed from getTocList.
15052         add a counter for the different float types and use it in the
15053         generated string.
15054         (getLists): use the same counter for the NEW_INSETS and the "non"
15055         NEW_INSETS
15056
15057         * lyx_cb.h: remove unused items, includes, using etc.
15058
15059         * ShareContainer.h: remove some commented code, add more comments
15060         and "documentation".
15061
15062 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15063
15064         * buffer.C (getTocList): make the list also when NEW_INSETS is
15065         defined.
15066
15067         * buffer.h: remove TocType
15068
15069         * buffer.C (getTocList): change to return a map<string,
15070         vector<TocItem> >, implement for dynamic number of list.
15071
15072         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15073         * text2.C (PasteSelection): adjust
15074         * CutAndPaste.C (pasteSelection): adjust
15075
15076         * FloatList.C (FloatList): update from the new_insets branch.
15077         * Floating.[Ch]: ditto
15078         * LaTeXFeatures.C: ditto
15079         * buffer.C: ditto
15080         * lyxlex_pimpl.C: ditto
15081
15082         * paragraph.C (Last): remove when NEW_INSETS is defined.
15083
15084         * other file: changes because of the above.
15085
15086 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15087
15088         * lyxparagraph.h: rename next to next_, previous to previous_,
15089         make them private for NEW_INSETS. Rename Next() to next(),
15090         Previous() to previous().
15091
15092         * other files: changes because of the above.
15093
15094 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15095
15096         * BufferView.h:
15097         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15098         problem.
15099
15100 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15101
15102         * main.C (main): pass lyx_localedir to gettext_init().
15103
15104         * gettext.h: remove locale_init and gettext_init macros
15105
15106         * gettext.C (locale_init): new function
15107         (gettext_init): new function
15108
15109         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15110         setlocale().
15111
15112 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15113
15114         * Moved credits to frontends:
15115         * credits.[Ch]: removed
15116         * credits_form.[Ch]: removed
15117         * lyx_gui_misc.C: remove credits stuff
15118         * Makefile.am:
15119
15120 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15121
15122         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15123
15124         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15125         unneeded destructor.
15126
15127         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15128         a standalone pointer again.
15129
15130         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15131
15132 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15133
15134         * Makefile.am:
15135         * filedlg.h:
15136         * filedlg.C:
15137         * LyXAction.C:
15138         * ToolbarDefaults.C:
15139         * bufferlist.C:
15140         * commandtags.h:
15141         * form1.C:
15142         * form1.h:
15143         * lyx_cb.C:
15144         * lyx_cb.h:
15145         * lyxfunc.h:
15146         * lyxfunc.C:
15147         * BufferView_pimpl.C: use new file dialog in GUII
15148
15149         * lyx_cb.h:
15150         * lyx_cb.C: remove LayoutsCB to Toolbar
15151
15152 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15153
15154         * ShareContainer.h (get): add std:: qualifier
15155
15156 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15157
15158         * ShareContainer.h: define a proper ShareContainer::value_type
15159         type (and use typename to please compaq cxx)
15160
15161 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15162
15163         * lyxparagraph.h: move serveral local vars to
15164         ParameterStruct/ParagraphParameters., use ShareContainer in
15165         FontTable., make vars in FontTable private and add getter and
15166         setter.
15167
15168         * paragraph.C: changes because of the above.
15169
15170         * lyxfont.h: remove copy constructor and copy assignment. (the
15171         default ones is ok), move number inside FontBits. move inlines to
15172         lyxfont.C
15173
15174         * lyxfont.C: add number to initializaton of statics, move several
15175         inlines here. constify several local vars. some whitespace
15176         cleanup. Dont hide outerscope variables.
15177
15178         * Spacing.h: add two new constructors to match the set methods.
15179
15180         * ShareContainer.h: new file, will perhaps be moved to support
15181
15182         * ParameterStruct.h: new file
15183
15184         * ParagraphParameters.h: new file
15185
15186         * ParagraphParameters.C: new file
15187
15188         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15189         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15190
15191         * BufferView_pimpl.C: ParagraphParameter changes.
15192         * buffer.C: Likewise.
15193         * bufferview_funcs.C: Likewise.
15194         * text.C: Likewise.
15195         * text2.C: Likewise.
15196
15197 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15198
15199         * lyxfind.C (LyXReplace): do not redefine default argument in
15200         implementation.
15201         (IsStringInText): ditto
15202         (SearchForward): ditto
15203         (SearchBackward): ditto
15204
15205 2001-03-06  Juergen Vigna  <jug@sad.it>
15206
15207         * lyxfind.C (IsStringInText): put parentes around expressions.
15208
15209 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15210
15211         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15212
15213 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15214
15215         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15216
15217         * stl_string_fwd.h: add comment
15218
15219         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15220
15221         * tabular.h:
15222         * tabular.C: remove unused DocBook methods
15223
15224         * intl.C:
15225         * language.C:
15226         * paragraph.C:
15227         * buffer.C:
15228         killed DO_USE_DEFAULT_LANGUAGE
15229
15230 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15231
15232         * lyx_gui.C: do not include language.h.
15233
15234         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15235         arguments in function implementation.
15236
15237 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15238
15239         * BufferView_pimpl.C: add <ctime>
15240
15241 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15242
15243         * BufferView_pimpl.C: add using std::find_if
15244
15245 2001-02-27  José Matos  <jamatos@fep.up.pt>
15246
15247         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15248         by OnlyPath.
15249
15250 2001-02-11  José Matos  <jamatos@fep.up.pt>
15251
15252         * buffer.C (makeDocBookFile): command styles now have a parameter as
15253         "title" by default.
15254
15255 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15256
15257         * layout_forms.[Ch]: removed
15258         * lyx_cb.[Ch]: out character
15259         * lyx_gui.C: out character
15260         * lyx_gui_misc.C: out character
15261         * bufferview_funcs.C: : out character,
15262         added toggleall as parameter in ToggleAndShow
15263
15264 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15265
15266         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15267
15268         * text2.C (SetCurrentFont): Disable number property at boundary.
15269
15270 2001-02-26  Juergen Vigna  <jug@sad.it>
15271
15272         * lyxfunc.C (getStatus): added a string argument override function so
15273         that this is correctly called from LyXFunc::Dispatch if it contains a
15274         do_not_use_argument which is used!
15275         (Dispatch): added check for "custom" export and call appropriate func.
15276
15277 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15278
15279         * lyxrc.C: Add language_command_local, language_use_babel and
15280         language_global_options.
15281
15282         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15283
15284         * buffer.C (makeLaTeXFile): Use language_use_babel and
15285         language_global_options.
15286
15287 2001-02-23  Juergen Vigna  <jug@sad.it>
15288
15289         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15290         which works with LyXText and putted it inside BufferView. Here now we
15291         only call for that part the BufferView::Dispatch() function.
15292
15293         * BufferView.C (Dispatch): added.
15294
15295         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15296         functions which needs to use a LyXText over from LyXFunc.
15297         (MenuInsertLyXFile): added
15298         (getInsetByCode): added
15299         (moveCursorUpdate): added
15300         (static TEXT): added
15301
15302 2001-02-22  Juergen Vigna  <jug@sad.it>
15303
15304         * BufferView_pimpl.C (update): call a status update to see if LyXText
15305         needs it.
15306
15307 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15308
15309         * vc-backend.C (revert): implement for CVS
15310         (getLog): implement for CVS
15311
15312 2001-02-20  Juergen Vigna  <jug@sad.it>
15313
15314         * text2.C (ClearSelection): added BufferView param for inset_owner call
15315
15316         * lyxfunc.C (TEXT): added this function and use it instead of
15317         directly owner->view()-text of getLyXText().
15318
15319 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15320
15321         * src/layout_forms.C: out preamble
15322         * src/layout_forms.h: out preamble
15323         * src/lyx_cb.C: out preamble
15324         * src/lyx_cb.h: out preamble
15325         * src/lyx_gui.C: out preamble
15326         * src/lyx_gui_misc.C: out preamble
15327         * src/lyxfunc.C: connect with guii preamble
15328
15329 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15330
15331         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15332
15333 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15334
15335         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15336         whether to run bibtex.
15337
15338 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15339
15340         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15341
15342 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15343
15344         * Makefile.am (lyx_SOURCES): removed bibforms.h
15345
15346         * vspace.h: doxygen
15347
15348         * text.C (GetVisibleRow): make several local vars const
15349
15350         * tabular.C: small cleanup.
15351
15352         * lyxserver.C (callback): use compare instead of strncmp
15353
15354         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15355         inlines to after class or to paragraph.C
15356
15357         * lyxfont.h: remove friend operator!=
15358
15359         * converter.h: move friend bool operator< to non friend and after
15360         class def.
15361
15362         * combox.h: small cleanup
15363
15364         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15365         to inlines after class def.
15366
15367         * buffer.C (pop_tag): use string operations instead of strcmp
15368
15369         * bmtable.c: doxygen, small cleanup
15370
15371         * LaTeX.h: remove friend operator==
15372
15373 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15374
15375         * screen.C:
15376         * lyxrc.[Ch]:
15377         * lyxfunc.C:
15378         * lyxfont.[Ch]:
15379         * lyx_cb.C:
15380         * intl.[Ch]:
15381         * commandtags.h:
15382         * buffer.C:
15383         * WorkArea.[Ch]:
15384         * LyXAction.C:
15385         * BufferView_pimpl.C:
15386         * BufferView.[Ch]: remove cruft
15387
15388 2001-02-14  Juergen Vigna  <jug@sad.it>
15389
15390         * lyxfunc.C: removed #if 0 unused code
15391
15392         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15393
15394         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15395
15396         * text2.C (SetSelection): added a BufferView * parameter
15397
15398 2001-02-13  Juergen Vigna  <jug@sad.it>
15399
15400         * lyxfunc.C (Dispatch): fixed protected blank problem.
15401         * BufferView2.C (protectedBlank): added LyxText * parameter.
15402
15403         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15404         (AppendColumn): same as above for column_info.
15405
15406         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15407         (moveCursorUpdate): use a LyXText param for support of InsetText.
15408
15409         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15410         (tripleClick): ditto
15411
15412         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15413
15414         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15415
15416         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15417
15418         * text2.C (SetSelection): set correct update status if inset_owner
15419         (ToggleFree): ditto
15420
15421 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15422
15423         * tabular.C: remove some commented code.
15424
15425 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15426
15427         * BufferView_pimpl.C: call hideSplash()
15428
15429         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15430
15431         * include_form.h:
15432         * bibforms.h: remove
15433
15434         * lyxfunc.C:
15435         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15436           add LFUN_CHILD_CREATE
15437
15438         * counters.h: fix tiny typo
15439
15440         * lyx_cb.C:
15441         * lyx.h:
15442         * lyx_gui.C:
15443         * lyx.C: move splash to frontends/xforms/
15444
15445         * lyx_gui_misc.C: move Include and Bibform to frontends
15446
15447         * lyxvc.h: clarify comment
15448
15449         * vspace.C: tiny housekeeping
15450
15451 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15452
15453         * text.C (PrepareToPrint): RTL Fix.
15454
15455         * paragraph.C (GetUChar): New method.
15456         (String):  Use GetUChar.
15457
15458         * buffer.C (asciiParagraph): Use GetUChar.
15459
15460 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15461
15462         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15463
15464 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15465
15466         * buffer.h:
15467         * buffer.C: rename to getLogName(), handle
15468           build log / latex log nicely
15469
15470 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15471
15472         * MenuBackend.C:
15473         * MenuBackend.h: remove support for reference menuitem type.
15474
15475 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15476
15477         * BufferView_pimpl.C: housekeeping
15478         * BufferView_pimpl.h:
15479         * LyXView.h:
15480         * Makefile.am:
15481         * Timeout.C:
15482         * Timeout.h:
15483         * minibuffer.h: move Timeout GUI-I
15484
15485 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15486
15487         * lyxrc.C (read): Update converters data-structures.
15488
15489 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15490
15491         * LaTeX.h (operator!=): add operator != for Aux_Info
15492
15493 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15494
15495         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15496
15497         * LaTeXLog.C: deleted, useful code moved to Buffer
15498
15499         * buffer.h:
15500         * buffer.C: new function getLatexLogName()
15501
15502         * lyx_gui_misc.C:
15503         * lyx_gui.C:
15504         * lyxvc.C:
15505         * lyxvc.h:
15506         * lyxfunc.C: use frontends for LaTeX and VC logs
15507
15508 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15509
15510         * LaTeX.h: yet another std:: that Allan forgot.
15511
15512         * Variables.C (set): renamed from isset(), because this clashes
15513         with some HP-UX macros (grr).
15514
15515 2001-02-06  Allan Rae  <rae@lyx.org>
15516
15517         * LaTeX.h: Another bug fix.  Missing std:: this time.
15518
15519 2001-02-04  Allan Rae  <rae@lyx.org>
15520
15521         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15522         floats problem. I've left it commented out because it's not quite
15523         correct.  It should also test that the current object is a table or
15524         figure inset.  But I haven't gotten around to figuring out how to do
15525         that.  I *think* it'll be something like: "table" == inset.type()
15526
15527         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15528         bool.
15529
15530 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15531
15532         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15533         all the citation/databases/styles in the auxilary file.
15534         (run): Rerun latex if there was a babel language error.
15535
15536 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15537
15538         * text.C (Backspace): Preserve the font when changing newline char
15539         with a space.
15540         (BreakParagraph): If the cursor is before a space, delete the space.
15541
15542         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15543
15544 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15545
15546         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15547         new argument (code).
15548         (ChangeCitationsIfUnique): New method.
15549
15550         * paragraph.C (GetPositionOfInset): Handle bibkey.
15551
15552 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15553
15554         * BufferView_pimpl.h: change type of Position::par_pos to
15555         LyXParagraph::size_type.
15556
15557 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15558
15559         * BufferView_pimpl.C (savePosition, restorePosition): Write
15560         messages to minibuffer.
15561
15562 2001-01-28  José Matos  <jamatos@fep.up.pt>
15563
15564         * buffer.C (makeDocBookFile): adds support for document language.
15565         A silly restriction on the name of LatexCommand types where removed.
15566         Added support for CDATA sections, allows to chars unescaped, used
15567         among others in code, to avoid escape < and >.
15568
15569 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15570
15571         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15572         saved positions instrad of a stack. Furthermore, a position is
15573         stored using paragraph id/paragraph position.
15574
15575         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15576         Remove LFUN_REF_BACK.
15577
15578 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15579
15580         * converter.C (dvipdfm_options): New method.
15581
15582 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15583
15584         * vspace.C (isValidLength): Fix for empty input string.
15585
15586 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15587
15588         * LyXAction.C (init): change description of LFUN_FIGURE to
15589         "Insert Graphics"
15590
15591 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15592
15593         * LaTeX.C: add using directive
15594
15595 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15596
15597         * MenuBackend.C (expand): Fix the sorting of the formats.
15598
15599 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15600
15601         * lyx_main.C: tiny error message fix
15602
15603 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15604
15605         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15606         calling fl_initialize(). This fixes the problem with ',' as
15607         decimal separator in text files.
15608
15609 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15610
15611         * trans.C (process): Fix the keymap bug.
15612
15613 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15614
15615         * LaTeX.C (scanAuxFiles): New method. Provides support for
15616         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15617         (scanLogFile) Scan for "run BibTeX" messages.
15618
15619         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15620         OT1 font encoding. Also, load the aecompl package if the ae
15621         package is loaded.
15622
15623         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15624
15625 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15626
15627         * texrow.C (increasePos): turn two error messages into debug
15628         messages.
15629
15630 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15631
15632         * LaTeX.C (scanAux): Handle the \@input macro.
15633         (runBibTeX): Use scanAux().
15634
15635         * language.C (latex_options_): New field.
15636
15637         * LaTeXFeatures.C (getMacros): Add language macros.
15638
15639         * buffer.C (makeLaTeXFile): Small fix.
15640
15641 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15642
15643         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15644
15645         * text2.C: add a using directive.
15646
15647 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15648
15649         * BufferView2.C:
15650         * lyx_gui_misc.h:
15651         * lyxfr1.C:
15652         * lyxfunc.C: kill LyXBell.
15653
15654 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15655
15656         * text.C (IsBoundary): Remove the error message
15657
15658         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15659
15660         * lyxrc.C (setDefaults): Correct initialization value for
15661         font_norm_type.
15662
15663 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15664
15665         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15666         gotoError().
15667
15668         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15669         and GotoNextNote().
15670
15671         * src/LyXAction.C: Added reference-next.
15672
15673         * text.C (InsertChar): Use contains instead of strchr.
15674
15675         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15676
15677 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15678
15679         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15680         alignment commands (when needed).
15681
15682         * text.C (InsertChar): Add ':' to number separator chars.