]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
898931c72be171b154757a0d789a646391534f0c
[lyx.git] / src / ChangeLog
1 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * outputparams.h: add new members intitle and lang.
4
5         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
6         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
7
8 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
9
10         * text3.C (dispatch): remove special handling of button 4 and 5,
11         it is now taken care of in the frontend code.
12
13 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
14
15         * Spacing.h: add <string> (STLPort compile fix)
16
17 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
18
19         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
20
21 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
22
23         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
24         to bool.
25
26         * converter.C (showMessage): inherit from unary_function, make
27         operator() const.
28
29         * buffer.C (writeFile): initialize retval
30
31         * InsetList.h: rename private variable list to list_
32         * InsetList.[Ch]: adjust accordingly.
33
34 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
35
36         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
37         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
38         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
39         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
40         * ParagraphParameters.C, LaTeXFeatures.C: replace
41         "support/std_sstream.h" with <sstream>
42
43 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
44
45         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
46         * lyxsocket.C (LyXServerSocket): ditto
47         (serverCallback): ditto
48
49 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
50
51         * LaTeXFeatures.C: check release date when loading jurabib.
52
53 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
54
55         * lyxserver.C (startPipe): call register_socket_callback
56         (endPipe): call unregister_socket_callback
57
58 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
59
60         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
61         (LyXServerSocket): register the callback
62         (LyXServerSocket): unregister the callback
63         (fd): delete function
64         (serverCallback): improve error checking and setup the callbacks.
65         (dataCallback): change arg to fd.
66         (writeln): new func (copied fro the client socket) used for server
67         write to client.
68         (LyXDataSocket): simplify
69         (~LyXDataSocket): close ann unregiser callback
70         (server): delete function
71         (fd): delete function
72         (readln): small changes, improve some std::string usage
73         (writeln): constify a bit
74
75 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
76
77         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
78         Qt frontend
79
80 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
81
82         * BufferView_pimpl.C (setBuffer): set the layout combox value only
83         after it has been populated
84
85 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
86
87         * text2.C (insertInset): move cursor when inserting inset.
88
89 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
90
91         * kbmap.C (findbindings): a couple of new methods. returns a
92         container of kb_sequence objects. The real work is done by the
93         private recursive version
94         (printbindings): uses findbindings to print out a bracketed list
95         of bindings (renamed from findbinding).
96
97         * MenuBackend.C (binding): use kb_keymap::findbindings
98
99         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
100
101 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
102
103         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
104
105 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
106
107         * paragraph.C (isWord): return true on insets that report
108         isLetter().
109
110         * text.C (getWord): use Paragraph::isWord to decide what is in a
111         word and what is not; fix bug 1609.
112
113 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
114
115         * tex-strings.C: add "none" to string_paperpackages[], fixes
116         off-by-one-error in the paperpackage selection.
117
118         * lyxlex.[Ch]:
119         * tex-strings.[Ch]: char const * string[n]
120         -> char const * const string[]
121
122 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
123
124         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
125         command, return early.
126
127 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
128
129         * debug.h: add DEBUG to enum and fix size of ANY.
130
131         * debug.C: add support for Debug::DEBUG
132         (showTags): cast errorTags.level to unsigned int
133
134         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
135         (redoCurrentBuffer): ditto
136         (updateScrollbar): ditto
137         * cursor.C (dispatch): ditto
138         * text2.C (setLayout): ditto
139         (setFont): ditto
140         (updateCounters): ditto
141         (editXY): ditto
142         (deleteEmptyParagraphMechanism): ditto
143
144 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
145
146         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
147         annotations to cleanup the Makefile slightly.
148
149 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
150
151         * lyxrc.C: do not set user_email to a default value but use empty
152         instead. The entry used to be translated, which does not work
153         since at the point where lyxrc is constructed there is no
154         translation service available
155
156         * messages.C (getLocaleDir): remove and use directly
157         lyx_localedir() instead
158
159 2004-06-02  Angus Leeming  <leeming@lyx.org>
160
161         Fix crash caused by dereferencing null pointer 'exportdata' in
162         OutputParams by creating a new ExportData variable on the heap,
163         storing it in a boost::shared_ptr.
164         The crash was triggered when generating an Instant Preview
165         of an external inset.
166
167         * Makefile.am: add outputparams.C
168
169         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
170         (c-tor): allocate memory to it.
171
172         * exporter.C (c-tor): associated changes.
173
174 2004-06-01  Angus Leeming  <leeming@lyx.org>
175
176         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
177         contains data before calling isInset(0). (Bug 1513.)
178
179 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
180
181         * exporter.C (checkOverwrite): new method
182         * exporter.C (copyFile): new method
183         * exporter.C (Export): copy referenced files to the document dir
184         * exporter.[Ch]: new class ExportedFile
185         * exporter.[Ch]: new class ExportData. Contains currently the
186         names of referenced external files
187         * outputparams.h: add exportdata member.
188
189 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
190
191         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
192         version.C-tmp
193
194 2004-05-19  Angus Leeming  <leeming@lyx.org>
195
196         * LaTeXFeatures.C:
197         * ToolbarBackend.C:
198         * bufferparams.C:
199         * lyxfunc.C: small changes due to the introduction of namespace
200         lyx::frontend and the moving of namespace biblio to lyx::biblio.
201
202 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
203
204         * text3.C (dispatch): supress update when only moving the cursor
205         * cursor.C (selHandle): remove commented code
206
207 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
208
209         * paragraph.C (startTeXParParams): correct column count
210         * CutAndPaste.C (pasteSelection): remove const_cast
211         * output_docbook.C (docbookParagraphs): remove const_cast
212         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
213         const_cast and return ParagraphList::const_iterator
214         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
215         * output_plaintext.C (writeFileAscii): remove const_cast
216         * paragraph.[Ch] (simpleTeXOnePar): make const
217         * paragraph_funcs.C (outerPar): use const iterators
218         * paragraph_pimpl.C (validate): use const iterators
219         * text.C (setHeightOfRow): use const iterators
220
221 2004-05-17  Angus Leeming  <leeming@lyx.org>
222
223         * lfuns.h:
224         * LyXAction.C (init): new LFUN_INSET_REFRESH.
225
226         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
227         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
228         if the citation engine has changed.
229
230 2004-05-14  José Matos  <jamatos@lyx.org>
231
232         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
233         if the textclass does not provide it. Have it different for sgml and
234         xml.
235         support the language of document.
236         * output_docbook.C (docbookParagraphs):
237         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
238         first anchor as the id of the paragraph, remove special case code.
239         * sgml.C (escapeChar): escape only < & >.
240
241 2004-05-14  Angus Leeming  <leeming@lyx.org>
242
243         * bufferparams.h: move biblio::CiteEngine enum here to minimize
244         dependencies on src/frontends/controllers/biblio.h. Define a
245         CiteEngine_enum wrapper class to enable the enum to be forward
246         declared.
247
248 2004-05-12  Angus Leeming  <leeming@lyx.org>
249
250         * buffer.C: up LYX_FORMAT to 234.
251         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
252         use_numerical_citations with a single biblio::CiteEngine cite_engine
253         variable.
254         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
255
256 2004-05-13  José Matos  <jamatos@lyx.org>
257
258         * converter.h:
259         * converter.C (Converter, readFlags): add xml member.
260         * outputparams.h: add XML flavor.
261         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
262
263 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
264
265         * lyxfunc.C (dispatch):
266         (getStatus): fix handling of LFUN_SEQUENCE
267
268 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
269
270         * debug.C (showLevel): do not forget the end-of-line marker
271
272 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
273
274         * kbmap.C (read): do not stop parsing a bind file when an error
275         occurs (bug 1575)
276
277 2004-04-29  Angus Leeming  <leeming@lyx.org>
278
279         * cursor.C:
280         * factory.C:
281         * pariterator.C:
282         * text2.C: wrap a bunch of #warning statements
283         inside #ifdef WITH_WARNINGS blocks.
284
285 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
286
287         * buffer.C: increment format to 233.
288
289 2004-04-28  Angus Leeming  <leeming@lyx.org>
290
291         * BufferView_pimpl.C:
292         * lyxfunc.C:
293         * text3.C:
294         s/updateToolbar()/updateToolbars()/
295         s/Toolbar.h/Toolbars.h/
296
297 2004-04-28  Angus Leeming  <leeming@lyx.org>
298
299         * BufferView.[Ch] (c-tor):
300         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
301         No longer passes these data to the WorkArea generator.
302
303 2004-04-28  Angus Leeming  <leeming@lyx.org>
304
305         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
306
307 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
308
309         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
310
311 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
312
313         * output_latex.C (TeXEnvironment): make sure that there is a line
314         break before \end{foo} for the last paragraph of a document
315         (TeXOnePar): if the paragraph is at the end of the document (or
316         inset) and the language has to be reset, then make sure that the
317         line break is _before_ the language command, not after (fixes bug
318         1225); also make sure that the language reset command is the first
319         thing after the paragraph (to ensure proper nesting of
320         environments and thus fix bug 1404)
321
322 2004-04-21  John Levon  <levon@movementarian.org>
323
324         * ToolbarBackend.h:
325         * ToolbarBackend.C: make "name" be a programmatic name
326         and a gui_name field.
327
328         * lyxfunc.C: display the minibuffer on M-x
329
330 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
331
332         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
333         (bug 1526)
334
335 2004-04-19  Angus Leeming  <leeming@lyx.org>
336
337         * BufferView_pimpl.C (setBuffer): changed preview interface.
338
339         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
340         possible values.
341
342 2004-04-19  John Levon  <levon@movementarian.org>
343
344         * BufferView_pimpl.C:
345         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
346
347 2004-04-05  Angus Leeming  <leeming@lyx.org>
348
349         * text.C (redoParagraphs): add call to updateCounters(), thereby
350         fixing the missing "Figure #:" label from the caption of a
351         figure float.
352
353 2004-04-13  Angus Leeming  <leeming@lyx.org>
354
355         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
356         cursor is clicked out of an inset.
357
358 2004-04-13  Angus Leeming  <leeming@lyx.org>
359
360         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
361         than an InsetOld one.
362
363 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
364
365         * format.[Ch]: add editor to Format
366         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
367         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
368
369 2004-04-08  André Pönitz  <poenitz@gmx.net>
370
371         * metricsinfo.h: remove PainterInfo::width member
372
373 2004-04-08  Angus Leeming  <leeming@lyx.org>
374
375         * lyx_sty.C (boldsymbol_def): modify so that it outputs
376         "\providecommand" rather than "\newcommand", thereby preventing
377         clashes with packages that define "\boldsymbol" themselves.
378         Eg, beamer.
379
380 2004-04-08  Angus Leeming  <leeming@lyx.org>
381
382         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
383         thereby squashing an unnecessary warning.
384
385 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
386
387         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
388         setBuffer()
389
390 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
391
392         * BufferView.C (setCursor): call redoParagraph (some insets could
393         have been opened)
394         (putSelectionAt): remove the 'double update' trick
395
396         * BufferView_pimpl.C (fitCursor): call refreshPar
397         (workAreaDispatch): remove an uneeded update call
398         (dispatch): remove some manual update calls
399
400         * cursor.[Ch]: remove cached_y_, updatePos
401         (selHandle): set noUpdate when appropriate
402
403         * lyxfunc.C (dispatch): track if we need an update
404
405         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
406
407         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
408         (paintSelection): cheap optimization, do not call cursorX when not
409         needed
410         (paintPars): change signature
411         (refreshPar): add
412         (paintText): adjust
413         (paintTextInset): adjust
414
415         * text.C: adjust
416
417 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
418
419         * lengthcommon.C: compilation fix: remove explicit array size from
420         unit_name[] and friends
421
422 2004-04-05  Angus Leeming  <leeming@lyx.org>
423
424         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
425
426         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
427         present only for the preferences dialog.
428         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
429
430 2004-04-05  Angus Leeming  <leeming@lyx.org>
431
432         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
433         to enable the frontends to export changes to lyxrc correctly.
434
435         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
436
437 2004-04-07  André Pönitz  <poenitz@gmx.net>
438
439         * cursor.[Ch] (selClear, adjust): remove math
440
441         * cursor_slice.C: more agressive assert
442
443         * lyxfunc.C:
444         * BufferView_pimpl.C: rework mouse event dispatch
445
446         * dociterator.C:
447         * paragraph.C:
448         * text2.C:
449         * text3.C: adjust
450
451 2004-04-05  André Pönitz  <poenitz@gmx.net>
452
453         * cursor.[Ch] (valign, halign...): remove unneeded functions
454
455 2004-04-05  Angus Leeming  <leeming@lyx.org>
456
457         * lyxlength.[Ch] (unit_name et al.): const-correct.
458
459 2004-04-05  Angus Leeming  <leeming@lyx.org>
460
461         * BufferView_pimpl.C:
462         * buffer.C:
463         * counters.C:
464         * cursor.C:
465         * lyxfunc.C
466         * paragraph.C:
467         * pariterator.C:
468         * text.C:
469         * text2.C:
470         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
471
472 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
473
474         * text3.C (getStatus): add LFUN_BEGINNINGBUF
475
476 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
477
478         * lyxfind.C: add a couple of inTexted() tests + other small fixes
479         * BufferView_pimpl.[Ch] (getStatus)
480         * BufferView.[Ch] (getStatus): add
481         * lyxfunc.C (getStatus): move lfuns handled in
482         BufferView::dispatch to te function above
483         * Cursor.C (setSelection): set selection() = true
484
485 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
486
487         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
488
489 2004-03-31  Angus Leeming  <leeming@lyx.org>
490
491         * lyxfunc.C (dispatch): Fall through to the generic
492         Dialogs::show("preamble").
493
494 2004-03-31  Angus Leeming  <leeming@lyx.org>
495
496         * lyxfunc.C (dispatch): Fall through to the generic
497         Dialogs::show("spellchecker").
498
499 2004-03-31  Angus Leeming  <leeming@lyx.org>
500
501         * lyxfunc.C (getStatus, dispatch): changed invocation of the
502         preferences dialog.
503
504 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
505
506         * BufferView.C
507         * cursor.[Ch]
508         * dociterator.[Ch]:
509         * insetiterator.[Ch]:
510         * lyxfind.C:
511         * lyxfunc.C:
512         * pariterator.[Ch]:
513         * text2.C:
514         * undo.[Ch]: s/DocumentIterator/DocIterator/g
515
516 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
517
518         * BufferView.C (setCursor, putSelectionAt): call edit to open the
519         insets where we are putting the cursor.
520
521 2004-03-31  Angus Leeming  <leeming@lyx.org>
522
523         * lfuns.h:
524         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
525
526         * lyxrc.[Ch] (read, write): overloaded member functions taking
527         a std::[io]stream arguments.
528
529         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
530
531 2004-03-31  Angus Leeming  <leeming@lyx.org>
532
533         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
534         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
535
536         * lyxtextclass.C (load): if the text class couldn't be loaded, then
537         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
538
539 2004-03-31  Angus Leeming  <leeming@lyx.org>
540
541         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
542         the LFUN_ALL_INSETS_TOGGLE code.
543
544 2004-03-30  Angus Leeming  <leeming@lyx.org>
545
546         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
547         has died. Fall through to the generic Dialogs::show("document").
548
549 2004-03-30  Angus Leeming  <leeming@lyx.org>
550
551         * lfuns.h:
552         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
553         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
554
555         * lyxfunc.C (getStatus, dispatch): define the actions for these
556         lfuns. Little more than a cut and pste job from ControlDocument.C
557
558         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
559
560 2004-03-30  Angus Leeming  <leeming@lyx.org>
561
562         * lfuns.h:
563         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
564         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
565
566         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
567         open/closed state of ollapsable insets. Usage:
568
569         all-inset-toggle <state> <name>, where
570         <state> == "open" || "closed" || "toggle" and
571         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
572
573         * lyxtext.h, text2.C (toggleInset): removed.
574
575         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
576         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
577         now passes LFUN_INSET_TOGGLE to the found inset.
578
579         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
580         is now invoked as "all-insets-toggle toggle branch".
581
582 2004-03-30  Angus Leeming  <leeming@lyx.org>
583
584         * dociterator.C:
585         * insetiterator.C:
586         * pariterator.[Ch]: added/corrected header blurb.
587
588 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
589
590         * dociterator.[Ch]: add an inset_ member
591         (backwardPos): implemented
592         (backwardPos, forwardPos): use inset_ when the stack is empty.
593         (doc_iterator_begin, doc_iterator_end): implemented
594         * pariterator.[Ch]: adjust, add begin, end
595         * insetiterator.[Ch]: adjust, add begin, end
596         * cursor.C:
597         * document.C:
598         * BufferView.C:
599         * BufferView_pimpl.C:
600         * CutAndPaste.C: adjust
601
602 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
603
604         * buffer.C: increment file format to 232.
605         * LaTeXFeatures.C: add bibtopic package.
606         * bufferparams.[Ch]: param \use_bibtopic.
607
608         * lyxrc.[Ch]: add lyxrc bibtex_command
609         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
610
611         * buffer.C: increment file format to 231.
612
613 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
614
615         * dociterator.C: implement forwardPar
616         * iterators.[Ch]: remove, replaced by
617         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
618         * BufferView.C:
619         * BufferView_pimpl.C:
620         * CutAndPaste.C:
621         * buffer.C:
622         * bufferview_funcs.C:
623         * cursor.C:
624         * lyxfind.C
625         * lyxfunc.C
626         * paragraph_funcs.C
627         * toc.C:
628         * Makefile.am: adjust
629
630 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
631
632         * CutAndPaste.C (pasteSelection): fix 2 crashes
633         (eraseSelection): fix a crash
634         * paragraph_funcs.C: remove a warning
635
636 2004-03-28  Angus Leeming  <leeming@lyx.org>
637
638         * lfuns.h:
639         * LyXAction.C (init): new LFUN_PRINT.
640
641         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
642
643 2004-03-27  Angus Leeming  <leeming@lyx.org>
644
645         * lfuns.h:
646         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
647
648         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
649
650 2004-03-27  Angus Leeming  <leeming@lyx.org>
651
652         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
653         insetlist always contains non-null pointers to insets.
654
655 2004-03-26  Angus Leeming  <leeming@lyx.org>
656
657         * src/BufferView_pimpl.C:
658         * src/CutAndPaste.C:
659         * src/buffer.C:
660         * src/iterators.C:
661         * src/output_plaintext.C:
662         * src/outputparams.h:
663         * src/paragraph_funcs.C:
664         * src/rowpainter.C:
665         * src/text.C:
666         * src/text2.C:
667         * src/frontends/controllers/ControlErrorList.C:
668         * src/frontends/gtk/FileDialogPrivate.C:
669         * src/frontends/gtk/GPainter.C:
670         * src/frontends/gtk/GToolbar.C:
671         * src/frontends/qt2/QRef.C:
672         * src/mathed/math_scriptinset.C: squash compiler warnings.
673
674 2004-03-26  Angus Leeming  <leeming@lyx.org>
675
676         * ispell.C (LaunchIspell::start):
677         * lyx_cb.C (AutoSaveBuffer::start):
678         invoke run(DontWait) rather than runNonBlocking().
679
680 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
681
682         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
683
684 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
685
686         * kbsequence.C (print): adjust
687
688         * kbmap.C (printKeySym): rename and change signature
689         (printKey): use LyXKeySym::print()
690
691 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
692
693         * undo.C: add using std::advance to compile for stlport
694
695 2004-03-24  Angus Leeming  <leeming@lyx.org>
696
697         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
698         it leads to a crash when no buffer is present.
699
700 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
701             Martin Vermeer  <martin.vermeer@hut.fi>
702
703         * lyxfunc.C (dispatch):
704         * bufferparams.C (readToken): use the new LColor::setColor
705
706         * LColor.[Ch] (setColor): new version that takes two strings as
707         argument and creates a new color entry if necessary
708
709 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
710
711         * buffer.C (makeLaTeXFile): if the main latex file that is
712         processed is usually a subdocument of some master, then pretend
713         for a while that it is actually the master
714
715 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
716
717         * buffer.C (getLabelList):
718         (getBibkeyList): use getMasterBuffer()
719         (getMasterBuffer): new method. Returns the main document in the
720         case where one is using included documents.
721
722 2004-03-25  André Pönitz  <poenitz@gmx.net>
723
724         * Makefile.am:
725         * iterators.[Ch]:
726         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
727
728         * ParagraphList_fwd.h: change ParagraphList to a std::vector
729
730         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
731         text*.C over here. Rename namespace CutAndPaste to lyx::cap
732
733         * ParameterStruct.h: merge with ParagraphParameters
734
735         * lyxtext.h: remove LyXText::parOffset() and getPar()
736
737         * text3.C: Remove all 'manual' update calls. We do now one per user
738         interaction which is completely sufficient.
739
740         * Bidi.C:
741         * BufferView.[Ch]:
742         * BufferView_pimpl.C:
743         * FontIterator.[Ch]:
744         * MenuBackend.C:
745         * ParagraphParameters.[Ch]:
746         * buffer.C:
747         * buffer.h:
748         * bufferlist.C:
749         * cursor.[Ch]:
750         * cursor_slice.[Ch]:
751         * dociterator.[Ch]:
752         * errorlist.[Ch]:
753         * factory.C:
754         * lfuns.h:
755         * lyxfind.C:
756         * lyxfunc.C:
757         * output_docbook.[Ch]:
758         * output_latex.[Ch]:
759         * output_linuxdoc.[Ch]:
760         * output_plaintext.[Ch]:
761         * paragraph.[Ch]:
762         * paragraph_funcs.[Ch]:
763         * paragraph_pimpl.[Ch]:
764         * rowpainter.C:
765         * tabular.[Ch]:
766         * text.C:
767         * text2.C:
768         * toc.C:
769         * undo.[Ch]: adjust
770
771         * frontends/controllers/ControlDocument.C:
772         * frontends/controllers/ControlErrorList.C:
773         * frontends/controllers/ControlSpellchecker.C:
774         * insets/inset.C:
775         * insets/inset.h:
776         * insets/insetbase.h:
777         * insets/insetbibitem.C:
778         * insets/insetbox.C:
779         * insets/insetbranch.C:
780         * insets/insetcaption.C:
781         * insets/insetcharstyle.C:
782         * insets/insetcharstyle.h:
783         * insets/insetcollapsable.C:
784         * insets/insetcollapsable.h:
785         * insets/insetert.C:
786         * insets/insetfloat.C:
787         * insets/insetfoot.C:
788         * insets/insetmarginal.C:
789         * insets/insetnote.C:
790         * insets/insetoptarg.C:
791         * insets/insettabular.C:
792         * insets/insettext.C:
793         * insets/insettext.h:
794         * insets/insetwrap.C:
795         * mathed/math_mboxinset.C:
796         * mathed/math_nestinset.C:
797         * mathed/math_scriptinset.C:
798         * mathed/math_scriptinset.h:
799         * support/types.h:
800
801 2004-03-24  Angus Leeming  <leeming@lyx.org>
802
803         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
804         deal with any child processes that have finished but are waiting to
805         communicate this fact to the rest of LyX.
806
807 2004-03-24  Angus Leeming  <leeming@lyx.org>
808
809         64-bit compile fixes.
810
811         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
812         (c-tor): pass lyx::pos_types rather than ints.
813
814         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
815         lyx::pos_type.
816
817         * text.C (Delete): compile fix.
818         (getPar): ensure that function declaration is the same as that in
819         the header file.
820
821 2004-03-23  Angus Leeming  <leeming@lyx.org>
822
823         * ispell.C (LaunchIspell):
824         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
825         a boost::shred_ptr rather than a std::auto_ptr.
826
827 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
828
829         * lyxfunc.C (getStatus): handle read-only buffers correctly;
830         handle LFUN_FILE_INSERT_*
831
832         * lyxrc.C (setDefaults, getDescription, output, read):
833         * lyxrc.h: remove ps_command
834
835 2004-03-22  Angus Leeming  <leeming@lyx.org>
836
837         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
838         Ensure that error_handler is processed once only and that all data
839         is saved before attempting to output any warning messages.
840
841         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
842
843 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
844
845         * tabular.C (TeXRow): crash fix (from Kayvan and André)
846
847 2004-03-19  André Pönitz  <poenitz@gmx.net>
848
849         * cursor.[Ch] (reset): take main text inset as argument
850
851         * BufferView: adjust
852         * BufferView_pimpl.C: adjust
853
854         * paragraph.[Ch]: fix completely broken operator=()
855
856 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
857
858         * LColor.C (getFromLyXName): make sure that the color name is used
859         as lowercase.
860
861 2004-03-17  Angus Leeming  <leeming@lyx.org>
862
863         * lfuns.h:
864         * LyXAction.C (init): remove LFUN_FORKS_KILL.
865
866         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
867         dialog and to kill a forked process.
868
869 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
870
871         * text2.C (setCursorFromCoordinates): fix font problem
872
873 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
874
875         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
876         bogus "rebuild cursor" code
877
878 2004-03-11  André Pönitz  <poenitz@gmx.net>
879
880         * buffer.[Ch]: use InsetText instead of LyXText as container for
881         the main lyx text.
882
883         * dociterator.[Ch]: drop the BufferView * member which is not needed
884         anymore after the change to buffer.C
885
886         * paragraph_funcs.C:
887         * text.C:
888         * text2.C:
889         * BufferView.[Ch]:
890         * BufferView_pimpl.[Ch]:
891         * cursor.[Ch]:
892         * cursor_slice.[Ch]: adjust
893
894         * text3.C: fix bug in mathDispatch
895
896 2004-03-08  André Pönitz  <poenitz@gmx.net>
897
898         * undo.[Ch]: use 'StableDocumentIterator' as base for
899         the Undo struct.
900
901 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
902
903         * LaTeXFeatures.C:
904         * bufferparams.[Ch]: add jurabib support and param.
905
906         * LaTeX.C: add FIXME/comment.
907
908 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
909
910         * buffer.C: increment file format to 230.
911
912 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
913
914         * cursor.C (dispatch): avoid infinite loops
915
916 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
917
918         * rowpainter.C (paintSelection): fix x coordinates
919
920 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
921
922         * text.C (rowBreakPoint): fix breaking before displayed insets
923
924 2004-03-01  André Pönitz  <poenitz@gmx.net>
925
926         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
927
928         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
929
930         * Makefile.am:
931         * BufferView.C:
932         * BufferView_pimpl.C:
933         * buffer.C:
934         * lyxfind.C:
935         * lyxfunc.C:
936         * text.C:
937         * text2.C:
938         * text3.C: adjust
939
940 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
941
942         * lyxtext.h:
943         * text.C:
944         * text2.C:
945         * rowpainter.C:
946         * BufferView_pimpl.C: rename textwidth -> maxwidth,
947         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
948
949 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
950
951         * Bidi.[Ch] (computeTables): const correctness
952         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
953         fill_hfill, fill_label_hfill and x from Row
954         * lyxtext.h: prepareToPrint returns a RowMetrics
955         * rowPainter.C: adjust
956         * text.C (prepareToPrint): use width, not textWidth. adjust
957         (redoParagraphInternal, cursorX): adjust
958         * text2.C (getColumnNearX): adjust
959         (init): put a default value to the top LyXText::width
960
961 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
962
963         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
964
965 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
966
967         * lyxtext.h: add FontIterator class
968
969         * text.C (FontIterator, operator*, operator->, operator++): add
970         (rowBreakPoint, setRowWidth): adjust (fixing a
971         rebreaking bug)
972
973 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
974
975         * BufferView_pimpl.C (workAreaDispatch): allow also
976         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
977
978 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
979
980         * text.C (rowBreakPoint): fix a bug showing with very large insets
981
982 2004-02-25  André Pönitz  <poenitz@gmx.net>
983
984         * text3.C:
985         * cursor.[Ch]: move some mathed specific code to mathed
986
987 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
988
989         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
990         use_tempdir in preferences
991         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
992         tempfile creation
993         * lyx_main.C: ensure that tempdir is valid
994         * lyxlex.h: correct typo
995         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
996         * paragraph.[Ch] (isMultiLingual): make const
997         * cursor.[Ch] (openable): make const
998
999 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1000
1001         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1002
1003 2004-02-20  André Pönitz  <poenitz@gmx.net>
1004
1005         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1006
1007         * cursor.[Ch]: prepare for localized getStatus()
1008
1009         * lyxtext.h:
1010         * tabular.C:
1011         * text.C:
1012         * text2.C:
1013         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1014
1015 2004-02-20  André Pönitz  <poenitz@gmx.net>
1016
1017         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1018
1019 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1020
1021         * text2.C (setCursorFromCoordinates): switch to absolute coords
1022         (cursorUp): adjust
1023         (cursorDown): adjust
1024         * text3.C (dispatch): adjust
1025
1026 2004-02-16  André Pönitz  <poenitz@gmx.net>
1027
1028         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1029           insets/ChangeLog)
1030
1031         * cursor_slice.[Ch]: remove unneeded acessor function
1032
1033         * lyxtext.h: rename rtl() to isRTL()
1034
1035         * rowpainter.C:
1036         * tabular.C:
1037         * text.C:
1038         * text2.C:
1039         * text3.C: adjust
1040
1041 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1042
1043         * rowpainter.C (paintSelection): coord fix
1044
1045 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1046
1047         * Spacing.C: compile fix
1048
1049 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1050
1051         * cursor.C (dispatch): restore current_ before returning
1052
1053 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1054
1055         * text2.C (cursorUp, cursorDown): fix coords
1056         (moveUp): fix crash
1057
1058 2004-02-12  André Pönitz  <poenitz@gmx.net>
1059
1060         * lyxtext.h:
1061         * text.C:
1062         * text2.C:
1063         * text3.C: add LCursor & parameter to most cursor movement functions
1064           remove usage of LyXText::cursorRow() and cursorPar()
1065
1066         * cursor.[Ch]: add textRow() needed members
1067
1068         * BufferView.C:
1069         * BufferView_pimpl.C:
1070         * paragraph.[Ch]:
1071         * BufferView.C:
1072         * BufferView_pimpl.C: adjust
1073
1074 2004-02-11  André Pönitz  <poenitz@gmx.net>
1075
1076         * lyxfunc.C:
1077         * BufferView.[Ch]:
1078         * BufferView_pimpl.C: shift undo/redo handling
1079
1080         * cursor.[Ch]: fix mathed crash
1081
1082         * lyxfind.C:
1083         * lyxtext.h: move selectionAsText to LCursor
1084
1085         * output_latex.C:
1086         * paragraph.C:
1087         * text.C:
1088         * text2.C:
1089         * text3.C: adjust
1090
1091         * rowpainter.C: fix excessive drawing
1092
1093 2004-02-06  André Pönitz  <poenitz@gmx.net>
1094
1095         * BufferView.[Ch]:
1096         * BufferView_pimpl.[Ch]:
1097         * text3.C: move some text specific LFUN handling
1098
1099 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1100
1101         * text3.C (checkInsetHit): adjust coords
1102         * text2.C (getColumnNearX): adjust coords
1103         (edit): adjust coords
1104         * text.C (getRowNearY): add two asserts
1105
1106 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1107
1108         * converter.C:
1109         * format.C: add using std::distance to compile on gcc 2.95/stlport
1110
1111 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1112
1113         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1114
1115 2004-02-04  André Pönitz  <poenitz@gmx.net>
1116
1117         * BufferView.[Ch] (insertInset):
1118         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1119
1120         * text2.C:
1121         * text3.C: adjust
1122
1123 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1124
1125         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1126         on the default clause of the switch
1127         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1128         wasn't catched by LCursor::dispatch
1129
1130 2004-02-03  André Pönitz  <poenitz@gmx.net>
1131
1132         * BufferView.C:
1133         * cursor.[Ch]: some additional asserts
1134
1135         * undo.[Ch]: remove LyXText dependency in interface
1136
1137         * lyxfunc.C: adjust
1138
1139         * lyxtext.h (firstPar, lastPar): remove dead functions
1140
1141         * text.C:
1142         * text2.C:
1143         * text3.C:
1144         * paragraph.[Ch]: adjust
1145
1146 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1147
1148         * lyxfind.C (find): fix argument order in call to ::find
1149
1150 2004-02-02  André Pönitz  <poenitz@gmx.net>
1151
1152         * cursor.[Ch]: remove direct access to anchor
1153
1154         * text.C: remove findText() hack
1155
1156 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1157
1158         * iterators.[Ch] (lockPath): remove in favour of...
1159         * BufferView.[Ch] (setCursor): this addition
1160         * BufferView.C (putSelectionAt): adjust
1161         * undo.C (performUndoOrRedo): adjust
1162         * lyxfunc.C (dispatch): adjust
1163
1164 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1165
1166         * iterators.C (lockPath): add a missing slice
1167         * undo.C (performUndoOrRedo): remove redundant positioning code
1168
1169 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1170
1171         * vc-backend.C (scanMaster): ";" -> ';'
1172
1173 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1174
1175         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1176         std::binary_function
1177
1178         * lyxtextclass.C (compare_name): rename to...
1179         (LayoutNamesEqual): ...this
1180
1181         * lyxlex_pimpl.C (compare_tags): inherit from
1182         std::binary_function, put back into anon namespace
1183
1184         * lyxfind.C (MatchString): inherig from std::binary_function
1185         (findChange): use empty() istead of !size()
1186
1187         * format.C (FormatNamesEqual): new functor
1188         (getFormat): use it
1189         (getNumber): use it
1190         (add): use it
1191         (erase): use it
1192         (setViewer): use it
1193
1194         * converter.C (compare_Converter): rename to...
1195         (ConverterEqual): ...this, and fixup a bit.
1196         (getConverter): use it, and make function const
1197         (getNumber): use it, and make function const
1198         (add): use it
1199         (erase): use it:
1200
1201         * bufferlist.C: add using boost::bind
1202
1203         * MenuBackend.C (MenuNamesEqual): new functor
1204         (hasMenu): use it, and make function const
1205         (hasSubmenu): use nested bind to get rid of compare_memfun.
1206
1207 2004-01-30  André Pönitz  <poenitz@gmx.net>
1208
1209         * BufferView_pimpl.C:
1210         * cursor.C:
1211         * cursor.h:
1212         * cursor_slice.[Ch]:
1213         * lyxfunc.C:
1214         * lyxtext.h:
1215         * paragraph_funcs.C:
1216         * paragraph_funcs.h:
1217         * rowpainter.C:
1218         * text.C:
1219         * text2.C:
1220         * text3.C: move some of the edit(x,y) handling to the insets
1221         some coordinate changes.
1222
1223 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1224
1225         * text.C: add using statements for std::advance and std::distance
1226
1227         * paragraph.C: add using statement for std::distance
1228
1229         * lyxfind.C: add using statement for std::advance
1230
1231         * cursor.C (region): remove std:: from swap
1232         (openable): use nucleus in stead of operator->
1233
1234         * BufferView.C: add using statements for std::distance and std::swap
1235
1236 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1237
1238         * iterators.C: Remove the pimple, move the needed structures to
1239         the header file. Create accessor for the positions stack.
1240         (asPosIterator): remove function
1241
1242         * PosIterator.C (PosIterator): move constructors to top of file
1243         (PosIterator): reimplement the constructor taking a ParIterator in
1244         terms of setFrom.
1245         (setFrom): new function
1246         (operator!=): inline it
1247
1248 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1249
1250         * lyxfind.C (replaceAll): use std::advance
1251
1252         * iterators.h: inherit from std::iterator.
1253
1254         * PosIterator.C (advance, distance): remove
1255         * PosIterator.h: interit from std::iterator.
1256
1257 2004-01-26  André Pönitz  <poenitz@gmx.net>
1258
1259         * BufferView.[Ch]:
1260         * BufferView_pimpl.[Ch]:
1261         * InsetList.[Ch]:
1262         * PosIterator.[Ch]:
1263         * buffer.h:
1264         * bufferview_funcs.C:
1265         * cursor.[Ch]:
1266         * cursor_slice.h:
1267         * factory.[Ch]:
1268         * iterators.[Ch]:
1269         * lyxfind.C:
1270         * lyxfunc.C:
1271         * lyxtext.h:
1272         * output_docbook.C:
1273         * output_latex.C:
1274         * output_linuxdoc.C:
1275         * output_plaintext.C:
1276         * paragraph.[Ch]:
1277         * paragraph_funcs.[Ch]:
1278         * paragraph_pimpl.[Ch]:
1279         * rowpainter.C:
1280         * tabular.C:
1281         * tabular.h:
1282         * text.C:
1283         * text2.C:
1284         * text3.C: more IU:  dumps most of the rest of the mathcursor
1285     implementation into cursor.[Ch]; "globalize" a bit of it.
1286
1287 2004-01-25  Angus Leeming  <leeming@lyx.org>
1288
1289         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1290
1291 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1292
1293         * LaTeXFeatures.h: add nice_ and nice() const
1294         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1295
1296 2004-01-20  André Pönitz  <poenitz@gmx.net>
1297
1298         * BufferView.[Ch]:
1299         * BufferView_pimpl.C:
1300         * PosIterator.C:
1301         * bufferview_funcs.C:
1302         * cursor.[Ch]:
1303         * cursor_slice.[Ch]:
1304         * factory.C:
1305         * iterators.C:
1306         * lyx_cb.C:
1307         * lyxfind.C:
1308         * lyxfunc.C:
1309         * lyxtext.h:
1310         * rowpainter.C:
1311         * text.C:
1312         * text2.C:
1313         * text3.C:
1314         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1315           LCursor and mathcursor parts to LCursor and InsetBase.
1316
1317 2004-01-15  André Pönitz  <poenitz@gmx.net>
1318
1319         * cursor_slice.[Ch]: add a few covienience functions
1320
1321         * funcrequest.[Ch]: remove BufferView * member
1322
1323         * BufferView_pimpl.C:
1324         * cursor.C:
1325         * factory.[Ch]:
1326         * lyxfind.[Ch]:
1327         * lyxfunc.C:
1328         * lyxtext.h:
1329         * text3.C:
1330         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1331
1332 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1333
1334         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1335         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1336
1337 2004-01-13  André Pönitz  <poenitz@gmx.net>
1338
1339         * textcursor.[Ch]:
1340         * lyxtext.h: hide cursor and selection anchor behind accessor function
1341
1342         * BufferView.C:
1343         * BufferView_pimpl.[Ch]:
1344         * PosIterator.C:
1345         * bufferview_funcs.C:
1346         * cursor.h:
1347         * lyxfind.C:
1348         * lyxfunc.C:
1349         * text.C:
1350         * text2.C:
1351         * text3.C:
1352         * undo.C: adjust
1353
1354         * cursor.h:
1355         * cursor_slice.[Ch]: some integer type changes for inset unification
1356
1357         * lyxcursor.[hC]: remove, it's CursorSlice now.
1358
1359         * Makefile.am:
1360         * BufferView_pimpl.[Ch]:
1361         * bufferview_funcs.C:
1362         * cursor_slice.C:
1363         * lyxtext.h:
1364         * text.C:
1365         * text2.C:
1366         * text3.C:
1367         * textcursor.[Ch]: adjust
1368
1369 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1370
1371         * text2.C (undoSpan): add and use
1372         * text.C (breakParagraph): use undoSpan (fix bug 578)
1373         * lyxtext.h: adjust
1374
1375 2004-01-08  Angus Leeming  <leeming@lyx.org>
1376
1377         * BufferView_pimpl.C (MenuInsertLyXFile):
1378         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1379         * lyxfunc.C (menuNew, open, doImport):
1380         FileFilterList change to the FileDialog open and save functions.
1381
1382 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1383
1384         * ShareContainer.h: make isEqual and isUnique adaptable
1385
1386         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1387
1388 2004-01-07  Angus Leeming  <leeming@lyx.org>
1389
1390         * LyXAction.C:
1391         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1392
1393         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1394
1395         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1396         functions replacing find, replace and replaceAll.
1397
1398         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1399         LFUN_WORDFIND(FORWARD|BACKWARD).
1400
1401 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1402
1403         * text.C (breakParagraph): remove an outdated #warning
1404
1405 2004-01-07  André Pönitz  <poenitz@gmx.net>
1406
1407         * lyxfind.C: somewhat clearer logic
1408
1409         * text.C: prevent crash in cursorX on unitialized row cache
1410
1411 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1412
1413         * lyxcursor.[Ch] (operator>): add
1414         * textcursor.C (selStart, selEnd): use std::min and std::max
1415
1416 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1417
1418         * Chktex.C: include boost/format.hpp
1419
1420 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1421
1422         * InsetList.C: replace functor MathcIt with adaptable functor
1423         InsetTablePosLess
1424         (insetIterator): modify accordingly
1425
1426         * BranchList.h: move the BranchNamesEqual functor here from...
1427         * BranchList.C: ... to here
1428
1429         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1430         SameName and match.
1431         (add): replace a finding loop with std::find_if.
1432
1433 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1434
1435         * output_docbook.C: moving LatexParam functionality into
1436         .layout files
1437
1438 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1439
1440         * buffer.C: increment format to 229.
1441
1442 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1443
1444         * LaTeXFeatures.C:
1445         * lyx_sty.[Ch]: remove minipageindent_def
1446
1447         * LyXAction.C:
1448         * factory.C:
1449         * lfuns.h:
1450         * lyxfunc.C:
1451         * text3.C: remove LFUN_INSET_MINIPAGE
1452
1453 2003-12-28  Angus Leeming  <leeming@lyx.org>
1454
1455         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1456
1457 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1458
1459         * text2.C (setParagraph): fix off-by-one crash
1460
1461 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1462
1463         * output_docbook.C: header stuff for AGU
1464
1465 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1466
1467         * text2.C (redoCursor): remove
1468         * text.C:
1469         * text3.C:
1470         * BufferView_pimpl.C: remove calls to redoCursor and
1471         setCursor(cursor.par(), cursor.pos()) all around
1472
1473 2003-12-15  Angus Leeming  <leeming@lyx.org>
1474
1475         * buffer.C: up the format to 228.
1476
1477 2003-12-15  André Pönitz  <poenitz@gmx.net>
1478
1479         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1480         slices
1481
1482         * Makefile.am:
1483
1484         * BufferView_pimpl.C:
1485         * cursor.[Ch]:
1486         * lyxcursor.[Ch]:
1487         * rowpainter.[Ch]:
1488         * lyxtext.h:
1489         * text.C:
1490         * text2.C:
1491         * text3.C: adjust
1492
1493 2003-12-15  Angus Leeming  <leeming@lyx.org>
1494
1495         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1496         than getFromGUIName to manipulate the color.
1497
1498 2003-12-14  Angus Leeming  <leeming@lyx.org>
1499
1500         * BranchList.[Ch]: minimize the API.
1501         (Branch::getBranch, getColor): now return a 'const &'.
1502         (Branch::setSelected) now returns a bool set to true if the
1503         selection status changes.
1504         (BranchList::clear, size, getColor, setColor, setSelected,
1505         allBranches, allSelected, separator): removed.
1506         (BranchList::find): new functions, returning the Branch with
1507         the given name.
1508         (BranchList::add, remove): return a bool indicating that
1509         the operation was successful.
1510
1511         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1512         new InsetBranch::isBranchSlected member function.
1513
1514         * LColor.[Ch]: mimimize the API.
1515         (fill): renamed as addColor and made private.
1516         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1517         versions of these functions taking a string arg have been removed.
1518
1519         * bufferparams.C (readToken):
1520         * lyxfunc.C (dispatch):
1521         * lyxrc.C (read): changes due to the altered BranchList and
1522         LColor APIs.
1523
1524         * factory.C (createInset, readInset): changes due to altered
1525         InsetBranch c-tor.
1526
1527 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1528
1529         * factory.C:
1530         * lyxfunc.C: remove insetminipage. "minipage-insert"
1531         now produces a frameless minipage box inset.
1532
1533 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1534
1535         * textcursor.[Ch] (selStart,selEnd): add new methods
1536         remove selection::start, end, use LyXCursor::operator<
1537         * lyxcursor.[Ch] (operator<): add
1538         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1539         * BufferView.[Ch] (unsetXSel): add
1540         * text2.C (clearSelection): use unsetXSel,adjust
1541         * text.C: adjust
1542         * text3.C: adjust
1543         * rowpainter.C: adjust
1544         * bufferview_funcs.C (put_selection_at): adjust
1545
1546 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1547
1548         * BufferView_pimpl.C: small coord. correction
1549
1550 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1551
1552         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1553         dragging over the splash screen.
1554
1555 2003-12-11  Angus Leeming  <leeming@lyx.org>
1556
1557         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1558         as it is now handled in LyXText::dispatch.
1559
1560         * text3.C (doInsertInset): remove a level of nesting.
1561
1562 2003-12-11  Angus Leeming  <leeming@lyx.org>
1563
1564         * factory.C (createInset): changes due to the changed interface to
1565         InsetCommandMailer::string2params.
1566
1567 2003-12-10  Angus Leeming  <leeming@lyx.org>
1568
1569         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1570         'dialog-show-new-inset <inset name>'
1571
1572 2003-12-10  Angus Leeming  <leeming@lyx.org>
1573
1574         * buffer.C: up the format to 227.
1575
1576         * factory.C: the box inset is now identified simply by 'Box'.
1577
1578 2003-12-10  Angus Leeming  <leeming@lyx.org>
1579
1580         * buffer.C: up the format to 226.
1581
1582         * factory.C: the note inset is now identified simply by 'Note'.
1583
1584 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1585
1586         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1587         when a pit is enough. Standarize a couple of loops.
1588
1589 2003-12-05  Angus Leeming  <leeming@lyx.org>
1590
1591         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1592         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1593         data to the re-worked "log" dialog.
1594
1595 2003-12-03  André Pönitz  <poenitz@gmx.net>
1596
1597         * PosIterator.C:
1598         * iterators.C:
1599         * lyxtext.h:
1600         * output_latex.C:
1601         * paragraph_funcs.C:
1602         * text.C:
1603         * text2.C: use Inset::getText instead of Inset::getParagraph
1604
1605 2003-12-03  André Pönitz  <poenitz@gmx.net>
1606
1607         * buffer.[Ch]:
1608         * lyxtext.h:
1609         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1610         InsetText::read() as LyXText::read()
1611
1612 2003-12-02  Angus Leeming  <leeming@lyx.org>
1613
1614         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1615         type. Add a comment in the implementation that the function uses
1616         the stream's bad() function rather than fail() as the std::streams
1617         would do.
1618
1619 2003-12-02  André Pönitz  <poenitz@gmx.net>
1620
1621         * lyxlex.[Ch]: make interface more similar to std::stream
1622
1623         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1624
1625 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1626
1627         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1628
1629 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1630
1631         * vspace.[Ch]: remove VSpace::NONE
1632
1633 2003-12-01  André Pönitz  <poenitz@gmx.net>
1634
1635         * buffer.[Ch]:
1636         * lyxtext.h: move ParagraphList member to LyXText
1637         rename LyXText::ownerParagraphs to LyXText::paragraph
1638
1639         * CutAndPaste.C:
1640         * bufferview_funcs.C:
1641         * iterators.[Ch]:
1642         * lyx_cb.C:
1643         * paragraph.C:
1644         * rowpainter.C:
1645         * tabular.C:
1646         * text.C:
1647         * text2.C:
1648         * text3.C: adjust
1649
1650         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1651
1652         * undo.C: fix cursor positioning
1653
1654 2003-12-01  John Levon  <levon@movementarian.org>
1655
1656         * BufferView_pimpl.C: fix a crash on exit with
1657         a buffer open
1658
1659 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1660
1661         * BranchList.C: fix setSelected() method.
1662
1663 2003-11-28  André Pönitz  <poenitz@gmx.net>
1664
1665         * ParagraphParameters.[Ch]:
1666         * ParameterStruct.h: remove space above/below from Paragraph to
1667          InsetVSpace
1668
1669         * BufferView_pimpl.C:
1670         * factory.C:
1671         * lyxfunc.C:
1672         * lyxtext.h:
1673         * output_latex.C:
1674         * paragraph.C:
1675         * paragraph_funcs.C:
1676         * rowpainter.[Ch]:
1677         * text.C:
1678         * text2.C:
1679         * text3.C: adjust
1680
1681 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1682
1683         * factory.C: Syntax change for CharStyles
1684
1685 2003-11-28  André Pönitz  <poenitz@gmx.net>
1686
1687         * BufferView.[Ch]:
1688         * BufferView.[Ch]:
1689         * buffer.[Ch]:
1690         * buffer.[Ch]: move LyXText member
1691
1692 2003-11-28  André Pönitz  <poenitz@gmx.net>
1693
1694         * BufferView.[Ch]: make LyXText * text a private member
1695
1696         * BufferView_pimpl.C:
1697         * cursor.C:
1698         * iterators.C:
1699         * lyx_cb.C:
1700         * lyxfind.C:
1701         * lyxtext.h:
1702         * rowpainter.[Ch]:
1703         * text.C:
1704         * text2.C:
1705         * undo.C: adjust
1706
1707         * output_plaintext.C: cleanup
1708
1709 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1710
1711         * buffer.C:
1712         * lyxtextclass.[Ch]: parametrize SGML document header
1713
1714 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1715
1716         * converter.[Ch]:
1717         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1718         getFlavor().
1719
1720 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1721
1722         * text2.C (setFont): rework using PosIterator (no more recursive)
1723         (setCharFont): no more needed
1724         (setLayout): no more selection cursors fiddling (done by redoCursor)
1725         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1726         destroy remaining ones)
1727
1728 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1729
1730         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1731         * lyxtext.h: ditto
1732         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1733         selection cursors
1734         * lyxfunc.C: adjust
1735         * text3.C: adjust + re-allow multi par depth changes
1736         * textcursor.C: simplify a bit
1737
1738 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1739
1740         * src/buffer.C:
1741         * src/lyxlayout.C:
1742         * src/lyxlayout.h:
1743         * src/lyxtext.h:
1744         * src/output_docbook.C:
1745         * src/output_latex.C:
1746         * src/paragraph.C:
1747         * src/paragraph.h:
1748         * src/sgml.C:
1749         * src/sgml.h:
1750         * src/text2.C: Introducing a number of tags parametrizing various
1751         XML formats that we may want to support
1752
1753 2003-11-25  André Pönitz  <poenitz@gmx.net>
1754
1755         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1756
1757         * lyxtext.h (leftMargin/rightMargin): simplify interface
1758
1759         * rowpainter.C:
1760         * text.C:
1761         * text2.C:
1762         * text3.C: adjust
1763
1764 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1765
1766         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1767         master file to any child files. Fixes bug 546.
1768
1769 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1770
1771         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1772
1773 2003-11-24  André Pönitz  <poenitz@gmx.net>
1774
1775         * rowpainter.C: simplification
1776
1777         * text2.C (updateCounters): remove call to redoParagraph on
1778         changed labels as this is far too expensive.
1779
1780 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1781
1782         * converter.C (convert): fix a crash: this function gets
1783         called with buffer == 0 from importer code.
1784
1785 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1786
1787         * text3.C (cursorPrevious): make sure that we do not compare
1788         iterators form different containers.
1789         (cursorNext): ditto
1790
1791         * rowpainter.C (paintSelection): make sure that we do not compare
1792         iterators from different containers.
1793
1794         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1795         iterators from different ParagraphList containers.
1796         [NEXT] ditto
1797
1798         * text2.C (LyXText): change order of initialization slightly
1799         (operator=): new function. copy all variables except cache_par_
1800         (moveUp): make sure that we do not compare iterators from
1801         different ParagraphList constainers.
1802         (moveDown): ditto
1803
1804         * text.C (firstPar): new function
1805         (lastPar): new function
1806         (endPar): new function
1807
1808         * lyxtext.h: move things around and group public functions, public
1809         variables, private functions, private variables
1810
1811 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1812
1813         * factory.C: change call to InsetERT constructor to avoid
1814         additional invocation of method status
1815         * text2.C (toggleInset): remove redundant update() call
1816         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1817         instead of a Bufferview pointer
1818
1819 2003-11-21  André Pönitz  <poenitz@gmx.net>
1820
1821         * rowpainter.C: simplification
1822
1823 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1824
1825         * text3.C (dispatch): make possible to extend a word/row selection
1826         with the mouse
1827
1828 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1829
1830         * lyxtext.h: x0_,y0_ -> xo_,yo_
1831         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1832         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1833         * rowpainter.C (paintRows): paint full paragraphs
1834
1835 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1836
1837         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1838         screen coordinates)
1839
1840 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1841
1842         * lyxtext.h: add x0_, y0_
1843         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1844         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1845
1846 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1847
1848         * text2.C (setCursorIntern): move the x_target update here *
1849         * text3.C: change some bv() to true/false in calls to
1850         cursorUp/Down/Right/Left
1851         * cursor.C: use helper function.
1852
1853 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1854
1855         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1856         * paragraph_funcs.[Ch]: correct comment
1857         * rowpainter.C: do not paint selections away from bv->cursor()
1858         Fix a long standing selection painting bug.
1859         * text3.C: generalize mouse-selection code to LyXTexts other that
1860         top one
1861         * textcursor.C: do not use y coords if we can use par offsets
1862
1863 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1864
1865         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1866         cursor position after e.g. inset insert)
1867
1868 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1869
1870         * lyxfind.C (replace): adjust to locking removal + some
1871         code simplification
1872
1873 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1874
1875         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1876         of the path
1877
1878 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1879
1880         * lyxlayout.[Ch]:
1881         * output_docbook.C: XML sanitation: new layout
1882         parameters InnerTag and CommandDepth
1883
1884 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1885
1886         * BufferView_pimpl.C:
1887         * factory.C:
1888         * text3.C: Fix the insertion and modification of button-style
1889         insets
1890
1891 2003-11-13  André Pönitz  <poenitz@gmx.net>
1892
1893         * InsetList.[Ch]: remove deleteLyXText
1894
1895         * paragraph.[Ch]: cache beginOfBody position
1896
1897         * Bidi.C:
1898         * text.C:
1899         * text2.C:
1900         * text3.C: remove superfluous update() calls
1901
1902         * vspace.C: cleanup
1903
1904 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1905
1906         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1907         * BufferView.C (fitLockedInsetCursor): remove
1908         * cursor.[Ch] (getDim): add
1909         * text.C (getRowNearY): add faster version
1910         * text3.C: remove some update calls
1911
1912 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1913
1914         * LaTeXFeatures.C:
1915         * LyXAction.C:
1916         * MenuBackend.C:
1917         * MenuBackend.h:
1918         * dispatchresult.h:
1919         * factory.C:
1920         * lfuns.h:
1921         * lyxfunc.C:
1922         * lyxtextclass.C:
1923         * lyxtextclass.h:
1924         * text3.C: The Character Style /XML short element patch.
1925
1926 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1927
1928         * text3.C:
1929         * factory.C: Small step to solving 'unable to insert some insets'
1930         problem
1931
1932 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1933
1934         * cursor.[Ch] (updatePos): new function for updating the y
1935         position of the tip inset
1936         * bufferview_funcs.C (put_selection_at):
1937         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1938
1939 2003-11-11  André Pönitz  <poenitz@gmx.net>
1940
1941         * text.C: remove big comment on invalid Paragraph pointers as it is
1942         not valid anymore
1943
1944 2003-11-11  André Pönitz  <poenitz@gmx.net>
1945
1946         * text_funcs.[Ch]: merge with ...
1947
1948         * text.C: ... this
1949
1950         * lyxtext.h:
1951         * text2.C:
1952         * text3.C: adjust
1953
1954         * Makefile.am: remove text_funcs.[Ch]
1955
1956 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1957
1958         * cursor.C (getPos): return absolute cached y coord
1959
1960         * BufferView_pimpl.C (fitCursor): new simplistic code
1961         (workAreaDispatch): add a fitCursor call
1962
1963 2003-11-10  André Pönitz  <poenitz@gmx.net>
1964
1965         * BufferView.[Ch]:
1966         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1967
1968 2003-11-10  André Pönitz  <poenitz@gmx.net>
1969
1970         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1971         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1972         indicate that the cursor needs to leave an inset
1973
1974         * lyxtext.h: remove inset locking
1975
1976         * cursor.[Ch]: re-implement functionality provided by inset locking
1977
1978         * BufferView.[Ch]:
1979         * BufferView_pimpl.[Ch]:
1980         * LyXAction.C:
1981         * bufferview_funcs.[Ch]:
1982         * factory.C:
1983         * funcrequest.[Ch]:
1984         * iterators.C:
1985         * lyx_cb.C:
1986         * lyxfind.C:
1987         * lyxfunc.C:
1988         * text.C:
1989         * text2.C:
1990         * text3.C:
1991         * undo.C: adjust
1992
1993 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1994
1995         * PosIterator.[Ch]: replace the stack with a vector, add inset
1996         accesor
1997         * iterators.[C]: adjust
1998
1999 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2000
2001         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2002         replaced
2003         * paragraph_funcs.C (readParToken): put the correct id in the
2004         error item, not the id of the top paragraph
2005
2006 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2007
2008         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2009         * bufferview_funcs.C (put_selection_at): use the above
2010
2011 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2012
2013         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2014
2015 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2016
2017         * output_linuxdoc.h:
2018         * output_plaintext.h:
2019         * output.h:
2020         * output_docbook.h: add #include statements
2021
2022 2003-11-05  José Matos  <jamatos@lyx.org>
2023
2024         * output_docbook.[Ch]:
2025         * output_latex.[Ch]:
2026         * output_linuxdoc.[Ch]:
2027         * output_plaintext.[Ch]: New files for output formats.
2028         * output.[Ch]: New file for helper functions.
2029
2030         * buffer.[Ch]:
2031         * paragraph_funcs.[Ch]: output functions moved to new files.
2032
2033         * outputparams.h: rename of latexrunparams.h
2034
2035         * LaTeX.[Ch]:
2036         * buffer.[Ch]:
2037         * bufferlist.[Ch]:
2038         * converter.[Ch]:
2039         * exporter.C:
2040         * paragraph.[Ch]:
2041         * paragraph_funcs.[Ch]:
2042         * paragraph_pimpl.[Ch]:
2043         * tabular.[Ch]: rename ascii to plaintext
2044         and LatexRunParams to OutputParams.
2045
2046 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2047
2048         * iterators.[Ch] (text): require bv argument
2049         * undo.C (recordUndo):
2050         * lyxfunc.C (dispatch):
2051         * bufferview_funcs.C (put_selection_at): adjust
2052
2053 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2054
2055         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2056
2057 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2058
2059         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2060         nestings
2061
2062 2003-11-04  André Pönitz  <poenitz@gmx.net>
2063
2064         * cursor.[Ch]: restructure
2065
2066         * BufferView.[Ch]:
2067         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2068
2069         * iterators.[Ch] (asCursor): remove
2070
2071         * lfuns.h: remove LFUN_INSET_EDIT
2072
2073         * lyxfunc.C:
2074         * tabular.C:
2075         * text.C:
2076         * text2.C:
2077         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2078
2079 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2080
2081         * lyxfind.[Ch]: complete overhaul
2082         * BufferView_pimpl.C:
2083         * lyxfunc.C: adjust
2084         * paragraph.[Ch] (insert): add
2085
2086 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2087
2088         * BufferView.[Ch]:
2089         * lyxtext.h:
2090         * text.C: remove dead spellcheck code
2091
2092 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2093
2094         * dispatchresult.h: add a val setter
2095
2096         * cursor.C (dispatch): use a tempvar for data_[i]
2097
2098 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2099
2100         * PosIterator.[Ch]: compile fix
2101
2102 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2103
2104         * text.C (cursorPar): deactivate the cursor cache
2105
2106 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2107
2108         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2109
2110 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2111
2112         * text3.C (dispatch): adjust for new DisptchResult semantics.
2113
2114         * lyxfunc.C (dispatch): handle update when return from
2115         Cursor::dispatch, adjust for new DispatchResult semantics.
2116
2117         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2118         DispatchResult(true) mean to not update. Add class functions for
2119         setting dispatched and update, as well as reading.
2120
2121         * cursor.C (dispatch): don't handle update here
2122
2123 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2124
2125         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2126         * trans_mgr.C: adjust
2127
2128         * paragraph_funcs.C (readParToken): exception safety
2129
2130         * lyxvc.h: store the vcs pointer in a scoped_ptr
2131         * lyxvc.C: adjust
2132
2133         * lyxsocket.C (serverCallback): exception safety
2134
2135         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2136
2137         * ispell.C (clone): make it return a auto_ptr
2138
2139         * factory.C (createInset): exception safety
2140         (readInset): exception safety
2141
2142         * bufferlist.C (newBuffer): exception safety
2143
2144         * Thesaurus.C (Thesaurus): use initialization for aik_
2145
2146         * MenuBackend.C (expandToc): exception safety.
2147
2148 2003-11-03  André Pönitz  <poenitz@gmx.net>
2149
2150         * buffer.C:
2151         * buffer.h:
2152         * bufferview_funcs.C: remove getInsetFromId()
2153
2154         * lyxcursor.[Ch]:
2155         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2156
2157         * lyxfunc.C:
2158         * text2.C:
2159         * text3.C: adjust
2160
2161 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2162
2163         * PosIterator.C (distance, advance): new
2164         * bufferview_funcs.[Ch] (put_selection_at): new
2165         * iterators.[Ch] (lockPath): new
2166
2167 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2168
2169         * iterators.[Ch] (asPosIterator): added
2170         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2171         * PosIterator.[Ch]: added
2172
2173 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2174
2175         * text3.C:
2176         * lyxfunc.C:
2177         * cursor.C (dispatch):
2178         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2179
2180         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2181         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2182         contructor, add a class function dispatched. Remove operator>=
2183
2184 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2185
2186         * debug.C: only use the default constructor for debugstream
2187         (lyxerr) here.
2188
2189         * main.C (main): include debug.h and setup the lyxerr streambuf
2190         here.
2191
2192 2003-10-31  José Matos  <jamatos@lyx.org>
2193
2194         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2195
2196         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2197         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2198         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2199         * paragraph_pimpl.C (simpleTeXSpecialC):
2200         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2201         add LatexRunParams argument.
2202
2203         * exporter.C (Export): change call accordingly.
2204
2205         * latexrunparams.h: add new member to take care of the other backends.
2206 2003-10-30  José Matos  <jamatos@lyx.org>
2207
2208         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2209         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2210         factorise code for paragraph output.
2211         * buffer.[Ch]:
2212         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2213         move functions.
2214
2215 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2216
2217         * text3.C (dispatch):
2218         * lyxfunc.C (dispatch):
2219         * cursor.C (dispatch):
2220         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2221
2222         * dispatchresult.h: make the dispatch_result_t ctor explicit
2223
2224 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2225
2226         * sgml.[Ch]:
2227         * buffer.C: small refactoring of docbook stuff
2228
2229 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2230
2231         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2232         meaning.
2233
2234 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2235
2236         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2237         operator dispatch_result_t, and operators for == != and >=
2238
2239         * cursor.C (dispatch): adjust for operator dispatch_result_t
2240         removal. comment out call to update
2241
2242         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2243
2244 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2245
2246         * text3.C:
2247         * text2.C:
2248         * text.C:
2249         * lyxtext.h:
2250         * lyxfunc.C:
2251         * cursor.C:
2252         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2253         (dispatch):
2254
2255         * dispatchresult.h: new file, DispatchResult broken out of
2256         insets/insetbase.h
2257
2258         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2259
2260 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2261
2262         * text.C (rowBreakPoint): put a hack inside #if 0
2263
2264 2003-10-28  André Pönitz  <poenitz@gmx.net>
2265
2266         * lyxtext.h:
2267         * metricsinfo.C:
2268         * paragraph_funcs.C:
2269         * rowpainter.C:
2270         * text.C:
2271         * text2.C: general cleanup (lots of small stuff)
2272
2273 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2274
2275         * text2.C (cursorEnd): simple fix to the "end key goes to one
2276         before the end on last row" bug
2277
2278 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2279
2280         * text.C (backspace): fix the "zombie characters"
2281
2282 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2283
2284         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2285
2286 2003-10-27  André Pönitz  <poenitz@gmx.net>
2287
2288         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2289
2290         * factory.C: handle new InsetPagebreak, InsetLine
2291
2292         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2293         and move handling into new InsetPagebreak, InsetLine
2294
2295         * BufferView_pimpl.C:
2296         * LyXAction.C:
2297         * ParagraphParameters.C:
2298         * ParameterStruct.h:
2299         * lyxfunc.C:
2300         * lyxtext.h:
2301         * paragraph.C:
2302         * paragraph.h:
2303         * paragraph_funcs.C:
2304         * paragraph_pimpl.C:
2305         * rowpainter.C:
2306         * text.C:
2307         * text2.C:
2308         * text3.C: adjust
2309
2310 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2311
2312         * text.C:
2313         * lyxrow_funcs.[Ch]:
2314         * Bidi.C:
2315         * paragraph.C:
2316         * lyxtext.h:
2317         * rowpainter.C:
2318         * text2.C:
2319         * text3.C: remove lastPos uses in favour of Row::endpos
2320
2321 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2322
2323         * undo.C (performUndoOrRedo): fix two crashes by setting a
2324         cursor by hand and reordering some calls. Use bv->lockInset instead
2325         of inset->edit because the latter loses cursor information
2326
2327 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2328
2329         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2330         by Martin
2331         (rowBreakPoint): fix width. change point to point + 1.
2332         Add a missing check.
2333
2334 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2335
2336         * MenuBackend.C:
2337         * lyxfunc.C: fix (at least partly) the problems
2338         with the Nav menu and headers inside branch insets
2339         reported by Kayvan
2340
2341 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2342
2343         * paragraph.C (getChar): add strong asserts
2344
2345         * lyxrow_funcs.C (lastPos): remove hideous hack
2346
2347         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2348         (fill): adjust to that (avoid an infinite loop)
2349
2350 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2351
2352         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2353
2354 2003-10-23  André Pönitz  <poenitz@gmx.net>
2355
2356         * RowList_fwd.h: change list<> to vector<> to gain speed
2357         after suggestion from Alfredo
2358
2359 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2360
2361         * lyxtext.h: move the bidi stuff from here...
2362         * text.C: and here
2363         * text2.C: and here
2364         * Bidi.[Ch]: ... to here
2365
2366 2003-10-23  André Pönitz  <poenitz@gmx.net>
2367
2368         * lyxtext.h:
2369         * text.C (isLastRow, isFirstRow): new functions
2370
2371         * paragraph.h: new width cache member
2372
2373         * rowpainter.C: replace RowList::iterator with Row & where possible
2374
2375         * lyxfunc.C: replace several view()->text with a single call
2376
2377         * toc.C: fix 'unused' warning
2378
2379 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2380
2381         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2382         when woring with stream::pos_type
2383         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2384
2385 2003-10-22  André Pönitz  <poenitz@gmx.net>
2386
2387         * lyxtext.h:
2388         * text.C: use Row & instead of RowList::iterator
2389
2390         * lyxrow.h: rename end() to endpos()
2391
2392         * rowpainter.C:
2393         * text.C:
2394         * text2.C: adjust
2395
2396 2003-10-22  Angus Leeming  <leeming@lyx.org>
2397
2398         * buffer.[Ch] (fully_loaded): new member function, returning true
2399         only when the file has been loaded fully.
2400         Used to prevent the premature generation of previews and by the
2401         citation inset to prevent computation of the natbib-style label.
2402
2403         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2404         templates are all set up.
2405
2406         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2407
2408 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2409
2410         * text.C: fixed an "oops" in the "is a bit silly"
2411         bug fix
2412
2413 2003-10-21  André Pönitz  <poenitz@gmx.net>
2414
2415         * FuncStatus.[Ch]: small stuff, whitespace
2416
2417         * lyxfont.[Ch]: operator<<() for debug reasons
2418
2419         * lyxfunc.C:
2420         * lyxrow_funcs.C:
2421         * lyxtext.h: whitespace, spelling
2422
2423         * paragraph.C: naming of variables
2424
2425         * text.C:
2426         * text2.C: small stuff
2427
2428
2429 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2430
2431         * text.C: (1) finish off the inset display() work;
2432         (2) fix the "is a bit silly" bug (accessing char
2433         past end of par).
2434
2435 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2436
2437         * text.C: re-introduce display() for insets, fixing the
2438         various bugs (stretch of line above, math inset
2439         positioning, ...)
2440
2441 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2442
2443         * text.C (rightMargin): remove spurious semicolon
2444
2445         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2446         1415)
2447
2448 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2449
2450         * text3.C: fix one crash due to wrong cursor def
2451
2452 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2453
2454         * vc-backend.C (scanMaster): make the regex static
2455
2456         * LaTeX.C (scanAuxFile): make the regexs static
2457
2458         * text3.C (doInsertInset, dispatch, dispatch):
2459         * text2.C (cursorUp, cursorDown):
2460         * text.C (selectNextWordToSpellcheck):
2461         * BufferView_pimpl.C (dispatch):
2462         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2463
2464 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2465
2466         * lyxsocket.C: include <cerrno>
2467
2468 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2469
2470         * lyxfunc.C (dispatch): remove textcache stuff
2471
2472         * bufferlist.C (release): remove textcache stuff
2473         (closeAll): ditto
2474
2475         * TextCache.C: delete file
2476         * TextCache.h: delete file
2477
2478         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2479
2480         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2481         delete of the bv_->text.
2482         (resizeCurrentBuffer): remove texcache stuff
2483         (workAreaResize): ditto
2484
2485 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2486
2487         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2488         action.
2489
2490 2003-10-16  André Pönitz  <poenitz@gmx.net>
2491
2492         * lyxrow.[Ch]:
2493         * paragraph.h:
2494         * rowpainter.C:
2495         * text.C:
2496         * text2.C:
2497         * text3.C: speed up by storing y positions per paragraph plus per-row
2498         offset instead of having a 'full' y position in the row.
2499
2500 2003-10-15  André Pönitz  <poenitz@gmx.net>
2501
2502         * iterators.[Ch]:
2503         * iterators.[Ch]:
2504         * undo.[Ch]: make undo aware of inner insets
2505
2506 2003-10-14  Angus Leeming  <leeming@lyx.org>
2507
2508         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2509         static member functions LyX::ref() and LyX::cref.
2510         (lastfiles): new accessor functions for the new lastfiles_ member var.
2511         (addLyXView, views_): add a new LyXView to the list of views_.
2512         (updateInset): loop over all LyXViews to call their own updateInset
2513         member function, returning a pointer to the Buffer owning the inset.
2514
2515         * BufferView_pimpl.C (loadLyXFile):
2516         * MenuBackend.C (expandLastfiles):
2517         * bufferlist.C (MenuWrite, QuitLyX):
2518         lastfiles is no longer a global variable.
2519         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2520
2521         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2522         static function. Access through LyX::cref().emergencyCleanup().
2523
2524 2003-10-14  André Pönitz  <poenitz@gmx.net>
2525
2526         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2527
2528         * undo.[Ch]: restoring part of 'undo in insets'
2529
2530         * Makefile.am:
2531         * undo_funcs.[Ch]: merge with undo.[Ch]
2532
2533         * tabular.C: small cleansing stuff
2534
2535 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2536
2537         * paragraph_funcs.C (readParToken): report unknown insets as error
2538         boxes. Use the outer paragraph as location (also for unknown
2539         tokens).
2540
2541         * factory.C (readInset): do not abort on reading an unknown inset.
2542         Eat it and return 0.
2543
2544 2003-10-13  Angus Leeming  <leeming@lyx.org>
2545
2546         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2547
2548         * lyxrc.C: displayTranslator is now a function,
2549         declared in GraphicsTypes.h.
2550
2551 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2552
2553         * format.C: new placeholder $$a to pass the socket address.
2554
2555         * bufferlist.[Ch]: new function getBufferFromTmp.
2556
2557         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2558           files in the temporary dir.
2559
2560 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2561
2562         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2563
2564         * Makefile.am: add lyxsocket.[Ch].
2565
2566         * lyx_main.C (error_handler): handle SIGPIPE.
2567
2568 2003-10-13  André Pönitz  <poenitz@gmx.net>
2569
2570         * BufferView_pimpl.C:
2571         * lyxtext.h:
2572         * text.C:
2573         * text2.C:
2574         * text3.C:
2575         * undo_funcs.[Ch]: use paroffset_type instead of
2576           ParagraphList::iterators to prevent multiple conversion
2577           (and get a more robust interface)
2578
2579 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2580
2581         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2582         * lyxtext.h: ditto
2583         * text3.C (dispatch): ditto
2584
2585 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2586
2587         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2588         move the onlyfile, use onlyfile instead of foundfile in a couple
2589         of places.
2590
2591         * DepTable.C (update): flush the error stream a bit more
2592
2593 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2594
2595         * lyxserver.C (callback): adjust
2596
2597         * lyxfunc.C (getStatus): add a missing brace in commented code
2598         (ensureBufferClean): reindent
2599         (dispatch): delete version taking a string
2600
2601 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2602
2603         * LaTeX.C (deplog): move found file handlig from here...
2604         (handleFoundFile): .. to new function here.
2605         (deplog): make sure to discover several files mentioned on the
2606         same log line.
2607
2608 2003-10-10  André Pönitz  <poenitz@gmx.net>
2609
2610         * lyxfunc.C:
2611         * lyxtext.h:
2612         * tabular.C:
2613         * text.C:
2614         * text2.C:
2615         * text3.C: fix some of the tabular crashes
2616
2617 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2618
2619         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2620
2621         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2622
2623 2003-10-09  André Pönitz  <poenitz@gmx.net>
2624
2625         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2626
2627         * BufferView.C:
2628         * BufferView_pimpl.C:
2629         * bufferview_funcs.C:
2630         * lyx_cb.C:
2631         * lyxcursor.C:
2632         * lyxfind.C:
2633         * lyxfunc.C:
2634         * lyxtext.h:
2635         * text.C:
2636         * text2.C:
2637         * text3.C:
2638         * text_funcs.[Ch]:
2639         * textcursor.[Ch]:
2640         * undo_funcs.C: adjust
2641
2642 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2643
2644         * text2.C (incrementItemDepth): new function, use a backtracking
2645         algorithm to discover the correct item depth.
2646         (resetEnumCounterIfNeeded): new function, use a backtracking
2647         algorithm to discover if counter reset is needed.
2648         (setCounter): use them. Simplify a bit. Add different labels for
2649         different item depths for itemize.
2650
2651         * paragraph.C (Paragraph): remove initialization of enumdepth
2652         (operator=): ditto
2653
2654         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2655         enumerate and itemize. Change the type of itemdepth to signed char.
2656
2657 2003-10-08  André Pönitz  <poenitz@gmx.net>
2658
2659         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2660           thing assignable.
2661         * text.C:
2662         * text2.C: adjust
2663
2664         * tabular.[Ch]: fix crash after 'row-insert'
2665
2666 2003-10-08  Angus Leeming  <leeming@lyx.org>
2667
2668         Fix doxygen warnings.
2669
2670         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2671         Remove CutAndPaste:: prefix from header file declaration.
2672
2673         * LColor.h (fill): remove LColor:: prefix from declaration.
2674
2675         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2676         use lyx::depth_type rather than Paragraph::depth_type so that
2677         header file and .C file match.
2678
2679         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2680
2681         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2682         * aspell.C: \file aspell_local.C -> \file aspell.C
2683         * gettext.C: \file gettext.C -> \file src/gettext.C
2684         * gettext.h: \file gettext.h -> \file src/gettext.h
2685         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2686         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2687         * text.C: \file text.C -> \file src/text.C
2688
2689         * toc.C: move comment so that doxygen is not confused.
2690
2691 2003-10-07  Angus Leeming  <leeming@lyx.org>
2692
2693         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2694
2695 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2696
2697         * aspell.C:
2698         * aspell_local.h: add forgotten std::string's.
2699
2700 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2701
2702         * LaTeXFeatures.C:
2703         * LyXAction.C:
2704         * factory.C:
2705         * lfuns.h:
2706         * lyxfunc.C:
2707         * text3.C: The Box patch. Fancybox support, minipage, parbox
2708
2709 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2710
2711         * CutAndPaste.h:
2712         * DepTable.h:
2713         * FloatList.h:
2714         * LaTeXFeatures.h:
2715         * ParagraphParameters.h:
2716         * TextCache.h:
2717         * Thesaurus.h:
2718         * bufferlist.h:
2719         * exporter.h:
2720         * importer.h:
2721         * lastfiles.h:
2722         * lyxfind.h:
2723         * lyxfont.h:
2724         * lyxlex.h:
2725         * lyxtextclasslist.h:
2726         * messages.h:
2727         * paragraph.h:
2728         * paragraph_pimpl.C:
2729         * textcursor.h: add <string> and other small fixes to make Lars'
2730         std::string patch compile with STLport.
2731
2732 2003-10-06  Angus Leeming  <leeming@lyx.org>
2733
2734         * LColor.h: Add missing #include <string>.
2735
2736 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2737
2738         * All most all file in all subdirs: Make <string> be the prefered
2739         way of getting to std::string, add using declarations.
2740
2741 2003-10-06  André Pönitz  <poenitz@gmx.net>
2742
2743         * metricsinfo.C: initialize LyXFont before changing attribute.
2744         (fixes the 'math in \emph is upright' bug)
2745
2746 2003-10-06  André Pönitz  <poenitz@gmx.net>
2747
2748         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2749
2750 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2751
2752         * graph.C:
2753         * paragraph_pimpl.C: Small fixes to build using STLport
2754
2755 2003-10-02  André Pönitz  <poenitz@gmx.net>
2756
2757         * lyxfunc.C:
2758         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2759
2760 2003-10-01  André Pönitz  <poenitz@gmx.net>
2761
2762         * factory.C: assert early
2763
2764 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2765
2766         * lyx_main.C: remove the global debug object
2767
2768         * debug.h: adjust for new debugstream
2769
2770         * debug.C: adjust for new debugstream and keep the global debug
2771         object here.
2772
2773 2003-09-22  Angus Leeming  <leeming@lyx.org>
2774
2775         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2776         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2777         an incomplete class LyXFont.
2778
2779 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2780
2781         * factory.C: bug fix in branches
2782
2783 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2784
2785         * lyxfunc.C (processKeySym): adjust
2786         (dispatch): adjust
2787         (dispatch): change arg name from ev to func, adjust
2788         (sendDispatchMessage): ditto
2789
2790         * lyx_main.C (defaultKeyBindings): adjust keybindings
2791         (deadKeyBindings): ditto
2792
2793         * kbsequence.C (addkey): return a FuncRequest
2794
2795         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2796
2797         * kbmap.C (bind): take a FuncRequest as arg, adjust
2798         (read): adjust
2799         (lookup): adjust
2800         (defkey): change to take a FuncRequest as arg, adjust
2801         (findbinding): take a FuncRequest as arg, adjust.
2802
2803         * funcrequest.h (operator=): added
2804
2805         * funcrequest.C (FuncRequest): default kb_action changed from
2806         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2807
2808         * buffer.C (dispatch): simplify
2809         (dispatch): adjust to take a FuncRequest as arg, adjust
2810
2811         * boost.C (assertion_failed): change assertion message slightly
2812
2813         * ToolbarBackend.C (read): simplify
2814
2815         * MenuBackend.C (binding): adjust call to findbinding, add a
2816         message if no binding is found.
2817         (read): simplify
2818         (expandToc): correct by adding a empty FuncRequest
2819
2820         * LyXAction.C: include <boost/assert.hpp>
2821         (isPseudoAction): delete function
2822         (LookupFunc): change name to...
2823         (lookupFunc): this. change return type to FuncRequest.
2824         (getActionName): take kb_action as arg, simplify
2825         (funcHasFlag): add an assert, simplify.
2826
2827 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2828
2829         * toc.C (action): return a FuncRequest, simplify
2830
2831         * lyxfunc.C (processKeySym): adjust
2832         (getStatus): delete version that takes an int.
2833         (getStatus): adjust
2834         (dispatch): delete version that takes action as int
2835         (dispatch): adjust
2836         (sendDispatchMessage): simplify and adjust
2837
2838         * funcrequest.C (getArg): take unsigned int as arg
2839
2840         * ToolbarBackend.C (read): adjust
2841         (add): delete version that takes func as a string.
2842         (getIton): take a FuncRequest as arg
2843
2844         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2845         action.
2846
2847         * MenuBackend.C (MenuItem): add a new construct that only takes a
2848         Kind, simplify the constructor use for submenus.
2849         (add): adjust
2850         (expandLastfiles): adjust
2851         (expandDocuments): adjust
2852         (expandFormats): adjust
2853         (expandFloatListInsert): adjust
2854         (expandFloatInsert): adjust
2855         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2856
2857         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2858         Remove class variables lyx_pseudo_map and lyx_arg_map
2859
2860         * LyXAction.C (searchActionArg): delete function
2861         (getPseudoAction): delete function
2862         (retrieveActionArg): delete function
2863         (LookupFunc): make it return kb_action, simplify.
2864         (getActionName): simplify
2865
2866         * factory.C (createInset): fix new bug
2867
2868 2003-09-19  Angus Leeming  <leeming@lyx.org>
2869
2870         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2871         masterFilename_ parameter in the include inset.
2872
2873         * factory.C (createInset): changes due to the changes to InsetInclude.
2874
2875 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2876
2877         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2878
2879 2003-09-18  Angus Leeming  <leeming@lyx.org>
2880
2881         * buffer.C:
2882         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2883         Inset::fillWithBibKeys.
2884         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2885
2886 2003-09-18  Angus Leeming  <leeming@lyx.org>
2887
2888         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2889         variables.
2890         (ctor): pass and store a 'Buffer const &'
2891         (buffer): new member function.
2892
2893         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2894         '*this' to the LaTeXFeatures ctor.
2895
2896 2003-09-18  Angus Leeming  <leeming@lyx.org>
2897
2898         * LColor.h:
2899         * lyxfont.C:
2900         * lyxfont.h:
2901         * lyxtext.h:
2902         * text.C: rename EnumLColor as LColor_color.
2903
2904 2003-09-18  Angus Leeming  <leeming@lyx.org>
2905
2906         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2907         remove #include "insets/insetbase.h" from cursor.h.
2908
2909 2003-09-18  Angus Leeming  <leeming@lyx.org>
2910
2911         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2912         InsetOld_code to remove #include "inset.h".
2913
2914         * iterators.C: add #include "insets/inset.h"
2915
2916 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2917
2918         * BufferView.C: remove more locking stuff that apparently doesn't
2919         do anything sensible.
2920
2921 2003-09-16  André Pönitz  <poenitz@gmx.net>
2922
2923         * paragraph.[Ch]:
2924         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2925           performance boost.
2926
2927 2003-09-16  Angus Leeming  <leeming@lyx.org>
2928
2929         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2930
2931         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2932         arg/return type.
2933
2934         * paragraph.h: remove #include "lyxfont.h". Forward declare
2935         LyXFont_size.
2936
2937 2003-09-16  Angus Leeming  <leeming@lyx.org>
2938
2939         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2940         of support/textutils.h.
2941         (isWord): move the contents of support/textutils.h's IsWordChar here.
2942
2943         * buffer.C:
2944         * lyxfind.C:
2945         * rowpainter.C:
2946         * text.C:
2947         * text2.C: add #include "paragraph.h".
2948
2949         * rowpainter.C:
2950         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2951
2952 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2953
2954         * main.C:
2955         * lyx_main.C:
2956         * lyx_cb.C:
2957         * buffer.C:
2958         * LaTeX.C: use namespace alias for lyx::support::os
2959
2960 2003-09-16  Angus Leeming  <leeming@lyx.org>
2961
2962         * bufferparams.C:
2963         * bufferview_funcs.C:
2964         * factory.C:
2965         * lyxfunc.C:
2966         * paragraph_pimpl.C:
2967         * rowpainter.C:
2968         * text.C: add #include "LColor.h".
2969
2970 2003-09-16  Angus Leeming  <leeming@lyx.org>
2971
2972         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2973         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2974         return LyXFont &.
2975         Store the FontBits::color variable as an int rather than as an
2976         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2977         file.
2978
2979         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2980         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2981         string calls together.
2982
2983         * lyxrc.C: add #include "LColor.h".
2984
2985 2003-09-15  Angus Leeming  <leeming@lyx.org>
2986
2987         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2988         a cow_ptr.
2989
2990 2003-09-15  Angus Leeming  <leeming@lyx.org>
2991
2992         * LColor.h: add an EnumLColor wrapper for LColor::color.
2993
2994         * lyxfont.[Ch] (color, setColor, realColor):
2995         * lyxtext.h, text.C (backgroundColor):
2996         pass EnumLColor args to/from the functions, rather than LColor::color
2997         ones.
2998
2999         * lyxfont.h:
3000         * lyxtext.h: forward declare EnumLColor.
3001
3002         * lyx_main.C: add #include "LColor.h".
3003
3004 2003-09-15  Angus Leeming  <leeming@lyx.org>
3005
3006         * .cvsignore: add lyx-gtk.
3007
3008 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3009
3010         * Chktex.C
3011         * LaTeX.C
3012         * LaTeXFeatures.C
3013         * ParagraphParameters.C
3014         * Spacing.C
3015         * buffer.C
3016         * bufferparams.C
3017         * bufferview_funcs.C
3018         * chset.C
3019         * counters.C
3020         * funcrequest.C
3021         * lyxfont.C
3022         * lyxgluelength.C
3023         * lyxlength.C
3024         * paragraph.C
3025         * paragraph_funcs.C
3026         * text3.C
3027         * vc-backend.C: remove usage of STRCONV
3028
3029 2003-09-15  Angus Leeming  <leeming@lyx.org>
3030
3031         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3032         explicitly define the color passed to the painter.
3033
3034 2003-09-15  Angus Leeming  <leeming@lyx.org>
3035
3036         * bufferparams.C (BufferParams): reorder member initializers to avoid
3037         compiler warning.
3038
3039 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3040
3041         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3042         * text.C (updateRowPositions): remove an unusual nop
3043
3044 2003-09-12  André Pönitz  <poenitz@gmx.net>
3045
3046         * BufferView_pimpl.C:
3047         * Bullet.C:
3048         * layout.h:
3049         * lyxfunc.C:
3050         * lyxlayout.[Ch]:
3051         * lyxtextclass.C:
3052         * rowpainter.C:
3053         * text.C:
3054         * text2.C:
3055         * Counters.[Ch]: finish the 'automatic counters' job
3056
3057 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3058
3059         * aspell.C: include <boost/assert.cpp> (compile fix)
3060
3061 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3062
3063         * boost.C (assertion_failed): use lyx::support::abort instead of
3064         assert.
3065
3066 2003-09-10  Angus Leeming  <leeming@lyx.org>
3067
3068         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3069         with their _fwd progeny.
3070
3071 2003-09-09  Angus Leeming  <leeming@lyx.org>
3072
3073         134 files throughtout the source tree: replace 'using namespace abc;'
3074         directives with the appropriate 'using abc::xyz;' declarations.
3075
3076 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3077
3078         * boost.C (emergencyCleanup): moved here from LAssert.c
3079         (assertion_failed): new function, called by BOOST_ASSERT
3080
3081         * several files: change Assert to BOOST_ASSERT
3082
3083 2003-09-09  Angus Leeming  <leeming@lyx.org>
3084
3085         * buffer.[Ch]: Add an Impl class and move Buffer's member
3086         variables into it. As a result move several header files out of
3087         buffer.h.
3088
3089         Add header files to lots of .C files all over the tree as a result.
3090
3091 2003-09-09  Angus Leeming  <leeming@lyx.org>
3092
3093         * buffer.[Ch]: make Buffer's member variables private. Add
3094         accessor functions.
3095
3096         Lots of changes all over the tree as a result.
3097
3098 2003-09-08  Angus Leeming  <leeming@lyx.org>
3099
3100         * graph.C: #include <config.h>.
3101
3102 2003-09-08  Angus Leeming  <leeming@lyx.org>
3103
3104         * BranchList.C:
3105         * BufferView.C:
3106         * BufferView_pimpl.C:
3107         * CutAndPaste.C:
3108         * DepTable.C:
3109         * LaTeX.C:
3110         * LaTeXFeatures.C:
3111         * LyXAction.C:
3112         * MenuBackend.C:
3113         * TextCache.C:
3114         * aspell.C:
3115         * buffer.C:
3116         * bufferlist.C:
3117         * changes.C:
3118         * chset.C:
3119         * converter.C:
3120         * counters.C:
3121         * debug.C:
3122         * graph.C:
3123         * ispell.C:
3124         * lyx_cb.C:
3125         * lyxfind.C:
3126         * lyxfunc.C:
3127         * lyxlex_pimpl.C:
3128         * lyxrc.C:
3129         * lyxrow.C:
3130         * paragraph.C:
3131         * rowpainter.C:
3132         * texrow.C:
3133         * text.C:
3134         * text2.C:
3135         * toc.C: remove redundant using directives.
3136
3137 2003-09-07  Angus Leeming  <leeming@lyx.org>
3138
3139         * LaTeXFeatures.h: remove #include "support/types.h".
3140         * ToolbarBackend.h: remove #include <algorithm>.
3141         * changes.h: remove #include <ctime>.
3142         * debug.h: remove #include <iosfwd>.
3143         * graph.h: remove #include "support/std_string.h".
3144         * lyx_main.h: remove #include <csignal>.
3145         * lyxlex_pimpl.h: remove #include <fstream>.
3146         * sgml.h: remove #include <algorithm>, <utility>.
3147         * toc.h: remove #include "support/std_ostream.h".
3148         Add #include <iosfwd>.
3149
3150 2003-09-07  Angus Leeming  <leeming@lyx.org>
3151
3152         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3153
3154         * converter.h: forward declare LatexRunParams.
3155         * encoding.h: remove #include "lyxrc.h".
3156         * lyxtext.h: remove #include "LColor.h".
3157         * lyxtextclass.h: remove #include "support/types.h".
3158         * trans.h: remove #include "tex-accent.h".
3159         * trans_mgr.h: remove #include "tex-accent.h".
3160         * insets/inset.h: remove #include "support/types.h", <vector>.
3161         * insets/insetcollapsable.h: remove #include "LColor.h".
3162         * insets/insetinclude.h: remove #include "dimension.h".
3163         * insets/insetlatexaccent.h: remove #include "dimension.h".
3164         * insets/insetoptarg.h:: remove #include "insettext.h".
3165         * insets/insettext.h: remove #include "dimension.h",
3166         <boost/shared_ptr.hpp>
3167
3168         * insets/renderers.h: add #include "dimension.h".
3169         * insets/updatableinset.h: add #include "support/types.h".
3170
3171         * many .C files: Associated changes.
3172
3173 2003-09-06  Angus Leeming  <leeming@lyx.org>
3174
3175         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3176         one, inside testInvariant.
3177
3178         * PrinterParams.C: new file.
3179         * PrinterParams.[Ch]: move the function bodies out of line.
3180
3181 2003-09-06  Angus Leeming  <leeming@lyx.org>
3182
3183         * ParagraphParameters.h: forward declare ParameterStruct rather than
3184         including its header file.
3185         (depth): moved out-of-line.
3186
3187 2003-09-06  Angus Leeming  <leeming@lyx.org>
3188
3189         * BufferView_pimpl.h:
3190         * kbmap.h:
3191         * kbsequence.h:
3192         * lyxfunc.h: forward declare LyXKeySym rather than
3193         #include "frontends/LyXKeySym.h".
3194
3195         * BufferView_pimpl.C:
3196         * kbmap.C:
3197         * kbsequence.C:
3198         * lyxfunc.C: associated changes.
3199
3200 2003-09-06  Angus Leeming  <leeming@lyx.org>
3201
3202         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3203         As a result, can remove the #include "insets/inset.h" from BufferView.h
3204
3205 2003-09-06  Angus Leeming  <leeming@lyx.org>
3206
3207         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3208         As a result, can remove the #include "insets/inset.h" from BufferView.h
3209
3210 2003-09-06  Angus Leeming  <leeming@lyx.org>
3211
3212         * buffer_funcs.C:
3213         * buffer.h:
3214         * bufferlist.C:
3215         * BufferView.C:
3216         * bufferview_funcs.C:
3217         * BufferView_pimpl.C:
3218         * CutAndPaste.C:
3219         * lyx_cb.C:
3220         * lyxfunc.C:
3221         * paragraph.h:
3222         * ParagraphParameters.C:
3223         * tabular.C:
3224         * text3.C:
3225         * toc.C:
3226         * undo_funcs.C:
3227         * frontends/controllers/ControlDocument.C:
3228         * insets/insetcaption.C: rearrange the #includes into some sort of
3229         coherent order.
3230
3231         * buffer.h: remove #includes ErrorList.h, undo.h
3232
3233 2003-09-06  Angus Leeming  <leeming@lyx.org>
3234
3235         * support/types.h: add a 'depth_type' typedef, used to store the
3236         nesting depth of a paragraph.
3237
3238         * paragraph.h:
3239         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3240         defining explicitly.
3241
3242         * buffer.h:
3243         * paragraph_funcs.h:
3244         * ParagraphParameters.h:
3245         * sgml.h: use lyx::depth_type rather than Paragraph or
3246         ParameterStruct's depth_type.
3247
3248         * buffer.h
3249         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3250
3251         * BufferView.C:
3252         * BufferView_pimpl.C:
3253         * CutAndPaste.C:
3254         * ParagraphParameters.C:
3255         * buffer_funcs.C:
3256         * bufferlist.C:
3257         * bufferview_funcs.C:
3258         * lyx_cb.C:
3259         * lyxfunc.C:
3260         * tabular.C:
3261         * text3.C:
3262         * toc.C:
3263         * undo_funcs.C:
3264         * frontends/LyXView.C:
3265         * frontends/controllers/ControlDocument.C:
3266         * frontends/controllers/ControlErrorList.C:
3267         * insets/insetbibitem.C:
3268         * insets/insetbranch.C:
3269         * insets/insetcaption.C:
3270         * insets/insetcollapsable.C:
3271         * insets/insetenv.C:
3272         * insets/insetert.C:
3273         * insets/insetfloat.C:
3274         * insets/insetfoot.C:
3275         * insets/insetfootlike.C:
3276         * insets/insetnewline.C:
3277         * insets/insetquotes.C:
3278         * insets/insettabular.C:
3279         * insets/insettext.C:
3280         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3281
3282         * frontends/controllers/ControlChanges.C: #include "changes.h".
3283
3284 2003-09-06  Angus Leeming  <leeming@lyx.org>
3285
3286         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3287         than #including paragraph.h.
3288
3289         * ParagraphList.h:
3290         * RowList.h: deleted. Superfluous.
3291
3292         * CutAndPaste.h:
3293         * iterators.h:
3294         * lyxcursor.h:
3295         * lyxtext.h:
3296         * text_funcs.h:
3297         * undo.h:
3298         * undo_funcs.h:
3299         * insets/inset.h:
3300         * insets/insettext.h: use ParagraphList_fwd.h rather than
3301         ParagraphList.h.
3302
3303         * paragraph.h: don't forward declare ParagraphList.
3304
3305         * buffer.h:
3306         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3307         rather than ParagraphList.h. paragraph.h is still needed for the
3308         Paragraph::depth_type parameters.
3309
3310         * textcursor.h: enable it to compile stand-alone in light of the
3311         above changes.
3312
3313         * bufferview_funcs.C:
3314         * iterators.C:
3315         * lyxfunc.C:
3316         * lyxrow_funcs.C:
3317         * paragraph.C:
3318         * rowpainter.C:
3319         * text.C:
3320         * text2.C:
3321         * text3.C:
3322         * text_funcs.C:
3323         * textcursor.C:
3324         * undo.C:
3325         * frontends/controllers/ControlParagraph.C:
3326         * frontends/controllers/ControlTabular.C:
3327         * insets/insetmarginal.C:
3328         * insets/insetminipage.C:
3329         * insets/insetnote.C:
3330         * insets/insetoptarg.C: add header files needed to compile again.
3331
3332 2003-09-06  Angus Leeming  <leeming@lyx.org>
3333
3334         * RowList_fwd.h: new file, forward-declaring Row rather than
3335         #including lyxrow.h.
3336
3337         * lyxrow_funcs.h:
3338         * lyxtext.h:
3339         * paragraph.h:
3340         * insets/insettext.h: use it instead of RowList.h
3341
3342         * bufferview_funcs.C:
3343         * lyxfunc.C:
3344         * lyxrow_funcs.C:
3345         * paragraph.C:
3346         * rowpainter.C:
3347         * text.C:
3348         * text2.C:
3349         * text3.C: #include "RowList.h".
3350
3351 2003-09-05  Angus Leeming  <leeming@lyx.org>
3352
3353         * factory.C (createInset):
3354         * vspace.C (c-tor): replace sscanf call with an istringstream.
3355         * ispell.C: re-add missing HP/UX headers.
3356         * lyxserver.C: re-add missing  os2 headers.
3357
3358 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3359
3360         * BranchList.C:
3361         * graph.C:
3362         * ispell.C:
3363         * lastfiles.C:
3364         * lyx_cb.C:
3365         * lyxserver.C:
3366         * texrow.C:
3367         * text3.C: re-add missing system headers, needed for 2.95.2.
3368
3369 2003-09-05  Angus Leeming  <leeming@lyx.org>
3370
3371         Changes most place everywhere due to the removal of using directives
3372         from support/std_sstream.h.
3373
3374 2003-09-05  Angus Leeming  <leeming@lyx.org>
3375
3376         Replace LString.h with support/std_string.h,
3377         Lsstream.h with support/std_sstream.h,
3378         support/LIstream.h with support/std_istream.h,
3379         support/LOstream.h with support/std_ostream.h.
3380
3381         Changes resulting throughout the tree.
3382
3383 2003-09-05  Angus Leeming  <leeming@lyx.org>
3384
3385         * sgml.h: ensure that the header file can be compiled stand-alone.
3386         * *.C: strip out redundant #includes. (320 in total.)
3387
3388 2003-09-04  Angus Leeming  <leeming@lyx.org>
3389
3390         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3391         here (from getPackages).
3392
3393         * debug.[Ch]: add a new EXTERNAL tag.
3394
3395 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3396
3397         * text2.C (cursorEnd): simplify
3398         (setCursor): adjust
3399         (getColumnNearX): adjust
3400
3401         * text.C (computeBidiTables): adjust
3402         (fill): adjust
3403
3404         * rowpainter.C (paintChars): adjust
3405         (paintSelection): adjust
3406         (paintChangeBar): adjust
3407         (paintText): adjust
3408
3409         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3410         lastPos instead.
3411         (numberOfSeparators): adjust
3412
3413 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3414
3415         * LyXAction.C:
3416         * box.[Ch]:
3417         * lfuns.h:
3418         * lyxfunc.C:
3419         * text3.C: Restricts the mouse click functionality
3420         of insets like bibtex, include, toc and floatlist to the visible
3421         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3422         up the dialogs. Cursor has to be in front of the inset (i.e.
3423         start of row) for this to function.
3424
3425 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3426
3427         * bufferview_funcs.C (currentState): output row information
3428
3429 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3430
3431         * bufferview_funcs.C (currentState): output paragraph position
3432
3433 2003-09-04  Angus Leeming  <leeming@lyx.org>
3434
3435         * FloatList.h: move out #include "Floating.h".
3436         * LaTeX.h: move out #include "DepTable.h".
3437         * LyXAction.h: move out #include "funcrequest.h".
3438         * buffer.h: move out #include "author.h", "iterators.h".
3439         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3440         * lyx_main.h: move out #include "errorlist.h".
3441         * lyxfunc.h: move out #include "FuncStatus.h".
3442         * lyxtext: move out #include "lyxcursor.h".
3443         * paragraph_pimpl.h: move out #include "counters.h".
3444
3445 2003-09-03  Angus Leeming  <leeming@lyx.org>
3446
3447         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3448         preamble_snippets list, enabling us to add snippets to the preamble
3449         only if the snippet was not there already.
3450
3451 2003-09-04  Angus Leeming  <leeming@lyx.org>
3452
3453         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3454
3455 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3456
3457         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3458         update
3459
3460 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3461
3462         * BranchList.C: point fix, earlier forgotten
3463
3464 2003-09-02  Angus Leeming  <leeming@lyx.org>
3465
3466         * box.C (contains): renamed from 'contained' after a fantastic
3467         amount of hot air.
3468
3469 2003-09-02  John Levon  <levon@movementarian.org>
3470
3471         * BufferView.C:
3472         * lyxcursor.h:
3473         * lyxcursor.C:
3474         * lyxfunc.C:
3475         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3476
3477 2003-09-02  John Levon  <levon@movementarian.org>
3478
3479         * text2.C: simplification of cursorEnd(), including partial
3480         fix for bug 1376
3481
3482 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3483
3484         * buffer.C (readFile): add a space
3485
3486 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3487
3488         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3489
3490 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3491
3492         * buffer.C (readFile): new function, take a filename and a
3493         ParagraphList::iterator
3494         (readFile): adjust
3495         (readFile): adjust, make it private. don't use setStream, make
3496         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3497         always contain the filename.
3498
3499         * BufferView.C (insertLyXFile): simplify and make it work for
3500         gzipped files.
3501
3502 2003-08-30  John Levon  <levon@movementarian.org>
3503
3504         * Makefile.am: fix dist (from Kayvan)
3505
3506 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3507
3508         * most files: change to use const Buffer refs
3509
3510 2003-08-27  André Pönitz  <poenitz@gmx.net>
3511
3512         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3513         on top of ownerPar().
3514
3515 2003-08-27  John Levon  <levon@movementarian.org>
3516
3517         * funcrequest.C: properly initialise POD members
3518
3519 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3520
3521         * lyxtext.h (top_y): move top_y from here
3522         * text.C:
3523         * text2.C:
3524         * text3.C:
3525         * BufferView.[Ch]:
3526         * BufferView_pimpl.[Ch]: to here
3527         * frontends/screen.C:
3528         * insets/insettabular.C:
3529         * insets/insettext.C: adjust
3530         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3531
3532 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3533
3534         * BufferView.[Ch]:
3535         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3536
3537 2003-08-26  André Pönitz  <poenitz@gmx.net>
3538
3539         * paragraph_func.[Ch] (outerPar): new function
3540
3541         * paragraph.C:
3542         * paragraph_funcs.C:
3543         * paragraph_funcs.h:
3544         * paragraph_pimpl.C:
3545         * text2.C: remove Inset::par_owner
3546
3547 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3548
3549         * lyxrow_funcs.C:
3550         * lyxtext.h:
3551         * text.C:
3552         * text2.C: eliminates the needFullRow/display() stuff
3553         altogether, putting the logic in metrics/draw in the insets.
3554
3555 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3556
3557         * text2.C (redoParagraphInternal, redoParagraphs):
3558         * text.C (redoParagraph): add a call to updateRowPositions at the
3559         end of each 'metrics-like' call. Remove all others.
3560         (getRow): remove the 'y-computing' version.
3561         (getRowNearY): do not compute nor return the real y. Solve the
3562         'y < 0' problem and simplify.
3563
3564 2003-08-22  Angus Leeming  <leeming@lyx.org>
3565
3566         * *.[Ch]: clean-up of licence and author blurbs.
3567         Also move config.h out of a few .h files and into a few .C files.
3568
3569 2003-08-22  André Pönitz  <poenitz@gmx.net>
3570
3571         * lyxrow.[Ch]: add x_ and *fill_ members
3572
3573         * lyxtext.h:
3574         * text.C:
3575         * rowpainter.C:
3576         * text2.C: adjust/remove prepareToPrint() calls
3577
3578 2003-08-22  André Pönitz  <poenitz@gmx.net>
3579
3580         * lyxrow.[Ch]: add  end_ member
3581
3582         * lyxrow_funcs.C: use LyXRow::end_
3583
3584         * lyxtext.h (singleWidth): add LyXFont parameter
3585
3586         * rowpainter.C:
3587         * text2.C: adjust LyXText::singleWidth() calls
3588
3589         * text.C (redoParagraph): simplify row breaking logic
3590
3591
3592 2003-08-19  André Pönitz  <poenitz@gmx.net>
3593
3594         * funcrequest.C: initialize button_ member
3595
3596         * text3.C:
3597         * rowpainter.[Ch]: interface consolidation
3598
3599 2003-08-18  André Pönitz  <poenitz@gmx.net>
3600
3601         * BufferView.C:
3602         * BufferView_pimpl.C:
3603         * lyxfind.C:
3604         * paragraph_funcs.C:
3605         * rowpainter.C:
3606         * text3.C: remove LyXScreen::draw() and fitCursor calls
3607
3608         * BranchList.h: remove spurious semicolons
3609
3610         * MenuBackend.C: fix branchlist related crash
3611
3612 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3613
3614         * BranchList.[Ch]:
3615         * InsetList.[Ch]:
3616         * LColor.[Ch]:
3617         * LyXAction.C:
3618         * Makefile.am:
3619         * MenuBackend.[Ch]:
3620         * bufferparams.[Ch]:
3621         * factory.C:
3622         * lfuns.h:
3623         * lyxfunc.C:
3624         * text3.C: implements the 'branch inset'
3625         idea. This allows the output of various versions of a document
3626         from a single source version, selectively outputing or suppressing
3627         output of parts of the text.
3628         This implementation contains a 'branch list editor' in a separate
3629         tab of the document settings dialog. Branches are user definable
3630         and have a "display colour" to distinguish them on-screen.
3631
3632         ColorHandler was somewhat cleaned up.
3633         (1) make possible a dynamically growing LColor list by allowing
3634         the graphic context cache to grow along (vector);
3635         (2) eliminate an IMHO unnecessary step in colour allocation.
3636
3637 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3638
3639         * BufferView_pimpl.C: compile fix
3640
3641 2003-08-15  André Pönitz  <poenitz@gmx.net>
3642
3643         * rowpainter.C: remove extra metrics calls
3644
3645         * lyxtext.h: merge the two constructors into a single one,
3646           pass reference to owner's par list
3647
3648         * BufferView_pimpl.C:
3649         * text.C:
3650         * text2.C: adjust
3651
3652 2003-08-15  André Pönitz  <poenitz@gmx.net>
3653
3654         * lyxrow_funcs.[Ch]:
3655         * lyxtext.h:
3656         * paragraph.h:
3657         * paragraph_funcs.C:
3658         * rowpainter.C:
3659         * text.C:
3660         * text2.C:
3661         * text3.C:
3662         * text_funcs.C: split LyXText::rowlist_ into individual
3663         Paragraph::rows_ chunks
3664
3665         * BufferView.[Ch]:
3666         * BufferView_pimpl.[Ch]:
3667         * lyxfind.C:
3668         * lyxtext.h:
3669         * text3.C: remove toggleSelection()
3670
3671 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3672
3673         * bufferlist.C: beautify two alerts (shorter text of buttons)
3674         * buffer.C: Remove redundant ' ' from message
3675         * tabular.h:
3676         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3677         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3678         rename VALIGN_CENTER to VALIGN_MIDDLE
3679
3680 2003-08-11  André Pönitz  <poenitz@gmx.net>
3681
3682         * lyxtext.h (getPar):
3683         * text.C: new function
3684
3685 2003-08-11  André Pönitz  <poenitz@gmx.net>
3686
3687         * Makefile.am:
3688         * tracer.[Ch]: remove unneeded files
3689
3690         * InsetList.[Ch]: remove resizeInsetsLyXText()
3691
3692         * lyxtext.h:
3693         * text.C:
3694         * text2.C:
3695         * text3.C: merge insertParagraphs() and appendParagraph()
3696         remove breakAgain(), update()
3697
3698         * BufferView_pimpl.[Ch]:
3699         * bufferview_funcs.[Ch]:
3700         * lyxfunc.C:
3701         * paragraph.[Ch]:
3702         * rowpainter.C:
3703         * tabular.C: adjust after text & InsetList changes.
3704
3705 2003-08-08  André Pönitz  <poenitz@gmx.net>
3706
3707         * text.C (insertChar, backspace): replace rowlist fiddling
3708         with rebreak of full par
3709
3710         * lyxtext.h:
3711         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3712         checkParagraph, updateInset): removed
3713
3714 2003-08-07  André Pönitz  <poenitz@gmx.net>
3715
3716         * paragraph.C:
3717         * text3.C: merge some LFUN handlers, remove dead code
3718
3719 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3720
3721         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3722
3723 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3724
3725         * text2.C (DEPM): fix part of bug 1255 and 1256
3726
3727 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3728
3729         * BufferView_pimpl.C (workAreaDispatch): change to use
3730         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3731         that are no mouse related.
3732
3733 2003-08-05  André Pönitz  <poenitz@gmx.net>
3734
3735         * BufferView.[Ch]:
3736         * BufferView_pimpl.[Ch]:
3737         * bufferview_funcs.C:
3738         * text2.C:
3739         * text3.C: rip out "deep update"
3740
3741         * textcursor.[Ch] (last_sel_cursor): remove unused member
3742
3743 2003-08-04  André Pönitz  <poenitz@gmx.net>
3744
3745         * BufferView.[Ch]:
3746         * BufferView_pimpl.[Ch]:
3747         * ParagraphParameters.C:
3748         * bufferview_funcs.C:
3749         * lyx_cb.C:
3750         * lyxfind.C:
3751         * lyxfunc.C:
3752         * text.C:
3753         * text2.C:
3754         * text3.C: replace "complicated" BufferView::update(...) calls with
3755         simpler ones.
3756
3757         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3758
3759 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3760
3761         * Makefile.am (lyx_SOURCES): add paper.h
3762
3763 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3764
3765         * Makefile.am: move things around so that both lyx-qt and
3766         lyx-xforms can be built (according to --with-frontend). Then lyx
3767         is a symbolic link to lyx-[firstfrontend]
3768
3769 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3770
3771         * Always use std::endl with lyxerr
3772
3773 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3774
3775         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3776
3777 2003-08-01  André Pönitz  <poenitz@gmx.net>
3778
3779         * BufferView.[Ch]:
3780         * BufferView_pimpl.[Ch]:
3781         * lyxfunc.C:
3782         * text3.C: merge BufferView::repaint() and BufferView::update()
3783
3784 2003-08-01  José Matos  <jamatos@lyx.org>
3785
3786         * buffer.[Ch]: file_format is no longer a buffer data element.
3787
3788 2003-08-01  André Pönitz  <poenitz@gmx.net>
3789
3790         * BufferView.C:
3791         * lyxtext.h:
3792         * text.C:
3793         * text2.C: make redoParagraph more independent of current cursor
3794
3795         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3796         * text.C:
3797         * text2.C: remove unneeded members
3798
3799 2003-07-30  André Pönitz  <poenitz@gmx.net>
3800
3801         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3802
3803         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3804           create a single function...
3805
3806         * paragraph_funcs.C (moveItem): ... here.
3807
3808         * text.C:
3809           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3810
3811 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3812
3813         * LColor.[Ch]: Add comment and greyedout logical colors.
3814
3815 2003-07-30  André Pönitz  <poenitz@gmx.net>
3816
3817         * tabular.C: don't use Assert too heavily. This crashes where it
3818           shouldn't
3819
3820 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3821
3822         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3823         is disabled (bug 1232)
3824
3825 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3826
3827         * factory.C: limited 'arg' scope
3828
3829 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3830
3831         * factory.C: fixed Note submenu issues
3832
3833 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3834
3835         * factory.C: submenu for Note/Comment/Greyedout
3836
3837 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3838
3839         * lyx_main.C (LyX):
3840         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3841
3842 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3843
3844         * LaTeXFeatures.C:
3845         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3846         greyedout. Patch provided by Jürgen Spitzmüller.
3847
3848 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3849
3850         * kbmap.C (read): fix error message when reading bind files
3851
3852 2003-07-29  Angus Leeming  <leeming@lyx.org>
3853
3854         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3855         certainly does not do what it purports to do. I am doing it, and
3856         us, a favour by killing it.
3857
3858 2003-07-28  José Matos  <jamatos@lyx.org>
3859
3860         * buffer.C (readBody, do_writeFile):
3861         * paragraph.C(readParagraph): \end_document replaces \the_end.
3862
3863 2003-07-29  André Pönitz  <poenitz@gmx.net>
3864
3865         * BufferView.[Ch]:
3866         * BufferView_pimpl.[Ch]:
3867         * lyxfunc.C:
3868         * text2.C:
3869         * text3.C:
3870         * textcursor.[Ch]: remove toggleToggle & Co
3871
3872 2003-07-28  José Matos  <jamatos@fep.up.pt>
3873
3874         * buffer.C (readParagraph):
3875         * params_func (readParToken, readParagraph):
3876         * paragraph.C (write): \layout -> \begin_layout.
3877
3878 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3879
3880         * lyxlex_pimpl.C (setFile): clean up slightly.
3881
3882         * bufferparams.h: add compressed var
3883
3884         * buffer_funcs.C (readFile): adjust for LyXLex change
3885         (newFile): ditto + simplify
3886
3887         * buffer.C (writeFile): handle writing of compressed files
3888
3889         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3890         Check if the file is compressed and set a bufferparm if so.
3891
3892         * Makefile.am (lyx_LDADD): remove explicit -lz
3893
3894 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3895
3896         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3897         makeDocBookFile): put the real LyX version in the first line of
3898         the file
3899
3900         * version.h:
3901         * version.C.in: remove lyx_docversion
3902
3903         * tabular.C (write_attribute): add a template-based version to
3904         write enums properly
3905
3906 2003-07-28  André Pönitz  <poenitz@gmx.net>
3907
3908         * lyxtext.h:
3909         * text.C:
3910         * text2.C:
3911         * text3.C: use doubles again for x-coordinates. They are needed.
3912
3913 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3914
3915         * messages.C (getLocaleDir): use lyx_localedir()
3916
3917         * lyxlex_pimpl.C (setFile): compress stuff
3918
3919         * buffer.C (writeFile): add some compression stuff
3920         (do_writeFile): new func, dont call expliti close... will this
3921         breake anything?
3922
3923         * Makefile.am (lyx_LDADD): add -lz
3924
3925 2003-07-28  José Matos  <jamatos@fep.up.pt>
3926
3927         * buffer.C: increment file format.
3928         * paragraph_funcs (readParagraph, readParToken):
3929         * paragraph.C (readParagraph): add \end_layout.
3930
3931 2003-07-27  Angus Leeming  <leeming@lyx.org>
3932
3933         * Makefile.am: remove special casing for configure-time setting of
3934         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3935
3936         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3937         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3938
3939 2003-07-26  André Pönitz  <poenitz@gmx.net>
3940
3941         * paragraph_func.[Ch]:
3942         * paragraph.C (realizeFont): inline it whereever it is used
3943
3944         * rowpainter.C:
3945         * text.C:
3946         * text2.C:
3947         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3948
3949
3950 2003-07-26  André Pönitz  <poenitz@gmx.net>
3951
3952         *       lyxtext.h:
3953         * text.C:
3954         * text2.C: get rid of LyXText::need_break_row
3955
3956 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3957
3958         * toc.[Ch]: put namespace toc inside namespace lyx
3959
3960         * MenuBackend.C (expandToc2): adjust for lyx::toc
3961         (expandToc): ditto
3962
3963         * lyxfunc.C (dispatch): adjust for lyx::find
3964
3965         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3966         lyx::find instead. Reorganize a bit.
3967         (LyXReplace): rename to replace
3968         (LyXFind): rename to find
3969
3970         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3971         (dispatch): ditto
3972
3973 2003-07-26  André Pönitz  <poenitz@gmx.net>
3974
3975         * text.C (setHeightOfRow): restrict scope of temporary variable
3976
3977         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3978           code (never has been used?)
3979
3980 2003-07-27  Asger Alstrup  <alstrup@local>
3981
3982         * text.C (fill): Optimise algorithm to exploit that we can reuse
3983         the LyXFont for many characters.
3984         (setHeightOfRow): Same thing.
3985         (rowBreakPoint): Same thing.
3986
3987 2003-07-26  Asger Alstrup  <alstrup@local>
3988
3989         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3990
3991         * text.C (singleWidth): Spurious font copying in hot-spot
3992         singleWidth avoided. Reorder tests for arabic for efficiency.
3993
3994         * text.C (fill): handle empty paragraphs better.
3995
3996 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3997
3998         * ispell.C:
3999         * encoding.h: add includes
4000
4001         * lyxrc.C: remove reading of bind files
4002
4003         * lyx_main.C (init): setup bindings and menus only if we have a
4004         gui.
4005
4006         * kbmap.C (read): new method. Do the actual reading of bind
4007         files.
4008
4009         * converter.C (dvipdfm_options):
4010         * bufferparams.C:
4011         * lyxrc.C (read):
4012         (output): adapt PAPER_* enums.
4013
4014         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4015
4016         * bufferparams.h: remove paper-related enums from there
4017
4018         * paper.h: New file. A trivial header file to hold paper-related
4019         enums. It should later expand to contain many paper-related
4020         horrors access.
4021
4022         * lyxrc.C: declare extern displayTranslator
4023
4024 2003-07-27  José Matos  <jamatos@fep.up.pt>
4025
4026         * tabular.[Ch] (linuxdoc): add support for tables and figures
4027         (linuxdoc).
4028
4029 2003-07-27  José Matos  <jamatos@fep.up.pt>
4030
4031         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4032         consistency in both functions.
4033         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4034
4035 2003-07-26  Asger Alstrup  <alstrup@local>
4036
4037         * rowpainter.C (paintRows): Change algorithm to work directly on
4038         the insets rather than asking every character in the document
4039         whether its an inset.
4040
4041 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4042
4043         * buffer.C (openFileWrite): factorize some code
4044
4045 2003-07-26  Angus Leeming  <leeming@lyx.org>
4046
4047         * lyx_cb.C:
4048         * lyx_main.[Ch]: replace occurances of system_tempdir with
4049         os::getTmpDir().
4050
4051 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4052
4053         * rename Inset to InsetOld
4054
4055 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4056
4057         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4058         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4059         which I think is a bit clearer. EDIT is gone, since it was
4060         premature optimisation, and broken for mathed anyway.
4061         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4062         with cursor positioning in insets as well (math insets still do not
4063         work, but that's a different story anyway.) It mysteriously
4064         crashes sometimes with undo in the first paragraph, but I'm fairly
4065         confident that this is a compiler bug.
4066
4067 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4068
4069         * paragraph.C (Paragraph): adjust for new clone return type
4070         (operator==): ditto
4071         (copyIntoMinibuffer): ditto
4072
4073 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4074
4075         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4076         by not having a special case, and always doing a full rebreak of
4077         the document after undo.
4078
4079 2003-07-23  Angus Leeming  <leeming@lyx.org>
4080
4081         * factory.C (createInset): InsetExternal::setParams now takes a
4082         Buffer const * arg.
4083
4084 2003-07-23  Angus Leeming  <leeming@lyx.org>
4085
4086         * factory.C (createInset): changed interface to the external and
4087         graphics mailers' string2params functions.
4088
4089 2003-07-23  Angus Leeming  <leeming@lyx.org>
4090
4091         * factory.C (createInset): pass a
4092         Buffer const * parameter to InsetExternalMailer's string2params.
4093
4094 2003-07-22  John Levon  <levon@movementarian.org>
4095
4096         * Thesaurus.h: include the right aiksaurus header
4097
4098 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4099
4100         * MenuBackend.C (expand): check menu shortcuts unconditionally
4101
4102 2003-07-21  Angus Leeming  <leeming@lyx.org>
4103
4104         * factory.C (createInset): pass a
4105         buffer_path parameter to InsetGraphicsMailer's string2params.
4106
4107 2003-07-21  Angus Leeming  <leeming@lyx.org>
4108
4109         * BufferView_pimpl.C (buffer):
4110         * buffer.C (d-tor):
4111         * lyx_main.C (LyX):
4112         * lyxfunc.C (dispatch):
4113         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4114         rather than the grfx shortcut.
4115
4116 2003-07-21  André Pönitz  <poenitz@gmx.net>
4117
4118         * rowpainter.C: remove unused variables
4119
4120         * tabular_funcs.C:
4121         * tabular_funcs.h: move to tabular.C
4122         * Makefile.am: adjust
4123
4124         * tabular.[Ch]: basic optical cleaning
4125
4126         * author.h: pass references, not values
4127
4128 2003-07-18  André Pönitz  <poenitz@gmx.net>
4129
4130         * lyxtext.h:
4131         * metricsinfo.C:
4132         * metricsinfo.h:
4133         * rowpainter.C:
4134         * text.C:
4135         * text2.C:
4136         * text3.C: two-phase drawing for InsetText and InsetTabular
4137         some float -> int changes.
4138
4139 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4140
4141         * lyx_main.C: fix the fix
4142
4143 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4144
4145         * lyx_main.C: fix a crash in batch mode if no files specified
4146         * converter.C: ws
4147
4148 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4149
4150         * format.[Ch] (papersize): moved to BufferParams
4151         * converter.[Ch] (dvips_options): moved to BufferParams
4152         (dvipdfm_options): moved to anon namespace
4153         * bufferparams.[Ch]: added above functions.
4154
4155 2003-07-17  André Pönitz  <poenitz@gmx.net>
4156
4157         * lyxtext.h:
4158         * rowpainter.C:
4159         * text2.C: don't call inset->update() anymore
4160
4161         * metricsinfo.[Ch]: add convenience constructor
4162
4163 2003-07-16  André Pönitz  <poenitz@gmx.net>
4164
4165         * lyxcursor.[Ch]:
4166         * lyxfunc.[Ch]:
4167         * text.C:
4168         * text2.C: replace the LyXCursor::irow_ member with
4169          on-demand computation of the value
4170
4171 2003-07-16  John Levon  <levon@movementarian.org>
4172
4173         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4174
4175 2003-07-15  André Pönitz  <poenitz@gmx.net>
4176
4177         * text.C:
4178         * text2.C: remove no more needed refresh_row
4179
4180 2003-07-15  André Pönitz  <poenitz@gmx.net>
4181
4182         * lyxtext.h:
4183         * rowpainter.C:
4184         * text2.C:
4185         * text3.C: refresh_status tristate -> need_update bool
4186
4187 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4188
4189         * lyxtext.h (init): remove reinit argument (act as if always true)
4190         * text2.C: adjust to that
4191
4192 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4193
4194         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4195         * text3.C: use it to delete selections in some cases
4196         (bugs 441, 673, 702, 954).
4197
4198 2003-07-14  André Pönitz  <poenitz@gmx.net>
4199
4200         * rowpainter.[Ch]: reduce interface
4201
4202 2003-07-14  André Pönitz  <poenitz@gmx.net>
4203
4204         * BufferView_pimpl.C:
4205         * text2.C: adjust after removing unused BufferView * argument
4206
4207 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4208
4209         * text2.C (init): fix a crash fired on resize
4210
4211 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4212
4213         * buffer.[Ch]: added new closing signal
4214         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4215         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4216         BufferView::Pimpl via the closing the signal
4217
4218 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4219
4220         * buffer.[Ch]: take out all bv-related from buffer
4221         * BufferView.C:
4222         * BufferView_pimpl.[Ch]: connect to new signals
4223         * CutAndPaste.C: removed useless asserts
4224         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4225         * lyxvc.[Ch]:
4226         * vc-backend.[Ch]:
4227         * lyxfunc.C: moved view-related funciontality from vc here
4228         * paragraph.C: removed outdated comments
4229         * text.C: ws
4230
4231 2003-07-10  André Pönitz  <poenitz@gmx.net>
4232
4233         * BufferView_pimpl.C:
4234         * tabular.h:
4235         * tabular_funcs.C:
4236         * text.C:
4237         * text2.C: remove InsetText::InnerCache, clean up consequences
4238
4239 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4240
4241         * ispell.C: fix two typos in error messages
4242
4243 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4244
4245         * Extend Note inset to other forms of annotation like Comment
4246         and Greyedout. Right button click gives dialog.
4247
4248         Files modified or added (+):
4249
4250         * insetnote.[Ch]
4251         * FormNote.[Ch]      +
4252         * ControlNote.[Ch]   +
4253         * form_note.fd       +
4254         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4255         frontends/controllers
4256         * xforms/Dialogs.C
4257         * factory.C
4258
4259 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4260
4261         * aspell.C: add missing namespace lyx::support
4262
4263 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4264
4265         * BufferView.[Ch] (newFile): Add
4266         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4267         * LaTeX.[Ch] (message): added this signal and use it
4268         * buffer.[Ch] (busy, message): added these signals and use them
4269         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4270         * converter.C:
4271         * exporter.C:
4272         * format.C:
4273         * importer.C: use buffer signals instead of direct bv calling
4274         * lyx_cb.[Ch] (ShowMessage): removed
4275         * lyx_main.C:
4276         * lyxfunc.C:
4277         * paragraph_funcs.C:
4278         * text2.C: use buffer signals
4279
4280 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4281
4282         * introduce namespace lyx::graphics
4283
4284 2003-07-02  André Pönitz  <poenitz@gmx.net>
4285
4286         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4287
4288 2003-07-01  André Pönitz  <poenitz@gmx.net>
4289
4290         * text.C:
4291         * text2.C:
4292         * text3.C:
4293         * text_funcs.[Ch]:
4294         * textcursor.h:
4295         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4296           text*.C to text_func.C
4297
4298 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4299
4300         * introduce namespace lyx::support
4301
4302 2003-06-30  André Pönitz  <poenitz@gmx.net>
4303
4304         * Chktex.C:
4305         * funcrequest.C:
4306         * lyxtext.h:
4307         * text.C: re-enable --with-included-string
4308
4309 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4310
4311         * textcursor.C: add <config.h>
4312
4313         * text.C (getWord): remove const from word_location arg
4314
4315         * lyxvc.C (getLogFile): fix const type order
4316
4317         * lyxtext.h: remove const from word_location arg, add arg name
4318
4319         * lyxlayout.h: currect type on labeltype.
4320
4321         * importer.C: correct \file
4322
4323         * converter.C (intToFormat): use std:: on ret val, ws changes
4324
4325         * bufferlist.h: correct \file
4326
4327         * buffer.C (makeLinuxDocFile): fix const type order
4328         (makeDocBookFile): ditto
4329         (fillWithBibKeys): use std:: on stdlib args.
4330
4331         * CutAndPaste.C: fix authors.
4332         (availableSelections): use std:: on return vector
4333
4334 2003-06-27  André Pönitz  <poenitz@gmx.net>
4335
4336         * BufferView_pimpl.C:
4337         * bufferview_funcs.C:
4338         * lyxcursor.C:
4339         * lyxcursor.h:
4340         * lyxfunc.C:
4341         * lyxtext.h:
4342         * rowpainter.C:
4343         * text.C:
4344         * text2.C:
4345         * text3.C: remove LyXCursor::row_ member
4346
4347         * lyxtext.h:
4348         * text.C: rename fullRebreak() to partialRebreak() and implement
4349           a fullRebreak() that really bereks fully
4350
4351         * textcursor.h: new struct for cursor-related data
4352
4353 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4354
4355         * lyx_main.C (LyX): get full path of document loaded on the
4356         command line
4357
4358 2003-06-26  André Pönitz  <poenitz@gmx.net>
4359
4360         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4361           remove unused/broken operator>,<,>=.
4362
4363         *       text.C: remove only use of broken operator<= in an Assert().
4364
4365 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4366
4367         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4368         moved errorlist_.clear to showErrorList
4369
4370 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4371
4372         * converter.C (scanLog, runLaTeX):
4373         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4374         move the bv->showErrorList call to the callers
4375         * lyxfunc.C: i.e. here...
4376         * text2.C: and here
4377         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4378         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4379         namespace, the second to...
4380         * buffer_funcs (BufferFormat, parseErrors): added
4381         * errorlist.C (ErrorList(TeXErrors const &)): removed
4382
4383 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4384
4385         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4386
4387 2003-06-24  "Garst R. Reese" <reese@isn.net>
4388
4389         * debug.C: fix typo
4390
4391 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4392
4393         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4394
4395         * version.C.in: change docversion to 1.4
4396
4397 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4398
4399         * buffer.C: fix a bug just introduced
4400
4401 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4402
4403         * buffer.[Ch]: added the parseError signal and use it, removed
4404         sgmlError
4405         * BufferView.[Ch] (addError): moved to ...
4406         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4407         to the Buffer::parseError signal to catch (guess what) parse errors
4408         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4409
4410 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4411
4412         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4413         ability to create a buffer and to return an existing one from
4414         the list. Moved these functions to...
4415         * buffer_funcs.[Ch]: added
4416         * BufferView.[Ch] (loadLyXFile): added
4417         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4418         job removed from bufferlist::loadLyXFile.
4419         * buffer.C (setReadOnly): make it work without view
4420         (i.e added an if (users))
4421
4422 2003-06-19  Angus Leeming  <leeming@lyx.org>
4423
4424         * lfuns.h:
4425         * LyXAction.C (init):
4426         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4427         with LFUN_DIALOG_SHOW <name> <data>.
4428
4429 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4430
4431         * CutAndPaste.C (availableSelections): small compilation fix for
4432         ancient (gcc 2.9x) compilers
4433
4434 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4435
4436         * text3.C (cursorNext): add tmp var
4437
4438         * text2.C (updateCounters): for function calling out of for clause
4439         (replaceSelectionWithString): ditto
4440         (insertStringAsParagraphs): ditto
4441         (getColumnNearX): add tmp var
4442         (setCursorFromCoordinates): add tmp var
4443         (cursorDownParagraph): add tmp var
4444         (deleteEmptyParagraphMechanism): add tmp var
4445
4446         * text.C (insertChar): add tmp var
4447
4448         * rowpainter.C (paintDepthBar): add tmp var
4449
4450         * CutAndPaste.C (availableSelections): potentially check all
4451         paragraphs in a cut to fill the shown strings.
4452
4453 2003-06-18  André Pönitz  <poenitz@gmx.net>
4454
4455         * kbmap.[Ch]: use vector<> instead of list<>
4456
4457 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4458
4459         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4460         pasteSelection with index
4461
4462         * text2.C (pasteSelection): modify, call pasteSelection with index
4463
4464         * paragraph.C (asString): reimplement version with no interval to
4465         call the one with interval.
4466
4467         * lyxtext.h: add index arg to pasteSelection
4468
4469         * MenuBackend.C (MenuItem): handle PasteRecent
4470         (Menu::read::Menutags): add md_pasterecent
4471         (read): handle it
4472         (expandPasteRecent): new function
4473         (expand): use it
4474
4475         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4476
4477         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4478         the limited stack
4479         (availableSelections): new function
4480
4481 2003-06-17  Angus Leeming  <leeming@lyx.org>
4482
4483         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4484
4485 2003-06-17  Angus Leeming  <leeming@lyx.org>
4486
4487         * lfuns.h:
4488         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4489
4490         * lyxfunc.C (dispatch): invoke it.
4491
4492 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4493
4494         * iterators.C (operator++, ParPosition): reintroduce some
4495         const_cast for the benefit of older compilers.
4496
4497 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4498
4499         * text3.C (dispatch): do not modify clipboard when doing
4500         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4501         LFUN_DELETE_SKIP on a selection selection
4502
4503 2003-06-16  André Pönitz  <poenitz@gmx.net>
4504
4505         * BufferView.C:
4506         * buffer.C:
4507         * buffer.h:
4508         * paragraph.C:
4509         * tabular.[Ch]: IU of clone() and getLabelList();
4510
4511 2003-06-13  André Pönitz  <poenitz@gmx.net>
4512
4513         * tabular.h: compactification
4514
4515 2003-06-12  André Pönitz  <poenitz@gmx.net>
4516
4517         * tabular.C:
4518         * tabular.h:
4519         * tabular_funcs.h: some renaming plus whitespace
4520
4521 2003-06-12  André Pönitz  <poenitz@gmx.net>
4522
4523         * BufferView.C:
4524         * BufferView_pimpl.C:
4525         * CutAndPaste.C:
4526         * buffer.C:
4527         * iterators.[Ch]:
4528         * lyxfunc.C:
4529         * text.C:
4530         * toc.C: Return a Paragraph & for ParIterator::operator*()
4531
4532 2003-06-11  John Levon  <levon@movementarian.org>
4533
4534         * lyx_main.C:
4535         * ToolbarBackend.h:
4536         * ToolbarBackend.C: add "Toolbars" section and
4537         put the flags there
4538
4539 2003-06-10  Angus Leeming  <leeming@lyx.org>
4540
4541         * lfuns.h:
4542         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4543
4544         * lyxfunc.C (dispatch): invoke it.
4545
4546 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4547
4548         * main.C: protect <ios> with HAVE_IOS
4549         (main): protect sync_with_stdio with HAVE_IOS
4550
4551 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4552
4553         * text2.C (cutSelection): adjust
4554         (pasteSelection): adjust
4555
4556         * messages.C: handle get of empty string
4557
4558         * main.C (main): use sync_with_stdio(false)
4559
4560         * lyxfunc.C (dispatch): adjust
4561
4562         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4563         (WriteAs): remove unneeded BufferView arg.
4564
4565         * bufferparams.h: use correct types on papersize, papersize2 and
4566         paperpackage.
4567
4568         * bufferparams.C (readToken): adjust for type
4569         (writeLaTeX): add missing cases to switch.
4570
4571         * bufferlist.C (quitWriteBuffer): adjust
4572         (close): adjust
4573
4574         * buffer.C (asciiParagraph): remove some commented code.
4575
4576         * CutAndPaste.C: remove current_view extern variable.
4577         (cutSelection): add BufferParams arg.
4578         (eraseSelection): add BufferParams arg.
4579         (pasteSelection): add Buffer const & arg
4580
4581 2003-06-07  John Levon  <levon@movementarian.org>
4582
4583         * buffer.C:
4584         * paragraph_funcs.C:
4585         * paragraph_pimpl.C:
4586         * text.C:
4587         * text2.C:
4588         * paragraph.h:
4589         * paragraph.C: allow InsetERT to freely space lines,
4590         and some consolidation of code
4591
4592 2003-06-06  José Matos  <jamatos@fep.up.pt>
4593
4594         * buffer.C (makeDocBookFile): fix bug #821
4595
4596 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4597
4598         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4599
4600 2003-06-04  Angus Leeming  <leeming@lyx.org>
4601
4602         * buffer.C: bump format to 224.
4603
4604 2003-06-05  André Pönitz  <poenitz@gmx.net>
4605
4606         * text2.C (redoParagraphs): remove two const_cast<>
4607
4608 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4609
4610         * ParagraphList.h: remove last remnants of NO_STD_LIST
4611
4612 2003-06-03  Angus Leeming  <leeming@lyx.org>
4613
4614         * factory.C (createInset): small change to the way InsetExternal's params
4615         are set.
4616
4617 2003-06-04  André Pönitz  <poenitz@gmx.net>
4618
4619         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4620
4621         * paragraph_pimpl.h:
4622         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4623
4624         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4625
4626         * undo_funcs.C: make some simple cases of undo work again
4627
4628 2003-06-03  John Levon  <levon@movementarian.org>
4629
4630         * ispell.C: HPUX doesn't have sys/select.h
4631         (from Albert Chin)
4632
4633 2003-06-03  John Levon  <levon@movementarian.org>
4634
4635         * CutAndPaste.C: update tabular and include inset
4636         buffer references
4637
4638         * buffer.h:
4639         * paragraph.h:
4640         * paragraph.C: remove owningBuffer(), don't pass Buffer
4641         to clone()
4642
4643         * factory.C: insetGraphicsParams changed
4644
4645 2003-06-02  John Levon  <levon@movementarian.org>
4646
4647         * LyXAction.C:
4648         * factory.C:
4649         * lfuns.h:
4650         * lyxfunc.C:
4651         * text3.C: remove insetparent
4652
4653 2003-06-02  John Levon  <levon@movementarian.org>
4654
4655         * buffer.h:
4656         * buffer.C: fix inset_iterator.end(), move out of line
4657         (bug 1149)
4658
4659 2003-06-01  John Levon  <levon@movementarian.org>
4660
4661         * text3.C: use a proper cut/paste when doing inset
4662         insert (from Jürgen Spitzmüller)
4663
4664 2003-06-01  John Levon  <levon@movementarian.org>
4665
4666         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4667
4668 2003-05-30  André Pönitz  <poenitz@gmx.net>
4669
4670         * rowpainter.C: unify second drawing phase
4671
4672 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4673
4674         * trans_mgr.C: remove one case of current_view
4675
4676         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4677
4678         * paragraph_funcs.h: remove paragraph.h include
4679
4680         * paragraph.h: delete NO_STD_LIST stuff
4681
4682         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4683
4684         * buffer.h: remove paragraph.h include
4685
4686         * ParagraphList.C: delete file
4687
4688         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4689
4690         * toc.C (getTocList): adjust
4691
4692         * paragraph_pimpl.C (validate): adjust
4693
4694         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4695
4696         * paragraph.C (Paragraph): adjust
4697         (getPositionOfInset): use const_iterator, adjust
4698         (bibitem): use const_iterator, adjust
4699         (setInsetOwner): adjust
4700
4701         * iterators.C (operator++): adjust
4702
4703         * InsetList.[Ch]: Replace selfmade iterator with standard
4704         vector::iterator also introduce const_iterator. Remove getPos,
4705         getInset and setInset from InsetTable. Adjust accordingly.
4706
4707         * BufferView.C (lockInset): adjust
4708         (ChangeInsets): adjust
4709
4710         * tabular.[Ch]: delete commented same_id functions
4711
4712 2003-05-28  John Levon  <levon@movementarian.org>
4713
4714         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4715
4716 2003-05-28  André Pönitz  <poenitz@gmx.net>
4717
4718         * metricsinfo.[Ch]: remove 'fullredraw' member
4719
4720 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4721
4722         * lyxtextclass.C (operator): remove caching.
4723
4724 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4725
4726         * text3.C: adjust
4727
4728         * text2.C (cursorBottom): adjust
4729         (setCounter): use ParagraphList::find, adjust
4730
4731         * text.C (workWidth): use ParagraphList::find, adjust
4732
4733         * lyxcursor.C (LyXCursor): adjust
4734
4735         * buffer.C (inset_iterator): adjust
4736
4737         * ParagraphList.h: make iterator(value_type) private, make
4738         ParagraphList a friend of iterator.
4739
4740         * ParagraphList.C (find): new function
4741
4742         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4743
4744 2003-05-27  André Pönitz  <poenitz@gmx.net>
4745
4746         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4747
4748 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4749
4750         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4751
4752 2003-05-26  John Levon  <levon@movementarian.org>
4753
4754         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4755
4756 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4757
4758         * remove same_id from function signatures, adjust.
4759
4760 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4761
4762         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4763
4764         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4765
4766         * paragraph.C (Paragraph): get rid of same_ids parameter
4767
4768         * ParagraphList.C (insert): adjust
4769         (push_back): adjust
4770
4771 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4772
4773         * paragraph_funcs.C (breakParagraph): adjust
4774         (breakParagraphConservative): adjust
4775
4776         * buffer.C (readParagraph): adjust
4777
4778         * ParagraphList.C (insert): take a reference instead of a pointer
4779         (insert): adjust
4780
4781         * paragraph.[Ch] (id): new function
4782
4783         * bufferlist.C (newFile): adjust
4784
4785         * ParagraphList.C (ParagraphList): adjust
4786         (assign): adjust
4787         (push_back): take a reference instead of a pointer.
4788
4789         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4790
4791         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4792         instead.
4793
4794         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4795         set else use old code.
4796
4797         * ParagraphList.C: remove all NO_NEXT code and only compile this
4798         code of NO_STD_LIST is set.
4799
4800 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4801
4802         * BufferView_pimpl.C:
4803         * TextCache.C:
4804         * TextCache.h:
4805         * bufferlist.C:
4806         * errorlist.h:
4807         * format.C:
4808         * format.h:
4809         * graph.C:
4810         * lyxfunc.C:
4811         * lyxrc.C:
4812         * graphics/GraphicsConverter.C:
4813         * graphics/PreviewLoader.C: header adjustment
4814
4815 2003-05-23  Angus Leeming  <leeming@lyx.org>
4816
4817         * LaTeXFeatures.[Ch] (useBabel): new method.
4818         * bufferparams.C (writeLaTeX): use it.
4819
4820 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4821
4822         * ParagraphList.h (set): remove unused function.
4823
4824 2003-05-23  André Pönitz  <poenitz@gmx.net>
4825
4826         * BufferView.C:
4827         * BufferView_pimpl.C:
4828         * buffer.C:
4829         * buffer.h:
4830         * lyxfunc.C:
4831         * undo_funcs.C: setUndo reworked
4832
4833         * iterators.[Ch]: add access to topmost ParagraphList
4834
4835         * lyxtext.[Ch] (workWidth): add a const
4836
4837 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4838
4839         * texrow.[Ch] (increasePos): remove function
4840         * exporter.C (export): removed unused var and outdated comment
4841
4842 2003-05-23  Angus Leeming  <leeming@lyx.org>
4843
4844         * latexrunparams.h: rename fragile as moving_arg.
4845         * paragraph.C (simpleTeXOnePar): ditto.
4846         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4847
4848 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4849
4850         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4851         (createUndo): ditto
4852         (textUndoOrRedo): comment out a currently unused var.
4853
4854         * paragraph.h (NO_NEXT): enable NO_NEXT
4855
4856         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4857
4858         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4859
4860         * exporter.C (Export): adjust for removeAutoInsets removal.
4861
4862         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4863
4864         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4865
4866         * BufferView.[Ch] (removeAutoInsets): delete function
4867
4868 2003-05-22  Angus Leeming  <leeming@lyx.org>
4869
4870         * latexrunparams.h: add a free_spacing variable.
4871
4872         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4873         to pass moving_arg, as the data is stored in runparams.fragile.
4874
4875         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4876         to Inset::latexOptional or to simpleTeXOnePar.
4877
4878         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4879         free_spacing arg to Inset::latexOptional.
4880
4881         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4882         free_spacing arg.
4883
4884 2003-05-22  Angus Leeming  <leeming@lyx.org>
4885
4886         * latexrunparams.h: add fragile and use_babel variables.
4887
4888         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4889         * buffer.C (makeLaTeXFile): store this returned value in
4890         runparams.use_babel, thus passing it to the inset::latex methods.
4891
4892         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4893         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4894
4895         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4896         longer has a fragile arg, as it is stored in runparams.fragile.
4897
4898         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4899         moving_arg parameter as the data is stored in runparams.fragile.
4900
4901         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4902         a fragile parameter as the data is stored in runparams.fragile.
4903
4904 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4905
4906         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4907
4908 2003-05-22  Angus Leeming  <leeming@lyx.org>
4909
4910         * latexrunparams.h: add a 'bool nice' which defaults to false.
4911
4912         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4913         now encapsulated within runparams.
4914
4915         * bufferlist.C (updateIncludedTeXfiles):
4916         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4917
4918 2003-05-22  Angus Leeming  <leeming@lyx.org>
4919
4920         * latexrunparams.h: new file containing struct LatexRunParams.
4921         * Makefile.am: add new file.
4922
4923         * LaTeX.[Ch] (c-tor, run):
4924         * buffer.[Ch] (makeLaTeXFile):
4925         * bufferlist.[Ch] (updateIncludedTeXfiles):
4926         * converter.C (convert, scanLog):
4927         * converter.[Ch] (runLaTeX):
4928         * exporter.C (Export):
4929         * paragraph.[Ch] (simpleTeXOnePar):
4930         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4931         * paragraph_funcs.[Ch] (latexParagraphs):
4932         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4933         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4934         pass around a LatexRunParams parameter.
4935
4936 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4937
4938         * paragraph.[Ch]: remove unused constructor
4939
4940         * ParagraphList.C (erase): new function, taking two iterators
4941
4942 2003-05-22  André Pönitz  <poenitz@gmx.net>
4943
4944         * undo_funcs.C: remove duplicated code
4945
4946         * iterator.[Ch]: operator=
4947
4948 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4949
4950         * tabular.C (SetMultiColumn): ws changes
4951
4952         * rowpainter.C (paintFirst): get rid of a ->previous
4953
4954         * lyx_cb.C (getPossibleLabel): parlist simplification
4955
4956         * BufferView.C (ChangeInsets): simplify slightly.
4957
4958 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4959
4960         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4961         * lfuns.h: new LFUN_SPACE
4962         * lyxfunc.C: protected space has a new lfun
4963         * paragraph_funcs.C: read new space insets
4964         * text3.C:
4965         * factory.C: handle new space insets
4966
4967 2003-05-22  André Pönitz  <poenitz@gmx.net>
4968
4969         * BufferView.C:
4970         * BufferView_pimpl.C:
4971         * buffer.[Ch]:
4972         * lyxfunc.C:
4973         * undo_funcs.C: return a ParIterator from getParFromID.
4974
4975         * iterators.[Ch]: add two const's
4976
4977 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4978
4979         * toc.C (getTocList): adjust
4980
4981         * iterators.[Ch]: rework for parlist
4982
4983         * buffer.C (par_iterator_begin): adjust
4984         (par_iterator_end): adjust
4985
4986         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4987
4988         * BufferView.C (removeAutoInsets): adjust
4989         (ChangeInsets): adjust
4990
4991 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4992
4993         * text.C (top_y): fix bug 1110
4994
4995 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4996
4997         * errorlist.[Ch]: added
4998         * buffer.C:
4999         * BufferView.[Ch]:
5000         * BufferView_pimpl.C:
5001         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5002         instead
5003
5004 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5005
5006         * Makefile.am: ensure that lyx is relinked upon changes to the
5007         various "convenience" libs.
5008
5009 2003-05-20  Angus Leeming  <leeming@lyx.org>
5010
5011         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5012         files are compiled in alphabetical order again.
5013
5014         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5015
5016 2003-05-19  Angus Leeming  <leeming@lyx.org>
5017
5018         * gettext.[Ch]: remove "char const * _(char const *)".
5019
5020 2003-05-19  André Pönitz  <poenitz@gmx.net>
5021
5022         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5023
5024         * Makefile.am:
5025         * BufferView.C:
5026         * DepTable.h:
5027         * LaTeXFeatures.C:
5028         * buffer.C:
5029         * lyxfont.C:
5030         * lyxlex.h:
5031         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5032
5033 2003-05-19  André Pönitz  <poenitz@gmx.net>
5034
5035         * buffer.C:
5036         * lyxlayout.[Ch]:
5037         * lyxtextclass.[Ch]:
5038         * paragraph.C:
5039         * paragraph_funcs.[Ch]:
5040         * text2.C:
5041         * text3.C: more insetenv work
5042
5043 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5044
5045         * ParagraphParameters.C (params2string): small bug fixed
5046
5047 2003-05-16  André Pönitz  <poenitz@gmx.net>
5048
5049         * debug.C:
5050         * bufferview_funcs.C: patch from Kornel Benko to prevent
5051           crash when _(...) is called twice in a statement
5052
5053 2003-05-16  André Pönitz  <poenitz@gmx.net>
5054
5055         * BufferView.C:
5056         * lyxfunc.C:
5057         * text.C:
5058         * text2.C:
5059         * text3.C:
5060         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5061
5062 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5063
5064         * lyx_main.C (init): remove spurious static_cast
5065
5066 2003-05-14  André Pönitz  <poenitz@gmx.net>
5067
5068         * BufferView.C: fix format string
5069
5070 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5071
5072         * BufferView.[Ch] (insertErrors): removed
5073         * BufferView.[Ch] (showErrorList): added
5074         * buffer.C (runChkTeX):
5075         * converter.C (scanLog): call showErrorList instead of inserterrors
5076
5077 2003-05-13  André Pönitz  <poenitz@gmx.net>
5078
5079         * BufferView_pimpl.C:
5080         * buffer.C:
5081         * bufferview_func.C:
5082         * MenuBackend.C:
5083         * lyxfunc.C:
5084         * lyxrc.C:
5085         * tex-accent.C:
5086         * text3.C:
5087         * toc.C:
5088         * tabular_funcs.h: tostr() from its own header
5089
5090         * ParagraphParameters.C:
5091         * ToolbarBackend.C:
5092         * bufferparams.C:
5093         * format.C:
5094         * lyxlex_pimpl.C:
5095         * text3.C: STRCONV()
5096
5097 2003-05-12  André Pönitz  <poenitz@gmx.net>
5098
5099         * BufferView.C:
5100         * BufferView_pimpl.C:
5101         * CutAndPaste.C:
5102         * LaTeX.C:
5103         * LaTeXFeatures.C:
5104         * ParagraphParameters.C:
5105         * buffer.C:
5106         * bufferlist.C:
5107         * bufferparams.C:
5108         * bufferview_funcs.C:
5109         * converter.C:
5110         * counters.C:
5111         * debug.C:
5112         * exporter.C:
5113         * format.C:
5114         * importer.C:
5115         * lyx_cb.C:
5116         * lyx_main.C:
5117         * lyxfont.C:
5118         * lyxfunc.C:
5119         * lyxvc.C:
5120         * paragraph.C:
5121         * paragraph_funcs.C:
5122         * tabular.C:
5123         * tabular_funcs.C:
5124         * text2.C:
5125         * text3.C:  boost::format -> bformat  all over the place
5126
5127
5128 2003-05-09  André Pönitz  <poenitz@gmx.net>
5129
5130         * LColor.[Ch]: Pimpl the #include <map> away
5131
5132 2003-05-09  John Levon  <levon@movementarian.org>
5133
5134         * bufferlist.C: never remove emergency saves
5135
5136 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5137
5138         * Makefile.am: better lib building
5139
5140 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5141
5142         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5143         instead.
5144         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5145         (simpleTeXSpecialChars): adjust
5146         (simpleTeXSpecialChars): adjust
5147         * paragraph.C (simpleTeXOnePar): adjust
5148         * buffer.C (makeLaTeXFile): adjust
5149
5150         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5151
5152         * text2.C (changeDepth): parlist cleanup
5153         (getColumnNearX): ditto
5154
5155         * rowpainter.C (getLabelFont): parlist cleanup
5156
5157         * bufferlist.C (newFile): parlist cleanup
5158
5159         * CutAndPaste.C (eraseSelection): parlist cleanup
5160
5161         * BufferView_pimpl.C (trackChanges): parlist cleanup
5162         (dispatch): ditto
5163
5164         * BufferView.C (lockInset): parlist cleanup.
5165         (ChangeInsets): ditto
5166
5167 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5168
5169         * CutAndPaste.h: Update file header.
5170
5171         * CutAndPaste.C: Update file header.
5172         Store the parts cut out of the Document in a limited_stack.
5173         (copySelection): adjust
5174         (pasteSelection): new function, takes the index in the limited stack.
5175         (nrOfParagraphs): adjust
5176         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5177         simplify error inset insertion.
5178         (checkPastePossible): adjust
5179
5180 2003-05-06  John Levon  <levon@movementarian.org>
5181
5182         * text2.C: don't cast wrap inset to float
5183
5184 2003-05-05  André Pönitz  <poenitz@gmx.net>
5185
5186         * iterator.C:
5187         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5188
5189         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5190           few naked Paragraph *.
5191
5192 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5193
5194         * bufferparams.C: Output warning if a document with missing
5195         TeX document class is loaded
5196         * exporter.C: Disable TeX exports if the document class is missing
5197         * lyxtextclass.C:
5198         * lyxtextclass.h:
5199         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5200         isTeXClassAvailable()
5201
5202 2003-05-03  John Levon  <levon@movementarian.org>
5203
5204         * BufferView.h:
5205         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5206         explicit cursor show/hide
5207
5208         * BufferView_pimpl.h:
5209         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5210         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5211
5212         * lyxfunc.C: hide cursor before dispatching.
5213
5214         * lyx_cb.C:
5215         * lyxfind.C:
5216         * text.C:
5217         * text3.C: remove explicit cursor hides
5218
5219 2003-05-02  André Pönitz  <poenitz@gmx.net>
5220
5221         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5222
5223         * undo_funcs.C:
5224         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5225           linked lists
5226
5227         * text2.C: tiny whitespace
5228
5229 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5230
5231         * undo_funcs.C: almost only ws changes.
5232
5233         * ParagraphList.C (splice): just return if pl is empty.
5234
5235 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5236
5237         * ParagraphList.C (splice): new function.
5238
5239         * CutAndPaste.C (pasteSelection): use it
5240
5241 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5242
5243         * CutAndPaste.C (pasteSelection): remove the last next and
5244         previous from this file.
5245
5246 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5247
5248         * CutAndPaste.C (pasteSelection): more clean up, user proper
5249         ParagraphList functions for pasteing.
5250
5251         * ParagraphList.C (insert): new function, three arg insert
5252
5253 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5254
5255         * ParagraphList.C (insert): new function, three arg insert
5256
5257         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5258         not on paragraphs.
5259
5260 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5261
5262         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5263
5264 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5265
5266         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5267
5268 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5269
5270         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5271         (copySelection): clean up a bit.
5272         (pasteSelection): use make_pair
5273
5274         * ParagraphList.C (ParagraphList): implement copy constructor
5275         (operator=): implement, base on copy constructor.
5276         (assign): new func
5277
5278         * paragraph.C (erase): return a bool
5279
5280         * paragraph_pimpl.C (erasePos): remove function, move contents...
5281         (erase): ... here. Return a bool.
5282         (erase): call erase instead of erasePos.
5283
5284 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5285
5286         * ParagraphList.h: define PitPosPair
5287         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5288         ParagraphList, fix a bug on pasting multiple pars
5289         * text2.C: change interface to C&P
5290
5291 2003-04-30  André Pönitz  <poenitz@gmx.net>
5292
5293         * undo_func.C: revert part of yesterday's patch 2
5294
5295 2003-04-30  John Levon  <levon@movementarian.org>
5296
5297         * LColor.C: s/tabular/table/
5298
5299 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5300
5301         * text3.C (dispatch): do not convert iterator -> pointer
5302         * undo_funcs.C (setCursorParUndo): ditto
5303         * text_funcs.C (transposeChars): ditto
5304
5305         * text2.C (setLayout): ws changes only
5306
5307         * text.C (breakParagraph): do not convert iterator -> pointer
5308         (insertChar): ditto
5309         (acceptChange): ditto
5310         (rejectChange): ditto
5311         (changeCase): ditto
5312         (Delete): ditto
5313         (backspace): ditto
5314
5315         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5316         pointer
5317
5318 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5319
5320         * text3.C (gotoInset): YABG (yet another bad getChar)
5321
5322 2003-04-29  André Pönitz  <poenitz@gmx.net>
5323
5324         * paragraph.h: make operator= private unimplemented as long as
5325           it is unusable
5326
5327         * ParagraphList.C: whitespace
5328
5329         * paragraph.[Ch]:
5330         * paragraph_pimpl.[Ch]:
5331         * paragraph_funcs.C:
5332         * CutAndPaste.C:
5333         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5334
5335         * text2.C:
5336           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5337
5338 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5339
5340         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5341         * paragraph.[Ch] (erase):
5342         * paragraph_pimpl.[Ch] (erase): change return type and value
5343         * text2.C (cutSelection): some rework
5344
5345 2003-04-28  John Levon  <levon@movementarian.org>
5346
5347         * bufferlist.C: changes for unsaved changes dialog
5348
5349 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5350
5351         * bufferlist.C (newFile): set language (messages_) for new
5352         documents also.
5353
5354         * buffer.C (readFile): ws changes only.
5355
5356 2003-04-28  André Pönitz  <poenitz@gmx.net>
5357
5358         * undo_funcs.C:
5359         * lyxfunc.C:
5360         * buffer.[Ch]:
5361         * BufferView_pimpl.C:
5362         * BufferView.C: getParFromID related ParagraphList::iterator changes
5363
5364 2003-04-28  André Pönitz  <poenitz@gmx.net>
5365
5366         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5367           Changes
5368
5369 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5370
5371         * messages.C: remove one more localedir class variable.
5372
5373 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5374
5375         * messages.C (getLocaleDir): singleton generation function
5376         (Pimpl): use it.
5377         (Messages): add a default constructor.
5378
5379         * main.C (main): do not setup localedir here, do not call
5380         gettext_init.
5381
5382         * gettext.C (_): use it.
5383         (gettext_init): delete funciton
5384
5385 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5386
5387         * gettext.C (getLyXMessages): new singleton generating function.
5388
5389         * buffer.C (updateDocLang): adjust
5390
5391         * Makefile.am (messages.o): add target
5392         (main.o): remove target
5393
5394 2003-04-27  John Levon  <levon@movementarian.org>
5395
5396         * bufferlist.C:
5397         * lyx_cb.C:
5398         * lyxfunc.C:
5399         * lyxvc.C: specify cancel button in Alert::prompt
5400
5401 2003-04-26  John Levon  <levon@movementarian.org>
5402
5403         * text3.C:
5404         * lyxfunc.C:
5405         * lfuns.h:
5406         * LyXAction.C: add LFUN_INSET_SETTINGS
5407
5408         * lyxfunc.C: don't enable tabular-feature when there's
5409         just any locking inset
5410
5411 2003-04-26  John Levon  <levon@movementarian.org>
5412
5413         * bufferlist.C: re-add Cancel to buffer close question
5414
5415         * lyxfunc.C: fix import UI a bit
5416
5417 2003-04-25  John Levon  <levon@movementarian.org>
5418
5419         * gettext.C: remove the broken asserts for now
5420
5421 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5422
5423         * messages.C: make case where setlocale cannot comply work better.
5424
5425         * buffer.C (updateDocLang): new function
5426         (changeLanguage): use it
5427         (readFile): use it
5428
5429         * text2.C (setCounter): use B_ a bit.
5430
5431         * lyxlayout.C (Read): be sure to trim the label strings.
5432
5433         * messages.C (Messages): fix typo in comment
5434
5435         * buffer.C (readFile): set message_ after file is loaded.
5436         (makeDocBookFile): remove double return
5437         (changeLanguage): reset message_ upon language change.
5438         (B_): new func, use this to get translated buffer strings.
5439
5440         * main.C: add myself and Jean Marc as authors.
5441
5442 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5443
5444         * messages.[hC]: pimplify Messages, and three different pimpls to be
5445         used in different circumstances.
5446
5447         * gettext.[Ch]: change for use with new message code.
5448
5449 2003-04-24 André Pönitz <poenitz@gmx.net>
5450
5451         * factory.C: support for eqref
5452
5453 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5454
5455         * messages.[Ch]: add missing char
5456
5457         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5458
5459         * messages.[Ch]: New files
5460
5461 2003-04-18  John Levon  <levon@movementarian.org>
5462
5463         * BufferView.h:
5464         * BufferView.C:
5465         * BufferView_pimpl.C:
5466         * lfuns.h:
5467         * LyXAction.C:
5468         * lyxtext.h:
5469         * text2.C: remove layout-copy/paste (bug 778)
5470
5471 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5472
5473         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5474
5475 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5476
5477         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5478         if they succeed. Act accordingly.
5479
5480 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5481
5482         * text2.C (setCharFont): adjust
5483         (setCounter): adjust
5484         (insertStringAsLines): adjust
5485
5486         * text.C (leftMargin): adjust
5487         (setHeightOfRow): adjust
5488
5489         * rowpainter.C (paintFirst): adjust
5490         (paintLast): adjust
5491
5492         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5493         (outerHook): ditto
5494         (isFirstInSequence): ditto
5495         (getEndLabel): ditto
5496         (outerFont): adjust
5497
5498         * paragraph.C (getParLanguage): comment out some hard stuff.
5499
5500         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5501         (sgmlError): ditto
5502         (simpleDocBookOnePar): ditto
5503         (makeDocBookFile): use ParagraphList::iterator
5504
5505         * CutAndPaste.C (pasteSelection): adjust
5506
5507 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5508
5509         * text2.C (getFont): adjust
5510         (getLayoutFont): adjust
5511         (getLabelFont): adjust
5512
5513         * paragraph_funcs.C (TeXOnePar): adjust
5514
5515         * buffer.C (simpleLinuxDocOnePar): adjust
5516         (simpleDocBookOnePar): adjust
5517
5518         * CutAndPaste.C (pasteSelection): adjust
5519
5520         * BufferView.C (getEncoding): adjust
5521
5522         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5523
5524 2003-04-16  John Levon  <levon@movementarian.org>
5525
5526         * lyxfind.C: use parlist stuff for search/changes
5527
5528 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5529
5530         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5531
5532         * text2.C (deleteEmptyParagraphMechanism): adjust
5533
5534         * text2.[Ch] (ownerParagraph): delete func (both of them
5535
5536 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5537
5538         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5539
5540 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5541
5542         * ParagraphList.C: prepare for NO_NEXT
5543
5544 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5545
5546         * text2.C (getFont): adjust
5547         (getLayoutFont): adjust
5548         (getLabelFont): adjust
5549
5550         * paragraph.C (getFont): adjust
5551         (getLabelFont): adjust
5552         (getLayoutFont): adjust
5553
5554         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5555
5556 2003-04-15  John Levon  <levon@movementarian.org>
5557
5558         From Angus Leeming
5559
5560         * lyx_main.C: handle Include in .ui files
5561
5562 2003-04-15  John Levon  <levon@movementarian.org>
5563
5564         * MenuBackend.C: make the doc files length shorter
5565
5566         * ToolbarBackend.h:
5567         * ToolbarBackend.C: handle toolbar placement flags,
5568         Minibuffer
5569
5570 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5571
5572         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5573         adjust
5574
5575         * paragraph_funcs.C (TeXOnePar): adjust
5576
5577         * paragraph.C (getLabelFont): add outerfont arg, adjust
5578         (getLayoutFont): ditto
5579         (simpleTeXOnePar): adjust
5580
5581         * paragraph_pimpl.C (realizeFont): delete func
5582
5583 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5584
5585         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5586         row argument, constify cur argument.
5587
5588 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5589
5590         * text2.C (getFont): adjust
5591         (getLayoutFont): adjust
5592         (getLabelFont): adjust
5593
5594         * paragraph_funcs.C (TeXOnePar): adjust
5595         (outerFont): new func...
5596         (realizeFont): ...moved out from here, changed this to facilitate
5597         transition
5598
5599         * paragraph.C (getFont): take outerfont as arg, adjust
5600         (simpleTeXOnePar): add outerfont arg, adjust
5601
5602         * buffer.C (simpleLinuxDocOnePar): adjust
5603         (simpleDocBookOnePar): adjust
5604
5605         * CutAndPaste.C (pasteSelection): adjust
5606
5607         * BufferView.C (getEncoding): adjust
5608
5609 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5610
5611         * text2.C (setCharFont): adjust
5612         (setCounter): adjust
5613
5614         * text.C (leftMargin): adjust
5615         (setHeightOfRow): adjust
5616
5617         * rowpainter.C (paintFirst): adjust
5618         (paintLast): adjust
5619
5620         * paragraph_pimpl.C (realizeFont): adjust
5621
5622         * paragraph.C (isFirstInSequence): move from here...
5623         * paragraph_funcs.C (isFirstInSequence): ...to here
5624
5625         * paragraph.C (outerHook): move from here...
5626         * paragraph_funcs.C (outerHook): ...to here
5627
5628         * paragraph.C (depthHook): move from here...
5629         * paragraph_funcs.C (depthHook): ...to here
5630
5631         * paragraph.C (getEndLabel): move from here...
5632         * paragraph_funcs.C (getEndLabel): ...to here
5633
5634         * text2.C (realizeFont): move from here...
5635         * paragraph_funcs.C (realizeFont): ...to here
5636
5637 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5638
5639         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5640
5641 2003-04-14  Angus Leeming  <leeming@lyx.org>
5642
5643         * LColor.[Ch]: scrap LColor mathcursor.
5644
5645 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5646
5647         * lyxlex.[Ch] (text): delete function
5648         * trans.C (Load): adjust
5649         * paragraph_funcs.C (readParToken): adjust
5650
5651 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5652
5653         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5654         vector<char> instead of a char[].
5655
5656         * lyxlex_pimpl.C (getString): adjust
5657         (next): adjust
5658         (lex): use getString
5659         (eatLine): adjust
5660         (nextToken): adjust
5661
5662         * lyxlex.C (text): use pimpl_->getString()
5663         (getBool): ditto
5664         (findToken): ditto
5665
5666 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5667
5668         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5669         (makeFontEntriesLayoutSpecific): temp var for par.size()
5670         (setLayout): temp var for ownerParagraphs().end()
5671         (fullRebreak): temp var for rows().end()
5672         (selectionAsString): temp var for boost::next(startpit), realize
5673         that the while really is a regular for loop.
5674         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5675         setCursor in one place.
5676         (setParagraph): temp vr for ownerParagraphs().end()
5677         (updateCounters): make the while loop a for loop
5678         (cutSelection): temp var for ownerParagraphs().end()
5679         (updateInset): make the do {} while() a regular for loop
5680         (getCursorX): use temp vars
5681         (setCurrentFont): use temp vars
5682         (getColumnNearX): use temp vars
5683
5684 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5685
5686         * text.C (transformChar): use temp var for getChar
5687         (computeBidiTables): use temp var for row->par()
5688         (fill): move temp vars for row->par() and pit->layout() earlier in
5689         the function.
5690         (labelFill): use temp var for row->par()
5691         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5692         asc and desc, realize that pit never changes and that firstpit is
5693         just a duplicate and not needed. Exchange rit->par() with pit in a
5694         lot of places.
5695         (breakAgain): use a temp var for boost::next(rit)
5696         (breakAgainOneRow): ditto
5697         (breakParagraph): use a temp var for rows().begin()
5698         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5699         (cursorRightOneWord): use temp var for cursor.par() and
5700         cursor.pos(), remove usage of tmpcursor.
5701         (cursorLeftOneWord): use temp var for cursor.par() and
5702         cursor.pos() only set cur at end of function.
5703
5704 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5705
5706         * text.C, text2.C: exchange all usage of Paragraph::next with
5707         boost::next(ParagraphList::iterator)
5708
5709         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5710
5711         * text2.C (cursorTop): simplify implementation
5712         (cursorBottom): ditto
5713         (setParagraph): use ParagraphList::iterator
5714         (setCurrentFont): adjust
5715         (getColumnNearX): adjust
5716         (cursorRight): adjust
5717         (cursorLeft): remove usage of Paragraph::previous
5718         (cursorUpParagraph): ditto
5719         (deleteEmptyParagraphMechanism): slight cleanup
5720
5721         * text.C (isBoundary): take a Paragraph const & instead of a
5722         pointer as arg.
5723         (addressBreakPoint): ditto
5724         (leftMargin): remove usage of Paragraph::previous.
5725         (setHeightOfRow): ditto
5726         (cursorLeftOneWord): ditto
5727         (selectNextWordToSpellcheck): ditto
5728         (Delete): ditto
5729         (backspace): ditto
5730         (breakParagraph): remove one usage of Paragraph::next
5731         (redoParagraph): ditto
5732         (acceptChange): ditto
5733         (insertChar): adjust
5734         (rowBreakPoint): adjust
5735
5736         * bufferview_funcs.C (toggleAndShow): adjust
5737
5738 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5739
5740         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5741         methods to access it.
5742         * lyxtext.h:
5743         * text.C: Added updateRowPositions to compute all row positions.
5744         Make top_y and getRowNearY() to use the cached y position
5745
5746 2003-04-11  John Levon  <levon@movementarian.org>
5747
5748         * text.C (rowBreakPoint): reintroduce the labelEnd
5749         checks, code copied from the row fill stuff. Deep voodoo.
5750
5751         * text.C (fill): add a comment and debugging for the
5752         next poor soul.
5753
5754 2003-04-11  John Levon  <levon@movementarian.org>
5755
5756         * text.C: make sure fullrow insets get wrapped to the next line,
5757         even when they're in a manual label
5758
5759 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5760
5761         * text2.C (insertParagraph): make it take ParagraphList::iterator
5762         as arg.
5763         (setLayout): make it return ParagraphList::iterator
5764         (redoParagraphs): ditto
5765         (setCounter): ditto
5766         (checkParagraph): ditto
5767
5768         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5769
5770         * text2.C: adjust several funcs.
5771         (realizeFont): take a ParagraphList::iterator as arg.
5772         (getLayoutFont): ditto
5773         (getLabelFont): ditto
5774         (setCharFont): ditto
5775
5776         * text.C: adjust several funcs.
5777
5778 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5779
5780         * text.C (selectNextWordToSpellcheck): don't accidentally
5781         skip insets
5782
5783 2003-04-10  John Levon  <levon@movementarian.org>
5784
5785         * ToolbarBackend.C (getIcon): special handling for
5786         LFUN_MATH_DELIM
5787
5788 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5789
5790         * text2.C (cursorRight): a getChar assert fixed
5791
5792 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5793
5794         * text2.C (getFont): change to take a ParagraphList::iterator
5795         instead of Paragraph*
5796         Adjust several functions.
5797
5798         * text.C (transformChar): change to take a ParagraphList::iterator
5799         instead of Paragraph*
5800         (singleWidth): ditto
5801         Adjust several functions.
5802
5803         * rowpainter.C: adjust several functions
5804         * rowpainter.h:store a ParagraphList::iterator and not a
5805         Paragraph&.
5806
5807
5808 2003-04-09  John Levon  <levon@movementarian.org>
5809
5810         * lyxfunc.C:
5811         * lfuns.h:
5812         * LyXAction.h:
5813         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5814         and the "help" bits as well
5815
5816 2003-04-09  John Levon  <levon@movementarian.org>
5817
5818         * ToolbarBackend.h:
5819         * ToolbarBackend.C: allow multiple toolbars
5820
5821 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5822
5823         * undo_funcs.C (setCursorParUndo): adjust
5824
5825         * text_funcs.C (transposeChars): adjust
5826
5827         * text3.C (gotoNextInset): adjust
5828         (dispatch): adjust
5829
5830         * text2.C (setLayout): adjust
5831         (changeDepth): adjust
5832         (setFont): adjust
5833         (redoParagraphs): adjust
5834         (selectionAsString): adjust
5835         (setParagraph): adjust
5836         (insertInset): adjust
5837         (cutSelection): adjust
5838         (copySelection): adjust
5839         (pasteSelection): adjust
5840         (insertStringAsLines): adjust
5841         (updateInset): adjust
5842         (setCursor): change to take a ParagraphList::iterator parameter
5843         (setCursorIntern): change to take a ParagraphList::iterator parameter
5844         (setCurrentFont): adjust
5845         (cursorLeft): adjust
5846         (cursorRight): adjust
5847         (deleteEmptyParagraphMechanism): adjust
5848
5849         * text.C (breakParagraph): adjust
5850         (insertChar): adjust
5851         (acceptChange): adjust
5852         (rejectChange): adjust
5853         (selectNextWordToSpellcheck): adjust
5854         (changeCase): adjust
5855         (Delete): adjust
5856         (backspace): adjust
5857
5858         * lyxfind.C (SearchForward): adjust
5859         (SearchBackward): adjust
5860         (nextChange): adjust
5861
5862         * lyxcursor.C (par): adjust
5863
5864         * lyxcursor.h: store a ParagraphList::iterator instead of a
5865         Paragraph*
5866
5867         * lyx_cb.C (getPossibleLabel): adjust
5868
5869         * bufferview_funcs.C (toggleAndShow): adjust
5870
5871         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5872         (dispatch): adjust
5873
5874         * BufferView.C (removeAutoInsets): adjust
5875         (lockedInsetStoreUndo): adjust
5876
5877 2003-04-09  John Levon  <levon@movementarian.org>
5878
5879         * ToolbarBackend.C: try icon without argument
5880         if with argument fails
5881
5882 2003-04-08  John Levon  <levon@movementarian.org>
5883
5884         * ToolbarBackend.h:
5885         * ToolbarBackend.C: add getIcon(), handle tooltip,
5886         and change from "Icon" to "Item".
5887
5888 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5889
5890         * BufferView.C (lockInset): another bad getchar crunched
5891
5892 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5893
5894         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5895         again)
5896
5897 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5898
5899         * lyxfind.C (searchForward, searchBackwards): bug 782
5900
5901 2003-04-07  John Levon  <levon@movementarian.org>
5902
5903         * paragraph.C: remove dead comment
5904
5905         * text.C: remove troublesome depth-fiddling code
5906         in leftMargin() and rightMargin() (bug 1017)
5907
5908         * text.C: fix breaking of rows in nested lists
5909         (bug 1004)
5910
5911         * text2.C (updateCounters): fix up depth values
5912         (bug 1013)
5913
5914 2003-04-07  John Levon  <levon@movementarian.org>
5915
5916         * BufferView_pimpl.C: clear message when doc finishes resizing,
5917         and after a mouse event
5918
5919         * lyxfunc.C: clear message after exiting inset
5920
5921 2003-04-07  John Levon  <levon@movementarian.org>
5922
5923         * bufferview_funcs.C: show math status not outside
5924         status in the statusbar
5925
5926 2003-04-07  John Levon  <levon@movementarian.org>
5927
5928         * lyxfunc.C: note status changed after a depth change
5929
5930 2003-04-04  Angus Leeming  <leeming@lyx.org>
5931
5932         * LaTeX.h: move AuxInfo operator==, != out of line.
5933         Remove LaTeX virtual destructor; nothing derives from it.
5934         Move operator()() out of public area and rename it startscript().
5935         Change protected for private.
5936
5937 2003-04-04  Angus Leeming  <leeming@lyx.org>
5938
5939         * lyxfunc.C:
5940         * text2.C: remove unneeded #includes.
5941
5942 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5943
5944         * text2.C (dEPM): fix the heigth of the next row
5945
5946 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5947
5948         * text.C: squashed an invalid getChar requester + some ws changes
5949
5950 2003-04-03  John Levon  <levon@movementarian.org>
5951
5952         * bufferview_funcs.h:
5953         * bufferview_funcs.C:
5954         * lyxfunc.C:
5955         * lyxtext.h:
5956         * text2.C: make getStatus work for the env depth lfuns
5957
5958 2003-04-03  John Levon  <levon@movementarian.org>
5959
5960         * bufferview_funcs.h:
5961         * bufferview_funcs.C:
5962         * lyxfunc.C:
5963         * lyxtext.h:
5964         * text2.C: parlistize decDepth(), by merging it with incDepth()
5965
5966 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5967
5968         * lyxrow.h: store a ParagraphList::iterator instead of a
5969         Paragraph* and adjust other class functions to suit.
5970
5971         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5972         above.
5973
5974 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5975
5976         * text2.C (setCursor): do not anchor to cursor row for the time being
5977
5978 2003-04-02  John Levon  <levon@movementarian.org>
5979
5980         * LyXAction.C:
5981         * lfuns.h:
5982         * lyx_main.C:
5983         * lyxtext.h:
5984         * text.C:
5985         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5986
5987 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5988
5989         * paragraph.h: make ParagraphList and ParagraphList::iterator
5990         friends of Paragraph.
5991
5992         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5993
5994         * ParagraphList.C: Use the private next_ and previous_ from
5995         Paragraph.
5996
5997 2003-04-01  John Levon  <levon@movementarian.org>
5998
5999         * ToolbarBackend.h:
6000         * ToolbarBackend.C:
6001         * Makefile.am: rename, remove defaults gunk
6002
6003         * MenuBackend.h:
6004         * MenuBackend.C: remove defaults gunk
6005
6006         * Languages.h:
6007         * Languages.C: remove defaults gunk
6008
6009         * lyx_main.h:
6010         * lyx_main.C: error out if files couldn't be found.
6011
6012 2003-04-02  John Levon  <levon@movementarian.org>
6013
6014         * text2.C: make incDepth() use parlist
6015
6016 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6017
6018         * undo_funcs.C (firstUndoParagraph): adjust
6019
6020         * text3.C (gotoInset): adjust
6021         (dispatch): adjust, and rewrite loop.
6022
6023         * text2.C (init): adjust, and rewrite loop.
6024         (redoParagraphs): adjust
6025         (updateInset): adjust, and rewrite loop.
6026         (deleteEmptyParagraphMechanism): adjust
6027
6028         * tabular.C (LyXTabular): adjust
6029         (SetMultiColumn): adjust
6030         (TeXRow): adjust
6031
6032         * lyxtext.[Ch] (ownerParagraph): delete function
6033         (ownerParagraphs): new function returns a ParagraphList.
6034
6035         * BufferView.C (removeAutoInsets): adjust
6036         (insertErrors): adjust
6037         (setCursorFromRow): adjust
6038
6039 2003-04-01  Angus Leeming  <leeming@lyx.org>
6040
6041         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6042         in the frontends.
6043
6044 2003-04-02  John Levon  <levon@movementarian.org>
6045
6046         * lyxtext.h:
6047         * text.C:
6048         * Makefile.am:
6049         * text_funcs.h:
6050         * text_funcs.C: make transposeChars a free function
6051
6052         * lyxrow_funcs.C: remove wrong comment
6053
6054 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6055
6056         * lyxtext.h: adjust
6057         * rowpainter.C: adjust
6058         * text.C: adjust
6059         * text2.C: adjust
6060         * text3.C: adjust
6061
6062         * lyxrow_funcs. [Ch]: new files
6063
6064         * lyxrow.[Ch]: remove next and previous pointers
6065         (next,previous): remove accessor functions
6066         (isParEnd): move to lyxrow_funcs
6067         (lastPos): move to lyxrow_funcs
6068         (nextRowIsAllInset): move to lyxrow_funcs
6069         (lastPrintablePos): move to lyxrow_funcs
6070         (numberOfSeparators): move to lyxrow_funcs
6071         (numberOfHfills): move to lyxrow_funcs
6072         (numberOfLabelHfills): move to lyxrow_funcs
6073         (hfillExpansion): move to lyxrow_funcs
6074
6075         * lyxfunc.C: adjust
6076
6077         * bufferview_funcs.C (toggleAndShow): adjust
6078
6079         * RowList.h: Remove class RowList from file leave just a
6080         std::list<Row>.
6081
6082         * RowList.C: delete file
6083
6084         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6085         and lyxrow_funcs.h
6086
6087 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6088
6089         * text3.C (cursorPrevious): adjust
6090         (cursorNext): adjust
6091         (dispatch): adjust
6092
6093         * text2.C (redoHeightOfParagraph): adjust
6094         (redoDrawingOfParagraph): adjust
6095         (setCursor): adjust
6096
6097         * text.C (breakParagraph): adjust
6098         (insertChar): adjust
6099         (backspace): adjust
6100
6101         * rowpainter.C (RowPainter): adjust
6102         (leftMargin): simplify and adjust
6103         (most rowpainter functions): adjust.
6104
6105         * rowpainter.h: store the row as RowList::iterator not as Row*
6106
6107         * lyxcursor.C (row): taka RowList::iterator as arg
6108         (irow): ditto
6109
6110         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6111         of Row*.
6112
6113 2003-04-01  Angus Leeming  <leeming@lyx.org>
6114
6115         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6116         stuff like bool Bool.
6117
6118 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6119
6120         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6121         rewrite a loop
6122
6123 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6124
6125         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6126         RowList::iterator.
6127
6128         * lyxtext.h (rows): drop one version and leve a const variant that
6129         returns a RowList::iterator.
6130
6131 2003-03-31  Angus Leeming  <leeming@lyx.org>
6132
6133         * text.C (fill): ensure that the signature is the same as that in the
6134         header file.
6135
6136 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6137
6138         * text2.C (redoParagraphs): adjust
6139         (updateCounters): adjust
6140         (checkParagraph): adjust
6141         (getColumnNearX): adjust and reformat a bit.
6142
6143         * text.C (top_y): adjust
6144         (workWidth): adjust
6145         (leftMargin): adjust
6146         (prepareToPrint): adjust
6147         (getRow): adjust
6148         (getRowNearY): adjust
6149
6150         * lyxtext.h: make rowlist_ mutable.
6151
6152         * RowList.h: add const_iterator
6153         * RowList.C: adjust for RowList::const_iterator.
6154
6155         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6156         adjust.
6157
6158 2003-03-31  John Levon  <levon@movementarian.org>
6159
6160         * lyxrc.h:
6161         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6162
6163         * lyx_main.C: set default fonts from using lyx_gui funcs
6164
6165         * exporter.C: pdf_mode moved from lyxrc
6166
6167         * lyx_cb.C:
6168         * lyxfunc.C: changes from above
6169
6170 2003-03-31  John Levon  <levon@movementarian.org>
6171
6172         * lyx_main.C: fix to the last fix
6173
6174 2003-03-31  John Levon  <levon@movementarian.org>
6175
6176         * bufferlist.C: "Load original" -> "Load Original"
6177
6178         * converter.C:
6179         * exporter.C:
6180         * importer.C:
6181         * lyx_main.C:
6182         * format.C: more Alert cleanups
6183
6184 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6185
6186         * text2.C (removeParagraph): make it take a RowList::iterator as
6187         arg, adjust.
6188         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6189         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6190
6191         * text.C (anchor_row): make it take a RowList::iterator as arg,
6192         adjust.
6193         (computeBidiTables): make it take a const reference to Row instead
6194         of Row pointer, adjust.
6195         (leftMargin): make it take a RowList::iterator as arg, adjust.
6196         (rowBreakPoint): adjust
6197         (breakAgainOneRow): make it take a RowList::iterator as arg,
6198         adjust.
6199         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6200
6201         * bufferview_funcs.C (toggleAndShow): adjust
6202
6203 2003-03-30  John Levon  <levon@movementarian.org>
6204
6205         * Makefile.am:
6206         * BoostFormat.h:
6207         * boost-inst.C: moved to support
6208
6209         * several files: changes as a result
6210
6211 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6212
6213         * text2.C (LyXText): adjust.
6214         (init): adjust
6215         (removeRow): make it take a RowList::iterator as arg, adjust.
6216         (fullRebreak): adjust
6217         (deleteEmptyParagraphMechanism): adjust
6218         (clearPaint): adjust
6219         (postPaint): adjust
6220
6221         * text.C (top_y): adjust
6222         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6223         (breakAgain): make it take a RowList::iterator as arg, adjust.
6224         (breakParagraph): adjust
6225         (insertChar): adjust
6226         (backspace): adjust
6227
6228         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6229         need_break_row, and refresh_row.
6230
6231         * text3.C (dispatch): adjust
6232
6233         * text2.C (checkParagraph): adjust
6234         (setCursor): adjust
6235         (setCursorFromCoordinates): adjust
6236
6237         * text.C (top_y): adjust
6238         (workWidth): adjust
6239         (getRow): make it return a RowList::iterator, adjust
6240         (getRowNearY): make it return a RowList::iterator, adjust
6241
6242         * text2.C (init): adjust
6243         (insertRow): remove function
6244         (insertParagraph): adjust
6245         (redoParagraphs): adjust
6246         (fullRebreak): adjust
6247         (updateCounters): adjust
6248
6249         * text.C (top_y): rewrite to use RowList iterators.
6250         (top_y): adjust
6251         (setHeightOfRow): rewrite to sue RowList iterators.
6252         (appendParagraph): adjust
6253         (breakAgain): adjust
6254         (breakAgainOneRow): adjust
6255         (breakParagraph): adjust
6256         (getRow): adjust
6257         (getRowNearY): adjust, and remove commented code.
6258
6259         * lyxtext.h (firstRow): delete function
6260         (lastRow): delete function
6261         (rows): new function (const and non-const versions.)
6262         (insertRow): delete function
6263
6264         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6265
6266 2003-03-29  John Levon  <levon@movementarian.org>
6267
6268         * BufferView_pimpl.C: always update scrollbar top
6269         because pasting text when we're anchored could mean we
6270         miss an update altogether
6271
6272 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6273
6274         * text2.C (init): use rowlist_.end() and not 0.
6275         (insertRow): change to take a RowList::iterator as arg, adjust
6276         for this.
6277         (insertParagraph): change to take a RowList::iterator as arg,
6278         adjust for this.
6279         (redoParagraphs): remove some debug msgs.
6280
6281         * text.C (appendParagraph): change to take a RowList::iterator
6282         arg, adjust for this.
6283         (breakAgain): add an assert
6284         (breakAgainOneRow): ditto
6285
6286 2003-03-29  John Levon  <levon@movementarian.org>
6287
6288         * text2.C: do not clear selection after inc/decDepth
6289         (bug 550)
6290
6291 2003-03-29  John Levon  <levon@movementarian.org>
6292
6293         * BufferView.C:
6294         * buffer.C: fix broken strerrors according to Lars
6295
6296 2003-03-29  John Levon  <levon@movementarian.org>
6297
6298         * converters.C: more Alert cleanups
6299
6300 2003-03-29  John Levon  <levon@movementarian.org>
6301
6302         * bufferview_funcs.C: remove pointless Alert
6303
6304         * buffer.C: fix confusing error message when
6305         a template is chmoded 000
6306
6307 2003-03-29  John Levon  <levon@movementarian.org>
6308
6309         * BufferView.C:
6310         * BufferView.h:
6311         * BufferView_pimpl.C: Alert fixes
6312
6313         * Makefile.am:
6314         * tabular.C:
6315         * tabular-old.C: remove unused table compat reading
6316
6317 2003-03-29  John Levon  <levon@movementarian.org>
6318
6319         * BufferView.C:
6320         * buffer.C:
6321         * lyx_cb.h:
6322         * lyx_cb.C: more Alert cleanups
6323
6324         * lyxfunc.C: don't allow chktex if not latex document
6325
6326 2003-03-29  John Levon  <levon@movementarian.org>
6327
6328         * lyx_cb.C:
6329         * BufferView.C:
6330         * buffer.C: warnings pushed down from support/,
6331         kill err_alert
6332
6333 2003-03-29  John Levon  <levon@movementarian.org>
6334
6335         * lyxfunc.C: safety check for C-r (revert)
6336
6337 2003-03-29  John Levon  <levon@movementarian.org>
6338
6339         * bufferlist.h:
6340         * bufferlist.C: several UI fixes using Alert::prompt.
6341         Fix the pointless looping quit code. Fix stupid revert
6342         behaviour (bug 938)
6343
6344         * lyxvc.h:
6345         * lyxvc.C:
6346         * lyx_cb.C: use Alert::prompt
6347
6348         * lyx_main.C: remove a silly question
6349
6350         * lyxfunc.C: remove a couple of silly questions,
6351         use Alert::prompt
6352
6353 2003-03-28  John Levon  <levon@movementarian.org>
6354
6355         * text2.C: fix bug 974 (End on empty par)
6356
6357 2003-03-28  John Levon  <levon@movementarian.org>
6358
6359         * BufferView_pimpl.C:
6360         * LyXAction.C:
6361         * lfuns.h: remove do-nothing math greek lfuns
6362
6363 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6364
6365         * lyxgluelength.h (isValidGlueLength): add default arg on
6366         parameter 2. Remove default arg from friend in class.
6367
6368         * lyxlength.h (isValidLength): add default arg on parameter 2.
6369         Remove default arg from friend in class.
6370
6371         * text2.C (LyXText): adjust, initialize refresh_row.
6372         (init): adjust
6373         (removeRow): adjust
6374         (insertRow): adjust
6375         (insertParagraph): adjst
6376         (redoParagraphs): adjust
6377         (fullRebreak): adjust
6378         (updateCounters): adjust
6379         (deleteEmptyParagraphMechanism): first attempt at fixing a
6380         crashing bug.
6381
6382         * text.C (top_y): adjust
6383         (setHeightOfRow): adjust
6384         (getRow): adjust
6385         (getRowNearY): adjust
6386
6387         * lyxtext.h: include RowList.h
6388         (~LyXText): not needed anymore, deleted.
6389         (firstRow): modify for RowList
6390         (lastRow): new function
6391         Delete firstrow and lastrow class variables, add a Rowlist
6392         rowlist_ class variable.
6393
6394         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6395         paragraph is empty.
6396
6397         * RowList.C (insert): fix case where it == begin().
6398
6399 2003-03-26  Angus Leeming  <leeming@lyx.org>
6400
6401         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6402         the thesaurus dialog.
6403
6404 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6405
6406         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6407
6408         * RowList.[Ch]: new files
6409
6410         * ParagraphList.C (erase): handle the case where it == begin
6411         correctly.
6412
6413 2003-03-25  John Levon  <levon@movementarian.org>
6414
6415         * Makefile.am:
6416         * aspell_local.h:
6417         * aspell.C: add new aspell support
6418
6419         * lyxrc.h:
6420         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6421         have it accessible.
6422
6423 2003-03-25  Angus Leeming  <leeming@lyx.org>
6424
6425         * lfuns.h:
6426         * LyXAction.C (init): new LFUN_INSET_INSERT.
6427
6428         * BufferView_pimpl.C (dispatch): split out part of the
6429         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6430
6431         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6432         LFUN_INSET_APPLY.
6433
6434 2003-03-25  Angus Leeming  <leeming@lyx.org>
6435
6436         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6437
6438 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6439
6440         * text2.C:
6441         * text3.C: remove useless row->height(0)
6442
6443 2003-03-25  John Levon  <levon@movementarian.org>
6444
6445         * lyxtext.h:
6446         * text2.C:
6447         * text3.C: rename the refreshing stuff to better names
6448
6449 2003-03-24  John Levon  <levon@movementarian.org>
6450
6451         * BufferView_pimpl.h:
6452         * BufferView_pimpl.C: update layout choice on a mouse
6453         press/release
6454
6455 2003-03-23  John Levon  <levon@movementarian.org>
6456
6457         * Makefile.am: fix commandtags.h reference
6458
6459 2003-03-22  John Levon  <levon@movementarian.org>
6460
6461         * BufferView_pimpl.C:
6462         * lyxtext.h:
6463         * rowpainter.C:
6464         * rowpainter.h:
6465         * text.C:
6466         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6467
6468 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6469
6470         * lyxtext.h:
6471         * text.C: take the rtl methods out of line
6472
6473 2003-03-21 André Pönitz <poenitz@gmx.net>
6474
6475         * metricsinfo.[Ch]: new files containing structures to be passed around
6476         during the two-phase-drawing...
6477
6478 2003-03-21 André Pönitz <poenitz@gmx.net>
6479
6480         * lyxtextclass.C: read 'environment' tag.
6481
6482 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6483
6484         * text2.C (removeRow): fix bug 964
6485
6486 2003-03-20  John Levon  <levon@movementarian.org>
6487
6488         * rowpainter.C:
6489         * text.C:
6490         * text2.C: paint cleanups. Inset::update() dropped font
6491         parameter
6492
6493 2003-03-19  John Levon  <levon@movementarian.org>
6494
6495         * lyxfunc.C: only fitcursor/markDirty if available()
6496
6497 2003-03-19  John Levon  <levon@movementarian.org>
6498
6499         * commandtags.h: rename to ...
6500
6501         * lfuns.h: ... this, and renumber / cleanup
6502
6503 2003-03-19  John Levon  <levon@movementarian.org>
6504
6505         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6506         fit the cursor after an lfun
6507
6508         * BufferView.h:
6509         * BufferView.C:
6510         * BufferView_pimpl.h:
6511         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6512
6513         * LyXAction.C: layout-character should have ReadOnly
6514
6515         * ParagraphParameters.C:
6516         * buffer.C:
6517         * bufferview_funcs.C:
6518         * lyx_cb.C:
6519         * lyxfind.C:
6520         * lyxtext.h:
6521         * text.C:
6522         * text2.C:
6523         * text3.C:
6524         * undo_funcs.C: changes from above
6525
6526 2003-03-18  John Levon  <levon@movementarian.org>
6527
6528         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6529         remove it from update()
6530
6531         * lyxfunc.C: update layout choice after an lfun
6532
6533         * text3.C: remove extra updateLayoutChoice()s
6534
6535 2003-03-18  John Levon  <levon@movementarian.org>
6536
6537         * text.C: top_y change means full repaint, fix
6538         a drawing bug with cursor movement
6539
6540 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6541
6542         * lyxtext.h:
6543         * text.C:
6544         * text2.C: anchor row on setCursor
6545
6546 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6547
6548         * lyxtext.h: remove almost all mutable keywords
6549         * text.C:
6550         * text2.C:
6551         * text3.C: remove const keywords accordingly
6552
6553 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6554
6555         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6556         anon namespace
6557         (TeXEnvironment): ditto
6558         (TeXOnePar): ditto
6559
6560 2003-03-17  John Levon  <levon@movementarian.org>
6561
6562         * text.C (rowBreakPoint): remove attempt to fix displayed
6563         math insets inside a manual label
6564
6565 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6566
6567         * lyxtext.h: remove BufferView* as first arg from almost all class
6568         functions.
6569         * other files: adjust.
6570
6571 2003-03-17  John Levon  <levon@movementarian.org>
6572
6573         * lyxtext.h:
6574         * undo_funcs.C:
6575         * text2.C: more paint cleanups
6576
6577         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6578
6579         * rowpainter.h:
6580         * rowpainter.C: remove "smart" background painting code
6581
6582 2003-03-16  John Levon  <levon@movementarian.org>
6583
6584         * lyxtext.h:
6585         * text.C:
6586         * text2.C:
6587         * text3.C: add helper functions for setting refresh_row/y
6588
6589 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6590
6591         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6592         newline inset which *can* get inserted in the pass_thru layouts.
6593         This is primarily for literate documents.
6594
6595 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6596
6597         * buffer.C: increment LYX_FORMAT to 223
6598
6599 2003-03-14 André Pönitz <poenitz@gmx.net>
6600
6601         * textclass.h: prepare for environment handling, ws changes
6602         * lyxlayout.C: read latexheader and latexfooter tags
6603
6604 2003-03-14  John Levon  <levon@movementarian.org>
6605
6606         * text2.C: rewrite ::status() a bit
6607
6608 2003-03-13  John Levon  <levon@movementarian.org>
6609
6610         * lyxtext.h: add some docs
6611
6612 2003-03-13  John Levon  <levon@movementarian.org>
6613
6614         * lyxtext.h:
6615         * text.C:
6616         * text2.C:
6617         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6618
6619 2003-03-13  John Levon  <levon@movementarian.org>
6620
6621         * text3.C: fix appendix redrawing
6622
6623 2003-03-13  John Levon  <levon@movementarian.org>
6624
6625         * text.C (setHeightOfRow):
6626         * rowpainter.h:
6627         * rowpainter.C: make appendix mark have the text
6628           "Appendix" so the user knows what it is
6629
6630         * LColor.h:
6631         * LColor.C: s/appendixline/appendix/ from above
6632
6633 2003-03-13  John Levon  <levon@movementarian.org>
6634
6635         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6636
6637         * text.C: fix a getChar(pos) bug properly
6638
6639 2003-03-13  Angus Leeming  <leeming@lyx.org>
6640
6641         * commandtags.h:
6642         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6643         Probably only temporary. Let's see how things pan out.
6644
6645         * BufferView.C (unlockInset):
6646         * BufferView_pimpl.C (fitCursor):
6647         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6648
6649         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6650         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6651
6652         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6653         new functions that convert ParagraphParameters to and from a string.
6654
6655         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6656         BufferView::Pimpl's dispatch.
6657         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6658
6659 2003-03-13 André Pönitz <poenitz@gmx.net>
6660
6661         * lyxfunc.C:
6662         * text3.C:
6663         * factory.C: make it aware of InsetEnv
6664
6665 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6666
6667         * text2.C (setCursor): never ask for one past last
6668         (setCursor): add some debugging messages.
6669
6670         * text.C (singleWidth): never ask for one past last
6671         (singleWidth): ditto
6672         (leftMargin): ditto
6673         (rightMargin): ditto
6674         (rowBreakPoint): ditto
6675         (setHeightOfRow): ditto
6676         (prepareToPrint): ditto
6677
6678         * rowpainter.C (paintBackground): never ask for one past last
6679         (paintText): never ask for one past last
6680
6681         * paragraph_pimpl.C (getChar): make the assert stricter, never
6682         allow the one past last pos to be taken
6683
6684         * paragraph.C (getChar): ws changes only
6685
6686         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6687         (numberOfSeparators): ditto
6688         (numberOfHfills): ditto
6689
6690 2003-03-12  John Levon  <levon@movementarian.org>
6691
6692         * author.h:
6693         * author.C:
6694         * bufferparams.h:
6695         * bufferparams.C:
6696         * paragraph_funcs.C: fix per-buffer authorlists
6697
6698 2003-03-12  John Levon  <levon@movementarian.org>
6699
6700         * text.C: fix newline in right address
6701
6702 2003-03-12  Angus Leeming  <leeming@lyx.org>
6703
6704         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6705         duplicate those in LyXFunc::dispatch.
6706
6707         * commandtags.h:
6708         * LyXAction.C:
6709         * ToolbarDefaults.C:
6710         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6711         Add LFUN_FONTFREE_UPDATE.
6712
6713         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6714         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6715
6716         * bufferview_func.[Ch]: several new functions to facilliate
6717         transfer of data to and from the character dialog.
6718
6719 2003-03-12  John Levon  <levon@movementarian.org>
6720
6721         * buffer.C:
6722         * paragraph.h:
6723         * paragraph.C:
6724         * paragraph_funcs.C:
6725         * paragraph_pimpl.C:
6726         * sgml.C:
6727         * tabular.C:
6728         * text.C:
6729         * text3.C: remove META_NEWLINE in favour of an inset
6730
6731         * rowpainter.h:
6732         * rowpainter.C: remove paintNewline (done by inset)
6733
6734 2003-03-12  John Levon  <levon@movementarian.org>
6735
6736         * paragraph_pimpl.C: complain about bad getChar()s
6737         for a while at least
6738
6739 2003-03-12  John Levon  <levon@movementarian.org>
6740
6741         * buffer.h:
6742         * buffer.C: move paragraph read into a separate function,
6743         a little renaming to reflect that.
6744
6745         * bufferparams.h:
6746         * bufferparams.C: remove the author_ids map, not necessary now
6747
6748         * factory.h:
6749         * factory.C: moved Buffer::readInset to here
6750
6751         * paragraph_funcs.h:
6752         * paragraph_funcs.C: readParagraph free function moved from
6753         buffer.C
6754
6755         * tabular.C: name change
6756
6757 2003-03-12  John Levon  <levon@movementarian.org>
6758
6759         * buffer.C:
6760         * ParagraphParameters.C: move par params input to
6761         a read() method
6762
6763         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6764         behave like a normal read from the stream wrt reading
6765         a line vs. a \\token
6766
6767 2003-03-12  John Levon  <levon@movementarian.org>
6768
6769         * paragraph.C:
6770         * ParagraphParameters.h:
6771         * ParagraphParameters.C: move output code to a
6772         ::write() method
6773
6774 2003-03-12  John Levon  <levon@movementarian.org>
6775
6776         * BufferView.C (insertLyXFile):
6777         * buffer.h:
6778         * buffer.C:
6779         * tabular.C: use a parlist iterator for creating the
6780           document.
6781
6782 2003-03-12  John Levon  <levon@movementarian.org>
6783
6784         * buffer.C: make current_change static local not
6785           static file-scope
6786
6787 2003-03-12  John Levon  <levon@movementarian.org>
6788
6789         * buffer.C: fix insertStringAsLines for change tracking
6790
6791 2003-03-12  John Levon  <levon@movementarian.org>
6792
6793         * BufferView.C:
6794         * tabular.C:
6795         * buffer.h:
6796         * buffer.C:
6797         * bufferparams.h:
6798         * bufferparams.C: move author list into params. Rename some
6799           functions. Move the header reading into a separate token
6800           loop. Move the header token reading into BufferParams.
6801
6802 2003-03-12  John Levon  <levon@movementarian.org>
6803
6804         * changes.C: put debug inside lyxerr.debugging() checks
6805
6806 2003-03-11 André Pönitz <poenitz@gmx.net>
6807
6808         * factory.C: make it aware of InsetHFill
6809
6810 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6811
6812         * buffer.C (latexParagraphs): move function from here...
6813         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6814         args.
6815
6816 2003-03-10  Angus Leeming  <leeming@lyx.org>
6817
6818         * LyXAction.C (init): fix bug in poplating array with multiple entries
6819         with the same LFUN (spotted by JMarc).
6820
6821 2003-03-10  John Levon  <levon@movementarian.org>
6822
6823         * text.C:
6824         * text2.C: move getColumnNearX() near its
6825         only call site
6826
6827 2003-03-10  John Levon  <levon@movementarian.org>
6828
6829         * text.C: fix break before a minipage
6830
6831 2003-03-10  John Levon  <levon@movementarian.org>
6832
6833         * text.C: fix the last commit
6834
6835 2003-03-09  John Levon  <levon@movementarian.org>
6836
6837         * lyxtext.h:
6838         * text.C:
6839         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6840         bug 365 (don't break before insets unless needed). Don't
6841         return a value > last under any circumstances.
6842
6843 2003-03-09  Angus Leeming  <leeming@lyx.org>
6844
6845         * BufferView_pimpl.C (trackChanges, dispatch): call
6846         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6847
6848 2003-03-09  Angus Leeming  <leeming@lyx.org>
6849
6850         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6851         than Dialogs::showAboutlyx().
6852
6853 2003-03-09  Angus Leeming  <leeming@lyx.org>
6854
6855         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6856         than Dialogs::showTabularCreate().
6857
6858 2003-03-09  John Levon  <levon@movementarian.org>
6859
6860         * lyxtext.h:
6861         * text.C:
6862         * text2.C: 3rd arg to nextBreakPoint was always the same.
6863           Use references.
6864
6865 2003-03-08  John Levon  <levon@movementarian.org>
6866
6867         * lyxrow.C:
6868         * paragraph.C:
6869         * paragraph.h:
6870         * rowpainter.C:
6871         * text.C:
6872         * text2.C: Remove the "main" bit from the "main body"
6873           notion.
6874
6875 2003-03-08  John Levon  <levon@movementarian.org>
6876
6877         * text.C (leftMargin): The left margin of an empty
6878         manual label paragraph should not include the label width
6879         string length.
6880
6881         * text.C (prepareToPrint): don't attempt to measure hfills
6882         for empty manual label paragraphs - the answer should be 0
6883
6884 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6885
6886         * CutAndPaste.C: remove commented code and reindent.
6887
6888 2003-03-08  John Levon  <levon@movementarian.org>
6889
6890         * lyxfunc.h:
6891         * lyxfunc.C: move reloadBuffer()
6892
6893         * BufferView.h:
6894         * BufferView.C: to here
6895
6896         * lyxvc.C: add comment
6897
6898         * vc-backend.h:
6899         * vc-backend.C: call bv->reload() to avoid
6900           getStatus() check on MENURELOAD
6901
6902 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6903
6904         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6905         to an old format .dep file.
6906
6907 2003-03-07  Angus Leeming  <leeming@lyx.org>
6908
6909         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6910         when the LFUN_MOUSE_RELEASE should have been handled by
6911         inset->localDispatch.
6912
6913 2003-03-07  Angus Leeming  <leeming@lyx.org>
6914
6915         * BufferView_pimpl.C (dispatch):
6916         * LyXAction.C (init):
6917         * ToolbarDefaults.C (init):
6918         * commandtags.h:
6919         * lyxfunc.C (getStatus):
6920         remove LFUN_INSET_GRAPHICS.
6921
6922         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6923
6924 2003-03-07  Angus Leeming  <leeming@lyx.org>
6925
6926         * commandtags.h:
6927         * LyXAction.C (init):
6928         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6929
6930         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6931
6932         * commandtags.h:
6933         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6934
6935         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6936         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6937
6938 2003-03-07  Angus Leeming  <leeming@lyx.org>
6939
6940         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6941         remove "ert".
6942
6943 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6944
6945         * ParagraphList.C (front): new function
6946         (back): implement
6947
6948 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6949
6950         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6951         and top_row_offset_. removed var first_y.
6952         * text.C (top_y):
6953         * text2.C (LyXText, removeRow):
6954         * text3.C:
6955         * BufferView_pimpl.C:
6956         use these methods instead of using first_y
6957
6958 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6959
6960         * text2.C (pasteSelection): adjust for checkPastePossible
6961
6962         * CutAndPaste.C: remove Paragraph * buf and replace with
6963         ParagraphList paragraphs.
6964         (DeleteBuffer): delete
6965         (cutSelection): change the tc type to textclass_type
6966         (copySelection): change the tc type to textclass_type
6967         (copySelection): adjust for ParagraphList
6968         (pasteSelection): change the tc type to textclass_type
6969         (pasteSelection): adjust for Paragraphlist
6970         (nrOfParagraphs): simplify for ParagraphList
6971         (checkPastePossible): simplify for ParagraphList
6972         (checkPastePossible): remove unused arg
6973
6974         * ParagraphList.C (insert): handle the case where there are no
6975         paragraphs yet.
6976
6977         * CutAndPaste.h: make CutAndPaste a namespace.
6978
6979         * text3.C (dispatch): adjust
6980
6981         * text.C (breakParagraph): add a ParagraphList as arg
6982
6983         * paragraph_funcs.C (breakParagraph): change to take a
6984         BufferParams and a ParagraphList as args.
6985         (breakParagraphConservative): ditto
6986         (mergeParagraph): ditto
6987         (TeXDeeper): add a ParagraphList arg
6988         (TeXEnvironment): ditto
6989         (TeXOnePar): ditto
6990
6991         * buffer.C (readLyXformat2): adjust
6992         (insertStringAsLines): adjust
6993         (latexParagraphs): adjust
6994
6995         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6996         (cutSelection): adjust
6997         (pasteSelection): adjust
6998
6999         * BufferView_pimpl.C (insertInset): adjust
7000
7001 2003-03-05  Angus Leeming  <leeming@lyx.org>
7002
7003         * commandtags.h:
7004         * LyXAction.C (init):
7005         * BufferView_pimpl.C (dispatch):
7006         * lyxfunc.C (getStatus):
7007         remove LFUN_CHILD_INSERT.
7008
7009         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7010
7011 2003-03-05  Angus Leeming  <leeming@lyx.org>
7012
7013         * commandtags.h:
7014         * LyXAction.C (init):
7015         * src/factory.C (createInset):
7016         * lyxfunc.C (getStatus):
7017         * text3.C (dispatch):
7018         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7019
7020         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7021
7022 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7023
7024         * ParagraphList.C (insert): handle insert right before end()
7025         (erase): fix cases where it can be first or last paragraph.
7026
7027 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7028
7029         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7030         Paragraph::next and Paragraph::previous
7031         (TeXOnePar): ditto
7032
7033         * text.C (breakParagraph): adjust
7034
7035         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7036         BufferParams& as arg.
7037         (breakParagraph): use ParagraphList::insert
7038         (breakParagraphConservative): take a Buffer* instead of a
7039         BufferParams& as arg.
7040         (breakParagraphConservative): use ParagraphList::insert.
7041
7042         * buffer.C (insertStringAsLines): un-const it
7043         (insertStringAsLines): adjust
7044
7045         * ParagraphList.C (insert): new function
7046
7047         * CutAndPaste.C (pasteSelection): adjust
7048
7049         * text.C (backspace): adjust
7050
7051         * tabular.C (SetMultiColumn): adjust
7052
7053         * CutAndPaste.C (cutSelection): adjust
7054         (pasteSelection): adjust
7055
7056         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7057         Buffer const * as arg
7058
7059         * ParagraphList.C (erase): new function
7060         * paragraph_funcs.C (mergeParagraph): use it
7061         (mergeParagraph): make it take a Buffer* instead of a
7062         BufferParams* as arg
7063
7064         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7065         as arg
7066         (breakParagraphConservative): ditto
7067
7068         * paragraph.h: remove the breakParagraph friend
7069
7070         * paragraph.C (eraseIntern): new function
7071         (setChange): new function
7072
7073         * paragraph_funcs.C (mergeParagraph): make it take a
7074         ParagraphList::iterator instead of a Paragraph *, adjust
7075         accordingly.
7076
7077         * paragraph.h: move an #endif so that the change tracking stuff
7078         also works in the NO_NEXT case.
7079
7080 2003-03-04  Angus Leeming  <leeming@lyx.org>
7081
7082         * commandtags.h:
7083         * LyXAction.C: new LFUN_INSET_MODIFY.
7084
7085         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7086         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7087
7088 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7089
7090         * several files: ws changes only
7091
7092         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7093         (TeXEnvironment): ditto
7094         (TeXDeeper): ditto
7095
7096         * buffer.C (makeLaTeXFile): adjust
7097         (latexParagraphs): make it take ParagraphList::iterator as args
7098
7099 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7100
7101         * buffer.C (latexParagraphs): adjust
7102
7103         * paragraph.C (TeXOnePar): move function...
7104         (optArgInset): move function...
7105         (TeXEnvironment): move function...
7106         * paragraph_pimpl.C (TeXDeeper): move function...
7107         * paragraph_funcs.C: ...here
7108
7109         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7110
7111 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7112
7113         * buffer.C (readInset): remove compability code for old Figure and
7114         InsetInfo insets
7115
7116 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7117
7118         * buffer.C: ws changes
7119         (readInset):
7120
7121         * BufferView_pimpl.C: ditto
7122         * author.C: ditto
7123         * buffer.h: ditto
7124         * bufferlist.h: ditto
7125         * changes.h: ditto
7126         * lyxfunc.C: ditto
7127
7128 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7129
7130         * converter.[Ch]: split into itself +
7131         * graph.[Ch]
7132         * format.[Ch]
7133         * Makefile.am: += graph.[Ch] + format.[Ch]
7134         * MenuBackend.C
7135         * buffer.C
7136         * exporter.C
7137         * importer.C
7138         * lyx_main.C
7139         * lyxfunc.C
7140         * lyxrc.C: added #include "format.h"
7141
7142 2003-02-27  Angus Leeming  <leeming@lyx.org>
7143
7144         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7145           a label.
7146
7147         * factory.C (createInset): add "label" to the factory.
7148
7149         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7150           string and do no more.
7151
7152 2003-02-27  Angus Leeming  <leeming@lyx.org>
7153
7154         * commandtags.h:
7155         * LyXAction.C (init):
7156         * factory.C (createInset):
7157         * BufferView_pimpl.C (dispatch):
7158           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7159
7160         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7161
7162         * lyxfunc.C (dispatch):
7163         * text3.C (dispatch): pass name to params2string.
7164
7165 2003-02-26  Angus Leeming  <leeming@lyx.org>
7166
7167         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7168           blocks together.
7169           Rearrange the ~includes. Strip out the unnecessary ones.
7170
7171         * factory.C (createInset): reformat.
7172           create new insets for the various LFUN_XYZ_APPLY lfuns.
7173
7174 2003-02-26  John Levon  <levon@movementarian.org>
7175
7176         * lyxrow.h:
7177         * lyxrow.C: add isParStart,isParEnd helpers
7178
7179         * paragraph.h: make isInserted/DeletedText take refs
7180
7181         * paragraph_funcs.h:
7182         * paragraph_funcs.C: remove #if 0'd code
7183
7184         * lyxtext.h:
7185         * text3.C:
7186         * text2.C:
7187         * text.C: use lyxrow helpers above.
7188           Move draw and paint routines to RowPainter.
7189           Make several methods use refs not pointers.
7190           Make backgroundColor() const.
7191           Add markChangeInDraw(), isInInset().
7192           Merge changeRegionCase into changeCase.
7193           Make workWidth() shouldn't-happen code into an Assert.
7194
7195         * rowpainter.h:
7196         * rowpainter.C: new class for painting a row.
7197
7198         * vspace.h:
7199         * vspace.C: make inPixels take a ref
7200
7201 2003-02-26  Angus Leeming  <leeming@lyx.org>
7202
7203         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7204         LFUN_REF_APPLY.
7205
7206 2003-02-25  John Levon  <levon@movementarian.org>
7207
7208         * ispell.C: give the forked command a more accurate name
7209
7210 2003-02-22  John Levon  <levon@movementarian.org>
7211
7212         * toc.h:
7213         * toc.C: make TocItem store an id not a Paragraph *
7214           (bug #913)
7215
7216 2003-02-21  Angus Leeming  <leeming@lyx.org>
7217
7218         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7219           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7220           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7221           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7222           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7223           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7224
7225         * BufferView_pimpl.C (dispatch):
7226         * LyXAction.C (init):
7227         * factory.C (createInset):
7228         * lyxfunc.C (getStatus, dispatch):
7229         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7230
7231 2003-02-21  Angus Leeming  <leeming@lyx.org>
7232
7233         * BufferView_pimpl.C (MenuInsertLyXFile):
7234         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7235         * lyxfunc.C (menuNew, open, doImport):
7236           no longer pass a LyXView & to fileDlg.
7237
7238 2003-02-21  Angus Leeming  <leeming@lyx.org>
7239
7240         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7241         * LyXAction.C: change, BIBKEY to BIBITEM.
7242         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7243         Change InsetBibKey to InsetBibitem.
7244         Change BIBKEY_CODE to BIBITEM_CODE.
7245         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7246         * factory.C: replace insetbib.h with insetbibitem.h.
7247         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7248         * paragraph.C: replace insetbib.h with insetbibitem.h.
7249         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7250         Change bibkey() to bibitem().
7251         * text.C: remove insetbib.h.
7252         * text2.C: replace insetbib.h with insetbibitem.h.
7253         change bibkey() to bibitem().
7254         * text3.C: remove insetbib.h.
7255         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7256
7257 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7258
7259         * lyxrc.C (output): enclose user email in quotes (in case there are
7260         several words)
7261
7262 2003-02-18  John Levon  <levon@movementarian.org>
7263
7264         * buffer.h: add std::
7265
7266 2003-02-17  John Levon  <levon@movementarian.org>
7267
7268         * SpellBase.h:
7269         * ispell.h:
7270         * ispell.C:
7271         * pspell.h:
7272         * pspell.C: reworking. Especially in ispell, a large
7273           number of clean ups and bug fixes.
7274
7275         * lyxfunc.C: fix revert to behave sensibly
7276
7277 2003-02-17 André Pönitz <poenitz@gmx.net>
7278
7279         * LyXAction.C:
7280         * commandtags.h: new LFUN_INSERT_BIBKEY
7281
7282         * layout.h:
7283         * lyxlayout.C:
7284         * buffer.C:
7285         * factory.C:
7286         * text.C:
7287         * text2.C:
7288         * text3.C:
7289         * paragraph.[Ch]:
7290         * paragraph_func.C: remove special bibkey handling
7291
7292 2003-02-17  John Levon  <levon@movementarian.org>
7293
7294         * text.C (Delete): fix case where delete at the end of
7295           the very first paragraph would not merge the pars
7296
7297 2003-02-17  John Levon  <levon@movementarian.org>
7298
7299         * lyxrow.C: fix lastPrintablePos()
7300
7301 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7302
7303         * bufferparams.C (writeLaTeX): add a std:here
7304
7305         * buffer.C: and remove a using directive there
7306
7307 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7308
7309         * buffer.C (makeLaTeXFile): move the code that generates the
7310           preamble...
7311
7312         * bufferparams.C (writeLaTeX): ... in this new method
7313
7314         * LaTeXFeatures.C (getEncodingSet): make const
7315           (getLanguages): make const
7316
7317         * MenuBackend.C (binding): returns the binding associated to this
7318           action
7319           (add): sets the status of each item by calling getStatus. Adds
7320           some intelligence.
7321           (read): add support for OptSubMenu
7322           (expand): remove extra separator at the end of expanded menu
7323
7324 2003-02-15  John Levon  <levon@movementarian.org>
7325
7326         * BufferView.C:
7327         * BufferView_pimpl.C:
7328         * bufferlist.h:
7329         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7330           inset code that had no actual effect. Remove unneeded status
7331           code.
7332
7333 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7334
7335         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7336           in preamble
7337
7338 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7339
7340         * text.C (drawLengthMarker): also draw an arrow marker for
7341           symbolic lengths (medskip...)
7342
7343 2003-02-14  John Levon  <levon@movementarian.org>
7344
7345         * tabular.h:
7346         * tabular.C: better method names
7347
7348 2003-02-14  John Levon  <levon@movementarian.org>
7349
7350         * BufferView_pimpl.C:
7351         * bufferlist.C:
7352         * buffer.C:
7353         * converter.C:
7354         * lyx_cb.C:
7355         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7356           it's a more accurate name. Remove some pointless uses.
7357
7358 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7359
7360         * text2.C (LyXText): change order of initilizers to shut off
7361           warnings
7362
7363 2003-02-14  John Levon  <levon@movementarian.org>
7364
7365         * buffer.C: use ParIterator for getParFromID()
7366
7367         * paragraph.h:
7368         * paragraph.C:
7369         * paragraph_pimpl.h:
7370         * paragraph_pimpl.C: remove unused getParFromID()
7371
7372 2003-02-14  John Levon  <levon@movementarian.org>
7373
7374         * buffer.C: remove some very old #if 0'd parse code
7375
7376 2003-02-13  John Levon  <levon@movementarian.org>
7377
7378         * text.h:
7379         * text.C:
7380         * text2.C: move hfillExpansion(), numberOfSeparators(),
7381           rowLast(), rowLastPrintable(), numberofHfills(),
7382           numberOfLabelHfills() ...
7383
7384         * lyxrow.h:
7385         * lyxrow.C: ... to member functions here.
7386
7387         * paragraph.h:
7388         * paragraph.C:
7389         * lyxtext.h:
7390         * text.C: remove LyXText::beginningOfMainBody(), and call
7391           p->beginningOfMainBody() directly. Move the check for
7392           LABEL_MANUAL into the latter.
7393
7394         * text.h:
7395         * text.C:
7396         * text2.C:
7397         * vspace.C:
7398         * BufferView.h:
7399         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7400
7401         * text.h:
7402         * text.C:
7403         * text2.C:
7404         * text3.C:
7405         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7406           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7407
7408 2003-02-13  John Levon  <levon@movementarian.org>
7409
7410         * CutAndPaste.C: remove debug
7411
7412 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7413
7414         * paragraph.C (asString): remove two unused variables
7415
7416         * lyxtextclass.C (readTitleType):
7417           (Read):
7418           (LyXTextClass): handle new members titletype_ and titlename_
7419
7420         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7421
7422 2003-02-09  John Levon  <levon@movementarian.org>
7423
7424         * buffer.h:
7425         * buffer.C: replace hand-coded list with a map for the dep clean
7426
7427 2003-02-08  John Levon  <levon@movementarian.org>
7428
7429         * LaTeX.C: consolidate code into showRunMessage() helper
7430
7431 2003-02-08  John Levon  <levon@movementarian.org>
7432
7433         * lyxfind.C:
7434         * lyxtext.h:
7435         * text2.C:
7436         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7437           and pass the size in explicitly
7438
7439         * BufferView_pimpl.h:
7440         * BufferView_pimpl.C:
7441         * BufferView.h:
7442         * BufferView.C: add getCurrentChange()
7443
7444         * BufferView_pimpl.h:
7445         * BufferView_pimpl.C: handle change lfuns
7446
7447         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7448           for changes. Mark pasted paragraphs as new.
7449
7450         * support/lyxtime.h:
7451         * support/lyxtime.C:
7452         * DepTable.C: abstract time_t as lyx::time_type
7453
7454         * LColor.h:
7455         * LColor.C: add colours for new text, deleted text, changebars
7456
7457         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7458           package use "usenames" option.
7459
7460         * commandtags.h:
7461         * lyxfunc.C:
7462         * LyXAction.C: add change lfuns
7463
7464         * Makefile.am:
7465         * author.h:
7466         * author.C: author handling
7467
7468         * buffer.h:
7469         * buffer.C: add a per-buffer author list, with first entry as
7470           current author. Handle new .lyx tokens for change tracking. Output
7471           author list to .lyx file. Output dvipost stuff to .tex preamble.
7472           Bump lyx format to 222.
7473
7474         * bufferlist.h:
7475         * bufferlist.C: add setCurrentAuthor() to reset current author details
7476           in all buffers.
7477
7478         * bufferparams.h:
7479         * bufferparams.C: add param for tracking
7480
7481         * bufferview_funcs.C: output change info in minibuffer
7482
7483         * Makefile.am:
7484         * changes.h:
7485         * changes.C: add change-tracking structure
7486
7487         * debug.h:
7488         * debug.C: add CHANGES debug flag
7489
7490         * lyxfind.h:
7491         * lyxfind.C: add code for finding the next change piece
7492
7493         * lyxrc.h:
7494         * lyxrc.C: add user_name and user_email
7495
7496         * lyxrow.h:
7497         * lyxrow.C: add a metric for the top of the text line
7498
7499         * lyxtext.h:
7500         * text.C: implement accept/rejectChange()
7501
7502         * lyxtext.h:
7503         * text.C: paint changebars. Paint new/deleted text in the chosen
7504         colours. Strike through deleted text.
7505
7506         * paragraph.h:
7507         * paragraph.C:
7508         * paragraph_pimpl.h:
7509         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7510           in the current change to the insert functions. Rework erase to
7511           mark text as deleted, adding an eraseIntern() and a range-based
7512           erase(). Implement per-paragraph change lookup and
7513           accept/reject.
7514
7515         * paragraph_funcs.C: Fixup paste for change tracking.
7516
7517         * tabular.C: mark added row/columns as new.
7518
7519         * text.C: fix rowLast() to never return -1. Don't allow
7520           spellchecking of deleted text. Track transpose changes. Don't
7521           allow paragraph break or merge where appropriate.
7522
7523         * text2.C: leave cursor at end of selection after a cut.
7524
7525 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7526
7527         * text.C (getLengthMarkerHeight):
7528         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7529         visible on screen too.
7530
7531 2003-02-07  John Levon  <levon@movementarian.org>
7532
7533         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7534
7535 2003-02-05  Angus Leeming  <leeming@lyx.org>
7536
7537         * lyxserver.C (read_ready): revert my patch of 11 September last year
7538         as it sends PC cpu through the roof. Presumably this means that
7539         the lyxserver will no longer run on an Alpha...
7540
7541 2003-01-30  Angus Leeming  <leeming@lyx.org>
7542
7543         * factory.C (createInset): create an InsetCommandParam of type "index"
7544         and use it to 'do the right thing'.
7545
7546         * text2.C (getStringToIndex): ensure that cursor position is always
7547         reset to the reset_cursor position.
7548
7549 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7550
7551         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7552         disabled.
7553
7554 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7555
7556         * bufferview.C:
7557         * lyxcb.C:
7558         * lyxfunc.C: Output messages with identical spelling, punctuation,
7559         and spaces
7560
7561 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7562
7563         * MenuBackend.C (expandFormats): List only viewable export formats
7564         in "View" menu
7565
7566         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7567         message
7568
7569         * lyxfunc.C (getStatus): Make sure that formats other than
7570         "fax" can also be disabled
7571
7572 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7573
7574         * text3.C (dispatch): put the lfuns that insert insets in 3
7575         groups, and call doInsertInset with appropriate arguments.
7576         (doInsertInset): new function, that creates an inset and inserts
7577         it according to some boolean parameters.
7578
7579 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7580
7581         * buffer.C (readFile): remember to pass on 'par' when calling
7582         readFile recursively.
7583
7584 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7585
7586         * MenuBackend.C (expandFormats): add "..." to import formats.
7587
7588 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7589
7590         * paragraph.C (asString): Remove XForms RTL hacks.
7591
7592 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7593         * buffer.C: fix typo
7594
7595 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7596
7597         * Makefile.am (LIBS): delete var
7598         (lyx_LDADD): add @LIBS@ here instead.
7599
7600 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7601
7602         * Clarify the meaning of "wheel mouse jump"
7603
7604 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7605
7606         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7607         tabular in a float
7608
7609 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7610
7611         * importer.C (Loaders): do not preallocate 3 elements in the
7612         vector, since one ends up with 6 elements otherwise
7613
7614 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7615
7616         * DepTable.C (write): write the file name as last element of the
7617         .dep file (because it may contain spaces)
7618         (read): read info in the right order
7619
7620 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7621
7622         * paragraph_pimpl.C (simpleTeXBlanks):
7623         (simpleTeXSpecialChars):
7624         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7625
7626         * tabular.C (latex): add some missing case statements. Reindent.
7627
7628         * MenuBackend.C (expandToc): remove unused variable.
7629
7630 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7631
7632         * LColor.C:
7633         * LaTeX.C:
7634         * LyXAction.C:
7635         * MenuBackend.C:
7636         * buffer.C:
7637         * exporter.C:
7638         * lyxfunc.C:
7639         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7640         and the like.
7641
7642 2003-01-05  John Levon  <levon@movementarian.org>
7643
7644         * BufferView.h:
7645         * BufferView.C: add getEncoding()
7646
7647         * kbsequence.h:
7648         * kbsequence.C: do not store last keypress
7649
7650         * lyxfunc.h:
7651         * lyxfunc.C: store last keypress here instead. Pass encoding
7652           to getISOEncoded()
7653
7654 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7655
7656         * lyx_main.C (init): remove annoying error message when following
7657         symbolic links (bug #780)
7658
7659 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7660
7661         * text.C (insertChar):
7662         * lyxrc.C (getDescription): remove extra spaces
7663
7664 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7665
7666         * lyxrc.C (getDescription): remove extra spaces
7667
7668 2002-12-20  John Levon  <levon@movementarian.org>
7669
7670         * text3.C: hack fix for page up/down across tall rows
7671
7672 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7673
7674         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7675         not been invoked
7676
7677 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7678
7679         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7680         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7681         thesaurus is not compiled in
7682
7683 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7684
7685         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7686
7687 2002-12-16  Angus Leeming  <leeming@lyx.org>
7688
7689         * lyxrc.[Ch]:
7690         * lyx_main.C (init): remove override_x_deadkeys stuff.
7691
7692 2002-12-12  John Levon  <levon@movementarian.org>
7693
7694         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7695           insert. Only remove shift modifier under strict
7696           circumstances.
7697
7698 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7699
7700         * MenuBackend.C (expandToc): fix crash.
7701
7702 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7703
7704         * MenuBackend.C (expandToc): gettext on float names.
7705
7706 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7707
7708         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7709         implement bool empty() [bug 490]
7710
7711 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7712
7713         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7714
7715 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7716
7717         * several files: ws changes
7718
7719 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7720
7721         * text2.C (setCounter): clean up a bit, use boost.format.
7722         (updateCounters): initialize par upon declaration.
7723
7724         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7725         if the layout exists. We do not just store the layout any more.
7726         (SwitchLayoutsBetweenClasses): use boost.format
7727
7728 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7729
7730         * converter.C (convert): if from and to files are the same, use a
7731         temporary files as intermediary
7732
7733 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7734
7735         * commandtags.h:
7736         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7737
7738 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7739
7740         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7741
7742 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7743
7744         * tabular.C (asciiPrintCell): use string(size, char) instead of
7745         explicit loop.
7746
7747         * sgml.C (openTag): fix order of arguments to string constructor
7748         (closeTag): ditto
7749
7750         * lyxfunc.C (dispatch): use boost.format
7751
7752         * lots of files: change "c" -> 'c'
7753
7754 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7755
7756         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7757
7758 2002-11-25  Angus Leeming  <leeming@lyx.org>
7759
7760         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7761
7762         * lyx_main.C (init): compile fix.
7763
7764 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7765
7766         * lyx_cb.C (start): boost.formatify
7767         do not include <iostream>
7768
7769         * lengthcommon.C: ws only
7770
7771         * boost-inst.C,BoostFormat.h: add more explict instantations
7772
7773 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7774
7775         * lots of files: handle USE_BOOST_FORMAT
7776
7777 2002-11-21  John Levon  <levon@movementarian.org>
7778
7779         * pspell.C: fix compile
7780
7781 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7782
7783         * lyxfunc.C (dispatch): use boost::format
7784         (open): ditto
7785         (doImport): ditto
7786
7787         * lyxfont.C (stateText): use boost::format
7788
7789         * lyx_main.C (LyX): use boost::format
7790         (init): ditto
7791         (queryUserLyXDir): ditto
7792         (readRcFile): ditto
7793         (parse_dbg): ditto
7794         (typedef boost::function): use the recommened syntax.
7795
7796         * importer.C (Import): use boost::format
7797
7798         * debug.C (showLevel): use boost::format
7799
7800         * converter.C (view): use boost::format
7801         (convert): ditto
7802         (move): ditto
7803         (scanLog): ditto
7804
7805         * bufferview_funcs.C (currentState): use boost::format
7806
7807         * bufferlist.C (emergencyWrite): use boost::format
7808
7809         * buffer.C (readLyXformat2): use boost::format
7810         (parseSingleLyXformat2Token): ditto
7811
7812         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7813
7814         * LaTeX.C (run): use boost::format
7815
7816         * Chktex.C (scanLogFile): use boost::format
7817
7818         * BufferView_pimpl.C (savePosition): use boost::format
7819         (restorePosition): ditto
7820         (MenuInsertLyXFile): ditto
7821
7822         * BoostFormat.h: help file for explicit instation.
7823
7824 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7825
7826         * tabular.C (latex): Support for block alignment in fixed width
7827         columns.
7828
7829 2002-11-17  John Levon  <levon@movementarian.org>
7830
7831         * BufferView_pimpl.C:
7832         * lyx_cb.C:
7833         * lyxfunc.C: split filedialog into open/save
7834
7835 2002-11-08  Juergen Vigna  <jug@sad.it>
7836
7837         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7838         by my last patch (hopefully).
7839
7840 2002-11-08  John Levon  <levon@movementarian.org>
7841
7842         * iterators.h:
7843         * iterators.C:
7844         * buffer.h:
7845         * buffer.C:
7846         * paragraph.h:
7847         * paragraph.C:
7848         * toc.h:
7849         * toc.C: ParConstIterator, and use it (from Lars)
7850
7851 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7852
7853         * lyxtextclass.[Ch]: revise and add doxygen comments
7854
7855 2002-11-07  John Levon  <levon@movementarian.org>
7856
7857         * text.C: fix progress value for spellchecker
7858
7859         * toc.C: fix navigate menu for insetwrap inside minipage
7860
7861         * paragraph_funcs.C: added FIXME for suspect code
7862
7863 2002-11-07  John Levon  <levon@movementarian.org>
7864
7865         * BufferView_pimpl.C: fix redrawing of insets
7866           on buffer switch
7867
7868 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7869
7870         * text2.C (updateCounters): fix bug 668
7871
7872 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7873
7874         * text3.C (dispatch): Do not make the buffer dirty when moving the
7875         cursor.
7876
7877 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7878
7879         * vc-backend.C: STRCONV
7880         (scanMaster): ditto
7881
7882         * text2.C (setCounter): STRCONV
7883
7884         * paragraph.C (asString): STRCONV
7885
7886         * lyxlength.C (asString): STRCONV
7887         (asLatexString): ditto
7888
7889         * lyxgluelength.C (asString): STRCONV
7890         (asLatexString): ditto
7891
7892         * lyxfunc.C (dispatch): STRCONV
7893         (open): ditto
7894
7895         * lyxfont.C (stateText): STRCONV
7896
7897         * importer.C (Import): STRCONV
7898
7899         * counters.C (labelItem): STRCONV
7900         (numberLabel): ditto
7901         (numberLabel): remove unused ostringstream o
7902
7903         * chset.C: STRCONV
7904         (loadFile): ditto
7905
7906         * bufferview_funcs.C (currentState): STRCONV
7907
7908         * buffer.C (readFile): STRCONV
7909         (asciiParagraph): ditto
7910         (makeLaTeXFile): ditto
7911
7912         * Spacing.C (writeEnvirBegin): STRCONV
7913
7914         * LaTeXFeatures.C (getLanguages): STRCONV
7915         (getPackages): ditto
7916         (getMacros): ditto
7917         (getBabelOptions): ditto
7918         (getTClassPreamble): ditto
7919         (getLyXSGMLEntities): ditto
7920         (getIncludedFiles): ditto
7921
7922         * LaTeX.C: STRCONV
7923         (run): ditto
7924         (scanAuxFile): ditto
7925         (deplog): ditto
7926
7927         * LString.h: add the STRCONV macros
7928
7929         * BufferView_pimpl.C (savePosition): STRCONV
7930         (restorePosition): ditto
7931         (MenuInsertLyXFile): ditto
7932
7933         * vc-backend.C (scanMaster): change from submatch[...] to
7934         submatch.str(...)
7935
7936         * funcrequest.C: include config.h
7937
7938         * factory.C: include config.h
7939
7940         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7941
7942         * box.C: include config.h
7943
7944         * LaTeX.C (scanAuxFile): change from submatch[...] to
7945         submatch.str(...)
7946         (deplog): ditto
7947
7948 2002-10-25  Angus Leeming  <leeming@lyx.org>
7949
7950         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7951
7952         * ispell.[Ch] (setError): new method.
7953         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7954         Use setError() insetead of goto END.
7955
7956         * lyx_cb.C (AutoSave): move out child process into new class
7957         AutoSaveBuffer.
7958
7959 2002-10-30  John Levon  <levon@movementarian.org>
7960
7961         * text3.C: make start appendix undoable
7962
7963 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7964
7965         * lyxlength.C (inPixels): Fix returned value.
7966
7967         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7968         environment.
7969
7970 2002-10-24  Angus Leeming  <leeming@lyx.org>
7971
7972         * lyxgluelength.h: no need to forward declare BufferParams
7973         or BufferView, so don't.
7974
7975 2002-10-21  John Levon  <levon@movementarian.org>
7976
7977         * BufferView.C: menuUndo ->undo, redo
7978
7979         * BufferView.h: document, remove dead, make some methods private
7980
7981         * paragraph_funcs.h:
7982         * paragraph_funcs.C:
7983         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7984
7985         * buffer.h:
7986         * buffer.C:
7987         * sgml.h:
7988         * sgml.C: move sgml open/close tag into sgml.C
7989
7990         * bufferview_funcs.h: unused prototype
7991
7992         * lyxfunc.h:
7993         * lyxfunc.C: remove unused
7994
7995         * lyxtext.h:
7996         * text.C: remove unused
7997
7998 2002-10-21  John Levon  <levon@movementarian.org>
7999
8000         * BufferView.h:
8001         * BufferView.C:
8002         * BufferView_pimpl.h:
8003         * BufferView_pimpl.C: fix mouse wheel handling based on
8004           patch from Darren Freeman
8005
8006 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8007
8008         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8009
8010 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8011
8012         * lyxlength.C (inPixels): Fix hanfling of negative length.
8013         Fix LyXLength::MU case.
8014
8015 2002-10-16  John Levon  <levon@movementarian.org>
8016
8017         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8018
8019 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8020
8021         * converter.C (view): add support for $$i (file name) and $$p
8022         (file path) for the viewer command. If $$i is not specified, then
8023         it is appended to the command (for compatibility with old syntax)
8024
8025 2002-10-14  Juergen Vigna  <jug@sad.it>
8026
8027         * undo_funcs.C (textHandleUndo): alter the order in which the
8028         new undopar is added to the LyXText, as we have to set first
8029         the right prev/next and then add it as otherwise the rebuild of
8030         LyXText is not correct. Also reset the cursor to the right paragraph,
8031         with this IMO we could remove the hack in "redoParagraphs()".
8032
8033 2002-10-09  Angus Leeming  <leeming@lyx.org>
8034
8035         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8036         to turn off an optimisation if a new inset is to be inserted.
8037
8038 2002-10-11 André Pönitz <poenitz@gmx.net>
8039
8040         * lyxtext.h: make some functions public to allow access
8041         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8042
8043 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8044
8045         * text3.C (dispatch): when changing layout, avoid an infinite loop
8046         [bug #652]
8047
8048 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8049
8050         * lyxrc.C (read): treat a viewer or converter command of "none" as
8051         if it were empty.
8052
8053         * MenuBackend.C (expandFormats): for an update, also allow the
8054         formats that are not viewable
8055
8056         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8057         script if it is newer than the lyxrc.defaults in user directory
8058
8059 2002-10-07 André Pönitz <poenitz@gmx.net>
8060
8061         * text.C: Vitaly Lipatov's small i18n fix
8062
8063 2002-09-25  Angus Leeming  <leeming@lyx.org>
8064
8065         * ispell.h: doxygen fix.
8066
8067 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8068
8069         * buffer.h (readFile): Add a new argument to the method, to allow
8070         reading of old-format templates.
8071
8072 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8073
8074         * toc.C (getTocList): Get TOC from InsetWrap.
8075
8076 2002-09-16  John Levon  <levon@movementarian.org>
8077
8078         * lyxfunc.C: check tabular for cut/copy too
8079
8080 2002-09-12  John Levon  <levon@movementarian.org>
8081
8082         * LyXAction.C: tidy
8083
8084         * factory.h:
8085         * factory.C: add header
8086
8087         * paragraph_funcs.h:
8088         * paragraph_funcs.C: cleanup
8089
8090 2002-09-11  John Levon  <levon@movementarian.org>
8091
8092         * PrinterParams.h: odd/even default to true
8093
8094 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8095
8096         * PrinterParams.h: update printer parameters for new xforms dialog
8097
8098 2002-09-11  Angus Leeming  <leeming@lyx.org>
8099
8100         * lyxserver.C (read_ready): re-write to make it more transparent
8101         and to make it work in coherent fashion under Tru64 Unix.
8102
8103 2002-09-11  André Pönitz <poenitz@gmx.net>
8104
8105         * commandtags.h:
8106         * LyXAction.C:
8107         * text3.C: implement LFUN_WORDSEL
8108
8109 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8110
8111         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8112         make floatlist_ a boost::shared_ptr<FloatList>
8113
8114         * lyxtextclass.C: include FloatList.h
8115         (LyXTextClass): initialize floatlist_
8116         (TextClassTags): add TC_NOFLOAT
8117         (Read): match "nofloat" to TC_NOFLOAT and use it.
8118         (readFloat): modify call to floatlist_
8119         (floats): ditto
8120         (floats): ditto
8121
8122         * FloatList.[Ch] (FloatList): remove commented out float
8123         initialization.
8124         (erase): new function
8125
8126 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8127
8128         * MenuBackend.C (expandToc): fix crash when there is no document
8129         open
8130
8131 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8132
8133         * many files: Add insetwrap.
8134
8135 2002-09-09  John Levon  <levon@movementarian.org>
8136
8137         * text2.C: remove confusing and awkward depth wraparound
8138
8139 2002-09-09  John Levon  <levon@movementarian.org>
8140
8141         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8142
8143         * buffer.h:
8144         * buffer.C: remove getIncludeonlyList()
8145
8146         * paragraph.C:
8147         * lyxfunc.C: remove headers
8148
8149 2002-09-09  Juergen Vigna  <jug@sad.it>
8150
8151         * text.C (getColumnNearX): fix form Michael this is most
8152         probably a cut&paste bug.
8153
8154 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8155
8156         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8157
8158         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8159         references, ws changes.
8160
8161         * text2.C (init): update counters after init
8162         (insertParagraph): no need to set counter on idividual paragraphs.
8163         (setCounter): access the counters object in the textclass object
8164         on in the buffer object.
8165         (updateCounters): ditto
8166
8167         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8168         shared_ptr<Counters> to avoid loading counters.h in all
8169         compilation units.
8170         (LyXTextClass): initialize ctrs_
8171         (TextClassTags): add TC_COUNTER, and ...
8172         (Read): use it here.
8173         (CounterTags): new tags
8174         (readCounter): new function
8175         (counters): new funtion
8176         (defaultLayoutName): return a const reference
8177
8178         * counters.C (Counters): remove contructor
8179         (newCounter): remove a couple of unneeded statements.
8180         (newCounter): simplify a bit.
8181         (numberLabel): some small formatting changes.
8182
8183         * buffer.[Ch]: remove all traces of counters, move the Counters
8184         object to the LyXTextClass.
8185
8186 2002-09-06  Alain Castera  <castera@in2p3.fr>
8187
8188         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8189         package to set the horizontal alignment on fixed width columns.
8190
8191         * lyx_sty.C:
8192         * lyx_sty.h: added tabularnewline macro def.
8193
8194         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8195
8196 2002-09-06  John Levon  <levon@movementarian.org>
8197
8198         * LyXAction.C: tooltips for sub/superscript
8199
8200         * MenuBackend.C: a bit more verbose
8201
8202         * lyxfunc.C: tiny clean
8203
8204         * undo_funcs.C: document undo_frozen
8205
8206 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8207
8208         * counters.C (Counters): add missing algorithm counter.
8209
8210         * text2.C (setCounter): lookup the counter with layouts latexname
8211         instead of by section number.
8212         (setCounter): use a hackish way to lookup the correct enum
8213         counter.
8214         a float name->type change
8215         reset enum couners with counter name directly instead of depth value.
8216
8217         * counters.C (Counters): remove the push_backs, change to use the
8218         float type not the float name.
8219         (labelItem): remove unused string, float name->type change
8220
8221         * counters.h: don't include vector, loose the enums and sects vectors
8222
8223 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8224
8225         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8226         (Read): add float->TC_FLOAT to textclassTags
8227         (Read): and handle it in the switch
8228         (readFloat): new function
8229
8230         * FloatList.C (FloatList): comment out the hardcoded float
8231         definitions.
8232
8233         * lyxlayout.h: ws change.
8234
8235 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8236
8237         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8238
8239 2002-09-03  Angus Leeming  <leeming@lyx.org>
8240
8241         * BufferView_pimpl.h: qualified name is not allowed in member
8242         declaration: WorkArea & Pimpl::workarea() const;
8243
8244         * factory.C: added using std::endl directive.
8245
8246         * text3.C: added using std::find and std::vector directives.
8247
8248 2002-08-29  André Pönitz <poenitz@gmx.net>
8249
8250         * lyxtext.h:
8251         * text2.C: remove unused member number_of_rows
8252
8253         * Makefile.am:
8254         * BufferView2.C: remove file, move contents to...
8255         * BufferView.C: ... here
8256
8257         * BufferView_pimpl.C:
8258         * factory.C: move more inset creation to factory
8259
8260         * vspace.C: avoid direct usage of LyXText, ws changes
8261
8262         * BufferView.[Ch]:
8263                 don't provide direct access to WorkArea, use two simple
8264                 acessors haveSelction() and workHeight() instead
8265
8266
8267 2002-08-29  John Levon  <levon@movementarian.org>
8268
8269         * BufferView_pimpl.C (dispatch): do not continue when
8270           no buffer
8271
8272 2002-08-28  André Pönitz <poenitz@gmx.net>
8273
8274         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8275
8276         * BufferView.h:
8277         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8278
8279 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8280
8281         * buffer.C: increment LYX_FORMAT to 221
8282
8283         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8284         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8285
8286         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8287
8288         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8289
8290 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8291
8292         * factory.C (createInset): use LyXTextClass::floats
8293
8294         * MenuBackend.C (expandFloatListInsert):
8295         (expandFloatInsert):
8296         (expandToc):
8297
8298         * text2.C (setCounter):
8299
8300         * LaTeXFeatures.C (useFloat):
8301         (getFloatDefinitions):
8302
8303         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8304
8305         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8306         floatlist_, with accessor floats().
8307
8308         * FloatList.h: remove global FloatList
8309
8310 2002-08-26  André Pönitz <poenitz@gmx.net>
8311
8312         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8313
8314         * BufferView.h:
8315         * BufferView2.C:
8316         * BufferView_pimpl.C:
8317         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8318
8319 2002-08-25  John Levon  <levon@movementarian.org>
8320
8321         * LyXAction.C: fix margin note description
8322
8323 2002-08-24  John Levon  <levon@movementarian.org>
8324
8325         * buffer.C:
8326         * bufferlist.C:
8327         * bufferview_funcs.C:
8328         * lyxfont.C:
8329         * undo_funcs.C: cleanups
8330
8331         * lyxfunc.C: disable CUT/COPY when no selection
8332
8333 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8334
8335         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8336         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8337
8338         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8339         Add backward compatibility to "mono", "gray" and "no".
8340
8341 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8342
8343         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8344         (and file_format >= 200).
8345
8346 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8347
8348         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8349
8350 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8351
8352         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8353
8354 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8355
8356         * BufferView_pimpl.C:
8357         * LyXAction.C:
8358         * buffer.C:
8359         * commandtags.h:
8360         * lyxfunc.C:
8361         * paragraph.[Ch]:
8362         * text2.C:
8363         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8364         inset and code to make it  work with the paragraph code. The inset
8365         can be anywhere in the paragraph, but will only do the expected
8366         thing in LaTeX if the layout file contains the parameter line
8367                         OptionalArgs    1
8368         (or more generally, a nonzero value) for that layout.
8369
8370 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8371
8372         * paragraph.h: remove the declaration of undefined counters class
8373         function.
8374
8375 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8376
8377         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8378         Dr. Richard Hawkins.
8379
8380 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8381
8382         * paragraph_funcs.h: remove some unneeded includes
8383
8384         * text.C (backspace): pasteParagraph now in global scipe
8385
8386         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8387         (pasteSelection): ditto
8388
8389         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8390         * paragraph_funcs.C (pasteParagraph): ... here
8391
8392 2002-08-20  André Pönitz <poenitz@gmx.net>
8393
8394         * commandtags.h: new LFUNs for swapping/copying table row/colums
8395
8396         * LyXAction.C:
8397         * lyxfunc.C: support for new lfuns
8398
8399 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8400
8401         * tabular.C:
8402         * buffer.[Ch]: remove NO_COMPABILITY stuff
8403
8404 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8405
8406         * boost.C (throw_exception): new file, with helper function for
8407         boost compiled without exceptions.
8408
8409         * paragraph.h:
8410         * lyxlength.C:
8411         * buffer.C:
8412         * ParameterStruct.h:
8413         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8414
8415         * bufferlist.C (emergencyWriteAll): use boost bind
8416
8417         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8418
8419         * text.C: include paragraph_funcs.h
8420         (breakParagraph): breakParagraph is now in global scope
8421
8422         * paragraph_funcs.[Ch]: new files
8423
8424         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8425         global scope
8426
8427         * buffer.C: include paragraph_funcs.h
8428         (insertStringAsLines): breakParagraph is now in global scope
8429
8430         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8431         paragraph_funcs.C
8432
8433         * CutAndPaste.C: include paragraph_funcs.h
8434         (cutSelection): breakParagraphConservative is now in global scope
8435         (pasteSelection): ditto
8436
8437         * buffer.h: declare oprator== and operator!= for
8438         Buffer::inset_iterator
8439
8440         * bufferlist.C (emergencyWrite): don't use fmt(...)
8441
8442         * text3.C: add using std::endl
8443
8444         * BufferView.C (moveCursorUpdate): remove default arg
8445
8446 2002-08-20  André Pönitz <poenitz@gmx.net>
8447
8448         * buffer.[Ch]: move inline functions to .C
8449
8450         * BufferView2.C:
8451         * BufferView_pimpl.C:
8452         * text.C:
8453         * buffer.[Ch]: use improved inset_iterator
8454
8455         * buffer.C:
8456         * paragraph.[Ch]: write one paragraph at a time
8457
8458 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8459
8460         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8461         style if style is not specified.
8462
8463 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8464
8465         * text2.C (setCounter): when searching for right label for a
8466         caption, make sure to recurse to parent insets (so that a caption
8467         in a minipage in a figure float works) (bug #568)
8468
8469 2002-08-20  André Pönitz <poenitz@gmx.net>
8470
8471         * text3.C: new file for LyXText::dispatch() and helpers
8472
8473         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8474
8475         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8476
8477 2002-08-19  André Pönitz <poenitz@gmx.net>
8478
8479         * lyxtext.h:
8480         * text.C: new LyXText::dispatch()
8481
8482         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8483
8484 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8485
8486         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8487
8488         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8489         Hebrew text.
8490
8491 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8492
8493         * Makefile.am: use $(variables) instead of @substitutions@
8494
8495 2002-08-15  André Pönitz <poenitz@gmx.net>
8496
8497         * lyxfunc.C:
8498         * BufferView_pimpl.C: streamlining mathed <-> outer world
8499         interaction
8500
8501         * commandtags.h:
8502         * LyXAction.C: remove unused LFUN_MATH
8503
8504 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8505
8506         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8507
8508 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8509
8510         * paragraph.C (Paragraph): reformat a bit
8511         (cutIntoMinibuffer): use builtin InsetList function instad of
8512         doing it manually.
8513         (getInset): ditto
8514
8515         * buffer.C: include boost/bind.hpp, add using std::for_each
8516         (writeFileAscii): use ParagraphList iterators
8517         (validate): use for_each for validate traversal of paragraphs
8518         (getBibkeyList): use ParagraphList iterators
8519         (resizeInsets): use for_each to resizeInsetsLyXText for all
8520         paragraphs.
8521         (getParFromID): use ParagraphList iterators
8522
8523         * BufferView2.C (lockInset): use paragraph list and iterators
8524
8525 2002-08-14  John Levon  <levon@movementarian.org>
8526
8527         * lyxserver.C: remove spurious xforms include
8528
8529 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8530
8531         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8532
8533 2002-08-13  André Pönitz <poenitz@gmx.net>
8534
8535         * LyXAction.[Ch]:
8536         * lyxfunc.C: further cleaning
8537
8538 2002-08-13  André Pönitz <poenitz@gmx.net>
8539
8540         * funcrequest.h: new constructor
8541
8542         * funcrequest.C: move stuff here from .h
8543
8544         * Makefile.am:
8545         * BufferView_pimpl.C:
8546         * LyXAction.C:
8547         * toc.C:
8548         * lyxfunc.C: subsequent changes
8549
8550         * lyxfunc.h: new view() member function
8551
8552         * lyxfunc.C: subsequent changes
8553
8554 2002-08-13  Angus Leeming  <leeming@lyx.org>
8555
8556         * BufferView2.C:
8557         * BufferView_pimpl.C:
8558         * buffer.C:
8559         * converter.C:
8560         * importer.C:
8561         * lyxfunc.C:
8562         * lyxvc.C:
8563         * toc.C:
8564         * vc-backend.C:
8565         changes due to the changed LyXView interface that now returns references
8566         to member variables not pointers.
8567
8568 2002-08-13  Angus Leeming  <leeming@lyx.org>
8569
8570         * WordLangTuple (word, lang_code): return references to strings,
8571         not strings.
8572
8573         * BufferView.h:
8574         * SpellBase.h:
8575         * lyxtext.h: forward-declare WordLangTuple.
8576
8577         * BufferView2.C:
8578         * ispell.C:
8579         * pspell.C:
8580         * text.C: #include "WordLangTuple.h".
8581
8582         * lyxtext.h:
8583         * text.C: (selectNextWordToSpellcheck): constify return type.
8584
8585 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8586
8587         * buffer.C:
8588         * buffer.h:
8589         * lyxtext.h:
8590         * paragraph.C:
8591         * paragraph_pimpl.h:
8592         * text.C:
8593         * text2.C:
8594         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8595         suggested by Angus.
8596         Made updateCounter always count from start of buffer, and removed
8597         second argument (par).
8598         Reverted floats number display to '#'. Perhaps I'll try again when the
8599         code base is sanitized a bit.
8600
8601 2002-08-12  Angus Leeming  <leeming@lyx.org>
8602
8603         * buffer.[Ch] (getLabelList): constify.
8604
8605 2002-08-07  André Pönitz <poenitz@gmx.net>
8606
8607         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8608
8609         * funcrequest.h: extension to keep mouse (x,y) position
8610
8611 2002-08-12  Juergen Vigna  <jug@sad.it>
8612
8613         * BufferView2.C (insertErrors): forbid undo when inserting error
8614         insets.
8615
8616         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8617
8618 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8619
8620         * ParagraphList.[Ch]: new files
8621
8622         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8623
8624         * BufferView2.C (lockInset): ParagraphList changes
8625         * toc.C: ditto
8626         * text2.C: ditto
8627         * bufferlist.C: ditto
8628         * buffer.h: ditto
8629         * buffer.C: ditto
8630
8631 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8632
8633         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8634         unused class variable counter_,
8635
8636         * paragraph.[Ch] (getFirstCounter): delete unused function
8637
8638         * counters.C: include LAssert.h
8639         (reset): add a new function with no arg, change other version to
8640         not have def. arg and to not allow empty arg.
8641
8642         * text2.C (setCounter): remove empty arg from call to Counters::reset
8643
8644 2002-08-11  John Levon  <levon@movementarian.org>
8645
8646         * Makefile.am: add WordLangTuple.h
8647
8648 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8649
8650         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8651         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8652
8653         * insets/insettext.C: InsetList changes
8654
8655         * graphics/GraphicsSupport.C (operator()): InsetList changes
8656
8657         * toc.C (getTocList): InsetList changes
8658
8659         * paragraph_pimpl.[Ch]: InsetList changes
8660
8661         * paragraph.[Ch]: InsetList changes
8662
8663         * buffer.C (inset_iterator): InsetList changes
8664         (setParagraph): ditto
8665         * buffer.h (inset_iterator): ditto
8666         * iterators.C (operator++): ditto
8667         * iterators.h: ditto
8668
8669         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8670
8671         * InsetList.[Ch]: new files, most InsetList handling moved out of
8672         paragraph.C.
8673
8674         * BufferView2.C (removeAutoInsets): InsetList changes
8675         (lockInset): ditto
8676         (ChangeInsets): ditto
8677
8678 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8679
8680         * paragraph_pimpl.h (empty): new function
8681
8682         * paragraph.[Ch] (empty): new function
8683
8684         * other files: use the new Paragraph::empty function
8685
8686 2002-08-09  John Levon  <levon@movementarian.org>
8687
8688         * lyxtext.h: remove unused refresh_height
8689
8690 2002-08-09  John Levon  <levon@movementarian.org>
8691
8692         * Makefile.am:
8693         * sgml.h:
8694         * sgml.C:
8695         * buffer.C:
8696         * paragraph.h:
8697         * paragraph.C: move sgml char escaping out of paragraph
8698
8699         * paragraph.h:
8700         * paragraph.C: remove id setter
8701
8702         * buffer.C:
8703         * paragraph.C:
8704         * paragraph_pimpl.C: remove dead tex_code_break_column
8705
8706         * bufferview_funcs.C: small cleanup
8707
8708         * lyxfunc.C: remove dead proto
8709
8710         * lyxtext.h: make some stuff private. Remove some dead stuff.
8711
8712         * lyxgluelength.C: make as[LyX]String() readable
8713
8714 2002-08-08  John Levon  <levon@movementarian.org>
8715
8716         * LyXAction.h:
8717         * LyXAction.C:
8718         * MenuBackend.C:
8719         * ToolbarDefaults.C:
8720         * lyxfunc.C:
8721         * lyxrc.C:
8722         * toc.C: lyxaction cleanup
8723
8724 2002-08-08  John Levon  <levon@movementarian.org>
8725
8726         * BufferView2.C: small cleanup
8727
8728         * lyxfind.h:
8729         * lyxfind.C: move unnecessary header into the .C
8730
8731 2002-08-08  John Levon  <levon@movementarian.org>
8732
8733         * funcrequest.h: just tedious nonsense
8734
8735         * lyx_main.h:
8736         * lyx_main.C: cleanups
8737
8738         * buffer.C:
8739         * vspace.C: remove dead header lyx_main.h
8740
8741 2002-08-07  Angus Leeming  <leeming@lyx.org>
8742
8743         * Paragraph.[Ch]:
8744         * paragraph_pimpl.h:
8745         Forward declare class Counters in paragraph.h by moving the ctrs member
8746         variable into Paragraph::Pimpl.
8747         (counters): new method, returning a reference to pimpl_->ctrs.
8748
8749         * text2.C: ensuing changes.
8750
8751 2002-08-07  John Levon  <levon@movementarian.org>
8752
8753         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8754
8755         * BufferView_pimpl.C: announce X selection on double/triple
8756           click
8757
8758         * lyx_main.C: use correct bool in batch dispatch
8759
8760         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8761
8762 2002-08-07  André Pönitz <poenitz@gmx.net>
8763
8764         * funcrequest.h: new class to wrap a kb_action and its argument
8765
8766         * BufferView.[Ch]:
8767         * BufferView_pimpl[Ch]:
8768         * LaTeX.C:
8769         * LyXAction.[Ch]:
8770         * lyxfunc.[Ch]:
8771         * lyxrc.C: subsequent changes
8772
8773
8774 2002-08-07  John Levon  <levon@movementarian.org>
8775
8776         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8777           document options change.
8778
8779 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8780
8781         * counters.[Ch]
8782         * text2.C
8783         * paragraph.[Ch]
8784         * makefile.am: move counters functionality over from
8785         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8786
8787 2002-08-06  John Levon  <levon@movementarian.org>
8788
8789         * WordLangTuple.h: new file for word + language code tuple
8790
8791         * SpellBase.h:
8792         * pspell.h:
8793         * pspell.C:
8794         * ispell.h:
8795         * ispell.C:
8796         * lyxtext.h:
8797         * text.C:
8798         * text2.C:
8799         * BufferView.h:
8800         * BufferView2.C: use WordLangTuple
8801
8802         * layout.h:
8803         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8804
8805 2002-08-06  John Levon  <levon@movementarian.org>
8806
8807         * lyx_main.C: fix cmdline batch handling
8808
8809 2002-08-06  André Pönitz <poenitz@gmx.net>
8810
8811         * lyxrc.C: set default for show_banner to true
8812
8813 2002-08-06  John Levon  <levon@movementarian.org>
8814
8815         * pspell.C: fix a crash, and allow new aspell to work
8816
8817 2002-08-06  John Levon  <levon@movementarian.org>
8818
8819         * lyxfunc.C:
8820         * kbmap.C: small cleanup
8821
8822         * vspace.h:
8823         * vspace.C: add const
8824
8825 2002-08-05  John Levon  <levon@movementarian.org>
8826
8827         * LyXAction.C: back to tabular-insert
8828
8829 2002-08-04  John Levon  <levon@movementarian.org>
8830
8831         * BufferView.h:
8832         * BufferView.C: cosmetic change
8833
8834         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8835
8836         * bufferlist.C:
8837         * buffer.h:
8838         * buffer.C:
8839         * lyxcb.h:
8840         * lyxcb.C:
8841         * lyxserver.C:
8842         * lyxvc.C:
8843         * vc-backend.C:
8844         * BufferView2.C: purge all "Lyx" not "LyX" strings
8845
8846         * lyxcursor.h:
8847         * lyxcursor.C: attempt to add some documentation
8848
8849         * lyxfunc.C:
8850         * commandtags.h:
8851         * LyXAction.C:
8852         * ToolbarDefaults.C:
8853         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8854           merge with LFUN_TABULAR_INSERT
8855
8856         * Makefile.am:
8857         * SpellBase.h:
8858         * ispell.h:
8859         * ispell.C:
8860         * pspell.h:
8861         * pspell.C: split up i/pspell implementations into separate
8862           files, many cleanups
8863
8864         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8865
8866         * text2.C: some cleanup
8867
8868         * lyxfunc.C: don't check for isp_command == "none" any more, it
8869           didn't make any sense
8870
8871 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8872
8873         * counters.[Ch]
8874         * text2.C
8875         * paragraph.[Ch]
8876         * makefile.am: move counters functionality over
8877         from text2.C/paragraph.[Ch] to counters.[Ch], and
8878         make proper C++.
8879 2002-08-02  John Levon  <levon@movementarian.org>
8880
8881         * buffer.C: s/lyxconvert/lyx2lyx/
8882
8883 2002-08-02  Angus Leeming  <leeming@lyx.org>
8884
8885         * lyxlex.C: revert John's change as it breaks reading of the user
8886         preamble.
8887
8888 2002-08-02  Angus Leeming  <leeming@lyx.org>
8889
8890         * importer.C (Import):
8891         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8892         changes due to LyXView::view() now returning a boost::shared_ptr.
8893
8894 2002-08-02  John Levon  <levon@movementarian.org>
8895
8896         * lyxlex.C: small cleanup
8897
8898 2002-08-02  John Levon  <levon@movementarian.org>
8899
8900         * text2.C (status): small cleanup, no logic change
8901
8902 2002-08-01  John Levon  <levon@movementarian.org>
8903
8904         * buffer.h:
8905         * buffer.C (writeFile): don't output alerts, caller
8906           handles this
8907
8908         * bufferlist.C:
8909         * lyx_cb.C: from above
8910
8911         * lyxfunc.C: allow to open non-existent files
8912
8913 2002-07-31  John Levon  <levon@movementarian.org>
8914
8915         * lyxserver.C: don't let incidental errors get
8916           in the way (errno)
8917
8918 2002-07-30  John Levon  <levon@movementarian.org>
8919
8920         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8921
8922 2002-07-30  John Levon  <levon@movementarian.org>
8923
8924         * lyxserver.h:
8925         * lyxserver.C: remove I/O callback too
8926
8927 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8928
8929         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8930         log.
8931
8932 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8933
8934         * many files: strip,frontStrip -> trim,ltrim,rtrim
8935
8936 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8937
8938         * PrinterParams.h: remove extern containsOnly, and include
8939         support/lstrings.h instead.
8940
8941         * LaTeX.C (scanAuxFile): modify because of strip changes
8942         (deplog): ditto
8943         * buffer.C (makeLaTeXFile): ditto
8944         * bufferparams.C (writeFile): ditt
8945         * lyxfont.C (stateText): ditto
8946         * lyxserver.C (read_ready): ditto
8947         * vc-backend.C (scanMaster): ditto
8948
8949         * BufferView_pimpl.h: ws changes
8950
8951         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8952
8953 2002-07-26  André Pönitz <poenitz@gmx.net>
8954
8955         * kb_sequence.C: remove unnedred usings
8956
8957 2002-07-26  Juergen Vigna  <jug@sad.it>
8958
8959         * lyxfind.C (LyXReplace): we have to check better if the returned
8960         text is not of theLockingInset()->getLockingInset().
8961
8962 2002-07-25  Juergen Vigna  <jug@sad.it>
8963
8964         * lyxfind.C (LyXReplace): don't replace if we don't get the
8965         right LyXText.
8966
8967         * undo_funcs.C (createUndo): remove debugging code.
8968
8969 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8970
8971         * buffer.C (parseSingleLyXformat2Token): Use default placement
8972         when reading old floats.
8973
8974         * FloatList.C (FloatList): Change the default placement of figure
8975         and tables to "tbp".
8976
8977 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8978
8979         * MenuBackend.C: using std::max
8980
8981 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8982
8983         * MenuBackend.C (expandToc):
8984         (expandToc2): code moved from xforms menu frontend. It is now
8985         generic and TOCs are transparent to menu frontends.
8986
8987 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8988
8989         * toc.C (getTocList): protect against buf=0
8990
8991         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8992         Menu as first parameter. Now, this calls itself recursively to
8993         expand a whole tree (this will be useful for TOC handling)
8994         (expandFloatInsert): remove 'wide' version of floats
8995
8996         * MenuBackend.h (submenuname): returns the name of the submenu.
8997         (submenu): returns the submenu itself, provided it has been
8998         created by MenuBackend::expand
8999
9000 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9001
9002         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9003         insets which have noFontChange == true. (bug #172)
9004
9005 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9006
9007         * BufferView_pimpl.C: add connection objects and use them...
9008         (Pimpl): here.
9009
9010 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9011
9012         * MenuBackend.C (expandLastfiles):
9013         (expandDocuments):
9014         (expandFormats):
9015         (expandFloatListInsert):
9016         (expandFloatInsert):
9017         (expand): split expand in parts
9018
9019 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9020
9021         * lyx_gui.C: use lyx_gui::exit()
9022
9023 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9024
9025         * LyXAction.C: show the failing pseudo action
9026
9027 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9028
9029         * buffer.C (readFile): Run the lyxconvert script in order to read
9030         old files.
9031
9032 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9033
9034         * LyXAction.C:
9035         * commandtags.h:
9036         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9037
9038 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9039
9040         * LyXAction.C:
9041         * commandtags.h:
9042         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9043
9044 2002-07-22  Herbert Voss  <voss@lyx.org>
9045
9046         * lengthcommon.C:
9047         * lyxlength.[Ch]: add support for the vertical lengths
9048
9049 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9050
9051         * toc.[Ch]: std:: fixes
9052
9053 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9054
9055         * lyxrc.C: do not include lyx_main.h
9056
9057         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9058         for layouts
9059
9060         * lyxrc.C:
9061         * encoding.C:
9062         * bufferlist.C:
9063         * BufferView2.C: include "lyxlex.h"
9064
9065         * tabular.h:
9066         * bufferparams.h: do not #include "lyxlex.h"
9067
9068         * lyxtextclasslist.C (Add): remove method
9069         (classlist): renamed to classlist_
9070
9071         * paragraph_pimpl.C:
9072         * paragraph.C:
9073         * text2.C:
9074         * CutAndPaste.C:
9075         * bufferview_funcs.C:
9076         * bufferlist.C:
9077         * text.C:
9078         * LaTeXFeatures.C:
9079         * buffer.C:
9080         * toc.C (getTocList): use BufferParams::getLyXTextClass
9081
9082         * toc.C (getTocList): use InsetFloat::addToToc
9083
9084         * toc.[Ch]: new files, containing helper functions to handle table
9085         of contents
9086
9087         * lyxfunc.C (dispatch): no need to remove spaces around command
9088         given as a string
9089         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9090         first command of the sequence; it is not very clever, but I do not
9091         have a better idea, actually
9092
9093         * LyXAction.C (LookupFunc): make sure to remove space at the
9094         beginning and end of the command
9095
9096 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9097
9098         * MenuBackend.C (getMenubar): new method: return the menubar of
9099         this menu set
9100         (read): treat differently reading of menu and menubar (in
9101         particular, the menubar has no name now)
9102         (Menu::menubar): remove
9103
9104         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9105         saving is finished
9106
9107 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9108
9109         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9110         a bibitem inset in a RTL paragraph.
9111
9112 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9113
9114         * paragraph_pimpl.C: constify
9115
9116         * BufferView_pimpl.C:
9117         * LaTeX.C:
9118         * lyxfunc.C: fix dispatch in a nicer way
9119
9120 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9121
9122         * lyxfunc.C (dispatch):
9123         * BufferView_pimpl.C:
9124         * BufferView_pimpl.h:
9125         * BufferView.C:
9126         * BufferView.h: rename Dispatch() to dispatch()
9127
9128         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9129
9130         * lyxlayout.C (Read): honor DependsOn tag
9131
9132         * lyxlayout.[Ch] (depends_on): new method
9133
9134         * version.C.in: update lyx_docversion
9135
9136         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9137
9138         * paragraph.C (validate): remove from here...
9139         * paragraph_pimpl.C (validate): ... and move here
9140         (isTextAt): make it const
9141
9142         * buffer.C (getLists): ws cleanup
9143
9144 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9145
9146         * language.C (read): Use iso8859-1 encoding in latex_lang
9147         (this prevents LyX from crashing when using iso10646-1 encoding).
9148
9149 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9150
9151         * text2.C (toggleInset): if cursor is inside an inset, close the
9152         inset and leave cursor _after_ it
9153
9154 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9155
9156         * lyxfunc.C: move minibuffer completion handling out of here
9157
9158 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9159
9160         * BufferView_pimpl.C:
9161         * LaTeX.C: fix dispatch calls
9162
9163 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9164
9165         * text.C (drawChars): Fix Arabic text rendering.
9166
9167 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9168
9169         * LyXAction.C:
9170         * commandtags.h:
9171         * lyxfunc.C: remove message-push/pop
9172
9173         * lyxserver.C:
9174         * lyxfunc.h:
9175         * lyxfunc.C: rationalise some code by removing verboseDispatch
9176           in favour of a bool argument to dispatch()
9177
9178 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9179
9180         * lyx_main.C (init): make sure to read symlinks as absolute paths
9181
9182 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9183
9184         * lyxfunc.h:
9185         * lyxfunc.C: no need for commandshortcut to be a member
9186
9187 2002-07-15  André Pönitz <poenitz@gmx.net>
9188
9189         * converter.C: add support for $$s (scripts from lib/scripts dir)
9190         * lyx_main.C: white space
9191
9192 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9193
9194         * bufferlist.C:
9195         * lyxrc.h:
9196         * lyxrc.C: remove second exit confirmation
9197
9198 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9199
9200         * BufferView.h:
9201         * BufferView.C:
9202         * BufferView2.C:
9203         * BufferView_pimpl.h:
9204         * BufferView_pimpl.C:
9205         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9206
9207 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9208
9209         * MenuBackend.C (expand): add numeric shortcuts to document menu
9210
9211         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9212
9213 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9214
9215         * lyxfont.C (setLyXFamily):
9216         (setLyXSeries):
9217         (setLyXShape):
9218         (setLyXSize):
9219         (setLyXMisc):
9220         (lyxRead):
9221         * debug.C (value):
9222         * buffer.C (asciiParagraph): use ascii_lowercase
9223
9224 2002-07-15  Mike Fabian  <mfabian@suse.de>
9225
9226         * lyxlex_pimpl.C (search_kw):
9227         * lyxlex.C (getLongString):
9228         * converter.h (operator<):
9229         * converter.C (operator<):
9230         * buffer.C (parseSingleLyXformat2Token):
9231         (asciiParagraph):
9232         * ToolbarDefaults.C (read):
9233         * MenuBackend.C (checkShortcuts):
9234         (read):
9235         * LColor.C (getFromGUIName):
9236         (getFromLyXName): use the compare_ascii_no_case instead of
9237         compare_no_case, because in turkish, 'i' is not the lowercase
9238         version of 'I', and thus turkish locale breaks parsing of tags.
9239
9240 2002-07-16  Angus Leeming  <leeming@lyx.org>
9241
9242         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9243         now takes a Buffer const & argument.
9244
9245 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9246
9247         * BufferView.C (resize): check there's a buffer to resize
9248
9249 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9250
9251         * lyxfunc.C: remove dead code
9252
9253         * lyxserver.h:
9254         * lyxserver.C: use lyx_guii::set_read_callback
9255
9256 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9257
9258         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9259         an inset in a RTL paragraph.
9260
9261 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9262
9263         * lyxfunc.C: repaint after a font size update
9264
9265 2002-07-15  André Pönitz <poenitz@gmx.net>
9266
9267         * lyxlength.C: inBP should be able to return negative values
9268
9269 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9270
9271         * lyxfunc.C: use lyx_gui::update_fonts()
9272
9273 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9274
9275         * lyxfunc.C: use lyx_gui::update_color()
9276
9277 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9278
9279         * bufferlist.C:
9280         * lyxfunc.h:
9281         * lyxfunc.C:
9282         * lyxrc.h:
9283         * lyxrc.C: remove file->new asks for name option, and let
9284           buffer-new take an argument
9285
9286 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9287
9288         * BufferView_pimpl.C: remove unneeded extra repaint()
9289
9290 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9291
9292         * LyXAction.C: allow command-sequence with NoBuffer
9293
9294         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9295
9296 2002-07-10  Angus Leeming  <leeming@lyx.org>
9297
9298         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9299
9300 2002-07-09  Angus Leeming  <leeming@lyx.org>
9301
9302         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9303
9304 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9305
9306         * lengthcommon.h: whitespace
9307
9308         * lyxfunc.C: update scrollbar after goto paragraph
9309
9310         * lyxtext.h: factor out page break drawing, and fix it so
9311           page break/added space paints as selected nicely
9312
9313 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9314
9315         * BufferView_pimpl.C: add FIXMEs, clean up a little
9316
9317 2002-07-09  André Pönitz <poenitz@gmx.net>
9318
9319         * lyxfont.[Ch]: support for wasy symbols
9320
9321 2002-07-08  André Pönitz <poenitz@gmx.net>
9322
9323         * BufferView_pimpl.C: apply John's patch for #93.
9324
9325 2002-07-05  Angus Leeming  <leeming@lyx.org>
9326
9327         * BufferView_pimpl.C (buffer): generate previews if desired.
9328
9329         * LColor.h: add "preview" to the color enum.
9330
9331         * LColor.C (LColor): add a corresponding entry to the items array.
9332
9333         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9334         with this buffer.
9335
9336 2002-07-05  Angus Leeming  <leeming@lyx.org>
9337
9338         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9339         The body of the code is now in the method that is passed an ostream &
9340         rather than a file name.
9341         Pass an additional only_preamble parameter, useful for the forthcoming
9342         preview stuff.
9343
9344 2002-07-03  André Pönitz <poenitz@gmx.net>
9345
9346         * lyxfunc.C: simplify getStatus() a bit for math stuff
9347
9348 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9349
9350         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9351
9352 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9353
9354         * text.C (changeRegionCase): do not change case of all the
9355         document when region ends at paragraph end (bug #461)
9356
9357 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9358
9359         * paragraph.C (startTeXParParams):
9360         (endTeXParParams): add \protect when necessary
9361
9362 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9363
9364         * BufferView_pimpl.C (workAreaExpose): remove warning
9365
9366 2002-06-27  Angus Leeming  <leeming@lyx.org>
9367
9368         * Makefile.am: add lyxlayout_ptr_fwd.h.
9369
9370 2002-06-26  André Pönitz <poenitz@gmx.net>
9371
9372         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9373
9374 2002-06-25  Angus Leeming  <leeming@lyx.org>
9375
9376         * lyxfunc.C (dispatch): Comment out the call to
9377         grfx::GCache::changeDisplay. The method no longer exists now that the
9378         pixmap generation part of the graphics loader has been moved into
9379         InsetGraphics.
9380
9381 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9382
9383         * text2.C: layout as layout
9384
9385         * text.C: layout as layout
9386
9387         * tabular.C (OldFormatRead): layout as layout
9388
9389         * paragraph_pimpl.C (TeXDeeper): layout as layout
9390         (realizeFont): layout as layout
9391
9392         * paragraph.C (writeFile): layout as layout
9393         (validate): layout as layout
9394         (getFont): layout as layout
9395         (getLabelFont): layout as layout
9396         (getLayoutFont): layout as layout
9397         (breakParagraph): layout as layout
9398         (stripLeadingSpaces): layout as layout
9399         (getEndLabel): layout as layout
9400         (getMaxDepthAfter): layout as layout
9401         (applyLayout): layout as layout
9402         (TeXOnePar): layout as layout
9403         (simpleTeXOnePar): layout as layout
9404         (TeXEnvironment): layout as layout
9405         (layout): layout as layout
9406         (layout): layout as layout
9407
9408         * lyxtextclass.C (compare_name): new functor to work with
9409         shared_ptr, layout as layout
9410         (Read): layout as layout
9411         (hasLayout): layout as layout
9412         (operator): layout as layout
9413         (delete_layout): layout as layout
9414         (defaultLayout): layout as layout
9415
9416         * lyxlayout_ptr_fwd.h: new file
9417
9418         * lyxlayout.C (Read): layout as layout
9419
9420         * lyx_cb.C (MenuInsertLabel): layout as layout
9421
9422         * bufferlist.C (newFile): layout as layout
9423
9424         * buffer.C (readLyXformat2): layout as layout
9425         (parseSingleLyXformat2Token): layout as layout
9426         (insertStringAsLines): layout as layout
9427         (asciiParagraph): layout as layout
9428         (latexParagraphs): layout as layout
9429         (makeLinuxDocFile): layout as layout
9430         (simpleLinuxDocOnePar): layout as layout
9431         (makeDocBookFile): layout as layout
9432         (simpleDocBookOnePar): layout as layout
9433         (getLists): layout as layout
9434
9435         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9436
9437         * CutAndPaste.C (cutSelection): layout as layout
9438         (pasteSelection): layout as layout
9439         (SwitchLayoutsBetweenClasses): layout as layout
9440
9441         * BufferView_pimpl.C (Dispatch): layout as layout
9442         (smartQuote): layout as layout
9443
9444         * BufferView2.C (unlockInset): layout as layout
9445
9446 2002-06-24  André Pönitz <poenitz@gmx.net>
9447
9448         * lyxfunc.C: fix #487
9449
9450 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9451
9452         * lyxrc.h:
9453         * lyxrc.C:
9454         * lyxfunc.C: remove display_shortcuts, show_banner
9455
9456 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9457
9458         * Buffer_pimpl.C: oops, update on resize
9459
9460 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9461
9462         * buffer.C:
9463         * converter.C:
9464         * exporter.C:
9465         * lyxfunc.C:
9466         * BufferView.h:
9467         * BufferView.C: use repaint()
9468
9469         * BufferView_pimpl.h:
9470         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9471           as it's a clearer description. Remove superfluous
9472           redraws.
9473
9474 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9475
9476         * text.C: fix bug 488. Not ideal, but getting
9477           getWord() to work properly for the insets that
9478           matter is more difficult ...
9479
9480 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9481
9482         * BufferView_pimpl.C:
9483         * LyXAction.C:
9484         * commandtags.h:
9485         * lyxfunc.C: remove the six million index lyxfuncs to just
9486           one, and DTRT (bug 458)
9487
9488 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9489
9490         * BufferView.h:
9491         * BufferView.C:
9492         * BufferView_pimpl.h:
9493         * BufferView_pimpl.C: clean up resize() stuff,
9494           and unnecessary updateScreen()s
9495
9496 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9497
9498         * BufferView.h:
9499         * BufferView.C:
9500         * BufferView_pimpl.h:
9501         * BufferView_pimpl.C:
9502         * lyxfind.h:
9503         * lyxfind.C:
9504         * minibuffer.C: remove focus management of workarea,
9505           not needed. Use screen's greyOut()
9506
9507 2002-06-17  Herbert Voss  <voss@lyx.org>
9508
9509         * converter.C: (convert) do not post a message, when converting
9510         fails, let the calling function decide what to do in this case
9511
9512 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9513
9514         * lyxfunc.C: tidy up a little
9515
9516 2002-06-16    <alstrup@diku.dk>
9517
9518         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9519         Got rid of FORMS_H_LOCATION include. Now we are
9520         GUII.
9521
9522 2002-06-15  LyX Development team  <lyx@rilke>
9523
9524         * buffer.[Ch] (sgmlOpenTag):
9525         (sgmlCloseTag): Added support for avoiding pernicious mixed
9526         content. Return number of lines written.
9527
9528         (makeLinuxDocFile):
9529         (makeDocBookFile): Fixed calls to sgml*Tag.
9530         Simple white space clean.
9531
9532         (simpleDocBookOnePar): Simple white space clean.
9533
9534         * tabular.[Ch] (docBook): Renamed to docbook and got another
9535         argument to related with the pernicious mixed content.
9536
9537         (docbookRow): Fixed calls for docbook inset method.
9538
9539 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9540
9541         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9542         so it's X11 independent.
9543
9544         * kb*.[Ch]: ditto.
9545
9546         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9547
9548 2002-06-15  Lyx Development team  <lyx@electronia>
9549
9550         * intl.h: Renamed getTrans to getTransManager.
9551
9552 2002-06-14  Angus Leeming  <leeming@lyx.org>
9553
9554         * Makefile.am: nuke forgotten stl_string_fwd.h.
9555
9556 2002-06-12  Angus Leeming  <leeming@lyx.org>
9557
9558         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9559
9560 2002-06-13  Angus Leeming  <leeming@lyx.org>
9561
9562         * LaTeX.C:
9563         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9564
9565 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9566
9567         * kbmap.C (getiso): add support for cyrillic and greek
9568
9569 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9570
9571         * BufferView.h:
9572         * BufferView.C:
9573         * BufferView_pimpl.h:
9574         * BufferView_pimpl.C: move bogus scrolling logic
9575           to xforms
9576
9577 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9578
9579         * lyxfunc.C:
9580         * BufferView_pimpl.C: view->resize() change
9581
9582 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9583
9584         * BufferView_pimpl.C: topCursorVisible
9585           prototype change
9586
9587 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9588
9589         * Makefile.am:
9590         * lyx_gui.h:
9591         * lyx_gui.C: move to frontends/
9592
9593         * main.C:
9594         * lyx_main.h:
9595         * lyx_main.C: changes from above
9596
9597 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9598
9599         * intl.C:
9600         * intl.h:
9601         * kbmap.C:
9602         * kbsequence.C:
9603         * lyx_cb.C:
9604         * lyx_main.C: minor tidy
9605
9606 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9607
9608         * BufferView_pimpl.h:
9609         * BufferView_pimpl.C:
9610         * BufferView.h:
9611         * BufferView.C: make painter() const,
9612           remove dead code
9613
9614         * BufferView2.C: use screen() accessor
9615
9616         * lyx_main.h:
9617         * lyx_main.C: some minor cleanup
9618
9619 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9620
9621         * BufferView_pimpl.h:
9622         * BufferView_pimpl.C: remove enter/leaveView,
9623           use workHeight()
9624
9625 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9626
9627         * BufferView.h:
9628         * BufferView.C:
9629         * BufferView2.C:
9630         * BufferView_pimpl.h:
9631         * BufferView_pimpl.C: only construct screen once,
9632           rename
9633
9634         * lyxrc.C: remove pointless comment
9635
9636 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9637
9638         * BufferView.h:
9639         * BufferView.C: remove active() and belowMouse()
9640
9641         * BufferView_pimpl.h:
9642         * BufferView_pimpl.C: use workarea() not workarea_,
9643           and make it use a scoped_ptr instead
9644
9645 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9646
9647         * lyx_gui.C: add debug message on BadWindow
9648
9649 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9650
9651         * sp_spell.C: fdopen is not part of the C++ standard.
9652
9653         * paragraph.C (InsetIterator): use >= instead of ==
9654
9655 2002-06-07  Angus Leeming  <leeming@lyx.org>
9656
9657         Fixes needed to compile with Compaq cxx 6.5.
9658         * BufferView_pimpl.C:
9659         * DepTable.C:
9660         * buffer.C:
9661         * converter.C:
9662         * encoding.C:
9663         * lyx_gui.C:
9664         * lyx_main.C:
9665         * lyxtextclasslist.C:
9666         * minibuffer.C:
9667         * sp_spell.C:
9668         * tabular_funcs.C:
9669         * vc-backend.C:
9670         all c-library variables have been moved into namespace std. Wrap
9671         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9672
9673         * lyxlength.C:
9674         * tabular-old.C:
9675         * tabular.C:
9676         Add a using std::abs declaration.
9677
9678         * kbmap.h (modifier_pair):
9679         * paragraph.h (InsetTable, InsetList):
9680         * lyxfont.h (FontBits):
9681         type definition made public.
9682
9683         * bufferlist.C (emergencyWriteAll): the compiler complains that
9684         there is more than one possible lyx::class_fun template to choose from.
9685         I re-named the void specialisation as lyx::void_class_fun.
9686
9687         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9688
9689         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9690         the compiler is is unable to find tostr in write_attribute.
9691
9692 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9693
9694         * buffer.C (sgmlError): hide #warning
9695
9696 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9697
9698         * xtl/*: get rid of xtl, which is not in use anyway
9699
9700         * LyXAction.C (init):
9701         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9702         were unimplemented xtl experimentation
9703
9704 2002-06-04  André Pönitz <poenitz@gmx.net>
9705
9706         * lyxfunc.C: disable array operation on simple formulae
9707
9708 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9709
9710         * converter.C: constify a bit
9711
9712 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9713
9714         * lyx_gui.C: check xforms version correctly
9715
9716 2002-04-30  Herbert Voss  <voss@lyx.org>
9717
9718         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9719         "keep" option
9720
9721 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9722
9723         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9724           attempt to register it with a VCS)
9725
9726 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9727
9728         * lyx_main.C (init): honor variables LYX_DIR_13x and
9729         LYX_USERDIR_13x
9730
9731 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9732
9733         * buffer.h:
9734         * buffer.C:
9735         * lyx_main.C: fix a crash on bad command line,
9736           and give a useful exit status on error
9737
9738         * lyxfunc.C (doImport): allow -i lyx to work
9739
9740 2002-03-30  André Pönitz <poenitz@gmx.net>
9741
9742         * lyxfunc.C: mathed font changes
9743
9744 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9745
9746         * LaTeX.C:
9747         * importer.h:
9748         * importer.C:
9749         * lyx_sty.h:
9750         * lyx_sty.C:
9751         * lyxlex.C:
9752         * lyxrow.h:
9753         * lyxtext.h:
9754         * paragraph.h:
9755         * paragraph.C:
9756         * texrow.h:
9757         * texrow.C:
9758         * text.C:
9759         * trans_mgr.h: srcdocs, and some minor cleanups
9760
9761 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9762
9763         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9764         call getFont all the time)
9765
9766 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9767
9768         * switch from SigC signals to boost::signals
9769
9770 2002-05-29  André Pönitz <poenitz@gmx.net>
9771
9772         * paragraph_pimpl.C (getChar): don't call size() too often...
9773
9774 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9775
9776         * paragraph_pimpl.C (insertChar): do not try to update tables when
9777         appending (pos == size())
9778
9779         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9780         in order to reduce drastically the number of comparisons needed to
9781         parse a large document
9782
9783 2002-05-29  André Pönitz <poenitz@gmx.net>
9784
9785         * text.C:
9786         * text2.C:
9787         * lyxtextclass.C:
9788         * sp_pspell.h:
9789         * textclasslist.[Ch]:
9790         * sp_ispell.h: whitespace change
9791
9792 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9793
9794         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9795         lyxaction directly now.
9796
9797 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9798
9799         * trans.C:
9800         * lyxfont.C:
9801         * lyxvc.C: remove unused headers
9802
9803 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9804
9805         * Makefile.am:
9806         * buffer.h:
9807         * undostack.h:
9808         * undostack.C:
9809         * undo_funcs.h:
9810         * undo_funcs.C: some cleanups. Use shared_ptr
9811           and a template for the undo stacks.
9812
9813 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9814
9815         * BufferView_pimpl.h:
9816         * BufferView_pimpl.C:
9817         * kbmap.h:
9818         * kbmap.C:
9819         * kbsequence.h:
9820         * kbsequence.C:
9821         * lyxfunc.h:
9822         * lyxfunc.C:
9823         * text2.C: use key_state/mouse_state
9824
9825 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9826
9827         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9828         and LSubstring
9829
9830         * chset.C: change include order
9831         (loadFile): use boost regex and get rid of LRegex and LSubstring
9832
9833         * Makefile.am (BOOST_LIBS): new variable
9834         (lyx_LDADD): use it
9835
9836         * LaTeX.C: change include order.
9837         (scanAuxFile): use boost regex and get rid of LRegex and
9838         LSubstring
9839         (deplog): ditto
9840
9841 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9842
9843         * ColorHandler.h:
9844         * ColorHandler.C:
9845         * FontInfo.h:
9846         * FontInfo.C: moved to frontends/xforms/
9847
9848         * FontLoader.h:
9849         * FontLoader.C: moved into frontends for GUIIzation
9850
9851         * Makefile.am:
9852         * lyx_gui.C:
9853         * lyxfont.C:
9854         * lyxfunc.C: changes from above
9855
9856 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9857
9858         * LColor.C: remove spurious X include
9859
9860         * BufferView_pimpl.C:
9861         * Makefile.am:
9862         * font.h:
9863         * font.C:
9864         * text.C:
9865         * text2.C: move font metrics to frontends/
9866
9867 2002-05-24  Juergen Vigna  <jug@sad.it>
9868
9869         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9870         setting the undo_cursor.
9871
9872         * ParagraphParameters.h: include local includes first.
9873
9874 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9875
9876         * BufferView_pimpl.C:
9877         * BufferView_pimpl.h:
9878         * Makefile.am:
9879         * WorkArea.h:
9880         * WorkArea.C:
9881         * screen.C: move WorkArea into frontends/
9882
9883         * lyxscreen.h:
9884         * screen.C:
9885         * text.C:
9886         * BufferView.C:
9887         * BufferView2.C: move LyXScreen into frontends/
9888
9889         * lyxlookup.h:
9890         * lyxlookup.C:
9891         * lyx_gui.C: move lyxlookup into frontends/xforms/
9892
9893 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9894
9895         * BufferView2.C:
9896         * BufferView_pimpl.C:
9897         * FontLoader.C:
9898         * LyXView.h:
9899         * LyXView.C:
9900         * Makefile.am:
9901         * WorkArea.C:
9902         * XFormsView.h:
9903         * XFormsView.C:
9904         * buffer.C:
9905         * bufferlist.C:
9906         * bufferview_funcs.C:
9907         * converter.C:
9908         * importer.C:
9909         * lyx_cb.C:
9910         * lyx_gui.C:
9911         * lyx_main.C:
9912         * lyx_find.C:
9913         * lyxfunc.C:
9914         * lyxvc.C:
9915         * minibuffer.C:
9916         * text.C:
9917         * text2.C:
9918         * trans.C:
9919         * vc-backend.C: move LyX/XFormsView into frontends/
9920
9921 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9922
9923         * Makefile.am:
9924         * PainterBase.C:
9925         * PainterBase.h:
9926         * Painter.C:
9927         * Painter.h:
9928         * WorkArea.C:
9929         * WorkArea.h:
9930         * screen.C:
9931         * tabular.C:
9932         * text.C:
9933         * text2.C: move Painter to frontends/
9934
9935 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9936
9937         * buffer.C: comment out some some code that depend upon lyx_format
9938         < 220
9939
9940         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9941         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9942
9943         * buffer.h (NO_COMPABILITY): turn off compability
9944
9945         * ColorHandler.C: include scoped_array.hpp
9946
9947         * font.C: Use more specific smart_ptr header.
9948         * Painter.C: ditto
9949         * gettext.C: ditto
9950         * ShareContainer.h: ditto
9951         * lyx_main.h: ditto
9952         * kbmap.h: ditto
9953         * FontInfo.h: ditto
9954         * BufferView_pimpl.h: ditto
9955         * ColorHandler.h: ditto
9956
9957         * kbmap.C (defkey): change call to shared_ptr::reset
9958
9959 2002-05-21  Juergen Vigna  <jug@sad.it>
9960
9961         * buffer.C (insertErtContents): fix to insert ert asis if it is
9962         non empty. Skip it completely if it contains only whitespaces.
9963
9964 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9965
9966         * BufferView_pimpl.C:
9967         * BufferView2.C: clear selection on paste (bug 393)
9968
9969 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9970
9971         * DepTable.C: include ctime
9972
9973 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9974
9975         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9976
9977 2002-05-14  Juergen Vigna  <jug@sad.it>
9978
9979         * text.C (breakParagraph): fixed function to honor the keepempty
9980         layout in the right maner and also to permit the right breaking
9981         algorithm on empty or non empyt keepempty paragraphs.
9982
9983         * paragraph.C (breakParagraph): we have to check also if the par
9984         is really empty (!size()) for isempty otherwise we do the wrong
9985         paragraph break.
9986
9987 2002-05-10  Juergen Vigna  <jug@sad.it>
9988
9989         * buffer.[Ch] : The following are only changes to the ert
9990         compatibility read reading old LaTeX layout and font stuff and
9991         convert it to ERTInsets.
9992
9993         * buffer.h: added isErtInset().
9994
9995         * buffer.C (struct ErtComp): add a fromlayout bool to check
9996         if we're inside a LaTeX layout.
9997         (isErtInset): new helper function.
9998         (insertErtContents): look for other ert insets before this one
9999         and insert the contents there, so that we don't have subsequent
10000         ERT insets with nothing between them. This way we create only one
10001         inset with multiple paragraphs. Also check if we don't insert only
10002         spaces ' ' as they are ignored anyway afterwards in the .tex file
10003         so if we have only spaces we will ignore this latex part in the
10004         new file.
10005         (parseSingleLyXformat2Token \\layout): better compatibility when
10006         reading layout-latex stuff.
10007         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10008         language tag.
10009         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10010         stuff after reading the inset only get the information back from
10011         the stack.
10012
10013 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10014
10015         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10016
10017         * LaTeXFeatures.C (getBabelOptions): New method.
10018
10019 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10020
10021         * BufferView_pimpl.C (Dispatch): work around missing argument for
10022         'layout'
10023
10024 2002-05-08  Juergen Vigna  <jug@sad.it>
10025
10026         * text.C (leftMargin): handle paragraph leftindent.
10027
10028         * paragraph.C (writeFile): write the new \\leftindent tag.
10029         (validate): handle leftindent code.
10030         (TeXEnvironment): handle paragraphleftindent code again.
10031
10032         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10033
10034         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10035         for paragrap_extra indent code and new token \\leftindent.
10036         (latexParagraphs): handle the leftindent as environment.
10037
10038         * ParameterStruct.h: added leftindent support.
10039
10040         * ParagraphParameters.C (leftIndent): added support functions for
10041         the paragraph left indent.
10042
10043         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10044         more appropriate.
10045
10046 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10047
10048         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10049         inside insetERT.
10050
10051         * text.C (computeBidiTables): No bidi in insetERT.
10052
10053         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10054         in RTL documents.
10055
10056 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10057
10058         * version.C.in: pre 5
10059
10060 2002-05-02  José Matos  <jamatos@fep.up.pt>
10061         * buffer.C (makeDocBookFile): white space changes, add newline to
10062         command styles.
10063         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10064
10065         * tabular.C (docBook): fix typo.
10066
10067 2002-05-03  Juergen Vigna  <jug@sad.it>
10068
10069         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10070         change in LyXText as we can not be sure it was not freed.
10071         (drawOneRow): remove unused code.
10072
10073         * text.C (drawInset): redo the calculation of the need_break_row as
10074         it could have a row which was already freed.
10075         (draw): look at the return value of drawInset and return false if
10076         it also returned false.
10077         (paintRowText): look at the return value of draw and return false if
10078         it also returned false.
10079
10080         * lyxtext.h: added bool return type to drawInset() and draw() so that
10081         if we have a change in the row so that the rowbreak has to be redone
10082         we abort drawing as it will be called again.
10083
10084 2002-05-02  Juergen Vigna  <jug@sad.it>
10085
10086         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10087         a change in the maintext also if we're inside an inset.
10088         (Dispatch): set the cursor again after a break line and after the
10089         screen has been updated as it could be we're in a different row.
10090
10091         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10092         to set the cursor behind the pargraph with > size().
10093         (setCursor): check also for the same paragraph when checking where
10094         to put the cursor if we have a NFR inset.
10095
10096         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10097         parts of layout read further up as it still was in the wrong
10098         position.
10099
10100 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10101
10102         * screen.C (drawFromTo): change sine fullRebreak always return
10103         true.
10104
10105         * buffer.C (parseSingleLyXformat2Token): reindent some
10106
10107         * BufferView_pimpl.C (update): change since fullRebreak always
10108         return true.
10109         (Dispatch): git rid of the last hardcoded "Standard"s.
10110
10111 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10112
10113         * text2.[Ch] (fullRebreak): make it return void now that we always
10114         returned true.
10115
10116 2002-04-30  Juergen Vigna  <jug@sad.it>
10117
10118         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10119         ert compatibility check for "latex" layout.
10120
10121 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10122
10123         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10124         minipages: use col% instead of p%, and also use the current font.
10125         (makeLaTeXFile): Fix use babel condition.
10126         (parseSingleLyXformat2Token): Correct font when reading old floats.
10127
10128 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10129
10130         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10131         inserting list of floats.
10132
10133 2002-04-25  Herbert Voss  <voss@lyx.org>
10134
10135         * MenuBackend.C (expand): don't add the graphics extensions to the
10136         export menu
10137
10138 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10139
10140         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10141         non-existing layout, do not complain if it was the default layout
10142         of the original class (bug #342)
10143
10144 2002-04-24  Juergen Vigna  <jug@sad.it>
10145
10146         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10147         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10148
10149 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10150
10151         * buffer.C (getBibkeyList): If using \bibliography, return the
10152         option field with the reference itself. Enables us to provide natbib
10153         support when using \bibliography.
10154
10155 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10156
10157         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10158
10159         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10160         natbib is provided by the LaTeX class.
10161
10162 2002-04-23  Juergen Vigna  <jug@sad.it>
10163
10164         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10165         Wakeup functions.
10166
10167         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10168
10169 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10170
10171         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10172
10173         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10174         ensuremath around textordmasculine, textordfeminine and
10175         textdegree.
10176
10177 2002-04-19  Juergen Vigna  <jug@sad.it>
10178
10179         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10180         reinitializing the buffer otherwise row-dimensions may be wrong.
10181         (update): reset also the selection cursors if they do exits otherwise
10182         their x/y positions may be wrong.
10183
10184         * text2.C (cursorDown): don't enter the inset if we came from a row
10185         above and are one row over the inset.
10186
10187         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10188         really leaving an inset.
10189
10190 2002-04-18  Juergen Vigna  <jug@sad.it>
10191
10192         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10193         of the selected paragraph does not have the selected layout also if
10194         the last one had!
10195
10196         * text2.C (setLayout): fixed bug which did not change last selected
10197         paragraph.
10198
10199         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10200         changed the read and substituted \\end_float with \\end_inset!
10201
10202         * BufferView_pimpl.C (cursorPrevious):
10203         (cursorNext): fixed to make it work with rows heigher than the work
10204         area without moving the cursor only the draw of the row.
10205         (workAreaMotionNotify): fix jumping over high rows.
10206
10207 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10208
10209         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10210         Ressler.
10211
10212 2002-04-16  Juergen Vigna  <jug@sad.it>
10213
10214         * text2.C (setCursor): set also the irow().
10215         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10216         (cursorUp):
10217         (cursorDown): support for locking an inset if the x_fix value goes
10218         inside it. That way I can transverse insets too with cursor up/down.
10219
10220         * lyxrow.h: added irow helper function same as other (i) functions.
10221
10222         * BufferView_pimpl.C (cursorPrevious):
10223         (cursorNext): fixed for insets!
10224
10225 2002-04-15  Juergen Vigna  <jug@sad.it>
10226
10227         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10228         position otherwise it is wrong in some cases.
10229
10230         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10231         inside the inset before the call.
10232
10233 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10234
10235         * buffer.[Ch] (getBibkeyList): make it const.
10236
10237 2002-04-12  Juergen Vigna  <jug@sad.it>
10238
10239         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10240
10241         * text2.C (getCursorX): new helper function
10242         (setCursor): compute also ix_
10243         (setCursorFromCoordinates): set also ix.
10244
10245         * lyxcursor.h: added ix_ and helper functions.
10246
10247         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10248
10249         * buffer.C (insertStringAsLines): dont break paragraph if the this
10250         paragraph is inside an inset which does not permit it!
10251
10252         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10253         also with no chars on this paragraph.
10254         (paintRowText): only paint stuff if it's inside the workarea!
10255
10256         * paragraph.C (breakParagraph): honor keepempty flag and break the
10257         paragraph always below not above.
10258
10259         * BufferView2.C (unlockInset): update the paragraph layout on inset
10260         unlock as we changed paragraph in such a case.
10261
10262         * lyxfind.C (LyXFind): clear the former selection if not found!
10263
10264         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10265         again called in insertChar().
10266
10267         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10268         an inset which uses the whole row!
10269         (rightMargin): ditto.
10270         (insertChar): force a rebreak if we inserted an inset!
10271
10272 2002-03-28  Herbert Voss  <voss@lyx.org>
10273
10274         * lyxlength.[Ch]: add inBP() to get the right PS-point
10275         units (BigPoint). With inPixels we have rounding errors
10276
10277 2002-04-11  Juergen Vigna  <jug@sad.it>
10278
10279         * text2.C (setCursorFromCoordinates): set iy to the right value.
10280         (setCursor): add check if row->previous exists!
10281
10282         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10283         an old float_type as this was the case in the old code!
10284
10285         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10286
10287         * BufferView2.C (showLockedInsetCursor): use iy
10288         (fitLockedInsetCursor): ditto
10289
10290         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10291         locked insets as there we have the right value now.
10292
10293         * lyxcursor.C: added iy_ variable and iy functions to set to the
10294         baseline of cursor-y of the locked inset.
10295
10296         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10297         (setCursor): fixed for insets which need a full row.
10298
10299         * text.C (rowLastPrintable): don't ignore the last space when before
10300         an inset which needs a full row.
10301         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10302         as last character of a row when before a inset which needs a full row.
10303
10304 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10305
10306         * version.C.in: update date
10307
10308         * text2.C (fullRebreak): try to always return true and see what
10309         happens...
10310
10311 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10312
10313         * MenuBackend.C (expand): use Floating::listName
10314
10315         * FloatList.C (FloatList): add listName argument to the built-in
10316         floats
10317
10318         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10319         text associated with the float.
10320
10321 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10322
10323         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10324
10325 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10326
10327         * ShareContainer.h: add a couple of missing typenames.
10328
10329 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10330
10331         * lyxrc.C (getDescription): use _() correctly rather than N_().
10332
10333 2002-03-28  Herbert Voss  <voss@lyx.org>
10334
10335         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10336         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10337
10338 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10339
10340         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10341         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10342
10343 2002-03-29  Juergen Vigna  <jug@sad.it>
10344
10345         * lyxfunc.C (dispatch): add a missing fitCursor call.
10346
10347         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10348         it was scrolled by a cursor move, so return the bool status.
10349
10350         * BufferView.C (fitCursor): return the bool flag also to the outside
10351         world as this is needed.
10352
10353         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10354
10355         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10356         call the edit() as it is not needed (and wrong) IMO.
10357         (workAreaButtonPress): set the screen_first variable before evt.
10358         unlock the inset as this may change screen_first and then we have
10359         a wrong y position for the click!
10360
10361 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10362
10363         * MenuBackend.C (expand): another translation that I missed
10364
10365 2002-03-28  Juergen Vigna  <jug@sad.it>
10366
10367         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10368
10369         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10370
10371 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10372
10373         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10374
10375         * MenuBackend.C (expand): fix export/view/update when there is no
10376         document open.
10377
10378 2002-03-27  Herbert Voss  <voss@lyx.org>
10379
10380         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10381         and text%
10382
10383 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10384
10385         * bufferview_funcs.C (currentState): only show paragraph number
10386         for is DEVEL_VERSION is set.
10387
10388         * lyxfunc.C (dispatch): put warning in INFO channel
10389
10390         * MenuBackend.C (expand): translate the name of floats
10391
10392         * FloatList.C (FloatList): mark the float names for translation
10393
10394         * converter.C (convert): use LibScriptSearch
10395
10396 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10397
10398         * MenuBackend.C (defaults): fix default menu (we might as well get
10399         rid of it...)
10400
10401 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10402
10403         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10404         directory.
10405
10406 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10407
10408         * lyxvc.C: reorder includes.
10409
10410 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10411
10412         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10413           properly
10414
10415 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10416
10417         * CutAndPaste.C: change layouts earlier on paste
10418           to avoid crashing when calling getFont()
10419
10420 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10421
10422         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10423         irritating #error.
10424
10425 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10426
10427         * WorkArea.C: remove 'Pending' debug message.
10428
10429         * most files: ws cleanup
10430
10431         * buffer.[Ch]: ws changes
10432
10433         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10434
10435 2002-03-21  Juergen Vigna  <jug@sad.it>
10436
10437         * tabular.C (SetMultiColumn): collapse also the contents of the
10438         cells and set the last border right. Added a Buffer const * param.
10439
10440 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10441
10442         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10443         linking or not.
10444
10445 2002-03-19  Juergen Vigna  <jug@sad.it>
10446
10447         * text2.C (clearSelection): reset also xsel_cache.
10448
10449         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10450         where it needs to be called (John tells us to do so too :)
10451         (selectionLost): reset sel_cache.
10452
10453         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10454
10455 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10456
10457         * text2.C (setCursorIntern): put debuging code in INSETS channel
10458
10459 2002-03-19  André Pönitz <poenitz@gmx.net>
10460
10461         * lyxfunc.C: tiny whitespace change
10462
10463 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10464
10465         * ToolbarDefaults.C (init):
10466         * LyXAction.C (init):
10467         * commandtags.h:
10468         * BufferView_pimpl.C (Dispatch):
10469         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10470
10471 2002-03-19  Allan Rae  <rae@lyx.org>
10472
10473         * exporter.C (Export): removeAutoInsets before doing anything else.
10474         While I've just introduced a dependency on BufferView this really is
10475         the best place to clean the buffer otherwise you need to cleanup in
10476         a dozen places before calling export or cleanup in a dozen functions
10477         that export calls.
10478
10479         * converter.C (runLaTeX):
10480         (scanLog): Better handling of removeAutoInsets and screen updates.
10481
10482         * lyxfunc.C (dispatch): small whitespace changes
10483
10484 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10485
10486         * WorkArea.C (C_WorkAreaEvent): return a value.
10487         (event_cb): return 1 if we handled the event, 0 otherwise.
10488
10489         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10490
10491 2002-03-18  Juergen Vigna  <jug@sad.it>
10492
10493         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10494         (GetAdditionalWidth): ditto.
10495         (RightLine): ditto.
10496         (LeftLine): ditto.
10497
10498         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10499         inset if we're there actually (probably not used right now but this
10500         is the direction to go for unifying code).
10501         (paste): disable code to clear the selection.
10502
10503         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10504         inside an InsetText and move the check further up as it is in the
10505         wrong place.
10506
10507         * text2.C (pasteSelection): set a selection over the pasted text.
10508
10509 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10510
10511         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10512         and libgraphics to build on Cygwin.
10513
10514 2002-03-15  Juergen Vigna  <jug@sad.it>
10515
10516         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10517         inserting an Inset into the paragraph. I know this is not the best
10518         fix but we already use current_view in CutAndPaste so we will remove
10519         all of it's using at the same time.
10520
10521         * buffer.C (sgmlError): deactivated function till it is rewritten in
10522         the right mode, now it can create problems.
10523
10524         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10525         before accessing it.
10526
10527 2002-03-14  Juergen Vigna  <jug@sad.it>
10528
10529         * undo_funcs.C (textHandleUndo): do the right thing when updating
10530         the inset after the undo/redo.
10531
10532         * text2.C (setCursor): just some testcode for #44 not ready yet.
10533
10534         * undo_funcs.C (textHandleUndo): set the next() and previous()
10535         pointers of the paragraph to 0 before deleting otherwise we have
10536         problems with the Paragraph::[destructor].
10537
10538         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10539         on a paragraph insertion.
10540
10541 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10542
10543         * buffer.C (asciiParagraph): use += operator for char append to
10544         string.
10545
10546         * paragraph.C (getFontSettings): compare >= not just >
10547         (highestFontInRange): ditto
10548         (setFont): ditto
10549
10550 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10551
10552         * paragraph.C: change several algorithm to be more appripriate for
10553         the problem domain. This is lookip in FontList and in the InsetList.
10554
10555 2002-03-13  André Pönitz <poenitz@gmx.net>
10556
10557         * commandtags.h:
10558         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10559
10560 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10561
10562         * commandtags.h:
10563         * LyXAction.C:
10564         * lyxfunc.C:
10565         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10566
10567 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10568
10569         * Painter.C (display): anon helper function, adjust code for this
10570         change.
10571         (pixmap): remove function.
10572
10573         * Painter.h: remove private display variable.
10574
10575         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10576
10577 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10578
10579         * WorkArea.[Ch]: remove figinset_canvas cruft.
10580
10581 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10582
10583         * lyxtextclass.C (operator): add one item cache optimization.
10584
10585         * bufferlist.h: doxy changes
10586
10587         * bufferlist.C: ws changes
10588
10589         * DepTable.[Ch] (ext_exist): place const in the right spot.
10590
10591         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10592         call resizeInsets.
10593         (workAreaExpose): call resizeInsets when the with BufferView changes.
10594         (Dispatch): adjust for protectedBlank removal
10595         (specialChar): call updateInset if the insert went ok.
10596
10597         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10598         specialChar instead.
10599
10600         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10601
10602         * BufferView.h: doxy change
10603
10604         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10605
10606         * lyxtextclass.C (operator[]): remove non-const version
10607         (defaultLayout): remove non-const version
10608
10609 2002-03-12  Juergen Vigna  <jug@sad.it>
10610
10611         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10612         did resize the LyXText too.
10613
10614         * buffer.C (readLyXformat2): set layout information on newly allocated
10615         paragraphs.
10616
10617         * tabular.C (OldFormatRead): set layout information on the paragraph.
10618
10619 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10620
10621         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10622
10623 2002-03-11  Juergen Vigna  <jug@sad.it>
10624
10625         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10626         plainly wrong.
10627         (resizeCurrentBuffer): force also the insets to resize themselfes.
10628         (moveCursorUpdate): fixed up for InsetText.
10629
10630 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10631
10632         * commandtags.h:
10633         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10634         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10635         value of Dialogs::tooltipsEnabled().
10636         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10637
10638 2002-03-08  Juergen Vigna  <jug@sad.it>
10639
10640         * BufferView_pimpl.C (updateInset): update inset inside inset also
10641         if it isn't inside theLockingInset().
10642
10643 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10644
10645         * buffer.C (asciiParagraph): redo some of the word and line length
10646         handling.
10647         (getLists): look for Caption instead of caption.
10648
10649 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10650
10651         * buffer.C (Buffer): initialize niceFile to true
10652         (makeLaTeXFile):
10653         (makeLinuxDocFile):
10654         (makeDocBookFile): make sure niceFile is true on exit
10655
10656 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10657
10658         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10659
10660 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10661
10662         * LyXSendto.C: remove.
10663         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10664         * lyx_gui.C: remove now-redundant comment.
10665         * ColorHandler.h: remove forward declaration of class WorkArea.
10666         * lyxfunc.C: remove #include "WorkArea.h".
10667
10668 2002-03-07  Juergen Vigna  <jug@sad.it>
10669
10670         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10671         got moved away with the DEPM and also set the inset_owner always
10672         right which before could have been omitted.
10673
10674 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10675
10676         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10677         wanted layout is not found.
10678
10679 2002-03-07  Juergen Vigna  <jug@sad.it>
10680
10681         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10682
10683 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10684
10685         * paragraph.C (breakParagraph): use default layout not layout of
10686         prev paragraph.
10687         (Paragraph): clear ParagraphParameters.
10688
10689 2002-03-06  Juergen Vigna  <jug@sad.it>
10690
10691         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10692         otherwise it would not be a valid lenght. Fixed a special case in
10693         the minipage compatibility read where we end the document with a
10694         minipage.
10695
10696         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10697         was set as it could be 0 for InsetTexts first entry.
10698
10699 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10700
10701         * paragraph.C (writeFile): if layout is empty write out
10702         defaultLayoutName().
10703
10704         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10705         file without named layout we set layout to defaultLayoutName().
10706
10707 2002-03-06  Juergen Vigna  <jug@sad.it>
10708
10709         * CutAndPaste.C (copySelection): set layout for new paragraph.
10710
10711         * text.C (prepareToPrint): leave ERT inset left aligned
10712         (leftMargin): don't indent paragraphs inside ERT insets
10713
10714 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10715
10716         * paragraph.C (breakParagraph): dont call clear do the work manually
10717
10718         * paragraph.[Ch] (clear): remove function
10719
10720 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10721
10722         * paragraph.C (Paragraph): dont call clear, the work has already
10723         been done.
10724
10725         * lyxtextclass.C (operator): assert if n is empty
10726
10727         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10728         work manually instead.
10729
10730 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10731
10732         * BufferView_pimpl.C: protect selectionLost against text == 0
10733
10734 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10735
10736         * text.C (breakParagraph): fix a setting layout to '0' problem.
10737
10738 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10739
10740         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10741         final location of file, for the included files, and graphics.
10742
10743 2002-03-05  Juergen Vigna  <jug@sad.it>
10744
10745         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10746
10747 2002-03-04  Juergen Vigna  <jug@sad.it>
10748
10749         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10750
10751         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10752         last column of multicolumn cells.
10753         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10754
10755 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10756
10757         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10758         file if it doesn't go to a temporary file.
10759
10760         * buffer.C (sgmlOpenTag):
10761         (sgmlCloseTag):  remove extra newline insertion.
10762
10763 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10764
10765         * text.C (getRowNearY): comment out debug msg
10766
10767 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10768
10769         * text2.C: first -> first_y
10770
10771         * text.C (getRowNearY): add some attemts at a possible
10772         optimization, not working.
10773
10774         * tabular.[Ch]: add BufferParams to several function so that newly
10775         created paragraph can be initialized to he default layotu for the
10776         buffers textclass.
10777
10778         * tabular-old.C (ReadOld): add buf->params to call of Init
10779
10780         * screen.C: rename text->first to text->first_y
10781
10782         * paragraph.C (breakParagraph): always set layout in the broken
10783         paragraph
10784
10785         * lyxtextclass.C (Read): remove lowercase
10786         (hasLayout): ditto
10787         (operator): ditto
10788         (delete_layout): ditto
10789
10790         * lyxtext.h: rename first -> first_y
10791
10792         * lyxlayout.C (Read): remove lowercase
10793         (name): ditto
10794         (setName): ditto
10795         (obsoleted_by): ditto
10796
10797         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10798
10799         * buffer.C (insertErtContents): add params are to InsetERT
10800         (parseSingleLyXformat2Token): add code to check if a paragraphs
10801         layout really exist.
10802         (parseSingleLyXformat2Token): add params to several inset
10803         constructors
10804         (asciiParagraph): remove lowercase, do the layout comparisons with
10805         no_case
10806
10807         * BufferView_pimpl.C (cursorNext): first -> first_y
10808         (resizeCurrentBuffer): first -> first_y
10809         (updateScrollbar): first -> first_y
10810         (scrollCB): first -> first_y
10811         (workAreaMotionNotify): first -> first_y
10812         (workAreaButtonPress): first -> first_y
10813         (checkInsetHit): first -> first_y
10814         (cursorPrevious): first -> first_y
10815         (cursorNext): first -> first_y
10816         (Dispatch): add buffer_->params to severl inset contructors
10817
10818 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10819
10820         * lyxlayout.C (Read): remove some debug info that I forgot.
10821
10822         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10823         clean up the code slightly.
10824         (makeLinuxDocFile): ditto
10825         (makeDocBookFile): ditto
10826
10827         * text2.C: layout as string
10828
10829         * text.C: layout as string
10830
10831         * paragraph_pimpl.C: layout as string
10832
10833         * paragraph.[Ch]: layout as string
10834
10835         * lyxtextclasslist.[Ch]: layout as string
10836
10837         * lyxtextclass.[Ch]: layout as string
10838
10839         * lyxtext.h: layout as string
10840
10841         * lyxlayout.[Ch]: layout as string
10842
10843         * lyx_cb.C: layout as string
10844
10845         * bufferview_funcs.C: layout as string
10846
10847         * bufferparams.C: layout as string
10848
10849         * buffer.C: layout as string
10850
10851         * LyXView.[Ch]: layout as string
10852
10853         * LaTeXFeatures.[Ch]: layout as string
10854
10855         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10856
10857         * BufferView_pimpl.C: change current_layout to string, remove
10858         lyx::layout_type.
10859         (Dispatch):
10860         (smartQuote):
10861         (insertInset):
10862         (workAreaButtonRelease): layout as string
10863
10864         * BufferView2.C (unlockInset): adjust
10865
10866         * vspace.C (asLatexCommand): use an explict temp variable.
10867
10868 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10869
10870         * Makefile.am: use FRONTEND_*
10871
10872 2002-03-01  Juergen Vigna  <jug@sad.it>
10873
10874         * tabular.C (SetWidthOfMulticolCell): changed to something better
10875         I hope but still work in progress.
10876         (recalculateMulticolumnsOfColumn): renamed function from
10877         recalculateMulticolCells as it is more appropriate now.
10878         (SetWidthOfCell): calculate multicols better.
10879
10880 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10881
10882         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10883
10884         * lyxfunc.C (processKeySym): print sequence also if it is
10885         `deleted' (complete)
10886
10887         * kbsequence.C (print): print sequence even if it is deleted
10888         (complete would be a better word, actually).
10889
10890         * lyxfunc.C (dispatch): print complete options after a prefix key
10891
10892         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10893
10894 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10895
10896         * text2.C (setCharFont): eliminate setCharFont code duplication.
10897
10898 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10899
10900         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10901         LFUN_TABULAR_FEATURE (bug #177)
10902
10903 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10904
10905         * Makefile.am: remove figure.h
10906
10907 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10908
10909         * Bufferview_pimpl.C:
10910         * CutAndPasteC:
10911         * LaTeX.C:
10912         * LyXSendto.C:
10913         * buffer.C:
10914         * bufferlist.C:
10915         * converter.C:
10916         * language.C:
10917         * lyxfunc.C:
10918         * lyxvc.C:
10919         * paragraph.C:
10920         * text.C:
10921         * text2.C: remove #include "lyx_gui_misc.h".
10922
10923         * LaTeX.C: added #include <cstdio>
10924
10925 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10926
10927         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10928         that the paragraph following this one can have.
10929
10930         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10931
10932         * vspace.C (asLatexCommand): fix bogus gcc warning
10933
10934         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10935
10936 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10937
10938         * text2.C (setLayout): get rid of redundant code
10939
10940 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10941
10942         * text2.C (incDepth): make sure depth cannot be increased beyond
10943         reasonable values.
10944
10945 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10946
10947         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10948         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10949
10950         * PainterBase.h (image):
10951         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10952         a LyXImage const *.
10953
10954 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10955
10956         * BufferView.C:
10957         * BufferView.h:
10958         * BufferView_pimpl.C:
10959         * BufferView_pimpl.h:
10960         * LaTeXFeatures.C:
10961         * LyXAction.C:
10962         * LyXView.C:
10963         * Makefile.am:
10964         * UpdateList.h:
10965         * UpdateList.C:
10966         * buffer.C:
10967         * figure.h:
10968         * figureForm.C:
10969         * figureForm.h:
10970         * figure_form.C:
10971         * figure_form.h:
10972         * lyx_cb.C:
10973         * lyx_gui.C:
10974         * lyx_gui_misc.C:
10975         * lyxfunc.C:
10976         * sp_base.h:
10977         * sp_ispell.h:
10978         * sp_pspell.h:
10979         * sp_spell.C: remove fig inset, and the crap house of
10980           cards that follows it
10981
10982 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10983
10984         * Makefile.am:
10985         * lyxserver.C:
10986         * os2_defines.h:
10987         * os2_errortable.h:
10988         * nt_defines.h: move .h into support/
10989
10990         * vms_defines.h: remove
10991
10992         * WorkArea.C: add space in debug output
10993
10994         * text2.C:
10995         * paragraph.C:
10996         * buffer.C: add WITH_WARNINGS
10997
10998         * vc-backend.h:
10999         * vc-backend.C:
11000         * bufferlist.C: s/retrive/retrieve/, add docs
11001
11002         * vspace.h:
11003         * vspace.C:
11004         * kbmap.h:
11005         * lyxlength.h:
11006         * lyxgluelength.h:
11007         * length_common.h:
11008         * chset.h:
11009         * chset.C: add docs
11010
11011         * lyxgui.C: add ID to X error handler
11012
11013         * lyxtestclass.c: fix typo
11014
11015 2002-02-26  Juergen Vigna  <jug@sad.it>
11016
11017         * tabular_funcs.C (write_attribute): changed so that some default
11018         attributes are not written at all.
11019         (getTokenValue): set default values before trying to read the
11020         value so we have the return value always set as default if we don't
11021         find the token we search for.
11022
11023         * tabular.C (Write): write bools as bools not as strings!
11024
11025 2002-02-22  Juergen Vigna  <jug@sad.it>
11026
11027         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11028         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11029
11030         * text.C (leftMargin): don't add an indent for paragraphs inside
11031         tabular cells (fix #208).
11032
11033 2002-02-21  José Matos  <jamatos@fep.up.pt>
11034
11035         * tabular.C (docBook): fixed support for long tables.
11036
11037 2002-02-20  Juergen Vigna  <jug@sad.it>
11038
11039         * text2.C (getFont): get the drawing font of the Inset if this
11040         paragraph is inside an inset (only important for InsetERT for now).
11041
11042         * buffer.C (insertErtContents): use new lanugage params in ERT
11043         constructor.
11044
11045         * CutAndPaste.C: commenting out seemingly uneeded code.
11046
11047 2002-02-19  Allan Rae  <rae@lyx.org>
11048
11049         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11050         Iterators might be simple to use but they also get invalidated.
11051         (removeAutoInsets): renamed saved cursor tracking variables and added
11052         some comments to clarify what everything does.
11053
11054 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11055
11056         * Chktex.C:
11057         * LaTeX.C:
11058         * LyXSendto.C:
11059         * converter.C:
11060         * lyx_cb.C:
11061         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11062         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11063
11064         * lyxfunc.C:
11065         * vc-backend.h: remove #include "support/syscall.h"
11066
11067         * LaTeX.C:
11068         * LyXSendto.C:
11069         * converter.C: rearrange #includes in Lars' approved fashion.
11070
11071         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11072         forward declare class Timeout in the header file.
11073
11074         * XFormsView.C: changes due to the above.
11075
11076         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11077         similar to LyXView.
11078
11079         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11080         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11081
11082 2002-02-18  José Matos  <jamatos@fep.up.pt>
11083
11084         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11085         insets contents.
11086
11087 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11088
11089         * a lot of small ws changes
11090         * add a lot of using std::XXX
11091         * use std construcs some places where approp.
11092         * use some exisint stuff from lyxfunctional where approp.
11093         * Make file changes to use partial linking (lets test this now...)
11094
11095 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11096
11097         * Chktex.C:
11098         * buffer.C:
11099         remove #include "support/syscontr.h" as it's redundant. Always has been.
11100
11101         * Chktex.C:
11102         * LaTeX.C:
11103         * LyXSendto.C:
11104         * converter.C:
11105         * lyx_cb.C:
11106         * vc-backend.C:
11107         change Systemcalls::System to Systemcalls::Wait and
11108         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11109         No change of functionality, just reflects the stripped down Systemcalls
11110         class.
11111
11112 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11113
11114         * debug.[Ch]: add a GRAPHICS type to the enum.
11115
11116 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11117
11118         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11119
11120         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11121         there is an inset.
11122
11123 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11124
11125         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11126         match the changes below.
11127
11128         * text2.C (toggleInset): if there is not editable inset at cursor
11129         position, try to see if cursor is _inside_ a collapsable inset
11130         and close it.
11131
11132 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11133
11134         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11135         document menu has a nice checkbox
11136
11137 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11138
11139         * lyxlength.C (asLatexString): change PW to output as percent of
11140         \textwidth.
11141
11142         * lengthcommon.C: change '%' to 't%'
11143
11144         * lyxfunc.C (dispatch): a few comments from Martin
11145
11146 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11147
11148         * WorkArea.h:
11149         * WorkArea.C:
11150         * BufferView_pimpl.h:
11151         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11152           the X selection.
11153
11154 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11155
11156         * vspace.C (inPixels): fix compiler warning
11157
11158 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11159
11160         * lyxfunc.C (getStatus): fix status message for disabled commands.
11161
11162 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11163
11164         * BufferView_pimpl.C: fix crash on close buffer
11165         during selection (#227)
11166
11167 2002-01-27  Herbert Voss  <voss@lyx.org>
11168
11169         * buffer.C: link old Figure to new graphic inset
11170
11171 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11172
11173         * FontLoader.C (getFontinfo): Change the latex font names in order
11174         to match the names of type1inst.
11175
11176 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11177
11178         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11179
11180         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11181         (extchanged): ditto
11182         (ext_exist): ditto
11183         (remove_files_with_extension): ditto
11184         (remove_file): ditto
11185         (write): ditto
11186
11187         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11188         document is smaller than the work area height. Do not initialize
11189         static variables to 0.
11190
11191 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11192
11193         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11194
11195         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11196         LFUN_LAYOUT_PARAGRAPHS.
11197
11198         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11199         tabular. It is possible to provide a possible cell, which will
11200         typically be the actcell from the corresponding insettabular
11201
11202         * lyxfunc.C (getStatus): small cleanup; disable
11203         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11204         true
11205
11206 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11207
11208         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11209
11210         * paragraph.C (startTeXParParams):
11211         (endTeXParParams): new methods. The LaTeX code to
11212         start/end paragraph formatting
11213         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11214         empty (fixes bug #200)
11215
11216         * vspace.C (inPixels): adapt to the change below
11217         (inPixels): [later] more cleanups (remove unused variables)
11218
11219         * lyxlength.C (inPixels): change to use a width and a height as
11220         parameter.
11221
11222 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11223
11224         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11225         Replaced with \paperwidth
11226
11227         * DepTable.C (insert): add std:: qualifier
11228
11229 2002-01-18  Allan Rae  <rae@lyx.org>
11230
11231         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11232         updated also?
11233
11234         * text.C (drawInset): Turned out I didn't know enough about how
11235         rebreaking worked.  This fixes most of the redraw problems.  I see
11236         an occasional cursor trail when a line is broken now and the cursor
11237         placement can seem out by a few pixels also after a rebreak.
11238
11239 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11240
11241         * buffer.C (parseSingleLyXformat2Token): update because minipage
11242         width is now a LyXLength
11243
11244         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11245
11246         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11247         math insets
11248
11249 2002-01-17  Juergen Vigna  <jug@sad.it>
11250
11251         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11252
11253         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11254         is set correctly and the inset is updated correctly.
11255
11256 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11257
11258         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11259         the beginning of the loop.
11260
11261 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11262
11263         * lyxrc.C: improve help for use_scalable_fonts
11264
11265 2002-01-17  Allan Rae  <rae@lyx.org>
11266
11267         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11268
11269 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11270
11271         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11272         make sure to set their inset_owner to the right value (bug #171)
11273
11274 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11275
11276         * DepTable.h
11277         * DepTable.C: Implement mtime checking to reduce time spent doing
11278         CRCs.
11279
11280 2002-01-16  Juergen Vigna  <jug@sad.it>
11281
11282         * tabular.C (GetAdditionalHeight): one of error fixed.
11283
11284         * lyxrc.C (output): small fix in writing use_pspell.
11285
11286 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11287
11288         * sp_base.h: #include LString.h
11289
11290 2002-01-16  Allan Rae  <rae@lyx.org>
11291
11292         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11293         Can someone check this please?
11294
11295         * text.C (drawInset): It was possible that p.row would be removed by
11296         breakAgainOneRow upsetting a few other settings.  There may be another
11297         small tweak possible by setting need_break_row = 0 when p.row has been
11298         removed but I don't know enough about the logic here.
11299
11300 2002-01-15  Allan Rae  <rae@lyx.org>
11301
11302         * text.C (insertChar): removed conditional truism.
11303
11304         * BufferView2.C (removeAutoInsets): More tweaks.
11305         cur_par_prev could be a stray pointer.  Check for trailing empty line
11306         in case last line was cur_par and only had an error inset on it.
11307
11308 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11309
11310         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11311         absolute
11312
11313         * vc-backend.C (most methods):
11314         * exporter.C (Export):
11315         * converter.C (convert):
11316         (runLaTeX):
11317         * LyXSendto.C (SendtoApplyCB):
11318         * lyxfunc.C (dispatch):
11319         (menuNew):
11320         (open):
11321         (doImport):
11322         * lyx_cb.C (AutoSave):
11323         (InsertAsciiFile):
11324         * BufferView_pimpl.C (MenuInsertLyXFile):
11325         * buffer.C (runChktex): use Buffer::filePath().
11326
11327         * buffer.h: rename filename to filename_; rename filepath to
11328         filepath_ and make it private
11329         (filePath): new method
11330
11331         * buffer.C (writeFile): use fileName()
11332         (getLatexName):
11333
11334         * lyx_main.C (init): fix starting  of LyX when the binary is a
11335         link from so,ewhere else.
11336
11337         * minibuffer.C: include <cctype> for isprint
11338
11339 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11340
11341         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11342         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11343         name clash with InsetCollapsable's width function.
11344
11345 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11346
11347         * lastfiles.C: include <iterator>
11348
11349 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11350
11351         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11352         std::count.
11353
11354         * buffer.C (makeLaTeXFile): ditto.
11355         Also make loop operation more transparent.
11356
11357 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11358
11359         * ToolbarDefaults.C: remove trailing comma closing namespace.
11360
11361         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11362
11363         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11364         as in WorkArea.
11365
11366         * trans.C (Load): comment out unused variable, allowed.
11367
11368 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11369
11370         * minibuffer.[Ch] (append_char): new method to recieve input from the
11371         drop-down completion browser. If a key was pressed, then recieve this
11372         char and append it to the existing string.
11373         (peek_event): modify the positioning data passed to the completion
11374         browser so that it can be placed above the minibuffer rather than below.
11375 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11376
11377         * LyXAction.C (init): alloe error-next for readonly documents.
11378
11379         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11380         count.
11381
11382 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11383
11384         * bufferlist.C (readFile): create the buffer _after_ checking that
11385         the file exists.
11386
11387         * lyxfunc.C (verboseDispatch): fix handling of arguments
11388
11389         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11390
11391         * lyxrc.C: use string::erase() instead of initializing to "".
11392
11393
11394 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11395
11396         * BufferView_pimpl.h:
11397         * BufferView_pimpl.C:
11398         * WorkArea.h:
11399         * WorkArea.C:
11400         * text2.C: tell X when we have made a selection for copying
11401
11402 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11403
11404         * BufferView_pimpl.C (MenuInsertLyXFile):
11405         * lyxfunc.C (menuNew):
11406         (open):
11407         (doImport): add shortcuts to directory buttons
11408
11409         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11410         open a float)
11411
11412         * lyxfunc.C (setStatusMessage):
11413         (getStatusMessage): new methods
11414         (getStatus):use setStatusMessage instead of setErrorMessage
11415         (dispatch): when function is disabled, set error message here
11416         [instead of in getStatus previously]
11417
11418         * BufferView_pimpl.C (workAreaButtonRelease): update
11419         toolbar/menubar here too.
11420
11421 2002-01-13  Allan Rae  <rae@lyx.org>
11422
11423         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11424         Now seems indestructible.  Remaining task is to audit all other
11425         code affected by deleteEmptyParagraphMechanism.  One small quirk
11426         left is that an empty document with an error in the preamble can
11427         be made to report an error but no error box appears.  I don't know
11428         where it goes.
11429         (removeAutoInsets): Improved comments.
11430
11431 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11432
11433         * Thesaurus.h:
11434         * Thesaurus.C: update for Aiksaurus 0.14
11435
11436 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11437
11438         * text2.C (firstParagraph): removed member function, all uses
11439         replaces with ownerParagraph
11440         (redoParagraphs): here
11441         (updateInset): here
11442         (toggleAppendix): here
11443         * BufferView2.C (insertErrors): here
11444         (setCursorFromRow): here
11445
11446 2002-01-13  Allan Rae  <rae@lyx.org>
11447
11448         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11449         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11450         There is still a way to segfault this although you may have to do this
11451         multiple times: Have an InsetERT with an unknown command in it.
11452         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11453         <down-arrow>, <Enter> again, View->DVI, BANG!
11454
11455         * text2.C (setCursor):
11456         (deleteEmptyParagraphMechanism):
11457         * lyxtext.h (setCursor):
11458         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11459         Making use of the return value may help fix other bugs.
11460
11461 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11462
11463         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11464
11465         * LyXView.C (updateMenubar): call MenuBar::update here
11466         (updateToolbar): but not here
11467         (showState): do not update toolbar/menubar
11468
11469         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11470         should need to care about that.
11471
11472         * lyxfunc.C (verboseDispatch): simplify a bit
11473         (getStatus): have a version which takes a pseudoaction, and
11474         another which requires a (kb_action,string).
11475
11476         * LyXAction.C (retrieveActionArg): make it work also when action
11477         is not a pseudo-action.
11478         (getActionName): simplify a bit
11479         (helpText):
11480
11481 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11482
11483         * lyxfunc.C (verboseDispatch): new families of methods with
11484         several ways to specify a command and a bool to indicate whether
11485         the command name and shortcut should be displayed in minibuffer
11486         (eventually, we could extend that to a finer bitmask like
11487         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11488         (dispatch): the pristine dispatch command which just, well,
11489         dispatchs! Note it still sets its result to minibuffer; I'm not
11490         sure we want that.
11491
11492         * lyxfunc.h: remove setHintMessage
11493
11494         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11495
11496 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11497
11498         * BufferView_pimpl.C (specialChar): delete new inset if we have
11499         not been able to insert it.
11500
11501         * kbmap.C: revert to using int instead of kb_action, since all we
11502         are dealing with is pseudo-actions.
11503
11504         * LyXAction.C (searchActionArg): change to return int instead of
11505         kb_action, since the result is a pseudoaction.
11506
11507 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11508
11509         * buffer.C (insertErtContents): Fix (partially) the font bug.
11510
11511 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11512
11513         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11514         as the other one is broken on my machine!
11515
11516 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11517
11518         * commandtags.h:
11519         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11520
11521 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11522
11523         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11524         reflect their actual use. Provide compatibility code for older lyxrc
11525         files.
11526
11527         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11528         FL_NORMAL_STYLE.
11529         change names of popup font variables in line with the changes to lyxrc.C
11530
11531 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11532
11533         * buffer.C (asciiParagraph): avoid outputing a word twice after
11534         an inset.
11535
11536         * lyxrc.C (getDescription): document that document_path and
11537         template_path can be empty.
11538
11539 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11540
11541         * LaTeXFeatures.C (getMacros):
11542         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11543
11544         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11545
11546         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11547         getPackages.
11548         (getPackages): rename feature "floats" to "float". Use an array to
11549         iterate over 'simple' features (i.e. just a \usepackage). Add
11550         handling of "amsmath" (renamed from "amsstyle").
11551
11552 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11553
11554         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11555         features list.
11556
11557 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11558
11559         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11560         FuncStaus::FuncStatus & FuncStaus::some_method().
11561
11562 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11563
11564         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11565         of the func_satus stuff. Edited and massaged in various ways by
11566         JMarc.
11567
11568         * lyxfunc.C (getStatus): use FuncStatus
11569
11570 2002-01-08  Juergen Vigna  <jug@sad.it>
11571
11572         * text.C (nextBreakPoint): use function Inset::isChar().
11573
11574         * paragraph.C (TeXOnePar): use function
11575         Inset::forceDefaultParagraphs.
11576
11577         * buffer.C (latexParagraphs): use function
11578         Inset::forceDefaultParagraphs.
11579
11580 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11581
11582         * lyx_gui.C (init): set the style of the menu popups to
11583         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11584
11585 2002-01-07  Juergen Vigna  <jug@sad.it>
11586
11587         * text.C (setHeightOfRow): small fix
11588         (prepareToPrint): don't look at alignment if we don't have the place
11589         for doing it.
11590
11591 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11592
11593         * box.C: New file. Move the Box methods and functions out of box.h,
11594         following Lars' suggestion.
11595
11596 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11597
11598         * box.h: #include "support/LOstream.h", needed for inlined function.
11599
11600         * lyxtextclass.C:
11601         * lyxtextclasslist.C: added some using std declarations.
11602
11603 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11604
11605         * box.h: make signed dimensions to allow insets wider than
11606           the screen (bug #162)
11607
11608         * BufferView_pimpl.C: add some insetHit debug
11609
11610 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11611
11612         * vc-backend.C: add FIXME
11613
11614 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11615
11616         * lyxfunc.C (getStatus): enable code for showing math font status
11617         in toolbar/menu.
11618
11619 2002-01-07  Juergen Vigna  <jug@sad.it>
11620
11621         * text.C (nextBreakPoint): removed debug output not needed anymore.
11622
11623 2002-01-06  Juergen Vigna  <jug@sad.it>
11624
11625         * text.C (nextBreakPoint): fixed up this function we had this bug
11626         since ever but now hopefully we break row better.
11627         (insertChar): we have to check if an inset is the next char as it
11628         could now happen that a large inset is causing a break.
11629
11630 2002-01-05  Juergen Vigna  <jug@sad.it>
11631
11632         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11633         if it doesn't like to be drawed.
11634
11635 2002-01-04  Juergen Vigna  <jug@sad.it>
11636
11637         * BufferView2.C (lockInset): forgot to set a cursor.
11638
11639         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11640
11641 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11642
11643         * FormMathsPanel.C:
11644         * FormMathsPanel.h
11645         * MathsSymbols.C:
11646         * form_maths_panel.C:
11647         * form_maths_panel.h:
11648         * form_maths_panel.fd: implemented sub- and super- buttons in math
11649         panel.
11650
11651         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11652         (or ^ space) to be used as in TeX (req'd by André).
11653
11654         * lyxfunc.C: Allow ^ and _ again to be used both as
11655         super/subscript (mathed) and as themselves (in text).
11656
11657 2002-01-03  Allan Rae  <rae@lyx.org>
11658
11659         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11660         "LyX" or the filename of the current buffer if it has one.  This is a
11661         modified form of John Levon's patch.
11662
11663         * XFormsView.C (setWindowTitle): also set icon title.
11664
11665         * LyXView.h (setWindowTitle): signature changed.
11666         * XFormsView.h (setWindowTitle): ditto.
11667
11668 2002-01-02  Juergen Vigna  <jug@sad.it>
11669
11670         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11671
11672 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11673
11674         * screen.C (topCursorVisible): introduce a temp var for
11675         text->cursor.row(), handle the case where this row is null. (kindo
11676         hachish)
11677
11678         * text2.C (setCursor): add a couple of asserts.
11679
11680         * paragraph.h (inset_iterator): add -> operator
11681
11682         * paragraph.[Ch] (autoDeleteInsets): remove member function
11683
11684         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11685         cursor pos correctly and handle inset deletion by itself.
11686         (insertErrors): move iterator declaration out of for expression
11687
11688         * lyxtextclass.C: add <algorithm>
11689
11690         * Makefile.am: added the new files to sources, removed layout.C
11691
11692         * layout.C: removed file
11693
11694         * layout.h: remove LYX_DUMMY_LAYOUT
11695
11696         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11697         layout.
11698
11699         * lyxlayout.[Ch]:
11700         * lyxtextclass.[Ch]:
11701         * lyxtextclasslist.[Ch]: new files
11702
11703         * include order changes to a lot of files, also changes because of
11704         the six new files.
11705
11706 2001-12-27  Juergen Vigna  <jug@sad.it>
11707
11708         * buffer.C (asciiParagraph): more fixes.
11709
11710         * tabular.C (ascii): make ascii export support export of only the
11711         data separated by a column-delimiter.
11712         (ascii): better support for ascii export.
11713
11714         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11715
11716 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11717
11718         * tabular_funcs.C: use a "using std::getline" instead of the
11719         previous fix from Angus (necessary for cxx + lyxstring)
11720
11721 2001-12-24  Juergen Vigna  <jug@sad.it>
11722
11723         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11724
11725         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11726         problems. First check a minipage also if we have some ert-contents
11727         (not only on par->size(), second set the right depth of the paragraph
11728         on the relink to the root-paragraph-list!
11729
11730         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11731         which then did not anymore update the main paragraphs on undo/redo!
11732
11733 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11734
11735         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11736         code. Support all font-changing funcs (even those which are not in
11737         menu currently). Support for reporting font settings in
11738         mathed (disabled until Andre provides a function on mathed's side).
11739
11740         * func_status.h (toggle): small helper function to set toggle
11741         state on a flag.
11742
11743 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11744
11745         * tabular_funcs.C: getline -> std::getline
11746
11747 2001-12-21  Juergen Vigna  <jug@sad.it>
11748
11749         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11750         accessed and could be 0 (I couldn't generate this but it seems
11751         Michael could!).
11752
11753 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11754
11755         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11756         * tabular_funcs.h: here and include iosfwd
11757
11758 2001-12-20  Juergen Vigna  <jug@sad.it>
11759
11760         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11761         inside inset but undo_par was.
11762
11763 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11764
11765         * Thesaurus.C: always include <config.h> in sources.
11766
11767         * Painter.h:
11768         * lyxlookup.h:
11769         * box.h: do not include <config.h> in header files
11770
11771         * text.C (paintLastRow): remove unused variable
11772
11773         * text.C (transformChar):
11774         (insertChar):
11775         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11776
11777         * Painter.C (text):
11778         * font.C (width): rewrite to use uppercase() instead of
11779         islower/toupper.
11780
11781         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11782
11783 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11784
11785         * lyxfind.C: clean up of find failure position change
11786
11787 2001-12-20  Juergen Vigna  <jug@sad.it>
11788
11789         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11790
11791         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11792         (TeXRow): added to LaTeX a single tabular row.
11793         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11794         (Latex): simplified and finally good LT-h/f support.
11795         (various_functions): just small adaptions for LT-h/f support.
11796
11797         * tabular_funcs.[hC]: added and moved here all not classfunctions
11798         of LyXTabular.
11799
11800 2001-12-19  Juergen Vigna  <jug@sad.it>
11801
11802         * tabular.[Ch]: better support for longtabular options (not finished
11803         yet!)
11804
11805 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11806
11807         * text.C (paintLastRow): use the label font instead of the font of
11808         the last character to compute the size of *_BOX. This makes more
11809         sense and avoids a crash with empty paragraphs.
11810         Use Painter::rectangle to draw EMPTY_BOX.
11811
11812 2001-12-19  Juergen Vigna  <jug@sad.it>
11813
11814         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11815         the paragraphs if the replaced paragraph is not the first one!
11816         Tried to delete not used paragraphs but does not work yet so for
11817         now it's inside #ifdef's and by default off!
11818
11819 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11820
11821         * MenuBackend.C: include "lyx_main.h" instead of declaring
11822         lastfiles (actually was declared as LastFiles* instead of a
11823         scoped_ptr).
11824
11825 2001-12-17  Juergen Vigna  <jug@sad.it>
11826
11827         * tabular.C (AppendColumn): applied John's fix
11828
11829 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11830
11831         * BufferView.h:
11832         * BufferView.C:
11833         * BufferView_pimpl.h:
11834         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11835
11836         * Makefile.am:
11837         * box.h: new start of class for above
11838
11839         * lyxfunc.C: ignore space-only minibuffer dispatches.
11840           Show the command name when it doesn't exist
11841
11842         * minibuffer.C: don't add empty lines to the history
11843
11844         * minibuffer.C: add a space on dropdown completion
11845
11846 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11847
11848         * text.C: fix line above/below drawing in insets
11849
11850 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11851
11852         * lyxlength.C (LyXLength): Initialize private variables.
11853
11854 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11855
11856         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11857         when inserting error insets.
11858
11859 2001-12-13  Juergen Vigna  <jug@sad.it>
11860
11861         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11862         actually sometimes the before-paragraph.
11863         (setUndo): don't clear the redostack if we're not actually undoing!
11864
11865 2001-12-06  Juergen Vigna  <jug@sad.it>
11866
11867         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11868         and fixed redoing of main paragraph, so we can use it now ;)
11869
11870         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11871
11872 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11873
11874         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11875         Juergen's request
11876
11877 2001-12-13  André Pönitz <poenitz@gmx.net>
11878
11879         * undostack.[Ch]:
11880         * undo_func.C: minor cleanup
11881
11882 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11883
11884         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11885         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11886         font in urw-fonts package which is marked as -urw-fontspecific and
11887         does not work (incidentally, changing the encoding in the
11888         fonts.dir of this package to -adobe-fontspecific fixes the
11889         problem).
11890
11891         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11892         is a crash when undoing first paragraph (Juergen, please take a
11893         look). THis does not mean the undo fix is wrong, just that it
11894         uncovers problems.
11895
11896         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11897         the (Paragraph*) version when needed instead of duplicating the
11898         code.
11899
11900         * text.C (workWidth): use Inset::parOwner to find out where the
11901         inset has been inserted. This is a huge performance gain for large
11902         documents with lots of insets. If Inset::parOwner is not set, fall
11903         back on the brute force method
11904
11905         * paragraph_pimpl.C (insertInset):
11906         * paragraph.C (Paragraph):
11907         (cutIntoMinibuffer): set parOwner of insets when
11908         inserting/removing them
11909
11910         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11911
11912 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11913
11914         * commandtags.h:
11915         * LyXAction.C:
11916         * lyx_main.C:
11917         * lyxfunc.C:
11918         * mathed/formulabase.C:
11919         * mathed/math_cursor.[Ch]:
11920         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11921
11922
11923 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11924
11925         * lyxlength.[Ch] (operator!=): new function
11926
11927 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11928
11929         * text.C (workWidth): use Inset::parOwner to find out where the
11930         inset has been inserted. This is a huge performance gain for large
11931         documents with lots of insets. If Inset::parOwner is not set, fall
11932         back on the brute force method
11933
11934         * paragraph_pimpl.C (insertInset):
11935         * paragraph.C (Paragraph):
11936         (cutIntoMinibuffer): set parOwner of insets when
11937         inserting/removing them
11938
11939         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11940
11941 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11942
11943         * tabular-old.C (getTokenValue):
11944         * tabular.C (getTokenValue):
11945         (write_attribute): new versions for LyXLength
11946         (everywhere): adjust the use of widths
11947
11948         * tabular.h: change the type of widths from string to LyXLength
11949
11950 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11951
11952         * paragraph.C: fixed missing line number count when exporting
11953         Environments to LaTeX file
11954
11955         * buffer.C: added informational message for checking line numbers.
11956
11957 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11958
11959         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11960         paragraph, do the 'double space' part, but not the 'empty
11961         paragraph' one.
11962
11963         * text.C (workWidth): small optimization
11964         (getLengthMarkerHeight): use minimal size for negative lengths.
11965
11966 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11967
11968         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11969
11970         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11971
11972 2001-12-11  André Pönitz <poenitz@gmx.net>
11973
11974         * FontLoader.C:
11975         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11976
11977 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11978
11979         * text2.C: keep selection on a setFont()
11980
11981 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11982
11983         * lyx_cb.C: another bv->text misuse, from insert label
11984
11985 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11986
11987         * kbsequence.h:
11988         * kbsequence.C: re-instate nmodifier mask
11989
11990 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11991
11992         * lyx_main.h: make lyxGUI private.
11993
11994 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11995
11996         * lyxfind.C: place the cursor correctly on failed search
11997
11998 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11999
12000         * text.C (getLengthMarkerHeight): for small heights, the arrows
12001         are not always on top/bottom of the text
12002         (drawLengthMarker): smaller arrows; take the left margin in
12003         account; draw also vfills.
12004         (paintFirstRow):
12005         (paintLastRow): remove special code for vfill and standard spaces,
12006         since everything is handled in drawLengthMarker now.
12007
12008 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12009
12010         * buffer.C (insertErtContents): try to handle font and language
12011         interaction a bit better.g
12012
12013         * ColorHandler.C (updateColor): change the hash to cover the whole
12014         LColor enum, ws cleanup
12015         (getGCLinepars): ditto
12016         (getGCLinepars): only lookup in the linecache once.
12017
12018 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12019
12020         * iterators.C (operator++): Make the iterator more robust
12021
12022         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12023         (John's patch)
12024         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12025
12026 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12027
12028         * lyxtext.h:
12029         * text.C: better added space drawing
12030
12031 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12032
12033         * LyXView.C:
12034         * BufferView2.C: fix layout combo update on inset unlock
12035
12036 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12037
12038         * Makefile.am: don't compile unused files
12039
12040 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12041
12042         * lyxfunc.C:
12043         * commandtags.h:
12044         * LyXAction.C: remove old LFUN_LAYOUTNO
12045
12046 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12047
12048         * paragraph_pimpl.h:
12049         * paragraph_pimpl.C: isTextAt() doesn't need font param
12050
12051 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12052
12053         * lyxlex.h:
12054         * lyxlex.C: little cleanup
12055
12056 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12057
12058         * BufferView_pimpl.C: fix insertAscii for insets
12059
12060 2001-12-05  Juergen Vigna  <jug@sad.it>
12061
12062         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12063         set the right font on the "multi" paragraph paste!
12064
12065 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12066
12067         * trans_decl.h:
12068         * trans_mgr.[Ch]:
12069         * trans.[Ch]:
12070         * lyxgluelength.C:
12071         * lyxlength.C: remove out-commented code.
12072
12073         * BufferView_pimpl:
12074         * CutAndPaste.C:
12075         * DepTable.C:
12076         * buffer.C:
12077         * chset.C:
12078         * lastfiles.C:
12079         * lyxlex.C:
12080         * lyxlex_pimpl.C:
12081         * lyxserver.C:
12082         * screen.C:
12083         * tabular-old.C:
12084         * tabular.C:
12085         * text.C:
12086         * trans_mgr.C:
12087         * vc-backend.C: change "while(" to "while ("
12088
12089         * lyxlength.[Ch]: add zero function to check if length is zero or
12090         not
12091         * lyxgluelength.C: use it
12092
12093 2001-12-05  Allan Rae  <rae@lyx.org>
12094
12095         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12096         Works for 2.95.3, from what I understand of Garst's reports this should
12097         work for other g++ versions.  We're screwed if the abs(int) definition
12098         changed between bugfix releases of gcc.
12099
12100 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12101
12102         * text.C: fix chapter label offset !
12103
12104 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12105
12106         * lyxtext.h:
12107         * text.C: fix hfill at end of line, clean up
12108
12109 2001-12-04  Juergen Vigna  <jug@sad.it>
12110
12111         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12112         that we force an update of the inset and it's owners if neccessary.
12113
12114 2001-12-03  Juergen Vigna  <jug@sad.it>
12115
12116         * text.C (rowLast): simplified code
12117
12118 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12119
12120         * lyxfunc.C: fix show options on timeout
12121
12122 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12123
12124         * screen.C (topCursorVisible): scroll half a page when the cursor
12125         reached top of bottom of screen
12126
12127 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12128
12129         * minibuffer.C: deactivate on loss of focus
12130
12131 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12132
12133         * vspace.[Ch] (operator!=): add operator.
12134
12135 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12136
12137         * BufferView_pimpl.C: refuse to open an inset when
12138         there's a selection.
12139
12140 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12141
12142         * BufferView_pimpl.C: allow to click on RHS of full row insets
12143
12144 2001-11-30  Juergen Vigna  <jug@sad.it>
12145
12146         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12147         insets for undo reasons.
12148
12149 2001-11-28  André Pönitz <poenitz@gmx.net>
12150
12151         * vspace.[Ch]: cosmetical changes
12152
12153 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12154
12155         * LyXAction.h:
12156         * LyXAction.C:
12157         * lyxfunc.h:
12158         * lyxfunc.C:
12159         * kbmap.h:
12160         * kbmap.C:
12161         * lyxrc.C:
12162         * kbsequence.h:
12163         * kbsequence.C: part re-write of old kb code
12164
12165         * Painter.C:
12166         * WorkArea.C: remove Lgb_bug_find_hack
12167
12168 2001-11-30  José Matos <jamatos@fep.up.pt>
12169
12170         * buffer.C (makeDocBookFile): add a comment to point a hack.
12171         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12172         Fixed a double write of labels.
12173
12174 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12175
12176         * LaTeX.C:
12177         * LaTeX.h Fixed bug in LaTeX class where it would not
12178         re-run latex if no depfiles were changed, but the .dvi was removed.
12179
12180 2001-11-28  André Pönitz <poenitz@gmx.net>
12181
12182         * all the files from the change on 2001/11/26:
12183         use lyx::layout_type instead of LyXTextClass::size_type
12184         use lyx::textclass_type instead of LyXTextClassList::size_type
12185
12186 2001-11-29  Juergen Vigna  <jug@sad.it>
12187
12188         * text.C: added support for paragraph::isFreeSpacing()
12189
12190         * buffer.C: same as above
12191
12192         * paragraph.h: inserted isFreeSpacing() function to enable
12193         FreeSpacing inside InsetERT.
12194
12195         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12196         of the paragraph's in the cut/copy buffer to 0!
12197
12198         * text2.C (removeRow): remove the assert as it can!
12199
12200         * lyxtext.h: added helper function firstRow returning firstrow and
12201         made firstrow private again.
12202
12203         * BufferView2.C (lockInset): don't relock if we're already locked!
12204
12205         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12206         the only paragraph.
12207         (removeRow): added Assert::(firstrow)
12208
12209         * debug.C: forgot to add INSETTEXT here.
12210
12211 2001-11-28  Juergen Vigna  <jug@sad.it>
12212
12213         * sp_spell.C (initialize): changed error text to more general
12214         spellchecker command use (not only ispell!)
12215
12216         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12217
12218         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12219
12220 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12221
12222         * vspace.C: initialise lyxgluelength on failure
12223
12224 2001-11-28  Allan Rae  <rae@lyx.org>
12225
12226         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12227         declaration & definition that looks like a function declaration.
12228
12229 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12230
12231         * BufferView2.C (copy):
12232         (copyEnvironment): do not clear the selection when doing a copy.
12233
12234         * text.C (paintFirstRow): compilation fix
12235
12236 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12237
12238         * tabular.C (Latex): correct line count when writing latex.
12239
12240 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12241
12242         * paragraph_pimpl.h:
12243         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12244           bug a bit
12245
12246 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12247
12248         * text.C:
12249         * LColor.h:
12250         * LColor.C: change vfillline->added_space
12251
12252         * text.C: add markers and text for added space
12253
12254         * vspace.C: fix comment
12255
12256 2001-11-28  André Pönitz <poenitz@gmx.net>
12257
12258         * paragraph.C: whitespace changes
12259         * all the other files from the change on 2001/11/26:
12260         change *::pos_type into lyx::pos_type
12261
12262 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12263
12264         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12265         language of the document when inserting error insets.
12266
12267 2001-11-26  André Pönitz <poenitz@gmx.net>
12268
12269         * BufferView_pimpl.[Ch]:
12270         *       CutAndPaste.C:
12271         * buffer.[Ch]:
12272         * lyxcursor.[Ch]:
12273         * lyxfind.C:
12274         * lyxfunc.C:
12275         * lyxrow.[Ch]:
12276         * paragraph.[Ch]:
12277         * paragraph_pimpl.[Ch]:
12278         * sp_spell.C:
12279         * text.C:
12280         * text2.C: reduce header dependencies, introduce type for positions
12281
12282 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12283
12284         * <various>: change to use Alert.h
12285
12286 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12287
12288         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12289         when encountering an unknown token.
12290         (readLyXformat2): Show an error message if there were unknown tokens.
12291
12292 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12293
12294         * BufferView2.C:
12295         * BufferView_pimpl.C:
12296         * buffer.C:
12297         * paragraph.h:
12298         * text.C:
12299         * text2.C: use par->isInset()
12300
12301 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12302
12303         * paragraph_pimpl.h:
12304         * paragraph_pimpl.C: cleanup
12305
12306 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12307
12308         * text2.C (removeRow):
12309         * text.C (setHeightOfRow): remove useless (and costly) call to
12310         getRow.
12311
12312 2001-11-20  Allan Rae  <rae@lyx.org>
12313
12314         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12315         Now need Inset*::checkInsertChar() to return true for appropriate
12316         cases so that the characters in the minibuffer will actually be
12317         inserted.
12318
12319 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12320
12321         * text.C: change the order of the includes.
12322         (workWidth): initialize it at once.
12323         (workWidth): make maxw unsigned
12324         (setHeightOfRow): remove unused variable (inset)
12325         (selectSelectedWord): remove unused variable (inset)
12326         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12327
12328 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12329
12330         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12331         server is not running.
12332         (openConnection):
12333         (closeConnection): add debug info when server is disabled.
12334
12335         * ColorHandler.C (getGCForeground): send debug message to GUI
12336         channel.
12337
12338         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12339
12340         * kbmap.C (bind): modify because return conventions of
12341         kb_sequence::parse have changed.
12342
12343         * kbsequence.C (parse): only ignore spaces and not any stupid
12344         control character. This avoids tests like s[i] <= ' ', which are
12345         guaranteed to fail with 8bit characters and signed chars.
12346         Change return code to string::npos when there have been no error
12347         (0 was a bad idea when error is at first character)
12348
12349 2001-11-14  José Matos  <jamatos@fep.up.pt>
12350
12351         * buffer.h:
12352         * buffer.C (simpleDocBookOnePar): removed unused argument.
12353
12354 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12355
12356         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12357         insets which are part of a word. Paragraph::isLetter takes care of
12358         that now. Use Paragraph::isInset to identify insets.
12359         (selectSelectedWord): do not test for hyphenation break.
12360
12361         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12362         that protected spaces are considered as spaces.
12363
12364         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12365         Inset::isLetter.
12366
12367 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12368
12369         * lyxserver.h:
12370         * lyxserver.C: fix it. and small cleanup.
12371
12372 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12373
12374         * BufferView_pimpl.C: use inline helpers
12375
12376         * LaTeXFeatures.h:
12377         * LaTeXFeatures.C: fix typos
12378
12379         * Spacing.h:
12380         * Spacing.C: move spacing_string into class
12381
12382         * ToolbarDefaults.C: move stuff into namespace anon
12383
12384         * layout.h: update enum
12385
12386         * lyxfunc.C: use better debug
12387
12388         * minibuffer.h: fix typo
12389
12390         * debug.h:
12391         * debug.C:
12392         * WorkArea.C: add and use Debug::WORKAREA
12393
12394         * lyxtext.h:
12395         * text.C:
12396         * text2.C: code re-organisation, inline helpers
12397
12398 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12399
12400         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12401         std::vector.empty().
12402
12403 2001-11-09  Allan Rae  <rae@lyx.org>
12404
12405         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12406         '\n's after tables.  Tabular and ERT inset work now makes this no
12407         longer necessary.
12408
12409 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12410
12411         * minibuffer.h:
12412         * minibuffer.C: fix crash, improve drop-down completion
12413
12414 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12415
12416         * lyxserver.h:
12417         * lyxserver.C: invalidate fd's when doing endPipe()
12418
12419 2001-11-08  José Matos  <jamatos@fep.up.pt>
12420
12421         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12422         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12423
12424         * paragraph.h:
12425         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12426
12427 2001-11-07  José Matos  <jamatos@fep.up.pt>
12428
12429         * buffer.h:
12430         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12431         const qualifier.
12432
12433         * buffer.C (sgmlOpenTag):
12434         * buffer.C (sgmlCloseTag): removed debug info.
12435
12436         * buffer.h (sgmlOpenTag):
12437         * buffer.h (sgmlCloseTag): made public.
12438
12439 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12440
12441         * buffer.C (saveParamsAsDefaults):
12442         * lyx_cb.C (MenuLayoutSave): remove
12443
12444         * LyXAction.C (init):
12445         * commandtags.h:
12446         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12447
12448 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12449
12450         * buffer.C (setPaperStuff): removed from here...
12451
12452         * bufferparams.C (setPaperStuff): ... and moved there.
12453
12454 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12455
12456         * minibuffer.h:
12457         * minibuffer.C:
12458         * XFormsView.C: add support for drop-down completion
12459
12460 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12461
12462         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12463         commands.
12464
12465 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12466
12467         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12468         disabled.
12469
12470 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12471
12472         * lyx_main.C: change ref to known bugs
12473
12474 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12475
12476         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12477         to work around older babel problems.
12478
12479 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12480
12481         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12482
12483 2001-10-24  Juergen Vigna  <jug@sad.it>
12484
12485         * tabular-old.C (ReadOld): below variable changes reflected.
12486
12487         * tabular.[Ch]: added ltType struct for longtable header/footer
12488         defines and changed all instances where they are used. Added
12489         future support for double top/bottom rows.
12490
12491 2001-10-24  José Matos  <jamatos@fep.up.pt>
12492
12493         * buffer.h (docbookHandleCaption):
12494         * buffer.C (docbookHandleCaption): removed unused function.
12495         (makeDocBookFile): moved docbook supported version to v4.1.
12496
12497 2001-10-24  José Matos  <jamatos@fep.up.pt>
12498
12499         * tabular.h:
12500         * tabular.C (docbookRow): new function to export docbook code of a row.
12501         (DocBook): now honors the longtable flags.
12502
12503 2001-10-23  José Matos  <jamatos@fep.up.pt>
12504
12505         * LaTeXFeatures.h:
12506         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12507         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12508
12509         * buffer.C (makeLinuxDocFile):
12510         (makeDocBookFile): reworked the preamble, more clean, and with
12511         support for lyx defined entities. Changed the document declaration
12512         to be more XML friendly.
12513
12514         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12515         if we need to output XML that should be done with a filter.
12516
12517 2001-10-22  Juergen Vigna  <jug@sad.it>
12518
12519         * sp_pspell.h (class PSpell): add alive function needed in the
12520         controller to see if the spellchecker could be started.
12521
12522 2001-10-22  Juergen Vigna  <jug@sad.it>
12523
12524         * buffer.C (insertStringAsLines): modify the font for inserting
12525         chars in certain conditions by calling checkInsertChar(font).
12526
12527 2001-10-19  Juergen Vigna  <jug@sad.it>
12528
12529         * text.C (workWidth): use getRow instead of wrong algorithm.
12530         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12531
12532 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12533
12534         * lyxserver.h:
12535         * lyxserver.C:
12536         * lyx_main.h:
12537         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12538
12539 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12540
12541         * text.C (workWidth): do not search for the exact row when
12542         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12543         optimization for big documents.
12544
12545 2001-10-18  Juergen Vigna  <jug@sad.it>
12546
12547         * text.C (workWidth): new function with added Inset * parameter.
12548
12549 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12550
12551         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12552
12553         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12554         change return type of getColumnNearX.
12555
12556
12557         * text.C (changeRegionCase): use uppercase/lowercase instead of
12558         toupper/tolower.
12559         (leftMargin):
12560         (rightMargin): simplify code by factoring out the uses of
12561         textclasslist.
12562         (labelFill):
12563         (numberOfHfills):
12564         (setHeightOfRow):
12565         (appendParagraph): use Paragraph::size_type
12566
12567 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12568
12569         * vspace.C (asLatexString): add a missing break
12570
12571 2001-10-15  Herbert Voss  <voss@perce.de>
12572
12573         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12574
12575 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12576
12577         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12578         is not available.
12579
12580 2001-10-10  André Pönitz <poenitz@gmx.net>
12581
12582         * lyxfunc.C: removed greek_kb_flag.
12583
12584 2001-10-10  Herbert Voss  <voss@perce.de>
12585
12586         * lyx_main.C: delete global string help_lyxdir.
12587
12588 2001-10-09  Herbert Voss  <voss@perce.de>
12589
12590         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12591
12592         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12593
12594         * lyx_main.C: added global string help_lyxdir.
12595
12596         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12597
12598 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12599
12600         * lyxrc.C (set_font_norm_type): support iso8859-4
12601
12602 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12603
12604         * LaTeX.C (deplog): add another regex for MikTeX
12605
12606 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12607
12608         * lyxrc.C (set_font_norm_type): support iso8859-3
12609
12610 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12611
12612         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12613
12614         * LaTeXFeatures.C: remove special case of french and index
12615
12616         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12617         before \begin{document}). This solves several incompatibilities.
12618
12619 2001-10-03  Garst Reese  <reese@isn.net>
12620
12621         * lyx_cb.C: change CheckTex error msg.
12622
12623 2001-10-03  José Matos  <jamatos@fep.up.pt>
12624
12625         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12626
12627 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12628
12629         * .cvsignore: update
12630
12631         * lyx_main.C (commandLineVersionInfo): use new style version info.
12632
12633         * buffer.C (writeFile):
12634         (makeLaTeXFile):
12635         (makeLinuxDocFile):
12636         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12637
12638         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12639
12640         * version.h: update to use stuff in version.C
12641
12642         * version.C.in: new file. Contains version information determined
12643         at compile time. This is a merging of version.h and
12644         version_info.h.in.
12645
12646 2001-10-03  Juergen Vigna  <jug@sad.it>
12647
12648         * BufferView_pimpl.C (update): don't change "dirty" status in
12649         updateInset call.
12650
12651 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12652
12653         * WorkArea.C (c-tor): re-position version string slightly.
12654
12655 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12656
12657         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12658         revert to previous code.
12659
12660         WorkArea.[Ch]: (show, destroySplash): methods removed.
12661
12662         WorkArea.C: rework code so that it's an amalgam of the codes before and
12663         after the splash screen was moved to WorkArea.
12664
12665 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12666
12667         * lyxrc.C (read):
12668         * vspace.C (inPixels):
12669         (lyx_advance):
12670         * kbmap.C (bind):
12671         * buffer.C (insertStringAsLines):
12672         (asciiParagraph): fix types to be large enough
12673
12674         * lyxlex_pimpl.h: change member status from short to int
12675
12676         * layout.h: fix type of endlabeltype
12677
12678         * kbmap.C (bind):
12679         * kbsequence.C (parse): change return type to string::size_type
12680
12681         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12682         variable
12683
12684         * Bullet.C (bulletSize):
12685         (bulletEntry): do not use short ints as parameters
12686
12687         * BufferView2.C (insertLyXFile): change a char to an int.
12688
12689         * WorkArea.C (WorkArea): remove unneeded floats in computation
12690
12691 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12692
12693         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12694
12695         * paragraph.C (asString): Do not ignore newline/hfill chars when
12696         copying to the clipboard.
12697
12698 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12699
12700         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12701         after a multi-line inset.
12702
12703 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12704
12705         * paragraph.C (validate): Set NeedLyXFootnoteCode
12706
12707 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12708
12709         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12710         and decrease-error to decrease.
12711
12712 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12713
12714         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12715         it more readable (should be equivalent)
12716
12717 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12718
12719         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12720
12721 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12722
12723         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12724         of a cursor (row, etc.) after a character has been deleted
12725         (deleteEmptyParagraphMechanism): call the method above on _all_
12726         cursors held by the LyXText when a double space has been
12727         detected/deleted.
12728
12729 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12730
12731         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12732         pixmap.
12733         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12734
12735         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12736         background. Use greyOut() and the new show() methods to toggle between
12737         the foreground and background. Add code to remove the splash after
12738         its initial showing.
12739
12740         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12741         (create_forms): no longer call Dialogs::showSplash.
12742
12743 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12744
12745         * .cvsignore: add version_info.h
12746
12747 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12748
12749         * version_info.h.in: new file
12750
12751         * Makefile.am: add version_info.h.in
12752
12753         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12754         version_info.h instead of VERSION_INFO
12755
12756 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12757
12758         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12759         The ERT inset now returns string().
12760
12761 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12762
12763         * lyxtext.h, text.C (selectNextWord): renamed as
12764         selectNextWordToSpellcheck.
12765
12766         * text.C (selectNextWordToSpellcheck): Modified to not select
12767         words inside an ERT inset.
12768
12769 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12770
12771         * lyx_cb.C (MenuLayoutSave): change a bit the question
12772
12773         * sp_base.h: include <sys/types.h>
12774
12775 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12776
12777         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12778
12779 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12780
12781         * several files: fix typos in user-visible strings
12782
12783 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12784
12785         * text2.C (pasteSelection): do not set the selection, since it
12786         will be cleared later. Actually, the intent was to fix the way the
12787         selection was set, but I figured rmoving the code was just as good.
12788
12789 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12790
12791         * FontLoader.C (available): Check if font is available without
12792         loading the font.
12793
12794 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12795
12796         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12797
12798 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12799
12800         * lyxrc.[Ch]: added display_graphics variable and associated code.
12801
12802 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12803
12804         * bufferparams.C (hasClassDefaults): new method. Returns true if
12805         the buffer parameters correspond to known class defaults
12806
12807 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12808
12809         * XFormsView.C (show): set minimum size to the main window.
12810
12811 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12812
12813         * text2.C (copySelection):
12814         (cutSelection):
12815         * lyxfind.C (LyXReplace):
12816         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12817         LyXText::selectionAsString.
12818
12819         * paragraph.C (asString): add "label" argument to the second form
12820
12821         * text2.C (selectionAsString): add "label" argument and pass it to
12822         Paragraph::asString.
12823
12824 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12825
12826         * lyx_main.C (commandLineHelp): remove version information
12827
12828 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12829
12830         * lyx_main.C: add -version commandline option
12831
12832 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12833
12834         * paragraph.h: make the optional constructor arg required instead.
12835         some modifications to other files because of this.
12836
12837         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12838
12839         * lyxserver.C (C_LyXComm_callback): make it static
12840
12841         * lyx_main.C (error_handler): make it static
12842
12843         * lyx_gui.C (LyX_XErrHandler): make it static
12844
12845         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12846
12847         * WorkArea.C: make the extern "C" methods static.
12848
12849         * Makefile.am (lyx_LDADD): simplify
12850
12851 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12852
12853         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12854         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12855
12856         * LyXAction.C (init):
12857         * lyxfunc.C (dispatch): associated code removal.
12858
12859 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12860
12861         * lyxfont.h (isSymbolFont): shut off warning
12862
12863         * text.C (setHeightOfRow):
12864         (getVisibleRow): fix crash with empty paragraphs which have a
12865         bottom line
12866
12867 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12868
12869         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12870         code.
12871
12872 2001-09-04  José Matos  <jamatos@fep.up.pt>
12873         * buffer.C
12874         * buffer.h
12875         * tabular.C (docbook): rename docBook method to docbook.
12876
12877 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12878
12879         * Makefile.am: add dependencies to main.o.
12880
12881 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12882
12883         * FontLoader.C (available): Return false if !lyxrc.use_gui
12884
12885 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12886
12887         * FontInfo.C (query):
12888         * converter.C (view):
12889         * importer.C (Import):
12890         * exporter.C (Export): Can not -> cannot.
12891
12892 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12893
12894         * BufferView_pimpl.C: allow to create index inset even if
12895           string is empty
12896
12897 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12898
12899         * buffer.C (getLists): replace boost::tie code with an explicit pair
12900         as boost::tie can break some compilers.
12901
12902         * iterators.h: Added a std:: declaration to the return type of
12903         ParIterator::size.
12904
12905 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12906
12907         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12908           case.
12909
12910 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12911
12912         * iterators.[Ch]: New files. Provide paragraph iterators.
12913
12914         * buffer.C (changeLanguage): Use paragraph iterators.
12915         (isMultiLingual): ditto
12916
12917         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12918
12919 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12920
12921         * FontLoader.C: Support for cmr font.
12922
12923 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12924
12925         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12926         (available): New method.
12927
12928         * FontInfo.C (getFontname): Use scalable fonts even when
12929         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12930         found.
12931
12932 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12933
12934         * converter.C (Formats::view): reverted! Incorrect fix.
12935
12936 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12937
12938         * converter.C (Formats::view): only output the -paper option
12939         if the dvi viewer is xdvi, thereby fixing bug #233429.
12940
12941 2001-08-23  Herbert Voss  <voss@perce>
12942
12943         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12944
12945 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12946
12947         * Spacing.h (Spacing): Set space to Default on in the default
12948         constructor.
12949
12950 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12951
12952         * vc-backend.h (RCS::versionString): add RCS to version
12953         (CVS::versionString): add CVS to version
12954
12955         * vc-backend.C (scanMaster): do not add CVS to version.
12956         (scanMaster): do not add RCS to version
12957
12958         * lyxvc.C (versionString): new method
12959
12960         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12961
12962 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12963
12964         * Spacing.C (set): initialize fval
12965
12966 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12967
12968         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12969         " or \.
12970
12971 2001-08-16  Juergen Vigna  <jug@sad.it>
12972
12973         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12974
12975 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12976
12977         * BufferView_pimpl.C:
12978         * figureForm.C:
12979         * lyxtext.h:
12980         * text2.C: setParagraph takes linespacing now
12981
12982 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12983
12984         * LyxAction.C: add internal LFUN_CITATION_INSERT
12985
12986         * LyXView.C: actually apply fix
12987
12988         * bufferlist.C: fix open non-existent file
12989
12990         * lyxfind.C: fix indentation
12991
12992         * lyxfunc.C: remove unneeded assert, fix typo
12993
12994 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12995
12996         * MenuBackend.C: use "Floatname List"
12997
12998 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12999
13000         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13001         when converting LaTeX layout to insetERT.
13002         Generate a non-collapsed float when reading old float
13003
13004 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13005
13006         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13007         ERT insets.
13008
13009 2001-08-13  Juergen Vigna  <jug@sad.it>
13010
13011         * text.C (fill): return 0 instead of 20 as this seems to be the more
13012         correct value.
13013
13014 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13015
13016         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13017         lyxrc.font_norm.
13018
13019 2001-08-13  Juergen Vigna  <jug@sad.it>
13020
13021         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13022         casesensitive off.
13023         (SearchBackward): comment out the unlocking of the inset_owner this
13024         should not be needed!
13025
13026 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13027
13028         * Many files: Remove inherit_language, and add latex_language
13029
13030         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13031         collapsible insets.
13032
13033 2001-08-10  Juergen Vigna  <jug@sad.it>
13034
13035         * text.C (prepareToPrint): fixed hfill-width in draw!
13036
13037         * BufferView2.C (selectLastWord): save the selection cursor as this
13038         now is cleared in the function LyXText::clearSelection!
13039
13040 2001-08-08  Juergen Vigna  <jug@sad.it>
13041
13042         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13043         BACKSPACE type functions.
13044
13045         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13046         is only cutted from the document but not put in the cut-buffer, where
13047         still the old stuff should be.
13048
13049         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13050
13051         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13052
13053         * tabular.C (SetWidthOfCell): fixed special case where the width
13054         was not updated!
13055         (LeftLine): handle '|' in align_special.
13056         (RightLine): ditto
13057         (LeftAlreadyDrawed): ditto
13058         (SetWidthOfCell): ditto
13059
13060 2001-08-07  Juergen Vigna  <jug@sad.it>
13061
13062         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13063
13064 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13065
13066         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13067         * lyxlex.[hC]: ditto
13068
13069 2001-08-06  Juergen Vigna  <jug@sad.it>
13070
13071         * text.C (getVisibleRow): fix up row clearing a bit.
13072
13073 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13074
13075         * minibuffer.C: make sure the X server sees the changes in the input.
13076
13077 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13078
13079         * paragraph.C (getFont): split into...
13080         (getLabelFont): this
13081         (getLayoutFont): and this
13082         * paragraph_pimpl.C (realizeFont): calling this
13083
13084         * text2.C (getFont): split into...
13085         (getLayoutFont): this
13086         (getLabelFont): and this
13087         (realizeFont): all three calling this
13088
13089         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13090         files where used.
13091
13092 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13093
13094         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13095
13096 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13097
13098         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13099         layouts from the Quote inset insertion.
13100
13101 2001-08-03  Juergen Vigna  <jug@sad.it>
13102
13103         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13104
13105         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13106         only if status not is already CHANGED_IN_DRAW (second level).
13107
13108         * text.C (draw): don't set the need_break_row when inside an
13109         InsetText LyXText.
13110
13111 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13112
13113         * buffer.C (parseSingleLyXformat2Token): handle more latex
13114         conversion cases.
13115
13116         * bufferview_funcs.[hC]: change function names to
13117         begin with small char, adjust other files.
13118
13119 2001-08-02  André Pönitz <poenitz@gmx.net>
13120
13121         * lyxfunc.C:
13122         BufferView_pimpl.C: remove broken special code for math-greek
13123
13124 2001-08-02  Juergen Vigna  <jug@sad.it>
13125
13126         * BufferView_pimpl.C (update): redone this function so that we
13127         update the text again if there was a CHANGE_IN_DRAW.
13128
13129         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13130         (drawFromTo): added a new internal bool which is used by draw() and
13131         redraw() function.
13132         (general): some cursor drawing problems fixed.
13133
13134 2001-08-01  Juergen Vigna  <jug@sad.it>
13135
13136         * lyxfind.C (LyXFind): fixed
13137         (SearchForward): ditto
13138         (SearchBackward): ditto
13139
13140         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13141         spurius drawing of the cursor in the main area.
13142
13143         * text2.C (status): small fix which could lead to a segfault!
13144         (clearSelection): remove unneeded BufferView param.
13145
13146 2001-08-01  André Pönitz <poenitz@gmx.net>
13147
13148         * lyxfunc.C: small change due to changed mathed interface
13149
13150 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13151
13152         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13153
13154 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13155
13156         * lyxfunc.c: fail gracefully if file doesn't exist
13157
13158         * LyXSendto.C:
13159         * buffer.C:
13160         * lyxfunc.C:
13161         * BufferView_pimpl.C: IsDirWriteable() proto changed
13162
13163         * LyXView.C: fix updateWindowTitle() to store the last title
13164
13165 2001-07-31  Juergen Vigna  <jug@sad.it>
13166
13167         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13168         the font (wrong since using of Paragraph::highestFontInRange).
13169
13170         * paragraph.C (highestFontInRange): added a default_size parameter.
13171
13172         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13173         (setHeightOfRow): reformat
13174
13175 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13176
13177         * converter.[hC] + affected files: move to (inital-char)lowercase
13178         function names.
13179
13180         * ParagraphParameters.C (ParagraphParameters): remove commented code
13181
13182         * PainterBase.[Ch]: remove commented code
13183
13184         * LaTeXFeatures.h: add "bool floats" for float.sty
13185
13186         * LaTeXFeatures.C (LaTeXFeatures): init floats
13187         (require): handle float
13188         (getPackages): do it with floats
13189
13190 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13191
13192         * BufferView_pimpl.C (Dispatch): improve handling of
13193         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13194
13195         * commandtags.h: #include lyxfont.h here temporarily to avoid
13196         keybinding bug.
13197
13198         * bufferlist.h: include LString.h here.
13199
13200 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13201
13202         * text2.C (getStringToIndex): new method.
13203
13204 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13205
13206         * *: Reduced header file dependencies all over.
13207
13208 2001-07-30  Baruch Even  <baruch@lyx.org>
13209
13210         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13211
13212 2001-07-29  Baruch Even  <baruch@lyx.org>
13213
13214         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13215
13216 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13217
13218         * ParameterStruct.h (endif): add a default constructor to make
13219         sure that all variables is initialized.
13220
13221         * ParagraphParameters.C (ParagraphParameters): adjust
13222
13223 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13224
13225         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13226         index; also, check that there is something to index, and that it
13227         does not span over several paragraphs.
13228         (doubleClick): use WHOLE_WORD_STRICT for double click.
13229
13230         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13231
13232         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13233         scheme.
13234
13235 2001-07-26  Baruch Even  <baruch@lyx.org>
13236
13237         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13238         an InsetFig figure, backwards compatible reading of old figure code.
13239
13240 2001-07-27  Juergen Vigna  <jug@sad.it>
13241
13242         * text2.C: font.realize function adaption.
13243
13244         * text.C (draw): add a warnings lyxerr text if needed.
13245
13246         * layout.C: font.realize function adaption.
13247
13248         * language.C: add inherit_language and implement it's handlings
13249
13250         * bufferview_funcs.C (StyleReset): remove language parameter from
13251         font creation (should be language_inherit now).
13252
13253         * bufferparams.C (writeFile): handle ignore_language.
13254
13255         * paragraph.C (getFontSettings): the language has to be resolved
13256         otherwise we have problems in LyXFont!
13257
13258         * lyxfont.C (lyxWriteChanges): added document_language parameter
13259         (update): removed unneeded language parameter
13260
13261         * paragraph.C (validate): fixed wrong output of color-package when
13262         using interface colors for certain fonts in certain environments,
13263         which should not seen as that on the final output.
13264
13265 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13266
13267         * BufferView_pimpl.C:
13268         * Thesaurus.h:
13269         * Thesaurus.C:
13270         * Makefile.am:
13271         * commandtags.h:
13272         * LyXAction.C: add thesaurus support
13273
13274         * lyxfind.h:
13275         * lyxfind.C: add "once" parameter, for thesaurus, to not
13276           move to the next match
13277
13278 2001-07-26  Juergen Vigna  <jug@sad.it>
13279
13280         * lyxfont.C (realize): honor ignore_language too!
13281         (resolved): ditto.
13282
13283         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13284
13285         * text.C (draw): one place more for ignore_language to not draw
13286         itself!
13287
13288 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13289
13290         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13291
13292 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13293
13294         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13295         the minipage conversion problem.
13296
13297 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13298
13299         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13300         insert an inset.
13301
13302 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13303
13304         * BufferView.h: don't forward declare WorkArea
13305
13306         * BufferView.C: don't include WorkArea.h
13307
13308 2001-07-25  André Pönitz <poenitz@gmx.net>
13309
13310         * commandtags.h:
13311         * LyXAction.C:
13312         * lyxfunc.C:  new LFUN 'math-space'
13313
13314         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13315
13316 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13317
13318         * text2.C (toggleInset): call open/close
13319
13320 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13321
13322         * lyxfunc.C (dispatch): add debug for the disabled case
13323
13324         * font.C (buttonText): make similar to rectText
13325
13326         * buffer.C (readInset): comment out parsing of insetlist and
13327         insttheorem
13328
13329         * PainterBase.C (rectText): small correction
13330
13331         * BufferView_pimpl.C: comment out insettheorem and insetlist
13332         * LyXAction.C: ditto
13333         * commandtags.h: ditto
13334
13335 2001-07-24  Juergen Vigna  <jug@sad.it>
13336
13337         * text.C (draw): honor the ignore_language.
13338
13339         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13340
13341 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13342
13343         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13344         char inset.
13345
13346 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13347
13348         * lyxtext.h: remove unused (and unimplemented) methods
13349
13350 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13351
13352         * text.C (getVisibleRow): honor background color
13353
13354         * PainterBase.h:
13355         * Painter.h: remove default color argument for fillRectangle
13356
13357         * text.C (backgroundColor): new method
13358
13359 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13360
13361         * text.C (getVisibleRow): adjust
13362
13363         * font.[Ch] (rectText): new method, metrics
13364         (buttonText): new method, metrics
13365
13366         * PainterBase.[hC]: make rectText and buttonText always draw and take
13367         fewer paramteres.
13368
13369 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13370
13371         * ToolbarDefaults.C (read):
13372         * MenuBackend.C (read): allow escaping in all strings
13373
13374         * BufferView_pimpl.C (insertAndEditInset): new method.
13375         (Dispatch): use insertAndEditInset whenever appropriate.
13376
13377         * BufferView_pimpl.C (insertNote): removed
13378
13379         * BufferView_pimpl.C (smartQuote): new method, moved from
13380         BufferView; if an insetquote cannot be inserted, insert a '"'
13381         character instead.
13382
13383         * BufferView2.C: remove insertCorrectQuote();
13384
13385         * lyxfunc.C (getStatus): Add support for all remaingin
13386         inset-insert lfuns.
13387
13388         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13389
13390         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13391         command (necessary to pass " as parameter of self-insert.
13392
13393         * text.C (selectWordWhenUnderCursor):
13394         (selectWord): add word_location parameter
13395         (selectWordWhenUnderCursor): same + remove special code for word
13396         boundary.
13397         (selectNextWord): use kind() to guess type of insetspecialchar,
13398         not latex().
13399
13400         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13401         (insertErtContents): create ert insets as collapsed.
13402         (readInset): better compatibility code for Info inset.
13403
13404 2001-07-20  Juergen Vigna  <jug@sad.it>
13405
13406         * lyxfunc.C (dispatch): use always LyXFind now!
13407
13408         * text2.C (init): add a reinit flag so that the LyXText can be
13409         reinited instead of deleted and reallocated (used in InsetText).
13410
13411         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13412
13413         * text.C: ditto
13414
13415         * text2.C: ditto
13416
13417 2001-07-18  Juergen Vigna  <jug@sad.it>
13418
13419         * text.C (selectNextWord): handle insets inside inset by calling
13420         always the bv->text functions so that we can go up the_locking_inset!
13421
13422         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13423         in strange locations when inside an inset!
13424
13425         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13426         handling to include insets.
13427
13428         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13429
13430 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13431
13432         * LyXAction.C (init):
13433         * commandtags.h:
13434         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13435         LIGATURE_BREAK, since the name is so stupid.
13436
13437 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13438
13439         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13440         InsetInfos.
13441
13442         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13443
13444         * sp_form.[Ch]: remove.
13445
13446         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13447
13448         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13449         InsetInfo.
13450
13451         * src/buffer.C (readInset): ditto.
13452
13453 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13454
13455         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13456         menuSeparator(), endOfSentenceDot(), ldots() and
13457         hyphenationPoint(), which are therefore removed.
13458         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13459
13460         * LyXAction.C (init):
13461         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13462
13463         * paragraph.C (getWord): removed.
13464
13465         * BufferView_pimpl.C (Dispatch): use last word or selection for
13466         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13467
13468         * lyx_main.C (queryUserLyXDir): do not ask before creating
13469         user_dir, except if it has been named explicitely.
13470
13471 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13472
13473         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13474         a document of zero size.
13475
13476 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13477
13478         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13479         approriately in the c-tor and in require().
13480         (getPackages): output the appropriate LaTeX for natbib support.
13481
13482         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13483         variables "use_natbib" and "use_numerical_citations" when reading the
13484         LyX file.
13485         (readInset): read the various natbib cite commands.
13486         (validate): white-space change.
13487
13488         * bufferparams.[Ch]: new variables "bool use_natbib" and
13489         "bool use_numerical_citations".
13490         (writeFile): output them in the LyX file.
13491
13492 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13493
13494         * lyxfunc.C (getStatus): add support for all the inset insertion
13495         commands.
13496
13497         * text2.C (insertInset):
13498         * paragraph.C (insetAllowed):
13499         * BufferView_pimpl.C (insertInset): update to take in account the
13500         renaming of insertInsetAllowed
13501
13502         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13503
13504         * text2.C (getInset): new method. returns inset at cursor position.
13505
13506         * BufferView_pimpl.C (Dispatch): changes because of this.
13507
13508         * LyXAction.C (init): rename open-stuff to inset-toggle.
13509
13510         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13511
13512         * text2.C (toggleInset): renamed from openStuff; use
13513         Inset::open().
13514
13515 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13516
13517         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13518
13519         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13520
13521 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13522
13523         * buffer.C (readLyXformat2): Add filename to the error dialog
13524
13525 2001-07-18  Juergen Vigna  <jug@sad.it>
13526
13527         * tabular.C (GetCellNumber): put an assert here instead of the check!
13528
13529 2001-07-17  Juergen Vigna  <jug@sad.it>
13530
13531         * BufferView_pimpl.C (toggleSelection): adapted too.
13532
13533         * text.C (selectNextWord): adapted for use with insets.
13534         (selectSelectedWord): ditto
13535
13536 2001-07-17  Juergen Vigna  <jug@sad.it>
13537
13538         * sp_spell.C (PSpell): fix initialitation order.
13539
13540 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13541
13542         * paragraph.C: spacing
13543
13544 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13545
13546         * sp_spell.C: repair language selection for pspell
13547
13548 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13549
13550         * lyxfunc.h: change more methods to begin with lower char.
13551
13552 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13553
13554         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13555         for unknown layouts.
13556
13557 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13558
13559         * buffer.C (readLyXformat2): Generate an error dialog if there are
13560         unknown layouts.
13561
13562 2001-07-16  Juergen Vigna  <jug@sad.it>
13563
13564         * sp_spell.C: always compile ISpell part.
13565
13566         * lyxrc.C: added use_pspell entry and it's handling.
13567
13568 2001-07-13  Juergen Vigna  <jug@sad.it>
13569
13570         * sp_spell.C: removed double includes.
13571
13572 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13573
13574         Consistent use of Lsstream.h:
13575         * Lsstream.h: added using std::stringstream for consistencies sake.
13576
13577         * buffer.C: removed using std::stringstream
13578
13579         * lyxfont.C (stateText):
13580         * paragraph.C (asString):
13581         * text.C (selectNextWord, selectSelectedWord):
13582         * text2.C (setCounter):
13583         * vspace.C (asString, asLatexString):
13584         std::ostringstream -> ostringstream.
13585
13586 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13587
13588         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13589         * commandtags.h: add LFUN_HELP_ABOUTLYX
13590         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13591
13592 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13593
13594         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13595         cursorToggle()
13596         * lyx_gui_misc.C: remove spellchecker
13597         * lyxfunc.C: showSpellchecker
13598         * sp_base.h: added
13599         * sp_ispell.h: added
13600         * sp_pspell.h: added
13601         * sp_spell.C: added
13602         * sp_form.[Ch]: removed
13603         * spellchecker.[Ch]: removed
13604
13605 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13606
13607         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13608         is set.
13609         (simpleTeXSpecialChars): Simply print the input character without
13610         any special translation if pass_thru is set.
13611
13612         * layout.h: Added bool pass_thru to layout class for being able to
13613         implement pass through of a paragraph for Literate Programming.
13614
13615         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13616         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13617         * layout.C (Read): add "passthru" to list of layout tags and add
13618         code to set the pass_thru boolean when it is read.
13619
13620 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13621
13622         * trans_decl.h: remove allowed from KmodInfo
13623
13624         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13625         remove allowed code
13626         (Load): adjust
13627
13628         * paragraph_pimpl.C (erase): use boost::prior
13629
13630         * Painter.C (text): use data() instead of c_str() when length is
13631         also provided.
13632         * WorkArea.C (putClipboard): ditto
13633         * font.h (width): ditto
13634
13635         * BufferView2.C: use it-> instead of (*it). for iterators
13636         * texrow.C: ditto
13637         * paragraph_pimpl.C: ditto
13638         * paragraph.C: ditto
13639         * minibuffer.C: ditto
13640         * language.C: ditto
13641         * kbmap.C: ditto
13642         * encoding.C: ditto
13643         * counters.C: ditto
13644         * converter.C: ditto
13645         * chset.C: ditto
13646         * Variables.C: ditto
13647         * TextCache.C: ditto
13648         * MenuBackend.C: ditto
13649         * LyXAction.C: ditto
13650         * LColor.C: ditto
13651         * FloatList.C: ditto
13652         * DepTable.C: ditto
13653         * ColorHandler.C (LyXColorHandler): ditto
13654
13655 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13656
13657         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13658
13659         * text2.C (openStuff): reintroduce this method (which had been
13660         nuked in NEW_INSETS frenzy).
13661
13662         * lyxfunc.C (Dispatch): when an action has not been handled, use
13663         its name in the error message, not its number.
13664
13665         * paragraph.C (inInset): change method name to begin with lowercase.
13666
13667         * undo_funcs.C:
13668         * text2.C: updates because of this.
13669
13670 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13671
13672         * ToolbarDefaults.C (add): add spaces in error message
13673
13674 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13675
13676         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13677         (readLyXformat2): rename return_par to first_par, use lyxlex's
13678         pushToken and remove the manual push handling.
13679         (parseSingleLyXformat2Token): add another ert comp. variable:
13680         in_tabular, rename return_par to first_par. handle newlines better
13681
13682 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13683
13684         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13685
13686 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13687
13688         * text2.C (getParFromID): removed
13689
13690         * buffer.C (getParFromID): new method moved form lyxtext.
13691         * BufferView2.C (insertErrors): adjust
13692         (setCursorFromRow): adjust
13693         * BufferView_pimpl.C (restorePosition): adjust
13694         * lyxfunc.C (Dispatch): adjust
13695         * undo_funcs.C (textUndo): adjust
13696         (textRedo): adjust
13697         (textHandleUndo): adjust
13698         (textHandleUndo): adjust
13699
13700 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13701
13702         * buffer.C: up' the LYX_FORMAT
13703
13704         * lyxfont.h: turn NO_LATEX on as default
13705
13706         * buffer.C (insertErtContents): new methods of tex style compability.
13707         (parseSingleLyXformat2Token): use it several places.
13708         * tabular.C (OldFormatRead): and here
13709
13710 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13711
13712         * text2.C: remove some commented code.
13713         reindent file.
13714
13715         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13716         * trans.C: changes because of the above.
13717
13718 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13719
13720         * text2.C (setCounter): Fix counters bug with bibliography layout.
13721
13722 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13723
13724         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13725         own member functions
13726         (simpleTeXSpecialChars): ditto
13727
13728 2001-07-06  Juergen Vigna  <jug@sad.it>
13729
13730         * a lot of files: changed the access to LyXText::status and the
13731         call of undo-functions.
13732
13733         * undo.[Ch]: added a inset_id to the undo informations.
13734
13735         * undo_funcs.[Ch]: added and moved here all undo functions.
13736
13737         * lyxtext.h: give the status enum a weight, made status_ a private
13738         variable and made accessor functions for it, removed the whole bunch
13739         of undo-functions as they are now in their own file, make some
13740         functions publically available. Added function ownerParagraph with
13741         int parameter.
13742
13743         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13744         made InInset() a const function, added getParFromID() function.
13745
13746         * buffer.[Ch]: added const version for inset_iterator functions,
13747         added getInsetFromID() function.
13748
13749         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13750         changed undo functions for new version.
13751
13752 2001-07-05  Juergen Vigna  <jug@sad.it>
13753
13754         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13755         unknow mechanism does not call the proper constructor but only this
13756         one also if I request the other!?
13757
13758 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13759
13760         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13761
13762         * text2.C (LyXText): use initialization lists.
13763
13764         * lyxtext.h (Selection): initialize set_ and mark_
13765         (init): remove method
13766
13767 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13768
13769         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13770
13771 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13772
13773         * screen.[Ch]: change method names to begin with lowercase
13774
13775         * BufferView_pimpl.C (updateScrollbar): simplify further and
13776         hopefully make it a bit faster.
13777
13778 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13779
13780         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13781         calling directly xforms functions.
13782
13783         * Painter.C (Painter):
13784         * lyx_cb.C (MenuWrite):
13785         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13786         fl_display.
13787
13788         * lyx_gui.C: remove bogus guiruntime extern declaration.
13789
13790 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13791
13792         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13793         in NEW_INSETS
13794         (redoDrawingOfParagraph): ditto
13795         (redoParagraphs): ditto
13796         (cutSelection): don't create a object for CutAndPaste use the
13797         static method directly
13798         (pasteSelection): ditto
13799
13800         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13801         LyXview (+ rename)
13802
13803 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13804
13805         * modifications to some other files because of this.
13806
13807         * Makefile.am (lyx_SOURCES): add XFormsView
13808
13809         * XFormsView.[Ch]: new files
13810
13811         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13812         the main window. Move the gui dependent stuff to XFormsView
13813
13814 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13815
13816         * tabular.C (GetCellInset): update cur_cell also in the row/col
13817         version of this function.
13818
13819         * lyxfunc.C: no need to include figure_form.h here.
13820
13821         * FontLoader.h:
13822         * lyxfunc.h:
13823         * lyxscreen.h:
13824         * text2.C:
13825         * lyxvc.C: no need to include forms.h here.
13826
13827 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13828
13829         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13830
13831         * lyxfunc.C (Dispatch):
13832         * Spacing.C (set):
13833         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13834         constructor argument.
13835
13836 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13837
13838         * paragraph.C (Paragraph): dont't clear, and just set layout.
13839         (makeSameLayout): use params's copy contructor.
13840
13841         * ParagraphParameters.[Ch] (makeSame): delete method
13842
13843 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13844
13845         * Variables.[Ch]: fix indentation, rename set to isSet
13846
13847 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13848
13849         * lyxfunc.C (Dispatch): fix typo
13850
13851 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13852
13853         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13854         upper_bound.
13855
13856         * bufferlist.C: include assert.h for emergencyWrite().
13857
13858 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13859
13860         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13861           give up at last (bug #425202) !
13862
13863 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13864
13865         * lyx_gui_misc.C:
13866         * sp_form.h:
13867         * sp_form.C:
13868         * spellchecker.h:
13869         * spellchecker.C: strip spellchecker options and bring up
13870           preferences tab instead
13871
13872 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13873
13874         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13875         the istringstream constructor
13876
13877 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13878
13879         * paragraph.C (getLayout): fix return value
13880
13881         * paragraph.h: do not declare getLayout as inline.
13882
13883         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13884
13885 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13886
13887         * lyxcursor.h (operator<): new func
13888         (operator>): new func
13889         (operator>=): new func
13890         (operator<=): new func
13891
13892         * text.C (changeCase): use selection.start and selection.end
13893         (changeRegionCase): require from to be <= to. Require par to be a
13894         valid paragraph.
13895
13896         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13897
13898 2001-06-27  Juergen Vigna  <jug@sad.it>
13899
13900         * text.C (cursorLeftOneWord): changed to return the cursor and added
13901         overlay with BufferView * parameter which calls this one.
13902         (getWord): added
13903         (selectWord): use new getWord function.
13904         (changeCase): renamed from changeWordCase as and extended to work
13905         also on selections.
13906
13907         * lyxtext.h: added enum word_location
13908
13909         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13910         changeCase as this operates now also on selections.
13911
13912 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13913
13914         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13915
13916         * many files: send debug output to Debug::INFO instead of
13917         Debug::ANY.
13918
13919         * converter.C (View):
13920         (Convert):
13921         (Move): send debug output to Debug::FILES instead of console.
13922
13923 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13924
13925         * lyxfunc.C (getStatus): use func_status
13926
13927         * func_status.h: new header, describing the results of
13928         LyXFunc::getStatus;
13929
13930         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13931         LFUN_MATH_HALIGN.
13932
13933 2001-06-25  The LyX Project  <jug@sad.it>
13934
13935         * buffer.C (sgmlOpenTag):
13936         (sgmlCloseTag):
13937         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13938
13939 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13940
13941         * text2.C: remove some dead code
13942
13943         * tabular.C (GetCellInset): store the last cell checked (gotten)
13944
13945         * tabular.h: add the helper for the speedup
13946
13947         * lyxtext.h: remove some dead code
13948
13949 2001-06-26  The LyX Project  <Asger>
13950
13951         * paragraph.C: Change export to LaTeX of alignment to
13952         \begin{center} and family for better roundtrip work with reLyX.
13953
13954         * Tune the math drawing a bit.
13955
13956 2001-06-25  The LyX Project  <Asger>
13957
13958         * LColor.C (LColor): New color for math background. New color
13959         for buttons.
13960
13961 2001-06-25  The LyX Project  <jug@sad.it>
13962
13963         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13964
13965         * lyxfunc.C (Open):
13966         * bufferlist.C (newFile): do not restrict to files ending with
13967         .lyx
13968
13969         * BufferView_pimpl.C (MenuInsertLyXFile):
13970
13971 2001-06-24  The LyX Project  <jug@sad.it>
13972
13973         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13974         of compare_no_case
13975
13976 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13977
13978         * lyxtext.h: rename most methods to begin with a small char.
13979         Lots of changes because of this.
13980
13981         * paragraph.C (Paragraph): do not call fitToSize
13982         (erase): call Pimpl::erase
13983         (insertChar): call Pimpl::insertChar
13984         (insertInset): call Pipl::insertInset
13985         (breakParagraph): do not call fitToSize
13986         (breakParagraphConservative): do not call fitToSize
13987         (fitToSize): remove method
13988
13989         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13990
13991 2001-06-24  The LyX Project  <Asger>
13992
13993         * Fix Qt compilation^2
13994
13995 2001-06-24  The LyX Project  <jug@sad.it>
13996
13997         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13998         depthHook(getDepth()-1).
13999
14000         * paragraph.h:
14001         * ParagraphParameters.h:
14002         * ParameterStruct.h: change type of depth to unsigned int ==
14003         depth_type. Many adaptations to other files before of that.
14004
14005 2001-06-24  The LyX Project  <Asger>
14006
14007         * Fix Qt compilation.
14008
14009 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14010
14011         * paragraph.h: renamed several methods to begin with small letter.
14012         several changes to many parts of the code because of this.
14013
14014 2001-06-23  The LyX Project  <jug@sad.it>
14015
14016         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14017         rewritten to discard all double spaces when KeepEmpty is off
14018         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14019         to only handle newlines but not fiddle with spaces and friends.
14020
14021         * lyxfunc.C (MenuNew): when doing 'new from template', use
14022         template_path as default directory
14023
14024 2001-06-23  The LyX Project  <Asger>
14025
14026         * Clean-up of header file includes all over
14027         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14028
14029 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14030
14031         * paragraph.h: renamed from lyxparagraph.h
14032
14033 2001-06-23  Asger  <lyx@violet.home.sad.it>
14034
14035         * Buffer.h: Removed Buffer::resize
14036         * BufferList.h: Removed BufferList::resize
14037         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14038         the document lazily when we change the width, or the font settings.
14039
14040 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14041
14042         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14043
14044 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14045
14046         * buffer.h: remove out of date comment
14047
14048 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14049
14050         * lyxscreen.h:
14051         * screen.C: fix "theoretical" GC leak
14052
14053 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14054
14055         * LaTeX.C (scanAuxFile):
14056         (deplog): remove trailing \r when reading stream (useful under
14057         win32)
14058
14059 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14060
14061         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14062         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14063         and BufferView::theLockingInset(Inset*), so should use them and not
14064         access bv_->text->the_locking_inset directly.
14065
14066         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14067
14068 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14069
14070         * Makefile.am:
14071         * tex-defs.h: remove old unused file
14072
14073 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14074
14075         * BufferView_pimpl.C: fix typo, remove minibuffer message
14076           when buffer has loaded
14077
14078 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14079
14080         * lyxfunc.C (Dispatch): use stringstream
14081         (MenuNew): use stringstream
14082         (Open): use stringstream
14083
14084         * importer.C (Import): use stringstream
14085
14086         * bufferview_funcs.C (CurrentState): use stringstream
14087
14088         * LaTeX.C (run): use stringstream
14089
14090         * BufferView_pimpl.C (savePosition): use stringstream
14091         (restorePosition): use stringstream
14092         (MenuInsertLyXFile): use stringstream
14093
14094 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14095
14096         * BufferView.C:
14097         * Bullet.C:
14098         * ColorHandler.C:
14099         * FontInfo.C:
14100         * FontLoader.C:
14101         * LColor.C:
14102         * LaTeXFeatures.C:
14103         * Painter.C:
14104         * gettext.C:
14105         * lyx_gui_misc.C:
14106         * lyxserver.C:
14107         * vspace.C: removed // -*- C++ -*- as first line.
14108
14109         * lyxfind.h:
14110         * version.h: added // -*- C++ -*- as first line.
14111
14112 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14113
14114         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14115
14116         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14117         of string
14118
14119 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14120
14121         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14122         of floats.
14123
14124 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14125
14126         * gettext.C: include LString.h even when --disable-nls is on.
14127
14128 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14129
14130         * converter.h (Get): changed argument type from int to
14131         FormatList::size_type to avoid unnecessary conversion.
14132
14133         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14134         before using it.
14135
14136 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14137
14138         * gettext.h: include LString.h even when --disable-nls is on.
14139
14140 2001-06-07  Juergen Vigna  <jug@sad.it>
14141
14142         * text.C (BreakAgain): subst spaces with tabs.
14143
14144         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14145         (resizeInsetsLyXText): set force on resizeLyXText.
14146
14147 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14148
14149         * gettext.h (gettext_init):
14150         (locale_init): use a real definition instead of a macro
14151
14152 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14153
14154         * Bufferview_pimpl.C:
14155         * LColor.h:
14156         * LColor.C: further lcolor tidies
14157
14158 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14159
14160         * BufferView_pimpl.C (updateScrollbar): simplify.
14161
14162         * BufferView2.C: don't include insets/insetinfo.h, change
14163         prototype for insertInset and call the Pimpl version. let
14164         updateInset call Pimpl version.
14165
14166         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14167         gotoInset to BufferView::Pimpl
14168
14169 2001-06-01  Juergen Vigna  <jug@sad.it>
14170
14171         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14172         inside a LockingInset (is the update needed at all?).
14173
14174 2001-05-31  Juergen Vigna  <jug@sad.it>
14175
14176         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14177         here not the old one otherwise how should we compare it afterwards
14178         if it's the same!
14179
14180 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14181
14182         * lyxfont.C:
14183         * tabular.C:
14184         * tabular-old.C:
14185         * FontInfo.C: bring C functions into global namespace when
14186         necessary
14187
14188 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14189
14190         * LString.h: make sure config.h has been loaded before LString.h.
14191
14192         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14193         (one for each char read by EatLine!).
14194
14195         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14196         variables.
14197
14198 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14199
14200         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14201         to the same as the par we break from
14202
14203 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14204
14205         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14206
14207         * MenuBackend.C (expand): also create menu entries for wide
14208         versions of the floats.
14209
14210         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14211
14212         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14213
14214         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14215         frontends/Makefile.am
14216
14217         * text2.C: adjust
14218         * text.C: adjust
14219
14220
14221         * tabular.C (getTokenValue): add std::
14222
14223         * tabular-old.C (getTokenValue): add std::
14224         (getTokenValue): ditto
14225         (getTokenValue): ditto
14226
14227         * screen.C (ToggleSelection): adjust
14228
14229         * lyxtext.h: put selection cursors inside a Selection struct.
14230
14231         * lyxfunc.C (moveCursorUpdate): adjust
14232
14233         * lyxfont.C (latexWriteStartChanges): add std::
14234
14235         * lyxfind.C: adjust
14236
14237         * font.h: delete with(char const *, LyXFont const &)
14238
14239         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14240
14241         * FontInfo.C (getFontname): add std::
14242
14243         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14244         (workAreaButtonPress): adjust
14245         (tripleClick): adjust
14246         (update): adjust
14247         (moveCursorUpdate): adjust
14248         (Dispatch): adjust
14249
14250         * BufferView2.C (gotoInset): adjust
14251
14252 2001-05-30  Juergen Vigna  <jug@sad.it>
14253
14254         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14255         to check pspell I add this as default as I now have new pspell
14256         libraries and they seem to use this.
14257
14258 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14259
14260         * text2.C (CutSelection): make the cursor valid before the call to
14261         ClearSelection.
14262
14263 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14264
14265         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14266         relied on 0 terminated strings and other horrors. Bug found due to
14267         the new assert in lyxstring!
14268
14269         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14270         KP_ keys.
14271
14272 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14273
14274         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14275         to latinkeys.bind.
14276
14277         * lyxfunc.C (processKeySym): change method of getting to the
14278         self-insert char.
14279
14280         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14281         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14282         * BufferView_pimpl.[Ch]: here as private methods.
14283
14284 2001-05-28  Juergen Vigna  <jug@sad.it>
14285
14286         * text.C (SetHeightOfRow): added the update() call again as it is
14287         needed to initialize inset dimensions!
14288
14289 2001-05-16  Juergen Vigna  <jug@sad.it>
14290
14291         * text2.C (SetCharFont): Add new function with BufferView * and
14292         bool toggleall parameters for setting insets internal fonts.
14293         (SetFont): Freeze the undo as we may change fonts in Insets and
14294         all this change should be inside only one Undo!
14295
14296         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14297         setting font's in insets as for them we have the SetFont function!
14298
14299 2001-05-15  Juergen Vigna  <jug@sad.it>
14300
14301         * text2.C (ClearSelection): to be sure we REALLY don't have any
14302         selection anymore!
14303
14304         * tabular.C (TeXCellPreamble): fixed the left border problem for
14305         multicolumn cells.
14306
14307 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14308
14309         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14310         dependancy file
14311
14312 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14313
14314         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14315         LFUN_BREAKPARAGRAPH.
14316
14317         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14318         help test to "internal only", similar for LFUN_INSERT_URL
14319
14320         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14321         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14322         auto_region_delete and deadkeys.
14323
14324 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14325
14326         * LColor.h:
14327         * LColor.C: remove some dead entries, tidy a little
14328
14329 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14330
14331         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14332         commented code.
14333         (Dispatch): implement LFUN_ESCAPE
14334
14335         * commandtags.h: add LFUN_ESCAPE
14336
14337         * LyXAction.C (init): add entry for LFUN_ESCAPE
14338
14339         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14340         Remove commented code.
14341         (insertNote): moved here
14342         (open_new_inset): moved here
14343
14344         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14345         BufferView_pimpl
14346
14347 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14348
14349         * kbmap.C (findbinding): clean it up and make it work correctly.
14350
14351         * lyx_main.C (init): do not pass argc and argv as parameters
14352
14353 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14354
14355         * buffer.C: fix path for OS/2 & Win32
14356
14357         * lyx_gui.C:
14358         * lyx_main:
14359         * lyx_main.C: Added os:: class.
14360
14361         * os2_defines.h: update
14362
14363 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14364
14365         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14366         better by trying again with reduced state.
14367
14368 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14369
14370         * lyxrc.C (read): print error about invalid key sequence only when
14371         debugging (because not all latinX keysyms are known to some X
14372         servers)
14373
14374         * kbsequence.C (getiso): add a few std:: qualifiers
14375         (getiso): comment out extra return statement.
14376
14377 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14378
14379         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14380         handling.
14381         (Dispatch): enhance the accent inset a bit. (not perfect)
14382
14383 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14384
14385         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14386
14387 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14388
14389         * bufferlist.C (emergencyWrite): fix assert() call
14390
14391 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14392
14393         * text.C (InsertChar): Added trivial patch to only send the "you
14394         can not do multiple spaces this way" message once during a
14395         session.
14396
14397 2001-05-08  Baruch Even  <baruch@lyx.org>
14398
14399         * Makefile.am: Changed order of libraries to get LyX to link properly
14400         with the gnome frontend.
14401
14402 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14403
14404         * LaTeXFeatures.h: add a std:: qualifier
14405
14406 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14407
14408         * paragraph.C (String): use stringstream
14409
14410 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14411
14412         * paragraph.C (writeFile): remove footflag arg
14413
14414         * buffer.C (makeLaTeXFile): use stringstream
14415         (latexParagraphs): remove footnot gurba
14416
14417         * LaTeXFeatures.C (getPackages): use stringstream
14418         (getMacros): likewise
14419         (getTClassPreamble): likewise
14420         (getFloatDefinitions): new method
14421
14422         * paragraph.C (writeFile): reindent
14423         (Erase): reindent
14424
14425         * WorkArea.h: revert the xpos + etc changes.
14426
14427         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14428
14429         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14430
14431         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14432         (pasteSelection): likewise
14433         * text2.C (CreateUndo): likewise
14434
14435 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14436
14437         * minibuffer.C (peek_event): temporarily reduce the functionality
14438         of the minibuffer (to allow args on lfuns)
14439
14440         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14441         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14442
14443         * buffer.C (readInset): add compability reading of old float
14444         lists, add reading of new style float list.
14445         (readInset): avoid reevaluation of inscmd.getCmdName()
14446         (getLists): reindent
14447
14448         * MenuBackend.C (MenuItem): implement parsing of
14449         md_floatlistinsert and md_floatinsert.
14450         (expand::LastFiles): move initalizaton of iterators out of loop,
14451         avoid reevaluation.
14452         (expand::Documents): introduce typdedef vector<string> Strings,
14453         and use it.
14454         (expand::ExportFormats): introduce typedef vector<Format const *>
14455         Formats, and use it.
14456         (expand): implement FloatListInsert and FloatInsert.
14457
14458         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14459         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14460         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14461
14462         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14463         handling.
14464         (Dispatch::LFUN_FLOAT_LIST): implement
14465
14466 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14467
14468         * LaTeX.C (run): Fix problem with --export code.
14469
14470 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14471
14472         * BufferView.[Ch] (workarea): removed.
14473         (getClipboard) new method; wrapper for workarea()->getClipboard()
14474
14475         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14476         bug.
14477
14478         * WorkArea.h (width, height, xpos, ypos): These methods all
14479         returned the dimensions of the work_area sub-area of WorkArea,
14480         resulting in a position error if the WorkArea were resized. Now
14481         return the dimensions of the entire WorkArea.
14482
14483         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14484
14485 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14486
14487         * LaTeX.C (deplog): correct the syntax of regex reg1
14488
14489 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14490
14491         * undo.C: remove !NEW_INSETS cruft
14492
14493 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14494
14495         * text2.C: remove !NEW_INSETS cruft
14496
14497         * text.C: remove !NEW_INSETS cruft
14498
14499         * tabular.C: remove !NEW_INSETS cruft
14500
14501         * spellchecker.C: remove !NEW_INSETS cruft
14502
14503         * lyxtext.h: remove !NEW_INSETS cruft
14504
14505         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14506
14507         * lyxfunc.C: remove !NEW_INSETS cruft
14508
14509         * lyxfind.C: remove !NEW_INSETS cruft
14510
14511         * lyx_cb.C: remove !NEW_INSETS cruft
14512
14513         * figureForm.C: remove  !NEW_INSETS cruft
14514
14515         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14516
14517         * buffer.[Ch]: remove !NEW_INSETS cruft
14518
14519         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14520
14521         * CutAndPaste.C: remove !NEW_INSETS cruft
14522
14523         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14524
14525         * BufferView2.C: remove !NEW_INSETS cruft
14526
14527         * BufferView.h: remove !NEW_INSETS cruft
14528
14529 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14530
14531         * Lsstream.h: include LString.h before the sstream headers to
14532         fix problem with gcc 2.95.3 and lyxstring
14533
14534 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14535
14536         * lyx_main.C: add using directives when needed for C functions
14537         declared in std:: namespace.
14538
14539 2001-04-27  Juergen Vigna  <jug@sad.it>
14540
14541         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14542         (SetHeightOfRow): comment out the update call should not be needed!
14543
14544 2001-04-13  Juergen Vigna  <jug@sad.it>
14545
14546         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14547         (LyXTabular): tried to minimize operator= operations (and realized
14548         hopfully Lars wish).
14549
14550 2001-04-27  Juergen Vigna  <jug@sad.it>
14551
14552         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14553
14554 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14555
14556         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14557
14558         * buffer.C (readInset): hack to make listof algorithm work
14559
14560         * BufferView_pimpl.C: hack to make listof algorithm work
14561
14562 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14563
14564         * LyXAction.C: removed all !NEW_INSETS cruft
14565         (init): moved lfun_item in method
14566
14567         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14568
14569 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14570
14571         * BufferView2.C (theLockingInset): white space.
14572
14573 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14574
14575         * minibuffer.C: include <iostream>
14576
14577         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14578
14579         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14580
14581         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14582
14583         * text.[Ch] (TransposeChars): new method
14584
14585 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14586
14587         * call message directly through LyXView instead of through LyXFunc
14588         * BufferView2.C: adjust
14589         * BufferView_pimpl.C: adjust
14590         * FontLoader.C: adjust
14591         * buffer.C: adjust
14592         * bufferview_funcs.C: adjust
14593         * converter.C: adjust
14594         * figureForm.C: adjust
14595         * importer.C: adjust
14596         * lyx_cb.C: adjust
14597         * lyx_gui_misc.C: adjust
14598         * lyxfunc.C: adjust
14599         * lyxvc.C: adjust
14600         * text2.C: adjust
14601         + more files in subdirs
14602
14603         * lyxparagraph.h (size): move up int file
14604         (GetLayout): ditto
14605
14606         * adjust all uses of Assert to lyx::Assert.
14607
14608         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14609         lyxfunctional in namespace lyx
14610         * layout.C (hasLayout): ditto
14611         (GetLayout): ditto
14612         (GetLayout): ditto
14613         (delete_layout): ditto
14614         (NumberOfClass): ditto
14615         * converter.C (GetFormat): ditto
14616         (GetNumber): ditto
14617         (Add): ditto
14618         (Delete): ditto
14619         (SetViewer): ditto
14620         * bufferlist.C (getFileNames): ditto
14621         (emergencyWriteAll): ditto
14622         (exists): ditto
14623         (getBuffer): ditto
14624         * MenuBackend.C (hasSubmenu): ditto
14625         (hasMenu): ditto
14626         (getMenu): ditto
14627         * BufferView_pimpl.C (getInsetByCode): ditto
14628
14629 2001-04-18  Juergen Vigna  <jug@sad.it>
14630
14631         * vspace.C (asLatexString): fixed the 100% problem.
14632
14633 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14634
14635         * lyxfunc.C (Dispatch):
14636         * minibuffer.C:
14637         * minibuffer.h: add a few std:: qualifiers
14638
14639 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14640
14641         * minibuffer.[Ch]: reimplement so that commands is initiated and
14642         run from lyxfunc, simplified som handling, and made the completion
14643         and history code for complete. wip.
14644
14645         * lyxfunc.C (processKeySym): call message
14646         (miniDispatch): new temporary method
14647         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14648         (LFUN_MESSAGE): implement
14649         (LFUN_MESSAGE_PUSH): implement
14650         (LFUN_MESSAGE_POP): implement
14651         (initMiniBuffer): the initial/defualt minibuffer message.
14652
14653         * lyxfont.[Ch]: inline some more getters
14654
14655         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14656
14657         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14658
14659         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14660         (AutoSave): use LFUN_MESSAGE
14661         (Reconfigure): ditto
14662
14663         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14664
14665         * figureForm.C: use LFUN_MESSAGE
14666
14667         * converter.C (runLaTeX): use LFUN_MESSAGE
14668
14669         * bufferview_funcs.C: use LFUN_MESSAGE
14670         (Melt): ditto
14671         (changeDepth): ditto
14672
14673         * bufferparams.h: use boost::
14674
14675         * bufferlist.h: inherit privately from noncopyable
14676
14677         * bufferlist.C (loadLyXFile): remove some commented code.
14678
14679         * buffer.C (runChktex): use LFUN_MESSAGE
14680
14681         * ShareContainer.h: inherit privately from noncopyable
14682
14683         * ParagraphParameters.[hC] (depth): inline it.
14684
14685         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14686         methods.
14687         (message): new method
14688         (messagePush): ditto
14689         (messagePop): ditto
14690         (show): init minibuffer
14691         (showState): direct call
14692
14693         * LaTeX.[Ch]: inherit privately from noncopyable
14694         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14695         instead of WriteStatus.
14696
14697         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14698
14699         * BufferView_pimpl.C (buffer): don't init minibuffer
14700         (workAreaButtonPress): use LFUN_MESSAGE
14701         (workAreaButtonRelease): ditto
14702         (savePosition): ditto
14703         (restorePosition): ditto
14704         (MenuInsertLyXFile): ditto
14705         (workAreaExpose): don't init minibuffer
14706         (update): remove commented code, simplify
14707
14708         * BufferView2.C (openStuff): use LFUN_MESSAGE
14709         (toggleFloat): ditto
14710         (menuUndo): ditto
14711         (menuRedo): ditto
14712         (copyEnvironment): ditto
14713         (pasteEnvironment): ditto
14714         (copy): ditto
14715         (cut): ditto
14716         (paste): ditto
14717         (gotoInset): ditto
14718         (updateInset): remove some commented code
14719
14720         * lastfiles.h: inherit privately from noncopyable
14721         * layout.h: ditto
14722         * lyx_gui.h: ditto
14723         * lyx_main.h: ditto
14724         * lyxlex.h: ditto
14725         * lyxlex_pimpl.h: ditto
14726
14727         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14728         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14729         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14730
14731         * LyXAction.h: inherit privately from noncopyable, add methods
14732         func_begin, func_end, returning iterators to the func map.
14733
14734         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14735         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14736         (func_begin): new method
14737         (func_end): new method
14738
14739         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14740         and not)
14741         (copySelection): ditto
14742         (pasteSelection): ditto
14743
14744         * BufferView.C: whitespace change
14745         * BufferView.h: inherit privately from noncopyable
14746
14747 2001-04-16  Allan Rae  <rae@lyx.org>
14748
14749         * tabular-old.C (l_getline):
14750         * spellchecker.C (sc_check_word):
14751         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14752         an unrecognised preprocessor directive.  So ensure they're wrapped.
14753
14754 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14755
14756         * src/exporter.C (Export): Give an error message when path to file
14757         contains spaces.
14758
14759 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14760
14761         * LaTeX.C (deplog): Always check that foundfile exists.
14762
14763 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14764
14765         * lyx_main.h:
14766         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14767
14768 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14769
14770         * tabular.[Ch] (getLabelList): implement new method
14771
14772         * minibuffer.h: comment ouf setTiimer
14773
14774         * minibuffer.C (ExecutingCB): constify res
14775         (peek_event): constify s
14776         (Set): constify ntext
14777         (Init): constify nicename
14778
14779         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14780
14781         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14782         (savePosition): use two params to Minibuffer::Set
14783         (restorePosition): ditto
14784
14785 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14786
14787         * lyx_main.C: include language.h
14788
14789         * Makefile.am (lyx_main.o): add language.h
14790
14791 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14792
14793         * exporter.C:
14794         * paragraph.C:
14795         * screen.C:
14796         * tabular.C:
14797         * CutAndPaste.C: include gettext.h
14798
14799         * lyxfont.h: remove old hack with ON and OFF.
14800
14801         * lyxparagraph.h:
14802         * lyxfont.h: do not include language.h...
14803
14804         * BufferView2.C:
14805         * LaTeXFeatures.C:
14806         * Painter.C:
14807         * bufferview_funcs.C:
14808         * font.C:
14809         * lyxfont.C:
14810         * text.C:
14811         * text2.C:
14812         * trans_mgr.C:
14813         * paragraph.C: ... but do it here instead
14814
14815 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14816
14817         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14818
14819         * tabular.C: small reformat
14820
14821         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14822         NEW_INSETS version
14823         (GetChar): ditto
14824         (BreakParagraph): ditto
14825         (SetOnlyLayout): ditto
14826         (SetLayout): ditto
14827
14828         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14829         with one arg less.
14830
14831         * lastfiles.C: removed most using decl, add std:: where needed
14832
14833         * buffer.C: ws changes
14834
14835         * MenuBackend.C (class compare_format): put into anon namespace
14836         (expand): constify label, names, action, action2
14837         (expand):
14838
14839         * text.C (SingleWidth): constify font
14840         (IsBoundary): constify rtl2
14841         (GetVisibleRow): constify ww
14842
14843         * LaTeX.C (deplog): constify logfile
14844
14845         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14846         start_x, end_x
14847         (workAreaExpose): constify widthChange, heightChange
14848
14849         * lyxrow.C (par): moved
14850         (height): moved
14851         (next): moved
14852         * lyxrow.h: as inlines here
14853
14854         * lyxfont.h (shape): moved from lyxfont.C
14855         (emph): moved from lyxfont.C
14856
14857         * lyxfont.C (LyXFont): use initialization list for all
14858         constructors
14859         (shape): move to lyxfont.h as inline
14860         (emph): move to lyxfont.h as inline
14861
14862
14863 2001-04-04  Juergen Vigna  <jug@sad.it>
14864
14865         * vspace.C: had to include stdio.h for use of sscanf
14866
14867 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14868
14869         * BufferView.h:
14870         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14871         independent of xforms.
14872
14873 2001-04-02  Juergen Vigna  <jug@sad.it>
14874
14875         * spellchecker.C: fixed namespace placing!
14876
14877 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14878
14879         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14880         the LyXParagraph * is 0.
14881
14882 2001-03-29  Juergen Vigna  <jug@sad.it>
14883
14884         * vspace.C: added support for %, c%, p%, l%.
14885         (stringFromUnit): added helper function.
14886         (asLatexString): changed to give right results for the %-values.
14887
14888         * buffer.C: convert the widthp in a width%.
14889
14890 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14891
14892         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14893         figureForm.[Ch].
14894
14895         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14896         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14897
14898         * lyx_cb.[Ch]: see above.
14899
14900         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14901         form1.[Ch].
14902
14903         * form1.[Ch]:
14904         * lyx.[Ch]: replaced by figure_form.[Ch].
14905
14906         * lyx_gui.C:
14907         * lyx_gui_misc.C:
14908         * lyxfunc.C: changed headers associated with above changes.
14909
14910 2001-03-27  Juergen Vigna  <jug@sad.it>
14911
14912         * BufferView_pimpl.C: set the temporary cursor right!
14913
14914 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14915
14916         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14917
14918 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14919
14920         * LString.h: removed "using std::getline"!
14921
14922         * BufferView_pimpl.C (Dispatch): changes due to changes in
14923         InsetInclude::Params.
14924
14925         * buffer.C (tag_name): removed redundant break statements as they were
14926         producing lots of warnings with my compiler.
14927
14928 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14929
14930         * LString.h: add "using std::getline" when using the real <string>.
14931
14932 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14933
14934         * buffer.C: removed bitset usage.
14935         PAR_TAG moved to an anonymous name space.
14936         (tag_name): new funtion, also in the anonymous namespace.
14937         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14938         (makeDocBookFile): clean code. Completed transition from string arrays
14939         to string vectors.
14940         (SimpleDocBookOnePar): code clean.
14941
14942 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14943
14944         * tabular.C: add some comments.
14945
14946 2001-03-22  Juergen Vigna  <jug@sad.it>
14947
14948         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14949         compatibility read a bit and fixed bug with minipage in different
14950         depth.
14951
14952 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14953
14954         * buffer.C (pop_tag): removed.
14955         (push_tag): removed.
14956         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14957         array replaced with vector. Added support for CDATA sections.
14958         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14959         at any nest level.
14960         (makeDocBookFile): XML conformant declaration of CDATA section,
14961         fixed bug related to <emphasis> in the first paragraph char.
14962         (sgmlOpenTag): exclude empty tags.
14963         (sgmlCloseTag): ditto.
14964
14965         * buffer.h (pop_tag): removed.
14966         (push_tag): removed.
14967
14968 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14969
14970         * language.h (Languages): added size_type and size().
14971
14972 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14973
14974         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14975         response on compability reading of minipages. One probliem is that
14976         the old usage of minipages was «flertydig»
14977
14978         * several files here and in subdirs: don't use static at file
14979         scope use anon namespaces instead.
14980
14981 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14982
14983         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14984         LaTeX output. This is necessary for Literate document
14985         processing.
14986
14987 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14988
14989         * buffer.C: insert hfill when needed.
14990
14991         * tabular.C (l_getline): use string::erase, small whitespace change.
14992
14993         * BufferView_pimpl.C: try the anon namespace.
14994         * WorkArea.C: ditto
14995
14996 2001-03-16  Juergen Vigna  <jug@sad.it>
14997
14998         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14999         otherwise it won't open options-dialogs.
15000
15001         * buffer.C: honor pextraWidth(p) on converting minipages.
15002
15003         * tabular.C (l_getline): changed the functions to strip trailing \r.
15004
15005 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15006
15007         * BufferView_pimpl.C:
15008         * minibuffer..C: added "using SigC::slot" declaration.
15009
15010 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15011
15012         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15013
15014         * text2.C: ditto
15015
15016         * text.C: ditto
15017
15018         * paragraph.C: ditto
15019
15020         * lyxtext.h: NO_PEXTRA
15021
15022         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15023
15024         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15025         * ParameterStruct.h: ditto
15026         * ParagraphParameters.h: ditto
15027         * lyxparagraph.h: ditto
15028
15029 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15030
15031         * buffer.C: add compability for minipage alignment.
15032         (latexParagraphs): remove unwanted pextra check.
15033
15034         * several files: remove CXX_WORKING_NAMESPACES
15035
15036         * buffer.C (pop_tag): tie is in namespace boost
15037
15038         * BufferView.h: noncopyable is in namespace boost
15039         * lyxlex.h: ditto
15040         * lyx_main.h: ditto
15041         * lyx_gui.h: ditto
15042         * layout.h: ditto
15043         * lastfiles.h: ditto
15044         * bufferlist.h: ditto
15045         * ShareContainer.h: ditto
15046         * LyXView.h: ditto
15047         * LyXAction.h: ditto
15048         * LaTeX.h: ditto
15049
15050 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15051
15052         * Merging changes from BRANCH_MVC back into HEAD.
15053
15054         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15055
15056 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15057
15058         * BufferView_pimpl.C: change from intl.C
15059
15060         * combox.h:
15061         * combox.C:
15062         * Makefile.am: move combox.*
15063
15064         * form1.h:
15065         * form1.C:
15066         * lyx_gui.C:
15067         * intl.h:
15068         * intl.C: remove dialog (covered by prefs)
15069
15070 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15071
15072         * lyxfunc.C (Dispatch): removed redundant break statement.
15073
15074 2001-03-14  Juergen Vigna  <jug@sad.it>
15075
15076         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15077
15078 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15079
15080         * buffer.C: add hack to fix compability reading of minipages.
15081
15082 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15083
15084         * buffer.C (getLists): Cleanup.
15085
15086 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15087
15088         * lyxfont.C (update): don't honor toggleall on font size.
15089
15090 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15091
15092         * bmtable.c:
15093         * bmtable.h:
15094         * Makefile.am: moved to frontends/xforms/
15095
15096         * lyx_gui_misc.C:
15097         * lyxfunc.C:
15098         * BufferView_pimpl.C: changes for moved mathpanel
15099
15100 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15101
15102         * gettext.h: fix gettext_init() in --disable-nls
15103
15104 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15105
15106         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15107
15108 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15109
15110         * lyx.C:
15111         * lyx.h: strip external form
15112
15113 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15114
15115         * BufferView_pimpl.C: add comment, destroySplash()
15116
15117 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15118
15119         * BufferView_pimpl.C:
15120         * LyXAction.C:
15121         * buffer.C:
15122         * commandtags.h:
15123         * lyxfunc.C: use re-worked insetinclude
15124
15125 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15126
15127         * buffer.C: add using std::stringstream.
15128
15129         * lyx_cb.C: readd using std::ios.
15130
15131         * buffer.C: add using std::map.
15132
15133         * BufferView_pimpl.C: add using std::vector.
15134
15135         * ShareContainer.h: add std:: to swap.
15136
15137         * buffer.h: add some typedefs
15138         * buffer.C (getLists): use them
15139         (getLists): renamed from getTocList.
15140         add a counter for the different float types and use it in the
15141         generated string.
15142         (getLists): use the same counter for the NEW_INSETS and the "non"
15143         NEW_INSETS
15144
15145         * lyx_cb.h: remove unused items, includes, using etc.
15146
15147         * ShareContainer.h: remove some commented code, add more comments
15148         and "documentation".
15149
15150 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15151
15152         * buffer.C (getTocList): make the list also when NEW_INSETS is
15153         defined.
15154
15155         * buffer.h: remove TocType
15156
15157         * buffer.C (getTocList): change to return a map<string,
15158         vector<TocItem> >, implement for dynamic number of list.
15159
15160         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15161         * text2.C (PasteSelection): adjust
15162         * CutAndPaste.C (pasteSelection): adjust
15163
15164         * FloatList.C (FloatList): update from the new_insets branch.
15165         * Floating.[Ch]: ditto
15166         * LaTeXFeatures.C: ditto
15167         * buffer.C: ditto
15168         * lyxlex_pimpl.C: ditto
15169
15170         * paragraph.C (Last): remove when NEW_INSETS is defined.
15171
15172         * other file: changes because of the above.
15173
15174 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15175
15176         * lyxparagraph.h: rename next to next_, previous to previous_,
15177         make them private for NEW_INSETS. Rename Next() to next(),
15178         Previous() to previous().
15179
15180         * other files: changes because of the above.
15181
15182 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15183
15184         * BufferView.h:
15185         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15186         problem.
15187
15188 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15189
15190         * main.C (main): pass lyx_localedir to gettext_init().
15191
15192         * gettext.h: remove locale_init and gettext_init macros
15193
15194         * gettext.C (locale_init): new function
15195         (gettext_init): new function
15196
15197         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15198         setlocale().
15199
15200 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15201
15202         * Moved credits to frontends:
15203         * credits.[Ch]: removed
15204         * credits_form.[Ch]: removed
15205         * lyx_gui_misc.C: remove credits stuff
15206         * Makefile.am:
15207
15208 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15209
15210         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15211
15212         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15213         unneeded destructor.
15214
15215         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15216         a standalone pointer again.
15217
15218         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15219
15220 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15221
15222         * Makefile.am:
15223         * filedlg.h:
15224         * filedlg.C:
15225         * LyXAction.C:
15226         * ToolbarDefaults.C:
15227         * bufferlist.C:
15228         * commandtags.h:
15229         * form1.C:
15230         * form1.h:
15231         * lyx_cb.C:
15232         * lyx_cb.h:
15233         * lyxfunc.h:
15234         * lyxfunc.C:
15235         * BufferView_pimpl.C: use new file dialog in GUII
15236
15237         * lyx_cb.h:
15238         * lyx_cb.C: remove LayoutsCB to Toolbar
15239
15240 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15241
15242         * ShareContainer.h (get): add std:: qualifier
15243
15244 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15245
15246         * ShareContainer.h: define a proper ShareContainer::value_type
15247         type (and use typename to please compaq cxx)
15248
15249 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15250
15251         * lyxparagraph.h: move serveral local vars to
15252         ParameterStruct/ParagraphParameters., use ShareContainer in
15253         FontTable., make vars in FontTable private and add getter and
15254         setter.
15255
15256         * paragraph.C: changes because of the above.
15257
15258         * lyxfont.h: remove copy constructor and copy assignment. (the
15259         default ones is ok), move number inside FontBits. move inlines to
15260         lyxfont.C
15261
15262         * lyxfont.C: add number to initializaton of statics, move several
15263         inlines here. constify several local vars. some whitespace
15264         cleanup. Dont hide outerscope variables.
15265
15266         * Spacing.h: add two new constructors to match the set methods.
15267
15268         * ShareContainer.h: new file, will perhaps be moved to support
15269
15270         * ParameterStruct.h: new file
15271
15272         * ParagraphParameters.h: new file
15273
15274         * ParagraphParameters.C: new file
15275
15276         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15277         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15278
15279         * BufferView_pimpl.C: ParagraphParameter changes.
15280         * buffer.C: Likewise.
15281         * bufferview_funcs.C: Likewise.
15282         * text.C: Likewise.
15283         * text2.C: Likewise.
15284
15285 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15286
15287         * lyxfind.C (LyXReplace): do not redefine default argument in
15288         implementation.
15289         (IsStringInText): ditto
15290         (SearchForward): ditto
15291         (SearchBackward): ditto
15292
15293 2001-03-06  Juergen Vigna  <jug@sad.it>
15294
15295         * lyxfind.C (IsStringInText): put parentes around expressions.
15296
15297 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15298
15299         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15300
15301 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15302
15303         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15304
15305         * stl_string_fwd.h: add comment
15306
15307         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15308
15309         * tabular.h:
15310         * tabular.C: remove unused DocBook methods
15311
15312         * intl.C:
15313         * language.C:
15314         * paragraph.C:
15315         * buffer.C:
15316         killed DO_USE_DEFAULT_LANGUAGE
15317
15318 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15319
15320         * lyx_gui.C: do not include language.h.
15321
15322         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15323         arguments in function implementation.
15324
15325 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15326
15327         * BufferView_pimpl.C: add <ctime>
15328
15329 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15330
15331         * BufferView_pimpl.C: add using std::find_if
15332
15333 2001-02-27  José Matos  <jamatos@fep.up.pt>
15334
15335         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15336         by OnlyPath.
15337
15338 2001-02-11  José Matos  <jamatos@fep.up.pt>
15339
15340         * buffer.C (makeDocBookFile): command styles now have a parameter as
15341         "title" by default.
15342
15343 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15344
15345         * layout_forms.[Ch]: removed
15346         * lyx_cb.[Ch]: out character
15347         * lyx_gui.C: out character
15348         * lyx_gui_misc.C: out character
15349         * bufferview_funcs.C: : out character,
15350         added toggleall as parameter in ToggleAndShow
15351
15352 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15353
15354         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15355
15356         * text2.C (SetCurrentFont): Disable number property at boundary.
15357
15358 2001-02-26  Juergen Vigna  <jug@sad.it>
15359
15360         * lyxfunc.C (getStatus): added a string argument override function so
15361         that this is correctly called from LyXFunc::Dispatch if it contains a
15362         do_not_use_argument which is used!
15363         (Dispatch): added check for "custom" export and call appropriate func.
15364
15365 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15366
15367         * lyxrc.C: Add language_command_local, language_use_babel and
15368         language_global_options.
15369
15370         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15371
15372         * buffer.C (makeLaTeXFile): Use language_use_babel and
15373         language_global_options.
15374
15375 2001-02-23  Juergen Vigna  <jug@sad.it>
15376
15377         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15378         which works with LyXText and putted it inside BufferView. Here now we
15379         only call for that part the BufferView::Dispatch() function.
15380
15381         * BufferView.C (Dispatch): added.
15382
15383         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15384         functions which needs to use a LyXText over from LyXFunc.
15385         (MenuInsertLyXFile): added
15386         (getInsetByCode): added
15387         (moveCursorUpdate): added
15388         (static TEXT): added
15389
15390 2001-02-22  Juergen Vigna  <jug@sad.it>
15391
15392         * BufferView_pimpl.C (update): call a status update to see if LyXText
15393         needs it.
15394
15395 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15396
15397         * vc-backend.C (revert): implement for CVS
15398         (getLog): implement for CVS
15399
15400 2001-02-20  Juergen Vigna  <jug@sad.it>
15401
15402         * text2.C (ClearSelection): added BufferView param for inset_owner call
15403
15404         * lyxfunc.C (TEXT): added this function and use it instead of
15405         directly owner->view()-text of getLyXText().
15406
15407 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15408
15409         * src/layout_forms.C: out preamble
15410         * src/layout_forms.h: out preamble
15411         * src/lyx_cb.C: out preamble
15412         * src/lyx_cb.h: out preamble
15413         * src/lyx_gui.C: out preamble
15414         * src/lyx_gui_misc.C: out preamble
15415         * src/lyxfunc.C: connect with guii preamble
15416
15417 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15418
15419         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15420
15421 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15422
15423         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15424         whether to run bibtex.
15425
15426 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15427
15428         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15429
15430 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15431
15432         * Makefile.am (lyx_SOURCES): removed bibforms.h
15433
15434         * vspace.h: doxygen
15435
15436         * text.C (GetVisibleRow): make several local vars const
15437
15438         * tabular.C: small cleanup.
15439
15440         * lyxserver.C (callback): use compare instead of strncmp
15441
15442         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15443         inlines to after class or to paragraph.C
15444
15445         * lyxfont.h: remove friend operator!=
15446
15447         * converter.h: move friend bool operator< to non friend and after
15448         class def.
15449
15450         * combox.h: small cleanup
15451
15452         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15453         to inlines after class def.
15454
15455         * buffer.C (pop_tag): use string operations instead of strcmp
15456
15457         * bmtable.c: doxygen, small cleanup
15458
15459         * LaTeX.h: remove friend operator==
15460
15461 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15462
15463         * screen.C:
15464         * lyxrc.[Ch]:
15465         * lyxfunc.C:
15466         * lyxfont.[Ch]:
15467         * lyx_cb.C:
15468         * intl.[Ch]:
15469         * commandtags.h:
15470         * buffer.C:
15471         * WorkArea.[Ch]:
15472         * LyXAction.C:
15473         * BufferView_pimpl.C:
15474         * BufferView.[Ch]: remove cruft
15475
15476 2001-02-14  Juergen Vigna  <jug@sad.it>
15477
15478         * lyxfunc.C: removed #if 0 unused code
15479
15480         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15481
15482         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15483
15484         * text2.C (SetSelection): added a BufferView * parameter
15485
15486 2001-02-13  Juergen Vigna  <jug@sad.it>
15487
15488         * lyxfunc.C (Dispatch): fixed protected blank problem.
15489         * BufferView2.C (protectedBlank): added LyxText * parameter.
15490
15491         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15492         (AppendColumn): same as above for column_info.
15493
15494         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15495         (moveCursorUpdate): use a LyXText param for support of InsetText.
15496
15497         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15498         (tripleClick): ditto
15499
15500         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15501
15502         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15503
15504         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15505
15506         * text2.C (SetSelection): set correct update status if inset_owner
15507         (ToggleFree): ditto
15508
15509 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15510
15511         * tabular.C: remove some commented code.
15512
15513 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15514
15515         * BufferView_pimpl.C: call hideSplash()
15516
15517         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15518
15519         * include_form.h:
15520         * bibforms.h: remove
15521
15522         * lyxfunc.C:
15523         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15524           add LFUN_CHILD_CREATE
15525
15526         * counters.h: fix tiny typo
15527
15528         * lyx_cb.C:
15529         * lyx.h:
15530         * lyx_gui.C:
15531         * lyx.C: move splash to frontends/xforms/
15532
15533         * lyx_gui_misc.C: move Include and Bibform to frontends
15534
15535         * lyxvc.h: clarify comment
15536
15537         * vspace.C: tiny housekeeping
15538
15539 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15540
15541         * text.C (PrepareToPrint): RTL Fix.
15542
15543         * paragraph.C (GetUChar): New method.
15544         (String):  Use GetUChar.
15545
15546         * buffer.C (asciiParagraph): Use GetUChar.
15547
15548 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15549
15550         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15551
15552 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15553
15554         * buffer.h:
15555         * buffer.C: rename to getLogName(), handle
15556           build log / latex log nicely
15557
15558 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15559
15560         * MenuBackend.C:
15561         * MenuBackend.h: remove support for reference menuitem type.
15562
15563 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15564
15565         * BufferView_pimpl.C: housekeeping
15566         * BufferView_pimpl.h:
15567         * LyXView.h:
15568         * Makefile.am:
15569         * Timeout.C:
15570         * Timeout.h:
15571         * minibuffer.h: move Timeout GUI-I
15572
15573 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15574
15575         * lyxrc.C (read): Update converters data-structures.
15576
15577 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15578
15579         * LaTeX.h (operator!=): add operator != for Aux_Info
15580
15581 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15582
15583         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15584
15585         * LaTeXLog.C: deleted, useful code moved to Buffer
15586
15587         * buffer.h:
15588         * buffer.C: new function getLatexLogName()
15589
15590         * lyx_gui_misc.C:
15591         * lyx_gui.C:
15592         * lyxvc.C:
15593         * lyxvc.h:
15594         * lyxfunc.C: use frontends for LaTeX and VC logs
15595
15596 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15597
15598         * LaTeX.h: yet another std:: that Allan forgot.
15599
15600         * Variables.C (set): renamed from isset(), because this clashes
15601         with some HP-UX macros (grr).
15602
15603 2001-02-06  Allan Rae  <rae@lyx.org>
15604
15605         * LaTeX.h: Another bug fix.  Missing std:: this time.
15606
15607 2001-02-04  Allan Rae  <rae@lyx.org>
15608
15609         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15610         floats problem. I've left it commented out because it's not quite
15611         correct.  It should also test that the current object is a table or
15612         figure inset.  But I haven't gotten around to figuring out how to do
15613         that.  I *think* it'll be something like: "table" == inset.type()
15614
15615         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15616         bool.
15617
15618 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15619
15620         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15621         all the citation/databases/styles in the auxilary file.
15622         (run): Rerun latex if there was a babel language error.
15623
15624 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15625
15626         * text.C (Backspace): Preserve the font when changing newline char
15627         with a space.
15628         (BreakParagraph): If the cursor is before a space, delete the space.
15629
15630         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15631
15632 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15633
15634         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15635         new argument (code).
15636         (ChangeCitationsIfUnique): New method.
15637
15638         * paragraph.C (GetPositionOfInset): Handle bibkey.
15639
15640 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15641
15642         * BufferView_pimpl.h: change type of Position::par_pos to
15643         LyXParagraph::size_type.
15644
15645 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15646
15647         * BufferView_pimpl.C (savePosition, restorePosition): Write
15648         messages to minibuffer.
15649
15650 2001-01-28  José Matos  <jamatos@fep.up.pt>
15651
15652         * buffer.C (makeDocBookFile): adds support for document language.
15653         A silly restriction on the name of LatexCommand types where removed.
15654         Added support for CDATA sections, allows to chars unescaped, used
15655         among others in code, to avoid escape < and >.
15656
15657 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15658
15659         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15660         saved positions instrad of a stack. Furthermore, a position is
15661         stored using paragraph id/paragraph position.
15662
15663         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15664         Remove LFUN_REF_BACK.
15665
15666 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15667
15668         * converter.C (dvipdfm_options): New method.
15669
15670 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15671
15672         * vspace.C (isValidLength): Fix for empty input string.
15673
15674 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15675
15676         * LyXAction.C (init): change description of LFUN_FIGURE to
15677         "Insert Graphics"
15678
15679 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15680
15681         * LaTeX.C: add using directive
15682
15683 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15684
15685         * MenuBackend.C (expand): Fix the sorting of the formats.
15686
15687 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15688
15689         * lyx_main.C: tiny error message fix
15690
15691 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15692
15693         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15694         calling fl_initialize(). This fixes the problem with ',' as
15695         decimal separator in text files.
15696
15697 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15698
15699         * trans.C (process): Fix the keymap bug.
15700
15701 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15702
15703         * LaTeX.C (scanAuxFiles): New method. Provides support for
15704         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15705         (scanLogFile) Scan for "run BibTeX" messages.
15706
15707         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15708         OT1 font encoding. Also, load the aecompl package if the ae
15709         package is loaded.
15710
15711         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15712
15713 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15714
15715         * texrow.C (increasePos): turn two error messages into debug
15716         messages.
15717
15718 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15719
15720         * LaTeX.C (scanAux): Handle the \@input macro.
15721         (runBibTeX): Use scanAux().
15722
15723         * language.C (latex_options_): New field.
15724
15725         * LaTeXFeatures.C (getMacros): Add language macros.
15726
15727         * buffer.C (makeLaTeXFile): Small fix.
15728
15729 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15730
15731         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15732
15733         * text2.C: add a using directive.
15734
15735 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15736
15737         * BufferView2.C:
15738         * lyx_gui_misc.h:
15739         * lyxfr1.C:
15740         * lyxfunc.C: kill LyXBell.
15741
15742 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15743
15744         * text.C (IsBoundary): Remove the error message
15745
15746         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15747
15748         * lyxrc.C (setDefaults): Correct initialization value for
15749         font_norm_type.
15750
15751 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15752
15753         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15754         gotoError().
15755
15756         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15757         and GotoNextNote().
15758
15759         * src/LyXAction.C: Added reference-next.
15760
15761         * text.C (InsertChar): Use contains instead of strchr.
15762
15763         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15764
15765 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15766
15767         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15768         alignment commands (when needed).
15769
15770         * text.C (InsertChar): Add ':' to number separator chars.