]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
24d2f33559de0ac3c86cf883346fd25f1558bea3
[lyx.git] / src / ChangeLog
1 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
4
5 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6
7         * paragraph.C (isWord): return true on insets that report
8         isLetter().
9
10         * text.C (getWord): use Paragraph::isWord to decide what is in a
11         word and what is not; fix bug 1609.
12
13 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14
15         * tex-strings.C: add "none" to string_paperpackages[], fixes
16         off-by-one-error in the paperpackage selection.
17         
18         * lyxlex.[Ch]:
19         * tex-strings.[Ch]: char const * string[n] 
20         -> char const * const string[]
21
22 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
23
24         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
25         command, return early.
26  
27 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
28
29         * debug.h: add DEBUG to enum and fix size of ANY.
30
31         * debug.C: add support for Debug::DEBUG
32         (showTags): cast errorTags.level to unsigned int
33
34         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
35         (redoCurrentBuffer): ditto
36         (updateScrollbar): ditto
37         * cursor.C (dispatch): ditto
38         * text2.C (setLayout): ditto
39         (setFont): ditto
40         (updateCounters): ditto
41         (editXY): ditto
42         (deleteEmptyParagraphMechanism): ditto
43
44 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
45
46         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
47         annotations to cleanup the Makefile slightly.
48
49 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
50
51         * lyxrc.C: do not set user_email to a default value but use empty
52         instead. The entry used to be translated, which does not work
53         since at the point where lyxrc is constructed there is no
54         translation service available
55
56         * messages.C (getLocaleDir): remove and use directly
57         lyx_localedir() instead
58
59 2004-06-02  Angus Leeming  <leeming@lyx.org>
60
61         Fix crash caused by dereferencing null pointer 'exportdata' in
62         OutputParams by creating a new ExportData variable on the heap,
63         storing it in a boost::shared_ptr.
64         The crash was triggered when generating an Instant Preview
65         of an external inset.
66
67         * Makefile.am: add outputparams.C
68
69         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
70         (c-tor): allocate memory to it.
71
72         * exporter.C (c-tor): associated changes.
73
74 2004-06-01  Angus Leeming  <leeming@lyx.org>
75
76         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
77         contains data before calling isInset(0). (Bug 1513.)
78
79 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
80
81         * exporter.C (checkOverwrite): new method
82         * exporter.C (copyFile): new method
83         * exporter.C (Export): copy referenced files to the document dir
84         * exporter.[Ch]: new class ExportedFile
85         * exporter.[Ch]: new class ExportData. Contains currently the
86         names of referenced external files
87         * outputparams.h: add exportdata member.
88
89 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
90
91         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
92         version.C-tmp
93
94 2004-05-19  Angus Leeming  <leeming@lyx.org>
95
96         * LaTeXFeatures.C:
97         * ToolbarBackend.C:
98         * bufferparams.C:
99         * lyxfunc.C: small changes due to the introduction of namespace
100         lyx::frontend and the moving of namespace biblio to lyx::biblio.
101
102 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
103
104         * text3.C (dispatch): supress update when only moving the cursor
105         * cursor.C (selHandle): remove commented code
106
107 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
108
109         * paragraph.C (startTeXParParams): correct column count
110         * CutAndPaste.C (pasteSelection): remove const_cast
111         * output_docbook.C (docbookParagraphs): remove const_cast
112         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
113         const_cast and return ParagraphList::const_iterator
114         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
115         * output_plaintext.C (writeFileAscii): remove const_cast
116         * paragraph.[Ch] (simpleTeXOnePar): make const
117         * paragraph_funcs.C (outerPar): use const iterators
118         * paragraph_pimpl.C (validate): use const iterators
119         * text.C (setHeightOfRow): use const iterators
120
121 2004-05-17  Angus Leeming  <leeming@lyx.org>
122
123         * lfuns.h:
124         * LyXAction.C (init): new LFUN_INSET_REFRESH.
125
126         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
127         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
128         if the citation engine has changed.
129
130 2004-05-14  José Matos  <jamatos@lyx.org>
131
132         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
133         if the textclass does not provide it. Have it different for sgml and
134         xml.
135         support the language of document.
136         * output_docbook.C (docbookParagraphs):
137         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
138         first anchor as the id of the paragraph, remove special case code.
139         * sgml.C (escapeChar): escape only < & >.
140
141 2004-05-14  Angus Leeming  <leeming@lyx.org>
142
143         * bufferparams.h: move biblio::CiteEngine enum here to minimize
144         dependencies on src/frontends/controllers/biblio.h. Define a
145         CiteEngine_enum wrapper class to enable the enum to be forward
146         declared.
147
148 2004-05-12  Angus Leeming  <leeming@lyx.org>
149
150         * buffer.C: up LYX_FORMAT to 234.
151         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
152         use_numerical_citations with a single biblio::CiteEngine cite_engine
153         variable.
154         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
155
156 2004-05-13  José Matos  <jamatos@lyx.org>
157
158         * converter.h:
159         * converter.C (Converter, readFlags): add xml member.
160         * outputparams.h: add XML flavor.
161         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
162
163 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
164
165         * lyxfunc.C (dispatch):
166         (getStatus): fix handling of LFUN_SEQUENCE
167
168 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
169
170         * debug.C (showLevel): do not forget the end-of-line marker
171
172 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
173
174         * kbmap.C (read): do not stop parsing a bind file when an error
175         occurs (bug 1575)
176
177 2004-04-29  Angus Leeming  <leeming@lyx.org>
178
179         * cursor.C:
180         * factory.C:
181         * pariterator.C:
182         * text2.C: wrap a bunch of #warning statements
183         inside #ifdef WITH_WARNINGS blocks.
184
185 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
186
187         * buffer.C: increment format to 233.
188
189 2004-04-28  Angus Leeming  <leeming@lyx.org>
190
191         * BufferView_pimpl.C:
192         * lyxfunc.C:
193         * text3.C:
194         s/updateToolbar()/updateToolbars()/
195         s/Toolbar.h/Toolbars.h/
196
197 2004-04-28  Angus Leeming  <leeming@lyx.org>
198
199         * BufferView.[Ch] (c-tor):
200         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
201         No longer passes these data to the WorkArea generator.
202
203 2004-04-28  Angus Leeming  <leeming@lyx.org>
204
205         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
206
207 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
208
209         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
210
211 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
212
213         * output_latex.C (TeXEnvironment): make sure that there is a line
214         break before \end{foo} for the last paragraph of a document
215         (TeXOnePar): if the paragraph is at the end of the document (or
216         inset) and the language has to be reset, then make sure that the
217         line break is _before_ the language command, not after (fixes bug
218         1225); also make sure that the language reset command is the first
219         thing after the paragraph (to ensure proper nesting of
220         environments and thus fix bug 1404)
221
222 2004-04-21  John Levon  <levon@movementarian.org>
223
224         * ToolbarBackend.h:
225         * ToolbarBackend.C: make "name" be a programmatic name
226         and a gui_name field.
227
228         * lyxfunc.C: display the minibuffer on M-x
229
230 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
231
232         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
233         (bug 1526)
234
235 2004-04-19  Angus Leeming  <leeming@lyx.org>
236
237         * BufferView_pimpl.C (setBuffer): changed preview interface.
238
239         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
240         possible values.
241
242 2004-04-19  John Levon  <levon@movementarian.org>
243
244         * BufferView_pimpl.C:
245         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
246
247 2004-04-05  Angus Leeming  <leeming@lyx.org>
248
249         * text.C (redoParagraphs): add call to updateCounters(), thereby
250         fixing the missing "Figure #:" label from the caption of a
251         figure float.
252
253 2004-04-13  Angus Leeming  <leeming@lyx.org>
254
255         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
256         cursor is clicked out of an inset.
257
258 2004-04-13  Angus Leeming  <leeming@lyx.org>
259
260         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
261         than an InsetOld one.
262
263 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
264
265         * format.[Ch]: add editor to Format
266         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
267         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
268
269 2004-04-08  André Pönitz  <poenitz@gmx.net>
270
271         * metricsinfo.h: remove PainterInfo::width member
272
273 2004-04-08  Angus Leeming  <leeming@lyx.org>
274
275         * lyx_sty.C (boldsymbol_def): modify so that it outputs
276         "\providecommand" rather than "\newcommand", thereby preventing
277         clashes with packages that define "\boldsymbol" themselves.
278         Eg, beamer.
279
280 2004-04-08  Angus Leeming  <leeming@lyx.org>
281
282         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
283         thereby squashing an unnecessary warning.
284
285 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
286
287         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
288         setBuffer()
289
290 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
291
292         * BufferView.C (setCursor): call redoParagraph (some insets could
293         have been opened)
294         (putSelectionAt): remove the 'double update' trick
295
296         * BufferView_pimpl.C (fitCursor): call refreshPar
297         (workAreaDispatch): remove an uneeded update call
298         (dispatch): remove some manual update calls
299
300         * cursor.[Ch]: remove cached_y_, updatePos
301         (selHandle): set noUpdate when appropriate
302
303         * lyxfunc.C (dispatch): track if we need an update
304
305         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
306
307         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
308         (paintSelection): cheap optimization, do not call cursorX when not
309         needed
310         (paintPars): change signature
311         (refreshPar): add
312         (paintText): adjust
313         (paintTextInset): adjust
314
315         * text.C: adjust
316
317 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
318
319         * lengthcommon.C: compilation fix: remove explicit array size from
320         unit_name[] and friends
321
322 2004-04-05  Angus Leeming  <leeming@lyx.org>
323
324         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
325
326         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
327         present only for the preferences dialog.
328         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
329
330 2004-04-05  Angus Leeming  <leeming@lyx.org>
331
332         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
333         to enable the frontends to export changes to lyxrc correctly.
334
335         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
336
337 2004-04-07  André Pönitz  <poenitz@gmx.net>
338
339         * cursor.[Ch] (selClear, adjust): remove math
340
341         * cursor_slice.C: more agressive assert
342
343         * lyxfunc.C:
344         * BufferView_pimpl.C: rework mouse event dispatch
345
346         * dociterator.C:
347         * paragraph.C:
348         * text2.C:
349         * text3.C: adjust
350
351 2004-04-05  André Pönitz  <poenitz@gmx.net>
352
353         * cursor.[Ch] (valign, halign...): remove unneeded functions
354
355 2004-04-05  Angus Leeming  <leeming@lyx.org>
356
357         * lyxlength.[Ch] (unit_name et al.): const-correct.
358
359 2004-04-05  Angus Leeming  <leeming@lyx.org>
360
361         * BufferView_pimpl.C:
362         * buffer.C:
363         * counters.C:
364         * cursor.C:
365         * lyxfunc.C
366         * paragraph.C:
367         * pariterator.C:
368         * text.C:
369         * text2.C:
370         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
371
372 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
373
374         * text3.C (getStatus): add LFUN_BEGINNINGBUF
375
376 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
377
378         * lyxfind.C: add a couple of inTexted() tests + other small fixes
379         * BufferView_pimpl.[Ch] (getStatus)
380         * BufferView.[Ch] (getStatus): add
381         * lyxfunc.C (getStatus): move lfuns handled in
382         BufferView::dispatch to te function above
383         * Cursor.C (setSelection): set selection() = true
384
385 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
386
387         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
388
389 2004-03-31  Angus Leeming  <leeming@lyx.org>
390
391         * lyxfunc.C (dispatch): Fall through to the generic
392         Dialogs::show("preamble").
393
394 2004-03-31  Angus Leeming  <leeming@lyx.org>
395
396         * lyxfunc.C (dispatch): Fall through to the generic
397         Dialogs::show("spellchecker").
398
399 2004-03-31  Angus Leeming  <leeming@lyx.org>
400
401         * lyxfunc.C (getStatus, dispatch): changed invocation of the
402         preferences dialog.
403
404 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
405
406         * BufferView.C
407         * cursor.[Ch]
408         * dociterator.[Ch]:
409         * insetiterator.[Ch]:
410         * lyxfind.C:
411         * lyxfunc.C:
412         * pariterator.[Ch]:
413         * text2.C:
414         * undo.[Ch]: s/DocumentIterator/DocIterator/g
415
416 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
417
418         * BufferView.C (setCursor, putSelectionAt): call edit to open the
419         insets where we are putting the cursor.
420
421 2004-03-31  Angus Leeming  <leeming@lyx.org>
422
423         * lfuns.h:
424         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
425
426         * lyxrc.[Ch] (read, write): overloaded member functions taking
427         a std::[io]stream arguments.
428
429         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
430
431 2004-03-31  Angus Leeming  <leeming@lyx.org>
432
433         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
434         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
435
436         * lyxtextclass.C (load): if the text class couldn't be loaded, then
437         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
438
439 2004-03-31  Angus Leeming  <leeming@lyx.org>
440
441         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
442         the LFUN_ALL_INSETS_TOGGLE code.
443
444 2004-03-30  Angus Leeming  <leeming@lyx.org>
445
446         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
447         has died. Fall through to the generic Dialogs::show("document").
448
449 2004-03-30  Angus Leeming  <leeming@lyx.org>
450
451         * lfuns.h:
452         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
453         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
454
455         * lyxfunc.C (getStatus, dispatch): define the actions for these
456         lfuns. Little more than a cut and pste job from ControlDocument.C
457
458         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
459
460 2004-03-30  Angus Leeming  <leeming@lyx.org>
461
462         * lfuns.h:
463         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
464         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
465
466         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
467         open/closed state of ollapsable insets. Usage:
468
469         all-inset-toggle <state> <name>, where
470         <state> == "open" || "closed" || "toggle" and
471         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
472
473         * lyxtext.h, text2.C (toggleInset): removed.
474
475         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
476         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
477         now passes LFUN_INSET_TOGGLE to the found inset.
478
479         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
480         is now invoked as "all-insets-toggle toggle branch".
481
482 2004-03-30  Angus Leeming  <leeming@lyx.org>
483
484         * dociterator.C:
485         * insetiterator.C:
486         * pariterator.[Ch]: added/corrected header blurb.
487
488 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
489
490         * dociterator.[Ch]: add an inset_ member
491         (backwardPos): implemented
492         (backwardPos, forwardPos): use inset_ when the stack is empty.
493         (doc_iterator_begin, doc_iterator_end): implemented
494         * pariterator.[Ch]: adjust, add begin, end
495         * insetiterator.[Ch]: adjust, add begin, end
496         * cursor.C:
497         * document.C:
498         * BufferView.C:
499         * BufferView_pimpl.C:
500         * CutAndPaste.C: adjust
501
502 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
503
504         * buffer.C: increment file format to 232.
505         * LaTeXFeatures.C: add bibtopic package.
506         * bufferparams.[Ch]: param \use_bibtopic.
507
508         * lyxrc.[Ch]: add lyxrc bibtex_command
509         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
510
511         * buffer.C: increment file format to 231.
512
513 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
514
515         * dociterator.C: implement forwardPar
516         * iterators.[Ch]: remove, replaced by
517         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
518         * BufferView.C:
519         * BufferView_pimpl.C:
520         * CutAndPaste.C:
521         * buffer.C:
522         * bufferview_funcs.C:
523         * cursor.C:
524         * lyxfind.C
525         * lyxfunc.C
526         * paragraph_funcs.C
527         * toc.C:
528         * Makefile.am: adjust
529
530 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
531
532         * CutAndPaste.C (pasteSelection): fix 2 crashes
533         (eraseSelection): fix a crash
534         * paragraph_funcs.C: remove a warning
535
536 2004-03-28  Angus Leeming  <leeming@lyx.org>
537
538         * lfuns.h:
539         * LyXAction.C (init): new LFUN_PRINT.
540
541         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
542
543 2004-03-27  Angus Leeming  <leeming@lyx.org>
544
545         * lfuns.h:
546         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
547
548         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
549
550 2004-03-27  Angus Leeming  <leeming@lyx.org>
551
552         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
553         insetlist always contains non-null pointers to insets.
554
555 2004-03-26  Angus Leeming  <leeming@lyx.org>
556
557         * src/BufferView_pimpl.C:
558         * src/CutAndPaste.C:
559         * src/buffer.C:
560         * src/iterators.C:
561         * src/output_plaintext.C:
562         * src/outputparams.h:
563         * src/paragraph_funcs.C:
564         * src/rowpainter.C:
565         * src/text.C:
566         * src/text2.C:
567         * src/frontends/controllers/ControlErrorList.C:
568         * src/frontends/gtk/FileDialogPrivate.C:
569         * src/frontends/gtk/GPainter.C:
570         * src/frontends/gtk/GToolbar.C:
571         * src/frontends/qt2/QRef.C:
572         * src/mathed/math_scriptinset.C: squash compiler warnings.
573
574 2004-03-26  Angus Leeming  <leeming@lyx.org>
575
576         * ispell.C (LaunchIspell::start):
577         * lyx_cb.C (AutoSaveBuffer::start):
578         invoke run(DontWait) rather than runNonBlocking().
579
580 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
581
582         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
583
584 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
585
586         * kbsequence.C (print): adjust
587
588         * kbmap.C (printKeySym): rename and change signature
589         (printKey): use LyXKeySym::print()
590
591 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
592
593         * undo.C: add using std::advance to compile for stlport
594
595 2004-03-24  Angus Leeming  <leeming@lyx.org>
596
597         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
598         it leads to a crash when no buffer is present.
599
600 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
601             Martin Vermeer  <martin.vermeer@hut.fi>
602
603         * lyxfunc.C (dispatch):
604         * bufferparams.C (readToken): use the new LColor::setColor
605
606         * LColor.[Ch] (setColor): new version that takes two strings as
607         argument and creates a new color entry if necessary
608
609 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
610
611         * buffer.C (makeLaTeXFile): if the main latex file that is
612         processed is usually a subdocument of some master, then pretend
613         for a while that it is actually the master
614
615 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
616
617         * buffer.C (getLabelList):
618         (getBibkeyList): use getMasterBuffer()
619         (getMasterBuffer): new method. Returns the main document in the
620         case where one is using included documents.
621
622 2004-03-25  André Pönitz  <poenitz@gmx.net>
623
624         * Makefile.am:
625         * iterators.[Ch]:
626         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
627
628         * ParagraphList_fwd.h: change ParagraphList to a std::vector
629
630         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
631         text*.C over here. Rename namespace CutAndPaste to lyx::cap
632
633         * ParameterStruct.h: merge with ParagraphParameters
634
635         * lyxtext.h: remove LyXText::parOffset() and getPar()
636
637         * text3.C: Remove all 'manual' update calls. We do now one per user
638         interaction which is completely sufficient.
639
640         * Bidi.C:
641         * BufferView.[Ch]:
642         * BufferView_pimpl.C:
643         * FontIterator.[Ch]:
644         * MenuBackend.C:
645         * ParagraphParameters.[Ch]:
646         * buffer.C:
647         * buffer.h:
648         * bufferlist.C:
649         * cursor.[Ch]:
650         * cursor_slice.[Ch]:
651         * dociterator.[Ch]:
652         * errorlist.[Ch]:
653         * factory.C:
654         * lfuns.h:
655         * lyxfind.C:
656         * lyxfunc.C:
657         * output_docbook.[Ch]:
658         * output_latex.[Ch]:
659         * output_linuxdoc.[Ch]:
660         * output_plaintext.[Ch]:
661         * paragraph.[Ch]:
662         * paragraph_funcs.[Ch]:
663         * paragraph_pimpl.[Ch]:
664         * rowpainter.C:
665         * tabular.[Ch]:
666         * text.C:
667         * text2.C:
668         * toc.C:
669         * undo.[Ch]: adjust
670
671         * frontends/controllers/ControlDocument.C:
672         * frontends/controllers/ControlErrorList.C:
673         * frontends/controllers/ControlSpellchecker.C:
674         * insets/inset.C:
675         * insets/inset.h:
676         * insets/insetbase.h:
677         * insets/insetbibitem.C:
678         * insets/insetbox.C:
679         * insets/insetbranch.C:
680         * insets/insetcaption.C:
681         * insets/insetcharstyle.C:
682         * insets/insetcharstyle.h:
683         * insets/insetcollapsable.C:
684         * insets/insetcollapsable.h:
685         * insets/insetert.C:
686         * insets/insetfloat.C:
687         * insets/insetfoot.C:
688         * insets/insetmarginal.C:
689         * insets/insetnote.C:
690         * insets/insetoptarg.C:
691         * insets/insettabular.C:
692         * insets/insettext.C:
693         * insets/insettext.h:
694         * insets/insetwrap.C:
695         * mathed/math_mboxinset.C:
696         * mathed/math_nestinset.C:
697         * mathed/math_scriptinset.C:
698         * mathed/math_scriptinset.h:
699         * support/types.h:
700
701 2004-03-24  Angus Leeming  <leeming@lyx.org>
702
703         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
704         deal with any child processes that have finished but are waiting to
705         communicate this fact to the rest of LyX.
706
707 2004-03-24  Angus Leeming  <leeming@lyx.org>
708
709         64-bit compile fixes.
710
711         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
712         (c-tor): pass lyx::pos_types rather than ints.
713
714         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
715         lyx::pos_type.
716
717         * text.C (Delete): compile fix.
718         (getPar): ensure that function declaration is the same as that in
719         the header file.
720
721 2004-03-23  Angus Leeming  <leeming@lyx.org>
722
723         * ispell.C (LaunchIspell):
724         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
725         a boost::shred_ptr rather than a std::auto_ptr.
726
727 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
728
729         * lyxfunc.C (getStatus): handle read-only buffers correctly;
730         handle LFUN_FILE_INSERT_*
731
732         * lyxrc.C (setDefaults, getDescription, output, read):
733         * lyxrc.h: remove ps_command
734
735 2004-03-22  Angus Leeming  <leeming@lyx.org>
736
737         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
738         Ensure that error_handler is processed once only and that all data
739         is saved before attempting to output any warning messages.
740
741         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
742
743 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
744
745         * tabular.C (TeXRow): crash fix (from Kayvan and André)
746
747 2004-03-19  André Pönitz  <poenitz@gmx.net>
748
749         * cursor.[Ch] (reset): take main text inset as argument
750
751         * BufferView: adjust
752         * BufferView_pimpl.C: adjust
753
754         * paragraph.[Ch]: fix completely broken operator=()
755
756 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
757
758         * LColor.C (getFromLyXName): make sure that the color name is used
759         as lowercase.
760
761 2004-03-17  Angus Leeming  <leeming@lyx.org>
762
763         * lfuns.h:
764         * LyXAction.C (init): remove LFUN_FORKS_KILL.
765
766         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
767         dialog and to kill a forked process.
768
769 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
770
771         * text2.C (setCursorFromCoordinates): fix font problem
772
773 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
774
775         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
776         bogus "rebuild cursor" code
777
778 2004-03-11  André Pönitz  <poenitz@gmx.net>
779
780         * buffer.[Ch]: use InsetText instead of LyXText as container for
781         the main lyx text.
782
783         * dociterator.[Ch]: drop the BufferView * member which is not needed
784         anymore after the change to buffer.C
785
786         * paragraph_funcs.C:
787         * text.C:
788         * text2.C:
789         * BufferView.[Ch]:
790         * BufferView_pimpl.[Ch]:
791         * cursor.[Ch]:
792         * cursor_slice.[Ch]: adjust
793
794         * text3.C: fix bug in mathDispatch
795
796 2004-03-08  André Pönitz  <poenitz@gmx.net>
797
798         * undo.[Ch]: use 'StableDocumentIterator' as base for
799         the Undo struct.
800
801 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
802
803         * LaTeXFeatures.C:
804         * bufferparams.[Ch]: add jurabib support and param.
805
806         * LaTeX.C: add FIXME/comment.
807
808 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
809
810         * buffer.C: increment file format to 230.
811
812 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
813
814         * cursor.C (dispatch): avoid infinite loops
815
816 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
817
818         * rowpainter.C (paintSelection): fix x coordinates
819
820 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
821
822         * text.C (rowBreakPoint): fix breaking before displayed insets
823
824 2004-03-01  André Pönitz  <poenitz@gmx.net>
825
826         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
827
828         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
829
830         * Makefile.am:
831         * BufferView.C:
832         * BufferView_pimpl.C:
833         * buffer.C:
834         * lyxfind.C:
835         * lyxfunc.C:
836         * text.C:
837         * text2.C:
838         * text3.C: adjust
839
840 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
841
842         * lyxtext.h:
843         * text.C:
844         * text2.C:
845         * rowpainter.C:
846         * BufferView_pimpl.C: rename textwidth -> maxwidth,
847         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
848
849 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
850
851         * Bidi.[Ch] (computeTables): const correctness
852         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
853         fill_hfill, fill_label_hfill and x from Row
854         * lyxtext.h: prepareToPrint returns a RowMetrics
855         * rowPainter.C: adjust
856         * text.C (prepareToPrint): use width, not textWidth. adjust
857         (redoParagraphInternal, cursorX): adjust
858         * text2.C (getColumnNearX): adjust
859         (init): put a default value to the top LyXText::width
860
861 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
862
863         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
864
865 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
866
867         * lyxtext.h: add FontIterator class
868
869         * text.C (FontIterator, operator*, operator->, operator++): add
870         (rowBreakPoint, setRowWidth): adjust (fixing a
871         rebreaking bug)
872
873 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
874
875         * BufferView_pimpl.C (workAreaDispatch): allow also
876         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
877
878 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
879
880         * text.C (rowBreakPoint): fix a bug showing with very large insets
881
882 2004-02-25  André Pönitz  <poenitz@gmx.net>
883
884         * text3.C:
885         * cursor.[Ch]: move some mathed specific code to mathed
886
887 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
888
889         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
890         use_tempdir in preferences
891         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
892         tempfile creation
893         * lyx_main.C: ensure that tempdir is valid
894         * lyxlex.h: correct typo
895         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
896         * paragraph.[Ch] (isMultiLingual): make const
897         * cursor.[Ch] (openable): make const
898
899 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
900
901         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
902
903 2004-02-20  André Pönitz  <poenitz@gmx.net>
904
905         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
906
907         * cursor.[Ch]: prepare for localized getStatus()
908
909         * lyxtext.h:
910         * tabular.C:
911         * text.C:
912         * text2.C:
913         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
914
915 2004-02-20  André Pönitz  <poenitz@gmx.net>
916
917         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
918
919 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
920
921         * text2.C (setCursorFromCoordinates): switch to absolute coords
922         (cursorUp): adjust
923         (cursorDown): adjust
924         * text3.C (dispatch): adjust
925
926 2004-02-16  André Pönitz  <poenitz@gmx.net>
927
928         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
929           insets/ChangeLog)
930
931         * cursor_slice.[Ch]: remove unneeded acessor function
932
933         * lyxtext.h: rename rtl() to isRTL()
934
935         * rowpainter.C:
936         * tabular.C:
937         * text.C:
938         * text2.C:
939         * text3.C: adjust
940
941 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
942
943         * rowpainter.C (paintSelection): coord fix
944
945 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
946
947         * Spacing.C: compile fix
948
949 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
950
951         * cursor.C (dispatch): restore current_ before returning
952
953 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
954
955         * text2.C (cursorUp, cursorDown): fix coords
956         (moveUp): fix crash
957
958 2004-02-12  André Pönitz  <poenitz@gmx.net>
959
960         * lyxtext.h:
961         * text.C:
962         * text2.C:
963         * text3.C: add LCursor & parameter to most cursor movement functions
964           remove usage of LyXText::cursorRow() and cursorPar()
965
966         * cursor.[Ch]: add textRow() needed members
967
968         * BufferView.C:
969         * BufferView_pimpl.C:
970         * paragraph.[Ch]:
971         * BufferView.C:
972         * BufferView_pimpl.C: adjust
973
974 2004-02-11  André Pönitz  <poenitz@gmx.net>
975
976         * lyxfunc.C:
977         * BufferView.[Ch]:
978         * BufferView_pimpl.C: shift undo/redo handling
979
980         * cursor.[Ch]: fix mathed crash
981
982         * lyxfind.C:
983         * lyxtext.h: move selectionAsText to LCursor
984
985         * output_latex.C:
986         * paragraph.C:
987         * text.C:
988         * text2.C:
989         * text3.C: adjust
990
991         * rowpainter.C: fix excessive drawing
992
993 2004-02-06  André Pönitz  <poenitz@gmx.net>
994
995         * BufferView.[Ch]:
996         * BufferView_pimpl.[Ch]:
997         * text3.C: move some text specific LFUN handling
998
999 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1000
1001         * text3.C (checkInsetHit): adjust coords
1002         * text2.C (getColumnNearX): adjust coords
1003         (edit): adjust coords
1004         * text.C (getRowNearY): add two asserts
1005
1006 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1007
1008         * converter.C:
1009         * format.C: add using std::distance to compile on gcc 2.95/stlport
1010
1011 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1012
1013         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1014
1015 2004-02-04  André Pönitz  <poenitz@gmx.net>
1016
1017         * BufferView.[Ch] (insertInset):
1018         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1019
1020         * text2.C:
1021         * text3.C: adjust
1022
1023 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1024
1025         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1026         on the default clause of the switch
1027         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1028         wasn't catched by LCursor::dispatch
1029
1030 2004-02-03  André Pönitz  <poenitz@gmx.net>
1031
1032         * BufferView.C:
1033         * cursor.[Ch]: some additional asserts
1034
1035         * undo.[Ch]: remove LyXText dependency in interface
1036
1037         * lyxfunc.C: adjust
1038
1039         * lyxtext.h (firstPar, lastPar): remove dead functions
1040
1041         * text.C:
1042         * text2.C:
1043         * text3.C:
1044         * paragraph.[Ch]: adjust
1045
1046 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1047
1048         * lyxfind.C (find): fix argument order in call to ::find
1049
1050 2004-02-02  André Pönitz  <poenitz@gmx.net>
1051
1052         * cursor.[Ch]: remove direct access to anchor
1053
1054         * text.C: remove findText() hack
1055
1056 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1057
1058         * iterators.[Ch] (lockPath): remove in favour of...
1059         * BufferView.[Ch] (setCursor): this addition
1060         * BufferView.C (putSelectionAt): adjust
1061         * undo.C (performUndoOrRedo): adjust
1062         * lyxfunc.C (dispatch): adjust
1063
1064 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1065
1066         * iterators.C (lockPath): add a missing slice
1067         * undo.C (performUndoOrRedo): remove redundant positioning code
1068
1069 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1070
1071         * vc-backend.C (scanMaster): ";" -> ';'
1072
1073 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1074
1075         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1076         std::binary_function
1077
1078         * lyxtextclass.C (compare_name): rename to...
1079         (LayoutNamesEqual): ...this
1080
1081         * lyxlex_pimpl.C (compare_tags): inherit from
1082         std::binary_function, put back into anon namespace
1083
1084         * lyxfind.C (MatchString): inherig from std::binary_function
1085         (findChange): use empty() istead of !size()
1086
1087         * format.C (FormatNamesEqual): new functor
1088         (getFormat): use it
1089         (getNumber): use it
1090         (add): use it
1091         (erase): use it
1092         (setViewer): use it
1093
1094         * converter.C (compare_Converter): rename to...
1095         (ConverterEqual): ...this, and fixup a bit.
1096         (getConverter): use it, and make function const
1097         (getNumber): use it, and make function const
1098         (add): use it
1099         (erase): use it:
1100
1101         * bufferlist.C: add using boost::bind
1102
1103         * MenuBackend.C (MenuNamesEqual): new functor
1104         (hasMenu): use it, and make function const
1105         (hasSubmenu): use nested bind to get rid of compare_memfun.
1106
1107 2004-01-30  André Pönitz  <poenitz@gmx.net>
1108
1109         * BufferView_pimpl.C:
1110         * cursor.C:
1111         * cursor.h:
1112         * cursor_slice.[Ch]:
1113         * lyxfunc.C:
1114         * lyxtext.h:
1115         * paragraph_funcs.C:
1116         * paragraph_funcs.h:
1117         * rowpainter.C:
1118         * text.C:
1119         * text2.C:
1120         * text3.C: move some of the edit(x,y) handling to the insets
1121         some coordinate changes.
1122
1123 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1124
1125         * text.C: add using statements for std::advance and std::distance
1126
1127         * paragraph.C: add using statement for std::distance
1128
1129         * lyxfind.C: add using statement for std::advance
1130
1131         * cursor.C (region): remove std:: from swap
1132         (openable): use nucleus in stead of operator->
1133
1134         * BufferView.C: add using statements for std::distance and std::swap
1135
1136 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1137
1138         * iterators.C: Remove the pimple, move the needed structures to
1139         the header file. Create accessor for the positions stack.
1140         (asPosIterator): remove function
1141
1142         * PosIterator.C (PosIterator): move constructors to top of file
1143         (PosIterator): reimplement the constructor taking a ParIterator in
1144         terms of setFrom.
1145         (setFrom): new function
1146         (operator!=): inline it
1147
1148 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1149
1150         * lyxfind.C (replaceAll): use std::advance
1151
1152         * iterators.h: inherit from std::iterator.
1153
1154         * PosIterator.C (advance, distance): remove
1155         * PosIterator.h: interit from std::iterator.
1156
1157 2004-01-26  André Pönitz  <poenitz@gmx.net>
1158
1159         * BufferView.[Ch]:
1160         * BufferView_pimpl.[Ch]:
1161         * InsetList.[Ch]:
1162         * PosIterator.[Ch]:
1163         * buffer.h:
1164         * bufferview_funcs.C:
1165         * cursor.[Ch]:
1166         * cursor_slice.h:
1167         * factory.[Ch]:
1168         * iterators.[Ch]:
1169         * lyxfind.C:
1170         * lyxfunc.C:
1171         * lyxtext.h:
1172         * output_docbook.C:
1173         * output_latex.C:
1174         * output_linuxdoc.C:
1175         * output_plaintext.C:
1176         * paragraph.[Ch]:
1177         * paragraph_funcs.[Ch]:
1178         * paragraph_pimpl.[Ch]:
1179         * rowpainter.C:
1180         * tabular.C:
1181         * tabular.h:
1182         * text.C:
1183         * text2.C:
1184         * text3.C: more IU:  dumps most of the rest of the mathcursor
1185     implementation into cursor.[Ch]; "globalize" a bit of it.
1186
1187 2004-01-25  Angus Leeming  <leeming@lyx.org>
1188
1189         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1190
1191 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1192
1193         * LaTeXFeatures.h: add nice_ and nice() const
1194         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1195
1196 2004-01-20  André Pönitz  <poenitz@gmx.net>
1197
1198         * BufferView.[Ch]:
1199         * BufferView_pimpl.C:
1200         * PosIterator.C:
1201         * bufferview_funcs.C:
1202         * cursor.[Ch]:
1203         * cursor_slice.[Ch]:
1204         * factory.C:
1205         * iterators.C:
1206         * lyx_cb.C:
1207         * lyxfind.C:
1208         * lyxfunc.C:
1209         * lyxtext.h:
1210         * rowpainter.C:
1211         * text.C:
1212         * text2.C:
1213         * text3.C:
1214         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1215           LCursor and mathcursor parts to LCursor and InsetBase.
1216
1217 2004-01-15  André Pönitz  <poenitz@gmx.net>
1218
1219         * cursor_slice.[Ch]: add a few covienience functions
1220
1221         * funcrequest.[Ch]: remove BufferView * member
1222
1223         * BufferView_pimpl.C:
1224         * cursor.C:
1225         * factory.[Ch]:
1226         * lyxfind.[Ch]:
1227         * lyxfunc.C:
1228         * lyxtext.h:
1229         * text3.C:
1230         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1231
1232 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1233
1234         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1235         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1236
1237 2004-01-13  André Pönitz  <poenitz@gmx.net>
1238
1239         * textcursor.[Ch]:
1240         * lyxtext.h: hide cursor and selection anchor behind accessor function
1241
1242         * BufferView.C:
1243         * BufferView_pimpl.[Ch]:
1244         * PosIterator.C:
1245         * bufferview_funcs.C:
1246         * cursor.h:
1247         * lyxfind.C:
1248         * lyxfunc.C:
1249         * text.C:
1250         * text2.C:
1251         * text3.C:
1252         * undo.C: adjust
1253
1254         * cursor.h:
1255         * cursor_slice.[Ch]: some integer type changes for inset unification
1256
1257         * lyxcursor.[hC]: remove, it's CursorSlice now.
1258
1259         * Makefile.am:
1260         * BufferView_pimpl.[Ch]:
1261         * bufferview_funcs.C:
1262         * cursor_slice.C:
1263         * lyxtext.h:
1264         * text.C:
1265         * text2.C:
1266         * text3.C:
1267         * textcursor.[Ch]: adjust
1268
1269 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1270
1271         * text2.C (undoSpan): add and use
1272         * text.C (breakParagraph): use undoSpan (fix bug 578)
1273         * lyxtext.h: adjust
1274
1275 2004-01-08  Angus Leeming  <leeming@lyx.org>
1276
1277         * BufferView_pimpl.C (MenuInsertLyXFile):
1278         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1279         * lyxfunc.C (menuNew, open, doImport):
1280         FileFilterList change to the FileDialog open and save functions.
1281
1282 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1283
1284         * ShareContainer.h: make isEqual and isUnique adaptable
1285
1286         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1287
1288 2004-01-07  Angus Leeming  <leeming@lyx.org>
1289
1290         * LyXAction.C:
1291         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1292
1293         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1294
1295         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1296         functions replacing find, replace and replaceAll.
1297
1298         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1299         LFUN_WORDFIND(FORWARD|BACKWARD).
1300
1301 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1302
1303         * text.C (breakParagraph): remove an outdated #warning
1304
1305 2004-01-07  André Pönitz  <poenitz@gmx.net>
1306
1307         * lyxfind.C: somewhat clearer logic
1308
1309         * text.C: prevent crash in cursorX on unitialized row cache
1310
1311 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1312
1313         * lyxcursor.[Ch] (operator>): add
1314         * textcursor.C (selStart, selEnd): use std::min and std::max
1315
1316 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1317
1318         * Chktex.C: include boost/format.hpp
1319
1320 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1321
1322         * InsetList.C: replace functor MathcIt with adaptable functor
1323         InsetTablePosLess
1324         (insetIterator): modify accordingly
1325
1326         * BranchList.h: move the BranchNamesEqual functor here from...
1327         * BranchList.C: ... to here
1328
1329         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1330         SameName and match.
1331         (add): replace a finding loop with std::find_if.
1332
1333 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1334
1335         * output_docbook.C: moving LatexParam functionality into
1336         .layout files
1337
1338 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1339
1340         * buffer.C: increment format to 229.
1341
1342 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1343
1344         * LaTeXFeatures.C:
1345         * lyx_sty.[Ch]: remove minipageindent_def
1346
1347         * LyXAction.C:
1348         * factory.C:
1349         * lfuns.h:
1350         * lyxfunc.C:
1351         * text3.C: remove LFUN_INSET_MINIPAGE
1352
1353 2003-12-28  Angus Leeming  <leeming@lyx.org>
1354
1355         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1356
1357 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1358
1359         * text2.C (setParagraph): fix off-by-one crash
1360
1361 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1362
1363         * output_docbook.C: header stuff for AGU
1364
1365 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1366
1367         * text2.C (redoCursor): remove
1368         * text.C:
1369         * text3.C:
1370         * BufferView_pimpl.C: remove calls to redoCursor and
1371         setCursor(cursor.par(), cursor.pos()) all around
1372
1373 2003-12-15  Angus Leeming  <leeming@lyx.org>
1374
1375         * buffer.C: up the format to 228.
1376
1377 2003-12-15  André Pönitz  <poenitz@gmx.net>
1378
1379         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1380         slices
1381
1382         * Makefile.am:
1383
1384         * BufferView_pimpl.C:
1385         * cursor.[Ch]:
1386         * lyxcursor.[Ch]:
1387         * rowpainter.[Ch]:
1388         * lyxtext.h:
1389         * text.C:
1390         * text2.C:
1391         * text3.C: adjust
1392
1393 2003-12-15  Angus Leeming  <leeming@lyx.org>
1394
1395         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1396         than getFromGUIName to manipulate the color.
1397
1398 2003-12-14  Angus Leeming  <leeming@lyx.org>
1399
1400         * BranchList.[Ch]: minimize the API.
1401         (Branch::getBranch, getColor): now return a 'const &'.
1402         (Branch::setSelected) now returns a bool set to true if the
1403         selection status changes.
1404         (BranchList::clear, size, getColor, setColor, setSelected,
1405         allBranches, allSelected, separator): removed.
1406         (BranchList::find): new functions, returning the Branch with
1407         the given name.
1408         (BranchList::add, remove): return a bool indicating that
1409         the operation was successful.
1410
1411         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1412         new InsetBranch::isBranchSlected member function.
1413
1414         * LColor.[Ch]: mimimize the API.
1415         (fill): renamed as addColor and made private.
1416         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1417         versions of these functions taking a string arg have been removed.
1418
1419         * bufferparams.C (readToken):
1420         * lyxfunc.C (dispatch):
1421         * lyxrc.C (read): changes due to the altered BranchList and
1422         LColor APIs.
1423
1424         * factory.C (createInset, readInset): changes due to altered
1425         InsetBranch c-tor.
1426
1427 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1428
1429         * factory.C:
1430         * lyxfunc.C: remove insetminipage. "minipage-insert"
1431         now produces a frameless minipage box inset.
1432
1433 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1434
1435         * textcursor.[Ch] (selStart,selEnd): add new methods
1436         remove selection::start, end, use LyXCursor::operator<
1437         * lyxcursor.[Ch] (operator<): add
1438         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1439         * BufferView.[Ch] (unsetXSel): add
1440         * text2.C (clearSelection): use unsetXSel,adjust
1441         * text.C: adjust
1442         * text3.C: adjust
1443         * rowpainter.C: adjust
1444         * bufferview_funcs.C (put_selection_at): adjust
1445
1446 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1447
1448         * BufferView_pimpl.C: small coord. correction
1449
1450 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1451
1452         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1453         dragging over the splash screen.
1454
1455 2003-12-11  Angus Leeming  <leeming@lyx.org>
1456
1457         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1458         as it is now handled in LyXText::dispatch.
1459
1460         * text3.C (doInsertInset): remove a level of nesting.
1461
1462 2003-12-11  Angus Leeming  <leeming@lyx.org>
1463
1464         * factory.C (createInset): changes due to the changed interface to
1465         InsetCommandMailer::string2params.
1466
1467 2003-12-10  Angus Leeming  <leeming@lyx.org>
1468
1469         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1470         'dialog-show-new-inset <inset name>'
1471
1472 2003-12-10  Angus Leeming  <leeming@lyx.org>
1473
1474         * buffer.C: up the format to 227.
1475
1476         * factory.C: the box inset is now identified simply by 'Box'.
1477
1478 2003-12-10  Angus Leeming  <leeming@lyx.org>
1479
1480         * buffer.C: up the format to 226.
1481
1482         * factory.C: the note inset is now identified simply by 'Note'.
1483
1484 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1485
1486         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1487         when a pit is enough. Standarize a couple of loops.
1488
1489 2003-12-05  Angus Leeming  <leeming@lyx.org>
1490
1491         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1492         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1493         data to the re-worked "log" dialog.
1494
1495 2003-12-03  André Pönitz  <poenitz@gmx.net>
1496
1497         * PosIterator.C:
1498         * iterators.C:
1499         * lyxtext.h:
1500         * output_latex.C:
1501         * paragraph_funcs.C:
1502         * text.C:
1503         * text2.C: use Inset::getText instead of Inset::getParagraph
1504
1505 2003-12-03  André Pönitz  <poenitz@gmx.net>
1506
1507         * buffer.[Ch]:
1508         * lyxtext.h:
1509         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1510         InsetText::read() as LyXText::read()
1511
1512 2003-12-02  Angus Leeming  <leeming@lyx.org>
1513
1514         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1515         type. Add a comment in the implementation that the function uses
1516         the stream's bad() function rather than fail() as the std::streams
1517         would do.
1518
1519 2003-12-02  André Pönitz  <poenitz@gmx.net>
1520
1521         * lyxlex.[Ch]: make interface more similar to std::stream
1522
1523         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1524
1525 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1526
1527         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1528
1529 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1530
1531         * vspace.[Ch]: remove VSpace::NONE
1532
1533 2003-12-01  André Pönitz  <poenitz@gmx.net>
1534
1535         * buffer.[Ch]:
1536         * lyxtext.h: move ParagraphList member to LyXText
1537         rename LyXText::ownerParagraphs to LyXText::paragraph
1538
1539         * CutAndPaste.C:
1540         * bufferview_funcs.C:
1541         * iterators.[Ch]:
1542         * lyx_cb.C:
1543         * paragraph.C:
1544         * rowpainter.C:
1545         * tabular.C:
1546         * text.C:
1547         * text2.C:
1548         * text3.C: adjust
1549
1550         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1551
1552         * undo.C: fix cursor positioning
1553
1554 2003-12-01  John Levon  <levon@movementarian.org>
1555
1556         * BufferView_pimpl.C: fix a crash on exit with
1557         a buffer open
1558
1559 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1560
1561         * BranchList.C: fix setSelected() method.
1562
1563 2003-11-28  André Pönitz  <poenitz@gmx.net>
1564
1565         * ParagraphParameters.[Ch]:
1566         * ParameterStruct.h: remove space above/below from Paragraph to
1567          InsetVSpace
1568
1569         * BufferView_pimpl.C:
1570         * factory.C:
1571         * lyxfunc.C:
1572         * lyxtext.h:
1573         * output_latex.C:
1574         * paragraph.C:
1575         * paragraph_funcs.C:
1576         * rowpainter.[Ch]:
1577         * text.C:
1578         * text2.C:
1579         * text3.C: adjust
1580
1581 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1582
1583         * factory.C: Syntax change for CharStyles
1584
1585 2003-11-28  André Pönitz  <poenitz@gmx.net>
1586
1587         * BufferView.[Ch]:
1588         * BufferView.[Ch]:
1589         * buffer.[Ch]:
1590         * buffer.[Ch]: move LyXText member
1591
1592 2003-11-28  André Pönitz  <poenitz@gmx.net>
1593
1594         * BufferView.[Ch]: make LyXText * text a private member
1595
1596         * BufferView_pimpl.C:
1597         * cursor.C:
1598         * iterators.C:
1599         * lyx_cb.C:
1600         * lyxfind.C:
1601         * lyxtext.h:
1602         * rowpainter.[Ch]:
1603         * text.C:
1604         * text2.C:
1605         * undo.C: adjust
1606
1607         * output_plaintext.C: cleanup
1608
1609 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1610
1611         * buffer.C:
1612         * lyxtextclass.[Ch]: parametrize SGML document header
1613
1614 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1615
1616         * converter.[Ch]:
1617         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1618         getFlavor().
1619
1620 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1621
1622         * text2.C (setFont): rework using PosIterator (no more recursive)
1623         (setCharFont): no more needed
1624         (setLayout): no more selection cursors fiddling (done by redoCursor)
1625         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1626         destroy remaining ones)
1627
1628 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1629
1630         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1631         * lyxtext.h: ditto
1632         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1633         selection cursors
1634         * lyxfunc.C: adjust
1635         * text3.C: adjust + re-allow multi par depth changes
1636         * textcursor.C: simplify a bit
1637
1638 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1639
1640         * src/buffer.C:
1641         * src/lyxlayout.C:
1642         * src/lyxlayout.h:
1643         * src/lyxtext.h:
1644         * src/output_docbook.C:
1645         * src/output_latex.C:
1646         * src/paragraph.C:
1647         * src/paragraph.h:
1648         * src/sgml.C:
1649         * src/sgml.h:
1650         * src/text2.C: Introducing a number of tags parametrizing various
1651         XML formats that we may want to support
1652
1653 2003-11-25  André Pönitz  <poenitz@gmx.net>
1654
1655         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1656
1657         * lyxtext.h (leftMargin/rightMargin): simplify interface
1658
1659         * rowpainter.C:
1660         * text.C:
1661         * text2.C:
1662         * text3.C: adjust
1663
1664 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1665
1666         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1667         master file to any child files. Fixes bug 546.
1668
1669 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1670
1671         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1672
1673 2003-11-24  André Pönitz  <poenitz@gmx.net>
1674
1675         * rowpainter.C: simplification
1676
1677         * text2.C (updateCounters): remove call to redoParagraph on
1678         changed labels as this is far too expensive.
1679
1680 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1681
1682         * converter.C (convert): fix a crash: this function gets
1683         called with buffer == 0 from importer code.
1684
1685 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1686
1687         * text3.C (cursorPrevious): make sure that we do not compare
1688         iterators form different containers.
1689         (cursorNext): ditto
1690
1691         * rowpainter.C (paintSelection): make sure that we do not compare
1692         iterators from different containers.
1693
1694         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1695         iterators from different ParagraphList containers.
1696         [NEXT] ditto
1697
1698         * text2.C (LyXText): change order of initialization slightly
1699         (operator=): new function. copy all variables except cache_par_
1700         (moveUp): make sure that we do not compare iterators from
1701         different ParagraphList constainers.
1702         (moveDown): ditto
1703
1704         * text.C (firstPar): new function
1705         (lastPar): new function
1706         (endPar): new function
1707
1708         * lyxtext.h: move things around and group public functions, public
1709         variables, private functions, private variables
1710
1711 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1712
1713         * factory.C: change call to InsetERT constructor to avoid
1714         additional invocation of method status
1715         * text2.C (toggleInset): remove redundant update() call
1716         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1717         instead of a Bufferview pointer
1718
1719 2003-11-21  André Pönitz  <poenitz@gmx.net>
1720
1721         * rowpainter.C: simplification
1722
1723 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1724
1725         * text3.C (dispatch): make possible to extend a word/row selection
1726         with the mouse
1727
1728 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1729
1730         * lyxtext.h: x0_,y0_ -> xo_,yo_
1731         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1732         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1733         * rowpainter.C (paintRows): paint full paragraphs
1734
1735 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1736
1737         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1738         screen coordinates)
1739
1740 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1741
1742         * lyxtext.h: add x0_, y0_
1743         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1744         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1745
1746 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1747
1748         * text2.C (setCursorIntern): move the x_target update here *
1749         * text3.C: change some bv() to true/false in calls to
1750         cursorUp/Down/Right/Left
1751         * cursor.C: use helper function.
1752
1753 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1754
1755         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1756         * paragraph_funcs.[Ch]: correct comment
1757         * rowpainter.C: do not paint selections away from bv->cursor()
1758         Fix a long standing selection painting bug.
1759         * text3.C: generalize mouse-selection code to LyXTexts other that
1760         top one
1761         * textcursor.C: do not use y coords if we can use par offsets
1762
1763 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1764
1765         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1766         cursor position after e.g. inset insert)
1767
1768 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1769
1770         * lyxfind.C (replace): adjust to locking removal + some
1771         code simplification
1772
1773 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1774
1775         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1776         of the path
1777
1778 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1779
1780         * lyxlayout.[Ch]:
1781         * output_docbook.C: XML sanitation: new layout
1782         parameters InnerTag and CommandDepth
1783
1784 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1785
1786         * BufferView_pimpl.C:
1787         * factory.C:
1788         * text3.C: Fix the insertion and modification of button-style
1789         insets
1790
1791 2003-11-13  André Pönitz  <poenitz@gmx.net>
1792
1793         * InsetList.[Ch]: remove deleteLyXText
1794
1795         * paragraph.[Ch]: cache beginOfBody position
1796
1797         * Bidi.C:
1798         * text.C:
1799         * text2.C:
1800         * text3.C: remove superfluous update() calls
1801
1802         * vspace.C: cleanup
1803
1804 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1805
1806         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1807         * BufferView.C (fitLockedInsetCursor): remove
1808         * cursor.[Ch] (getDim): add
1809         * text.C (getRowNearY): add faster version
1810         * text3.C: remove some update calls
1811
1812 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1813
1814         * LaTeXFeatures.C:
1815         * LyXAction.C:
1816         * MenuBackend.C:
1817         * MenuBackend.h:
1818         * dispatchresult.h:
1819         * factory.C:
1820         * lfuns.h:
1821         * lyxfunc.C:
1822         * lyxtextclass.C:
1823         * lyxtextclass.h:
1824         * text3.C: The Character Style /XML short element patch.
1825
1826 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1827
1828         * text3.C:
1829         * factory.C: Small step to solving 'unable to insert some insets'
1830         problem
1831
1832 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1833
1834         * cursor.[Ch] (updatePos): new function for updating the y
1835         position of the tip inset
1836         * bufferview_funcs.C (put_selection_at):
1837         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1838
1839 2003-11-11  André Pönitz  <poenitz@gmx.net>
1840
1841         * text.C: remove big comment on invalid Paragraph pointers as it is
1842         not valid anymore
1843
1844 2003-11-11  André Pönitz  <poenitz@gmx.net>
1845
1846         * text_funcs.[Ch]: merge with ...
1847
1848         * text.C: ... this
1849
1850         * lyxtext.h:
1851         * text2.C:
1852         * text3.C: adjust
1853
1854         * Makefile.am: remove text_funcs.[Ch]
1855
1856 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1857
1858         * cursor.C (getPos): return absolute cached y coord
1859
1860         * BufferView_pimpl.C (fitCursor): new simplistic code
1861         (workAreaDispatch): add a fitCursor call
1862
1863 2003-11-10  André Pönitz  <poenitz@gmx.net>
1864
1865         * BufferView.[Ch]:
1866         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1867
1868 2003-11-10  André Pönitz  <poenitz@gmx.net>
1869
1870         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1871         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1872         indicate that the cursor needs to leave an inset
1873
1874         * lyxtext.h: remove inset locking
1875
1876         * cursor.[Ch]: re-implement functionality provided by inset locking
1877
1878         * BufferView.[Ch]:
1879         * BufferView_pimpl.[Ch]:
1880         * LyXAction.C:
1881         * bufferview_funcs.[Ch]:
1882         * factory.C:
1883         * funcrequest.[Ch]:
1884         * iterators.C:
1885         * lyx_cb.C:
1886         * lyxfind.C:
1887         * lyxfunc.C:
1888         * text.C:
1889         * text2.C:
1890         * text3.C:
1891         * undo.C: adjust
1892
1893 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1894
1895         * PosIterator.[Ch]: replace the stack with a vector, add inset
1896         accesor
1897         * iterators.[C]: adjust
1898
1899 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1900
1901         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1902         replaced
1903         * paragraph_funcs.C (readParToken): put the correct id in the
1904         error item, not the id of the top paragraph
1905
1906 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1907
1908         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1909         * bufferview_funcs.C (put_selection_at): use the above
1910
1911 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1912
1913         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1914
1915 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1916
1917         * output_linuxdoc.h:
1918         * output_plaintext.h:
1919         * output.h:
1920         * output_docbook.h: add #include statements
1921
1922 2003-11-05  José Matos  <jamatos@lyx.org>
1923
1924         * output_docbook.[Ch]:
1925         * output_latex.[Ch]:
1926         * output_linuxdoc.[Ch]:
1927         * output_plaintext.[Ch]: New files for output formats.
1928         * output.[Ch]: New file for helper functions.
1929
1930         * buffer.[Ch]:
1931         * paragraph_funcs.[Ch]: output functions moved to new files.
1932
1933         * outputparams.h: rename of latexrunparams.h
1934
1935         * LaTeX.[Ch]:
1936         * buffer.[Ch]:
1937         * bufferlist.[Ch]:
1938         * converter.[Ch]:
1939         * exporter.C:
1940         * paragraph.[Ch]:
1941         * paragraph_funcs.[Ch]:
1942         * paragraph_pimpl.[Ch]:
1943         * tabular.[Ch]: rename ascii to plaintext
1944         and LatexRunParams to OutputParams.
1945
1946 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1947
1948         * iterators.[Ch] (text): require bv argument
1949         * undo.C (recordUndo):
1950         * lyxfunc.C (dispatch):
1951         * bufferview_funcs.C (put_selection_at): adjust
1952
1953 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1954
1955         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1956
1957 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1958
1959         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1960         nestings
1961
1962 2003-11-04  André Pönitz  <poenitz@gmx.net>
1963
1964         * cursor.[Ch]: restructure
1965
1966         * BufferView.[Ch]:
1967         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1968
1969         * iterators.[Ch] (asCursor): remove
1970
1971         * lfuns.h: remove LFUN_INSET_EDIT
1972
1973         * lyxfunc.C:
1974         * tabular.C:
1975         * text.C:
1976         * text2.C:
1977         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1978
1979 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1980
1981         * lyxfind.[Ch]: complete overhaul
1982         * BufferView_pimpl.C:
1983         * lyxfunc.C: adjust
1984         * paragraph.[Ch] (insert): add
1985
1986 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1987
1988         * BufferView.[Ch]:
1989         * lyxtext.h:
1990         * text.C: remove dead spellcheck code
1991
1992 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1993
1994         * dispatchresult.h: add a val setter
1995
1996         * cursor.C (dispatch): use a tempvar for data_[i]
1997
1998 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1999
2000         * PosIterator.[Ch]: compile fix
2001
2002 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2003
2004         * text.C (cursorPar): deactivate the cursor cache
2005
2006 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2007
2008         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2009
2010 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2011
2012         * text3.C (dispatch): adjust for new DisptchResult semantics.
2013
2014         * lyxfunc.C (dispatch): handle update when return from
2015         Cursor::dispatch, adjust for new DispatchResult semantics.
2016
2017         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2018         DispatchResult(true) mean to not update. Add class functions for
2019         setting dispatched and update, as well as reading.
2020
2021         * cursor.C (dispatch): don't handle update here
2022
2023 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2024
2025         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2026         * trans_mgr.C: adjust
2027
2028         * paragraph_funcs.C (readParToken): exception safety
2029
2030         * lyxvc.h: store the vcs pointer in a scoped_ptr
2031         * lyxvc.C: adjust
2032
2033         * lyxsocket.C (serverCallback): exception safety
2034
2035         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2036
2037         * ispell.C (clone): make it return a auto_ptr
2038
2039         * factory.C (createInset): exception safety
2040         (readInset): exception safety
2041
2042         * bufferlist.C (newBuffer): exception safety
2043
2044         * Thesaurus.C (Thesaurus): use initialization for aik_
2045
2046         * MenuBackend.C (expandToc): exception safety.
2047
2048 2003-11-03  André Pönitz  <poenitz@gmx.net>
2049
2050         * buffer.C:
2051         * buffer.h:
2052         * bufferview_funcs.C: remove getInsetFromId()
2053
2054         * lyxcursor.[Ch]:
2055         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2056
2057         * lyxfunc.C:
2058         * text2.C:
2059         * text3.C: adjust
2060
2061 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2062
2063         * PosIterator.C (distance, advance): new
2064         * bufferview_funcs.[Ch] (put_selection_at): new
2065         * iterators.[Ch] (lockPath): new
2066
2067 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2068
2069         * iterators.[Ch] (asPosIterator): added
2070         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2071         * PosIterator.[Ch]: added
2072
2073 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2074
2075         * text3.C:
2076         * lyxfunc.C:
2077         * cursor.C (dispatch):
2078         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2079
2080         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2081         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2082         contructor, add a class function dispatched. Remove operator>=
2083
2084 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2085
2086         * debug.C: only use the default constructor for debugstream
2087         (lyxerr) here.
2088
2089         * main.C (main): include debug.h and setup the lyxerr streambuf
2090         here.
2091
2092 2003-10-31  José Matos  <jamatos@lyx.org>
2093
2094         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2095
2096         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2097         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2098         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2099         * paragraph_pimpl.C (simpleTeXSpecialC):
2100         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2101         add LatexRunParams argument.
2102
2103         * exporter.C (Export): change call accordingly.
2104
2105         * latexrunparams.h: add new member to take care of the other backends.
2106 2003-10-30  José Matos  <jamatos@lyx.org>
2107
2108         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2109         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2110         factorise code for paragraph output.
2111         * buffer.[Ch]:
2112         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2113         move functions.
2114
2115 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2116
2117         * text3.C (dispatch):
2118         * lyxfunc.C (dispatch):
2119         * cursor.C (dispatch):
2120         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2121
2122         * dispatchresult.h: make the dispatch_result_t ctor explicit
2123
2124 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2125
2126         * sgml.[Ch]:
2127         * buffer.C: small refactoring of docbook stuff
2128
2129 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2130
2131         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2132         meaning.
2133
2134 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2135
2136         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2137         operator dispatch_result_t, and operators for == != and >=
2138
2139         * cursor.C (dispatch): adjust for operator dispatch_result_t
2140         removal. comment out call to update
2141
2142         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2143
2144 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2145
2146         * text3.C:
2147         * text2.C:
2148         * text.C:
2149         * lyxtext.h:
2150         * lyxfunc.C:
2151         * cursor.C:
2152         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2153         (dispatch):
2154
2155         * dispatchresult.h: new file, DispatchResult broken out of
2156         insets/insetbase.h
2157
2158         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2159
2160 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2161
2162         * text.C (rowBreakPoint): put a hack inside #if 0
2163
2164 2003-10-28  André Pönitz  <poenitz@gmx.net>
2165
2166         * lyxtext.h:
2167         * metricsinfo.C:
2168         * paragraph_funcs.C:
2169         * rowpainter.C:
2170         * text.C:
2171         * text2.C: general cleanup (lots of small stuff)
2172
2173 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2174
2175         * text2.C (cursorEnd): simple fix to the "end key goes to one
2176         before the end on last row" bug
2177
2178 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2179
2180         * text.C (backspace): fix the "zombie characters"
2181
2182 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2183
2184         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2185
2186 2003-10-27  André Pönitz  <poenitz@gmx.net>
2187
2188         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2189
2190         * factory.C: handle new InsetPagebreak, InsetLine
2191
2192         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2193         and move handling into new InsetPagebreak, InsetLine
2194
2195         * BufferView_pimpl.C:
2196         * LyXAction.C:
2197         * ParagraphParameters.C:
2198         * ParameterStruct.h:
2199         * lyxfunc.C:
2200         * lyxtext.h:
2201         * paragraph.C:
2202         * paragraph.h:
2203         * paragraph_funcs.C:
2204         * paragraph_pimpl.C:
2205         * rowpainter.C:
2206         * text.C:
2207         * text2.C:
2208         * text3.C: adjust
2209
2210 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2211
2212         * text.C:
2213         * lyxrow_funcs.[Ch]:
2214         * Bidi.C:
2215         * paragraph.C:
2216         * lyxtext.h:
2217         * rowpainter.C:
2218         * text2.C:
2219         * text3.C: remove lastPos uses in favour of Row::endpos
2220
2221 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2222
2223         * undo.C (performUndoOrRedo): fix two crashes by setting a
2224         cursor by hand and reordering some calls. Use bv->lockInset instead
2225         of inset->edit because the latter loses cursor information
2226
2227 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2228
2229         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2230         by Martin
2231         (rowBreakPoint): fix width. change point to point + 1.
2232         Add a missing check.
2233
2234 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2235
2236         * MenuBackend.C:
2237         * lyxfunc.C: fix (at least partly) the problems
2238         with the Nav menu and headers inside branch insets
2239         reported by Kayvan
2240
2241 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2242
2243         * paragraph.C (getChar): add strong asserts
2244
2245         * lyxrow_funcs.C (lastPos): remove hideous hack
2246
2247         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2248         (fill): adjust to that (avoid an infinite loop)
2249
2250 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2251
2252         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2253
2254 2003-10-23  André Pönitz  <poenitz@gmx.net>
2255
2256         * RowList_fwd.h: change list<> to vector<> to gain speed
2257         after suggestion from Alfredo
2258
2259 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2260
2261         * lyxtext.h: move the bidi stuff from here...
2262         * text.C: and here
2263         * text2.C: and here
2264         * Bidi.[Ch]: ... to here
2265
2266 2003-10-23  André Pönitz  <poenitz@gmx.net>
2267
2268         * lyxtext.h:
2269         * text.C (isLastRow, isFirstRow): new functions
2270
2271         * paragraph.h: new width cache member
2272
2273         * rowpainter.C: replace RowList::iterator with Row & where possible
2274
2275         * lyxfunc.C: replace several view()->text with a single call
2276
2277         * toc.C: fix 'unused' warning
2278
2279 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2280
2281         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2282         when woring with stream::pos_type
2283         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2284
2285 2003-10-22  André Pönitz  <poenitz@gmx.net>
2286
2287         * lyxtext.h:
2288         * text.C: use Row & instead of RowList::iterator
2289
2290         * lyxrow.h: rename end() to endpos()
2291
2292         * rowpainter.C:
2293         * text.C:
2294         * text2.C: adjust
2295
2296 2003-10-22  Angus Leeming  <leeming@lyx.org>
2297
2298         * buffer.[Ch] (fully_loaded): new member function, returning true
2299         only when the file has been loaded fully.
2300         Used to prevent the premature generation of previews and by the
2301         citation inset to prevent computation of the natbib-style label.
2302
2303         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2304         templates are all set up.
2305
2306         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2307
2308 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2309
2310         * text.C: fixed an "oops" in the "is a bit silly"
2311         bug fix
2312
2313 2003-10-21  André Pönitz  <poenitz@gmx.net>
2314
2315         * FuncStatus.[Ch]: small stuff, whitespace
2316
2317         * lyxfont.[Ch]: operator<<() for debug reasons
2318
2319         * lyxfunc.C:
2320         * lyxrow_funcs.C:
2321         * lyxtext.h: whitespace, spelling
2322
2323         * paragraph.C: naming of variables
2324
2325         * text.C:
2326         * text2.C: small stuff
2327
2328
2329 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2330
2331         * text.C: (1) finish off the inset display() work;
2332         (2) fix the "is a bit silly" bug (accessing char
2333         past end of par).
2334
2335 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2336
2337         * text.C: re-introduce display() for insets, fixing the
2338         various bugs (stretch of line above, math inset
2339         positioning, ...)
2340
2341 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2342
2343         * text.C (rightMargin): remove spurious semicolon
2344
2345         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2346         1415)
2347
2348 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2349
2350         * text3.C: fix one crash due to wrong cursor def
2351
2352 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2353
2354         * vc-backend.C (scanMaster): make the regex static
2355
2356         * LaTeX.C (scanAuxFile): make the regexs static
2357
2358         * text3.C (doInsertInset, dispatch, dispatch):
2359         * text2.C (cursorUp, cursorDown):
2360         * text.C (selectNextWordToSpellcheck):
2361         * BufferView_pimpl.C (dispatch):
2362         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2363
2364 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2365
2366         * lyxsocket.C: include <cerrno>
2367
2368 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2369
2370         * lyxfunc.C (dispatch): remove textcache stuff
2371
2372         * bufferlist.C (release): remove textcache stuff
2373         (closeAll): ditto
2374
2375         * TextCache.C: delete file
2376         * TextCache.h: delete file
2377
2378         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2379
2380         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2381         delete of the bv_->text.
2382         (resizeCurrentBuffer): remove texcache stuff
2383         (workAreaResize): ditto
2384
2385 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2386
2387         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2388         action.
2389
2390 2003-10-16  André Pönitz  <poenitz@gmx.net>
2391
2392         * lyxrow.[Ch]:
2393         * paragraph.h:
2394         * rowpainter.C:
2395         * text.C:
2396         * text2.C:
2397         * text3.C: speed up by storing y positions per paragraph plus per-row
2398         offset instead of having a 'full' y position in the row.
2399
2400 2003-10-15  André Pönitz  <poenitz@gmx.net>
2401
2402         * iterators.[Ch]:
2403         * iterators.[Ch]:
2404         * undo.[Ch]: make undo aware of inner insets
2405
2406 2003-10-14  Angus Leeming  <leeming@lyx.org>
2407
2408         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2409         static member functions LyX::ref() and LyX::cref.
2410         (lastfiles): new accessor functions for the new lastfiles_ member var.
2411         (addLyXView, views_): add a new LyXView to the list of views_.
2412         (updateInset): loop over all LyXViews to call their own updateInset
2413         member function, returning a pointer to the Buffer owning the inset.
2414
2415         * BufferView_pimpl.C (loadLyXFile):
2416         * MenuBackend.C (expandLastfiles):
2417         * bufferlist.C (MenuWrite, QuitLyX):
2418         lastfiles is no longer a global variable.
2419         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2420
2421         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2422         static function. Access through LyX::cref().emergencyCleanup().
2423
2424 2003-10-14  André Pönitz  <poenitz@gmx.net>
2425
2426         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2427
2428         * undo.[Ch]: restoring part of 'undo in insets'
2429
2430         * Makefile.am:
2431         * undo_funcs.[Ch]: merge with undo.[Ch]
2432
2433         * tabular.C: small cleansing stuff
2434
2435 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2436
2437         * paragraph_funcs.C (readParToken): report unknown insets as error
2438         boxes. Use the outer paragraph as location (also for unknown
2439         tokens).
2440
2441         * factory.C (readInset): do not abort on reading an unknown inset.
2442         Eat it and return 0.
2443
2444 2003-10-13  Angus Leeming  <leeming@lyx.org>
2445
2446         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2447
2448         * lyxrc.C: displayTranslator is now a function,
2449         declared in GraphicsTypes.h.
2450
2451 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2452
2453         * format.C: new placeholder $$a to pass the socket address.
2454
2455         * bufferlist.[Ch]: new function getBufferFromTmp.
2456
2457         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2458           files in the temporary dir.
2459
2460 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2461
2462         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2463
2464         * Makefile.am: add lyxsocket.[Ch].
2465
2466         * lyx_main.C (error_handler): handle SIGPIPE.
2467
2468 2003-10-13  André Pönitz  <poenitz@gmx.net>
2469
2470         * BufferView_pimpl.C:
2471         * lyxtext.h:
2472         * text.C:
2473         * text2.C:
2474         * text3.C:
2475         * undo_funcs.[Ch]: use paroffset_type instead of
2476           ParagraphList::iterators to prevent multiple conversion
2477           (and get a more robust interface)
2478
2479 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2480
2481         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2482         * lyxtext.h: ditto
2483         * text3.C (dispatch): ditto
2484
2485 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2486
2487         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2488         move the onlyfile, use onlyfile instead of foundfile in a couple
2489         of places.
2490
2491         * DepTable.C (update): flush the error stream a bit more
2492
2493 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2494
2495         * lyxserver.C (callback): adjust
2496
2497         * lyxfunc.C (getStatus): add a missing brace in commented code
2498         (ensureBufferClean): reindent
2499         (dispatch): delete version taking a string
2500
2501 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2502
2503         * LaTeX.C (deplog): move found file handlig from here...
2504         (handleFoundFile): .. to new function here.
2505         (deplog): make sure to discover several files mentioned on the
2506         same log line.
2507
2508 2003-10-10  André Pönitz  <poenitz@gmx.net>
2509
2510         * lyxfunc.C:
2511         * lyxtext.h:
2512         * tabular.C:
2513         * text.C:
2514         * text2.C:
2515         * text3.C: fix some of the tabular crashes
2516
2517 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2518
2519         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2520
2521         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2522
2523 2003-10-09  André Pönitz  <poenitz@gmx.net>
2524
2525         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2526
2527         * BufferView.C:
2528         * BufferView_pimpl.C:
2529         * bufferview_funcs.C:
2530         * lyx_cb.C:
2531         * lyxcursor.C:
2532         * lyxfind.C:
2533         * lyxfunc.C:
2534         * lyxtext.h:
2535         * text.C:
2536         * text2.C:
2537         * text3.C:
2538         * text_funcs.[Ch]:
2539         * textcursor.[Ch]:
2540         * undo_funcs.C: adjust
2541
2542 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2543
2544         * text2.C (incrementItemDepth): new function, use a backtracking
2545         algorithm to discover the correct item depth.
2546         (resetEnumCounterIfNeeded): new function, use a backtracking
2547         algorithm to discover if counter reset is needed.
2548         (setCounter): use them. Simplify a bit. Add different labels for
2549         different item depths for itemize.
2550
2551         * paragraph.C (Paragraph): remove initialization of enumdepth
2552         (operator=): ditto
2553
2554         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2555         enumerate and itemize. Change the type of itemdepth to signed char.
2556
2557 2003-10-08  André Pönitz  <poenitz@gmx.net>
2558
2559         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2560           thing assignable.
2561         * text.C:
2562         * text2.C: adjust
2563
2564         * tabular.[Ch]: fix crash after 'row-insert'
2565
2566 2003-10-08  Angus Leeming  <leeming@lyx.org>
2567
2568         Fix doxygen warnings.
2569
2570         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2571         Remove CutAndPaste:: prefix from header file declaration.
2572
2573         * LColor.h (fill): remove LColor:: prefix from declaration.
2574
2575         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2576         use lyx::depth_type rather than Paragraph::depth_type so that
2577         header file and .C file match.
2578
2579         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2580
2581         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2582         * aspell.C: \file aspell_local.C -> \file aspell.C
2583         * gettext.C: \file gettext.C -> \file src/gettext.C
2584         * gettext.h: \file gettext.h -> \file src/gettext.h
2585         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2586         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2587         * text.C: \file text.C -> \file src/text.C
2588
2589         * toc.C: move comment so that doxygen is not confused.
2590
2591 2003-10-07  Angus Leeming  <leeming@lyx.org>
2592
2593         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2594
2595 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2596
2597         * aspell.C:
2598         * aspell_local.h: add forgotten std::string's.
2599
2600 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2601
2602         * LaTeXFeatures.C:
2603         * LyXAction.C:
2604         * factory.C:
2605         * lfuns.h:
2606         * lyxfunc.C:
2607         * text3.C: The Box patch. Fancybox support, minipage, parbox
2608
2609 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2610
2611         * CutAndPaste.h:
2612         * DepTable.h:
2613         * FloatList.h:
2614         * LaTeXFeatures.h:
2615         * ParagraphParameters.h:
2616         * TextCache.h:
2617         * Thesaurus.h:
2618         * bufferlist.h:
2619         * exporter.h:
2620         * importer.h:
2621         * lastfiles.h:
2622         * lyxfind.h:
2623         * lyxfont.h:
2624         * lyxlex.h:
2625         * lyxtextclasslist.h:
2626         * messages.h:
2627         * paragraph.h:
2628         * paragraph_pimpl.C:
2629         * textcursor.h: add <string> and other small fixes to make Lars'
2630         std::string patch compile with STLport.
2631
2632 2003-10-06  Angus Leeming  <leeming@lyx.org>
2633
2634         * LColor.h: Add missing #include <string>.
2635
2636 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2637
2638         * All most all file in all subdirs: Make <string> be the prefered
2639         way of getting to std::string, add using declarations.
2640
2641 2003-10-06  André Pönitz  <poenitz@gmx.net>
2642
2643         * metricsinfo.C: initialize LyXFont before changing attribute.
2644         (fixes the 'math in \emph is upright' bug)
2645
2646 2003-10-06  André Pönitz  <poenitz@gmx.net>
2647
2648         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2649
2650 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2651
2652         * graph.C:
2653         * paragraph_pimpl.C: Small fixes to build using STLport
2654
2655 2003-10-02  André Pönitz  <poenitz@gmx.net>
2656
2657         * lyxfunc.C:
2658         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2659
2660 2003-10-01  André Pönitz  <poenitz@gmx.net>
2661
2662         * factory.C: assert early
2663
2664 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2665
2666         * lyx_main.C: remove the global debug object
2667
2668         * debug.h: adjust for new debugstream
2669
2670         * debug.C: adjust for new debugstream and keep the global debug
2671         object here.
2672
2673 2003-09-22  Angus Leeming  <leeming@lyx.org>
2674
2675         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2676         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2677         an incomplete class LyXFont.
2678
2679 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2680
2681         * factory.C: bug fix in branches
2682
2683 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2684
2685         * lyxfunc.C (processKeySym): adjust
2686         (dispatch): adjust
2687         (dispatch): change arg name from ev to func, adjust
2688         (sendDispatchMessage): ditto
2689
2690         * lyx_main.C (defaultKeyBindings): adjust keybindings
2691         (deadKeyBindings): ditto
2692
2693         * kbsequence.C (addkey): return a FuncRequest
2694
2695         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2696
2697         * kbmap.C (bind): take a FuncRequest as arg, adjust
2698         (read): adjust
2699         (lookup): adjust
2700         (defkey): change to take a FuncRequest as arg, adjust
2701         (findbinding): take a FuncRequest as arg, adjust.
2702
2703         * funcrequest.h (operator=): added
2704
2705         * funcrequest.C (FuncRequest): default kb_action changed from
2706         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2707
2708         * buffer.C (dispatch): simplify
2709         (dispatch): adjust to take a FuncRequest as arg, adjust
2710
2711         * boost.C (assertion_failed): change assertion message slightly
2712
2713         * ToolbarBackend.C (read): simplify
2714
2715         * MenuBackend.C (binding): adjust call to findbinding, add a
2716         message if no binding is found.
2717         (read): simplify
2718         (expandToc): correct by adding a empty FuncRequest
2719
2720         * LyXAction.C: include <boost/assert.hpp>
2721         (isPseudoAction): delete function
2722         (LookupFunc): change name to...
2723         (lookupFunc): this. change return type to FuncRequest.
2724         (getActionName): take kb_action as arg, simplify
2725         (funcHasFlag): add an assert, simplify.
2726
2727 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2728
2729         * toc.C (action): return a FuncRequest, simplify
2730
2731         * lyxfunc.C (processKeySym): adjust
2732         (getStatus): delete version that takes an int.
2733         (getStatus): adjust
2734         (dispatch): delete version that takes action as int
2735         (dispatch): adjust
2736         (sendDispatchMessage): simplify and adjust
2737
2738         * funcrequest.C (getArg): take unsigned int as arg
2739
2740         * ToolbarBackend.C (read): adjust
2741         (add): delete version that takes func as a string.
2742         (getIton): take a FuncRequest as arg
2743
2744         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2745         action.
2746
2747         * MenuBackend.C (MenuItem): add a new construct that only takes a
2748         Kind, simplify the constructor use for submenus.
2749         (add): adjust
2750         (expandLastfiles): adjust
2751         (expandDocuments): adjust
2752         (expandFormats): adjust
2753         (expandFloatListInsert): adjust
2754         (expandFloatInsert): adjust
2755         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2756
2757         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2758         Remove class variables lyx_pseudo_map and lyx_arg_map
2759
2760         * LyXAction.C (searchActionArg): delete function
2761         (getPseudoAction): delete function
2762         (retrieveActionArg): delete function
2763         (LookupFunc): make it return kb_action, simplify.
2764         (getActionName): simplify
2765
2766         * factory.C (createInset): fix new bug
2767
2768 2003-09-19  Angus Leeming  <leeming@lyx.org>
2769
2770         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2771         masterFilename_ parameter in the include inset.
2772
2773         * factory.C (createInset): changes due to the changes to InsetInclude.
2774
2775 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2776
2777         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2778
2779 2003-09-18  Angus Leeming  <leeming@lyx.org>
2780
2781         * buffer.C:
2782         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2783         Inset::fillWithBibKeys.
2784         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2785
2786 2003-09-18  Angus Leeming  <leeming@lyx.org>
2787
2788         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2789         variables.
2790         (ctor): pass and store a 'Buffer const &'
2791         (buffer): new member function.
2792
2793         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2794         '*this' to the LaTeXFeatures ctor.
2795
2796 2003-09-18  Angus Leeming  <leeming@lyx.org>
2797
2798         * LColor.h:
2799         * lyxfont.C:
2800         * lyxfont.h:
2801         * lyxtext.h:
2802         * text.C: rename EnumLColor as LColor_color.
2803
2804 2003-09-18  Angus Leeming  <leeming@lyx.org>
2805
2806         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2807         remove #include "insets/insetbase.h" from cursor.h.
2808
2809 2003-09-18  Angus Leeming  <leeming@lyx.org>
2810
2811         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2812         InsetOld_code to remove #include "inset.h".
2813
2814         * iterators.C: add #include "insets/inset.h"
2815
2816 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2817
2818         * BufferView.C: remove more locking stuff that apparently doesn't
2819         do anything sensible.
2820
2821 2003-09-16  André Pönitz  <poenitz@gmx.net>
2822
2823         * paragraph.[Ch]:
2824         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2825           performance boost.
2826
2827 2003-09-16  Angus Leeming  <leeming@lyx.org>
2828
2829         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2830
2831         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2832         arg/return type.
2833
2834         * paragraph.h: remove #include "lyxfont.h". Forward declare
2835         LyXFont_size.
2836
2837 2003-09-16  Angus Leeming  <leeming@lyx.org>
2838
2839         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2840         of support/textutils.h.
2841         (isWord): move the contents of support/textutils.h's IsWordChar here.
2842
2843         * buffer.C:
2844         * lyxfind.C:
2845         * rowpainter.C:
2846         * text.C:
2847         * text2.C: add #include "paragraph.h".
2848
2849         * rowpainter.C:
2850         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2851
2852 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2853
2854         * main.C:
2855         * lyx_main.C:
2856         * lyx_cb.C:
2857         * buffer.C:
2858         * LaTeX.C: use namespace alias for lyx::support::os
2859
2860 2003-09-16  Angus Leeming  <leeming@lyx.org>
2861
2862         * bufferparams.C:
2863         * bufferview_funcs.C:
2864         * factory.C:
2865         * lyxfunc.C:
2866         * paragraph_pimpl.C:
2867         * rowpainter.C:
2868         * text.C: add #include "LColor.h".
2869
2870 2003-09-16  Angus Leeming  <leeming@lyx.org>
2871
2872         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2873         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2874         return LyXFont &.
2875         Store the FontBits::color variable as an int rather than as an
2876         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2877         file.
2878
2879         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2880         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2881         string calls together.
2882
2883         * lyxrc.C: add #include "LColor.h".
2884
2885 2003-09-15  Angus Leeming  <leeming@lyx.org>
2886
2887         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2888         a cow_ptr.
2889
2890 2003-09-15  Angus Leeming  <leeming@lyx.org>
2891
2892         * LColor.h: add an EnumLColor wrapper for LColor::color.
2893
2894         * lyxfont.[Ch] (color, setColor, realColor):
2895         * lyxtext.h, text.C (backgroundColor):
2896         pass EnumLColor args to/from the functions, rather than LColor::color
2897         ones.
2898
2899         * lyxfont.h:
2900         * lyxtext.h: forward declare EnumLColor.
2901
2902         * lyx_main.C: add #include "LColor.h".
2903
2904 2003-09-15  Angus Leeming  <leeming@lyx.org>
2905
2906         * .cvsignore: add lyx-gtk.
2907
2908 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2909
2910         * Chktex.C
2911         * LaTeX.C
2912         * LaTeXFeatures.C
2913         * ParagraphParameters.C
2914         * Spacing.C
2915         * buffer.C
2916         * bufferparams.C
2917         * bufferview_funcs.C
2918         * chset.C
2919         * counters.C
2920         * funcrequest.C
2921         * lyxfont.C
2922         * lyxgluelength.C
2923         * lyxlength.C
2924         * paragraph.C
2925         * paragraph_funcs.C
2926         * text3.C
2927         * vc-backend.C: remove usage of STRCONV
2928
2929 2003-09-15  Angus Leeming  <leeming@lyx.org>
2930
2931         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2932         explicitly define the color passed to the painter.
2933
2934 2003-09-15  Angus Leeming  <leeming@lyx.org>
2935
2936         * bufferparams.C (BufferParams): reorder member initializers to avoid
2937         compiler warning.
2938
2939 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2940
2941         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2942         * text.C (updateRowPositions): remove an unusual nop
2943
2944 2003-09-12  André Pönitz  <poenitz@gmx.net>
2945
2946         * BufferView_pimpl.C:
2947         * Bullet.C:
2948         * layout.h:
2949         * lyxfunc.C:
2950         * lyxlayout.[Ch]:
2951         * lyxtextclass.C:
2952         * rowpainter.C:
2953         * text.C:
2954         * text2.C:
2955         * Counters.[Ch]: finish the 'automatic counters' job
2956
2957 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2958
2959         * aspell.C: include <boost/assert.cpp> (compile fix)
2960
2961 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2962
2963         * boost.C (assertion_failed): use lyx::support::abort instead of
2964         assert.
2965
2966 2003-09-10  Angus Leeming  <leeming@lyx.org>
2967
2968         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2969         with their _fwd progeny.
2970
2971 2003-09-09  Angus Leeming  <leeming@lyx.org>
2972
2973         134 files throughtout the source tree: replace 'using namespace abc;'
2974         directives with the appropriate 'using abc::xyz;' declarations.
2975
2976 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2977
2978         * boost.C (emergencyCleanup): moved here from LAssert.c
2979         (assertion_failed): new function, called by BOOST_ASSERT
2980
2981         * several files: change Assert to BOOST_ASSERT
2982
2983 2003-09-09  Angus Leeming  <leeming@lyx.org>
2984
2985         * buffer.[Ch]: Add an Impl class and move Buffer's member
2986         variables into it. As a result move several header files out of
2987         buffer.h.
2988
2989         Add header files to lots of .C files all over the tree as a result.
2990
2991 2003-09-09  Angus Leeming  <leeming@lyx.org>
2992
2993         * buffer.[Ch]: make Buffer's member variables private. Add
2994         accessor functions.
2995
2996         Lots of changes all over the tree as a result.
2997
2998 2003-09-08  Angus Leeming  <leeming@lyx.org>
2999
3000         * graph.C: #include <config.h>.
3001
3002 2003-09-08  Angus Leeming  <leeming@lyx.org>
3003
3004         * BranchList.C:
3005         * BufferView.C:
3006         * BufferView_pimpl.C:
3007         * CutAndPaste.C:
3008         * DepTable.C:
3009         * LaTeX.C:
3010         * LaTeXFeatures.C:
3011         * LyXAction.C:
3012         * MenuBackend.C:
3013         * TextCache.C:
3014         * aspell.C:
3015         * buffer.C:
3016         * bufferlist.C:
3017         * changes.C:
3018         * chset.C:
3019         * converter.C:
3020         * counters.C:
3021         * debug.C:
3022         * graph.C:
3023         * ispell.C:
3024         * lyx_cb.C:
3025         * lyxfind.C:
3026         * lyxfunc.C:
3027         * lyxlex_pimpl.C:
3028         * lyxrc.C:
3029         * lyxrow.C:
3030         * paragraph.C:
3031         * rowpainter.C:
3032         * texrow.C:
3033         * text.C:
3034         * text2.C:
3035         * toc.C: remove redundant using directives.
3036
3037 2003-09-07  Angus Leeming  <leeming@lyx.org>
3038
3039         * LaTeXFeatures.h: remove #include "support/types.h".
3040         * ToolbarBackend.h: remove #include <algorithm>.
3041         * changes.h: remove #include <ctime>.
3042         * debug.h: remove #include <iosfwd>.
3043         * graph.h: remove #include "support/std_string.h".
3044         * lyx_main.h: remove #include <csignal>.
3045         * lyxlex_pimpl.h: remove #include <fstream>.
3046         * sgml.h: remove #include <algorithm>, <utility>.
3047         * toc.h: remove #include "support/std_ostream.h".
3048         Add #include <iosfwd>.
3049
3050 2003-09-07  Angus Leeming  <leeming@lyx.org>
3051
3052         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3053
3054         * converter.h: forward declare LatexRunParams.
3055         * encoding.h: remove #include "lyxrc.h".
3056         * lyxtext.h: remove #include "LColor.h".
3057         * lyxtextclass.h: remove #include "support/types.h".
3058         * trans.h: remove #include "tex-accent.h".
3059         * trans_mgr.h: remove #include "tex-accent.h".
3060         * insets/inset.h: remove #include "support/types.h", <vector>.
3061         * insets/insetcollapsable.h: remove #include "LColor.h".
3062         * insets/insetinclude.h: remove #include "dimension.h".
3063         * insets/insetlatexaccent.h: remove #include "dimension.h".
3064         * insets/insetoptarg.h:: remove #include "insettext.h".
3065         * insets/insettext.h: remove #include "dimension.h",
3066         <boost/shared_ptr.hpp>
3067
3068         * insets/renderers.h: add #include "dimension.h".
3069         * insets/updatableinset.h: add #include "support/types.h".
3070
3071         * many .C files: Associated changes.
3072
3073 2003-09-06  Angus Leeming  <leeming@lyx.org>
3074
3075         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3076         one, inside testInvariant.
3077
3078         * PrinterParams.C: new file.
3079         * PrinterParams.[Ch]: move the function bodies out of line.
3080
3081 2003-09-06  Angus Leeming  <leeming@lyx.org>
3082
3083         * ParagraphParameters.h: forward declare ParameterStruct rather than
3084         including its header file.
3085         (depth): moved out-of-line.
3086
3087 2003-09-06  Angus Leeming  <leeming@lyx.org>
3088
3089         * BufferView_pimpl.h:
3090         * kbmap.h:
3091         * kbsequence.h:
3092         * lyxfunc.h: forward declare LyXKeySym rather than
3093         #include "frontends/LyXKeySym.h".
3094
3095         * BufferView_pimpl.C:
3096         * kbmap.C:
3097         * kbsequence.C:
3098         * lyxfunc.C: associated changes.
3099
3100 2003-09-06  Angus Leeming  <leeming@lyx.org>
3101
3102         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3103         As a result, can remove the #include "insets/inset.h" from BufferView.h
3104
3105 2003-09-06  Angus Leeming  <leeming@lyx.org>
3106
3107         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3108         As a result, can remove the #include "insets/inset.h" from BufferView.h
3109
3110 2003-09-06  Angus Leeming  <leeming@lyx.org>
3111
3112         * buffer_funcs.C:
3113         * buffer.h:
3114         * bufferlist.C:
3115         * BufferView.C:
3116         * bufferview_funcs.C:
3117         * BufferView_pimpl.C:
3118         * CutAndPaste.C:
3119         * lyx_cb.C:
3120         * lyxfunc.C:
3121         * paragraph.h:
3122         * ParagraphParameters.C:
3123         * tabular.C:
3124         * text3.C:
3125         * toc.C:
3126         * undo_funcs.C:
3127         * frontends/controllers/ControlDocument.C:
3128         * insets/insetcaption.C: rearrange the #includes into some sort of
3129         coherent order.
3130
3131         * buffer.h: remove #includes ErrorList.h, undo.h
3132
3133 2003-09-06  Angus Leeming  <leeming@lyx.org>
3134
3135         * support/types.h: add a 'depth_type' typedef, used to store the
3136         nesting depth of a paragraph.
3137
3138         * paragraph.h:
3139         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3140         defining explicitly.
3141
3142         * buffer.h:
3143         * paragraph_funcs.h:
3144         * ParagraphParameters.h:
3145         * sgml.h: use lyx::depth_type rather than Paragraph or
3146         ParameterStruct's depth_type.
3147
3148         * buffer.h
3149         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3150
3151         * BufferView.C:
3152         * BufferView_pimpl.C:
3153         * CutAndPaste.C:
3154         * ParagraphParameters.C:
3155         * buffer_funcs.C:
3156         * bufferlist.C:
3157         * bufferview_funcs.C:
3158         * lyx_cb.C:
3159         * lyxfunc.C:
3160         * tabular.C:
3161         * text3.C:
3162         * toc.C:
3163         * undo_funcs.C:
3164         * frontends/LyXView.C:
3165         * frontends/controllers/ControlDocument.C:
3166         * frontends/controllers/ControlErrorList.C:
3167         * insets/insetbibitem.C:
3168         * insets/insetbranch.C:
3169         * insets/insetcaption.C:
3170         * insets/insetcollapsable.C:
3171         * insets/insetenv.C:
3172         * insets/insetert.C:
3173         * insets/insetfloat.C:
3174         * insets/insetfoot.C:
3175         * insets/insetfootlike.C:
3176         * insets/insetnewline.C:
3177         * insets/insetquotes.C:
3178         * insets/insettabular.C:
3179         * insets/insettext.C:
3180         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3181
3182         * frontends/controllers/ControlChanges.C: #include "changes.h".
3183
3184 2003-09-06  Angus Leeming  <leeming@lyx.org>
3185
3186         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3187         than #including paragraph.h.
3188
3189         * ParagraphList.h:
3190         * RowList.h: deleted. Superfluous.
3191
3192         * CutAndPaste.h:
3193         * iterators.h:
3194         * lyxcursor.h:
3195         * lyxtext.h:
3196         * text_funcs.h:
3197         * undo.h:
3198         * undo_funcs.h:
3199         * insets/inset.h:
3200         * insets/insettext.h: use ParagraphList_fwd.h rather than
3201         ParagraphList.h.
3202
3203         * paragraph.h: don't forward declare ParagraphList.
3204
3205         * buffer.h:
3206         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3207         rather than ParagraphList.h. paragraph.h is still needed for the
3208         Paragraph::depth_type parameters.
3209
3210         * textcursor.h: enable it to compile stand-alone in light of the
3211         above changes.
3212
3213         * bufferview_funcs.C:
3214         * iterators.C:
3215         * lyxfunc.C:
3216         * lyxrow_funcs.C:
3217         * paragraph.C:
3218         * rowpainter.C:
3219         * text.C:
3220         * text2.C:
3221         * text3.C:
3222         * text_funcs.C:
3223         * textcursor.C:
3224         * undo.C:
3225         * frontends/controllers/ControlParagraph.C:
3226         * frontends/controllers/ControlTabular.C:
3227         * insets/insetmarginal.C:
3228         * insets/insetminipage.C:
3229         * insets/insetnote.C:
3230         * insets/insetoptarg.C: add header files needed to compile again.
3231
3232 2003-09-06  Angus Leeming  <leeming@lyx.org>
3233
3234         * RowList_fwd.h: new file, forward-declaring Row rather than
3235         #including lyxrow.h.
3236
3237         * lyxrow_funcs.h:
3238         * lyxtext.h:
3239         * paragraph.h:
3240         * insets/insettext.h: use it instead of RowList.h
3241
3242         * bufferview_funcs.C:
3243         * lyxfunc.C:
3244         * lyxrow_funcs.C:
3245         * paragraph.C:
3246         * rowpainter.C:
3247         * text.C:
3248         * text2.C:
3249         * text3.C: #include "RowList.h".
3250
3251 2003-09-05  Angus Leeming  <leeming@lyx.org>
3252
3253         * factory.C (createInset):
3254         * vspace.C (c-tor): replace sscanf call with an istringstream.
3255         * ispell.C: re-add missing HP/UX headers.
3256         * lyxserver.C: re-add missing  os2 headers.
3257
3258 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3259
3260         * BranchList.C:
3261         * graph.C:
3262         * ispell.C:
3263         * lastfiles.C:
3264         * lyx_cb.C:
3265         * lyxserver.C:
3266         * texrow.C:
3267         * text3.C: re-add missing system headers, needed for 2.95.2.
3268
3269 2003-09-05  Angus Leeming  <leeming@lyx.org>
3270
3271         Changes most place everywhere due to the removal of using directives
3272         from support/std_sstream.h.
3273
3274 2003-09-05  Angus Leeming  <leeming@lyx.org>
3275
3276         Replace LString.h with support/std_string.h,
3277         Lsstream.h with support/std_sstream.h,
3278         support/LIstream.h with support/std_istream.h,
3279         support/LOstream.h with support/std_ostream.h.
3280
3281         Changes resulting throughout the tree.
3282
3283 2003-09-05  Angus Leeming  <leeming@lyx.org>
3284
3285         * sgml.h: ensure that the header file can be compiled stand-alone.
3286         * *.C: strip out redundant #includes. (320 in total.)
3287
3288 2003-09-04  Angus Leeming  <leeming@lyx.org>
3289
3290         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3291         here (from getPackages).
3292
3293         * debug.[Ch]: add a new EXTERNAL tag.
3294
3295 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3296
3297         * text2.C (cursorEnd): simplify
3298         (setCursor): adjust
3299         (getColumnNearX): adjust
3300
3301         * text.C (computeBidiTables): adjust
3302         (fill): adjust
3303
3304         * rowpainter.C (paintChars): adjust
3305         (paintSelection): adjust
3306         (paintChangeBar): adjust
3307         (paintText): adjust
3308
3309         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3310         lastPos instead.
3311         (numberOfSeparators): adjust
3312
3313 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3314
3315         * LyXAction.C:
3316         * box.[Ch]:
3317         * lfuns.h:
3318         * lyxfunc.C:
3319         * text3.C: Restricts the mouse click functionality
3320         of insets like bibtex, include, toc and floatlist to the visible
3321         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3322         up the dialogs. Cursor has to be in front of the inset (i.e.
3323         start of row) for this to function.
3324
3325 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3326
3327         * bufferview_funcs.C (currentState): output row information
3328
3329 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3330
3331         * bufferview_funcs.C (currentState): output paragraph position
3332
3333 2003-09-04  Angus Leeming  <leeming@lyx.org>
3334
3335         * FloatList.h: move out #include "Floating.h".
3336         * LaTeX.h: move out #include "DepTable.h".
3337         * LyXAction.h: move out #include "funcrequest.h".
3338         * buffer.h: move out #include "author.h", "iterators.h".
3339         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3340         * lyx_main.h: move out #include "errorlist.h".
3341         * lyxfunc.h: move out #include "FuncStatus.h".
3342         * lyxtext: move out #include "lyxcursor.h".
3343         * paragraph_pimpl.h: move out #include "counters.h".
3344
3345 2003-09-03  Angus Leeming  <leeming@lyx.org>
3346
3347         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3348         preamble_snippets list, enabling us to add snippets to the preamble
3349         only if the snippet was not there already.
3350
3351 2003-09-04  Angus Leeming  <leeming@lyx.org>
3352
3353         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3354
3355 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3356
3357         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3358         update
3359
3360 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3361
3362         * BranchList.C: point fix, earlier forgotten
3363
3364 2003-09-02  Angus Leeming  <leeming@lyx.org>
3365
3366         * box.C (contains): renamed from 'contained' after a fantastic
3367         amount of hot air.
3368
3369 2003-09-02  John Levon  <levon@movementarian.org>
3370
3371         * BufferView.C:
3372         * lyxcursor.h:
3373         * lyxcursor.C:
3374         * lyxfunc.C:
3375         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3376
3377 2003-09-02  John Levon  <levon@movementarian.org>
3378
3379         * text2.C: simplification of cursorEnd(), including partial
3380         fix for bug 1376
3381
3382 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3383
3384         * buffer.C (readFile): add a space
3385
3386 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3387
3388         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3389
3390 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3391
3392         * buffer.C (readFile): new function, take a filename and a
3393         ParagraphList::iterator
3394         (readFile): adjust
3395         (readFile): adjust, make it private. don't use setStream, make
3396         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3397         always contain the filename.
3398
3399         * BufferView.C (insertLyXFile): simplify and make it work for
3400         gzipped files.
3401
3402 2003-08-30  John Levon  <levon@movementarian.org>
3403
3404         * Makefile.am: fix dist (from Kayvan)
3405
3406 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3407
3408         * most files: change to use const Buffer refs
3409
3410 2003-08-27  André Pönitz  <poenitz@gmx.net>
3411
3412         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3413         on top of ownerPar().
3414
3415 2003-08-27  John Levon  <levon@movementarian.org>
3416
3417         * funcrequest.C: properly initialise POD members
3418
3419 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3420
3421         * lyxtext.h (top_y): move top_y from here
3422         * text.C:
3423         * text2.C:
3424         * text3.C:
3425         * BufferView.[Ch]:
3426         * BufferView_pimpl.[Ch]: to here
3427         * frontends/screen.C:
3428         * insets/insettabular.C:
3429         * insets/insettext.C: adjust
3430         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3431
3432 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3433
3434         * BufferView.[Ch]:
3435         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3436
3437 2003-08-26  André Pönitz  <poenitz@gmx.net>
3438
3439         * paragraph_func.[Ch] (outerPar): new function
3440
3441         * paragraph.C:
3442         * paragraph_funcs.C:
3443         * paragraph_funcs.h:
3444         * paragraph_pimpl.C:
3445         * text2.C: remove Inset::par_owner
3446
3447 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3448
3449         * lyxrow_funcs.C:
3450         * lyxtext.h:
3451         * text.C:
3452         * text2.C: eliminates the needFullRow/display() stuff
3453         altogether, putting the logic in metrics/draw in the insets.
3454
3455 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3456
3457         * text2.C (redoParagraphInternal, redoParagraphs):
3458         * text.C (redoParagraph): add a call to updateRowPositions at the
3459         end of each 'metrics-like' call. Remove all others.
3460         (getRow): remove the 'y-computing' version.
3461         (getRowNearY): do not compute nor return the real y. Solve the
3462         'y < 0' problem and simplify.
3463
3464 2003-08-22  Angus Leeming  <leeming@lyx.org>
3465
3466         * *.[Ch]: clean-up of licence and author blurbs.
3467         Also move config.h out of a few .h files and into a few .C files.
3468
3469 2003-08-22  André Pönitz  <poenitz@gmx.net>
3470
3471         * lyxrow.[Ch]: add x_ and *fill_ members
3472
3473         * lyxtext.h:
3474         * text.C:
3475         * rowpainter.C:
3476         * text2.C: adjust/remove prepareToPrint() calls
3477
3478 2003-08-22  André Pönitz  <poenitz@gmx.net>
3479
3480         * lyxrow.[Ch]: add  end_ member
3481
3482         * lyxrow_funcs.C: use LyXRow::end_
3483
3484         * lyxtext.h (singleWidth): add LyXFont parameter
3485
3486         * rowpainter.C:
3487         * text2.C: adjust LyXText::singleWidth() calls
3488
3489         * text.C (redoParagraph): simplify row breaking logic
3490
3491
3492 2003-08-19  André Pönitz  <poenitz@gmx.net>
3493
3494         * funcrequest.C: initialize button_ member
3495
3496         * text3.C:
3497         * rowpainter.[Ch]: interface consolidation
3498
3499 2003-08-18  André Pönitz  <poenitz@gmx.net>
3500
3501         * BufferView.C:
3502         * BufferView_pimpl.C:
3503         * lyxfind.C:
3504         * paragraph_funcs.C:
3505         * rowpainter.C:
3506         * text3.C: remove LyXScreen::draw() and fitCursor calls
3507
3508         * BranchList.h: remove spurious semicolons
3509
3510         * MenuBackend.C: fix branchlist related crash
3511
3512 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3513
3514         * BranchList.[Ch]:
3515         * InsetList.[Ch]:
3516         * LColor.[Ch]:
3517         * LyXAction.C:
3518         * Makefile.am:
3519         * MenuBackend.[Ch]:
3520         * bufferparams.[Ch]:
3521         * factory.C:
3522         * lfuns.h:
3523         * lyxfunc.C:
3524         * text3.C: implements the 'branch inset'
3525         idea. This allows the output of various versions of a document
3526         from a single source version, selectively outputing or suppressing
3527         output of parts of the text.
3528         This implementation contains a 'branch list editor' in a separate
3529         tab of the document settings dialog. Branches are user definable
3530         and have a "display colour" to distinguish them on-screen.
3531
3532         ColorHandler was somewhat cleaned up.
3533         (1) make possible a dynamically growing LColor list by allowing
3534         the graphic context cache to grow along (vector);
3535         (2) eliminate an IMHO unnecessary step in colour allocation.
3536
3537 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3538
3539         * BufferView_pimpl.C: compile fix
3540
3541 2003-08-15  André Pönitz  <poenitz@gmx.net>
3542
3543         * rowpainter.C: remove extra metrics calls
3544
3545         * lyxtext.h: merge the two constructors into a single one,
3546           pass reference to owner's par list
3547
3548         * BufferView_pimpl.C:
3549         * text.C:
3550         * text2.C: adjust
3551
3552 2003-08-15  André Pönitz  <poenitz@gmx.net>
3553
3554         * lyxrow_funcs.[Ch]:
3555         * lyxtext.h:
3556         * paragraph.h:
3557         * paragraph_funcs.C:
3558         * rowpainter.C:
3559         * text.C:
3560         * text2.C:
3561         * text3.C:
3562         * text_funcs.C: split LyXText::rowlist_ into individual
3563         Paragraph::rows_ chunks
3564
3565         * BufferView.[Ch]:
3566         * BufferView_pimpl.[Ch]:
3567         * lyxfind.C:
3568         * lyxtext.h:
3569         * text3.C: remove toggleSelection()
3570
3571 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3572
3573         * bufferlist.C: beautify two alerts (shorter text of buttons)
3574         * buffer.C: Remove redundant ' ' from message
3575         * tabular.h:
3576         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3577         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3578         rename VALIGN_CENTER to VALIGN_MIDDLE
3579
3580 2003-08-11  André Pönitz  <poenitz@gmx.net>
3581
3582         * lyxtext.h (getPar):
3583         * text.C: new function
3584
3585 2003-08-11  André Pönitz  <poenitz@gmx.net>
3586
3587         * Makefile.am:
3588         * tracer.[Ch]: remove unneeded files
3589
3590         * InsetList.[Ch]: remove resizeInsetsLyXText()
3591
3592         * lyxtext.h:
3593         * text.C:
3594         * text2.C:
3595         * text3.C: merge insertParagraphs() and appendParagraph()
3596         remove breakAgain(), update()
3597
3598         * BufferView_pimpl.[Ch]:
3599         * bufferview_funcs.[Ch]:
3600         * lyxfunc.C:
3601         * paragraph.[Ch]:
3602         * rowpainter.C:
3603         * tabular.C: adjust after text & InsetList changes.
3604
3605 2003-08-08  André Pönitz  <poenitz@gmx.net>
3606
3607         * text.C (insertChar, backspace): replace rowlist fiddling
3608         with rebreak of full par
3609
3610         * lyxtext.h:
3611         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3612         checkParagraph, updateInset): removed
3613
3614 2003-08-07  André Pönitz  <poenitz@gmx.net>
3615
3616         * paragraph.C:
3617         * text3.C: merge some LFUN handlers, remove dead code
3618
3619 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3620
3621         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3622
3623 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3624
3625         * text2.C (DEPM): fix part of bug 1255 and 1256
3626
3627 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3628
3629         * BufferView_pimpl.C (workAreaDispatch): change to use
3630         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3631         that are no mouse related.
3632
3633 2003-08-05  André Pönitz  <poenitz@gmx.net>
3634
3635         * BufferView.[Ch]:
3636         * BufferView_pimpl.[Ch]:
3637         * bufferview_funcs.C:
3638         * text2.C:
3639         * text3.C: rip out "deep update"
3640
3641         * textcursor.[Ch] (last_sel_cursor): remove unused member
3642
3643 2003-08-04  André Pönitz  <poenitz@gmx.net>
3644
3645         * BufferView.[Ch]:
3646         * BufferView_pimpl.[Ch]:
3647         * ParagraphParameters.C:
3648         * bufferview_funcs.C:
3649         * lyx_cb.C:
3650         * lyxfind.C:
3651         * lyxfunc.C:
3652         * text.C:
3653         * text2.C:
3654         * text3.C: replace "complicated" BufferView::update(...) calls with
3655         simpler ones.
3656
3657         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3658
3659 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3660
3661         * Makefile.am (lyx_SOURCES): add paper.h
3662
3663 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3664
3665         * Makefile.am: move things around so that both lyx-qt and
3666         lyx-xforms can be built (according to --with-frontend). Then lyx
3667         is a symbolic link to lyx-[firstfrontend]
3668
3669 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3670
3671         * Always use std::endl with lyxerr
3672
3673 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3674
3675         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3676
3677 2003-08-01  André Pönitz  <poenitz@gmx.net>
3678
3679         * BufferView.[Ch]:
3680         * BufferView_pimpl.[Ch]:
3681         * lyxfunc.C:
3682         * text3.C: merge BufferView::repaint() and BufferView::update()
3683
3684 2003-08-01  José Matos  <jamatos@lyx.org>
3685
3686         * buffer.[Ch]: file_format is no longer a buffer data element.
3687
3688 2003-08-01  André Pönitz  <poenitz@gmx.net>
3689
3690         * BufferView.C:
3691         * lyxtext.h:
3692         * text.C:
3693         * text2.C: make redoParagraph more independent of current cursor
3694
3695         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3696         * text.C:
3697         * text2.C: remove unneeded members
3698
3699 2003-07-30  André Pönitz  <poenitz@gmx.net>
3700
3701         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3702
3703         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3704           create a single function...
3705
3706         * paragraph_funcs.C (moveItem): ... here.
3707
3708         * text.C:
3709           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3710
3711 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3712
3713         * LColor.[Ch]: Add comment and greyedout logical colors.
3714
3715 2003-07-30  André Pönitz  <poenitz@gmx.net>
3716
3717         * tabular.C: don't use Assert too heavily. This crashes where it
3718           shouldn't
3719
3720 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3721
3722         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3723         is disabled (bug 1232)
3724
3725 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3726
3727         * factory.C: limited 'arg' scope
3728
3729 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3730
3731         * factory.C: fixed Note submenu issues
3732
3733 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3734
3735         * factory.C: submenu for Note/Comment/Greyedout
3736
3737 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3738
3739         * lyx_main.C (LyX):
3740         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3741
3742 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3743
3744         * LaTeXFeatures.C:
3745         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3746         greyedout. Patch provided by Jürgen Spitzmüller.
3747
3748 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3749
3750         * kbmap.C (read): fix error message when reading bind files
3751
3752 2003-07-29  Angus Leeming  <leeming@lyx.org>
3753
3754         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3755         certainly does not do what it purports to do. I am doing it, and
3756         us, a favour by killing it.
3757
3758 2003-07-28  José Matos  <jamatos@lyx.org>
3759
3760         * buffer.C (readBody, do_writeFile):
3761         * paragraph.C(readParagraph): \end_document replaces \the_end.
3762
3763 2003-07-29  André Pönitz  <poenitz@gmx.net>
3764
3765         * BufferView.[Ch]:
3766         * BufferView_pimpl.[Ch]:
3767         * lyxfunc.C:
3768         * text2.C:
3769         * text3.C:
3770         * textcursor.[Ch]: remove toggleToggle & Co
3771
3772 2003-07-28  José Matos  <jamatos@fep.up.pt>
3773
3774         * buffer.C (readParagraph):
3775         * params_func (readParToken, readParagraph):
3776         * paragraph.C (write): \layout -> \begin_layout.
3777
3778 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3779
3780         * lyxlex_pimpl.C (setFile): clean up slightly.
3781
3782         * bufferparams.h: add compressed var
3783
3784         * buffer_funcs.C (readFile): adjust for LyXLex change
3785         (newFile): ditto + simplify
3786
3787         * buffer.C (writeFile): handle writing of compressed files
3788
3789         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3790         Check if the file is compressed and set a bufferparm if so.
3791
3792         * Makefile.am (lyx_LDADD): remove explicit -lz
3793
3794 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3795
3796         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3797         makeDocBookFile): put the real LyX version in the first line of
3798         the file
3799
3800         * version.h:
3801         * version.C.in: remove lyx_docversion
3802
3803         * tabular.C (write_attribute): add a template-based version to
3804         write enums properly
3805
3806 2003-07-28  André Pönitz  <poenitz@gmx.net>
3807
3808         * lyxtext.h:
3809         * text.C:
3810         * text2.C:
3811         * text3.C: use doubles again for x-coordinates. They are needed.
3812
3813 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3814
3815         * messages.C (getLocaleDir): use lyx_localedir()
3816
3817         * lyxlex_pimpl.C (setFile): compress stuff
3818
3819         * buffer.C (writeFile): add some compression stuff
3820         (do_writeFile): new func, dont call expliti close... will this
3821         breake anything?
3822
3823         * Makefile.am (lyx_LDADD): add -lz
3824
3825 2003-07-28  José Matos  <jamatos@fep.up.pt>
3826
3827         * buffer.C: increment file format.
3828         * paragraph_funcs (readParagraph, readParToken):
3829         * paragraph.C (readParagraph): add \end_layout.
3830
3831 2003-07-27  Angus Leeming  <leeming@lyx.org>
3832
3833         * Makefile.am: remove special casing for configure-time setting of
3834         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3835
3836         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3837         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3838
3839 2003-07-26  André Pönitz  <poenitz@gmx.net>
3840
3841         * paragraph_func.[Ch]:
3842         * paragraph.C (realizeFont): inline it whereever it is used
3843
3844         * rowpainter.C:
3845         * text.C:
3846         * text2.C:
3847         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3848
3849
3850 2003-07-26  André Pönitz  <poenitz@gmx.net>
3851
3852         *       lyxtext.h:
3853         * text.C:
3854         * text2.C: get rid of LyXText::need_break_row
3855
3856 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3857
3858         * toc.[Ch]: put namespace toc inside namespace lyx
3859
3860         * MenuBackend.C (expandToc2): adjust for lyx::toc
3861         (expandToc): ditto
3862
3863         * lyxfunc.C (dispatch): adjust for lyx::find
3864
3865         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3866         lyx::find instead. Reorganize a bit.
3867         (LyXReplace): rename to replace
3868         (LyXFind): rename to find
3869
3870         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3871         (dispatch): ditto
3872
3873 2003-07-26  André Pönitz  <poenitz@gmx.net>
3874
3875         * text.C (setHeightOfRow): restrict scope of temporary variable
3876
3877         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3878           code (never has been used?)
3879
3880 2003-07-27  Asger Alstrup  <alstrup@local>
3881
3882         * text.C (fill): Optimise algorithm to exploit that we can reuse
3883         the LyXFont for many characters.
3884         (setHeightOfRow): Same thing.
3885         (rowBreakPoint): Same thing.
3886
3887 2003-07-26  Asger Alstrup  <alstrup@local>
3888
3889         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3890
3891         * text.C (singleWidth): Spurious font copying in hot-spot
3892         singleWidth avoided. Reorder tests for arabic for efficiency.
3893
3894         * text.C (fill): handle empty paragraphs better.
3895
3896 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3897
3898         * ispell.C:
3899         * encoding.h: add includes
3900
3901         * lyxrc.C: remove reading of bind files
3902
3903         * lyx_main.C (init): setup bindings and menus only if we have a
3904         gui.
3905
3906         * kbmap.C (read): new method. Do the actual reading of bind
3907         files.
3908
3909         * converter.C (dvipdfm_options):
3910         * bufferparams.C:
3911         * lyxrc.C (read):
3912         (output): adapt PAPER_* enums.
3913
3914         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3915
3916         * bufferparams.h: remove paper-related enums from there
3917
3918         * paper.h: New file. A trivial header file to hold paper-related
3919         enums. It should later expand to contain many paper-related
3920         horrors access.
3921
3922         * lyxrc.C: declare extern displayTranslator
3923
3924 2003-07-27  José Matos  <jamatos@fep.up.pt>
3925
3926         * tabular.[Ch] (linuxdoc): add support for tables and figures
3927         (linuxdoc).
3928
3929 2003-07-27  José Matos  <jamatos@fep.up.pt>
3930
3931         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3932         consistency in both functions.
3933         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3934
3935 2003-07-26  Asger Alstrup  <alstrup@local>
3936
3937         * rowpainter.C (paintRows): Change algorithm to work directly on
3938         the insets rather than asking every character in the document
3939         whether its an inset.
3940
3941 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3942
3943         * buffer.C (openFileWrite): factorize some code
3944
3945 2003-07-26  Angus Leeming  <leeming@lyx.org>
3946
3947         * lyx_cb.C:
3948         * lyx_main.[Ch]: replace occurances of system_tempdir with
3949         os::getTmpDir().
3950
3951 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3952
3953         * rename Inset to InsetOld
3954
3955 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3956
3957         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3958         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3959         which I think is a bit clearer. EDIT is gone, since it was
3960         premature optimisation, and broken for mathed anyway.
3961         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3962         with cursor positioning in insets as well (math insets still do not
3963         work, but that's a different story anyway.) It mysteriously
3964         crashes sometimes with undo in the first paragraph, but I'm fairly
3965         confident that this is a compiler bug.
3966
3967 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3968
3969         * paragraph.C (Paragraph): adjust for new clone return type
3970         (operator==): ditto
3971         (copyIntoMinibuffer): ditto
3972
3973 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3974
3975         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3976         by not having a special case, and always doing a full rebreak of
3977         the document after undo.
3978
3979 2003-07-23  Angus Leeming  <leeming@lyx.org>
3980
3981         * factory.C (createInset): InsetExternal::setParams now takes a
3982         Buffer const * arg.
3983
3984 2003-07-23  Angus Leeming  <leeming@lyx.org>
3985
3986         * factory.C (createInset): changed interface to the external and
3987         graphics mailers' string2params functions.
3988
3989 2003-07-23  Angus Leeming  <leeming@lyx.org>
3990
3991         * factory.C (createInset): pass a
3992         Buffer const * parameter to InsetExternalMailer's string2params.
3993
3994 2003-07-22  John Levon  <levon@movementarian.org>
3995
3996         * Thesaurus.h: include the right aiksaurus header
3997
3998 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3999
4000         * MenuBackend.C (expand): check menu shortcuts unconditionally
4001
4002 2003-07-21  Angus Leeming  <leeming@lyx.org>
4003
4004         * factory.C (createInset): pass a
4005         buffer_path parameter to InsetGraphicsMailer's string2params.
4006
4007 2003-07-21  Angus Leeming  <leeming@lyx.org>
4008
4009         * BufferView_pimpl.C (buffer):
4010         * buffer.C (d-tor):
4011         * lyx_main.C (LyX):
4012         * lyxfunc.C (dispatch):
4013         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4014         rather than the grfx shortcut.
4015
4016 2003-07-21  André Pönitz  <poenitz@gmx.net>
4017
4018         * rowpainter.C: remove unused variables
4019
4020         * tabular_funcs.C:
4021         * tabular_funcs.h: move to tabular.C
4022         * Makefile.am: adjust
4023
4024         * tabular.[Ch]: basic optical cleaning
4025
4026         * author.h: pass references, not values
4027
4028 2003-07-18  André Pönitz  <poenitz@gmx.net>
4029
4030         * lyxtext.h:
4031         * metricsinfo.C:
4032         * metricsinfo.h:
4033         * rowpainter.C:
4034         * text.C:
4035         * text2.C:
4036         * text3.C: two-phase drawing for InsetText and InsetTabular
4037         some float -> int changes.
4038
4039 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4040
4041         * lyx_main.C: fix the fix
4042
4043 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4044
4045         * lyx_main.C: fix a crash in batch mode if no files specified
4046         * converter.C: ws
4047
4048 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4049
4050         * format.[Ch] (papersize): moved to BufferParams
4051         * converter.[Ch] (dvips_options): moved to BufferParams
4052         (dvipdfm_options): moved to anon namespace
4053         * bufferparams.[Ch]: added above functions.
4054
4055 2003-07-17  André Pönitz  <poenitz@gmx.net>
4056
4057         * lyxtext.h:
4058         * rowpainter.C:
4059         * text2.C: don't call inset->update() anymore
4060
4061         * metricsinfo.[Ch]: add convenience constructor
4062
4063 2003-07-16  André Pönitz  <poenitz@gmx.net>
4064
4065         * lyxcursor.[Ch]:
4066         * lyxfunc.[Ch]:
4067         * text.C:
4068         * text2.C: replace the LyXCursor::irow_ member with
4069          on-demand computation of the value
4070
4071 2003-07-16  John Levon  <levon@movementarian.org>
4072
4073         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4074
4075 2003-07-15  André Pönitz  <poenitz@gmx.net>
4076
4077         * text.C:
4078         * text2.C: remove no more needed refresh_row
4079
4080 2003-07-15  André Pönitz  <poenitz@gmx.net>
4081
4082         * lyxtext.h:
4083         * rowpainter.C:
4084         * text2.C:
4085         * text3.C: refresh_status tristate -> need_update bool
4086
4087 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4088
4089         * lyxtext.h (init): remove reinit argument (act as if always true)
4090         * text2.C: adjust to that
4091
4092 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4093
4094         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4095         * text3.C: use it to delete selections in some cases
4096         (bugs 441, 673, 702, 954).
4097
4098 2003-07-14  André Pönitz  <poenitz@gmx.net>
4099
4100         * rowpainter.[Ch]: reduce interface
4101
4102 2003-07-14  André Pönitz  <poenitz@gmx.net>
4103
4104         * BufferView_pimpl.C:
4105         * text2.C: adjust after removing unused BufferView * argument
4106
4107 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4108
4109         * text2.C (init): fix a crash fired on resize
4110
4111 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4112
4113         * buffer.[Ch]: added new closing signal
4114         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4115         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4116         BufferView::Pimpl via the closing the signal
4117
4118 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4119
4120         * buffer.[Ch]: take out all bv-related from buffer
4121         * BufferView.C:
4122         * BufferView_pimpl.[Ch]: connect to new signals
4123         * CutAndPaste.C: removed useless asserts
4124         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4125         * lyxvc.[Ch]:
4126         * vc-backend.[Ch]:
4127         * lyxfunc.C: moved view-related funciontality from vc here
4128         * paragraph.C: removed outdated comments
4129         * text.C: ws
4130
4131 2003-07-10  André Pönitz  <poenitz@gmx.net>
4132
4133         * BufferView_pimpl.C:
4134         * tabular.h:
4135         * tabular_funcs.C:
4136         * text.C:
4137         * text2.C: remove InsetText::InnerCache, clean up consequences
4138
4139 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4140
4141         * ispell.C: fix two typos in error messages
4142
4143 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4144
4145         * Extend Note inset to other forms of annotation like Comment
4146         and Greyedout. Right button click gives dialog.
4147
4148         Files modified or added (+):
4149
4150         * insetnote.[Ch]
4151         * FormNote.[Ch]      +
4152         * ControlNote.[Ch]   +
4153         * form_note.fd       +
4154         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4155         frontends/controllers
4156         * xforms/Dialogs.C
4157         * factory.C
4158
4159 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4160
4161         * aspell.C: add missing namespace lyx::support
4162
4163 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4164
4165         * BufferView.[Ch] (newFile): Add
4166         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4167         * LaTeX.[Ch] (message): added this signal and use it
4168         * buffer.[Ch] (busy, message): added these signals and use them
4169         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4170         * converter.C:
4171         * exporter.C:
4172         * format.C:
4173         * importer.C: use buffer signals instead of direct bv calling
4174         * lyx_cb.[Ch] (ShowMessage): removed
4175         * lyx_main.C:
4176         * lyxfunc.C:
4177         * paragraph_funcs.C:
4178         * text2.C: use buffer signals
4179
4180 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4181
4182         * introduce namespace lyx::graphics
4183
4184 2003-07-02  André Pönitz  <poenitz@gmx.net>
4185
4186         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4187
4188 2003-07-01  André Pönitz  <poenitz@gmx.net>
4189
4190         * text.C:
4191         * text2.C:
4192         * text3.C:
4193         * text_funcs.[Ch]:
4194         * textcursor.h:
4195         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4196           text*.C to text_func.C
4197
4198 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4199
4200         * introduce namespace lyx::support
4201
4202 2003-06-30  André Pönitz  <poenitz@gmx.net>
4203
4204         * Chktex.C:
4205         * funcrequest.C:
4206         * lyxtext.h:
4207         * text.C: re-enable --with-included-string
4208
4209 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4210
4211         * textcursor.C: add <config.h>
4212
4213         * text.C (getWord): remove const from word_location arg
4214
4215         * lyxvc.C (getLogFile): fix const type order
4216
4217         * lyxtext.h: remove const from word_location arg, add arg name
4218
4219         * lyxlayout.h: currect type on labeltype.
4220
4221         * importer.C: correct \file
4222
4223         * converter.C (intToFormat): use std:: on ret val, ws changes
4224
4225         * bufferlist.h: correct \file
4226
4227         * buffer.C (makeLinuxDocFile): fix const type order
4228         (makeDocBookFile): ditto
4229         (fillWithBibKeys): use std:: on stdlib args.
4230
4231         * CutAndPaste.C: fix authors.
4232         (availableSelections): use std:: on return vector
4233
4234 2003-06-27  André Pönitz  <poenitz@gmx.net>
4235
4236         * BufferView_pimpl.C:
4237         * bufferview_funcs.C:
4238         * lyxcursor.C:
4239         * lyxcursor.h:
4240         * lyxfunc.C:
4241         * lyxtext.h:
4242         * rowpainter.C:
4243         * text.C:
4244         * text2.C:
4245         * text3.C: remove LyXCursor::row_ member
4246
4247         * lyxtext.h:
4248         * text.C: rename fullRebreak() to partialRebreak() and implement
4249           a fullRebreak() that really bereks fully
4250
4251         * textcursor.h: new struct for cursor-related data
4252
4253 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4254
4255         * lyx_main.C (LyX): get full path of document loaded on the
4256         command line
4257
4258 2003-06-26  André Pönitz  <poenitz@gmx.net>
4259
4260         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4261           remove unused/broken operator>,<,>=.
4262
4263         *       text.C: remove only use of broken operator<= in an Assert().
4264
4265 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4266
4267         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4268         moved errorlist_.clear to showErrorList
4269
4270 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4271
4272         * converter.C (scanLog, runLaTeX):
4273         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4274         move the bv->showErrorList call to the callers
4275         * lyxfunc.C: i.e. here...
4276         * text2.C: and here
4277         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4278         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4279         namespace, the second to...
4280         * buffer_funcs (BufferFormat, parseErrors): added
4281         * errorlist.C (ErrorList(TeXErrors const &)): removed
4282
4283 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4284
4285         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4286
4287 2003-06-24  "Garst R. Reese" <reese@isn.net>
4288
4289         * debug.C: fix typo
4290
4291 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4292
4293         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4294
4295         * version.C.in: change docversion to 1.4
4296
4297 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4298
4299         * buffer.C: fix a bug just introduced
4300
4301 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4302
4303         * buffer.[Ch]: added the parseError signal and use it, removed
4304         sgmlError
4305         * BufferView.[Ch] (addError): moved to ...
4306         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4307         to the Buffer::parseError signal to catch (guess what) parse errors
4308         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4309
4310 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4311
4312         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4313         ability to create a buffer and to return an existing one from
4314         the list. Moved these functions to...
4315         * buffer_funcs.[Ch]: added
4316         * BufferView.[Ch] (loadLyXFile): added
4317         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4318         job removed from bufferlist::loadLyXFile.
4319         * buffer.C (setReadOnly): make it work without view
4320         (i.e added an if (users))
4321
4322 2003-06-19  Angus Leeming  <leeming@lyx.org>
4323
4324         * lfuns.h:
4325         * LyXAction.C (init):
4326         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4327         with LFUN_DIALOG_SHOW <name> <data>.
4328
4329 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4330
4331         * CutAndPaste.C (availableSelections): small compilation fix for
4332         ancient (gcc 2.9x) compilers
4333
4334 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4335
4336         * text3.C (cursorNext): add tmp var
4337
4338         * text2.C (updateCounters): for function calling out of for clause
4339         (replaceSelectionWithString): ditto
4340         (insertStringAsParagraphs): ditto
4341         (getColumnNearX): add tmp var
4342         (setCursorFromCoordinates): add tmp var
4343         (cursorDownParagraph): add tmp var
4344         (deleteEmptyParagraphMechanism): add tmp var
4345
4346         * text.C (insertChar): add tmp var
4347
4348         * rowpainter.C (paintDepthBar): add tmp var
4349
4350         * CutAndPaste.C (availableSelections): potentially check all
4351         paragraphs in a cut to fill the shown strings.
4352
4353 2003-06-18  André Pönitz  <poenitz@gmx.net>
4354
4355         * kbmap.[Ch]: use vector<> instead of list<>
4356
4357 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4358
4359         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4360         pasteSelection with index
4361
4362         * text2.C (pasteSelection): modify, call pasteSelection with index
4363
4364         * paragraph.C (asString): reimplement version with no interval to
4365         call the one with interval.
4366
4367         * lyxtext.h: add index arg to pasteSelection
4368
4369         * MenuBackend.C (MenuItem): handle PasteRecent
4370         (Menu::read::Menutags): add md_pasterecent
4371         (read): handle it
4372         (expandPasteRecent): new function
4373         (expand): use it
4374
4375         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4376
4377         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4378         the limited stack
4379         (availableSelections): new function
4380
4381 2003-06-17  Angus Leeming  <leeming@lyx.org>
4382
4383         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4384
4385 2003-06-17  Angus Leeming  <leeming@lyx.org>
4386
4387         * lfuns.h:
4388         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4389
4390         * lyxfunc.C (dispatch): invoke it.
4391
4392 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4393
4394         * iterators.C (operator++, ParPosition): reintroduce some
4395         const_cast for the benefit of older compilers.
4396
4397 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4398
4399         * text3.C (dispatch): do not modify clipboard when doing
4400         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4401         LFUN_DELETE_SKIP on a selection selection
4402
4403 2003-06-16  André Pönitz  <poenitz@gmx.net>
4404
4405         * BufferView.C:
4406         * buffer.C:
4407         * buffer.h:
4408         * paragraph.C:
4409         * tabular.[Ch]: IU of clone() and getLabelList();
4410
4411 2003-06-13  André Pönitz  <poenitz@gmx.net>
4412
4413         * tabular.h: compactification
4414
4415 2003-06-12  André Pönitz  <poenitz@gmx.net>
4416
4417         * tabular.C:
4418         * tabular.h:
4419         * tabular_funcs.h: some renaming plus whitespace
4420
4421 2003-06-12  André Pönitz  <poenitz@gmx.net>
4422
4423         * BufferView.C:
4424         * BufferView_pimpl.C:
4425         * CutAndPaste.C:
4426         * buffer.C:
4427         * iterators.[Ch]:
4428         * lyxfunc.C:
4429         * text.C:
4430         * toc.C: Return a Paragraph & for ParIterator::operator*()
4431
4432 2003-06-11  John Levon  <levon@movementarian.org>
4433
4434         * lyx_main.C:
4435         * ToolbarBackend.h:
4436         * ToolbarBackend.C: add "Toolbars" section and
4437         put the flags there
4438
4439 2003-06-10  Angus Leeming  <leeming@lyx.org>
4440
4441         * lfuns.h:
4442         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4443
4444         * lyxfunc.C (dispatch): invoke it.
4445
4446 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4447
4448         * main.C: protect <ios> with HAVE_IOS
4449         (main): protect sync_with_stdio with HAVE_IOS
4450
4451 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4452
4453         * text2.C (cutSelection): adjust
4454         (pasteSelection): adjust
4455
4456         * messages.C: handle get of empty string
4457
4458         * main.C (main): use sync_with_stdio(false)
4459
4460         * lyxfunc.C (dispatch): adjust
4461
4462         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4463         (WriteAs): remove unneeded BufferView arg.
4464
4465         * bufferparams.h: use correct types on papersize, papersize2 and
4466         paperpackage.
4467
4468         * bufferparams.C (readToken): adjust for type
4469         (writeLaTeX): add missing cases to switch.
4470
4471         * bufferlist.C (quitWriteBuffer): adjust
4472         (close): adjust
4473
4474         * buffer.C (asciiParagraph): remove some commented code.
4475
4476         * CutAndPaste.C: remove current_view extern variable.
4477         (cutSelection): add BufferParams arg.
4478         (eraseSelection): add BufferParams arg.
4479         (pasteSelection): add Buffer const & arg
4480
4481 2003-06-07  John Levon  <levon@movementarian.org>
4482
4483         * buffer.C:
4484         * paragraph_funcs.C:
4485         * paragraph_pimpl.C:
4486         * text.C:
4487         * text2.C:
4488         * paragraph.h:
4489         * paragraph.C: allow InsetERT to freely space lines,
4490         and some consolidation of code
4491
4492 2003-06-06  José Matos  <jamatos@fep.up.pt>
4493
4494         * buffer.C (makeDocBookFile): fix bug #821
4495
4496 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4497
4498         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4499
4500 2003-06-04  Angus Leeming  <leeming@lyx.org>
4501
4502         * buffer.C: bump format to 224.
4503
4504 2003-06-05  André Pönitz  <poenitz@gmx.net>
4505
4506         * text2.C (redoParagraphs): remove two const_cast<>
4507
4508 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4509
4510         * ParagraphList.h: remove last remnants of NO_STD_LIST
4511
4512 2003-06-03  Angus Leeming  <leeming@lyx.org>
4513
4514         * factory.C (createInset): small change to the way InsetExternal's params
4515         are set.
4516
4517 2003-06-04  André Pönitz  <poenitz@gmx.net>
4518
4519         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4520
4521         * paragraph_pimpl.h:
4522         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4523
4524         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4525
4526         * undo_funcs.C: make some simple cases of undo work again
4527
4528 2003-06-03  John Levon  <levon@movementarian.org>
4529
4530         * ispell.C: HPUX doesn't have sys/select.h
4531         (from Albert Chin)
4532
4533 2003-06-03  John Levon  <levon@movementarian.org>
4534
4535         * CutAndPaste.C: update tabular and include inset
4536         buffer references
4537
4538         * buffer.h:
4539         * paragraph.h:
4540         * paragraph.C: remove owningBuffer(), don't pass Buffer
4541         to clone()
4542
4543         * factory.C: insetGraphicsParams changed
4544
4545 2003-06-02  John Levon  <levon@movementarian.org>
4546
4547         * LyXAction.C:
4548         * factory.C:
4549         * lfuns.h:
4550         * lyxfunc.C:
4551         * text3.C: remove insetparent
4552
4553 2003-06-02  John Levon  <levon@movementarian.org>
4554
4555         * buffer.h:
4556         * buffer.C: fix inset_iterator.end(), move out of line
4557         (bug 1149)
4558
4559 2003-06-01  John Levon  <levon@movementarian.org>
4560
4561         * text3.C: use a proper cut/paste when doing inset
4562         insert (from Jürgen Spitzmüller)
4563
4564 2003-06-01  John Levon  <levon@movementarian.org>
4565
4566         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4567
4568 2003-05-30  André Pönitz  <poenitz@gmx.net>
4569
4570         * rowpainter.C: unify second drawing phase
4571
4572 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4573
4574         * trans_mgr.C: remove one case of current_view
4575
4576         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4577
4578         * paragraph_funcs.h: remove paragraph.h include
4579
4580         * paragraph.h: delete NO_STD_LIST stuff
4581
4582         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4583
4584         * buffer.h: remove paragraph.h include
4585
4586         * ParagraphList.C: delete file
4587
4588         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4589
4590         * toc.C (getTocList): adjust
4591
4592         * paragraph_pimpl.C (validate): adjust
4593
4594         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4595
4596         * paragraph.C (Paragraph): adjust
4597         (getPositionOfInset): use const_iterator, adjust
4598         (bibitem): use const_iterator, adjust
4599         (setInsetOwner): adjust
4600
4601         * iterators.C (operator++): adjust
4602
4603         * InsetList.[Ch]: Replace selfmade iterator with standard
4604         vector::iterator also introduce const_iterator. Remove getPos,
4605         getInset and setInset from InsetTable. Adjust accordingly.
4606
4607         * BufferView.C (lockInset): adjust
4608         (ChangeInsets): adjust
4609
4610         * tabular.[Ch]: delete commented same_id functions
4611
4612 2003-05-28  John Levon  <levon@movementarian.org>
4613
4614         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4615
4616 2003-05-28  André Pönitz  <poenitz@gmx.net>
4617
4618         * metricsinfo.[Ch]: remove 'fullredraw' member
4619
4620 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4621
4622         * lyxtextclass.C (operator): remove caching.
4623
4624 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4625
4626         * text3.C: adjust
4627
4628         * text2.C (cursorBottom): adjust
4629         (setCounter): use ParagraphList::find, adjust
4630
4631         * text.C (workWidth): use ParagraphList::find, adjust
4632
4633         * lyxcursor.C (LyXCursor): adjust
4634
4635         * buffer.C (inset_iterator): adjust
4636
4637         * ParagraphList.h: make iterator(value_type) private, make
4638         ParagraphList a friend of iterator.
4639
4640         * ParagraphList.C (find): new function
4641
4642         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4643
4644 2003-05-27  André Pönitz  <poenitz@gmx.net>
4645
4646         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4647
4648 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4649
4650         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4651
4652 2003-05-26  John Levon  <levon@movementarian.org>
4653
4654         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4655
4656 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4657
4658         * remove same_id from function signatures, adjust.
4659
4660 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4661
4662         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4663
4664         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4665
4666         * paragraph.C (Paragraph): get rid of same_ids parameter
4667
4668         * ParagraphList.C (insert): adjust
4669         (push_back): adjust
4670
4671 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4672
4673         * paragraph_funcs.C (breakParagraph): adjust
4674         (breakParagraphConservative): adjust
4675
4676         * buffer.C (readParagraph): adjust
4677
4678         * ParagraphList.C (insert): take a reference instead of a pointer
4679         (insert): adjust
4680
4681         * paragraph.[Ch] (id): new function
4682
4683         * bufferlist.C (newFile): adjust
4684
4685         * ParagraphList.C (ParagraphList): adjust
4686         (assign): adjust
4687         (push_back): take a reference instead of a pointer.
4688
4689         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4690
4691         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4692         instead.
4693
4694         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4695         set else use old code.
4696
4697         * ParagraphList.C: remove all NO_NEXT code and only compile this
4698         code of NO_STD_LIST is set.
4699
4700 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4701
4702         * BufferView_pimpl.C:
4703         * TextCache.C:
4704         * TextCache.h:
4705         * bufferlist.C:
4706         * errorlist.h:
4707         * format.C:
4708         * format.h:
4709         * graph.C:
4710         * lyxfunc.C:
4711         * lyxrc.C:
4712         * graphics/GraphicsConverter.C:
4713         * graphics/PreviewLoader.C: header adjustment
4714
4715 2003-05-23  Angus Leeming  <leeming@lyx.org>
4716
4717         * LaTeXFeatures.[Ch] (useBabel): new method.
4718         * bufferparams.C (writeLaTeX): use it.
4719
4720 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4721
4722         * ParagraphList.h (set): remove unused function.
4723
4724 2003-05-23  André Pönitz  <poenitz@gmx.net>
4725
4726         * BufferView.C:
4727         * BufferView_pimpl.C:
4728         * buffer.C:
4729         * buffer.h:
4730         * lyxfunc.C:
4731         * undo_funcs.C: setUndo reworked
4732
4733         * iterators.[Ch]: add access to topmost ParagraphList
4734
4735         * lyxtext.[Ch] (workWidth): add a const
4736
4737 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4738
4739         * texrow.[Ch] (increasePos): remove function
4740         * exporter.C (export): removed unused var and outdated comment
4741
4742 2003-05-23  Angus Leeming  <leeming@lyx.org>
4743
4744         * latexrunparams.h: rename fragile as moving_arg.
4745         * paragraph.C (simpleTeXOnePar): ditto.
4746         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4747
4748 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4749
4750         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4751         (createUndo): ditto
4752         (textUndoOrRedo): comment out a currently unused var.
4753
4754         * paragraph.h (NO_NEXT): enable NO_NEXT
4755
4756         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4757
4758         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4759
4760         * exporter.C (Export): adjust for removeAutoInsets removal.
4761
4762         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4763
4764         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4765
4766         * BufferView.[Ch] (removeAutoInsets): delete function
4767
4768 2003-05-22  Angus Leeming  <leeming@lyx.org>
4769
4770         * latexrunparams.h: add a free_spacing variable.
4771
4772         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4773         to pass moving_arg, as the data is stored in runparams.fragile.
4774
4775         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4776         to Inset::latexOptional or to simpleTeXOnePar.
4777
4778         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4779         free_spacing arg to Inset::latexOptional.
4780
4781         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4782         free_spacing arg.
4783
4784 2003-05-22  Angus Leeming  <leeming@lyx.org>
4785
4786         * latexrunparams.h: add fragile and use_babel variables.
4787
4788         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4789         * buffer.C (makeLaTeXFile): store this returned value in
4790         runparams.use_babel, thus passing it to the inset::latex methods.
4791
4792         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4793         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4794
4795         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4796         longer has a fragile arg, as it is stored in runparams.fragile.
4797
4798         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4799         moving_arg parameter as the data is stored in runparams.fragile.
4800
4801         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4802         a fragile parameter as the data is stored in runparams.fragile.
4803
4804 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4805
4806         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4807
4808 2003-05-22  Angus Leeming  <leeming@lyx.org>
4809
4810         * latexrunparams.h: add a 'bool nice' which defaults to false.
4811
4812         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4813         now encapsulated within runparams.
4814
4815         * bufferlist.C (updateIncludedTeXfiles):
4816         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4817
4818 2003-05-22  Angus Leeming  <leeming@lyx.org>
4819
4820         * latexrunparams.h: new file containing struct LatexRunParams.
4821         * Makefile.am: add new file.
4822
4823         * LaTeX.[Ch] (c-tor, run):
4824         * buffer.[Ch] (makeLaTeXFile):
4825         * bufferlist.[Ch] (updateIncludedTeXfiles):
4826         * converter.C (convert, scanLog):
4827         * converter.[Ch] (runLaTeX):
4828         * exporter.C (Export):
4829         * paragraph.[Ch] (simpleTeXOnePar):
4830         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4831         * paragraph_funcs.[Ch] (latexParagraphs):
4832         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4833         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4834         pass around a LatexRunParams parameter.
4835
4836 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4837
4838         * paragraph.[Ch]: remove unused constructor
4839
4840         * ParagraphList.C (erase): new function, taking two iterators
4841
4842 2003-05-22  André Pönitz  <poenitz@gmx.net>
4843
4844         * undo_funcs.C: remove duplicated code
4845
4846         * iterator.[Ch]: operator=
4847
4848 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4849
4850         * tabular.C (SetMultiColumn): ws changes
4851
4852         * rowpainter.C (paintFirst): get rid of a ->previous
4853
4854         * lyx_cb.C (getPossibleLabel): parlist simplification
4855
4856         * BufferView.C (ChangeInsets): simplify slightly.
4857
4858 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4859
4860         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4861         * lfuns.h: new LFUN_SPACE
4862         * lyxfunc.C: protected space has a new lfun
4863         * paragraph_funcs.C: read new space insets
4864         * text3.C:
4865         * factory.C: handle new space insets
4866
4867 2003-05-22  André Pönitz  <poenitz@gmx.net>
4868
4869         * BufferView.C:
4870         * BufferView_pimpl.C:
4871         * buffer.[Ch]:
4872         * lyxfunc.C:
4873         * undo_funcs.C: return a ParIterator from getParFromID.
4874
4875         * iterators.[Ch]: add two const's
4876
4877 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4878
4879         * toc.C (getTocList): adjust
4880
4881         * iterators.[Ch]: rework for parlist
4882
4883         * buffer.C (par_iterator_begin): adjust
4884         (par_iterator_end): adjust
4885
4886         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4887
4888         * BufferView.C (removeAutoInsets): adjust
4889         (ChangeInsets): adjust
4890
4891 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4892
4893         * text.C (top_y): fix bug 1110
4894
4895 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4896
4897         * errorlist.[Ch]: added
4898         * buffer.C:
4899         * BufferView.[Ch]:
4900         * BufferView_pimpl.C:
4901         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4902         instead
4903
4904 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4905
4906         * Makefile.am: ensure that lyx is relinked upon changes to the
4907         various "convenience" libs.
4908
4909 2003-05-20  Angus Leeming  <leeming@lyx.org>
4910
4911         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4912         files are compiled in alphabetical order again.
4913
4914         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4915
4916 2003-05-19  Angus Leeming  <leeming@lyx.org>
4917
4918         * gettext.[Ch]: remove "char const * _(char const *)".
4919
4920 2003-05-19  André Pönitz  <poenitz@gmx.net>
4921
4922         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4923
4924         * Makefile.am:
4925         * BufferView.C:
4926         * DepTable.h:
4927         * LaTeXFeatures.C:
4928         * buffer.C:
4929         * lyxfont.C:
4930         * lyxlex.h:
4931         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4932
4933 2003-05-19  André Pönitz  <poenitz@gmx.net>
4934
4935         * buffer.C:
4936         * lyxlayout.[Ch]:
4937         * lyxtextclass.[Ch]:
4938         * paragraph.C:
4939         * paragraph_funcs.[Ch]:
4940         * text2.C:
4941         * text3.C: more insetenv work
4942
4943 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4944
4945         * ParagraphParameters.C (params2string): small bug fixed
4946
4947 2003-05-16  André Pönitz  <poenitz@gmx.net>
4948
4949         * debug.C:
4950         * bufferview_funcs.C: patch from Kornel Benko to prevent
4951           crash when _(...) is called twice in a statement
4952
4953 2003-05-16  André Pönitz  <poenitz@gmx.net>
4954
4955         * BufferView.C:
4956         * lyxfunc.C:
4957         * text.C:
4958         * text2.C:
4959         * text3.C:
4960         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4961
4962 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4963
4964         * lyx_main.C (init): remove spurious static_cast
4965
4966 2003-05-14  André Pönitz  <poenitz@gmx.net>
4967
4968         * BufferView.C: fix format string
4969
4970 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4971
4972         * BufferView.[Ch] (insertErrors): removed
4973         * BufferView.[Ch] (showErrorList): added
4974         * buffer.C (runChkTeX):
4975         * converter.C (scanLog): call showErrorList instead of inserterrors
4976
4977 2003-05-13  André Pönitz  <poenitz@gmx.net>
4978
4979         * BufferView_pimpl.C:
4980         * buffer.C:
4981         * bufferview_func.C:
4982         * MenuBackend.C:
4983         * lyxfunc.C:
4984         * lyxrc.C:
4985         * tex-accent.C:
4986         * text3.C:
4987         * toc.C:
4988         * tabular_funcs.h: tostr() from its own header
4989
4990         * ParagraphParameters.C:
4991         * ToolbarBackend.C:
4992         * bufferparams.C:
4993         * format.C:
4994         * lyxlex_pimpl.C:
4995         * text3.C: STRCONV()
4996
4997 2003-05-12  André Pönitz  <poenitz@gmx.net>
4998
4999         * BufferView.C:
5000         * BufferView_pimpl.C:
5001         * CutAndPaste.C:
5002         * LaTeX.C:
5003         * LaTeXFeatures.C:
5004         * ParagraphParameters.C:
5005         * buffer.C:
5006         * bufferlist.C:
5007         * bufferparams.C:
5008         * bufferview_funcs.C:
5009         * converter.C:
5010         * counters.C:
5011         * debug.C:
5012         * exporter.C:
5013         * format.C:
5014         * importer.C:
5015         * lyx_cb.C:
5016         * lyx_main.C:
5017         * lyxfont.C:
5018         * lyxfunc.C:
5019         * lyxvc.C:
5020         * paragraph.C:
5021         * paragraph_funcs.C:
5022         * tabular.C:
5023         * tabular_funcs.C:
5024         * text2.C:
5025         * text3.C:  boost::format -> bformat  all over the place
5026
5027
5028 2003-05-09  André Pönitz  <poenitz@gmx.net>
5029
5030         * LColor.[Ch]: Pimpl the #include <map> away
5031
5032 2003-05-09  John Levon  <levon@movementarian.org>
5033
5034         * bufferlist.C: never remove emergency saves
5035
5036 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5037
5038         * Makefile.am: better lib building
5039
5040 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5041
5042         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5043         instead.
5044         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5045         (simpleTeXSpecialChars): adjust
5046         (simpleTeXSpecialChars): adjust
5047         * paragraph.C (simpleTeXOnePar): adjust
5048         * buffer.C (makeLaTeXFile): adjust
5049
5050         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5051
5052         * text2.C (changeDepth): parlist cleanup
5053         (getColumnNearX): ditto
5054
5055         * rowpainter.C (getLabelFont): parlist cleanup
5056
5057         * bufferlist.C (newFile): parlist cleanup
5058
5059         * CutAndPaste.C (eraseSelection): parlist cleanup
5060
5061         * BufferView_pimpl.C (trackChanges): parlist cleanup
5062         (dispatch): ditto
5063
5064         * BufferView.C (lockInset): parlist cleanup.
5065         (ChangeInsets): ditto
5066
5067 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5068
5069         * CutAndPaste.h: Update file header.
5070
5071         * CutAndPaste.C: Update file header.
5072         Store the parts cut out of the Document in a limited_stack.
5073         (copySelection): adjust
5074         (pasteSelection): new function, takes the index in the limited stack.
5075         (nrOfParagraphs): adjust
5076         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5077         simplify error inset insertion.
5078         (checkPastePossible): adjust
5079
5080 2003-05-06  John Levon  <levon@movementarian.org>
5081
5082         * text2.C: don't cast wrap inset to float
5083
5084 2003-05-05  André Pönitz  <poenitz@gmx.net>
5085
5086         * iterator.C:
5087         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5088
5089         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5090           few naked Paragraph *.
5091
5092 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5093
5094         * bufferparams.C: Output warning if a document with missing
5095         TeX document class is loaded
5096         * exporter.C: Disable TeX exports if the document class is missing
5097         * lyxtextclass.C:
5098         * lyxtextclass.h:
5099         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5100         isTeXClassAvailable()
5101
5102 2003-05-03  John Levon  <levon@movementarian.org>
5103
5104         * BufferView.h:
5105         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5106         explicit cursor show/hide
5107
5108         * BufferView_pimpl.h:
5109         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5110         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5111
5112         * lyxfunc.C: hide cursor before dispatching.
5113
5114         * lyx_cb.C:
5115         * lyxfind.C:
5116         * text.C:
5117         * text3.C: remove explicit cursor hides
5118
5119 2003-05-02  André Pönitz  <poenitz@gmx.net>
5120
5121         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5122
5123         * undo_funcs.C:
5124         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5125           linked lists
5126
5127         * text2.C: tiny whitespace
5128
5129 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5130
5131         * undo_funcs.C: almost only ws changes.
5132
5133         * ParagraphList.C (splice): just return if pl is empty.
5134
5135 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5136
5137         * ParagraphList.C (splice): new function.
5138
5139         * CutAndPaste.C (pasteSelection): use it
5140
5141 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5142
5143         * CutAndPaste.C (pasteSelection): remove the last next and
5144         previous from this file.
5145
5146 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5147
5148         * CutAndPaste.C (pasteSelection): more clean up, user proper
5149         ParagraphList functions for pasteing.
5150
5151         * ParagraphList.C (insert): new function, three arg insert
5152
5153 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5154
5155         * ParagraphList.C (insert): new function, three arg insert
5156
5157         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5158         not on paragraphs.
5159
5160 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5161
5162         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5163
5164 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5165
5166         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5167
5168 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5169
5170         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5171         (copySelection): clean up a bit.
5172         (pasteSelection): use make_pair
5173
5174         * ParagraphList.C (ParagraphList): implement copy constructor
5175         (operator=): implement, base on copy constructor.
5176         (assign): new func
5177
5178         * paragraph.C (erase): return a bool
5179
5180         * paragraph_pimpl.C (erasePos): remove function, move contents...
5181         (erase): ... here. Return a bool.
5182         (erase): call erase instead of erasePos.
5183
5184 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5185
5186         * ParagraphList.h: define PitPosPair
5187         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5188         ParagraphList, fix a bug on pasting multiple pars
5189         * text2.C: change interface to C&P
5190
5191 2003-04-30  André Pönitz  <poenitz@gmx.net>
5192
5193         * undo_func.C: revert part of yesterday's patch 2
5194
5195 2003-04-30  John Levon  <levon@movementarian.org>
5196
5197         * LColor.C: s/tabular/table/
5198
5199 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5200
5201         * text3.C (dispatch): do not convert iterator -> pointer
5202         * undo_funcs.C (setCursorParUndo): ditto
5203         * text_funcs.C (transposeChars): ditto
5204
5205         * text2.C (setLayout): ws changes only
5206
5207         * text.C (breakParagraph): do not convert iterator -> pointer
5208         (insertChar): ditto
5209         (acceptChange): ditto
5210         (rejectChange): ditto
5211         (changeCase): ditto
5212         (Delete): ditto
5213         (backspace): ditto
5214
5215         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5216         pointer
5217
5218 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5219
5220         * text3.C (gotoInset): YABG (yet another bad getChar)
5221
5222 2003-04-29  André Pönitz  <poenitz@gmx.net>
5223
5224         * paragraph.h: make operator= private unimplemented as long as
5225           it is unusable
5226
5227         * ParagraphList.C: whitespace
5228
5229         * paragraph.[Ch]:
5230         * paragraph_pimpl.[Ch]:
5231         * paragraph_funcs.C:
5232         * CutAndPaste.C:
5233         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5234
5235         * text2.C:
5236           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5237
5238 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5239
5240         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5241         * paragraph.[Ch] (erase):
5242         * paragraph_pimpl.[Ch] (erase): change return type and value
5243         * text2.C (cutSelection): some rework
5244
5245 2003-04-28  John Levon  <levon@movementarian.org>
5246
5247         * bufferlist.C: changes for unsaved changes dialog
5248
5249 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5250
5251         * bufferlist.C (newFile): set language (messages_) for new
5252         documents also.
5253
5254         * buffer.C (readFile): ws changes only.
5255
5256 2003-04-28  André Pönitz  <poenitz@gmx.net>
5257
5258         * undo_funcs.C:
5259         * lyxfunc.C:
5260         * buffer.[Ch]:
5261         * BufferView_pimpl.C:
5262         * BufferView.C: getParFromID related ParagraphList::iterator changes
5263
5264 2003-04-28  André Pönitz  <poenitz@gmx.net>
5265
5266         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5267           Changes
5268
5269 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5270
5271         * messages.C: remove one more localedir class variable.
5272
5273 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5274
5275         * messages.C (getLocaleDir): singleton generation function
5276         (Pimpl): use it.
5277         (Messages): add a default constructor.
5278
5279         * main.C (main): do not setup localedir here, do not call
5280         gettext_init.
5281
5282         * gettext.C (_): use it.
5283         (gettext_init): delete funciton
5284
5285 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5286
5287         * gettext.C (getLyXMessages): new singleton generating function.
5288
5289         * buffer.C (updateDocLang): adjust
5290
5291         * Makefile.am (messages.o): add target
5292         (main.o): remove target
5293
5294 2003-04-27  John Levon  <levon@movementarian.org>
5295
5296         * bufferlist.C:
5297         * lyx_cb.C:
5298         * lyxfunc.C:
5299         * lyxvc.C: specify cancel button in Alert::prompt
5300
5301 2003-04-26  John Levon  <levon@movementarian.org>
5302
5303         * text3.C:
5304         * lyxfunc.C:
5305         * lfuns.h:
5306         * LyXAction.C: add LFUN_INSET_SETTINGS
5307
5308         * lyxfunc.C: don't enable tabular-feature when there's
5309         just any locking inset
5310
5311 2003-04-26  John Levon  <levon@movementarian.org>
5312
5313         * bufferlist.C: re-add Cancel to buffer close question
5314
5315         * lyxfunc.C: fix import UI a bit
5316
5317 2003-04-25  John Levon  <levon@movementarian.org>
5318
5319         * gettext.C: remove the broken asserts for now
5320
5321 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5322
5323         * messages.C: make case where setlocale cannot comply work better.
5324
5325         * buffer.C (updateDocLang): new function
5326         (changeLanguage): use it
5327         (readFile): use it
5328
5329         * text2.C (setCounter): use B_ a bit.
5330
5331         * lyxlayout.C (Read): be sure to trim the label strings.
5332
5333         * messages.C (Messages): fix typo in comment
5334
5335         * buffer.C (readFile): set message_ after file is loaded.
5336         (makeDocBookFile): remove double return
5337         (changeLanguage): reset message_ upon language change.
5338         (B_): new func, use this to get translated buffer strings.
5339
5340         * main.C: add myself and Jean Marc as authors.
5341
5342 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5343
5344         * messages.[hC]: pimplify Messages, and three different pimpls to be
5345         used in different circumstances.
5346
5347         * gettext.[Ch]: change for use with new message code.
5348
5349 2003-04-24 André Pönitz <poenitz@gmx.net>
5350
5351         * factory.C: support for eqref
5352
5353 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5354
5355         * messages.[Ch]: add missing char
5356
5357         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5358
5359         * messages.[Ch]: New files
5360
5361 2003-04-18  John Levon  <levon@movementarian.org>
5362
5363         * BufferView.h:
5364         * BufferView.C:
5365         * BufferView_pimpl.C:
5366         * lfuns.h:
5367         * LyXAction.C:
5368         * lyxtext.h:
5369         * text2.C: remove layout-copy/paste (bug 778)
5370
5371 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5372
5373         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5374
5375 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5376
5377         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5378         if they succeed. Act accordingly.
5379
5380 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5381
5382         * text2.C (setCharFont): adjust
5383         (setCounter): adjust
5384         (insertStringAsLines): adjust
5385
5386         * text.C (leftMargin): adjust
5387         (setHeightOfRow): adjust
5388
5389         * rowpainter.C (paintFirst): adjust
5390         (paintLast): adjust
5391
5392         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5393         (outerHook): ditto
5394         (isFirstInSequence): ditto
5395         (getEndLabel): ditto
5396         (outerFont): adjust
5397
5398         * paragraph.C (getParLanguage): comment out some hard stuff.
5399
5400         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5401         (sgmlError): ditto
5402         (simpleDocBookOnePar): ditto
5403         (makeDocBookFile): use ParagraphList::iterator
5404
5405         * CutAndPaste.C (pasteSelection): adjust
5406
5407 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5408
5409         * text2.C (getFont): adjust
5410         (getLayoutFont): adjust
5411         (getLabelFont): adjust
5412
5413         * paragraph_funcs.C (TeXOnePar): adjust
5414
5415         * buffer.C (simpleLinuxDocOnePar): adjust
5416         (simpleDocBookOnePar): adjust
5417
5418         * CutAndPaste.C (pasteSelection): adjust
5419
5420         * BufferView.C (getEncoding): adjust
5421
5422         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5423
5424 2003-04-16  John Levon  <levon@movementarian.org>
5425
5426         * lyxfind.C: use parlist stuff for search/changes
5427
5428 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5429
5430         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5431
5432         * text2.C (deleteEmptyParagraphMechanism): adjust
5433
5434         * text2.[Ch] (ownerParagraph): delete func (both of them
5435
5436 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5437
5438         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5439
5440 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5441
5442         * ParagraphList.C: prepare for NO_NEXT
5443
5444 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5445
5446         * text2.C (getFont): adjust
5447         (getLayoutFont): adjust
5448         (getLabelFont): adjust
5449
5450         * paragraph.C (getFont): adjust
5451         (getLabelFont): adjust
5452         (getLayoutFont): adjust
5453
5454         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5455
5456 2003-04-15  John Levon  <levon@movementarian.org>
5457
5458         From Angus Leeming
5459
5460         * lyx_main.C: handle Include in .ui files
5461
5462 2003-04-15  John Levon  <levon@movementarian.org>
5463
5464         * MenuBackend.C: make the doc files length shorter
5465
5466         * ToolbarBackend.h:
5467         * ToolbarBackend.C: handle toolbar placement flags,
5468         Minibuffer
5469
5470 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5471
5472         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5473         adjust
5474
5475         * paragraph_funcs.C (TeXOnePar): adjust
5476
5477         * paragraph.C (getLabelFont): add outerfont arg, adjust
5478         (getLayoutFont): ditto
5479         (simpleTeXOnePar): adjust
5480
5481         * paragraph_pimpl.C (realizeFont): delete func
5482
5483 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5484
5485         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5486         row argument, constify cur argument.
5487
5488 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5489
5490         * text2.C (getFont): adjust
5491         (getLayoutFont): adjust
5492         (getLabelFont): adjust
5493
5494         * paragraph_funcs.C (TeXOnePar): adjust
5495         (outerFont): new func...
5496         (realizeFont): ...moved out from here, changed this to facilitate
5497         transition
5498
5499         * paragraph.C (getFont): take outerfont as arg, adjust
5500         (simpleTeXOnePar): add outerfont arg, adjust
5501
5502         * buffer.C (simpleLinuxDocOnePar): adjust
5503         (simpleDocBookOnePar): adjust
5504
5505         * CutAndPaste.C (pasteSelection): adjust
5506
5507         * BufferView.C (getEncoding): adjust
5508
5509 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5510
5511         * text2.C (setCharFont): adjust
5512         (setCounter): adjust
5513
5514         * text.C (leftMargin): adjust
5515         (setHeightOfRow): adjust
5516
5517         * rowpainter.C (paintFirst): adjust
5518         (paintLast): adjust
5519
5520         * paragraph_pimpl.C (realizeFont): adjust
5521
5522         * paragraph.C (isFirstInSequence): move from here...
5523         * paragraph_funcs.C (isFirstInSequence): ...to here
5524
5525         * paragraph.C (outerHook): move from here...
5526         * paragraph_funcs.C (outerHook): ...to here
5527
5528         * paragraph.C (depthHook): move from here...
5529         * paragraph_funcs.C (depthHook): ...to here
5530
5531         * paragraph.C (getEndLabel): move from here...
5532         * paragraph_funcs.C (getEndLabel): ...to here
5533
5534         * text2.C (realizeFont): move from here...
5535         * paragraph_funcs.C (realizeFont): ...to here
5536
5537 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5538
5539         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5540
5541 2003-04-14  Angus Leeming  <leeming@lyx.org>
5542
5543         * LColor.[Ch]: scrap LColor mathcursor.
5544
5545 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5546
5547         * lyxlex.[Ch] (text): delete function
5548         * trans.C (Load): adjust
5549         * paragraph_funcs.C (readParToken): adjust
5550
5551 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5552
5553         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5554         vector<char> instead of a char[].
5555
5556         * lyxlex_pimpl.C (getString): adjust
5557         (next): adjust
5558         (lex): use getString
5559         (eatLine): adjust
5560         (nextToken): adjust
5561
5562         * lyxlex.C (text): use pimpl_->getString()
5563         (getBool): ditto
5564         (findToken): ditto
5565
5566 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5567
5568         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5569         (makeFontEntriesLayoutSpecific): temp var for par.size()
5570         (setLayout): temp var for ownerParagraphs().end()
5571         (fullRebreak): temp var for rows().end()
5572         (selectionAsString): temp var for boost::next(startpit), realize
5573         that the while really is a regular for loop.
5574         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5575         setCursor in one place.
5576         (setParagraph): temp vr for ownerParagraphs().end()
5577         (updateCounters): make the while loop a for loop
5578         (cutSelection): temp var for ownerParagraphs().end()
5579         (updateInset): make the do {} while() a regular for loop
5580         (getCursorX): use temp vars
5581         (setCurrentFont): use temp vars
5582         (getColumnNearX): use temp vars
5583
5584 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5585
5586         * text.C (transformChar): use temp var for getChar
5587         (computeBidiTables): use temp var for row->par()
5588         (fill): move temp vars for row->par() and pit->layout() earlier in
5589         the function.
5590         (labelFill): use temp var for row->par()
5591         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5592         asc and desc, realize that pit never changes and that firstpit is
5593         just a duplicate and not needed. Exchange rit->par() with pit in a
5594         lot of places.
5595         (breakAgain): use a temp var for boost::next(rit)
5596         (breakAgainOneRow): ditto
5597         (breakParagraph): use a temp var for rows().begin()
5598         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5599         (cursorRightOneWord): use temp var for cursor.par() and
5600         cursor.pos(), remove usage of tmpcursor.
5601         (cursorLeftOneWord): use temp var for cursor.par() and
5602         cursor.pos() only set cur at end of function.
5603
5604 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5605
5606         * text.C, text2.C: exchange all usage of Paragraph::next with
5607         boost::next(ParagraphList::iterator)
5608
5609         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5610
5611         * text2.C (cursorTop): simplify implementation
5612         (cursorBottom): ditto
5613         (setParagraph): use ParagraphList::iterator
5614         (setCurrentFont): adjust
5615         (getColumnNearX): adjust
5616         (cursorRight): adjust
5617         (cursorLeft): remove usage of Paragraph::previous
5618         (cursorUpParagraph): ditto
5619         (deleteEmptyParagraphMechanism): slight cleanup
5620
5621         * text.C (isBoundary): take a Paragraph const & instead of a
5622         pointer as arg.
5623         (addressBreakPoint): ditto
5624         (leftMargin): remove usage of Paragraph::previous.
5625         (setHeightOfRow): ditto
5626         (cursorLeftOneWord): ditto
5627         (selectNextWordToSpellcheck): ditto
5628         (Delete): ditto
5629         (backspace): ditto
5630         (breakParagraph): remove one usage of Paragraph::next
5631         (redoParagraph): ditto
5632         (acceptChange): ditto
5633         (insertChar): adjust
5634         (rowBreakPoint): adjust
5635
5636         * bufferview_funcs.C (toggleAndShow): adjust
5637
5638 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5639
5640         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5641         methods to access it.
5642         * lyxtext.h:
5643         * text.C: Added updateRowPositions to compute all row positions.
5644         Make top_y and getRowNearY() to use the cached y position
5645
5646 2003-04-11  John Levon  <levon@movementarian.org>
5647
5648         * text.C (rowBreakPoint): reintroduce the labelEnd
5649         checks, code copied from the row fill stuff. Deep voodoo.
5650
5651         * text.C (fill): add a comment and debugging for the
5652         next poor soul.
5653
5654 2003-04-11  John Levon  <levon@movementarian.org>
5655
5656         * text.C: make sure fullrow insets get wrapped to the next line,
5657         even when they're in a manual label
5658
5659 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5660
5661         * text2.C (insertParagraph): make it take ParagraphList::iterator
5662         as arg.
5663         (setLayout): make it return ParagraphList::iterator
5664         (redoParagraphs): ditto
5665         (setCounter): ditto
5666         (checkParagraph): ditto
5667
5668         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5669
5670         * text2.C: adjust several funcs.
5671         (realizeFont): take a ParagraphList::iterator as arg.
5672         (getLayoutFont): ditto
5673         (getLabelFont): ditto
5674         (setCharFont): ditto
5675
5676         * text.C: adjust several funcs.
5677
5678 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5679
5680         * text.C (selectNextWordToSpellcheck): don't accidentally
5681         skip insets
5682
5683 2003-04-10  John Levon  <levon@movementarian.org>
5684
5685         * ToolbarBackend.C (getIcon): special handling for
5686         LFUN_MATH_DELIM
5687
5688 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5689
5690         * text2.C (cursorRight): a getChar assert fixed
5691
5692 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5693
5694         * text2.C (getFont): change to take a ParagraphList::iterator
5695         instead of Paragraph*
5696         Adjust several functions.
5697
5698         * text.C (transformChar): change to take a ParagraphList::iterator
5699         instead of Paragraph*
5700         (singleWidth): ditto
5701         Adjust several functions.
5702
5703         * rowpainter.C: adjust several functions
5704         * rowpainter.h:store a ParagraphList::iterator and not a
5705         Paragraph&.
5706
5707
5708 2003-04-09  John Levon  <levon@movementarian.org>
5709
5710         * lyxfunc.C:
5711         * lfuns.h:
5712         * LyXAction.h:
5713         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5714         and the "help" bits as well
5715
5716 2003-04-09  John Levon  <levon@movementarian.org>
5717
5718         * ToolbarBackend.h:
5719         * ToolbarBackend.C: allow multiple toolbars
5720
5721 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5722
5723         * undo_funcs.C (setCursorParUndo): adjust
5724
5725         * text_funcs.C (transposeChars): adjust
5726
5727         * text3.C (gotoNextInset): adjust
5728         (dispatch): adjust
5729
5730         * text2.C (setLayout): adjust
5731         (changeDepth): adjust
5732         (setFont): adjust
5733         (redoParagraphs): adjust
5734         (selectionAsString): adjust
5735         (setParagraph): adjust
5736         (insertInset): adjust
5737         (cutSelection): adjust
5738         (copySelection): adjust
5739         (pasteSelection): adjust
5740         (insertStringAsLines): adjust
5741         (updateInset): adjust
5742         (setCursor): change to take a ParagraphList::iterator parameter
5743         (setCursorIntern): change to take a ParagraphList::iterator parameter
5744         (setCurrentFont): adjust
5745         (cursorLeft): adjust
5746         (cursorRight): adjust
5747         (deleteEmptyParagraphMechanism): adjust
5748
5749         * text.C (breakParagraph): adjust
5750         (insertChar): adjust
5751         (acceptChange): adjust
5752         (rejectChange): adjust
5753         (selectNextWordToSpellcheck): adjust
5754         (changeCase): adjust
5755         (Delete): adjust
5756         (backspace): adjust
5757
5758         * lyxfind.C (SearchForward): adjust
5759         (SearchBackward): adjust
5760         (nextChange): adjust
5761
5762         * lyxcursor.C (par): adjust
5763
5764         * lyxcursor.h: store a ParagraphList::iterator instead of a
5765         Paragraph*
5766
5767         * lyx_cb.C (getPossibleLabel): adjust
5768
5769         * bufferview_funcs.C (toggleAndShow): adjust
5770
5771         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5772         (dispatch): adjust
5773
5774         * BufferView.C (removeAutoInsets): adjust
5775         (lockedInsetStoreUndo): adjust
5776
5777 2003-04-09  John Levon  <levon@movementarian.org>
5778
5779         * ToolbarBackend.C: try icon without argument
5780         if with argument fails
5781
5782 2003-04-08  John Levon  <levon@movementarian.org>
5783
5784         * ToolbarBackend.h:
5785         * ToolbarBackend.C: add getIcon(), handle tooltip,
5786         and change from "Icon" to "Item".
5787
5788 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5789
5790         * BufferView.C (lockInset): another bad getchar crunched
5791
5792 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5793
5794         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5795         again)
5796
5797 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5798
5799         * lyxfind.C (searchForward, searchBackwards): bug 782
5800
5801 2003-04-07  John Levon  <levon@movementarian.org>
5802
5803         * paragraph.C: remove dead comment
5804
5805         * text.C: remove troublesome depth-fiddling code
5806         in leftMargin() and rightMargin() (bug 1017)
5807
5808         * text.C: fix breaking of rows in nested lists
5809         (bug 1004)
5810
5811         * text2.C (updateCounters): fix up depth values
5812         (bug 1013)
5813
5814 2003-04-07  John Levon  <levon@movementarian.org>
5815
5816         * BufferView_pimpl.C: clear message when doc finishes resizing,
5817         and after a mouse event
5818
5819         * lyxfunc.C: clear message after exiting inset
5820
5821 2003-04-07  John Levon  <levon@movementarian.org>
5822
5823         * bufferview_funcs.C: show math status not outside
5824         status in the statusbar
5825
5826 2003-04-07  John Levon  <levon@movementarian.org>
5827
5828         * lyxfunc.C: note status changed after a depth change
5829
5830 2003-04-04  Angus Leeming  <leeming@lyx.org>
5831
5832         * LaTeX.h: move AuxInfo operator==, != out of line.
5833         Remove LaTeX virtual destructor; nothing derives from it.
5834         Move operator()() out of public area and rename it startscript().
5835         Change protected for private.
5836
5837 2003-04-04  Angus Leeming  <leeming@lyx.org>
5838
5839         * lyxfunc.C:
5840         * text2.C: remove unneeded #includes.
5841
5842 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5843
5844         * text2.C (dEPM): fix the heigth of the next row
5845
5846 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5847
5848         * text.C: squashed an invalid getChar requester + some ws changes
5849
5850 2003-04-03  John Levon  <levon@movementarian.org>
5851
5852         * bufferview_funcs.h:
5853         * bufferview_funcs.C:
5854         * lyxfunc.C:
5855         * lyxtext.h:
5856         * text2.C: make getStatus work for the env depth lfuns
5857
5858 2003-04-03  John Levon  <levon@movementarian.org>
5859
5860         * bufferview_funcs.h:
5861         * bufferview_funcs.C:
5862         * lyxfunc.C:
5863         * lyxtext.h:
5864         * text2.C: parlistize decDepth(), by merging it with incDepth()
5865
5866 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5867
5868         * lyxrow.h: store a ParagraphList::iterator instead of a
5869         Paragraph* and adjust other class functions to suit.
5870
5871         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5872         above.
5873
5874 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5875
5876         * text2.C (setCursor): do not anchor to cursor row for the time being
5877
5878 2003-04-02  John Levon  <levon@movementarian.org>
5879
5880         * LyXAction.C:
5881         * lfuns.h:
5882         * lyx_main.C:
5883         * lyxtext.h:
5884         * text.C:
5885         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5886
5887 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5888
5889         * paragraph.h: make ParagraphList and ParagraphList::iterator
5890         friends of Paragraph.
5891
5892         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5893
5894         * ParagraphList.C: Use the private next_ and previous_ from
5895         Paragraph.
5896
5897 2003-04-01  John Levon  <levon@movementarian.org>
5898
5899         * ToolbarBackend.h:
5900         * ToolbarBackend.C:
5901         * Makefile.am: rename, remove defaults gunk
5902
5903         * MenuBackend.h:
5904         * MenuBackend.C: remove defaults gunk
5905
5906         * Languages.h:
5907         * Languages.C: remove defaults gunk
5908
5909         * lyx_main.h:
5910         * lyx_main.C: error out if files couldn't be found.
5911
5912 2003-04-02  John Levon  <levon@movementarian.org>
5913
5914         * text2.C: make incDepth() use parlist
5915
5916 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5917
5918         * undo_funcs.C (firstUndoParagraph): adjust
5919
5920         * text3.C (gotoInset): adjust
5921         (dispatch): adjust, and rewrite loop.
5922
5923         * text2.C (init): adjust, and rewrite loop.
5924         (redoParagraphs): adjust
5925         (updateInset): adjust, and rewrite loop.
5926         (deleteEmptyParagraphMechanism): adjust
5927
5928         * tabular.C (LyXTabular): adjust
5929         (SetMultiColumn): adjust
5930         (TeXRow): adjust
5931
5932         * lyxtext.[Ch] (ownerParagraph): delete function
5933         (ownerParagraphs): new function returns a ParagraphList.
5934
5935         * BufferView.C (removeAutoInsets): adjust
5936         (insertErrors): adjust
5937         (setCursorFromRow): adjust
5938
5939 2003-04-01  Angus Leeming  <leeming@lyx.org>
5940
5941         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5942         in the frontends.
5943
5944 2003-04-02  John Levon  <levon@movementarian.org>
5945
5946         * lyxtext.h:
5947         * text.C:
5948         * Makefile.am:
5949         * text_funcs.h:
5950         * text_funcs.C: make transposeChars a free function
5951
5952         * lyxrow_funcs.C: remove wrong comment
5953
5954 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5955
5956         * lyxtext.h: adjust
5957         * rowpainter.C: adjust
5958         * text.C: adjust
5959         * text2.C: adjust
5960         * text3.C: adjust
5961
5962         * lyxrow_funcs. [Ch]: new files
5963
5964         * lyxrow.[Ch]: remove next and previous pointers
5965         (next,previous): remove accessor functions
5966         (isParEnd): move to lyxrow_funcs
5967         (lastPos): move to lyxrow_funcs
5968         (nextRowIsAllInset): move to lyxrow_funcs
5969         (lastPrintablePos): move to lyxrow_funcs
5970         (numberOfSeparators): move to lyxrow_funcs
5971         (numberOfHfills): move to lyxrow_funcs
5972         (numberOfLabelHfills): move to lyxrow_funcs
5973         (hfillExpansion): move to lyxrow_funcs
5974
5975         * lyxfunc.C: adjust
5976
5977         * bufferview_funcs.C (toggleAndShow): adjust
5978
5979         * RowList.h: Remove class RowList from file leave just a
5980         std::list<Row>.
5981
5982         * RowList.C: delete file
5983
5984         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5985         and lyxrow_funcs.h
5986
5987 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5988
5989         * text3.C (cursorPrevious): adjust
5990         (cursorNext): adjust
5991         (dispatch): adjust
5992
5993         * text2.C (redoHeightOfParagraph): adjust
5994         (redoDrawingOfParagraph): adjust
5995         (setCursor): adjust
5996
5997         * text.C (breakParagraph): adjust
5998         (insertChar): adjust
5999         (backspace): adjust
6000
6001         * rowpainter.C (RowPainter): adjust
6002         (leftMargin): simplify and adjust
6003         (most rowpainter functions): adjust.
6004
6005         * rowpainter.h: store the row as RowList::iterator not as Row*
6006
6007         * lyxcursor.C (row): taka RowList::iterator as arg
6008         (irow): ditto
6009
6010         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6011         of Row*.
6012
6013 2003-04-01  Angus Leeming  <leeming@lyx.org>
6014
6015         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6016         stuff like bool Bool.
6017
6018 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6019
6020         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6021         rewrite a loop
6022
6023 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6024
6025         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6026         RowList::iterator.
6027
6028         * lyxtext.h (rows): drop one version and leve a const variant that
6029         returns a RowList::iterator.
6030
6031 2003-03-31  Angus Leeming  <leeming@lyx.org>
6032
6033         * text.C (fill): ensure that the signature is the same as that in the
6034         header file.
6035
6036 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6037
6038         * text2.C (redoParagraphs): adjust
6039         (updateCounters): adjust
6040         (checkParagraph): adjust
6041         (getColumnNearX): adjust and reformat a bit.
6042
6043         * text.C (top_y): adjust
6044         (workWidth): adjust
6045         (leftMargin): adjust
6046         (prepareToPrint): adjust
6047         (getRow): adjust
6048         (getRowNearY): adjust
6049
6050         * lyxtext.h: make rowlist_ mutable.
6051
6052         * RowList.h: add const_iterator
6053         * RowList.C: adjust for RowList::const_iterator.
6054
6055         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6056         adjust.
6057
6058 2003-03-31  John Levon  <levon@movementarian.org>
6059
6060         * lyxrc.h:
6061         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6062
6063         * lyx_main.C: set default fonts from using lyx_gui funcs
6064
6065         * exporter.C: pdf_mode moved from lyxrc
6066
6067         * lyx_cb.C:
6068         * lyxfunc.C: changes from above
6069
6070 2003-03-31  John Levon  <levon@movementarian.org>
6071
6072         * lyx_main.C: fix to the last fix
6073
6074 2003-03-31  John Levon  <levon@movementarian.org>
6075
6076         * bufferlist.C: "Load original" -> "Load Original"
6077
6078         * converter.C:
6079         * exporter.C:
6080         * importer.C:
6081         * lyx_main.C:
6082         * format.C: more Alert cleanups
6083
6084 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6085
6086         * text2.C (removeParagraph): make it take a RowList::iterator as
6087         arg, adjust.
6088         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6089         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6090
6091         * text.C (anchor_row): make it take a RowList::iterator as arg,
6092         adjust.
6093         (computeBidiTables): make it take a const reference to Row instead
6094         of Row pointer, adjust.
6095         (leftMargin): make it take a RowList::iterator as arg, adjust.
6096         (rowBreakPoint): adjust
6097         (breakAgainOneRow): make it take a RowList::iterator as arg,
6098         adjust.
6099         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6100
6101         * bufferview_funcs.C (toggleAndShow): adjust
6102
6103 2003-03-30  John Levon  <levon@movementarian.org>
6104
6105         * Makefile.am:
6106         * BoostFormat.h:
6107         * boost-inst.C: moved to support
6108
6109         * several files: changes as a result
6110
6111 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6112
6113         * text2.C (LyXText): adjust.
6114         (init): adjust
6115         (removeRow): make it take a RowList::iterator as arg, adjust.
6116         (fullRebreak): adjust
6117         (deleteEmptyParagraphMechanism): adjust
6118         (clearPaint): adjust
6119         (postPaint): adjust
6120
6121         * text.C (top_y): adjust
6122         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6123         (breakAgain): make it take a RowList::iterator as arg, adjust.
6124         (breakParagraph): adjust
6125         (insertChar): adjust
6126         (backspace): adjust
6127
6128         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6129         need_break_row, and refresh_row.
6130
6131         * text3.C (dispatch): adjust
6132
6133         * text2.C (checkParagraph): adjust
6134         (setCursor): adjust
6135         (setCursorFromCoordinates): adjust
6136
6137         * text.C (top_y): adjust
6138         (workWidth): adjust
6139         (getRow): make it return a RowList::iterator, adjust
6140         (getRowNearY): make it return a RowList::iterator, adjust
6141
6142         * text2.C (init): adjust
6143         (insertRow): remove function
6144         (insertParagraph): adjust
6145         (redoParagraphs): adjust
6146         (fullRebreak): adjust
6147         (updateCounters): adjust
6148
6149         * text.C (top_y): rewrite to use RowList iterators.
6150         (top_y): adjust
6151         (setHeightOfRow): rewrite to sue RowList iterators.
6152         (appendParagraph): adjust
6153         (breakAgain): adjust
6154         (breakAgainOneRow): adjust
6155         (breakParagraph): adjust
6156         (getRow): adjust
6157         (getRowNearY): adjust, and remove commented code.
6158
6159         * lyxtext.h (firstRow): delete function
6160         (lastRow): delete function
6161         (rows): new function (const and non-const versions.)
6162         (insertRow): delete function
6163
6164         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6165
6166 2003-03-29  John Levon  <levon@movementarian.org>
6167
6168         * BufferView_pimpl.C: always update scrollbar top
6169         because pasting text when we're anchored could mean we
6170         miss an update altogether
6171
6172 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6173
6174         * text2.C (init): use rowlist_.end() and not 0.
6175         (insertRow): change to take a RowList::iterator as arg, adjust
6176         for this.
6177         (insertParagraph): change to take a RowList::iterator as arg,
6178         adjust for this.
6179         (redoParagraphs): remove some debug msgs.
6180
6181         * text.C (appendParagraph): change to take a RowList::iterator
6182         arg, adjust for this.
6183         (breakAgain): add an assert
6184         (breakAgainOneRow): ditto
6185
6186 2003-03-29  John Levon  <levon@movementarian.org>
6187
6188         * text2.C: do not clear selection after inc/decDepth
6189         (bug 550)
6190
6191 2003-03-29  John Levon  <levon@movementarian.org>
6192
6193         * BufferView.C:
6194         * buffer.C: fix broken strerrors according to Lars
6195
6196 2003-03-29  John Levon  <levon@movementarian.org>
6197
6198         * converters.C: more Alert cleanups
6199
6200 2003-03-29  John Levon  <levon@movementarian.org>
6201
6202         * bufferview_funcs.C: remove pointless Alert
6203
6204         * buffer.C: fix confusing error message when
6205         a template is chmoded 000
6206
6207 2003-03-29  John Levon  <levon@movementarian.org>
6208
6209         * BufferView.C:
6210         * BufferView.h:
6211         * BufferView_pimpl.C: Alert fixes
6212
6213         * Makefile.am:
6214         * tabular.C:
6215         * tabular-old.C: remove unused table compat reading
6216
6217 2003-03-29  John Levon  <levon@movementarian.org>
6218
6219         * BufferView.C:
6220         * buffer.C:
6221         * lyx_cb.h:
6222         * lyx_cb.C: more Alert cleanups
6223
6224         * lyxfunc.C: don't allow chktex if not latex document
6225
6226 2003-03-29  John Levon  <levon@movementarian.org>
6227
6228         * lyx_cb.C:
6229         * BufferView.C:
6230         * buffer.C: warnings pushed down from support/,
6231         kill err_alert
6232
6233 2003-03-29  John Levon  <levon@movementarian.org>
6234
6235         * lyxfunc.C: safety check for C-r (revert)
6236
6237 2003-03-29  John Levon  <levon@movementarian.org>
6238
6239         * bufferlist.h:
6240         * bufferlist.C: several UI fixes using Alert::prompt.
6241         Fix the pointless looping quit code. Fix stupid revert
6242         behaviour (bug 938)
6243
6244         * lyxvc.h:
6245         * lyxvc.C:
6246         * lyx_cb.C: use Alert::prompt
6247
6248         * lyx_main.C: remove a silly question
6249
6250         * lyxfunc.C: remove a couple of silly questions,
6251         use Alert::prompt
6252
6253 2003-03-28  John Levon  <levon@movementarian.org>
6254
6255         * text2.C: fix bug 974 (End on empty par)
6256
6257 2003-03-28  John Levon  <levon@movementarian.org>
6258
6259         * BufferView_pimpl.C:
6260         * LyXAction.C:
6261         * lfuns.h: remove do-nothing math greek lfuns
6262
6263 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6264
6265         * lyxgluelength.h (isValidGlueLength): add default arg on
6266         parameter 2. Remove default arg from friend in class.
6267
6268         * lyxlength.h (isValidLength): add default arg on parameter 2.
6269         Remove default arg from friend in class.
6270
6271         * text2.C (LyXText): adjust, initialize refresh_row.
6272         (init): adjust
6273         (removeRow): adjust
6274         (insertRow): adjust
6275         (insertParagraph): adjst
6276         (redoParagraphs): adjust
6277         (fullRebreak): adjust
6278         (updateCounters): adjust
6279         (deleteEmptyParagraphMechanism): first attempt at fixing a
6280         crashing bug.
6281
6282         * text.C (top_y): adjust
6283         (setHeightOfRow): adjust
6284         (getRow): adjust
6285         (getRowNearY): adjust
6286
6287         * lyxtext.h: include RowList.h
6288         (~LyXText): not needed anymore, deleted.
6289         (firstRow): modify for RowList
6290         (lastRow): new function
6291         Delete firstrow and lastrow class variables, add a Rowlist
6292         rowlist_ class variable.
6293
6294         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6295         paragraph is empty.
6296
6297         * RowList.C (insert): fix case where it == begin().
6298
6299 2003-03-26  Angus Leeming  <leeming@lyx.org>
6300
6301         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6302         the thesaurus dialog.
6303
6304 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6305
6306         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6307
6308         * RowList.[Ch]: new files
6309
6310         * ParagraphList.C (erase): handle the case where it == begin
6311         correctly.
6312
6313 2003-03-25  John Levon  <levon@movementarian.org>
6314
6315         * Makefile.am:
6316         * aspell_local.h:
6317         * aspell.C: add new aspell support
6318
6319         * lyxrc.h:
6320         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6321         have it accessible.
6322
6323 2003-03-25  Angus Leeming  <leeming@lyx.org>
6324
6325         * lfuns.h:
6326         * LyXAction.C (init): new LFUN_INSET_INSERT.
6327
6328         * BufferView_pimpl.C (dispatch): split out part of the
6329         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6330
6331         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6332         LFUN_INSET_APPLY.
6333
6334 2003-03-25  Angus Leeming  <leeming@lyx.org>
6335
6336         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6337
6338 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6339
6340         * text2.C:
6341         * text3.C: remove useless row->height(0)
6342
6343 2003-03-25  John Levon  <levon@movementarian.org>
6344
6345         * lyxtext.h:
6346         * text2.C:
6347         * text3.C: rename the refreshing stuff to better names
6348
6349 2003-03-24  John Levon  <levon@movementarian.org>
6350
6351         * BufferView_pimpl.h:
6352         * BufferView_pimpl.C: update layout choice on a mouse
6353         press/release
6354
6355 2003-03-23  John Levon  <levon@movementarian.org>
6356
6357         * Makefile.am: fix commandtags.h reference
6358
6359 2003-03-22  John Levon  <levon@movementarian.org>
6360
6361         * BufferView_pimpl.C:
6362         * lyxtext.h:
6363         * rowpainter.C:
6364         * rowpainter.h:
6365         * text.C:
6366         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6367
6368 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6369
6370         * lyxtext.h:
6371         * text.C: take the rtl methods out of line
6372
6373 2003-03-21 André Pönitz <poenitz@gmx.net>
6374
6375         * metricsinfo.[Ch]: new files containing structures to be passed around
6376         during the two-phase-drawing...
6377
6378 2003-03-21 André Pönitz <poenitz@gmx.net>
6379
6380         * lyxtextclass.C: read 'environment' tag.
6381
6382 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6383
6384         * text2.C (removeRow): fix bug 964
6385
6386 2003-03-20  John Levon  <levon@movementarian.org>
6387
6388         * rowpainter.C:
6389         * text.C:
6390         * text2.C: paint cleanups. Inset::update() dropped font
6391         parameter
6392
6393 2003-03-19  John Levon  <levon@movementarian.org>
6394
6395         * lyxfunc.C: only fitcursor/markDirty if available()
6396
6397 2003-03-19  John Levon  <levon@movementarian.org>
6398
6399         * commandtags.h: rename to ...
6400
6401         * lfuns.h: ... this, and renumber / cleanup
6402
6403 2003-03-19  John Levon  <levon@movementarian.org>
6404
6405         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6406         fit the cursor after an lfun
6407
6408         * BufferView.h:
6409         * BufferView.C:
6410         * BufferView_pimpl.h:
6411         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6412
6413         * LyXAction.C: layout-character should have ReadOnly
6414
6415         * ParagraphParameters.C:
6416         * buffer.C:
6417         * bufferview_funcs.C:
6418         * lyx_cb.C:
6419         * lyxfind.C:
6420         * lyxtext.h:
6421         * text.C:
6422         * text2.C:
6423         * text3.C:
6424         * undo_funcs.C: changes from above
6425
6426 2003-03-18  John Levon  <levon@movementarian.org>
6427
6428         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6429         remove it from update()
6430
6431         * lyxfunc.C: update layout choice after an lfun
6432
6433         * text3.C: remove extra updateLayoutChoice()s
6434
6435 2003-03-18  John Levon  <levon@movementarian.org>
6436
6437         * text.C: top_y change means full repaint, fix
6438         a drawing bug with cursor movement
6439
6440 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6441
6442         * lyxtext.h:
6443         * text.C:
6444         * text2.C: anchor row on setCursor
6445
6446 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6447
6448         * lyxtext.h: remove almost all mutable keywords
6449         * text.C:
6450         * text2.C:
6451         * text3.C: remove const keywords accordingly
6452
6453 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6454
6455         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6456         anon namespace
6457         (TeXEnvironment): ditto
6458         (TeXOnePar): ditto
6459
6460 2003-03-17  John Levon  <levon@movementarian.org>
6461
6462         * text.C (rowBreakPoint): remove attempt to fix displayed
6463         math insets inside a manual label
6464
6465 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6466
6467         * lyxtext.h: remove BufferView* as first arg from almost all class
6468         functions.
6469         * other files: adjust.
6470
6471 2003-03-17  John Levon  <levon@movementarian.org>
6472
6473         * lyxtext.h:
6474         * undo_funcs.C:
6475         * text2.C: more paint cleanups
6476
6477         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6478
6479         * rowpainter.h:
6480         * rowpainter.C: remove "smart" background painting code
6481
6482 2003-03-16  John Levon  <levon@movementarian.org>
6483
6484         * lyxtext.h:
6485         * text.C:
6486         * text2.C:
6487         * text3.C: add helper functions for setting refresh_row/y
6488
6489 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6490
6491         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6492         newline inset which *can* get inserted in the pass_thru layouts.
6493         This is primarily for literate documents.
6494
6495 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6496
6497         * buffer.C: increment LYX_FORMAT to 223
6498
6499 2003-03-14 André Pönitz <poenitz@gmx.net>
6500
6501         * textclass.h: prepare for environment handling, ws changes
6502         * lyxlayout.C: read latexheader and latexfooter tags
6503
6504 2003-03-14  John Levon  <levon@movementarian.org>
6505
6506         * text2.C: rewrite ::status() a bit
6507
6508 2003-03-13  John Levon  <levon@movementarian.org>
6509
6510         * lyxtext.h: add some docs
6511
6512 2003-03-13  John Levon  <levon@movementarian.org>
6513
6514         * lyxtext.h:
6515         * text.C:
6516         * text2.C:
6517         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6518
6519 2003-03-13  John Levon  <levon@movementarian.org>
6520
6521         * text3.C: fix appendix redrawing
6522
6523 2003-03-13  John Levon  <levon@movementarian.org>
6524
6525         * text.C (setHeightOfRow):
6526         * rowpainter.h:
6527         * rowpainter.C: make appendix mark have the text
6528           "Appendix" so the user knows what it is
6529
6530         * LColor.h:
6531         * LColor.C: s/appendixline/appendix/ from above
6532
6533 2003-03-13  John Levon  <levon@movementarian.org>
6534
6535         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6536
6537         * text.C: fix a getChar(pos) bug properly
6538
6539 2003-03-13  Angus Leeming  <leeming@lyx.org>
6540
6541         * commandtags.h:
6542         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6543         Probably only temporary. Let's see how things pan out.
6544
6545         * BufferView.C (unlockInset):
6546         * BufferView_pimpl.C (fitCursor):
6547         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6548
6549         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6550         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6551
6552         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6553         new functions that convert ParagraphParameters to and from a string.
6554
6555         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6556         BufferView::Pimpl's dispatch.
6557         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6558
6559 2003-03-13 André Pönitz <poenitz@gmx.net>
6560
6561         * lyxfunc.C:
6562         * text3.C:
6563         * factory.C: make it aware of InsetEnv
6564
6565 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6566
6567         * text2.C (setCursor): never ask for one past last
6568         (setCursor): add some debugging messages.
6569
6570         * text.C (singleWidth): never ask for one past last
6571         (singleWidth): ditto
6572         (leftMargin): ditto
6573         (rightMargin): ditto
6574         (rowBreakPoint): ditto
6575         (setHeightOfRow): ditto
6576         (prepareToPrint): ditto
6577
6578         * rowpainter.C (paintBackground): never ask for one past last
6579         (paintText): never ask for one past last
6580
6581         * paragraph_pimpl.C (getChar): make the assert stricter, never
6582         allow the one past last pos to be taken
6583
6584         * paragraph.C (getChar): ws changes only
6585
6586         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6587         (numberOfSeparators): ditto
6588         (numberOfHfills): ditto
6589
6590 2003-03-12  John Levon  <levon@movementarian.org>
6591
6592         * author.h:
6593         * author.C:
6594         * bufferparams.h:
6595         * bufferparams.C:
6596         * paragraph_funcs.C: fix per-buffer authorlists
6597
6598 2003-03-12  John Levon  <levon@movementarian.org>
6599
6600         * text.C: fix newline in right address
6601
6602 2003-03-12  Angus Leeming  <leeming@lyx.org>
6603
6604         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6605         duplicate those in LyXFunc::dispatch.
6606
6607         * commandtags.h:
6608         * LyXAction.C:
6609         * ToolbarDefaults.C:
6610         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6611         Add LFUN_FONTFREE_UPDATE.
6612
6613         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6614         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6615
6616         * bufferview_func.[Ch]: several new functions to facilliate
6617         transfer of data to and from the character dialog.
6618
6619 2003-03-12  John Levon  <levon@movementarian.org>
6620
6621         * buffer.C:
6622         * paragraph.h:
6623         * paragraph.C:
6624         * paragraph_funcs.C:
6625         * paragraph_pimpl.C:
6626         * sgml.C:
6627         * tabular.C:
6628         * text.C:
6629         * text3.C: remove META_NEWLINE in favour of an inset
6630
6631         * rowpainter.h:
6632         * rowpainter.C: remove paintNewline (done by inset)
6633
6634 2003-03-12  John Levon  <levon@movementarian.org>
6635
6636         * paragraph_pimpl.C: complain about bad getChar()s
6637         for a while at least
6638
6639 2003-03-12  John Levon  <levon@movementarian.org>
6640
6641         * buffer.h:
6642         * buffer.C: move paragraph read into a separate function,
6643         a little renaming to reflect that.
6644
6645         * bufferparams.h:
6646         * bufferparams.C: remove the author_ids map, not necessary now
6647
6648         * factory.h:
6649         * factory.C: moved Buffer::readInset to here
6650
6651         * paragraph_funcs.h:
6652         * paragraph_funcs.C: readParagraph free function moved from
6653         buffer.C
6654
6655         * tabular.C: name change
6656
6657 2003-03-12  John Levon  <levon@movementarian.org>
6658
6659         * buffer.C:
6660         * ParagraphParameters.C: move par params input to
6661         a read() method
6662
6663         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6664         behave like a normal read from the stream wrt reading
6665         a line vs. a \\token
6666
6667 2003-03-12  John Levon  <levon@movementarian.org>
6668
6669         * paragraph.C:
6670         * ParagraphParameters.h:
6671         * ParagraphParameters.C: move output code to a
6672         ::write() method
6673
6674 2003-03-12  John Levon  <levon@movementarian.org>
6675
6676         * BufferView.C (insertLyXFile):
6677         * buffer.h:
6678         * buffer.C:
6679         * tabular.C: use a parlist iterator for creating the
6680           document.
6681
6682 2003-03-12  John Levon  <levon@movementarian.org>
6683
6684         * buffer.C: make current_change static local not
6685           static file-scope
6686
6687 2003-03-12  John Levon  <levon@movementarian.org>
6688
6689         * buffer.C: fix insertStringAsLines for change tracking
6690
6691 2003-03-12  John Levon  <levon@movementarian.org>
6692
6693         * BufferView.C:
6694         * tabular.C:
6695         * buffer.h:
6696         * buffer.C:
6697         * bufferparams.h:
6698         * bufferparams.C: move author list into params. Rename some
6699           functions. Move the header reading into a separate token
6700           loop. Move the header token reading into BufferParams.
6701
6702 2003-03-12  John Levon  <levon@movementarian.org>
6703
6704         * changes.C: put debug inside lyxerr.debugging() checks
6705
6706 2003-03-11 André Pönitz <poenitz@gmx.net>
6707
6708         * factory.C: make it aware of InsetHFill
6709
6710 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6711
6712         * buffer.C (latexParagraphs): move function from here...
6713         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6714         args.
6715
6716 2003-03-10  Angus Leeming  <leeming@lyx.org>
6717
6718         * LyXAction.C (init): fix bug in poplating array with multiple entries
6719         with the same LFUN (spotted by JMarc).
6720
6721 2003-03-10  John Levon  <levon@movementarian.org>
6722
6723         * text.C:
6724         * text2.C: move getColumnNearX() near its
6725         only call site
6726
6727 2003-03-10  John Levon  <levon@movementarian.org>
6728
6729         * text.C: fix break before a minipage
6730
6731 2003-03-10  John Levon  <levon@movementarian.org>
6732
6733         * text.C: fix the last commit
6734
6735 2003-03-09  John Levon  <levon@movementarian.org>
6736
6737         * lyxtext.h:
6738         * text.C:
6739         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6740         bug 365 (don't break before insets unless needed). Don't
6741         return a value > last under any circumstances.
6742
6743 2003-03-09  Angus Leeming  <leeming@lyx.org>
6744
6745         * BufferView_pimpl.C (trackChanges, dispatch): call
6746         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6747
6748 2003-03-09  Angus Leeming  <leeming@lyx.org>
6749
6750         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6751         than Dialogs::showAboutlyx().
6752
6753 2003-03-09  Angus Leeming  <leeming@lyx.org>
6754
6755         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6756         than Dialogs::showTabularCreate().
6757
6758 2003-03-09  John Levon  <levon@movementarian.org>
6759
6760         * lyxtext.h:
6761         * text.C:
6762         * text2.C: 3rd arg to nextBreakPoint was always the same.
6763           Use references.
6764
6765 2003-03-08  John Levon  <levon@movementarian.org>
6766
6767         * lyxrow.C:
6768         * paragraph.C:
6769         * paragraph.h:
6770         * rowpainter.C:
6771         * text.C:
6772         * text2.C: Remove the "main" bit from the "main body"
6773           notion.
6774
6775 2003-03-08  John Levon  <levon@movementarian.org>
6776
6777         * text.C (leftMargin): The left margin of an empty
6778         manual label paragraph should not include the label width
6779         string length.
6780
6781         * text.C (prepareToPrint): don't attempt to measure hfills
6782         for empty manual label paragraphs - the answer should be 0
6783
6784 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6785
6786         * CutAndPaste.C: remove commented code and reindent.
6787
6788 2003-03-08  John Levon  <levon@movementarian.org>
6789
6790         * lyxfunc.h:
6791         * lyxfunc.C: move reloadBuffer()
6792
6793         * BufferView.h:
6794         * BufferView.C: to here
6795
6796         * lyxvc.C: add comment
6797
6798         * vc-backend.h:
6799         * vc-backend.C: call bv->reload() to avoid
6800           getStatus() check on MENURELOAD
6801
6802 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6803
6804         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6805         to an old format .dep file.
6806
6807 2003-03-07  Angus Leeming  <leeming@lyx.org>
6808
6809         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6810         when the LFUN_MOUSE_RELEASE should have been handled by
6811         inset->localDispatch.
6812
6813 2003-03-07  Angus Leeming  <leeming@lyx.org>
6814
6815         * BufferView_pimpl.C (dispatch):
6816         * LyXAction.C (init):
6817         * ToolbarDefaults.C (init):
6818         * commandtags.h:
6819         * lyxfunc.C (getStatus):
6820         remove LFUN_INSET_GRAPHICS.
6821
6822         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6823
6824 2003-03-07  Angus Leeming  <leeming@lyx.org>
6825
6826         * commandtags.h:
6827         * LyXAction.C (init):
6828         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6829
6830         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6831
6832         * commandtags.h:
6833         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6834
6835         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6836         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6837
6838 2003-03-07  Angus Leeming  <leeming@lyx.org>
6839
6840         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6841         remove "ert".
6842
6843 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6844
6845         * ParagraphList.C (front): new function
6846         (back): implement
6847
6848 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6849
6850         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6851         and top_row_offset_. removed var first_y.
6852         * text.C (top_y):
6853         * text2.C (LyXText, removeRow):
6854         * text3.C:
6855         * BufferView_pimpl.C:
6856         use these methods instead of using first_y
6857
6858 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6859
6860         * text2.C (pasteSelection): adjust for checkPastePossible
6861
6862         * CutAndPaste.C: remove Paragraph * buf and replace with
6863         ParagraphList paragraphs.
6864         (DeleteBuffer): delete
6865         (cutSelection): change the tc type to textclass_type
6866         (copySelection): change the tc type to textclass_type
6867         (copySelection): adjust for ParagraphList
6868         (pasteSelection): change the tc type to textclass_type
6869         (pasteSelection): adjust for Paragraphlist
6870         (nrOfParagraphs): simplify for ParagraphList
6871         (checkPastePossible): simplify for ParagraphList
6872         (checkPastePossible): remove unused arg
6873
6874         * ParagraphList.C (insert): handle the case where there are no
6875         paragraphs yet.
6876
6877         * CutAndPaste.h: make CutAndPaste a namespace.
6878
6879         * text3.C (dispatch): adjust
6880
6881         * text.C (breakParagraph): add a ParagraphList as arg
6882
6883         * paragraph_funcs.C (breakParagraph): change to take a
6884         BufferParams and a ParagraphList as args.
6885         (breakParagraphConservative): ditto
6886         (mergeParagraph): ditto
6887         (TeXDeeper): add a ParagraphList arg
6888         (TeXEnvironment): ditto
6889         (TeXOnePar): ditto
6890
6891         * buffer.C (readLyXformat2): adjust
6892         (insertStringAsLines): adjust
6893         (latexParagraphs): adjust
6894
6895         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6896         (cutSelection): adjust
6897         (pasteSelection): adjust
6898
6899         * BufferView_pimpl.C (insertInset): adjust
6900
6901 2003-03-05  Angus Leeming  <leeming@lyx.org>
6902
6903         * commandtags.h:
6904         * LyXAction.C (init):
6905         * BufferView_pimpl.C (dispatch):
6906         * lyxfunc.C (getStatus):
6907         remove LFUN_CHILD_INSERT.
6908
6909         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6910
6911 2003-03-05  Angus Leeming  <leeming@lyx.org>
6912
6913         * commandtags.h:
6914         * LyXAction.C (init):
6915         * src/factory.C (createInset):
6916         * lyxfunc.C (getStatus):
6917         * text3.C (dispatch):
6918         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6919
6920         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6921
6922 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6923
6924         * ParagraphList.C (insert): handle insert right before end()
6925         (erase): fix cases where it can be first or last paragraph.
6926
6927 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6928
6929         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6930         Paragraph::next and Paragraph::previous
6931         (TeXOnePar): ditto
6932
6933         * text.C (breakParagraph): adjust
6934
6935         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6936         BufferParams& as arg.
6937         (breakParagraph): use ParagraphList::insert
6938         (breakParagraphConservative): take a Buffer* instead of a
6939         BufferParams& as arg.
6940         (breakParagraphConservative): use ParagraphList::insert.
6941
6942         * buffer.C (insertStringAsLines): un-const it
6943         (insertStringAsLines): adjust
6944
6945         * ParagraphList.C (insert): new function
6946
6947         * CutAndPaste.C (pasteSelection): adjust
6948
6949         * text.C (backspace): adjust
6950
6951         * tabular.C (SetMultiColumn): adjust
6952
6953         * CutAndPaste.C (cutSelection): adjust
6954         (pasteSelection): adjust
6955
6956         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6957         Buffer const * as arg
6958
6959         * ParagraphList.C (erase): new function
6960         * paragraph_funcs.C (mergeParagraph): use it
6961         (mergeParagraph): make it take a Buffer* instead of a
6962         BufferParams* as arg
6963
6964         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6965         as arg
6966         (breakParagraphConservative): ditto
6967
6968         * paragraph.h: remove the breakParagraph friend
6969
6970         * paragraph.C (eraseIntern): new function
6971         (setChange): new function
6972
6973         * paragraph_funcs.C (mergeParagraph): make it take a
6974         ParagraphList::iterator instead of a Paragraph *, adjust
6975         accordingly.
6976
6977         * paragraph.h: move an #endif so that the change tracking stuff
6978         also works in the NO_NEXT case.
6979
6980 2003-03-04  Angus Leeming  <leeming@lyx.org>
6981
6982         * commandtags.h:
6983         * LyXAction.C: new LFUN_INSET_MODIFY.
6984
6985         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6986         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6987
6988 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6989
6990         * several files: ws changes only
6991
6992         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6993         (TeXEnvironment): ditto
6994         (TeXDeeper): ditto
6995
6996         * buffer.C (makeLaTeXFile): adjust
6997         (latexParagraphs): make it take ParagraphList::iterator as args
6998
6999 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7000
7001         * buffer.C (latexParagraphs): adjust
7002
7003         * paragraph.C (TeXOnePar): move function...
7004         (optArgInset): move function...
7005         (TeXEnvironment): move function...
7006         * paragraph_pimpl.C (TeXDeeper): move function...
7007         * paragraph_funcs.C: ...here
7008
7009         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7010
7011 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7012
7013         * buffer.C (readInset): remove compability code for old Figure and
7014         InsetInfo insets
7015
7016 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7017
7018         * buffer.C: ws changes
7019         (readInset):
7020
7021         * BufferView_pimpl.C: ditto
7022         * author.C: ditto
7023         * buffer.h: ditto
7024         * bufferlist.h: ditto
7025         * changes.h: ditto
7026         * lyxfunc.C: ditto
7027
7028 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7029
7030         * converter.[Ch]: split into itself +
7031         * graph.[Ch]
7032         * format.[Ch]
7033         * Makefile.am: += graph.[Ch] + format.[Ch]
7034         * MenuBackend.C
7035         * buffer.C
7036         * exporter.C
7037         * importer.C
7038         * lyx_main.C
7039         * lyxfunc.C
7040         * lyxrc.C: added #include "format.h"
7041
7042 2003-02-27  Angus Leeming  <leeming@lyx.org>
7043
7044         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7045           a label.
7046
7047         * factory.C (createInset): add "label" to the factory.
7048
7049         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7050           string and do no more.
7051
7052 2003-02-27  Angus Leeming  <leeming@lyx.org>
7053
7054         * commandtags.h:
7055         * LyXAction.C (init):
7056         * factory.C (createInset):
7057         * BufferView_pimpl.C (dispatch):
7058           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7059
7060         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7061
7062         * lyxfunc.C (dispatch):
7063         * text3.C (dispatch): pass name to params2string.
7064
7065 2003-02-26  Angus Leeming  <leeming@lyx.org>
7066
7067         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7068           blocks together.
7069           Rearrange the ~includes. Strip out the unnecessary ones.
7070
7071         * factory.C (createInset): reformat.
7072           create new insets for the various LFUN_XYZ_APPLY lfuns.
7073
7074 2003-02-26  John Levon  <levon@movementarian.org>
7075
7076         * lyxrow.h:
7077         * lyxrow.C: add isParStart,isParEnd helpers
7078
7079         * paragraph.h: make isInserted/DeletedText take refs
7080
7081         * paragraph_funcs.h:
7082         * paragraph_funcs.C: remove #if 0'd code
7083
7084         * lyxtext.h:
7085         * text3.C:
7086         * text2.C:
7087         * text.C: use lyxrow helpers above.
7088           Move draw and paint routines to RowPainter.
7089           Make several methods use refs not pointers.
7090           Make backgroundColor() const.
7091           Add markChangeInDraw(), isInInset().
7092           Merge changeRegionCase into changeCase.
7093           Make workWidth() shouldn't-happen code into an Assert.
7094
7095         * rowpainter.h:
7096         * rowpainter.C: new class for painting a row.
7097
7098         * vspace.h:
7099         * vspace.C: make inPixels take a ref
7100
7101 2003-02-26  Angus Leeming  <leeming@lyx.org>
7102
7103         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7104         LFUN_REF_APPLY.
7105
7106 2003-02-25  John Levon  <levon@movementarian.org>
7107
7108         * ispell.C: give the forked command a more accurate name
7109
7110 2003-02-22  John Levon  <levon@movementarian.org>
7111
7112         * toc.h:
7113         * toc.C: make TocItem store an id not a Paragraph *
7114           (bug #913)
7115
7116 2003-02-21  Angus Leeming  <leeming@lyx.org>
7117
7118         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7119           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7120           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7121           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7122           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7123           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7124
7125         * BufferView_pimpl.C (dispatch):
7126         * LyXAction.C (init):
7127         * factory.C (createInset):
7128         * lyxfunc.C (getStatus, dispatch):
7129         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7130
7131 2003-02-21  Angus Leeming  <leeming@lyx.org>
7132
7133         * BufferView_pimpl.C (MenuInsertLyXFile):
7134         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7135         * lyxfunc.C (menuNew, open, doImport):
7136           no longer pass a LyXView & to fileDlg.
7137
7138 2003-02-21  Angus Leeming  <leeming@lyx.org>
7139
7140         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7141         * LyXAction.C: change, BIBKEY to BIBITEM.
7142         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7143         Change InsetBibKey to InsetBibitem.
7144         Change BIBKEY_CODE to BIBITEM_CODE.
7145         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7146         * factory.C: replace insetbib.h with insetbibitem.h.
7147         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7148         * paragraph.C: replace insetbib.h with insetbibitem.h.
7149         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7150         Change bibkey() to bibitem().
7151         * text.C: remove insetbib.h.
7152         * text2.C: replace insetbib.h with insetbibitem.h.
7153         change bibkey() to bibitem().
7154         * text3.C: remove insetbib.h.
7155         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7156
7157 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7158
7159         * lyxrc.C (output): enclose user email in quotes (in case there are
7160         several words)
7161
7162 2003-02-18  John Levon  <levon@movementarian.org>
7163
7164         * buffer.h: add std::
7165
7166 2003-02-17  John Levon  <levon@movementarian.org>
7167
7168         * SpellBase.h:
7169         * ispell.h:
7170         * ispell.C:
7171         * pspell.h:
7172         * pspell.C: reworking. Especially in ispell, a large
7173           number of clean ups and bug fixes.
7174
7175         * lyxfunc.C: fix revert to behave sensibly
7176
7177 2003-02-17 André Pönitz <poenitz@gmx.net>
7178
7179         * LyXAction.C:
7180         * commandtags.h: new LFUN_INSERT_BIBKEY
7181
7182         * layout.h:
7183         * lyxlayout.C:
7184         * buffer.C:
7185         * factory.C:
7186         * text.C:
7187         * text2.C:
7188         * text3.C:
7189         * paragraph.[Ch]:
7190         * paragraph_func.C: remove special bibkey handling
7191
7192 2003-02-17  John Levon  <levon@movementarian.org>
7193
7194         * text.C (Delete): fix case where delete at the end of
7195           the very first paragraph would not merge the pars
7196
7197 2003-02-17  John Levon  <levon@movementarian.org>
7198
7199         * lyxrow.C: fix lastPrintablePos()
7200
7201 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7202
7203         * bufferparams.C (writeLaTeX): add a std:here
7204
7205         * buffer.C: and remove a using directive there
7206
7207 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7208
7209         * buffer.C (makeLaTeXFile): move the code that generates the
7210           preamble...
7211
7212         * bufferparams.C (writeLaTeX): ... in this new method
7213
7214         * LaTeXFeatures.C (getEncodingSet): make const
7215           (getLanguages): make const
7216
7217         * MenuBackend.C (binding): returns the binding associated to this
7218           action
7219           (add): sets the status of each item by calling getStatus. Adds
7220           some intelligence.
7221           (read): add support for OptSubMenu
7222           (expand): remove extra separator at the end of expanded menu
7223
7224 2003-02-15  John Levon  <levon@movementarian.org>
7225
7226         * BufferView.C:
7227         * BufferView_pimpl.C:
7228         * bufferlist.h:
7229         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7230           inset code that had no actual effect. Remove unneeded status
7231           code.
7232
7233 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7234
7235         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7236           in preamble
7237
7238 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7239
7240         * text.C (drawLengthMarker): also draw an arrow marker for
7241           symbolic lengths (medskip...)
7242
7243 2003-02-14  John Levon  <levon@movementarian.org>
7244
7245         * tabular.h:
7246         * tabular.C: better method names
7247
7248 2003-02-14  John Levon  <levon@movementarian.org>
7249
7250         * BufferView_pimpl.C:
7251         * bufferlist.C:
7252         * buffer.C:
7253         * converter.C:
7254         * lyx_cb.C:
7255         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7256           it's a more accurate name. Remove some pointless uses.
7257
7258 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7259
7260         * text2.C (LyXText): change order of initilizers to shut off
7261           warnings
7262
7263 2003-02-14  John Levon  <levon@movementarian.org>
7264
7265         * buffer.C: use ParIterator for getParFromID()
7266
7267         * paragraph.h:
7268         * paragraph.C:
7269         * paragraph_pimpl.h:
7270         * paragraph_pimpl.C: remove unused getParFromID()
7271
7272 2003-02-14  John Levon  <levon@movementarian.org>
7273
7274         * buffer.C: remove some very old #if 0'd parse code
7275
7276 2003-02-13  John Levon  <levon@movementarian.org>
7277
7278         * text.h:
7279         * text.C:
7280         * text2.C: move hfillExpansion(), numberOfSeparators(),
7281           rowLast(), rowLastPrintable(), numberofHfills(),
7282           numberOfLabelHfills() ...
7283
7284         * lyxrow.h:
7285         * lyxrow.C: ... to member functions here.
7286
7287         * paragraph.h:
7288         * paragraph.C:
7289         * lyxtext.h:
7290         * text.C: remove LyXText::beginningOfMainBody(), and call
7291           p->beginningOfMainBody() directly. Move the check for
7292           LABEL_MANUAL into the latter.
7293
7294         * text.h:
7295         * text.C:
7296         * text2.C:
7297         * vspace.C:
7298         * BufferView.h:
7299         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7300
7301         * text.h:
7302         * text.C:
7303         * text2.C:
7304         * text3.C:
7305         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7306           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7307
7308 2003-02-13  John Levon  <levon@movementarian.org>
7309
7310         * CutAndPaste.C: remove debug
7311
7312 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7313
7314         * paragraph.C (asString): remove two unused variables
7315
7316         * lyxtextclass.C (readTitleType):
7317           (Read):
7318           (LyXTextClass): handle new members titletype_ and titlename_
7319
7320         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7321
7322 2003-02-09  John Levon  <levon@movementarian.org>
7323
7324         * buffer.h:
7325         * buffer.C: replace hand-coded list with a map for the dep clean
7326
7327 2003-02-08  John Levon  <levon@movementarian.org>
7328
7329         * LaTeX.C: consolidate code into showRunMessage() helper
7330
7331 2003-02-08  John Levon  <levon@movementarian.org>
7332
7333         * lyxfind.C:
7334         * lyxtext.h:
7335         * text2.C:
7336         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7337           and pass the size in explicitly
7338
7339         * BufferView_pimpl.h:
7340         * BufferView_pimpl.C:
7341         * BufferView.h:
7342         * BufferView.C: add getCurrentChange()
7343
7344         * BufferView_pimpl.h:
7345         * BufferView_pimpl.C: handle change lfuns
7346
7347         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7348           for changes. Mark pasted paragraphs as new.
7349
7350         * support/lyxtime.h:
7351         * support/lyxtime.C:
7352         * DepTable.C: abstract time_t as lyx::time_type
7353
7354         * LColor.h:
7355         * LColor.C: add colours for new text, deleted text, changebars
7356
7357         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7358           package use "usenames" option.
7359
7360         * commandtags.h:
7361         * lyxfunc.C:
7362         * LyXAction.C: add change lfuns
7363
7364         * Makefile.am:
7365         * author.h:
7366         * author.C: author handling
7367
7368         * buffer.h:
7369         * buffer.C: add a per-buffer author list, with first entry as
7370           current author. Handle new .lyx tokens for change tracking. Output
7371           author list to .lyx file. Output dvipost stuff to .tex preamble.
7372           Bump lyx format to 222.
7373
7374         * bufferlist.h:
7375         * bufferlist.C: add setCurrentAuthor() to reset current author details
7376           in all buffers.
7377
7378         * bufferparams.h:
7379         * bufferparams.C: add param for tracking
7380
7381         * bufferview_funcs.C: output change info in minibuffer
7382
7383         * Makefile.am:
7384         * changes.h:
7385         * changes.C: add change-tracking structure
7386
7387         * debug.h:
7388         * debug.C: add CHANGES debug flag
7389
7390         * lyxfind.h:
7391         * lyxfind.C: add code for finding the next change piece
7392
7393         * lyxrc.h:
7394         * lyxrc.C: add user_name and user_email
7395
7396         * lyxrow.h:
7397         * lyxrow.C: add a metric for the top of the text line
7398
7399         * lyxtext.h:
7400         * text.C: implement accept/rejectChange()
7401
7402         * lyxtext.h:
7403         * text.C: paint changebars. Paint new/deleted text in the chosen
7404         colours. Strike through deleted text.
7405
7406         * paragraph.h:
7407         * paragraph.C:
7408         * paragraph_pimpl.h:
7409         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7410           in the current change to the insert functions. Rework erase to
7411           mark text as deleted, adding an eraseIntern() and a range-based
7412           erase(). Implement per-paragraph change lookup and
7413           accept/reject.
7414
7415         * paragraph_funcs.C: Fixup paste for change tracking.
7416
7417         * tabular.C: mark added row/columns as new.
7418
7419         * text.C: fix rowLast() to never return -1. Don't allow
7420           spellchecking of deleted text. Track transpose changes. Don't
7421           allow paragraph break or merge where appropriate.
7422
7423         * text2.C: leave cursor at end of selection after a cut.
7424
7425 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7426
7427         * text.C (getLengthMarkerHeight):
7428         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7429         visible on screen too.
7430
7431 2003-02-07  John Levon  <levon@movementarian.org>
7432
7433         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7434
7435 2003-02-05  Angus Leeming  <leeming@lyx.org>
7436
7437         * lyxserver.C (read_ready): revert my patch of 11 September last year
7438         as it sends PC cpu through the roof. Presumably this means that
7439         the lyxserver will no longer run on an Alpha...
7440
7441 2003-01-30  Angus Leeming  <leeming@lyx.org>
7442
7443         * factory.C (createInset): create an InsetCommandParam of type "index"
7444         and use it to 'do the right thing'.
7445
7446         * text2.C (getStringToIndex): ensure that cursor position is always
7447         reset to the reset_cursor position.
7448
7449 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7450
7451         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7452         disabled.
7453
7454 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7455
7456         * bufferview.C:
7457         * lyxcb.C:
7458         * lyxfunc.C: Output messages with identical spelling, punctuation,
7459         and spaces
7460
7461 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7462
7463         * MenuBackend.C (expandFormats): List only viewable export formats
7464         in "View" menu
7465
7466         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7467         message
7468
7469         * lyxfunc.C (getStatus): Make sure that formats other than
7470         "fax" can also be disabled
7471
7472 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7473
7474         * text3.C (dispatch): put the lfuns that insert insets in 3
7475         groups, and call doInsertInset with appropriate arguments.
7476         (doInsertInset): new function, that creates an inset and inserts
7477         it according to some boolean parameters.
7478
7479 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7480
7481         * buffer.C (readFile): remember to pass on 'par' when calling
7482         readFile recursively.
7483
7484 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7485
7486         * MenuBackend.C (expandFormats): add "..." to import formats.
7487
7488 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7489
7490         * paragraph.C (asString): Remove XForms RTL hacks.
7491
7492 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7493         * buffer.C: fix typo
7494
7495 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7496
7497         * Makefile.am (LIBS): delete var
7498         (lyx_LDADD): add @LIBS@ here instead.
7499
7500 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7501
7502         * Clarify the meaning of "wheel mouse jump"
7503
7504 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7505
7506         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7507         tabular in a float
7508
7509 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7510
7511         * importer.C (Loaders): do not preallocate 3 elements in the
7512         vector, since one ends up with 6 elements otherwise
7513
7514 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7515
7516         * DepTable.C (write): write the file name as last element of the
7517         .dep file (because it may contain spaces)
7518         (read): read info in the right order
7519
7520 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7521
7522         * paragraph_pimpl.C (simpleTeXBlanks):
7523         (simpleTeXSpecialChars):
7524         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7525
7526         * tabular.C (latex): add some missing case statements. Reindent.
7527
7528         * MenuBackend.C (expandToc): remove unused variable.
7529
7530 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7531
7532         * LColor.C:
7533         * LaTeX.C:
7534         * LyXAction.C:
7535         * MenuBackend.C:
7536         * buffer.C:
7537         * exporter.C:
7538         * lyxfunc.C:
7539         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7540         and the like.
7541
7542 2003-01-05  John Levon  <levon@movementarian.org>
7543
7544         * BufferView.h:
7545         * BufferView.C: add getEncoding()
7546
7547         * kbsequence.h:
7548         * kbsequence.C: do not store last keypress
7549
7550         * lyxfunc.h:
7551         * lyxfunc.C: store last keypress here instead. Pass encoding
7552           to getISOEncoded()
7553
7554 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7555
7556         * lyx_main.C (init): remove annoying error message when following
7557         symbolic links (bug #780)
7558
7559 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7560
7561         * text.C (insertChar):
7562         * lyxrc.C (getDescription): remove extra spaces
7563
7564 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7565
7566         * lyxrc.C (getDescription): remove extra spaces
7567
7568 2002-12-20  John Levon  <levon@movementarian.org>
7569
7570         * text3.C: hack fix for page up/down across tall rows
7571
7572 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7573
7574         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7575         not been invoked
7576
7577 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7578
7579         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7580         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7581         thesaurus is not compiled in
7582
7583 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7584
7585         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7586
7587 2002-12-16  Angus Leeming  <leeming@lyx.org>
7588
7589         * lyxrc.[Ch]:
7590         * lyx_main.C (init): remove override_x_deadkeys stuff.
7591
7592 2002-12-12  John Levon  <levon@movementarian.org>
7593
7594         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7595           insert. Only remove shift modifier under strict
7596           circumstances.
7597
7598 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7599
7600         * MenuBackend.C (expandToc): fix crash.
7601
7602 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7603
7604         * MenuBackend.C (expandToc): gettext on float names.
7605
7606 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7607
7608         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7609         implement bool empty() [bug 490]
7610
7611 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7612
7613         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7614
7615 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7616
7617         * several files: ws changes
7618
7619 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7620
7621         * text2.C (setCounter): clean up a bit, use boost.format.
7622         (updateCounters): initialize par upon declaration.
7623
7624         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7625         if the layout exists. We do not just store the layout any more.
7626         (SwitchLayoutsBetweenClasses): use boost.format
7627
7628 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7629
7630         * converter.C (convert): if from and to files are the same, use a
7631         temporary files as intermediary
7632
7633 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7634
7635         * commandtags.h:
7636         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7637
7638 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7639
7640         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7641
7642 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7643
7644         * tabular.C (asciiPrintCell): use string(size, char) instead of
7645         explicit loop.
7646
7647         * sgml.C (openTag): fix order of arguments to string constructor
7648         (closeTag): ditto
7649
7650         * lyxfunc.C (dispatch): use boost.format
7651
7652         * lots of files: change "c" -> 'c'
7653
7654 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7655
7656         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7657
7658 2002-11-25  Angus Leeming  <leeming@lyx.org>
7659
7660         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7661
7662         * lyx_main.C (init): compile fix.
7663
7664 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7665
7666         * lyx_cb.C (start): boost.formatify
7667         do not include <iostream>
7668
7669         * lengthcommon.C: ws only
7670
7671         * boost-inst.C,BoostFormat.h: add more explict instantations
7672
7673 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7674
7675         * lots of files: handle USE_BOOST_FORMAT
7676
7677 2002-11-21  John Levon  <levon@movementarian.org>
7678
7679         * pspell.C: fix compile
7680
7681 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7682
7683         * lyxfunc.C (dispatch): use boost::format
7684         (open): ditto
7685         (doImport): ditto
7686
7687         * lyxfont.C (stateText): use boost::format
7688
7689         * lyx_main.C (LyX): use boost::format
7690         (init): ditto
7691         (queryUserLyXDir): ditto
7692         (readRcFile): ditto
7693         (parse_dbg): ditto
7694         (typedef boost::function): use the recommened syntax.
7695
7696         * importer.C (Import): use boost::format
7697
7698         * debug.C (showLevel): use boost::format
7699
7700         * converter.C (view): use boost::format
7701         (convert): ditto
7702         (move): ditto
7703         (scanLog): ditto
7704
7705         * bufferview_funcs.C (currentState): use boost::format
7706
7707         * bufferlist.C (emergencyWrite): use boost::format
7708
7709         * buffer.C (readLyXformat2): use boost::format
7710         (parseSingleLyXformat2Token): ditto
7711
7712         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7713
7714         * LaTeX.C (run): use boost::format
7715
7716         * Chktex.C (scanLogFile): use boost::format
7717
7718         * BufferView_pimpl.C (savePosition): use boost::format
7719         (restorePosition): ditto
7720         (MenuInsertLyXFile): ditto
7721
7722         * BoostFormat.h: help file for explicit instation.
7723
7724 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7725
7726         * tabular.C (latex): Support for block alignment in fixed width
7727         columns.
7728
7729 2002-11-17  John Levon  <levon@movementarian.org>
7730
7731         * BufferView_pimpl.C:
7732         * lyx_cb.C:
7733         * lyxfunc.C: split filedialog into open/save
7734
7735 2002-11-08  Juergen Vigna  <jug@sad.it>
7736
7737         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7738         by my last patch (hopefully).
7739
7740 2002-11-08  John Levon  <levon@movementarian.org>
7741
7742         * iterators.h:
7743         * iterators.C:
7744         * buffer.h:
7745         * buffer.C:
7746         * paragraph.h:
7747         * paragraph.C:
7748         * toc.h:
7749         * toc.C: ParConstIterator, and use it (from Lars)
7750
7751 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7752
7753         * lyxtextclass.[Ch]: revise and add doxygen comments
7754
7755 2002-11-07  John Levon  <levon@movementarian.org>
7756
7757         * text.C: fix progress value for spellchecker
7758
7759         * toc.C: fix navigate menu for insetwrap inside minipage
7760
7761         * paragraph_funcs.C: added FIXME for suspect code
7762
7763 2002-11-07  John Levon  <levon@movementarian.org>
7764
7765         * BufferView_pimpl.C: fix redrawing of insets
7766           on buffer switch
7767
7768 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7769
7770         * text2.C (updateCounters): fix bug 668
7771
7772 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7773
7774         * text3.C (dispatch): Do not make the buffer dirty when moving the
7775         cursor.
7776
7777 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7778
7779         * vc-backend.C: STRCONV
7780         (scanMaster): ditto
7781
7782         * text2.C (setCounter): STRCONV
7783
7784         * paragraph.C (asString): STRCONV
7785
7786         * lyxlength.C (asString): STRCONV
7787         (asLatexString): ditto
7788
7789         * lyxgluelength.C (asString): STRCONV
7790         (asLatexString): ditto
7791
7792         * lyxfunc.C (dispatch): STRCONV
7793         (open): ditto
7794
7795         * lyxfont.C (stateText): STRCONV
7796
7797         * importer.C (Import): STRCONV
7798
7799         * counters.C (labelItem): STRCONV
7800         (numberLabel): ditto
7801         (numberLabel): remove unused ostringstream o
7802
7803         * chset.C: STRCONV
7804         (loadFile): ditto
7805
7806         * bufferview_funcs.C (currentState): STRCONV
7807
7808         * buffer.C (readFile): STRCONV
7809         (asciiParagraph): ditto
7810         (makeLaTeXFile): ditto
7811
7812         * Spacing.C (writeEnvirBegin): STRCONV
7813
7814         * LaTeXFeatures.C (getLanguages): STRCONV
7815         (getPackages): ditto
7816         (getMacros): ditto
7817         (getBabelOptions): ditto
7818         (getTClassPreamble): ditto
7819         (getLyXSGMLEntities): ditto
7820         (getIncludedFiles): ditto
7821
7822         * LaTeX.C: STRCONV
7823         (run): ditto
7824         (scanAuxFile): ditto
7825         (deplog): ditto
7826
7827         * LString.h: add the STRCONV macros
7828
7829         * BufferView_pimpl.C (savePosition): STRCONV
7830         (restorePosition): ditto
7831         (MenuInsertLyXFile): ditto
7832
7833         * vc-backend.C (scanMaster): change from submatch[...] to
7834         submatch.str(...)
7835
7836         * funcrequest.C: include config.h
7837
7838         * factory.C: include config.h
7839
7840         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7841
7842         * box.C: include config.h
7843
7844         * LaTeX.C (scanAuxFile): change from submatch[...] to
7845         submatch.str(...)
7846         (deplog): ditto
7847
7848 2002-10-25  Angus Leeming  <leeming@lyx.org>
7849
7850         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7851
7852         * ispell.[Ch] (setError): new method.
7853         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7854         Use setError() insetead of goto END.
7855
7856         * lyx_cb.C (AutoSave): move out child process into new class
7857         AutoSaveBuffer.
7858
7859 2002-10-30  John Levon  <levon@movementarian.org>
7860
7861         * text3.C: make start appendix undoable
7862
7863 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7864
7865         * lyxlength.C (inPixels): Fix returned value.
7866
7867         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7868         environment.
7869
7870 2002-10-24  Angus Leeming  <leeming@lyx.org>
7871
7872         * lyxgluelength.h: no need to forward declare BufferParams
7873         or BufferView, so don't.
7874
7875 2002-10-21  John Levon  <levon@movementarian.org>
7876
7877         * BufferView.C: menuUndo ->undo, redo
7878
7879         * BufferView.h: document, remove dead, make some methods private
7880
7881         * paragraph_funcs.h:
7882         * paragraph_funcs.C:
7883         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7884
7885         * buffer.h:
7886         * buffer.C:
7887         * sgml.h:
7888         * sgml.C: move sgml open/close tag into sgml.C
7889
7890         * bufferview_funcs.h: unused prototype
7891
7892         * lyxfunc.h:
7893         * lyxfunc.C: remove unused
7894
7895         * lyxtext.h:
7896         * text.C: remove unused
7897
7898 2002-10-21  John Levon  <levon@movementarian.org>
7899
7900         * BufferView.h:
7901         * BufferView.C:
7902         * BufferView_pimpl.h:
7903         * BufferView_pimpl.C: fix mouse wheel handling based on
7904           patch from Darren Freeman
7905
7906 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7907
7908         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7909
7910 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7911
7912         * lyxlength.C (inPixels): Fix hanfling of negative length.
7913         Fix LyXLength::MU case.
7914
7915 2002-10-16  John Levon  <levon@movementarian.org>
7916
7917         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7918
7919 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7920
7921         * converter.C (view): add support for $$i (file name) and $$p
7922         (file path) for the viewer command. If $$i is not specified, then
7923         it is appended to the command (for compatibility with old syntax)
7924
7925 2002-10-14  Juergen Vigna  <jug@sad.it>
7926
7927         * undo_funcs.C (textHandleUndo): alter the order in which the
7928         new undopar is added to the LyXText, as we have to set first
7929         the right prev/next and then add it as otherwise the rebuild of
7930         LyXText is not correct. Also reset the cursor to the right paragraph,
7931         with this IMO we could remove the hack in "redoParagraphs()".
7932
7933 2002-10-09  Angus Leeming  <leeming@lyx.org>
7934
7935         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7936         to turn off an optimisation if a new inset is to be inserted.
7937
7938 2002-10-11 André Pönitz <poenitz@gmx.net>
7939
7940         * lyxtext.h: make some functions public to allow access
7941         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7942
7943 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7944
7945         * text3.C (dispatch): when changing layout, avoid an infinite loop
7946         [bug #652]
7947
7948 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7949
7950         * lyxrc.C (read): treat a viewer or converter command of "none" as
7951         if it were empty.
7952
7953         * MenuBackend.C (expandFormats): for an update, also allow the
7954         formats that are not viewable
7955
7956         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7957         script if it is newer than the lyxrc.defaults in user directory
7958
7959 2002-10-07 André Pönitz <poenitz@gmx.net>
7960
7961         * text.C: Vitaly Lipatov's small i18n fix
7962
7963 2002-09-25  Angus Leeming  <leeming@lyx.org>
7964
7965         * ispell.h: doxygen fix.
7966
7967 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7968
7969         * buffer.h (readFile): Add a new argument to the method, to allow
7970         reading of old-format templates.
7971
7972 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7973
7974         * toc.C (getTocList): Get TOC from InsetWrap.
7975
7976 2002-09-16  John Levon  <levon@movementarian.org>
7977
7978         * lyxfunc.C: check tabular for cut/copy too
7979
7980 2002-09-12  John Levon  <levon@movementarian.org>
7981
7982         * LyXAction.C: tidy
7983
7984         * factory.h:
7985         * factory.C: add header
7986
7987         * paragraph_funcs.h:
7988         * paragraph_funcs.C: cleanup
7989
7990 2002-09-11  John Levon  <levon@movementarian.org>
7991
7992         * PrinterParams.h: odd/even default to true
7993
7994 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7995
7996         * PrinterParams.h: update printer parameters for new xforms dialog
7997
7998 2002-09-11  Angus Leeming  <leeming@lyx.org>
7999
8000         * lyxserver.C (read_ready): re-write to make it more transparent
8001         and to make it work in coherent fashion under Tru64 Unix.
8002
8003 2002-09-11  André Pönitz <poenitz@gmx.net>
8004
8005         * commandtags.h:
8006         * LyXAction.C:
8007         * text3.C: implement LFUN_WORDSEL
8008
8009 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8010
8011         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8012         make floatlist_ a boost::shared_ptr<FloatList>
8013
8014         * lyxtextclass.C: include FloatList.h
8015         (LyXTextClass): initialize floatlist_
8016         (TextClassTags): add TC_NOFLOAT
8017         (Read): match "nofloat" to TC_NOFLOAT and use it.
8018         (readFloat): modify call to floatlist_
8019         (floats): ditto
8020         (floats): ditto
8021
8022         * FloatList.[Ch] (FloatList): remove commented out float
8023         initialization.
8024         (erase): new function
8025
8026 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8027
8028         * MenuBackend.C (expandToc): fix crash when there is no document
8029         open
8030
8031 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8032
8033         * many files: Add insetwrap.
8034
8035 2002-09-09  John Levon  <levon@movementarian.org>
8036
8037         * text2.C: remove confusing and awkward depth wraparound
8038
8039 2002-09-09  John Levon  <levon@movementarian.org>
8040
8041         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8042
8043         * buffer.h:
8044         * buffer.C: remove getIncludeonlyList()
8045
8046         * paragraph.C:
8047         * lyxfunc.C: remove headers
8048
8049 2002-09-09  Juergen Vigna  <jug@sad.it>
8050
8051         * text.C (getColumnNearX): fix form Michael this is most
8052         probably a cut&paste bug.
8053
8054 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8055
8056         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8057
8058         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8059         references, ws changes.
8060
8061         * text2.C (init): update counters after init
8062         (insertParagraph): no need to set counter on idividual paragraphs.
8063         (setCounter): access the counters object in the textclass object
8064         on in the buffer object.
8065         (updateCounters): ditto
8066
8067         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8068         shared_ptr<Counters> to avoid loading counters.h in all
8069         compilation units.
8070         (LyXTextClass): initialize ctrs_
8071         (TextClassTags): add TC_COUNTER, and ...
8072         (Read): use it here.
8073         (CounterTags): new tags
8074         (readCounter): new function
8075         (counters): new funtion
8076         (defaultLayoutName): return a const reference
8077
8078         * counters.C (Counters): remove contructor
8079         (newCounter): remove a couple of unneeded statements.
8080         (newCounter): simplify a bit.
8081         (numberLabel): some small formatting changes.
8082
8083         * buffer.[Ch]: remove all traces of counters, move the Counters
8084         object to the LyXTextClass.
8085
8086 2002-09-06  Alain Castera  <castera@in2p3.fr>
8087
8088         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8089         package to set the horizontal alignment on fixed width columns.
8090
8091         * lyx_sty.C:
8092         * lyx_sty.h: added tabularnewline macro def.
8093
8094         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8095
8096 2002-09-06  John Levon  <levon@movementarian.org>
8097
8098         * LyXAction.C: tooltips for sub/superscript
8099
8100         * MenuBackend.C: a bit more verbose
8101
8102         * lyxfunc.C: tiny clean
8103
8104         * undo_funcs.C: document undo_frozen
8105
8106 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8107
8108         * counters.C (Counters): add missing algorithm counter.
8109
8110         * text2.C (setCounter): lookup the counter with layouts latexname
8111         instead of by section number.
8112         (setCounter): use a hackish way to lookup the correct enum
8113         counter.
8114         a float name->type change
8115         reset enum couners with counter name directly instead of depth value.
8116
8117         * counters.C (Counters): remove the push_backs, change to use the
8118         float type not the float name.
8119         (labelItem): remove unused string, float name->type change
8120
8121         * counters.h: don't include vector, loose the enums and sects vectors
8122
8123 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8124
8125         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8126         (Read): add float->TC_FLOAT to textclassTags
8127         (Read): and handle it in the switch
8128         (readFloat): new function
8129
8130         * FloatList.C (FloatList): comment out the hardcoded float
8131         definitions.
8132
8133         * lyxlayout.h: ws change.
8134
8135 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8136
8137         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8138
8139 2002-09-03  Angus Leeming  <leeming@lyx.org>
8140
8141         * BufferView_pimpl.h: qualified name is not allowed in member
8142         declaration: WorkArea & Pimpl::workarea() const;
8143
8144         * factory.C: added using std::endl directive.
8145
8146         * text3.C: added using std::find and std::vector directives.
8147
8148 2002-08-29  André Pönitz <poenitz@gmx.net>
8149
8150         * lyxtext.h:
8151         * text2.C: remove unused member number_of_rows
8152
8153         * Makefile.am:
8154         * BufferView2.C: remove file, move contents to...
8155         * BufferView.C: ... here
8156
8157         * BufferView_pimpl.C:
8158         * factory.C: move more inset creation to factory
8159
8160         * vspace.C: avoid direct usage of LyXText, ws changes
8161
8162         * BufferView.[Ch]:
8163                 don't provide direct access to WorkArea, use two simple
8164                 acessors haveSelction() and workHeight() instead
8165
8166
8167 2002-08-29  John Levon  <levon@movementarian.org>
8168
8169         * BufferView_pimpl.C (dispatch): do not continue when
8170           no buffer
8171
8172 2002-08-28  André Pönitz <poenitz@gmx.net>
8173
8174         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8175
8176         * BufferView.h:
8177         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8178
8179 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8180
8181         * buffer.C: increment LYX_FORMAT to 221
8182
8183         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8184         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8185
8186         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8187
8188         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8189
8190 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8191
8192         * factory.C (createInset): use LyXTextClass::floats
8193
8194         * MenuBackend.C (expandFloatListInsert):
8195         (expandFloatInsert):
8196         (expandToc):
8197
8198         * text2.C (setCounter):
8199
8200         * LaTeXFeatures.C (useFloat):
8201         (getFloatDefinitions):
8202
8203         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8204
8205         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8206         floatlist_, with accessor floats().
8207
8208         * FloatList.h: remove global FloatList
8209
8210 2002-08-26  André Pönitz <poenitz@gmx.net>
8211
8212         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8213
8214         * BufferView.h:
8215         * BufferView2.C:
8216         * BufferView_pimpl.C:
8217         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8218
8219 2002-08-25  John Levon  <levon@movementarian.org>
8220
8221         * LyXAction.C: fix margin note description
8222
8223 2002-08-24  John Levon  <levon@movementarian.org>
8224
8225         * buffer.C:
8226         * bufferlist.C:
8227         * bufferview_funcs.C:
8228         * lyxfont.C:
8229         * undo_funcs.C: cleanups
8230
8231         * lyxfunc.C: disable CUT/COPY when no selection
8232
8233 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8234
8235         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8236         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8237
8238         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8239         Add backward compatibility to "mono", "gray" and "no".
8240
8241 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8242
8243         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8244         (and file_format >= 200).
8245
8246 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8247
8248         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8249
8250 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8251
8252         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8253
8254 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8255
8256         * BufferView_pimpl.C:
8257         * LyXAction.C:
8258         * buffer.C:
8259         * commandtags.h:
8260         * lyxfunc.C:
8261         * paragraph.[Ch]:
8262         * text2.C:
8263         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8264         inset and code to make it  work with the paragraph code. The inset
8265         can be anywhere in the paragraph, but will only do the expected
8266         thing in LaTeX if the layout file contains the parameter line
8267                         OptionalArgs    1
8268         (or more generally, a nonzero value) for that layout.
8269
8270 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8271
8272         * paragraph.h: remove the declaration of undefined counters class
8273         function.
8274
8275 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8276
8277         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8278         Dr. Richard Hawkins.
8279
8280 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8281
8282         * paragraph_funcs.h: remove some unneeded includes
8283
8284         * text.C (backspace): pasteParagraph now in global scipe
8285
8286         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8287         (pasteSelection): ditto
8288
8289         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8290         * paragraph_funcs.C (pasteParagraph): ... here
8291
8292 2002-08-20  André Pönitz <poenitz@gmx.net>
8293
8294         * commandtags.h: new LFUNs for swapping/copying table row/colums
8295
8296         * LyXAction.C:
8297         * lyxfunc.C: support for new lfuns
8298
8299 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8300
8301         * tabular.C:
8302         * buffer.[Ch]: remove NO_COMPABILITY stuff
8303
8304 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8305
8306         * boost.C (throw_exception): new file, with helper function for
8307         boost compiled without exceptions.
8308
8309         * paragraph.h:
8310         * lyxlength.C:
8311         * buffer.C:
8312         * ParameterStruct.h:
8313         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8314
8315         * bufferlist.C (emergencyWriteAll): use boost bind
8316
8317         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8318
8319         * text.C: include paragraph_funcs.h
8320         (breakParagraph): breakParagraph is now in global scope
8321
8322         * paragraph_funcs.[Ch]: new files
8323
8324         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8325         global scope
8326
8327         * buffer.C: include paragraph_funcs.h
8328         (insertStringAsLines): breakParagraph is now in global scope
8329
8330         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8331         paragraph_funcs.C
8332
8333         * CutAndPaste.C: include paragraph_funcs.h
8334         (cutSelection): breakParagraphConservative is now in global scope
8335         (pasteSelection): ditto
8336
8337         * buffer.h: declare oprator== and operator!= for
8338         Buffer::inset_iterator
8339
8340         * bufferlist.C (emergencyWrite): don't use fmt(...)
8341
8342         * text3.C: add using std::endl
8343
8344         * BufferView.C (moveCursorUpdate): remove default arg
8345
8346 2002-08-20  André Pönitz <poenitz@gmx.net>
8347
8348         * buffer.[Ch]: move inline functions to .C
8349
8350         * BufferView2.C:
8351         * BufferView_pimpl.C:
8352         * text.C:
8353         * buffer.[Ch]: use improved inset_iterator
8354
8355         * buffer.C:
8356         * paragraph.[Ch]: write one paragraph at a time
8357
8358 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8359
8360         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8361         style if style is not specified.
8362
8363 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8364
8365         * text2.C (setCounter): when searching for right label for a
8366         caption, make sure to recurse to parent insets (so that a caption
8367         in a minipage in a figure float works) (bug #568)
8368
8369 2002-08-20  André Pönitz <poenitz@gmx.net>
8370
8371         * text3.C: new file for LyXText::dispatch() and helpers
8372
8373         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8374
8375         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8376
8377 2002-08-19  André Pönitz <poenitz@gmx.net>
8378
8379         * lyxtext.h:
8380         * text.C: new LyXText::dispatch()
8381
8382         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8383
8384 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8385
8386         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8387
8388         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8389         Hebrew text.
8390
8391 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8392
8393         * Makefile.am: use $(variables) instead of @substitutions@
8394
8395 2002-08-15  André Pönitz <poenitz@gmx.net>
8396
8397         * lyxfunc.C:
8398         * BufferView_pimpl.C: streamlining mathed <-> outer world
8399         interaction
8400
8401         * commandtags.h:
8402         * LyXAction.C: remove unused LFUN_MATH
8403
8404 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8405
8406         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8407
8408 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8409
8410         * paragraph.C (Paragraph): reformat a bit
8411         (cutIntoMinibuffer): use builtin InsetList function instad of
8412         doing it manually.
8413         (getInset): ditto
8414
8415         * buffer.C: include boost/bind.hpp, add using std::for_each
8416         (writeFileAscii): use ParagraphList iterators
8417         (validate): use for_each for validate traversal of paragraphs
8418         (getBibkeyList): use ParagraphList iterators
8419         (resizeInsets): use for_each to resizeInsetsLyXText for all
8420         paragraphs.
8421         (getParFromID): use ParagraphList iterators
8422
8423         * BufferView2.C (lockInset): use paragraph list and iterators
8424
8425 2002-08-14  John Levon  <levon@movementarian.org>
8426
8427         * lyxserver.C: remove spurious xforms include
8428
8429 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8430
8431         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8432
8433 2002-08-13  André Pönitz <poenitz@gmx.net>
8434
8435         * LyXAction.[Ch]:
8436         * lyxfunc.C: further cleaning
8437
8438 2002-08-13  André Pönitz <poenitz@gmx.net>
8439
8440         * funcrequest.h: new constructor
8441
8442         * funcrequest.C: move stuff here from .h
8443
8444         * Makefile.am:
8445         * BufferView_pimpl.C:
8446         * LyXAction.C:
8447         * toc.C:
8448         * lyxfunc.C: subsequent changes
8449
8450         * lyxfunc.h: new view() member function
8451
8452         * lyxfunc.C: subsequent changes
8453
8454 2002-08-13  Angus Leeming  <leeming@lyx.org>
8455
8456         * BufferView2.C:
8457         * BufferView_pimpl.C:
8458         * buffer.C:
8459         * converter.C:
8460         * importer.C:
8461         * lyxfunc.C:
8462         * lyxvc.C:
8463         * toc.C:
8464         * vc-backend.C:
8465         changes due to the changed LyXView interface that now returns references
8466         to member variables not pointers.
8467
8468 2002-08-13  Angus Leeming  <leeming@lyx.org>
8469
8470         * WordLangTuple (word, lang_code): return references to strings,
8471         not strings.
8472
8473         * BufferView.h:
8474         * SpellBase.h:
8475         * lyxtext.h: forward-declare WordLangTuple.
8476
8477         * BufferView2.C:
8478         * ispell.C:
8479         * pspell.C:
8480         * text.C: #include "WordLangTuple.h".
8481
8482         * lyxtext.h:
8483         * text.C: (selectNextWordToSpellcheck): constify return type.
8484
8485 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8486
8487         * buffer.C:
8488         * buffer.h:
8489         * lyxtext.h:
8490         * paragraph.C:
8491         * paragraph_pimpl.h:
8492         * text.C:
8493         * text2.C:
8494         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8495         suggested by Angus.
8496         Made updateCounter always count from start of buffer, and removed
8497         second argument (par).
8498         Reverted floats number display to '#'. Perhaps I'll try again when the
8499         code base is sanitized a bit.
8500
8501 2002-08-12  Angus Leeming  <leeming@lyx.org>
8502
8503         * buffer.[Ch] (getLabelList): constify.
8504
8505 2002-08-07  André Pönitz <poenitz@gmx.net>
8506
8507         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8508
8509         * funcrequest.h: extension to keep mouse (x,y) position
8510
8511 2002-08-12  Juergen Vigna  <jug@sad.it>
8512
8513         * BufferView2.C (insertErrors): forbid undo when inserting error
8514         insets.
8515
8516         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8517
8518 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8519
8520         * ParagraphList.[Ch]: new files
8521
8522         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8523
8524         * BufferView2.C (lockInset): ParagraphList changes
8525         * toc.C: ditto
8526         * text2.C: ditto
8527         * bufferlist.C: ditto
8528         * buffer.h: ditto
8529         * buffer.C: ditto
8530
8531 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8532
8533         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8534         unused class variable counter_,
8535
8536         * paragraph.[Ch] (getFirstCounter): delete unused function
8537
8538         * counters.C: include LAssert.h
8539         (reset): add a new function with no arg, change other version to
8540         not have def. arg and to not allow empty arg.
8541
8542         * text2.C (setCounter): remove empty arg from call to Counters::reset
8543
8544 2002-08-11  John Levon  <levon@movementarian.org>
8545
8546         * Makefile.am: add WordLangTuple.h
8547
8548 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8549
8550         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8551         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8552
8553         * insets/insettext.C: InsetList changes
8554
8555         * graphics/GraphicsSupport.C (operator()): InsetList changes
8556
8557         * toc.C (getTocList): InsetList changes
8558
8559         * paragraph_pimpl.[Ch]: InsetList changes
8560
8561         * paragraph.[Ch]: InsetList changes
8562
8563         * buffer.C (inset_iterator): InsetList changes
8564         (setParagraph): ditto
8565         * buffer.h (inset_iterator): ditto
8566         * iterators.C (operator++): ditto
8567         * iterators.h: ditto
8568
8569         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8570
8571         * InsetList.[Ch]: new files, most InsetList handling moved out of
8572         paragraph.C.
8573
8574         * BufferView2.C (removeAutoInsets): InsetList changes
8575         (lockInset): ditto
8576         (ChangeInsets): ditto
8577
8578 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8579
8580         * paragraph_pimpl.h (empty): new function
8581
8582         * paragraph.[Ch] (empty): new function
8583
8584         * other files: use the new Paragraph::empty function
8585
8586 2002-08-09  John Levon  <levon@movementarian.org>
8587
8588         * lyxtext.h: remove unused refresh_height
8589
8590 2002-08-09  John Levon  <levon@movementarian.org>
8591
8592         * Makefile.am:
8593         * sgml.h:
8594         * sgml.C:
8595         * buffer.C:
8596         * paragraph.h:
8597         * paragraph.C: move sgml char escaping out of paragraph
8598
8599         * paragraph.h:
8600         * paragraph.C: remove id setter
8601
8602         * buffer.C:
8603         * paragraph.C:
8604         * paragraph_pimpl.C: remove dead tex_code_break_column
8605
8606         * bufferview_funcs.C: small cleanup
8607
8608         * lyxfunc.C: remove dead proto
8609
8610         * lyxtext.h: make some stuff private. Remove some dead stuff.
8611
8612         * lyxgluelength.C: make as[LyX]String() readable
8613
8614 2002-08-08  John Levon  <levon@movementarian.org>
8615
8616         * LyXAction.h:
8617         * LyXAction.C:
8618         * MenuBackend.C:
8619         * ToolbarDefaults.C:
8620         * lyxfunc.C:
8621         * lyxrc.C:
8622         * toc.C: lyxaction cleanup
8623
8624 2002-08-08  John Levon  <levon@movementarian.org>
8625
8626         * BufferView2.C: small cleanup
8627
8628         * lyxfind.h:
8629         * lyxfind.C: move unnecessary header into the .C
8630
8631 2002-08-08  John Levon  <levon@movementarian.org>
8632
8633         * funcrequest.h: just tedious nonsense
8634
8635         * lyx_main.h:
8636         * lyx_main.C: cleanups
8637
8638         * buffer.C:
8639         * vspace.C: remove dead header lyx_main.h
8640
8641 2002-08-07  Angus Leeming  <leeming@lyx.org>
8642
8643         * Paragraph.[Ch]:
8644         * paragraph_pimpl.h:
8645         Forward declare class Counters in paragraph.h by moving the ctrs member
8646         variable into Paragraph::Pimpl.
8647         (counters): new method, returning a reference to pimpl_->ctrs.
8648
8649         * text2.C: ensuing changes.
8650
8651 2002-08-07  John Levon  <levon@movementarian.org>
8652
8653         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8654
8655         * BufferView_pimpl.C: announce X selection on double/triple
8656           click
8657
8658         * lyx_main.C: use correct bool in batch dispatch
8659
8660         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8661
8662 2002-08-07  André Pönitz <poenitz@gmx.net>
8663
8664         * funcrequest.h: new class to wrap a kb_action and its argument
8665
8666         * BufferView.[Ch]:
8667         * BufferView_pimpl[Ch]:
8668         * LaTeX.C:
8669         * LyXAction.[Ch]:
8670         * lyxfunc.[Ch]:
8671         * lyxrc.C: subsequent changes
8672
8673
8674 2002-08-07  John Levon  <levon@movementarian.org>
8675
8676         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8677           document options change.
8678
8679 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8680
8681         * counters.[Ch]
8682         * text2.C
8683         * paragraph.[Ch]
8684         * makefile.am: move counters functionality over from
8685         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8686
8687 2002-08-06  John Levon  <levon@movementarian.org>
8688
8689         * WordLangTuple.h: new file for word + language code tuple
8690
8691         * SpellBase.h:
8692         * pspell.h:
8693         * pspell.C:
8694         * ispell.h:
8695         * ispell.C:
8696         * lyxtext.h:
8697         * text.C:
8698         * text2.C:
8699         * BufferView.h:
8700         * BufferView2.C: use WordLangTuple
8701
8702         * layout.h:
8703         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8704
8705 2002-08-06  John Levon  <levon@movementarian.org>
8706
8707         * lyx_main.C: fix cmdline batch handling
8708
8709 2002-08-06  André Pönitz <poenitz@gmx.net>
8710
8711         * lyxrc.C: set default for show_banner to true
8712
8713 2002-08-06  John Levon  <levon@movementarian.org>
8714
8715         * pspell.C: fix a crash, and allow new aspell to work
8716
8717 2002-08-06  John Levon  <levon@movementarian.org>
8718
8719         * lyxfunc.C:
8720         * kbmap.C: small cleanup
8721
8722         * vspace.h:
8723         * vspace.C: add const
8724
8725 2002-08-05  John Levon  <levon@movementarian.org>
8726
8727         * LyXAction.C: back to tabular-insert
8728
8729 2002-08-04  John Levon  <levon@movementarian.org>
8730
8731         * BufferView.h:
8732         * BufferView.C: cosmetic change
8733
8734         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8735
8736         * bufferlist.C:
8737         * buffer.h:
8738         * buffer.C:
8739         * lyxcb.h:
8740         * lyxcb.C:
8741         * lyxserver.C:
8742         * lyxvc.C:
8743         * vc-backend.C:
8744         * BufferView2.C: purge all "Lyx" not "LyX" strings
8745
8746         * lyxcursor.h:
8747         * lyxcursor.C: attempt to add some documentation
8748
8749         * lyxfunc.C:
8750         * commandtags.h:
8751         * LyXAction.C:
8752         * ToolbarDefaults.C:
8753         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8754           merge with LFUN_TABULAR_INSERT
8755
8756         * Makefile.am:
8757         * SpellBase.h:
8758         * ispell.h:
8759         * ispell.C:
8760         * pspell.h:
8761         * pspell.C: split up i/pspell implementations into separate
8762           files, many cleanups
8763
8764         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8765
8766         * text2.C: some cleanup
8767
8768         * lyxfunc.C: don't check for isp_command == "none" any more, it
8769           didn't make any sense
8770
8771 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8772
8773         * counters.[Ch]
8774         * text2.C
8775         * paragraph.[Ch]
8776         * makefile.am: move counters functionality over
8777         from text2.C/paragraph.[Ch] to counters.[Ch], and
8778         make proper C++.
8779 2002-08-02  John Levon  <levon@movementarian.org>
8780
8781         * buffer.C: s/lyxconvert/lyx2lyx/
8782
8783 2002-08-02  Angus Leeming  <leeming@lyx.org>
8784
8785         * lyxlex.C: revert John's change as it breaks reading of the user
8786         preamble.
8787
8788 2002-08-02  Angus Leeming  <leeming@lyx.org>
8789
8790         * importer.C (Import):
8791         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8792         changes due to LyXView::view() now returning a boost::shared_ptr.
8793
8794 2002-08-02  John Levon  <levon@movementarian.org>
8795
8796         * lyxlex.C: small cleanup
8797
8798 2002-08-02  John Levon  <levon@movementarian.org>
8799
8800         * text2.C (status): small cleanup, no logic change
8801
8802 2002-08-01  John Levon  <levon@movementarian.org>
8803
8804         * buffer.h:
8805         * buffer.C (writeFile): don't output alerts, caller
8806           handles this
8807
8808         * bufferlist.C:
8809         * lyx_cb.C: from above
8810
8811         * lyxfunc.C: allow to open non-existent files
8812
8813 2002-07-31  John Levon  <levon@movementarian.org>
8814
8815         * lyxserver.C: don't let incidental errors get
8816           in the way (errno)
8817
8818 2002-07-30  John Levon  <levon@movementarian.org>
8819
8820         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8821
8822 2002-07-30  John Levon  <levon@movementarian.org>
8823
8824         * lyxserver.h:
8825         * lyxserver.C: remove I/O callback too
8826
8827 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8828
8829         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8830         log.
8831
8832 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8833
8834         * many files: strip,frontStrip -> trim,ltrim,rtrim
8835
8836 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8837
8838         * PrinterParams.h: remove extern containsOnly, and include
8839         support/lstrings.h instead.
8840
8841         * LaTeX.C (scanAuxFile): modify because of strip changes
8842         (deplog): ditto
8843         * buffer.C (makeLaTeXFile): ditto
8844         * bufferparams.C (writeFile): ditt
8845         * lyxfont.C (stateText): ditto
8846         * lyxserver.C (read_ready): ditto
8847         * vc-backend.C (scanMaster): ditto
8848
8849         * BufferView_pimpl.h: ws changes
8850
8851         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8852
8853 2002-07-26  André Pönitz <poenitz@gmx.net>
8854
8855         * kb_sequence.C: remove unnedred usings
8856
8857 2002-07-26  Juergen Vigna  <jug@sad.it>
8858
8859         * lyxfind.C (LyXReplace): we have to check better if the returned
8860         text is not of theLockingInset()->getLockingInset().
8861
8862 2002-07-25  Juergen Vigna  <jug@sad.it>
8863
8864         * lyxfind.C (LyXReplace): don't replace if we don't get the
8865         right LyXText.
8866
8867         * undo_funcs.C (createUndo): remove debugging code.
8868
8869 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8870
8871         * buffer.C (parseSingleLyXformat2Token): Use default placement
8872         when reading old floats.
8873
8874         * FloatList.C (FloatList): Change the default placement of figure
8875         and tables to "tbp".
8876
8877 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8878
8879         * MenuBackend.C: using std::max
8880
8881 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8882
8883         * MenuBackend.C (expandToc):
8884         (expandToc2): code moved from xforms menu frontend. It is now
8885         generic and TOCs are transparent to menu frontends.
8886
8887 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8888
8889         * toc.C (getTocList): protect against buf=0
8890
8891         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8892         Menu as first parameter. Now, this calls itself recursively to
8893         expand a whole tree (this will be useful for TOC handling)
8894         (expandFloatInsert): remove 'wide' version of floats
8895
8896         * MenuBackend.h (submenuname): returns the name of the submenu.
8897         (submenu): returns the submenu itself, provided it has been
8898         created by MenuBackend::expand
8899
8900 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8901
8902         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8903         insets which have noFontChange == true. (bug #172)
8904
8905 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8906
8907         * BufferView_pimpl.C: add connection objects and use them...
8908         (Pimpl): here.
8909
8910 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8911
8912         * MenuBackend.C (expandLastfiles):
8913         (expandDocuments):
8914         (expandFormats):
8915         (expandFloatListInsert):
8916         (expandFloatInsert):
8917         (expand): split expand in parts
8918
8919 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8920
8921         * lyx_gui.C: use lyx_gui::exit()
8922
8923 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8924
8925         * LyXAction.C: show the failing pseudo action
8926
8927 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8928
8929         * buffer.C (readFile): Run the lyxconvert script in order to read
8930         old files.
8931
8932 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8933
8934         * LyXAction.C:
8935         * commandtags.h:
8936         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8937
8938 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8939
8940         * LyXAction.C:
8941         * commandtags.h:
8942         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8943
8944 2002-07-22  Herbert Voss  <voss@lyx.org>
8945
8946         * lengthcommon.C:
8947         * lyxlength.[Ch]: add support for the vertical lengths
8948
8949 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8950
8951         * toc.[Ch]: std:: fixes
8952
8953 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8954
8955         * lyxrc.C: do not include lyx_main.h
8956
8957         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8958         for layouts
8959
8960         * lyxrc.C:
8961         * encoding.C:
8962         * bufferlist.C:
8963         * BufferView2.C: include "lyxlex.h"
8964
8965         * tabular.h:
8966         * bufferparams.h: do not #include "lyxlex.h"
8967
8968         * lyxtextclasslist.C (Add): remove method
8969         (classlist): renamed to classlist_
8970
8971         * paragraph_pimpl.C:
8972         * paragraph.C:
8973         * text2.C:
8974         * CutAndPaste.C:
8975         * bufferview_funcs.C:
8976         * bufferlist.C:
8977         * text.C:
8978         * LaTeXFeatures.C:
8979         * buffer.C:
8980         * toc.C (getTocList): use BufferParams::getLyXTextClass
8981
8982         * toc.C (getTocList): use InsetFloat::addToToc
8983
8984         * toc.[Ch]: new files, containing helper functions to handle table
8985         of contents
8986
8987         * lyxfunc.C (dispatch): no need to remove spaces around command
8988         given as a string
8989         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8990         first command of the sequence; it is not very clever, but I do not
8991         have a better idea, actually
8992
8993         * LyXAction.C (LookupFunc): make sure to remove space at the
8994         beginning and end of the command
8995
8996 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8997
8998         * MenuBackend.C (getMenubar): new method: return the menubar of
8999         this menu set
9000         (read): treat differently reading of menu and menubar (in
9001         particular, the menubar has no name now)
9002         (Menu::menubar): remove
9003
9004         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9005         saving is finished
9006
9007 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9008
9009         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9010         a bibitem inset in a RTL paragraph.
9011
9012 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9013
9014         * paragraph_pimpl.C: constify
9015
9016         * BufferView_pimpl.C:
9017         * LaTeX.C:
9018         * lyxfunc.C: fix dispatch in a nicer way
9019
9020 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9021
9022         * lyxfunc.C (dispatch):
9023         * BufferView_pimpl.C:
9024         * BufferView_pimpl.h:
9025         * BufferView.C:
9026         * BufferView.h: rename Dispatch() to dispatch()
9027
9028         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9029
9030         * lyxlayout.C (Read): honor DependsOn tag
9031
9032         * lyxlayout.[Ch] (depends_on): new method
9033
9034         * version.C.in: update lyx_docversion
9035
9036         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9037
9038         * paragraph.C (validate): remove from here...
9039         * paragraph_pimpl.C (validate): ... and move here
9040         (isTextAt): make it const
9041
9042         * buffer.C (getLists): ws cleanup
9043
9044 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9045
9046         * language.C (read): Use iso8859-1 encoding in latex_lang
9047         (this prevents LyX from crashing when using iso10646-1 encoding).
9048
9049 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9050
9051         * text2.C (toggleInset): if cursor is inside an inset, close the
9052         inset and leave cursor _after_ it
9053
9054 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9055
9056         * lyxfunc.C: move minibuffer completion handling out of here
9057
9058 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9059
9060         * BufferView_pimpl.C:
9061         * LaTeX.C: fix dispatch calls
9062
9063 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9064
9065         * text.C (drawChars): Fix Arabic text rendering.
9066
9067 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9068
9069         * LyXAction.C:
9070         * commandtags.h:
9071         * lyxfunc.C: remove message-push/pop
9072
9073         * lyxserver.C:
9074         * lyxfunc.h:
9075         * lyxfunc.C: rationalise some code by removing verboseDispatch
9076           in favour of a bool argument to dispatch()
9077
9078 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9079
9080         * lyx_main.C (init): make sure to read symlinks as absolute paths
9081
9082 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9083
9084         * lyxfunc.h:
9085         * lyxfunc.C: no need for commandshortcut to be a member
9086
9087 2002-07-15  André Pönitz <poenitz@gmx.net>
9088
9089         * converter.C: add support for $$s (scripts from lib/scripts dir)
9090         * lyx_main.C: white space
9091
9092 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9093
9094         * bufferlist.C:
9095         * lyxrc.h:
9096         * lyxrc.C: remove second exit confirmation
9097
9098 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9099
9100         * BufferView.h:
9101         * BufferView.C:
9102         * BufferView2.C:
9103         * BufferView_pimpl.h:
9104         * BufferView_pimpl.C:
9105         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9106
9107 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9108
9109         * MenuBackend.C (expand): add numeric shortcuts to document menu
9110
9111         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9112
9113 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9114
9115         * lyxfont.C (setLyXFamily):
9116         (setLyXSeries):
9117         (setLyXShape):
9118         (setLyXSize):
9119         (setLyXMisc):
9120         (lyxRead):
9121         * debug.C (value):
9122         * buffer.C (asciiParagraph): use ascii_lowercase
9123
9124 2002-07-15  Mike Fabian  <mfabian@suse.de>
9125
9126         * lyxlex_pimpl.C (search_kw):
9127         * lyxlex.C (getLongString):
9128         * converter.h (operator<):
9129         * converter.C (operator<):
9130         * buffer.C (parseSingleLyXformat2Token):
9131         (asciiParagraph):
9132         * ToolbarDefaults.C (read):
9133         * MenuBackend.C (checkShortcuts):
9134         (read):
9135         * LColor.C (getFromGUIName):
9136         (getFromLyXName): use the compare_ascii_no_case instead of
9137         compare_no_case, because in turkish, 'i' is not the lowercase
9138         version of 'I', and thus turkish locale breaks parsing of tags.
9139
9140 2002-07-16  Angus Leeming  <leeming@lyx.org>
9141
9142         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9143         now takes a Buffer const & argument.
9144
9145 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9146
9147         * BufferView.C (resize): check there's a buffer to resize
9148
9149 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9150
9151         * lyxfunc.C: remove dead code
9152
9153         * lyxserver.h:
9154         * lyxserver.C: use lyx_guii::set_read_callback
9155
9156 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9157
9158         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9159         an inset in a RTL paragraph.
9160
9161 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9162
9163         * lyxfunc.C: repaint after a font size update
9164
9165 2002-07-15  André Pönitz <poenitz@gmx.net>
9166
9167         * lyxlength.C: inBP should be able to return negative values
9168
9169 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9170
9171         * lyxfunc.C: use lyx_gui::update_fonts()
9172
9173 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9174
9175         * lyxfunc.C: use lyx_gui::update_color()
9176
9177 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9178
9179         * bufferlist.C:
9180         * lyxfunc.h:
9181         * lyxfunc.C:
9182         * lyxrc.h:
9183         * lyxrc.C: remove file->new asks for name option, and let
9184           buffer-new take an argument
9185
9186 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9187
9188         * BufferView_pimpl.C: remove unneeded extra repaint()
9189
9190 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9191
9192         * LyXAction.C: allow command-sequence with NoBuffer
9193
9194         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9195
9196 2002-07-10  Angus Leeming  <leeming@lyx.org>
9197
9198         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9199
9200 2002-07-09  Angus Leeming  <leeming@lyx.org>
9201
9202         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9203
9204 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9205
9206         * lengthcommon.h: whitespace
9207
9208         * lyxfunc.C: update scrollbar after goto paragraph
9209
9210         * lyxtext.h: factor out page break drawing, and fix it so
9211           page break/added space paints as selected nicely
9212
9213 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9214
9215         * BufferView_pimpl.C: add FIXMEs, clean up a little
9216
9217 2002-07-09  André Pönitz <poenitz@gmx.net>
9218
9219         * lyxfont.[Ch]: support for wasy symbols
9220
9221 2002-07-08  André Pönitz <poenitz@gmx.net>
9222
9223         * BufferView_pimpl.C: apply John's patch for #93.
9224
9225 2002-07-05  Angus Leeming  <leeming@lyx.org>
9226
9227         * BufferView_pimpl.C (buffer): generate previews if desired.
9228
9229         * LColor.h: add "preview" to the color enum.
9230
9231         * LColor.C (LColor): add a corresponding entry to the items array.
9232
9233         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9234         with this buffer.
9235
9236 2002-07-05  Angus Leeming  <leeming@lyx.org>
9237
9238         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9239         The body of the code is now in the method that is passed an ostream &
9240         rather than a file name.
9241         Pass an additional only_preamble parameter, useful for the forthcoming
9242         preview stuff.
9243
9244 2002-07-03  André Pönitz <poenitz@gmx.net>
9245
9246         * lyxfunc.C: simplify getStatus() a bit for math stuff
9247
9248 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9249
9250         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9251
9252 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9253
9254         * text.C (changeRegionCase): do not change case of all the
9255         document when region ends at paragraph end (bug #461)
9256
9257 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9258
9259         * paragraph.C (startTeXParParams):
9260         (endTeXParParams): add \protect when necessary
9261
9262 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9263
9264         * BufferView_pimpl.C (workAreaExpose): remove warning
9265
9266 2002-06-27  Angus Leeming  <leeming@lyx.org>
9267
9268         * Makefile.am: add lyxlayout_ptr_fwd.h.
9269
9270 2002-06-26  André Pönitz <poenitz@gmx.net>
9271
9272         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9273
9274 2002-06-25  Angus Leeming  <leeming@lyx.org>
9275
9276         * lyxfunc.C (dispatch): Comment out the call to
9277         grfx::GCache::changeDisplay. The method no longer exists now that the
9278         pixmap generation part of the graphics loader has been moved into
9279         InsetGraphics.
9280
9281 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9282
9283         * text2.C: layout as layout
9284
9285         * text.C: layout as layout
9286
9287         * tabular.C (OldFormatRead): layout as layout
9288
9289         * paragraph_pimpl.C (TeXDeeper): layout as layout
9290         (realizeFont): layout as layout
9291
9292         * paragraph.C (writeFile): layout as layout
9293         (validate): layout as layout
9294         (getFont): layout as layout
9295         (getLabelFont): layout as layout
9296         (getLayoutFont): layout as layout
9297         (breakParagraph): layout as layout
9298         (stripLeadingSpaces): layout as layout
9299         (getEndLabel): layout as layout
9300         (getMaxDepthAfter): layout as layout
9301         (applyLayout): layout as layout
9302         (TeXOnePar): layout as layout
9303         (simpleTeXOnePar): layout as layout
9304         (TeXEnvironment): layout as layout
9305         (layout): layout as layout
9306         (layout): layout as layout
9307
9308         * lyxtextclass.C (compare_name): new functor to work with
9309         shared_ptr, layout as layout
9310         (Read): layout as layout
9311         (hasLayout): layout as layout
9312         (operator): layout as layout
9313         (delete_layout): layout as layout
9314         (defaultLayout): layout as layout
9315
9316         * lyxlayout_ptr_fwd.h: new file
9317
9318         * lyxlayout.C (Read): layout as layout
9319
9320         * lyx_cb.C (MenuInsertLabel): layout as layout
9321
9322         * bufferlist.C (newFile): layout as layout
9323
9324         * buffer.C (readLyXformat2): layout as layout
9325         (parseSingleLyXformat2Token): layout as layout
9326         (insertStringAsLines): layout as layout
9327         (asciiParagraph): layout as layout
9328         (latexParagraphs): layout as layout
9329         (makeLinuxDocFile): layout as layout
9330         (simpleLinuxDocOnePar): layout as layout
9331         (makeDocBookFile): layout as layout
9332         (simpleDocBookOnePar): layout as layout
9333         (getLists): layout as layout
9334
9335         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9336
9337         * CutAndPaste.C (cutSelection): layout as layout
9338         (pasteSelection): layout as layout
9339         (SwitchLayoutsBetweenClasses): layout as layout
9340
9341         * BufferView_pimpl.C (Dispatch): layout as layout
9342         (smartQuote): layout as layout
9343
9344         * BufferView2.C (unlockInset): layout as layout
9345
9346 2002-06-24  André Pönitz <poenitz@gmx.net>
9347
9348         * lyxfunc.C: fix #487
9349
9350 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9351
9352         * lyxrc.h:
9353         * lyxrc.C:
9354         * lyxfunc.C: remove display_shortcuts, show_banner
9355
9356 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9357
9358         * Buffer_pimpl.C: oops, update on resize
9359
9360 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9361
9362         * buffer.C:
9363         * converter.C:
9364         * exporter.C:
9365         * lyxfunc.C:
9366         * BufferView.h:
9367         * BufferView.C: use repaint()
9368
9369         * BufferView_pimpl.h:
9370         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9371           as it's a clearer description. Remove superfluous
9372           redraws.
9373
9374 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9375
9376         * text.C: fix bug 488. Not ideal, but getting
9377           getWord() to work properly for the insets that
9378           matter is more difficult ...
9379
9380 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9381
9382         * BufferView_pimpl.C:
9383         * LyXAction.C:
9384         * commandtags.h:
9385         * lyxfunc.C: remove the six million index lyxfuncs to just
9386           one, and DTRT (bug 458)
9387
9388 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9389
9390         * BufferView.h:
9391         * BufferView.C:
9392         * BufferView_pimpl.h:
9393         * BufferView_pimpl.C: clean up resize() stuff,
9394           and unnecessary updateScreen()s
9395
9396 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9397
9398         * BufferView.h:
9399         * BufferView.C:
9400         * BufferView_pimpl.h:
9401         * BufferView_pimpl.C:
9402         * lyxfind.h:
9403         * lyxfind.C:
9404         * minibuffer.C: remove focus management of workarea,
9405           not needed. Use screen's greyOut()
9406
9407 2002-06-17  Herbert Voss  <voss@lyx.org>
9408
9409         * converter.C: (convert) do not post a message, when converting
9410         fails, let the calling function decide what to do in this case
9411
9412 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9413
9414         * lyxfunc.C: tidy up a little
9415
9416 2002-06-16    <alstrup@diku.dk>
9417
9418         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9419         Got rid of FORMS_H_LOCATION include. Now we are
9420         GUII.
9421
9422 2002-06-15  LyX Development team  <lyx@rilke>
9423
9424         * buffer.[Ch] (sgmlOpenTag):
9425         (sgmlCloseTag): Added support for avoiding pernicious mixed
9426         content. Return number of lines written.
9427
9428         (makeLinuxDocFile):
9429         (makeDocBookFile): Fixed calls to sgml*Tag.
9430         Simple white space clean.
9431
9432         (simpleDocBookOnePar): Simple white space clean.
9433
9434         * tabular.[Ch] (docBook): Renamed to docbook and got another
9435         argument to related with the pernicious mixed content.
9436
9437         (docbookRow): Fixed calls for docbook inset method.
9438
9439 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9440
9441         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9442         so it's X11 independent.
9443
9444         * kb*.[Ch]: ditto.
9445
9446         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9447
9448 2002-06-15  Lyx Development team  <lyx@electronia>
9449
9450         * intl.h: Renamed getTrans to getTransManager.
9451
9452 2002-06-14  Angus Leeming  <leeming@lyx.org>
9453
9454         * Makefile.am: nuke forgotten stl_string_fwd.h.
9455
9456 2002-06-12  Angus Leeming  <leeming@lyx.org>
9457
9458         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9459
9460 2002-06-13  Angus Leeming  <leeming@lyx.org>
9461
9462         * LaTeX.C:
9463         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9464
9465 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9466
9467         * kbmap.C (getiso): add support for cyrillic and greek
9468
9469 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9470
9471         * BufferView.h:
9472         * BufferView.C:
9473         * BufferView_pimpl.h:
9474         * BufferView_pimpl.C: move bogus scrolling logic
9475           to xforms
9476
9477 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9478
9479         * lyxfunc.C:
9480         * BufferView_pimpl.C: view->resize() change
9481
9482 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9483
9484         * BufferView_pimpl.C: topCursorVisible
9485           prototype change
9486
9487 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9488
9489         * Makefile.am:
9490         * lyx_gui.h:
9491         * lyx_gui.C: move to frontends/
9492
9493         * main.C:
9494         * lyx_main.h:
9495         * lyx_main.C: changes from above
9496
9497 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9498
9499         * intl.C:
9500         * intl.h:
9501         * kbmap.C:
9502         * kbsequence.C:
9503         * lyx_cb.C:
9504         * lyx_main.C: minor tidy
9505
9506 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9507
9508         * BufferView_pimpl.h:
9509         * BufferView_pimpl.C:
9510         * BufferView.h:
9511         * BufferView.C: make painter() const,
9512           remove dead code
9513
9514         * BufferView2.C: use screen() accessor
9515
9516         * lyx_main.h:
9517         * lyx_main.C: some minor cleanup
9518
9519 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9520
9521         * BufferView_pimpl.h:
9522         * BufferView_pimpl.C: remove enter/leaveView,
9523           use workHeight()
9524
9525 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9526
9527         * BufferView.h:
9528         * BufferView.C:
9529         * BufferView2.C:
9530         * BufferView_pimpl.h:
9531         * BufferView_pimpl.C: only construct screen once,
9532           rename
9533
9534         * lyxrc.C: remove pointless comment
9535
9536 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9537
9538         * BufferView.h:
9539         * BufferView.C: remove active() and belowMouse()
9540
9541         * BufferView_pimpl.h:
9542         * BufferView_pimpl.C: use workarea() not workarea_,
9543           and make it use a scoped_ptr instead
9544
9545 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9546
9547         * lyx_gui.C: add debug message on BadWindow
9548
9549 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9550
9551         * sp_spell.C: fdopen is not part of the C++ standard.
9552
9553         * paragraph.C (InsetIterator): use >= instead of ==
9554
9555 2002-06-07  Angus Leeming  <leeming@lyx.org>
9556
9557         Fixes needed to compile with Compaq cxx 6.5.
9558         * BufferView_pimpl.C:
9559         * DepTable.C:
9560         * buffer.C:
9561         * converter.C:
9562         * encoding.C:
9563         * lyx_gui.C:
9564         * lyx_main.C:
9565         * lyxtextclasslist.C:
9566         * minibuffer.C:
9567         * sp_spell.C:
9568         * tabular_funcs.C:
9569         * vc-backend.C:
9570         all c-library variables have been moved into namespace std. Wrap
9571         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9572
9573         * lyxlength.C:
9574         * tabular-old.C:
9575         * tabular.C:
9576         Add a using std::abs declaration.
9577
9578         * kbmap.h (modifier_pair):
9579         * paragraph.h (InsetTable, InsetList):
9580         * lyxfont.h (FontBits):
9581         type definition made public.
9582
9583         * bufferlist.C (emergencyWriteAll): the compiler complains that
9584         there is more than one possible lyx::class_fun template to choose from.
9585         I re-named the void specialisation as lyx::void_class_fun.
9586
9587         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9588
9589         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9590         the compiler is is unable to find tostr in write_attribute.
9591
9592 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9593
9594         * buffer.C (sgmlError): hide #warning
9595
9596 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9597
9598         * xtl/*: get rid of xtl, which is not in use anyway
9599
9600         * LyXAction.C (init):
9601         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9602         were unimplemented xtl experimentation
9603
9604 2002-06-04  André Pönitz <poenitz@gmx.net>
9605
9606         * lyxfunc.C: disable array operation on simple formulae
9607
9608 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9609
9610         * converter.C: constify a bit
9611
9612 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9613
9614         * lyx_gui.C: check xforms version correctly
9615
9616 2002-04-30  Herbert Voss  <voss@lyx.org>
9617
9618         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9619         "keep" option
9620
9621 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9622
9623         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9624           attempt to register it with a VCS)
9625
9626 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9627
9628         * lyx_main.C (init): honor variables LYX_DIR_13x and
9629         LYX_USERDIR_13x
9630
9631 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9632
9633         * buffer.h:
9634         * buffer.C:
9635         * lyx_main.C: fix a crash on bad command line,
9636           and give a useful exit status on error
9637
9638         * lyxfunc.C (doImport): allow -i lyx to work
9639
9640 2002-03-30  André Pönitz <poenitz@gmx.net>
9641
9642         * lyxfunc.C: mathed font changes
9643
9644 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9645
9646         * LaTeX.C:
9647         * importer.h:
9648         * importer.C:
9649         * lyx_sty.h:
9650         * lyx_sty.C:
9651         * lyxlex.C:
9652         * lyxrow.h:
9653         * lyxtext.h:
9654         * paragraph.h:
9655         * paragraph.C:
9656         * texrow.h:
9657         * texrow.C:
9658         * text.C:
9659         * trans_mgr.h: srcdocs, and some minor cleanups
9660
9661 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9662
9663         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9664         call getFont all the time)
9665
9666 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9667
9668         * switch from SigC signals to boost::signals
9669
9670 2002-05-29  André Pönitz <poenitz@gmx.net>
9671
9672         * paragraph_pimpl.C (getChar): don't call size() too often...
9673
9674 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9675
9676         * paragraph_pimpl.C (insertChar): do not try to update tables when
9677         appending (pos == size())
9678
9679         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9680         in order to reduce drastically the number of comparisons needed to
9681         parse a large document
9682
9683 2002-05-29  André Pönitz <poenitz@gmx.net>
9684
9685         * text.C:
9686         * text2.C:
9687         * lyxtextclass.C:
9688         * sp_pspell.h:
9689         * textclasslist.[Ch]:
9690         * sp_ispell.h: whitespace change
9691
9692 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9693
9694         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9695         lyxaction directly now.
9696
9697 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9698
9699         * trans.C:
9700         * lyxfont.C:
9701         * lyxvc.C: remove unused headers
9702
9703 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9704
9705         * Makefile.am:
9706         * buffer.h:
9707         * undostack.h:
9708         * undostack.C:
9709         * undo_funcs.h:
9710         * undo_funcs.C: some cleanups. Use shared_ptr
9711           and a template for the undo stacks.
9712
9713 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9714
9715         * BufferView_pimpl.h:
9716         * BufferView_pimpl.C:
9717         * kbmap.h:
9718         * kbmap.C:
9719         * kbsequence.h:
9720         * kbsequence.C:
9721         * lyxfunc.h:
9722         * lyxfunc.C:
9723         * text2.C: use key_state/mouse_state
9724
9725 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9726
9727         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9728         and LSubstring
9729
9730         * chset.C: change include order
9731         (loadFile): use boost regex and get rid of LRegex and LSubstring
9732
9733         * Makefile.am (BOOST_LIBS): new variable
9734         (lyx_LDADD): use it
9735
9736         * LaTeX.C: change include order.
9737         (scanAuxFile): use boost regex and get rid of LRegex and
9738         LSubstring
9739         (deplog): ditto
9740
9741 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9742
9743         * ColorHandler.h:
9744         * ColorHandler.C:
9745         * FontInfo.h:
9746         * FontInfo.C: moved to frontends/xforms/
9747
9748         * FontLoader.h:
9749         * FontLoader.C: moved into frontends for GUIIzation
9750
9751         * Makefile.am:
9752         * lyx_gui.C:
9753         * lyxfont.C:
9754         * lyxfunc.C: changes from above
9755
9756 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9757
9758         * LColor.C: remove spurious X include
9759
9760         * BufferView_pimpl.C:
9761         * Makefile.am:
9762         * font.h:
9763         * font.C:
9764         * text.C:
9765         * text2.C: move font metrics to frontends/
9766
9767 2002-05-24  Juergen Vigna  <jug@sad.it>
9768
9769         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9770         setting the undo_cursor.
9771
9772         * ParagraphParameters.h: include local includes first.
9773
9774 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9775
9776         * BufferView_pimpl.C:
9777         * BufferView_pimpl.h:
9778         * Makefile.am:
9779         * WorkArea.h:
9780         * WorkArea.C:
9781         * screen.C: move WorkArea into frontends/
9782
9783         * lyxscreen.h:
9784         * screen.C:
9785         * text.C:
9786         * BufferView.C:
9787         * BufferView2.C: move LyXScreen into frontends/
9788
9789         * lyxlookup.h:
9790         * lyxlookup.C:
9791         * lyx_gui.C: move lyxlookup into frontends/xforms/
9792
9793 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9794
9795         * BufferView2.C:
9796         * BufferView_pimpl.C:
9797         * FontLoader.C:
9798         * LyXView.h:
9799         * LyXView.C:
9800         * Makefile.am:
9801         * WorkArea.C:
9802         * XFormsView.h:
9803         * XFormsView.C:
9804         * buffer.C:
9805         * bufferlist.C:
9806         * bufferview_funcs.C:
9807         * converter.C:
9808         * importer.C:
9809         * lyx_cb.C:
9810         * lyx_gui.C:
9811         * lyx_main.C:
9812         * lyx_find.C:
9813         * lyxfunc.C:
9814         * lyxvc.C:
9815         * minibuffer.C:
9816         * text.C:
9817         * text2.C:
9818         * trans.C:
9819         * vc-backend.C: move LyX/XFormsView into frontends/
9820
9821 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9822
9823         * Makefile.am:
9824         * PainterBase.C:
9825         * PainterBase.h:
9826         * Painter.C:
9827         * Painter.h:
9828         * WorkArea.C:
9829         * WorkArea.h:
9830         * screen.C:
9831         * tabular.C:
9832         * text.C:
9833         * text2.C: move Painter to frontends/
9834
9835 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9836
9837         * buffer.C: comment out some some code that depend upon lyx_format
9838         < 220
9839
9840         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9841         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9842
9843         * buffer.h (NO_COMPABILITY): turn off compability
9844
9845         * ColorHandler.C: include scoped_array.hpp
9846
9847         * font.C: Use more specific smart_ptr header.
9848         * Painter.C: ditto
9849         * gettext.C: ditto
9850         * ShareContainer.h: ditto
9851         * lyx_main.h: ditto
9852         * kbmap.h: ditto
9853         * FontInfo.h: ditto
9854         * BufferView_pimpl.h: ditto
9855         * ColorHandler.h: ditto
9856
9857         * kbmap.C (defkey): change call to shared_ptr::reset
9858
9859 2002-05-21  Juergen Vigna  <jug@sad.it>
9860
9861         * buffer.C (insertErtContents): fix to insert ert asis if it is
9862         non empty. Skip it completely if it contains only whitespaces.
9863
9864 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9865
9866         * BufferView_pimpl.C:
9867         * BufferView2.C: clear selection on paste (bug 393)
9868
9869 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9870
9871         * DepTable.C: include ctime
9872
9873 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9874
9875         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9876
9877 2002-05-14  Juergen Vigna  <jug@sad.it>
9878
9879         * text.C (breakParagraph): fixed function to honor the keepempty
9880         layout in the right maner and also to permit the right breaking
9881         algorithm on empty or non empyt keepempty paragraphs.
9882
9883         * paragraph.C (breakParagraph): we have to check also if the par
9884         is really empty (!size()) for isempty otherwise we do the wrong
9885         paragraph break.
9886
9887 2002-05-10  Juergen Vigna  <jug@sad.it>
9888
9889         * buffer.[Ch] : The following are only changes to the ert
9890         compatibility read reading old LaTeX layout and font stuff and
9891         convert it to ERTInsets.
9892
9893         * buffer.h: added isErtInset().
9894
9895         * buffer.C (struct ErtComp): add a fromlayout bool to check
9896         if we're inside a LaTeX layout.
9897         (isErtInset): new helper function.
9898         (insertErtContents): look for other ert insets before this one
9899         and insert the contents there, so that we don't have subsequent
9900         ERT insets with nothing between them. This way we create only one
9901         inset with multiple paragraphs. Also check if we don't insert only
9902         spaces ' ' as they are ignored anyway afterwards in the .tex file
9903         so if we have only spaces we will ignore this latex part in the
9904         new file.
9905         (parseSingleLyXformat2Token \\layout): better compatibility when
9906         reading layout-latex stuff.
9907         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9908         language tag.
9909         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9910         stuff after reading the inset only get the information back from
9911         the stack.
9912
9913 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9914
9915         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9916
9917         * LaTeXFeatures.C (getBabelOptions): New method.
9918
9919 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9920
9921         * BufferView_pimpl.C (Dispatch): work around missing argument for
9922         'layout'
9923
9924 2002-05-08  Juergen Vigna  <jug@sad.it>
9925
9926         * text.C (leftMargin): handle paragraph leftindent.
9927
9928         * paragraph.C (writeFile): write the new \\leftindent tag.
9929         (validate): handle leftindent code.
9930         (TeXEnvironment): handle paragraphleftindent code again.
9931
9932         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9933
9934         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9935         for paragrap_extra indent code and new token \\leftindent.
9936         (latexParagraphs): handle the leftindent as environment.
9937
9938         * ParameterStruct.h: added leftindent support.
9939
9940         * ParagraphParameters.C (leftIndent): added support functions for
9941         the paragraph left indent.
9942
9943         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9944         more appropriate.
9945
9946 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9947
9948         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9949         inside insetERT.
9950
9951         * text.C (computeBidiTables): No bidi in insetERT.
9952
9953         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9954         in RTL documents.
9955
9956 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9957
9958         * version.C.in: pre 5
9959
9960 2002-05-02  José Matos  <jamatos@fep.up.pt>
9961         * buffer.C (makeDocBookFile): white space changes, add newline to
9962         command styles.
9963         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9964
9965         * tabular.C (docBook): fix typo.
9966
9967 2002-05-03  Juergen Vigna  <jug@sad.it>
9968
9969         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9970         change in LyXText as we can not be sure it was not freed.
9971         (drawOneRow): remove unused code.
9972
9973         * text.C (drawInset): redo the calculation of the need_break_row as
9974         it could have a row which was already freed.
9975         (draw): look at the return value of drawInset and return false if
9976         it also returned false.
9977         (paintRowText): look at the return value of draw and return false if
9978         it also returned false.
9979
9980         * lyxtext.h: added bool return type to drawInset() and draw() so that
9981         if we have a change in the row so that the rowbreak has to be redone
9982         we abort drawing as it will be called again.
9983
9984 2002-05-02  Juergen Vigna  <jug@sad.it>
9985
9986         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9987         a change in the maintext also if we're inside an inset.
9988         (Dispatch): set the cursor again after a break line and after the
9989         screen has been updated as it could be we're in a different row.
9990
9991         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9992         to set the cursor behind the pargraph with > size().
9993         (setCursor): check also for the same paragraph when checking where
9994         to put the cursor if we have a NFR inset.
9995
9996         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9997         parts of layout read further up as it still was in the wrong
9998         position.
9999
10000 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10001
10002         * screen.C (drawFromTo): change sine fullRebreak always return
10003         true.
10004
10005         * buffer.C (parseSingleLyXformat2Token): reindent some
10006
10007         * BufferView_pimpl.C (update): change since fullRebreak always
10008         return true.
10009         (Dispatch): git rid of the last hardcoded "Standard"s.
10010
10011 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10012
10013         * text2.[Ch] (fullRebreak): make it return void now that we always
10014         returned true.
10015
10016 2002-04-30  Juergen Vigna  <jug@sad.it>
10017
10018         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10019         ert compatibility check for "latex" layout.
10020
10021 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10022
10023         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10024         minipages: use col% instead of p%, and also use the current font.
10025         (makeLaTeXFile): Fix use babel condition.
10026         (parseSingleLyXformat2Token): Correct font when reading old floats.
10027
10028 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10029
10030         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10031         inserting list of floats.
10032
10033 2002-04-25  Herbert Voss  <voss@lyx.org>
10034
10035         * MenuBackend.C (expand): don't add the graphics extensions to the
10036         export menu
10037
10038 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10039
10040         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10041         non-existing layout, do not complain if it was the default layout
10042         of the original class (bug #342)
10043
10044 2002-04-24  Juergen Vigna  <jug@sad.it>
10045
10046         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10047         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10048
10049 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10050
10051         * buffer.C (getBibkeyList): If using \bibliography, return the
10052         option field with the reference itself. Enables us to provide natbib
10053         support when using \bibliography.
10054
10055 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10056
10057         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10058
10059         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10060         natbib is provided by the LaTeX class.
10061
10062 2002-04-23  Juergen Vigna  <jug@sad.it>
10063
10064         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10065         Wakeup functions.
10066
10067         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10068
10069 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10070
10071         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10072
10073         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10074         ensuremath around textordmasculine, textordfeminine and
10075         textdegree.
10076
10077 2002-04-19  Juergen Vigna  <jug@sad.it>
10078
10079         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10080         reinitializing the buffer otherwise row-dimensions may be wrong.
10081         (update): reset also the selection cursors if they do exits otherwise
10082         their x/y positions may be wrong.
10083
10084         * text2.C (cursorDown): don't enter the inset if we came from a row
10085         above and are one row over the inset.
10086
10087         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10088         really leaving an inset.
10089
10090 2002-04-18  Juergen Vigna  <jug@sad.it>
10091
10092         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10093         of the selected paragraph does not have the selected layout also if
10094         the last one had!
10095
10096         * text2.C (setLayout): fixed bug which did not change last selected
10097         paragraph.
10098
10099         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10100         changed the read and substituted \\end_float with \\end_inset!
10101
10102         * BufferView_pimpl.C (cursorPrevious):
10103         (cursorNext): fixed to make it work with rows heigher than the work
10104         area without moving the cursor only the draw of the row.
10105         (workAreaMotionNotify): fix jumping over high rows.
10106
10107 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10108
10109         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10110         Ressler.
10111
10112 2002-04-16  Juergen Vigna  <jug@sad.it>
10113
10114         * text2.C (setCursor): set also the irow().
10115         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10116         (cursorUp):
10117         (cursorDown): support for locking an inset if the x_fix value goes
10118         inside it. That way I can transverse insets too with cursor up/down.
10119
10120         * lyxrow.h: added irow helper function same as other (i) functions.
10121
10122         * BufferView_pimpl.C (cursorPrevious):
10123         (cursorNext): fixed for insets!
10124
10125 2002-04-15  Juergen Vigna  <jug@sad.it>
10126
10127         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10128         position otherwise it is wrong in some cases.
10129
10130         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10131         inside the inset before the call.
10132
10133 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10134
10135         * buffer.[Ch] (getBibkeyList): make it const.
10136
10137 2002-04-12  Juergen Vigna  <jug@sad.it>
10138
10139         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10140
10141         * text2.C (getCursorX): new helper function
10142         (setCursor): compute also ix_
10143         (setCursorFromCoordinates): set also ix.
10144
10145         * lyxcursor.h: added ix_ and helper functions.
10146
10147         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10148
10149         * buffer.C (insertStringAsLines): dont break paragraph if the this
10150         paragraph is inside an inset which does not permit it!
10151
10152         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10153         also with no chars on this paragraph.
10154         (paintRowText): only paint stuff if it's inside the workarea!
10155
10156         * paragraph.C (breakParagraph): honor keepempty flag and break the
10157         paragraph always below not above.
10158
10159         * BufferView2.C (unlockInset): update the paragraph layout on inset
10160         unlock as we changed paragraph in such a case.
10161
10162         * lyxfind.C (LyXFind): clear the former selection if not found!
10163
10164         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10165         again called in insertChar().
10166
10167         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10168         an inset which uses the whole row!
10169         (rightMargin): ditto.
10170         (insertChar): force a rebreak if we inserted an inset!
10171
10172 2002-03-28  Herbert Voss  <voss@lyx.org>
10173
10174         * lyxlength.[Ch]: add inBP() to get the right PS-point
10175         units (BigPoint). With inPixels we have rounding errors
10176
10177 2002-04-11  Juergen Vigna  <jug@sad.it>
10178
10179         * text2.C (setCursorFromCoordinates): set iy to the right value.
10180         (setCursor): add check if row->previous exists!
10181
10182         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10183         an old float_type as this was the case in the old code!
10184
10185         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10186
10187         * BufferView2.C (showLockedInsetCursor): use iy
10188         (fitLockedInsetCursor): ditto
10189
10190         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10191         locked insets as there we have the right value now.
10192
10193         * lyxcursor.C: added iy_ variable and iy functions to set to the
10194         baseline of cursor-y of the locked inset.
10195
10196         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10197         (setCursor): fixed for insets which need a full row.
10198
10199         * text.C (rowLastPrintable): don't ignore the last space when before
10200         an inset which needs a full row.
10201         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10202         as last character of a row when before a inset which needs a full row.
10203
10204 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10205
10206         * version.C.in: update date
10207
10208         * text2.C (fullRebreak): try to always return true and see what
10209         happens...
10210
10211 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10212
10213         * MenuBackend.C (expand): use Floating::listName
10214
10215         * FloatList.C (FloatList): add listName argument to the built-in
10216         floats
10217
10218         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10219         text associated with the float.
10220
10221 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10222
10223         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10224
10225 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10226
10227         * ShareContainer.h: add a couple of missing typenames.
10228
10229 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10230
10231         * lyxrc.C (getDescription): use _() correctly rather than N_().
10232
10233 2002-03-28  Herbert Voss  <voss@lyx.org>
10234
10235         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10236         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10237
10238 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10239
10240         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10241         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10242
10243 2002-03-29  Juergen Vigna  <jug@sad.it>
10244
10245         * lyxfunc.C (dispatch): add a missing fitCursor call.
10246
10247         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10248         it was scrolled by a cursor move, so return the bool status.
10249
10250         * BufferView.C (fitCursor): return the bool flag also to the outside
10251         world as this is needed.
10252
10253         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10254
10255         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10256         call the edit() as it is not needed (and wrong) IMO.
10257         (workAreaButtonPress): set the screen_first variable before evt.
10258         unlock the inset as this may change screen_first and then we have
10259         a wrong y position for the click!
10260
10261 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10262
10263         * MenuBackend.C (expand): another translation that I missed
10264
10265 2002-03-28  Juergen Vigna  <jug@sad.it>
10266
10267         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10268
10269         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10270
10271 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10272
10273         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10274
10275         * MenuBackend.C (expand): fix export/view/update when there is no
10276         document open.
10277
10278 2002-03-27  Herbert Voss  <voss@lyx.org>
10279
10280         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10281         and text%
10282
10283 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10284
10285         * bufferview_funcs.C (currentState): only show paragraph number
10286         for is DEVEL_VERSION is set.
10287
10288         * lyxfunc.C (dispatch): put warning in INFO channel
10289
10290         * MenuBackend.C (expand): translate the name of floats
10291
10292         * FloatList.C (FloatList): mark the float names for translation
10293
10294         * converter.C (convert): use LibScriptSearch
10295
10296 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10297
10298         * MenuBackend.C (defaults): fix default menu (we might as well get
10299         rid of it...)
10300
10301 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10302
10303         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10304         directory.
10305
10306 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10307
10308         * lyxvc.C: reorder includes.
10309
10310 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10311
10312         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10313           properly
10314
10315 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10316
10317         * CutAndPaste.C: change layouts earlier on paste
10318           to avoid crashing when calling getFont()
10319
10320 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10321
10322         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10323         irritating #error.
10324
10325 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10326
10327         * WorkArea.C: remove 'Pending' debug message.
10328
10329         * most files: ws cleanup
10330
10331         * buffer.[Ch]: ws changes
10332
10333         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10334
10335 2002-03-21  Juergen Vigna  <jug@sad.it>
10336
10337         * tabular.C (SetMultiColumn): collapse also the contents of the
10338         cells and set the last border right. Added a Buffer const * param.
10339
10340 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10341
10342         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10343         linking or not.
10344
10345 2002-03-19  Juergen Vigna  <jug@sad.it>
10346
10347         * text2.C (clearSelection): reset also xsel_cache.
10348
10349         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10350         where it needs to be called (John tells us to do so too :)
10351         (selectionLost): reset sel_cache.
10352
10353         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10354
10355 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10356
10357         * text2.C (setCursorIntern): put debuging code in INSETS channel
10358
10359 2002-03-19  André Pönitz <poenitz@gmx.net>
10360
10361         * lyxfunc.C: tiny whitespace change
10362
10363 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10364
10365         * ToolbarDefaults.C (init):
10366         * LyXAction.C (init):
10367         * commandtags.h:
10368         * BufferView_pimpl.C (Dispatch):
10369         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10370
10371 2002-03-19  Allan Rae  <rae@lyx.org>
10372
10373         * exporter.C (Export): removeAutoInsets before doing anything else.
10374         While I've just introduced a dependency on BufferView this really is
10375         the best place to clean the buffer otherwise you need to cleanup in
10376         a dozen places before calling export or cleanup in a dozen functions
10377         that export calls.
10378
10379         * converter.C (runLaTeX):
10380         (scanLog): Better handling of removeAutoInsets and screen updates.
10381
10382         * lyxfunc.C (dispatch): small whitespace changes
10383
10384 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10385
10386         * WorkArea.C (C_WorkAreaEvent): return a value.
10387         (event_cb): return 1 if we handled the event, 0 otherwise.
10388
10389         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10390
10391 2002-03-18  Juergen Vigna  <jug@sad.it>
10392
10393         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10394         (GetAdditionalWidth): ditto.
10395         (RightLine): ditto.
10396         (LeftLine): ditto.
10397
10398         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10399         inset if we're there actually (probably not used right now but this
10400         is the direction to go for unifying code).
10401         (paste): disable code to clear the selection.
10402
10403         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10404         inside an InsetText and move the check further up as it is in the
10405         wrong place.
10406
10407         * text2.C (pasteSelection): set a selection over the pasted text.
10408
10409 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10410
10411         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10412         and libgraphics to build on Cygwin.
10413
10414 2002-03-15  Juergen Vigna  <jug@sad.it>
10415
10416         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10417         inserting an Inset into the paragraph. I know this is not the best
10418         fix but we already use current_view in CutAndPaste so we will remove
10419         all of it's using at the same time.
10420
10421         * buffer.C (sgmlError): deactivated function till it is rewritten in
10422         the right mode, now it can create problems.
10423
10424         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10425         before accessing it.
10426
10427 2002-03-14  Juergen Vigna  <jug@sad.it>
10428
10429         * undo_funcs.C (textHandleUndo): do the right thing when updating
10430         the inset after the undo/redo.
10431
10432         * text2.C (setCursor): just some testcode for #44 not ready yet.
10433
10434         * undo_funcs.C (textHandleUndo): set the next() and previous()
10435         pointers of the paragraph to 0 before deleting otherwise we have
10436         problems with the Paragraph::[destructor].
10437
10438         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10439         on a paragraph insertion.
10440
10441 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10442
10443         * buffer.C (asciiParagraph): use += operator for char append to
10444         string.
10445
10446         * paragraph.C (getFontSettings): compare >= not just >
10447         (highestFontInRange): ditto
10448         (setFont): ditto
10449
10450 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10451
10452         * paragraph.C: change several algorithm to be more appripriate for
10453         the problem domain. This is lookip in FontList and in the InsetList.
10454
10455 2002-03-13  André Pönitz <poenitz@gmx.net>
10456
10457         * commandtags.h:
10458         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10459
10460 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10461
10462         * commandtags.h:
10463         * LyXAction.C:
10464         * lyxfunc.C:
10465         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10466
10467 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10468
10469         * Painter.C (display): anon helper function, adjust code for this
10470         change.
10471         (pixmap): remove function.
10472
10473         * Painter.h: remove private display variable.
10474
10475         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10476
10477 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10478
10479         * WorkArea.[Ch]: remove figinset_canvas cruft.
10480
10481 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10482
10483         * lyxtextclass.C (operator): add one item cache optimization.
10484
10485         * bufferlist.h: doxy changes
10486
10487         * bufferlist.C: ws changes
10488
10489         * DepTable.[Ch] (ext_exist): place const in the right spot.
10490
10491         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10492         call resizeInsets.
10493         (workAreaExpose): call resizeInsets when the with BufferView changes.
10494         (Dispatch): adjust for protectedBlank removal
10495         (specialChar): call updateInset if the insert went ok.
10496
10497         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10498         specialChar instead.
10499
10500         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10501
10502         * BufferView.h: doxy change
10503
10504         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10505
10506         * lyxtextclass.C (operator[]): remove non-const version
10507         (defaultLayout): remove non-const version
10508
10509 2002-03-12  Juergen Vigna  <jug@sad.it>
10510
10511         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10512         did resize the LyXText too.
10513
10514         * buffer.C (readLyXformat2): set layout information on newly allocated
10515         paragraphs.
10516
10517         * tabular.C (OldFormatRead): set layout information on the paragraph.
10518
10519 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10520
10521         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10522
10523 2002-03-11  Juergen Vigna  <jug@sad.it>
10524
10525         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10526         plainly wrong.
10527         (resizeCurrentBuffer): force also the insets to resize themselfes.
10528         (moveCursorUpdate): fixed up for InsetText.
10529
10530 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10531
10532         * commandtags.h:
10533         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10534         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10535         value of Dialogs::tooltipsEnabled().
10536         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10537
10538 2002-03-08  Juergen Vigna  <jug@sad.it>
10539
10540         * BufferView_pimpl.C (updateInset): update inset inside inset also
10541         if it isn't inside theLockingInset().
10542
10543 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10544
10545         * buffer.C (asciiParagraph): redo some of the word and line length
10546         handling.
10547         (getLists): look for Caption instead of caption.
10548
10549 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10550
10551         * buffer.C (Buffer): initialize niceFile to true
10552         (makeLaTeXFile):
10553         (makeLinuxDocFile):
10554         (makeDocBookFile): make sure niceFile is true on exit
10555
10556 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10557
10558         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10559
10560 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10561
10562         * LyXSendto.C: remove.
10563         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10564         * lyx_gui.C: remove now-redundant comment.
10565         * ColorHandler.h: remove forward declaration of class WorkArea.
10566         * lyxfunc.C: remove #include "WorkArea.h".
10567
10568 2002-03-07  Juergen Vigna  <jug@sad.it>
10569
10570         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10571         got moved away with the DEPM and also set the inset_owner always
10572         right which before could have been omitted.
10573
10574 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10575
10576         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10577         wanted layout is not found.
10578
10579 2002-03-07  Juergen Vigna  <jug@sad.it>
10580
10581         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10582
10583 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10584
10585         * paragraph.C (breakParagraph): use default layout not layout of
10586         prev paragraph.
10587         (Paragraph): clear ParagraphParameters.
10588
10589 2002-03-06  Juergen Vigna  <jug@sad.it>
10590
10591         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10592         otherwise it would not be a valid lenght. Fixed a special case in
10593         the minipage compatibility read where we end the document with a
10594         minipage.
10595
10596         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10597         was set as it could be 0 for InsetTexts first entry.
10598
10599 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10600
10601         * paragraph.C (writeFile): if layout is empty write out
10602         defaultLayoutName().
10603
10604         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10605         file without named layout we set layout to defaultLayoutName().
10606
10607 2002-03-06  Juergen Vigna  <jug@sad.it>
10608
10609         * CutAndPaste.C (copySelection): set layout for new paragraph.
10610
10611         * text.C (prepareToPrint): leave ERT inset left aligned
10612         (leftMargin): don't indent paragraphs inside ERT insets
10613
10614 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10615
10616         * paragraph.C (breakParagraph): dont call clear do the work manually
10617
10618         * paragraph.[Ch] (clear): remove function
10619
10620 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10621
10622         * paragraph.C (Paragraph): dont call clear, the work has already
10623         been done.
10624
10625         * lyxtextclass.C (operator): assert if n is empty
10626
10627         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10628         work manually instead.
10629
10630 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10631
10632         * BufferView_pimpl.C: protect selectionLost against text == 0
10633
10634 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10635
10636         * text.C (breakParagraph): fix a setting layout to '0' problem.
10637
10638 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10639
10640         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10641         final location of file, for the included files, and graphics.
10642
10643 2002-03-05  Juergen Vigna  <jug@sad.it>
10644
10645         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10646
10647 2002-03-04  Juergen Vigna  <jug@sad.it>
10648
10649         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10650
10651         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10652         last column of multicolumn cells.
10653         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10654
10655 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10656
10657         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10658         file if it doesn't go to a temporary file.
10659
10660         * buffer.C (sgmlOpenTag):
10661         (sgmlCloseTag):  remove extra newline insertion.
10662
10663 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10664
10665         * text.C (getRowNearY): comment out debug msg
10666
10667 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10668
10669         * text2.C: first -> first_y
10670
10671         * text.C (getRowNearY): add some attemts at a possible
10672         optimization, not working.
10673
10674         * tabular.[Ch]: add BufferParams to several function so that newly
10675         created paragraph can be initialized to he default layotu for the
10676         buffers textclass.
10677
10678         * tabular-old.C (ReadOld): add buf->params to call of Init
10679
10680         * screen.C: rename text->first to text->first_y
10681
10682         * paragraph.C (breakParagraph): always set layout in the broken
10683         paragraph
10684
10685         * lyxtextclass.C (Read): remove lowercase
10686         (hasLayout): ditto
10687         (operator): ditto
10688         (delete_layout): ditto
10689
10690         * lyxtext.h: rename first -> first_y
10691
10692         * lyxlayout.C (Read): remove lowercase
10693         (name): ditto
10694         (setName): ditto
10695         (obsoleted_by): ditto
10696
10697         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10698
10699         * buffer.C (insertErtContents): add params are to InsetERT
10700         (parseSingleLyXformat2Token): add code to check if a paragraphs
10701         layout really exist.
10702         (parseSingleLyXformat2Token): add params to several inset
10703         constructors
10704         (asciiParagraph): remove lowercase, do the layout comparisons with
10705         no_case
10706
10707         * BufferView_pimpl.C (cursorNext): first -> first_y
10708         (resizeCurrentBuffer): first -> first_y
10709         (updateScrollbar): first -> first_y
10710         (scrollCB): first -> first_y
10711         (workAreaMotionNotify): first -> first_y
10712         (workAreaButtonPress): first -> first_y
10713         (checkInsetHit): first -> first_y
10714         (cursorPrevious): first -> first_y
10715         (cursorNext): first -> first_y
10716         (Dispatch): add buffer_->params to severl inset contructors
10717
10718 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10719
10720         * lyxlayout.C (Read): remove some debug info that I forgot.
10721
10722         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10723         clean up the code slightly.
10724         (makeLinuxDocFile): ditto
10725         (makeDocBookFile): ditto
10726
10727         * text2.C: layout as string
10728
10729         * text.C: layout as string
10730
10731         * paragraph_pimpl.C: layout as string
10732
10733         * paragraph.[Ch]: layout as string
10734
10735         * lyxtextclasslist.[Ch]: layout as string
10736
10737         * lyxtextclass.[Ch]: layout as string
10738
10739         * lyxtext.h: layout as string
10740
10741         * lyxlayout.[Ch]: layout as string
10742
10743         * lyx_cb.C: layout as string
10744
10745         * bufferview_funcs.C: layout as string
10746
10747         * bufferparams.C: layout as string
10748
10749         * buffer.C: layout as string
10750
10751         * LyXView.[Ch]: layout as string
10752
10753         * LaTeXFeatures.[Ch]: layout as string
10754
10755         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10756
10757         * BufferView_pimpl.C: change current_layout to string, remove
10758         lyx::layout_type.
10759         (Dispatch):
10760         (smartQuote):
10761         (insertInset):
10762         (workAreaButtonRelease): layout as string
10763
10764         * BufferView2.C (unlockInset): adjust
10765
10766         * vspace.C (asLatexCommand): use an explict temp variable.
10767
10768 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10769
10770         * Makefile.am: use FRONTEND_*
10771
10772 2002-03-01  Juergen Vigna  <jug@sad.it>
10773
10774         * tabular.C (SetWidthOfMulticolCell): changed to something better
10775         I hope but still work in progress.
10776         (recalculateMulticolumnsOfColumn): renamed function from
10777         recalculateMulticolCells as it is more appropriate now.
10778         (SetWidthOfCell): calculate multicols better.
10779
10780 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10781
10782         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10783
10784         * lyxfunc.C (processKeySym): print sequence also if it is
10785         `deleted' (complete)
10786
10787         * kbsequence.C (print): print sequence even if it is deleted
10788         (complete would be a better word, actually).
10789
10790         * lyxfunc.C (dispatch): print complete options after a prefix key
10791
10792         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10793
10794 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10795
10796         * text2.C (setCharFont): eliminate setCharFont code duplication.
10797
10798 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10799
10800         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10801         LFUN_TABULAR_FEATURE (bug #177)
10802
10803 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10804
10805         * Makefile.am: remove figure.h
10806
10807 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10808
10809         * Bufferview_pimpl.C:
10810         * CutAndPasteC:
10811         * LaTeX.C:
10812         * LyXSendto.C:
10813         * buffer.C:
10814         * bufferlist.C:
10815         * converter.C:
10816         * language.C:
10817         * lyxfunc.C:
10818         * lyxvc.C:
10819         * paragraph.C:
10820         * text.C:
10821         * text2.C: remove #include "lyx_gui_misc.h".
10822
10823         * LaTeX.C: added #include <cstdio>
10824
10825 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10826
10827         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10828         that the paragraph following this one can have.
10829
10830         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10831
10832         * vspace.C (asLatexCommand): fix bogus gcc warning
10833
10834         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10835
10836 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10837
10838         * text2.C (setLayout): get rid of redundant code
10839
10840 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10841
10842         * text2.C (incDepth): make sure depth cannot be increased beyond
10843         reasonable values.
10844
10845 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10846
10847         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10848         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10849
10850         * PainterBase.h (image):
10851         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10852         a LyXImage const *.
10853
10854 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10855
10856         * BufferView.C:
10857         * BufferView.h:
10858         * BufferView_pimpl.C:
10859         * BufferView_pimpl.h:
10860         * LaTeXFeatures.C:
10861         * LyXAction.C:
10862         * LyXView.C:
10863         * Makefile.am:
10864         * UpdateList.h:
10865         * UpdateList.C:
10866         * buffer.C:
10867         * figure.h:
10868         * figureForm.C:
10869         * figureForm.h:
10870         * figure_form.C:
10871         * figure_form.h:
10872         * lyx_cb.C:
10873         * lyx_gui.C:
10874         * lyx_gui_misc.C:
10875         * lyxfunc.C:
10876         * sp_base.h:
10877         * sp_ispell.h:
10878         * sp_pspell.h:
10879         * sp_spell.C: remove fig inset, and the crap house of
10880           cards that follows it
10881
10882 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10883
10884         * Makefile.am:
10885         * lyxserver.C:
10886         * os2_defines.h:
10887         * os2_errortable.h:
10888         * nt_defines.h: move .h into support/
10889
10890         * vms_defines.h: remove
10891
10892         * WorkArea.C: add space in debug output
10893
10894         * text2.C:
10895         * paragraph.C:
10896         * buffer.C: add WITH_WARNINGS
10897
10898         * vc-backend.h:
10899         * vc-backend.C:
10900         * bufferlist.C: s/retrive/retrieve/, add docs
10901
10902         * vspace.h:
10903         * vspace.C:
10904         * kbmap.h:
10905         * lyxlength.h:
10906         * lyxgluelength.h:
10907         * length_common.h:
10908         * chset.h:
10909         * chset.C: add docs
10910
10911         * lyxgui.C: add ID to X error handler
10912
10913         * lyxtestclass.c: fix typo
10914
10915 2002-02-26  Juergen Vigna  <jug@sad.it>
10916
10917         * tabular_funcs.C (write_attribute): changed so that some default
10918         attributes are not written at all.
10919         (getTokenValue): set default values before trying to read the
10920         value so we have the return value always set as default if we don't
10921         find the token we search for.
10922
10923         * tabular.C (Write): write bools as bools not as strings!
10924
10925 2002-02-22  Juergen Vigna  <jug@sad.it>
10926
10927         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10928         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10929
10930         * text.C (leftMargin): don't add an indent for paragraphs inside
10931         tabular cells (fix #208).
10932
10933 2002-02-21  José Matos  <jamatos@fep.up.pt>
10934
10935         * tabular.C (docBook): fixed support for long tables.
10936
10937 2002-02-20  Juergen Vigna  <jug@sad.it>
10938
10939         * text2.C (getFont): get the drawing font of the Inset if this
10940         paragraph is inside an inset (only important for InsetERT for now).
10941
10942         * buffer.C (insertErtContents): use new lanugage params in ERT
10943         constructor.
10944
10945         * CutAndPaste.C: commenting out seemingly uneeded code.
10946
10947 2002-02-19  Allan Rae  <rae@lyx.org>
10948
10949         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10950         Iterators might be simple to use but they also get invalidated.
10951         (removeAutoInsets): renamed saved cursor tracking variables and added
10952         some comments to clarify what everything does.
10953
10954 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10955
10956         * Chktex.C:
10957         * LaTeX.C:
10958         * LyXSendto.C:
10959         * converter.C:
10960         * lyx_cb.C:
10961         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10962         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10963
10964         * lyxfunc.C:
10965         * vc-backend.h: remove #include "support/syscall.h"
10966
10967         * LaTeX.C:
10968         * LyXSendto.C:
10969         * converter.C: rearrange #includes in Lars' approved fashion.
10970
10971         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10972         forward declare class Timeout in the header file.
10973
10974         * XFormsView.C: changes due to the above.
10975
10976         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10977         similar to LyXView.
10978
10979         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10980         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10981
10982 2002-02-18  José Matos  <jamatos@fep.up.pt>
10983
10984         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10985         insets contents.
10986
10987 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10988
10989         * a lot of small ws changes
10990         * add a lot of using std::XXX
10991         * use std construcs some places where approp.
10992         * use some exisint stuff from lyxfunctional where approp.
10993         * Make file changes to use partial linking (lets test this now...)
10994
10995 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10996
10997         * Chktex.C:
10998         * buffer.C:
10999         remove #include "support/syscontr.h" as it's redundant. Always has been.
11000
11001         * Chktex.C:
11002         * LaTeX.C:
11003         * LyXSendto.C:
11004         * converter.C:
11005         * lyx_cb.C:
11006         * vc-backend.C:
11007         change Systemcalls::System to Systemcalls::Wait and
11008         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11009         No change of functionality, just reflects the stripped down Systemcalls
11010         class.
11011
11012 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11013
11014         * debug.[Ch]: add a GRAPHICS type to the enum.
11015
11016 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11017
11018         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11019
11020         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11021         there is an inset.
11022
11023 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11024
11025         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11026         match the changes below.
11027
11028         * text2.C (toggleInset): if there is not editable inset at cursor
11029         position, try to see if cursor is _inside_ a collapsable inset
11030         and close it.
11031
11032 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11033
11034         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11035         document menu has a nice checkbox
11036
11037 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11038
11039         * lyxlength.C (asLatexString): change PW to output as percent of
11040         \textwidth.
11041
11042         * lengthcommon.C: change '%' to 't%'
11043
11044         * lyxfunc.C (dispatch): a few comments from Martin
11045
11046 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11047
11048         * WorkArea.h:
11049         * WorkArea.C:
11050         * BufferView_pimpl.h:
11051         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11052           the X selection.
11053
11054 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11055
11056         * vspace.C (inPixels): fix compiler warning
11057
11058 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11059
11060         * lyxfunc.C (getStatus): fix status message for disabled commands.
11061
11062 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11063
11064         * BufferView_pimpl.C: fix crash on close buffer
11065         during selection (#227)
11066
11067 2002-01-27  Herbert Voss  <voss@lyx.org>
11068
11069         * buffer.C: link old Figure to new graphic inset
11070
11071 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11072
11073         * FontLoader.C (getFontinfo): Change the latex font names in order
11074         to match the names of type1inst.
11075
11076 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11077
11078         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11079
11080         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11081         (extchanged): ditto
11082         (ext_exist): ditto
11083         (remove_files_with_extension): ditto
11084         (remove_file): ditto
11085         (write): ditto
11086
11087         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11088         document is smaller than the work area height. Do not initialize
11089         static variables to 0.
11090
11091 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11092
11093         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11094
11095         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11096         LFUN_LAYOUT_PARAGRAPHS.
11097
11098         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11099         tabular. It is possible to provide a possible cell, which will
11100         typically be the actcell from the corresponding insettabular
11101
11102         * lyxfunc.C (getStatus): small cleanup; disable
11103         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11104         true
11105
11106 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11107
11108         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11109
11110         * paragraph.C (startTeXParParams):
11111         (endTeXParParams): new methods. The LaTeX code to
11112         start/end paragraph formatting
11113         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11114         empty (fixes bug #200)
11115
11116         * vspace.C (inPixels): adapt to the change below
11117         (inPixels): [later] more cleanups (remove unused variables)
11118
11119         * lyxlength.C (inPixels): change to use a width and a height as
11120         parameter.
11121
11122 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11123
11124         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11125         Replaced with \paperwidth
11126
11127         * DepTable.C (insert): add std:: qualifier
11128
11129 2002-01-18  Allan Rae  <rae@lyx.org>
11130
11131         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11132         updated also?
11133
11134         * text.C (drawInset): Turned out I didn't know enough about how
11135         rebreaking worked.  This fixes most of the redraw problems.  I see
11136         an occasional cursor trail when a line is broken now and the cursor
11137         placement can seem out by a few pixels also after a rebreak.
11138
11139 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11140
11141         * buffer.C (parseSingleLyXformat2Token): update because minipage
11142         width is now a LyXLength
11143
11144         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11145
11146         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11147         math insets
11148
11149 2002-01-17  Juergen Vigna  <jug@sad.it>
11150
11151         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11152
11153         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11154         is set correctly and the inset is updated correctly.
11155
11156 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11157
11158         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11159         the beginning of the loop.
11160
11161 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11162
11163         * lyxrc.C: improve help for use_scalable_fonts
11164
11165 2002-01-17  Allan Rae  <rae@lyx.org>
11166
11167         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11168
11169 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11170
11171         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11172         make sure to set their inset_owner to the right value (bug #171)
11173
11174 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11175
11176         * DepTable.h
11177         * DepTable.C: Implement mtime checking to reduce time spent doing
11178         CRCs.
11179
11180 2002-01-16  Juergen Vigna  <jug@sad.it>
11181
11182         * tabular.C (GetAdditionalHeight): one of error fixed.
11183
11184         * lyxrc.C (output): small fix in writing use_pspell.
11185
11186 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11187
11188         * sp_base.h: #include LString.h
11189
11190 2002-01-16  Allan Rae  <rae@lyx.org>
11191
11192         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11193         Can someone check this please?
11194
11195         * text.C (drawInset): It was possible that p.row would be removed by
11196         breakAgainOneRow upsetting a few other settings.  There may be another
11197         small tweak possible by setting need_break_row = 0 when p.row has been
11198         removed but I don't know enough about the logic here.
11199
11200 2002-01-15  Allan Rae  <rae@lyx.org>
11201
11202         * text.C (insertChar): removed conditional truism.
11203
11204         * BufferView2.C (removeAutoInsets): More tweaks.
11205         cur_par_prev could be a stray pointer.  Check for trailing empty line
11206         in case last line was cur_par and only had an error inset on it.
11207
11208 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11209
11210         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11211         absolute
11212
11213         * vc-backend.C (most methods):
11214         * exporter.C (Export):
11215         * converter.C (convert):
11216         (runLaTeX):
11217         * LyXSendto.C (SendtoApplyCB):
11218         * lyxfunc.C (dispatch):
11219         (menuNew):
11220         (open):
11221         (doImport):
11222         * lyx_cb.C (AutoSave):
11223         (InsertAsciiFile):
11224         * BufferView_pimpl.C (MenuInsertLyXFile):
11225         * buffer.C (runChktex): use Buffer::filePath().
11226
11227         * buffer.h: rename filename to filename_; rename filepath to
11228         filepath_ and make it private
11229         (filePath): new method
11230
11231         * buffer.C (writeFile): use fileName()
11232         (getLatexName):
11233
11234         * lyx_main.C (init): fix starting  of LyX when the binary is a
11235         link from so,ewhere else.
11236
11237         * minibuffer.C: include <cctype> for isprint
11238
11239 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11240
11241         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11242         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11243         name clash with InsetCollapsable's width function.
11244
11245 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11246
11247         * lastfiles.C: include <iterator>
11248
11249 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11250
11251         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11252         std::count.
11253
11254         * buffer.C (makeLaTeXFile): ditto.
11255         Also make loop operation more transparent.
11256
11257 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11258
11259         * ToolbarDefaults.C: remove trailing comma closing namespace.
11260
11261         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11262
11263         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11264         as in WorkArea.
11265
11266         * trans.C (Load): comment out unused variable, allowed.
11267
11268 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11269
11270         * minibuffer.[Ch] (append_char): new method to recieve input from the
11271         drop-down completion browser. If a key was pressed, then recieve this
11272         char and append it to the existing string.
11273         (peek_event): modify the positioning data passed to the completion
11274         browser so that it can be placed above the minibuffer rather than below.
11275 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11276
11277         * LyXAction.C (init): alloe error-next for readonly documents.
11278
11279         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11280         count.
11281
11282 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11283
11284         * bufferlist.C (readFile): create the buffer _after_ checking that
11285         the file exists.
11286
11287         * lyxfunc.C (verboseDispatch): fix handling of arguments
11288
11289         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11290
11291         * lyxrc.C: use string::erase() instead of initializing to "".
11292
11293
11294 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11295
11296         * BufferView_pimpl.h:
11297         * BufferView_pimpl.C:
11298         * WorkArea.h:
11299         * WorkArea.C:
11300         * text2.C: tell X when we have made a selection for copying
11301
11302 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11303
11304         * BufferView_pimpl.C (MenuInsertLyXFile):
11305         * lyxfunc.C (menuNew):
11306         (open):
11307         (doImport): add shortcuts to directory buttons
11308
11309         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11310         open a float)
11311
11312         * lyxfunc.C (setStatusMessage):
11313         (getStatusMessage): new methods
11314         (getStatus):use setStatusMessage instead of setErrorMessage
11315         (dispatch): when function is disabled, set error message here
11316         [instead of in getStatus previously]
11317
11318         * BufferView_pimpl.C (workAreaButtonRelease): update
11319         toolbar/menubar here too.
11320
11321 2002-01-13  Allan Rae  <rae@lyx.org>
11322
11323         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11324         Now seems indestructible.  Remaining task is to audit all other
11325         code affected by deleteEmptyParagraphMechanism.  One small quirk
11326         left is that an empty document with an error in the preamble can
11327         be made to report an error but no error box appears.  I don't know
11328         where it goes.
11329         (removeAutoInsets): Improved comments.
11330
11331 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11332
11333         * Thesaurus.h:
11334         * Thesaurus.C: update for Aiksaurus 0.14
11335
11336 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11337
11338         * text2.C (firstParagraph): removed member function, all uses
11339         replaces with ownerParagraph
11340         (redoParagraphs): here
11341         (updateInset): here
11342         (toggleAppendix): here
11343         * BufferView2.C (insertErrors): here
11344         (setCursorFromRow): here
11345
11346 2002-01-13  Allan Rae  <rae@lyx.org>
11347
11348         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11349         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11350         There is still a way to segfault this although you may have to do this
11351         multiple times: Have an InsetERT with an unknown command in it.
11352         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11353         <down-arrow>, <Enter> again, View->DVI, BANG!
11354
11355         * text2.C (setCursor):
11356         (deleteEmptyParagraphMechanism):
11357         * lyxtext.h (setCursor):
11358         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11359         Making use of the return value may help fix other bugs.
11360
11361 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11362
11363         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11364
11365         * LyXView.C (updateMenubar): call MenuBar::update here
11366         (updateToolbar): but not here
11367         (showState): do not update toolbar/menubar
11368
11369         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11370         should need to care about that.
11371
11372         * lyxfunc.C (verboseDispatch): simplify a bit
11373         (getStatus): have a version which takes a pseudoaction, and
11374         another which requires a (kb_action,string).
11375
11376         * LyXAction.C (retrieveActionArg): make it work also when action
11377         is not a pseudo-action.
11378         (getActionName): simplify a bit
11379         (helpText):
11380
11381 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11382
11383         * lyxfunc.C (verboseDispatch): new families of methods with
11384         several ways to specify a command and a bool to indicate whether
11385         the command name and shortcut should be displayed in minibuffer
11386         (eventually, we could extend that to a finer bitmask like
11387         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11388         (dispatch): the pristine dispatch command which just, well,
11389         dispatchs! Note it still sets its result to minibuffer; I'm not
11390         sure we want that.
11391
11392         * lyxfunc.h: remove setHintMessage
11393
11394         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11395
11396 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11397
11398         * BufferView_pimpl.C (specialChar): delete new inset if we have
11399         not been able to insert it.
11400
11401         * kbmap.C: revert to using int instead of kb_action, since all we
11402         are dealing with is pseudo-actions.
11403
11404         * LyXAction.C (searchActionArg): change to return int instead of
11405         kb_action, since the result is a pseudoaction.
11406
11407 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11408
11409         * buffer.C (insertErtContents): Fix (partially) the font bug.
11410
11411 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11412
11413         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11414         as the other one is broken on my machine!
11415
11416 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11417
11418         * commandtags.h:
11419         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11420
11421 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11422
11423         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11424         reflect their actual use. Provide compatibility code for older lyxrc
11425         files.
11426
11427         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11428         FL_NORMAL_STYLE.
11429         change names of popup font variables in line with the changes to lyxrc.C
11430
11431 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11432
11433         * buffer.C (asciiParagraph): avoid outputing a word twice after
11434         an inset.
11435
11436         * lyxrc.C (getDescription): document that document_path and
11437         template_path can be empty.
11438
11439 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11440
11441         * LaTeXFeatures.C (getMacros):
11442         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11443
11444         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11445
11446         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11447         getPackages.
11448         (getPackages): rename feature "floats" to "float". Use an array to
11449         iterate over 'simple' features (i.e. just a \usepackage). Add
11450         handling of "amsmath" (renamed from "amsstyle").
11451
11452 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11453
11454         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11455         features list.
11456
11457 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11458
11459         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11460         FuncStaus::FuncStatus & FuncStaus::some_method().
11461
11462 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11463
11464         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11465         of the func_satus stuff. Edited and massaged in various ways by
11466         JMarc.
11467
11468         * lyxfunc.C (getStatus): use FuncStatus
11469
11470 2002-01-08  Juergen Vigna  <jug@sad.it>
11471
11472         * text.C (nextBreakPoint): use function Inset::isChar().
11473
11474         * paragraph.C (TeXOnePar): use function
11475         Inset::forceDefaultParagraphs.
11476
11477         * buffer.C (latexParagraphs): use function
11478         Inset::forceDefaultParagraphs.
11479
11480 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11481
11482         * lyx_gui.C (init): set the style of the menu popups to
11483         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11484
11485 2002-01-07  Juergen Vigna  <jug@sad.it>
11486
11487         * text.C (setHeightOfRow): small fix
11488         (prepareToPrint): don't look at alignment if we don't have the place
11489         for doing it.
11490
11491 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11492
11493         * box.C: New file. Move the Box methods and functions out of box.h,
11494         following Lars' suggestion.
11495
11496 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11497
11498         * box.h: #include "support/LOstream.h", needed for inlined function.
11499
11500         * lyxtextclass.C:
11501         * lyxtextclasslist.C: added some using std declarations.
11502
11503 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11504
11505         * box.h: make signed dimensions to allow insets wider than
11506           the screen (bug #162)
11507
11508         * BufferView_pimpl.C: add some insetHit debug
11509
11510 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11511
11512         * vc-backend.C: add FIXME
11513
11514 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11515
11516         * lyxfunc.C (getStatus): enable code for showing math font status
11517         in toolbar/menu.
11518
11519 2002-01-07  Juergen Vigna  <jug@sad.it>
11520
11521         * text.C (nextBreakPoint): removed debug output not needed anymore.
11522
11523 2002-01-06  Juergen Vigna  <jug@sad.it>
11524
11525         * text.C (nextBreakPoint): fixed up this function we had this bug
11526         since ever but now hopefully we break row better.
11527         (insertChar): we have to check if an inset is the next char as it
11528         could now happen that a large inset is causing a break.
11529
11530 2002-01-05  Juergen Vigna  <jug@sad.it>
11531
11532         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11533         if it doesn't like to be drawed.
11534
11535 2002-01-04  Juergen Vigna  <jug@sad.it>
11536
11537         * BufferView2.C (lockInset): forgot to set a cursor.
11538
11539         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11540
11541 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11542
11543         * FormMathsPanel.C:
11544         * FormMathsPanel.h
11545         * MathsSymbols.C:
11546         * form_maths_panel.C:
11547         * form_maths_panel.h:
11548         * form_maths_panel.fd: implemented sub- and super- buttons in math
11549         panel.
11550
11551         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11552         (or ^ space) to be used as in TeX (req'd by André).
11553
11554         * lyxfunc.C: Allow ^ and _ again to be used both as
11555         super/subscript (mathed) and as themselves (in text).
11556
11557 2002-01-03  Allan Rae  <rae@lyx.org>
11558
11559         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11560         "LyX" or the filename of the current buffer if it has one.  This is a
11561         modified form of John Levon's patch.
11562
11563         * XFormsView.C (setWindowTitle): also set icon title.
11564
11565         * LyXView.h (setWindowTitle): signature changed.
11566         * XFormsView.h (setWindowTitle): ditto.
11567
11568 2002-01-02  Juergen Vigna  <jug@sad.it>
11569
11570         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11571
11572 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11573
11574         * screen.C (topCursorVisible): introduce a temp var for
11575         text->cursor.row(), handle the case where this row is null. (kindo
11576         hachish)
11577
11578         * text2.C (setCursor): add a couple of asserts.
11579
11580         * paragraph.h (inset_iterator): add -> operator
11581
11582         * paragraph.[Ch] (autoDeleteInsets): remove member function
11583
11584         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11585         cursor pos correctly and handle inset deletion by itself.
11586         (insertErrors): move iterator declaration out of for expression
11587
11588         * lyxtextclass.C: add <algorithm>
11589
11590         * Makefile.am: added the new files to sources, removed layout.C
11591
11592         * layout.C: removed file
11593
11594         * layout.h: remove LYX_DUMMY_LAYOUT
11595
11596         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11597         layout.
11598
11599         * lyxlayout.[Ch]:
11600         * lyxtextclass.[Ch]:
11601         * lyxtextclasslist.[Ch]: new files
11602
11603         * include order changes to a lot of files, also changes because of
11604         the six new files.
11605
11606 2001-12-27  Juergen Vigna  <jug@sad.it>
11607
11608         * buffer.C (asciiParagraph): more fixes.
11609
11610         * tabular.C (ascii): make ascii export support export of only the
11611         data separated by a column-delimiter.
11612         (ascii): better support for ascii export.
11613
11614         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11615
11616 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11617
11618         * tabular_funcs.C: use a "using std::getline" instead of the
11619         previous fix from Angus (necessary for cxx + lyxstring)
11620
11621 2001-12-24  Juergen Vigna  <jug@sad.it>
11622
11623         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11624
11625         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11626         problems. First check a minipage also if we have some ert-contents
11627         (not only on par->size(), second set the right depth of the paragraph
11628         on the relink to the root-paragraph-list!
11629
11630         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11631         which then did not anymore update the main paragraphs on undo/redo!
11632
11633 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11634
11635         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11636         code. Support all font-changing funcs (even those which are not in
11637         menu currently). Support for reporting font settings in
11638         mathed (disabled until Andre provides a function on mathed's side).
11639
11640         * func_status.h (toggle): small helper function to set toggle
11641         state on a flag.
11642
11643 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11644
11645         * tabular_funcs.C: getline -> std::getline
11646
11647 2001-12-21  Juergen Vigna  <jug@sad.it>
11648
11649         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11650         accessed and could be 0 (I couldn't generate this but it seems
11651         Michael could!).
11652
11653 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11654
11655         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11656         * tabular_funcs.h: here and include iosfwd
11657
11658 2001-12-20  Juergen Vigna  <jug@sad.it>
11659
11660         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11661         inside inset but undo_par was.
11662
11663 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11664
11665         * Thesaurus.C: always include <config.h> in sources.
11666
11667         * Painter.h:
11668         * lyxlookup.h:
11669         * box.h: do not include <config.h> in header files
11670
11671         * text.C (paintLastRow): remove unused variable
11672
11673         * text.C (transformChar):
11674         (insertChar):
11675         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11676
11677         * Painter.C (text):
11678         * font.C (width): rewrite to use uppercase() instead of
11679         islower/toupper.
11680
11681         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11682
11683 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11684
11685         * lyxfind.C: clean up of find failure position change
11686
11687 2001-12-20  Juergen Vigna  <jug@sad.it>
11688
11689         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11690
11691         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11692         (TeXRow): added to LaTeX a single tabular row.
11693         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11694         (Latex): simplified and finally good LT-h/f support.
11695         (various_functions): just small adaptions for LT-h/f support.
11696
11697         * tabular_funcs.[hC]: added and moved here all not classfunctions
11698         of LyXTabular.
11699
11700 2001-12-19  Juergen Vigna  <jug@sad.it>
11701
11702         * tabular.[Ch]: better support for longtabular options (not finished
11703         yet!)
11704
11705 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11706
11707         * text.C (paintLastRow): use the label font instead of the font of
11708         the last character to compute the size of *_BOX. This makes more
11709         sense and avoids a crash with empty paragraphs.
11710         Use Painter::rectangle to draw EMPTY_BOX.
11711
11712 2001-12-19  Juergen Vigna  <jug@sad.it>
11713
11714         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11715         the paragraphs if the replaced paragraph is not the first one!
11716         Tried to delete not used paragraphs but does not work yet so for
11717         now it's inside #ifdef's and by default off!
11718
11719 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11720
11721         * MenuBackend.C: include "lyx_main.h" instead of declaring
11722         lastfiles (actually was declared as LastFiles* instead of a
11723         scoped_ptr).
11724
11725 2001-12-17  Juergen Vigna  <jug@sad.it>
11726
11727         * tabular.C (AppendColumn): applied John's fix
11728
11729 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11730
11731         * BufferView.h:
11732         * BufferView.C:
11733         * BufferView_pimpl.h:
11734         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11735
11736         * Makefile.am:
11737         * box.h: new start of class for above
11738
11739         * lyxfunc.C: ignore space-only minibuffer dispatches.
11740           Show the command name when it doesn't exist
11741
11742         * minibuffer.C: don't add empty lines to the history
11743
11744         * minibuffer.C: add a space on dropdown completion
11745
11746 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11747
11748         * text.C: fix line above/below drawing in insets
11749
11750 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11751
11752         * lyxlength.C (LyXLength): Initialize private variables.
11753
11754 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11755
11756         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11757         when inserting error insets.
11758
11759 2001-12-13  Juergen Vigna  <jug@sad.it>
11760
11761         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11762         actually sometimes the before-paragraph.
11763         (setUndo): don't clear the redostack if we're not actually undoing!
11764
11765 2001-12-06  Juergen Vigna  <jug@sad.it>
11766
11767         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11768         and fixed redoing of main paragraph, so we can use it now ;)
11769
11770         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11771
11772 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11773
11774         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11775         Juergen's request
11776
11777 2001-12-13  André Pönitz <poenitz@gmx.net>
11778
11779         * undostack.[Ch]:
11780         * undo_func.C: minor cleanup
11781
11782 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11783
11784         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11785         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11786         font in urw-fonts package which is marked as -urw-fontspecific and
11787         does not work (incidentally, changing the encoding in the
11788         fonts.dir of this package to -adobe-fontspecific fixes the
11789         problem).
11790
11791         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11792         is a crash when undoing first paragraph (Juergen, please take a
11793         look). THis does not mean the undo fix is wrong, just that it
11794         uncovers problems.
11795
11796         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11797         the (Paragraph*) version when needed instead of duplicating the
11798         code.
11799
11800         * text.C (workWidth): use Inset::parOwner to find out where the
11801         inset has been inserted. This is a huge performance gain for large
11802         documents with lots of insets. If Inset::parOwner is not set, fall
11803         back on the brute force method
11804
11805         * paragraph_pimpl.C (insertInset):
11806         * paragraph.C (Paragraph):
11807         (cutIntoMinibuffer): set parOwner of insets when
11808         inserting/removing them
11809
11810         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11811
11812 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11813
11814         * commandtags.h:
11815         * LyXAction.C:
11816         * lyx_main.C:
11817         * lyxfunc.C:
11818         * mathed/formulabase.C:
11819         * mathed/math_cursor.[Ch]:
11820         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11821
11822
11823 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11824
11825         * lyxlength.[Ch] (operator!=): new function
11826
11827 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11828
11829         * text.C (workWidth): use Inset::parOwner to find out where the
11830         inset has been inserted. This is a huge performance gain for large
11831         documents with lots of insets. If Inset::parOwner is not set, fall
11832         back on the brute force method
11833
11834         * paragraph_pimpl.C (insertInset):
11835         * paragraph.C (Paragraph):
11836         (cutIntoMinibuffer): set parOwner of insets when
11837         inserting/removing them
11838
11839         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11840
11841 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11842
11843         * tabular-old.C (getTokenValue):
11844         * tabular.C (getTokenValue):
11845         (write_attribute): new versions for LyXLength
11846         (everywhere): adjust the use of widths
11847
11848         * tabular.h: change the type of widths from string to LyXLength
11849
11850 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11851
11852         * paragraph.C: fixed missing line number count when exporting
11853         Environments to LaTeX file
11854
11855         * buffer.C: added informational message for checking line numbers.
11856
11857 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11858
11859         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11860         paragraph, do the 'double space' part, but not the 'empty
11861         paragraph' one.
11862
11863         * text.C (workWidth): small optimization
11864         (getLengthMarkerHeight): use minimal size for negative lengths.
11865
11866 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11867
11868         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11869
11870         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11871
11872 2001-12-11  André Pönitz <poenitz@gmx.net>
11873
11874         * FontLoader.C:
11875         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11876
11877 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11878
11879         * text2.C: keep selection on a setFont()
11880
11881 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11882
11883         * lyx_cb.C: another bv->text misuse, from insert label
11884
11885 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11886
11887         * kbsequence.h:
11888         * kbsequence.C: re-instate nmodifier mask
11889
11890 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11891
11892         * lyx_main.h: make lyxGUI private.
11893
11894 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11895
11896         * lyxfind.C: place the cursor correctly on failed search
11897
11898 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11899
11900         * text.C (getLengthMarkerHeight): for small heights, the arrows
11901         are not always on top/bottom of the text
11902         (drawLengthMarker): smaller arrows; take the left margin in
11903         account; draw also vfills.
11904         (paintFirstRow):
11905         (paintLastRow): remove special code for vfill and standard spaces,
11906         since everything is handled in drawLengthMarker now.
11907
11908 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11909
11910         * buffer.C (insertErtContents): try to handle font and language
11911         interaction a bit better.g
11912
11913         * ColorHandler.C (updateColor): change the hash to cover the whole
11914         LColor enum, ws cleanup
11915         (getGCLinepars): ditto
11916         (getGCLinepars): only lookup in the linecache once.
11917
11918 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11919
11920         * iterators.C (operator++): Make the iterator more robust
11921
11922         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11923         (John's patch)
11924         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11925
11926 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11927
11928         * lyxtext.h:
11929         * text.C: better added space drawing
11930
11931 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11932
11933         * LyXView.C:
11934         * BufferView2.C: fix layout combo update on inset unlock
11935
11936 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11937
11938         * Makefile.am: don't compile unused files
11939
11940 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11941
11942         * lyxfunc.C:
11943         * commandtags.h:
11944         * LyXAction.C: remove old LFUN_LAYOUTNO
11945
11946 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11947
11948         * paragraph_pimpl.h:
11949         * paragraph_pimpl.C: isTextAt() doesn't need font param
11950
11951 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11952
11953         * lyxlex.h:
11954         * lyxlex.C: little cleanup
11955
11956 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11957
11958         * BufferView_pimpl.C: fix insertAscii for insets
11959
11960 2001-12-05  Juergen Vigna  <jug@sad.it>
11961
11962         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11963         set the right font on the "multi" paragraph paste!
11964
11965 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11966
11967         * trans_decl.h:
11968         * trans_mgr.[Ch]:
11969         * trans.[Ch]:
11970         * lyxgluelength.C:
11971         * lyxlength.C: remove out-commented code.
11972
11973         * BufferView_pimpl:
11974         * CutAndPaste.C:
11975         * DepTable.C:
11976         * buffer.C:
11977         * chset.C:
11978         * lastfiles.C:
11979         * lyxlex.C:
11980         * lyxlex_pimpl.C:
11981         * lyxserver.C:
11982         * screen.C:
11983         * tabular-old.C:
11984         * tabular.C:
11985         * text.C:
11986         * trans_mgr.C:
11987         * vc-backend.C: change "while(" to "while ("
11988
11989         * lyxlength.[Ch]: add zero function to check if length is zero or
11990         not
11991         * lyxgluelength.C: use it
11992
11993 2001-12-05  Allan Rae  <rae@lyx.org>
11994
11995         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11996         Works for 2.95.3, from what I understand of Garst's reports this should
11997         work for other g++ versions.  We're screwed if the abs(int) definition
11998         changed between bugfix releases of gcc.
11999
12000 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12001
12002         * text.C: fix chapter label offset !
12003
12004 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12005
12006         * lyxtext.h:
12007         * text.C: fix hfill at end of line, clean up
12008
12009 2001-12-04  Juergen Vigna  <jug@sad.it>
12010
12011         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12012         that we force an update of the inset and it's owners if neccessary.
12013
12014 2001-12-03  Juergen Vigna  <jug@sad.it>
12015
12016         * text.C (rowLast): simplified code
12017
12018 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12019
12020         * lyxfunc.C: fix show options on timeout
12021
12022 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12023
12024         * screen.C (topCursorVisible): scroll half a page when the cursor
12025         reached top of bottom of screen
12026
12027 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12028
12029         * minibuffer.C: deactivate on loss of focus
12030
12031 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12032
12033         * vspace.[Ch] (operator!=): add operator.
12034
12035 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12036
12037         * BufferView_pimpl.C: refuse to open an inset when
12038         there's a selection.
12039
12040 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12041
12042         * BufferView_pimpl.C: allow to click on RHS of full row insets
12043
12044 2001-11-30  Juergen Vigna  <jug@sad.it>
12045
12046         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12047         insets for undo reasons.
12048
12049 2001-11-28  André Pönitz <poenitz@gmx.net>
12050
12051         * vspace.[Ch]: cosmetical changes
12052
12053 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12054
12055         * LyXAction.h:
12056         * LyXAction.C:
12057         * lyxfunc.h:
12058         * lyxfunc.C:
12059         * kbmap.h:
12060         * kbmap.C:
12061         * lyxrc.C:
12062         * kbsequence.h:
12063         * kbsequence.C: part re-write of old kb code
12064
12065         * Painter.C:
12066         * WorkArea.C: remove Lgb_bug_find_hack
12067
12068 2001-11-30  José Matos <jamatos@fep.up.pt>
12069
12070         * buffer.C (makeDocBookFile): add a comment to point a hack.
12071         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12072         Fixed a double write of labels.
12073
12074 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12075
12076         * LaTeX.C:
12077         * LaTeX.h Fixed bug in LaTeX class where it would not
12078         re-run latex if no depfiles were changed, but the .dvi was removed.
12079
12080 2001-11-28  André Pönitz <poenitz@gmx.net>
12081
12082         * all the files from the change on 2001/11/26:
12083         use lyx::layout_type instead of LyXTextClass::size_type
12084         use lyx::textclass_type instead of LyXTextClassList::size_type
12085
12086 2001-11-29  Juergen Vigna  <jug@sad.it>
12087
12088         * text.C: added support for paragraph::isFreeSpacing()
12089
12090         * buffer.C: same as above
12091
12092         * paragraph.h: inserted isFreeSpacing() function to enable
12093         FreeSpacing inside InsetERT.
12094
12095         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12096         of the paragraph's in the cut/copy buffer to 0!
12097
12098         * text2.C (removeRow): remove the assert as it can!
12099
12100         * lyxtext.h: added helper function firstRow returning firstrow and
12101         made firstrow private again.
12102
12103         * BufferView2.C (lockInset): don't relock if we're already locked!
12104
12105         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12106         the only paragraph.
12107         (removeRow): added Assert::(firstrow)
12108
12109         * debug.C: forgot to add INSETTEXT here.
12110
12111 2001-11-28  Juergen Vigna  <jug@sad.it>
12112
12113         * sp_spell.C (initialize): changed error text to more general
12114         spellchecker command use (not only ispell!)
12115
12116         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12117
12118         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12119
12120 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12121
12122         * vspace.C: initialise lyxgluelength on failure
12123
12124 2001-11-28  Allan Rae  <rae@lyx.org>
12125
12126         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12127         declaration & definition that looks like a function declaration.
12128
12129 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12130
12131         * BufferView2.C (copy):
12132         (copyEnvironment): do not clear the selection when doing a copy.
12133
12134         * text.C (paintFirstRow): compilation fix
12135
12136 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12137
12138         * tabular.C (Latex): correct line count when writing latex.
12139
12140 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12141
12142         * paragraph_pimpl.h:
12143         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12144           bug a bit
12145
12146 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12147
12148         * text.C:
12149         * LColor.h:
12150         * LColor.C: change vfillline->added_space
12151
12152         * text.C: add markers and text for added space
12153
12154         * vspace.C: fix comment
12155
12156 2001-11-28  André Pönitz <poenitz@gmx.net>
12157
12158         * paragraph.C: whitespace changes
12159         * all the other files from the change on 2001/11/26:
12160         change *::pos_type into lyx::pos_type
12161
12162 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12163
12164         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12165         language of the document when inserting error insets.
12166
12167 2001-11-26  André Pönitz <poenitz@gmx.net>
12168
12169         * BufferView_pimpl.[Ch]:
12170         *       CutAndPaste.C:
12171         * buffer.[Ch]:
12172         * lyxcursor.[Ch]:
12173         * lyxfind.C:
12174         * lyxfunc.C:
12175         * lyxrow.[Ch]:
12176         * paragraph.[Ch]:
12177         * paragraph_pimpl.[Ch]:
12178         * sp_spell.C:
12179         * text.C:
12180         * text2.C: reduce header dependencies, introduce type for positions
12181
12182 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12183
12184         * <various>: change to use Alert.h
12185
12186 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12187
12188         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12189         when encountering an unknown token.
12190         (readLyXformat2): Show an error message if there were unknown tokens.
12191
12192 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12193
12194         * BufferView2.C:
12195         * BufferView_pimpl.C:
12196         * buffer.C:
12197         * paragraph.h:
12198         * text.C:
12199         * text2.C: use par->isInset()
12200
12201 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12202
12203         * paragraph_pimpl.h:
12204         * paragraph_pimpl.C: cleanup
12205
12206 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12207
12208         * text2.C (removeRow):
12209         * text.C (setHeightOfRow): remove useless (and costly) call to
12210         getRow.
12211
12212 2001-11-20  Allan Rae  <rae@lyx.org>
12213
12214         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12215         Now need Inset*::checkInsertChar() to return true for appropriate
12216         cases so that the characters in the minibuffer will actually be
12217         inserted.
12218
12219 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12220
12221         * text.C: change the order of the includes.
12222         (workWidth): initialize it at once.
12223         (workWidth): make maxw unsigned
12224         (setHeightOfRow): remove unused variable (inset)
12225         (selectSelectedWord): remove unused variable (inset)
12226         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12227
12228 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12229
12230         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12231         server is not running.
12232         (openConnection):
12233         (closeConnection): add debug info when server is disabled.
12234
12235         * ColorHandler.C (getGCForeground): send debug message to GUI
12236         channel.
12237
12238         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12239
12240         * kbmap.C (bind): modify because return conventions of
12241         kb_sequence::parse have changed.
12242
12243         * kbsequence.C (parse): only ignore spaces and not any stupid
12244         control character. This avoids tests like s[i] <= ' ', which are
12245         guaranteed to fail with 8bit characters and signed chars.
12246         Change return code to string::npos when there have been no error
12247         (0 was a bad idea when error is at first character)
12248
12249 2001-11-14  José Matos  <jamatos@fep.up.pt>
12250
12251         * buffer.h:
12252         * buffer.C (simpleDocBookOnePar): removed unused argument.
12253
12254 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12255
12256         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12257         insets which are part of a word. Paragraph::isLetter takes care of
12258         that now. Use Paragraph::isInset to identify insets.
12259         (selectSelectedWord): do not test for hyphenation break.
12260
12261         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12262         that protected spaces are considered as spaces.
12263
12264         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12265         Inset::isLetter.
12266
12267 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12268
12269         * lyxserver.h:
12270         * lyxserver.C: fix it. and small cleanup.
12271
12272 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12273
12274         * BufferView_pimpl.C: use inline helpers
12275
12276         * LaTeXFeatures.h:
12277         * LaTeXFeatures.C: fix typos
12278
12279         * Spacing.h:
12280         * Spacing.C: move spacing_string into class
12281
12282         * ToolbarDefaults.C: move stuff into namespace anon
12283
12284         * layout.h: update enum
12285
12286         * lyxfunc.C: use better debug
12287
12288         * minibuffer.h: fix typo
12289
12290         * debug.h:
12291         * debug.C:
12292         * WorkArea.C: add and use Debug::WORKAREA
12293
12294         * lyxtext.h:
12295         * text.C:
12296         * text2.C: code re-organisation, inline helpers
12297
12298 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12299
12300         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12301         std::vector.empty().
12302
12303 2001-11-09  Allan Rae  <rae@lyx.org>
12304
12305         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12306         '\n's after tables.  Tabular and ERT inset work now makes this no
12307         longer necessary.
12308
12309 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12310
12311         * minibuffer.h:
12312         * minibuffer.C: fix crash, improve drop-down completion
12313
12314 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12315
12316         * lyxserver.h:
12317         * lyxserver.C: invalidate fd's when doing endPipe()
12318
12319 2001-11-08  José Matos  <jamatos@fep.up.pt>
12320
12321         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12322         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12323
12324         * paragraph.h:
12325         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12326
12327 2001-11-07  José Matos  <jamatos@fep.up.pt>
12328
12329         * buffer.h:
12330         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12331         const qualifier.
12332
12333         * buffer.C (sgmlOpenTag):
12334         * buffer.C (sgmlCloseTag): removed debug info.
12335
12336         * buffer.h (sgmlOpenTag):
12337         * buffer.h (sgmlCloseTag): made public.
12338
12339 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12340
12341         * buffer.C (saveParamsAsDefaults):
12342         * lyx_cb.C (MenuLayoutSave): remove
12343
12344         * LyXAction.C (init):
12345         * commandtags.h:
12346         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12347
12348 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12349
12350         * buffer.C (setPaperStuff): removed from here...
12351
12352         * bufferparams.C (setPaperStuff): ... and moved there.
12353
12354 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12355
12356         * minibuffer.h:
12357         * minibuffer.C:
12358         * XFormsView.C: add support for drop-down completion
12359
12360 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12361
12362         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12363         commands.
12364
12365 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12366
12367         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12368         disabled.
12369
12370 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12371
12372         * lyx_main.C: change ref to known bugs
12373
12374 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12375
12376         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12377         to work around older babel problems.
12378
12379 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12380
12381         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12382
12383 2001-10-24  Juergen Vigna  <jug@sad.it>
12384
12385         * tabular-old.C (ReadOld): below variable changes reflected.
12386
12387         * tabular.[Ch]: added ltType struct for longtable header/footer
12388         defines and changed all instances where they are used. Added
12389         future support for double top/bottom rows.
12390
12391 2001-10-24  José Matos  <jamatos@fep.up.pt>
12392
12393         * buffer.h (docbookHandleCaption):
12394         * buffer.C (docbookHandleCaption): removed unused function.
12395         (makeDocBookFile): moved docbook supported version to v4.1.
12396
12397 2001-10-24  José Matos  <jamatos@fep.up.pt>
12398
12399         * tabular.h:
12400         * tabular.C (docbookRow): new function to export docbook code of a row.
12401         (DocBook): now honors the longtable flags.
12402
12403 2001-10-23  José Matos  <jamatos@fep.up.pt>
12404
12405         * LaTeXFeatures.h:
12406         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12407         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12408
12409         * buffer.C (makeLinuxDocFile):
12410         (makeDocBookFile): reworked the preamble, more clean, and with
12411         support for lyx defined entities. Changed the document declaration
12412         to be more XML friendly.
12413
12414         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12415         if we need to output XML that should be done with a filter.
12416
12417 2001-10-22  Juergen Vigna  <jug@sad.it>
12418
12419         * sp_pspell.h (class PSpell): add alive function needed in the
12420         controller to see if the spellchecker could be started.
12421
12422 2001-10-22  Juergen Vigna  <jug@sad.it>
12423
12424         * buffer.C (insertStringAsLines): modify the font for inserting
12425         chars in certain conditions by calling checkInsertChar(font).
12426
12427 2001-10-19  Juergen Vigna  <jug@sad.it>
12428
12429         * text.C (workWidth): use getRow instead of wrong algorithm.
12430         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12431
12432 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12433
12434         * lyxserver.h:
12435         * lyxserver.C:
12436         * lyx_main.h:
12437         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12438
12439 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12440
12441         * text.C (workWidth): do not search for the exact row when
12442         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12443         optimization for big documents.
12444
12445 2001-10-18  Juergen Vigna  <jug@sad.it>
12446
12447         * text.C (workWidth): new function with added Inset * parameter.
12448
12449 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12450
12451         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12452
12453         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12454         change return type of getColumnNearX.
12455
12456
12457         * text.C (changeRegionCase): use uppercase/lowercase instead of
12458         toupper/tolower.
12459         (leftMargin):
12460         (rightMargin): simplify code by factoring out the uses of
12461         textclasslist.
12462         (labelFill):
12463         (numberOfHfills):
12464         (setHeightOfRow):
12465         (appendParagraph): use Paragraph::size_type
12466
12467 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12468
12469         * vspace.C (asLatexString): add a missing break
12470
12471 2001-10-15  Herbert Voss  <voss@perce.de>
12472
12473         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12474
12475 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12476
12477         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12478         is not available.
12479
12480 2001-10-10  André Pönitz <poenitz@gmx.net>
12481
12482         * lyxfunc.C: removed greek_kb_flag.
12483
12484 2001-10-10  Herbert Voss  <voss@perce.de>
12485
12486         * lyx_main.C: delete global string help_lyxdir.
12487
12488 2001-10-09  Herbert Voss  <voss@perce.de>
12489
12490         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12491
12492         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12493
12494         * lyx_main.C: added global string help_lyxdir.
12495
12496         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12497
12498 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12499
12500         * lyxrc.C (set_font_norm_type): support iso8859-4
12501
12502 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12503
12504         * LaTeX.C (deplog): add another regex for MikTeX
12505
12506 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12507
12508         * lyxrc.C (set_font_norm_type): support iso8859-3
12509
12510 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12511
12512         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12513
12514         * LaTeXFeatures.C: remove special case of french and index
12515
12516         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12517         before \begin{document}). This solves several incompatibilities.
12518
12519 2001-10-03  Garst Reese  <reese@isn.net>
12520
12521         * lyx_cb.C: change CheckTex error msg.
12522
12523 2001-10-03  José Matos  <jamatos@fep.up.pt>
12524
12525         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12526
12527 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12528
12529         * .cvsignore: update
12530
12531         * lyx_main.C (commandLineVersionInfo): use new style version info.
12532
12533         * buffer.C (writeFile):
12534         (makeLaTeXFile):
12535         (makeLinuxDocFile):
12536         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12537
12538         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12539
12540         * version.h: update to use stuff in version.C
12541
12542         * version.C.in: new file. Contains version information determined
12543         at compile time. This is a merging of version.h and
12544         version_info.h.in.
12545
12546 2001-10-03  Juergen Vigna  <jug@sad.it>
12547
12548         * BufferView_pimpl.C (update): don't change "dirty" status in
12549         updateInset call.
12550
12551 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12552
12553         * WorkArea.C (c-tor): re-position version string slightly.
12554
12555 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12556
12557         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12558         revert to previous code.
12559
12560         WorkArea.[Ch]: (show, destroySplash): methods removed.
12561
12562         WorkArea.C: rework code so that it's an amalgam of the codes before and
12563         after the splash screen was moved to WorkArea.
12564
12565 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12566
12567         * lyxrc.C (read):
12568         * vspace.C (inPixels):
12569         (lyx_advance):
12570         * kbmap.C (bind):
12571         * buffer.C (insertStringAsLines):
12572         (asciiParagraph): fix types to be large enough
12573
12574         * lyxlex_pimpl.h: change member status from short to int
12575
12576         * layout.h: fix type of endlabeltype
12577
12578         * kbmap.C (bind):
12579         * kbsequence.C (parse): change return type to string::size_type
12580
12581         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12582         variable
12583
12584         * Bullet.C (bulletSize):
12585         (bulletEntry): do not use short ints as parameters
12586
12587         * BufferView2.C (insertLyXFile): change a char to an int.
12588
12589         * WorkArea.C (WorkArea): remove unneeded floats in computation
12590
12591 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12592
12593         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12594
12595         * paragraph.C (asString): Do not ignore newline/hfill chars when
12596         copying to the clipboard.
12597
12598 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12599
12600         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12601         after a multi-line inset.
12602
12603 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12604
12605         * paragraph.C (validate): Set NeedLyXFootnoteCode
12606
12607 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12608
12609         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12610         and decrease-error to decrease.
12611
12612 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12613
12614         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12615         it more readable (should be equivalent)
12616
12617 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12618
12619         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12620
12621 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12622
12623         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12624         of a cursor (row, etc.) after a character has been deleted
12625         (deleteEmptyParagraphMechanism): call the method above on _all_
12626         cursors held by the LyXText when a double space has been
12627         detected/deleted.
12628
12629 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12630
12631         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12632         pixmap.
12633         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12634
12635         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12636         background. Use greyOut() and the new show() methods to toggle between
12637         the foreground and background. Add code to remove the splash after
12638         its initial showing.
12639
12640         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12641         (create_forms): no longer call Dialogs::showSplash.
12642
12643 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12644
12645         * .cvsignore: add version_info.h
12646
12647 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12648
12649         * version_info.h.in: new file
12650
12651         * Makefile.am: add version_info.h.in
12652
12653         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12654         version_info.h instead of VERSION_INFO
12655
12656 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12657
12658         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12659         The ERT inset now returns string().
12660
12661 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12662
12663         * lyxtext.h, text.C (selectNextWord): renamed as
12664         selectNextWordToSpellcheck.
12665
12666         * text.C (selectNextWordToSpellcheck): Modified to not select
12667         words inside an ERT inset.
12668
12669 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12670
12671         * lyx_cb.C (MenuLayoutSave): change a bit the question
12672
12673         * sp_base.h: include <sys/types.h>
12674
12675 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12676
12677         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12678
12679 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12680
12681         * several files: fix typos in user-visible strings
12682
12683 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12684
12685         * text2.C (pasteSelection): do not set the selection, since it
12686         will be cleared later. Actually, the intent was to fix the way the
12687         selection was set, but I figured rmoving the code was just as good.
12688
12689 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12690
12691         * FontLoader.C (available): Check if font is available without
12692         loading the font.
12693
12694 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12695
12696         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12697
12698 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12699
12700         * lyxrc.[Ch]: added display_graphics variable and associated code.
12701
12702 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12703
12704         * bufferparams.C (hasClassDefaults): new method. Returns true if
12705         the buffer parameters correspond to known class defaults
12706
12707 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12708
12709         * XFormsView.C (show): set minimum size to the main window.
12710
12711 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12712
12713         * text2.C (copySelection):
12714         (cutSelection):
12715         * lyxfind.C (LyXReplace):
12716         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12717         LyXText::selectionAsString.
12718
12719         * paragraph.C (asString): add "label" argument to the second form
12720
12721         * text2.C (selectionAsString): add "label" argument and pass it to
12722         Paragraph::asString.
12723
12724 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12725
12726         * lyx_main.C (commandLineHelp): remove version information
12727
12728 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12729
12730         * lyx_main.C: add -version commandline option
12731
12732 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12733
12734         * paragraph.h: make the optional constructor arg required instead.
12735         some modifications to other files because of this.
12736
12737         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12738
12739         * lyxserver.C (C_LyXComm_callback): make it static
12740
12741         * lyx_main.C (error_handler): make it static
12742
12743         * lyx_gui.C (LyX_XErrHandler): make it static
12744
12745         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12746
12747         * WorkArea.C: make the extern "C" methods static.
12748
12749         * Makefile.am (lyx_LDADD): simplify
12750
12751 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12752
12753         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12754         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12755
12756         * LyXAction.C (init):
12757         * lyxfunc.C (dispatch): associated code removal.
12758
12759 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12760
12761         * lyxfont.h (isSymbolFont): shut off warning
12762
12763         * text.C (setHeightOfRow):
12764         (getVisibleRow): fix crash with empty paragraphs which have a
12765         bottom line
12766
12767 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12768
12769         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12770         code.
12771
12772 2001-09-04  José Matos  <jamatos@fep.up.pt>
12773         * buffer.C
12774         * buffer.h
12775         * tabular.C (docbook): rename docBook method to docbook.
12776
12777 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12778
12779         * Makefile.am: add dependencies to main.o.
12780
12781 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12782
12783         * FontLoader.C (available): Return false if !lyxrc.use_gui
12784
12785 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12786
12787         * FontInfo.C (query):
12788         * converter.C (view):
12789         * importer.C (Import):
12790         * exporter.C (Export): Can not -> cannot.
12791
12792 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12793
12794         * BufferView_pimpl.C: allow to create index inset even if
12795           string is empty
12796
12797 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12798
12799         * buffer.C (getLists): replace boost::tie code with an explicit pair
12800         as boost::tie can break some compilers.
12801
12802         * iterators.h: Added a std:: declaration to the return type of
12803         ParIterator::size.
12804
12805 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12806
12807         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12808           case.
12809
12810 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12811
12812         * iterators.[Ch]: New files. Provide paragraph iterators.
12813
12814         * buffer.C (changeLanguage): Use paragraph iterators.
12815         (isMultiLingual): ditto
12816
12817         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12818
12819 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12820
12821         * FontLoader.C: Support for cmr font.
12822
12823 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12824
12825         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12826         (available): New method.
12827
12828         * FontInfo.C (getFontname): Use scalable fonts even when
12829         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12830         found.
12831
12832 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12833
12834         * converter.C (Formats::view): reverted! Incorrect fix.
12835
12836 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12837
12838         * converter.C (Formats::view): only output the -paper option
12839         if the dvi viewer is xdvi, thereby fixing bug #233429.
12840
12841 2001-08-23  Herbert Voss  <voss@perce>
12842
12843         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12844
12845 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12846
12847         * Spacing.h (Spacing): Set space to Default on in the default
12848         constructor.
12849
12850 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12851
12852         * vc-backend.h (RCS::versionString): add RCS to version
12853         (CVS::versionString): add CVS to version
12854
12855         * vc-backend.C (scanMaster): do not add CVS to version.
12856         (scanMaster): do not add RCS to version
12857
12858         * lyxvc.C (versionString): new method
12859
12860         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12861
12862 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12863
12864         * Spacing.C (set): initialize fval
12865
12866 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12867
12868         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12869         " or \.
12870
12871 2001-08-16  Juergen Vigna  <jug@sad.it>
12872
12873         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12874
12875 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12876
12877         * BufferView_pimpl.C:
12878         * figureForm.C:
12879         * lyxtext.h:
12880         * text2.C: setParagraph takes linespacing now
12881
12882 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12883
12884         * LyxAction.C: add internal LFUN_CITATION_INSERT
12885
12886         * LyXView.C: actually apply fix
12887
12888         * bufferlist.C: fix open non-existent file
12889
12890         * lyxfind.C: fix indentation
12891
12892         * lyxfunc.C: remove unneeded assert, fix typo
12893
12894 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12895
12896         * MenuBackend.C: use "Floatname List"
12897
12898 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12899
12900         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12901         when converting LaTeX layout to insetERT.
12902         Generate a non-collapsed float when reading old float
12903
12904 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12905
12906         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12907         ERT insets.
12908
12909 2001-08-13  Juergen Vigna  <jug@sad.it>
12910
12911         * text.C (fill): return 0 instead of 20 as this seems to be the more
12912         correct value.
12913
12914 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12915
12916         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12917         lyxrc.font_norm.
12918
12919 2001-08-13  Juergen Vigna  <jug@sad.it>
12920
12921         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12922         casesensitive off.
12923         (SearchBackward): comment out the unlocking of the inset_owner this
12924         should not be needed!
12925
12926 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12927
12928         * Many files: Remove inherit_language, and add latex_language
12929
12930         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12931         collapsible insets.
12932
12933 2001-08-10  Juergen Vigna  <jug@sad.it>
12934
12935         * text.C (prepareToPrint): fixed hfill-width in draw!
12936
12937         * BufferView2.C (selectLastWord): save the selection cursor as this
12938         now is cleared in the function LyXText::clearSelection!
12939
12940 2001-08-08  Juergen Vigna  <jug@sad.it>
12941
12942         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12943         BACKSPACE type functions.
12944
12945         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12946         is only cutted from the document but not put in the cut-buffer, where
12947         still the old stuff should be.
12948
12949         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12950
12951         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12952
12953         * tabular.C (SetWidthOfCell): fixed special case where the width
12954         was not updated!
12955         (LeftLine): handle '|' in align_special.
12956         (RightLine): ditto
12957         (LeftAlreadyDrawed): ditto
12958         (SetWidthOfCell): ditto
12959
12960 2001-08-07  Juergen Vigna  <jug@sad.it>
12961
12962         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12963
12964 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12965
12966         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12967         * lyxlex.[hC]: ditto
12968
12969 2001-08-06  Juergen Vigna  <jug@sad.it>
12970
12971         * text.C (getVisibleRow): fix up row clearing a bit.
12972
12973 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12974
12975         * minibuffer.C: make sure the X server sees the changes in the input.
12976
12977 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12978
12979         * paragraph.C (getFont): split into...
12980         (getLabelFont): this
12981         (getLayoutFont): and this
12982         * paragraph_pimpl.C (realizeFont): calling this
12983
12984         * text2.C (getFont): split into...
12985         (getLayoutFont): this
12986         (getLabelFont): and this
12987         (realizeFont): all three calling this
12988
12989         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12990         files where used.
12991
12992 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12993
12994         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12995
12996 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12997
12998         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12999         layouts from the Quote inset insertion.
13000
13001 2001-08-03  Juergen Vigna  <jug@sad.it>
13002
13003         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13004
13005         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13006         only if status not is already CHANGED_IN_DRAW (second level).
13007
13008         * text.C (draw): don't set the need_break_row when inside an
13009         InsetText LyXText.
13010
13011 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13012
13013         * buffer.C (parseSingleLyXformat2Token): handle more latex
13014         conversion cases.
13015
13016         * bufferview_funcs.[hC]: change function names to
13017         begin with small char, adjust other files.
13018
13019 2001-08-02  André Pönitz <poenitz@gmx.net>
13020
13021         * lyxfunc.C:
13022         BufferView_pimpl.C: remove broken special code for math-greek
13023
13024 2001-08-02  Juergen Vigna  <jug@sad.it>
13025
13026         * BufferView_pimpl.C (update): redone this function so that we
13027         update the text again if there was a CHANGE_IN_DRAW.
13028
13029         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13030         (drawFromTo): added a new internal bool which is used by draw() and
13031         redraw() function.
13032         (general): some cursor drawing problems fixed.
13033
13034 2001-08-01  Juergen Vigna  <jug@sad.it>
13035
13036         * lyxfind.C (LyXFind): fixed
13037         (SearchForward): ditto
13038         (SearchBackward): ditto
13039
13040         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13041         spurius drawing of the cursor in the main area.
13042
13043         * text2.C (status): small fix which could lead to a segfault!
13044         (clearSelection): remove unneeded BufferView param.
13045
13046 2001-08-01  André Pönitz <poenitz@gmx.net>
13047
13048         * lyxfunc.C: small change due to changed mathed interface
13049
13050 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13051
13052         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13053
13054 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13055
13056         * lyxfunc.c: fail gracefully if file doesn't exist
13057
13058         * LyXSendto.C:
13059         * buffer.C:
13060         * lyxfunc.C:
13061         * BufferView_pimpl.C: IsDirWriteable() proto changed
13062
13063         * LyXView.C: fix updateWindowTitle() to store the last title
13064
13065 2001-07-31  Juergen Vigna  <jug@sad.it>
13066
13067         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13068         the font (wrong since using of Paragraph::highestFontInRange).
13069
13070         * paragraph.C (highestFontInRange): added a default_size parameter.
13071
13072         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13073         (setHeightOfRow): reformat
13074
13075 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13076
13077         * converter.[hC] + affected files: move to (inital-char)lowercase
13078         function names.
13079
13080         * ParagraphParameters.C (ParagraphParameters): remove commented code
13081
13082         * PainterBase.[Ch]: remove commented code
13083
13084         * LaTeXFeatures.h: add "bool floats" for float.sty
13085
13086         * LaTeXFeatures.C (LaTeXFeatures): init floats
13087         (require): handle float
13088         (getPackages): do it with floats
13089
13090 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13091
13092         * BufferView_pimpl.C (Dispatch): improve handling of
13093         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13094
13095         * commandtags.h: #include lyxfont.h here temporarily to avoid
13096         keybinding bug.
13097
13098         * bufferlist.h: include LString.h here.
13099
13100 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13101
13102         * text2.C (getStringToIndex): new method.
13103
13104 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13105
13106         * *: Reduced header file dependencies all over.
13107
13108 2001-07-30  Baruch Even  <baruch@lyx.org>
13109
13110         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13111
13112 2001-07-29  Baruch Even  <baruch@lyx.org>
13113
13114         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13115
13116 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13117
13118         * ParameterStruct.h (endif): add a default constructor to make
13119         sure that all variables is initialized.
13120
13121         * ParagraphParameters.C (ParagraphParameters): adjust
13122
13123 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13124
13125         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13126         index; also, check that there is something to index, and that it
13127         does not span over several paragraphs.
13128         (doubleClick): use WHOLE_WORD_STRICT for double click.
13129
13130         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13131
13132         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13133         scheme.
13134
13135 2001-07-26  Baruch Even  <baruch@lyx.org>
13136
13137         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13138         an InsetFig figure, backwards compatible reading of old figure code.
13139
13140 2001-07-27  Juergen Vigna  <jug@sad.it>
13141
13142         * text2.C: font.realize function adaption.
13143
13144         * text.C (draw): add a warnings lyxerr text if needed.
13145
13146         * layout.C: font.realize function adaption.
13147
13148         * language.C: add inherit_language and implement it's handlings
13149
13150         * bufferview_funcs.C (StyleReset): remove language parameter from
13151         font creation (should be language_inherit now).
13152
13153         * bufferparams.C (writeFile): handle ignore_language.
13154
13155         * paragraph.C (getFontSettings): the language has to be resolved
13156         otherwise we have problems in LyXFont!
13157
13158         * lyxfont.C (lyxWriteChanges): added document_language parameter
13159         (update): removed unneeded language parameter
13160
13161         * paragraph.C (validate): fixed wrong output of color-package when
13162         using interface colors for certain fonts in certain environments,
13163         which should not seen as that on the final output.
13164
13165 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13166
13167         * BufferView_pimpl.C:
13168         * Thesaurus.h:
13169         * Thesaurus.C:
13170         * Makefile.am:
13171         * commandtags.h:
13172         * LyXAction.C: add thesaurus support
13173
13174         * lyxfind.h:
13175         * lyxfind.C: add "once" parameter, for thesaurus, to not
13176           move to the next match
13177
13178 2001-07-26  Juergen Vigna  <jug@sad.it>
13179
13180         * lyxfont.C (realize): honor ignore_language too!
13181         (resolved): ditto.
13182
13183         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13184
13185         * text.C (draw): one place more for ignore_language to not draw
13186         itself!
13187
13188 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13189
13190         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13191
13192 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13193
13194         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13195         the minipage conversion problem.
13196
13197 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13198
13199         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13200         insert an inset.
13201
13202 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13203
13204         * BufferView.h: don't forward declare WorkArea
13205
13206         * BufferView.C: don't include WorkArea.h
13207
13208 2001-07-25  André Pönitz <poenitz@gmx.net>
13209
13210         * commandtags.h:
13211         * LyXAction.C:
13212         * lyxfunc.C:  new LFUN 'math-space'
13213
13214         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13215
13216 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13217
13218         * text2.C (toggleInset): call open/close
13219
13220 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13221
13222         * lyxfunc.C (dispatch): add debug for the disabled case
13223
13224         * font.C (buttonText): make similar to rectText
13225
13226         * buffer.C (readInset): comment out parsing of insetlist and
13227         insttheorem
13228
13229         * PainterBase.C (rectText): small correction
13230
13231         * BufferView_pimpl.C: comment out insettheorem and insetlist
13232         * LyXAction.C: ditto
13233         * commandtags.h: ditto
13234
13235 2001-07-24  Juergen Vigna  <jug@sad.it>
13236
13237         * text.C (draw): honor the ignore_language.
13238
13239         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13240
13241 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13242
13243         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13244         char inset.
13245
13246 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13247
13248         * lyxtext.h: remove unused (and unimplemented) methods
13249
13250 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13251
13252         * text.C (getVisibleRow): honor background color
13253
13254         * PainterBase.h:
13255         * Painter.h: remove default color argument for fillRectangle
13256
13257         * text.C (backgroundColor): new method
13258
13259 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13260
13261         * text.C (getVisibleRow): adjust
13262
13263         * font.[Ch] (rectText): new method, metrics
13264         (buttonText): new method, metrics
13265
13266         * PainterBase.[hC]: make rectText and buttonText always draw and take
13267         fewer paramteres.
13268
13269 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13270
13271         * ToolbarDefaults.C (read):
13272         * MenuBackend.C (read): allow escaping in all strings
13273
13274         * BufferView_pimpl.C (insertAndEditInset): new method.
13275         (Dispatch): use insertAndEditInset whenever appropriate.
13276
13277         * BufferView_pimpl.C (insertNote): removed
13278
13279         * BufferView_pimpl.C (smartQuote): new method, moved from
13280         BufferView; if an insetquote cannot be inserted, insert a '"'
13281         character instead.
13282
13283         * BufferView2.C: remove insertCorrectQuote();
13284
13285         * lyxfunc.C (getStatus): Add support for all remaingin
13286         inset-insert lfuns.
13287
13288         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13289
13290         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13291         command (necessary to pass " as parameter of self-insert.
13292
13293         * text.C (selectWordWhenUnderCursor):
13294         (selectWord): add word_location parameter
13295         (selectWordWhenUnderCursor): same + remove special code for word
13296         boundary.
13297         (selectNextWord): use kind() to guess type of insetspecialchar,
13298         not latex().
13299
13300         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13301         (insertErtContents): create ert insets as collapsed.
13302         (readInset): better compatibility code for Info inset.
13303
13304 2001-07-20  Juergen Vigna  <jug@sad.it>
13305
13306         * lyxfunc.C (dispatch): use always LyXFind now!
13307
13308         * text2.C (init): add a reinit flag so that the LyXText can be
13309         reinited instead of deleted and reallocated (used in InsetText).
13310
13311         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13312
13313         * text.C: ditto
13314
13315         * text2.C: ditto
13316
13317 2001-07-18  Juergen Vigna  <jug@sad.it>
13318
13319         * text.C (selectNextWord): handle insets inside inset by calling
13320         always the bv->text functions so that we can go up the_locking_inset!
13321
13322         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13323         in strange locations when inside an inset!
13324
13325         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13326         handling to include insets.
13327
13328         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13329
13330 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13331
13332         * LyXAction.C (init):
13333         * commandtags.h:
13334         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13335         LIGATURE_BREAK, since the name is so stupid.
13336
13337 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13338
13339         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13340         InsetInfos.
13341
13342         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13343
13344         * sp_form.[Ch]: remove.
13345
13346         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13347
13348         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13349         InsetInfo.
13350
13351         * src/buffer.C (readInset): ditto.
13352
13353 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13354
13355         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13356         menuSeparator(), endOfSentenceDot(), ldots() and
13357         hyphenationPoint(), which are therefore removed.
13358         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13359
13360         * LyXAction.C (init):
13361         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13362
13363         * paragraph.C (getWord): removed.
13364
13365         * BufferView_pimpl.C (Dispatch): use last word or selection for
13366         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13367
13368         * lyx_main.C (queryUserLyXDir): do not ask before creating
13369         user_dir, except if it has been named explicitely.
13370
13371 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13372
13373         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13374         a document of zero size.
13375
13376 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13377
13378         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13379         approriately in the c-tor and in require().
13380         (getPackages): output the appropriate LaTeX for natbib support.
13381
13382         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13383         variables "use_natbib" and "use_numerical_citations" when reading the
13384         LyX file.
13385         (readInset): read the various natbib cite commands.
13386         (validate): white-space change.
13387
13388         * bufferparams.[Ch]: new variables "bool use_natbib" and
13389         "bool use_numerical_citations".
13390         (writeFile): output them in the LyX file.
13391
13392 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13393
13394         * lyxfunc.C (getStatus): add support for all the inset insertion
13395         commands.
13396
13397         * text2.C (insertInset):
13398         * paragraph.C (insetAllowed):
13399         * BufferView_pimpl.C (insertInset): update to take in account the
13400         renaming of insertInsetAllowed
13401
13402         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13403
13404         * text2.C (getInset): new method. returns inset at cursor position.
13405
13406         * BufferView_pimpl.C (Dispatch): changes because of this.
13407
13408         * LyXAction.C (init): rename open-stuff to inset-toggle.
13409
13410         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13411
13412         * text2.C (toggleInset): renamed from openStuff; use
13413         Inset::open().
13414
13415 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13416
13417         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13418
13419         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13420
13421 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13422
13423         * buffer.C (readLyXformat2): Add filename to the error dialog
13424
13425 2001-07-18  Juergen Vigna  <jug@sad.it>
13426
13427         * tabular.C (GetCellNumber): put an assert here instead of the check!
13428
13429 2001-07-17  Juergen Vigna  <jug@sad.it>
13430
13431         * BufferView_pimpl.C (toggleSelection): adapted too.
13432
13433         * text.C (selectNextWord): adapted for use with insets.
13434         (selectSelectedWord): ditto
13435
13436 2001-07-17  Juergen Vigna  <jug@sad.it>
13437
13438         * sp_spell.C (PSpell): fix initialitation order.
13439
13440 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13441
13442         * paragraph.C: spacing
13443
13444 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13445
13446         * sp_spell.C: repair language selection for pspell
13447
13448 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13449
13450         * lyxfunc.h: change more methods to begin with lower char.
13451
13452 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13453
13454         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13455         for unknown layouts.
13456
13457 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13458
13459         * buffer.C (readLyXformat2): Generate an error dialog if there are
13460         unknown layouts.
13461
13462 2001-07-16  Juergen Vigna  <jug@sad.it>
13463
13464         * sp_spell.C: always compile ISpell part.
13465
13466         * lyxrc.C: added use_pspell entry and it's handling.
13467
13468 2001-07-13  Juergen Vigna  <jug@sad.it>
13469
13470         * sp_spell.C: removed double includes.
13471
13472 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13473
13474         Consistent use of Lsstream.h:
13475         * Lsstream.h: added using std::stringstream for consistencies sake.
13476
13477         * buffer.C: removed using std::stringstream
13478
13479         * lyxfont.C (stateText):
13480         * paragraph.C (asString):
13481         * text.C (selectNextWord, selectSelectedWord):
13482         * text2.C (setCounter):
13483         * vspace.C (asString, asLatexString):
13484         std::ostringstream -> ostringstream.
13485
13486 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13487
13488         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13489         * commandtags.h: add LFUN_HELP_ABOUTLYX
13490         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13491
13492 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13493
13494         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13495         cursorToggle()
13496         * lyx_gui_misc.C: remove spellchecker
13497         * lyxfunc.C: showSpellchecker
13498         * sp_base.h: added
13499         * sp_ispell.h: added
13500         * sp_pspell.h: added
13501         * sp_spell.C: added
13502         * sp_form.[Ch]: removed
13503         * spellchecker.[Ch]: removed
13504
13505 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13506
13507         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13508         is set.
13509         (simpleTeXSpecialChars): Simply print the input character without
13510         any special translation if pass_thru is set.
13511
13512         * layout.h: Added bool pass_thru to layout class for being able to
13513         implement pass through of a paragraph for Literate Programming.
13514
13515         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13516         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13517         * layout.C (Read): add "passthru" to list of layout tags and add
13518         code to set the pass_thru boolean when it is read.
13519
13520 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13521
13522         * trans_decl.h: remove allowed from KmodInfo
13523
13524         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13525         remove allowed code
13526         (Load): adjust
13527
13528         * paragraph_pimpl.C (erase): use boost::prior
13529
13530         * Painter.C (text): use data() instead of c_str() when length is
13531         also provided.
13532         * WorkArea.C (putClipboard): ditto
13533         * font.h (width): ditto
13534
13535         * BufferView2.C: use it-> instead of (*it). for iterators
13536         * texrow.C: ditto
13537         * paragraph_pimpl.C: ditto
13538         * paragraph.C: ditto
13539         * minibuffer.C: ditto
13540         * language.C: ditto
13541         * kbmap.C: ditto
13542         * encoding.C: ditto
13543         * counters.C: ditto
13544         * converter.C: ditto
13545         * chset.C: ditto
13546         * Variables.C: ditto
13547         * TextCache.C: ditto
13548         * MenuBackend.C: ditto
13549         * LyXAction.C: ditto
13550         * LColor.C: ditto
13551         * FloatList.C: ditto
13552         * DepTable.C: ditto
13553         * ColorHandler.C (LyXColorHandler): ditto
13554
13555 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13556
13557         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13558
13559         * text2.C (openStuff): reintroduce this method (which had been
13560         nuked in NEW_INSETS frenzy).
13561
13562         * lyxfunc.C (Dispatch): when an action has not been handled, use
13563         its name in the error message, not its number.
13564
13565         * paragraph.C (inInset): change method name to begin with lowercase.
13566
13567         * undo_funcs.C:
13568         * text2.C: updates because of this.
13569
13570 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13571
13572         * ToolbarDefaults.C (add): add spaces in error message
13573
13574 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13575
13576         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13577         (readLyXformat2): rename return_par to first_par, use lyxlex's
13578         pushToken and remove the manual push handling.
13579         (parseSingleLyXformat2Token): add another ert comp. variable:
13580         in_tabular, rename return_par to first_par. handle newlines better
13581
13582 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13583
13584         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13585
13586 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13587
13588         * text2.C (getParFromID): removed
13589
13590         * buffer.C (getParFromID): new method moved form lyxtext.
13591         * BufferView2.C (insertErrors): adjust
13592         (setCursorFromRow): adjust
13593         * BufferView_pimpl.C (restorePosition): adjust
13594         * lyxfunc.C (Dispatch): adjust
13595         * undo_funcs.C (textUndo): adjust
13596         (textRedo): adjust
13597         (textHandleUndo): adjust
13598         (textHandleUndo): adjust
13599
13600 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13601
13602         * buffer.C: up' the LYX_FORMAT
13603
13604         * lyxfont.h: turn NO_LATEX on as default
13605
13606         * buffer.C (insertErtContents): new methods of tex style compability.
13607         (parseSingleLyXformat2Token): use it several places.
13608         * tabular.C (OldFormatRead): and here
13609
13610 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13611
13612         * text2.C: remove some commented code.
13613         reindent file.
13614
13615         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13616         * trans.C: changes because of the above.
13617
13618 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13619
13620         * text2.C (setCounter): Fix counters bug with bibliography layout.
13621
13622 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13623
13624         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13625         own member functions
13626         (simpleTeXSpecialChars): ditto
13627
13628 2001-07-06  Juergen Vigna  <jug@sad.it>
13629
13630         * a lot of files: changed the access to LyXText::status and the
13631         call of undo-functions.
13632
13633         * undo.[Ch]: added a inset_id to the undo informations.
13634
13635         * undo_funcs.[Ch]: added and moved here all undo functions.
13636
13637         * lyxtext.h: give the status enum a weight, made status_ a private
13638         variable and made accessor functions for it, removed the whole bunch
13639         of undo-functions as they are now in their own file, make some
13640         functions publically available. Added function ownerParagraph with
13641         int parameter.
13642
13643         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13644         made InInset() a const function, added getParFromID() function.
13645
13646         * buffer.[Ch]: added const version for inset_iterator functions,
13647         added getInsetFromID() function.
13648
13649         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13650         changed undo functions for new version.
13651
13652 2001-07-05  Juergen Vigna  <jug@sad.it>
13653
13654         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13655         unknow mechanism does not call the proper constructor but only this
13656         one also if I request the other!?
13657
13658 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13659
13660         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13661
13662         * text2.C (LyXText): use initialization lists.
13663
13664         * lyxtext.h (Selection): initialize set_ and mark_
13665         (init): remove method
13666
13667 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13668
13669         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13670
13671 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13672
13673         * screen.[Ch]: change method names to begin with lowercase
13674
13675         * BufferView_pimpl.C (updateScrollbar): simplify further and
13676         hopefully make it a bit faster.
13677
13678 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13679
13680         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13681         calling directly xforms functions.
13682
13683         * Painter.C (Painter):
13684         * lyx_cb.C (MenuWrite):
13685         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13686         fl_display.
13687
13688         * lyx_gui.C: remove bogus guiruntime extern declaration.
13689
13690 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13691
13692         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13693         in NEW_INSETS
13694         (redoDrawingOfParagraph): ditto
13695         (redoParagraphs): ditto
13696         (cutSelection): don't create a object for CutAndPaste use the
13697         static method directly
13698         (pasteSelection): ditto
13699
13700         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13701         LyXview (+ rename)
13702
13703 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13704
13705         * modifications to some other files because of this.
13706
13707         * Makefile.am (lyx_SOURCES): add XFormsView
13708
13709         * XFormsView.[Ch]: new files
13710
13711         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13712         the main window. Move the gui dependent stuff to XFormsView
13713
13714 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13715
13716         * tabular.C (GetCellInset): update cur_cell also in the row/col
13717         version of this function.
13718
13719         * lyxfunc.C: no need to include figure_form.h here.
13720
13721         * FontLoader.h:
13722         * lyxfunc.h:
13723         * lyxscreen.h:
13724         * text2.C:
13725         * lyxvc.C: no need to include forms.h here.
13726
13727 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13728
13729         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13730
13731         * lyxfunc.C (Dispatch):
13732         * Spacing.C (set):
13733         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13734         constructor argument.
13735
13736 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13737
13738         * paragraph.C (Paragraph): dont't clear, and just set layout.
13739         (makeSameLayout): use params's copy contructor.
13740
13741         * ParagraphParameters.[Ch] (makeSame): delete method
13742
13743 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13744
13745         * Variables.[Ch]: fix indentation, rename set to isSet
13746
13747 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13748
13749         * lyxfunc.C (Dispatch): fix typo
13750
13751 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13752
13753         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13754         upper_bound.
13755
13756         * bufferlist.C: include assert.h for emergencyWrite().
13757
13758 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13759
13760         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13761           give up at last (bug #425202) !
13762
13763 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13764
13765         * lyx_gui_misc.C:
13766         * sp_form.h:
13767         * sp_form.C:
13768         * spellchecker.h:
13769         * spellchecker.C: strip spellchecker options and bring up
13770           preferences tab instead
13771
13772 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13773
13774         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13775         the istringstream constructor
13776
13777 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13778
13779         * paragraph.C (getLayout): fix return value
13780
13781         * paragraph.h: do not declare getLayout as inline.
13782
13783         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13784
13785 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13786
13787         * lyxcursor.h (operator<): new func
13788         (operator>): new func
13789         (operator>=): new func
13790         (operator<=): new func
13791
13792         * text.C (changeCase): use selection.start and selection.end
13793         (changeRegionCase): require from to be <= to. Require par to be a
13794         valid paragraph.
13795
13796         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13797
13798 2001-06-27  Juergen Vigna  <jug@sad.it>
13799
13800         * text.C (cursorLeftOneWord): changed to return the cursor and added
13801         overlay with BufferView * parameter which calls this one.
13802         (getWord): added
13803         (selectWord): use new getWord function.
13804         (changeCase): renamed from changeWordCase as and extended to work
13805         also on selections.
13806
13807         * lyxtext.h: added enum word_location
13808
13809         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13810         changeCase as this operates now also on selections.
13811
13812 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13813
13814         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13815
13816         * many files: send debug output to Debug::INFO instead of
13817         Debug::ANY.
13818
13819         * converter.C (View):
13820         (Convert):
13821         (Move): send debug output to Debug::FILES instead of console.
13822
13823 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13824
13825         * lyxfunc.C (getStatus): use func_status
13826
13827         * func_status.h: new header, describing the results of
13828         LyXFunc::getStatus;
13829
13830         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13831         LFUN_MATH_HALIGN.
13832
13833 2001-06-25  The LyX Project  <jug@sad.it>
13834
13835         * buffer.C (sgmlOpenTag):
13836         (sgmlCloseTag):
13837         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13838
13839 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13840
13841         * text2.C: remove some dead code
13842
13843         * tabular.C (GetCellInset): store the last cell checked (gotten)
13844
13845         * tabular.h: add the helper for the speedup
13846
13847         * lyxtext.h: remove some dead code
13848
13849 2001-06-26  The LyX Project  <Asger>
13850
13851         * paragraph.C: Change export to LaTeX of alignment to
13852         \begin{center} and family for better roundtrip work with reLyX.
13853
13854         * Tune the math drawing a bit.
13855
13856 2001-06-25  The LyX Project  <Asger>
13857
13858         * LColor.C (LColor): New color for math background. New color
13859         for buttons.
13860
13861 2001-06-25  The LyX Project  <jug@sad.it>
13862
13863         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13864
13865         * lyxfunc.C (Open):
13866         * bufferlist.C (newFile): do not restrict to files ending with
13867         .lyx
13868
13869         * BufferView_pimpl.C (MenuInsertLyXFile):
13870
13871 2001-06-24  The LyX Project  <jug@sad.it>
13872
13873         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13874         of compare_no_case
13875
13876 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13877
13878         * lyxtext.h: rename most methods to begin with a small char.
13879         Lots of changes because of this.
13880
13881         * paragraph.C (Paragraph): do not call fitToSize
13882         (erase): call Pimpl::erase
13883         (insertChar): call Pimpl::insertChar
13884         (insertInset): call Pipl::insertInset
13885         (breakParagraph): do not call fitToSize
13886         (breakParagraphConservative): do not call fitToSize
13887         (fitToSize): remove method
13888
13889         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13890
13891 2001-06-24  The LyX Project  <Asger>
13892
13893         * Fix Qt compilation^2
13894
13895 2001-06-24  The LyX Project  <jug@sad.it>
13896
13897         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13898         depthHook(getDepth()-1).
13899
13900         * paragraph.h:
13901         * ParagraphParameters.h:
13902         * ParameterStruct.h: change type of depth to unsigned int ==
13903         depth_type. Many adaptations to other files before of that.
13904
13905 2001-06-24  The LyX Project  <Asger>
13906
13907         * Fix Qt compilation.
13908
13909 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13910
13911         * paragraph.h: renamed several methods to begin with small letter.
13912         several changes to many parts of the code because of this.
13913
13914 2001-06-23  The LyX Project  <jug@sad.it>
13915
13916         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13917         rewritten to discard all double spaces when KeepEmpty is off
13918         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13919         to only handle newlines but not fiddle with spaces and friends.
13920
13921         * lyxfunc.C (MenuNew): when doing 'new from template', use
13922         template_path as default directory
13923
13924 2001-06-23  The LyX Project  <Asger>
13925
13926         * Clean-up of header file includes all over
13927         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13928
13929 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13930
13931         * paragraph.h: renamed from lyxparagraph.h
13932
13933 2001-06-23  Asger  <lyx@violet.home.sad.it>
13934
13935         * Buffer.h: Removed Buffer::resize
13936         * BufferList.h: Removed BufferList::resize
13937         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13938         the document lazily when we change the width, or the font settings.
13939
13940 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13941
13942         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13943
13944 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13945
13946         * buffer.h: remove out of date comment
13947
13948 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13949
13950         * lyxscreen.h:
13951         * screen.C: fix "theoretical" GC leak
13952
13953 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13954
13955         * LaTeX.C (scanAuxFile):
13956         (deplog): remove trailing \r when reading stream (useful under
13957         win32)
13958
13959 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13960
13961         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13962         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13963         and BufferView::theLockingInset(Inset*), so should use them and not
13964         access bv_->text->the_locking_inset directly.
13965
13966         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13967
13968 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13969
13970         * Makefile.am:
13971         * tex-defs.h: remove old unused file
13972
13973 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13974
13975         * BufferView_pimpl.C: fix typo, remove minibuffer message
13976           when buffer has loaded
13977
13978 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13979
13980         * lyxfunc.C (Dispatch): use stringstream
13981         (MenuNew): use stringstream
13982         (Open): use stringstream
13983
13984         * importer.C (Import): use stringstream
13985
13986         * bufferview_funcs.C (CurrentState): use stringstream
13987
13988         * LaTeX.C (run): use stringstream
13989
13990         * BufferView_pimpl.C (savePosition): use stringstream
13991         (restorePosition): use stringstream
13992         (MenuInsertLyXFile): use stringstream
13993
13994 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13995
13996         * BufferView.C:
13997         * Bullet.C:
13998         * ColorHandler.C:
13999         * FontInfo.C:
14000         * FontLoader.C:
14001         * LColor.C:
14002         * LaTeXFeatures.C:
14003         * Painter.C:
14004         * gettext.C:
14005         * lyx_gui_misc.C:
14006         * lyxserver.C:
14007         * vspace.C: removed // -*- C++ -*- as first line.
14008
14009         * lyxfind.h:
14010         * version.h: added // -*- C++ -*- as first line.
14011
14012 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14013
14014         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14015
14016         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14017         of string
14018
14019 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14020
14021         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14022         of floats.
14023
14024 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14025
14026         * gettext.C: include LString.h even when --disable-nls is on.
14027
14028 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14029
14030         * converter.h (Get): changed argument type from int to
14031         FormatList::size_type to avoid unnecessary conversion.
14032
14033         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14034         before using it.
14035
14036 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14037
14038         * gettext.h: include LString.h even when --disable-nls is on.
14039
14040 2001-06-07  Juergen Vigna  <jug@sad.it>
14041
14042         * text.C (BreakAgain): subst spaces with tabs.
14043
14044         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14045         (resizeInsetsLyXText): set force on resizeLyXText.
14046
14047 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14048
14049         * gettext.h (gettext_init):
14050         (locale_init): use a real definition instead of a macro
14051
14052 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14053
14054         * Bufferview_pimpl.C:
14055         * LColor.h:
14056         * LColor.C: further lcolor tidies
14057
14058 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14059
14060         * BufferView_pimpl.C (updateScrollbar): simplify.
14061
14062         * BufferView2.C: don't include insets/insetinfo.h, change
14063         prototype for insertInset and call the Pimpl version. let
14064         updateInset call Pimpl version.
14065
14066         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14067         gotoInset to BufferView::Pimpl
14068
14069 2001-06-01  Juergen Vigna  <jug@sad.it>
14070
14071         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14072         inside a LockingInset (is the update needed at all?).
14073
14074 2001-05-31  Juergen Vigna  <jug@sad.it>
14075
14076         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14077         here not the old one otherwise how should we compare it afterwards
14078         if it's the same!
14079
14080 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14081
14082         * lyxfont.C:
14083         * tabular.C:
14084         * tabular-old.C:
14085         * FontInfo.C: bring C functions into global namespace when
14086         necessary
14087
14088 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14089
14090         * LString.h: make sure config.h has been loaded before LString.h.
14091
14092         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14093         (one for each char read by EatLine!).
14094
14095         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14096         variables.
14097
14098 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14099
14100         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14101         to the same as the par we break from
14102
14103 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14104
14105         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14106
14107         * MenuBackend.C (expand): also create menu entries for wide
14108         versions of the floats.
14109
14110         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14111
14112         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14113
14114         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14115         frontends/Makefile.am
14116
14117         * text2.C: adjust
14118         * text.C: adjust
14119
14120
14121         * tabular.C (getTokenValue): add std::
14122
14123         * tabular-old.C (getTokenValue): add std::
14124         (getTokenValue): ditto
14125         (getTokenValue): ditto
14126
14127         * screen.C (ToggleSelection): adjust
14128
14129         * lyxtext.h: put selection cursors inside a Selection struct.
14130
14131         * lyxfunc.C (moveCursorUpdate): adjust
14132
14133         * lyxfont.C (latexWriteStartChanges): add std::
14134
14135         * lyxfind.C: adjust
14136
14137         * font.h: delete with(char const *, LyXFont const &)
14138
14139         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14140
14141         * FontInfo.C (getFontname): add std::
14142
14143         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14144         (workAreaButtonPress): adjust
14145         (tripleClick): adjust
14146         (update): adjust
14147         (moveCursorUpdate): adjust
14148         (Dispatch): adjust
14149
14150         * BufferView2.C (gotoInset): adjust
14151
14152 2001-05-30  Juergen Vigna  <jug@sad.it>
14153
14154         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14155         to check pspell I add this as default as I now have new pspell
14156         libraries and they seem to use this.
14157
14158 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14159
14160         * text2.C (CutSelection): make the cursor valid before the call to
14161         ClearSelection.
14162
14163 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14164
14165         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14166         relied on 0 terminated strings and other horrors. Bug found due to
14167         the new assert in lyxstring!
14168
14169         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14170         KP_ keys.
14171
14172 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14173
14174         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14175         to latinkeys.bind.
14176
14177         * lyxfunc.C (processKeySym): change method of getting to the
14178         self-insert char.
14179
14180         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14181         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14182         * BufferView_pimpl.[Ch]: here as private methods.
14183
14184 2001-05-28  Juergen Vigna  <jug@sad.it>
14185
14186         * text.C (SetHeightOfRow): added the update() call again as it is
14187         needed to initialize inset dimensions!
14188
14189 2001-05-16  Juergen Vigna  <jug@sad.it>
14190
14191         * text2.C (SetCharFont): Add new function with BufferView * and
14192         bool toggleall parameters for setting insets internal fonts.
14193         (SetFont): Freeze the undo as we may change fonts in Insets and
14194         all this change should be inside only one Undo!
14195
14196         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14197         setting font's in insets as for them we have the SetFont function!
14198
14199 2001-05-15  Juergen Vigna  <jug@sad.it>
14200
14201         * text2.C (ClearSelection): to be sure we REALLY don't have any
14202         selection anymore!
14203
14204         * tabular.C (TeXCellPreamble): fixed the left border problem for
14205         multicolumn cells.
14206
14207 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14208
14209         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14210         dependancy file
14211
14212 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14213
14214         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14215         LFUN_BREAKPARAGRAPH.
14216
14217         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14218         help test to "internal only", similar for LFUN_INSERT_URL
14219
14220         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14221         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14222         auto_region_delete and deadkeys.
14223
14224 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14225
14226         * LColor.h:
14227         * LColor.C: remove some dead entries, tidy a little
14228
14229 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14230
14231         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14232         commented code.
14233         (Dispatch): implement LFUN_ESCAPE
14234
14235         * commandtags.h: add LFUN_ESCAPE
14236
14237         * LyXAction.C (init): add entry for LFUN_ESCAPE
14238
14239         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14240         Remove commented code.
14241         (insertNote): moved here
14242         (open_new_inset): moved here
14243
14244         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14245         BufferView_pimpl
14246
14247 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14248
14249         * kbmap.C (findbinding): clean it up and make it work correctly.
14250
14251         * lyx_main.C (init): do not pass argc and argv as parameters
14252
14253 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14254
14255         * buffer.C: fix path for OS/2 & Win32
14256
14257         * lyx_gui.C:
14258         * lyx_main:
14259         * lyx_main.C: Added os:: class.
14260
14261         * os2_defines.h: update
14262
14263 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14264
14265         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14266         better by trying again with reduced state.
14267
14268 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14269
14270         * lyxrc.C (read): print error about invalid key sequence only when
14271         debugging (because not all latinX keysyms are known to some X
14272         servers)
14273
14274         * kbsequence.C (getiso): add a few std:: qualifiers
14275         (getiso): comment out extra return statement.
14276
14277 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14278
14279         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14280         handling.
14281         (Dispatch): enhance the accent inset a bit. (not perfect)
14282
14283 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14284
14285         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14286
14287 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14288
14289         * bufferlist.C (emergencyWrite): fix assert() call
14290
14291 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14292
14293         * text.C (InsertChar): Added trivial patch to only send the "you
14294         can not do multiple spaces this way" message once during a
14295         session.
14296
14297 2001-05-08  Baruch Even  <baruch@lyx.org>
14298
14299         * Makefile.am: Changed order of libraries to get LyX to link properly
14300         with the gnome frontend.
14301
14302 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14303
14304         * LaTeXFeatures.h: add a std:: qualifier
14305
14306 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14307
14308         * paragraph.C (String): use stringstream
14309
14310 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14311
14312         * paragraph.C (writeFile): remove footflag arg
14313
14314         * buffer.C (makeLaTeXFile): use stringstream
14315         (latexParagraphs): remove footnot gurba
14316
14317         * LaTeXFeatures.C (getPackages): use stringstream
14318         (getMacros): likewise
14319         (getTClassPreamble): likewise
14320         (getFloatDefinitions): new method
14321
14322         * paragraph.C (writeFile): reindent
14323         (Erase): reindent
14324
14325         * WorkArea.h: revert the xpos + etc changes.
14326
14327         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14328
14329         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14330
14331         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14332         (pasteSelection): likewise
14333         * text2.C (CreateUndo): likewise
14334
14335 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14336
14337         * minibuffer.C (peek_event): temporarily reduce the functionality
14338         of the minibuffer (to allow args on lfuns)
14339
14340         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14341         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14342
14343         * buffer.C (readInset): add compability reading of old float
14344         lists, add reading of new style float list.
14345         (readInset): avoid reevaluation of inscmd.getCmdName()
14346         (getLists): reindent
14347
14348         * MenuBackend.C (MenuItem): implement parsing of
14349         md_floatlistinsert and md_floatinsert.
14350         (expand::LastFiles): move initalizaton of iterators out of loop,
14351         avoid reevaluation.
14352         (expand::Documents): introduce typdedef vector<string> Strings,
14353         and use it.
14354         (expand::ExportFormats): introduce typedef vector<Format const *>
14355         Formats, and use it.
14356         (expand): implement FloatListInsert and FloatInsert.
14357
14358         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14359         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14360         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14361
14362         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14363         handling.
14364         (Dispatch::LFUN_FLOAT_LIST): implement
14365
14366 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14367
14368         * LaTeX.C (run): Fix problem with --export code.
14369
14370 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14371
14372         * BufferView.[Ch] (workarea): removed.
14373         (getClipboard) new method; wrapper for workarea()->getClipboard()
14374
14375         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14376         bug.
14377
14378         * WorkArea.h (width, height, xpos, ypos): These methods all
14379         returned the dimensions of the work_area sub-area of WorkArea,
14380         resulting in a position error if the WorkArea were resized. Now
14381         return the dimensions of the entire WorkArea.
14382
14383         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14384
14385 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14386
14387         * LaTeX.C (deplog): correct the syntax of regex reg1
14388
14389 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14390
14391         * undo.C: remove !NEW_INSETS cruft
14392
14393 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14394
14395         * text2.C: remove !NEW_INSETS cruft
14396
14397         * text.C: remove !NEW_INSETS cruft
14398
14399         * tabular.C: remove !NEW_INSETS cruft
14400
14401         * spellchecker.C: remove !NEW_INSETS cruft
14402
14403         * lyxtext.h: remove !NEW_INSETS cruft
14404
14405         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14406
14407         * lyxfunc.C: remove !NEW_INSETS cruft
14408
14409         * lyxfind.C: remove !NEW_INSETS cruft
14410
14411         * lyx_cb.C: remove !NEW_INSETS cruft
14412
14413         * figureForm.C: remove  !NEW_INSETS cruft
14414
14415         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14416
14417         * buffer.[Ch]: remove !NEW_INSETS cruft
14418
14419         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14420
14421         * CutAndPaste.C: remove !NEW_INSETS cruft
14422
14423         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14424
14425         * BufferView2.C: remove !NEW_INSETS cruft
14426
14427         * BufferView.h: remove !NEW_INSETS cruft
14428
14429 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14430
14431         * Lsstream.h: include LString.h before the sstream headers to
14432         fix problem with gcc 2.95.3 and lyxstring
14433
14434 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14435
14436         * lyx_main.C: add using directives when needed for C functions
14437         declared in std:: namespace.
14438
14439 2001-04-27  Juergen Vigna  <jug@sad.it>
14440
14441         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14442         (SetHeightOfRow): comment out the update call should not be needed!
14443
14444 2001-04-13  Juergen Vigna  <jug@sad.it>
14445
14446         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14447         (LyXTabular): tried to minimize operator= operations (and realized
14448         hopfully Lars wish).
14449
14450 2001-04-27  Juergen Vigna  <jug@sad.it>
14451
14452         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14453
14454 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14455
14456         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14457
14458         * buffer.C (readInset): hack to make listof algorithm work
14459
14460         * BufferView_pimpl.C: hack to make listof algorithm work
14461
14462 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14463
14464         * LyXAction.C: removed all !NEW_INSETS cruft
14465         (init): moved lfun_item in method
14466
14467         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14468
14469 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14470
14471         * BufferView2.C (theLockingInset): white space.
14472
14473 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14474
14475         * minibuffer.C: include <iostream>
14476
14477         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14478
14479         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14480
14481         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14482
14483         * text.[Ch] (TransposeChars): new method
14484
14485 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14486
14487         * call message directly through LyXView instead of through LyXFunc
14488         * BufferView2.C: adjust
14489         * BufferView_pimpl.C: adjust
14490         * FontLoader.C: adjust
14491         * buffer.C: adjust
14492         * bufferview_funcs.C: adjust
14493         * converter.C: adjust
14494         * figureForm.C: adjust
14495         * importer.C: adjust
14496         * lyx_cb.C: adjust
14497         * lyx_gui_misc.C: adjust
14498         * lyxfunc.C: adjust
14499         * lyxvc.C: adjust
14500         * text2.C: adjust
14501         + more files in subdirs
14502
14503         * lyxparagraph.h (size): move up int file
14504         (GetLayout): ditto
14505
14506         * adjust all uses of Assert to lyx::Assert.
14507
14508         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14509         lyxfunctional in namespace lyx
14510         * layout.C (hasLayout): ditto
14511         (GetLayout): ditto
14512         (GetLayout): ditto
14513         (delete_layout): ditto
14514         (NumberOfClass): ditto
14515         * converter.C (GetFormat): ditto
14516         (GetNumber): ditto
14517         (Add): ditto
14518         (Delete): ditto
14519         (SetViewer): ditto
14520         * bufferlist.C (getFileNames): ditto
14521         (emergencyWriteAll): ditto
14522         (exists): ditto
14523         (getBuffer): ditto
14524         * MenuBackend.C (hasSubmenu): ditto
14525         (hasMenu): ditto
14526         (getMenu): ditto
14527         * BufferView_pimpl.C (getInsetByCode): ditto
14528
14529 2001-04-18  Juergen Vigna  <jug@sad.it>
14530
14531         * vspace.C (asLatexString): fixed the 100% problem.
14532
14533 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14534
14535         * lyxfunc.C (Dispatch):
14536         * minibuffer.C:
14537         * minibuffer.h: add a few std:: qualifiers
14538
14539 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14540
14541         * minibuffer.[Ch]: reimplement so that commands is initiated and
14542         run from lyxfunc, simplified som handling, and made the completion
14543         and history code for complete. wip.
14544
14545         * lyxfunc.C (processKeySym): call message
14546         (miniDispatch): new temporary method
14547         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14548         (LFUN_MESSAGE): implement
14549         (LFUN_MESSAGE_PUSH): implement
14550         (LFUN_MESSAGE_POP): implement
14551         (initMiniBuffer): the initial/defualt minibuffer message.
14552
14553         * lyxfont.[Ch]: inline some more getters
14554
14555         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14556
14557         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14558
14559         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14560         (AutoSave): use LFUN_MESSAGE
14561         (Reconfigure): ditto
14562
14563         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14564
14565         * figureForm.C: use LFUN_MESSAGE
14566
14567         * converter.C (runLaTeX): use LFUN_MESSAGE
14568
14569         * bufferview_funcs.C: use LFUN_MESSAGE
14570         (Melt): ditto
14571         (changeDepth): ditto
14572
14573         * bufferparams.h: use boost::
14574
14575         * bufferlist.h: inherit privately from noncopyable
14576
14577         * bufferlist.C (loadLyXFile): remove some commented code.
14578
14579         * buffer.C (runChktex): use LFUN_MESSAGE
14580
14581         * ShareContainer.h: inherit privately from noncopyable
14582
14583         * ParagraphParameters.[hC] (depth): inline it.
14584
14585         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14586         methods.
14587         (message): new method
14588         (messagePush): ditto
14589         (messagePop): ditto
14590         (show): init minibuffer
14591         (showState): direct call
14592
14593         * LaTeX.[Ch]: inherit privately from noncopyable
14594         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14595         instead of WriteStatus.
14596
14597         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14598
14599         * BufferView_pimpl.C (buffer): don't init minibuffer
14600         (workAreaButtonPress): use LFUN_MESSAGE
14601         (workAreaButtonRelease): ditto
14602         (savePosition): ditto
14603         (restorePosition): ditto
14604         (MenuInsertLyXFile): ditto
14605         (workAreaExpose): don't init minibuffer
14606         (update): remove commented code, simplify
14607
14608         * BufferView2.C (openStuff): use LFUN_MESSAGE
14609         (toggleFloat): ditto
14610         (menuUndo): ditto
14611         (menuRedo): ditto
14612         (copyEnvironment): ditto
14613         (pasteEnvironment): ditto
14614         (copy): ditto
14615         (cut): ditto
14616         (paste): ditto
14617         (gotoInset): ditto
14618         (updateInset): remove some commented code
14619
14620         * lastfiles.h: inherit privately from noncopyable
14621         * layout.h: ditto
14622         * lyx_gui.h: ditto
14623         * lyx_main.h: ditto
14624         * lyxlex.h: ditto
14625         * lyxlex_pimpl.h: ditto
14626
14627         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14628         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14629         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14630
14631         * LyXAction.h: inherit privately from noncopyable, add methods
14632         func_begin, func_end, returning iterators to the func map.
14633
14634         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14635         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14636         (func_begin): new method
14637         (func_end): new method
14638
14639         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14640         and not)
14641         (copySelection): ditto
14642         (pasteSelection): ditto
14643
14644         * BufferView.C: whitespace change
14645         * BufferView.h: inherit privately from noncopyable
14646
14647 2001-04-16  Allan Rae  <rae@lyx.org>
14648
14649         * tabular-old.C (l_getline):
14650         * spellchecker.C (sc_check_word):
14651         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14652         an unrecognised preprocessor directive.  So ensure they're wrapped.
14653
14654 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14655
14656         * src/exporter.C (Export): Give an error message when path to file
14657         contains spaces.
14658
14659 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14660
14661         * LaTeX.C (deplog): Always check that foundfile exists.
14662
14663 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14664
14665         * lyx_main.h:
14666         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14667
14668 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14669
14670         * tabular.[Ch] (getLabelList): implement new method
14671
14672         * minibuffer.h: comment ouf setTiimer
14673
14674         * minibuffer.C (ExecutingCB): constify res
14675         (peek_event): constify s
14676         (Set): constify ntext
14677         (Init): constify nicename
14678
14679         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14680
14681         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14682         (savePosition): use two params to Minibuffer::Set
14683         (restorePosition): ditto
14684
14685 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14686
14687         * lyx_main.C: include language.h
14688
14689         * Makefile.am (lyx_main.o): add language.h
14690
14691 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14692
14693         * exporter.C:
14694         * paragraph.C:
14695         * screen.C:
14696         * tabular.C:
14697         * CutAndPaste.C: include gettext.h
14698
14699         * lyxfont.h: remove old hack with ON and OFF.
14700
14701         * lyxparagraph.h:
14702         * lyxfont.h: do not include language.h...
14703
14704         * BufferView2.C:
14705         * LaTeXFeatures.C:
14706         * Painter.C:
14707         * bufferview_funcs.C:
14708         * font.C:
14709         * lyxfont.C:
14710         * text.C:
14711         * text2.C:
14712         * trans_mgr.C:
14713         * paragraph.C: ... but do it here instead
14714
14715 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14716
14717         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14718
14719         * tabular.C: small reformat
14720
14721         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14722         NEW_INSETS version
14723         (GetChar): ditto
14724         (BreakParagraph): ditto
14725         (SetOnlyLayout): ditto
14726         (SetLayout): ditto
14727
14728         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14729         with one arg less.
14730
14731         * lastfiles.C: removed most using decl, add std:: where needed
14732
14733         * buffer.C: ws changes
14734
14735         * MenuBackend.C (class compare_format): put into anon namespace
14736         (expand): constify label, names, action, action2
14737         (expand):
14738
14739         * text.C (SingleWidth): constify font
14740         (IsBoundary): constify rtl2
14741         (GetVisibleRow): constify ww
14742
14743         * LaTeX.C (deplog): constify logfile
14744
14745         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14746         start_x, end_x
14747         (workAreaExpose): constify widthChange, heightChange
14748
14749         * lyxrow.C (par): moved
14750         (height): moved
14751         (next): moved
14752         * lyxrow.h: as inlines here
14753
14754         * lyxfont.h (shape): moved from lyxfont.C
14755         (emph): moved from lyxfont.C
14756
14757         * lyxfont.C (LyXFont): use initialization list for all
14758         constructors
14759         (shape): move to lyxfont.h as inline
14760         (emph): move to lyxfont.h as inline
14761
14762
14763 2001-04-04  Juergen Vigna  <jug@sad.it>
14764
14765         * vspace.C: had to include stdio.h for use of sscanf
14766
14767 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14768
14769         * BufferView.h:
14770         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14771         independent of xforms.
14772
14773 2001-04-02  Juergen Vigna  <jug@sad.it>
14774
14775         * spellchecker.C: fixed namespace placing!
14776
14777 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14778
14779         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14780         the LyXParagraph * is 0.
14781
14782 2001-03-29  Juergen Vigna  <jug@sad.it>
14783
14784         * vspace.C: added support for %, c%, p%, l%.
14785         (stringFromUnit): added helper function.
14786         (asLatexString): changed to give right results for the %-values.
14787
14788         * buffer.C: convert the widthp in a width%.
14789
14790 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14791
14792         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14793         figureForm.[Ch].
14794
14795         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14796         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14797
14798         * lyx_cb.[Ch]: see above.
14799
14800         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14801         form1.[Ch].
14802
14803         * form1.[Ch]:
14804         * lyx.[Ch]: replaced by figure_form.[Ch].
14805
14806         * lyx_gui.C:
14807         * lyx_gui_misc.C:
14808         * lyxfunc.C: changed headers associated with above changes.
14809
14810 2001-03-27  Juergen Vigna  <jug@sad.it>
14811
14812         * BufferView_pimpl.C: set the temporary cursor right!
14813
14814 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14815
14816         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14817
14818 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14819
14820         * LString.h: removed "using std::getline"!
14821
14822         * BufferView_pimpl.C (Dispatch): changes due to changes in
14823         InsetInclude::Params.
14824
14825         * buffer.C (tag_name): removed redundant break statements as they were
14826         producing lots of warnings with my compiler.
14827
14828 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14829
14830         * LString.h: add "using std::getline" when using the real <string>.
14831
14832 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14833
14834         * buffer.C: removed bitset usage.
14835         PAR_TAG moved to an anonymous name space.
14836         (tag_name): new funtion, also in the anonymous namespace.
14837         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14838         (makeDocBookFile): clean code. Completed transition from string arrays
14839         to string vectors.
14840         (SimpleDocBookOnePar): code clean.
14841
14842 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14843
14844         * tabular.C: add some comments.
14845
14846 2001-03-22  Juergen Vigna  <jug@sad.it>
14847
14848         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14849         compatibility read a bit and fixed bug with minipage in different
14850         depth.
14851
14852 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14853
14854         * buffer.C (pop_tag): removed.
14855         (push_tag): removed.
14856         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14857         array replaced with vector. Added support for CDATA sections.
14858         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14859         at any nest level.
14860         (makeDocBookFile): XML conformant declaration of CDATA section,
14861         fixed bug related to <emphasis> in the first paragraph char.
14862         (sgmlOpenTag): exclude empty tags.
14863         (sgmlCloseTag): ditto.
14864
14865         * buffer.h (pop_tag): removed.
14866         (push_tag): removed.
14867
14868 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14869
14870         * language.h (Languages): added size_type and size().
14871
14872 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14873
14874         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14875         response on compability reading of minipages. One probliem is that
14876         the old usage of minipages was «flertydig»
14877
14878         * several files here and in subdirs: don't use static at file
14879         scope use anon namespaces instead.
14880
14881 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14882
14883         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14884         LaTeX output. This is necessary for Literate document
14885         processing.
14886
14887 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14888
14889         * buffer.C: insert hfill when needed.
14890
14891         * tabular.C (l_getline): use string::erase, small whitespace change.
14892
14893         * BufferView_pimpl.C: try the anon namespace.
14894         * WorkArea.C: ditto
14895
14896 2001-03-16  Juergen Vigna  <jug@sad.it>
14897
14898         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14899         otherwise it won't open options-dialogs.
14900
14901         * buffer.C: honor pextraWidth(p) on converting minipages.
14902
14903         * tabular.C (l_getline): changed the functions to strip trailing \r.
14904
14905 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14906
14907         * BufferView_pimpl.C:
14908         * minibuffer..C: added "using SigC::slot" declaration.
14909
14910 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14911
14912         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14913
14914         * text2.C: ditto
14915
14916         * text.C: ditto
14917
14918         * paragraph.C: ditto
14919
14920         * lyxtext.h: NO_PEXTRA
14921
14922         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14923
14924         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14925         * ParameterStruct.h: ditto
14926         * ParagraphParameters.h: ditto
14927         * lyxparagraph.h: ditto
14928
14929 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14930
14931         * buffer.C: add compability for minipage alignment.
14932         (latexParagraphs): remove unwanted pextra check.
14933
14934         * several files: remove CXX_WORKING_NAMESPACES
14935
14936         * buffer.C (pop_tag): tie is in namespace boost
14937
14938         * BufferView.h: noncopyable is in namespace boost
14939         * lyxlex.h: ditto
14940         * lyx_main.h: ditto
14941         * lyx_gui.h: ditto
14942         * layout.h: ditto
14943         * lastfiles.h: ditto
14944         * bufferlist.h: ditto
14945         * ShareContainer.h: ditto
14946         * LyXView.h: ditto
14947         * LyXAction.h: ditto
14948         * LaTeX.h: ditto
14949
14950 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14951
14952         * Merging changes from BRANCH_MVC back into HEAD.
14953
14954         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14955
14956 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14957
14958         * BufferView_pimpl.C: change from intl.C
14959
14960         * combox.h:
14961         * combox.C:
14962         * Makefile.am: move combox.*
14963
14964         * form1.h:
14965         * form1.C:
14966         * lyx_gui.C:
14967         * intl.h:
14968         * intl.C: remove dialog (covered by prefs)
14969
14970 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14971
14972         * lyxfunc.C (Dispatch): removed redundant break statement.
14973
14974 2001-03-14  Juergen Vigna  <jug@sad.it>
14975
14976         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14977
14978 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14979
14980         * buffer.C: add hack to fix compability reading of minipages.
14981
14982 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14983
14984         * buffer.C (getLists): Cleanup.
14985
14986 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14987
14988         * lyxfont.C (update): don't honor toggleall on font size.
14989
14990 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14991
14992         * bmtable.c:
14993         * bmtable.h:
14994         * Makefile.am: moved to frontends/xforms/
14995
14996         * lyx_gui_misc.C:
14997         * lyxfunc.C:
14998         * BufferView_pimpl.C: changes for moved mathpanel
14999
15000 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15001
15002         * gettext.h: fix gettext_init() in --disable-nls
15003
15004 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15005
15006         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15007
15008 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15009
15010         * lyx.C:
15011         * lyx.h: strip external form
15012
15013 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15014
15015         * BufferView_pimpl.C: add comment, destroySplash()
15016
15017 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15018
15019         * BufferView_pimpl.C:
15020         * LyXAction.C:
15021         * buffer.C:
15022         * commandtags.h:
15023         * lyxfunc.C: use re-worked insetinclude
15024
15025 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15026
15027         * buffer.C: add using std::stringstream.
15028
15029         * lyx_cb.C: readd using std::ios.
15030
15031         * buffer.C: add using std::map.
15032
15033         * BufferView_pimpl.C: add using std::vector.
15034
15035         * ShareContainer.h: add std:: to swap.
15036
15037         * buffer.h: add some typedefs
15038         * buffer.C (getLists): use them
15039         (getLists): renamed from getTocList.
15040         add a counter for the different float types and use it in the
15041         generated string.
15042         (getLists): use the same counter for the NEW_INSETS and the "non"
15043         NEW_INSETS
15044
15045         * lyx_cb.h: remove unused items, includes, using etc.
15046
15047         * ShareContainer.h: remove some commented code, add more comments
15048         and "documentation".
15049
15050 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15051
15052         * buffer.C (getTocList): make the list also when NEW_INSETS is
15053         defined.
15054
15055         * buffer.h: remove TocType
15056
15057         * buffer.C (getTocList): change to return a map<string,
15058         vector<TocItem> >, implement for dynamic number of list.
15059
15060         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15061         * text2.C (PasteSelection): adjust
15062         * CutAndPaste.C (pasteSelection): adjust
15063
15064         * FloatList.C (FloatList): update from the new_insets branch.
15065         * Floating.[Ch]: ditto
15066         * LaTeXFeatures.C: ditto
15067         * buffer.C: ditto
15068         * lyxlex_pimpl.C: ditto
15069
15070         * paragraph.C (Last): remove when NEW_INSETS is defined.
15071
15072         * other file: changes because of the above.
15073
15074 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15075
15076         * lyxparagraph.h: rename next to next_, previous to previous_,
15077         make them private for NEW_INSETS. Rename Next() to next(),
15078         Previous() to previous().
15079
15080         * other files: changes because of the above.
15081
15082 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15083
15084         * BufferView.h:
15085         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15086         problem.
15087
15088 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15089
15090         * main.C (main): pass lyx_localedir to gettext_init().
15091
15092         * gettext.h: remove locale_init and gettext_init macros
15093
15094         * gettext.C (locale_init): new function
15095         (gettext_init): new function
15096
15097         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15098         setlocale().
15099
15100 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15101
15102         * Moved credits to frontends:
15103         * credits.[Ch]: removed
15104         * credits_form.[Ch]: removed
15105         * lyx_gui_misc.C: remove credits stuff
15106         * Makefile.am:
15107
15108 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15109
15110         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15111
15112         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15113         unneeded destructor.
15114
15115         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15116         a standalone pointer again.
15117
15118         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15119
15120 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15121
15122         * Makefile.am:
15123         * filedlg.h:
15124         * filedlg.C:
15125         * LyXAction.C:
15126         * ToolbarDefaults.C:
15127         * bufferlist.C:
15128         * commandtags.h:
15129         * form1.C:
15130         * form1.h:
15131         * lyx_cb.C:
15132         * lyx_cb.h:
15133         * lyxfunc.h:
15134         * lyxfunc.C:
15135         * BufferView_pimpl.C: use new file dialog in GUII
15136
15137         * lyx_cb.h:
15138         * lyx_cb.C: remove LayoutsCB to Toolbar
15139
15140 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15141
15142         * ShareContainer.h (get): add std:: qualifier
15143
15144 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15145
15146         * ShareContainer.h: define a proper ShareContainer::value_type
15147         type (and use typename to please compaq cxx)
15148
15149 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15150
15151         * lyxparagraph.h: move serveral local vars to
15152         ParameterStruct/ParagraphParameters., use ShareContainer in
15153         FontTable., make vars in FontTable private and add getter and
15154         setter.
15155
15156         * paragraph.C: changes because of the above.
15157
15158         * lyxfont.h: remove copy constructor and copy assignment. (the
15159         default ones is ok), move number inside FontBits. move inlines to
15160         lyxfont.C
15161
15162         * lyxfont.C: add number to initializaton of statics, move several
15163         inlines here. constify several local vars. some whitespace
15164         cleanup. Dont hide outerscope variables.
15165
15166         * Spacing.h: add two new constructors to match the set methods.
15167
15168         * ShareContainer.h: new file, will perhaps be moved to support
15169
15170         * ParameterStruct.h: new file
15171
15172         * ParagraphParameters.h: new file
15173
15174         * ParagraphParameters.C: new file
15175
15176         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15177         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15178
15179         * BufferView_pimpl.C: ParagraphParameter changes.
15180         * buffer.C: Likewise.
15181         * bufferview_funcs.C: Likewise.
15182         * text.C: Likewise.
15183         * text2.C: Likewise.
15184
15185 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15186
15187         * lyxfind.C (LyXReplace): do not redefine default argument in
15188         implementation.
15189         (IsStringInText): ditto
15190         (SearchForward): ditto
15191         (SearchBackward): ditto
15192
15193 2001-03-06  Juergen Vigna  <jug@sad.it>
15194
15195         * lyxfind.C (IsStringInText): put parentes around expressions.
15196
15197 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15198
15199         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15200
15201 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15202
15203         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15204
15205         * stl_string_fwd.h: add comment
15206
15207         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15208
15209         * tabular.h:
15210         * tabular.C: remove unused DocBook methods
15211
15212         * intl.C:
15213         * language.C:
15214         * paragraph.C:
15215         * buffer.C:
15216         killed DO_USE_DEFAULT_LANGUAGE
15217
15218 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15219
15220         * lyx_gui.C: do not include language.h.
15221
15222         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15223         arguments in function implementation.
15224
15225 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15226
15227         * BufferView_pimpl.C: add <ctime>
15228
15229 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15230
15231         * BufferView_pimpl.C: add using std::find_if
15232
15233 2001-02-27  José Matos  <jamatos@fep.up.pt>
15234
15235         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15236         by OnlyPath.
15237
15238 2001-02-11  José Matos  <jamatos@fep.up.pt>
15239
15240         * buffer.C (makeDocBookFile): command styles now have a parameter as
15241         "title" by default.
15242
15243 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15244
15245         * layout_forms.[Ch]: removed
15246         * lyx_cb.[Ch]: out character
15247         * lyx_gui.C: out character
15248         * lyx_gui_misc.C: out character
15249         * bufferview_funcs.C: : out character,
15250         added toggleall as parameter in ToggleAndShow
15251
15252 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15253
15254         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15255
15256         * text2.C (SetCurrentFont): Disable number property at boundary.
15257
15258 2001-02-26  Juergen Vigna  <jug@sad.it>
15259
15260         * lyxfunc.C (getStatus): added a string argument override function so
15261         that this is correctly called from LyXFunc::Dispatch if it contains a
15262         do_not_use_argument which is used!
15263         (Dispatch): added check for "custom" export and call appropriate func.
15264
15265 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15266
15267         * lyxrc.C: Add language_command_local, language_use_babel and
15268         language_global_options.
15269
15270         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15271
15272         * buffer.C (makeLaTeXFile): Use language_use_babel and
15273         language_global_options.
15274
15275 2001-02-23  Juergen Vigna  <jug@sad.it>
15276
15277         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15278         which works with LyXText and putted it inside BufferView. Here now we
15279         only call for that part the BufferView::Dispatch() function.
15280
15281         * BufferView.C (Dispatch): added.
15282
15283         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15284         functions which needs to use a LyXText over from LyXFunc.
15285         (MenuInsertLyXFile): added
15286         (getInsetByCode): added
15287         (moveCursorUpdate): added
15288         (static TEXT): added
15289
15290 2001-02-22  Juergen Vigna  <jug@sad.it>
15291
15292         * BufferView_pimpl.C (update): call a status update to see if LyXText
15293         needs it.
15294
15295 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15296
15297         * vc-backend.C (revert): implement for CVS
15298         (getLog): implement for CVS
15299
15300 2001-02-20  Juergen Vigna  <jug@sad.it>
15301
15302         * text2.C (ClearSelection): added BufferView param for inset_owner call
15303
15304         * lyxfunc.C (TEXT): added this function and use it instead of
15305         directly owner->view()-text of getLyXText().
15306
15307 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15308
15309         * src/layout_forms.C: out preamble
15310         * src/layout_forms.h: out preamble
15311         * src/lyx_cb.C: out preamble
15312         * src/lyx_cb.h: out preamble
15313         * src/lyx_gui.C: out preamble
15314         * src/lyx_gui_misc.C: out preamble
15315         * src/lyxfunc.C: connect with guii preamble
15316
15317 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15318
15319         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15320
15321 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15322
15323         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15324         whether to run bibtex.
15325
15326 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15327
15328         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15329
15330 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15331
15332         * Makefile.am (lyx_SOURCES): removed bibforms.h
15333
15334         * vspace.h: doxygen
15335
15336         * text.C (GetVisibleRow): make several local vars const
15337
15338         * tabular.C: small cleanup.
15339
15340         * lyxserver.C (callback): use compare instead of strncmp
15341
15342         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15343         inlines to after class or to paragraph.C
15344
15345         * lyxfont.h: remove friend operator!=
15346
15347         * converter.h: move friend bool operator< to non friend and after
15348         class def.
15349
15350         * combox.h: small cleanup
15351
15352         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15353         to inlines after class def.
15354
15355         * buffer.C (pop_tag): use string operations instead of strcmp
15356
15357         * bmtable.c: doxygen, small cleanup
15358
15359         * LaTeX.h: remove friend operator==
15360
15361 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15362
15363         * screen.C:
15364         * lyxrc.[Ch]:
15365         * lyxfunc.C:
15366         * lyxfont.[Ch]:
15367         * lyx_cb.C:
15368         * intl.[Ch]:
15369         * commandtags.h:
15370         * buffer.C:
15371         * WorkArea.[Ch]:
15372         * LyXAction.C:
15373         * BufferView_pimpl.C:
15374         * BufferView.[Ch]: remove cruft
15375
15376 2001-02-14  Juergen Vigna  <jug@sad.it>
15377
15378         * lyxfunc.C: removed #if 0 unused code
15379
15380         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15381
15382         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15383
15384         * text2.C (SetSelection): added a BufferView * parameter
15385
15386 2001-02-13  Juergen Vigna  <jug@sad.it>
15387
15388         * lyxfunc.C (Dispatch): fixed protected blank problem.
15389         * BufferView2.C (protectedBlank): added LyxText * parameter.
15390
15391         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15392         (AppendColumn): same as above for column_info.
15393
15394         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15395         (moveCursorUpdate): use a LyXText param for support of InsetText.
15396
15397         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15398         (tripleClick): ditto
15399
15400         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15401
15402         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15403
15404         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15405
15406         * text2.C (SetSelection): set correct update status if inset_owner
15407         (ToggleFree): ditto
15408
15409 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15410
15411         * tabular.C: remove some commented code.
15412
15413 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15414
15415         * BufferView_pimpl.C: call hideSplash()
15416
15417         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15418
15419         * include_form.h:
15420         * bibforms.h: remove
15421
15422         * lyxfunc.C:
15423         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15424           add LFUN_CHILD_CREATE
15425
15426         * counters.h: fix tiny typo
15427
15428         * lyx_cb.C:
15429         * lyx.h:
15430         * lyx_gui.C:
15431         * lyx.C: move splash to frontends/xforms/
15432
15433         * lyx_gui_misc.C: move Include and Bibform to frontends
15434
15435         * lyxvc.h: clarify comment
15436
15437         * vspace.C: tiny housekeeping
15438
15439 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15440
15441         * text.C (PrepareToPrint): RTL Fix.
15442
15443         * paragraph.C (GetUChar): New method.
15444         (String):  Use GetUChar.
15445
15446         * buffer.C (asciiParagraph): Use GetUChar.
15447
15448 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15449
15450         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15451
15452 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15453
15454         * buffer.h:
15455         * buffer.C: rename to getLogName(), handle
15456           build log / latex log nicely
15457
15458 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15459
15460         * MenuBackend.C:
15461         * MenuBackend.h: remove support for reference menuitem type.
15462
15463 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15464
15465         * BufferView_pimpl.C: housekeeping
15466         * BufferView_pimpl.h:
15467         * LyXView.h:
15468         * Makefile.am:
15469         * Timeout.C:
15470         * Timeout.h:
15471         * minibuffer.h: move Timeout GUI-I
15472
15473 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15474
15475         * lyxrc.C (read): Update converters data-structures.
15476
15477 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15478
15479         * LaTeX.h (operator!=): add operator != for Aux_Info
15480
15481 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15482
15483         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15484
15485         * LaTeXLog.C: deleted, useful code moved to Buffer
15486
15487         * buffer.h:
15488         * buffer.C: new function getLatexLogName()
15489
15490         * lyx_gui_misc.C:
15491         * lyx_gui.C:
15492         * lyxvc.C:
15493         * lyxvc.h:
15494         * lyxfunc.C: use frontends for LaTeX and VC logs
15495
15496 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15497
15498         * LaTeX.h: yet another std:: that Allan forgot.
15499
15500         * Variables.C (set): renamed from isset(), because this clashes
15501         with some HP-UX macros (grr).
15502
15503 2001-02-06  Allan Rae  <rae@lyx.org>
15504
15505         * LaTeX.h: Another bug fix.  Missing std:: this time.
15506
15507 2001-02-04  Allan Rae  <rae@lyx.org>
15508
15509         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15510         floats problem. I've left it commented out because it's not quite
15511         correct.  It should also test that the current object is a table or
15512         figure inset.  But I haven't gotten around to figuring out how to do
15513         that.  I *think* it'll be something like: "table" == inset.type()
15514
15515         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15516         bool.
15517
15518 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15519
15520         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15521         all the citation/databases/styles in the auxilary file.
15522         (run): Rerun latex if there was a babel language error.
15523
15524 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15525
15526         * text.C (Backspace): Preserve the font when changing newline char
15527         with a space.
15528         (BreakParagraph): If the cursor is before a space, delete the space.
15529
15530         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15531
15532 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15533
15534         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15535         new argument (code).
15536         (ChangeCitationsIfUnique): New method.
15537
15538         * paragraph.C (GetPositionOfInset): Handle bibkey.
15539
15540 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15541
15542         * BufferView_pimpl.h: change type of Position::par_pos to
15543         LyXParagraph::size_type.
15544
15545 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15546
15547         * BufferView_pimpl.C (savePosition, restorePosition): Write
15548         messages to minibuffer.
15549
15550 2001-01-28  José Matos  <jamatos@fep.up.pt>
15551
15552         * buffer.C (makeDocBookFile): adds support for document language.
15553         A silly restriction on the name of LatexCommand types where removed.
15554         Added support for CDATA sections, allows to chars unescaped, used
15555         among others in code, to avoid escape < and >.
15556
15557 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15558
15559         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15560         saved positions instrad of a stack. Furthermore, a position is
15561         stored using paragraph id/paragraph position.
15562
15563         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15564         Remove LFUN_REF_BACK.
15565
15566 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15567
15568         * converter.C (dvipdfm_options): New method.
15569
15570 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15571
15572         * vspace.C (isValidLength): Fix for empty input string.
15573
15574 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15575
15576         * LyXAction.C (init): change description of LFUN_FIGURE to
15577         "Insert Graphics"
15578
15579 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15580
15581         * LaTeX.C: add using directive
15582
15583 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15584
15585         * MenuBackend.C (expand): Fix the sorting of the formats.
15586
15587 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15588
15589         * lyx_main.C: tiny error message fix
15590
15591 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15592
15593         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15594         calling fl_initialize(). This fixes the problem with ',' as
15595         decimal separator in text files.
15596
15597 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15598
15599         * trans.C (process): Fix the keymap bug.
15600
15601 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15602
15603         * LaTeX.C (scanAuxFiles): New method. Provides support for
15604         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15605         (scanLogFile) Scan for "run BibTeX" messages.
15606
15607         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15608         OT1 font encoding. Also, load the aecompl package if the ae
15609         package is loaded.
15610
15611         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15612
15613 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15614
15615         * texrow.C (increasePos): turn two error messages into debug
15616         messages.
15617
15618 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15619
15620         * LaTeX.C (scanAux): Handle the \@input macro.
15621         (runBibTeX): Use scanAux().
15622
15623         * language.C (latex_options_): New field.
15624
15625         * LaTeXFeatures.C (getMacros): Add language macros.
15626
15627         * buffer.C (makeLaTeXFile): Small fix.
15628
15629 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15630
15631         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15632
15633         * text2.C: add a using directive.
15634
15635 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15636
15637         * BufferView2.C:
15638         * lyx_gui_misc.h:
15639         * lyxfr1.C:
15640         * lyxfunc.C: kill LyXBell.
15641
15642 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15643
15644         * text.C (IsBoundary): Remove the error message
15645
15646         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15647
15648         * lyxrc.C (setDefaults): Correct initialization value for
15649         font_norm_type.
15650
15651 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15652
15653         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15654         gotoError().
15655
15656         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15657         and GotoNextNote().
15658
15659         * src/LyXAction.C: Added reference-next.
15660
15661         * text.C (InsertChar): Use contains instead of strchr.
15662
15663         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15664
15665 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15666
15667         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15668         alignment commands (when needed).
15669
15670         * text.C (InsertChar): Add ':' to number separator chars.