]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
56fa5d201a049cfbc55e4614928579c3abff66e7
[lyx.git] / src / ChangeLog
1 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
2
3         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
4         * lyxsocket.C (LyXServerSocket): ditto
5         (serverCallback): ditto
6
7 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8
9         * LaTeXFeatures.C: check release date when loading jurabib.
10
11 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
12
13         * lyxserver.C (startPipe): call register_socket_callback
14         (endPipe): call unregister_socket_callback
15
16 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
17
18         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
19         (LyXServerSocket): register the callback
20         (LyXServerSocket): unregister the callback
21         (fd): delete function
22         (serverCallback): improve error checking and setup the callbacks.
23         (dataCallback): change arg to fd.
24         (writeln): new func (copied fro the client socket) used for server
25         write to client.
26         (LyXDataSocket): simplify
27         (~LyXDataSocket): close ann unregiser callback
28         (server): delete function
29         (fd): delete function
30         (readln): small changes, improve some std::string usage
31         (writeln): constify a bit
32
33 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
34
35         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
36         Qt frontend
37
38 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
39
40         * BufferView_pimpl.C (setBuffer): set the layout combox value only
41         after it has been populated
42
43 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
44
45         * text2.C (insertInset): move cursor when inserting inset.
46
47 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
48
49         * kbmap.C (findbindings): a couple of new methods. returns a
50         container of kb_sequence objects. The real work is done by the
51         private recursive version
52         (printbindings): uses findbindings to print out a bracketed list
53         of bindings (renamed from findbinding).
54
55         * MenuBackend.C (binding): use kb_keymap::findbindings
56
57         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
58
59 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
60
61         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
62
63 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
64
65         * paragraph.C (isWord): return true on insets that report
66         isLetter().
67
68         * text.C (getWord): use Paragraph::isWord to decide what is in a
69         word and what is not; fix bug 1609.
70
71 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
72
73         * tex-strings.C: add "none" to string_paperpackages[], fixes
74         off-by-one-error in the paperpackage selection.
75
76         * lyxlex.[Ch]:
77         * tex-strings.[Ch]: char const * string[n]
78         -> char const * const string[]
79
80 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
81
82         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
83         command, return early.
84
85 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
86
87         * debug.h: add DEBUG to enum and fix size of ANY.
88
89         * debug.C: add support for Debug::DEBUG
90         (showTags): cast errorTags.level to unsigned int
91
92         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
93         (redoCurrentBuffer): ditto
94         (updateScrollbar): ditto
95         * cursor.C (dispatch): ditto
96         * text2.C (setLayout): ditto
97         (setFont): ditto
98         (updateCounters): ditto
99         (editXY): ditto
100         (deleteEmptyParagraphMechanism): ditto
101
102 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
103
104         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
105         annotations to cleanup the Makefile slightly.
106
107 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
108
109         * lyxrc.C: do not set user_email to a default value but use empty
110         instead. The entry used to be translated, which does not work
111         since at the point where lyxrc is constructed there is no
112         translation service available
113
114         * messages.C (getLocaleDir): remove and use directly
115         lyx_localedir() instead
116
117 2004-06-02  Angus Leeming  <leeming@lyx.org>
118
119         Fix crash caused by dereferencing null pointer 'exportdata' in
120         OutputParams by creating a new ExportData variable on the heap,
121         storing it in a boost::shared_ptr.
122         The crash was triggered when generating an Instant Preview
123         of an external inset.
124
125         * Makefile.am: add outputparams.C
126
127         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
128         (c-tor): allocate memory to it.
129
130         * exporter.C (c-tor): associated changes.
131
132 2004-06-01  Angus Leeming  <leeming@lyx.org>
133
134         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
135         contains data before calling isInset(0). (Bug 1513.)
136
137 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
138
139         * exporter.C (checkOverwrite): new method
140         * exporter.C (copyFile): new method
141         * exporter.C (Export): copy referenced files to the document dir
142         * exporter.[Ch]: new class ExportedFile
143         * exporter.[Ch]: new class ExportData. Contains currently the
144         names of referenced external files
145         * outputparams.h: add exportdata member.
146
147 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
148
149         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
150         version.C-tmp
151
152 2004-05-19  Angus Leeming  <leeming@lyx.org>
153
154         * LaTeXFeatures.C:
155         * ToolbarBackend.C:
156         * bufferparams.C:
157         * lyxfunc.C: small changes due to the introduction of namespace
158         lyx::frontend and the moving of namespace biblio to lyx::biblio.
159
160 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
161
162         * text3.C (dispatch): supress update when only moving the cursor
163         * cursor.C (selHandle): remove commented code
164
165 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
166
167         * paragraph.C (startTeXParParams): correct column count
168         * CutAndPaste.C (pasteSelection): remove const_cast
169         * output_docbook.C (docbookParagraphs): remove const_cast
170         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
171         const_cast and return ParagraphList::const_iterator
172         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
173         * output_plaintext.C (writeFileAscii): remove const_cast
174         * paragraph.[Ch] (simpleTeXOnePar): make const
175         * paragraph_funcs.C (outerPar): use const iterators
176         * paragraph_pimpl.C (validate): use const iterators
177         * text.C (setHeightOfRow): use const iterators
178
179 2004-05-17  Angus Leeming  <leeming@lyx.org>
180
181         * lfuns.h:
182         * LyXAction.C (init): new LFUN_INSET_REFRESH.
183
184         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
185         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
186         if the citation engine has changed.
187
188 2004-05-14  José Matos  <jamatos@lyx.org>
189
190         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
191         if the textclass does not provide it. Have it different for sgml and
192         xml.
193         support the language of document.
194         * output_docbook.C (docbookParagraphs):
195         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
196         first anchor as the id of the paragraph, remove special case code.
197         * sgml.C (escapeChar): escape only < & >.
198
199 2004-05-14  Angus Leeming  <leeming@lyx.org>
200
201         * bufferparams.h: move biblio::CiteEngine enum here to minimize
202         dependencies on src/frontends/controllers/biblio.h. Define a
203         CiteEngine_enum wrapper class to enable the enum to be forward
204         declared.
205
206 2004-05-12  Angus Leeming  <leeming@lyx.org>
207
208         * buffer.C: up LYX_FORMAT to 234.
209         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
210         use_numerical_citations with a single biblio::CiteEngine cite_engine
211         variable.
212         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
213
214 2004-05-13  José Matos  <jamatos@lyx.org>
215
216         * converter.h:
217         * converter.C (Converter, readFlags): add xml member.
218         * outputparams.h: add XML flavor.
219         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
220
221 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
222
223         * lyxfunc.C (dispatch):
224         (getStatus): fix handling of LFUN_SEQUENCE
225
226 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
227
228         * debug.C (showLevel): do not forget the end-of-line marker
229
230 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
231
232         * kbmap.C (read): do not stop parsing a bind file when an error
233         occurs (bug 1575)
234
235 2004-04-29  Angus Leeming  <leeming@lyx.org>
236
237         * cursor.C:
238         * factory.C:
239         * pariterator.C:
240         * text2.C: wrap a bunch of #warning statements
241         inside #ifdef WITH_WARNINGS blocks.
242
243 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
244
245         * buffer.C: increment format to 233.
246
247 2004-04-28  Angus Leeming  <leeming@lyx.org>
248
249         * BufferView_pimpl.C:
250         * lyxfunc.C:
251         * text3.C:
252         s/updateToolbar()/updateToolbars()/
253         s/Toolbar.h/Toolbars.h/
254
255 2004-04-28  Angus Leeming  <leeming@lyx.org>
256
257         * BufferView.[Ch] (c-tor):
258         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
259         No longer passes these data to the WorkArea generator.
260
261 2004-04-28  Angus Leeming  <leeming@lyx.org>
262
263         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
264
265 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
266
267         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
268
269 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
270
271         * output_latex.C (TeXEnvironment): make sure that there is a line
272         break before \end{foo} for the last paragraph of a document
273         (TeXOnePar): if the paragraph is at the end of the document (or
274         inset) and the language has to be reset, then make sure that the
275         line break is _before_ the language command, not after (fixes bug
276         1225); also make sure that the language reset command is the first
277         thing after the paragraph (to ensure proper nesting of
278         environments and thus fix bug 1404)
279
280 2004-04-21  John Levon  <levon@movementarian.org>
281
282         * ToolbarBackend.h:
283         * ToolbarBackend.C: make "name" be a programmatic name
284         and a gui_name field.
285
286         * lyxfunc.C: display the minibuffer on M-x
287
288 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
289
290         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
291         (bug 1526)
292
293 2004-04-19  Angus Leeming  <leeming@lyx.org>
294
295         * BufferView_pimpl.C (setBuffer): changed preview interface.
296
297         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
298         possible values.
299
300 2004-04-19  John Levon  <levon@movementarian.org>
301
302         * BufferView_pimpl.C:
303         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
304
305 2004-04-05  Angus Leeming  <leeming@lyx.org>
306
307         * text.C (redoParagraphs): add call to updateCounters(), thereby
308         fixing the missing "Figure #:" label from the caption of a
309         figure float.
310
311 2004-04-13  Angus Leeming  <leeming@lyx.org>
312
313         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
314         cursor is clicked out of an inset.
315
316 2004-04-13  Angus Leeming  <leeming@lyx.org>
317
318         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
319         than an InsetOld one.
320
321 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
322
323         * format.[Ch]: add editor to Format
324         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
325         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
326
327 2004-04-08  André Pönitz  <poenitz@gmx.net>
328
329         * metricsinfo.h: remove PainterInfo::width member
330
331 2004-04-08  Angus Leeming  <leeming@lyx.org>
332
333         * lyx_sty.C (boldsymbol_def): modify so that it outputs
334         "\providecommand" rather than "\newcommand", thereby preventing
335         clashes with packages that define "\boldsymbol" themselves.
336         Eg, beamer.
337
338 2004-04-08  Angus Leeming  <leeming@lyx.org>
339
340         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
341         thereby squashing an unnecessary warning.
342
343 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
344
345         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
346         setBuffer()
347
348 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
349
350         * BufferView.C (setCursor): call redoParagraph (some insets could
351         have been opened)
352         (putSelectionAt): remove the 'double update' trick
353
354         * BufferView_pimpl.C (fitCursor): call refreshPar
355         (workAreaDispatch): remove an uneeded update call
356         (dispatch): remove some manual update calls
357
358         * cursor.[Ch]: remove cached_y_, updatePos
359         (selHandle): set noUpdate when appropriate
360
361         * lyxfunc.C (dispatch): track if we need an update
362
363         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
364
365         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
366         (paintSelection): cheap optimization, do not call cursorX when not
367         needed
368         (paintPars): change signature
369         (refreshPar): add
370         (paintText): adjust
371         (paintTextInset): adjust
372
373         * text.C: adjust
374
375 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
376
377         * lengthcommon.C: compilation fix: remove explicit array size from
378         unit_name[] and friends
379
380 2004-04-05  Angus Leeming  <leeming@lyx.org>
381
382         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
383
384         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
385         present only for the preferences dialog.
386         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
387
388 2004-04-05  Angus Leeming  <leeming@lyx.org>
389
390         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
391         to enable the frontends to export changes to lyxrc correctly.
392
393         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
394
395 2004-04-07  André Pönitz  <poenitz@gmx.net>
396
397         * cursor.[Ch] (selClear, adjust): remove math
398
399         * cursor_slice.C: more agressive assert
400
401         * lyxfunc.C:
402         * BufferView_pimpl.C: rework mouse event dispatch
403
404         * dociterator.C:
405         * paragraph.C:
406         * text2.C:
407         * text3.C: adjust
408
409 2004-04-05  André Pönitz  <poenitz@gmx.net>
410
411         * cursor.[Ch] (valign, halign...): remove unneeded functions
412
413 2004-04-05  Angus Leeming  <leeming@lyx.org>
414
415         * lyxlength.[Ch] (unit_name et al.): const-correct.
416
417 2004-04-05  Angus Leeming  <leeming@lyx.org>
418
419         * BufferView_pimpl.C:
420         * buffer.C:
421         * counters.C:
422         * cursor.C:
423         * lyxfunc.C
424         * paragraph.C:
425         * pariterator.C:
426         * text.C:
427         * text2.C:
428         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
429
430 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
431
432         * text3.C (getStatus): add LFUN_BEGINNINGBUF
433
434 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
435
436         * lyxfind.C: add a couple of inTexted() tests + other small fixes
437         * BufferView_pimpl.[Ch] (getStatus)
438         * BufferView.[Ch] (getStatus): add
439         * lyxfunc.C (getStatus): move lfuns handled in
440         BufferView::dispatch to te function above
441         * Cursor.C (setSelection): set selection() = true
442
443 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
444
445         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
446
447 2004-03-31  Angus Leeming  <leeming@lyx.org>
448
449         * lyxfunc.C (dispatch): Fall through to the generic
450         Dialogs::show("preamble").
451
452 2004-03-31  Angus Leeming  <leeming@lyx.org>
453
454         * lyxfunc.C (dispatch): Fall through to the generic
455         Dialogs::show("spellchecker").
456
457 2004-03-31  Angus Leeming  <leeming@lyx.org>
458
459         * lyxfunc.C (getStatus, dispatch): changed invocation of the
460         preferences dialog.
461
462 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
463
464         * BufferView.C
465         * cursor.[Ch]
466         * dociterator.[Ch]:
467         * insetiterator.[Ch]:
468         * lyxfind.C:
469         * lyxfunc.C:
470         * pariterator.[Ch]:
471         * text2.C:
472         * undo.[Ch]: s/DocumentIterator/DocIterator/g
473
474 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
475
476         * BufferView.C (setCursor, putSelectionAt): call edit to open the
477         insets where we are putting the cursor.
478
479 2004-03-31  Angus Leeming  <leeming@lyx.org>
480
481         * lfuns.h:
482         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
483
484         * lyxrc.[Ch] (read, write): overloaded member functions taking
485         a std::[io]stream arguments.
486
487         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
488
489 2004-03-31  Angus Leeming  <leeming@lyx.org>
490
491         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
492         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
493
494         * lyxtextclass.C (load): if the text class couldn't be loaded, then
495         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
496
497 2004-03-31  Angus Leeming  <leeming@lyx.org>
498
499         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
500         the LFUN_ALL_INSETS_TOGGLE code.
501
502 2004-03-30  Angus Leeming  <leeming@lyx.org>
503
504         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
505         has died. Fall through to the generic Dialogs::show("document").
506
507 2004-03-30  Angus Leeming  <leeming@lyx.org>
508
509         * lfuns.h:
510         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
511         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
512
513         * lyxfunc.C (getStatus, dispatch): define the actions for these
514         lfuns. Little more than a cut and pste job from ControlDocument.C
515
516         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
517
518 2004-03-30  Angus Leeming  <leeming@lyx.org>
519
520         * lfuns.h:
521         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
522         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
523
524         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
525         open/closed state of ollapsable insets. Usage:
526
527         all-inset-toggle <state> <name>, where
528         <state> == "open" || "closed" || "toggle" and
529         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
530
531         * lyxtext.h, text2.C (toggleInset): removed.
532
533         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
534         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
535         now passes LFUN_INSET_TOGGLE to the found inset.
536
537         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
538         is now invoked as "all-insets-toggle toggle branch".
539
540 2004-03-30  Angus Leeming  <leeming@lyx.org>
541
542         * dociterator.C:
543         * insetiterator.C:
544         * pariterator.[Ch]: added/corrected header blurb.
545
546 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
547
548         * dociterator.[Ch]: add an inset_ member
549         (backwardPos): implemented
550         (backwardPos, forwardPos): use inset_ when the stack is empty.
551         (doc_iterator_begin, doc_iterator_end): implemented
552         * pariterator.[Ch]: adjust, add begin, end
553         * insetiterator.[Ch]: adjust, add begin, end
554         * cursor.C:
555         * document.C:
556         * BufferView.C:
557         * BufferView_pimpl.C:
558         * CutAndPaste.C: adjust
559
560 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
561
562         * buffer.C: increment file format to 232.
563         * LaTeXFeatures.C: add bibtopic package.
564         * bufferparams.[Ch]: param \use_bibtopic.
565
566         * lyxrc.[Ch]: add lyxrc bibtex_command
567         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
568
569         * buffer.C: increment file format to 231.
570
571 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
572
573         * dociterator.C: implement forwardPar
574         * iterators.[Ch]: remove, replaced by
575         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
576         * BufferView.C:
577         * BufferView_pimpl.C:
578         * CutAndPaste.C:
579         * buffer.C:
580         * bufferview_funcs.C:
581         * cursor.C:
582         * lyxfind.C
583         * lyxfunc.C
584         * paragraph_funcs.C
585         * toc.C:
586         * Makefile.am: adjust
587
588 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
589
590         * CutAndPaste.C (pasteSelection): fix 2 crashes
591         (eraseSelection): fix a crash
592         * paragraph_funcs.C: remove a warning
593
594 2004-03-28  Angus Leeming  <leeming@lyx.org>
595
596         * lfuns.h:
597         * LyXAction.C (init): new LFUN_PRINT.
598
599         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
600
601 2004-03-27  Angus Leeming  <leeming@lyx.org>
602
603         * lfuns.h:
604         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
605
606         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
607
608 2004-03-27  Angus Leeming  <leeming@lyx.org>
609
610         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
611         insetlist always contains non-null pointers to insets.
612
613 2004-03-26  Angus Leeming  <leeming@lyx.org>
614
615         * src/BufferView_pimpl.C:
616         * src/CutAndPaste.C:
617         * src/buffer.C:
618         * src/iterators.C:
619         * src/output_plaintext.C:
620         * src/outputparams.h:
621         * src/paragraph_funcs.C:
622         * src/rowpainter.C:
623         * src/text.C:
624         * src/text2.C:
625         * src/frontends/controllers/ControlErrorList.C:
626         * src/frontends/gtk/FileDialogPrivate.C:
627         * src/frontends/gtk/GPainter.C:
628         * src/frontends/gtk/GToolbar.C:
629         * src/frontends/qt2/QRef.C:
630         * src/mathed/math_scriptinset.C: squash compiler warnings.
631
632 2004-03-26  Angus Leeming  <leeming@lyx.org>
633
634         * ispell.C (LaunchIspell::start):
635         * lyx_cb.C (AutoSaveBuffer::start):
636         invoke run(DontWait) rather than runNonBlocking().
637
638 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
639
640         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
641
642 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
643
644         * kbsequence.C (print): adjust
645
646         * kbmap.C (printKeySym): rename and change signature
647         (printKey): use LyXKeySym::print()
648
649 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
650
651         * undo.C: add using std::advance to compile for stlport
652
653 2004-03-24  Angus Leeming  <leeming@lyx.org>
654
655         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
656         it leads to a crash when no buffer is present.
657
658 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
659             Martin Vermeer  <martin.vermeer@hut.fi>
660
661         * lyxfunc.C (dispatch):
662         * bufferparams.C (readToken): use the new LColor::setColor
663
664         * LColor.[Ch] (setColor): new version that takes two strings as
665         argument and creates a new color entry if necessary
666
667 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
668
669         * buffer.C (makeLaTeXFile): if the main latex file that is
670         processed is usually a subdocument of some master, then pretend
671         for a while that it is actually the master
672
673 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
674
675         * buffer.C (getLabelList):
676         (getBibkeyList): use getMasterBuffer()
677         (getMasterBuffer): new method. Returns the main document in the
678         case where one is using included documents.
679
680 2004-03-25  André Pönitz  <poenitz@gmx.net>
681
682         * Makefile.am:
683         * iterators.[Ch]:
684         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
685
686         * ParagraphList_fwd.h: change ParagraphList to a std::vector
687
688         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
689         text*.C over here. Rename namespace CutAndPaste to lyx::cap
690
691         * ParameterStruct.h: merge with ParagraphParameters
692
693         * lyxtext.h: remove LyXText::parOffset() and getPar()
694
695         * text3.C: Remove all 'manual' update calls. We do now one per user
696         interaction which is completely sufficient.
697
698         * Bidi.C:
699         * BufferView.[Ch]:
700         * BufferView_pimpl.C:
701         * FontIterator.[Ch]:
702         * MenuBackend.C:
703         * ParagraphParameters.[Ch]:
704         * buffer.C:
705         * buffer.h:
706         * bufferlist.C:
707         * cursor.[Ch]:
708         * cursor_slice.[Ch]:
709         * dociterator.[Ch]:
710         * errorlist.[Ch]:
711         * factory.C:
712         * lfuns.h:
713         * lyxfind.C:
714         * lyxfunc.C:
715         * output_docbook.[Ch]:
716         * output_latex.[Ch]:
717         * output_linuxdoc.[Ch]:
718         * output_plaintext.[Ch]:
719         * paragraph.[Ch]:
720         * paragraph_funcs.[Ch]:
721         * paragraph_pimpl.[Ch]:
722         * rowpainter.C:
723         * tabular.[Ch]:
724         * text.C:
725         * text2.C:
726         * toc.C:
727         * undo.[Ch]: adjust
728
729         * frontends/controllers/ControlDocument.C:
730         * frontends/controllers/ControlErrorList.C:
731         * frontends/controllers/ControlSpellchecker.C:
732         * insets/inset.C:
733         * insets/inset.h:
734         * insets/insetbase.h:
735         * insets/insetbibitem.C:
736         * insets/insetbox.C:
737         * insets/insetbranch.C:
738         * insets/insetcaption.C:
739         * insets/insetcharstyle.C:
740         * insets/insetcharstyle.h:
741         * insets/insetcollapsable.C:
742         * insets/insetcollapsable.h:
743         * insets/insetert.C:
744         * insets/insetfloat.C:
745         * insets/insetfoot.C:
746         * insets/insetmarginal.C:
747         * insets/insetnote.C:
748         * insets/insetoptarg.C:
749         * insets/insettabular.C:
750         * insets/insettext.C:
751         * insets/insettext.h:
752         * insets/insetwrap.C:
753         * mathed/math_mboxinset.C:
754         * mathed/math_nestinset.C:
755         * mathed/math_scriptinset.C:
756         * mathed/math_scriptinset.h:
757         * support/types.h:
758
759 2004-03-24  Angus Leeming  <leeming@lyx.org>
760
761         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
762         deal with any child processes that have finished but are waiting to
763         communicate this fact to the rest of LyX.
764
765 2004-03-24  Angus Leeming  <leeming@lyx.org>
766
767         64-bit compile fixes.
768
769         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
770         (c-tor): pass lyx::pos_types rather than ints.
771
772         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
773         lyx::pos_type.
774
775         * text.C (Delete): compile fix.
776         (getPar): ensure that function declaration is the same as that in
777         the header file.
778
779 2004-03-23  Angus Leeming  <leeming@lyx.org>
780
781         * ispell.C (LaunchIspell):
782         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
783         a boost::shred_ptr rather than a std::auto_ptr.
784
785 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
786
787         * lyxfunc.C (getStatus): handle read-only buffers correctly;
788         handle LFUN_FILE_INSERT_*
789
790         * lyxrc.C (setDefaults, getDescription, output, read):
791         * lyxrc.h: remove ps_command
792
793 2004-03-22  Angus Leeming  <leeming@lyx.org>
794
795         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
796         Ensure that error_handler is processed once only and that all data
797         is saved before attempting to output any warning messages.
798
799         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
800
801 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
802
803         * tabular.C (TeXRow): crash fix (from Kayvan and André)
804
805 2004-03-19  André Pönitz  <poenitz@gmx.net>
806
807         * cursor.[Ch] (reset): take main text inset as argument
808
809         * BufferView: adjust
810         * BufferView_pimpl.C: adjust
811
812         * paragraph.[Ch]: fix completely broken operator=()
813
814 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
815
816         * LColor.C (getFromLyXName): make sure that the color name is used
817         as lowercase.
818
819 2004-03-17  Angus Leeming  <leeming@lyx.org>
820
821         * lfuns.h:
822         * LyXAction.C (init): remove LFUN_FORKS_KILL.
823
824         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
825         dialog and to kill a forked process.
826
827 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
828
829         * text2.C (setCursorFromCoordinates): fix font problem
830
831 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
832
833         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
834         bogus "rebuild cursor" code
835
836 2004-03-11  André Pönitz  <poenitz@gmx.net>
837
838         * buffer.[Ch]: use InsetText instead of LyXText as container for
839         the main lyx text.
840
841         * dociterator.[Ch]: drop the BufferView * member which is not needed
842         anymore after the change to buffer.C
843
844         * paragraph_funcs.C:
845         * text.C:
846         * text2.C:
847         * BufferView.[Ch]:
848         * BufferView_pimpl.[Ch]:
849         * cursor.[Ch]:
850         * cursor_slice.[Ch]: adjust
851
852         * text3.C: fix bug in mathDispatch
853
854 2004-03-08  André Pönitz  <poenitz@gmx.net>
855
856         * undo.[Ch]: use 'StableDocumentIterator' as base for
857         the Undo struct.
858
859 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
860
861         * LaTeXFeatures.C:
862         * bufferparams.[Ch]: add jurabib support and param.
863
864         * LaTeX.C: add FIXME/comment.
865
866 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
867
868         * buffer.C: increment file format to 230.
869
870 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
871
872         * cursor.C (dispatch): avoid infinite loops
873
874 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
875
876         * rowpainter.C (paintSelection): fix x coordinates
877
878 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
879
880         * text.C (rowBreakPoint): fix breaking before displayed insets
881
882 2004-03-01  André Pönitz  <poenitz@gmx.net>
883
884         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
885
886         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
887
888         * Makefile.am:
889         * BufferView.C:
890         * BufferView_pimpl.C:
891         * buffer.C:
892         * lyxfind.C:
893         * lyxfunc.C:
894         * text.C:
895         * text2.C:
896         * text3.C: adjust
897
898 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
899
900         * lyxtext.h:
901         * text.C:
902         * text2.C:
903         * rowpainter.C:
904         * BufferView_pimpl.C: rename textwidth -> maxwidth,
905         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
906
907 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
908
909         * Bidi.[Ch] (computeTables): const correctness
910         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
911         fill_hfill, fill_label_hfill and x from Row
912         * lyxtext.h: prepareToPrint returns a RowMetrics
913         * rowPainter.C: adjust
914         * text.C (prepareToPrint): use width, not textWidth. adjust
915         (redoParagraphInternal, cursorX): adjust
916         * text2.C (getColumnNearX): adjust
917         (init): put a default value to the top LyXText::width
918
919 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
920
921         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
922
923 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
924
925         * lyxtext.h: add FontIterator class
926
927         * text.C (FontIterator, operator*, operator->, operator++): add
928         (rowBreakPoint, setRowWidth): adjust (fixing a
929         rebreaking bug)
930
931 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
932
933         * BufferView_pimpl.C (workAreaDispatch): allow also
934         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
935
936 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
937
938         * text.C (rowBreakPoint): fix a bug showing with very large insets
939
940 2004-02-25  André Pönitz  <poenitz@gmx.net>
941
942         * text3.C:
943         * cursor.[Ch]: move some mathed specific code to mathed
944
945 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
946
947         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
948         use_tempdir in preferences
949         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
950         tempfile creation
951         * lyx_main.C: ensure that tempdir is valid
952         * lyxlex.h: correct typo
953         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
954         * paragraph.[Ch] (isMultiLingual): make const
955         * cursor.[Ch] (openable): make const
956
957 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
958
959         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
960
961 2004-02-20  André Pönitz  <poenitz@gmx.net>
962
963         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
964
965         * cursor.[Ch]: prepare for localized getStatus()
966
967         * lyxtext.h:
968         * tabular.C:
969         * text.C:
970         * text2.C:
971         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
972
973 2004-02-20  André Pönitz  <poenitz@gmx.net>
974
975         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
976
977 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
978
979         * text2.C (setCursorFromCoordinates): switch to absolute coords
980         (cursorUp): adjust
981         (cursorDown): adjust
982         * text3.C (dispatch): adjust
983
984 2004-02-16  André Pönitz  <poenitz@gmx.net>
985
986         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
987           insets/ChangeLog)
988
989         * cursor_slice.[Ch]: remove unneeded acessor function
990
991         * lyxtext.h: rename rtl() to isRTL()
992
993         * rowpainter.C:
994         * tabular.C:
995         * text.C:
996         * text2.C:
997         * text3.C: adjust
998
999 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1000
1001         * rowpainter.C (paintSelection): coord fix
1002
1003 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1004
1005         * Spacing.C: compile fix
1006
1007 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1008
1009         * cursor.C (dispatch): restore current_ before returning
1010
1011 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1012
1013         * text2.C (cursorUp, cursorDown): fix coords
1014         (moveUp): fix crash
1015
1016 2004-02-12  André Pönitz  <poenitz@gmx.net>
1017
1018         * lyxtext.h:
1019         * text.C:
1020         * text2.C:
1021         * text3.C: add LCursor & parameter to most cursor movement functions
1022           remove usage of LyXText::cursorRow() and cursorPar()
1023
1024         * cursor.[Ch]: add textRow() needed members
1025
1026         * BufferView.C:
1027         * BufferView_pimpl.C:
1028         * paragraph.[Ch]:
1029         * BufferView.C:
1030         * BufferView_pimpl.C: adjust
1031
1032 2004-02-11  André Pönitz  <poenitz@gmx.net>
1033
1034         * lyxfunc.C:
1035         * BufferView.[Ch]:
1036         * BufferView_pimpl.C: shift undo/redo handling
1037
1038         * cursor.[Ch]: fix mathed crash
1039
1040         * lyxfind.C:
1041         * lyxtext.h: move selectionAsText to LCursor
1042
1043         * output_latex.C:
1044         * paragraph.C:
1045         * text.C:
1046         * text2.C:
1047         * text3.C: adjust
1048
1049         * rowpainter.C: fix excessive drawing
1050
1051 2004-02-06  André Pönitz  <poenitz@gmx.net>
1052
1053         * BufferView.[Ch]:
1054         * BufferView_pimpl.[Ch]:
1055         * text3.C: move some text specific LFUN handling
1056
1057 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1058
1059         * text3.C (checkInsetHit): adjust coords
1060         * text2.C (getColumnNearX): adjust coords
1061         (edit): adjust coords
1062         * text.C (getRowNearY): add two asserts
1063
1064 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1065
1066         * converter.C:
1067         * format.C: add using std::distance to compile on gcc 2.95/stlport
1068
1069 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1070
1071         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1072
1073 2004-02-04  André Pönitz  <poenitz@gmx.net>
1074
1075         * BufferView.[Ch] (insertInset):
1076         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1077
1078         * text2.C:
1079         * text3.C: adjust
1080
1081 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1082
1083         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1084         on the default clause of the switch
1085         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1086         wasn't catched by LCursor::dispatch
1087
1088 2004-02-03  André Pönitz  <poenitz@gmx.net>
1089
1090         * BufferView.C:
1091         * cursor.[Ch]: some additional asserts
1092
1093         * undo.[Ch]: remove LyXText dependency in interface
1094
1095         * lyxfunc.C: adjust
1096
1097         * lyxtext.h (firstPar, lastPar): remove dead functions
1098
1099         * text.C:
1100         * text2.C:
1101         * text3.C:
1102         * paragraph.[Ch]: adjust
1103
1104 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1105
1106         * lyxfind.C (find): fix argument order in call to ::find
1107
1108 2004-02-02  André Pönitz  <poenitz@gmx.net>
1109
1110         * cursor.[Ch]: remove direct access to anchor
1111
1112         * text.C: remove findText() hack
1113
1114 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1115
1116         * iterators.[Ch] (lockPath): remove in favour of...
1117         * BufferView.[Ch] (setCursor): this addition
1118         * BufferView.C (putSelectionAt): adjust
1119         * undo.C (performUndoOrRedo): adjust
1120         * lyxfunc.C (dispatch): adjust
1121
1122 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1123
1124         * iterators.C (lockPath): add a missing slice
1125         * undo.C (performUndoOrRedo): remove redundant positioning code
1126
1127 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1128
1129         * vc-backend.C (scanMaster): ";" -> ';'
1130
1131 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1132
1133         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1134         std::binary_function
1135
1136         * lyxtextclass.C (compare_name): rename to...
1137         (LayoutNamesEqual): ...this
1138
1139         * lyxlex_pimpl.C (compare_tags): inherit from
1140         std::binary_function, put back into anon namespace
1141
1142         * lyxfind.C (MatchString): inherig from std::binary_function
1143         (findChange): use empty() istead of !size()
1144
1145         * format.C (FormatNamesEqual): new functor
1146         (getFormat): use it
1147         (getNumber): use it
1148         (add): use it
1149         (erase): use it
1150         (setViewer): use it
1151
1152         * converter.C (compare_Converter): rename to...
1153         (ConverterEqual): ...this, and fixup a bit.
1154         (getConverter): use it, and make function const
1155         (getNumber): use it, and make function const
1156         (add): use it
1157         (erase): use it:
1158
1159         * bufferlist.C: add using boost::bind
1160
1161         * MenuBackend.C (MenuNamesEqual): new functor
1162         (hasMenu): use it, and make function const
1163         (hasSubmenu): use nested bind to get rid of compare_memfun.
1164
1165 2004-01-30  André Pönitz  <poenitz@gmx.net>
1166
1167         * BufferView_pimpl.C:
1168         * cursor.C:
1169         * cursor.h:
1170         * cursor_slice.[Ch]:
1171         * lyxfunc.C:
1172         * lyxtext.h:
1173         * paragraph_funcs.C:
1174         * paragraph_funcs.h:
1175         * rowpainter.C:
1176         * text.C:
1177         * text2.C:
1178         * text3.C: move some of the edit(x,y) handling to the insets
1179         some coordinate changes.
1180
1181 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1182
1183         * text.C: add using statements for std::advance and std::distance
1184
1185         * paragraph.C: add using statement for std::distance
1186
1187         * lyxfind.C: add using statement for std::advance
1188
1189         * cursor.C (region): remove std:: from swap
1190         (openable): use nucleus in stead of operator->
1191
1192         * BufferView.C: add using statements for std::distance and std::swap
1193
1194 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1195
1196         * iterators.C: Remove the pimple, move the needed structures to
1197         the header file. Create accessor for the positions stack.
1198         (asPosIterator): remove function
1199
1200         * PosIterator.C (PosIterator): move constructors to top of file
1201         (PosIterator): reimplement the constructor taking a ParIterator in
1202         terms of setFrom.
1203         (setFrom): new function
1204         (operator!=): inline it
1205
1206 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1207
1208         * lyxfind.C (replaceAll): use std::advance
1209
1210         * iterators.h: inherit from std::iterator.
1211
1212         * PosIterator.C (advance, distance): remove
1213         * PosIterator.h: interit from std::iterator.
1214
1215 2004-01-26  André Pönitz  <poenitz@gmx.net>
1216
1217         * BufferView.[Ch]:
1218         * BufferView_pimpl.[Ch]:
1219         * InsetList.[Ch]:
1220         * PosIterator.[Ch]:
1221         * buffer.h:
1222         * bufferview_funcs.C:
1223         * cursor.[Ch]:
1224         * cursor_slice.h:
1225         * factory.[Ch]:
1226         * iterators.[Ch]:
1227         * lyxfind.C:
1228         * lyxfunc.C:
1229         * lyxtext.h:
1230         * output_docbook.C:
1231         * output_latex.C:
1232         * output_linuxdoc.C:
1233         * output_plaintext.C:
1234         * paragraph.[Ch]:
1235         * paragraph_funcs.[Ch]:
1236         * paragraph_pimpl.[Ch]:
1237         * rowpainter.C:
1238         * tabular.C:
1239         * tabular.h:
1240         * text.C:
1241         * text2.C:
1242         * text3.C: more IU:  dumps most of the rest of the mathcursor
1243     implementation into cursor.[Ch]; "globalize" a bit of it.
1244
1245 2004-01-25  Angus Leeming  <leeming@lyx.org>
1246
1247         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1248
1249 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1250
1251         * LaTeXFeatures.h: add nice_ and nice() const
1252         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1253
1254 2004-01-20  André Pönitz  <poenitz@gmx.net>
1255
1256         * BufferView.[Ch]:
1257         * BufferView_pimpl.C:
1258         * PosIterator.C:
1259         * bufferview_funcs.C:
1260         * cursor.[Ch]:
1261         * cursor_slice.[Ch]:
1262         * factory.C:
1263         * iterators.C:
1264         * lyx_cb.C:
1265         * lyxfind.C:
1266         * lyxfunc.C:
1267         * lyxtext.h:
1268         * rowpainter.C:
1269         * text.C:
1270         * text2.C:
1271         * text3.C:
1272         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1273           LCursor and mathcursor parts to LCursor and InsetBase.
1274
1275 2004-01-15  André Pönitz  <poenitz@gmx.net>
1276
1277         * cursor_slice.[Ch]: add a few covienience functions
1278
1279         * funcrequest.[Ch]: remove BufferView * member
1280
1281         * BufferView_pimpl.C:
1282         * cursor.C:
1283         * factory.[Ch]:
1284         * lyxfind.[Ch]:
1285         * lyxfunc.C:
1286         * lyxtext.h:
1287         * text3.C:
1288         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1289
1290 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1291
1292         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1293         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1294
1295 2004-01-13  André Pönitz  <poenitz@gmx.net>
1296
1297         * textcursor.[Ch]:
1298         * lyxtext.h: hide cursor and selection anchor behind accessor function
1299
1300         * BufferView.C:
1301         * BufferView_pimpl.[Ch]:
1302         * PosIterator.C:
1303         * bufferview_funcs.C:
1304         * cursor.h:
1305         * lyxfind.C:
1306         * lyxfunc.C:
1307         * text.C:
1308         * text2.C:
1309         * text3.C:
1310         * undo.C: adjust
1311
1312         * cursor.h:
1313         * cursor_slice.[Ch]: some integer type changes for inset unification
1314
1315         * lyxcursor.[hC]: remove, it's CursorSlice now.
1316
1317         * Makefile.am:
1318         * BufferView_pimpl.[Ch]:
1319         * bufferview_funcs.C:
1320         * cursor_slice.C:
1321         * lyxtext.h:
1322         * text.C:
1323         * text2.C:
1324         * text3.C:
1325         * textcursor.[Ch]: adjust
1326
1327 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1328
1329         * text2.C (undoSpan): add and use
1330         * text.C (breakParagraph): use undoSpan (fix bug 578)
1331         * lyxtext.h: adjust
1332
1333 2004-01-08  Angus Leeming  <leeming@lyx.org>
1334
1335         * BufferView_pimpl.C (MenuInsertLyXFile):
1336         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1337         * lyxfunc.C (menuNew, open, doImport):
1338         FileFilterList change to the FileDialog open and save functions.
1339
1340 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1341
1342         * ShareContainer.h: make isEqual and isUnique adaptable
1343
1344         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1345
1346 2004-01-07  Angus Leeming  <leeming@lyx.org>
1347
1348         * LyXAction.C:
1349         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1350
1351         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1352
1353         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1354         functions replacing find, replace and replaceAll.
1355
1356         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1357         LFUN_WORDFIND(FORWARD|BACKWARD).
1358
1359 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1360
1361         * text.C (breakParagraph): remove an outdated #warning
1362
1363 2004-01-07  André Pönitz  <poenitz@gmx.net>
1364
1365         * lyxfind.C: somewhat clearer logic
1366
1367         * text.C: prevent crash in cursorX on unitialized row cache
1368
1369 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1370
1371         * lyxcursor.[Ch] (operator>): add
1372         * textcursor.C (selStart, selEnd): use std::min and std::max
1373
1374 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1375
1376         * Chktex.C: include boost/format.hpp
1377
1378 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1379
1380         * InsetList.C: replace functor MathcIt with adaptable functor
1381         InsetTablePosLess
1382         (insetIterator): modify accordingly
1383
1384         * BranchList.h: move the BranchNamesEqual functor here from...
1385         * BranchList.C: ... to here
1386
1387         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1388         SameName and match.
1389         (add): replace a finding loop with std::find_if.
1390
1391 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1392
1393         * output_docbook.C: moving LatexParam functionality into
1394         .layout files
1395
1396 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1397
1398         * buffer.C: increment format to 229.
1399
1400 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1401
1402         * LaTeXFeatures.C:
1403         * lyx_sty.[Ch]: remove minipageindent_def
1404
1405         * LyXAction.C:
1406         * factory.C:
1407         * lfuns.h:
1408         * lyxfunc.C:
1409         * text3.C: remove LFUN_INSET_MINIPAGE
1410
1411 2003-12-28  Angus Leeming  <leeming@lyx.org>
1412
1413         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1414
1415 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1416
1417         * text2.C (setParagraph): fix off-by-one crash
1418
1419 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1420
1421         * output_docbook.C: header stuff for AGU
1422
1423 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1424
1425         * text2.C (redoCursor): remove
1426         * text.C:
1427         * text3.C:
1428         * BufferView_pimpl.C: remove calls to redoCursor and
1429         setCursor(cursor.par(), cursor.pos()) all around
1430
1431 2003-12-15  Angus Leeming  <leeming@lyx.org>
1432
1433         * buffer.C: up the format to 228.
1434
1435 2003-12-15  André Pönitz  <poenitz@gmx.net>
1436
1437         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1438         slices
1439
1440         * Makefile.am:
1441
1442         * BufferView_pimpl.C:
1443         * cursor.[Ch]:
1444         * lyxcursor.[Ch]:
1445         * rowpainter.[Ch]:
1446         * lyxtext.h:
1447         * text.C:
1448         * text2.C:
1449         * text3.C: adjust
1450
1451 2003-12-15  Angus Leeming  <leeming@lyx.org>
1452
1453         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1454         than getFromGUIName to manipulate the color.
1455
1456 2003-12-14  Angus Leeming  <leeming@lyx.org>
1457
1458         * BranchList.[Ch]: minimize the API.
1459         (Branch::getBranch, getColor): now return a 'const &'.
1460         (Branch::setSelected) now returns a bool set to true if the
1461         selection status changes.
1462         (BranchList::clear, size, getColor, setColor, setSelected,
1463         allBranches, allSelected, separator): removed.
1464         (BranchList::find): new functions, returning the Branch with
1465         the given name.
1466         (BranchList::add, remove): return a bool indicating that
1467         the operation was successful.
1468
1469         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1470         new InsetBranch::isBranchSlected member function.
1471
1472         * LColor.[Ch]: mimimize the API.
1473         (fill): renamed as addColor and made private.
1474         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1475         versions of these functions taking a string arg have been removed.
1476
1477         * bufferparams.C (readToken):
1478         * lyxfunc.C (dispatch):
1479         * lyxrc.C (read): changes due to the altered BranchList and
1480         LColor APIs.
1481
1482         * factory.C (createInset, readInset): changes due to altered
1483         InsetBranch c-tor.
1484
1485 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1486
1487         * factory.C:
1488         * lyxfunc.C: remove insetminipage. "minipage-insert"
1489         now produces a frameless minipage box inset.
1490
1491 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1492
1493         * textcursor.[Ch] (selStart,selEnd): add new methods
1494         remove selection::start, end, use LyXCursor::operator<
1495         * lyxcursor.[Ch] (operator<): add
1496         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1497         * BufferView.[Ch] (unsetXSel): add
1498         * text2.C (clearSelection): use unsetXSel,adjust
1499         * text.C: adjust
1500         * text3.C: adjust
1501         * rowpainter.C: adjust
1502         * bufferview_funcs.C (put_selection_at): adjust
1503
1504 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1505
1506         * BufferView_pimpl.C: small coord. correction
1507
1508 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1509
1510         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1511         dragging over the splash screen.
1512
1513 2003-12-11  Angus Leeming  <leeming@lyx.org>
1514
1515         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1516         as it is now handled in LyXText::dispatch.
1517
1518         * text3.C (doInsertInset): remove a level of nesting.
1519
1520 2003-12-11  Angus Leeming  <leeming@lyx.org>
1521
1522         * factory.C (createInset): changes due to the changed interface to
1523         InsetCommandMailer::string2params.
1524
1525 2003-12-10  Angus Leeming  <leeming@lyx.org>
1526
1527         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1528         'dialog-show-new-inset <inset name>'
1529
1530 2003-12-10  Angus Leeming  <leeming@lyx.org>
1531
1532         * buffer.C: up the format to 227.
1533
1534         * factory.C: the box inset is now identified simply by 'Box'.
1535
1536 2003-12-10  Angus Leeming  <leeming@lyx.org>
1537
1538         * buffer.C: up the format to 226.
1539
1540         * factory.C: the note inset is now identified simply by 'Note'.
1541
1542 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1543
1544         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1545         when a pit is enough. Standarize a couple of loops.
1546
1547 2003-12-05  Angus Leeming  <leeming@lyx.org>
1548
1549         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1550         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1551         data to the re-worked "log" dialog.
1552
1553 2003-12-03  André Pönitz  <poenitz@gmx.net>
1554
1555         * PosIterator.C:
1556         * iterators.C:
1557         * lyxtext.h:
1558         * output_latex.C:
1559         * paragraph_funcs.C:
1560         * text.C:
1561         * text2.C: use Inset::getText instead of Inset::getParagraph
1562
1563 2003-12-03  André Pönitz  <poenitz@gmx.net>
1564
1565         * buffer.[Ch]:
1566         * lyxtext.h:
1567         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1568         InsetText::read() as LyXText::read()
1569
1570 2003-12-02  Angus Leeming  <leeming@lyx.org>
1571
1572         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1573         type. Add a comment in the implementation that the function uses
1574         the stream's bad() function rather than fail() as the std::streams
1575         would do.
1576
1577 2003-12-02  André Pönitz  <poenitz@gmx.net>
1578
1579         * lyxlex.[Ch]: make interface more similar to std::stream
1580
1581         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1582
1583 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1584
1585         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1586
1587 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1588
1589         * vspace.[Ch]: remove VSpace::NONE
1590
1591 2003-12-01  André Pönitz  <poenitz@gmx.net>
1592
1593         * buffer.[Ch]:
1594         * lyxtext.h: move ParagraphList member to LyXText
1595         rename LyXText::ownerParagraphs to LyXText::paragraph
1596
1597         * CutAndPaste.C:
1598         * bufferview_funcs.C:
1599         * iterators.[Ch]:
1600         * lyx_cb.C:
1601         * paragraph.C:
1602         * rowpainter.C:
1603         * tabular.C:
1604         * text.C:
1605         * text2.C:
1606         * text3.C: adjust
1607
1608         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1609
1610         * undo.C: fix cursor positioning
1611
1612 2003-12-01  John Levon  <levon@movementarian.org>
1613
1614         * BufferView_pimpl.C: fix a crash on exit with
1615         a buffer open
1616
1617 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1618
1619         * BranchList.C: fix setSelected() method.
1620
1621 2003-11-28  André Pönitz  <poenitz@gmx.net>
1622
1623         * ParagraphParameters.[Ch]:
1624         * ParameterStruct.h: remove space above/below from Paragraph to
1625          InsetVSpace
1626
1627         * BufferView_pimpl.C:
1628         * factory.C:
1629         * lyxfunc.C:
1630         * lyxtext.h:
1631         * output_latex.C:
1632         * paragraph.C:
1633         * paragraph_funcs.C:
1634         * rowpainter.[Ch]:
1635         * text.C:
1636         * text2.C:
1637         * text3.C: adjust
1638
1639 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1640
1641         * factory.C: Syntax change for CharStyles
1642
1643 2003-11-28  André Pönitz  <poenitz@gmx.net>
1644
1645         * BufferView.[Ch]:
1646         * BufferView.[Ch]:
1647         * buffer.[Ch]:
1648         * buffer.[Ch]: move LyXText member
1649
1650 2003-11-28  André Pönitz  <poenitz@gmx.net>
1651
1652         * BufferView.[Ch]: make LyXText * text a private member
1653
1654         * BufferView_pimpl.C:
1655         * cursor.C:
1656         * iterators.C:
1657         * lyx_cb.C:
1658         * lyxfind.C:
1659         * lyxtext.h:
1660         * rowpainter.[Ch]:
1661         * text.C:
1662         * text2.C:
1663         * undo.C: adjust
1664
1665         * output_plaintext.C: cleanup
1666
1667 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1668
1669         * buffer.C:
1670         * lyxtextclass.[Ch]: parametrize SGML document header
1671
1672 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1673
1674         * converter.[Ch]:
1675         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1676         getFlavor().
1677
1678 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1679
1680         * text2.C (setFont): rework using PosIterator (no more recursive)
1681         (setCharFont): no more needed
1682         (setLayout): no more selection cursors fiddling (done by redoCursor)
1683         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1684         destroy remaining ones)
1685
1686 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1687
1688         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1689         * lyxtext.h: ditto
1690         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1691         selection cursors
1692         * lyxfunc.C: adjust
1693         * text3.C: adjust + re-allow multi par depth changes
1694         * textcursor.C: simplify a bit
1695
1696 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1697
1698         * src/buffer.C:
1699         * src/lyxlayout.C:
1700         * src/lyxlayout.h:
1701         * src/lyxtext.h:
1702         * src/output_docbook.C:
1703         * src/output_latex.C:
1704         * src/paragraph.C:
1705         * src/paragraph.h:
1706         * src/sgml.C:
1707         * src/sgml.h:
1708         * src/text2.C: Introducing a number of tags parametrizing various
1709         XML formats that we may want to support
1710
1711 2003-11-25  André Pönitz  <poenitz@gmx.net>
1712
1713         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1714
1715         * lyxtext.h (leftMargin/rightMargin): simplify interface
1716
1717         * rowpainter.C:
1718         * text.C:
1719         * text2.C:
1720         * text3.C: adjust
1721
1722 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1723
1724         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1725         master file to any child files. Fixes bug 546.
1726
1727 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1728
1729         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1730
1731 2003-11-24  André Pönitz  <poenitz@gmx.net>
1732
1733         * rowpainter.C: simplification
1734
1735         * text2.C (updateCounters): remove call to redoParagraph on
1736         changed labels as this is far too expensive.
1737
1738 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1739
1740         * converter.C (convert): fix a crash: this function gets
1741         called with buffer == 0 from importer code.
1742
1743 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1744
1745         * text3.C (cursorPrevious): make sure that we do not compare
1746         iterators form different containers.
1747         (cursorNext): ditto
1748
1749         * rowpainter.C (paintSelection): make sure that we do not compare
1750         iterators from different containers.
1751
1752         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1753         iterators from different ParagraphList containers.
1754         [NEXT] ditto
1755
1756         * text2.C (LyXText): change order of initialization slightly
1757         (operator=): new function. copy all variables except cache_par_
1758         (moveUp): make sure that we do not compare iterators from
1759         different ParagraphList constainers.
1760         (moveDown): ditto
1761
1762         * text.C (firstPar): new function
1763         (lastPar): new function
1764         (endPar): new function
1765
1766         * lyxtext.h: move things around and group public functions, public
1767         variables, private functions, private variables
1768
1769 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1770
1771         * factory.C: change call to InsetERT constructor to avoid
1772         additional invocation of method status
1773         * text2.C (toggleInset): remove redundant update() call
1774         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1775         instead of a Bufferview pointer
1776
1777 2003-11-21  André Pönitz  <poenitz@gmx.net>
1778
1779         * rowpainter.C: simplification
1780
1781 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1782
1783         * text3.C (dispatch): make possible to extend a word/row selection
1784         with the mouse
1785
1786 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1787
1788         * lyxtext.h: x0_,y0_ -> xo_,yo_
1789         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1790         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1791         * rowpainter.C (paintRows): paint full paragraphs
1792
1793 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1794
1795         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1796         screen coordinates)
1797
1798 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1799
1800         * lyxtext.h: add x0_, y0_
1801         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1802         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1803
1804 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1805
1806         * text2.C (setCursorIntern): move the x_target update here *
1807         * text3.C: change some bv() to true/false in calls to
1808         cursorUp/Down/Right/Left
1809         * cursor.C: use helper function.
1810
1811 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1812
1813         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1814         * paragraph_funcs.[Ch]: correct comment
1815         * rowpainter.C: do not paint selections away from bv->cursor()
1816         Fix a long standing selection painting bug.
1817         * text3.C: generalize mouse-selection code to LyXTexts other that
1818         top one
1819         * textcursor.C: do not use y coords if we can use par offsets
1820
1821 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1822
1823         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1824         cursor position after e.g. inset insert)
1825
1826 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1827
1828         * lyxfind.C (replace): adjust to locking removal + some
1829         code simplification
1830
1831 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1832
1833         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1834         of the path
1835
1836 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1837
1838         * lyxlayout.[Ch]:
1839         * output_docbook.C: XML sanitation: new layout
1840         parameters InnerTag and CommandDepth
1841
1842 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1843
1844         * BufferView_pimpl.C:
1845         * factory.C:
1846         * text3.C: Fix the insertion and modification of button-style
1847         insets
1848
1849 2003-11-13  André Pönitz  <poenitz@gmx.net>
1850
1851         * InsetList.[Ch]: remove deleteLyXText
1852
1853         * paragraph.[Ch]: cache beginOfBody position
1854
1855         * Bidi.C:
1856         * text.C:
1857         * text2.C:
1858         * text3.C: remove superfluous update() calls
1859
1860         * vspace.C: cleanup
1861
1862 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1863
1864         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1865         * BufferView.C (fitLockedInsetCursor): remove
1866         * cursor.[Ch] (getDim): add
1867         * text.C (getRowNearY): add faster version
1868         * text3.C: remove some update calls
1869
1870 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1871
1872         * LaTeXFeatures.C:
1873         * LyXAction.C:
1874         * MenuBackend.C:
1875         * MenuBackend.h:
1876         * dispatchresult.h:
1877         * factory.C:
1878         * lfuns.h:
1879         * lyxfunc.C:
1880         * lyxtextclass.C:
1881         * lyxtextclass.h:
1882         * text3.C: The Character Style /XML short element patch.
1883
1884 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1885
1886         * text3.C:
1887         * factory.C: Small step to solving 'unable to insert some insets'
1888         problem
1889
1890 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1891
1892         * cursor.[Ch] (updatePos): new function for updating the y
1893         position of the tip inset
1894         * bufferview_funcs.C (put_selection_at):
1895         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1896
1897 2003-11-11  André Pönitz  <poenitz@gmx.net>
1898
1899         * text.C: remove big comment on invalid Paragraph pointers as it is
1900         not valid anymore
1901
1902 2003-11-11  André Pönitz  <poenitz@gmx.net>
1903
1904         * text_funcs.[Ch]: merge with ...
1905
1906         * text.C: ... this
1907
1908         * lyxtext.h:
1909         * text2.C:
1910         * text3.C: adjust
1911
1912         * Makefile.am: remove text_funcs.[Ch]
1913
1914 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1915
1916         * cursor.C (getPos): return absolute cached y coord
1917
1918         * BufferView_pimpl.C (fitCursor): new simplistic code
1919         (workAreaDispatch): add a fitCursor call
1920
1921 2003-11-10  André Pönitz  <poenitz@gmx.net>
1922
1923         * BufferView.[Ch]:
1924         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1925
1926 2003-11-10  André Pönitz  <poenitz@gmx.net>
1927
1928         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1929         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1930         indicate that the cursor needs to leave an inset
1931
1932         * lyxtext.h: remove inset locking
1933
1934         * cursor.[Ch]: re-implement functionality provided by inset locking
1935
1936         * BufferView.[Ch]:
1937         * BufferView_pimpl.[Ch]:
1938         * LyXAction.C:
1939         * bufferview_funcs.[Ch]:
1940         * factory.C:
1941         * funcrequest.[Ch]:
1942         * iterators.C:
1943         * lyx_cb.C:
1944         * lyxfind.C:
1945         * lyxfunc.C:
1946         * text.C:
1947         * text2.C:
1948         * text3.C:
1949         * undo.C: adjust
1950
1951 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1952
1953         * PosIterator.[Ch]: replace the stack with a vector, add inset
1954         accesor
1955         * iterators.[C]: adjust
1956
1957 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1958
1959         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1960         replaced
1961         * paragraph_funcs.C (readParToken): put the correct id in the
1962         error item, not the id of the top paragraph
1963
1964 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1965
1966         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1967         * bufferview_funcs.C (put_selection_at): use the above
1968
1969 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1970
1971         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1972
1973 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1974
1975         * output_linuxdoc.h:
1976         * output_plaintext.h:
1977         * output.h:
1978         * output_docbook.h: add #include statements
1979
1980 2003-11-05  José Matos  <jamatos@lyx.org>
1981
1982         * output_docbook.[Ch]:
1983         * output_latex.[Ch]:
1984         * output_linuxdoc.[Ch]:
1985         * output_plaintext.[Ch]: New files for output formats.
1986         * output.[Ch]: New file for helper functions.
1987
1988         * buffer.[Ch]:
1989         * paragraph_funcs.[Ch]: output functions moved to new files.
1990
1991         * outputparams.h: rename of latexrunparams.h
1992
1993         * LaTeX.[Ch]:
1994         * buffer.[Ch]:
1995         * bufferlist.[Ch]:
1996         * converter.[Ch]:
1997         * exporter.C:
1998         * paragraph.[Ch]:
1999         * paragraph_funcs.[Ch]:
2000         * paragraph_pimpl.[Ch]:
2001         * tabular.[Ch]: rename ascii to plaintext
2002         and LatexRunParams to OutputParams.
2003
2004 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2005
2006         * iterators.[Ch] (text): require bv argument
2007         * undo.C (recordUndo):
2008         * lyxfunc.C (dispatch):
2009         * bufferview_funcs.C (put_selection_at): adjust
2010
2011 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2012
2013         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2014
2015 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2016
2017         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2018         nestings
2019
2020 2003-11-04  André Pönitz  <poenitz@gmx.net>
2021
2022         * cursor.[Ch]: restructure
2023
2024         * BufferView.[Ch]:
2025         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2026
2027         * iterators.[Ch] (asCursor): remove
2028
2029         * lfuns.h: remove LFUN_INSET_EDIT
2030
2031         * lyxfunc.C:
2032         * tabular.C:
2033         * text.C:
2034         * text2.C:
2035         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2036
2037 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2038
2039         * lyxfind.[Ch]: complete overhaul
2040         * BufferView_pimpl.C:
2041         * lyxfunc.C: adjust
2042         * paragraph.[Ch] (insert): add
2043
2044 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2045
2046         * BufferView.[Ch]:
2047         * lyxtext.h:
2048         * text.C: remove dead spellcheck code
2049
2050 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2051
2052         * dispatchresult.h: add a val setter
2053
2054         * cursor.C (dispatch): use a tempvar for data_[i]
2055
2056 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2057
2058         * PosIterator.[Ch]: compile fix
2059
2060 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2061
2062         * text.C (cursorPar): deactivate the cursor cache
2063
2064 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2065
2066         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2067
2068 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2069
2070         * text3.C (dispatch): adjust for new DisptchResult semantics.
2071
2072         * lyxfunc.C (dispatch): handle update when return from
2073         Cursor::dispatch, adjust for new DispatchResult semantics.
2074
2075         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2076         DispatchResult(true) mean to not update. Add class functions for
2077         setting dispatched and update, as well as reading.
2078
2079         * cursor.C (dispatch): don't handle update here
2080
2081 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2082
2083         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2084         * trans_mgr.C: adjust
2085
2086         * paragraph_funcs.C (readParToken): exception safety
2087
2088         * lyxvc.h: store the vcs pointer in a scoped_ptr
2089         * lyxvc.C: adjust
2090
2091         * lyxsocket.C (serverCallback): exception safety
2092
2093         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2094
2095         * ispell.C (clone): make it return a auto_ptr
2096
2097         * factory.C (createInset): exception safety
2098         (readInset): exception safety
2099
2100         * bufferlist.C (newBuffer): exception safety
2101
2102         * Thesaurus.C (Thesaurus): use initialization for aik_
2103
2104         * MenuBackend.C (expandToc): exception safety.
2105
2106 2003-11-03  André Pönitz  <poenitz@gmx.net>
2107
2108         * buffer.C:
2109         * buffer.h:
2110         * bufferview_funcs.C: remove getInsetFromId()
2111
2112         * lyxcursor.[Ch]:
2113         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2114
2115         * lyxfunc.C:
2116         * text2.C:
2117         * text3.C: adjust
2118
2119 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2120
2121         * PosIterator.C (distance, advance): new
2122         * bufferview_funcs.[Ch] (put_selection_at): new
2123         * iterators.[Ch] (lockPath): new
2124
2125 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2126
2127         * iterators.[Ch] (asPosIterator): added
2128         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2129         * PosIterator.[Ch]: added
2130
2131 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2132
2133         * text3.C:
2134         * lyxfunc.C:
2135         * cursor.C (dispatch):
2136         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2137
2138         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2139         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2140         contructor, add a class function dispatched. Remove operator>=
2141
2142 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2143
2144         * debug.C: only use the default constructor for debugstream
2145         (lyxerr) here.
2146
2147         * main.C (main): include debug.h and setup the lyxerr streambuf
2148         here.
2149
2150 2003-10-31  José Matos  <jamatos@lyx.org>
2151
2152         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2153
2154         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2155         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2156         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2157         * paragraph_pimpl.C (simpleTeXSpecialC):
2158         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2159         add LatexRunParams argument.
2160
2161         * exporter.C (Export): change call accordingly.
2162
2163         * latexrunparams.h: add new member to take care of the other backends.
2164 2003-10-30  José Matos  <jamatos@lyx.org>
2165
2166         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2167         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2168         factorise code for paragraph output.
2169         * buffer.[Ch]:
2170         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2171         move functions.
2172
2173 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2174
2175         * text3.C (dispatch):
2176         * lyxfunc.C (dispatch):
2177         * cursor.C (dispatch):
2178         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2179
2180         * dispatchresult.h: make the dispatch_result_t ctor explicit
2181
2182 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2183
2184         * sgml.[Ch]:
2185         * buffer.C: small refactoring of docbook stuff
2186
2187 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2188
2189         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2190         meaning.
2191
2192 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2193
2194         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2195         operator dispatch_result_t, and operators for == != and >=
2196
2197         * cursor.C (dispatch): adjust for operator dispatch_result_t
2198         removal. comment out call to update
2199
2200         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2201
2202 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2203
2204         * text3.C:
2205         * text2.C:
2206         * text.C:
2207         * lyxtext.h:
2208         * lyxfunc.C:
2209         * cursor.C:
2210         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2211         (dispatch):
2212
2213         * dispatchresult.h: new file, DispatchResult broken out of
2214         insets/insetbase.h
2215
2216         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2217
2218 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2219
2220         * text.C (rowBreakPoint): put a hack inside #if 0
2221
2222 2003-10-28  André Pönitz  <poenitz@gmx.net>
2223
2224         * lyxtext.h:
2225         * metricsinfo.C:
2226         * paragraph_funcs.C:
2227         * rowpainter.C:
2228         * text.C:
2229         * text2.C: general cleanup (lots of small stuff)
2230
2231 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2232
2233         * text2.C (cursorEnd): simple fix to the "end key goes to one
2234         before the end on last row" bug
2235
2236 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2237
2238         * text.C (backspace): fix the "zombie characters"
2239
2240 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2241
2242         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2243
2244 2003-10-27  André Pönitz  <poenitz@gmx.net>
2245
2246         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2247
2248         * factory.C: handle new InsetPagebreak, InsetLine
2249
2250         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2251         and move handling into new InsetPagebreak, InsetLine
2252
2253         * BufferView_pimpl.C:
2254         * LyXAction.C:
2255         * ParagraphParameters.C:
2256         * ParameterStruct.h:
2257         * lyxfunc.C:
2258         * lyxtext.h:
2259         * paragraph.C:
2260         * paragraph.h:
2261         * paragraph_funcs.C:
2262         * paragraph_pimpl.C:
2263         * rowpainter.C:
2264         * text.C:
2265         * text2.C:
2266         * text3.C: adjust
2267
2268 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2269
2270         * text.C:
2271         * lyxrow_funcs.[Ch]:
2272         * Bidi.C:
2273         * paragraph.C:
2274         * lyxtext.h:
2275         * rowpainter.C:
2276         * text2.C:
2277         * text3.C: remove lastPos uses in favour of Row::endpos
2278
2279 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2280
2281         * undo.C (performUndoOrRedo): fix two crashes by setting a
2282         cursor by hand and reordering some calls. Use bv->lockInset instead
2283         of inset->edit because the latter loses cursor information
2284
2285 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2286
2287         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2288         by Martin
2289         (rowBreakPoint): fix width. change point to point + 1.
2290         Add a missing check.
2291
2292 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2293
2294         * MenuBackend.C:
2295         * lyxfunc.C: fix (at least partly) the problems
2296         with the Nav menu and headers inside branch insets
2297         reported by Kayvan
2298
2299 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2300
2301         * paragraph.C (getChar): add strong asserts
2302
2303         * lyxrow_funcs.C (lastPos): remove hideous hack
2304
2305         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2306         (fill): adjust to that (avoid an infinite loop)
2307
2308 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2309
2310         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2311
2312 2003-10-23  André Pönitz  <poenitz@gmx.net>
2313
2314         * RowList_fwd.h: change list<> to vector<> to gain speed
2315         after suggestion from Alfredo
2316
2317 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2318
2319         * lyxtext.h: move the bidi stuff from here...
2320         * text.C: and here
2321         * text2.C: and here
2322         * Bidi.[Ch]: ... to here
2323
2324 2003-10-23  André Pönitz  <poenitz@gmx.net>
2325
2326         * lyxtext.h:
2327         * text.C (isLastRow, isFirstRow): new functions
2328
2329         * paragraph.h: new width cache member
2330
2331         * rowpainter.C: replace RowList::iterator with Row & where possible
2332
2333         * lyxfunc.C: replace several view()->text with a single call
2334
2335         * toc.C: fix 'unused' warning
2336
2337 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2338
2339         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2340         when woring with stream::pos_type
2341         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2342
2343 2003-10-22  André Pönitz  <poenitz@gmx.net>
2344
2345         * lyxtext.h:
2346         * text.C: use Row & instead of RowList::iterator
2347
2348         * lyxrow.h: rename end() to endpos()
2349
2350         * rowpainter.C:
2351         * text.C:
2352         * text2.C: adjust
2353
2354 2003-10-22  Angus Leeming  <leeming@lyx.org>
2355
2356         * buffer.[Ch] (fully_loaded): new member function, returning true
2357         only when the file has been loaded fully.
2358         Used to prevent the premature generation of previews and by the
2359         citation inset to prevent computation of the natbib-style label.
2360
2361         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2362         templates are all set up.
2363
2364         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2365
2366 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2367
2368         * text.C: fixed an "oops" in the "is a bit silly"
2369         bug fix
2370
2371 2003-10-21  André Pönitz  <poenitz@gmx.net>
2372
2373         * FuncStatus.[Ch]: small stuff, whitespace
2374
2375         * lyxfont.[Ch]: operator<<() for debug reasons
2376
2377         * lyxfunc.C:
2378         * lyxrow_funcs.C:
2379         * lyxtext.h: whitespace, spelling
2380
2381         * paragraph.C: naming of variables
2382
2383         * text.C:
2384         * text2.C: small stuff
2385
2386
2387 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2388
2389         * text.C: (1) finish off the inset display() work;
2390         (2) fix the "is a bit silly" bug (accessing char
2391         past end of par).
2392
2393 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2394
2395         * text.C: re-introduce display() for insets, fixing the
2396         various bugs (stretch of line above, math inset
2397         positioning, ...)
2398
2399 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2400
2401         * text.C (rightMargin): remove spurious semicolon
2402
2403         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2404         1415)
2405
2406 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2407
2408         * text3.C: fix one crash due to wrong cursor def
2409
2410 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2411
2412         * vc-backend.C (scanMaster): make the regex static
2413
2414         * LaTeX.C (scanAuxFile): make the regexs static
2415
2416         * text3.C (doInsertInset, dispatch, dispatch):
2417         * text2.C (cursorUp, cursorDown):
2418         * text.C (selectNextWordToSpellcheck):
2419         * BufferView_pimpl.C (dispatch):
2420         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2421
2422 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2423
2424         * lyxsocket.C: include <cerrno>
2425
2426 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2427
2428         * lyxfunc.C (dispatch): remove textcache stuff
2429
2430         * bufferlist.C (release): remove textcache stuff
2431         (closeAll): ditto
2432
2433         * TextCache.C: delete file
2434         * TextCache.h: delete file
2435
2436         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2437
2438         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2439         delete of the bv_->text.
2440         (resizeCurrentBuffer): remove texcache stuff
2441         (workAreaResize): ditto
2442
2443 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2444
2445         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2446         action.
2447
2448 2003-10-16  André Pönitz  <poenitz@gmx.net>
2449
2450         * lyxrow.[Ch]:
2451         * paragraph.h:
2452         * rowpainter.C:
2453         * text.C:
2454         * text2.C:
2455         * text3.C: speed up by storing y positions per paragraph plus per-row
2456         offset instead of having a 'full' y position in the row.
2457
2458 2003-10-15  André Pönitz  <poenitz@gmx.net>
2459
2460         * iterators.[Ch]:
2461         * iterators.[Ch]:
2462         * undo.[Ch]: make undo aware of inner insets
2463
2464 2003-10-14  Angus Leeming  <leeming@lyx.org>
2465
2466         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2467         static member functions LyX::ref() and LyX::cref.
2468         (lastfiles): new accessor functions for the new lastfiles_ member var.
2469         (addLyXView, views_): add a new LyXView to the list of views_.
2470         (updateInset): loop over all LyXViews to call their own updateInset
2471         member function, returning a pointer to the Buffer owning the inset.
2472
2473         * BufferView_pimpl.C (loadLyXFile):
2474         * MenuBackend.C (expandLastfiles):
2475         * bufferlist.C (MenuWrite, QuitLyX):
2476         lastfiles is no longer a global variable.
2477         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2478
2479         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2480         static function. Access through LyX::cref().emergencyCleanup().
2481
2482 2003-10-14  André Pönitz  <poenitz@gmx.net>
2483
2484         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2485
2486         * undo.[Ch]: restoring part of 'undo in insets'
2487
2488         * Makefile.am:
2489         * undo_funcs.[Ch]: merge with undo.[Ch]
2490
2491         * tabular.C: small cleansing stuff
2492
2493 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2494
2495         * paragraph_funcs.C (readParToken): report unknown insets as error
2496         boxes. Use the outer paragraph as location (also for unknown
2497         tokens).
2498
2499         * factory.C (readInset): do not abort on reading an unknown inset.
2500         Eat it and return 0.
2501
2502 2003-10-13  Angus Leeming  <leeming@lyx.org>
2503
2504         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2505
2506         * lyxrc.C: displayTranslator is now a function,
2507         declared in GraphicsTypes.h.
2508
2509 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2510
2511         * format.C: new placeholder $$a to pass the socket address.
2512
2513         * bufferlist.[Ch]: new function getBufferFromTmp.
2514
2515         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2516           files in the temporary dir.
2517
2518 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2519
2520         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2521
2522         * Makefile.am: add lyxsocket.[Ch].
2523
2524         * lyx_main.C (error_handler): handle SIGPIPE.
2525
2526 2003-10-13  André Pönitz  <poenitz@gmx.net>
2527
2528         * BufferView_pimpl.C:
2529         * lyxtext.h:
2530         * text.C:
2531         * text2.C:
2532         * text3.C:
2533         * undo_funcs.[Ch]: use paroffset_type instead of
2534           ParagraphList::iterators to prevent multiple conversion
2535           (and get a more robust interface)
2536
2537 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2538
2539         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2540         * lyxtext.h: ditto
2541         * text3.C (dispatch): ditto
2542
2543 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2544
2545         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2546         move the onlyfile, use onlyfile instead of foundfile in a couple
2547         of places.
2548
2549         * DepTable.C (update): flush the error stream a bit more
2550
2551 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2552
2553         * lyxserver.C (callback): adjust
2554
2555         * lyxfunc.C (getStatus): add a missing brace in commented code
2556         (ensureBufferClean): reindent
2557         (dispatch): delete version taking a string
2558
2559 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2560
2561         * LaTeX.C (deplog): move found file handlig from here...
2562         (handleFoundFile): .. to new function here.
2563         (deplog): make sure to discover several files mentioned on the
2564         same log line.
2565
2566 2003-10-10  André Pönitz  <poenitz@gmx.net>
2567
2568         * lyxfunc.C:
2569         * lyxtext.h:
2570         * tabular.C:
2571         * text.C:
2572         * text2.C:
2573         * text3.C: fix some of the tabular crashes
2574
2575 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2576
2577         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2578
2579         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2580
2581 2003-10-09  André Pönitz  <poenitz@gmx.net>
2582
2583         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2584
2585         * BufferView.C:
2586         * BufferView_pimpl.C:
2587         * bufferview_funcs.C:
2588         * lyx_cb.C:
2589         * lyxcursor.C:
2590         * lyxfind.C:
2591         * lyxfunc.C:
2592         * lyxtext.h:
2593         * text.C:
2594         * text2.C:
2595         * text3.C:
2596         * text_funcs.[Ch]:
2597         * textcursor.[Ch]:
2598         * undo_funcs.C: adjust
2599
2600 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2601
2602         * text2.C (incrementItemDepth): new function, use a backtracking
2603         algorithm to discover the correct item depth.
2604         (resetEnumCounterIfNeeded): new function, use a backtracking
2605         algorithm to discover if counter reset is needed.
2606         (setCounter): use them. Simplify a bit. Add different labels for
2607         different item depths for itemize.
2608
2609         * paragraph.C (Paragraph): remove initialization of enumdepth
2610         (operator=): ditto
2611
2612         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2613         enumerate and itemize. Change the type of itemdepth to signed char.
2614
2615 2003-10-08  André Pönitz  <poenitz@gmx.net>
2616
2617         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2618           thing assignable.
2619         * text.C:
2620         * text2.C: adjust
2621
2622         * tabular.[Ch]: fix crash after 'row-insert'
2623
2624 2003-10-08  Angus Leeming  <leeming@lyx.org>
2625
2626         Fix doxygen warnings.
2627
2628         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2629         Remove CutAndPaste:: prefix from header file declaration.
2630
2631         * LColor.h (fill): remove LColor:: prefix from declaration.
2632
2633         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2634         use lyx::depth_type rather than Paragraph::depth_type so that
2635         header file and .C file match.
2636
2637         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2638
2639         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2640         * aspell.C: \file aspell_local.C -> \file aspell.C
2641         * gettext.C: \file gettext.C -> \file src/gettext.C
2642         * gettext.h: \file gettext.h -> \file src/gettext.h
2643         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2644         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2645         * text.C: \file text.C -> \file src/text.C
2646
2647         * toc.C: move comment so that doxygen is not confused.
2648
2649 2003-10-07  Angus Leeming  <leeming@lyx.org>
2650
2651         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2652
2653 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2654
2655         * aspell.C:
2656         * aspell_local.h: add forgotten std::string's.
2657
2658 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2659
2660         * LaTeXFeatures.C:
2661         * LyXAction.C:
2662         * factory.C:
2663         * lfuns.h:
2664         * lyxfunc.C:
2665         * text3.C: The Box patch. Fancybox support, minipage, parbox
2666
2667 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2668
2669         * CutAndPaste.h:
2670         * DepTable.h:
2671         * FloatList.h:
2672         * LaTeXFeatures.h:
2673         * ParagraphParameters.h:
2674         * TextCache.h:
2675         * Thesaurus.h:
2676         * bufferlist.h:
2677         * exporter.h:
2678         * importer.h:
2679         * lastfiles.h:
2680         * lyxfind.h:
2681         * lyxfont.h:
2682         * lyxlex.h:
2683         * lyxtextclasslist.h:
2684         * messages.h:
2685         * paragraph.h:
2686         * paragraph_pimpl.C:
2687         * textcursor.h: add <string> and other small fixes to make Lars'
2688         std::string patch compile with STLport.
2689
2690 2003-10-06  Angus Leeming  <leeming@lyx.org>
2691
2692         * LColor.h: Add missing #include <string>.
2693
2694 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2695
2696         * All most all file in all subdirs: Make <string> be the prefered
2697         way of getting to std::string, add using declarations.
2698
2699 2003-10-06  André Pönitz  <poenitz@gmx.net>
2700
2701         * metricsinfo.C: initialize LyXFont before changing attribute.
2702         (fixes the 'math in \emph is upright' bug)
2703
2704 2003-10-06  André Pönitz  <poenitz@gmx.net>
2705
2706         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2707
2708 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2709
2710         * graph.C:
2711         * paragraph_pimpl.C: Small fixes to build using STLport
2712
2713 2003-10-02  André Pönitz  <poenitz@gmx.net>
2714
2715         * lyxfunc.C:
2716         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2717
2718 2003-10-01  André Pönitz  <poenitz@gmx.net>
2719
2720         * factory.C: assert early
2721
2722 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2723
2724         * lyx_main.C: remove the global debug object
2725
2726         * debug.h: adjust for new debugstream
2727
2728         * debug.C: adjust for new debugstream and keep the global debug
2729         object here.
2730
2731 2003-09-22  Angus Leeming  <leeming@lyx.org>
2732
2733         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2734         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2735         an incomplete class LyXFont.
2736
2737 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2738
2739         * factory.C: bug fix in branches
2740
2741 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2742
2743         * lyxfunc.C (processKeySym): adjust
2744         (dispatch): adjust
2745         (dispatch): change arg name from ev to func, adjust
2746         (sendDispatchMessage): ditto
2747
2748         * lyx_main.C (defaultKeyBindings): adjust keybindings
2749         (deadKeyBindings): ditto
2750
2751         * kbsequence.C (addkey): return a FuncRequest
2752
2753         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2754
2755         * kbmap.C (bind): take a FuncRequest as arg, adjust
2756         (read): adjust
2757         (lookup): adjust
2758         (defkey): change to take a FuncRequest as arg, adjust
2759         (findbinding): take a FuncRequest as arg, adjust.
2760
2761         * funcrequest.h (operator=): added
2762
2763         * funcrequest.C (FuncRequest): default kb_action changed from
2764         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2765
2766         * buffer.C (dispatch): simplify
2767         (dispatch): adjust to take a FuncRequest as arg, adjust
2768
2769         * boost.C (assertion_failed): change assertion message slightly
2770
2771         * ToolbarBackend.C (read): simplify
2772
2773         * MenuBackend.C (binding): adjust call to findbinding, add a
2774         message if no binding is found.
2775         (read): simplify
2776         (expandToc): correct by adding a empty FuncRequest
2777
2778         * LyXAction.C: include <boost/assert.hpp>
2779         (isPseudoAction): delete function
2780         (LookupFunc): change name to...
2781         (lookupFunc): this. change return type to FuncRequest.
2782         (getActionName): take kb_action as arg, simplify
2783         (funcHasFlag): add an assert, simplify.
2784
2785 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2786
2787         * toc.C (action): return a FuncRequest, simplify
2788
2789         * lyxfunc.C (processKeySym): adjust
2790         (getStatus): delete version that takes an int.
2791         (getStatus): adjust
2792         (dispatch): delete version that takes action as int
2793         (dispatch): adjust
2794         (sendDispatchMessage): simplify and adjust
2795
2796         * funcrequest.C (getArg): take unsigned int as arg
2797
2798         * ToolbarBackend.C (read): adjust
2799         (add): delete version that takes func as a string.
2800         (getIton): take a FuncRequest as arg
2801
2802         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2803         action.
2804
2805         * MenuBackend.C (MenuItem): add a new construct that only takes a
2806         Kind, simplify the constructor use for submenus.
2807         (add): adjust
2808         (expandLastfiles): adjust
2809         (expandDocuments): adjust
2810         (expandFormats): adjust
2811         (expandFloatListInsert): adjust
2812         (expandFloatInsert): adjust
2813         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2814
2815         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2816         Remove class variables lyx_pseudo_map and lyx_arg_map
2817
2818         * LyXAction.C (searchActionArg): delete function
2819         (getPseudoAction): delete function
2820         (retrieveActionArg): delete function
2821         (LookupFunc): make it return kb_action, simplify.
2822         (getActionName): simplify
2823
2824         * factory.C (createInset): fix new bug
2825
2826 2003-09-19  Angus Leeming  <leeming@lyx.org>
2827
2828         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2829         masterFilename_ parameter in the include inset.
2830
2831         * factory.C (createInset): changes due to the changes to InsetInclude.
2832
2833 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2834
2835         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2836
2837 2003-09-18  Angus Leeming  <leeming@lyx.org>
2838
2839         * buffer.C:
2840         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2841         Inset::fillWithBibKeys.
2842         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2843
2844 2003-09-18  Angus Leeming  <leeming@lyx.org>
2845
2846         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2847         variables.
2848         (ctor): pass and store a 'Buffer const &'
2849         (buffer): new member function.
2850
2851         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2852         '*this' to the LaTeXFeatures ctor.
2853
2854 2003-09-18  Angus Leeming  <leeming@lyx.org>
2855
2856         * LColor.h:
2857         * lyxfont.C:
2858         * lyxfont.h:
2859         * lyxtext.h:
2860         * text.C: rename EnumLColor as LColor_color.
2861
2862 2003-09-18  Angus Leeming  <leeming@lyx.org>
2863
2864         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2865         remove #include "insets/insetbase.h" from cursor.h.
2866
2867 2003-09-18  Angus Leeming  <leeming@lyx.org>
2868
2869         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2870         InsetOld_code to remove #include "inset.h".
2871
2872         * iterators.C: add #include "insets/inset.h"
2873
2874 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2875
2876         * BufferView.C: remove more locking stuff that apparently doesn't
2877         do anything sensible.
2878
2879 2003-09-16  André Pönitz  <poenitz@gmx.net>
2880
2881         * paragraph.[Ch]:
2882         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2883           performance boost.
2884
2885 2003-09-16  Angus Leeming  <leeming@lyx.org>
2886
2887         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2888
2889         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2890         arg/return type.
2891
2892         * paragraph.h: remove #include "lyxfont.h". Forward declare
2893         LyXFont_size.
2894
2895 2003-09-16  Angus Leeming  <leeming@lyx.org>
2896
2897         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2898         of support/textutils.h.
2899         (isWord): move the contents of support/textutils.h's IsWordChar here.
2900
2901         * buffer.C:
2902         * lyxfind.C:
2903         * rowpainter.C:
2904         * text.C:
2905         * text2.C: add #include "paragraph.h".
2906
2907         * rowpainter.C:
2908         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2909
2910 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2911
2912         * main.C:
2913         * lyx_main.C:
2914         * lyx_cb.C:
2915         * buffer.C:
2916         * LaTeX.C: use namespace alias for lyx::support::os
2917
2918 2003-09-16  Angus Leeming  <leeming@lyx.org>
2919
2920         * bufferparams.C:
2921         * bufferview_funcs.C:
2922         * factory.C:
2923         * lyxfunc.C:
2924         * paragraph_pimpl.C:
2925         * rowpainter.C:
2926         * text.C: add #include "LColor.h".
2927
2928 2003-09-16  Angus Leeming  <leeming@lyx.org>
2929
2930         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2931         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2932         return LyXFont &.
2933         Store the FontBits::color variable as an int rather than as an
2934         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2935         file.
2936
2937         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2938         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2939         string calls together.
2940
2941         * lyxrc.C: add #include "LColor.h".
2942
2943 2003-09-15  Angus Leeming  <leeming@lyx.org>
2944
2945         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2946         a cow_ptr.
2947
2948 2003-09-15  Angus Leeming  <leeming@lyx.org>
2949
2950         * LColor.h: add an EnumLColor wrapper for LColor::color.
2951
2952         * lyxfont.[Ch] (color, setColor, realColor):
2953         * lyxtext.h, text.C (backgroundColor):
2954         pass EnumLColor args to/from the functions, rather than LColor::color
2955         ones.
2956
2957         * lyxfont.h:
2958         * lyxtext.h: forward declare EnumLColor.
2959
2960         * lyx_main.C: add #include "LColor.h".
2961
2962 2003-09-15  Angus Leeming  <leeming@lyx.org>
2963
2964         * .cvsignore: add lyx-gtk.
2965
2966 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2967
2968         * Chktex.C
2969         * LaTeX.C
2970         * LaTeXFeatures.C
2971         * ParagraphParameters.C
2972         * Spacing.C
2973         * buffer.C
2974         * bufferparams.C
2975         * bufferview_funcs.C
2976         * chset.C
2977         * counters.C
2978         * funcrequest.C
2979         * lyxfont.C
2980         * lyxgluelength.C
2981         * lyxlength.C
2982         * paragraph.C
2983         * paragraph_funcs.C
2984         * text3.C
2985         * vc-backend.C: remove usage of STRCONV
2986
2987 2003-09-15  Angus Leeming  <leeming@lyx.org>
2988
2989         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2990         explicitly define the color passed to the painter.
2991
2992 2003-09-15  Angus Leeming  <leeming@lyx.org>
2993
2994         * bufferparams.C (BufferParams): reorder member initializers to avoid
2995         compiler warning.
2996
2997 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2998
2999         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3000         * text.C (updateRowPositions): remove an unusual nop
3001
3002 2003-09-12  André Pönitz  <poenitz@gmx.net>
3003
3004         * BufferView_pimpl.C:
3005         * Bullet.C:
3006         * layout.h:
3007         * lyxfunc.C:
3008         * lyxlayout.[Ch]:
3009         * lyxtextclass.C:
3010         * rowpainter.C:
3011         * text.C:
3012         * text2.C:
3013         * Counters.[Ch]: finish the 'automatic counters' job
3014
3015 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3016
3017         * aspell.C: include <boost/assert.cpp> (compile fix)
3018
3019 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3020
3021         * boost.C (assertion_failed): use lyx::support::abort instead of
3022         assert.
3023
3024 2003-09-10  Angus Leeming  <leeming@lyx.org>
3025
3026         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3027         with their _fwd progeny.
3028
3029 2003-09-09  Angus Leeming  <leeming@lyx.org>
3030
3031         134 files throughtout the source tree: replace 'using namespace abc;'
3032         directives with the appropriate 'using abc::xyz;' declarations.
3033
3034 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3035
3036         * boost.C (emergencyCleanup): moved here from LAssert.c
3037         (assertion_failed): new function, called by BOOST_ASSERT
3038
3039         * several files: change Assert to BOOST_ASSERT
3040
3041 2003-09-09  Angus Leeming  <leeming@lyx.org>
3042
3043         * buffer.[Ch]: Add an Impl class and move Buffer's member
3044         variables into it. As a result move several header files out of
3045         buffer.h.
3046
3047         Add header files to lots of .C files all over the tree as a result.
3048
3049 2003-09-09  Angus Leeming  <leeming@lyx.org>
3050
3051         * buffer.[Ch]: make Buffer's member variables private. Add
3052         accessor functions.
3053
3054         Lots of changes all over the tree as a result.
3055
3056 2003-09-08  Angus Leeming  <leeming@lyx.org>
3057
3058         * graph.C: #include <config.h>.
3059
3060 2003-09-08  Angus Leeming  <leeming@lyx.org>
3061
3062         * BranchList.C:
3063         * BufferView.C:
3064         * BufferView_pimpl.C:
3065         * CutAndPaste.C:
3066         * DepTable.C:
3067         * LaTeX.C:
3068         * LaTeXFeatures.C:
3069         * LyXAction.C:
3070         * MenuBackend.C:
3071         * TextCache.C:
3072         * aspell.C:
3073         * buffer.C:
3074         * bufferlist.C:
3075         * changes.C:
3076         * chset.C:
3077         * converter.C:
3078         * counters.C:
3079         * debug.C:
3080         * graph.C:
3081         * ispell.C:
3082         * lyx_cb.C:
3083         * lyxfind.C:
3084         * lyxfunc.C:
3085         * lyxlex_pimpl.C:
3086         * lyxrc.C:
3087         * lyxrow.C:
3088         * paragraph.C:
3089         * rowpainter.C:
3090         * texrow.C:
3091         * text.C:
3092         * text2.C:
3093         * toc.C: remove redundant using directives.
3094
3095 2003-09-07  Angus Leeming  <leeming@lyx.org>
3096
3097         * LaTeXFeatures.h: remove #include "support/types.h".
3098         * ToolbarBackend.h: remove #include <algorithm>.
3099         * changes.h: remove #include <ctime>.
3100         * debug.h: remove #include <iosfwd>.
3101         * graph.h: remove #include "support/std_string.h".
3102         * lyx_main.h: remove #include <csignal>.
3103         * lyxlex_pimpl.h: remove #include <fstream>.
3104         * sgml.h: remove #include <algorithm>, <utility>.
3105         * toc.h: remove #include "support/std_ostream.h".
3106         Add #include <iosfwd>.
3107
3108 2003-09-07  Angus Leeming  <leeming@lyx.org>
3109
3110         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3111
3112         * converter.h: forward declare LatexRunParams.
3113         * encoding.h: remove #include "lyxrc.h".
3114         * lyxtext.h: remove #include "LColor.h".
3115         * lyxtextclass.h: remove #include "support/types.h".
3116         * trans.h: remove #include "tex-accent.h".
3117         * trans_mgr.h: remove #include "tex-accent.h".
3118         * insets/inset.h: remove #include "support/types.h", <vector>.
3119         * insets/insetcollapsable.h: remove #include "LColor.h".
3120         * insets/insetinclude.h: remove #include "dimension.h".
3121         * insets/insetlatexaccent.h: remove #include "dimension.h".
3122         * insets/insetoptarg.h:: remove #include "insettext.h".
3123         * insets/insettext.h: remove #include "dimension.h",
3124         <boost/shared_ptr.hpp>
3125
3126         * insets/renderers.h: add #include "dimension.h".
3127         * insets/updatableinset.h: add #include "support/types.h".
3128
3129         * many .C files: Associated changes.
3130
3131 2003-09-06  Angus Leeming  <leeming@lyx.org>
3132
3133         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3134         one, inside testInvariant.
3135
3136         * PrinterParams.C: new file.
3137         * PrinterParams.[Ch]: move the function bodies out of line.
3138
3139 2003-09-06  Angus Leeming  <leeming@lyx.org>
3140
3141         * ParagraphParameters.h: forward declare ParameterStruct rather than
3142         including its header file.
3143         (depth): moved out-of-line.
3144
3145 2003-09-06  Angus Leeming  <leeming@lyx.org>
3146
3147         * BufferView_pimpl.h:
3148         * kbmap.h:
3149         * kbsequence.h:
3150         * lyxfunc.h: forward declare LyXKeySym rather than
3151         #include "frontends/LyXKeySym.h".
3152
3153         * BufferView_pimpl.C:
3154         * kbmap.C:
3155         * kbsequence.C:
3156         * lyxfunc.C: associated changes.
3157
3158 2003-09-06  Angus Leeming  <leeming@lyx.org>
3159
3160         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3161         As a result, can remove the #include "insets/inset.h" from BufferView.h
3162
3163 2003-09-06  Angus Leeming  <leeming@lyx.org>
3164
3165         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3166         As a result, can remove the #include "insets/inset.h" from BufferView.h
3167
3168 2003-09-06  Angus Leeming  <leeming@lyx.org>
3169
3170         * buffer_funcs.C:
3171         * buffer.h:
3172         * bufferlist.C:
3173         * BufferView.C:
3174         * bufferview_funcs.C:
3175         * BufferView_pimpl.C:
3176         * CutAndPaste.C:
3177         * lyx_cb.C:
3178         * lyxfunc.C:
3179         * paragraph.h:
3180         * ParagraphParameters.C:
3181         * tabular.C:
3182         * text3.C:
3183         * toc.C:
3184         * undo_funcs.C:
3185         * frontends/controllers/ControlDocument.C:
3186         * insets/insetcaption.C: rearrange the #includes into some sort of
3187         coherent order.
3188
3189         * buffer.h: remove #includes ErrorList.h, undo.h
3190
3191 2003-09-06  Angus Leeming  <leeming@lyx.org>
3192
3193         * support/types.h: add a 'depth_type' typedef, used to store the
3194         nesting depth of a paragraph.
3195
3196         * paragraph.h:
3197         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3198         defining explicitly.
3199
3200         * buffer.h:
3201         * paragraph_funcs.h:
3202         * ParagraphParameters.h:
3203         * sgml.h: use lyx::depth_type rather than Paragraph or
3204         ParameterStruct's depth_type.
3205
3206         * buffer.h
3207         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3208
3209         * BufferView.C:
3210         * BufferView_pimpl.C:
3211         * CutAndPaste.C:
3212         * ParagraphParameters.C:
3213         * buffer_funcs.C:
3214         * bufferlist.C:
3215         * bufferview_funcs.C:
3216         * lyx_cb.C:
3217         * lyxfunc.C:
3218         * tabular.C:
3219         * text3.C:
3220         * toc.C:
3221         * undo_funcs.C:
3222         * frontends/LyXView.C:
3223         * frontends/controllers/ControlDocument.C:
3224         * frontends/controllers/ControlErrorList.C:
3225         * insets/insetbibitem.C:
3226         * insets/insetbranch.C:
3227         * insets/insetcaption.C:
3228         * insets/insetcollapsable.C:
3229         * insets/insetenv.C:
3230         * insets/insetert.C:
3231         * insets/insetfloat.C:
3232         * insets/insetfoot.C:
3233         * insets/insetfootlike.C:
3234         * insets/insetnewline.C:
3235         * insets/insetquotes.C:
3236         * insets/insettabular.C:
3237         * insets/insettext.C:
3238         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3239
3240         * frontends/controllers/ControlChanges.C: #include "changes.h".
3241
3242 2003-09-06  Angus Leeming  <leeming@lyx.org>
3243
3244         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3245         than #including paragraph.h.
3246
3247         * ParagraphList.h:
3248         * RowList.h: deleted. Superfluous.
3249
3250         * CutAndPaste.h:
3251         * iterators.h:
3252         * lyxcursor.h:
3253         * lyxtext.h:
3254         * text_funcs.h:
3255         * undo.h:
3256         * undo_funcs.h:
3257         * insets/inset.h:
3258         * insets/insettext.h: use ParagraphList_fwd.h rather than
3259         ParagraphList.h.
3260
3261         * paragraph.h: don't forward declare ParagraphList.
3262
3263         * buffer.h:
3264         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3265         rather than ParagraphList.h. paragraph.h is still needed for the
3266         Paragraph::depth_type parameters.
3267
3268         * textcursor.h: enable it to compile stand-alone in light of the
3269         above changes.
3270
3271         * bufferview_funcs.C:
3272         * iterators.C:
3273         * lyxfunc.C:
3274         * lyxrow_funcs.C:
3275         * paragraph.C:
3276         * rowpainter.C:
3277         * text.C:
3278         * text2.C:
3279         * text3.C:
3280         * text_funcs.C:
3281         * textcursor.C:
3282         * undo.C:
3283         * frontends/controllers/ControlParagraph.C:
3284         * frontends/controllers/ControlTabular.C:
3285         * insets/insetmarginal.C:
3286         * insets/insetminipage.C:
3287         * insets/insetnote.C:
3288         * insets/insetoptarg.C: add header files needed to compile again.
3289
3290 2003-09-06  Angus Leeming  <leeming@lyx.org>
3291
3292         * RowList_fwd.h: new file, forward-declaring Row rather than
3293         #including lyxrow.h.
3294
3295         * lyxrow_funcs.h:
3296         * lyxtext.h:
3297         * paragraph.h:
3298         * insets/insettext.h: use it instead of RowList.h
3299
3300         * bufferview_funcs.C:
3301         * lyxfunc.C:
3302         * lyxrow_funcs.C:
3303         * paragraph.C:
3304         * rowpainter.C:
3305         * text.C:
3306         * text2.C:
3307         * text3.C: #include "RowList.h".
3308
3309 2003-09-05  Angus Leeming  <leeming@lyx.org>
3310
3311         * factory.C (createInset):
3312         * vspace.C (c-tor): replace sscanf call with an istringstream.
3313         * ispell.C: re-add missing HP/UX headers.
3314         * lyxserver.C: re-add missing  os2 headers.
3315
3316 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3317
3318         * BranchList.C:
3319         * graph.C:
3320         * ispell.C:
3321         * lastfiles.C:
3322         * lyx_cb.C:
3323         * lyxserver.C:
3324         * texrow.C:
3325         * text3.C: re-add missing system headers, needed for 2.95.2.
3326
3327 2003-09-05  Angus Leeming  <leeming@lyx.org>
3328
3329         Changes most place everywhere due to the removal of using directives
3330         from support/std_sstream.h.
3331
3332 2003-09-05  Angus Leeming  <leeming@lyx.org>
3333
3334         Replace LString.h with support/std_string.h,
3335         Lsstream.h with support/std_sstream.h,
3336         support/LIstream.h with support/std_istream.h,
3337         support/LOstream.h with support/std_ostream.h.
3338
3339         Changes resulting throughout the tree.
3340
3341 2003-09-05  Angus Leeming  <leeming@lyx.org>
3342
3343         * sgml.h: ensure that the header file can be compiled stand-alone.
3344         * *.C: strip out redundant #includes. (320 in total.)
3345
3346 2003-09-04  Angus Leeming  <leeming@lyx.org>
3347
3348         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3349         here (from getPackages).
3350
3351         * debug.[Ch]: add a new EXTERNAL tag.
3352
3353 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3354
3355         * text2.C (cursorEnd): simplify
3356         (setCursor): adjust
3357         (getColumnNearX): adjust
3358
3359         * text.C (computeBidiTables): adjust
3360         (fill): adjust
3361
3362         * rowpainter.C (paintChars): adjust
3363         (paintSelection): adjust
3364         (paintChangeBar): adjust
3365         (paintText): adjust
3366
3367         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3368         lastPos instead.
3369         (numberOfSeparators): adjust
3370
3371 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3372
3373         * LyXAction.C:
3374         * box.[Ch]:
3375         * lfuns.h:
3376         * lyxfunc.C:
3377         * text3.C: Restricts the mouse click functionality
3378         of insets like bibtex, include, toc and floatlist to the visible
3379         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3380         up the dialogs. Cursor has to be in front of the inset (i.e.
3381         start of row) for this to function.
3382
3383 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3384
3385         * bufferview_funcs.C (currentState): output row information
3386
3387 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3388
3389         * bufferview_funcs.C (currentState): output paragraph position
3390
3391 2003-09-04  Angus Leeming  <leeming@lyx.org>
3392
3393         * FloatList.h: move out #include "Floating.h".
3394         * LaTeX.h: move out #include "DepTable.h".
3395         * LyXAction.h: move out #include "funcrequest.h".
3396         * buffer.h: move out #include "author.h", "iterators.h".
3397         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3398         * lyx_main.h: move out #include "errorlist.h".
3399         * lyxfunc.h: move out #include "FuncStatus.h".
3400         * lyxtext: move out #include "lyxcursor.h".
3401         * paragraph_pimpl.h: move out #include "counters.h".
3402
3403 2003-09-03  Angus Leeming  <leeming@lyx.org>
3404
3405         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3406         preamble_snippets list, enabling us to add snippets to the preamble
3407         only if the snippet was not there already.
3408
3409 2003-09-04  Angus Leeming  <leeming@lyx.org>
3410
3411         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3412
3413 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3414
3415         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3416         update
3417
3418 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3419
3420         * BranchList.C: point fix, earlier forgotten
3421
3422 2003-09-02  Angus Leeming  <leeming@lyx.org>
3423
3424         * box.C (contains): renamed from 'contained' after a fantastic
3425         amount of hot air.
3426
3427 2003-09-02  John Levon  <levon@movementarian.org>
3428
3429         * BufferView.C:
3430         * lyxcursor.h:
3431         * lyxcursor.C:
3432         * lyxfunc.C:
3433         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3434
3435 2003-09-02  John Levon  <levon@movementarian.org>
3436
3437         * text2.C: simplification of cursorEnd(), including partial
3438         fix for bug 1376
3439
3440 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3441
3442         * buffer.C (readFile): add a space
3443
3444 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3445
3446         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3447
3448 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3449
3450         * buffer.C (readFile): new function, take a filename and a
3451         ParagraphList::iterator
3452         (readFile): adjust
3453         (readFile): adjust, make it private. don't use setStream, make
3454         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3455         always contain the filename.
3456
3457         * BufferView.C (insertLyXFile): simplify and make it work for
3458         gzipped files.
3459
3460 2003-08-30  John Levon  <levon@movementarian.org>
3461
3462         * Makefile.am: fix dist (from Kayvan)
3463
3464 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3465
3466         * most files: change to use const Buffer refs
3467
3468 2003-08-27  André Pönitz  <poenitz@gmx.net>
3469
3470         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3471         on top of ownerPar().
3472
3473 2003-08-27  John Levon  <levon@movementarian.org>
3474
3475         * funcrequest.C: properly initialise POD members
3476
3477 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3478
3479         * lyxtext.h (top_y): move top_y from here
3480         * text.C:
3481         * text2.C:
3482         * text3.C:
3483         * BufferView.[Ch]:
3484         * BufferView_pimpl.[Ch]: to here
3485         * frontends/screen.C:
3486         * insets/insettabular.C:
3487         * insets/insettext.C: adjust
3488         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3489
3490 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3491
3492         * BufferView.[Ch]:
3493         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3494
3495 2003-08-26  André Pönitz  <poenitz@gmx.net>
3496
3497         * paragraph_func.[Ch] (outerPar): new function
3498
3499         * paragraph.C:
3500         * paragraph_funcs.C:
3501         * paragraph_funcs.h:
3502         * paragraph_pimpl.C:
3503         * text2.C: remove Inset::par_owner
3504
3505 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3506
3507         * lyxrow_funcs.C:
3508         * lyxtext.h:
3509         * text.C:
3510         * text2.C: eliminates the needFullRow/display() stuff
3511         altogether, putting the logic in metrics/draw in the insets.
3512
3513 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3514
3515         * text2.C (redoParagraphInternal, redoParagraphs):
3516         * text.C (redoParagraph): add a call to updateRowPositions at the
3517         end of each 'metrics-like' call. Remove all others.
3518         (getRow): remove the 'y-computing' version.
3519         (getRowNearY): do not compute nor return the real y. Solve the
3520         'y < 0' problem and simplify.
3521
3522 2003-08-22  Angus Leeming  <leeming@lyx.org>
3523
3524         * *.[Ch]: clean-up of licence and author blurbs.
3525         Also move config.h out of a few .h files and into a few .C files.
3526
3527 2003-08-22  André Pönitz  <poenitz@gmx.net>
3528
3529         * lyxrow.[Ch]: add x_ and *fill_ members
3530
3531         * lyxtext.h:
3532         * text.C:
3533         * rowpainter.C:
3534         * text2.C: adjust/remove prepareToPrint() calls
3535
3536 2003-08-22  André Pönitz  <poenitz@gmx.net>
3537
3538         * lyxrow.[Ch]: add  end_ member
3539
3540         * lyxrow_funcs.C: use LyXRow::end_
3541
3542         * lyxtext.h (singleWidth): add LyXFont parameter
3543
3544         * rowpainter.C:
3545         * text2.C: adjust LyXText::singleWidth() calls
3546
3547         * text.C (redoParagraph): simplify row breaking logic
3548
3549
3550 2003-08-19  André Pönitz  <poenitz@gmx.net>
3551
3552         * funcrequest.C: initialize button_ member
3553
3554         * text3.C:
3555         * rowpainter.[Ch]: interface consolidation
3556
3557 2003-08-18  André Pönitz  <poenitz@gmx.net>
3558
3559         * BufferView.C:
3560         * BufferView_pimpl.C:
3561         * lyxfind.C:
3562         * paragraph_funcs.C:
3563         * rowpainter.C:
3564         * text3.C: remove LyXScreen::draw() and fitCursor calls
3565
3566         * BranchList.h: remove spurious semicolons
3567
3568         * MenuBackend.C: fix branchlist related crash
3569
3570 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3571
3572         * BranchList.[Ch]:
3573         * InsetList.[Ch]:
3574         * LColor.[Ch]:
3575         * LyXAction.C:
3576         * Makefile.am:
3577         * MenuBackend.[Ch]:
3578         * bufferparams.[Ch]:
3579         * factory.C:
3580         * lfuns.h:
3581         * lyxfunc.C:
3582         * text3.C: implements the 'branch inset'
3583         idea. This allows the output of various versions of a document
3584         from a single source version, selectively outputing or suppressing
3585         output of parts of the text.
3586         This implementation contains a 'branch list editor' in a separate
3587         tab of the document settings dialog. Branches are user definable
3588         and have a "display colour" to distinguish them on-screen.
3589
3590         ColorHandler was somewhat cleaned up.
3591         (1) make possible a dynamically growing LColor list by allowing
3592         the graphic context cache to grow along (vector);
3593         (2) eliminate an IMHO unnecessary step in colour allocation.
3594
3595 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3596
3597         * BufferView_pimpl.C: compile fix
3598
3599 2003-08-15  André Pönitz  <poenitz@gmx.net>
3600
3601         * rowpainter.C: remove extra metrics calls
3602
3603         * lyxtext.h: merge the two constructors into a single one,
3604           pass reference to owner's par list
3605
3606         * BufferView_pimpl.C:
3607         * text.C:
3608         * text2.C: adjust
3609
3610 2003-08-15  André Pönitz  <poenitz@gmx.net>
3611
3612         * lyxrow_funcs.[Ch]:
3613         * lyxtext.h:
3614         * paragraph.h:
3615         * paragraph_funcs.C:
3616         * rowpainter.C:
3617         * text.C:
3618         * text2.C:
3619         * text3.C:
3620         * text_funcs.C: split LyXText::rowlist_ into individual
3621         Paragraph::rows_ chunks
3622
3623         * BufferView.[Ch]:
3624         * BufferView_pimpl.[Ch]:
3625         * lyxfind.C:
3626         * lyxtext.h:
3627         * text3.C: remove toggleSelection()
3628
3629 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3630
3631         * bufferlist.C: beautify two alerts (shorter text of buttons)
3632         * buffer.C: Remove redundant ' ' from message
3633         * tabular.h:
3634         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3635         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3636         rename VALIGN_CENTER to VALIGN_MIDDLE
3637
3638 2003-08-11  André Pönitz  <poenitz@gmx.net>
3639
3640         * lyxtext.h (getPar):
3641         * text.C: new function
3642
3643 2003-08-11  André Pönitz  <poenitz@gmx.net>
3644
3645         * Makefile.am:
3646         * tracer.[Ch]: remove unneeded files
3647
3648         * InsetList.[Ch]: remove resizeInsetsLyXText()
3649
3650         * lyxtext.h:
3651         * text.C:
3652         * text2.C:
3653         * text3.C: merge insertParagraphs() and appendParagraph()
3654         remove breakAgain(), update()
3655
3656         * BufferView_pimpl.[Ch]:
3657         * bufferview_funcs.[Ch]:
3658         * lyxfunc.C:
3659         * paragraph.[Ch]:
3660         * rowpainter.C:
3661         * tabular.C: adjust after text & InsetList changes.
3662
3663 2003-08-08  André Pönitz  <poenitz@gmx.net>
3664
3665         * text.C (insertChar, backspace): replace rowlist fiddling
3666         with rebreak of full par
3667
3668         * lyxtext.h:
3669         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3670         checkParagraph, updateInset): removed
3671
3672 2003-08-07  André Pönitz  <poenitz@gmx.net>
3673
3674         * paragraph.C:
3675         * text3.C: merge some LFUN handlers, remove dead code
3676
3677 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3678
3679         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3680
3681 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3682
3683         * text2.C (DEPM): fix part of bug 1255 and 1256
3684
3685 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3686
3687         * BufferView_pimpl.C (workAreaDispatch): change to use
3688         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3689         that are no mouse related.
3690
3691 2003-08-05  André Pönitz  <poenitz@gmx.net>
3692
3693         * BufferView.[Ch]:
3694         * BufferView_pimpl.[Ch]:
3695         * bufferview_funcs.C:
3696         * text2.C:
3697         * text3.C: rip out "deep update"
3698
3699         * textcursor.[Ch] (last_sel_cursor): remove unused member
3700
3701 2003-08-04  André Pönitz  <poenitz@gmx.net>
3702
3703         * BufferView.[Ch]:
3704         * BufferView_pimpl.[Ch]:
3705         * ParagraphParameters.C:
3706         * bufferview_funcs.C:
3707         * lyx_cb.C:
3708         * lyxfind.C:
3709         * lyxfunc.C:
3710         * text.C:
3711         * text2.C:
3712         * text3.C: replace "complicated" BufferView::update(...) calls with
3713         simpler ones.
3714
3715         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3716
3717 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3718
3719         * Makefile.am (lyx_SOURCES): add paper.h
3720
3721 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3722
3723         * Makefile.am: move things around so that both lyx-qt and
3724         lyx-xforms can be built (according to --with-frontend). Then lyx
3725         is a symbolic link to lyx-[firstfrontend]
3726
3727 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3728
3729         * Always use std::endl with lyxerr
3730
3731 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3732
3733         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3734
3735 2003-08-01  André Pönitz  <poenitz@gmx.net>
3736
3737         * BufferView.[Ch]:
3738         * BufferView_pimpl.[Ch]:
3739         * lyxfunc.C:
3740         * text3.C: merge BufferView::repaint() and BufferView::update()
3741
3742 2003-08-01  José Matos  <jamatos@lyx.org>
3743
3744         * buffer.[Ch]: file_format is no longer a buffer data element.
3745
3746 2003-08-01  André Pönitz  <poenitz@gmx.net>
3747
3748         * BufferView.C:
3749         * lyxtext.h:
3750         * text.C:
3751         * text2.C: make redoParagraph more independent of current cursor
3752
3753         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3754         * text.C:
3755         * text2.C: remove unneeded members
3756
3757 2003-07-30  André Pönitz  <poenitz@gmx.net>
3758
3759         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3760
3761         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3762           create a single function...
3763
3764         * paragraph_funcs.C (moveItem): ... here.
3765
3766         * text.C:
3767           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3768
3769 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3770
3771         * LColor.[Ch]: Add comment and greyedout logical colors.
3772
3773 2003-07-30  André Pönitz  <poenitz@gmx.net>
3774
3775         * tabular.C: don't use Assert too heavily. This crashes where it
3776           shouldn't
3777
3778 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3779
3780         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3781         is disabled (bug 1232)
3782
3783 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3784
3785         * factory.C: limited 'arg' scope
3786
3787 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3788
3789         * factory.C: fixed Note submenu issues
3790
3791 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3792
3793         * factory.C: submenu for Note/Comment/Greyedout
3794
3795 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3796
3797         * lyx_main.C (LyX):
3798         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3799
3800 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3801
3802         * LaTeXFeatures.C:
3803         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3804         greyedout. Patch provided by Jürgen Spitzmüller.
3805
3806 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3807
3808         * kbmap.C (read): fix error message when reading bind files
3809
3810 2003-07-29  Angus Leeming  <leeming@lyx.org>
3811
3812         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3813         certainly does not do what it purports to do. I am doing it, and
3814         us, a favour by killing it.
3815
3816 2003-07-28  José Matos  <jamatos@lyx.org>
3817
3818         * buffer.C (readBody, do_writeFile):
3819         * paragraph.C(readParagraph): \end_document replaces \the_end.
3820
3821 2003-07-29  André Pönitz  <poenitz@gmx.net>
3822
3823         * BufferView.[Ch]:
3824         * BufferView_pimpl.[Ch]:
3825         * lyxfunc.C:
3826         * text2.C:
3827         * text3.C:
3828         * textcursor.[Ch]: remove toggleToggle & Co
3829
3830 2003-07-28  José Matos  <jamatos@fep.up.pt>
3831
3832         * buffer.C (readParagraph):
3833         * params_func (readParToken, readParagraph):
3834         * paragraph.C (write): \layout -> \begin_layout.
3835
3836 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3837
3838         * lyxlex_pimpl.C (setFile): clean up slightly.
3839
3840         * bufferparams.h: add compressed var
3841
3842         * buffer_funcs.C (readFile): adjust for LyXLex change
3843         (newFile): ditto + simplify
3844
3845         * buffer.C (writeFile): handle writing of compressed files
3846
3847         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3848         Check if the file is compressed and set a bufferparm if so.
3849
3850         * Makefile.am (lyx_LDADD): remove explicit -lz
3851
3852 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3853
3854         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3855         makeDocBookFile): put the real LyX version in the first line of
3856         the file
3857
3858         * version.h:
3859         * version.C.in: remove lyx_docversion
3860
3861         * tabular.C (write_attribute): add a template-based version to
3862         write enums properly
3863
3864 2003-07-28  André Pönitz  <poenitz@gmx.net>
3865
3866         * lyxtext.h:
3867         * text.C:
3868         * text2.C:
3869         * text3.C: use doubles again for x-coordinates. They are needed.
3870
3871 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3872
3873         * messages.C (getLocaleDir): use lyx_localedir()
3874
3875         * lyxlex_pimpl.C (setFile): compress stuff
3876
3877         * buffer.C (writeFile): add some compression stuff
3878         (do_writeFile): new func, dont call expliti close... will this
3879         breake anything?
3880
3881         * Makefile.am (lyx_LDADD): add -lz
3882
3883 2003-07-28  José Matos  <jamatos@fep.up.pt>
3884
3885         * buffer.C: increment file format.
3886         * paragraph_funcs (readParagraph, readParToken):
3887         * paragraph.C (readParagraph): add \end_layout.
3888
3889 2003-07-27  Angus Leeming  <leeming@lyx.org>
3890
3891         * Makefile.am: remove special casing for configure-time setting of
3892         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3893
3894         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3895         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3896
3897 2003-07-26  André Pönitz  <poenitz@gmx.net>
3898
3899         * paragraph_func.[Ch]:
3900         * paragraph.C (realizeFont): inline it whereever it is used
3901
3902         * rowpainter.C:
3903         * text.C:
3904         * text2.C:
3905         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3906
3907
3908 2003-07-26  André Pönitz  <poenitz@gmx.net>
3909
3910         *       lyxtext.h:
3911         * text.C:
3912         * text2.C: get rid of LyXText::need_break_row
3913
3914 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3915
3916         * toc.[Ch]: put namespace toc inside namespace lyx
3917
3918         * MenuBackend.C (expandToc2): adjust for lyx::toc
3919         (expandToc): ditto
3920
3921         * lyxfunc.C (dispatch): adjust for lyx::find
3922
3923         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3924         lyx::find instead. Reorganize a bit.
3925         (LyXReplace): rename to replace
3926         (LyXFind): rename to find
3927
3928         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3929         (dispatch): ditto
3930
3931 2003-07-26  André Pönitz  <poenitz@gmx.net>
3932
3933         * text.C (setHeightOfRow): restrict scope of temporary variable
3934
3935         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3936           code (never has been used?)
3937
3938 2003-07-27  Asger Alstrup  <alstrup@local>
3939
3940         * text.C (fill): Optimise algorithm to exploit that we can reuse
3941         the LyXFont for many characters.
3942         (setHeightOfRow): Same thing.
3943         (rowBreakPoint): Same thing.
3944
3945 2003-07-26  Asger Alstrup  <alstrup@local>
3946
3947         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3948
3949         * text.C (singleWidth): Spurious font copying in hot-spot
3950         singleWidth avoided. Reorder tests for arabic for efficiency.
3951
3952         * text.C (fill): handle empty paragraphs better.
3953
3954 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3955
3956         * ispell.C:
3957         * encoding.h: add includes
3958
3959         * lyxrc.C: remove reading of bind files
3960
3961         * lyx_main.C (init): setup bindings and menus only if we have a
3962         gui.
3963
3964         * kbmap.C (read): new method. Do the actual reading of bind
3965         files.
3966
3967         * converter.C (dvipdfm_options):
3968         * bufferparams.C:
3969         * lyxrc.C (read):
3970         (output): adapt PAPER_* enums.
3971
3972         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3973
3974         * bufferparams.h: remove paper-related enums from there
3975
3976         * paper.h: New file. A trivial header file to hold paper-related
3977         enums. It should later expand to contain many paper-related
3978         horrors access.
3979
3980         * lyxrc.C: declare extern displayTranslator
3981
3982 2003-07-27  José Matos  <jamatos@fep.up.pt>
3983
3984         * tabular.[Ch] (linuxdoc): add support for tables and figures
3985         (linuxdoc).
3986
3987 2003-07-27  José Matos  <jamatos@fep.up.pt>
3988
3989         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3990         consistency in both functions.
3991         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3992
3993 2003-07-26  Asger Alstrup  <alstrup@local>
3994
3995         * rowpainter.C (paintRows): Change algorithm to work directly on
3996         the insets rather than asking every character in the document
3997         whether its an inset.
3998
3999 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4000
4001         * buffer.C (openFileWrite): factorize some code
4002
4003 2003-07-26  Angus Leeming  <leeming@lyx.org>
4004
4005         * lyx_cb.C:
4006         * lyx_main.[Ch]: replace occurances of system_tempdir with
4007         os::getTmpDir().
4008
4009 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4010
4011         * rename Inset to InsetOld
4012
4013 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4014
4015         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4016         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4017         which I think is a bit clearer. EDIT is gone, since it was
4018         premature optimisation, and broken for mathed anyway.
4019         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4020         with cursor positioning in insets as well (math insets still do not
4021         work, but that's a different story anyway.) It mysteriously
4022         crashes sometimes with undo in the first paragraph, but I'm fairly
4023         confident that this is a compiler bug.
4024
4025 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4026
4027         * paragraph.C (Paragraph): adjust for new clone return type
4028         (operator==): ditto
4029         (copyIntoMinibuffer): ditto
4030
4031 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4032
4033         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4034         by not having a special case, and always doing a full rebreak of
4035         the document after undo.
4036
4037 2003-07-23  Angus Leeming  <leeming@lyx.org>
4038
4039         * factory.C (createInset): InsetExternal::setParams now takes a
4040         Buffer const * arg.
4041
4042 2003-07-23  Angus Leeming  <leeming@lyx.org>
4043
4044         * factory.C (createInset): changed interface to the external and
4045         graphics mailers' string2params functions.
4046
4047 2003-07-23  Angus Leeming  <leeming@lyx.org>
4048
4049         * factory.C (createInset): pass a
4050         Buffer const * parameter to InsetExternalMailer's string2params.
4051
4052 2003-07-22  John Levon  <levon@movementarian.org>
4053
4054         * Thesaurus.h: include the right aiksaurus header
4055
4056 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4057
4058         * MenuBackend.C (expand): check menu shortcuts unconditionally
4059
4060 2003-07-21  Angus Leeming  <leeming@lyx.org>
4061
4062         * factory.C (createInset): pass a
4063         buffer_path parameter to InsetGraphicsMailer's string2params.
4064
4065 2003-07-21  Angus Leeming  <leeming@lyx.org>
4066
4067         * BufferView_pimpl.C (buffer):
4068         * buffer.C (d-tor):
4069         * lyx_main.C (LyX):
4070         * lyxfunc.C (dispatch):
4071         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4072         rather than the grfx shortcut.
4073
4074 2003-07-21  André Pönitz  <poenitz@gmx.net>
4075
4076         * rowpainter.C: remove unused variables
4077
4078         * tabular_funcs.C:
4079         * tabular_funcs.h: move to tabular.C
4080         * Makefile.am: adjust
4081
4082         * tabular.[Ch]: basic optical cleaning
4083
4084         * author.h: pass references, not values
4085
4086 2003-07-18  André Pönitz  <poenitz@gmx.net>
4087
4088         * lyxtext.h:
4089         * metricsinfo.C:
4090         * metricsinfo.h:
4091         * rowpainter.C:
4092         * text.C:
4093         * text2.C:
4094         * text3.C: two-phase drawing for InsetText and InsetTabular
4095         some float -> int changes.
4096
4097 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4098
4099         * lyx_main.C: fix the fix
4100
4101 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4102
4103         * lyx_main.C: fix a crash in batch mode if no files specified
4104         * converter.C: ws
4105
4106 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4107
4108         * format.[Ch] (papersize): moved to BufferParams
4109         * converter.[Ch] (dvips_options): moved to BufferParams
4110         (dvipdfm_options): moved to anon namespace
4111         * bufferparams.[Ch]: added above functions.
4112
4113 2003-07-17  André Pönitz  <poenitz@gmx.net>
4114
4115         * lyxtext.h:
4116         * rowpainter.C:
4117         * text2.C: don't call inset->update() anymore
4118
4119         * metricsinfo.[Ch]: add convenience constructor
4120
4121 2003-07-16  André Pönitz  <poenitz@gmx.net>
4122
4123         * lyxcursor.[Ch]:
4124         * lyxfunc.[Ch]:
4125         * text.C:
4126         * text2.C: replace the LyXCursor::irow_ member with
4127          on-demand computation of the value
4128
4129 2003-07-16  John Levon  <levon@movementarian.org>
4130
4131         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4132
4133 2003-07-15  André Pönitz  <poenitz@gmx.net>
4134
4135         * text.C:
4136         * text2.C: remove no more needed refresh_row
4137
4138 2003-07-15  André Pönitz  <poenitz@gmx.net>
4139
4140         * lyxtext.h:
4141         * rowpainter.C:
4142         * text2.C:
4143         * text3.C: refresh_status tristate -> need_update bool
4144
4145 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4146
4147         * lyxtext.h (init): remove reinit argument (act as if always true)
4148         * text2.C: adjust to that
4149
4150 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4151
4152         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4153         * text3.C: use it to delete selections in some cases
4154         (bugs 441, 673, 702, 954).
4155
4156 2003-07-14  André Pönitz  <poenitz@gmx.net>
4157
4158         * rowpainter.[Ch]: reduce interface
4159
4160 2003-07-14  André Pönitz  <poenitz@gmx.net>
4161
4162         * BufferView_pimpl.C:
4163         * text2.C: adjust after removing unused BufferView * argument
4164
4165 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4166
4167         * text2.C (init): fix a crash fired on resize
4168
4169 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4170
4171         * buffer.[Ch]: added new closing signal
4172         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4173         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4174         BufferView::Pimpl via the closing the signal
4175
4176 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4177
4178         * buffer.[Ch]: take out all bv-related from buffer
4179         * BufferView.C:
4180         * BufferView_pimpl.[Ch]: connect to new signals
4181         * CutAndPaste.C: removed useless asserts
4182         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4183         * lyxvc.[Ch]:
4184         * vc-backend.[Ch]:
4185         * lyxfunc.C: moved view-related funciontality from vc here
4186         * paragraph.C: removed outdated comments
4187         * text.C: ws
4188
4189 2003-07-10  André Pönitz  <poenitz@gmx.net>
4190
4191         * BufferView_pimpl.C:
4192         * tabular.h:
4193         * tabular_funcs.C:
4194         * text.C:
4195         * text2.C: remove InsetText::InnerCache, clean up consequences
4196
4197 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4198
4199         * ispell.C: fix two typos in error messages
4200
4201 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4202
4203         * Extend Note inset to other forms of annotation like Comment
4204         and Greyedout. Right button click gives dialog.
4205
4206         Files modified or added (+):
4207
4208         * insetnote.[Ch]
4209         * FormNote.[Ch]      +
4210         * ControlNote.[Ch]   +
4211         * form_note.fd       +
4212         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4213         frontends/controllers
4214         * xforms/Dialogs.C
4215         * factory.C
4216
4217 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4218
4219         * aspell.C: add missing namespace lyx::support
4220
4221 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4222
4223         * BufferView.[Ch] (newFile): Add
4224         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4225         * LaTeX.[Ch] (message): added this signal and use it
4226         * buffer.[Ch] (busy, message): added these signals and use them
4227         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4228         * converter.C:
4229         * exporter.C:
4230         * format.C:
4231         * importer.C: use buffer signals instead of direct bv calling
4232         * lyx_cb.[Ch] (ShowMessage): removed
4233         * lyx_main.C:
4234         * lyxfunc.C:
4235         * paragraph_funcs.C:
4236         * text2.C: use buffer signals
4237
4238 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4239
4240         * introduce namespace lyx::graphics
4241
4242 2003-07-02  André Pönitz  <poenitz@gmx.net>
4243
4244         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4245
4246 2003-07-01  André Pönitz  <poenitz@gmx.net>
4247
4248         * text.C:
4249         * text2.C:
4250         * text3.C:
4251         * text_funcs.[Ch]:
4252         * textcursor.h:
4253         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4254           text*.C to text_func.C
4255
4256 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4257
4258         * introduce namespace lyx::support
4259
4260 2003-06-30  André Pönitz  <poenitz@gmx.net>
4261
4262         * Chktex.C:
4263         * funcrequest.C:
4264         * lyxtext.h:
4265         * text.C: re-enable --with-included-string
4266
4267 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4268
4269         * textcursor.C: add <config.h>
4270
4271         * text.C (getWord): remove const from word_location arg
4272
4273         * lyxvc.C (getLogFile): fix const type order
4274
4275         * lyxtext.h: remove const from word_location arg, add arg name
4276
4277         * lyxlayout.h: currect type on labeltype.
4278
4279         * importer.C: correct \file
4280
4281         * converter.C (intToFormat): use std:: on ret val, ws changes
4282
4283         * bufferlist.h: correct \file
4284
4285         * buffer.C (makeLinuxDocFile): fix const type order
4286         (makeDocBookFile): ditto
4287         (fillWithBibKeys): use std:: on stdlib args.
4288
4289         * CutAndPaste.C: fix authors.
4290         (availableSelections): use std:: on return vector
4291
4292 2003-06-27  André Pönitz  <poenitz@gmx.net>
4293
4294         * BufferView_pimpl.C:
4295         * bufferview_funcs.C:
4296         * lyxcursor.C:
4297         * lyxcursor.h:
4298         * lyxfunc.C:
4299         * lyxtext.h:
4300         * rowpainter.C:
4301         * text.C:
4302         * text2.C:
4303         * text3.C: remove LyXCursor::row_ member
4304
4305         * lyxtext.h:
4306         * text.C: rename fullRebreak() to partialRebreak() and implement
4307           a fullRebreak() that really bereks fully
4308
4309         * textcursor.h: new struct for cursor-related data
4310
4311 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4312
4313         * lyx_main.C (LyX): get full path of document loaded on the
4314         command line
4315
4316 2003-06-26  André Pönitz  <poenitz@gmx.net>
4317
4318         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4319           remove unused/broken operator>,<,>=.
4320
4321         *       text.C: remove only use of broken operator<= in an Assert().
4322
4323 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4324
4325         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4326         moved errorlist_.clear to showErrorList
4327
4328 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4329
4330         * converter.C (scanLog, runLaTeX):
4331         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4332         move the bv->showErrorList call to the callers
4333         * lyxfunc.C: i.e. here...
4334         * text2.C: and here
4335         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4336         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4337         namespace, the second to...
4338         * buffer_funcs (BufferFormat, parseErrors): added
4339         * errorlist.C (ErrorList(TeXErrors const &)): removed
4340
4341 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4342
4343         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4344
4345 2003-06-24  "Garst R. Reese" <reese@isn.net>
4346
4347         * debug.C: fix typo
4348
4349 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4350
4351         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4352
4353         * version.C.in: change docversion to 1.4
4354
4355 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4356
4357         * buffer.C: fix a bug just introduced
4358
4359 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4360
4361         * buffer.[Ch]: added the parseError signal and use it, removed
4362         sgmlError
4363         * BufferView.[Ch] (addError): moved to ...
4364         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4365         to the Buffer::parseError signal to catch (guess what) parse errors
4366         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4367
4368 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4369
4370         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4371         ability to create a buffer and to return an existing one from
4372         the list. Moved these functions to...
4373         * buffer_funcs.[Ch]: added
4374         * BufferView.[Ch] (loadLyXFile): added
4375         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4376         job removed from bufferlist::loadLyXFile.
4377         * buffer.C (setReadOnly): make it work without view
4378         (i.e added an if (users))
4379
4380 2003-06-19  Angus Leeming  <leeming@lyx.org>
4381
4382         * lfuns.h:
4383         * LyXAction.C (init):
4384         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4385         with LFUN_DIALOG_SHOW <name> <data>.
4386
4387 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4388
4389         * CutAndPaste.C (availableSelections): small compilation fix for
4390         ancient (gcc 2.9x) compilers
4391
4392 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4393
4394         * text3.C (cursorNext): add tmp var
4395
4396         * text2.C (updateCounters): for function calling out of for clause
4397         (replaceSelectionWithString): ditto
4398         (insertStringAsParagraphs): ditto
4399         (getColumnNearX): add tmp var
4400         (setCursorFromCoordinates): add tmp var
4401         (cursorDownParagraph): add tmp var
4402         (deleteEmptyParagraphMechanism): add tmp var
4403
4404         * text.C (insertChar): add tmp var
4405
4406         * rowpainter.C (paintDepthBar): add tmp var
4407
4408         * CutAndPaste.C (availableSelections): potentially check all
4409         paragraphs in a cut to fill the shown strings.
4410
4411 2003-06-18  André Pönitz  <poenitz@gmx.net>
4412
4413         * kbmap.[Ch]: use vector<> instead of list<>
4414
4415 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4416
4417         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4418         pasteSelection with index
4419
4420         * text2.C (pasteSelection): modify, call pasteSelection with index
4421
4422         * paragraph.C (asString): reimplement version with no interval to
4423         call the one with interval.
4424
4425         * lyxtext.h: add index arg to pasteSelection
4426
4427         * MenuBackend.C (MenuItem): handle PasteRecent
4428         (Menu::read::Menutags): add md_pasterecent
4429         (read): handle it
4430         (expandPasteRecent): new function
4431         (expand): use it
4432
4433         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4434
4435         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4436         the limited stack
4437         (availableSelections): new function
4438
4439 2003-06-17  Angus Leeming  <leeming@lyx.org>
4440
4441         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4442
4443 2003-06-17  Angus Leeming  <leeming@lyx.org>
4444
4445         * lfuns.h:
4446         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4447
4448         * lyxfunc.C (dispatch): invoke it.
4449
4450 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4451
4452         * iterators.C (operator++, ParPosition): reintroduce some
4453         const_cast for the benefit of older compilers.
4454
4455 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4456
4457         * text3.C (dispatch): do not modify clipboard when doing
4458         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4459         LFUN_DELETE_SKIP on a selection selection
4460
4461 2003-06-16  André Pönitz  <poenitz@gmx.net>
4462
4463         * BufferView.C:
4464         * buffer.C:
4465         * buffer.h:
4466         * paragraph.C:
4467         * tabular.[Ch]: IU of clone() and getLabelList();
4468
4469 2003-06-13  André Pönitz  <poenitz@gmx.net>
4470
4471         * tabular.h: compactification
4472
4473 2003-06-12  André Pönitz  <poenitz@gmx.net>
4474
4475         * tabular.C:
4476         * tabular.h:
4477         * tabular_funcs.h: some renaming plus whitespace
4478
4479 2003-06-12  André Pönitz  <poenitz@gmx.net>
4480
4481         * BufferView.C:
4482         * BufferView_pimpl.C:
4483         * CutAndPaste.C:
4484         * buffer.C:
4485         * iterators.[Ch]:
4486         * lyxfunc.C:
4487         * text.C:
4488         * toc.C: Return a Paragraph & for ParIterator::operator*()
4489
4490 2003-06-11  John Levon  <levon@movementarian.org>
4491
4492         * lyx_main.C:
4493         * ToolbarBackend.h:
4494         * ToolbarBackend.C: add "Toolbars" section and
4495         put the flags there
4496
4497 2003-06-10  Angus Leeming  <leeming@lyx.org>
4498
4499         * lfuns.h:
4500         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4501
4502         * lyxfunc.C (dispatch): invoke it.
4503
4504 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4505
4506         * main.C: protect <ios> with HAVE_IOS
4507         (main): protect sync_with_stdio with HAVE_IOS
4508
4509 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4510
4511         * text2.C (cutSelection): adjust
4512         (pasteSelection): adjust
4513
4514         * messages.C: handle get of empty string
4515
4516         * main.C (main): use sync_with_stdio(false)
4517
4518         * lyxfunc.C (dispatch): adjust
4519
4520         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4521         (WriteAs): remove unneeded BufferView arg.
4522
4523         * bufferparams.h: use correct types on papersize, papersize2 and
4524         paperpackage.
4525
4526         * bufferparams.C (readToken): adjust for type
4527         (writeLaTeX): add missing cases to switch.
4528
4529         * bufferlist.C (quitWriteBuffer): adjust
4530         (close): adjust
4531
4532         * buffer.C (asciiParagraph): remove some commented code.
4533
4534         * CutAndPaste.C: remove current_view extern variable.
4535         (cutSelection): add BufferParams arg.
4536         (eraseSelection): add BufferParams arg.
4537         (pasteSelection): add Buffer const & arg
4538
4539 2003-06-07  John Levon  <levon@movementarian.org>
4540
4541         * buffer.C:
4542         * paragraph_funcs.C:
4543         * paragraph_pimpl.C:
4544         * text.C:
4545         * text2.C:
4546         * paragraph.h:
4547         * paragraph.C: allow InsetERT to freely space lines,
4548         and some consolidation of code
4549
4550 2003-06-06  José Matos  <jamatos@fep.up.pt>
4551
4552         * buffer.C (makeDocBookFile): fix bug #821
4553
4554 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4555
4556         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4557
4558 2003-06-04  Angus Leeming  <leeming@lyx.org>
4559
4560         * buffer.C: bump format to 224.
4561
4562 2003-06-05  André Pönitz  <poenitz@gmx.net>
4563
4564         * text2.C (redoParagraphs): remove two const_cast<>
4565
4566 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4567
4568         * ParagraphList.h: remove last remnants of NO_STD_LIST
4569
4570 2003-06-03  Angus Leeming  <leeming@lyx.org>
4571
4572         * factory.C (createInset): small change to the way InsetExternal's params
4573         are set.
4574
4575 2003-06-04  André Pönitz  <poenitz@gmx.net>
4576
4577         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4578
4579         * paragraph_pimpl.h:
4580         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4581
4582         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4583
4584         * undo_funcs.C: make some simple cases of undo work again
4585
4586 2003-06-03  John Levon  <levon@movementarian.org>
4587
4588         * ispell.C: HPUX doesn't have sys/select.h
4589         (from Albert Chin)
4590
4591 2003-06-03  John Levon  <levon@movementarian.org>
4592
4593         * CutAndPaste.C: update tabular and include inset
4594         buffer references
4595
4596         * buffer.h:
4597         * paragraph.h:
4598         * paragraph.C: remove owningBuffer(), don't pass Buffer
4599         to clone()
4600
4601         * factory.C: insetGraphicsParams changed
4602
4603 2003-06-02  John Levon  <levon@movementarian.org>
4604
4605         * LyXAction.C:
4606         * factory.C:
4607         * lfuns.h:
4608         * lyxfunc.C:
4609         * text3.C: remove insetparent
4610
4611 2003-06-02  John Levon  <levon@movementarian.org>
4612
4613         * buffer.h:
4614         * buffer.C: fix inset_iterator.end(), move out of line
4615         (bug 1149)
4616
4617 2003-06-01  John Levon  <levon@movementarian.org>
4618
4619         * text3.C: use a proper cut/paste when doing inset
4620         insert (from Jürgen Spitzmüller)
4621
4622 2003-06-01  John Levon  <levon@movementarian.org>
4623
4624         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4625
4626 2003-05-30  André Pönitz  <poenitz@gmx.net>
4627
4628         * rowpainter.C: unify second drawing phase
4629
4630 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4631
4632         * trans_mgr.C: remove one case of current_view
4633
4634         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4635
4636         * paragraph_funcs.h: remove paragraph.h include
4637
4638         * paragraph.h: delete NO_STD_LIST stuff
4639
4640         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4641
4642         * buffer.h: remove paragraph.h include
4643
4644         * ParagraphList.C: delete file
4645
4646         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4647
4648         * toc.C (getTocList): adjust
4649
4650         * paragraph_pimpl.C (validate): adjust
4651
4652         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4653
4654         * paragraph.C (Paragraph): adjust
4655         (getPositionOfInset): use const_iterator, adjust
4656         (bibitem): use const_iterator, adjust
4657         (setInsetOwner): adjust
4658
4659         * iterators.C (operator++): adjust
4660
4661         * InsetList.[Ch]: Replace selfmade iterator with standard
4662         vector::iterator also introduce const_iterator. Remove getPos,
4663         getInset and setInset from InsetTable. Adjust accordingly.
4664
4665         * BufferView.C (lockInset): adjust
4666         (ChangeInsets): adjust
4667
4668         * tabular.[Ch]: delete commented same_id functions
4669
4670 2003-05-28  John Levon  <levon@movementarian.org>
4671
4672         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4673
4674 2003-05-28  André Pönitz  <poenitz@gmx.net>
4675
4676         * metricsinfo.[Ch]: remove 'fullredraw' member
4677
4678 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4679
4680         * lyxtextclass.C (operator): remove caching.
4681
4682 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4683
4684         * text3.C: adjust
4685
4686         * text2.C (cursorBottom): adjust
4687         (setCounter): use ParagraphList::find, adjust
4688
4689         * text.C (workWidth): use ParagraphList::find, adjust
4690
4691         * lyxcursor.C (LyXCursor): adjust
4692
4693         * buffer.C (inset_iterator): adjust
4694
4695         * ParagraphList.h: make iterator(value_type) private, make
4696         ParagraphList a friend of iterator.
4697
4698         * ParagraphList.C (find): new function
4699
4700         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4701
4702 2003-05-27  André Pönitz  <poenitz@gmx.net>
4703
4704         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4705
4706 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4707
4708         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4709
4710 2003-05-26  John Levon  <levon@movementarian.org>
4711
4712         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4713
4714 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4715
4716         * remove same_id from function signatures, adjust.
4717
4718 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4719
4720         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4721
4722         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4723
4724         * paragraph.C (Paragraph): get rid of same_ids parameter
4725
4726         * ParagraphList.C (insert): adjust
4727         (push_back): adjust
4728
4729 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4730
4731         * paragraph_funcs.C (breakParagraph): adjust
4732         (breakParagraphConservative): adjust
4733
4734         * buffer.C (readParagraph): adjust
4735
4736         * ParagraphList.C (insert): take a reference instead of a pointer
4737         (insert): adjust
4738
4739         * paragraph.[Ch] (id): new function
4740
4741         * bufferlist.C (newFile): adjust
4742
4743         * ParagraphList.C (ParagraphList): adjust
4744         (assign): adjust
4745         (push_back): take a reference instead of a pointer.
4746
4747         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4748
4749         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4750         instead.
4751
4752         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4753         set else use old code.
4754
4755         * ParagraphList.C: remove all NO_NEXT code and only compile this
4756         code of NO_STD_LIST is set.
4757
4758 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4759
4760         * BufferView_pimpl.C:
4761         * TextCache.C:
4762         * TextCache.h:
4763         * bufferlist.C:
4764         * errorlist.h:
4765         * format.C:
4766         * format.h:
4767         * graph.C:
4768         * lyxfunc.C:
4769         * lyxrc.C:
4770         * graphics/GraphicsConverter.C:
4771         * graphics/PreviewLoader.C: header adjustment
4772
4773 2003-05-23  Angus Leeming  <leeming@lyx.org>
4774
4775         * LaTeXFeatures.[Ch] (useBabel): new method.
4776         * bufferparams.C (writeLaTeX): use it.
4777
4778 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4779
4780         * ParagraphList.h (set): remove unused function.
4781
4782 2003-05-23  André Pönitz  <poenitz@gmx.net>
4783
4784         * BufferView.C:
4785         * BufferView_pimpl.C:
4786         * buffer.C:
4787         * buffer.h:
4788         * lyxfunc.C:
4789         * undo_funcs.C: setUndo reworked
4790
4791         * iterators.[Ch]: add access to topmost ParagraphList
4792
4793         * lyxtext.[Ch] (workWidth): add a const
4794
4795 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4796
4797         * texrow.[Ch] (increasePos): remove function
4798         * exporter.C (export): removed unused var and outdated comment
4799
4800 2003-05-23  Angus Leeming  <leeming@lyx.org>
4801
4802         * latexrunparams.h: rename fragile as moving_arg.
4803         * paragraph.C (simpleTeXOnePar): ditto.
4804         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4805
4806 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4807
4808         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4809         (createUndo): ditto
4810         (textUndoOrRedo): comment out a currently unused var.
4811
4812         * paragraph.h (NO_NEXT): enable NO_NEXT
4813
4814         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4815
4816         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4817
4818         * exporter.C (Export): adjust for removeAutoInsets removal.
4819
4820         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4821
4822         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4823
4824         * BufferView.[Ch] (removeAutoInsets): delete function
4825
4826 2003-05-22  Angus Leeming  <leeming@lyx.org>
4827
4828         * latexrunparams.h: add a free_spacing variable.
4829
4830         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4831         to pass moving_arg, as the data is stored in runparams.fragile.
4832
4833         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4834         to Inset::latexOptional or to simpleTeXOnePar.
4835
4836         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4837         free_spacing arg to Inset::latexOptional.
4838
4839         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4840         free_spacing arg.
4841
4842 2003-05-22  Angus Leeming  <leeming@lyx.org>
4843
4844         * latexrunparams.h: add fragile and use_babel variables.
4845
4846         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4847         * buffer.C (makeLaTeXFile): store this returned value in
4848         runparams.use_babel, thus passing it to the inset::latex methods.
4849
4850         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4851         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4852
4853         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4854         longer has a fragile arg, as it is stored in runparams.fragile.
4855
4856         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4857         moving_arg parameter as the data is stored in runparams.fragile.
4858
4859         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4860         a fragile parameter as the data is stored in runparams.fragile.
4861
4862 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4863
4864         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4865
4866 2003-05-22  Angus Leeming  <leeming@lyx.org>
4867
4868         * latexrunparams.h: add a 'bool nice' which defaults to false.
4869
4870         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4871         now encapsulated within runparams.
4872
4873         * bufferlist.C (updateIncludedTeXfiles):
4874         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4875
4876 2003-05-22  Angus Leeming  <leeming@lyx.org>
4877
4878         * latexrunparams.h: new file containing struct LatexRunParams.
4879         * Makefile.am: add new file.
4880
4881         * LaTeX.[Ch] (c-tor, run):
4882         * buffer.[Ch] (makeLaTeXFile):
4883         * bufferlist.[Ch] (updateIncludedTeXfiles):
4884         * converter.C (convert, scanLog):
4885         * converter.[Ch] (runLaTeX):
4886         * exporter.C (Export):
4887         * paragraph.[Ch] (simpleTeXOnePar):
4888         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4889         * paragraph_funcs.[Ch] (latexParagraphs):
4890         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4891         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4892         pass around a LatexRunParams parameter.
4893
4894 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4895
4896         * paragraph.[Ch]: remove unused constructor
4897
4898         * ParagraphList.C (erase): new function, taking two iterators
4899
4900 2003-05-22  André Pönitz  <poenitz@gmx.net>
4901
4902         * undo_funcs.C: remove duplicated code
4903
4904         * iterator.[Ch]: operator=
4905
4906 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4907
4908         * tabular.C (SetMultiColumn): ws changes
4909
4910         * rowpainter.C (paintFirst): get rid of a ->previous
4911
4912         * lyx_cb.C (getPossibleLabel): parlist simplification
4913
4914         * BufferView.C (ChangeInsets): simplify slightly.
4915
4916 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4917
4918         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4919         * lfuns.h: new LFUN_SPACE
4920         * lyxfunc.C: protected space has a new lfun
4921         * paragraph_funcs.C: read new space insets
4922         * text3.C:
4923         * factory.C: handle new space insets
4924
4925 2003-05-22  André Pönitz  <poenitz@gmx.net>
4926
4927         * BufferView.C:
4928         * BufferView_pimpl.C:
4929         * buffer.[Ch]:
4930         * lyxfunc.C:
4931         * undo_funcs.C: return a ParIterator from getParFromID.
4932
4933         * iterators.[Ch]: add two const's
4934
4935 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4936
4937         * toc.C (getTocList): adjust
4938
4939         * iterators.[Ch]: rework for parlist
4940
4941         * buffer.C (par_iterator_begin): adjust
4942         (par_iterator_end): adjust
4943
4944         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4945
4946         * BufferView.C (removeAutoInsets): adjust
4947         (ChangeInsets): adjust
4948
4949 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4950
4951         * text.C (top_y): fix bug 1110
4952
4953 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4954
4955         * errorlist.[Ch]: added
4956         * buffer.C:
4957         * BufferView.[Ch]:
4958         * BufferView_pimpl.C:
4959         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4960         instead
4961
4962 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4963
4964         * Makefile.am: ensure that lyx is relinked upon changes to the
4965         various "convenience" libs.
4966
4967 2003-05-20  Angus Leeming  <leeming@lyx.org>
4968
4969         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4970         files are compiled in alphabetical order again.
4971
4972         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4973
4974 2003-05-19  Angus Leeming  <leeming@lyx.org>
4975
4976         * gettext.[Ch]: remove "char const * _(char const *)".
4977
4978 2003-05-19  André Pönitz  <poenitz@gmx.net>
4979
4980         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4981
4982         * Makefile.am:
4983         * BufferView.C:
4984         * DepTable.h:
4985         * LaTeXFeatures.C:
4986         * buffer.C:
4987         * lyxfont.C:
4988         * lyxlex.h:
4989         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4990
4991 2003-05-19  André Pönitz  <poenitz@gmx.net>
4992
4993         * buffer.C:
4994         * lyxlayout.[Ch]:
4995         * lyxtextclass.[Ch]:
4996         * paragraph.C:
4997         * paragraph_funcs.[Ch]:
4998         * text2.C:
4999         * text3.C: more insetenv work
5000
5001 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5002
5003         * ParagraphParameters.C (params2string): small bug fixed
5004
5005 2003-05-16  André Pönitz  <poenitz@gmx.net>
5006
5007         * debug.C:
5008         * bufferview_funcs.C: patch from Kornel Benko to prevent
5009           crash when _(...) is called twice in a statement
5010
5011 2003-05-16  André Pönitz  <poenitz@gmx.net>
5012
5013         * BufferView.C:
5014         * lyxfunc.C:
5015         * text.C:
5016         * text2.C:
5017         * text3.C:
5018         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5019
5020 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5021
5022         * lyx_main.C (init): remove spurious static_cast
5023
5024 2003-05-14  André Pönitz  <poenitz@gmx.net>
5025
5026         * BufferView.C: fix format string
5027
5028 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5029
5030         * BufferView.[Ch] (insertErrors): removed
5031         * BufferView.[Ch] (showErrorList): added
5032         * buffer.C (runChkTeX):
5033         * converter.C (scanLog): call showErrorList instead of inserterrors
5034
5035 2003-05-13  André Pönitz  <poenitz@gmx.net>
5036
5037         * BufferView_pimpl.C:
5038         * buffer.C:
5039         * bufferview_func.C:
5040         * MenuBackend.C:
5041         * lyxfunc.C:
5042         * lyxrc.C:
5043         * tex-accent.C:
5044         * text3.C:
5045         * toc.C:
5046         * tabular_funcs.h: tostr() from its own header
5047
5048         * ParagraphParameters.C:
5049         * ToolbarBackend.C:
5050         * bufferparams.C:
5051         * format.C:
5052         * lyxlex_pimpl.C:
5053         * text3.C: STRCONV()
5054
5055 2003-05-12  André Pönitz  <poenitz@gmx.net>
5056
5057         * BufferView.C:
5058         * BufferView_pimpl.C:
5059         * CutAndPaste.C:
5060         * LaTeX.C:
5061         * LaTeXFeatures.C:
5062         * ParagraphParameters.C:
5063         * buffer.C:
5064         * bufferlist.C:
5065         * bufferparams.C:
5066         * bufferview_funcs.C:
5067         * converter.C:
5068         * counters.C:
5069         * debug.C:
5070         * exporter.C:
5071         * format.C:
5072         * importer.C:
5073         * lyx_cb.C:
5074         * lyx_main.C:
5075         * lyxfont.C:
5076         * lyxfunc.C:
5077         * lyxvc.C:
5078         * paragraph.C:
5079         * paragraph_funcs.C:
5080         * tabular.C:
5081         * tabular_funcs.C:
5082         * text2.C:
5083         * text3.C:  boost::format -> bformat  all over the place
5084
5085
5086 2003-05-09  André Pönitz  <poenitz@gmx.net>
5087
5088         * LColor.[Ch]: Pimpl the #include <map> away
5089
5090 2003-05-09  John Levon  <levon@movementarian.org>
5091
5092         * bufferlist.C: never remove emergency saves
5093
5094 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5095
5096         * Makefile.am: better lib building
5097
5098 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5099
5100         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5101         instead.
5102         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5103         (simpleTeXSpecialChars): adjust
5104         (simpleTeXSpecialChars): adjust
5105         * paragraph.C (simpleTeXOnePar): adjust
5106         * buffer.C (makeLaTeXFile): adjust
5107
5108         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5109
5110         * text2.C (changeDepth): parlist cleanup
5111         (getColumnNearX): ditto
5112
5113         * rowpainter.C (getLabelFont): parlist cleanup
5114
5115         * bufferlist.C (newFile): parlist cleanup
5116
5117         * CutAndPaste.C (eraseSelection): parlist cleanup
5118
5119         * BufferView_pimpl.C (trackChanges): parlist cleanup
5120         (dispatch): ditto
5121
5122         * BufferView.C (lockInset): parlist cleanup.
5123         (ChangeInsets): ditto
5124
5125 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5126
5127         * CutAndPaste.h: Update file header.
5128
5129         * CutAndPaste.C: Update file header.
5130         Store the parts cut out of the Document in a limited_stack.
5131         (copySelection): adjust
5132         (pasteSelection): new function, takes the index in the limited stack.
5133         (nrOfParagraphs): adjust
5134         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5135         simplify error inset insertion.
5136         (checkPastePossible): adjust
5137
5138 2003-05-06  John Levon  <levon@movementarian.org>
5139
5140         * text2.C: don't cast wrap inset to float
5141
5142 2003-05-05  André Pönitz  <poenitz@gmx.net>
5143
5144         * iterator.C:
5145         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5146
5147         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5148           few naked Paragraph *.
5149
5150 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5151
5152         * bufferparams.C: Output warning if a document with missing
5153         TeX document class is loaded
5154         * exporter.C: Disable TeX exports if the document class is missing
5155         * lyxtextclass.C:
5156         * lyxtextclass.h:
5157         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5158         isTeXClassAvailable()
5159
5160 2003-05-03  John Levon  <levon@movementarian.org>
5161
5162         * BufferView.h:
5163         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5164         explicit cursor show/hide
5165
5166         * BufferView_pimpl.h:
5167         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5168         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5169
5170         * lyxfunc.C: hide cursor before dispatching.
5171
5172         * lyx_cb.C:
5173         * lyxfind.C:
5174         * text.C:
5175         * text3.C: remove explicit cursor hides
5176
5177 2003-05-02  André Pönitz  <poenitz@gmx.net>
5178
5179         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5180
5181         * undo_funcs.C:
5182         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5183           linked lists
5184
5185         * text2.C: tiny whitespace
5186
5187 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5188
5189         * undo_funcs.C: almost only ws changes.
5190
5191         * ParagraphList.C (splice): just return if pl is empty.
5192
5193 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5194
5195         * ParagraphList.C (splice): new function.
5196
5197         * CutAndPaste.C (pasteSelection): use it
5198
5199 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5200
5201         * CutAndPaste.C (pasteSelection): remove the last next and
5202         previous from this file.
5203
5204 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5205
5206         * CutAndPaste.C (pasteSelection): more clean up, user proper
5207         ParagraphList functions for pasteing.
5208
5209         * ParagraphList.C (insert): new function, three arg insert
5210
5211 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5212
5213         * ParagraphList.C (insert): new function, three arg insert
5214
5215         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5216         not on paragraphs.
5217
5218 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5219
5220         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5221
5222 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5223
5224         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5225
5226 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5227
5228         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5229         (copySelection): clean up a bit.
5230         (pasteSelection): use make_pair
5231
5232         * ParagraphList.C (ParagraphList): implement copy constructor
5233         (operator=): implement, base on copy constructor.
5234         (assign): new func
5235
5236         * paragraph.C (erase): return a bool
5237
5238         * paragraph_pimpl.C (erasePos): remove function, move contents...
5239         (erase): ... here. Return a bool.
5240         (erase): call erase instead of erasePos.
5241
5242 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5243
5244         * ParagraphList.h: define PitPosPair
5245         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5246         ParagraphList, fix a bug on pasting multiple pars
5247         * text2.C: change interface to C&P
5248
5249 2003-04-30  André Pönitz  <poenitz@gmx.net>
5250
5251         * undo_func.C: revert part of yesterday's patch 2
5252
5253 2003-04-30  John Levon  <levon@movementarian.org>
5254
5255         * LColor.C: s/tabular/table/
5256
5257 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5258
5259         * text3.C (dispatch): do not convert iterator -> pointer
5260         * undo_funcs.C (setCursorParUndo): ditto
5261         * text_funcs.C (transposeChars): ditto
5262
5263         * text2.C (setLayout): ws changes only
5264
5265         * text.C (breakParagraph): do not convert iterator -> pointer
5266         (insertChar): ditto
5267         (acceptChange): ditto
5268         (rejectChange): ditto
5269         (changeCase): ditto
5270         (Delete): ditto
5271         (backspace): ditto
5272
5273         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5274         pointer
5275
5276 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5277
5278         * text3.C (gotoInset): YABG (yet another bad getChar)
5279
5280 2003-04-29  André Pönitz  <poenitz@gmx.net>
5281
5282         * paragraph.h: make operator= private unimplemented as long as
5283           it is unusable
5284
5285         * ParagraphList.C: whitespace
5286
5287         * paragraph.[Ch]:
5288         * paragraph_pimpl.[Ch]:
5289         * paragraph_funcs.C:
5290         * CutAndPaste.C:
5291         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5292
5293         * text2.C:
5294           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5295
5296 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5297
5298         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5299         * paragraph.[Ch] (erase):
5300         * paragraph_pimpl.[Ch] (erase): change return type and value
5301         * text2.C (cutSelection): some rework
5302
5303 2003-04-28  John Levon  <levon@movementarian.org>
5304
5305         * bufferlist.C: changes for unsaved changes dialog
5306
5307 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5308
5309         * bufferlist.C (newFile): set language (messages_) for new
5310         documents also.
5311
5312         * buffer.C (readFile): ws changes only.
5313
5314 2003-04-28  André Pönitz  <poenitz@gmx.net>
5315
5316         * undo_funcs.C:
5317         * lyxfunc.C:
5318         * buffer.[Ch]:
5319         * BufferView_pimpl.C:
5320         * BufferView.C: getParFromID related ParagraphList::iterator changes
5321
5322 2003-04-28  André Pönitz  <poenitz@gmx.net>
5323
5324         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5325           Changes
5326
5327 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5328
5329         * messages.C: remove one more localedir class variable.
5330
5331 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5332
5333         * messages.C (getLocaleDir): singleton generation function
5334         (Pimpl): use it.
5335         (Messages): add a default constructor.
5336
5337         * main.C (main): do not setup localedir here, do not call
5338         gettext_init.
5339
5340         * gettext.C (_): use it.
5341         (gettext_init): delete funciton
5342
5343 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5344
5345         * gettext.C (getLyXMessages): new singleton generating function.
5346
5347         * buffer.C (updateDocLang): adjust
5348
5349         * Makefile.am (messages.o): add target
5350         (main.o): remove target
5351
5352 2003-04-27  John Levon  <levon@movementarian.org>
5353
5354         * bufferlist.C:
5355         * lyx_cb.C:
5356         * lyxfunc.C:
5357         * lyxvc.C: specify cancel button in Alert::prompt
5358
5359 2003-04-26  John Levon  <levon@movementarian.org>
5360
5361         * text3.C:
5362         * lyxfunc.C:
5363         * lfuns.h:
5364         * LyXAction.C: add LFUN_INSET_SETTINGS
5365
5366         * lyxfunc.C: don't enable tabular-feature when there's
5367         just any locking inset
5368
5369 2003-04-26  John Levon  <levon@movementarian.org>
5370
5371         * bufferlist.C: re-add Cancel to buffer close question
5372
5373         * lyxfunc.C: fix import UI a bit
5374
5375 2003-04-25  John Levon  <levon@movementarian.org>
5376
5377         * gettext.C: remove the broken asserts for now
5378
5379 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5380
5381         * messages.C: make case where setlocale cannot comply work better.
5382
5383         * buffer.C (updateDocLang): new function
5384         (changeLanguage): use it
5385         (readFile): use it
5386
5387         * text2.C (setCounter): use B_ a bit.
5388
5389         * lyxlayout.C (Read): be sure to trim the label strings.
5390
5391         * messages.C (Messages): fix typo in comment
5392
5393         * buffer.C (readFile): set message_ after file is loaded.
5394         (makeDocBookFile): remove double return
5395         (changeLanguage): reset message_ upon language change.
5396         (B_): new func, use this to get translated buffer strings.
5397
5398         * main.C: add myself and Jean Marc as authors.
5399
5400 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5401
5402         * messages.[hC]: pimplify Messages, and three different pimpls to be
5403         used in different circumstances.
5404
5405         * gettext.[Ch]: change for use with new message code.
5406
5407 2003-04-24 André Pönitz <poenitz@gmx.net>
5408
5409         * factory.C: support for eqref
5410
5411 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5412
5413         * messages.[Ch]: add missing char
5414
5415         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5416
5417         * messages.[Ch]: New files
5418
5419 2003-04-18  John Levon  <levon@movementarian.org>
5420
5421         * BufferView.h:
5422         * BufferView.C:
5423         * BufferView_pimpl.C:
5424         * lfuns.h:
5425         * LyXAction.C:
5426         * lyxtext.h:
5427         * text2.C: remove layout-copy/paste (bug 778)
5428
5429 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5430
5431         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5432
5433 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5434
5435         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5436         if they succeed. Act accordingly.
5437
5438 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5439
5440         * text2.C (setCharFont): adjust
5441         (setCounter): adjust
5442         (insertStringAsLines): adjust
5443
5444         * text.C (leftMargin): adjust
5445         (setHeightOfRow): adjust
5446
5447         * rowpainter.C (paintFirst): adjust
5448         (paintLast): adjust
5449
5450         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5451         (outerHook): ditto
5452         (isFirstInSequence): ditto
5453         (getEndLabel): ditto
5454         (outerFont): adjust
5455
5456         * paragraph.C (getParLanguage): comment out some hard stuff.
5457
5458         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5459         (sgmlError): ditto
5460         (simpleDocBookOnePar): ditto
5461         (makeDocBookFile): use ParagraphList::iterator
5462
5463         * CutAndPaste.C (pasteSelection): adjust
5464
5465 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5466
5467         * text2.C (getFont): adjust
5468         (getLayoutFont): adjust
5469         (getLabelFont): adjust
5470
5471         * paragraph_funcs.C (TeXOnePar): adjust
5472
5473         * buffer.C (simpleLinuxDocOnePar): adjust
5474         (simpleDocBookOnePar): adjust
5475
5476         * CutAndPaste.C (pasteSelection): adjust
5477
5478         * BufferView.C (getEncoding): adjust
5479
5480         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5481
5482 2003-04-16  John Levon  <levon@movementarian.org>
5483
5484         * lyxfind.C: use parlist stuff for search/changes
5485
5486 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5487
5488         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5489
5490         * text2.C (deleteEmptyParagraphMechanism): adjust
5491
5492         * text2.[Ch] (ownerParagraph): delete func (both of them
5493
5494 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5495
5496         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5497
5498 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5499
5500         * ParagraphList.C: prepare for NO_NEXT
5501
5502 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5503
5504         * text2.C (getFont): adjust
5505         (getLayoutFont): adjust
5506         (getLabelFont): adjust
5507
5508         * paragraph.C (getFont): adjust
5509         (getLabelFont): adjust
5510         (getLayoutFont): adjust
5511
5512         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5513
5514 2003-04-15  John Levon  <levon@movementarian.org>
5515
5516         From Angus Leeming
5517
5518         * lyx_main.C: handle Include in .ui files
5519
5520 2003-04-15  John Levon  <levon@movementarian.org>
5521
5522         * MenuBackend.C: make the doc files length shorter
5523
5524         * ToolbarBackend.h:
5525         * ToolbarBackend.C: handle toolbar placement flags,
5526         Minibuffer
5527
5528 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5529
5530         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5531         adjust
5532
5533         * paragraph_funcs.C (TeXOnePar): adjust
5534
5535         * paragraph.C (getLabelFont): add outerfont arg, adjust
5536         (getLayoutFont): ditto
5537         (simpleTeXOnePar): adjust
5538
5539         * paragraph_pimpl.C (realizeFont): delete func
5540
5541 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5542
5543         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5544         row argument, constify cur argument.
5545
5546 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5547
5548         * text2.C (getFont): adjust
5549         (getLayoutFont): adjust
5550         (getLabelFont): adjust
5551
5552         * paragraph_funcs.C (TeXOnePar): adjust
5553         (outerFont): new func...
5554         (realizeFont): ...moved out from here, changed this to facilitate
5555         transition
5556
5557         * paragraph.C (getFont): take outerfont as arg, adjust
5558         (simpleTeXOnePar): add outerfont arg, adjust
5559
5560         * buffer.C (simpleLinuxDocOnePar): adjust
5561         (simpleDocBookOnePar): adjust
5562
5563         * CutAndPaste.C (pasteSelection): adjust
5564
5565         * BufferView.C (getEncoding): adjust
5566
5567 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5568
5569         * text2.C (setCharFont): adjust
5570         (setCounter): adjust
5571
5572         * text.C (leftMargin): adjust
5573         (setHeightOfRow): adjust
5574
5575         * rowpainter.C (paintFirst): adjust
5576         (paintLast): adjust
5577
5578         * paragraph_pimpl.C (realizeFont): adjust
5579
5580         * paragraph.C (isFirstInSequence): move from here...
5581         * paragraph_funcs.C (isFirstInSequence): ...to here
5582
5583         * paragraph.C (outerHook): move from here...
5584         * paragraph_funcs.C (outerHook): ...to here
5585
5586         * paragraph.C (depthHook): move from here...
5587         * paragraph_funcs.C (depthHook): ...to here
5588
5589         * paragraph.C (getEndLabel): move from here...
5590         * paragraph_funcs.C (getEndLabel): ...to here
5591
5592         * text2.C (realizeFont): move from here...
5593         * paragraph_funcs.C (realizeFont): ...to here
5594
5595 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5596
5597         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5598
5599 2003-04-14  Angus Leeming  <leeming@lyx.org>
5600
5601         * LColor.[Ch]: scrap LColor mathcursor.
5602
5603 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5604
5605         * lyxlex.[Ch] (text): delete function
5606         * trans.C (Load): adjust
5607         * paragraph_funcs.C (readParToken): adjust
5608
5609 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5610
5611         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5612         vector<char> instead of a char[].
5613
5614         * lyxlex_pimpl.C (getString): adjust
5615         (next): adjust
5616         (lex): use getString
5617         (eatLine): adjust
5618         (nextToken): adjust
5619
5620         * lyxlex.C (text): use pimpl_->getString()
5621         (getBool): ditto
5622         (findToken): ditto
5623
5624 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5625
5626         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5627         (makeFontEntriesLayoutSpecific): temp var for par.size()
5628         (setLayout): temp var for ownerParagraphs().end()
5629         (fullRebreak): temp var for rows().end()
5630         (selectionAsString): temp var for boost::next(startpit), realize
5631         that the while really is a regular for loop.
5632         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5633         setCursor in one place.
5634         (setParagraph): temp vr for ownerParagraphs().end()
5635         (updateCounters): make the while loop a for loop
5636         (cutSelection): temp var for ownerParagraphs().end()
5637         (updateInset): make the do {} while() a regular for loop
5638         (getCursorX): use temp vars
5639         (setCurrentFont): use temp vars
5640         (getColumnNearX): use temp vars
5641
5642 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5643
5644         * text.C (transformChar): use temp var for getChar
5645         (computeBidiTables): use temp var for row->par()
5646         (fill): move temp vars for row->par() and pit->layout() earlier in
5647         the function.
5648         (labelFill): use temp var for row->par()
5649         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5650         asc and desc, realize that pit never changes and that firstpit is
5651         just a duplicate and not needed. Exchange rit->par() with pit in a
5652         lot of places.
5653         (breakAgain): use a temp var for boost::next(rit)
5654         (breakAgainOneRow): ditto
5655         (breakParagraph): use a temp var for rows().begin()
5656         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5657         (cursorRightOneWord): use temp var for cursor.par() and
5658         cursor.pos(), remove usage of tmpcursor.
5659         (cursorLeftOneWord): use temp var for cursor.par() and
5660         cursor.pos() only set cur at end of function.
5661
5662 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5663
5664         * text.C, text2.C: exchange all usage of Paragraph::next with
5665         boost::next(ParagraphList::iterator)
5666
5667         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5668
5669         * text2.C (cursorTop): simplify implementation
5670         (cursorBottom): ditto
5671         (setParagraph): use ParagraphList::iterator
5672         (setCurrentFont): adjust
5673         (getColumnNearX): adjust
5674         (cursorRight): adjust
5675         (cursorLeft): remove usage of Paragraph::previous
5676         (cursorUpParagraph): ditto
5677         (deleteEmptyParagraphMechanism): slight cleanup
5678
5679         * text.C (isBoundary): take a Paragraph const & instead of a
5680         pointer as arg.
5681         (addressBreakPoint): ditto
5682         (leftMargin): remove usage of Paragraph::previous.
5683         (setHeightOfRow): ditto
5684         (cursorLeftOneWord): ditto
5685         (selectNextWordToSpellcheck): ditto
5686         (Delete): ditto
5687         (backspace): ditto
5688         (breakParagraph): remove one usage of Paragraph::next
5689         (redoParagraph): ditto
5690         (acceptChange): ditto
5691         (insertChar): adjust
5692         (rowBreakPoint): adjust
5693
5694         * bufferview_funcs.C (toggleAndShow): adjust
5695
5696 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5697
5698         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5699         methods to access it.
5700         * lyxtext.h:
5701         * text.C: Added updateRowPositions to compute all row positions.
5702         Make top_y and getRowNearY() to use the cached y position
5703
5704 2003-04-11  John Levon  <levon@movementarian.org>
5705
5706         * text.C (rowBreakPoint): reintroduce the labelEnd
5707         checks, code copied from the row fill stuff. Deep voodoo.
5708
5709         * text.C (fill): add a comment and debugging for the
5710         next poor soul.
5711
5712 2003-04-11  John Levon  <levon@movementarian.org>
5713
5714         * text.C: make sure fullrow insets get wrapped to the next line,
5715         even when they're in a manual label
5716
5717 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5718
5719         * text2.C (insertParagraph): make it take ParagraphList::iterator
5720         as arg.
5721         (setLayout): make it return ParagraphList::iterator
5722         (redoParagraphs): ditto
5723         (setCounter): ditto
5724         (checkParagraph): ditto
5725
5726         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5727
5728         * text2.C: adjust several funcs.
5729         (realizeFont): take a ParagraphList::iterator as arg.
5730         (getLayoutFont): ditto
5731         (getLabelFont): ditto
5732         (setCharFont): ditto
5733
5734         * text.C: adjust several funcs.
5735
5736 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5737
5738         * text.C (selectNextWordToSpellcheck): don't accidentally
5739         skip insets
5740
5741 2003-04-10  John Levon  <levon@movementarian.org>
5742
5743         * ToolbarBackend.C (getIcon): special handling for
5744         LFUN_MATH_DELIM
5745
5746 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5747
5748         * text2.C (cursorRight): a getChar assert fixed
5749
5750 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5751
5752         * text2.C (getFont): change to take a ParagraphList::iterator
5753         instead of Paragraph*
5754         Adjust several functions.
5755
5756         * text.C (transformChar): change to take a ParagraphList::iterator
5757         instead of Paragraph*
5758         (singleWidth): ditto
5759         Adjust several functions.
5760
5761         * rowpainter.C: adjust several functions
5762         * rowpainter.h:store a ParagraphList::iterator and not a
5763         Paragraph&.
5764
5765
5766 2003-04-09  John Levon  <levon@movementarian.org>
5767
5768         * lyxfunc.C:
5769         * lfuns.h:
5770         * LyXAction.h:
5771         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5772         and the "help" bits as well
5773
5774 2003-04-09  John Levon  <levon@movementarian.org>
5775
5776         * ToolbarBackend.h:
5777         * ToolbarBackend.C: allow multiple toolbars
5778
5779 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5780
5781         * undo_funcs.C (setCursorParUndo): adjust
5782
5783         * text_funcs.C (transposeChars): adjust
5784
5785         * text3.C (gotoNextInset): adjust
5786         (dispatch): adjust
5787
5788         * text2.C (setLayout): adjust
5789         (changeDepth): adjust
5790         (setFont): adjust
5791         (redoParagraphs): adjust
5792         (selectionAsString): adjust
5793         (setParagraph): adjust
5794         (insertInset): adjust
5795         (cutSelection): adjust
5796         (copySelection): adjust
5797         (pasteSelection): adjust
5798         (insertStringAsLines): adjust
5799         (updateInset): adjust
5800         (setCursor): change to take a ParagraphList::iterator parameter
5801         (setCursorIntern): change to take a ParagraphList::iterator parameter
5802         (setCurrentFont): adjust
5803         (cursorLeft): adjust
5804         (cursorRight): adjust
5805         (deleteEmptyParagraphMechanism): adjust
5806
5807         * text.C (breakParagraph): adjust
5808         (insertChar): adjust
5809         (acceptChange): adjust
5810         (rejectChange): adjust
5811         (selectNextWordToSpellcheck): adjust
5812         (changeCase): adjust
5813         (Delete): adjust
5814         (backspace): adjust
5815
5816         * lyxfind.C (SearchForward): adjust
5817         (SearchBackward): adjust
5818         (nextChange): adjust
5819
5820         * lyxcursor.C (par): adjust
5821
5822         * lyxcursor.h: store a ParagraphList::iterator instead of a
5823         Paragraph*
5824
5825         * lyx_cb.C (getPossibleLabel): adjust
5826
5827         * bufferview_funcs.C (toggleAndShow): adjust
5828
5829         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5830         (dispatch): adjust
5831
5832         * BufferView.C (removeAutoInsets): adjust
5833         (lockedInsetStoreUndo): adjust
5834
5835 2003-04-09  John Levon  <levon@movementarian.org>
5836
5837         * ToolbarBackend.C: try icon without argument
5838         if with argument fails
5839
5840 2003-04-08  John Levon  <levon@movementarian.org>
5841
5842         * ToolbarBackend.h:
5843         * ToolbarBackend.C: add getIcon(), handle tooltip,
5844         and change from "Icon" to "Item".
5845
5846 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5847
5848         * BufferView.C (lockInset): another bad getchar crunched
5849
5850 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5851
5852         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5853         again)
5854
5855 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5856
5857         * lyxfind.C (searchForward, searchBackwards): bug 782
5858
5859 2003-04-07  John Levon  <levon@movementarian.org>
5860
5861         * paragraph.C: remove dead comment
5862
5863         * text.C: remove troublesome depth-fiddling code
5864         in leftMargin() and rightMargin() (bug 1017)
5865
5866         * text.C: fix breaking of rows in nested lists
5867         (bug 1004)
5868
5869         * text2.C (updateCounters): fix up depth values
5870         (bug 1013)
5871
5872 2003-04-07  John Levon  <levon@movementarian.org>
5873
5874         * BufferView_pimpl.C: clear message when doc finishes resizing,
5875         and after a mouse event
5876
5877         * lyxfunc.C: clear message after exiting inset
5878
5879 2003-04-07  John Levon  <levon@movementarian.org>
5880
5881         * bufferview_funcs.C: show math status not outside
5882         status in the statusbar
5883
5884 2003-04-07  John Levon  <levon@movementarian.org>
5885
5886         * lyxfunc.C: note status changed after a depth change
5887
5888 2003-04-04  Angus Leeming  <leeming@lyx.org>
5889
5890         * LaTeX.h: move AuxInfo operator==, != out of line.
5891         Remove LaTeX virtual destructor; nothing derives from it.
5892         Move operator()() out of public area and rename it startscript().
5893         Change protected for private.
5894
5895 2003-04-04  Angus Leeming  <leeming@lyx.org>
5896
5897         * lyxfunc.C:
5898         * text2.C: remove unneeded #includes.
5899
5900 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5901
5902         * text2.C (dEPM): fix the heigth of the next row
5903
5904 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5905
5906         * text.C: squashed an invalid getChar requester + some ws changes
5907
5908 2003-04-03  John Levon  <levon@movementarian.org>
5909
5910         * bufferview_funcs.h:
5911         * bufferview_funcs.C:
5912         * lyxfunc.C:
5913         * lyxtext.h:
5914         * text2.C: make getStatus work for the env depth lfuns
5915
5916 2003-04-03  John Levon  <levon@movementarian.org>
5917
5918         * bufferview_funcs.h:
5919         * bufferview_funcs.C:
5920         * lyxfunc.C:
5921         * lyxtext.h:
5922         * text2.C: parlistize decDepth(), by merging it with incDepth()
5923
5924 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5925
5926         * lyxrow.h: store a ParagraphList::iterator instead of a
5927         Paragraph* and adjust other class functions to suit.
5928
5929         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5930         above.
5931
5932 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5933
5934         * text2.C (setCursor): do not anchor to cursor row for the time being
5935
5936 2003-04-02  John Levon  <levon@movementarian.org>
5937
5938         * LyXAction.C:
5939         * lfuns.h:
5940         * lyx_main.C:
5941         * lyxtext.h:
5942         * text.C:
5943         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5944
5945 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5946
5947         * paragraph.h: make ParagraphList and ParagraphList::iterator
5948         friends of Paragraph.
5949
5950         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5951
5952         * ParagraphList.C: Use the private next_ and previous_ from
5953         Paragraph.
5954
5955 2003-04-01  John Levon  <levon@movementarian.org>
5956
5957         * ToolbarBackend.h:
5958         * ToolbarBackend.C:
5959         * Makefile.am: rename, remove defaults gunk
5960
5961         * MenuBackend.h:
5962         * MenuBackend.C: remove defaults gunk
5963
5964         * Languages.h:
5965         * Languages.C: remove defaults gunk
5966
5967         * lyx_main.h:
5968         * lyx_main.C: error out if files couldn't be found.
5969
5970 2003-04-02  John Levon  <levon@movementarian.org>
5971
5972         * text2.C: make incDepth() use parlist
5973
5974 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5975
5976         * undo_funcs.C (firstUndoParagraph): adjust
5977
5978         * text3.C (gotoInset): adjust
5979         (dispatch): adjust, and rewrite loop.
5980
5981         * text2.C (init): adjust, and rewrite loop.
5982         (redoParagraphs): adjust
5983         (updateInset): adjust, and rewrite loop.
5984         (deleteEmptyParagraphMechanism): adjust
5985
5986         * tabular.C (LyXTabular): adjust
5987         (SetMultiColumn): adjust
5988         (TeXRow): adjust
5989
5990         * lyxtext.[Ch] (ownerParagraph): delete function
5991         (ownerParagraphs): new function returns a ParagraphList.
5992
5993         * BufferView.C (removeAutoInsets): adjust
5994         (insertErrors): adjust
5995         (setCursorFromRow): adjust
5996
5997 2003-04-01  Angus Leeming  <leeming@lyx.org>
5998
5999         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6000         in the frontends.
6001
6002 2003-04-02  John Levon  <levon@movementarian.org>
6003
6004         * lyxtext.h:
6005         * text.C:
6006         * Makefile.am:
6007         * text_funcs.h:
6008         * text_funcs.C: make transposeChars a free function
6009
6010         * lyxrow_funcs.C: remove wrong comment
6011
6012 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6013
6014         * lyxtext.h: adjust
6015         * rowpainter.C: adjust
6016         * text.C: adjust
6017         * text2.C: adjust
6018         * text3.C: adjust
6019
6020         * lyxrow_funcs. [Ch]: new files
6021
6022         * lyxrow.[Ch]: remove next and previous pointers
6023         (next,previous): remove accessor functions
6024         (isParEnd): move to lyxrow_funcs
6025         (lastPos): move to lyxrow_funcs
6026         (nextRowIsAllInset): move to lyxrow_funcs
6027         (lastPrintablePos): move to lyxrow_funcs
6028         (numberOfSeparators): move to lyxrow_funcs
6029         (numberOfHfills): move to lyxrow_funcs
6030         (numberOfLabelHfills): move to lyxrow_funcs
6031         (hfillExpansion): move to lyxrow_funcs
6032
6033         * lyxfunc.C: adjust
6034
6035         * bufferview_funcs.C (toggleAndShow): adjust
6036
6037         * RowList.h: Remove class RowList from file leave just a
6038         std::list<Row>.
6039
6040         * RowList.C: delete file
6041
6042         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6043         and lyxrow_funcs.h
6044
6045 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6046
6047         * text3.C (cursorPrevious): adjust
6048         (cursorNext): adjust
6049         (dispatch): adjust
6050
6051         * text2.C (redoHeightOfParagraph): adjust
6052         (redoDrawingOfParagraph): adjust
6053         (setCursor): adjust
6054
6055         * text.C (breakParagraph): adjust
6056         (insertChar): adjust
6057         (backspace): adjust
6058
6059         * rowpainter.C (RowPainter): adjust
6060         (leftMargin): simplify and adjust
6061         (most rowpainter functions): adjust.
6062
6063         * rowpainter.h: store the row as RowList::iterator not as Row*
6064
6065         * lyxcursor.C (row): taka RowList::iterator as arg
6066         (irow): ditto
6067
6068         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6069         of Row*.
6070
6071 2003-04-01  Angus Leeming  <leeming@lyx.org>
6072
6073         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6074         stuff like bool Bool.
6075
6076 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6077
6078         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6079         rewrite a loop
6080
6081 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6082
6083         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6084         RowList::iterator.
6085
6086         * lyxtext.h (rows): drop one version and leve a const variant that
6087         returns a RowList::iterator.
6088
6089 2003-03-31  Angus Leeming  <leeming@lyx.org>
6090
6091         * text.C (fill): ensure that the signature is the same as that in the
6092         header file.
6093
6094 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6095
6096         * text2.C (redoParagraphs): adjust
6097         (updateCounters): adjust
6098         (checkParagraph): adjust
6099         (getColumnNearX): adjust and reformat a bit.
6100
6101         * text.C (top_y): adjust
6102         (workWidth): adjust
6103         (leftMargin): adjust
6104         (prepareToPrint): adjust
6105         (getRow): adjust
6106         (getRowNearY): adjust
6107
6108         * lyxtext.h: make rowlist_ mutable.
6109
6110         * RowList.h: add const_iterator
6111         * RowList.C: adjust for RowList::const_iterator.
6112
6113         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6114         adjust.
6115
6116 2003-03-31  John Levon  <levon@movementarian.org>
6117
6118         * lyxrc.h:
6119         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6120
6121         * lyx_main.C: set default fonts from using lyx_gui funcs
6122
6123         * exporter.C: pdf_mode moved from lyxrc
6124
6125         * lyx_cb.C:
6126         * lyxfunc.C: changes from above
6127
6128 2003-03-31  John Levon  <levon@movementarian.org>
6129
6130         * lyx_main.C: fix to the last fix
6131
6132 2003-03-31  John Levon  <levon@movementarian.org>
6133
6134         * bufferlist.C: "Load original" -> "Load Original"
6135
6136         * converter.C:
6137         * exporter.C:
6138         * importer.C:
6139         * lyx_main.C:
6140         * format.C: more Alert cleanups
6141
6142 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6143
6144         * text2.C (removeParagraph): make it take a RowList::iterator as
6145         arg, adjust.
6146         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6147         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6148
6149         * text.C (anchor_row): make it take a RowList::iterator as arg,
6150         adjust.
6151         (computeBidiTables): make it take a const reference to Row instead
6152         of Row pointer, adjust.
6153         (leftMargin): make it take a RowList::iterator as arg, adjust.
6154         (rowBreakPoint): adjust
6155         (breakAgainOneRow): make it take a RowList::iterator as arg,
6156         adjust.
6157         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6158
6159         * bufferview_funcs.C (toggleAndShow): adjust
6160
6161 2003-03-30  John Levon  <levon@movementarian.org>
6162
6163         * Makefile.am:
6164         * BoostFormat.h:
6165         * boost-inst.C: moved to support
6166
6167         * several files: changes as a result
6168
6169 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6170
6171         * text2.C (LyXText): adjust.
6172         (init): adjust
6173         (removeRow): make it take a RowList::iterator as arg, adjust.
6174         (fullRebreak): adjust
6175         (deleteEmptyParagraphMechanism): adjust
6176         (clearPaint): adjust
6177         (postPaint): adjust
6178
6179         * text.C (top_y): adjust
6180         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6181         (breakAgain): make it take a RowList::iterator as arg, adjust.
6182         (breakParagraph): adjust
6183         (insertChar): adjust
6184         (backspace): adjust
6185
6186         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6187         need_break_row, and refresh_row.
6188
6189         * text3.C (dispatch): adjust
6190
6191         * text2.C (checkParagraph): adjust
6192         (setCursor): adjust
6193         (setCursorFromCoordinates): adjust
6194
6195         * text.C (top_y): adjust
6196         (workWidth): adjust
6197         (getRow): make it return a RowList::iterator, adjust
6198         (getRowNearY): make it return a RowList::iterator, adjust
6199
6200         * text2.C (init): adjust
6201         (insertRow): remove function
6202         (insertParagraph): adjust
6203         (redoParagraphs): adjust
6204         (fullRebreak): adjust
6205         (updateCounters): adjust
6206
6207         * text.C (top_y): rewrite to use RowList iterators.
6208         (top_y): adjust
6209         (setHeightOfRow): rewrite to sue RowList iterators.
6210         (appendParagraph): adjust
6211         (breakAgain): adjust
6212         (breakAgainOneRow): adjust
6213         (breakParagraph): adjust
6214         (getRow): adjust
6215         (getRowNearY): adjust, and remove commented code.
6216
6217         * lyxtext.h (firstRow): delete function
6218         (lastRow): delete function
6219         (rows): new function (const and non-const versions.)
6220         (insertRow): delete function
6221
6222         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6223
6224 2003-03-29  John Levon  <levon@movementarian.org>
6225
6226         * BufferView_pimpl.C: always update scrollbar top
6227         because pasting text when we're anchored could mean we
6228         miss an update altogether
6229
6230 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6231
6232         * text2.C (init): use rowlist_.end() and not 0.
6233         (insertRow): change to take a RowList::iterator as arg, adjust
6234         for this.
6235         (insertParagraph): change to take a RowList::iterator as arg,
6236         adjust for this.
6237         (redoParagraphs): remove some debug msgs.
6238
6239         * text.C (appendParagraph): change to take a RowList::iterator
6240         arg, adjust for this.
6241         (breakAgain): add an assert
6242         (breakAgainOneRow): ditto
6243
6244 2003-03-29  John Levon  <levon@movementarian.org>
6245
6246         * text2.C: do not clear selection after inc/decDepth
6247         (bug 550)
6248
6249 2003-03-29  John Levon  <levon@movementarian.org>
6250
6251         * BufferView.C:
6252         * buffer.C: fix broken strerrors according to Lars
6253
6254 2003-03-29  John Levon  <levon@movementarian.org>
6255
6256         * converters.C: more Alert cleanups
6257
6258 2003-03-29  John Levon  <levon@movementarian.org>
6259
6260         * bufferview_funcs.C: remove pointless Alert
6261
6262         * buffer.C: fix confusing error message when
6263         a template is chmoded 000
6264
6265 2003-03-29  John Levon  <levon@movementarian.org>
6266
6267         * BufferView.C:
6268         * BufferView.h:
6269         * BufferView_pimpl.C: Alert fixes
6270
6271         * Makefile.am:
6272         * tabular.C:
6273         * tabular-old.C: remove unused table compat reading
6274
6275 2003-03-29  John Levon  <levon@movementarian.org>
6276
6277         * BufferView.C:
6278         * buffer.C:
6279         * lyx_cb.h:
6280         * lyx_cb.C: more Alert cleanups
6281
6282         * lyxfunc.C: don't allow chktex if not latex document
6283
6284 2003-03-29  John Levon  <levon@movementarian.org>
6285
6286         * lyx_cb.C:
6287         * BufferView.C:
6288         * buffer.C: warnings pushed down from support/,
6289         kill err_alert
6290
6291 2003-03-29  John Levon  <levon@movementarian.org>
6292
6293         * lyxfunc.C: safety check for C-r (revert)
6294
6295 2003-03-29  John Levon  <levon@movementarian.org>
6296
6297         * bufferlist.h:
6298         * bufferlist.C: several UI fixes using Alert::prompt.
6299         Fix the pointless looping quit code. Fix stupid revert
6300         behaviour (bug 938)
6301
6302         * lyxvc.h:
6303         * lyxvc.C:
6304         * lyx_cb.C: use Alert::prompt
6305
6306         * lyx_main.C: remove a silly question
6307
6308         * lyxfunc.C: remove a couple of silly questions,
6309         use Alert::prompt
6310
6311 2003-03-28  John Levon  <levon@movementarian.org>
6312
6313         * text2.C: fix bug 974 (End on empty par)
6314
6315 2003-03-28  John Levon  <levon@movementarian.org>
6316
6317         * BufferView_pimpl.C:
6318         * LyXAction.C:
6319         * lfuns.h: remove do-nothing math greek lfuns
6320
6321 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6322
6323         * lyxgluelength.h (isValidGlueLength): add default arg on
6324         parameter 2. Remove default arg from friend in class.
6325
6326         * lyxlength.h (isValidLength): add default arg on parameter 2.
6327         Remove default arg from friend in class.
6328
6329         * text2.C (LyXText): adjust, initialize refresh_row.
6330         (init): adjust
6331         (removeRow): adjust
6332         (insertRow): adjust
6333         (insertParagraph): adjst
6334         (redoParagraphs): adjust
6335         (fullRebreak): adjust
6336         (updateCounters): adjust
6337         (deleteEmptyParagraphMechanism): first attempt at fixing a
6338         crashing bug.
6339
6340         * text.C (top_y): adjust
6341         (setHeightOfRow): adjust
6342         (getRow): adjust
6343         (getRowNearY): adjust
6344
6345         * lyxtext.h: include RowList.h
6346         (~LyXText): not needed anymore, deleted.
6347         (firstRow): modify for RowList
6348         (lastRow): new function
6349         Delete firstrow and lastrow class variables, add a Rowlist
6350         rowlist_ class variable.
6351
6352         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6353         paragraph is empty.
6354
6355         * RowList.C (insert): fix case where it == begin().
6356
6357 2003-03-26  Angus Leeming  <leeming@lyx.org>
6358
6359         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6360         the thesaurus dialog.
6361
6362 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6363
6364         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6365
6366         * RowList.[Ch]: new files
6367
6368         * ParagraphList.C (erase): handle the case where it == begin
6369         correctly.
6370
6371 2003-03-25  John Levon  <levon@movementarian.org>
6372
6373         * Makefile.am:
6374         * aspell_local.h:
6375         * aspell.C: add new aspell support
6376
6377         * lyxrc.h:
6378         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6379         have it accessible.
6380
6381 2003-03-25  Angus Leeming  <leeming@lyx.org>
6382
6383         * lfuns.h:
6384         * LyXAction.C (init): new LFUN_INSET_INSERT.
6385
6386         * BufferView_pimpl.C (dispatch): split out part of the
6387         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6388
6389         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6390         LFUN_INSET_APPLY.
6391
6392 2003-03-25  Angus Leeming  <leeming@lyx.org>
6393
6394         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6395
6396 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6397
6398         * text2.C:
6399         * text3.C: remove useless row->height(0)
6400
6401 2003-03-25  John Levon  <levon@movementarian.org>
6402
6403         * lyxtext.h:
6404         * text2.C:
6405         * text3.C: rename the refreshing stuff to better names
6406
6407 2003-03-24  John Levon  <levon@movementarian.org>
6408
6409         * BufferView_pimpl.h:
6410         * BufferView_pimpl.C: update layout choice on a mouse
6411         press/release
6412
6413 2003-03-23  John Levon  <levon@movementarian.org>
6414
6415         * Makefile.am: fix commandtags.h reference
6416
6417 2003-03-22  John Levon  <levon@movementarian.org>
6418
6419         * BufferView_pimpl.C:
6420         * lyxtext.h:
6421         * rowpainter.C:
6422         * rowpainter.h:
6423         * text.C:
6424         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6425
6426 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6427
6428         * lyxtext.h:
6429         * text.C: take the rtl methods out of line
6430
6431 2003-03-21 André Pönitz <poenitz@gmx.net>
6432
6433         * metricsinfo.[Ch]: new files containing structures to be passed around
6434         during the two-phase-drawing...
6435
6436 2003-03-21 André Pönitz <poenitz@gmx.net>
6437
6438         * lyxtextclass.C: read 'environment' tag.
6439
6440 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6441
6442         * text2.C (removeRow): fix bug 964
6443
6444 2003-03-20  John Levon  <levon@movementarian.org>
6445
6446         * rowpainter.C:
6447         * text.C:
6448         * text2.C: paint cleanups. Inset::update() dropped font
6449         parameter
6450
6451 2003-03-19  John Levon  <levon@movementarian.org>
6452
6453         * lyxfunc.C: only fitcursor/markDirty if available()
6454
6455 2003-03-19  John Levon  <levon@movementarian.org>
6456
6457         * commandtags.h: rename to ...
6458
6459         * lfuns.h: ... this, and renumber / cleanup
6460
6461 2003-03-19  John Levon  <levon@movementarian.org>
6462
6463         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6464         fit the cursor after an lfun
6465
6466         * BufferView.h:
6467         * BufferView.C:
6468         * BufferView_pimpl.h:
6469         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6470
6471         * LyXAction.C: layout-character should have ReadOnly
6472
6473         * ParagraphParameters.C:
6474         * buffer.C:
6475         * bufferview_funcs.C:
6476         * lyx_cb.C:
6477         * lyxfind.C:
6478         * lyxtext.h:
6479         * text.C:
6480         * text2.C:
6481         * text3.C:
6482         * undo_funcs.C: changes from above
6483
6484 2003-03-18  John Levon  <levon@movementarian.org>
6485
6486         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6487         remove it from update()
6488
6489         * lyxfunc.C: update layout choice after an lfun
6490
6491         * text3.C: remove extra updateLayoutChoice()s
6492
6493 2003-03-18  John Levon  <levon@movementarian.org>
6494
6495         * text.C: top_y change means full repaint, fix
6496         a drawing bug with cursor movement
6497
6498 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6499
6500         * lyxtext.h:
6501         * text.C:
6502         * text2.C: anchor row on setCursor
6503
6504 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6505
6506         * lyxtext.h: remove almost all mutable keywords
6507         * text.C:
6508         * text2.C:
6509         * text3.C: remove const keywords accordingly
6510
6511 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6512
6513         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6514         anon namespace
6515         (TeXEnvironment): ditto
6516         (TeXOnePar): ditto
6517
6518 2003-03-17  John Levon  <levon@movementarian.org>
6519
6520         * text.C (rowBreakPoint): remove attempt to fix displayed
6521         math insets inside a manual label
6522
6523 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6524
6525         * lyxtext.h: remove BufferView* as first arg from almost all class
6526         functions.
6527         * other files: adjust.
6528
6529 2003-03-17  John Levon  <levon@movementarian.org>
6530
6531         * lyxtext.h:
6532         * undo_funcs.C:
6533         * text2.C: more paint cleanups
6534
6535         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6536
6537         * rowpainter.h:
6538         * rowpainter.C: remove "smart" background painting code
6539
6540 2003-03-16  John Levon  <levon@movementarian.org>
6541
6542         * lyxtext.h:
6543         * text.C:
6544         * text2.C:
6545         * text3.C: add helper functions for setting refresh_row/y
6546
6547 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6548
6549         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6550         newline inset which *can* get inserted in the pass_thru layouts.
6551         This is primarily for literate documents.
6552
6553 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6554
6555         * buffer.C: increment LYX_FORMAT to 223
6556
6557 2003-03-14 André Pönitz <poenitz@gmx.net>
6558
6559         * textclass.h: prepare for environment handling, ws changes
6560         * lyxlayout.C: read latexheader and latexfooter tags
6561
6562 2003-03-14  John Levon  <levon@movementarian.org>
6563
6564         * text2.C: rewrite ::status() a bit
6565
6566 2003-03-13  John Levon  <levon@movementarian.org>
6567
6568         * lyxtext.h: add some docs
6569
6570 2003-03-13  John Levon  <levon@movementarian.org>
6571
6572         * lyxtext.h:
6573         * text.C:
6574         * text2.C:
6575         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6576
6577 2003-03-13  John Levon  <levon@movementarian.org>
6578
6579         * text3.C: fix appendix redrawing
6580
6581 2003-03-13  John Levon  <levon@movementarian.org>
6582
6583         * text.C (setHeightOfRow):
6584         * rowpainter.h:
6585         * rowpainter.C: make appendix mark have the text
6586           "Appendix" so the user knows what it is
6587
6588         * LColor.h:
6589         * LColor.C: s/appendixline/appendix/ from above
6590
6591 2003-03-13  John Levon  <levon@movementarian.org>
6592
6593         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6594
6595         * text.C: fix a getChar(pos) bug properly
6596
6597 2003-03-13  Angus Leeming  <leeming@lyx.org>
6598
6599         * commandtags.h:
6600         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6601         Probably only temporary. Let's see how things pan out.
6602
6603         * BufferView.C (unlockInset):
6604         * BufferView_pimpl.C (fitCursor):
6605         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6606
6607         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6608         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6609
6610         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6611         new functions that convert ParagraphParameters to and from a string.
6612
6613         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6614         BufferView::Pimpl's dispatch.
6615         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6616
6617 2003-03-13 André Pönitz <poenitz@gmx.net>
6618
6619         * lyxfunc.C:
6620         * text3.C:
6621         * factory.C: make it aware of InsetEnv
6622
6623 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6624
6625         * text2.C (setCursor): never ask for one past last
6626         (setCursor): add some debugging messages.
6627
6628         * text.C (singleWidth): never ask for one past last
6629         (singleWidth): ditto
6630         (leftMargin): ditto
6631         (rightMargin): ditto
6632         (rowBreakPoint): ditto
6633         (setHeightOfRow): ditto
6634         (prepareToPrint): ditto
6635
6636         * rowpainter.C (paintBackground): never ask for one past last
6637         (paintText): never ask for one past last
6638
6639         * paragraph_pimpl.C (getChar): make the assert stricter, never
6640         allow the one past last pos to be taken
6641
6642         * paragraph.C (getChar): ws changes only
6643
6644         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6645         (numberOfSeparators): ditto
6646         (numberOfHfills): ditto
6647
6648 2003-03-12  John Levon  <levon@movementarian.org>
6649
6650         * author.h:
6651         * author.C:
6652         * bufferparams.h:
6653         * bufferparams.C:
6654         * paragraph_funcs.C: fix per-buffer authorlists
6655
6656 2003-03-12  John Levon  <levon@movementarian.org>
6657
6658         * text.C: fix newline in right address
6659
6660 2003-03-12  Angus Leeming  <leeming@lyx.org>
6661
6662         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6663         duplicate those in LyXFunc::dispatch.
6664
6665         * commandtags.h:
6666         * LyXAction.C:
6667         * ToolbarDefaults.C:
6668         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6669         Add LFUN_FONTFREE_UPDATE.
6670
6671         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6672         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6673
6674         * bufferview_func.[Ch]: several new functions to facilliate
6675         transfer of data to and from the character dialog.
6676
6677 2003-03-12  John Levon  <levon@movementarian.org>
6678
6679         * buffer.C:
6680         * paragraph.h:
6681         * paragraph.C:
6682         * paragraph_funcs.C:
6683         * paragraph_pimpl.C:
6684         * sgml.C:
6685         * tabular.C:
6686         * text.C:
6687         * text3.C: remove META_NEWLINE in favour of an inset
6688
6689         * rowpainter.h:
6690         * rowpainter.C: remove paintNewline (done by inset)
6691
6692 2003-03-12  John Levon  <levon@movementarian.org>
6693
6694         * paragraph_pimpl.C: complain about bad getChar()s
6695         for a while at least
6696
6697 2003-03-12  John Levon  <levon@movementarian.org>
6698
6699         * buffer.h:
6700         * buffer.C: move paragraph read into a separate function,
6701         a little renaming to reflect that.
6702
6703         * bufferparams.h:
6704         * bufferparams.C: remove the author_ids map, not necessary now
6705
6706         * factory.h:
6707         * factory.C: moved Buffer::readInset to here
6708
6709         * paragraph_funcs.h:
6710         * paragraph_funcs.C: readParagraph free function moved from
6711         buffer.C
6712
6713         * tabular.C: name change
6714
6715 2003-03-12  John Levon  <levon@movementarian.org>
6716
6717         * buffer.C:
6718         * ParagraphParameters.C: move par params input to
6719         a read() method
6720
6721         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6722         behave like a normal read from the stream wrt reading
6723         a line vs. a \\token
6724
6725 2003-03-12  John Levon  <levon@movementarian.org>
6726
6727         * paragraph.C:
6728         * ParagraphParameters.h:
6729         * ParagraphParameters.C: move output code to a
6730         ::write() method
6731
6732 2003-03-12  John Levon  <levon@movementarian.org>
6733
6734         * BufferView.C (insertLyXFile):
6735         * buffer.h:
6736         * buffer.C:
6737         * tabular.C: use a parlist iterator for creating the
6738           document.
6739
6740 2003-03-12  John Levon  <levon@movementarian.org>
6741
6742         * buffer.C: make current_change static local not
6743           static file-scope
6744
6745 2003-03-12  John Levon  <levon@movementarian.org>
6746
6747         * buffer.C: fix insertStringAsLines for change tracking
6748
6749 2003-03-12  John Levon  <levon@movementarian.org>
6750
6751         * BufferView.C:
6752         * tabular.C:
6753         * buffer.h:
6754         * buffer.C:
6755         * bufferparams.h:
6756         * bufferparams.C: move author list into params. Rename some
6757           functions. Move the header reading into a separate token
6758           loop. Move the header token reading into BufferParams.
6759
6760 2003-03-12  John Levon  <levon@movementarian.org>
6761
6762         * changes.C: put debug inside lyxerr.debugging() checks
6763
6764 2003-03-11 André Pönitz <poenitz@gmx.net>
6765
6766         * factory.C: make it aware of InsetHFill
6767
6768 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6769
6770         * buffer.C (latexParagraphs): move function from here...
6771         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6772         args.
6773
6774 2003-03-10  Angus Leeming  <leeming@lyx.org>
6775
6776         * LyXAction.C (init): fix bug in poplating array with multiple entries
6777         with the same LFUN (spotted by JMarc).
6778
6779 2003-03-10  John Levon  <levon@movementarian.org>
6780
6781         * text.C:
6782         * text2.C: move getColumnNearX() near its
6783         only call site
6784
6785 2003-03-10  John Levon  <levon@movementarian.org>
6786
6787         * text.C: fix break before a minipage
6788
6789 2003-03-10  John Levon  <levon@movementarian.org>
6790
6791         * text.C: fix the last commit
6792
6793 2003-03-09  John Levon  <levon@movementarian.org>
6794
6795         * lyxtext.h:
6796         * text.C:
6797         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6798         bug 365 (don't break before insets unless needed). Don't
6799         return a value > last under any circumstances.
6800
6801 2003-03-09  Angus Leeming  <leeming@lyx.org>
6802
6803         * BufferView_pimpl.C (trackChanges, dispatch): call
6804         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6805
6806 2003-03-09  Angus Leeming  <leeming@lyx.org>
6807
6808         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6809         than Dialogs::showAboutlyx().
6810
6811 2003-03-09  Angus Leeming  <leeming@lyx.org>
6812
6813         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6814         than Dialogs::showTabularCreate().
6815
6816 2003-03-09  John Levon  <levon@movementarian.org>
6817
6818         * lyxtext.h:
6819         * text.C:
6820         * text2.C: 3rd arg to nextBreakPoint was always the same.
6821           Use references.
6822
6823 2003-03-08  John Levon  <levon@movementarian.org>
6824
6825         * lyxrow.C:
6826         * paragraph.C:
6827         * paragraph.h:
6828         * rowpainter.C:
6829         * text.C:
6830         * text2.C: Remove the "main" bit from the "main body"
6831           notion.
6832
6833 2003-03-08  John Levon  <levon@movementarian.org>
6834
6835         * text.C (leftMargin): The left margin of an empty
6836         manual label paragraph should not include the label width
6837         string length.
6838
6839         * text.C (prepareToPrint): don't attempt to measure hfills
6840         for empty manual label paragraphs - the answer should be 0
6841
6842 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6843
6844         * CutAndPaste.C: remove commented code and reindent.
6845
6846 2003-03-08  John Levon  <levon@movementarian.org>
6847
6848         * lyxfunc.h:
6849         * lyxfunc.C: move reloadBuffer()
6850
6851         * BufferView.h:
6852         * BufferView.C: to here
6853
6854         * lyxvc.C: add comment
6855
6856         * vc-backend.h:
6857         * vc-backend.C: call bv->reload() to avoid
6858           getStatus() check on MENURELOAD
6859
6860 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6861
6862         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6863         to an old format .dep file.
6864
6865 2003-03-07  Angus Leeming  <leeming@lyx.org>
6866
6867         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6868         when the LFUN_MOUSE_RELEASE should have been handled by
6869         inset->localDispatch.
6870
6871 2003-03-07  Angus Leeming  <leeming@lyx.org>
6872
6873         * BufferView_pimpl.C (dispatch):
6874         * LyXAction.C (init):
6875         * ToolbarDefaults.C (init):
6876         * commandtags.h:
6877         * lyxfunc.C (getStatus):
6878         remove LFUN_INSET_GRAPHICS.
6879
6880         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6881
6882 2003-03-07  Angus Leeming  <leeming@lyx.org>
6883
6884         * commandtags.h:
6885         * LyXAction.C (init):
6886         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6887
6888         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6889
6890         * commandtags.h:
6891         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6892
6893         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6894         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6895
6896 2003-03-07  Angus Leeming  <leeming@lyx.org>
6897
6898         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6899         remove "ert".
6900
6901 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6902
6903         * ParagraphList.C (front): new function
6904         (back): implement
6905
6906 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6907
6908         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6909         and top_row_offset_. removed var first_y.
6910         * text.C (top_y):
6911         * text2.C (LyXText, removeRow):
6912         * text3.C:
6913         * BufferView_pimpl.C:
6914         use these methods instead of using first_y
6915
6916 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6917
6918         * text2.C (pasteSelection): adjust for checkPastePossible
6919
6920         * CutAndPaste.C: remove Paragraph * buf and replace with
6921         ParagraphList paragraphs.
6922         (DeleteBuffer): delete
6923         (cutSelection): change the tc type to textclass_type
6924         (copySelection): change the tc type to textclass_type
6925         (copySelection): adjust for ParagraphList
6926         (pasteSelection): change the tc type to textclass_type
6927         (pasteSelection): adjust for Paragraphlist
6928         (nrOfParagraphs): simplify for ParagraphList
6929         (checkPastePossible): simplify for ParagraphList
6930         (checkPastePossible): remove unused arg
6931
6932         * ParagraphList.C (insert): handle the case where there are no
6933         paragraphs yet.
6934
6935         * CutAndPaste.h: make CutAndPaste a namespace.
6936
6937         * text3.C (dispatch): adjust
6938
6939         * text.C (breakParagraph): add a ParagraphList as arg
6940
6941         * paragraph_funcs.C (breakParagraph): change to take a
6942         BufferParams and a ParagraphList as args.
6943         (breakParagraphConservative): ditto
6944         (mergeParagraph): ditto
6945         (TeXDeeper): add a ParagraphList arg
6946         (TeXEnvironment): ditto
6947         (TeXOnePar): ditto
6948
6949         * buffer.C (readLyXformat2): adjust
6950         (insertStringAsLines): adjust
6951         (latexParagraphs): adjust
6952
6953         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6954         (cutSelection): adjust
6955         (pasteSelection): adjust
6956
6957         * BufferView_pimpl.C (insertInset): adjust
6958
6959 2003-03-05  Angus Leeming  <leeming@lyx.org>
6960
6961         * commandtags.h:
6962         * LyXAction.C (init):
6963         * BufferView_pimpl.C (dispatch):
6964         * lyxfunc.C (getStatus):
6965         remove LFUN_CHILD_INSERT.
6966
6967         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6968
6969 2003-03-05  Angus Leeming  <leeming@lyx.org>
6970
6971         * commandtags.h:
6972         * LyXAction.C (init):
6973         * src/factory.C (createInset):
6974         * lyxfunc.C (getStatus):
6975         * text3.C (dispatch):
6976         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6977
6978         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6979
6980 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6981
6982         * ParagraphList.C (insert): handle insert right before end()
6983         (erase): fix cases where it can be first or last paragraph.
6984
6985 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6986
6987         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6988         Paragraph::next and Paragraph::previous
6989         (TeXOnePar): ditto
6990
6991         * text.C (breakParagraph): adjust
6992
6993         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6994         BufferParams& as arg.
6995         (breakParagraph): use ParagraphList::insert
6996         (breakParagraphConservative): take a Buffer* instead of a
6997         BufferParams& as arg.
6998         (breakParagraphConservative): use ParagraphList::insert.
6999
7000         * buffer.C (insertStringAsLines): un-const it
7001         (insertStringAsLines): adjust
7002
7003         * ParagraphList.C (insert): new function
7004
7005         * CutAndPaste.C (pasteSelection): adjust
7006
7007         * text.C (backspace): adjust
7008
7009         * tabular.C (SetMultiColumn): adjust
7010
7011         * CutAndPaste.C (cutSelection): adjust
7012         (pasteSelection): adjust
7013
7014         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7015         Buffer const * as arg
7016
7017         * ParagraphList.C (erase): new function
7018         * paragraph_funcs.C (mergeParagraph): use it
7019         (mergeParagraph): make it take a Buffer* instead of a
7020         BufferParams* as arg
7021
7022         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7023         as arg
7024         (breakParagraphConservative): ditto
7025
7026         * paragraph.h: remove the breakParagraph friend
7027
7028         * paragraph.C (eraseIntern): new function
7029         (setChange): new function
7030
7031         * paragraph_funcs.C (mergeParagraph): make it take a
7032         ParagraphList::iterator instead of a Paragraph *, adjust
7033         accordingly.
7034
7035         * paragraph.h: move an #endif so that the change tracking stuff
7036         also works in the NO_NEXT case.
7037
7038 2003-03-04  Angus Leeming  <leeming@lyx.org>
7039
7040         * commandtags.h:
7041         * LyXAction.C: new LFUN_INSET_MODIFY.
7042
7043         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7044         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7045
7046 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7047
7048         * several files: ws changes only
7049
7050         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7051         (TeXEnvironment): ditto
7052         (TeXDeeper): ditto
7053
7054         * buffer.C (makeLaTeXFile): adjust
7055         (latexParagraphs): make it take ParagraphList::iterator as args
7056
7057 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7058
7059         * buffer.C (latexParagraphs): adjust
7060
7061         * paragraph.C (TeXOnePar): move function...
7062         (optArgInset): move function...
7063         (TeXEnvironment): move function...
7064         * paragraph_pimpl.C (TeXDeeper): move function...
7065         * paragraph_funcs.C: ...here
7066
7067         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7068
7069 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7070
7071         * buffer.C (readInset): remove compability code for old Figure and
7072         InsetInfo insets
7073
7074 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7075
7076         * buffer.C: ws changes
7077         (readInset):
7078
7079         * BufferView_pimpl.C: ditto
7080         * author.C: ditto
7081         * buffer.h: ditto
7082         * bufferlist.h: ditto
7083         * changes.h: ditto
7084         * lyxfunc.C: ditto
7085
7086 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7087
7088         * converter.[Ch]: split into itself +
7089         * graph.[Ch]
7090         * format.[Ch]
7091         * Makefile.am: += graph.[Ch] + format.[Ch]
7092         * MenuBackend.C
7093         * buffer.C
7094         * exporter.C
7095         * importer.C
7096         * lyx_main.C
7097         * lyxfunc.C
7098         * lyxrc.C: added #include "format.h"
7099
7100 2003-02-27  Angus Leeming  <leeming@lyx.org>
7101
7102         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7103           a label.
7104
7105         * factory.C (createInset): add "label" to the factory.
7106
7107         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7108           string and do no more.
7109
7110 2003-02-27  Angus Leeming  <leeming@lyx.org>
7111
7112         * commandtags.h:
7113         * LyXAction.C (init):
7114         * factory.C (createInset):
7115         * BufferView_pimpl.C (dispatch):
7116           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7117
7118         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7119
7120         * lyxfunc.C (dispatch):
7121         * text3.C (dispatch): pass name to params2string.
7122
7123 2003-02-26  Angus Leeming  <leeming@lyx.org>
7124
7125         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7126           blocks together.
7127           Rearrange the ~includes. Strip out the unnecessary ones.
7128
7129         * factory.C (createInset): reformat.
7130           create new insets for the various LFUN_XYZ_APPLY lfuns.
7131
7132 2003-02-26  John Levon  <levon@movementarian.org>
7133
7134         * lyxrow.h:
7135         * lyxrow.C: add isParStart,isParEnd helpers
7136
7137         * paragraph.h: make isInserted/DeletedText take refs
7138
7139         * paragraph_funcs.h:
7140         * paragraph_funcs.C: remove #if 0'd code
7141
7142         * lyxtext.h:
7143         * text3.C:
7144         * text2.C:
7145         * text.C: use lyxrow helpers above.
7146           Move draw and paint routines to RowPainter.
7147           Make several methods use refs not pointers.
7148           Make backgroundColor() const.
7149           Add markChangeInDraw(), isInInset().
7150           Merge changeRegionCase into changeCase.
7151           Make workWidth() shouldn't-happen code into an Assert.
7152
7153         * rowpainter.h:
7154         * rowpainter.C: new class for painting a row.
7155
7156         * vspace.h:
7157         * vspace.C: make inPixels take a ref
7158
7159 2003-02-26  Angus Leeming  <leeming@lyx.org>
7160
7161         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7162         LFUN_REF_APPLY.
7163
7164 2003-02-25  John Levon  <levon@movementarian.org>
7165
7166         * ispell.C: give the forked command a more accurate name
7167
7168 2003-02-22  John Levon  <levon@movementarian.org>
7169
7170         * toc.h:
7171         * toc.C: make TocItem store an id not a Paragraph *
7172           (bug #913)
7173
7174 2003-02-21  Angus Leeming  <leeming@lyx.org>
7175
7176         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7177           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7178           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7179           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7180           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7181           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7182
7183         * BufferView_pimpl.C (dispatch):
7184         * LyXAction.C (init):
7185         * factory.C (createInset):
7186         * lyxfunc.C (getStatus, dispatch):
7187         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7188
7189 2003-02-21  Angus Leeming  <leeming@lyx.org>
7190
7191         * BufferView_pimpl.C (MenuInsertLyXFile):
7192         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7193         * lyxfunc.C (menuNew, open, doImport):
7194           no longer pass a LyXView & to fileDlg.
7195
7196 2003-02-21  Angus Leeming  <leeming@lyx.org>
7197
7198         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7199         * LyXAction.C: change, BIBKEY to BIBITEM.
7200         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7201         Change InsetBibKey to InsetBibitem.
7202         Change BIBKEY_CODE to BIBITEM_CODE.
7203         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7204         * factory.C: replace insetbib.h with insetbibitem.h.
7205         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7206         * paragraph.C: replace insetbib.h with insetbibitem.h.
7207         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7208         Change bibkey() to bibitem().
7209         * text.C: remove insetbib.h.
7210         * text2.C: replace insetbib.h with insetbibitem.h.
7211         change bibkey() to bibitem().
7212         * text3.C: remove insetbib.h.
7213         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7214
7215 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7216
7217         * lyxrc.C (output): enclose user email in quotes (in case there are
7218         several words)
7219
7220 2003-02-18  John Levon  <levon@movementarian.org>
7221
7222         * buffer.h: add std::
7223
7224 2003-02-17  John Levon  <levon@movementarian.org>
7225
7226         * SpellBase.h:
7227         * ispell.h:
7228         * ispell.C:
7229         * pspell.h:
7230         * pspell.C: reworking. Especially in ispell, a large
7231           number of clean ups and bug fixes.
7232
7233         * lyxfunc.C: fix revert to behave sensibly
7234
7235 2003-02-17 André Pönitz <poenitz@gmx.net>
7236
7237         * LyXAction.C:
7238         * commandtags.h: new LFUN_INSERT_BIBKEY
7239
7240         * layout.h:
7241         * lyxlayout.C:
7242         * buffer.C:
7243         * factory.C:
7244         * text.C:
7245         * text2.C:
7246         * text3.C:
7247         * paragraph.[Ch]:
7248         * paragraph_func.C: remove special bibkey handling
7249
7250 2003-02-17  John Levon  <levon@movementarian.org>
7251
7252         * text.C (Delete): fix case where delete at the end of
7253           the very first paragraph would not merge the pars
7254
7255 2003-02-17  John Levon  <levon@movementarian.org>
7256
7257         * lyxrow.C: fix lastPrintablePos()
7258
7259 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7260
7261         * bufferparams.C (writeLaTeX): add a std:here
7262
7263         * buffer.C: and remove a using directive there
7264
7265 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7266
7267         * buffer.C (makeLaTeXFile): move the code that generates the
7268           preamble...
7269
7270         * bufferparams.C (writeLaTeX): ... in this new method
7271
7272         * LaTeXFeatures.C (getEncodingSet): make const
7273           (getLanguages): make const
7274
7275         * MenuBackend.C (binding): returns the binding associated to this
7276           action
7277           (add): sets the status of each item by calling getStatus. Adds
7278           some intelligence.
7279           (read): add support for OptSubMenu
7280           (expand): remove extra separator at the end of expanded menu
7281
7282 2003-02-15  John Levon  <levon@movementarian.org>
7283
7284         * BufferView.C:
7285         * BufferView_pimpl.C:
7286         * bufferlist.h:
7287         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7288           inset code that had no actual effect. Remove unneeded status
7289           code.
7290
7291 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7292
7293         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7294           in preamble
7295
7296 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7297
7298         * text.C (drawLengthMarker): also draw an arrow marker for
7299           symbolic lengths (medskip...)
7300
7301 2003-02-14  John Levon  <levon@movementarian.org>
7302
7303         * tabular.h:
7304         * tabular.C: better method names
7305
7306 2003-02-14  John Levon  <levon@movementarian.org>
7307
7308         * BufferView_pimpl.C:
7309         * bufferlist.C:
7310         * buffer.C:
7311         * converter.C:
7312         * lyx_cb.C:
7313         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7314           it's a more accurate name. Remove some pointless uses.
7315
7316 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7317
7318         * text2.C (LyXText): change order of initilizers to shut off
7319           warnings
7320
7321 2003-02-14  John Levon  <levon@movementarian.org>
7322
7323         * buffer.C: use ParIterator for getParFromID()
7324
7325         * paragraph.h:
7326         * paragraph.C:
7327         * paragraph_pimpl.h:
7328         * paragraph_pimpl.C: remove unused getParFromID()
7329
7330 2003-02-14  John Levon  <levon@movementarian.org>
7331
7332         * buffer.C: remove some very old #if 0'd parse code
7333
7334 2003-02-13  John Levon  <levon@movementarian.org>
7335
7336         * text.h:
7337         * text.C:
7338         * text2.C: move hfillExpansion(), numberOfSeparators(),
7339           rowLast(), rowLastPrintable(), numberofHfills(),
7340           numberOfLabelHfills() ...
7341
7342         * lyxrow.h:
7343         * lyxrow.C: ... to member functions here.
7344
7345         * paragraph.h:
7346         * paragraph.C:
7347         * lyxtext.h:
7348         * text.C: remove LyXText::beginningOfMainBody(), and call
7349           p->beginningOfMainBody() directly. Move the check for
7350           LABEL_MANUAL into the latter.
7351
7352         * text.h:
7353         * text.C:
7354         * text2.C:
7355         * vspace.C:
7356         * BufferView.h:
7357         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7358
7359         * text.h:
7360         * text.C:
7361         * text2.C:
7362         * text3.C:
7363         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7364           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7365
7366 2003-02-13  John Levon  <levon@movementarian.org>
7367
7368         * CutAndPaste.C: remove debug
7369
7370 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7371
7372         * paragraph.C (asString): remove two unused variables
7373
7374         * lyxtextclass.C (readTitleType):
7375           (Read):
7376           (LyXTextClass): handle new members titletype_ and titlename_
7377
7378         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7379
7380 2003-02-09  John Levon  <levon@movementarian.org>
7381
7382         * buffer.h:
7383         * buffer.C: replace hand-coded list with a map for the dep clean
7384
7385 2003-02-08  John Levon  <levon@movementarian.org>
7386
7387         * LaTeX.C: consolidate code into showRunMessage() helper
7388
7389 2003-02-08  John Levon  <levon@movementarian.org>
7390
7391         * lyxfind.C:
7392         * lyxtext.h:
7393         * text2.C:
7394         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7395           and pass the size in explicitly
7396
7397         * BufferView_pimpl.h:
7398         * BufferView_pimpl.C:
7399         * BufferView.h:
7400         * BufferView.C: add getCurrentChange()
7401
7402         * BufferView_pimpl.h:
7403         * BufferView_pimpl.C: handle change lfuns
7404
7405         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7406           for changes. Mark pasted paragraphs as new.
7407
7408         * support/lyxtime.h:
7409         * support/lyxtime.C:
7410         * DepTable.C: abstract time_t as lyx::time_type
7411
7412         * LColor.h:
7413         * LColor.C: add colours for new text, deleted text, changebars
7414
7415         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7416           package use "usenames" option.
7417
7418         * commandtags.h:
7419         * lyxfunc.C:
7420         * LyXAction.C: add change lfuns
7421
7422         * Makefile.am:
7423         * author.h:
7424         * author.C: author handling
7425
7426         * buffer.h:
7427         * buffer.C: add a per-buffer author list, with first entry as
7428           current author. Handle new .lyx tokens for change tracking. Output
7429           author list to .lyx file. Output dvipost stuff to .tex preamble.
7430           Bump lyx format to 222.
7431
7432         * bufferlist.h:
7433         * bufferlist.C: add setCurrentAuthor() to reset current author details
7434           in all buffers.
7435
7436         * bufferparams.h:
7437         * bufferparams.C: add param for tracking
7438
7439         * bufferview_funcs.C: output change info in minibuffer
7440
7441         * Makefile.am:
7442         * changes.h:
7443         * changes.C: add change-tracking structure
7444
7445         * debug.h:
7446         * debug.C: add CHANGES debug flag
7447
7448         * lyxfind.h:
7449         * lyxfind.C: add code for finding the next change piece
7450
7451         * lyxrc.h:
7452         * lyxrc.C: add user_name and user_email
7453
7454         * lyxrow.h:
7455         * lyxrow.C: add a metric for the top of the text line
7456
7457         * lyxtext.h:
7458         * text.C: implement accept/rejectChange()
7459
7460         * lyxtext.h:
7461         * text.C: paint changebars. Paint new/deleted text in the chosen
7462         colours. Strike through deleted text.
7463
7464         * paragraph.h:
7465         * paragraph.C:
7466         * paragraph_pimpl.h:
7467         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7468           in the current change to the insert functions. Rework erase to
7469           mark text as deleted, adding an eraseIntern() and a range-based
7470           erase(). Implement per-paragraph change lookup and
7471           accept/reject.
7472
7473         * paragraph_funcs.C: Fixup paste for change tracking.
7474
7475         * tabular.C: mark added row/columns as new.
7476
7477         * text.C: fix rowLast() to never return -1. Don't allow
7478           spellchecking of deleted text. Track transpose changes. Don't
7479           allow paragraph break or merge where appropriate.
7480
7481         * text2.C: leave cursor at end of selection after a cut.
7482
7483 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7484
7485         * text.C (getLengthMarkerHeight):
7486         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7487         visible on screen too.
7488
7489 2003-02-07  John Levon  <levon@movementarian.org>
7490
7491         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7492
7493 2003-02-05  Angus Leeming  <leeming@lyx.org>
7494
7495         * lyxserver.C (read_ready): revert my patch of 11 September last year
7496         as it sends PC cpu through the roof. Presumably this means that
7497         the lyxserver will no longer run on an Alpha...
7498
7499 2003-01-30  Angus Leeming  <leeming@lyx.org>
7500
7501         * factory.C (createInset): create an InsetCommandParam of type "index"
7502         and use it to 'do the right thing'.
7503
7504         * text2.C (getStringToIndex): ensure that cursor position is always
7505         reset to the reset_cursor position.
7506
7507 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7508
7509         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7510         disabled.
7511
7512 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7513
7514         * bufferview.C:
7515         * lyxcb.C:
7516         * lyxfunc.C: Output messages with identical spelling, punctuation,
7517         and spaces
7518
7519 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7520
7521         * MenuBackend.C (expandFormats): List only viewable export formats
7522         in "View" menu
7523
7524         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7525         message
7526
7527         * lyxfunc.C (getStatus): Make sure that formats other than
7528         "fax" can also be disabled
7529
7530 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7531
7532         * text3.C (dispatch): put the lfuns that insert insets in 3
7533         groups, and call doInsertInset with appropriate arguments.
7534         (doInsertInset): new function, that creates an inset and inserts
7535         it according to some boolean parameters.
7536
7537 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7538
7539         * buffer.C (readFile): remember to pass on 'par' when calling
7540         readFile recursively.
7541
7542 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7543
7544         * MenuBackend.C (expandFormats): add "..." to import formats.
7545
7546 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7547
7548         * paragraph.C (asString): Remove XForms RTL hacks.
7549
7550 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7551         * buffer.C: fix typo
7552
7553 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7554
7555         * Makefile.am (LIBS): delete var
7556         (lyx_LDADD): add @LIBS@ here instead.
7557
7558 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7559
7560         * Clarify the meaning of "wheel mouse jump"
7561
7562 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7563
7564         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7565         tabular in a float
7566
7567 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7568
7569         * importer.C (Loaders): do not preallocate 3 elements in the
7570         vector, since one ends up with 6 elements otherwise
7571
7572 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7573
7574         * DepTable.C (write): write the file name as last element of the
7575         .dep file (because it may contain spaces)
7576         (read): read info in the right order
7577
7578 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7579
7580         * paragraph_pimpl.C (simpleTeXBlanks):
7581         (simpleTeXSpecialChars):
7582         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7583
7584         * tabular.C (latex): add some missing case statements. Reindent.
7585
7586         * MenuBackend.C (expandToc): remove unused variable.
7587
7588 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7589
7590         * LColor.C:
7591         * LaTeX.C:
7592         * LyXAction.C:
7593         * MenuBackend.C:
7594         * buffer.C:
7595         * exporter.C:
7596         * lyxfunc.C:
7597         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7598         and the like.
7599
7600 2003-01-05  John Levon  <levon@movementarian.org>
7601
7602         * BufferView.h:
7603         * BufferView.C: add getEncoding()
7604
7605         * kbsequence.h:
7606         * kbsequence.C: do not store last keypress
7607
7608         * lyxfunc.h:
7609         * lyxfunc.C: store last keypress here instead. Pass encoding
7610           to getISOEncoded()
7611
7612 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7613
7614         * lyx_main.C (init): remove annoying error message when following
7615         symbolic links (bug #780)
7616
7617 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7618
7619         * text.C (insertChar):
7620         * lyxrc.C (getDescription): remove extra spaces
7621
7622 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7623
7624         * lyxrc.C (getDescription): remove extra spaces
7625
7626 2002-12-20  John Levon  <levon@movementarian.org>
7627
7628         * text3.C: hack fix for page up/down across tall rows
7629
7630 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7631
7632         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7633         not been invoked
7634
7635 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7636
7637         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7638         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7639         thesaurus is not compiled in
7640
7641 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7642
7643         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7644
7645 2002-12-16  Angus Leeming  <leeming@lyx.org>
7646
7647         * lyxrc.[Ch]:
7648         * lyx_main.C (init): remove override_x_deadkeys stuff.
7649
7650 2002-12-12  John Levon  <levon@movementarian.org>
7651
7652         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7653           insert. Only remove shift modifier under strict
7654           circumstances.
7655
7656 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7657
7658         * MenuBackend.C (expandToc): fix crash.
7659
7660 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7661
7662         * MenuBackend.C (expandToc): gettext on float names.
7663
7664 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7665
7666         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7667         implement bool empty() [bug 490]
7668
7669 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7670
7671         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7672
7673 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7674
7675         * several files: ws changes
7676
7677 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7678
7679         * text2.C (setCounter): clean up a bit, use boost.format.
7680         (updateCounters): initialize par upon declaration.
7681
7682         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7683         if the layout exists. We do not just store the layout any more.
7684         (SwitchLayoutsBetweenClasses): use boost.format
7685
7686 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7687
7688         * converter.C (convert): if from and to files are the same, use a
7689         temporary files as intermediary
7690
7691 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7692
7693         * commandtags.h:
7694         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7695
7696 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7697
7698         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7699
7700 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7701
7702         * tabular.C (asciiPrintCell): use string(size, char) instead of
7703         explicit loop.
7704
7705         * sgml.C (openTag): fix order of arguments to string constructor
7706         (closeTag): ditto
7707
7708         * lyxfunc.C (dispatch): use boost.format
7709
7710         * lots of files: change "c" -> 'c'
7711
7712 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7713
7714         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7715
7716 2002-11-25  Angus Leeming  <leeming@lyx.org>
7717
7718         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7719
7720         * lyx_main.C (init): compile fix.
7721
7722 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7723
7724         * lyx_cb.C (start): boost.formatify
7725         do not include <iostream>
7726
7727         * lengthcommon.C: ws only
7728
7729         * boost-inst.C,BoostFormat.h: add more explict instantations
7730
7731 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7732
7733         * lots of files: handle USE_BOOST_FORMAT
7734
7735 2002-11-21  John Levon  <levon@movementarian.org>
7736
7737         * pspell.C: fix compile
7738
7739 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7740
7741         * lyxfunc.C (dispatch): use boost::format
7742         (open): ditto
7743         (doImport): ditto
7744
7745         * lyxfont.C (stateText): use boost::format
7746
7747         * lyx_main.C (LyX): use boost::format
7748         (init): ditto
7749         (queryUserLyXDir): ditto
7750         (readRcFile): ditto
7751         (parse_dbg): ditto
7752         (typedef boost::function): use the recommened syntax.
7753
7754         * importer.C (Import): use boost::format
7755
7756         * debug.C (showLevel): use boost::format
7757
7758         * converter.C (view): use boost::format
7759         (convert): ditto
7760         (move): ditto
7761         (scanLog): ditto
7762
7763         * bufferview_funcs.C (currentState): use boost::format
7764
7765         * bufferlist.C (emergencyWrite): use boost::format
7766
7767         * buffer.C (readLyXformat2): use boost::format
7768         (parseSingleLyXformat2Token): ditto
7769
7770         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7771
7772         * LaTeX.C (run): use boost::format
7773
7774         * Chktex.C (scanLogFile): use boost::format
7775
7776         * BufferView_pimpl.C (savePosition): use boost::format
7777         (restorePosition): ditto
7778         (MenuInsertLyXFile): ditto
7779
7780         * BoostFormat.h: help file for explicit instation.
7781
7782 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7783
7784         * tabular.C (latex): Support for block alignment in fixed width
7785         columns.
7786
7787 2002-11-17  John Levon  <levon@movementarian.org>
7788
7789         * BufferView_pimpl.C:
7790         * lyx_cb.C:
7791         * lyxfunc.C: split filedialog into open/save
7792
7793 2002-11-08  Juergen Vigna  <jug@sad.it>
7794
7795         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7796         by my last patch (hopefully).
7797
7798 2002-11-08  John Levon  <levon@movementarian.org>
7799
7800         * iterators.h:
7801         * iterators.C:
7802         * buffer.h:
7803         * buffer.C:
7804         * paragraph.h:
7805         * paragraph.C:
7806         * toc.h:
7807         * toc.C: ParConstIterator, and use it (from Lars)
7808
7809 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7810
7811         * lyxtextclass.[Ch]: revise and add doxygen comments
7812
7813 2002-11-07  John Levon  <levon@movementarian.org>
7814
7815         * text.C: fix progress value for spellchecker
7816
7817         * toc.C: fix navigate menu for insetwrap inside minipage
7818
7819         * paragraph_funcs.C: added FIXME for suspect code
7820
7821 2002-11-07  John Levon  <levon@movementarian.org>
7822
7823         * BufferView_pimpl.C: fix redrawing of insets
7824           on buffer switch
7825
7826 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7827
7828         * text2.C (updateCounters): fix bug 668
7829
7830 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7831
7832         * text3.C (dispatch): Do not make the buffer dirty when moving the
7833         cursor.
7834
7835 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7836
7837         * vc-backend.C: STRCONV
7838         (scanMaster): ditto
7839
7840         * text2.C (setCounter): STRCONV
7841
7842         * paragraph.C (asString): STRCONV
7843
7844         * lyxlength.C (asString): STRCONV
7845         (asLatexString): ditto
7846
7847         * lyxgluelength.C (asString): STRCONV
7848         (asLatexString): ditto
7849
7850         * lyxfunc.C (dispatch): STRCONV
7851         (open): ditto
7852
7853         * lyxfont.C (stateText): STRCONV
7854
7855         * importer.C (Import): STRCONV
7856
7857         * counters.C (labelItem): STRCONV
7858         (numberLabel): ditto
7859         (numberLabel): remove unused ostringstream o
7860
7861         * chset.C: STRCONV
7862         (loadFile): ditto
7863
7864         * bufferview_funcs.C (currentState): STRCONV
7865
7866         * buffer.C (readFile): STRCONV
7867         (asciiParagraph): ditto
7868         (makeLaTeXFile): ditto
7869
7870         * Spacing.C (writeEnvirBegin): STRCONV
7871
7872         * LaTeXFeatures.C (getLanguages): STRCONV
7873         (getPackages): ditto
7874         (getMacros): ditto
7875         (getBabelOptions): ditto
7876         (getTClassPreamble): ditto
7877         (getLyXSGMLEntities): ditto
7878         (getIncludedFiles): ditto
7879
7880         * LaTeX.C: STRCONV
7881         (run): ditto
7882         (scanAuxFile): ditto
7883         (deplog): ditto
7884
7885         * LString.h: add the STRCONV macros
7886
7887         * BufferView_pimpl.C (savePosition): STRCONV
7888         (restorePosition): ditto
7889         (MenuInsertLyXFile): ditto
7890
7891         * vc-backend.C (scanMaster): change from submatch[...] to
7892         submatch.str(...)
7893
7894         * funcrequest.C: include config.h
7895
7896         * factory.C: include config.h
7897
7898         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7899
7900         * box.C: include config.h
7901
7902         * LaTeX.C (scanAuxFile): change from submatch[...] to
7903         submatch.str(...)
7904         (deplog): ditto
7905
7906 2002-10-25  Angus Leeming  <leeming@lyx.org>
7907
7908         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7909
7910         * ispell.[Ch] (setError): new method.
7911         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7912         Use setError() insetead of goto END.
7913
7914         * lyx_cb.C (AutoSave): move out child process into new class
7915         AutoSaveBuffer.
7916
7917 2002-10-30  John Levon  <levon@movementarian.org>
7918
7919         * text3.C: make start appendix undoable
7920
7921 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7922
7923         * lyxlength.C (inPixels): Fix returned value.
7924
7925         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7926         environment.
7927
7928 2002-10-24  Angus Leeming  <leeming@lyx.org>
7929
7930         * lyxgluelength.h: no need to forward declare BufferParams
7931         or BufferView, so don't.
7932
7933 2002-10-21  John Levon  <levon@movementarian.org>
7934
7935         * BufferView.C: menuUndo ->undo, redo
7936
7937         * BufferView.h: document, remove dead, make some methods private
7938
7939         * paragraph_funcs.h:
7940         * paragraph_funcs.C:
7941         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7942
7943         * buffer.h:
7944         * buffer.C:
7945         * sgml.h:
7946         * sgml.C: move sgml open/close tag into sgml.C
7947
7948         * bufferview_funcs.h: unused prototype
7949
7950         * lyxfunc.h:
7951         * lyxfunc.C: remove unused
7952
7953         * lyxtext.h:
7954         * text.C: remove unused
7955
7956 2002-10-21  John Levon  <levon@movementarian.org>
7957
7958         * BufferView.h:
7959         * BufferView.C:
7960         * BufferView_pimpl.h:
7961         * BufferView_pimpl.C: fix mouse wheel handling based on
7962           patch from Darren Freeman
7963
7964 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7965
7966         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7967
7968 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7969
7970         * lyxlength.C (inPixels): Fix hanfling of negative length.
7971         Fix LyXLength::MU case.
7972
7973 2002-10-16  John Levon  <levon@movementarian.org>
7974
7975         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7976
7977 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7978
7979         * converter.C (view): add support for $$i (file name) and $$p
7980         (file path) for the viewer command. If $$i is not specified, then
7981         it is appended to the command (for compatibility with old syntax)
7982
7983 2002-10-14  Juergen Vigna  <jug@sad.it>
7984
7985         * undo_funcs.C (textHandleUndo): alter the order in which the
7986         new undopar is added to the LyXText, as we have to set first
7987         the right prev/next and then add it as otherwise the rebuild of
7988         LyXText is not correct. Also reset the cursor to the right paragraph,
7989         with this IMO we could remove the hack in "redoParagraphs()".
7990
7991 2002-10-09  Angus Leeming  <leeming@lyx.org>
7992
7993         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7994         to turn off an optimisation if a new inset is to be inserted.
7995
7996 2002-10-11 André Pönitz <poenitz@gmx.net>
7997
7998         * lyxtext.h: make some functions public to allow access
7999         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8000
8001 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8002
8003         * text3.C (dispatch): when changing layout, avoid an infinite loop
8004         [bug #652]
8005
8006 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8007
8008         * lyxrc.C (read): treat a viewer or converter command of "none" as
8009         if it were empty.
8010
8011         * MenuBackend.C (expandFormats): for an update, also allow the
8012         formats that are not viewable
8013
8014         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8015         script if it is newer than the lyxrc.defaults in user directory
8016
8017 2002-10-07 André Pönitz <poenitz@gmx.net>
8018
8019         * text.C: Vitaly Lipatov's small i18n fix
8020
8021 2002-09-25  Angus Leeming  <leeming@lyx.org>
8022
8023         * ispell.h: doxygen fix.
8024
8025 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8026
8027         * buffer.h (readFile): Add a new argument to the method, to allow
8028         reading of old-format templates.
8029
8030 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8031
8032         * toc.C (getTocList): Get TOC from InsetWrap.
8033
8034 2002-09-16  John Levon  <levon@movementarian.org>
8035
8036         * lyxfunc.C: check tabular for cut/copy too
8037
8038 2002-09-12  John Levon  <levon@movementarian.org>
8039
8040         * LyXAction.C: tidy
8041
8042         * factory.h:
8043         * factory.C: add header
8044
8045         * paragraph_funcs.h:
8046         * paragraph_funcs.C: cleanup
8047
8048 2002-09-11  John Levon  <levon@movementarian.org>
8049
8050         * PrinterParams.h: odd/even default to true
8051
8052 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8053
8054         * PrinterParams.h: update printer parameters for new xforms dialog
8055
8056 2002-09-11  Angus Leeming  <leeming@lyx.org>
8057
8058         * lyxserver.C (read_ready): re-write to make it more transparent
8059         and to make it work in coherent fashion under Tru64 Unix.
8060
8061 2002-09-11  André Pönitz <poenitz@gmx.net>
8062
8063         * commandtags.h:
8064         * LyXAction.C:
8065         * text3.C: implement LFUN_WORDSEL
8066
8067 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8068
8069         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8070         make floatlist_ a boost::shared_ptr<FloatList>
8071
8072         * lyxtextclass.C: include FloatList.h
8073         (LyXTextClass): initialize floatlist_
8074         (TextClassTags): add TC_NOFLOAT
8075         (Read): match "nofloat" to TC_NOFLOAT and use it.
8076         (readFloat): modify call to floatlist_
8077         (floats): ditto
8078         (floats): ditto
8079
8080         * FloatList.[Ch] (FloatList): remove commented out float
8081         initialization.
8082         (erase): new function
8083
8084 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8085
8086         * MenuBackend.C (expandToc): fix crash when there is no document
8087         open
8088
8089 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8090
8091         * many files: Add insetwrap.
8092
8093 2002-09-09  John Levon  <levon@movementarian.org>
8094
8095         * text2.C: remove confusing and awkward depth wraparound
8096
8097 2002-09-09  John Levon  <levon@movementarian.org>
8098
8099         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8100
8101         * buffer.h:
8102         * buffer.C: remove getIncludeonlyList()
8103
8104         * paragraph.C:
8105         * lyxfunc.C: remove headers
8106
8107 2002-09-09  Juergen Vigna  <jug@sad.it>
8108
8109         * text.C (getColumnNearX): fix form Michael this is most
8110         probably a cut&paste bug.
8111
8112 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8113
8114         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8115
8116         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8117         references, ws changes.
8118
8119         * text2.C (init): update counters after init
8120         (insertParagraph): no need to set counter on idividual paragraphs.
8121         (setCounter): access the counters object in the textclass object
8122         on in the buffer object.
8123         (updateCounters): ditto
8124
8125         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8126         shared_ptr<Counters> to avoid loading counters.h in all
8127         compilation units.
8128         (LyXTextClass): initialize ctrs_
8129         (TextClassTags): add TC_COUNTER, and ...
8130         (Read): use it here.
8131         (CounterTags): new tags
8132         (readCounter): new function
8133         (counters): new funtion
8134         (defaultLayoutName): return a const reference
8135
8136         * counters.C (Counters): remove contructor
8137         (newCounter): remove a couple of unneeded statements.
8138         (newCounter): simplify a bit.
8139         (numberLabel): some small formatting changes.
8140
8141         * buffer.[Ch]: remove all traces of counters, move the Counters
8142         object to the LyXTextClass.
8143
8144 2002-09-06  Alain Castera  <castera@in2p3.fr>
8145
8146         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8147         package to set the horizontal alignment on fixed width columns.
8148
8149         * lyx_sty.C:
8150         * lyx_sty.h: added tabularnewline macro def.
8151
8152         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8153
8154 2002-09-06  John Levon  <levon@movementarian.org>
8155
8156         * LyXAction.C: tooltips for sub/superscript
8157
8158         * MenuBackend.C: a bit more verbose
8159
8160         * lyxfunc.C: tiny clean
8161
8162         * undo_funcs.C: document undo_frozen
8163
8164 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8165
8166         * counters.C (Counters): add missing algorithm counter.
8167
8168         * text2.C (setCounter): lookup the counter with layouts latexname
8169         instead of by section number.
8170         (setCounter): use a hackish way to lookup the correct enum
8171         counter.
8172         a float name->type change
8173         reset enum couners with counter name directly instead of depth value.
8174
8175         * counters.C (Counters): remove the push_backs, change to use the
8176         float type not the float name.
8177         (labelItem): remove unused string, float name->type change
8178
8179         * counters.h: don't include vector, loose the enums and sects vectors
8180
8181 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8182
8183         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8184         (Read): add float->TC_FLOAT to textclassTags
8185         (Read): and handle it in the switch
8186         (readFloat): new function
8187
8188         * FloatList.C (FloatList): comment out the hardcoded float
8189         definitions.
8190
8191         * lyxlayout.h: ws change.
8192
8193 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8194
8195         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8196
8197 2002-09-03  Angus Leeming  <leeming@lyx.org>
8198
8199         * BufferView_pimpl.h: qualified name is not allowed in member
8200         declaration: WorkArea & Pimpl::workarea() const;
8201
8202         * factory.C: added using std::endl directive.
8203
8204         * text3.C: added using std::find and std::vector directives.
8205
8206 2002-08-29  André Pönitz <poenitz@gmx.net>
8207
8208         * lyxtext.h:
8209         * text2.C: remove unused member number_of_rows
8210
8211         * Makefile.am:
8212         * BufferView2.C: remove file, move contents to...
8213         * BufferView.C: ... here
8214
8215         * BufferView_pimpl.C:
8216         * factory.C: move more inset creation to factory
8217
8218         * vspace.C: avoid direct usage of LyXText, ws changes
8219
8220         * BufferView.[Ch]:
8221                 don't provide direct access to WorkArea, use two simple
8222                 acessors haveSelction() and workHeight() instead
8223
8224
8225 2002-08-29  John Levon  <levon@movementarian.org>
8226
8227         * BufferView_pimpl.C (dispatch): do not continue when
8228           no buffer
8229
8230 2002-08-28  André Pönitz <poenitz@gmx.net>
8231
8232         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8233
8234         * BufferView.h:
8235         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8236
8237 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8238
8239         * buffer.C: increment LYX_FORMAT to 221
8240
8241         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8242         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8243
8244         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8245
8246         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8247
8248 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8249
8250         * factory.C (createInset): use LyXTextClass::floats
8251
8252         * MenuBackend.C (expandFloatListInsert):
8253         (expandFloatInsert):
8254         (expandToc):
8255
8256         * text2.C (setCounter):
8257
8258         * LaTeXFeatures.C (useFloat):
8259         (getFloatDefinitions):
8260
8261         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8262
8263         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8264         floatlist_, with accessor floats().
8265
8266         * FloatList.h: remove global FloatList
8267
8268 2002-08-26  André Pönitz <poenitz@gmx.net>
8269
8270         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8271
8272         * BufferView.h:
8273         * BufferView2.C:
8274         * BufferView_pimpl.C:
8275         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8276
8277 2002-08-25  John Levon  <levon@movementarian.org>
8278
8279         * LyXAction.C: fix margin note description
8280
8281 2002-08-24  John Levon  <levon@movementarian.org>
8282
8283         * buffer.C:
8284         * bufferlist.C:
8285         * bufferview_funcs.C:
8286         * lyxfont.C:
8287         * undo_funcs.C: cleanups
8288
8289         * lyxfunc.C: disable CUT/COPY when no selection
8290
8291 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8292
8293         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8294         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8295
8296         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8297         Add backward compatibility to "mono", "gray" and "no".
8298
8299 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8300
8301         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8302         (and file_format >= 200).
8303
8304 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8305
8306         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8307
8308 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8309
8310         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8311
8312 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8313
8314         * BufferView_pimpl.C:
8315         * LyXAction.C:
8316         * buffer.C:
8317         * commandtags.h:
8318         * lyxfunc.C:
8319         * paragraph.[Ch]:
8320         * text2.C:
8321         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8322         inset and code to make it  work with the paragraph code. The inset
8323         can be anywhere in the paragraph, but will only do the expected
8324         thing in LaTeX if the layout file contains the parameter line
8325                         OptionalArgs    1
8326         (or more generally, a nonzero value) for that layout.
8327
8328 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8329
8330         * paragraph.h: remove the declaration of undefined counters class
8331         function.
8332
8333 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8334
8335         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8336         Dr. Richard Hawkins.
8337
8338 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8339
8340         * paragraph_funcs.h: remove some unneeded includes
8341
8342         * text.C (backspace): pasteParagraph now in global scipe
8343
8344         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8345         (pasteSelection): ditto
8346
8347         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8348         * paragraph_funcs.C (pasteParagraph): ... here
8349
8350 2002-08-20  André Pönitz <poenitz@gmx.net>
8351
8352         * commandtags.h: new LFUNs for swapping/copying table row/colums
8353
8354         * LyXAction.C:
8355         * lyxfunc.C: support for new lfuns
8356
8357 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8358
8359         * tabular.C:
8360         * buffer.[Ch]: remove NO_COMPABILITY stuff
8361
8362 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8363
8364         * boost.C (throw_exception): new file, with helper function for
8365         boost compiled without exceptions.
8366
8367         * paragraph.h:
8368         * lyxlength.C:
8369         * buffer.C:
8370         * ParameterStruct.h:
8371         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8372
8373         * bufferlist.C (emergencyWriteAll): use boost bind
8374
8375         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8376
8377         * text.C: include paragraph_funcs.h
8378         (breakParagraph): breakParagraph is now in global scope
8379
8380         * paragraph_funcs.[Ch]: new files
8381
8382         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8383         global scope
8384
8385         * buffer.C: include paragraph_funcs.h
8386         (insertStringAsLines): breakParagraph is now in global scope
8387
8388         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8389         paragraph_funcs.C
8390
8391         * CutAndPaste.C: include paragraph_funcs.h
8392         (cutSelection): breakParagraphConservative is now in global scope
8393         (pasteSelection): ditto
8394
8395         * buffer.h: declare oprator== and operator!= for
8396         Buffer::inset_iterator
8397
8398         * bufferlist.C (emergencyWrite): don't use fmt(...)
8399
8400         * text3.C: add using std::endl
8401
8402         * BufferView.C (moveCursorUpdate): remove default arg
8403
8404 2002-08-20  André Pönitz <poenitz@gmx.net>
8405
8406         * buffer.[Ch]: move inline functions to .C
8407
8408         * BufferView2.C:
8409         * BufferView_pimpl.C:
8410         * text.C:
8411         * buffer.[Ch]: use improved inset_iterator
8412
8413         * buffer.C:
8414         * paragraph.[Ch]: write one paragraph at a time
8415
8416 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8417
8418         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8419         style if style is not specified.
8420
8421 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8422
8423         * text2.C (setCounter): when searching for right label for a
8424         caption, make sure to recurse to parent insets (so that a caption
8425         in a minipage in a figure float works) (bug #568)
8426
8427 2002-08-20  André Pönitz <poenitz@gmx.net>
8428
8429         * text3.C: new file for LyXText::dispatch() and helpers
8430
8431         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8432
8433         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8434
8435 2002-08-19  André Pönitz <poenitz@gmx.net>
8436
8437         * lyxtext.h:
8438         * text.C: new LyXText::dispatch()
8439
8440         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8441
8442 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8443
8444         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8445
8446         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8447         Hebrew text.
8448
8449 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8450
8451         * Makefile.am: use $(variables) instead of @substitutions@
8452
8453 2002-08-15  André Pönitz <poenitz@gmx.net>
8454
8455         * lyxfunc.C:
8456         * BufferView_pimpl.C: streamlining mathed <-> outer world
8457         interaction
8458
8459         * commandtags.h:
8460         * LyXAction.C: remove unused LFUN_MATH
8461
8462 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8463
8464         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8465
8466 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8467
8468         * paragraph.C (Paragraph): reformat a bit
8469         (cutIntoMinibuffer): use builtin InsetList function instad of
8470         doing it manually.
8471         (getInset): ditto
8472
8473         * buffer.C: include boost/bind.hpp, add using std::for_each
8474         (writeFileAscii): use ParagraphList iterators
8475         (validate): use for_each for validate traversal of paragraphs
8476         (getBibkeyList): use ParagraphList iterators
8477         (resizeInsets): use for_each to resizeInsetsLyXText for all
8478         paragraphs.
8479         (getParFromID): use ParagraphList iterators
8480
8481         * BufferView2.C (lockInset): use paragraph list and iterators
8482
8483 2002-08-14  John Levon  <levon@movementarian.org>
8484
8485         * lyxserver.C: remove spurious xforms include
8486
8487 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8488
8489         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8490
8491 2002-08-13  André Pönitz <poenitz@gmx.net>
8492
8493         * LyXAction.[Ch]:
8494         * lyxfunc.C: further cleaning
8495
8496 2002-08-13  André Pönitz <poenitz@gmx.net>
8497
8498         * funcrequest.h: new constructor
8499
8500         * funcrequest.C: move stuff here from .h
8501
8502         * Makefile.am:
8503         * BufferView_pimpl.C:
8504         * LyXAction.C:
8505         * toc.C:
8506         * lyxfunc.C: subsequent changes
8507
8508         * lyxfunc.h: new view() member function
8509
8510         * lyxfunc.C: subsequent changes
8511
8512 2002-08-13  Angus Leeming  <leeming@lyx.org>
8513
8514         * BufferView2.C:
8515         * BufferView_pimpl.C:
8516         * buffer.C:
8517         * converter.C:
8518         * importer.C:
8519         * lyxfunc.C:
8520         * lyxvc.C:
8521         * toc.C:
8522         * vc-backend.C:
8523         changes due to the changed LyXView interface that now returns references
8524         to member variables not pointers.
8525
8526 2002-08-13  Angus Leeming  <leeming@lyx.org>
8527
8528         * WordLangTuple (word, lang_code): return references to strings,
8529         not strings.
8530
8531         * BufferView.h:
8532         * SpellBase.h:
8533         * lyxtext.h: forward-declare WordLangTuple.
8534
8535         * BufferView2.C:
8536         * ispell.C:
8537         * pspell.C:
8538         * text.C: #include "WordLangTuple.h".
8539
8540         * lyxtext.h:
8541         * text.C: (selectNextWordToSpellcheck): constify return type.
8542
8543 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8544
8545         * buffer.C:
8546         * buffer.h:
8547         * lyxtext.h:
8548         * paragraph.C:
8549         * paragraph_pimpl.h:
8550         * text.C:
8551         * text2.C:
8552         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8553         suggested by Angus.
8554         Made updateCounter always count from start of buffer, and removed
8555         second argument (par).
8556         Reverted floats number display to '#'. Perhaps I'll try again when the
8557         code base is sanitized a bit.
8558
8559 2002-08-12  Angus Leeming  <leeming@lyx.org>
8560
8561         * buffer.[Ch] (getLabelList): constify.
8562
8563 2002-08-07  André Pönitz <poenitz@gmx.net>
8564
8565         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8566
8567         * funcrequest.h: extension to keep mouse (x,y) position
8568
8569 2002-08-12  Juergen Vigna  <jug@sad.it>
8570
8571         * BufferView2.C (insertErrors): forbid undo when inserting error
8572         insets.
8573
8574         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8575
8576 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8577
8578         * ParagraphList.[Ch]: new files
8579
8580         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8581
8582         * BufferView2.C (lockInset): ParagraphList changes
8583         * toc.C: ditto
8584         * text2.C: ditto
8585         * bufferlist.C: ditto
8586         * buffer.h: ditto
8587         * buffer.C: ditto
8588
8589 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8590
8591         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8592         unused class variable counter_,
8593
8594         * paragraph.[Ch] (getFirstCounter): delete unused function
8595
8596         * counters.C: include LAssert.h
8597         (reset): add a new function with no arg, change other version to
8598         not have def. arg and to not allow empty arg.
8599
8600         * text2.C (setCounter): remove empty arg from call to Counters::reset
8601
8602 2002-08-11  John Levon  <levon@movementarian.org>
8603
8604         * Makefile.am: add WordLangTuple.h
8605
8606 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8607
8608         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8609         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8610
8611         * insets/insettext.C: InsetList changes
8612
8613         * graphics/GraphicsSupport.C (operator()): InsetList changes
8614
8615         * toc.C (getTocList): InsetList changes
8616
8617         * paragraph_pimpl.[Ch]: InsetList changes
8618
8619         * paragraph.[Ch]: InsetList changes
8620
8621         * buffer.C (inset_iterator): InsetList changes
8622         (setParagraph): ditto
8623         * buffer.h (inset_iterator): ditto
8624         * iterators.C (operator++): ditto
8625         * iterators.h: ditto
8626
8627         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8628
8629         * InsetList.[Ch]: new files, most InsetList handling moved out of
8630         paragraph.C.
8631
8632         * BufferView2.C (removeAutoInsets): InsetList changes
8633         (lockInset): ditto
8634         (ChangeInsets): ditto
8635
8636 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8637
8638         * paragraph_pimpl.h (empty): new function
8639
8640         * paragraph.[Ch] (empty): new function
8641
8642         * other files: use the new Paragraph::empty function
8643
8644 2002-08-09  John Levon  <levon@movementarian.org>
8645
8646         * lyxtext.h: remove unused refresh_height
8647
8648 2002-08-09  John Levon  <levon@movementarian.org>
8649
8650         * Makefile.am:
8651         * sgml.h:
8652         * sgml.C:
8653         * buffer.C:
8654         * paragraph.h:
8655         * paragraph.C: move sgml char escaping out of paragraph
8656
8657         * paragraph.h:
8658         * paragraph.C: remove id setter
8659
8660         * buffer.C:
8661         * paragraph.C:
8662         * paragraph_pimpl.C: remove dead tex_code_break_column
8663
8664         * bufferview_funcs.C: small cleanup
8665
8666         * lyxfunc.C: remove dead proto
8667
8668         * lyxtext.h: make some stuff private. Remove some dead stuff.
8669
8670         * lyxgluelength.C: make as[LyX]String() readable
8671
8672 2002-08-08  John Levon  <levon@movementarian.org>
8673
8674         * LyXAction.h:
8675         * LyXAction.C:
8676         * MenuBackend.C:
8677         * ToolbarDefaults.C:
8678         * lyxfunc.C:
8679         * lyxrc.C:
8680         * toc.C: lyxaction cleanup
8681
8682 2002-08-08  John Levon  <levon@movementarian.org>
8683
8684         * BufferView2.C: small cleanup
8685
8686         * lyxfind.h:
8687         * lyxfind.C: move unnecessary header into the .C
8688
8689 2002-08-08  John Levon  <levon@movementarian.org>
8690
8691         * funcrequest.h: just tedious nonsense
8692
8693         * lyx_main.h:
8694         * lyx_main.C: cleanups
8695
8696         * buffer.C:
8697         * vspace.C: remove dead header lyx_main.h
8698
8699 2002-08-07  Angus Leeming  <leeming@lyx.org>
8700
8701         * Paragraph.[Ch]:
8702         * paragraph_pimpl.h:
8703         Forward declare class Counters in paragraph.h by moving the ctrs member
8704         variable into Paragraph::Pimpl.
8705         (counters): new method, returning a reference to pimpl_->ctrs.
8706
8707         * text2.C: ensuing changes.
8708
8709 2002-08-07  John Levon  <levon@movementarian.org>
8710
8711         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8712
8713         * BufferView_pimpl.C: announce X selection on double/triple
8714           click
8715
8716         * lyx_main.C: use correct bool in batch dispatch
8717
8718         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8719
8720 2002-08-07  André Pönitz <poenitz@gmx.net>
8721
8722         * funcrequest.h: new class to wrap a kb_action and its argument
8723
8724         * BufferView.[Ch]:
8725         * BufferView_pimpl[Ch]:
8726         * LaTeX.C:
8727         * LyXAction.[Ch]:
8728         * lyxfunc.[Ch]:
8729         * lyxrc.C: subsequent changes
8730
8731
8732 2002-08-07  John Levon  <levon@movementarian.org>
8733
8734         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8735           document options change.
8736
8737 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8738
8739         * counters.[Ch]
8740         * text2.C
8741         * paragraph.[Ch]
8742         * makefile.am: move counters functionality over from
8743         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8744
8745 2002-08-06  John Levon  <levon@movementarian.org>
8746
8747         * WordLangTuple.h: new file for word + language code tuple
8748
8749         * SpellBase.h:
8750         * pspell.h:
8751         * pspell.C:
8752         * ispell.h:
8753         * ispell.C:
8754         * lyxtext.h:
8755         * text.C:
8756         * text2.C:
8757         * BufferView.h:
8758         * BufferView2.C: use WordLangTuple
8759
8760         * layout.h:
8761         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8762
8763 2002-08-06  John Levon  <levon@movementarian.org>
8764
8765         * lyx_main.C: fix cmdline batch handling
8766
8767 2002-08-06  André Pönitz <poenitz@gmx.net>
8768
8769         * lyxrc.C: set default for show_banner to true
8770
8771 2002-08-06  John Levon  <levon@movementarian.org>
8772
8773         * pspell.C: fix a crash, and allow new aspell to work
8774
8775 2002-08-06  John Levon  <levon@movementarian.org>
8776
8777         * lyxfunc.C:
8778         * kbmap.C: small cleanup
8779
8780         * vspace.h:
8781         * vspace.C: add const
8782
8783 2002-08-05  John Levon  <levon@movementarian.org>
8784
8785         * LyXAction.C: back to tabular-insert
8786
8787 2002-08-04  John Levon  <levon@movementarian.org>
8788
8789         * BufferView.h:
8790         * BufferView.C: cosmetic change
8791
8792         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8793
8794         * bufferlist.C:
8795         * buffer.h:
8796         * buffer.C:
8797         * lyxcb.h:
8798         * lyxcb.C:
8799         * lyxserver.C:
8800         * lyxvc.C:
8801         * vc-backend.C:
8802         * BufferView2.C: purge all "Lyx" not "LyX" strings
8803
8804         * lyxcursor.h:
8805         * lyxcursor.C: attempt to add some documentation
8806
8807         * lyxfunc.C:
8808         * commandtags.h:
8809         * LyXAction.C:
8810         * ToolbarDefaults.C:
8811         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8812           merge with LFUN_TABULAR_INSERT
8813
8814         * Makefile.am:
8815         * SpellBase.h:
8816         * ispell.h:
8817         * ispell.C:
8818         * pspell.h:
8819         * pspell.C: split up i/pspell implementations into separate
8820           files, many cleanups
8821
8822         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8823
8824         * text2.C: some cleanup
8825
8826         * lyxfunc.C: don't check for isp_command == "none" any more, it
8827           didn't make any sense
8828
8829 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8830
8831         * counters.[Ch]
8832         * text2.C
8833         * paragraph.[Ch]
8834         * makefile.am: move counters functionality over
8835         from text2.C/paragraph.[Ch] to counters.[Ch], and
8836         make proper C++.
8837 2002-08-02  John Levon  <levon@movementarian.org>
8838
8839         * buffer.C: s/lyxconvert/lyx2lyx/
8840
8841 2002-08-02  Angus Leeming  <leeming@lyx.org>
8842
8843         * lyxlex.C: revert John's change as it breaks reading of the user
8844         preamble.
8845
8846 2002-08-02  Angus Leeming  <leeming@lyx.org>
8847
8848         * importer.C (Import):
8849         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8850         changes due to LyXView::view() now returning a boost::shared_ptr.
8851
8852 2002-08-02  John Levon  <levon@movementarian.org>
8853
8854         * lyxlex.C: small cleanup
8855
8856 2002-08-02  John Levon  <levon@movementarian.org>
8857
8858         * text2.C (status): small cleanup, no logic change
8859
8860 2002-08-01  John Levon  <levon@movementarian.org>
8861
8862         * buffer.h:
8863         * buffer.C (writeFile): don't output alerts, caller
8864           handles this
8865
8866         * bufferlist.C:
8867         * lyx_cb.C: from above
8868
8869         * lyxfunc.C: allow to open non-existent files
8870
8871 2002-07-31  John Levon  <levon@movementarian.org>
8872
8873         * lyxserver.C: don't let incidental errors get
8874           in the way (errno)
8875
8876 2002-07-30  John Levon  <levon@movementarian.org>
8877
8878         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8879
8880 2002-07-30  John Levon  <levon@movementarian.org>
8881
8882         * lyxserver.h:
8883         * lyxserver.C: remove I/O callback too
8884
8885 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8886
8887         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8888         log.
8889
8890 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8891
8892         * many files: strip,frontStrip -> trim,ltrim,rtrim
8893
8894 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8895
8896         * PrinterParams.h: remove extern containsOnly, and include
8897         support/lstrings.h instead.
8898
8899         * LaTeX.C (scanAuxFile): modify because of strip changes
8900         (deplog): ditto
8901         * buffer.C (makeLaTeXFile): ditto
8902         * bufferparams.C (writeFile): ditt
8903         * lyxfont.C (stateText): ditto
8904         * lyxserver.C (read_ready): ditto
8905         * vc-backend.C (scanMaster): ditto
8906
8907         * BufferView_pimpl.h: ws changes
8908
8909         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8910
8911 2002-07-26  André Pönitz <poenitz@gmx.net>
8912
8913         * kb_sequence.C: remove unnedred usings
8914
8915 2002-07-26  Juergen Vigna  <jug@sad.it>
8916
8917         * lyxfind.C (LyXReplace): we have to check better if the returned
8918         text is not of theLockingInset()->getLockingInset().
8919
8920 2002-07-25  Juergen Vigna  <jug@sad.it>
8921
8922         * lyxfind.C (LyXReplace): don't replace if we don't get the
8923         right LyXText.
8924
8925         * undo_funcs.C (createUndo): remove debugging code.
8926
8927 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8928
8929         * buffer.C (parseSingleLyXformat2Token): Use default placement
8930         when reading old floats.
8931
8932         * FloatList.C (FloatList): Change the default placement of figure
8933         and tables to "tbp".
8934
8935 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8936
8937         * MenuBackend.C: using std::max
8938
8939 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8940
8941         * MenuBackend.C (expandToc):
8942         (expandToc2): code moved from xforms menu frontend. It is now
8943         generic and TOCs are transparent to menu frontends.
8944
8945 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8946
8947         * toc.C (getTocList): protect against buf=0
8948
8949         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8950         Menu as first parameter. Now, this calls itself recursively to
8951         expand a whole tree (this will be useful for TOC handling)
8952         (expandFloatInsert): remove 'wide' version of floats
8953
8954         * MenuBackend.h (submenuname): returns the name of the submenu.
8955         (submenu): returns the submenu itself, provided it has been
8956         created by MenuBackend::expand
8957
8958 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8959
8960         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8961         insets which have noFontChange == true. (bug #172)
8962
8963 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8964
8965         * BufferView_pimpl.C: add connection objects and use them...
8966         (Pimpl): here.
8967
8968 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8969
8970         * MenuBackend.C (expandLastfiles):
8971         (expandDocuments):
8972         (expandFormats):
8973         (expandFloatListInsert):
8974         (expandFloatInsert):
8975         (expand): split expand in parts
8976
8977 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8978
8979         * lyx_gui.C: use lyx_gui::exit()
8980
8981 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8982
8983         * LyXAction.C: show the failing pseudo action
8984
8985 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8986
8987         * buffer.C (readFile): Run the lyxconvert script in order to read
8988         old files.
8989
8990 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8991
8992         * LyXAction.C:
8993         * commandtags.h:
8994         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8995
8996 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8997
8998         * LyXAction.C:
8999         * commandtags.h:
9000         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9001
9002 2002-07-22  Herbert Voss  <voss@lyx.org>
9003
9004         * lengthcommon.C:
9005         * lyxlength.[Ch]: add support for the vertical lengths
9006
9007 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9008
9009         * toc.[Ch]: std:: fixes
9010
9011 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9012
9013         * lyxrc.C: do not include lyx_main.h
9014
9015         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9016         for layouts
9017
9018         * lyxrc.C:
9019         * encoding.C:
9020         * bufferlist.C:
9021         * BufferView2.C: include "lyxlex.h"
9022
9023         * tabular.h:
9024         * bufferparams.h: do not #include "lyxlex.h"
9025
9026         * lyxtextclasslist.C (Add): remove method
9027         (classlist): renamed to classlist_
9028
9029         * paragraph_pimpl.C:
9030         * paragraph.C:
9031         * text2.C:
9032         * CutAndPaste.C:
9033         * bufferview_funcs.C:
9034         * bufferlist.C:
9035         * text.C:
9036         * LaTeXFeatures.C:
9037         * buffer.C:
9038         * toc.C (getTocList): use BufferParams::getLyXTextClass
9039
9040         * toc.C (getTocList): use InsetFloat::addToToc
9041
9042         * toc.[Ch]: new files, containing helper functions to handle table
9043         of contents
9044
9045         * lyxfunc.C (dispatch): no need to remove spaces around command
9046         given as a string
9047         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9048         first command of the sequence; it is not very clever, but I do not
9049         have a better idea, actually
9050
9051         * LyXAction.C (LookupFunc): make sure to remove space at the
9052         beginning and end of the command
9053
9054 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9055
9056         * MenuBackend.C (getMenubar): new method: return the menubar of
9057         this menu set
9058         (read): treat differently reading of menu and menubar (in
9059         particular, the menubar has no name now)
9060         (Menu::menubar): remove
9061
9062         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9063         saving is finished
9064
9065 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9066
9067         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9068         a bibitem inset in a RTL paragraph.
9069
9070 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9071
9072         * paragraph_pimpl.C: constify
9073
9074         * BufferView_pimpl.C:
9075         * LaTeX.C:
9076         * lyxfunc.C: fix dispatch in a nicer way
9077
9078 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9079
9080         * lyxfunc.C (dispatch):
9081         * BufferView_pimpl.C:
9082         * BufferView_pimpl.h:
9083         * BufferView.C:
9084         * BufferView.h: rename Dispatch() to dispatch()
9085
9086         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9087
9088         * lyxlayout.C (Read): honor DependsOn tag
9089
9090         * lyxlayout.[Ch] (depends_on): new method
9091
9092         * version.C.in: update lyx_docversion
9093
9094         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9095
9096         * paragraph.C (validate): remove from here...
9097         * paragraph_pimpl.C (validate): ... and move here
9098         (isTextAt): make it const
9099
9100         * buffer.C (getLists): ws cleanup
9101
9102 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9103
9104         * language.C (read): Use iso8859-1 encoding in latex_lang
9105         (this prevents LyX from crashing when using iso10646-1 encoding).
9106
9107 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9108
9109         * text2.C (toggleInset): if cursor is inside an inset, close the
9110         inset and leave cursor _after_ it
9111
9112 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9113
9114         * lyxfunc.C: move minibuffer completion handling out of here
9115
9116 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9117
9118         * BufferView_pimpl.C:
9119         * LaTeX.C: fix dispatch calls
9120
9121 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9122
9123         * text.C (drawChars): Fix Arabic text rendering.
9124
9125 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9126
9127         * LyXAction.C:
9128         * commandtags.h:
9129         * lyxfunc.C: remove message-push/pop
9130
9131         * lyxserver.C:
9132         * lyxfunc.h:
9133         * lyxfunc.C: rationalise some code by removing verboseDispatch
9134           in favour of a bool argument to dispatch()
9135
9136 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9137
9138         * lyx_main.C (init): make sure to read symlinks as absolute paths
9139
9140 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9141
9142         * lyxfunc.h:
9143         * lyxfunc.C: no need for commandshortcut to be a member
9144
9145 2002-07-15  André Pönitz <poenitz@gmx.net>
9146
9147         * converter.C: add support for $$s (scripts from lib/scripts dir)
9148         * lyx_main.C: white space
9149
9150 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9151
9152         * bufferlist.C:
9153         * lyxrc.h:
9154         * lyxrc.C: remove second exit confirmation
9155
9156 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9157
9158         * BufferView.h:
9159         * BufferView.C:
9160         * BufferView2.C:
9161         * BufferView_pimpl.h:
9162         * BufferView_pimpl.C:
9163         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9164
9165 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9166
9167         * MenuBackend.C (expand): add numeric shortcuts to document menu
9168
9169         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9170
9171 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9172
9173         * lyxfont.C (setLyXFamily):
9174         (setLyXSeries):
9175         (setLyXShape):
9176         (setLyXSize):
9177         (setLyXMisc):
9178         (lyxRead):
9179         * debug.C (value):
9180         * buffer.C (asciiParagraph): use ascii_lowercase
9181
9182 2002-07-15  Mike Fabian  <mfabian@suse.de>
9183
9184         * lyxlex_pimpl.C (search_kw):
9185         * lyxlex.C (getLongString):
9186         * converter.h (operator<):
9187         * converter.C (operator<):
9188         * buffer.C (parseSingleLyXformat2Token):
9189         (asciiParagraph):
9190         * ToolbarDefaults.C (read):
9191         * MenuBackend.C (checkShortcuts):
9192         (read):
9193         * LColor.C (getFromGUIName):
9194         (getFromLyXName): use the compare_ascii_no_case instead of
9195         compare_no_case, because in turkish, 'i' is not the lowercase
9196         version of 'I', and thus turkish locale breaks parsing of tags.
9197
9198 2002-07-16  Angus Leeming  <leeming@lyx.org>
9199
9200         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9201         now takes a Buffer const & argument.
9202
9203 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9204
9205         * BufferView.C (resize): check there's a buffer to resize
9206
9207 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9208
9209         * lyxfunc.C: remove dead code
9210
9211         * lyxserver.h:
9212         * lyxserver.C: use lyx_guii::set_read_callback
9213
9214 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9215
9216         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9217         an inset in a RTL paragraph.
9218
9219 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9220
9221         * lyxfunc.C: repaint after a font size update
9222
9223 2002-07-15  André Pönitz <poenitz@gmx.net>
9224
9225         * lyxlength.C: inBP should be able to return negative values
9226
9227 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9228
9229         * lyxfunc.C: use lyx_gui::update_fonts()
9230
9231 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9232
9233         * lyxfunc.C: use lyx_gui::update_color()
9234
9235 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9236
9237         * bufferlist.C:
9238         * lyxfunc.h:
9239         * lyxfunc.C:
9240         * lyxrc.h:
9241         * lyxrc.C: remove file->new asks for name option, and let
9242           buffer-new take an argument
9243
9244 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9245
9246         * BufferView_pimpl.C: remove unneeded extra repaint()
9247
9248 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9249
9250         * LyXAction.C: allow command-sequence with NoBuffer
9251
9252         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9253
9254 2002-07-10  Angus Leeming  <leeming@lyx.org>
9255
9256         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9257
9258 2002-07-09  Angus Leeming  <leeming@lyx.org>
9259
9260         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9261
9262 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9263
9264         * lengthcommon.h: whitespace
9265
9266         * lyxfunc.C: update scrollbar after goto paragraph
9267
9268         * lyxtext.h: factor out page break drawing, and fix it so
9269           page break/added space paints as selected nicely
9270
9271 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9272
9273         * BufferView_pimpl.C: add FIXMEs, clean up a little
9274
9275 2002-07-09  André Pönitz <poenitz@gmx.net>
9276
9277         * lyxfont.[Ch]: support for wasy symbols
9278
9279 2002-07-08  André Pönitz <poenitz@gmx.net>
9280
9281         * BufferView_pimpl.C: apply John's patch for #93.
9282
9283 2002-07-05  Angus Leeming  <leeming@lyx.org>
9284
9285         * BufferView_pimpl.C (buffer): generate previews if desired.
9286
9287         * LColor.h: add "preview" to the color enum.
9288
9289         * LColor.C (LColor): add a corresponding entry to the items array.
9290
9291         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9292         with this buffer.
9293
9294 2002-07-05  Angus Leeming  <leeming@lyx.org>
9295
9296         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9297         The body of the code is now in the method that is passed an ostream &
9298         rather than a file name.
9299         Pass an additional only_preamble parameter, useful for the forthcoming
9300         preview stuff.
9301
9302 2002-07-03  André Pönitz <poenitz@gmx.net>
9303
9304         * lyxfunc.C: simplify getStatus() a bit for math stuff
9305
9306 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9307
9308         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9309
9310 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9311
9312         * text.C (changeRegionCase): do not change case of all the
9313         document when region ends at paragraph end (bug #461)
9314
9315 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9316
9317         * paragraph.C (startTeXParParams):
9318         (endTeXParParams): add \protect when necessary
9319
9320 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9321
9322         * BufferView_pimpl.C (workAreaExpose): remove warning
9323
9324 2002-06-27  Angus Leeming  <leeming@lyx.org>
9325
9326         * Makefile.am: add lyxlayout_ptr_fwd.h.
9327
9328 2002-06-26  André Pönitz <poenitz@gmx.net>
9329
9330         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9331
9332 2002-06-25  Angus Leeming  <leeming@lyx.org>
9333
9334         * lyxfunc.C (dispatch): Comment out the call to
9335         grfx::GCache::changeDisplay. The method no longer exists now that the
9336         pixmap generation part of the graphics loader has been moved into
9337         InsetGraphics.
9338
9339 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9340
9341         * text2.C: layout as layout
9342
9343         * text.C: layout as layout
9344
9345         * tabular.C (OldFormatRead): layout as layout
9346
9347         * paragraph_pimpl.C (TeXDeeper): layout as layout
9348         (realizeFont): layout as layout
9349
9350         * paragraph.C (writeFile): layout as layout
9351         (validate): layout as layout
9352         (getFont): layout as layout
9353         (getLabelFont): layout as layout
9354         (getLayoutFont): layout as layout
9355         (breakParagraph): layout as layout
9356         (stripLeadingSpaces): layout as layout
9357         (getEndLabel): layout as layout
9358         (getMaxDepthAfter): layout as layout
9359         (applyLayout): layout as layout
9360         (TeXOnePar): layout as layout
9361         (simpleTeXOnePar): layout as layout
9362         (TeXEnvironment): layout as layout
9363         (layout): layout as layout
9364         (layout): layout as layout
9365
9366         * lyxtextclass.C (compare_name): new functor to work with
9367         shared_ptr, layout as layout
9368         (Read): layout as layout
9369         (hasLayout): layout as layout
9370         (operator): layout as layout
9371         (delete_layout): layout as layout
9372         (defaultLayout): layout as layout
9373
9374         * lyxlayout_ptr_fwd.h: new file
9375
9376         * lyxlayout.C (Read): layout as layout
9377
9378         * lyx_cb.C (MenuInsertLabel): layout as layout
9379
9380         * bufferlist.C (newFile): layout as layout
9381
9382         * buffer.C (readLyXformat2): layout as layout
9383         (parseSingleLyXformat2Token): layout as layout
9384         (insertStringAsLines): layout as layout
9385         (asciiParagraph): layout as layout
9386         (latexParagraphs): layout as layout
9387         (makeLinuxDocFile): layout as layout
9388         (simpleLinuxDocOnePar): layout as layout
9389         (makeDocBookFile): layout as layout
9390         (simpleDocBookOnePar): layout as layout
9391         (getLists): layout as layout
9392
9393         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9394
9395         * CutAndPaste.C (cutSelection): layout as layout
9396         (pasteSelection): layout as layout
9397         (SwitchLayoutsBetweenClasses): layout as layout
9398
9399         * BufferView_pimpl.C (Dispatch): layout as layout
9400         (smartQuote): layout as layout
9401
9402         * BufferView2.C (unlockInset): layout as layout
9403
9404 2002-06-24  André Pönitz <poenitz@gmx.net>
9405
9406         * lyxfunc.C: fix #487
9407
9408 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9409
9410         * lyxrc.h:
9411         * lyxrc.C:
9412         * lyxfunc.C: remove display_shortcuts, show_banner
9413
9414 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9415
9416         * Buffer_pimpl.C: oops, update on resize
9417
9418 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9419
9420         * buffer.C:
9421         * converter.C:
9422         * exporter.C:
9423         * lyxfunc.C:
9424         * BufferView.h:
9425         * BufferView.C: use repaint()
9426
9427         * BufferView_pimpl.h:
9428         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9429           as it's a clearer description. Remove superfluous
9430           redraws.
9431
9432 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9433
9434         * text.C: fix bug 488. Not ideal, but getting
9435           getWord() to work properly for the insets that
9436           matter is more difficult ...
9437
9438 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9439
9440         * BufferView_pimpl.C:
9441         * LyXAction.C:
9442         * commandtags.h:
9443         * lyxfunc.C: remove the six million index lyxfuncs to just
9444           one, and DTRT (bug 458)
9445
9446 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9447
9448         * BufferView.h:
9449         * BufferView.C:
9450         * BufferView_pimpl.h:
9451         * BufferView_pimpl.C: clean up resize() stuff,
9452           and unnecessary updateScreen()s
9453
9454 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9455
9456         * BufferView.h:
9457         * BufferView.C:
9458         * BufferView_pimpl.h:
9459         * BufferView_pimpl.C:
9460         * lyxfind.h:
9461         * lyxfind.C:
9462         * minibuffer.C: remove focus management of workarea,
9463           not needed. Use screen's greyOut()
9464
9465 2002-06-17  Herbert Voss  <voss@lyx.org>
9466
9467         * converter.C: (convert) do not post a message, when converting
9468         fails, let the calling function decide what to do in this case
9469
9470 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9471
9472         * lyxfunc.C: tidy up a little
9473
9474 2002-06-16    <alstrup@diku.dk>
9475
9476         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9477         Got rid of FORMS_H_LOCATION include. Now we are
9478         GUII.
9479
9480 2002-06-15  LyX Development team  <lyx@rilke>
9481
9482         * buffer.[Ch] (sgmlOpenTag):
9483         (sgmlCloseTag): Added support for avoiding pernicious mixed
9484         content. Return number of lines written.
9485
9486         (makeLinuxDocFile):
9487         (makeDocBookFile): Fixed calls to sgml*Tag.
9488         Simple white space clean.
9489
9490         (simpleDocBookOnePar): Simple white space clean.
9491
9492         * tabular.[Ch] (docBook): Renamed to docbook and got another
9493         argument to related with the pernicious mixed content.
9494
9495         (docbookRow): Fixed calls for docbook inset method.
9496
9497 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9498
9499         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9500         so it's X11 independent.
9501
9502         * kb*.[Ch]: ditto.
9503
9504         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9505
9506 2002-06-15  Lyx Development team  <lyx@electronia>
9507
9508         * intl.h: Renamed getTrans to getTransManager.
9509
9510 2002-06-14  Angus Leeming  <leeming@lyx.org>
9511
9512         * Makefile.am: nuke forgotten stl_string_fwd.h.
9513
9514 2002-06-12  Angus Leeming  <leeming@lyx.org>
9515
9516         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9517
9518 2002-06-13  Angus Leeming  <leeming@lyx.org>
9519
9520         * LaTeX.C:
9521         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9522
9523 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9524
9525         * kbmap.C (getiso): add support for cyrillic and greek
9526
9527 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9528
9529         * BufferView.h:
9530         * BufferView.C:
9531         * BufferView_pimpl.h:
9532         * BufferView_pimpl.C: move bogus scrolling logic
9533           to xforms
9534
9535 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9536
9537         * lyxfunc.C:
9538         * BufferView_pimpl.C: view->resize() change
9539
9540 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9541
9542         * BufferView_pimpl.C: topCursorVisible
9543           prototype change
9544
9545 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9546
9547         * Makefile.am:
9548         * lyx_gui.h:
9549         * lyx_gui.C: move to frontends/
9550
9551         * main.C:
9552         * lyx_main.h:
9553         * lyx_main.C: changes from above
9554
9555 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9556
9557         * intl.C:
9558         * intl.h:
9559         * kbmap.C:
9560         * kbsequence.C:
9561         * lyx_cb.C:
9562         * lyx_main.C: minor tidy
9563
9564 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9565
9566         * BufferView_pimpl.h:
9567         * BufferView_pimpl.C:
9568         * BufferView.h:
9569         * BufferView.C: make painter() const,
9570           remove dead code
9571
9572         * BufferView2.C: use screen() accessor
9573
9574         * lyx_main.h:
9575         * lyx_main.C: some minor cleanup
9576
9577 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9578
9579         * BufferView_pimpl.h:
9580         * BufferView_pimpl.C: remove enter/leaveView,
9581           use workHeight()
9582
9583 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9584
9585         * BufferView.h:
9586         * BufferView.C:
9587         * BufferView2.C:
9588         * BufferView_pimpl.h:
9589         * BufferView_pimpl.C: only construct screen once,
9590           rename
9591
9592         * lyxrc.C: remove pointless comment
9593
9594 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9595
9596         * BufferView.h:
9597         * BufferView.C: remove active() and belowMouse()
9598
9599         * BufferView_pimpl.h:
9600         * BufferView_pimpl.C: use workarea() not workarea_,
9601           and make it use a scoped_ptr instead
9602
9603 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9604
9605         * lyx_gui.C: add debug message on BadWindow
9606
9607 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9608
9609         * sp_spell.C: fdopen is not part of the C++ standard.
9610
9611         * paragraph.C (InsetIterator): use >= instead of ==
9612
9613 2002-06-07  Angus Leeming  <leeming@lyx.org>
9614
9615         Fixes needed to compile with Compaq cxx 6.5.
9616         * BufferView_pimpl.C:
9617         * DepTable.C:
9618         * buffer.C:
9619         * converter.C:
9620         * encoding.C:
9621         * lyx_gui.C:
9622         * lyx_main.C:
9623         * lyxtextclasslist.C:
9624         * minibuffer.C:
9625         * sp_spell.C:
9626         * tabular_funcs.C:
9627         * vc-backend.C:
9628         all c-library variables have been moved into namespace std. Wrap
9629         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9630
9631         * lyxlength.C:
9632         * tabular-old.C:
9633         * tabular.C:
9634         Add a using std::abs declaration.
9635
9636         * kbmap.h (modifier_pair):
9637         * paragraph.h (InsetTable, InsetList):
9638         * lyxfont.h (FontBits):
9639         type definition made public.
9640
9641         * bufferlist.C (emergencyWriteAll): the compiler complains that
9642         there is more than one possible lyx::class_fun template to choose from.
9643         I re-named the void specialisation as lyx::void_class_fun.
9644
9645         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9646
9647         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9648         the compiler is is unable to find tostr in write_attribute.
9649
9650 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9651
9652         * buffer.C (sgmlError): hide #warning
9653
9654 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9655
9656         * xtl/*: get rid of xtl, which is not in use anyway
9657
9658         * LyXAction.C (init):
9659         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9660         were unimplemented xtl experimentation
9661
9662 2002-06-04  André Pönitz <poenitz@gmx.net>
9663
9664         * lyxfunc.C: disable array operation on simple formulae
9665
9666 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9667
9668         * converter.C: constify a bit
9669
9670 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9671
9672         * lyx_gui.C: check xforms version correctly
9673
9674 2002-04-30  Herbert Voss  <voss@lyx.org>
9675
9676         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9677         "keep" option
9678
9679 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9680
9681         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9682           attempt to register it with a VCS)
9683
9684 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9685
9686         * lyx_main.C (init): honor variables LYX_DIR_13x and
9687         LYX_USERDIR_13x
9688
9689 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9690
9691         * buffer.h:
9692         * buffer.C:
9693         * lyx_main.C: fix a crash on bad command line,
9694           and give a useful exit status on error
9695
9696         * lyxfunc.C (doImport): allow -i lyx to work
9697
9698 2002-03-30  André Pönitz <poenitz@gmx.net>
9699
9700         * lyxfunc.C: mathed font changes
9701
9702 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9703
9704         * LaTeX.C:
9705         * importer.h:
9706         * importer.C:
9707         * lyx_sty.h:
9708         * lyx_sty.C:
9709         * lyxlex.C:
9710         * lyxrow.h:
9711         * lyxtext.h:
9712         * paragraph.h:
9713         * paragraph.C:
9714         * texrow.h:
9715         * texrow.C:
9716         * text.C:
9717         * trans_mgr.h: srcdocs, and some minor cleanups
9718
9719 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9720
9721         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9722         call getFont all the time)
9723
9724 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9725
9726         * switch from SigC signals to boost::signals
9727
9728 2002-05-29  André Pönitz <poenitz@gmx.net>
9729
9730         * paragraph_pimpl.C (getChar): don't call size() too often...
9731
9732 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9733
9734         * paragraph_pimpl.C (insertChar): do not try to update tables when
9735         appending (pos == size())
9736
9737         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9738         in order to reduce drastically the number of comparisons needed to
9739         parse a large document
9740
9741 2002-05-29  André Pönitz <poenitz@gmx.net>
9742
9743         * text.C:
9744         * text2.C:
9745         * lyxtextclass.C:
9746         * sp_pspell.h:
9747         * textclasslist.[Ch]:
9748         * sp_ispell.h: whitespace change
9749
9750 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9751
9752         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9753         lyxaction directly now.
9754
9755 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9756
9757         * trans.C:
9758         * lyxfont.C:
9759         * lyxvc.C: remove unused headers
9760
9761 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9762
9763         * Makefile.am:
9764         * buffer.h:
9765         * undostack.h:
9766         * undostack.C:
9767         * undo_funcs.h:
9768         * undo_funcs.C: some cleanups. Use shared_ptr
9769           and a template for the undo stacks.
9770
9771 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9772
9773         * BufferView_pimpl.h:
9774         * BufferView_pimpl.C:
9775         * kbmap.h:
9776         * kbmap.C:
9777         * kbsequence.h:
9778         * kbsequence.C:
9779         * lyxfunc.h:
9780         * lyxfunc.C:
9781         * text2.C: use key_state/mouse_state
9782
9783 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9784
9785         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9786         and LSubstring
9787
9788         * chset.C: change include order
9789         (loadFile): use boost regex and get rid of LRegex and LSubstring
9790
9791         * Makefile.am (BOOST_LIBS): new variable
9792         (lyx_LDADD): use it
9793
9794         * LaTeX.C: change include order.
9795         (scanAuxFile): use boost regex and get rid of LRegex and
9796         LSubstring
9797         (deplog): ditto
9798
9799 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9800
9801         * ColorHandler.h:
9802         * ColorHandler.C:
9803         * FontInfo.h:
9804         * FontInfo.C: moved to frontends/xforms/
9805
9806         * FontLoader.h:
9807         * FontLoader.C: moved into frontends for GUIIzation
9808
9809         * Makefile.am:
9810         * lyx_gui.C:
9811         * lyxfont.C:
9812         * lyxfunc.C: changes from above
9813
9814 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9815
9816         * LColor.C: remove spurious X include
9817
9818         * BufferView_pimpl.C:
9819         * Makefile.am:
9820         * font.h:
9821         * font.C:
9822         * text.C:
9823         * text2.C: move font metrics to frontends/
9824
9825 2002-05-24  Juergen Vigna  <jug@sad.it>
9826
9827         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9828         setting the undo_cursor.
9829
9830         * ParagraphParameters.h: include local includes first.
9831
9832 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9833
9834         * BufferView_pimpl.C:
9835         * BufferView_pimpl.h:
9836         * Makefile.am:
9837         * WorkArea.h:
9838         * WorkArea.C:
9839         * screen.C: move WorkArea into frontends/
9840
9841         * lyxscreen.h:
9842         * screen.C:
9843         * text.C:
9844         * BufferView.C:
9845         * BufferView2.C: move LyXScreen into frontends/
9846
9847         * lyxlookup.h:
9848         * lyxlookup.C:
9849         * lyx_gui.C: move lyxlookup into frontends/xforms/
9850
9851 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9852
9853         * BufferView2.C:
9854         * BufferView_pimpl.C:
9855         * FontLoader.C:
9856         * LyXView.h:
9857         * LyXView.C:
9858         * Makefile.am:
9859         * WorkArea.C:
9860         * XFormsView.h:
9861         * XFormsView.C:
9862         * buffer.C:
9863         * bufferlist.C:
9864         * bufferview_funcs.C:
9865         * converter.C:
9866         * importer.C:
9867         * lyx_cb.C:
9868         * lyx_gui.C:
9869         * lyx_main.C:
9870         * lyx_find.C:
9871         * lyxfunc.C:
9872         * lyxvc.C:
9873         * minibuffer.C:
9874         * text.C:
9875         * text2.C:
9876         * trans.C:
9877         * vc-backend.C: move LyX/XFormsView into frontends/
9878
9879 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9880
9881         * Makefile.am:
9882         * PainterBase.C:
9883         * PainterBase.h:
9884         * Painter.C:
9885         * Painter.h:
9886         * WorkArea.C:
9887         * WorkArea.h:
9888         * screen.C:
9889         * tabular.C:
9890         * text.C:
9891         * text2.C: move Painter to frontends/
9892
9893 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9894
9895         * buffer.C: comment out some some code that depend upon lyx_format
9896         < 220
9897
9898         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9899         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9900
9901         * buffer.h (NO_COMPABILITY): turn off compability
9902
9903         * ColorHandler.C: include scoped_array.hpp
9904
9905         * font.C: Use more specific smart_ptr header.
9906         * Painter.C: ditto
9907         * gettext.C: ditto
9908         * ShareContainer.h: ditto
9909         * lyx_main.h: ditto
9910         * kbmap.h: ditto
9911         * FontInfo.h: ditto
9912         * BufferView_pimpl.h: ditto
9913         * ColorHandler.h: ditto
9914
9915         * kbmap.C (defkey): change call to shared_ptr::reset
9916
9917 2002-05-21  Juergen Vigna  <jug@sad.it>
9918
9919         * buffer.C (insertErtContents): fix to insert ert asis if it is
9920         non empty. Skip it completely if it contains only whitespaces.
9921
9922 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9923
9924         * BufferView_pimpl.C:
9925         * BufferView2.C: clear selection on paste (bug 393)
9926
9927 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9928
9929         * DepTable.C: include ctime
9930
9931 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9932
9933         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9934
9935 2002-05-14  Juergen Vigna  <jug@sad.it>
9936
9937         * text.C (breakParagraph): fixed function to honor the keepempty
9938         layout in the right maner and also to permit the right breaking
9939         algorithm on empty or non empyt keepempty paragraphs.
9940
9941         * paragraph.C (breakParagraph): we have to check also if the par
9942         is really empty (!size()) for isempty otherwise we do the wrong
9943         paragraph break.
9944
9945 2002-05-10  Juergen Vigna  <jug@sad.it>
9946
9947         * buffer.[Ch] : The following are only changes to the ert
9948         compatibility read reading old LaTeX layout and font stuff and
9949         convert it to ERTInsets.
9950
9951         * buffer.h: added isErtInset().
9952
9953         * buffer.C (struct ErtComp): add a fromlayout bool to check
9954         if we're inside a LaTeX layout.
9955         (isErtInset): new helper function.
9956         (insertErtContents): look for other ert insets before this one
9957         and insert the contents there, so that we don't have subsequent
9958         ERT insets with nothing between them. This way we create only one
9959         inset with multiple paragraphs. Also check if we don't insert only
9960         spaces ' ' as they are ignored anyway afterwards in the .tex file
9961         so if we have only spaces we will ignore this latex part in the
9962         new file.
9963         (parseSingleLyXformat2Token \\layout): better compatibility when
9964         reading layout-latex stuff.
9965         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9966         language tag.
9967         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9968         stuff after reading the inset only get the information back from
9969         the stack.
9970
9971 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9972
9973         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9974
9975         * LaTeXFeatures.C (getBabelOptions): New method.
9976
9977 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9978
9979         * BufferView_pimpl.C (Dispatch): work around missing argument for
9980         'layout'
9981
9982 2002-05-08  Juergen Vigna  <jug@sad.it>
9983
9984         * text.C (leftMargin): handle paragraph leftindent.
9985
9986         * paragraph.C (writeFile): write the new \\leftindent tag.
9987         (validate): handle leftindent code.
9988         (TeXEnvironment): handle paragraphleftindent code again.
9989
9990         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9991
9992         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9993         for paragrap_extra indent code and new token \\leftindent.
9994         (latexParagraphs): handle the leftindent as environment.
9995
9996         * ParameterStruct.h: added leftindent support.
9997
9998         * ParagraphParameters.C (leftIndent): added support functions for
9999         the paragraph left indent.
10000
10001         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10002         more appropriate.
10003
10004 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10005
10006         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10007         inside insetERT.
10008
10009         * text.C (computeBidiTables): No bidi in insetERT.
10010
10011         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10012         in RTL documents.
10013
10014 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10015
10016         * version.C.in: pre 5
10017
10018 2002-05-02  José Matos  <jamatos@fep.up.pt>
10019         * buffer.C (makeDocBookFile): white space changes, add newline to
10020         command styles.
10021         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10022
10023         * tabular.C (docBook): fix typo.
10024
10025 2002-05-03  Juergen Vigna  <jug@sad.it>
10026
10027         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10028         change in LyXText as we can not be sure it was not freed.
10029         (drawOneRow): remove unused code.
10030
10031         * text.C (drawInset): redo the calculation of the need_break_row as
10032         it could have a row which was already freed.
10033         (draw): look at the return value of drawInset and return false if
10034         it also returned false.
10035         (paintRowText): look at the return value of draw and return false if
10036         it also returned false.
10037
10038         * lyxtext.h: added bool return type to drawInset() and draw() so that
10039         if we have a change in the row so that the rowbreak has to be redone
10040         we abort drawing as it will be called again.
10041
10042 2002-05-02  Juergen Vigna  <jug@sad.it>
10043
10044         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10045         a change in the maintext also if we're inside an inset.
10046         (Dispatch): set the cursor again after a break line and after the
10047         screen has been updated as it could be we're in a different row.
10048
10049         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10050         to set the cursor behind the pargraph with > size().
10051         (setCursor): check also for the same paragraph when checking where
10052         to put the cursor if we have a NFR inset.
10053
10054         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10055         parts of layout read further up as it still was in the wrong
10056         position.
10057
10058 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10059
10060         * screen.C (drawFromTo): change sine fullRebreak always return
10061         true.
10062
10063         * buffer.C (parseSingleLyXformat2Token): reindent some
10064
10065         * BufferView_pimpl.C (update): change since fullRebreak always
10066         return true.
10067         (Dispatch): git rid of the last hardcoded "Standard"s.
10068
10069 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10070
10071         * text2.[Ch] (fullRebreak): make it return void now that we always
10072         returned true.
10073
10074 2002-04-30  Juergen Vigna  <jug@sad.it>
10075
10076         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10077         ert compatibility check for "latex" layout.
10078
10079 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10080
10081         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10082         minipages: use col% instead of p%, and also use the current font.
10083         (makeLaTeXFile): Fix use babel condition.
10084         (parseSingleLyXformat2Token): Correct font when reading old floats.
10085
10086 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10087
10088         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10089         inserting list of floats.
10090
10091 2002-04-25  Herbert Voss  <voss@lyx.org>
10092
10093         * MenuBackend.C (expand): don't add the graphics extensions to the
10094         export menu
10095
10096 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10097
10098         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10099         non-existing layout, do not complain if it was the default layout
10100         of the original class (bug #342)
10101
10102 2002-04-24  Juergen Vigna  <jug@sad.it>
10103
10104         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10105         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10106
10107 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10108
10109         * buffer.C (getBibkeyList): If using \bibliography, return the
10110         option field with the reference itself. Enables us to provide natbib
10111         support when using \bibliography.
10112
10113 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10114
10115         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10116
10117         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10118         natbib is provided by the LaTeX class.
10119
10120 2002-04-23  Juergen Vigna  <jug@sad.it>
10121
10122         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10123         Wakeup functions.
10124
10125         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10126
10127 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10128
10129         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10130
10131         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10132         ensuremath around textordmasculine, textordfeminine and
10133         textdegree.
10134
10135 2002-04-19  Juergen Vigna  <jug@sad.it>
10136
10137         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10138         reinitializing the buffer otherwise row-dimensions may be wrong.
10139         (update): reset also the selection cursors if they do exits otherwise
10140         their x/y positions may be wrong.
10141
10142         * text2.C (cursorDown): don't enter the inset if we came from a row
10143         above and are one row over the inset.
10144
10145         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10146         really leaving an inset.
10147
10148 2002-04-18  Juergen Vigna  <jug@sad.it>
10149
10150         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10151         of the selected paragraph does not have the selected layout also if
10152         the last one had!
10153
10154         * text2.C (setLayout): fixed bug which did not change last selected
10155         paragraph.
10156
10157         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10158         changed the read and substituted \\end_float with \\end_inset!
10159
10160         * BufferView_pimpl.C (cursorPrevious):
10161         (cursorNext): fixed to make it work with rows heigher than the work
10162         area without moving the cursor only the draw of the row.
10163         (workAreaMotionNotify): fix jumping over high rows.
10164
10165 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10166
10167         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10168         Ressler.
10169
10170 2002-04-16  Juergen Vigna  <jug@sad.it>
10171
10172         * text2.C (setCursor): set also the irow().
10173         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10174         (cursorUp):
10175         (cursorDown): support for locking an inset if the x_fix value goes
10176         inside it. That way I can transverse insets too with cursor up/down.
10177
10178         * lyxrow.h: added irow helper function same as other (i) functions.
10179
10180         * BufferView_pimpl.C (cursorPrevious):
10181         (cursorNext): fixed for insets!
10182
10183 2002-04-15  Juergen Vigna  <jug@sad.it>
10184
10185         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10186         position otherwise it is wrong in some cases.
10187
10188         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10189         inside the inset before the call.
10190
10191 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10192
10193         * buffer.[Ch] (getBibkeyList): make it const.
10194
10195 2002-04-12  Juergen Vigna  <jug@sad.it>
10196
10197         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10198
10199         * text2.C (getCursorX): new helper function
10200         (setCursor): compute also ix_
10201         (setCursorFromCoordinates): set also ix.
10202
10203         * lyxcursor.h: added ix_ and helper functions.
10204
10205         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10206
10207         * buffer.C (insertStringAsLines): dont break paragraph if the this
10208         paragraph is inside an inset which does not permit it!
10209
10210         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10211         also with no chars on this paragraph.
10212         (paintRowText): only paint stuff if it's inside the workarea!
10213
10214         * paragraph.C (breakParagraph): honor keepempty flag and break the
10215         paragraph always below not above.
10216
10217         * BufferView2.C (unlockInset): update the paragraph layout on inset
10218         unlock as we changed paragraph in such a case.
10219
10220         * lyxfind.C (LyXFind): clear the former selection if not found!
10221
10222         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10223         again called in insertChar().
10224
10225         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10226         an inset which uses the whole row!
10227         (rightMargin): ditto.
10228         (insertChar): force a rebreak if we inserted an inset!
10229
10230 2002-03-28  Herbert Voss  <voss@lyx.org>
10231
10232         * lyxlength.[Ch]: add inBP() to get the right PS-point
10233         units (BigPoint). With inPixels we have rounding errors
10234
10235 2002-04-11  Juergen Vigna  <jug@sad.it>
10236
10237         * text2.C (setCursorFromCoordinates): set iy to the right value.
10238         (setCursor): add check if row->previous exists!
10239
10240         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10241         an old float_type as this was the case in the old code!
10242
10243         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10244
10245         * BufferView2.C (showLockedInsetCursor): use iy
10246         (fitLockedInsetCursor): ditto
10247
10248         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10249         locked insets as there we have the right value now.
10250
10251         * lyxcursor.C: added iy_ variable and iy functions to set to the
10252         baseline of cursor-y of the locked inset.
10253
10254         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10255         (setCursor): fixed for insets which need a full row.
10256
10257         * text.C (rowLastPrintable): don't ignore the last space when before
10258         an inset which needs a full row.
10259         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10260         as last character of a row when before a inset which needs a full row.
10261
10262 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10263
10264         * version.C.in: update date
10265
10266         * text2.C (fullRebreak): try to always return true and see what
10267         happens...
10268
10269 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10270
10271         * MenuBackend.C (expand): use Floating::listName
10272
10273         * FloatList.C (FloatList): add listName argument to the built-in
10274         floats
10275
10276         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10277         text associated with the float.
10278
10279 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10280
10281         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10282
10283 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10284
10285         * ShareContainer.h: add a couple of missing typenames.
10286
10287 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10288
10289         * lyxrc.C (getDescription): use _() correctly rather than N_().
10290
10291 2002-03-28  Herbert Voss  <voss@lyx.org>
10292
10293         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10294         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10295
10296 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10297
10298         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10299         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10300
10301 2002-03-29  Juergen Vigna  <jug@sad.it>
10302
10303         * lyxfunc.C (dispatch): add a missing fitCursor call.
10304
10305         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10306         it was scrolled by a cursor move, so return the bool status.
10307
10308         * BufferView.C (fitCursor): return the bool flag also to the outside
10309         world as this is needed.
10310
10311         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10312
10313         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10314         call the edit() as it is not needed (and wrong) IMO.
10315         (workAreaButtonPress): set the screen_first variable before evt.
10316         unlock the inset as this may change screen_first and then we have
10317         a wrong y position for the click!
10318
10319 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10320
10321         * MenuBackend.C (expand): another translation that I missed
10322
10323 2002-03-28  Juergen Vigna  <jug@sad.it>
10324
10325         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10326
10327         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10328
10329 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10330
10331         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10332
10333         * MenuBackend.C (expand): fix export/view/update when there is no
10334         document open.
10335
10336 2002-03-27  Herbert Voss  <voss@lyx.org>
10337
10338         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10339         and text%
10340
10341 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10342
10343         * bufferview_funcs.C (currentState): only show paragraph number
10344         for is DEVEL_VERSION is set.
10345
10346         * lyxfunc.C (dispatch): put warning in INFO channel
10347
10348         * MenuBackend.C (expand): translate the name of floats
10349
10350         * FloatList.C (FloatList): mark the float names for translation
10351
10352         * converter.C (convert): use LibScriptSearch
10353
10354 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10355
10356         * MenuBackend.C (defaults): fix default menu (we might as well get
10357         rid of it...)
10358
10359 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10360
10361         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10362         directory.
10363
10364 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10365
10366         * lyxvc.C: reorder includes.
10367
10368 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10369
10370         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10371           properly
10372
10373 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10374
10375         * CutAndPaste.C: change layouts earlier on paste
10376           to avoid crashing when calling getFont()
10377
10378 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10379
10380         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10381         irritating #error.
10382
10383 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10384
10385         * WorkArea.C: remove 'Pending' debug message.
10386
10387         * most files: ws cleanup
10388
10389         * buffer.[Ch]: ws changes
10390
10391         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10392
10393 2002-03-21  Juergen Vigna  <jug@sad.it>
10394
10395         * tabular.C (SetMultiColumn): collapse also the contents of the
10396         cells and set the last border right. Added a Buffer const * param.
10397
10398 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10399
10400         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10401         linking or not.
10402
10403 2002-03-19  Juergen Vigna  <jug@sad.it>
10404
10405         * text2.C (clearSelection): reset also xsel_cache.
10406
10407         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10408         where it needs to be called (John tells us to do so too :)
10409         (selectionLost): reset sel_cache.
10410
10411         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10412
10413 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10414
10415         * text2.C (setCursorIntern): put debuging code in INSETS channel
10416
10417 2002-03-19  André Pönitz <poenitz@gmx.net>
10418
10419         * lyxfunc.C: tiny whitespace change
10420
10421 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10422
10423         * ToolbarDefaults.C (init):
10424         * LyXAction.C (init):
10425         * commandtags.h:
10426         * BufferView_pimpl.C (Dispatch):
10427         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10428
10429 2002-03-19  Allan Rae  <rae@lyx.org>
10430
10431         * exporter.C (Export): removeAutoInsets before doing anything else.
10432         While I've just introduced a dependency on BufferView this really is
10433         the best place to clean the buffer otherwise you need to cleanup in
10434         a dozen places before calling export or cleanup in a dozen functions
10435         that export calls.
10436
10437         * converter.C (runLaTeX):
10438         (scanLog): Better handling of removeAutoInsets and screen updates.
10439
10440         * lyxfunc.C (dispatch): small whitespace changes
10441
10442 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10443
10444         * WorkArea.C (C_WorkAreaEvent): return a value.
10445         (event_cb): return 1 if we handled the event, 0 otherwise.
10446
10447         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10448
10449 2002-03-18  Juergen Vigna  <jug@sad.it>
10450
10451         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10452         (GetAdditionalWidth): ditto.
10453         (RightLine): ditto.
10454         (LeftLine): ditto.
10455
10456         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10457         inset if we're there actually (probably not used right now but this
10458         is the direction to go for unifying code).
10459         (paste): disable code to clear the selection.
10460
10461         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10462         inside an InsetText and move the check further up as it is in the
10463         wrong place.
10464
10465         * text2.C (pasteSelection): set a selection over the pasted text.
10466
10467 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10468
10469         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10470         and libgraphics to build on Cygwin.
10471
10472 2002-03-15  Juergen Vigna  <jug@sad.it>
10473
10474         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10475         inserting an Inset into the paragraph. I know this is not the best
10476         fix but we already use current_view in CutAndPaste so we will remove
10477         all of it's using at the same time.
10478
10479         * buffer.C (sgmlError): deactivated function till it is rewritten in
10480         the right mode, now it can create problems.
10481
10482         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10483         before accessing it.
10484
10485 2002-03-14  Juergen Vigna  <jug@sad.it>
10486
10487         * undo_funcs.C (textHandleUndo): do the right thing when updating
10488         the inset after the undo/redo.
10489
10490         * text2.C (setCursor): just some testcode for #44 not ready yet.
10491
10492         * undo_funcs.C (textHandleUndo): set the next() and previous()
10493         pointers of the paragraph to 0 before deleting otherwise we have
10494         problems with the Paragraph::[destructor].
10495
10496         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10497         on a paragraph insertion.
10498
10499 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10500
10501         * buffer.C (asciiParagraph): use += operator for char append to
10502         string.
10503
10504         * paragraph.C (getFontSettings): compare >= not just >
10505         (highestFontInRange): ditto
10506         (setFont): ditto
10507
10508 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10509
10510         * paragraph.C: change several algorithm to be more appripriate for
10511         the problem domain. This is lookip in FontList and in the InsetList.
10512
10513 2002-03-13  André Pönitz <poenitz@gmx.net>
10514
10515         * commandtags.h:
10516         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10517
10518 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10519
10520         * commandtags.h:
10521         * LyXAction.C:
10522         * lyxfunc.C:
10523         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10524
10525 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10526
10527         * Painter.C (display): anon helper function, adjust code for this
10528         change.
10529         (pixmap): remove function.
10530
10531         * Painter.h: remove private display variable.
10532
10533         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10534
10535 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10536
10537         * WorkArea.[Ch]: remove figinset_canvas cruft.
10538
10539 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10540
10541         * lyxtextclass.C (operator): add one item cache optimization.
10542
10543         * bufferlist.h: doxy changes
10544
10545         * bufferlist.C: ws changes
10546
10547         * DepTable.[Ch] (ext_exist): place const in the right spot.
10548
10549         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10550         call resizeInsets.
10551         (workAreaExpose): call resizeInsets when the with BufferView changes.
10552         (Dispatch): adjust for protectedBlank removal
10553         (specialChar): call updateInset if the insert went ok.
10554
10555         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10556         specialChar instead.
10557
10558         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10559
10560         * BufferView.h: doxy change
10561
10562         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10563
10564         * lyxtextclass.C (operator[]): remove non-const version
10565         (defaultLayout): remove non-const version
10566
10567 2002-03-12  Juergen Vigna  <jug@sad.it>
10568
10569         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10570         did resize the LyXText too.
10571
10572         * buffer.C (readLyXformat2): set layout information on newly allocated
10573         paragraphs.
10574
10575         * tabular.C (OldFormatRead): set layout information on the paragraph.
10576
10577 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10578
10579         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10580
10581 2002-03-11  Juergen Vigna  <jug@sad.it>
10582
10583         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10584         plainly wrong.
10585         (resizeCurrentBuffer): force also the insets to resize themselfes.
10586         (moveCursorUpdate): fixed up for InsetText.
10587
10588 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10589
10590         * commandtags.h:
10591         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10592         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10593         value of Dialogs::tooltipsEnabled().
10594         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10595
10596 2002-03-08  Juergen Vigna  <jug@sad.it>
10597
10598         * BufferView_pimpl.C (updateInset): update inset inside inset also
10599         if it isn't inside theLockingInset().
10600
10601 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10602
10603         * buffer.C (asciiParagraph): redo some of the word and line length
10604         handling.
10605         (getLists): look for Caption instead of caption.
10606
10607 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10608
10609         * buffer.C (Buffer): initialize niceFile to true
10610         (makeLaTeXFile):
10611         (makeLinuxDocFile):
10612         (makeDocBookFile): make sure niceFile is true on exit
10613
10614 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10615
10616         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10617
10618 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10619
10620         * LyXSendto.C: remove.
10621         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10622         * lyx_gui.C: remove now-redundant comment.
10623         * ColorHandler.h: remove forward declaration of class WorkArea.
10624         * lyxfunc.C: remove #include "WorkArea.h".
10625
10626 2002-03-07  Juergen Vigna  <jug@sad.it>
10627
10628         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10629         got moved away with the DEPM and also set the inset_owner always
10630         right which before could have been omitted.
10631
10632 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10633
10634         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10635         wanted layout is not found.
10636
10637 2002-03-07  Juergen Vigna  <jug@sad.it>
10638
10639         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10640
10641 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10642
10643         * paragraph.C (breakParagraph): use default layout not layout of
10644         prev paragraph.
10645         (Paragraph): clear ParagraphParameters.
10646
10647 2002-03-06  Juergen Vigna  <jug@sad.it>
10648
10649         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10650         otherwise it would not be a valid lenght. Fixed a special case in
10651         the minipage compatibility read where we end the document with a
10652         minipage.
10653
10654         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10655         was set as it could be 0 for InsetTexts first entry.
10656
10657 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10658
10659         * paragraph.C (writeFile): if layout is empty write out
10660         defaultLayoutName().
10661
10662         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10663         file without named layout we set layout to defaultLayoutName().
10664
10665 2002-03-06  Juergen Vigna  <jug@sad.it>
10666
10667         * CutAndPaste.C (copySelection): set layout for new paragraph.
10668
10669         * text.C (prepareToPrint): leave ERT inset left aligned
10670         (leftMargin): don't indent paragraphs inside ERT insets
10671
10672 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10673
10674         * paragraph.C (breakParagraph): dont call clear do the work manually
10675
10676         * paragraph.[Ch] (clear): remove function
10677
10678 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10679
10680         * paragraph.C (Paragraph): dont call clear, the work has already
10681         been done.
10682
10683         * lyxtextclass.C (operator): assert if n is empty
10684
10685         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10686         work manually instead.
10687
10688 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10689
10690         * BufferView_pimpl.C: protect selectionLost against text == 0
10691
10692 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10693
10694         * text.C (breakParagraph): fix a setting layout to '0' problem.
10695
10696 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10697
10698         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10699         final location of file, for the included files, and graphics.
10700
10701 2002-03-05  Juergen Vigna  <jug@sad.it>
10702
10703         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10704
10705 2002-03-04  Juergen Vigna  <jug@sad.it>
10706
10707         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10708
10709         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10710         last column of multicolumn cells.
10711         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10712
10713 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10714
10715         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10716         file if it doesn't go to a temporary file.
10717
10718         * buffer.C (sgmlOpenTag):
10719         (sgmlCloseTag):  remove extra newline insertion.
10720
10721 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10722
10723         * text.C (getRowNearY): comment out debug msg
10724
10725 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10726
10727         * text2.C: first -> first_y
10728
10729         * text.C (getRowNearY): add some attemts at a possible
10730         optimization, not working.
10731
10732         * tabular.[Ch]: add BufferParams to several function so that newly
10733         created paragraph can be initialized to he default layotu for the
10734         buffers textclass.
10735
10736         * tabular-old.C (ReadOld): add buf->params to call of Init
10737
10738         * screen.C: rename text->first to text->first_y
10739
10740         * paragraph.C (breakParagraph): always set layout in the broken
10741         paragraph
10742
10743         * lyxtextclass.C (Read): remove lowercase
10744         (hasLayout): ditto
10745         (operator): ditto
10746         (delete_layout): ditto
10747
10748         * lyxtext.h: rename first -> first_y
10749
10750         * lyxlayout.C (Read): remove lowercase
10751         (name): ditto
10752         (setName): ditto
10753         (obsoleted_by): ditto
10754
10755         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10756
10757         * buffer.C (insertErtContents): add params are to InsetERT
10758         (parseSingleLyXformat2Token): add code to check if a paragraphs
10759         layout really exist.
10760         (parseSingleLyXformat2Token): add params to several inset
10761         constructors
10762         (asciiParagraph): remove lowercase, do the layout comparisons with
10763         no_case
10764
10765         * BufferView_pimpl.C (cursorNext): first -> first_y
10766         (resizeCurrentBuffer): first -> first_y
10767         (updateScrollbar): first -> first_y
10768         (scrollCB): first -> first_y
10769         (workAreaMotionNotify): first -> first_y
10770         (workAreaButtonPress): first -> first_y
10771         (checkInsetHit): first -> first_y
10772         (cursorPrevious): first -> first_y
10773         (cursorNext): first -> first_y
10774         (Dispatch): add buffer_->params to severl inset contructors
10775
10776 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10777
10778         * lyxlayout.C (Read): remove some debug info that I forgot.
10779
10780         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10781         clean up the code slightly.
10782         (makeLinuxDocFile): ditto
10783         (makeDocBookFile): ditto
10784
10785         * text2.C: layout as string
10786
10787         * text.C: layout as string
10788
10789         * paragraph_pimpl.C: layout as string
10790
10791         * paragraph.[Ch]: layout as string
10792
10793         * lyxtextclasslist.[Ch]: layout as string
10794
10795         * lyxtextclass.[Ch]: layout as string
10796
10797         * lyxtext.h: layout as string
10798
10799         * lyxlayout.[Ch]: layout as string
10800
10801         * lyx_cb.C: layout as string
10802
10803         * bufferview_funcs.C: layout as string
10804
10805         * bufferparams.C: layout as string
10806
10807         * buffer.C: layout as string
10808
10809         * LyXView.[Ch]: layout as string
10810
10811         * LaTeXFeatures.[Ch]: layout as string
10812
10813         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10814
10815         * BufferView_pimpl.C: change current_layout to string, remove
10816         lyx::layout_type.
10817         (Dispatch):
10818         (smartQuote):
10819         (insertInset):
10820         (workAreaButtonRelease): layout as string
10821
10822         * BufferView2.C (unlockInset): adjust
10823
10824         * vspace.C (asLatexCommand): use an explict temp variable.
10825
10826 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10827
10828         * Makefile.am: use FRONTEND_*
10829
10830 2002-03-01  Juergen Vigna  <jug@sad.it>
10831
10832         * tabular.C (SetWidthOfMulticolCell): changed to something better
10833         I hope but still work in progress.
10834         (recalculateMulticolumnsOfColumn): renamed function from
10835         recalculateMulticolCells as it is more appropriate now.
10836         (SetWidthOfCell): calculate multicols better.
10837
10838 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10839
10840         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10841
10842         * lyxfunc.C (processKeySym): print sequence also if it is
10843         `deleted' (complete)
10844
10845         * kbsequence.C (print): print sequence even if it is deleted
10846         (complete would be a better word, actually).
10847
10848         * lyxfunc.C (dispatch): print complete options after a prefix key
10849
10850         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10851
10852 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10853
10854         * text2.C (setCharFont): eliminate setCharFont code duplication.
10855
10856 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10857
10858         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10859         LFUN_TABULAR_FEATURE (bug #177)
10860
10861 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10862
10863         * Makefile.am: remove figure.h
10864
10865 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10866
10867         * Bufferview_pimpl.C:
10868         * CutAndPasteC:
10869         * LaTeX.C:
10870         * LyXSendto.C:
10871         * buffer.C:
10872         * bufferlist.C:
10873         * converter.C:
10874         * language.C:
10875         * lyxfunc.C:
10876         * lyxvc.C:
10877         * paragraph.C:
10878         * text.C:
10879         * text2.C: remove #include "lyx_gui_misc.h".
10880
10881         * LaTeX.C: added #include <cstdio>
10882
10883 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10884
10885         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10886         that the paragraph following this one can have.
10887
10888         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10889
10890         * vspace.C (asLatexCommand): fix bogus gcc warning
10891
10892         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10893
10894 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10895
10896         * text2.C (setLayout): get rid of redundant code
10897
10898 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10899
10900         * text2.C (incDepth): make sure depth cannot be increased beyond
10901         reasonable values.
10902
10903 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10904
10905         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10906         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10907
10908         * PainterBase.h (image):
10909         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10910         a LyXImage const *.
10911
10912 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10913
10914         * BufferView.C:
10915         * BufferView.h:
10916         * BufferView_pimpl.C:
10917         * BufferView_pimpl.h:
10918         * LaTeXFeatures.C:
10919         * LyXAction.C:
10920         * LyXView.C:
10921         * Makefile.am:
10922         * UpdateList.h:
10923         * UpdateList.C:
10924         * buffer.C:
10925         * figure.h:
10926         * figureForm.C:
10927         * figureForm.h:
10928         * figure_form.C:
10929         * figure_form.h:
10930         * lyx_cb.C:
10931         * lyx_gui.C:
10932         * lyx_gui_misc.C:
10933         * lyxfunc.C:
10934         * sp_base.h:
10935         * sp_ispell.h:
10936         * sp_pspell.h:
10937         * sp_spell.C: remove fig inset, and the crap house of
10938           cards that follows it
10939
10940 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10941
10942         * Makefile.am:
10943         * lyxserver.C:
10944         * os2_defines.h:
10945         * os2_errortable.h:
10946         * nt_defines.h: move .h into support/
10947
10948         * vms_defines.h: remove
10949
10950         * WorkArea.C: add space in debug output
10951
10952         * text2.C:
10953         * paragraph.C:
10954         * buffer.C: add WITH_WARNINGS
10955
10956         * vc-backend.h:
10957         * vc-backend.C:
10958         * bufferlist.C: s/retrive/retrieve/, add docs
10959
10960         * vspace.h:
10961         * vspace.C:
10962         * kbmap.h:
10963         * lyxlength.h:
10964         * lyxgluelength.h:
10965         * length_common.h:
10966         * chset.h:
10967         * chset.C: add docs
10968
10969         * lyxgui.C: add ID to X error handler
10970
10971         * lyxtestclass.c: fix typo
10972
10973 2002-02-26  Juergen Vigna  <jug@sad.it>
10974
10975         * tabular_funcs.C (write_attribute): changed so that some default
10976         attributes are not written at all.
10977         (getTokenValue): set default values before trying to read the
10978         value so we have the return value always set as default if we don't
10979         find the token we search for.
10980
10981         * tabular.C (Write): write bools as bools not as strings!
10982
10983 2002-02-22  Juergen Vigna  <jug@sad.it>
10984
10985         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10986         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10987
10988         * text.C (leftMargin): don't add an indent for paragraphs inside
10989         tabular cells (fix #208).
10990
10991 2002-02-21  José Matos  <jamatos@fep.up.pt>
10992
10993         * tabular.C (docBook): fixed support for long tables.
10994
10995 2002-02-20  Juergen Vigna  <jug@sad.it>
10996
10997         * text2.C (getFont): get the drawing font of the Inset if this
10998         paragraph is inside an inset (only important for InsetERT for now).
10999
11000         * buffer.C (insertErtContents): use new lanugage params in ERT
11001         constructor.
11002
11003         * CutAndPaste.C: commenting out seemingly uneeded code.
11004
11005 2002-02-19  Allan Rae  <rae@lyx.org>
11006
11007         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11008         Iterators might be simple to use but they also get invalidated.
11009         (removeAutoInsets): renamed saved cursor tracking variables and added
11010         some comments to clarify what everything does.
11011
11012 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11013
11014         * Chktex.C:
11015         * LaTeX.C:
11016         * LyXSendto.C:
11017         * converter.C:
11018         * lyx_cb.C:
11019         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11020         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11021
11022         * lyxfunc.C:
11023         * vc-backend.h: remove #include "support/syscall.h"
11024
11025         * LaTeX.C:
11026         * LyXSendto.C:
11027         * converter.C: rearrange #includes in Lars' approved fashion.
11028
11029         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11030         forward declare class Timeout in the header file.
11031
11032         * XFormsView.C: changes due to the above.
11033
11034         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11035         similar to LyXView.
11036
11037         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11038         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11039
11040 2002-02-18  José Matos  <jamatos@fep.up.pt>
11041
11042         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11043         insets contents.
11044
11045 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11046
11047         * a lot of small ws changes
11048         * add a lot of using std::XXX
11049         * use std construcs some places where approp.
11050         * use some exisint stuff from lyxfunctional where approp.
11051         * Make file changes to use partial linking (lets test this now...)
11052
11053 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11054
11055         * Chktex.C:
11056         * buffer.C:
11057         remove #include "support/syscontr.h" as it's redundant. Always has been.
11058
11059         * Chktex.C:
11060         * LaTeX.C:
11061         * LyXSendto.C:
11062         * converter.C:
11063         * lyx_cb.C:
11064         * vc-backend.C:
11065         change Systemcalls::System to Systemcalls::Wait and
11066         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11067         No change of functionality, just reflects the stripped down Systemcalls
11068         class.
11069
11070 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11071
11072         * debug.[Ch]: add a GRAPHICS type to the enum.
11073
11074 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11075
11076         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11077
11078         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11079         there is an inset.
11080
11081 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11082
11083         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11084         match the changes below.
11085
11086         * text2.C (toggleInset): if there is not editable inset at cursor
11087         position, try to see if cursor is _inside_ a collapsable inset
11088         and close it.
11089
11090 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11091
11092         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11093         document menu has a nice checkbox
11094
11095 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11096
11097         * lyxlength.C (asLatexString): change PW to output as percent of
11098         \textwidth.
11099
11100         * lengthcommon.C: change '%' to 't%'
11101
11102         * lyxfunc.C (dispatch): a few comments from Martin
11103
11104 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11105
11106         * WorkArea.h:
11107         * WorkArea.C:
11108         * BufferView_pimpl.h:
11109         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11110           the X selection.
11111
11112 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11113
11114         * vspace.C (inPixels): fix compiler warning
11115
11116 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11117
11118         * lyxfunc.C (getStatus): fix status message for disabled commands.
11119
11120 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11121
11122         * BufferView_pimpl.C: fix crash on close buffer
11123         during selection (#227)
11124
11125 2002-01-27  Herbert Voss  <voss@lyx.org>
11126
11127         * buffer.C: link old Figure to new graphic inset
11128
11129 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11130
11131         * FontLoader.C (getFontinfo): Change the latex font names in order
11132         to match the names of type1inst.
11133
11134 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11135
11136         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11137
11138         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11139         (extchanged): ditto
11140         (ext_exist): ditto
11141         (remove_files_with_extension): ditto
11142         (remove_file): ditto
11143         (write): ditto
11144
11145         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11146         document is smaller than the work area height. Do not initialize
11147         static variables to 0.
11148
11149 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11150
11151         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11152
11153         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11154         LFUN_LAYOUT_PARAGRAPHS.
11155
11156         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11157         tabular. It is possible to provide a possible cell, which will
11158         typically be the actcell from the corresponding insettabular
11159
11160         * lyxfunc.C (getStatus): small cleanup; disable
11161         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11162         true
11163
11164 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11165
11166         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11167
11168         * paragraph.C (startTeXParParams):
11169         (endTeXParParams): new methods. The LaTeX code to
11170         start/end paragraph formatting
11171         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11172         empty (fixes bug #200)
11173
11174         * vspace.C (inPixels): adapt to the change below
11175         (inPixels): [later] more cleanups (remove unused variables)
11176
11177         * lyxlength.C (inPixels): change to use a width and a height as
11178         parameter.
11179
11180 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11181
11182         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11183         Replaced with \paperwidth
11184
11185         * DepTable.C (insert): add std:: qualifier
11186
11187 2002-01-18  Allan Rae  <rae@lyx.org>
11188
11189         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11190         updated also?
11191
11192         * text.C (drawInset): Turned out I didn't know enough about how
11193         rebreaking worked.  This fixes most of the redraw problems.  I see
11194         an occasional cursor trail when a line is broken now and the cursor
11195         placement can seem out by a few pixels also after a rebreak.
11196
11197 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11198
11199         * buffer.C (parseSingleLyXformat2Token): update because minipage
11200         width is now a LyXLength
11201
11202         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11203
11204         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11205         math insets
11206
11207 2002-01-17  Juergen Vigna  <jug@sad.it>
11208
11209         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11210
11211         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11212         is set correctly and the inset is updated correctly.
11213
11214 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11215
11216         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11217         the beginning of the loop.
11218
11219 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11220
11221         * lyxrc.C: improve help for use_scalable_fonts
11222
11223 2002-01-17  Allan Rae  <rae@lyx.org>
11224
11225         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11226
11227 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11228
11229         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11230         make sure to set their inset_owner to the right value (bug #171)
11231
11232 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11233
11234         * DepTable.h
11235         * DepTable.C: Implement mtime checking to reduce time spent doing
11236         CRCs.
11237
11238 2002-01-16  Juergen Vigna  <jug@sad.it>
11239
11240         * tabular.C (GetAdditionalHeight): one of error fixed.
11241
11242         * lyxrc.C (output): small fix in writing use_pspell.
11243
11244 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11245
11246         * sp_base.h: #include LString.h
11247
11248 2002-01-16  Allan Rae  <rae@lyx.org>
11249
11250         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11251         Can someone check this please?
11252
11253         * text.C (drawInset): It was possible that p.row would be removed by
11254         breakAgainOneRow upsetting a few other settings.  There may be another
11255         small tweak possible by setting need_break_row = 0 when p.row has been
11256         removed but I don't know enough about the logic here.
11257
11258 2002-01-15  Allan Rae  <rae@lyx.org>
11259
11260         * text.C (insertChar): removed conditional truism.
11261
11262         * BufferView2.C (removeAutoInsets): More tweaks.
11263         cur_par_prev could be a stray pointer.  Check for trailing empty line
11264         in case last line was cur_par and only had an error inset on it.
11265
11266 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11267
11268         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11269         absolute
11270
11271         * vc-backend.C (most methods):
11272         * exporter.C (Export):
11273         * converter.C (convert):
11274         (runLaTeX):
11275         * LyXSendto.C (SendtoApplyCB):
11276         * lyxfunc.C (dispatch):
11277         (menuNew):
11278         (open):
11279         (doImport):
11280         * lyx_cb.C (AutoSave):
11281         (InsertAsciiFile):
11282         * BufferView_pimpl.C (MenuInsertLyXFile):
11283         * buffer.C (runChktex): use Buffer::filePath().
11284
11285         * buffer.h: rename filename to filename_; rename filepath to
11286         filepath_ and make it private
11287         (filePath): new method
11288
11289         * buffer.C (writeFile): use fileName()
11290         (getLatexName):
11291
11292         * lyx_main.C (init): fix starting  of LyX when the binary is a
11293         link from so,ewhere else.
11294
11295         * minibuffer.C: include <cctype> for isprint
11296
11297 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11298
11299         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11300         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11301         name clash with InsetCollapsable's width function.
11302
11303 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11304
11305         * lastfiles.C: include <iterator>
11306
11307 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11308
11309         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11310         std::count.
11311
11312         * buffer.C (makeLaTeXFile): ditto.
11313         Also make loop operation more transparent.
11314
11315 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11316
11317         * ToolbarDefaults.C: remove trailing comma closing namespace.
11318
11319         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11320
11321         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11322         as in WorkArea.
11323
11324         * trans.C (Load): comment out unused variable, allowed.
11325
11326 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11327
11328         * minibuffer.[Ch] (append_char): new method to recieve input from the
11329         drop-down completion browser. If a key was pressed, then recieve this
11330         char and append it to the existing string.
11331         (peek_event): modify the positioning data passed to the completion
11332         browser so that it can be placed above the minibuffer rather than below.
11333 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11334
11335         * LyXAction.C (init): alloe error-next for readonly documents.
11336
11337         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11338         count.
11339
11340 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11341
11342         * bufferlist.C (readFile): create the buffer _after_ checking that
11343         the file exists.
11344
11345         * lyxfunc.C (verboseDispatch): fix handling of arguments
11346
11347         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11348
11349         * lyxrc.C: use string::erase() instead of initializing to "".
11350
11351
11352 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11353
11354         * BufferView_pimpl.h:
11355         * BufferView_pimpl.C:
11356         * WorkArea.h:
11357         * WorkArea.C:
11358         * text2.C: tell X when we have made a selection for copying
11359
11360 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11361
11362         * BufferView_pimpl.C (MenuInsertLyXFile):
11363         * lyxfunc.C (menuNew):
11364         (open):
11365         (doImport): add shortcuts to directory buttons
11366
11367         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11368         open a float)
11369
11370         * lyxfunc.C (setStatusMessage):
11371         (getStatusMessage): new methods
11372         (getStatus):use setStatusMessage instead of setErrorMessage
11373         (dispatch): when function is disabled, set error message here
11374         [instead of in getStatus previously]
11375
11376         * BufferView_pimpl.C (workAreaButtonRelease): update
11377         toolbar/menubar here too.
11378
11379 2002-01-13  Allan Rae  <rae@lyx.org>
11380
11381         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11382         Now seems indestructible.  Remaining task is to audit all other
11383         code affected by deleteEmptyParagraphMechanism.  One small quirk
11384         left is that an empty document with an error in the preamble can
11385         be made to report an error but no error box appears.  I don't know
11386         where it goes.
11387         (removeAutoInsets): Improved comments.
11388
11389 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11390
11391         * Thesaurus.h:
11392         * Thesaurus.C: update for Aiksaurus 0.14
11393
11394 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11395
11396         * text2.C (firstParagraph): removed member function, all uses
11397         replaces with ownerParagraph
11398         (redoParagraphs): here
11399         (updateInset): here
11400         (toggleAppendix): here
11401         * BufferView2.C (insertErrors): here
11402         (setCursorFromRow): here
11403
11404 2002-01-13  Allan Rae  <rae@lyx.org>
11405
11406         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11407         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11408         There is still a way to segfault this although you may have to do this
11409         multiple times: Have an InsetERT with an unknown command in it.
11410         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11411         <down-arrow>, <Enter> again, View->DVI, BANG!
11412
11413         * text2.C (setCursor):
11414         (deleteEmptyParagraphMechanism):
11415         * lyxtext.h (setCursor):
11416         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11417         Making use of the return value may help fix other bugs.
11418
11419 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11420
11421         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11422
11423         * LyXView.C (updateMenubar): call MenuBar::update here
11424         (updateToolbar): but not here
11425         (showState): do not update toolbar/menubar
11426
11427         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11428         should need to care about that.
11429
11430         * lyxfunc.C (verboseDispatch): simplify a bit
11431         (getStatus): have a version which takes a pseudoaction, and
11432         another which requires a (kb_action,string).
11433
11434         * LyXAction.C (retrieveActionArg): make it work also when action
11435         is not a pseudo-action.
11436         (getActionName): simplify a bit
11437         (helpText):
11438
11439 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11440
11441         * lyxfunc.C (verboseDispatch): new families of methods with
11442         several ways to specify a command and a bool to indicate whether
11443         the command name and shortcut should be displayed in minibuffer
11444         (eventually, we could extend that to a finer bitmask like
11445         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11446         (dispatch): the pristine dispatch command which just, well,
11447         dispatchs! Note it still sets its result to minibuffer; I'm not
11448         sure we want that.
11449
11450         * lyxfunc.h: remove setHintMessage
11451
11452         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11453
11454 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11455
11456         * BufferView_pimpl.C (specialChar): delete new inset if we have
11457         not been able to insert it.
11458
11459         * kbmap.C: revert to using int instead of kb_action, since all we
11460         are dealing with is pseudo-actions.
11461
11462         * LyXAction.C (searchActionArg): change to return int instead of
11463         kb_action, since the result is a pseudoaction.
11464
11465 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11466
11467         * buffer.C (insertErtContents): Fix (partially) the font bug.
11468
11469 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11470
11471         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11472         as the other one is broken on my machine!
11473
11474 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11475
11476         * commandtags.h:
11477         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11478
11479 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11480
11481         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11482         reflect their actual use. Provide compatibility code for older lyxrc
11483         files.
11484
11485         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11486         FL_NORMAL_STYLE.
11487         change names of popup font variables in line with the changes to lyxrc.C
11488
11489 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11490
11491         * buffer.C (asciiParagraph): avoid outputing a word twice after
11492         an inset.
11493
11494         * lyxrc.C (getDescription): document that document_path and
11495         template_path can be empty.
11496
11497 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11498
11499         * LaTeXFeatures.C (getMacros):
11500         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11501
11502         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11503
11504         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11505         getPackages.
11506         (getPackages): rename feature "floats" to "float". Use an array to
11507         iterate over 'simple' features (i.e. just a \usepackage). Add
11508         handling of "amsmath" (renamed from "amsstyle").
11509
11510 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11511
11512         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11513         features list.
11514
11515 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11516
11517         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11518         FuncStaus::FuncStatus & FuncStaus::some_method().
11519
11520 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11521
11522         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11523         of the func_satus stuff. Edited and massaged in various ways by
11524         JMarc.
11525
11526         * lyxfunc.C (getStatus): use FuncStatus
11527
11528 2002-01-08  Juergen Vigna  <jug@sad.it>
11529
11530         * text.C (nextBreakPoint): use function Inset::isChar().
11531
11532         * paragraph.C (TeXOnePar): use function
11533         Inset::forceDefaultParagraphs.
11534
11535         * buffer.C (latexParagraphs): use function
11536         Inset::forceDefaultParagraphs.
11537
11538 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11539
11540         * lyx_gui.C (init): set the style of the menu popups to
11541         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11542
11543 2002-01-07  Juergen Vigna  <jug@sad.it>
11544
11545         * text.C (setHeightOfRow): small fix
11546         (prepareToPrint): don't look at alignment if we don't have the place
11547         for doing it.
11548
11549 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11550
11551         * box.C: New file. Move the Box methods and functions out of box.h,
11552         following Lars' suggestion.
11553
11554 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11555
11556         * box.h: #include "support/LOstream.h", needed for inlined function.
11557
11558         * lyxtextclass.C:
11559         * lyxtextclasslist.C: added some using std declarations.
11560
11561 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11562
11563         * box.h: make signed dimensions to allow insets wider than
11564           the screen (bug #162)
11565
11566         * BufferView_pimpl.C: add some insetHit debug
11567
11568 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11569
11570         * vc-backend.C: add FIXME
11571
11572 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11573
11574         * lyxfunc.C (getStatus): enable code for showing math font status
11575         in toolbar/menu.
11576
11577 2002-01-07  Juergen Vigna  <jug@sad.it>
11578
11579         * text.C (nextBreakPoint): removed debug output not needed anymore.
11580
11581 2002-01-06  Juergen Vigna  <jug@sad.it>
11582
11583         * text.C (nextBreakPoint): fixed up this function we had this bug
11584         since ever but now hopefully we break row better.
11585         (insertChar): we have to check if an inset is the next char as it
11586         could now happen that a large inset is causing a break.
11587
11588 2002-01-05  Juergen Vigna  <jug@sad.it>
11589
11590         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11591         if it doesn't like to be drawed.
11592
11593 2002-01-04  Juergen Vigna  <jug@sad.it>
11594
11595         * BufferView2.C (lockInset): forgot to set a cursor.
11596
11597         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11598
11599 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11600
11601         * FormMathsPanel.C:
11602         * FormMathsPanel.h
11603         * MathsSymbols.C:
11604         * form_maths_panel.C:
11605         * form_maths_panel.h:
11606         * form_maths_panel.fd: implemented sub- and super- buttons in math
11607         panel.
11608
11609         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11610         (or ^ space) to be used as in TeX (req'd by André).
11611
11612         * lyxfunc.C: Allow ^ and _ again to be used both as
11613         super/subscript (mathed) and as themselves (in text).
11614
11615 2002-01-03  Allan Rae  <rae@lyx.org>
11616
11617         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11618         "LyX" or the filename of the current buffer if it has one.  This is a
11619         modified form of John Levon's patch.
11620
11621         * XFormsView.C (setWindowTitle): also set icon title.
11622
11623         * LyXView.h (setWindowTitle): signature changed.
11624         * XFormsView.h (setWindowTitle): ditto.
11625
11626 2002-01-02  Juergen Vigna  <jug@sad.it>
11627
11628         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11629
11630 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11631
11632         * screen.C (topCursorVisible): introduce a temp var for
11633         text->cursor.row(), handle the case where this row is null. (kindo
11634         hachish)
11635
11636         * text2.C (setCursor): add a couple of asserts.
11637
11638         * paragraph.h (inset_iterator): add -> operator
11639
11640         * paragraph.[Ch] (autoDeleteInsets): remove member function
11641
11642         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11643         cursor pos correctly and handle inset deletion by itself.
11644         (insertErrors): move iterator declaration out of for expression
11645
11646         * lyxtextclass.C: add <algorithm>
11647
11648         * Makefile.am: added the new files to sources, removed layout.C
11649
11650         * layout.C: removed file
11651
11652         * layout.h: remove LYX_DUMMY_LAYOUT
11653
11654         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11655         layout.
11656
11657         * lyxlayout.[Ch]:
11658         * lyxtextclass.[Ch]:
11659         * lyxtextclasslist.[Ch]: new files
11660
11661         * include order changes to a lot of files, also changes because of
11662         the six new files.
11663
11664 2001-12-27  Juergen Vigna  <jug@sad.it>
11665
11666         * buffer.C (asciiParagraph): more fixes.
11667
11668         * tabular.C (ascii): make ascii export support export of only the
11669         data separated by a column-delimiter.
11670         (ascii): better support for ascii export.
11671
11672         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11673
11674 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11675
11676         * tabular_funcs.C: use a "using std::getline" instead of the
11677         previous fix from Angus (necessary for cxx + lyxstring)
11678
11679 2001-12-24  Juergen Vigna  <jug@sad.it>
11680
11681         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11682
11683         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11684         problems. First check a minipage also if we have some ert-contents
11685         (not only on par->size(), second set the right depth of the paragraph
11686         on the relink to the root-paragraph-list!
11687
11688         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11689         which then did not anymore update the main paragraphs on undo/redo!
11690
11691 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11692
11693         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11694         code. Support all font-changing funcs (even those which are not in
11695         menu currently). Support for reporting font settings in
11696         mathed (disabled until Andre provides a function on mathed's side).
11697
11698         * func_status.h (toggle): small helper function to set toggle
11699         state on a flag.
11700
11701 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11702
11703         * tabular_funcs.C: getline -> std::getline
11704
11705 2001-12-21  Juergen Vigna  <jug@sad.it>
11706
11707         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11708         accessed and could be 0 (I couldn't generate this but it seems
11709         Michael could!).
11710
11711 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11712
11713         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11714         * tabular_funcs.h: here and include iosfwd
11715
11716 2001-12-20  Juergen Vigna  <jug@sad.it>
11717
11718         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11719         inside inset but undo_par was.
11720
11721 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11722
11723         * Thesaurus.C: always include <config.h> in sources.
11724
11725         * Painter.h:
11726         * lyxlookup.h:
11727         * box.h: do not include <config.h> in header files
11728
11729         * text.C (paintLastRow): remove unused variable
11730
11731         * text.C (transformChar):
11732         (insertChar):
11733         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11734
11735         * Painter.C (text):
11736         * font.C (width): rewrite to use uppercase() instead of
11737         islower/toupper.
11738
11739         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11740
11741 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11742
11743         * lyxfind.C: clean up of find failure position change
11744
11745 2001-12-20  Juergen Vigna  <jug@sad.it>
11746
11747         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11748
11749         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11750         (TeXRow): added to LaTeX a single tabular row.
11751         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11752         (Latex): simplified and finally good LT-h/f support.
11753         (various_functions): just small adaptions for LT-h/f support.
11754
11755         * tabular_funcs.[hC]: added and moved here all not classfunctions
11756         of LyXTabular.
11757
11758 2001-12-19  Juergen Vigna  <jug@sad.it>
11759
11760         * tabular.[Ch]: better support for longtabular options (not finished
11761         yet!)
11762
11763 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11764
11765         * text.C (paintLastRow): use the label font instead of the font of
11766         the last character to compute the size of *_BOX. This makes more
11767         sense and avoids a crash with empty paragraphs.
11768         Use Painter::rectangle to draw EMPTY_BOX.
11769
11770 2001-12-19  Juergen Vigna  <jug@sad.it>
11771
11772         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11773         the paragraphs if the replaced paragraph is not the first one!
11774         Tried to delete not used paragraphs but does not work yet so for
11775         now it's inside #ifdef's and by default off!
11776
11777 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11778
11779         * MenuBackend.C: include "lyx_main.h" instead of declaring
11780         lastfiles (actually was declared as LastFiles* instead of a
11781         scoped_ptr).
11782
11783 2001-12-17  Juergen Vigna  <jug@sad.it>
11784
11785         * tabular.C (AppendColumn): applied John's fix
11786
11787 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11788
11789         * BufferView.h:
11790         * BufferView.C:
11791         * BufferView_pimpl.h:
11792         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11793
11794         * Makefile.am:
11795         * box.h: new start of class for above
11796
11797         * lyxfunc.C: ignore space-only minibuffer dispatches.
11798           Show the command name when it doesn't exist
11799
11800         * minibuffer.C: don't add empty lines to the history
11801
11802         * minibuffer.C: add a space on dropdown completion
11803
11804 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11805
11806         * text.C: fix line above/below drawing in insets
11807
11808 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11809
11810         * lyxlength.C (LyXLength): Initialize private variables.
11811
11812 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11813
11814         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11815         when inserting error insets.
11816
11817 2001-12-13  Juergen Vigna  <jug@sad.it>
11818
11819         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11820         actually sometimes the before-paragraph.
11821         (setUndo): don't clear the redostack if we're not actually undoing!
11822
11823 2001-12-06  Juergen Vigna  <jug@sad.it>
11824
11825         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11826         and fixed redoing of main paragraph, so we can use it now ;)
11827
11828         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11829
11830 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11831
11832         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11833         Juergen's request
11834
11835 2001-12-13  André Pönitz <poenitz@gmx.net>
11836
11837         * undostack.[Ch]:
11838         * undo_func.C: minor cleanup
11839
11840 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11841
11842         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11843         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11844         font in urw-fonts package which is marked as -urw-fontspecific and
11845         does not work (incidentally, changing the encoding in the
11846         fonts.dir of this package to -adobe-fontspecific fixes the
11847         problem).
11848
11849         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11850         is a crash when undoing first paragraph (Juergen, please take a
11851         look). THis does not mean the undo fix is wrong, just that it
11852         uncovers problems.
11853
11854         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11855         the (Paragraph*) version when needed instead of duplicating the
11856         code.
11857
11858         * text.C (workWidth): use Inset::parOwner to find out where the
11859         inset has been inserted. This is a huge performance gain for large
11860         documents with lots of insets. If Inset::parOwner is not set, fall
11861         back on the brute force method
11862
11863         * paragraph_pimpl.C (insertInset):
11864         * paragraph.C (Paragraph):
11865         (cutIntoMinibuffer): set parOwner of insets when
11866         inserting/removing them
11867
11868         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11869
11870 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11871
11872         * commandtags.h:
11873         * LyXAction.C:
11874         * lyx_main.C:
11875         * lyxfunc.C:
11876         * mathed/formulabase.C:
11877         * mathed/math_cursor.[Ch]:
11878         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11879
11880
11881 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11882
11883         * lyxlength.[Ch] (operator!=): new function
11884
11885 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11886
11887         * text.C (workWidth): use Inset::parOwner to find out where the
11888         inset has been inserted. This is a huge performance gain for large
11889         documents with lots of insets. If Inset::parOwner is not set, fall
11890         back on the brute force method
11891
11892         * paragraph_pimpl.C (insertInset):
11893         * paragraph.C (Paragraph):
11894         (cutIntoMinibuffer): set parOwner of insets when
11895         inserting/removing them
11896
11897         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11898
11899 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11900
11901         * tabular-old.C (getTokenValue):
11902         * tabular.C (getTokenValue):
11903         (write_attribute): new versions for LyXLength
11904         (everywhere): adjust the use of widths
11905
11906         * tabular.h: change the type of widths from string to LyXLength
11907
11908 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11909
11910         * paragraph.C: fixed missing line number count when exporting
11911         Environments to LaTeX file
11912
11913         * buffer.C: added informational message for checking line numbers.
11914
11915 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11916
11917         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11918         paragraph, do the 'double space' part, but not the 'empty
11919         paragraph' one.
11920
11921         * text.C (workWidth): small optimization
11922         (getLengthMarkerHeight): use minimal size for negative lengths.
11923
11924 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11925
11926         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11927
11928         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11929
11930 2001-12-11  André Pönitz <poenitz@gmx.net>
11931
11932         * FontLoader.C:
11933         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11934
11935 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11936
11937         * text2.C: keep selection on a setFont()
11938
11939 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11940
11941         * lyx_cb.C: another bv->text misuse, from insert label
11942
11943 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11944
11945         * kbsequence.h:
11946         * kbsequence.C: re-instate nmodifier mask
11947
11948 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11949
11950         * lyx_main.h: make lyxGUI private.
11951
11952 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11953
11954         * lyxfind.C: place the cursor correctly on failed search
11955
11956 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11957
11958         * text.C (getLengthMarkerHeight): for small heights, the arrows
11959         are not always on top/bottom of the text
11960         (drawLengthMarker): smaller arrows; take the left margin in
11961         account; draw also vfills.
11962         (paintFirstRow):
11963         (paintLastRow): remove special code for vfill and standard spaces,
11964         since everything is handled in drawLengthMarker now.
11965
11966 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11967
11968         * buffer.C (insertErtContents): try to handle font and language
11969         interaction a bit better.g
11970
11971         * ColorHandler.C (updateColor): change the hash to cover the whole
11972         LColor enum, ws cleanup
11973         (getGCLinepars): ditto
11974         (getGCLinepars): only lookup in the linecache once.
11975
11976 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11977
11978         * iterators.C (operator++): Make the iterator more robust
11979
11980         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11981         (John's patch)
11982         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11983
11984 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11985
11986         * lyxtext.h:
11987         * text.C: better added space drawing
11988
11989 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11990
11991         * LyXView.C:
11992         * BufferView2.C: fix layout combo update on inset unlock
11993
11994 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11995
11996         * Makefile.am: don't compile unused files
11997
11998 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11999
12000         * lyxfunc.C:
12001         * commandtags.h:
12002         * LyXAction.C: remove old LFUN_LAYOUTNO
12003
12004 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12005
12006         * paragraph_pimpl.h:
12007         * paragraph_pimpl.C: isTextAt() doesn't need font param
12008
12009 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12010
12011         * lyxlex.h:
12012         * lyxlex.C: little cleanup
12013
12014 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12015
12016         * BufferView_pimpl.C: fix insertAscii for insets
12017
12018 2001-12-05  Juergen Vigna  <jug@sad.it>
12019
12020         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12021         set the right font on the "multi" paragraph paste!
12022
12023 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12024
12025         * trans_decl.h:
12026         * trans_mgr.[Ch]:
12027         * trans.[Ch]:
12028         * lyxgluelength.C:
12029         * lyxlength.C: remove out-commented code.
12030
12031         * BufferView_pimpl:
12032         * CutAndPaste.C:
12033         * DepTable.C:
12034         * buffer.C:
12035         * chset.C:
12036         * lastfiles.C:
12037         * lyxlex.C:
12038         * lyxlex_pimpl.C:
12039         * lyxserver.C:
12040         * screen.C:
12041         * tabular-old.C:
12042         * tabular.C:
12043         * text.C:
12044         * trans_mgr.C:
12045         * vc-backend.C: change "while(" to "while ("
12046
12047         * lyxlength.[Ch]: add zero function to check if length is zero or
12048         not
12049         * lyxgluelength.C: use it
12050
12051 2001-12-05  Allan Rae  <rae@lyx.org>
12052
12053         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12054         Works for 2.95.3, from what I understand of Garst's reports this should
12055         work for other g++ versions.  We're screwed if the abs(int) definition
12056         changed between bugfix releases of gcc.
12057
12058 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12059
12060         * text.C: fix chapter label offset !
12061
12062 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12063
12064         * lyxtext.h:
12065         * text.C: fix hfill at end of line, clean up
12066
12067 2001-12-04  Juergen Vigna  <jug@sad.it>
12068
12069         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12070         that we force an update of the inset and it's owners if neccessary.
12071
12072 2001-12-03  Juergen Vigna  <jug@sad.it>
12073
12074         * text.C (rowLast): simplified code
12075
12076 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12077
12078         * lyxfunc.C: fix show options on timeout
12079
12080 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12081
12082         * screen.C (topCursorVisible): scroll half a page when the cursor
12083         reached top of bottom of screen
12084
12085 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12086
12087         * minibuffer.C: deactivate on loss of focus
12088
12089 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12090
12091         * vspace.[Ch] (operator!=): add operator.
12092
12093 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12094
12095         * BufferView_pimpl.C: refuse to open an inset when
12096         there's a selection.
12097
12098 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12099
12100         * BufferView_pimpl.C: allow to click on RHS of full row insets
12101
12102 2001-11-30  Juergen Vigna  <jug@sad.it>
12103
12104         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12105         insets for undo reasons.
12106
12107 2001-11-28  André Pönitz <poenitz@gmx.net>
12108
12109         * vspace.[Ch]: cosmetical changes
12110
12111 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12112
12113         * LyXAction.h:
12114         * LyXAction.C:
12115         * lyxfunc.h:
12116         * lyxfunc.C:
12117         * kbmap.h:
12118         * kbmap.C:
12119         * lyxrc.C:
12120         * kbsequence.h:
12121         * kbsequence.C: part re-write of old kb code
12122
12123         * Painter.C:
12124         * WorkArea.C: remove Lgb_bug_find_hack
12125
12126 2001-11-30  José Matos <jamatos@fep.up.pt>
12127
12128         * buffer.C (makeDocBookFile): add a comment to point a hack.
12129         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12130         Fixed a double write of labels.
12131
12132 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12133
12134         * LaTeX.C:
12135         * LaTeX.h Fixed bug in LaTeX class where it would not
12136         re-run latex if no depfiles were changed, but the .dvi was removed.
12137
12138 2001-11-28  André Pönitz <poenitz@gmx.net>
12139
12140         * all the files from the change on 2001/11/26:
12141         use lyx::layout_type instead of LyXTextClass::size_type
12142         use lyx::textclass_type instead of LyXTextClassList::size_type
12143
12144 2001-11-29  Juergen Vigna  <jug@sad.it>
12145
12146         * text.C: added support for paragraph::isFreeSpacing()
12147
12148         * buffer.C: same as above
12149
12150         * paragraph.h: inserted isFreeSpacing() function to enable
12151         FreeSpacing inside InsetERT.
12152
12153         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12154         of the paragraph's in the cut/copy buffer to 0!
12155
12156         * text2.C (removeRow): remove the assert as it can!
12157
12158         * lyxtext.h: added helper function firstRow returning firstrow and
12159         made firstrow private again.
12160
12161         * BufferView2.C (lockInset): don't relock if we're already locked!
12162
12163         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12164         the only paragraph.
12165         (removeRow): added Assert::(firstrow)
12166
12167         * debug.C: forgot to add INSETTEXT here.
12168
12169 2001-11-28  Juergen Vigna  <jug@sad.it>
12170
12171         * sp_spell.C (initialize): changed error text to more general
12172         spellchecker command use (not only ispell!)
12173
12174         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12175
12176         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12177
12178 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12179
12180         * vspace.C: initialise lyxgluelength on failure
12181
12182 2001-11-28  Allan Rae  <rae@lyx.org>
12183
12184         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12185         declaration & definition that looks like a function declaration.
12186
12187 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12188
12189         * BufferView2.C (copy):
12190         (copyEnvironment): do not clear the selection when doing a copy.
12191
12192         * text.C (paintFirstRow): compilation fix
12193
12194 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12195
12196         * tabular.C (Latex): correct line count when writing latex.
12197
12198 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12199
12200         * paragraph_pimpl.h:
12201         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12202           bug a bit
12203
12204 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12205
12206         * text.C:
12207         * LColor.h:
12208         * LColor.C: change vfillline->added_space
12209
12210         * text.C: add markers and text for added space
12211
12212         * vspace.C: fix comment
12213
12214 2001-11-28  André Pönitz <poenitz@gmx.net>
12215
12216         * paragraph.C: whitespace changes
12217         * all the other files from the change on 2001/11/26:
12218         change *::pos_type into lyx::pos_type
12219
12220 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12221
12222         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12223         language of the document when inserting error insets.
12224
12225 2001-11-26  André Pönitz <poenitz@gmx.net>
12226
12227         * BufferView_pimpl.[Ch]:
12228         *       CutAndPaste.C:
12229         * buffer.[Ch]:
12230         * lyxcursor.[Ch]:
12231         * lyxfind.C:
12232         * lyxfunc.C:
12233         * lyxrow.[Ch]:
12234         * paragraph.[Ch]:
12235         * paragraph_pimpl.[Ch]:
12236         * sp_spell.C:
12237         * text.C:
12238         * text2.C: reduce header dependencies, introduce type for positions
12239
12240 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12241
12242         * <various>: change to use Alert.h
12243
12244 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12245
12246         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12247         when encountering an unknown token.
12248         (readLyXformat2): Show an error message if there were unknown tokens.
12249
12250 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12251
12252         * BufferView2.C:
12253         * BufferView_pimpl.C:
12254         * buffer.C:
12255         * paragraph.h:
12256         * text.C:
12257         * text2.C: use par->isInset()
12258
12259 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12260
12261         * paragraph_pimpl.h:
12262         * paragraph_pimpl.C: cleanup
12263
12264 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12265
12266         * text2.C (removeRow):
12267         * text.C (setHeightOfRow): remove useless (and costly) call to
12268         getRow.
12269
12270 2001-11-20  Allan Rae  <rae@lyx.org>
12271
12272         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12273         Now need Inset*::checkInsertChar() to return true for appropriate
12274         cases so that the characters in the minibuffer will actually be
12275         inserted.
12276
12277 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12278
12279         * text.C: change the order of the includes.
12280         (workWidth): initialize it at once.
12281         (workWidth): make maxw unsigned
12282         (setHeightOfRow): remove unused variable (inset)
12283         (selectSelectedWord): remove unused variable (inset)
12284         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12285
12286 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12287
12288         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12289         server is not running.
12290         (openConnection):
12291         (closeConnection): add debug info when server is disabled.
12292
12293         * ColorHandler.C (getGCForeground): send debug message to GUI
12294         channel.
12295
12296         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12297
12298         * kbmap.C (bind): modify because return conventions of
12299         kb_sequence::parse have changed.
12300
12301         * kbsequence.C (parse): only ignore spaces and not any stupid
12302         control character. This avoids tests like s[i] <= ' ', which are
12303         guaranteed to fail with 8bit characters and signed chars.
12304         Change return code to string::npos when there have been no error
12305         (0 was a bad idea when error is at first character)
12306
12307 2001-11-14  José Matos  <jamatos@fep.up.pt>
12308
12309         * buffer.h:
12310         * buffer.C (simpleDocBookOnePar): removed unused argument.
12311
12312 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12313
12314         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12315         insets which are part of a word. Paragraph::isLetter takes care of
12316         that now. Use Paragraph::isInset to identify insets.
12317         (selectSelectedWord): do not test for hyphenation break.
12318
12319         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12320         that protected spaces are considered as spaces.
12321
12322         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12323         Inset::isLetter.
12324
12325 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12326
12327         * lyxserver.h:
12328         * lyxserver.C: fix it. and small cleanup.
12329
12330 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12331
12332         * BufferView_pimpl.C: use inline helpers
12333
12334         * LaTeXFeatures.h:
12335         * LaTeXFeatures.C: fix typos
12336
12337         * Spacing.h:
12338         * Spacing.C: move spacing_string into class
12339
12340         * ToolbarDefaults.C: move stuff into namespace anon
12341
12342         * layout.h: update enum
12343
12344         * lyxfunc.C: use better debug
12345
12346         * minibuffer.h: fix typo
12347
12348         * debug.h:
12349         * debug.C:
12350         * WorkArea.C: add and use Debug::WORKAREA
12351
12352         * lyxtext.h:
12353         * text.C:
12354         * text2.C: code re-organisation, inline helpers
12355
12356 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12357
12358         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12359         std::vector.empty().
12360
12361 2001-11-09  Allan Rae  <rae@lyx.org>
12362
12363         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12364         '\n's after tables.  Tabular and ERT inset work now makes this no
12365         longer necessary.
12366
12367 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12368
12369         * minibuffer.h:
12370         * minibuffer.C: fix crash, improve drop-down completion
12371
12372 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12373
12374         * lyxserver.h:
12375         * lyxserver.C: invalidate fd's when doing endPipe()
12376
12377 2001-11-08  José Matos  <jamatos@fep.up.pt>
12378
12379         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12380         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12381
12382         * paragraph.h:
12383         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12384
12385 2001-11-07  José Matos  <jamatos@fep.up.pt>
12386
12387         * buffer.h:
12388         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12389         const qualifier.
12390
12391         * buffer.C (sgmlOpenTag):
12392         * buffer.C (sgmlCloseTag): removed debug info.
12393
12394         * buffer.h (sgmlOpenTag):
12395         * buffer.h (sgmlCloseTag): made public.
12396
12397 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12398
12399         * buffer.C (saveParamsAsDefaults):
12400         * lyx_cb.C (MenuLayoutSave): remove
12401
12402         * LyXAction.C (init):
12403         * commandtags.h:
12404         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12405
12406 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12407
12408         * buffer.C (setPaperStuff): removed from here...
12409
12410         * bufferparams.C (setPaperStuff): ... and moved there.
12411
12412 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12413
12414         * minibuffer.h:
12415         * minibuffer.C:
12416         * XFormsView.C: add support for drop-down completion
12417
12418 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12419
12420         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12421         commands.
12422
12423 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12424
12425         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12426         disabled.
12427
12428 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12429
12430         * lyx_main.C: change ref to known bugs
12431
12432 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12433
12434         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12435         to work around older babel problems.
12436
12437 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12438
12439         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12440
12441 2001-10-24  Juergen Vigna  <jug@sad.it>
12442
12443         * tabular-old.C (ReadOld): below variable changes reflected.
12444
12445         * tabular.[Ch]: added ltType struct for longtable header/footer
12446         defines and changed all instances where they are used. Added
12447         future support for double top/bottom rows.
12448
12449 2001-10-24  José Matos  <jamatos@fep.up.pt>
12450
12451         * buffer.h (docbookHandleCaption):
12452         * buffer.C (docbookHandleCaption): removed unused function.
12453         (makeDocBookFile): moved docbook supported version to v4.1.
12454
12455 2001-10-24  José Matos  <jamatos@fep.up.pt>
12456
12457         * tabular.h:
12458         * tabular.C (docbookRow): new function to export docbook code of a row.
12459         (DocBook): now honors the longtable flags.
12460
12461 2001-10-23  José Matos  <jamatos@fep.up.pt>
12462
12463         * LaTeXFeatures.h:
12464         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12465         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12466
12467         * buffer.C (makeLinuxDocFile):
12468         (makeDocBookFile): reworked the preamble, more clean, and with
12469         support for lyx defined entities. Changed the document declaration
12470         to be more XML friendly.
12471
12472         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12473         if we need to output XML that should be done with a filter.
12474
12475 2001-10-22  Juergen Vigna  <jug@sad.it>
12476
12477         * sp_pspell.h (class PSpell): add alive function needed in the
12478         controller to see if the spellchecker could be started.
12479
12480 2001-10-22  Juergen Vigna  <jug@sad.it>
12481
12482         * buffer.C (insertStringAsLines): modify the font for inserting
12483         chars in certain conditions by calling checkInsertChar(font).
12484
12485 2001-10-19  Juergen Vigna  <jug@sad.it>
12486
12487         * text.C (workWidth): use getRow instead of wrong algorithm.
12488         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12489
12490 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12491
12492         * lyxserver.h:
12493         * lyxserver.C:
12494         * lyx_main.h:
12495         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12496
12497 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12498
12499         * text.C (workWidth): do not search for the exact row when
12500         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12501         optimization for big documents.
12502
12503 2001-10-18  Juergen Vigna  <jug@sad.it>
12504
12505         * text.C (workWidth): new function with added Inset * parameter.
12506
12507 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12508
12509         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12510
12511         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12512         change return type of getColumnNearX.
12513
12514
12515         * text.C (changeRegionCase): use uppercase/lowercase instead of
12516         toupper/tolower.
12517         (leftMargin):
12518         (rightMargin): simplify code by factoring out the uses of
12519         textclasslist.
12520         (labelFill):
12521         (numberOfHfills):
12522         (setHeightOfRow):
12523         (appendParagraph): use Paragraph::size_type
12524
12525 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12526
12527         * vspace.C (asLatexString): add a missing break
12528
12529 2001-10-15  Herbert Voss  <voss@perce.de>
12530
12531         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12532
12533 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12534
12535         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12536         is not available.
12537
12538 2001-10-10  André Pönitz <poenitz@gmx.net>
12539
12540         * lyxfunc.C: removed greek_kb_flag.
12541
12542 2001-10-10  Herbert Voss  <voss@perce.de>
12543
12544         * lyx_main.C: delete global string help_lyxdir.
12545
12546 2001-10-09  Herbert Voss  <voss@perce.de>
12547
12548         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12549
12550         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12551
12552         * lyx_main.C: added global string help_lyxdir.
12553
12554         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12555
12556 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12557
12558         * lyxrc.C (set_font_norm_type): support iso8859-4
12559
12560 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12561
12562         * LaTeX.C (deplog): add another regex for MikTeX
12563
12564 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12565
12566         * lyxrc.C (set_font_norm_type): support iso8859-3
12567
12568 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12569
12570         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12571
12572         * LaTeXFeatures.C: remove special case of french and index
12573
12574         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12575         before \begin{document}). This solves several incompatibilities.
12576
12577 2001-10-03  Garst Reese  <reese@isn.net>
12578
12579         * lyx_cb.C: change CheckTex error msg.
12580
12581 2001-10-03  José Matos  <jamatos@fep.up.pt>
12582
12583         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12584
12585 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12586
12587         * .cvsignore: update
12588
12589         * lyx_main.C (commandLineVersionInfo): use new style version info.
12590
12591         * buffer.C (writeFile):
12592         (makeLaTeXFile):
12593         (makeLinuxDocFile):
12594         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12595
12596         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12597
12598         * version.h: update to use stuff in version.C
12599
12600         * version.C.in: new file. Contains version information determined
12601         at compile time. This is a merging of version.h and
12602         version_info.h.in.
12603
12604 2001-10-03  Juergen Vigna  <jug@sad.it>
12605
12606         * BufferView_pimpl.C (update): don't change "dirty" status in
12607         updateInset call.
12608
12609 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12610
12611         * WorkArea.C (c-tor): re-position version string slightly.
12612
12613 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12614
12615         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12616         revert to previous code.
12617
12618         WorkArea.[Ch]: (show, destroySplash): methods removed.
12619
12620         WorkArea.C: rework code so that it's an amalgam of the codes before and
12621         after the splash screen was moved to WorkArea.
12622
12623 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12624
12625         * lyxrc.C (read):
12626         * vspace.C (inPixels):
12627         (lyx_advance):
12628         * kbmap.C (bind):
12629         * buffer.C (insertStringAsLines):
12630         (asciiParagraph): fix types to be large enough
12631
12632         * lyxlex_pimpl.h: change member status from short to int
12633
12634         * layout.h: fix type of endlabeltype
12635
12636         * kbmap.C (bind):
12637         * kbsequence.C (parse): change return type to string::size_type
12638
12639         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12640         variable
12641
12642         * Bullet.C (bulletSize):
12643         (bulletEntry): do not use short ints as parameters
12644
12645         * BufferView2.C (insertLyXFile): change a char to an int.
12646
12647         * WorkArea.C (WorkArea): remove unneeded floats in computation
12648
12649 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12650
12651         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12652
12653         * paragraph.C (asString): Do not ignore newline/hfill chars when
12654         copying to the clipboard.
12655
12656 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12657
12658         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12659         after a multi-line inset.
12660
12661 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12662
12663         * paragraph.C (validate): Set NeedLyXFootnoteCode
12664
12665 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12666
12667         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12668         and decrease-error to decrease.
12669
12670 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12671
12672         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12673         it more readable (should be equivalent)
12674
12675 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12676
12677         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12678
12679 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12680
12681         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12682         of a cursor (row, etc.) after a character has been deleted
12683         (deleteEmptyParagraphMechanism): call the method above on _all_
12684         cursors held by the LyXText when a double space has been
12685         detected/deleted.
12686
12687 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12688
12689         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12690         pixmap.
12691         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12692
12693         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12694         background. Use greyOut() and the new show() methods to toggle between
12695         the foreground and background. Add code to remove the splash after
12696         its initial showing.
12697
12698         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12699         (create_forms): no longer call Dialogs::showSplash.
12700
12701 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12702
12703         * .cvsignore: add version_info.h
12704
12705 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12706
12707         * version_info.h.in: new file
12708
12709         * Makefile.am: add version_info.h.in
12710
12711         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12712         version_info.h instead of VERSION_INFO
12713
12714 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12715
12716         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12717         The ERT inset now returns string().
12718
12719 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12720
12721         * lyxtext.h, text.C (selectNextWord): renamed as
12722         selectNextWordToSpellcheck.
12723
12724         * text.C (selectNextWordToSpellcheck): Modified to not select
12725         words inside an ERT inset.
12726
12727 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12728
12729         * lyx_cb.C (MenuLayoutSave): change a bit the question
12730
12731         * sp_base.h: include <sys/types.h>
12732
12733 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12734
12735         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12736
12737 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12738
12739         * several files: fix typos in user-visible strings
12740
12741 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12742
12743         * text2.C (pasteSelection): do not set the selection, since it
12744         will be cleared later. Actually, the intent was to fix the way the
12745         selection was set, but I figured rmoving the code was just as good.
12746
12747 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12748
12749         * FontLoader.C (available): Check if font is available without
12750         loading the font.
12751
12752 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12753
12754         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12755
12756 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12757
12758         * lyxrc.[Ch]: added display_graphics variable and associated code.
12759
12760 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12761
12762         * bufferparams.C (hasClassDefaults): new method. Returns true if
12763         the buffer parameters correspond to known class defaults
12764
12765 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12766
12767         * XFormsView.C (show): set minimum size to the main window.
12768
12769 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12770
12771         * text2.C (copySelection):
12772         (cutSelection):
12773         * lyxfind.C (LyXReplace):
12774         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12775         LyXText::selectionAsString.
12776
12777         * paragraph.C (asString): add "label" argument to the second form
12778
12779         * text2.C (selectionAsString): add "label" argument and pass it to
12780         Paragraph::asString.
12781
12782 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12783
12784         * lyx_main.C (commandLineHelp): remove version information
12785
12786 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12787
12788         * lyx_main.C: add -version commandline option
12789
12790 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12791
12792         * paragraph.h: make the optional constructor arg required instead.
12793         some modifications to other files because of this.
12794
12795         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12796
12797         * lyxserver.C (C_LyXComm_callback): make it static
12798
12799         * lyx_main.C (error_handler): make it static
12800
12801         * lyx_gui.C (LyX_XErrHandler): make it static
12802
12803         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12804
12805         * WorkArea.C: make the extern "C" methods static.
12806
12807         * Makefile.am (lyx_LDADD): simplify
12808
12809 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12810
12811         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12812         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12813
12814         * LyXAction.C (init):
12815         * lyxfunc.C (dispatch): associated code removal.
12816
12817 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12818
12819         * lyxfont.h (isSymbolFont): shut off warning
12820
12821         * text.C (setHeightOfRow):
12822         (getVisibleRow): fix crash with empty paragraphs which have a
12823         bottom line
12824
12825 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12826
12827         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12828         code.
12829
12830 2001-09-04  José Matos  <jamatos@fep.up.pt>
12831         * buffer.C
12832         * buffer.h
12833         * tabular.C (docbook): rename docBook method to docbook.
12834
12835 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12836
12837         * Makefile.am: add dependencies to main.o.
12838
12839 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12840
12841         * FontLoader.C (available): Return false if !lyxrc.use_gui
12842
12843 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12844
12845         * FontInfo.C (query):
12846         * converter.C (view):
12847         * importer.C (Import):
12848         * exporter.C (Export): Can not -> cannot.
12849
12850 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12851
12852         * BufferView_pimpl.C: allow to create index inset even if
12853           string is empty
12854
12855 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12856
12857         * buffer.C (getLists): replace boost::tie code with an explicit pair
12858         as boost::tie can break some compilers.
12859
12860         * iterators.h: Added a std:: declaration to the return type of
12861         ParIterator::size.
12862
12863 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12864
12865         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12866           case.
12867
12868 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12869
12870         * iterators.[Ch]: New files. Provide paragraph iterators.
12871
12872         * buffer.C (changeLanguage): Use paragraph iterators.
12873         (isMultiLingual): ditto
12874
12875         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12876
12877 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12878
12879         * FontLoader.C: Support for cmr font.
12880
12881 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12882
12883         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12884         (available): New method.
12885
12886         * FontInfo.C (getFontname): Use scalable fonts even when
12887         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12888         found.
12889
12890 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12891
12892         * converter.C (Formats::view): reverted! Incorrect fix.
12893
12894 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12895
12896         * converter.C (Formats::view): only output the -paper option
12897         if the dvi viewer is xdvi, thereby fixing bug #233429.
12898
12899 2001-08-23  Herbert Voss  <voss@perce>
12900
12901         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12902
12903 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12904
12905         * Spacing.h (Spacing): Set space to Default on in the default
12906         constructor.
12907
12908 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12909
12910         * vc-backend.h (RCS::versionString): add RCS to version
12911         (CVS::versionString): add CVS to version
12912
12913         * vc-backend.C (scanMaster): do not add CVS to version.
12914         (scanMaster): do not add RCS to version
12915
12916         * lyxvc.C (versionString): new method
12917
12918         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12919
12920 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12921
12922         * Spacing.C (set): initialize fval
12923
12924 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12925
12926         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12927         " or \.
12928
12929 2001-08-16  Juergen Vigna  <jug@sad.it>
12930
12931         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12932
12933 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12934
12935         * BufferView_pimpl.C:
12936         * figureForm.C:
12937         * lyxtext.h:
12938         * text2.C: setParagraph takes linespacing now
12939
12940 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12941
12942         * LyxAction.C: add internal LFUN_CITATION_INSERT
12943
12944         * LyXView.C: actually apply fix
12945
12946         * bufferlist.C: fix open non-existent file
12947
12948         * lyxfind.C: fix indentation
12949
12950         * lyxfunc.C: remove unneeded assert, fix typo
12951
12952 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12953
12954         * MenuBackend.C: use "Floatname List"
12955
12956 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12957
12958         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12959         when converting LaTeX layout to insetERT.
12960         Generate a non-collapsed float when reading old float
12961
12962 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12963
12964         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12965         ERT insets.
12966
12967 2001-08-13  Juergen Vigna  <jug@sad.it>
12968
12969         * text.C (fill): return 0 instead of 20 as this seems to be the more
12970         correct value.
12971
12972 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12973
12974         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12975         lyxrc.font_norm.
12976
12977 2001-08-13  Juergen Vigna  <jug@sad.it>
12978
12979         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12980         casesensitive off.
12981         (SearchBackward): comment out the unlocking of the inset_owner this
12982         should not be needed!
12983
12984 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12985
12986         * Many files: Remove inherit_language, and add latex_language
12987
12988         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12989         collapsible insets.
12990
12991 2001-08-10  Juergen Vigna  <jug@sad.it>
12992
12993         * text.C (prepareToPrint): fixed hfill-width in draw!
12994
12995         * BufferView2.C (selectLastWord): save the selection cursor as this
12996         now is cleared in the function LyXText::clearSelection!
12997
12998 2001-08-08  Juergen Vigna  <jug@sad.it>
12999
13000         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13001         BACKSPACE type functions.
13002
13003         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13004         is only cutted from the document but not put in the cut-buffer, where
13005         still the old stuff should be.
13006
13007         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13008
13009         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13010
13011         * tabular.C (SetWidthOfCell): fixed special case where the width
13012         was not updated!
13013         (LeftLine): handle '|' in align_special.
13014         (RightLine): ditto
13015         (LeftAlreadyDrawed): ditto
13016         (SetWidthOfCell): ditto
13017
13018 2001-08-07  Juergen Vigna  <jug@sad.it>
13019
13020         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13021
13022 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13023
13024         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13025         * lyxlex.[hC]: ditto
13026
13027 2001-08-06  Juergen Vigna  <jug@sad.it>
13028
13029         * text.C (getVisibleRow): fix up row clearing a bit.
13030
13031 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13032
13033         * minibuffer.C: make sure the X server sees the changes in the input.
13034
13035 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13036
13037         * paragraph.C (getFont): split into...
13038         (getLabelFont): this
13039         (getLayoutFont): and this
13040         * paragraph_pimpl.C (realizeFont): calling this
13041
13042         * text2.C (getFont): split into...
13043         (getLayoutFont): this
13044         (getLabelFont): and this
13045         (realizeFont): all three calling this
13046
13047         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13048         files where used.
13049
13050 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13051
13052         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13053
13054 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13055
13056         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13057         layouts from the Quote inset insertion.
13058
13059 2001-08-03  Juergen Vigna  <jug@sad.it>
13060
13061         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13062
13063         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13064         only if status not is already CHANGED_IN_DRAW (second level).
13065
13066         * text.C (draw): don't set the need_break_row when inside an
13067         InsetText LyXText.
13068
13069 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13070
13071         * buffer.C (parseSingleLyXformat2Token): handle more latex
13072         conversion cases.
13073
13074         * bufferview_funcs.[hC]: change function names to
13075         begin with small char, adjust other files.
13076
13077 2001-08-02  André Pönitz <poenitz@gmx.net>
13078
13079         * lyxfunc.C:
13080         BufferView_pimpl.C: remove broken special code for math-greek
13081
13082 2001-08-02  Juergen Vigna  <jug@sad.it>
13083
13084         * BufferView_pimpl.C (update): redone this function so that we
13085         update the text again if there was a CHANGE_IN_DRAW.
13086
13087         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13088         (drawFromTo): added a new internal bool which is used by draw() and
13089         redraw() function.
13090         (general): some cursor drawing problems fixed.
13091
13092 2001-08-01  Juergen Vigna  <jug@sad.it>
13093
13094         * lyxfind.C (LyXFind): fixed
13095         (SearchForward): ditto
13096         (SearchBackward): ditto
13097
13098         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13099         spurius drawing of the cursor in the main area.
13100
13101         * text2.C (status): small fix which could lead to a segfault!
13102         (clearSelection): remove unneeded BufferView param.
13103
13104 2001-08-01  André Pönitz <poenitz@gmx.net>
13105
13106         * lyxfunc.C: small change due to changed mathed interface
13107
13108 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13109
13110         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13111
13112 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13113
13114         * lyxfunc.c: fail gracefully if file doesn't exist
13115
13116         * LyXSendto.C:
13117         * buffer.C:
13118         * lyxfunc.C:
13119         * BufferView_pimpl.C: IsDirWriteable() proto changed
13120
13121         * LyXView.C: fix updateWindowTitle() to store the last title
13122
13123 2001-07-31  Juergen Vigna  <jug@sad.it>
13124
13125         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13126         the font (wrong since using of Paragraph::highestFontInRange).
13127
13128         * paragraph.C (highestFontInRange): added a default_size parameter.
13129
13130         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13131         (setHeightOfRow): reformat
13132
13133 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13134
13135         * converter.[hC] + affected files: move to (inital-char)lowercase
13136         function names.
13137
13138         * ParagraphParameters.C (ParagraphParameters): remove commented code
13139
13140         * PainterBase.[Ch]: remove commented code
13141
13142         * LaTeXFeatures.h: add "bool floats" for float.sty
13143
13144         * LaTeXFeatures.C (LaTeXFeatures): init floats
13145         (require): handle float
13146         (getPackages): do it with floats
13147
13148 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13149
13150         * BufferView_pimpl.C (Dispatch): improve handling of
13151         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13152
13153         * commandtags.h: #include lyxfont.h here temporarily to avoid
13154         keybinding bug.
13155
13156         * bufferlist.h: include LString.h here.
13157
13158 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13159
13160         * text2.C (getStringToIndex): new method.
13161
13162 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13163
13164         * *: Reduced header file dependencies all over.
13165
13166 2001-07-30  Baruch Even  <baruch@lyx.org>
13167
13168         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13169
13170 2001-07-29  Baruch Even  <baruch@lyx.org>
13171
13172         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13173
13174 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13175
13176         * ParameterStruct.h (endif): add a default constructor to make
13177         sure that all variables is initialized.
13178
13179         * ParagraphParameters.C (ParagraphParameters): adjust
13180
13181 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13182
13183         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13184         index; also, check that there is something to index, and that it
13185         does not span over several paragraphs.
13186         (doubleClick): use WHOLE_WORD_STRICT for double click.
13187
13188         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13189
13190         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13191         scheme.
13192
13193 2001-07-26  Baruch Even  <baruch@lyx.org>
13194
13195         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13196         an InsetFig figure, backwards compatible reading of old figure code.
13197
13198 2001-07-27  Juergen Vigna  <jug@sad.it>
13199
13200         * text2.C: font.realize function adaption.
13201
13202         * text.C (draw): add a warnings lyxerr text if needed.
13203
13204         * layout.C: font.realize function adaption.
13205
13206         * language.C: add inherit_language and implement it's handlings
13207
13208         * bufferview_funcs.C (StyleReset): remove language parameter from
13209         font creation (should be language_inherit now).
13210
13211         * bufferparams.C (writeFile): handle ignore_language.
13212
13213         * paragraph.C (getFontSettings): the language has to be resolved
13214         otherwise we have problems in LyXFont!
13215
13216         * lyxfont.C (lyxWriteChanges): added document_language parameter
13217         (update): removed unneeded language parameter
13218
13219         * paragraph.C (validate): fixed wrong output of color-package when
13220         using interface colors for certain fonts in certain environments,
13221         which should not seen as that on the final output.
13222
13223 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13224
13225         * BufferView_pimpl.C:
13226         * Thesaurus.h:
13227         * Thesaurus.C:
13228         * Makefile.am:
13229         * commandtags.h:
13230         * LyXAction.C: add thesaurus support
13231
13232         * lyxfind.h:
13233         * lyxfind.C: add "once" parameter, for thesaurus, to not
13234           move to the next match
13235
13236 2001-07-26  Juergen Vigna  <jug@sad.it>
13237
13238         * lyxfont.C (realize): honor ignore_language too!
13239         (resolved): ditto.
13240
13241         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13242
13243         * text.C (draw): one place more for ignore_language to not draw
13244         itself!
13245
13246 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13247
13248         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13249
13250 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13251
13252         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13253         the minipage conversion problem.
13254
13255 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13256
13257         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13258         insert an inset.
13259
13260 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13261
13262         * BufferView.h: don't forward declare WorkArea
13263
13264         * BufferView.C: don't include WorkArea.h
13265
13266 2001-07-25  André Pönitz <poenitz@gmx.net>
13267
13268         * commandtags.h:
13269         * LyXAction.C:
13270         * lyxfunc.C:  new LFUN 'math-space'
13271
13272         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13273
13274 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13275
13276         * text2.C (toggleInset): call open/close
13277
13278 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13279
13280         * lyxfunc.C (dispatch): add debug for the disabled case
13281
13282         * font.C (buttonText): make similar to rectText
13283
13284         * buffer.C (readInset): comment out parsing of insetlist and
13285         insttheorem
13286
13287         * PainterBase.C (rectText): small correction
13288
13289         * BufferView_pimpl.C: comment out insettheorem and insetlist
13290         * LyXAction.C: ditto
13291         * commandtags.h: ditto
13292
13293 2001-07-24  Juergen Vigna  <jug@sad.it>
13294
13295         * text.C (draw): honor the ignore_language.
13296
13297         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13298
13299 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13300
13301         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13302         char inset.
13303
13304 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13305
13306         * lyxtext.h: remove unused (and unimplemented) methods
13307
13308 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13309
13310         * text.C (getVisibleRow): honor background color
13311
13312         * PainterBase.h:
13313         * Painter.h: remove default color argument for fillRectangle
13314
13315         * text.C (backgroundColor): new method
13316
13317 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13318
13319         * text.C (getVisibleRow): adjust
13320
13321         * font.[Ch] (rectText): new method, metrics
13322         (buttonText): new method, metrics
13323
13324         * PainterBase.[hC]: make rectText and buttonText always draw and take
13325         fewer paramteres.
13326
13327 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13328
13329         * ToolbarDefaults.C (read):
13330         * MenuBackend.C (read): allow escaping in all strings
13331
13332         * BufferView_pimpl.C (insertAndEditInset): new method.
13333         (Dispatch): use insertAndEditInset whenever appropriate.
13334
13335         * BufferView_pimpl.C (insertNote): removed
13336
13337         * BufferView_pimpl.C (smartQuote): new method, moved from
13338         BufferView; if an insetquote cannot be inserted, insert a '"'
13339         character instead.
13340
13341         * BufferView2.C: remove insertCorrectQuote();
13342
13343         * lyxfunc.C (getStatus): Add support for all remaingin
13344         inset-insert lfuns.
13345
13346         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13347
13348         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13349         command (necessary to pass " as parameter of self-insert.
13350
13351         * text.C (selectWordWhenUnderCursor):
13352         (selectWord): add word_location parameter
13353         (selectWordWhenUnderCursor): same + remove special code for word
13354         boundary.
13355         (selectNextWord): use kind() to guess type of insetspecialchar,
13356         not latex().
13357
13358         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13359         (insertErtContents): create ert insets as collapsed.
13360         (readInset): better compatibility code for Info inset.
13361
13362 2001-07-20  Juergen Vigna  <jug@sad.it>
13363
13364         * lyxfunc.C (dispatch): use always LyXFind now!
13365
13366         * text2.C (init): add a reinit flag so that the LyXText can be
13367         reinited instead of deleted and reallocated (used in InsetText).
13368
13369         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13370
13371         * text.C: ditto
13372
13373         * text2.C: ditto
13374
13375 2001-07-18  Juergen Vigna  <jug@sad.it>
13376
13377         * text.C (selectNextWord): handle insets inside inset by calling
13378         always the bv->text functions so that we can go up the_locking_inset!
13379
13380         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13381         in strange locations when inside an inset!
13382
13383         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13384         handling to include insets.
13385
13386         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13387
13388 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13389
13390         * LyXAction.C (init):
13391         * commandtags.h:
13392         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13393         LIGATURE_BREAK, since the name is so stupid.
13394
13395 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13396
13397         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13398         InsetInfos.
13399
13400         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13401
13402         * sp_form.[Ch]: remove.
13403
13404         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13405
13406         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13407         InsetInfo.
13408
13409         * src/buffer.C (readInset): ditto.
13410
13411 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13412
13413         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13414         menuSeparator(), endOfSentenceDot(), ldots() and
13415         hyphenationPoint(), which are therefore removed.
13416         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13417
13418         * LyXAction.C (init):
13419         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13420
13421         * paragraph.C (getWord): removed.
13422
13423         * BufferView_pimpl.C (Dispatch): use last word or selection for
13424         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13425
13426         * lyx_main.C (queryUserLyXDir): do not ask before creating
13427         user_dir, except if it has been named explicitely.
13428
13429 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13430
13431         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13432         a document of zero size.
13433
13434 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13435
13436         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13437         approriately in the c-tor and in require().
13438         (getPackages): output the appropriate LaTeX for natbib support.
13439
13440         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13441         variables "use_natbib" and "use_numerical_citations" when reading the
13442         LyX file.
13443         (readInset): read the various natbib cite commands.
13444         (validate): white-space change.
13445
13446         * bufferparams.[Ch]: new variables "bool use_natbib" and
13447         "bool use_numerical_citations".
13448         (writeFile): output them in the LyX file.
13449
13450 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13451
13452         * lyxfunc.C (getStatus): add support for all the inset insertion
13453         commands.
13454
13455         * text2.C (insertInset):
13456         * paragraph.C (insetAllowed):
13457         * BufferView_pimpl.C (insertInset): update to take in account the
13458         renaming of insertInsetAllowed
13459
13460         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13461
13462         * text2.C (getInset): new method. returns inset at cursor position.
13463
13464         * BufferView_pimpl.C (Dispatch): changes because of this.
13465
13466         * LyXAction.C (init): rename open-stuff to inset-toggle.
13467
13468         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13469
13470         * text2.C (toggleInset): renamed from openStuff; use
13471         Inset::open().
13472
13473 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13474
13475         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13476
13477         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13478
13479 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13480
13481         * buffer.C (readLyXformat2): Add filename to the error dialog
13482
13483 2001-07-18  Juergen Vigna  <jug@sad.it>
13484
13485         * tabular.C (GetCellNumber): put an assert here instead of the check!
13486
13487 2001-07-17  Juergen Vigna  <jug@sad.it>
13488
13489         * BufferView_pimpl.C (toggleSelection): adapted too.
13490
13491         * text.C (selectNextWord): adapted for use with insets.
13492         (selectSelectedWord): ditto
13493
13494 2001-07-17  Juergen Vigna  <jug@sad.it>
13495
13496         * sp_spell.C (PSpell): fix initialitation order.
13497
13498 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13499
13500         * paragraph.C: spacing
13501
13502 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13503
13504         * sp_spell.C: repair language selection for pspell
13505
13506 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13507
13508         * lyxfunc.h: change more methods to begin with lower char.
13509
13510 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13511
13512         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13513         for unknown layouts.
13514
13515 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13516
13517         * buffer.C (readLyXformat2): Generate an error dialog if there are
13518         unknown layouts.
13519
13520 2001-07-16  Juergen Vigna  <jug@sad.it>
13521
13522         * sp_spell.C: always compile ISpell part.
13523
13524         * lyxrc.C: added use_pspell entry and it's handling.
13525
13526 2001-07-13  Juergen Vigna  <jug@sad.it>
13527
13528         * sp_spell.C: removed double includes.
13529
13530 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13531
13532         Consistent use of Lsstream.h:
13533         * Lsstream.h: added using std::stringstream for consistencies sake.
13534
13535         * buffer.C: removed using std::stringstream
13536
13537         * lyxfont.C (stateText):
13538         * paragraph.C (asString):
13539         * text.C (selectNextWord, selectSelectedWord):
13540         * text2.C (setCounter):
13541         * vspace.C (asString, asLatexString):
13542         std::ostringstream -> ostringstream.
13543
13544 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13545
13546         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13547         * commandtags.h: add LFUN_HELP_ABOUTLYX
13548         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13549
13550 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13551
13552         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13553         cursorToggle()
13554         * lyx_gui_misc.C: remove spellchecker
13555         * lyxfunc.C: showSpellchecker
13556         * sp_base.h: added
13557         * sp_ispell.h: added
13558         * sp_pspell.h: added
13559         * sp_spell.C: added
13560         * sp_form.[Ch]: removed
13561         * spellchecker.[Ch]: removed
13562
13563 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13564
13565         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13566         is set.
13567         (simpleTeXSpecialChars): Simply print the input character without
13568         any special translation if pass_thru is set.
13569
13570         * layout.h: Added bool pass_thru to layout class for being able to
13571         implement pass through of a paragraph for Literate Programming.
13572
13573         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13574         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13575         * layout.C (Read): add "passthru" to list of layout tags and add
13576         code to set the pass_thru boolean when it is read.
13577
13578 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13579
13580         * trans_decl.h: remove allowed from KmodInfo
13581
13582         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13583         remove allowed code
13584         (Load): adjust
13585
13586         * paragraph_pimpl.C (erase): use boost::prior
13587
13588         * Painter.C (text): use data() instead of c_str() when length is
13589         also provided.
13590         * WorkArea.C (putClipboard): ditto
13591         * font.h (width): ditto
13592
13593         * BufferView2.C: use it-> instead of (*it). for iterators
13594         * texrow.C: ditto
13595         * paragraph_pimpl.C: ditto
13596         * paragraph.C: ditto
13597         * minibuffer.C: ditto
13598         * language.C: ditto
13599         * kbmap.C: ditto
13600         * encoding.C: ditto
13601         * counters.C: ditto
13602         * converter.C: ditto
13603         * chset.C: ditto
13604         * Variables.C: ditto
13605         * TextCache.C: ditto
13606         * MenuBackend.C: ditto
13607         * LyXAction.C: ditto
13608         * LColor.C: ditto
13609         * FloatList.C: ditto
13610         * DepTable.C: ditto
13611         * ColorHandler.C (LyXColorHandler): ditto
13612
13613 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13614
13615         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13616
13617         * text2.C (openStuff): reintroduce this method (which had been
13618         nuked in NEW_INSETS frenzy).
13619
13620         * lyxfunc.C (Dispatch): when an action has not been handled, use
13621         its name in the error message, not its number.
13622
13623         * paragraph.C (inInset): change method name to begin with lowercase.
13624
13625         * undo_funcs.C:
13626         * text2.C: updates because of this.
13627
13628 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13629
13630         * ToolbarDefaults.C (add): add spaces in error message
13631
13632 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13633
13634         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13635         (readLyXformat2): rename return_par to first_par, use lyxlex's
13636         pushToken and remove the manual push handling.
13637         (parseSingleLyXformat2Token): add another ert comp. variable:
13638         in_tabular, rename return_par to first_par. handle newlines better
13639
13640 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13641
13642         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13643
13644 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13645
13646         * text2.C (getParFromID): removed
13647
13648         * buffer.C (getParFromID): new method moved form lyxtext.
13649         * BufferView2.C (insertErrors): adjust
13650         (setCursorFromRow): adjust
13651         * BufferView_pimpl.C (restorePosition): adjust
13652         * lyxfunc.C (Dispatch): adjust
13653         * undo_funcs.C (textUndo): adjust
13654         (textRedo): adjust
13655         (textHandleUndo): adjust
13656         (textHandleUndo): adjust
13657
13658 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13659
13660         * buffer.C: up' the LYX_FORMAT
13661
13662         * lyxfont.h: turn NO_LATEX on as default
13663
13664         * buffer.C (insertErtContents): new methods of tex style compability.
13665         (parseSingleLyXformat2Token): use it several places.
13666         * tabular.C (OldFormatRead): and here
13667
13668 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13669
13670         * text2.C: remove some commented code.
13671         reindent file.
13672
13673         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13674         * trans.C: changes because of the above.
13675
13676 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13677
13678         * text2.C (setCounter): Fix counters bug with bibliography layout.
13679
13680 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13681
13682         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13683         own member functions
13684         (simpleTeXSpecialChars): ditto
13685
13686 2001-07-06  Juergen Vigna  <jug@sad.it>
13687
13688         * a lot of files: changed the access to LyXText::status and the
13689         call of undo-functions.
13690
13691         * undo.[Ch]: added a inset_id to the undo informations.
13692
13693         * undo_funcs.[Ch]: added and moved here all undo functions.
13694
13695         * lyxtext.h: give the status enum a weight, made status_ a private
13696         variable and made accessor functions for it, removed the whole bunch
13697         of undo-functions as they are now in their own file, make some
13698         functions publically available. Added function ownerParagraph with
13699         int parameter.
13700
13701         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13702         made InInset() a const function, added getParFromID() function.
13703
13704         * buffer.[Ch]: added const version for inset_iterator functions,
13705         added getInsetFromID() function.
13706
13707         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13708         changed undo functions for new version.
13709
13710 2001-07-05  Juergen Vigna  <jug@sad.it>
13711
13712         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13713         unknow mechanism does not call the proper constructor but only this
13714         one also if I request the other!?
13715
13716 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13717
13718         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13719
13720         * text2.C (LyXText): use initialization lists.
13721
13722         * lyxtext.h (Selection): initialize set_ and mark_
13723         (init): remove method
13724
13725 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13726
13727         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13728
13729 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13730
13731         * screen.[Ch]: change method names to begin with lowercase
13732
13733         * BufferView_pimpl.C (updateScrollbar): simplify further and
13734         hopefully make it a bit faster.
13735
13736 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13737
13738         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13739         calling directly xforms functions.
13740
13741         * Painter.C (Painter):
13742         * lyx_cb.C (MenuWrite):
13743         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13744         fl_display.
13745
13746         * lyx_gui.C: remove bogus guiruntime extern declaration.
13747
13748 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13749
13750         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13751         in NEW_INSETS
13752         (redoDrawingOfParagraph): ditto
13753         (redoParagraphs): ditto
13754         (cutSelection): don't create a object for CutAndPaste use the
13755         static method directly
13756         (pasteSelection): ditto
13757
13758         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13759         LyXview (+ rename)
13760
13761 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13762
13763         * modifications to some other files because of this.
13764
13765         * Makefile.am (lyx_SOURCES): add XFormsView
13766
13767         * XFormsView.[Ch]: new files
13768
13769         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13770         the main window. Move the gui dependent stuff to XFormsView
13771
13772 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13773
13774         * tabular.C (GetCellInset): update cur_cell also in the row/col
13775         version of this function.
13776
13777         * lyxfunc.C: no need to include figure_form.h here.
13778
13779         * FontLoader.h:
13780         * lyxfunc.h:
13781         * lyxscreen.h:
13782         * text2.C:
13783         * lyxvc.C: no need to include forms.h here.
13784
13785 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13786
13787         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13788
13789         * lyxfunc.C (Dispatch):
13790         * Spacing.C (set):
13791         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13792         constructor argument.
13793
13794 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13795
13796         * paragraph.C (Paragraph): dont't clear, and just set layout.
13797         (makeSameLayout): use params's copy contructor.
13798
13799         * ParagraphParameters.[Ch] (makeSame): delete method
13800
13801 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13802
13803         * Variables.[Ch]: fix indentation, rename set to isSet
13804
13805 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13806
13807         * lyxfunc.C (Dispatch): fix typo
13808
13809 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13810
13811         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13812         upper_bound.
13813
13814         * bufferlist.C: include assert.h for emergencyWrite().
13815
13816 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13817
13818         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13819           give up at last (bug #425202) !
13820
13821 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13822
13823         * lyx_gui_misc.C:
13824         * sp_form.h:
13825         * sp_form.C:
13826         * spellchecker.h:
13827         * spellchecker.C: strip spellchecker options and bring up
13828           preferences tab instead
13829
13830 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13831
13832         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13833         the istringstream constructor
13834
13835 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13836
13837         * paragraph.C (getLayout): fix return value
13838
13839         * paragraph.h: do not declare getLayout as inline.
13840
13841         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13842
13843 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13844
13845         * lyxcursor.h (operator<): new func
13846         (operator>): new func
13847         (operator>=): new func
13848         (operator<=): new func
13849
13850         * text.C (changeCase): use selection.start and selection.end
13851         (changeRegionCase): require from to be <= to. Require par to be a
13852         valid paragraph.
13853
13854         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13855
13856 2001-06-27  Juergen Vigna  <jug@sad.it>
13857
13858         * text.C (cursorLeftOneWord): changed to return the cursor and added
13859         overlay with BufferView * parameter which calls this one.
13860         (getWord): added
13861         (selectWord): use new getWord function.
13862         (changeCase): renamed from changeWordCase as and extended to work
13863         also on selections.
13864
13865         * lyxtext.h: added enum word_location
13866
13867         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13868         changeCase as this operates now also on selections.
13869
13870 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13871
13872         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13873
13874         * many files: send debug output to Debug::INFO instead of
13875         Debug::ANY.
13876
13877         * converter.C (View):
13878         (Convert):
13879         (Move): send debug output to Debug::FILES instead of console.
13880
13881 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13882
13883         * lyxfunc.C (getStatus): use func_status
13884
13885         * func_status.h: new header, describing the results of
13886         LyXFunc::getStatus;
13887
13888         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13889         LFUN_MATH_HALIGN.
13890
13891 2001-06-25  The LyX Project  <jug@sad.it>
13892
13893         * buffer.C (sgmlOpenTag):
13894         (sgmlCloseTag):
13895         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13896
13897 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13898
13899         * text2.C: remove some dead code
13900
13901         * tabular.C (GetCellInset): store the last cell checked (gotten)
13902
13903         * tabular.h: add the helper for the speedup
13904
13905         * lyxtext.h: remove some dead code
13906
13907 2001-06-26  The LyX Project  <Asger>
13908
13909         * paragraph.C: Change export to LaTeX of alignment to
13910         \begin{center} and family for better roundtrip work with reLyX.
13911
13912         * Tune the math drawing a bit.
13913
13914 2001-06-25  The LyX Project  <Asger>
13915
13916         * LColor.C (LColor): New color for math background. New color
13917         for buttons.
13918
13919 2001-06-25  The LyX Project  <jug@sad.it>
13920
13921         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13922
13923         * lyxfunc.C (Open):
13924         * bufferlist.C (newFile): do not restrict to files ending with
13925         .lyx
13926
13927         * BufferView_pimpl.C (MenuInsertLyXFile):
13928
13929 2001-06-24  The LyX Project  <jug@sad.it>
13930
13931         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13932         of compare_no_case
13933
13934 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13935
13936         * lyxtext.h: rename most methods to begin with a small char.
13937         Lots of changes because of this.
13938
13939         * paragraph.C (Paragraph): do not call fitToSize
13940         (erase): call Pimpl::erase
13941         (insertChar): call Pimpl::insertChar
13942         (insertInset): call Pipl::insertInset
13943         (breakParagraph): do not call fitToSize
13944         (breakParagraphConservative): do not call fitToSize
13945         (fitToSize): remove method
13946
13947         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13948
13949 2001-06-24  The LyX Project  <Asger>
13950
13951         * Fix Qt compilation^2
13952
13953 2001-06-24  The LyX Project  <jug@sad.it>
13954
13955         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13956         depthHook(getDepth()-1).
13957
13958         * paragraph.h:
13959         * ParagraphParameters.h:
13960         * ParameterStruct.h: change type of depth to unsigned int ==
13961         depth_type. Many adaptations to other files before of that.
13962
13963 2001-06-24  The LyX Project  <Asger>
13964
13965         * Fix Qt compilation.
13966
13967 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13968
13969         * paragraph.h: renamed several methods to begin with small letter.
13970         several changes to many parts of the code because of this.
13971
13972 2001-06-23  The LyX Project  <jug@sad.it>
13973
13974         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13975         rewritten to discard all double spaces when KeepEmpty is off
13976         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13977         to only handle newlines but not fiddle with spaces and friends.
13978
13979         * lyxfunc.C (MenuNew): when doing 'new from template', use
13980         template_path as default directory
13981
13982 2001-06-23  The LyX Project  <Asger>
13983
13984         * Clean-up of header file includes all over
13985         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13986
13987 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13988
13989         * paragraph.h: renamed from lyxparagraph.h
13990
13991 2001-06-23  Asger  <lyx@violet.home.sad.it>
13992
13993         * Buffer.h: Removed Buffer::resize
13994         * BufferList.h: Removed BufferList::resize
13995         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13996         the document lazily when we change the width, or the font settings.
13997
13998 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13999
14000         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14001
14002 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14003
14004         * buffer.h: remove out of date comment
14005
14006 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14007
14008         * lyxscreen.h:
14009         * screen.C: fix "theoretical" GC leak
14010
14011 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14012
14013         * LaTeX.C (scanAuxFile):
14014         (deplog): remove trailing \r when reading stream (useful under
14015         win32)
14016
14017 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14018
14019         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14020         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14021         and BufferView::theLockingInset(Inset*), so should use them and not
14022         access bv_->text->the_locking_inset directly.
14023
14024         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14025
14026 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14027
14028         * Makefile.am:
14029         * tex-defs.h: remove old unused file
14030
14031 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14032
14033         * BufferView_pimpl.C: fix typo, remove minibuffer message
14034           when buffer has loaded
14035
14036 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14037
14038         * lyxfunc.C (Dispatch): use stringstream
14039         (MenuNew): use stringstream
14040         (Open): use stringstream
14041
14042         * importer.C (Import): use stringstream
14043
14044         * bufferview_funcs.C (CurrentState): use stringstream
14045
14046         * LaTeX.C (run): use stringstream
14047
14048         * BufferView_pimpl.C (savePosition): use stringstream
14049         (restorePosition): use stringstream
14050         (MenuInsertLyXFile): use stringstream
14051
14052 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14053
14054         * BufferView.C:
14055         * Bullet.C:
14056         * ColorHandler.C:
14057         * FontInfo.C:
14058         * FontLoader.C:
14059         * LColor.C:
14060         * LaTeXFeatures.C:
14061         * Painter.C:
14062         * gettext.C:
14063         * lyx_gui_misc.C:
14064         * lyxserver.C:
14065         * vspace.C: removed // -*- C++ -*- as first line.
14066
14067         * lyxfind.h:
14068         * version.h: added // -*- C++ -*- as first line.
14069
14070 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14071
14072         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14073
14074         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14075         of string
14076
14077 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14078
14079         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14080         of floats.
14081
14082 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14083
14084         * gettext.C: include LString.h even when --disable-nls is on.
14085
14086 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14087
14088         * converter.h (Get): changed argument type from int to
14089         FormatList::size_type to avoid unnecessary conversion.
14090
14091         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14092         before using it.
14093
14094 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14095
14096         * gettext.h: include LString.h even when --disable-nls is on.
14097
14098 2001-06-07  Juergen Vigna  <jug@sad.it>
14099
14100         * text.C (BreakAgain): subst spaces with tabs.
14101
14102         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14103         (resizeInsetsLyXText): set force on resizeLyXText.
14104
14105 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14106
14107         * gettext.h (gettext_init):
14108         (locale_init): use a real definition instead of a macro
14109
14110 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14111
14112         * Bufferview_pimpl.C:
14113         * LColor.h:
14114         * LColor.C: further lcolor tidies
14115
14116 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14117
14118         * BufferView_pimpl.C (updateScrollbar): simplify.
14119
14120         * BufferView2.C: don't include insets/insetinfo.h, change
14121         prototype for insertInset and call the Pimpl version. let
14122         updateInset call Pimpl version.
14123
14124         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14125         gotoInset to BufferView::Pimpl
14126
14127 2001-06-01  Juergen Vigna  <jug@sad.it>
14128
14129         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14130         inside a LockingInset (is the update needed at all?).
14131
14132 2001-05-31  Juergen Vigna  <jug@sad.it>
14133
14134         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14135         here not the old one otherwise how should we compare it afterwards
14136         if it's the same!
14137
14138 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14139
14140         * lyxfont.C:
14141         * tabular.C:
14142         * tabular-old.C:
14143         * FontInfo.C: bring C functions into global namespace when
14144         necessary
14145
14146 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14147
14148         * LString.h: make sure config.h has been loaded before LString.h.
14149
14150         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14151         (one for each char read by EatLine!).
14152
14153         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14154         variables.
14155
14156 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14157
14158         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14159         to the same as the par we break from
14160
14161 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14162
14163         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14164
14165         * MenuBackend.C (expand): also create menu entries for wide
14166         versions of the floats.
14167
14168         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14169
14170         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14171
14172         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14173         frontends/Makefile.am
14174
14175         * text2.C: adjust
14176         * text.C: adjust
14177
14178
14179         * tabular.C (getTokenValue): add std::
14180
14181         * tabular-old.C (getTokenValue): add std::
14182         (getTokenValue): ditto
14183         (getTokenValue): ditto
14184
14185         * screen.C (ToggleSelection): adjust
14186
14187         * lyxtext.h: put selection cursors inside a Selection struct.
14188
14189         * lyxfunc.C (moveCursorUpdate): adjust
14190
14191         * lyxfont.C (latexWriteStartChanges): add std::
14192
14193         * lyxfind.C: adjust
14194
14195         * font.h: delete with(char const *, LyXFont const &)
14196
14197         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14198
14199         * FontInfo.C (getFontname): add std::
14200
14201         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14202         (workAreaButtonPress): adjust
14203         (tripleClick): adjust
14204         (update): adjust
14205         (moveCursorUpdate): adjust
14206         (Dispatch): adjust
14207
14208         * BufferView2.C (gotoInset): adjust
14209
14210 2001-05-30  Juergen Vigna  <jug@sad.it>
14211
14212         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14213         to check pspell I add this as default as I now have new pspell
14214         libraries and they seem to use this.
14215
14216 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14217
14218         * text2.C (CutSelection): make the cursor valid before the call to
14219         ClearSelection.
14220
14221 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14222
14223         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14224         relied on 0 terminated strings and other horrors. Bug found due to
14225         the new assert in lyxstring!
14226
14227         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14228         KP_ keys.
14229
14230 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14231
14232         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14233         to latinkeys.bind.
14234
14235         * lyxfunc.C (processKeySym): change method of getting to the
14236         self-insert char.
14237
14238         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14239         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14240         * BufferView_pimpl.[Ch]: here as private methods.
14241
14242 2001-05-28  Juergen Vigna  <jug@sad.it>
14243
14244         * text.C (SetHeightOfRow): added the update() call again as it is
14245         needed to initialize inset dimensions!
14246
14247 2001-05-16  Juergen Vigna  <jug@sad.it>
14248
14249         * text2.C (SetCharFont): Add new function with BufferView * and
14250         bool toggleall parameters for setting insets internal fonts.
14251         (SetFont): Freeze the undo as we may change fonts in Insets and
14252         all this change should be inside only one Undo!
14253
14254         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14255         setting font's in insets as for them we have the SetFont function!
14256
14257 2001-05-15  Juergen Vigna  <jug@sad.it>
14258
14259         * text2.C (ClearSelection): to be sure we REALLY don't have any
14260         selection anymore!
14261
14262         * tabular.C (TeXCellPreamble): fixed the left border problem for
14263         multicolumn cells.
14264
14265 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14266
14267         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14268         dependancy file
14269
14270 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14271
14272         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14273         LFUN_BREAKPARAGRAPH.
14274
14275         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14276         help test to "internal only", similar for LFUN_INSERT_URL
14277
14278         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14279         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14280         auto_region_delete and deadkeys.
14281
14282 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14283
14284         * LColor.h:
14285         * LColor.C: remove some dead entries, tidy a little
14286
14287 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14288
14289         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14290         commented code.
14291         (Dispatch): implement LFUN_ESCAPE
14292
14293         * commandtags.h: add LFUN_ESCAPE
14294
14295         * LyXAction.C (init): add entry for LFUN_ESCAPE
14296
14297         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14298         Remove commented code.
14299         (insertNote): moved here
14300         (open_new_inset): moved here
14301
14302         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14303         BufferView_pimpl
14304
14305 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14306
14307         * kbmap.C (findbinding): clean it up and make it work correctly.
14308
14309         * lyx_main.C (init): do not pass argc and argv as parameters
14310
14311 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14312
14313         * buffer.C: fix path for OS/2 & Win32
14314
14315         * lyx_gui.C:
14316         * lyx_main:
14317         * lyx_main.C: Added os:: class.
14318
14319         * os2_defines.h: update
14320
14321 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14322
14323         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14324         better by trying again with reduced state.
14325
14326 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14327
14328         * lyxrc.C (read): print error about invalid key sequence only when
14329         debugging (because not all latinX keysyms are known to some X
14330         servers)
14331
14332         * kbsequence.C (getiso): add a few std:: qualifiers
14333         (getiso): comment out extra return statement.
14334
14335 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14336
14337         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14338         handling.
14339         (Dispatch): enhance the accent inset a bit. (not perfect)
14340
14341 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14342
14343         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14344
14345 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14346
14347         * bufferlist.C (emergencyWrite): fix assert() call
14348
14349 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14350
14351         * text.C (InsertChar): Added trivial patch to only send the "you
14352         can not do multiple spaces this way" message once during a
14353         session.
14354
14355 2001-05-08  Baruch Even  <baruch@lyx.org>
14356
14357         * Makefile.am: Changed order of libraries to get LyX to link properly
14358         with the gnome frontend.
14359
14360 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14361
14362         * LaTeXFeatures.h: add a std:: qualifier
14363
14364 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14365
14366         * paragraph.C (String): use stringstream
14367
14368 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14369
14370         * paragraph.C (writeFile): remove footflag arg
14371
14372         * buffer.C (makeLaTeXFile): use stringstream
14373         (latexParagraphs): remove footnot gurba
14374
14375         * LaTeXFeatures.C (getPackages): use stringstream
14376         (getMacros): likewise
14377         (getTClassPreamble): likewise
14378         (getFloatDefinitions): new method
14379
14380         * paragraph.C (writeFile): reindent
14381         (Erase): reindent
14382
14383         * WorkArea.h: revert the xpos + etc changes.
14384
14385         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14386
14387         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14388
14389         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14390         (pasteSelection): likewise
14391         * text2.C (CreateUndo): likewise
14392
14393 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14394
14395         * minibuffer.C (peek_event): temporarily reduce the functionality
14396         of the minibuffer (to allow args on lfuns)
14397
14398         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14399         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14400
14401         * buffer.C (readInset): add compability reading of old float
14402         lists, add reading of new style float list.
14403         (readInset): avoid reevaluation of inscmd.getCmdName()
14404         (getLists): reindent
14405
14406         * MenuBackend.C (MenuItem): implement parsing of
14407         md_floatlistinsert and md_floatinsert.
14408         (expand::LastFiles): move initalizaton of iterators out of loop,
14409         avoid reevaluation.
14410         (expand::Documents): introduce typdedef vector<string> Strings,
14411         and use it.
14412         (expand::ExportFormats): introduce typedef vector<Format const *>
14413         Formats, and use it.
14414         (expand): implement FloatListInsert and FloatInsert.
14415
14416         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14417         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14418         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14419
14420         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14421         handling.
14422         (Dispatch::LFUN_FLOAT_LIST): implement
14423
14424 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14425
14426         * LaTeX.C (run): Fix problem with --export code.
14427
14428 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14429
14430         * BufferView.[Ch] (workarea): removed.
14431         (getClipboard) new method; wrapper for workarea()->getClipboard()
14432
14433         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14434         bug.
14435
14436         * WorkArea.h (width, height, xpos, ypos): These methods all
14437         returned the dimensions of the work_area sub-area of WorkArea,
14438         resulting in a position error if the WorkArea were resized. Now
14439         return the dimensions of the entire WorkArea.
14440
14441         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14442
14443 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14444
14445         * LaTeX.C (deplog): correct the syntax of regex reg1
14446
14447 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14448
14449         * undo.C: remove !NEW_INSETS cruft
14450
14451 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14452
14453         * text2.C: remove !NEW_INSETS cruft
14454
14455         * text.C: remove !NEW_INSETS cruft
14456
14457         * tabular.C: remove !NEW_INSETS cruft
14458
14459         * spellchecker.C: remove !NEW_INSETS cruft
14460
14461         * lyxtext.h: remove !NEW_INSETS cruft
14462
14463         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14464
14465         * lyxfunc.C: remove !NEW_INSETS cruft
14466
14467         * lyxfind.C: remove !NEW_INSETS cruft
14468
14469         * lyx_cb.C: remove !NEW_INSETS cruft
14470
14471         * figureForm.C: remove  !NEW_INSETS cruft
14472
14473         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14474
14475         * buffer.[Ch]: remove !NEW_INSETS cruft
14476
14477         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14478
14479         * CutAndPaste.C: remove !NEW_INSETS cruft
14480
14481         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14482
14483         * BufferView2.C: remove !NEW_INSETS cruft
14484
14485         * BufferView.h: remove !NEW_INSETS cruft
14486
14487 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14488
14489         * Lsstream.h: include LString.h before the sstream headers to
14490         fix problem with gcc 2.95.3 and lyxstring
14491
14492 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14493
14494         * lyx_main.C: add using directives when needed for C functions
14495         declared in std:: namespace.
14496
14497 2001-04-27  Juergen Vigna  <jug@sad.it>
14498
14499         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14500         (SetHeightOfRow): comment out the update call should not be needed!
14501
14502 2001-04-13  Juergen Vigna  <jug@sad.it>
14503
14504         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14505         (LyXTabular): tried to minimize operator= operations (and realized
14506         hopfully Lars wish).
14507
14508 2001-04-27  Juergen Vigna  <jug@sad.it>
14509
14510         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14511
14512 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14513
14514         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14515
14516         * buffer.C (readInset): hack to make listof algorithm work
14517
14518         * BufferView_pimpl.C: hack to make listof algorithm work
14519
14520 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14521
14522         * LyXAction.C: removed all !NEW_INSETS cruft
14523         (init): moved lfun_item in method
14524
14525         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14526
14527 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14528
14529         * BufferView2.C (theLockingInset): white space.
14530
14531 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14532
14533         * minibuffer.C: include <iostream>
14534
14535         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14536
14537         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14538
14539         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14540
14541         * text.[Ch] (TransposeChars): new method
14542
14543 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14544
14545         * call message directly through LyXView instead of through LyXFunc
14546         * BufferView2.C: adjust
14547         * BufferView_pimpl.C: adjust
14548         * FontLoader.C: adjust
14549         * buffer.C: adjust
14550         * bufferview_funcs.C: adjust
14551         * converter.C: adjust
14552         * figureForm.C: adjust
14553         * importer.C: adjust
14554         * lyx_cb.C: adjust
14555         * lyx_gui_misc.C: adjust
14556         * lyxfunc.C: adjust
14557         * lyxvc.C: adjust
14558         * text2.C: adjust
14559         + more files in subdirs
14560
14561         * lyxparagraph.h (size): move up int file
14562         (GetLayout): ditto
14563
14564         * adjust all uses of Assert to lyx::Assert.
14565
14566         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14567         lyxfunctional in namespace lyx
14568         * layout.C (hasLayout): ditto
14569         (GetLayout): ditto
14570         (GetLayout): ditto
14571         (delete_layout): ditto
14572         (NumberOfClass): ditto
14573         * converter.C (GetFormat): ditto
14574         (GetNumber): ditto
14575         (Add): ditto
14576         (Delete): ditto
14577         (SetViewer): ditto
14578         * bufferlist.C (getFileNames): ditto
14579         (emergencyWriteAll): ditto
14580         (exists): ditto
14581         (getBuffer): ditto
14582         * MenuBackend.C (hasSubmenu): ditto
14583         (hasMenu): ditto
14584         (getMenu): ditto
14585         * BufferView_pimpl.C (getInsetByCode): ditto
14586
14587 2001-04-18  Juergen Vigna  <jug@sad.it>
14588
14589         * vspace.C (asLatexString): fixed the 100% problem.
14590
14591 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14592
14593         * lyxfunc.C (Dispatch):
14594         * minibuffer.C:
14595         * minibuffer.h: add a few std:: qualifiers
14596
14597 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14598
14599         * minibuffer.[Ch]: reimplement so that commands is initiated and
14600         run from lyxfunc, simplified som handling, and made the completion
14601         and history code for complete. wip.
14602
14603         * lyxfunc.C (processKeySym): call message
14604         (miniDispatch): new temporary method
14605         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14606         (LFUN_MESSAGE): implement
14607         (LFUN_MESSAGE_PUSH): implement
14608         (LFUN_MESSAGE_POP): implement
14609         (initMiniBuffer): the initial/defualt minibuffer message.
14610
14611         * lyxfont.[Ch]: inline some more getters
14612
14613         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14614
14615         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14616
14617         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14618         (AutoSave): use LFUN_MESSAGE
14619         (Reconfigure): ditto
14620
14621         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14622
14623         * figureForm.C: use LFUN_MESSAGE
14624
14625         * converter.C (runLaTeX): use LFUN_MESSAGE
14626
14627         * bufferview_funcs.C: use LFUN_MESSAGE
14628         (Melt): ditto
14629         (changeDepth): ditto
14630
14631         * bufferparams.h: use boost::
14632
14633         * bufferlist.h: inherit privately from noncopyable
14634
14635         * bufferlist.C (loadLyXFile): remove some commented code.
14636
14637         * buffer.C (runChktex): use LFUN_MESSAGE
14638
14639         * ShareContainer.h: inherit privately from noncopyable
14640
14641         * ParagraphParameters.[hC] (depth): inline it.
14642
14643         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14644         methods.
14645         (message): new method
14646         (messagePush): ditto
14647         (messagePop): ditto
14648         (show): init minibuffer
14649         (showState): direct call
14650
14651         * LaTeX.[Ch]: inherit privately from noncopyable
14652         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14653         instead of WriteStatus.
14654
14655         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14656
14657         * BufferView_pimpl.C (buffer): don't init minibuffer
14658         (workAreaButtonPress): use LFUN_MESSAGE
14659         (workAreaButtonRelease): ditto
14660         (savePosition): ditto
14661         (restorePosition): ditto
14662         (MenuInsertLyXFile): ditto
14663         (workAreaExpose): don't init minibuffer
14664         (update): remove commented code, simplify
14665
14666         * BufferView2.C (openStuff): use LFUN_MESSAGE
14667         (toggleFloat): ditto
14668         (menuUndo): ditto
14669         (menuRedo): ditto
14670         (copyEnvironment): ditto
14671         (pasteEnvironment): ditto
14672         (copy): ditto
14673         (cut): ditto
14674         (paste): ditto
14675         (gotoInset): ditto
14676         (updateInset): remove some commented code
14677
14678         * lastfiles.h: inherit privately from noncopyable
14679         * layout.h: ditto
14680         * lyx_gui.h: ditto
14681         * lyx_main.h: ditto
14682         * lyxlex.h: ditto
14683         * lyxlex_pimpl.h: ditto
14684
14685         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14686         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14687         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14688
14689         * LyXAction.h: inherit privately from noncopyable, add methods
14690         func_begin, func_end, returning iterators to the func map.
14691
14692         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14693         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14694         (func_begin): new method
14695         (func_end): new method
14696
14697         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14698         and not)
14699         (copySelection): ditto
14700         (pasteSelection): ditto
14701
14702         * BufferView.C: whitespace change
14703         * BufferView.h: inherit privately from noncopyable
14704
14705 2001-04-16  Allan Rae  <rae@lyx.org>
14706
14707         * tabular-old.C (l_getline):
14708         * spellchecker.C (sc_check_word):
14709         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14710         an unrecognised preprocessor directive.  So ensure they're wrapped.
14711
14712 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14713
14714         * src/exporter.C (Export): Give an error message when path to file
14715         contains spaces.
14716
14717 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14718
14719         * LaTeX.C (deplog): Always check that foundfile exists.
14720
14721 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14722
14723         * lyx_main.h:
14724         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14725
14726 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14727
14728         * tabular.[Ch] (getLabelList): implement new method
14729
14730         * minibuffer.h: comment ouf setTiimer
14731
14732         * minibuffer.C (ExecutingCB): constify res
14733         (peek_event): constify s
14734         (Set): constify ntext
14735         (Init): constify nicename
14736
14737         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14738
14739         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14740         (savePosition): use two params to Minibuffer::Set
14741         (restorePosition): ditto
14742
14743 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14744
14745         * lyx_main.C: include language.h
14746
14747         * Makefile.am (lyx_main.o): add language.h
14748
14749 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14750
14751         * exporter.C:
14752         * paragraph.C:
14753         * screen.C:
14754         * tabular.C:
14755         * CutAndPaste.C: include gettext.h
14756
14757         * lyxfont.h: remove old hack with ON and OFF.
14758
14759         * lyxparagraph.h:
14760         * lyxfont.h: do not include language.h...
14761
14762         * BufferView2.C:
14763         * LaTeXFeatures.C:
14764         * Painter.C:
14765         * bufferview_funcs.C:
14766         * font.C:
14767         * lyxfont.C:
14768         * text.C:
14769         * text2.C:
14770         * trans_mgr.C:
14771         * paragraph.C: ... but do it here instead
14772
14773 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14774
14775         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14776
14777         * tabular.C: small reformat
14778
14779         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14780         NEW_INSETS version
14781         (GetChar): ditto
14782         (BreakParagraph): ditto
14783         (SetOnlyLayout): ditto
14784         (SetLayout): ditto
14785
14786         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14787         with one arg less.
14788
14789         * lastfiles.C: removed most using decl, add std:: where needed
14790
14791         * buffer.C: ws changes
14792
14793         * MenuBackend.C (class compare_format): put into anon namespace
14794         (expand): constify label, names, action, action2
14795         (expand):
14796
14797         * text.C (SingleWidth): constify font
14798         (IsBoundary): constify rtl2
14799         (GetVisibleRow): constify ww
14800
14801         * LaTeX.C (deplog): constify logfile
14802
14803         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14804         start_x, end_x
14805         (workAreaExpose): constify widthChange, heightChange
14806
14807         * lyxrow.C (par): moved
14808         (height): moved
14809         (next): moved
14810         * lyxrow.h: as inlines here
14811
14812         * lyxfont.h (shape): moved from lyxfont.C
14813         (emph): moved from lyxfont.C
14814
14815         * lyxfont.C (LyXFont): use initialization list for all
14816         constructors
14817         (shape): move to lyxfont.h as inline
14818         (emph): move to lyxfont.h as inline
14819
14820
14821 2001-04-04  Juergen Vigna  <jug@sad.it>
14822
14823         * vspace.C: had to include stdio.h for use of sscanf
14824
14825 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14826
14827         * BufferView.h:
14828         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14829         independent of xforms.
14830
14831 2001-04-02  Juergen Vigna  <jug@sad.it>
14832
14833         * spellchecker.C: fixed namespace placing!
14834
14835 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14836
14837         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14838         the LyXParagraph * is 0.
14839
14840 2001-03-29  Juergen Vigna  <jug@sad.it>
14841
14842         * vspace.C: added support for %, c%, p%, l%.
14843         (stringFromUnit): added helper function.
14844         (asLatexString): changed to give right results for the %-values.
14845
14846         * buffer.C: convert the widthp in a width%.
14847
14848 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14849
14850         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14851         figureForm.[Ch].
14852
14853         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14854         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14855
14856         * lyx_cb.[Ch]: see above.
14857
14858         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14859         form1.[Ch].
14860
14861         * form1.[Ch]:
14862         * lyx.[Ch]: replaced by figure_form.[Ch].
14863
14864         * lyx_gui.C:
14865         * lyx_gui_misc.C:
14866         * lyxfunc.C: changed headers associated with above changes.
14867
14868 2001-03-27  Juergen Vigna  <jug@sad.it>
14869
14870         * BufferView_pimpl.C: set the temporary cursor right!
14871
14872 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14873
14874         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14875
14876 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14877
14878         * LString.h: removed "using std::getline"!
14879
14880         * BufferView_pimpl.C (Dispatch): changes due to changes in
14881         InsetInclude::Params.
14882
14883         * buffer.C (tag_name): removed redundant break statements as they were
14884         producing lots of warnings with my compiler.
14885
14886 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14887
14888         * LString.h: add "using std::getline" when using the real <string>.
14889
14890 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14891
14892         * buffer.C: removed bitset usage.
14893         PAR_TAG moved to an anonymous name space.
14894         (tag_name): new funtion, also in the anonymous namespace.
14895         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14896         (makeDocBookFile): clean code. Completed transition from string arrays
14897         to string vectors.
14898         (SimpleDocBookOnePar): code clean.
14899
14900 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14901
14902         * tabular.C: add some comments.
14903
14904 2001-03-22  Juergen Vigna  <jug@sad.it>
14905
14906         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14907         compatibility read a bit and fixed bug with minipage in different
14908         depth.
14909
14910 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14911
14912         * buffer.C (pop_tag): removed.
14913         (push_tag): removed.
14914         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14915         array replaced with vector. Added support for CDATA sections.
14916         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14917         at any nest level.
14918         (makeDocBookFile): XML conformant declaration of CDATA section,
14919         fixed bug related to <emphasis> in the first paragraph char.
14920         (sgmlOpenTag): exclude empty tags.
14921         (sgmlCloseTag): ditto.
14922
14923         * buffer.h (pop_tag): removed.
14924         (push_tag): removed.
14925
14926 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14927
14928         * language.h (Languages): added size_type and size().
14929
14930 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14931
14932         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14933         response on compability reading of minipages. One probliem is that
14934         the old usage of minipages was «flertydig»
14935
14936         * several files here and in subdirs: don't use static at file
14937         scope use anon namespaces instead.
14938
14939 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14940
14941         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14942         LaTeX output. This is necessary for Literate document
14943         processing.
14944
14945 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14946
14947         * buffer.C: insert hfill when needed.
14948
14949         * tabular.C (l_getline): use string::erase, small whitespace change.
14950
14951         * BufferView_pimpl.C: try the anon namespace.
14952         * WorkArea.C: ditto
14953
14954 2001-03-16  Juergen Vigna  <jug@sad.it>
14955
14956         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14957         otherwise it won't open options-dialogs.
14958
14959         * buffer.C: honor pextraWidth(p) on converting minipages.
14960
14961         * tabular.C (l_getline): changed the functions to strip trailing \r.
14962
14963 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14964
14965         * BufferView_pimpl.C:
14966         * minibuffer..C: added "using SigC::slot" declaration.
14967
14968 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14969
14970         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14971
14972         * text2.C: ditto
14973
14974         * text.C: ditto
14975
14976         * paragraph.C: ditto
14977
14978         * lyxtext.h: NO_PEXTRA
14979
14980         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14981
14982         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14983         * ParameterStruct.h: ditto
14984         * ParagraphParameters.h: ditto
14985         * lyxparagraph.h: ditto
14986
14987 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14988
14989         * buffer.C: add compability for minipage alignment.
14990         (latexParagraphs): remove unwanted pextra check.
14991
14992         * several files: remove CXX_WORKING_NAMESPACES
14993
14994         * buffer.C (pop_tag): tie is in namespace boost
14995
14996         * BufferView.h: noncopyable is in namespace boost
14997         * lyxlex.h: ditto
14998         * lyx_main.h: ditto
14999         * lyx_gui.h: ditto
15000         * layout.h: ditto
15001         * lastfiles.h: ditto
15002         * bufferlist.h: ditto
15003         * ShareContainer.h: ditto
15004         * LyXView.h: ditto
15005         * LyXAction.h: ditto
15006         * LaTeX.h: ditto
15007
15008 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15009
15010         * Merging changes from BRANCH_MVC back into HEAD.
15011
15012         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15013
15014 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15015
15016         * BufferView_pimpl.C: change from intl.C
15017
15018         * combox.h:
15019         * combox.C:
15020         * Makefile.am: move combox.*
15021
15022         * form1.h:
15023         * form1.C:
15024         * lyx_gui.C:
15025         * intl.h:
15026         * intl.C: remove dialog (covered by prefs)
15027
15028 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15029
15030         * lyxfunc.C (Dispatch): removed redundant break statement.
15031
15032 2001-03-14  Juergen Vigna  <jug@sad.it>
15033
15034         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15035
15036 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15037
15038         * buffer.C: add hack to fix compability reading of minipages.
15039
15040 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15041
15042         * buffer.C (getLists): Cleanup.
15043
15044 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15045
15046         * lyxfont.C (update): don't honor toggleall on font size.
15047
15048 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15049
15050         * bmtable.c:
15051         * bmtable.h:
15052         * Makefile.am: moved to frontends/xforms/
15053
15054         * lyx_gui_misc.C:
15055         * lyxfunc.C:
15056         * BufferView_pimpl.C: changes for moved mathpanel
15057
15058 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15059
15060         * gettext.h: fix gettext_init() in --disable-nls
15061
15062 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15063
15064         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15065
15066 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15067
15068         * lyx.C:
15069         * lyx.h: strip external form
15070
15071 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15072
15073         * BufferView_pimpl.C: add comment, destroySplash()
15074
15075 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15076
15077         * BufferView_pimpl.C:
15078         * LyXAction.C:
15079         * buffer.C:
15080         * commandtags.h:
15081         * lyxfunc.C: use re-worked insetinclude
15082
15083 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15084
15085         * buffer.C: add using std::stringstream.
15086
15087         * lyx_cb.C: readd using std::ios.
15088
15089         * buffer.C: add using std::map.
15090
15091         * BufferView_pimpl.C: add using std::vector.
15092
15093         * ShareContainer.h: add std:: to swap.
15094
15095         * buffer.h: add some typedefs
15096         * buffer.C (getLists): use them
15097         (getLists): renamed from getTocList.
15098         add a counter for the different float types and use it in the
15099         generated string.
15100         (getLists): use the same counter for the NEW_INSETS and the "non"
15101         NEW_INSETS
15102
15103         * lyx_cb.h: remove unused items, includes, using etc.
15104
15105         * ShareContainer.h: remove some commented code, add more comments
15106         and "documentation".
15107
15108 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15109
15110         * buffer.C (getTocList): make the list also when NEW_INSETS is
15111         defined.
15112
15113         * buffer.h: remove TocType
15114
15115         * buffer.C (getTocList): change to return a map<string,
15116         vector<TocItem> >, implement for dynamic number of list.
15117
15118         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15119         * text2.C (PasteSelection): adjust
15120         * CutAndPaste.C (pasteSelection): adjust
15121
15122         * FloatList.C (FloatList): update from the new_insets branch.
15123         * Floating.[Ch]: ditto
15124         * LaTeXFeatures.C: ditto
15125         * buffer.C: ditto
15126         * lyxlex_pimpl.C: ditto
15127
15128         * paragraph.C (Last): remove when NEW_INSETS is defined.
15129
15130         * other file: changes because of the above.
15131
15132 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15133
15134         * lyxparagraph.h: rename next to next_, previous to previous_,
15135         make them private for NEW_INSETS. Rename Next() to next(),
15136         Previous() to previous().
15137
15138         * other files: changes because of the above.
15139
15140 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15141
15142         * BufferView.h:
15143         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15144         problem.
15145
15146 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15147
15148         * main.C (main): pass lyx_localedir to gettext_init().
15149
15150         * gettext.h: remove locale_init and gettext_init macros
15151
15152         * gettext.C (locale_init): new function
15153         (gettext_init): new function
15154
15155         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15156         setlocale().
15157
15158 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15159
15160         * Moved credits to frontends:
15161         * credits.[Ch]: removed
15162         * credits_form.[Ch]: removed
15163         * lyx_gui_misc.C: remove credits stuff
15164         * Makefile.am:
15165
15166 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15167
15168         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15169
15170         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15171         unneeded destructor.
15172
15173         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15174         a standalone pointer again.
15175
15176         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15177
15178 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15179
15180         * Makefile.am:
15181         * filedlg.h:
15182         * filedlg.C:
15183         * LyXAction.C:
15184         * ToolbarDefaults.C:
15185         * bufferlist.C:
15186         * commandtags.h:
15187         * form1.C:
15188         * form1.h:
15189         * lyx_cb.C:
15190         * lyx_cb.h:
15191         * lyxfunc.h:
15192         * lyxfunc.C:
15193         * BufferView_pimpl.C: use new file dialog in GUII
15194
15195         * lyx_cb.h:
15196         * lyx_cb.C: remove LayoutsCB to Toolbar
15197
15198 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15199
15200         * ShareContainer.h (get): add std:: qualifier
15201
15202 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15203
15204         * ShareContainer.h: define a proper ShareContainer::value_type
15205         type (and use typename to please compaq cxx)
15206
15207 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15208
15209         * lyxparagraph.h: move serveral local vars to
15210         ParameterStruct/ParagraphParameters., use ShareContainer in
15211         FontTable., make vars in FontTable private and add getter and
15212         setter.
15213
15214         * paragraph.C: changes because of the above.
15215
15216         * lyxfont.h: remove copy constructor and copy assignment. (the
15217         default ones is ok), move number inside FontBits. move inlines to
15218         lyxfont.C
15219
15220         * lyxfont.C: add number to initializaton of statics, move several
15221         inlines here. constify several local vars. some whitespace
15222         cleanup. Dont hide outerscope variables.
15223
15224         * Spacing.h: add two new constructors to match the set methods.
15225
15226         * ShareContainer.h: new file, will perhaps be moved to support
15227
15228         * ParameterStruct.h: new file
15229
15230         * ParagraphParameters.h: new file
15231
15232         * ParagraphParameters.C: new file
15233
15234         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15235         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15236
15237         * BufferView_pimpl.C: ParagraphParameter changes.
15238         * buffer.C: Likewise.
15239         * bufferview_funcs.C: Likewise.
15240         * text.C: Likewise.
15241         * text2.C: Likewise.
15242
15243 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15244
15245         * lyxfind.C (LyXReplace): do not redefine default argument in
15246         implementation.
15247         (IsStringInText): ditto
15248         (SearchForward): ditto
15249         (SearchBackward): ditto
15250
15251 2001-03-06  Juergen Vigna  <jug@sad.it>
15252
15253         * lyxfind.C (IsStringInText): put parentes around expressions.
15254
15255 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15256
15257         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15258
15259 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15260
15261         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15262
15263         * stl_string_fwd.h: add comment
15264
15265         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15266
15267         * tabular.h:
15268         * tabular.C: remove unused DocBook methods
15269
15270         * intl.C:
15271         * language.C:
15272         * paragraph.C:
15273         * buffer.C:
15274         killed DO_USE_DEFAULT_LANGUAGE
15275
15276 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15277
15278         * lyx_gui.C: do not include language.h.
15279
15280         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15281         arguments in function implementation.
15282
15283 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15284
15285         * BufferView_pimpl.C: add <ctime>
15286
15287 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15288
15289         * BufferView_pimpl.C: add using std::find_if
15290
15291 2001-02-27  José Matos  <jamatos@fep.up.pt>
15292
15293         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15294         by OnlyPath.
15295
15296 2001-02-11  José Matos  <jamatos@fep.up.pt>
15297
15298         * buffer.C (makeDocBookFile): command styles now have a parameter as
15299         "title" by default.
15300
15301 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15302
15303         * layout_forms.[Ch]: removed
15304         * lyx_cb.[Ch]: out character
15305         * lyx_gui.C: out character
15306         * lyx_gui_misc.C: out character
15307         * bufferview_funcs.C: : out character,
15308         added toggleall as parameter in ToggleAndShow
15309
15310 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15311
15312         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15313
15314         * text2.C (SetCurrentFont): Disable number property at boundary.
15315
15316 2001-02-26  Juergen Vigna  <jug@sad.it>
15317
15318         * lyxfunc.C (getStatus): added a string argument override function so
15319         that this is correctly called from LyXFunc::Dispatch if it contains a
15320         do_not_use_argument which is used!
15321         (Dispatch): added check for "custom" export and call appropriate func.
15322
15323 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15324
15325         * lyxrc.C: Add language_command_local, language_use_babel and
15326         language_global_options.
15327
15328         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15329
15330         * buffer.C (makeLaTeXFile): Use language_use_babel and
15331         language_global_options.
15332
15333 2001-02-23  Juergen Vigna  <jug@sad.it>
15334
15335         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15336         which works with LyXText and putted it inside BufferView. Here now we
15337         only call for that part the BufferView::Dispatch() function.
15338
15339         * BufferView.C (Dispatch): added.
15340
15341         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15342         functions which needs to use a LyXText over from LyXFunc.
15343         (MenuInsertLyXFile): added
15344         (getInsetByCode): added
15345         (moveCursorUpdate): added
15346         (static TEXT): added
15347
15348 2001-02-22  Juergen Vigna  <jug@sad.it>
15349
15350         * BufferView_pimpl.C (update): call a status update to see if LyXText
15351         needs it.
15352
15353 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15354
15355         * vc-backend.C (revert): implement for CVS
15356         (getLog): implement for CVS
15357
15358 2001-02-20  Juergen Vigna  <jug@sad.it>
15359
15360         * text2.C (ClearSelection): added BufferView param for inset_owner call
15361
15362         * lyxfunc.C (TEXT): added this function and use it instead of
15363         directly owner->view()-text of getLyXText().
15364
15365 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15366
15367         * src/layout_forms.C: out preamble
15368         * src/layout_forms.h: out preamble
15369         * src/lyx_cb.C: out preamble
15370         * src/lyx_cb.h: out preamble
15371         * src/lyx_gui.C: out preamble
15372         * src/lyx_gui_misc.C: out preamble
15373         * src/lyxfunc.C: connect with guii preamble
15374
15375 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15376
15377         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15378
15379 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15380
15381         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15382         whether to run bibtex.
15383
15384 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15385
15386         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15387
15388 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15389
15390         * Makefile.am (lyx_SOURCES): removed bibforms.h
15391
15392         * vspace.h: doxygen
15393
15394         * text.C (GetVisibleRow): make several local vars const
15395
15396         * tabular.C: small cleanup.
15397
15398         * lyxserver.C (callback): use compare instead of strncmp
15399
15400         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15401         inlines to after class or to paragraph.C
15402
15403         * lyxfont.h: remove friend operator!=
15404
15405         * converter.h: move friend bool operator< to non friend and after
15406         class def.
15407
15408         * combox.h: small cleanup
15409
15410         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15411         to inlines after class def.
15412
15413         * buffer.C (pop_tag): use string operations instead of strcmp
15414
15415         * bmtable.c: doxygen, small cleanup
15416
15417         * LaTeX.h: remove friend operator==
15418
15419 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15420
15421         * screen.C:
15422         * lyxrc.[Ch]:
15423         * lyxfunc.C:
15424         * lyxfont.[Ch]:
15425         * lyx_cb.C:
15426         * intl.[Ch]:
15427         * commandtags.h:
15428         * buffer.C:
15429         * WorkArea.[Ch]:
15430         * LyXAction.C:
15431         * BufferView_pimpl.C:
15432         * BufferView.[Ch]: remove cruft
15433
15434 2001-02-14  Juergen Vigna  <jug@sad.it>
15435
15436         * lyxfunc.C: removed #if 0 unused code
15437
15438         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15439
15440         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15441
15442         * text2.C (SetSelection): added a BufferView * parameter
15443
15444 2001-02-13  Juergen Vigna  <jug@sad.it>
15445
15446         * lyxfunc.C (Dispatch): fixed protected blank problem.
15447         * BufferView2.C (protectedBlank): added LyxText * parameter.
15448
15449         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15450         (AppendColumn): same as above for column_info.
15451
15452         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15453         (moveCursorUpdate): use a LyXText param for support of InsetText.
15454
15455         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15456         (tripleClick): ditto
15457
15458         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15459
15460         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15461
15462         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15463
15464         * text2.C (SetSelection): set correct update status if inset_owner
15465         (ToggleFree): ditto
15466
15467 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15468
15469         * tabular.C: remove some commented code.
15470
15471 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15472
15473         * BufferView_pimpl.C: call hideSplash()
15474
15475         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15476
15477         * include_form.h:
15478         * bibforms.h: remove
15479
15480         * lyxfunc.C:
15481         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15482           add LFUN_CHILD_CREATE
15483
15484         * counters.h: fix tiny typo
15485
15486         * lyx_cb.C:
15487         * lyx.h:
15488         * lyx_gui.C:
15489         * lyx.C: move splash to frontends/xforms/
15490
15491         * lyx_gui_misc.C: move Include and Bibform to frontends
15492
15493         * lyxvc.h: clarify comment
15494
15495         * vspace.C: tiny housekeeping
15496
15497 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15498
15499         * text.C (PrepareToPrint): RTL Fix.
15500
15501         * paragraph.C (GetUChar): New method.
15502         (String):  Use GetUChar.
15503
15504         * buffer.C (asciiParagraph): Use GetUChar.
15505
15506 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15507
15508         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15509
15510 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15511
15512         * buffer.h:
15513         * buffer.C: rename to getLogName(), handle
15514           build log / latex log nicely
15515
15516 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15517
15518         * MenuBackend.C:
15519         * MenuBackend.h: remove support for reference menuitem type.
15520
15521 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15522
15523         * BufferView_pimpl.C: housekeeping
15524         * BufferView_pimpl.h:
15525         * LyXView.h:
15526         * Makefile.am:
15527         * Timeout.C:
15528         * Timeout.h:
15529         * minibuffer.h: move Timeout GUI-I
15530
15531 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15532
15533         * lyxrc.C (read): Update converters data-structures.
15534
15535 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15536
15537         * LaTeX.h (operator!=): add operator != for Aux_Info
15538
15539 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15540
15541         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15542
15543         * LaTeXLog.C: deleted, useful code moved to Buffer
15544
15545         * buffer.h:
15546         * buffer.C: new function getLatexLogName()
15547
15548         * lyx_gui_misc.C:
15549         * lyx_gui.C:
15550         * lyxvc.C:
15551         * lyxvc.h:
15552         * lyxfunc.C: use frontends for LaTeX and VC logs
15553
15554 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15555
15556         * LaTeX.h: yet another std:: that Allan forgot.
15557
15558         * Variables.C (set): renamed from isset(), because this clashes
15559         with some HP-UX macros (grr).
15560
15561 2001-02-06  Allan Rae  <rae@lyx.org>
15562
15563         * LaTeX.h: Another bug fix.  Missing std:: this time.
15564
15565 2001-02-04  Allan Rae  <rae@lyx.org>
15566
15567         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15568         floats problem. I've left it commented out because it's not quite
15569         correct.  It should also test that the current object is a table or
15570         figure inset.  But I haven't gotten around to figuring out how to do
15571         that.  I *think* it'll be something like: "table" == inset.type()
15572
15573         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15574         bool.
15575
15576 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15577
15578         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15579         all the citation/databases/styles in the auxilary file.
15580         (run): Rerun latex if there was a babel language error.
15581
15582 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15583
15584         * text.C (Backspace): Preserve the font when changing newline char
15585         with a space.
15586         (BreakParagraph): If the cursor is before a space, delete the space.
15587
15588         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15589
15590 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15591
15592         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15593         new argument (code).
15594         (ChangeCitationsIfUnique): New method.
15595
15596         * paragraph.C (GetPositionOfInset): Handle bibkey.
15597
15598 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15599
15600         * BufferView_pimpl.h: change type of Position::par_pos to
15601         LyXParagraph::size_type.
15602
15603 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15604
15605         * BufferView_pimpl.C (savePosition, restorePosition): Write
15606         messages to minibuffer.
15607
15608 2001-01-28  José Matos  <jamatos@fep.up.pt>
15609
15610         * buffer.C (makeDocBookFile): adds support for document language.
15611         A silly restriction on the name of LatexCommand types where removed.
15612         Added support for CDATA sections, allows to chars unescaped, used
15613         among others in code, to avoid escape < and >.
15614
15615 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15616
15617         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15618         saved positions instrad of a stack. Furthermore, a position is
15619         stored using paragraph id/paragraph position.
15620
15621         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15622         Remove LFUN_REF_BACK.
15623
15624 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15625
15626         * converter.C (dvipdfm_options): New method.
15627
15628 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15629
15630         * vspace.C (isValidLength): Fix for empty input string.
15631
15632 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15633
15634         * LyXAction.C (init): change description of LFUN_FIGURE to
15635         "Insert Graphics"
15636
15637 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15638
15639         * LaTeX.C: add using directive
15640
15641 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15642
15643         * MenuBackend.C (expand): Fix the sorting of the formats.
15644
15645 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15646
15647         * lyx_main.C: tiny error message fix
15648
15649 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15650
15651         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15652         calling fl_initialize(). This fixes the problem with ',' as
15653         decimal separator in text files.
15654
15655 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15656
15657         * trans.C (process): Fix the keymap bug.
15658
15659 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15660
15661         * LaTeX.C (scanAuxFiles): New method. Provides support for
15662         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15663         (scanLogFile) Scan for "run BibTeX" messages.
15664
15665         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15666         OT1 font encoding. Also, load the aecompl package if the ae
15667         package is loaded.
15668
15669         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15670
15671 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15672
15673         * texrow.C (increasePos): turn two error messages into debug
15674         messages.
15675
15676 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15677
15678         * LaTeX.C (scanAux): Handle the \@input macro.
15679         (runBibTeX): Use scanAux().
15680
15681         * language.C (latex_options_): New field.
15682
15683         * LaTeXFeatures.C (getMacros): Add language macros.
15684
15685         * buffer.C (makeLaTeXFile): Small fix.
15686
15687 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15688
15689         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15690
15691         * text2.C: add a using directive.
15692
15693 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15694
15695         * BufferView2.C:
15696         * lyx_gui_misc.h:
15697         * lyxfr1.C:
15698         * lyxfunc.C: kill LyXBell.
15699
15700 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15701
15702         * text.C (IsBoundary): Remove the error message
15703
15704         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15705
15706         * lyxrc.C (setDefaults): Correct initialization value for
15707         font_norm_type.
15708
15709 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15710
15711         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15712         gotoError().
15713
15714         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15715         and GotoNextNote().
15716
15717         * src/LyXAction.C: Added reference-next.
15718
15719         * text.C (InsertChar): Use contains instead of strchr.
15720
15721         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15722
15723 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15724
15725         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15726         alignment commands (when needed).
15727
15728         * text.C (InsertChar): Add ':' to number separator chars.