]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
STLPort compile fix
[lyx.git] / src / ChangeLog
1 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * Spacing.h: add <string> (STLPort compile fix)
4
5 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
6
7         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
8         to bool. 
9
10         * converter.C (showMessage): inherit from unary_function, make
11         operator() const.
12
13         * buffer.C (writeFile): initialize retval
14
15         * InsetList.h: rename private variable list to list_
16         * InsetList.[Ch]: adjust accordingly.
17
18 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
19
20         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
21         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
22         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
23         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
24         * ParagraphParameters.C, LaTeXFeatures.C: replace
25         "support/std_sstream.h" with <sstream>
26
27 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
28
29         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
30         * lyxsocket.C (LyXServerSocket): ditto
31         (serverCallback): ditto
32
33 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
34
35         * LaTeXFeatures.C: check release date when loading jurabib.
36
37 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
38
39         * lyxserver.C (startPipe): call register_socket_callback
40         (endPipe): call unregister_socket_callback
41
42 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
43
44         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
45         (LyXServerSocket): register the callback
46         (LyXServerSocket): unregister the callback
47         (fd): delete function
48         (serverCallback): improve error checking and setup the callbacks.
49         (dataCallback): change arg to fd.
50         (writeln): new func (copied fro the client socket) used for server
51         write to client.
52         (LyXDataSocket): simplify
53         (~LyXDataSocket): close ann unregiser callback
54         (server): delete function
55         (fd): delete function
56         (readln): small changes, improve some std::string usage
57         (writeln): constify a bit
58
59 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
60
61         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
62         Qt frontend
63
64 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
65
66         * BufferView_pimpl.C (setBuffer): set the layout combox value only
67         after it has been populated
68
69 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
70
71         * text2.C (insertInset): move cursor when inserting inset.
72
73 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
74
75         * kbmap.C (findbindings): a couple of new methods. returns a
76         container of kb_sequence objects. The real work is done by the
77         private recursive version
78         (printbindings): uses findbindings to print out a bracketed list
79         of bindings (renamed from findbinding).
80
81         * MenuBackend.C (binding): use kb_keymap::findbindings
82
83         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
84
85 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
86
87         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
88
89 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
90
91         * paragraph.C (isWord): return true on insets that report
92         isLetter().
93
94         * text.C (getWord): use Paragraph::isWord to decide what is in a
95         word and what is not; fix bug 1609.
96
97 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
98
99         * tex-strings.C: add "none" to string_paperpackages[], fixes
100         off-by-one-error in the paperpackage selection.
101
102         * lyxlex.[Ch]:
103         * tex-strings.[Ch]: char const * string[n]
104         -> char const * const string[]
105
106 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
107
108         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
109         command, return early.
110
111 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
112
113         * debug.h: add DEBUG to enum and fix size of ANY.
114
115         * debug.C: add support for Debug::DEBUG
116         (showTags): cast errorTags.level to unsigned int
117
118         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
119         (redoCurrentBuffer): ditto
120         (updateScrollbar): ditto
121         * cursor.C (dispatch): ditto
122         * text2.C (setLayout): ditto
123         (setFont): ditto
124         (updateCounters): ditto
125         (editXY): ditto
126         (deleteEmptyParagraphMechanism): ditto
127
128 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
129
130         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
131         annotations to cleanup the Makefile slightly.
132
133 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
134
135         * lyxrc.C: do not set user_email to a default value but use empty
136         instead. The entry used to be translated, which does not work
137         since at the point where lyxrc is constructed there is no
138         translation service available
139
140         * messages.C (getLocaleDir): remove and use directly
141         lyx_localedir() instead
142
143 2004-06-02  Angus Leeming  <leeming@lyx.org>
144
145         Fix crash caused by dereferencing null pointer 'exportdata' in
146         OutputParams by creating a new ExportData variable on the heap,
147         storing it in a boost::shared_ptr.
148         The crash was triggered when generating an Instant Preview
149         of an external inset.
150
151         * Makefile.am: add outputparams.C
152
153         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
154         (c-tor): allocate memory to it.
155
156         * exporter.C (c-tor): associated changes.
157
158 2004-06-01  Angus Leeming  <leeming@lyx.org>
159
160         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
161         contains data before calling isInset(0). (Bug 1513.)
162
163 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
164
165         * exporter.C (checkOverwrite): new method
166         * exporter.C (copyFile): new method
167         * exporter.C (Export): copy referenced files to the document dir
168         * exporter.[Ch]: new class ExportedFile
169         * exporter.[Ch]: new class ExportData. Contains currently the
170         names of referenced external files
171         * outputparams.h: add exportdata member.
172
173 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
174
175         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
176         version.C-tmp
177
178 2004-05-19  Angus Leeming  <leeming@lyx.org>
179
180         * LaTeXFeatures.C:
181         * ToolbarBackend.C:
182         * bufferparams.C:
183         * lyxfunc.C: small changes due to the introduction of namespace
184         lyx::frontend and the moving of namespace biblio to lyx::biblio.
185
186 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
187
188         * text3.C (dispatch): supress update when only moving the cursor
189         * cursor.C (selHandle): remove commented code
190
191 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
192
193         * paragraph.C (startTeXParParams): correct column count
194         * CutAndPaste.C (pasteSelection): remove const_cast
195         * output_docbook.C (docbookParagraphs): remove const_cast
196         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
197         const_cast and return ParagraphList::const_iterator
198         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
199         * output_plaintext.C (writeFileAscii): remove const_cast
200         * paragraph.[Ch] (simpleTeXOnePar): make const
201         * paragraph_funcs.C (outerPar): use const iterators
202         * paragraph_pimpl.C (validate): use const iterators
203         * text.C (setHeightOfRow): use const iterators
204
205 2004-05-17  Angus Leeming  <leeming@lyx.org>
206
207         * lfuns.h:
208         * LyXAction.C (init): new LFUN_INSET_REFRESH.
209
210         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
211         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
212         if the citation engine has changed.
213
214 2004-05-14  José Matos  <jamatos@lyx.org>
215
216         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
217         if the textclass does not provide it. Have it different for sgml and
218         xml.
219         support the language of document.
220         * output_docbook.C (docbookParagraphs):
221         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
222         first anchor as the id of the paragraph, remove special case code.
223         * sgml.C (escapeChar): escape only < & >.
224
225 2004-05-14  Angus Leeming  <leeming@lyx.org>
226
227         * bufferparams.h: move biblio::CiteEngine enum here to minimize
228         dependencies on src/frontends/controllers/biblio.h. Define a
229         CiteEngine_enum wrapper class to enable the enum to be forward
230         declared.
231
232 2004-05-12  Angus Leeming  <leeming@lyx.org>
233
234         * buffer.C: up LYX_FORMAT to 234.
235         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
236         use_numerical_citations with a single biblio::CiteEngine cite_engine
237         variable.
238         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
239
240 2004-05-13  José Matos  <jamatos@lyx.org>
241
242         * converter.h:
243         * converter.C (Converter, readFlags): add xml member.
244         * outputparams.h: add XML flavor.
245         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
246
247 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
248
249         * lyxfunc.C (dispatch):
250         (getStatus): fix handling of LFUN_SEQUENCE
251
252 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
253
254         * debug.C (showLevel): do not forget the end-of-line marker
255
256 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
257
258         * kbmap.C (read): do not stop parsing a bind file when an error
259         occurs (bug 1575)
260
261 2004-04-29  Angus Leeming  <leeming@lyx.org>
262
263         * cursor.C:
264         * factory.C:
265         * pariterator.C:
266         * text2.C: wrap a bunch of #warning statements
267         inside #ifdef WITH_WARNINGS blocks.
268
269 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
270
271         * buffer.C: increment format to 233.
272
273 2004-04-28  Angus Leeming  <leeming@lyx.org>
274
275         * BufferView_pimpl.C:
276         * lyxfunc.C:
277         * text3.C:
278         s/updateToolbar()/updateToolbars()/
279         s/Toolbar.h/Toolbars.h/
280
281 2004-04-28  Angus Leeming  <leeming@lyx.org>
282
283         * BufferView.[Ch] (c-tor):
284         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
285         No longer passes these data to the WorkArea generator.
286
287 2004-04-28  Angus Leeming  <leeming@lyx.org>
288
289         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
290
291 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
292
293         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
294
295 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
296
297         * output_latex.C (TeXEnvironment): make sure that there is a line
298         break before \end{foo} for the last paragraph of a document
299         (TeXOnePar): if the paragraph is at the end of the document (or
300         inset) and the language has to be reset, then make sure that the
301         line break is _before_ the language command, not after (fixes bug
302         1225); also make sure that the language reset command is the first
303         thing after the paragraph (to ensure proper nesting of
304         environments and thus fix bug 1404)
305
306 2004-04-21  John Levon  <levon@movementarian.org>
307
308         * ToolbarBackend.h:
309         * ToolbarBackend.C: make "name" be a programmatic name
310         and a gui_name field.
311
312         * lyxfunc.C: display the minibuffer on M-x
313
314 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
315
316         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
317         (bug 1526)
318
319 2004-04-19  Angus Leeming  <leeming@lyx.org>
320
321         * BufferView_pimpl.C (setBuffer): changed preview interface.
322
323         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
324         possible values.
325
326 2004-04-19  John Levon  <levon@movementarian.org>
327
328         * BufferView_pimpl.C:
329         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
330
331 2004-04-05  Angus Leeming  <leeming@lyx.org>
332
333         * text.C (redoParagraphs): add call to updateCounters(), thereby
334         fixing the missing "Figure #:" label from the caption of a
335         figure float.
336
337 2004-04-13  Angus Leeming  <leeming@lyx.org>
338
339         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
340         cursor is clicked out of an inset.
341
342 2004-04-13  Angus Leeming  <leeming@lyx.org>
343
344         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
345         than an InsetOld one.
346
347 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
348
349         * format.[Ch]: add editor to Format
350         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
351         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
352
353 2004-04-08  André Pönitz  <poenitz@gmx.net>
354
355         * metricsinfo.h: remove PainterInfo::width member
356
357 2004-04-08  Angus Leeming  <leeming@lyx.org>
358
359         * lyx_sty.C (boldsymbol_def): modify so that it outputs
360         "\providecommand" rather than "\newcommand", thereby preventing
361         clashes with packages that define "\boldsymbol" themselves.
362         Eg, beamer.
363
364 2004-04-08  Angus Leeming  <leeming@lyx.org>
365
366         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
367         thereby squashing an unnecessary warning.
368
369 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
370
371         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
372         setBuffer()
373
374 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
375
376         * BufferView.C (setCursor): call redoParagraph (some insets could
377         have been opened)
378         (putSelectionAt): remove the 'double update' trick
379
380         * BufferView_pimpl.C (fitCursor): call refreshPar
381         (workAreaDispatch): remove an uneeded update call
382         (dispatch): remove some manual update calls
383
384         * cursor.[Ch]: remove cached_y_, updatePos
385         (selHandle): set noUpdate when appropriate
386
387         * lyxfunc.C (dispatch): track if we need an update
388
389         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
390
391         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
392         (paintSelection): cheap optimization, do not call cursorX when not
393         needed
394         (paintPars): change signature
395         (refreshPar): add
396         (paintText): adjust
397         (paintTextInset): adjust
398
399         * text.C: adjust
400
401 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
402
403         * lengthcommon.C: compilation fix: remove explicit array size from
404         unit_name[] and friends
405
406 2004-04-05  Angus Leeming  <leeming@lyx.org>
407
408         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
409
410         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
411         present only for the preferences dialog.
412         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
413
414 2004-04-05  Angus Leeming  <leeming@lyx.org>
415
416         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
417         to enable the frontends to export changes to lyxrc correctly.
418
419         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
420
421 2004-04-07  André Pönitz  <poenitz@gmx.net>
422
423         * cursor.[Ch] (selClear, adjust): remove math
424
425         * cursor_slice.C: more agressive assert
426
427         * lyxfunc.C:
428         * BufferView_pimpl.C: rework mouse event dispatch
429
430         * dociterator.C:
431         * paragraph.C:
432         * text2.C:
433         * text3.C: adjust
434
435 2004-04-05  André Pönitz  <poenitz@gmx.net>
436
437         * cursor.[Ch] (valign, halign...): remove unneeded functions
438
439 2004-04-05  Angus Leeming  <leeming@lyx.org>
440
441         * lyxlength.[Ch] (unit_name et al.): const-correct.
442
443 2004-04-05  Angus Leeming  <leeming@lyx.org>
444
445         * BufferView_pimpl.C:
446         * buffer.C:
447         * counters.C:
448         * cursor.C:
449         * lyxfunc.C
450         * paragraph.C:
451         * pariterator.C:
452         * text.C:
453         * text2.C:
454         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
455
456 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
457
458         * text3.C (getStatus): add LFUN_BEGINNINGBUF
459
460 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
461
462         * lyxfind.C: add a couple of inTexted() tests + other small fixes
463         * BufferView_pimpl.[Ch] (getStatus)
464         * BufferView.[Ch] (getStatus): add
465         * lyxfunc.C (getStatus): move lfuns handled in
466         BufferView::dispatch to te function above
467         * Cursor.C (setSelection): set selection() = true
468
469 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
470
471         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
472
473 2004-03-31  Angus Leeming  <leeming@lyx.org>
474
475         * lyxfunc.C (dispatch): Fall through to the generic
476         Dialogs::show("preamble").
477
478 2004-03-31  Angus Leeming  <leeming@lyx.org>
479
480         * lyxfunc.C (dispatch): Fall through to the generic
481         Dialogs::show("spellchecker").
482
483 2004-03-31  Angus Leeming  <leeming@lyx.org>
484
485         * lyxfunc.C (getStatus, dispatch): changed invocation of the
486         preferences dialog.
487
488 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
489
490         * BufferView.C
491         * cursor.[Ch]
492         * dociterator.[Ch]:
493         * insetiterator.[Ch]:
494         * lyxfind.C:
495         * lyxfunc.C:
496         * pariterator.[Ch]:
497         * text2.C:
498         * undo.[Ch]: s/DocumentIterator/DocIterator/g
499
500 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
501
502         * BufferView.C (setCursor, putSelectionAt): call edit to open the
503         insets where we are putting the cursor.
504
505 2004-03-31  Angus Leeming  <leeming@lyx.org>
506
507         * lfuns.h:
508         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
509
510         * lyxrc.[Ch] (read, write): overloaded member functions taking
511         a std::[io]stream arguments.
512
513         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
514
515 2004-03-31  Angus Leeming  <leeming@lyx.org>
516
517         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
518         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
519
520         * lyxtextclass.C (load): if the text class couldn't be loaded, then
521         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
522
523 2004-03-31  Angus Leeming  <leeming@lyx.org>
524
525         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
526         the LFUN_ALL_INSETS_TOGGLE code.
527
528 2004-03-30  Angus Leeming  <leeming@lyx.org>
529
530         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
531         has died. Fall through to the generic Dialogs::show("document").
532
533 2004-03-30  Angus Leeming  <leeming@lyx.org>
534
535         * lfuns.h:
536         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
537         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
538
539         * lyxfunc.C (getStatus, dispatch): define the actions for these
540         lfuns. Little more than a cut and pste job from ControlDocument.C
541
542         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
543
544 2004-03-30  Angus Leeming  <leeming@lyx.org>
545
546         * lfuns.h:
547         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
548         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
549
550         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
551         open/closed state of ollapsable insets. Usage:
552
553         all-inset-toggle <state> <name>, where
554         <state> == "open" || "closed" || "toggle" and
555         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
556
557         * lyxtext.h, text2.C (toggleInset): removed.
558
559         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
560         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
561         now passes LFUN_INSET_TOGGLE to the found inset.
562
563         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
564         is now invoked as "all-insets-toggle toggle branch".
565
566 2004-03-30  Angus Leeming  <leeming@lyx.org>
567
568         * dociterator.C:
569         * insetiterator.C:
570         * pariterator.[Ch]: added/corrected header blurb.
571
572 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
573
574         * dociterator.[Ch]: add an inset_ member
575         (backwardPos): implemented
576         (backwardPos, forwardPos): use inset_ when the stack is empty.
577         (doc_iterator_begin, doc_iterator_end): implemented
578         * pariterator.[Ch]: adjust, add begin, end
579         * insetiterator.[Ch]: adjust, add begin, end
580         * cursor.C:
581         * document.C:
582         * BufferView.C:
583         * BufferView_pimpl.C:
584         * CutAndPaste.C: adjust
585
586 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
587
588         * buffer.C: increment file format to 232.
589         * LaTeXFeatures.C: add bibtopic package.
590         * bufferparams.[Ch]: param \use_bibtopic.
591
592         * lyxrc.[Ch]: add lyxrc bibtex_command
593         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
594
595         * buffer.C: increment file format to 231.
596
597 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
598
599         * dociterator.C: implement forwardPar
600         * iterators.[Ch]: remove, replaced by
601         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
602         * BufferView.C:
603         * BufferView_pimpl.C:
604         * CutAndPaste.C:
605         * buffer.C:
606         * bufferview_funcs.C:
607         * cursor.C:
608         * lyxfind.C
609         * lyxfunc.C
610         * paragraph_funcs.C
611         * toc.C:
612         * Makefile.am: adjust
613
614 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
615
616         * CutAndPaste.C (pasteSelection): fix 2 crashes
617         (eraseSelection): fix a crash
618         * paragraph_funcs.C: remove a warning
619
620 2004-03-28  Angus Leeming  <leeming@lyx.org>
621
622         * lfuns.h:
623         * LyXAction.C (init): new LFUN_PRINT.
624
625         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
626
627 2004-03-27  Angus Leeming  <leeming@lyx.org>
628
629         * lfuns.h:
630         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
631
632         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
633
634 2004-03-27  Angus Leeming  <leeming@lyx.org>
635
636         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
637         insetlist always contains non-null pointers to insets.
638
639 2004-03-26  Angus Leeming  <leeming@lyx.org>
640
641         * src/BufferView_pimpl.C:
642         * src/CutAndPaste.C:
643         * src/buffer.C:
644         * src/iterators.C:
645         * src/output_plaintext.C:
646         * src/outputparams.h:
647         * src/paragraph_funcs.C:
648         * src/rowpainter.C:
649         * src/text.C:
650         * src/text2.C:
651         * src/frontends/controllers/ControlErrorList.C:
652         * src/frontends/gtk/FileDialogPrivate.C:
653         * src/frontends/gtk/GPainter.C:
654         * src/frontends/gtk/GToolbar.C:
655         * src/frontends/qt2/QRef.C:
656         * src/mathed/math_scriptinset.C: squash compiler warnings.
657
658 2004-03-26  Angus Leeming  <leeming@lyx.org>
659
660         * ispell.C (LaunchIspell::start):
661         * lyx_cb.C (AutoSaveBuffer::start):
662         invoke run(DontWait) rather than runNonBlocking().
663
664 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
665
666         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
667
668 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
669
670         * kbsequence.C (print): adjust
671
672         * kbmap.C (printKeySym): rename and change signature
673         (printKey): use LyXKeySym::print()
674
675 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
676
677         * undo.C: add using std::advance to compile for stlport
678
679 2004-03-24  Angus Leeming  <leeming@lyx.org>
680
681         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
682         it leads to a crash when no buffer is present.
683
684 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
685             Martin Vermeer  <martin.vermeer@hut.fi>
686
687         * lyxfunc.C (dispatch):
688         * bufferparams.C (readToken): use the new LColor::setColor
689
690         * LColor.[Ch] (setColor): new version that takes two strings as
691         argument and creates a new color entry if necessary
692
693 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
694
695         * buffer.C (makeLaTeXFile): if the main latex file that is
696         processed is usually a subdocument of some master, then pretend
697         for a while that it is actually the master
698
699 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
700
701         * buffer.C (getLabelList):
702         (getBibkeyList): use getMasterBuffer()
703         (getMasterBuffer): new method. Returns the main document in the
704         case where one is using included documents.
705
706 2004-03-25  André Pönitz  <poenitz@gmx.net>
707
708         * Makefile.am:
709         * iterators.[Ch]:
710         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
711
712         * ParagraphList_fwd.h: change ParagraphList to a std::vector
713
714         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
715         text*.C over here. Rename namespace CutAndPaste to lyx::cap
716
717         * ParameterStruct.h: merge with ParagraphParameters
718
719         * lyxtext.h: remove LyXText::parOffset() and getPar()
720
721         * text3.C: Remove all 'manual' update calls. We do now one per user
722         interaction which is completely sufficient.
723
724         * Bidi.C:
725         * BufferView.[Ch]:
726         * BufferView_pimpl.C:
727         * FontIterator.[Ch]:
728         * MenuBackend.C:
729         * ParagraphParameters.[Ch]:
730         * buffer.C:
731         * buffer.h:
732         * bufferlist.C:
733         * cursor.[Ch]:
734         * cursor_slice.[Ch]:
735         * dociterator.[Ch]:
736         * errorlist.[Ch]:
737         * factory.C:
738         * lfuns.h:
739         * lyxfind.C:
740         * lyxfunc.C:
741         * output_docbook.[Ch]:
742         * output_latex.[Ch]:
743         * output_linuxdoc.[Ch]:
744         * output_plaintext.[Ch]:
745         * paragraph.[Ch]:
746         * paragraph_funcs.[Ch]:
747         * paragraph_pimpl.[Ch]:
748         * rowpainter.C:
749         * tabular.[Ch]:
750         * text.C:
751         * text2.C:
752         * toc.C:
753         * undo.[Ch]: adjust
754
755         * frontends/controllers/ControlDocument.C:
756         * frontends/controllers/ControlErrorList.C:
757         * frontends/controllers/ControlSpellchecker.C:
758         * insets/inset.C:
759         * insets/inset.h:
760         * insets/insetbase.h:
761         * insets/insetbibitem.C:
762         * insets/insetbox.C:
763         * insets/insetbranch.C:
764         * insets/insetcaption.C:
765         * insets/insetcharstyle.C:
766         * insets/insetcharstyle.h:
767         * insets/insetcollapsable.C:
768         * insets/insetcollapsable.h:
769         * insets/insetert.C:
770         * insets/insetfloat.C:
771         * insets/insetfoot.C:
772         * insets/insetmarginal.C:
773         * insets/insetnote.C:
774         * insets/insetoptarg.C:
775         * insets/insettabular.C:
776         * insets/insettext.C:
777         * insets/insettext.h:
778         * insets/insetwrap.C:
779         * mathed/math_mboxinset.C:
780         * mathed/math_nestinset.C:
781         * mathed/math_scriptinset.C:
782         * mathed/math_scriptinset.h:
783         * support/types.h:
784
785 2004-03-24  Angus Leeming  <leeming@lyx.org>
786
787         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
788         deal with any child processes that have finished but are waiting to
789         communicate this fact to the rest of LyX.
790
791 2004-03-24  Angus Leeming  <leeming@lyx.org>
792
793         64-bit compile fixes.
794
795         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
796         (c-tor): pass lyx::pos_types rather than ints.
797
798         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
799         lyx::pos_type.
800
801         * text.C (Delete): compile fix.
802         (getPar): ensure that function declaration is the same as that in
803         the header file.
804
805 2004-03-23  Angus Leeming  <leeming@lyx.org>
806
807         * ispell.C (LaunchIspell):
808         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
809         a boost::shred_ptr rather than a std::auto_ptr.
810
811 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
812
813         * lyxfunc.C (getStatus): handle read-only buffers correctly;
814         handle LFUN_FILE_INSERT_*
815
816         * lyxrc.C (setDefaults, getDescription, output, read):
817         * lyxrc.h: remove ps_command
818
819 2004-03-22  Angus Leeming  <leeming@lyx.org>
820
821         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
822         Ensure that error_handler is processed once only and that all data
823         is saved before attempting to output any warning messages.
824
825         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
826
827 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
828
829         * tabular.C (TeXRow): crash fix (from Kayvan and André)
830
831 2004-03-19  André Pönitz  <poenitz@gmx.net>
832
833         * cursor.[Ch] (reset): take main text inset as argument
834
835         * BufferView: adjust
836         * BufferView_pimpl.C: adjust
837
838         * paragraph.[Ch]: fix completely broken operator=()
839
840 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
841
842         * LColor.C (getFromLyXName): make sure that the color name is used
843         as lowercase.
844
845 2004-03-17  Angus Leeming  <leeming@lyx.org>
846
847         * lfuns.h:
848         * LyXAction.C (init): remove LFUN_FORKS_KILL.
849
850         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
851         dialog and to kill a forked process.
852
853 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
854
855         * text2.C (setCursorFromCoordinates): fix font problem
856
857 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
858
859         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
860         bogus "rebuild cursor" code
861
862 2004-03-11  André Pönitz  <poenitz@gmx.net>
863
864         * buffer.[Ch]: use InsetText instead of LyXText as container for
865         the main lyx text.
866
867         * dociterator.[Ch]: drop the BufferView * member which is not needed
868         anymore after the change to buffer.C
869
870         * paragraph_funcs.C:
871         * text.C:
872         * text2.C:
873         * BufferView.[Ch]:
874         * BufferView_pimpl.[Ch]:
875         * cursor.[Ch]:
876         * cursor_slice.[Ch]: adjust
877
878         * text3.C: fix bug in mathDispatch
879
880 2004-03-08  André Pönitz  <poenitz@gmx.net>
881
882         * undo.[Ch]: use 'StableDocumentIterator' as base for
883         the Undo struct.
884
885 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
886
887         * LaTeXFeatures.C:
888         * bufferparams.[Ch]: add jurabib support and param.
889
890         * LaTeX.C: add FIXME/comment.
891
892 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
893
894         * buffer.C: increment file format to 230.
895
896 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
897
898         * cursor.C (dispatch): avoid infinite loops
899
900 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
901
902         * rowpainter.C (paintSelection): fix x coordinates
903
904 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
905
906         * text.C (rowBreakPoint): fix breaking before displayed insets
907
908 2004-03-01  André Pönitz  <poenitz@gmx.net>
909
910         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
911
912         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
913
914         * Makefile.am:
915         * BufferView.C:
916         * BufferView_pimpl.C:
917         * buffer.C:
918         * lyxfind.C:
919         * lyxfunc.C:
920         * text.C:
921         * text2.C:
922         * text3.C: adjust
923
924 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
925
926         * lyxtext.h:
927         * text.C:
928         * text2.C:
929         * rowpainter.C:
930         * BufferView_pimpl.C: rename textwidth -> maxwidth,
931         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
932
933 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
934
935         * Bidi.[Ch] (computeTables): const correctness
936         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
937         fill_hfill, fill_label_hfill and x from Row
938         * lyxtext.h: prepareToPrint returns a RowMetrics
939         * rowPainter.C: adjust
940         * text.C (prepareToPrint): use width, not textWidth. adjust
941         (redoParagraphInternal, cursorX): adjust
942         * text2.C (getColumnNearX): adjust
943         (init): put a default value to the top LyXText::width
944
945 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
946
947         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
948
949 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
950
951         * lyxtext.h: add FontIterator class
952
953         * text.C (FontIterator, operator*, operator->, operator++): add
954         (rowBreakPoint, setRowWidth): adjust (fixing a
955         rebreaking bug)
956
957 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
958
959         * BufferView_pimpl.C (workAreaDispatch): allow also
960         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
961
962 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
963
964         * text.C (rowBreakPoint): fix a bug showing with very large insets
965
966 2004-02-25  André Pönitz  <poenitz@gmx.net>
967
968         * text3.C:
969         * cursor.[Ch]: move some mathed specific code to mathed
970
971 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
972
973         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
974         use_tempdir in preferences
975         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
976         tempfile creation
977         * lyx_main.C: ensure that tempdir is valid
978         * lyxlex.h: correct typo
979         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
980         * paragraph.[Ch] (isMultiLingual): make const
981         * cursor.[Ch] (openable): make const
982
983 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
984
985         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
986
987 2004-02-20  André Pönitz  <poenitz@gmx.net>
988
989         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
990
991         * cursor.[Ch]: prepare for localized getStatus()
992
993         * lyxtext.h:
994         * tabular.C:
995         * text.C:
996         * text2.C:
997         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
998
999 2004-02-20  André Pönitz  <poenitz@gmx.net>
1000
1001         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1002
1003 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1004
1005         * text2.C (setCursorFromCoordinates): switch to absolute coords
1006         (cursorUp): adjust
1007         (cursorDown): adjust
1008         * text3.C (dispatch): adjust
1009
1010 2004-02-16  André Pönitz  <poenitz@gmx.net>
1011
1012         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1013           insets/ChangeLog)
1014
1015         * cursor_slice.[Ch]: remove unneeded acessor function
1016
1017         * lyxtext.h: rename rtl() to isRTL()
1018
1019         * rowpainter.C:
1020         * tabular.C:
1021         * text.C:
1022         * text2.C:
1023         * text3.C: adjust
1024
1025 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1026
1027         * rowpainter.C (paintSelection): coord fix
1028
1029 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1030
1031         * Spacing.C: compile fix
1032
1033 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1034
1035         * cursor.C (dispatch): restore current_ before returning
1036
1037 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1038
1039         * text2.C (cursorUp, cursorDown): fix coords
1040         (moveUp): fix crash
1041
1042 2004-02-12  André Pönitz  <poenitz@gmx.net>
1043
1044         * lyxtext.h:
1045         * text.C:
1046         * text2.C:
1047         * text3.C: add LCursor & parameter to most cursor movement functions
1048           remove usage of LyXText::cursorRow() and cursorPar()
1049
1050         * cursor.[Ch]: add textRow() needed members
1051
1052         * BufferView.C:
1053         * BufferView_pimpl.C:
1054         * paragraph.[Ch]:
1055         * BufferView.C:
1056         * BufferView_pimpl.C: adjust
1057
1058 2004-02-11  André Pönitz  <poenitz@gmx.net>
1059
1060         * lyxfunc.C:
1061         * BufferView.[Ch]:
1062         * BufferView_pimpl.C: shift undo/redo handling
1063
1064         * cursor.[Ch]: fix mathed crash
1065
1066         * lyxfind.C:
1067         * lyxtext.h: move selectionAsText to LCursor
1068
1069         * output_latex.C:
1070         * paragraph.C:
1071         * text.C:
1072         * text2.C:
1073         * text3.C: adjust
1074
1075         * rowpainter.C: fix excessive drawing
1076
1077 2004-02-06  André Pönitz  <poenitz@gmx.net>
1078
1079         * BufferView.[Ch]:
1080         * BufferView_pimpl.[Ch]:
1081         * text3.C: move some text specific LFUN handling
1082
1083 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1084
1085         * text3.C (checkInsetHit): adjust coords
1086         * text2.C (getColumnNearX): adjust coords
1087         (edit): adjust coords
1088         * text.C (getRowNearY): add two asserts
1089
1090 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1091
1092         * converter.C:
1093         * format.C: add using std::distance to compile on gcc 2.95/stlport
1094
1095 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1096
1097         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1098
1099 2004-02-04  André Pönitz  <poenitz@gmx.net>
1100
1101         * BufferView.[Ch] (insertInset):
1102         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1103
1104         * text2.C:
1105         * text3.C: adjust
1106
1107 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1108
1109         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1110         on the default clause of the switch
1111         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1112         wasn't catched by LCursor::dispatch
1113
1114 2004-02-03  André Pönitz  <poenitz@gmx.net>
1115
1116         * BufferView.C:
1117         * cursor.[Ch]: some additional asserts
1118
1119         * undo.[Ch]: remove LyXText dependency in interface
1120
1121         * lyxfunc.C: adjust
1122
1123         * lyxtext.h (firstPar, lastPar): remove dead functions
1124
1125         * text.C:
1126         * text2.C:
1127         * text3.C:
1128         * paragraph.[Ch]: adjust
1129
1130 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1131
1132         * lyxfind.C (find): fix argument order in call to ::find
1133
1134 2004-02-02  André Pönitz  <poenitz@gmx.net>
1135
1136         * cursor.[Ch]: remove direct access to anchor
1137
1138         * text.C: remove findText() hack
1139
1140 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1141
1142         * iterators.[Ch] (lockPath): remove in favour of...
1143         * BufferView.[Ch] (setCursor): this addition
1144         * BufferView.C (putSelectionAt): adjust
1145         * undo.C (performUndoOrRedo): adjust
1146         * lyxfunc.C (dispatch): adjust
1147
1148 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1149
1150         * iterators.C (lockPath): add a missing slice
1151         * undo.C (performUndoOrRedo): remove redundant positioning code
1152
1153 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1154
1155         * vc-backend.C (scanMaster): ";" -> ';'
1156
1157 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1158
1159         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1160         std::binary_function
1161
1162         * lyxtextclass.C (compare_name): rename to...
1163         (LayoutNamesEqual): ...this
1164
1165         * lyxlex_pimpl.C (compare_tags): inherit from
1166         std::binary_function, put back into anon namespace
1167
1168         * lyxfind.C (MatchString): inherig from std::binary_function
1169         (findChange): use empty() istead of !size()
1170
1171         * format.C (FormatNamesEqual): new functor
1172         (getFormat): use it
1173         (getNumber): use it
1174         (add): use it
1175         (erase): use it
1176         (setViewer): use it
1177
1178         * converter.C (compare_Converter): rename to...
1179         (ConverterEqual): ...this, and fixup a bit.
1180         (getConverter): use it, and make function const
1181         (getNumber): use it, and make function const
1182         (add): use it
1183         (erase): use it:
1184
1185         * bufferlist.C: add using boost::bind
1186
1187         * MenuBackend.C (MenuNamesEqual): new functor
1188         (hasMenu): use it, and make function const
1189         (hasSubmenu): use nested bind to get rid of compare_memfun.
1190
1191 2004-01-30  André Pönitz  <poenitz@gmx.net>
1192
1193         * BufferView_pimpl.C:
1194         * cursor.C:
1195         * cursor.h:
1196         * cursor_slice.[Ch]:
1197         * lyxfunc.C:
1198         * lyxtext.h:
1199         * paragraph_funcs.C:
1200         * paragraph_funcs.h:
1201         * rowpainter.C:
1202         * text.C:
1203         * text2.C:
1204         * text3.C: move some of the edit(x,y) handling to the insets
1205         some coordinate changes.
1206
1207 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1208
1209         * text.C: add using statements for std::advance and std::distance
1210
1211         * paragraph.C: add using statement for std::distance
1212
1213         * lyxfind.C: add using statement for std::advance
1214
1215         * cursor.C (region): remove std:: from swap
1216         (openable): use nucleus in stead of operator->
1217
1218         * BufferView.C: add using statements for std::distance and std::swap
1219
1220 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1221
1222         * iterators.C: Remove the pimple, move the needed structures to
1223         the header file. Create accessor for the positions stack.
1224         (asPosIterator): remove function
1225
1226         * PosIterator.C (PosIterator): move constructors to top of file
1227         (PosIterator): reimplement the constructor taking a ParIterator in
1228         terms of setFrom.
1229         (setFrom): new function
1230         (operator!=): inline it
1231
1232 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1233
1234         * lyxfind.C (replaceAll): use std::advance
1235
1236         * iterators.h: inherit from std::iterator.
1237
1238         * PosIterator.C (advance, distance): remove
1239         * PosIterator.h: interit from std::iterator.
1240
1241 2004-01-26  André Pönitz  <poenitz@gmx.net>
1242
1243         * BufferView.[Ch]:
1244         * BufferView_pimpl.[Ch]:
1245         * InsetList.[Ch]:
1246         * PosIterator.[Ch]:
1247         * buffer.h:
1248         * bufferview_funcs.C:
1249         * cursor.[Ch]:
1250         * cursor_slice.h:
1251         * factory.[Ch]:
1252         * iterators.[Ch]:
1253         * lyxfind.C:
1254         * lyxfunc.C:
1255         * lyxtext.h:
1256         * output_docbook.C:
1257         * output_latex.C:
1258         * output_linuxdoc.C:
1259         * output_plaintext.C:
1260         * paragraph.[Ch]:
1261         * paragraph_funcs.[Ch]:
1262         * paragraph_pimpl.[Ch]:
1263         * rowpainter.C:
1264         * tabular.C:
1265         * tabular.h:
1266         * text.C:
1267         * text2.C:
1268         * text3.C: more IU:  dumps most of the rest of the mathcursor
1269     implementation into cursor.[Ch]; "globalize" a bit of it.
1270
1271 2004-01-25  Angus Leeming  <leeming@lyx.org>
1272
1273         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1274
1275 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1276
1277         * LaTeXFeatures.h: add nice_ and nice() const
1278         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1279
1280 2004-01-20  André Pönitz  <poenitz@gmx.net>
1281
1282         * BufferView.[Ch]:
1283         * BufferView_pimpl.C:
1284         * PosIterator.C:
1285         * bufferview_funcs.C:
1286         * cursor.[Ch]:
1287         * cursor_slice.[Ch]:
1288         * factory.C:
1289         * iterators.C:
1290         * lyx_cb.C:
1291         * lyxfind.C:
1292         * lyxfunc.C:
1293         * lyxtext.h:
1294         * rowpainter.C:
1295         * text.C:
1296         * text2.C:
1297         * text3.C:
1298         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1299           LCursor and mathcursor parts to LCursor and InsetBase.
1300
1301 2004-01-15  André Pönitz  <poenitz@gmx.net>
1302
1303         * cursor_slice.[Ch]: add a few covienience functions
1304
1305         * funcrequest.[Ch]: remove BufferView * member
1306
1307         * BufferView_pimpl.C:
1308         * cursor.C:
1309         * factory.[Ch]:
1310         * lyxfind.[Ch]:
1311         * lyxfunc.C:
1312         * lyxtext.h:
1313         * text3.C:
1314         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1315
1316 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1317
1318         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1319         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1320
1321 2004-01-13  André Pönitz  <poenitz@gmx.net>
1322
1323         * textcursor.[Ch]:
1324         * lyxtext.h: hide cursor and selection anchor behind accessor function
1325
1326         * BufferView.C:
1327         * BufferView_pimpl.[Ch]:
1328         * PosIterator.C:
1329         * bufferview_funcs.C:
1330         * cursor.h:
1331         * lyxfind.C:
1332         * lyxfunc.C:
1333         * text.C:
1334         * text2.C:
1335         * text3.C:
1336         * undo.C: adjust
1337
1338         * cursor.h:
1339         * cursor_slice.[Ch]: some integer type changes for inset unification
1340
1341         * lyxcursor.[hC]: remove, it's CursorSlice now.
1342
1343         * Makefile.am:
1344         * BufferView_pimpl.[Ch]:
1345         * bufferview_funcs.C:
1346         * cursor_slice.C:
1347         * lyxtext.h:
1348         * text.C:
1349         * text2.C:
1350         * text3.C:
1351         * textcursor.[Ch]: adjust
1352
1353 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1354
1355         * text2.C (undoSpan): add and use
1356         * text.C (breakParagraph): use undoSpan (fix bug 578)
1357         * lyxtext.h: adjust
1358
1359 2004-01-08  Angus Leeming  <leeming@lyx.org>
1360
1361         * BufferView_pimpl.C (MenuInsertLyXFile):
1362         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1363         * lyxfunc.C (menuNew, open, doImport):
1364         FileFilterList change to the FileDialog open and save functions.
1365
1366 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1367
1368         * ShareContainer.h: make isEqual and isUnique adaptable
1369
1370         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1371
1372 2004-01-07  Angus Leeming  <leeming@lyx.org>
1373
1374         * LyXAction.C:
1375         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1376
1377         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1378
1379         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1380         functions replacing find, replace and replaceAll.
1381
1382         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1383         LFUN_WORDFIND(FORWARD|BACKWARD).
1384
1385 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1386
1387         * text.C (breakParagraph): remove an outdated #warning
1388
1389 2004-01-07  André Pönitz  <poenitz@gmx.net>
1390
1391         * lyxfind.C: somewhat clearer logic
1392
1393         * text.C: prevent crash in cursorX on unitialized row cache
1394
1395 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1396
1397         * lyxcursor.[Ch] (operator>): add
1398         * textcursor.C (selStart, selEnd): use std::min and std::max
1399
1400 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1401
1402         * Chktex.C: include boost/format.hpp
1403
1404 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1405
1406         * InsetList.C: replace functor MathcIt with adaptable functor
1407         InsetTablePosLess
1408         (insetIterator): modify accordingly
1409
1410         * BranchList.h: move the BranchNamesEqual functor here from...
1411         * BranchList.C: ... to here
1412
1413         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1414         SameName and match.
1415         (add): replace a finding loop with std::find_if.
1416
1417 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1418
1419         * output_docbook.C: moving LatexParam functionality into
1420         .layout files
1421
1422 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1423
1424         * buffer.C: increment format to 229.
1425
1426 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1427
1428         * LaTeXFeatures.C:
1429         * lyx_sty.[Ch]: remove minipageindent_def
1430
1431         * LyXAction.C:
1432         * factory.C:
1433         * lfuns.h:
1434         * lyxfunc.C:
1435         * text3.C: remove LFUN_INSET_MINIPAGE
1436
1437 2003-12-28  Angus Leeming  <leeming@lyx.org>
1438
1439         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1440
1441 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1442
1443         * text2.C (setParagraph): fix off-by-one crash
1444
1445 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1446
1447         * output_docbook.C: header stuff for AGU
1448
1449 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1450
1451         * text2.C (redoCursor): remove
1452         * text.C:
1453         * text3.C:
1454         * BufferView_pimpl.C: remove calls to redoCursor and
1455         setCursor(cursor.par(), cursor.pos()) all around
1456
1457 2003-12-15  Angus Leeming  <leeming@lyx.org>
1458
1459         * buffer.C: up the format to 228.
1460
1461 2003-12-15  André Pönitz  <poenitz@gmx.net>
1462
1463         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1464         slices
1465
1466         * Makefile.am:
1467
1468         * BufferView_pimpl.C:
1469         * cursor.[Ch]:
1470         * lyxcursor.[Ch]:
1471         * rowpainter.[Ch]:
1472         * lyxtext.h:
1473         * text.C:
1474         * text2.C:
1475         * text3.C: adjust
1476
1477 2003-12-15  Angus Leeming  <leeming@lyx.org>
1478
1479         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1480         than getFromGUIName to manipulate the color.
1481
1482 2003-12-14  Angus Leeming  <leeming@lyx.org>
1483
1484         * BranchList.[Ch]: minimize the API.
1485         (Branch::getBranch, getColor): now return a 'const &'.
1486         (Branch::setSelected) now returns a bool set to true if the
1487         selection status changes.
1488         (BranchList::clear, size, getColor, setColor, setSelected,
1489         allBranches, allSelected, separator): removed.
1490         (BranchList::find): new functions, returning the Branch with
1491         the given name.
1492         (BranchList::add, remove): return a bool indicating that
1493         the operation was successful.
1494
1495         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1496         new InsetBranch::isBranchSlected member function.
1497
1498         * LColor.[Ch]: mimimize the API.
1499         (fill): renamed as addColor and made private.
1500         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1501         versions of these functions taking a string arg have been removed.
1502
1503         * bufferparams.C (readToken):
1504         * lyxfunc.C (dispatch):
1505         * lyxrc.C (read): changes due to the altered BranchList and
1506         LColor APIs.
1507
1508         * factory.C (createInset, readInset): changes due to altered
1509         InsetBranch c-tor.
1510
1511 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1512
1513         * factory.C:
1514         * lyxfunc.C: remove insetminipage. "minipage-insert"
1515         now produces a frameless minipage box inset.
1516
1517 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1518
1519         * textcursor.[Ch] (selStart,selEnd): add new methods
1520         remove selection::start, end, use LyXCursor::operator<
1521         * lyxcursor.[Ch] (operator<): add
1522         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1523         * BufferView.[Ch] (unsetXSel): add
1524         * text2.C (clearSelection): use unsetXSel,adjust
1525         * text.C: adjust
1526         * text3.C: adjust
1527         * rowpainter.C: adjust
1528         * bufferview_funcs.C (put_selection_at): adjust
1529
1530 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1531
1532         * BufferView_pimpl.C: small coord. correction
1533
1534 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1535
1536         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1537         dragging over the splash screen.
1538
1539 2003-12-11  Angus Leeming  <leeming@lyx.org>
1540
1541         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1542         as it is now handled in LyXText::dispatch.
1543
1544         * text3.C (doInsertInset): remove a level of nesting.
1545
1546 2003-12-11  Angus Leeming  <leeming@lyx.org>
1547
1548         * factory.C (createInset): changes due to the changed interface to
1549         InsetCommandMailer::string2params.
1550
1551 2003-12-10  Angus Leeming  <leeming@lyx.org>
1552
1553         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1554         'dialog-show-new-inset <inset name>'
1555
1556 2003-12-10  Angus Leeming  <leeming@lyx.org>
1557
1558         * buffer.C: up the format to 227.
1559
1560         * factory.C: the box inset is now identified simply by 'Box'.
1561
1562 2003-12-10  Angus Leeming  <leeming@lyx.org>
1563
1564         * buffer.C: up the format to 226.
1565
1566         * factory.C: the note inset is now identified simply by 'Note'.
1567
1568 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1569
1570         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1571         when a pit is enough. Standarize a couple of loops.
1572
1573 2003-12-05  Angus Leeming  <leeming@lyx.org>
1574
1575         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1576         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1577         data to the re-worked "log" dialog.
1578
1579 2003-12-03  André Pönitz  <poenitz@gmx.net>
1580
1581         * PosIterator.C:
1582         * iterators.C:
1583         * lyxtext.h:
1584         * output_latex.C:
1585         * paragraph_funcs.C:
1586         * text.C:
1587         * text2.C: use Inset::getText instead of Inset::getParagraph
1588
1589 2003-12-03  André Pönitz  <poenitz@gmx.net>
1590
1591         * buffer.[Ch]:
1592         * lyxtext.h:
1593         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1594         InsetText::read() as LyXText::read()
1595
1596 2003-12-02  Angus Leeming  <leeming@lyx.org>
1597
1598         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1599         type. Add a comment in the implementation that the function uses
1600         the stream's bad() function rather than fail() as the std::streams
1601         would do.
1602
1603 2003-12-02  André Pönitz  <poenitz@gmx.net>
1604
1605         * lyxlex.[Ch]: make interface more similar to std::stream
1606
1607         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1608
1609 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1610
1611         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1612
1613 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1614
1615         * vspace.[Ch]: remove VSpace::NONE
1616
1617 2003-12-01  André Pönitz  <poenitz@gmx.net>
1618
1619         * buffer.[Ch]:
1620         * lyxtext.h: move ParagraphList member to LyXText
1621         rename LyXText::ownerParagraphs to LyXText::paragraph
1622
1623         * CutAndPaste.C:
1624         * bufferview_funcs.C:
1625         * iterators.[Ch]:
1626         * lyx_cb.C:
1627         * paragraph.C:
1628         * rowpainter.C:
1629         * tabular.C:
1630         * text.C:
1631         * text2.C:
1632         * text3.C: adjust
1633
1634         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1635
1636         * undo.C: fix cursor positioning
1637
1638 2003-12-01  John Levon  <levon@movementarian.org>
1639
1640         * BufferView_pimpl.C: fix a crash on exit with
1641         a buffer open
1642
1643 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1644
1645         * BranchList.C: fix setSelected() method.
1646
1647 2003-11-28  André Pönitz  <poenitz@gmx.net>
1648
1649         * ParagraphParameters.[Ch]:
1650         * ParameterStruct.h: remove space above/below from Paragraph to
1651          InsetVSpace
1652
1653         * BufferView_pimpl.C:
1654         * factory.C:
1655         * lyxfunc.C:
1656         * lyxtext.h:
1657         * output_latex.C:
1658         * paragraph.C:
1659         * paragraph_funcs.C:
1660         * rowpainter.[Ch]:
1661         * text.C:
1662         * text2.C:
1663         * text3.C: adjust
1664
1665 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1666
1667         * factory.C: Syntax change for CharStyles
1668
1669 2003-11-28  André Pönitz  <poenitz@gmx.net>
1670
1671         * BufferView.[Ch]:
1672         * BufferView.[Ch]:
1673         * buffer.[Ch]:
1674         * buffer.[Ch]: move LyXText member
1675
1676 2003-11-28  André Pönitz  <poenitz@gmx.net>
1677
1678         * BufferView.[Ch]: make LyXText * text a private member
1679
1680         * BufferView_pimpl.C:
1681         * cursor.C:
1682         * iterators.C:
1683         * lyx_cb.C:
1684         * lyxfind.C:
1685         * lyxtext.h:
1686         * rowpainter.[Ch]:
1687         * text.C:
1688         * text2.C:
1689         * undo.C: adjust
1690
1691         * output_plaintext.C: cleanup
1692
1693 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1694
1695         * buffer.C:
1696         * lyxtextclass.[Ch]: parametrize SGML document header
1697
1698 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1699
1700         * converter.[Ch]:
1701         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1702         getFlavor().
1703
1704 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1705
1706         * text2.C (setFont): rework using PosIterator (no more recursive)
1707         (setCharFont): no more needed
1708         (setLayout): no more selection cursors fiddling (done by redoCursor)
1709         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1710         destroy remaining ones)
1711
1712 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1713
1714         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1715         * lyxtext.h: ditto
1716         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1717         selection cursors
1718         * lyxfunc.C: adjust
1719         * text3.C: adjust + re-allow multi par depth changes
1720         * textcursor.C: simplify a bit
1721
1722 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1723
1724         * src/buffer.C:
1725         * src/lyxlayout.C:
1726         * src/lyxlayout.h:
1727         * src/lyxtext.h:
1728         * src/output_docbook.C:
1729         * src/output_latex.C:
1730         * src/paragraph.C:
1731         * src/paragraph.h:
1732         * src/sgml.C:
1733         * src/sgml.h:
1734         * src/text2.C: Introducing a number of tags parametrizing various
1735         XML formats that we may want to support
1736
1737 2003-11-25  André Pönitz  <poenitz@gmx.net>
1738
1739         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1740
1741         * lyxtext.h (leftMargin/rightMargin): simplify interface
1742
1743         * rowpainter.C:
1744         * text.C:
1745         * text2.C:
1746         * text3.C: adjust
1747
1748 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1749
1750         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1751         master file to any child files. Fixes bug 546.
1752
1753 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1754
1755         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1756
1757 2003-11-24  André Pönitz  <poenitz@gmx.net>
1758
1759         * rowpainter.C: simplification
1760
1761         * text2.C (updateCounters): remove call to redoParagraph on
1762         changed labels as this is far too expensive.
1763
1764 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1765
1766         * converter.C (convert): fix a crash: this function gets
1767         called with buffer == 0 from importer code.
1768
1769 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1770
1771         * text3.C (cursorPrevious): make sure that we do not compare
1772         iterators form different containers.
1773         (cursorNext): ditto
1774
1775         * rowpainter.C (paintSelection): make sure that we do not compare
1776         iterators from different containers.
1777
1778         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1779         iterators from different ParagraphList containers.
1780         [NEXT] ditto
1781
1782         * text2.C (LyXText): change order of initialization slightly
1783         (operator=): new function. copy all variables except cache_par_
1784         (moveUp): make sure that we do not compare iterators from
1785         different ParagraphList constainers.
1786         (moveDown): ditto
1787
1788         * text.C (firstPar): new function
1789         (lastPar): new function
1790         (endPar): new function
1791
1792         * lyxtext.h: move things around and group public functions, public
1793         variables, private functions, private variables
1794
1795 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1796
1797         * factory.C: change call to InsetERT constructor to avoid
1798         additional invocation of method status
1799         * text2.C (toggleInset): remove redundant update() call
1800         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1801         instead of a Bufferview pointer
1802
1803 2003-11-21  André Pönitz  <poenitz@gmx.net>
1804
1805         * rowpainter.C: simplification
1806
1807 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1808
1809         * text3.C (dispatch): make possible to extend a word/row selection
1810         with the mouse
1811
1812 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1813
1814         * lyxtext.h: x0_,y0_ -> xo_,yo_
1815         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1816         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1817         * rowpainter.C (paintRows): paint full paragraphs
1818
1819 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1820
1821         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1822         screen coordinates)
1823
1824 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1825
1826         * lyxtext.h: add x0_, y0_
1827         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1828         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1829
1830 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1831
1832         * text2.C (setCursorIntern): move the x_target update here *
1833         * text3.C: change some bv() to true/false in calls to
1834         cursorUp/Down/Right/Left
1835         * cursor.C: use helper function.
1836
1837 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1838
1839         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1840         * paragraph_funcs.[Ch]: correct comment
1841         * rowpainter.C: do not paint selections away from bv->cursor()
1842         Fix a long standing selection painting bug.
1843         * text3.C: generalize mouse-selection code to LyXTexts other that
1844         top one
1845         * textcursor.C: do not use y coords if we can use par offsets
1846
1847 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1848
1849         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1850         cursor position after e.g. inset insert)
1851
1852 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1853
1854         * lyxfind.C (replace): adjust to locking removal + some
1855         code simplification
1856
1857 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1858
1859         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1860         of the path
1861
1862 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1863
1864         * lyxlayout.[Ch]:
1865         * output_docbook.C: XML sanitation: new layout
1866         parameters InnerTag and CommandDepth
1867
1868 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1869
1870         * BufferView_pimpl.C:
1871         * factory.C:
1872         * text3.C: Fix the insertion and modification of button-style
1873         insets
1874
1875 2003-11-13  André Pönitz  <poenitz@gmx.net>
1876
1877         * InsetList.[Ch]: remove deleteLyXText
1878
1879         * paragraph.[Ch]: cache beginOfBody position
1880
1881         * Bidi.C:
1882         * text.C:
1883         * text2.C:
1884         * text3.C: remove superfluous update() calls
1885
1886         * vspace.C: cleanup
1887
1888 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1889
1890         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1891         * BufferView.C (fitLockedInsetCursor): remove
1892         * cursor.[Ch] (getDim): add
1893         * text.C (getRowNearY): add faster version
1894         * text3.C: remove some update calls
1895
1896 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1897
1898         * LaTeXFeatures.C:
1899         * LyXAction.C:
1900         * MenuBackend.C:
1901         * MenuBackend.h:
1902         * dispatchresult.h:
1903         * factory.C:
1904         * lfuns.h:
1905         * lyxfunc.C:
1906         * lyxtextclass.C:
1907         * lyxtextclass.h:
1908         * text3.C: The Character Style /XML short element patch.
1909
1910 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1911
1912         * text3.C:
1913         * factory.C: Small step to solving 'unable to insert some insets'
1914         problem
1915
1916 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1917
1918         * cursor.[Ch] (updatePos): new function for updating the y
1919         position of the tip inset
1920         * bufferview_funcs.C (put_selection_at):
1921         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1922
1923 2003-11-11  André Pönitz  <poenitz@gmx.net>
1924
1925         * text.C: remove big comment on invalid Paragraph pointers as it is
1926         not valid anymore
1927
1928 2003-11-11  André Pönitz  <poenitz@gmx.net>
1929
1930         * text_funcs.[Ch]: merge with ...
1931
1932         * text.C: ... this
1933
1934         * lyxtext.h:
1935         * text2.C:
1936         * text3.C: adjust
1937
1938         * Makefile.am: remove text_funcs.[Ch]
1939
1940 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1941
1942         * cursor.C (getPos): return absolute cached y coord
1943
1944         * BufferView_pimpl.C (fitCursor): new simplistic code
1945         (workAreaDispatch): add a fitCursor call
1946
1947 2003-11-10  André Pönitz  <poenitz@gmx.net>
1948
1949         * BufferView.[Ch]:
1950         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1951
1952 2003-11-10  André Pönitz  <poenitz@gmx.net>
1953
1954         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1955         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1956         indicate that the cursor needs to leave an inset
1957
1958         * lyxtext.h: remove inset locking
1959
1960         * cursor.[Ch]: re-implement functionality provided by inset locking
1961
1962         * BufferView.[Ch]:
1963         * BufferView_pimpl.[Ch]:
1964         * LyXAction.C:
1965         * bufferview_funcs.[Ch]:
1966         * factory.C:
1967         * funcrequest.[Ch]:
1968         * iterators.C:
1969         * lyx_cb.C:
1970         * lyxfind.C:
1971         * lyxfunc.C:
1972         * text.C:
1973         * text2.C:
1974         * text3.C:
1975         * undo.C: adjust
1976
1977 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1978
1979         * PosIterator.[Ch]: replace the stack with a vector, add inset
1980         accesor
1981         * iterators.[C]: adjust
1982
1983 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1984
1985         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1986         replaced
1987         * paragraph_funcs.C (readParToken): put the correct id in the
1988         error item, not the id of the top paragraph
1989
1990 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1991
1992         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1993         * bufferview_funcs.C (put_selection_at): use the above
1994
1995 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1996
1997         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1998
1999 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2000
2001         * output_linuxdoc.h:
2002         * output_plaintext.h:
2003         * output.h:
2004         * output_docbook.h: add #include statements
2005
2006 2003-11-05  José Matos  <jamatos@lyx.org>
2007
2008         * output_docbook.[Ch]:
2009         * output_latex.[Ch]:
2010         * output_linuxdoc.[Ch]:
2011         * output_plaintext.[Ch]: New files for output formats.
2012         * output.[Ch]: New file for helper functions.
2013
2014         * buffer.[Ch]:
2015         * paragraph_funcs.[Ch]: output functions moved to new files.
2016
2017         * outputparams.h: rename of latexrunparams.h
2018
2019         * LaTeX.[Ch]:
2020         * buffer.[Ch]:
2021         * bufferlist.[Ch]:
2022         * converter.[Ch]:
2023         * exporter.C:
2024         * paragraph.[Ch]:
2025         * paragraph_funcs.[Ch]:
2026         * paragraph_pimpl.[Ch]:
2027         * tabular.[Ch]: rename ascii to plaintext
2028         and LatexRunParams to OutputParams.
2029
2030 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2031
2032         * iterators.[Ch] (text): require bv argument
2033         * undo.C (recordUndo):
2034         * lyxfunc.C (dispatch):
2035         * bufferview_funcs.C (put_selection_at): adjust
2036
2037 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2038
2039         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2040
2041 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2042
2043         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2044         nestings
2045
2046 2003-11-04  André Pönitz  <poenitz@gmx.net>
2047
2048         * cursor.[Ch]: restructure
2049
2050         * BufferView.[Ch]:
2051         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2052
2053         * iterators.[Ch] (asCursor): remove
2054
2055         * lfuns.h: remove LFUN_INSET_EDIT
2056
2057         * lyxfunc.C:
2058         * tabular.C:
2059         * text.C:
2060         * text2.C:
2061         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2062
2063 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2064
2065         * lyxfind.[Ch]: complete overhaul
2066         * BufferView_pimpl.C:
2067         * lyxfunc.C: adjust
2068         * paragraph.[Ch] (insert): add
2069
2070 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2071
2072         * BufferView.[Ch]:
2073         * lyxtext.h:
2074         * text.C: remove dead spellcheck code
2075
2076 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2077
2078         * dispatchresult.h: add a val setter
2079
2080         * cursor.C (dispatch): use a tempvar for data_[i]
2081
2082 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2083
2084         * PosIterator.[Ch]: compile fix
2085
2086 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2087
2088         * text.C (cursorPar): deactivate the cursor cache
2089
2090 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2091
2092         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2093
2094 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2095
2096         * text3.C (dispatch): adjust for new DisptchResult semantics.
2097
2098         * lyxfunc.C (dispatch): handle update when return from
2099         Cursor::dispatch, adjust for new DispatchResult semantics.
2100
2101         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2102         DispatchResult(true) mean to not update. Add class functions for
2103         setting dispatched and update, as well as reading.
2104
2105         * cursor.C (dispatch): don't handle update here
2106
2107 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2108
2109         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2110         * trans_mgr.C: adjust
2111
2112         * paragraph_funcs.C (readParToken): exception safety
2113
2114         * lyxvc.h: store the vcs pointer in a scoped_ptr
2115         * lyxvc.C: adjust
2116
2117         * lyxsocket.C (serverCallback): exception safety
2118
2119         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2120
2121         * ispell.C (clone): make it return a auto_ptr
2122
2123         * factory.C (createInset): exception safety
2124         (readInset): exception safety
2125
2126         * bufferlist.C (newBuffer): exception safety
2127
2128         * Thesaurus.C (Thesaurus): use initialization for aik_
2129
2130         * MenuBackend.C (expandToc): exception safety.
2131
2132 2003-11-03  André Pönitz  <poenitz@gmx.net>
2133
2134         * buffer.C:
2135         * buffer.h:
2136         * bufferview_funcs.C: remove getInsetFromId()
2137
2138         * lyxcursor.[Ch]:
2139         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2140
2141         * lyxfunc.C:
2142         * text2.C:
2143         * text3.C: adjust
2144
2145 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2146
2147         * PosIterator.C (distance, advance): new
2148         * bufferview_funcs.[Ch] (put_selection_at): new
2149         * iterators.[Ch] (lockPath): new
2150
2151 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2152
2153         * iterators.[Ch] (asPosIterator): added
2154         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2155         * PosIterator.[Ch]: added
2156
2157 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2158
2159         * text3.C:
2160         * lyxfunc.C:
2161         * cursor.C (dispatch):
2162         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2163
2164         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2165         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2166         contructor, add a class function dispatched. Remove operator>=
2167
2168 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2169
2170         * debug.C: only use the default constructor for debugstream
2171         (lyxerr) here.
2172
2173         * main.C (main): include debug.h and setup the lyxerr streambuf
2174         here.
2175
2176 2003-10-31  José Matos  <jamatos@lyx.org>
2177
2178         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2179
2180         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2181         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2182         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2183         * paragraph_pimpl.C (simpleTeXSpecialC):
2184         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2185         add LatexRunParams argument.
2186
2187         * exporter.C (Export): change call accordingly.
2188
2189         * latexrunparams.h: add new member to take care of the other backends.
2190 2003-10-30  José Matos  <jamatos@lyx.org>
2191
2192         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2193         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2194         factorise code for paragraph output.
2195         * buffer.[Ch]:
2196         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2197         move functions.
2198
2199 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2200
2201         * text3.C (dispatch):
2202         * lyxfunc.C (dispatch):
2203         * cursor.C (dispatch):
2204         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2205
2206         * dispatchresult.h: make the dispatch_result_t ctor explicit
2207
2208 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2209
2210         * sgml.[Ch]:
2211         * buffer.C: small refactoring of docbook stuff
2212
2213 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2214
2215         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2216         meaning.
2217
2218 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2219
2220         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2221         operator dispatch_result_t, and operators for == != and >=
2222
2223         * cursor.C (dispatch): adjust for operator dispatch_result_t
2224         removal. comment out call to update
2225
2226         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2227
2228 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2229
2230         * text3.C:
2231         * text2.C:
2232         * text.C:
2233         * lyxtext.h:
2234         * lyxfunc.C:
2235         * cursor.C:
2236         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2237         (dispatch):
2238
2239         * dispatchresult.h: new file, DispatchResult broken out of
2240         insets/insetbase.h
2241
2242         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2243
2244 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2245
2246         * text.C (rowBreakPoint): put a hack inside #if 0
2247
2248 2003-10-28  André Pönitz  <poenitz@gmx.net>
2249
2250         * lyxtext.h:
2251         * metricsinfo.C:
2252         * paragraph_funcs.C:
2253         * rowpainter.C:
2254         * text.C:
2255         * text2.C: general cleanup (lots of small stuff)
2256
2257 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2258
2259         * text2.C (cursorEnd): simple fix to the "end key goes to one
2260         before the end on last row" bug
2261
2262 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2263
2264         * text.C (backspace): fix the "zombie characters"
2265
2266 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2267
2268         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2269
2270 2003-10-27  André Pönitz  <poenitz@gmx.net>
2271
2272         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2273
2274         * factory.C: handle new InsetPagebreak, InsetLine
2275
2276         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2277         and move handling into new InsetPagebreak, InsetLine
2278
2279         * BufferView_pimpl.C:
2280         * LyXAction.C:
2281         * ParagraphParameters.C:
2282         * ParameterStruct.h:
2283         * lyxfunc.C:
2284         * lyxtext.h:
2285         * paragraph.C:
2286         * paragraph.h:
2287         * paragraph_funcs.C:
2288         * paragraph_pimpl.C:
2289         * rowpainter.C:
2290         * text.C:
2291         * text2.C:
2292         * text3.C: adjust
2293
2294 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2295
2296         * text.C:
2297         * lyxrow_funcs.[Ch]:
2298         * Bidi.C:
2299         * paragraph.C:
2300         * lyxtext.h:
2301         * rowpainter.C:
2302         * text2.C:
2303         * text3.C: remove lastPos uses in favour of Row::endpos
2304
2305 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2306
2307         * undo.C (performUndoOrRedo): fix two crashes by setting a
2308         cursor by hand and reordering some calls. Use bv->lockInset instead
2309         of inset->edit because the latter loses cursor information
2310
2311 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2312
2313         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2314         by Martin
2315         (rowBreakPoint): fix width. change point to point + 1.
2316         Add a missing check.
2317
2318 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2319
2320         * MenuBackend.C:
2321         * lyxfunc.C: fix (at least partly) the problems
2322         with the Nav menu and headers inside branch insets
2323         reported by Kayvan
2324
2325 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2326
2327         * paragraph.C (getChar): add strong asserts
2328
2329         * lyxrow_funcs.C (lastPos): remove hideous hack
2330
2331         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2332         (fill): adjust to that (avoid an infinite loop)
2333
2334 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2335
2336         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2337
2338 2003-10-23  André Pönitz  <poenitz@gmx.net>
2339
2340         * RowList_fwd.h: change list<> to vector<> to gain speed
2341         after suggestion from Alfredo
2342
2343 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2344
2345         * lyxtext.h: move the bidi stuff from here...
2346         * text.C: and here
2347         * text2.C: and here
2348         * Bidi.[Ch]: ... to here
2349
2350 2003-10-23  André Pönitz  <poenitz@gmx.net>
2351
2352         * lyxtext.h:
2353         * text.C (isLastRow, isFirstRow): new functions
2354
2355         * paragraph.h: new width cache member
2356
2357         * rowpainter.C: replace RowList::iterator with Row & where possible
2358
2359         * lyxfunc.C: replace several view()->text with a single call
2360
2361         * toc.C: fix 'unused' warning
2362
2363 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2364
2365         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2366         when woring with stream::pos_type
2367         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2368
2369 2003-10-22  André Pönitz  <poenitz@gmx.net>
2370
2371         * lyxtext.h:
2372         * text.C: use Row & instead of RowList::iterator
2373
2374         * lyxrow.h: rename end() to endpos()
2375
2376         * rowpainter.C:
2377         * text.C:
2378         * text2.C: adjust
2379
2380 2003-10-22  Angus Leeming  <leeming@lyx.org>
2381
2382         * buffer.[Ch] (fully_loaded): new member function, returning true
2383         only when the file has been loaded fully.
2384         Used to prevent the premature generation of previews and by the
2385         citation inset to prevent computation of the natbib-style label.
2386
2387         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2388         templates are all set up.
2389
2390         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2391
2392 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2393
2394         * text.C: fixed an "oops" in the "is a bit silly"
2395         bug fix
2396
2397 2003-10-21  André Pönitz  <poenitz@gmx.net>
2398
2399         * FuncStatus.[Ch]: small stuff, whitespace
2400
2401         * lyxfont.[Ch]: operator<<() for debug reasons
2402
2403         * lyxfunc.C:
2404         * lyxrow_funcs.C:
2405         * lyxtext.h: whitespace, spelling
2406
2407         * paragraph.C: naming of variables
2408
2409         * text.C:
2410         * text2.C: small stuff
2411
2412
2413 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2414
2415         * text.C: (1) finish off the inset display() work;
2416         (2) fix the "is a bit silly" bug (accessing char
2417         past end of par).
2418
2419 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2420
2421         * text.C: re-introduce display() for insets, fixing the
2422         various bugs (stretch of line above, math inset
2423         positioning, ...)
2424
2425 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2426
2427         * text.C (rightMargin): remove spurious semicolon
2428
2429         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2430         1415)
2431
2432 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2433
2434         * text3.C: fix one crash due to wrong cursor def
2435
2436 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2437
2438         * vc-backend.C (scanMaster): make the regex static
2439
2440         * LaTeX.C (scanAuxFile): make the regexs static
2441
2442         * text3.C (doInsertInset, dispatch, dispatch):
2443         * text2.C (cursorUp, cursorDown):
2444         * text.C (selectNextWordToSpellcheck):
2445         * BufferView_pimpl.C (dispatch):
2446         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2447
2448 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2449
2450         * lyxsocket.C: include <cerrno>
2451
2452 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2453
2454         * lyxfunc.C (dispatch): remove textcache stuff
2455
2456         * bufferlist.C (release): remove textcache stuff
2457         (closeAll): ditto
2458
2459         * TextCache.C: delete file
2460         * TextCache.h: delete file
2461
2462         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2463
2464         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2465         delete of the bv_->text.
2466         (resizeCurrentBuffer): remove texcache stuff
2467         (workAreaResize): ditto
2468
2469 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2470
2471         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2472         action.
2473
2474 2003-10-16  André Pönitz  <poenitz@gmx.net>
2475
2476         * lyxrow.[Ch]:
2477         * paragraph.h:
2478         * rowpainter.C:
2479         * text.C:
2480         * text2.C:
2481         * text3.C: speed up by storing y positions per paragraph plus per-row
2482         offset instead of having a 'full' y position in the row.
2483
2484 2003-10-15  André Pönitz  <poenitz@gmx.net>
2485
2486         * iterators.[Ch]:
2487         * iterators.[Ch]:
2488         * undo.[Ch]: make undo aware of inner insets
2489
2490 2003-10-14  Angus Leeming  <leeming@lyx.org>
2491
2492         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2493         static member functions LyX::ref() and LyX::cref.
2494         (lastfiles): new accessor functions for the new lastfiles_ member var.
2495         (addLyXView, views_): add a new LyXView to the list of views_.
2496         (updateInset): loop over all LyXViews to call their own updateInset
2497         member function, returning a pointer to the Buffer owning the inset.
2498
2499         * BufferView_pimpl.C (loadLyXFile):
2500         * MenuBackend.C (expandLastfiles):
2501         * bufferlist.C (MenuWrite, QuitLyX):
2502         lastfiles is no longer a global variable.
2503         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2504
2505         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2506         static function. Access through LyX::cref().emergencyCleanup().
2507
2508 2003-10-14  André Pönitz  <poenitz@gmx.net>
2509
2510         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2511
2512         * undo.[Ch]: restoring part of 'undo in insets'
2513
2514         * Makefile.am:
2515         * undo_funcs.[Ch]: merge with undo.[Ch]
2516
2517         * tabular.C: small cleansing stuff
2518
2519 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2520
2521         * paragraph_funcs.C (readParToken): report unknown insets as error
2522         boxes. Use the outer paragraph as location (also for unknown
2523         tokens).
2524
2525         * factory.C (readInset): do not abort on reading an unknown inset.
2526         Eat it and return 0.
2527
2528 2003-10-13  Angus Leeming  <leeming@lyx.org>
2529
2530         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2531
2532         * lyxrc.C: displayTranslator is now a function,
2533         declared in GraphicsTypes.h.
2534
2535 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2536
2537         * format.C: new placeholder $$a to pass the socket address.
2538
2539         * bufferlist.[Ch]: new function getBufferFromTmp.
2540
2541         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2542           files in the temporary dir.
2543
2544 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2545
2546         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2547
2548         * Makefile.am: add lyxsocket.[Ch].
2549
2550         * lyx_main.C (error_handler): handle SIGPIPE.
2551
2552 2003-10-13  André Pönitz  <poenitz@gmx.net>
2553
2554         * BufferView_pimpl.C:
2555         * lyxtext.h:
2556         * text.C:
2557         * text2.C:
2558         * text3.C:
2559         * undo_funcs.[Ch]: use paroffset_type instead of
2560           ParagraphList::iterators to prevent multiple conversion
2561           (and get a more robust interface)
2562
2563 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2564
2565         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2566         * lyxtext.h: ditto
2567         * text3.C (dispatch): ditto
2568
2569 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2570
2571         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2572         move the onlyfile, use onlyfile instead of foundfile in a couple
2573         of places.
2574
2575         * DepTable.C (update): flush the error stream a bit more
2576
2577 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2578
2579         * lyxserver.C (callback): adjust
2580
2581         * lyxfunc.C (getStatus): add a missing brace in commented code
2582         (ensureBufferClean): reindent
2583         (dispatch): delete version taking a string
2584
2585 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2586
2587         * LaTeX.C (deplog): move found file handlig from here...
2588         (handleFoundFile): .. to new function here.
2589         (deplog): make sure to discover several files mentioned on the
2590         same log line.
2591
2592 2003-10-10  André Pönitz  <poenitz@gmx.net>
2593
2594         * lyxfunc.C:
2595         * lyxtext.h:
2596         * tabular.C:
2597         * text.C:
2598         * text2.C:
2599         * text3.C: fix some of the tabular crashes
2600
2601 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2602
2603         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2604
2605         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2606
2607 2003-10-09  André Pönitz  <poenitz@gmx.net>
2608
2609         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2610
2611         * BufferView.C:
2612         * BufferView_pimpl.C:
2613         * bufferview_funcs.C:
2614         * lyx_cb.C:
2615         * lyxcursor.C:
2616         * lyxfind.C:
2617         * lyxfunc.C:
2618         * lyxtext.h:
2619         * text.C:
2620         * text2.C:
2621         * text3.C:
2622         * text_funcs.[Ch]:
2623         * textcursor.[Ch]:
2624         * undo_funcs.C: adjust
2625
2626 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2627
2628         * text2.C (incrementItemDepth): new function, use a backtracking
2629         algorithm to discover the correct item depth.
2630         (resetEnumCounterIfNeeded): new function, use a backtracking
2631         algorithm to discover if counter reset is needed.
2632         (setCounter): use them. Simplify a bit. Add different labels for
2633         different item depths for itemize.
2634
2635         * paragraph.C (Paragraph): remove initialization of enumdepth
2636         (operator=): ditto
2637
2638         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2639         enumerate and itemize. Change the type of itemdepth to signed char.
2640
2641 2003-10-08  André Pönitz  <poenitz@gmx.net>
2642
2643         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2644           thing assignable.
2645         * text.C:
2646         * text2.C: adjust
2647
2648         * tabular.[Ch]: fix crash after 'row-insert'
2649
2650 2003-10-08  Angus Leeming  <leeming@lyx.org>
2651
2652         Fix doxygen warnings.
2653
2654         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2655         Remove CutAndPaste:: prefix from header file declaration.
2656
2657         * LColor.h (fill): remove LColor:: prefix from declaration.
2658
2659         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2660         use lyx::depth_type rather than Paragraph::depth_type so that
2661         header file and .C file match.
2662
2663         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2664
2665         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2666         * aspell.C: \file aspell_local.C -> \file aspell.C
2667         * gettext.C: \file gettext.C -> \file src/gettext.C
2668         * gettext.h: \file gettext.h -> \file src/gettext.h
2669         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2670         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2671         * text.C: \file text.C -> \file src/text.C
2672
2673         * toc.C: move comment so that doxygen is not confused.
2674
2675 2003-10-07  Angus Leeming  <leeming@lyx.org>
2676
2677         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2678
2679 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2680
2681         * aspell.C:
2682         * aspell_local.h: add forgotten std::string's.
2683
2684 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2685
2686         * LaTeXFeatures.C:
2687         * LyXAction.C:
2688         * factory.C:
2689         * lfuns.h:
2690         * lyxfunc.C:
2691         * text3.C: The Box patch. Fancybox support, minipage, parbox
2692
2693 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2694
2695         * CutAndPaste.h:
2696         * DepTable.h:
2697         * FloatList.h:
2698         * LaTeXFeatures.h:
2699         * ParagraphParameters.h:
2700         * TextCache.h:
2701         * Thesaurus.h:
2702         * bufferlist.h:
2703         * exporter.h:
2704         * importer.h:
2705         * lastfiles.h:
2706         * lyxfind.h:
2707         * lyxfont.h:
2708         * lyxlex.h:
2709         * lyxtextclasslist.h:
2710         * messages.h:
2711         * paragraph.h:
2712         * paragraph_pimpl.C:
2713         * textcursor.h: add <string> and other small fixes to make Lars'
2714         std::string patch compile with STLport.
2715
2716 2003-10-06  Angus Leeming  <leeming@lyx.org>
2717
2718         * LColor.h: Add missing #include <string>.
2719
2720 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2721
2722         * All most all file in all subdirs: Make <string> be the prefered
2723         way of getting to std::string, add using declarations.
2724
2725 2003-10-06  André Pönitz  <poenitz@gmx.net>
2726
2727         * metricsinfo.C: initialize LyXFont before changing attribute.
2728         (fixes the 'math in \emph is upright' bug)
2729
2730 2003-10-06  André Pönitz  <poenitz@gmx.net>
2731
2732         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2733
2734 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2735
2736         * graph.C:
2737         * paragraph_pimpl.C: Small fixes to build using STLport
2738
2739 2003-10-02  André Pönitz  <poenitz@gmx.net>
2740
2741         * lyxfunc.C:
2742         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2743
2744 2003-10-01  André Pönitz  <poenitz@gmx.net>
2745
2746         * factory.C: assert early
2747
2748 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2749
2750         * lyx_main.C: remove the global debug object
2751
2752         * debug.h: adjust for new debugstream
2753
2754         * debug.C: adjust for new debugstream and keep the global debug
2755         object here.
2756
2757 2003-09-22  Angus Leeming  <leeming@lyx.org>
2758
2759         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2760         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2761         an incomplete class LyXFont.
2762
2763 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2764
2765         * factory.C: bug fix in branches
2766
2767 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2768
2769         * lyxfunc.C (processKeySym): adjust
2770         (dispatch): adjust
2771         (dispatch): change arg name from ev to func, adjust
2772         (sendDispatchMessage): ditto
2773
2774         * lyx_main.C (defaultKeyBindings): adjust keybindings
2775         (deadKeyBindings): ditto
2776
2777         * kbsequence.C (addkey): return a FuncRequest
2778
2779         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2780
2781         * kbmap.C (bind): take a FuncRequest as arg, adjust
2782         (read): adjust
2783         (lookup): adjust
2784         (defkey): change to take a FuncRequest as arg, adjust
2785         (findbinding): take a FuncRequest as arg, adjust.
2786
2787         * funcrequest.h (operator=): added
2788
2789         * funcrequest.C (FuncRequest): default kb_action changed from
2790         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2791
2792         * buffer.C (dispatch): simplify
2793         (dispatch): adjust to take a FuncRequest as arg, adjust
2794
2795         * boost.C (assertion_failed): change assertion message slightly
2796
2797         * ToolbarBackend.C (read): simplify
2798
2799         * MenuBackend.C (binding): adjust call to findbinding, add a
2800         message if no binding is found.
2801         (read): simplify
2802         (expandToc): correct by adding a empty FuncRequest
2803
2804         * LyXAction.C: include <boost/assert.hpp>
2805         (isPseudoAction): delete function
2806         (LookupFunc): change name to...
2807         (lookupFunc): this. change return type to FuncRequest.
2808         (getActionName): take kb_action as arg, simplify
2809         (funcHasFlag): add an assert, simplify.
2810
2811 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2812
2813         * toc.C (action): return a FuncRequest, simplify
2814
2815         * lyxfunc.C (processKeySym): adjust
2816         (getStatus): delete version that takes an int.
2817         (getStatus): adjust
2818         (dispatch): delete version that takes action as int
2819         (dispatch): adjust
2820         (sendDispatchMessage): simplify and adjust
2821
2822         * funcrequest.C (getArg): take unsigned int as arg
2823
2824         * ToolbarBackend.C (read): adjust
2825         (add): delete version that takes func as a string.
2826         (getIton): take a FuncRequest as arg
2827
2828         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2829         action.
2830
2831         * MenuBackend.C (MenuItem): add a new construct that only takes a
2832         Kind, simplify the constructor use for submenus.
2833         (add): adjust
2834         (expandLastfiles): adjust
2835         (expandDocuments): adjust
2836         (expandFormats): adjust
2837         (expandFloatListInsert): adjust
2838         (expandFloatInsert): adjust
2839         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2840
2841         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2842         Remove class variables lyx_pseudo_map and lyx_arg_map
2843
2844         * LyXAction.C (searchActionArg): delete function
2845         (getPseudoAction): delete function
2846         (retrieveActionArg): delete function
2847         (LookupFunc): make it return kb_action, simplify.
2848         (getActionName): simplify
2849
2850         * factory.C (createInset): fix new bug
2851
2852 2003-09-19  Angus Leeming  <leeming@lyx.org>
2853
2854         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2855         masterFilename_ parameter in the include inset.
2856
2857         * factory.C (createInset): changes due to the changes to InsetInclude.
2858
2859 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2860
2861         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2862
2863 2003-09-18  Angus Leeming  <leeming@lyx.org>
2864
2865         * buffer.C:
2866         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2867         Inset::fillWithBibKeys.
2868         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2869
2870 2003-09-18  Angus Leeming  <leeming@lyx.org>
2871
2872         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2873         variables.
2874         (ctor): pass and store a 'Buffer const &'
2875         (buffer): new member function.
2876
2877         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2878         '*this' to the LaTeXFeatures ctor.
2879
2880 2003-09-18  Angus Leeming  <leeming@lyx.org>
2881
2882         * LColor.h:
2883         * lyxfont.C:
2884         * lyxfont.h:
2885         * lyxtext.h:
2886         * text.C: rename EnumLColor as LColor_color.
2887
2888 2003-09-18  Angus Leeming  <leeming@lyx.org>
2889
2890         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2891         remove #include "insets/insetbase.h" from cursor.h.
2892
2893 2003-09-18  Angus Leeming  <leeming@lyx.org>
2894
2895         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2896         InsetOld_code to remove #include "inset.h".
2897
2898         * iterators.C: add #include "insets/inset.h"
2899
2900 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2901
2902         * BufferView.C: remove more locking stuff that apparently doesn't
2903         do anything sensible.
2904
2905 2003-09-16  André Pönitz  <poenitz@gmx.net>
2906
2907         * paragraph.[Ch]:
2908         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2909           performance boost.
2910
2911 2003-09-16  Angus Leeming  <leeming@lyx.org>
2912
2913         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2914
2915         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2916         arg/return type.
2917
2918         * paragraph.h: remove #include "lyxfont.h". Forward declare
2919         LyXFont_size.
2920
2921 2003-09-16  Angus Leeming  <leeming@lyx.org>
2922
2923         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2924         of support/textutils.h.
2925         (isWord): move the contents of support/textutils.h's IsWordChar here.
2926
2927         * buffer.C:
2928         * lyxfind.C:
2929         * rowpainter.C:
2930         * text.C:
2931         * text2.C: add #include "paragraph.h".
2932
2933         * rowpainter.C:
2934         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2935
2936 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2937
2938         * main.C:
2939         * lyx_main.C:
2940         * lyx_cb.C:
2941         * buffer.C:
2942         * LaTeX.C: use namespace alias for lyx::support::os
2943
2944 2003-09-16  Angus Leeming  <leeming@lyx.org>
2945
2946         * bufferparams.C:
2947         * bufferview_funcs.C:
2948         * factory.C:
2949         * lyxfunc.C:
2950         * paragraph_pimpl.C:
2951         * rowpainter.C:
2952         * text.C: add #include "LColor.h".
2953
2954 2003-09-16  Angus Leeming  <leeming@lyx.org>
2955
2956         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2957         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2958         return LyXFont &.
2959         Store the FontBits::color variable as an int rather than as an
2960         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2961         file.
2962
2963         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2964         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2965         string calls together.
2966
2967         * lyxrc.C: add #include "LColor.h".
2968
2969 2003-09-15  Angus Leeming  <leeming@lyx.org>
2970
2971         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2972         a cow_ptr.
2973
2974 2003-09-15  Angus Leeming  <leeming@lyx.org>
2975
2976         * LColor.h: add an EnumLColor wrapper for LColor::color.
2977
2978         * lyxfont.[Ch] (color, setColor, realColor):
2979         * lyxtext.h, text.C (backgroundColor):
2980         pass EnumLColor args to/from the functions, rather than LColor::color
2981         ones.
2982
2983         * lyxfont.h:
2984         * lyxtext.h: forward declare EnumLColor.
2985
2986         * lyx_main.C: add #include "LColor.h".
2987
2988 2003-09-15  Angus Leeming  <leeming@lyx.org>
2989
2990         * .cvsignore: add lyx-gtk.
2991
2992 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2993
2994         * Chktex.C
2995         * LaTeX.C
2996         * LaTeXFeatures.C
2997         * ParagraphParameters.C
2998         * Spacing.C
2999         * buffer.C
3000         * bufferparams.C
3001         * bufferview_funcs.C
3002         * chset.C
3003         * counters.C
3004         * funcrequest.C
3005         * lyxfont.C
3006         * lyxgluelength.C
3007         * lyxlength.C
3008         * paragraph.C
3009         * paragraph_funcs.C
3010         * text3.C
3011         * vc-backend.C: remove usage of STRCONV
3012
3013 2003-09-15  Angus Leeming  <leeming@lyx.org>
3014
3015         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3016         explicitly define the color passed to the painter.
3017
3018 2003-09-15  Angus Leeming  <leeming@lyx.org>
3019
3020         * bufferparams.C (BufferParams): reorder member initializers to avoid
3021         compiler warning.
3022
3023 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3024
3025         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3026         * text.C (updateRowPositions): remove an unusual nop
3027
3028 2003-09-12  André Pönitz  <poenitz@gmx.net>
3029
3030         * BufferView_pimpl.C:
3031         * Bullet.C:
3032         * layout.h:
3033         * lyxfunc.C:
3034         * lyxlayout.[Ch]:
3035         * lyxtextclass.C:
3036         * rowpainter.C:
3037         * text.C:
3038         * text2.C:
3039         * Counters.[Ch]: finish the 'automatic counters' job
3040
3041 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3042
3043         * aspell.C: include <boost/assert.cpp> (compile fix)
3044
3045 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3046
3047         * boost.C (assertion_failed): use lyx::support::abort instead of
3048         assert.
3049
3050 2003-09-10  Angus Leeming  <leeming@lyx.org>
3051
3052         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3053         with their _fwd progeny.
3054
3055 2003-09-09  Angus Leeming  <leeming@lyx.org>
3056
3057         134 files throughtout the source tree: replace 'using namespace abc;'
3058         directives with the appropriate 'using abc::xyz;' declarations.
3059
3060 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3061
3062         * boost.C (emergencyCleanup): moved here from LAssert.c
3063         (assertion_failed): new function, called by BOOST_ASSERT
3064
3065         * several files: change Assert to BOOST_ASSERT
3066
3067 2003-09-09  Angus Leeming  <leeming@lyx.org>
3068
3069         * buffer.[Ch]: Add an Impl class and move Buffer's member
3070         variables into it. As a result move several header files out of
3071         buffer.h.
3072
3073         Add header files to lots of .C files all over the tree as a result.
3074
3075 2003-09-09  Angus Leeming  <leeming@lyx.org>
3076
3077         * buffer.[Ch]: make Buffer's member variables private. Add
3078         accessor functions.
3079
3080         Lots of changes all over the tree as a result.
3081
3082 2003-09-08  Angus Leeming  <leeming@lyx.org>
3083
3084         * graph.C: #include <config.h>.
3085
3086 2003-09-08  Angus Leeming  <leeming@lyx.org>
3087
3088         * BranchList.C:
3089         * BufferView.C:
3090         * BufferView_pimpl.C:
3091         * CutAndPaste.C:
3092         * DepTable.C:
3093         * LaTeX.C:
3094         * LaTeXFeatures.C:
3095         * LyXAction.C:
3096         * MenuBackend.C:
3097         * TextCache.C:
3098         * aspell.C:
3099         * buffer.C:
3100         * bufferlist.C:
3101         * changes.C:
3102         * chset.C:
3103         * converter.C:
3104         * counters.C:
3105         * debug.C:
3106         * graph.C:
3107         * ispell.C:
3108         * lyx_cb.C:
3109         * lyxfind.C:
3110         * lyxfunc.C:
3111         * lyxlex_pimpl.C:
3112         * lyxrc.C:
3113         * lyxrow.C:
3114         * paragraph.C:
3115         * rowpainter.C:
3116         * texrow.C:
3117         * text.C:
3118         * text2.C:
3119         * toc.C: remove redundant using directives.
3120
3121 2003-09-07  Angus Leeming  <leeming@lyx.org>
3122
3123         * LaTeXFeatures.h: remove #include "support/types.h".
3124         * ToolbarBackend.h: remove #include <algorithm>.
3125         * changes.h: remove #include <ctime>.
3126         * debug.h: remove #include <iosfwd>.
3127         * graph.h: remove #include "support/std_string.h".
3128         * lyx_main.h: remove #include <csignal>.
3129         * lyxlex_pimpl.h: remove #include <fstream>.
3130         * sgml.h: remove #include <algorithm>, <utility>.
3131         * toc.h: remove #include "support/std_ostream.h".
3132         Add #include <iosfwd>.
3133
3134 2003-09-07  Angus Leeming  <leeming@lyx.org>
3135
3136         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3137
3138         * converter.h: forward declare LatexRunParams.
3139         * encoding.h: remove #include "lyxrc.h".
3140         * lyxtext.h: remove #include "LColor.h".
3141         * lyxtextclass.h: remove #include "support/types.h".
3142         * trans.h: remove #include "tex-accent.h".
3143         * trans_mgr.h: remove #include "tex-accent.h".
3144         * insets/inset.h: remove #include "support/types.h", <vector>.
3145         * insets/insetcollapsable.h: remove #include "LColor.h".
3146         * insets/insetinclude.h: remove #include "dimension.h".
3147         * insets/insetlatexaccent.h: remove #include "dimension.h".
3148         * insets/insetoptarg.h:: remove #include "insettext.h".
3149         * insets/insettext.h: remove #include "dimension.h",
3150         <boost/shared_ptr.hpp>
3151
3152         * insets/renderers.h: add #include "dimension.h".
3153         * insets/updatableinset.h: add #include "support/types.h".
3154
3155         * many .C files: Associated changes.
3156
3157 2003-09-06  Angus Leeming  <leeming@lyx.org>
3158
3159         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3160         one, inside testInvariant.
3161
3162         * PrinterParams.C: new file.
3163         * PrinterParams.[Ch]: move the function bodies out of line.
3164
3165 2003-09-06  Angus Leeming  <leeming@lyx.org>
3166
3167         * ParagraphParameters.h: forward declare ParameterStruct rather than
3168         including its header file.
3169         (depth): moved out-of-line.
3170
3171 2003-09-06  Angus Leeming  <leeming@lyx.org>
3172
3173         * BufferView_pimpl.h:
3174         * kbmap.h:
3175         * kbsequence.h:
3176         * lyxfunc.h: forward declare LyXKeySym rather than
3177         #include "frontends/LyXKeySym.h".
3178
3179         * BufferView_pimpl.C:
3180         * kbmap.C:
3181         * kbsequence.C:
3182         * lyxfunc.C: associated changes.
3183
3184 2003-09-06  Angus Leeming  <leeming@lyx.org>
3185
3186         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3187         As a result, can remove the #include "insets/inset.h" from BufferView.h
3188
3189 2003-09-06  Angus Leeming  <leeming@lyx.org>
3190
3191         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3192         As a result, can remove the #include "insets/inset.h" from BufferView.h
3193
3194 2003-09-06  Angus Leeming  <leeming@lyx.org>
3195
3196         * buffer_funcs.C:
3197         * buffer.h:
3198         * bufferlist.C:
3199         * BufferView.C:
3200         * bufferview_funcs.C:
3201         * BufferView_pimpl.C:
3202         * CutAndPaste.C:
3203         * lyx_cb.C:
3204         * lyxfunc.C:
3205         * paragraph.h:
3206         * ParagraphParameters.C:
3207         * tabular.C:
3208         * text3.C:
3209         * toc.C:
3210         * undo_funcs.C:
3211         * frontends/controllers/ControlDocument.C:
3212         * insets/insetcaption.C: rearrange the #includes into some sort of
3213         coherent order.
3214
3215         * buffer.h: remove #includes ErrorList.h, undo.h
3216
3217 2003-09-06  Angus Leeming  <leeming@lyx.org>
3218
3219         * support/types.h: add a 'depth_type' typedef, used to store the
3220         nesting depth of a paragraph.
3221
3222         * paragraph.h:
3223         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3224         defining explicitly.
3225
3226         * buffer.h:
3227         * paragraph_funcs.h:
3228         * ParagraphParameters.h:
3229         * sgml.h: use lyx::depth_type rather than Paragraph or
3230         ParameterStruct's depth_type.
3231
3232         * buffer.h
3233         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3234
3235         * BufferView.C:
3236         * BufferView_pimpl.C:
3237         * CutAndPaste.C:
3238         * ParagraphParameters.C:
3239         * buffer_funcs.C:
3240         * bufferlist.C:
3241         * bufferview_funcs.C:
3242         * lyx_cb.C:
3243         * lyxfunc.C:
3244         * tabular.C:
3245         * text3.C:
3246         * toc.C:
3247         * undo_funcs.C:
3248         * frontends/LyXView.C:
3249         * frontends/controllers/ControlDocument.C:
3250         * frontends/controllers/ControlErrorList.C:
3251         * insets/insetbibitem.C:
3252         * insets/insetbranch.C:
3253         * insets/insetcaption.C:
3254         * insets/insetcollapsable.C:
3255         * insets/insetenv.C:
3256         * insets/insetert.C:
3257         * insets/insetfloat.C:
3258         * insets/insetfoot.C:
3259         * insets/insetfootlike.C:
3260         * insets/insetnewline.C:
3261         * insets/insetquotes.C:
3262         * insets/insettabular.C:
3263         * insets/insettext.C:
3264         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3265
3266         * frontends/controllers/ControlChanges.C: #include "changes.h".
3267
3268 2003-09-06  Angus Leeming  <leeming@lyx.org>
3269
3270         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3271         than #including paragraph.h.
3272
3273         * ParagraphList.h:
3274         * RowList.h: deleted. Superfluous.
3275
3276         * CutAndPaste.h:
3277         * iterators.h:
3278         * lyxcursor.h:
3279         * lyxtext.h:
3280         * text_funcs.h:
3281         * undo.h:
3282         * undo_funcs.h:
3283         * insets/inset.h:
3284         * insets/insettext.h: use ParagraphList_fwd.h rather than
3285         ParagraphList.h.
3286
3287         * paragraph.h: don't forward declare ParagraphList.
3288
3289         * buffer.h:
3290         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3291         rather than ParagraphList.h. paragraph.h is still needed for the
3292         Paragraph::depth_type parameters.
3293
3294         * textcursor.h: enable it to compile stand-alone in light of the
3295         above changes.
3296
3297         * bufferview_funcs.C:
3298         * iterators.C:
3299         * lyxfunc.C:
3300         * lyxrow_funcs.C:
3301         * paragraph.C:
3302         * rowpainter.C:
3303         * text.C:
3304         * text2.C:
3305         * text3.C:
3306         * text_funcs.C:
3307         * textcursor.C:
3308         * undo.C:
3309         * frontends/controllers/ControlParagraph.C:
3310         * frontends/controllers/ControlTabular.C:
3311         * insets/insetmarginal.C:
3312         * insets/insetminipage.C:
3313         * insets/insetnote.C:
3314         * insets/insetoptarg.C: add header files needed to compile again.
3315
3316 2003-09-06  Angus Leeming  <leeming@lyx.org>
3317
3318         * RowList_fwd.h: new file, forward-declaring Row rather than
3319         #including lyxrow.h.
3320
3321         * lyxrow_funcs.h:
3322         * lyxtext.h:
3323         * paragraph.h:
3324         * insets/insettext.h: use it instead of RowList.h
3325
3326         * bufferview_funcs.C:
3327         * lyxfunc.C:
3328         * lyxrow_funcs.C:
3329         * paragraph.C:
3330         * rowpainter.C:
3331         * text.C:
3332         * text2.C:
3333         * text3.C: #include "RowList.h".
3334
3335 2003-09-05  Angus Leeming  <leeming@lyx.org>
3336
3337         * factory.C (createInset):
3338         * vspace.C (c-tor): replace sscanf call with an istringstream.
3339         * ispell.C: re-add missing HP/UX headers.
3340         * lyxserver.C: re-add missing  os2 headers.
3341
3342 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3343
3344         * BranchList.C:
3345         * graph.C:
3346         * ispell.C:
3347         * lastfiles.C:
3348         * lyx_cb.C:
3349         * lyxserver.C:
3350         * texrow.C:
3351         * text3.C: re-add missing system headers, needed for 2.95.2.
3352
3353 2003-09-05  Angus Leeming  <leeming@lyx.org>
3354
3355         Changes most place everywhere due to the removal of using directives
3356         from support/std_sstream.h.
3357
3358 2003-09-05  Angus Leeming  <leeming@lyx.org>
3359
3360         Replace LString.h with support/std_string.h,
3361         Lsstream.h with support/std_sstream.h,
3362         support/LIstream.h with support/std_istream.h,
3363         support/LOstream.h with support/std_ostream.h.
3364
3365         Changes resulting throughout the tree.
3366
3367 2003-09-05  Angus Leeming  <leeming@lyx.org>
3368
3369         * sgml.h: ensure that the header file can be compiled stand-alone.
3370         * *.C: strip out redundant #includes. (320 in total.)
3371
3372 2003-09-04  Angus Leeming  <leeming@lyx.org>
3373
3374         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3375         here (from getPackages).
3376
3377         * debug.[Ch]: add a new EXTERNAL tag.
3378
3379 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3380
3381         * text2.C (cursorEnd): simplify
3382         (setCursor): adjust
3383         (getColumnNearX): adjust
3384
3385         * text.C (computeBidiTables): adjust
3386         (fill): adjust
3387
3388         * rowpainter.C (paintChars): adjust
3389         (paintSelection): adjust
3390         (paintChangeBar): adjust
3391         (paintText): adjust
3392
3393         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3394         lastPos instead.
3395         (numberOfSeparators): adjust
3396
3397 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3398
3399         * LyXAction.C:
3400         * box.[Ch]:
3401         * lfuns.h:
3402         * lyxfunc.C:
3403         * text3.C: Restricts the mouse click functionality
3404         of insets like bibtex, include, toc and floatlist to the visible
3405         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3406         up the dialogs. Cursor has to be in front of the inset (i.e.
3407         start of row) for this to function.
3408
3409 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3410
3411         * bufferview_funcs.C (currentState): output row information
3412
3413 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3414
3415         * bufferview_funcs.C (currentState): output paragraph position
3416
3417 2003-09-04  Angus Leeming  <leeming@lyx.org>
3418
3419         * FloatList.h: move out #include "Floating.h".
3420         * LaTeX.h: move out #include "DepTable.h".
3421         * LyXAction.h: move out #include "funcrequest.h".
3422         * buffer.h: move out #include "author.h", "iterators.h".
3423         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3424         * lyx_main.h: move out #include "errorlist.h".
3425         * lyxfunc.h: move out #include "FuncStatus.h".
3426         * lyxtext: move out #include "lyxcursor.h".
3427         * paragraph_pimpl.h: move out #include "counters.h".
3428
3429 2003-09-03  Angus Leeming  <leeming@lyx.org>
3430
3431         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3432         preamble_snippets list, enabling us to add snippets to the preamble
3433         only if the snippet was not there already.
3434
3435 2003-09-04  Angus Leeming  <leeming@lyx.org>
3436
3437         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3438
3439 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3440
3441         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3442         update
3443
3444 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3445
3446         * BranchList.C: point fix, earlier forgotten
3447
3448 2003-09-02  Angus Leeming  <leeming@lyx.org>
3449
3450         * box.C (contains): renamed from 'contained' after a fantastic
3451         amount of hot air.
3452
3453 2003-09-02  John Levon  <levon@movementarian.org>
3454
3455         * BufferView.C:
3456         * lyxcursor.h:
3457         * lyxcursor.C:
3458         * lyxfunc.C:
3459         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3460
3461 2003-09-02  John Levon  <levon@movementarian.org>
3462
3463         * text2.C: simplification of cursorEnd(), including partial
3464         fix for bug 1376
3465
3466 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3467
3468         * buffer.C (readFile): add a space
3469
3470 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3471
3472         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3473
3474 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3475
3476         * buffer.C (readFile): new function, take a filename and a
3477         ParagraphList::iterator
3478         (readFile): adjust
3479         (readFile): adjust, make it private. don't use setStream, make
3480         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3481         always contain the filename.
3482
3483         * BufferView.C (insertLyXFile): simplify and make it work for
3484         gzipped files.
3485
3486 2003-08-30  John Levon  <levon@movementarian.org>
3487
3488         * Makefile.am: fix dist (from Kayvan)
3489
3490 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3491
3492         * most files: change to use const Buffer refs
3493
3494 2003-08-27  André Pönitz  <poenitz@gmx.net>
3495
3496         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3497         on top of ownerPar().
3498
3499 2003-08-27  John Levon  <levon@movementarian.org>
3500
3501         * funcrequest.C: properly initialise POD members
3502
3503 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3504
3505         * lyxtext.h (top_y): move top_y from here
3506         * text.C:
3507         * text2.C:
3508         * text3.C:
3509         * BufferView.[Ch]:
3510         * BufferView_pimpl.[Ch]: to here
3511         * frontends/screen.C:
3512         * insets/insettabular.C:
3513         * insets/insettext.C: adjust
3514         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3515
3516 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3517
3518         * BufferView.[Ch]:
3519         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3520
3521 2003-08-26  André Pönitz  <poenitz@gmx.net>
3522
3523         * paragraph_func.[Ch] (outerPar): new function
3524
3525         * paragraph.C:
3526         * paragraph_funcs.C:
3527         * paragraph_funcs.h:
3528         * paragraph_pimpl.C:
3529         * text2.C: remove Inset::par_owner
3530
3531 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3532
3533         * lyxrow_funcs.C:
3534         * lyxtext.h:
3535         * text.C:
3536         * text2.C: eliminates the needFullRow/display() stuff
3537         altogether, putting the logic in metrics/draw in the insets.
3538
3539 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3540
3541         * text2.C (redoParagraphInternal, redoParagraphs):
3542         * text.C (redoParagraph): add a call to updateRowPositions at the
3543         end of each 'metrics-like' call. Remove all others.
3544         (getRow): remove the 'y-computing' version.
3545         (getRowNearY): do not compute nor return the real y. Solve the
3546         'y < 0' problem and simplify.
3547
3548 2003-08-22  Angus Leeming  <leeming@lyx.org>
3549
3550         * *.[Ch]: clean-up of licence and author blurbs.
3551         Also move config.h out of a few .h files and into a few .C files.
3552
3553 2003-08-22  André Pönitz  <poenitz@gmx.net>
3554
3555         * lyxrow.[Ch]: add x_ and *fill_ members
3556
3557         * lyxtext.h:
3558         * text.C:
3559         * rowpainter.C:
3560         * text2.C: adjust/remove prepareToPrint() calls
3561
3562 2003-08-22  André Pönitz  <poenitz@gmx.net>
3563
3564         * lyxrow.[Ch]: add  end_ member
3565
3566         * lyxrow_funcs.C: use LyXRow::end_
3567
3568         * lyxtext.h (singleWidth): add LyXFont parameter
3569
3570         * rowpainter.C:
3571         * text2.C: adjust LyXText::singleWidth() calls
3572
3573         * text.C (redoParagraph): simplify row breaking logic
3574
3575
3576 2003-08-19  André Pönitz  <poenitz@gmx.net>
3577
3578         * funcrequest.C: initialize button_ member
3579
3580         * text3.C:
3581         * rowpainter.[Ch]: interface consolidation
3582
3583 2003-08-18  André Pönitz  <poenitz@gmx.net>
3584
3585         * BufferView.C:
3586         * BufferView_pimpl.C:
3587         * lyxfind.C:
3588         * paragraph_funcs.C:
3589         * rowpainter.C:
3590         * text3.C: remove LyXScreen::draw() and fitCursor calls
3591
3592         * BranchList.h: remove spurious semicolons
3593
3594         * MenuBackend.C: fix branchlist related crash
3595
3596 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3597
3598         * BranchList.[Ch]:
3599         * InsetList.[Ch]:
3600         * LColor.[Ch]:
3601         * LyXAction.C:
3602         * Makefile.am:
3603         * MenuBackend.[Ch]:
3604         * bufferparams.[Ch]:
3605         * factory.C:
3606         * lfuns.h:
3607         * lyxfunc.C:
3608         * text3.C: implements the 'branch inset'
3609         idea. This allows the output of various versions of a document
3610         from a single source version, selectively outputing or suppressing
3611         output of parts of the text.
3612         This implementation contains a 'branch list editor' in a separate
3613         tab of the document settings dialog. Branches are user definable
3614         and have a "display colour" to distinguish them on-screen.
3615
3616         ColorHandler was somewhat cleaned up.
3617         (1) make possible a dynamically growing LColor list by allowing
3618         the graphic context cache to grow along (vector);
3619         (2) eliminate an IMHO unnecessary step in colour allocation.
3620
3621 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3622
3623         * BufferView_pimpl.C: compile fix
3624
3625 2003-08-15  André Pönitz  <poenitz@gmx.net>
3626
3627         * rowpainter.C: remove extra metrics calls
3628
3629         * lyxtext.h: merge the two constructors into a single one,
3630           pass reference to owner's par list
3631
3632         * BufferView_pimpl.C:
3633         * text.C:
3634         * text2.C: adjust
3635
3636 2003-08-15  André Pönitz  <poenitz@gmx.net>
3637
3638         * lyxrow_funcs.[Ch]:
3639         * lyxtext.h:
3640         * paragraph.h:
3641         * paragraph_funcs.C:
3642         * rowpainter.C:
3643         * text.C:
3644         * text2.C:
3645         * text3.C:
3646         * text_funcs.C: split LyXText::rowlist_ into individual
3647         Paragraph::rows_ chunks
3648
3649         * BufferView.[Ch]:
3650         * BufferView_pimpl.[Ch]:
3651         * lyxfind.C:
3652         * lyxtext.h:
3653         * text3.C: remove toggleSelection()
3654
3655 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3656
3657         * bufferlist.C: beautify two alerts (shorter text of buttons)
3658         * buffer.C: Remove redundant ' ' from message
3659         * tabular.h:
3660         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3661         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3662         rename VALIGN_CENTER to VALIGN_MIDDLE
3663
3664 2003-08-11  André Pönitz  <poenitz@gmx.net>
3665
3666         * lyxtext.h (getPar):
3667         * text.C: new function
3668
3669 2003-08-11  André Pönitz  <poenitz@gmx.net>
3670
3671         * Makefile.am:
3672         * tracer.[Ch]: remove unneeded files
3673
3674         * InsetList.[Ch]: remove resizeInsetsLyXText()
3675
3676         * lyxtext.h:
3677         * text.C:
3678         * text2.C:
3679         * text3.C: merge insertParagraphs() and appendParagraph()
3680         remove breakAgain(), update()
3681
3682         * BufferView_pimpl.[Ch]:
3683         * bufferview_funcs.[Ch]:
3684         * lyxfunc.C:
3685         * paragraph.[Ch]:
3686         * rowpainter.C:
3687         * tabular.C: adjust after text & InsetList changes.
3688
3689 2003-08-08  André Pönitz  <poenitz@gmx.net>
3690
3691         * text.C (insertChar, backspace): replace rowlist fiddling
3692         with rebreak of full par
3693
3694         * lyxtext.h:
3695         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3696         checkParagraph, updateInset): removed
3697
3698 2003-08-07  André Pönitz  <poenitz@gmx.net>
3699
3700         * paragraph.C:
3701         * text3.C: merge some LFUN handlers, remove dead code
3702
3703 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3704
3705         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3706
3707 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3708
3709         * text2.C (DEPM): fix part of bug 1255 and 1256
3710
3711 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3712
3713         * BufferView_pimpl.C (workAreaDispatch): change to use
3714         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3715         that are no mouse related.
3716
3717 2003-08-05  André Pönitz  <poenitz@gmx.net>
3718
3719         * BufferView.[Ch]:
3720         * BufferView_pimpl.[Ch]:
3721         * bufferview_funcs.C:
3722         * text2.C:
3723         * text3.C: rip out "deep update"
3724
3725         * textcursor.[Ch] (last_sel_cursor): remove unused member
3726
3727 2003-08-04  André Pönitz  <poenitz@gmx.net>
3728
3729         * BufferView.[Ch]:
3730         * BufferView_pimpl.[Ch]:
3731         * ParagraphParameters.C:
3732         * bufferview_funcs.C:
3733         * lyx_cb.C:
3734         * lyxfind.C:
3735         * lyxfunc.C:
3736         * text.C:
3737         * text2.C:
3738         * text3.C: replace "complicated" BufferView::update(...) calls with
3739         simpler ones.
3740
3741         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3742
3743 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3744
3745         * Makefile.am (lyx_SOURCES): add paper.h
3746
3747 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3748
3749         * Makefile.am: move things around so that both lyx-qt and
3750         lyx-xforms can be built (according to --with-frontend). Then lyx
3751         is a symbolic link to lyx-[firstfrontend]
3752
3753 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3754
3755         * Always use std::endl with lyxerr
3756
3757 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3758
3759         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3760
3761 2003-08-01  André Pönitz  <poenitz@gmx.net>
3762
3763         * BufferView.[Ch]:
3764         * BufferView_pimpl.[Ch]:
3765         * lyxfunc.C:
3766         * text3.C: merge BufferView::repaint() and BufferView::update()
3767
3768 2003-08-01  José Matos  <jamatos@lyx.org>
3769
3770         * buffer.[Ch]: file_format is no longer a buffer data element.
3771
3772 2003-08-01  André Pönitz  <poenitz@gmx.net>
3773
3774         * BufferView.C:
3775         * lyxtext.h:
3776         * text.C:
3777         * text2.C: make redoParagraph more independent of current cursor
3778
3779         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3780         * text.C:
3781         * text2.C: remove unneeded members
3782
3783 2003-07-30  André Pönitz  <poenitz@gmx.net>
3784
3785         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3786
3787         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3788           create a single function...
3789
3790         * paragraph_funcs.C (moveItem): ... here.
3791
3792         * text.C:
3793           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3794
3795 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3796
3797         * LColor.[Ch]: Add comment and greyedout logical colors.
3798
3799 2003-07-30  André Pönitz  <poenitz@gmx.net>
3800
3801         * tabular.C: don't use Assert too heavily. This crashes where it
3802           shouldn't
3803
3804 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3805
3806         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3807         is disabled (bug 1232)
3808
3809 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3810
3811         * factory.C: limited 'arg' scope
3812
3813 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3814
3815         * factory.C: fixed Note submenu issues
3816
3817 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3818
3819         * factory.C: submenu for Note/Comment/Greyedout
3820
3821 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3822
3823         * lyx_main.C (LyX):
3824         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3825
3826 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3827
3828         * LaTeXFeatures.C:
3829         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3830         greyedout. Patch provided by Jürgen Spitzmüller.
3831
3832 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3833
3834         * kbmap.C (read): fix error message when reading bind files
3835
3836 2003-07-29  Angus Leeming  <leeming@lyx.org>
3837
3838         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3839         certainly does not do what it purports to do. I am doing it, and
3840         us, a favour by killing it.
3841
3842 2003-07-28  José Matos  <jamatos@lyx.org>
3843
3844         * buffer.C (readBody, do_writeFile):
3845         * paragraph.C(readParagraph): \end_document replaces \the_end.
3846
3847 2003-07-29  André Pönitz  <poenitz@gmx.net>
3848
3849         * BufferView.[Ch]:
3850         * BufferView_pimpl.[Ch]:
3851         * lyxfunc.C:
3852         * text2.C:
3853         * text3.C:
3854         * textcursor.[Ch]: remove toggleToggle & Co
3855
3856 2003-07-28  José Matos  <jamatos@fep.up.pt>
3857
3858         * buffer.C (readParagraph):
3859         * params_func (readParToken, readParagraph):
3860         * paragraph.C (write): \layout -> \begin_layout.
3861
3862 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3863
3864         * lyxlex_pimpl.C (setFile): clean up slightly.
3865
3866         * bufferparams.h: add compressed var
3867
3868         * buffer_funcs.C (readFile): adjust for LyXLex change
3869         (newFile): ditto + simplify
3870
3871         * buffer.C (writeFile): handle writing of compressed files
3872
3873         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3874         Check if the file is compressed and set a bufferparm if so.
3875
3876         * Makefile.am (lyx_LDADD): remove explicit -lz
3877
3878 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3879
3880         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3881         makeDocBookFile): put the real LyX version in the first line of
3882         the file
3883
3884         * version.h:
3885         * version.C.in: remove lyx_docversion
3886
3887         * tabular.C (write_attribute): add a template-based version to
3888         write enums properly
3889
3890 2003-07-28  André Pönitz  <poenitz@gmx.net>
3891
3892         * lyxtext.h:
3893         * text.C:
3894         * text2.C:
3895         * text3.C: use doubles again for x-coordinates. They are needed.
3896
3897 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3898
3899         * messages.C (getLocaleDir): use lyx_localedir()
3900
3901         * lyxlex_pimpl.C (setFile): compress stuff
3902
3903         * buffer.C (writeFile): add some compression stuff
3904         (do_writeFile): new func, dont call expliti close... will this
3905         breake anything?
3906
3907         * Makefile.am (lyx_LDADD): add -lz
3908
3909 2003-07-28  José Matos  <jamatos@fep.up.pt>
3910
3911         * buffer.C: increment file format.
3912         * paragraph_funcs (readParagraph, readParToken):
3913         * paragraph.C (readParagraph): add \end_layout.
3914
3915 2003-07-27  Angus Leeming  <leeming@lyx.org>
3916
3917         * Makefile.am: remove special casing for configure-time setting of
3918         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3919
3920         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3921         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3922
3923 2003-07-26  André Pönitz  <poenitz@gmx.net>
3924
3925         * paragraph_func.[Ch]:
3926         * paragraph.C (realizeFont): inline it whereever it is used
3927
3928         * rowpainter.C:
3929         * text.C:
3930         * text2.C:
3931         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3932
3933
3934 2003-07-26  André Pönitz  <poenitz@gmx.net>
3935
3936         *       lyxtext.h:
3937         * text.C:
3938         * text2.C: get rid of LyXText::need_break_row
3939
3940 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3941
3942         * toc.[Ch]: put namespace toc inside namespace lyx
3943
3944         * MenuBackend.C (expandToc2): adjust for lyx::toc
3945         (expandToc): ditto
3946
3947         * lyxfunc.C (dispatch): adjust for lyx::find
3948
3949         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3950         lyx::find instead. Reorganize a bit.
3951         (LyXReplace): rename to replace
3952         (LyXFind): rename to find
3953
3954         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3955         (dispatch): ditto
3956
3957 2003-07-26  André Pönitz  <poenitz@gmx.net>
3958
3959         * text.C (setHeightOfRow): restrict scope of temporary variable
3960
3961         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3962           code (never has been used?)
3963
3964 2003-07-27  Asger Alstrup  <alstrup@local>
3965
3966         * text.C (fill): Optimise algorithm to exploit that we can reuse
3967         the LyXFont for many characters.
3968         (setHeightOfRow): Same thing.
3969         (rowBreakPoint): Same thing.
3970
3971 2003-07-26  Asger Alstrup  <alstrup@local>
3972
3973         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3974
3975         * text.C (singleWidth): Spurious font copying in hot-spot
3976         singleWidth avoided. Reorder tests for arabic for efficiency.
3977
3978         * text.C (fill): handle empty paragraphs better.
3979
3980 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3981
3982         * ispell.C:
3983         * encoding.h: add includes
3984
3985         * lyxrc.C: remove reading of bind files
3986
3987         * lyx_main.C (init): setup bindings and menus only if we have a
3988         gui.
3989
3990         * kbmap.C (read): new method. Do the actual reading of bind
3991         files.
3992
3993         * converter.C (dvipdfm_options):
3994         * bufferparams.C:
3995         * lyxrc.C (read):
3996         (output): adapt PAPER_* enums.
3997
3998         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3999
4000         * bufferparams.h: remove paper-related enums from there
4001
4002         * paper.h: New file. A trivial header file to hold paper-related
4003         enums. It should later expand to contain many paper-related
4004         horrors access.
4005
4006         * lyxrc.C: declare extern displayTranslator
4007
4008 2003-07-27  José Matos  <jamatos@fep.up.pt>
4009
4010         * tabular.[Ch] (linuxdoc): add support for tables and figures
4011         (linuxdoc).
4012
4013 2003-07-27  José Matos  <jamatos@fep.up.pt>
4014
4015         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4016         consistency in both functions.
4017         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4018
4019 2003-07-26  Asger Alstrup  <alstrup@local>
4020
4021         * rowpainter.C (paintRows): Change algorithm to work directly on
4022         the insets rather than asking every character in the document
4023         whether its an inset.
4024
4025 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4026
4027         * buffer.C (openFileWrite): factorize some code
4028
4029 2003-07-26  Angus Leeming  <leeming@lyx.org>
4030
4031         * lyx_cb.C:
4032         * lyx_main.[Ch]: replace occurances of system_tempdir with
4033         os::getTmpDir().
4034
4035 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4036
4037         * rename Inset to InsetOld
4038
4039 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4040
4041         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4042         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4043         which I think is a bit clearer. EDIT is gone, since it was
4044         premature optimisation, and broken for mathed anyway.
4045         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4046         with cursor positioning in insets as well (math insets still do not
4047         work, but that's a different story anyway.) It mysteriously
4048         crashes sometimes with undo in the first paragraph, but I'm fairly
4049         confident that this is a compiler bug.
4050
4051 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4052
4053         * paragraph.C (Paragraph): adjust for new clone return type
4054         (operator==): ditto
4055         (copyIntoMinibuffer): ditto
4056
4057 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4058
4059         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4060         by not having a special case, and always doing a full rebreak of
4061         the document after undo.
4062
4063 2003-07-23  Angus Leeming  <leeming@lyx.org>
4064
4065         * factory.C (createInset): InsetExternal::setParams now takes a
4066         Buffer const * arg.
4067
4068 2003-07-23  Angus Leeming  <leeming@lyx.org>
4069
4070         * factory.C (createInset): changed interface to the external and
4071         graphics mailers' string2params functions.
4072
4073 2003-07-23  Angus Leeming  <leeming@lyx.org>
4074
4075         * factory.C (createInset): pass a
4076         Buffer const * parameter to InsetExternalMailer's string2params.
4077
4078 2003-07-22  John Levon  <levon@movementarian.org>
4079
4080         * Thesaurus.h: include the right aiksaurus header
4081
4082 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4083
4084         * MenuBackend.C (expand): check menu shortcuts unconditionally
4085
4086 2003-07-21  Angus Leeming  <leeming@lyx.org>
4087
4088         * factory.C (createInset): pass a
4089         buffer_path parameter to InsetGraphicsMailer's string2params.
4090
4091 2003-07-21  Angus Leeming  <leeming@lyx.org>
4092
4093         * BufferView_pimpl.C (buffer):
4094         * buffer.C (d-tor):
4095         * lyx_main.C (LyX):
4096         * lyxfunc.C (dispatch):
4097         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4098         rather than the grfx shortcut.
4099
4100 2003-07-21  André Pönitz  <poenitz@gmx.net>
4101
4102         * rowpainter.C: remove unused variables
4103
4104         * tabular_funcs.C:
4105         * tabular_funcs.h: move to tabular.C
4106         * Makefile.am: adjust
4107
4108         * tabular.[Ch]: basic optical cleaning
4109
4110         * author.h: pass references, not values
4111
4112 2003-07-18  André Pönitz  <poenitz@gmx.net>
4113
4114         * lyxtext.h:
4115         * metricsinfo.C:
4116         * metricsinfo.h:
4117         * rowpainter.C:
4118         * text.C:
4119         * text2.C:
4120         * text3.C: two-phase drawing for InsetText and InsetTabular
4121         some float -> int changes.
4122
4123 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4124
4125         * lyx_main.C: fix the fix
4126
4127 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4128
4129         * lyx_main.C: fix a crash in batch mode if no files specified
4130         * converter.C: ws
4131
4132 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4133
4134         * format.[Ch] (papersize): moved to BufferParams
4135         * converter.[Ch] (dvips_options): moved to BufferParams
4136         (dvipdfm_options): moved to anon namespace
4137         * bufferparams.[Ch]: added above functions.
4138
4139 2003-07-17  André Pönitz  <poenitz@gmx.net>
4140
4141         * lyxtext.h:
4142         * rowpainter.C:
4143         * text2.C: don't call inset->update() anymore
4144
4145         * metricsinfo.[Ch]: add convenience constructor
4146
4147 2003-07-16  André Pönitz  <poenitz@gmx.net>
4148
4149         * lyxcursor.[Ch]:
4150         * lyxfunc.[Ch]:
4151         * text.C:
4152         * text2.C: replace the LyXCursor::irow_ member with
4153          on-demand computation of the value
4154
4155 2003-07-16  John Levon  <levon@movementarian.org>
4156
4157         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4158
4159 2003-07-15  André Pönitz  <poenitz@gmx.net>
4160
4161         * text.C:
4162         * text2.C: remove no more needed refresh_row
4163
4164 2003-07-15  André Pönitz  <poenitz@gmx.net>
4165
4166         * lyxtext.h:
4167         * rowpainter.C:
4168         * text2.C:
4169         * text3.C: refresh_status tristate -> need_update bool
4170
4171 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4172
4173         * lyxtext.h (init): remove reinit argument (act as if always true)
4174         * text2.C: adjust to that
4175
4176 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4177
4178         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4179         * text3.C: use it to delete selections in some cases
4180         (bugs 441, 673, 702, 954).
4181
4182 2003-07-14  André Pönitz  <poenitz@gmx.net>
4183
4184         * rowpainter.[Ch]: reduce interface
4185
4186 2003-07-14  André Pönitz  <poenitz@gmx.net>
4187
4188         * BufferView_pimpl.C:
4189         * text2.C: adjust after removing unused BufferView * argument
4190
4191 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4192
4193         * text2.C (init): fix a crash fired on resize
4194
4195 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4196
4197         * buffer.[Ch]: added new closing signal
4198         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4199         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4200         BufferView::Pimpl via the closing the signal
4201
4202 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4203
4204         * buffer.[Ch]: take out all bv-related from buffer
4205         * BufferView.C:
4206         * BufferView_pimpl.[Ch]: connect to new signals
4207         * CutAndPaste.C: removed useless asserts
4208         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4209         * lyxvc.[Ch]:
4210         * vc-backend.[Ch]:
4211         * lyxfunc.C: moved view-related funciontality from vc here
4212         * paragraph.C: removed outdated comments
4213         * text.C: ws
4214
4215 2003-07-10  André Pönitz  <poenitz@gmx.net>
4216
4217         * BufferView_pimpl.C:
4218         * tabular.h:
4219         * tabular_funcs.C:
4220         * text.C:
4221         * text2.C: remove InsetText::InnerCache, clean up consequences
4222
4223 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4224
4225         * ispell.C: fix two typos in error messages
4226
4227 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4228
4229         * Extend Note inset to other forms of annotation like Comment
4230         and Greyedout. Right button click gives dialog.
4231
4232         Files modified or added (+):
4233
4234         * insetnote.[Ch]
4235         * FormNote.[Ch]      +
4236         * ControlNote.[Ch]   +
4237         * form_note.fd       +
4238         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4239         frontends/controllers
4240         * xforms/Dialogs.C
4241         * factory.C
4242
4243 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4244
4245         * aspell.C: add missing namespace lyx::support
4246
4247 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4248
4249         * BufferView.[Ch] (newFile): Add
4250         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4251         * LaTeX.[Ch] (message): added this signal and use it
4252         * buffer.[Ch] (busy, message): added these signals and use them
4253         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4254         * converter.C:
4255         * exporter.C:
4256         * format.C:
4257         * importer.C: use buffer signals instead of direct bv calling
4258         * lyx_cb.[Ch] (ShowMessage): removed
4259         * lyx_main.C:
4260         * lyxfunc.C:
4261         * paragraph_funcs.C:
4262         * text2.C: use buffer signals
4263
4264 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4265
4266         * introduce namespace lyx::graphics
4267
4268 2003-07-02  André Pönitz  <poenitz@gmx.net>
4269
4270         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4271
4272 2003-07-01  André Pönitz  <poenitz@gmx.net>
4273
4274         * text.C:
4275         * text2.C:
4276         * text3.C:
4277         * text_funcs.[Ch]:
4278         * textcursor.h:
4279         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4280           text*.C to text_func.C
4281
4282 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4283
4284         * introduce namespace lyx::support
4285
4286 2003-06-30  André Pönitz  <poenitz@gmx.net>
4287
4288         * Chktex.C:
4289         * funcrequest.C:
4290         * lyxtext.h:
4291         * text.C: re-enable --with-included-string
4292
4293 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4294
4295         * textcursor.C: add <config.h>
4296
4297         * text.C (getWord): remove const from word_location arg
4298
4299         * lyxvc.C (getLogFile): fix const type order
4300
4301         * lyxtext.h: remove const from word_location arg, add arg name
4302
4303         * lyxlayout.h: currect type on labeltype.
4304
4305         * importer.C: correct \file
4306
4307         * converter.C (intToFormat): use std:: on ret val, ws changes
4308
4309         * bufferlist.h: correct \file
4310
4311         * buffer.C (makeLinuxDocFile): fix const type order
4312         (makeDocBookFile): ditto
4313         (fillWithBibKeys): use std:: on stdlib args.
4314
4315         * CutAndPaste.C: fix authors.
4316         (availableSelections): use std:: on return vector
4317
4318 2003-06-27  André Pönitz  <poenitz@gmx.net>
4319
4320         * BufferView_pimpl.C:
4321         * bufferview_funcs.C:
4322         * lyxcursor.C:
4323         * lyxcursor.h:
4324         * lyxfunc.C:
4325         * lyxtext.h:
4326         * rowpainter.C:
4327         * text.C:
4328         * text2.C:
4329         * text3.C: remove LyXCursor::row_ member
4330
4331         * lyxtext.h:
4332         * text.C: rename fullRebreak() to partialRebreak() and implement
4333           a fullRebreak() that really bereks fully
4334
4335         * textcursor.h: new struct for cursor-related data
4336
4337 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4338
4339         * lyx_main.C (LyX): get full path of document loaded on the
4340         command line
4341
4342 2003-06-26  André Pönitz  <poenitz@gmx.net>
4343
4344         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4345           remove unused/broken operator>,<,>=.
4346
4347         *       text.C: remove only use of broken operator<= in an Assert().
4348
4349 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4350
4351         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4352         moved errorlist_.clear to showErrorList
4353
4354 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4355
4356         * converter.C (scanLog, runLaTeX):
4357         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4358         move the bv->showErrorList call to the callers
4359         * lyxfunc.C: i.e. here...
4360         * text2.C: and here
4361         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4362         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4363         namespace, the second to...
4364         * buffer_funcs (BufferFormat, parseErrors): added
4365         * errorlist.C (ErrorList(TeXErrors const &)): removed
4366
4367 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4368
4369         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4370
4371 2003-06-24  "Garst R. Reese" <reese@isn.net>
4372
4373         * debug.C: fix typo
4374
4375 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4376
4377         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4378
4379         * version.C.in: change docversion to 1.4
4380
4381 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4382
4383         * buffer.C: fix a bug just introduced
4384
4385 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4386
4387         * buffer.[Ch]: added the parseError signal and use it, removed
4388         sgmlError
4389         * BufferView.[Ch] (addError): moved to ...
4390         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4391         to the Buffer::parseError signal to catch (guess what) parse errors
4392         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4393
4394 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4395
4396         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4397         ability to create a buffer and to return an existing one from
4398         the list. Moved these functions to...
4399         * buffer_funcs.[Ch]: added
4400         * BufferView.[Ch] (loadLyXFile): added
4401         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4402         job removed from bufferlist::loadLyXFile.
4403         * buffer.C (setReadOnly): make it work without view
4404         (i.e added an if (users))
4405
4406 2003-06-19  Angus Leeming  <leeming@lyx.org>
4407
4408         * lfuns.h:
4409         * LyXAction.C (init):
4410         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4411         with LFUN_DIALOG_SHOW <name> <data>.
4412
4413 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4414
4415         * CutAndPaste.C (availableSelections): small compilation fix for
4416         ancient (gcc 2.9x) compilers
4417
4418 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4419
4420         * text3.C (cursorNext): add tmp var
4421
4422         * text2.C (updateCounters): for function calling out of for clause
4423         (replaceSelectionWithString): ditto
4424         (insertStringAsParagraphs): ditto
4425         (getColumnNearX): add tmp var
4426         (setCursorFromCoordinates): add tmp var
4427         (cursorDownParagraph): add tmp var
4428         (deleteEmptyParagraphMechanism): add tmp var
4429
4430         * text.C (insertChar): add tmp var
4431
4432         * rowpainter.C (paintDepthBar): add tmp var
4433
4434         * CutAndPaste.C (availableSelections): potentially check all
4435         paragraphs in a cut to fill the shown strings.
4436
4437 2003-06-18  André Pönitz  <poenitz@gmx.net>
4438
4439         * kbmap.[Ch]: use vector<> instead of list<>
4440
4441 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4442
4443         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4444         pasteSelection with index
4445
4446         * text2.C (pasteSelection): modify, call pasteSelection with index
4447
4448         * paragraph.C (asString): reimplement version with no interval to
4449         call the one with interval.
4450
4451         * lyxtext.h: add index arg to pasteSelection
4452
4453         * MenuBackend.C (MenuItem): handle PasteRecent
4454         (Menu::read::Menutags): add md_pasterecent
4455         (read): handle it
4456         (expandPasteRecent): new function
4457         (expand): use it
4458
4459         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4460
4461         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4462         the limited stack
4463         (availableSelections): new function
4464
4465 2003-06-17  Angus Leeming  <leeming@lyx.org>
4466
4467         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4468
4469 2003-06-17  Angus Leeming  <leeming@lyx.org>
4470
4471         * lfuns.h:
4472         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4473
4474         * lyxfunc.C (dispatch): invoke it.
4475
4476 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4477
4478         * iterators.C (operator++, ParPosition): reintroduce some
4479         const_cast for the benefit of older compilers.
4480
4481 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4482
4483         * text3.C (dispatch): do not modify clipboard when doing
4484         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4485         LFUN_DELETE_SKIP on a selection selection
4486
4487 2003-06-16  André Pönitz  <poenitz@gmx.net>
4488
4489         * BufferView.C:
4490         * buffer.C:
4491         * buffer.h:
4492         * paragraph.C:
4493         * tabular.[Ch]: IU of clone() and getLabelList();
4494
4495 2003-06-13  André Pönitz  <poenitz@gmx.net>
4496
4497         * tabular.h: compactification
4498
4499 2003-06-12  André Pönitz  <poenitz@gmx.net>
4500
4501         * tabular.C:
4502         * tabular.h:
4503         * tabular_funcs.h: some renaming plus whitespace
4504
4505 2003-06-12  André Pönitz  <poenitz@gmx.net>
4506
4507         * BufferView.C:
4508         * BufferView_pimpl.C:
4509         * CutAndPaste.C:
4510         * buffer.C:
4511         * iterators.[Ch]:
4512         * lyxfunc.C:
4513         * text.C:
4514         * toc.C: Return a Paragraph & for ParIterator::operator*()
4515
4516 2003-06-11  John Levon  <levon@movementarian.org>
4517
4518         * lyx_main.C:
4519         * ToolbarBackend.h:
4520         * ToolbarBackend.C: add "Toolbars" section and
4521         put the flags there
4522
4523 2003-06-10  Angus Leeming  <leeming@lyx.org>
4524
4525         * lfuns.h:
4526         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4527
4528         * lyxfunc.C (dispatch): invoke it.
4529
4530 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4531
4532         * main.C: protect <ios> with HAVE_IOS
4533         (main): protect sync_with_stdio with HAVE_IOS
4534
4535 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4536
4537         * text2.C (cutSelection): adjust
4538         (pasteSelection): adjust
4539
4540         * messages.C: handle get of empty string
4541
4542         * main.C (main): use sync_with_stdio(false)
4543
4544         * lyxfunc.C (dispatch): adjust
4545
4546         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4547         (WriteAs): remove unneeded BufferView arg.
4548
4549         * bufferparams.h: use correct types on papersize, papersize2 and
4550         paperpackage.
4551
4552         * bufferparams.C (readToken): adjust for type
4553         (writeLaTeX): add missing cases to switch.
4554
4555         * bufferlist.C (quitWriteBuffer): adjust
4556         (close): adjust
4557
4558         * buffer.C (asciiParagraph): remove some commented code.
4559
4560         * CutAndPaste.C: remove current_view extern variable.
4561         (cutSelection): add BufferParams arg.
4562         (eraseSelection): add BufferParams arg.
4563         (pasteSelection): add Buffer const & arg
4564
4565 2003-06-07  John Levon  <levon@movementarian.org>
4566
4567         * buffer.C:
4568         * paragraph_funcs.C:
4569         * paragraph_pimpl.C:
4570         * text.C:
4571         * text2.C:
4572         * paragraph.h:
4573         * paragraph.C: allow InsetERT to freely space lines,
4574         and some consolidation of code
4575
4576 2003-06-06  José Matos  <jamatos@fep.up.pt>
4577
4578         * buffer.C (makeDocBookFile): fix bug #821
4579
4580 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4581
4582         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4583
4584 2003-06-04  Angus Leeming  <leeming@lyx.org>
4585
4586         * buffer.C: bump format to 224.
4587
4588 2003-06-05  André Pönitz  <poenitz@gmx.net>
4589
4590         * text2.C (redoParagraphs): remove two const_cast<>
4591
4592 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4593
4594         * ParagraphList.h: remove last remnants of NO_STD_LIST
4595
4596 2003-06-03  Angus Leeming  <leeming@lyx.org>
4597
4598         * factory.C (createInset): small change to the way InsetExternal's params
4599         are set.
4600
4601 2003-06-04  André Pönitz  <poenitz@gmx.net>
4602
4603         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4604
4605         * paragraph_pimpl.h:
4606         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4607
4608         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4609
4610         * undo_funcs.C: make some simple cases of undo work again
4611
4612 2003-06-03  John Levon  <levon@movementarian.org>
4613
4614         * ispell.C: HPUX doesn't have sys/select.h
4615         (from Albert Chin)
4616
4617 2003-06-03  John Levon  <levon@movementarian.org>
4618
4619         * CutAndPaste.C: update tabular and include inset
4620         buffer references
4621
4622         * buffer.h:
4623         * paragraph.h:
4624         * paragraph.C: remove owningBuffer(), don't pass Buffer
4625         to clone()
4626
4627         * factory.C: insetGraphicsParams changed
4628
4629 2003-06-02  John Levon  <levon@movementarian.org>
4630
4631         * LyXAction.C:
4632         * factory.C:
4633         * lfuns.h:
4634         * lyxfunc.C:
4635         * text3.C: remove insetparent
4636
4637 2003-06-02  John Levon  <levon@movementarian.org>
4638
4639         * buffer.h:
4640         * buffer.C: fix inset_iterator.end(), move out of line
4641         (bug 1149)
4642
4643 2003-06-01  John Levon  <levon@movementarian.org>
4644
4645         * text3.C: use a proper cut/paste when doing inset
4646         insert (from Jürgen Spitzmüller)
4647
4648 2003-06-01  John Levon  <levon@movementarian.org>
4649
4650         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4651
4652 2003-05-30  André Pönitz  <poenitz@gmx.net>
4653
4654         * rowpainter.C: unify second drawing phase
4655
4656 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4657
4658         * trans_mgr.C: remove one case of current_view
4659
4660         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4661
4662         * paragraph_funcs.h: remove paragraph.h include
4663
4664         * paragraph.h: delete NO_STD_LIST stuff
4665
4666         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4667
4668         * buffer.h: remove paragraph.h include
4669
4670         * ParagraphList.C: delete file
4671
4672         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4673
4674         * toc.C (getTocList): adjust
4675
4676         * paragraph_pimpl.C (validate): adjust
4677
4678         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4679
4680         * paragraph.C (Paragraph): adjust
4681         (getPositionOfInset): use const_iterator, adjust
4682         (bibitem): use const_iterator, adjust
4683         (setInsetOwner): adjust
4684
4685         * iterators.C (operator++): adjust
4686
4687         * InsetList.[Ch]: Replace selfmade iterator with standard
4688         vector::iterator also introduce const_iterator. Remove getPos,
4689         getInset and setInset from InsetTable. Adjust accordingly.
4690
4691         * BufferView.C (lockInset): adjust
4692         (ChangeInsets): adjust
4693
4694         * tabular.[Ch]: delete commented same_id functions
4695
4696 2003-05-28  John Levon  <levon@movementarian.org>
4697
4698         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4699
4700 2003-05-28  André Pönitz  <poenitz@gmx.net>
4701
4702         * metricsinfo.[Ch]: remove 'fullredraw' member
4703
4704 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4705
4706         * lyxtextclass.C (operator): remove caching.
4707
4708 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4709
4710         * text3.C: adjust
4711
4712         * text2.C (cursorBottom): adjust
4713         (setCounter): use ParagraphList::find, adjust
4714
4715         * text.C (workWidth): use ParagraphList::find, adjust
4716
4717         * lyxcursor.C (LyXCursor): adjust
4718
4719         * buffer.C (inset_iterator): adjust
4720
4721         * ParagraphList.h: make iterator(value_type) private, make
4722         ParagraphList a friend of iterator.
4723
4724         * ParagraphList.C (find): new function
4725
4726         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4727
4728 2003-05-27  André Pönitz  <poenitz@gmx.net>
4729
4730         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4731
4732 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4733
4734         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4735
4736 2003-05-26  John Levon  <levon@movementarian.org>
4737
4738         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4739
4740 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4741
4742         * remove same_id from function signatures, adjust.
4743
4744 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4745
4746         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4747
4748         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4749
4750         * paragraph.C (Paragraph): get rid of same_ids parameter
4751
4752         * ParagraphList.C (insert): adjust
4753         (push_back): adjust
4754
4755 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4756
4757         * paragraph_funcs.C (breakParagraph): adjust
4758         (breakParagraphConservative): adjust
4759
4760         * buffer.C (readParagraph): adjust
4761
4762         * ParagraphList.C (insert): take a reference instead of a pointer
4763         (insert): adjust
4764
4765         * paragraph.[Ch] (id): new function
4766
4767         * bufferlist.C (newFile): adjust
4768
4769         * ParagraphList.C (ParagraphList): adjust
4770         (assign): adjust
4771         (push_back): take a reference instead of a pointer.
4772
4773         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4774
4775         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4776         instead.
4777
4778         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4779         set else use old code.
4780
4781         * ParagraphList.C: remove all NO_NEXT code and only compile this
4782         code of NO_STD_LIST is set.
4783
4784 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4785
4786         * BufferView_pimpl.C:
4787         * TextCache.C:
4788         * TextCache.h:
4789         * bufferlist.C:
4790         * errorlist.h:
4791         * format.C:
4792         * format.h:
4793         * graph.C:
4794         * lyxfunc.C:
4795         * lyxrc.C:
4796         * graphics/GraphicsConverter.C:
4797         * graphics/PreviewLoader.C: header adjustment
4798
4799 2003-05-23  Angus Leeming  <leeming@lyx.org>
4800
4801         * LaTeXFeatures.[Ch] (useBabel): new method.
4802         * bufferparams.C (writeLaTeX): use it.
4803
4804 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4805
4806         * ParagraphList.h (set): remove unused function.
4807
4808 2003-05-23  André Pönitz  <poenitz@gmx.net>
4809
4810         * BufferView.C:
4811         * BufferView_pimpl.C:
4812         * buffer.C:
4813         * buffer.h:
4814         * lyxfunc.C:
4815         * undo_funcs.C: setUndo reworked
4816
4817         * iterators.[Ch]: add access to topmost ParagraphList
4818
4819         * lyxtext.[Ch] (workWidth): add a const
4820
4821 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4822
4823         * texrow.[Ch] (increasePos): remove function
4824         * exporter.C (export): removed unused var and outdated comment
4825
4826 2003-05-23  Angus Leeming  <leeming@lyx.org>
4827
4828         * latexrunparams.h: rename fragile as moving_arg.
4829         * paragraph.C (simpleTeXOnePar): ditto.
4830         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4831
4832 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4833
4834         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4835         (createUndo): ditto
4836         (textUndoOrRedo): comment out a currently unused var.
4837
4838         * paragraph.h (NO_NEXT): enable NO_NEXT
4839
4840         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4841
4842         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4843
4844         * exporter.C (Export): adjust for removeAutoInsets removal.
4845
4846         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4847
4848         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4849
4850         * BufferView.[Ch] (removeAutoInsets): delete function
4851
4852 2003-05-22  Angus Leeming  <leeming@lyx.org>
4853
4854         * latexrunparams.h: add a free_spacing variable.
4855
4856         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4857         to pass moving_arg, as the data is stored in runparams.fragile.
4858
4859         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4860         to Inset::latexOptional or to simpleTeXOnePar.
4861
4862         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4863         free_spacing arg to Inset::latexOptional.
4864
4865         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4866         free_spacing arg.
4867
4868 2003-05-22  Angus Leeming  <leeming@lyx.org>
4869
4870         * latexrunparams.h: add fragile and use_babel variables.
4871
4872         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4873         * buffer.C (makeLaTeXFile): store this returned value in
4874         runparams.use_babel, thus passing it to the inset::latex methods.
4875
4876         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4877         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4878
4879         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4880         longer has a fragile arg, as it is stored in runparams.fragile.
4881
4882         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4883         moving_arg parameter as the data is stored in runparams.fragile.
4884
4885         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4886         a fragile parameter as the data is stored in runparams.fragile.
4887
4888 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4889
4890         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4891
4892 2003-05-22  Angus Leeming  <leeming@lyx.org>
4893
4894         * latexrunparams.h: add a 'bool nice' which defaults to false.
4895
4896         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4897         now encapsulated within runparams.
4898
4899         * bufferlist.C (updateIncludedTeXfiles):
4900         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4901
4902 2003-05-22  Angus Leeming  <leeming@lyx.org>
4903
4904         * latexrunparams.h: new file containing struct LatexRunParams.
4905         * Makefile.am: add new file.
4906
4907         * LaTeX.[Ch] (c-tor, run):
4908         * buffer.[Ch] (makeLaTeXFile):
4909         * bufferlist.[Ch] (updateIncludedTeXfiles):
4910         * converter.C (convert, scanLog):
4911         * converter.[Ch] (runLaTeX):
4912         * exporter.C (Export):
4913         * paragraph.[Ch] (simpleTeXOnePar):
4914         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4915         * paragraph_funcs.[Ch] (latexParagraphs):
4916         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4917         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4918         pass around a LatexRunParams parameter.
4919
4920 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4921
4922         * paragraph.[Ch]: remove unused constructor
4923
4924         * ParagraphList.C (erase): new function, taking two iterators
4925
4926 2003-05-22  André Pönitz  <poenitz@gmx.net>
4927
4928         * undo_funcs.C: remove duplicated code
4929
4930         * iterator.[Ch]: operator=
4931
4932 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4933
4934         * tabular.C (SetMultiColumn): ws changes
4935
4936         * rowpainter.C (paintFirst): get rid of a ->previous
4937
4938         * lyx_cb.C (getPossibleLabel): parlist simplification
4939
4940         * BufferView.C (ChangeInsets): simplify slightly.
4941
4942 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4943
4944         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4945         * lfuns.h: new LFUN_SPACE
4946         * lyxfunc.C: protected space has a new lfun
4947         * paragraph_funcs.C: read new space insets
4948         * text3.C:
4949         * factory.C: handle new space insets
4950
4951 2003-05-22  André Pönitz  <poenitz@gmx.net>
4952
4953         * BufferView.C:
4954         * BufferView_pimpl.C:
4955         * buffer.[Ch]:
4956         * lyxfunc.C:
4957         * undo_funcs.C: return a ParIterator from getParFromID.
4958
4959         * iterators.[Ch]: add two const's
4960
4961 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4962
4963         * toc.C (getTocList): adjust
4964
4965         * iterators.[Ch]: rework for parlist
4966
4967         * buffer.C (par_iterator_begin): adjust
4968         (par_iterator_end): adjust
4969
4970         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4971
4972         * BufferView.C (removeAutoInsets): adjust
4973         (ChangeInsets): adjust
4974
4975 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4976
4977         * text.C (top_y): fix bug 1110
4978
4979 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4980
4981         * errorlist.[Ch]: added
4982         * buffer.C:
4983         * BufferView.[Ch]:
4984         * BufferView_pimpl.C:
4985         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4986         instead
4987
4988 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4989
4990         * Makefile.am: ensure that lyx is relinked upon changes to the
4991         various "convenience" libs.
4992
4993 2003-05-20  Angus Leeming  <leeming@lyx.org>
4994
4995         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4996         files are compiled in alphabetical order again.
4997
4998         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4999
5000 2003-05-19  Angus Leeming  <leeming@lyx.org>
5001
5002         * gettext.[Ch]: remove "char const * _(char const *)".
5003
5004 2003-05-19  André Pönitz  <poenitz@gmx.net>
5005
5006         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5007
5008         * Makefile.am:
5009         * BufferView.C:
5010         * DepTable.h:
5011         * LaTeXFeatures.C:
5012         * buffer.C:
5013         * lyxfont.C:
5014         * lyxlex.h:
5015         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5016
5017 2003-05-19  André Pönitz  <poenitz@gmx.net>
5018
5019         * buffer.C:
5020         * lyxlayout.[Ch]:
5021         * lyxtextclass.[Ch]:
5022         * paragraph.C:
5023         * paragraph_funcs.[Ch]:
5024         * text2.C:
5025         * text3.C: more insetenv work
5026
5027 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5028
5029         * ParagraphParameters.C (params2string): small bug fixed
5030
5031 2003-05-16  André Pönitz  <poenitz@gmx.net>
5032
5033         * debug.C:
5034         * bufferview_funcs.C: patch from Kornel Benko to prevent
5035           crash when _(...) is called twice in a statement
5036
5037 2003-05-16  André Pönitz  <poenitz@gmx.net>
5038
5039         * BufferView.C:
5040         * lyxfunc.C:
5041         * text.C:
5042         * text2.C:
5043         * text3.C:
5044         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5045
5046 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5047
5048         * lyx_main.C (init): remove spurious static_cast
5049
5050 2003-05-14  André Pönitz  <poenitz@gmx.net>
5051
5052         * BufferView.C: fix format string
5053
5054 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5055
5056         * BufferView.[Ch] (insertErrors): removed
5057         * BufferView.[Ch] (showErrorList): added
5058         * buffer.C (runChkTeX):
5059         * converter.C (scanLog): call showErrorList instead of inserterrors
5060
5061 2003-05-13  André Pönitz  <poenitz@gmx.net>
5062
5063         * BufferView_pimpl.C:
5064         * buffer.C:
5065         * bufferview_func.C:
5066         * MenuBackend.C:
5067         * lyxfunc.C:
5068         * lyxrc.C:
5069         * tex-accent.C:
5070         * text3.C:
5071         * toc.C:
5072         * tabular_funcs.h: tostr() from its own header
5073
5074         * ParagraphParameters.C:
5075         * ToolbarBackend.C:
5076         * bufferparams.C:
5077         * format.C:
5078         * lyxlex_pimpl.C:
5079         * text3.C: STRCONV()
5080
5081 2003-05-12  André Pönitz  <poenitz@gmx.net>
5082
5083         * BufferView.C:
5084         * BufferView_pimpl.C:
5085         * CutAndPaste.C:
5086         * LaTeX.C:
5087         * LaTeXFeatures.C:
5088         * ParagraphParameters.C:
5089         * buffer.C:
5090         * bufferlist.C:
5091         * bufferparams.C:
5092         * bufferview_funcs.C:
5093         * converter.C:
5094         * counters.C:
5095         * debug.C:
5096         * exporter.C:
5097         * format.C:
5098         * importer.C:
5099         * lyx_cb.C:
5100         * lyx_main.C:
5101         * lyxfont.C:
5102         * lyxfunc.C:
5103         * lyxvc.C:
5104         * paragraph.C:
5105         * paragraph_funcs.C:
5106         * tabular.C:
5107         * tabular_funcs.C:
5108         * text2.C:
5109         * text3.C:  boost::format -> bformat  all over the place
5110
5111
5112 2003-05-09  André Pönitz  <poenitz@gmx.net>
5113
5114         * LColor.[Ch]: Pimpl the #include <map> away
5115
5116 2003-05-09  John Levon  <levon@movementarian.org>
5117
5118         * bufferlist.C: never remove emergency saves
5119
5120 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5121
5122         * Makefile.am: better lib building
5123
5124 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5125
5126         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5127         instead.
5128         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5129         (simpleTeXSpecialChars): adjust
5130         (simpleTeXSpecialChars): adjust
5131         * paragraph.C (simpleTeXOnePar): adjust
5132         * buffer.C (makeLaTeXFile): adjust
5133
5134         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5135
5136         * text2.C (changeDepth): parlist cleanup
5137         (getColumnNearX): ditto
5138
5139         * rowpainter.C (getLabelFont): parlist cleanup
5140
5141         * bufferlist.C (newFile): parlist cleanup
5142
5143         * CutAndPaste.C (eraseSelection): parlist cleanup
5144
5145         * BufferView_pimpl.C (trackChanges): parlist cleanup
5146         (dispatch): ditto
5147
5148         * BufferView.C (lockInset): parlist cleanup.
5149         (ChangeInsets): ditto
5150
5151 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5152
5153         * CutAndPaste.h: Update file header.
5154
5155         * CutAndPaste.C: Update file header.
5156         Store the parts cut out of the Document in a limited_stack.
5157         (copySelection): adjust
5158         (pasteSelection): new function, takes the index in the limited stack.
5159         (nrOfParagraphs): adjust
5160         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5161         simplify error inset insertion.
5162         (checkPastePossible): adjust
5163
5164 2003-05-06  John Levon  <levon@movementarian.org>
5165
5166         * text2.C: don't cast wrap inset to float
5167
5168 2003-05-05  André Pönitz  <poenitz@gmx.net>
5169
5170         * iterator.C:
5171         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5172
5173         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5174           few naked Paragraph *.
5175
5176 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5177
5178         * bufferparams.C: Output warning if a document with missing
5179         TeX document class is loaded
5180         * exporter.C: Disable TeX exports if the document class is missing
5181         * lyxtextclass.C:
5182         * lyxtextclass.h:
5183         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5184         isTeXClassAvailable()
5185
5186 2003-05-03  John Levon  <levon@movementarian.org>
5187
5188         * BufferView.h:
5189         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5190         explicit cursor show/hide
5191
5192         * BufferView_pimpl.h:
5193         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5194         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5195
5196         * lyxfunc.C: hide cursor before dispatching.
5197
5198         * lyx_cb.C:
5199         * lyxfind.C:
5200         * text.C:
5201         * text3.C: remove explicit cursor hides
5202
5203 2003-05-02  André Pönitz  <poenitz@gmx.net>
5204
5205         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5206
5207         * undo_funcs.C:
5208         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5209           linked lists
5210
5211         * text2.C: tiny whitespace
5212
5213 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5214
5215         * undo_funcs.C: almost only ws changes.
5216
5217         * ParagraphList.C (splice): just return if pl is empty.
5218
5219 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5220
5221         * ParagraphList.C (splice): new function.
5222
5223         * CutAndPaste.C (pasteSelection): use it
5224
5225 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5226
5227         * CutAndPaste.C (pasteSelection): remove the last next and
5228         previous from this file.
5229
5230 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5231
5232         * CutAndPaste.C (pasteSelection): more clean up, user proper
5233         ParagraphList functions for pasteing.
5234
5235         * ParagraphList.C (insert): new function, three arg insert
5236
5237 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5238
5239         * ParagraphList.C (insert): new function, three arg insert
5240
5241         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5242         not on paragraphs.
5243
5244 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5245
5246         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5247
5248 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5249
5250         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5251
5252 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5253
5254         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5255         (copySelection): clean up a bit.
5256         (pasteSelection): use make_pair
5257
5258         * ParagraphList.C (ParagraphList): implement copy constructor
5259         (operator=): implement, base on copy constructor.
5260         (assign): new func
5261
5262         * paragraph.C (erase): return a bool
5263
5264         * paragraph_pimpl.C (erasePos): remove function, move contents...
5265         (erase): ... here. Return a bool.
5266         (erase): call erase instead of erasePos.
5267
5268 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5269
5270         * ParagraphList.h: define PitPosPair
5271         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5272         ParagraphList, fix a bug on pasting multiple pars
5273         * text2.C: change interface to C&P
5274
5275 2003-04-30  André Pönitz  <poenitz@gmx.net>
5276
5277         * undo_func.C: revert part of yesterday's patch 2
5278
5279 2003-04-30  John Levon  <levon@movementarian.org>
5280
5281         * LColor.C: s/tabular/table/
5282
5283 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5284
5285         * text3.C (dispatch): do not convert iterator -> pointer
5286         * undo_funcs.C (setCursorParUndo): ditto
5287         * text_funcs.C (transposeChars): ditto
5288
5289         * text2.C (setLayout): ws changes only
5290
5291         * text.C (breakParagraph): do not convert iterator -> pointer
5292         (insertChar): ditto
5293         (acceptChange): ditto
5294         (rejectChange): ditto
5295         (changeCase): ditto
5296         (Delete): ditto
5297         (backspace): ditto
5298
5299         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5300         pointer
5301
5302 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5303
5304         * text3.C (gotoInset): YABG (yet another bad getChar)
5305
5306 2003-04-29  André Pönitz  <poenitz@gmx.net>
5307
5308         * paragraph.h: make operator= private unimplemented as long as
5309           it is unusable
5310
5311         * ParagraphList.C: whitespace
5312
5313         * paragraph.[Ch]:
5314         * paragraph_pimpl.[Ch]:
5315         * paragraph_funcs.C:
5316         * CutAndPaste.C:
5317         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5318
5319         * text2.C:
5320           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5321
5322 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5323
5324         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5325         * paragraph.[Ch] (erase):
5326         * paragraph_pimpl.[Ch] (erase): change return type and value
5327         * text2.C (cutSelection): some rework
5328
5329 2003-04-28  John Levon  <levon@movementarian.org>
5330
5331         * bufferlist.C: changes for unsaved changes dialog
5332
5333 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5334
5335         * bufferlist.C (newFile): set language (messages_) for new
5336         documents also.
5337
5338         * buffer.C (readFile): ws changes only.
5339
5340 2003-04-28  André Pönitz  <poenitz@gmx.net>
5341
5342         * undo_funcs.C:
5343         * lyxfunc.C:
5344         * buffer.[Ch]:
5345         * BufferView_pimpl.C:
5346         * BufferView.C: getParFromID related ParagraphList::iterator changes
5347
5348 2003-04-28  André Pönitz  <poenitz@gmx.net>
5349
5350         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5351           Changes
5352
5353 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5354
5355         * messages.C: remove one more localedir class variable.
5356
5357 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5358
5359         * messages.C (getLocaleDir): singleton generation function
5360         (Pimpl): use it.
5361         (Messages): add a default constructor.
5362
5363         * main.C (main): do not setup localedir here, do not call
5364         gettext_init.
5365
5366         * gettext.C (_): use it.
5367         (gettext_init): delete funciton
5368
5369 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5370
5371         * gettext.C (getLyXMessages): new singleton generating function.
5372
5373         * buffer.C (updateDocLang): adjust
5374
5375         * Makefile.am (messages.o): add target
5376         (main.o): remove target
5377
5378 2003-04-27  John Levon  <levon@movementarian.org>
5379
5380         * bufferlist.C:
5381         * lyx_cb.C:
5382         * lyxfunc.C:
5383         * lyxvc.C: specify cancel button in Alert::prompt
5384
5385 2003-04-26  John Levon  <levon@movementarian.org>
5386
5387         * text3.C:
5388         * lyxfunc.C:
5389         * lfuns.h:
5390         * LyXAction.C: add LFUN_INSET_SETTINGS
5391
5392         * lyxfunc.C: don't enable tabular-feature when there's
5393         just any locking inset
5394
5395 2003-04-26  John Levon  <levon@movementarian.org>
5396
5397         * bufferlist.C: re-add Cancel to buffer close question
5398
5399         * lyxfunc.C: fix import UI a bit
5400
5401 2003-04-25  John Levon  <levon@movementarian.org>
5402
5403         * gettext.C: remove the broken asserts for now
5404
5405 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5406
5407         * messages.C: make case where setlocale cannot comply work better.
5408
5409         * buffer.C (updateDocLang): new function
5410         (changeLanguage): use it
5411         (readFile): use it
5412
5413         * text2.C (setCounter): use B_ a bit.
5414
5415         * lyxlayout.C (Read): be sure to trim the label strings.
5416
5417         * messages.C (Messages): fix typo in comment
5418
5419         * buffer.C (readFile): set message_ after file is loaded.
5420         (makeDocBookFile): remove double return
5421         (changeLanguage): reset message_ upon language change.
5422         (B_): new func, use this to get translated buffer strings.
5423
5424         * main.C: add myself and Jean Marc as authors.
5425
5426 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5427
5428         * messages.[hC]: pimplify Messages, and three different pimpls to be
5429         used in different circumstances.
5430
5431         * gettext.[Ch]: change for use with new message code.
5432
5433 2003-04-24 André Pönitz <poenitz@gmx.net>
5434
5435         * factory.C: support for eqref
5436
5437 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5438
5439         * messages.[Ch]: add missing char
5440
5441         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5442
5443         * messages.[Ch]: New files
5444
5445 2003-04-18  John Levon  <levon@movementarian.org>
5446
5447         * BufferView.h:
5448         * BufferView.C:
5449         * BufferView_pimpl.C:
5450         * lfuns.h:
5451         * LyXAction.C:
5452         * lyxtext.h:
5453         * text2.C: remove layout-copy/paste (bug 778)
5454
5455 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5456
5457         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5458
5459 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5460
5461         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5462         if they succeed. Act accordingly.
5463
5464 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5465
5466         * text2.C (setCharFont): adjust
5467         (setCounter): adjust
5468         (insertStringAsLines): adjust
5469
5470         * text.C (leftMargin): adjust
5471         (setHeightOfRow): adjust
5472
5473         * rowpainter.C (paintFirst): adjust
5474         (paintLast): adjust
5475
5476         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5477         (outerHook): ditto
5478         (isFirstInSequence): ditto
5479         (getEndLabel): ditto
5480         (outerFont): adjust
5481
5482         * paragraph.C (getParLanguage): comment out some hard stuff.
5483
5484         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5485         (sgmlError): ditto
5486         (simpleDocBookOnePar): ditto
5487         (makeDocBookFile): use ParagraphList::iterator
5488
5489         * CutAndPaste.C (pasteSelection): adjust
5490
5491 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5492
5493         * text2.C (getFont): adjust
5494         (getLayoutFont): adjust
5495         (getLabelFont): adjust
5496
5497         * paragraph_funcs.C (TeXOnePar): adjust
5498
5499         * buffer.C (simpleLinuxDocOnePar): adjust
5500         (simpleDocBookOnePar): adjust
5501
5502         * CutAndPaste.C (pasteSelection): adjust
5503
5504         * BufferView.C (getEncoding): adjust
5505
5506         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5507
5508 2003-04-16  John Levon  <levon@movementarian.org>
5509
5510         * lyxfind.C: use parlist stuff for search/changes
5511
5512 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5513
5514         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5515
5516         * text2.C (deleteEmptyParagraphMechanism): adjust
5517
5518         * text2.[Ch] (ownerParagraph): delete func (both of them
5519
5520 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5521
5522         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5523
5524 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5525
5526         * ParagraphList.C: prepare for NO_NEXT
5527
5528 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5529
5530         * text2.C (getFont): adjust
5531         (getLayoutFont): adjust
5532         (getLabelFont): adjust
5533
5534         * paragraph.C (getFont): adjust
5535         (getLabelFont): adjust
5536         (getLayoutFont): adjust
5537
5538         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5539
5540 2003-04-15  John Levon  <levon@movementarian.org>
5541
5542         From Angus Leeming
5543
5544         * lyx_main.C: handle Include in .ui files
5545
5546 2003-04-15  John Levon  <levon@movementarian.org>
5547
5548         * MenuBackend.C: make the doc files length shorter
5549
5550         * ToolbarBackend.h:
5551         * ToolbarBackend.C: handle toolbar placement flags,
5552         Minibuffer
5553
5554 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5555
5556         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5557         adjust
5558
5559         * paragraph_funcs.C (TeXOnePar): adjust
5560
5561         * paragraph.C (getLabelFont): add outerfont arg, adjust
5562         (getLayoutFont): ditto
5563         (simpleTeXOnePar): adjust
5564
5565         * paragraph_pimpl.C (realizeFont): delete func
5566
5567 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5568
5569         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5570         row argument, constify cur argument.
5571
5572 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5573
5574         * text2.C (getFont): adjust
5575         (getLayoutFont): adjust
5576         (getLabelFont): adjust
5577
5578         * paragraph_funcs.C (TeXOnePar): adjust
5579         (outerFont): new func...
5580         (realizeFont): ...moved out from here, changed this to facilitate
5581         transition
5582
5583         * paragraph.C (getFont): take outerfont as arg, adjust
5584         (simpleTeXOnePar): add outerfont arg, adjust
5585
5586         * buffer.C (simpleLinuxDocOnePar): adjust
5587         (simpleDocBookOnePar): adjust
5588
5589         * CutAndPaste.C (pasteSelection): adjust
5590
5591         * BufferView.C (getEncoding): adjust
5592
5593 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5594
5595         * text2.C (setCharFont): adjust
5596         (setCounter): adjust
5597
5598         * text.C (leftMargin): adjust
5599         (setHeightOfRow): adjust
5600
5601         * rowpainter.C (paintFirst): adjust
5602         (paintLast): adjust
5603
5604         * paragraph_pimpl.C (realizeFont): adjust
5605
5606         * paragraph.C (isFirstInSequence): move from here...
5607         * paragraph_funcs.C (isFirstInSequence): ...to here
5608
5609         * paragraph.C (outerHook): move from here...
5610         * paragraph_funcs.C (outerHook): ...to here
5611
5612         * paragraph.C (depthHook): move from here...
5613         * paragraph_funcs.C (depthHook): ...to here
5614
5615         * paragraph.C (getEndLabel): move from here...
5616         * paragraph_funcs.C (getEndLabel): ...to here
5617
5618         * text2.C (realizeFont): move from here...
5619         * paragraph_funcs.C (realizeFont): ...to here
5620
5621 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5622
5623         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5624
5625 2003-04-14  Angus Leeming  <leeming@lyx.org>
5626
5627         * LColor.[Ch]: scrap LColor mathcursor.
5628
5629 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5630
5631         * lyxlex.[Ch] (text): delete function
5632         * trans.C (Load): adjust
5633         * paragraph_funcs.C (readParToken): adjust
5634
5635 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5636
5637         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5638         vector<char> instead of a char[].
5639
5640         * lyxlex_pimpl.C (getString): adjust
5641         (next): adjust
5642         (lex): use getString
5643         (eatLine): adjust
5644         (nextToken): adjust
5645
5646         * lyxlex.C (text): use pimpl_->getString()
5647         (getBool): ditto
5648         (findToken): ditto
5649
5650 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5651
5652         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5653         (makeFontEntriesLayoutSpecific): temp var for par.size()
5654         (setLayout): temp var for ownerParagraphs().end()
5655         (fullRebreak): temp var for rows().end()
5656         (selectionAsString): temp var for boost::next(startpit), realize
5657         that the while really is a regular for loop.
5658         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5659         setCursor in one place.
5660         (setParagraph): temp vr for ownerParagraphs().end()
5661         (updateCounters): make the while loop a for loop
5662         (cutSelection): temp var for ownerParagraphs().end()
5663         (updateInset): make the do {} while() a regular for loop
5664         (getCursorX): use temp vars
5665         (setCurrentFont): use temp vars
5666         (getColumnNearX): use temp vars
5667
5668 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5669
5670         * text.C (transformChar): use temp var for getChar
5671         (computeBidiTables): use temp var for row->par()
5672         (fill): move temp vars for row->par() and pit->layout() earlier in
5673         the function.
5674         (labelFill): use temp var for row->par()
5675         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5676         asc and desc, realize that pit never changes and that firstpit is
5677         just a duplicate and not needed. Exchange rit->par() with pit in a
5678         lot of places.
5679         (breakAgain): use a temp var for boost::next(rit)
5680         (breakAgainOneRow): ditto
5681         (breakParagraph): use a temp var for rows().begin()
5682         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5683         (cursorRightOneWord): use temp var for cursor.par() and
5684         cursor.pos(), remove usage of tmpcursor.
5685         (cursorLeftOneWord): use temp var for cursor.par() and
5686         cursor.pos() only set cur at end of function.
5687
5688 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5689
5690         * text.C, text2.C: exchange all usage of Paragraph::next with
5691         boost::next(ParagraphList::iterator)
5692
5693         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5694
5695         * text2.C (cursorTop): simplify implementation
5696         (cursorBottom): ditto
5697         (setParagraph): use ParagraphList::iterator
5698         (setCurrentFont): adjust
5699         (getColumnNearX): adjust
5700         (cursorRight): adjust
5701         (cursorLeft): remove usage of Paragraph::previous
5702         (cursorUpParagraph): ditto
5703         (deleteEmptyParagraphMechanism): slight cleanup
5704
5705         * text.C (isBoundary): take a Paragraph const & instead of a
5706         pointer as arg.
5707         (addressBreakPoint): ditto
5708         (leftMargin): remove usage of Paragraph::previous.
5709         (setHeightOfRow): ditto
5710         (cursorLeftOneWord): ditto
5711         (selectNextWordToSpellcheck): ditto
5712         (Delete): ditto
5713         (backspace): ditto
5714         (breakParagraph): remove one usage of Paragraph::next
5715         (redoParagraph): ditto
5716         (acceptChange): ditto
5717         (insertChar): adjust
5718         (rowBreakPoint): adjust
5719
5720         * bufferview_funcs.C (toggleAndShow): adjust
5721
5722 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5723
5724         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5725         methods to access it.
5726         * lyxtext.h:
5727         * text.C: Added updateRowPositions to compute all row positions.
5728         Make top_y and getRowNearY() to use the cached y position
5729
5730 2003-04-11  John Levon  <levon@movementarian.org>
5731
5732         * text.C (rowBreakPoint): reintroduce the labelEnd
5733         checks, code copied from the row fill stuff. Deep voodoo.
5734
5735         * text.C (fill): add a comment and debugging for the
5736         next poor soul.
5737
5738 2003-04-11  John Levon  <levon@movementarian.org>
5739
5740         * text.C: make sure fullrow insets get wrapped to the next line,
5741         even when they're in a manual label
5742
5743 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5744
5745         * text2.C (insertParagraph): make it take ParagraphList::iterator
5746         as arg.
5747         (setLayout): make it return ParagraphList::iterator
5748         (redoParagraphs): ditto
5749         (setCounter): ditto
5750         (checkParagraph): ditto
5751
5752         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5753
5754         * text2.C: adjust several funcs.
5755         (realizeFont): take a ParagraphList::iterator as arg.
5756         (getLayoutFont): ditto
5757         (getLabelFont): ditto
5758         (setCharFont): ditto
5759
5760         * text.C: adjust several funcs.
5761
5762 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5763
5764         * text.C (selectNextWordToSpellcheck): don't accidentally
5765         skip insets
5766
5767 2003-04-10  John Levon  <levon@movementarian.org>
5768
5769         * ToolbarBackend.C (getIcon): special handling for
5770         LFUN_MATH_DELIM
5771
5772 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5773
5774         * text2.C (cursorRight): a getChar assert fixed
5775
5776 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5777
5778         * text2.C (getFont): change to take a ParagraphList::iterator
5779         instead of Paragraph*
5780         Adjust several functions.
5781
5782         * text.C (transformChar): change to take a ParagraphList::iterator
5783         instead of Paragraph*
5784         (singleWidth): ditto
5785         Adjust several functions.
5786
5787         * rowpainter.C: adjust several functions
5788         * rowpainter.h:store a ParagraphList::iterator and not a
5789         Paragraph&.
5790
5791
5792 2003-04-09  John Levon  <levon@movementarian.org>
5793
5794         * lyxfunc.C:
5795         * lfuns.h:
5796         * LyXAction.h:
5797         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5798         and the "help" bits as well
5799
5800 2003-04-09  John Levon  <levon@movementarian.org>
5801
5802         * ToolbarBackend.h:
5803         * ToolbarBackend.C: allow multiple toolbars
5804
5805 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5806
5807         * undo_funcs.C (setCursorParUndo): adjust
5808
5809         * text_funcs.C (transposeChars): adjust
5810
5811         * text3.C (gotoNextInset): adjust
5812         (dispatch): adjust
5813
5814         * text2.C (setLayout): adjust
5815         (changeDepth): adjust
5816         (setFont): adjust
5817         (redoParagraphs): adjust
5818         (selectionAsString): adjust
5819         (setParagraph): adjust
5820         (insertInset): adjust
5821         (cutSelection): adjust
5822         (copySelection): adjust
5823         (pasteSelection): adjust
5824         (insertStringAsLines): adjust
5825         (updateInset): adjust
5826         (setCursor): change to take a ParagraphList::iterator parameter
5827         (setCursorIntern): change to take a ParagraphList::iterator parameter
5828         (setCurrentFont): adjust
5829         (cursorLeft): adjust
5830         (cursorRight): adjust
5831         (deleteEmptyParagraphMechanism): adjust
5832
5833         * text.C (breakParagraph): adjust
5834         (insertChar): adjust
5835         (acceptChange): adjust
5836         (rejectChange): adjust
5837         (selectNextWordToSpellcheck): adjust
5838         (changeCase): adjust
5839         (Delete): adjust
5840         (backspace): adjust
5841
5842         * lyxfind.C (SearchForward): adjust
5843         (SearchBackward): adjust
5844         (nextChange): adjust
5845
5846         * lyxcursor.C (par): adjust
5847
5848         * lyxcursor.h: store a ParagraphList::iterator instead of a
5849         Paragraph*
5850
5851         * lyx_cb.C (getPossibleLabel): adjust
5852
5853         * bufferview_funcs.C (toggleAndShow): adjust
5854
5855         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5856         (dispatch): adjust
5857
5858         * BufferView.C (removeAutoInsets): adjust
5859         (lockedInsetStoreUndo): adjust
5860
5861 2003-04-09  John Levon  <levon@movementarian.org>
5862
5863         * ToolbarBackend.C: try icon without argument
5864         if with argument fails
5865
5866 2003-04-08  John Levon  <levon@movementarian.org>
5867
5868         * ToolbarBackend.h:
5869         * ToolbarBackend.C: add getIcon(), handle tooltip,
5870         and change from "Icon" to "Item".
5871
5872 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5873
5874         * BufferView.C (lockInset): another bad getchar crunched
5875
5876 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5877
5878         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5879         again)
5880
5881 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5882
5883         * lyxfind.C (searchForward, searchBackwards): bug 782
5884
5885 2003-04-07  John Levon  <levon@movementarian.org>
5886
5887         * paragraph.C: remove dead comment
5888
5889         * text.C: remove troublesome depth-fiddling code
5890         in leftMargin() and rightMargin() (bug 1017)
5891
5892         * text.C: fix breaking of rows in nested lists
5893         (bug 1004)
5894
5895         * text2.C (updateCounters): fix up depth values
5896         (bug 1013)
5897
5898 2003-04-07  John Levon  <levon@movementarian.org>
5899
5900         * BufferView_pimpl.C: clear message when doc finishes resizing,
5901         and after a mouse event
5902
5903         * lyxfunc.C: clear message after exiting inset
5904
5905 2003-04-07  John Levon  <levon@movementarian.org>
5906
5907         * bufferview_funcs.C: show math status not outside
5908         status in the statusbar
5909
5910 2003-04-07  John Levon  <levon@movementarian.org>
5911
5912         * lyxfunc.C: note status changed after a depth change
5913
5914 2003-04-04  Angus Leeming  <leeming@lyx.org>
5915
5916         * LaTeX.h: move AuxInfo operator==, != out of line.
5917         Remove LaTeX virtual destructor; nothing derives from it.
5918         Move operator()() out of public area and rename it startscript().
5919         Change protected for private.
5920
5921 2003-04-04  Angus Leeming  <leeming@lyx.org>
5922
5923         * lyxfunc.C:
5924         * text2.C: remove unneeded #includes.
5925
5926 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5927
5928         * text2.C (dEPM): fix the heigth of the next row
5929
5930 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5931
5932         * text.C: squashed an invalid getChar requester + some ws changes
5933
5934 2003-04-03  John Levon  <levon@movementarian.org>
5935
5936         * bufferview_funcs.h:
5937         * bufferview_funcs.C:
5938         * lyxfunc.C:
5939         * lyxtext.h:
5940         * text2.C: make getStatus work for the env depth lfuns
5941
5942 2003-04-03  John Levon  <levon@movementarian.org>
5943
5944         * bufferview_funcs.h:
5945         * bufferview_funcs.C:
5946         * lyxfunc.C:
5947         * lyxtext.h:
5948         * text2.C: parlistize decDepth(), by merging it with incDepth()
5949
5950 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5951
5952         * lyxrow.h: store a ParagraphList::iterator instead of a
5953         Paragraph* and adjust other class functions to suit.
5954
5955         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5956         above.
5957
5958 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5959
5960         * text2.C (setCursor): do not anchor to cursor row for the time being
5961
5962 2003-04-02  John Levon  <levon@movementarian.org>
5963
5964         * LyXAction.C:
5965         * lfuns.h:
5966         * lyx_main.C:
5967         * lyxtext.h:
5968         * text.C:
5969         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5970
5971 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5972
5973         * paragraph.h: make ParagraphList and ParagraphList::iterator
5974         friends of Paragraph.
5975
5976         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5977
5978         * ParagraphList.C: Use the private next_ and previous_ from
5979         Paragraph.
5980
5981 2003-04-01  John Levon  <levon@movementarian.org>
5982
5983         * ToolbarBackend.h:
5984         * ToolbarBackend.C:
5985         * Makefile.am: rename, remove defaults gunk
5986
5987         * MenuBackend.h:
5988         * MenuBackend.C: remove defaults gunk
5989
5990         * Languages.h:
5991         * Languages.C: remove defaults gunk
5992
5993         * lyx_main.h:
5994         * lyx_main.C: error out if files couldn't be found.
5995
5996 2003-04-02  John Levon  <levon@movementarian.org>
5997
5998         * text2.C: make incDepth() use parlist
5999
6000 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6001
6002         * undo_funcs.C (firstUndoParagraph): adjust
6003
6004         * text3.C (gotoInset): adjust
6005         (dispatch): adjust, and rewrite loop.
6006
6007         * text2.C (init): adjust, and rewrite loop.
6008         (redoParagraphs): adjust
6009         (updateInset): adjust, and rewrite loop.
6010         (deleteEmptyParagraphMechanism): adjust
6011
6012         * tabular.C (LyXTabular): adjust
6013         (SetMultiColumn): adjust
6014         (TeXRow): adjust
6015
6016         * lyxtext.[Ch] (ownerParagraph): delete function
6017         (ownerParagraphs): new function returns a ParagraphList.
6018
6019         * BufferView.C (removeAutoInsets): adjust
6020         (insertErrors): adjust
6021         (setCursorFromRow): adjust
6022
6023 2003-04-01  Angus Leeming  <leeming@lyx.org>
6024
6025         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6026         in the frontends.
6027
6028 2003-04-02  John Levon  <levon@movementarian.org>
6029
6030         * lyxtext.h:
6031         * text.C:
6032         * Makefile.am:
6033         * text_funcs.h:
6034         * text_funcs.C: make transposeChars a free function
6035
6036         * lyxrow_funcs.C: remove wrong comment
6037
6038 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6039
6040         * lyxtext.h: adjust
6041         * rowpainter.C: adjust
6042         * text.C: adjust
6043         * text2.C: adjust
6044         * text3.C: adjust
6045
6046         * lyxrow_funcs. [Ch]: new files
6047
6048         * lyxrow.[Ch]: remove next and previous pointers
6049         (next,previous): remove accessor functions
6050         (isParEnd): move to lyxrow_funcs
6051         (lastPos): move to lyxrow_funcs
6052         (nextRowIsAllInset): move to lyxrow_funcs
6053         (lastPrintablePos): move to lyxrow_funcs
6054         (numberOfSeparators): move to lyxrow_funcs
6055         (numberOfHfills): move to lyxrow_funcs
6056         (numberOfLabelHfills): move to lyxrow_funcs
6057         (hfillExpansion): move to lyxrow_funcs
6058
6059         * lyxfunc.C: adjust
6060
6061         * bufferview_funcs.C (toggleAndShow): adjust
6062
6063         * RowList.h: Remove class RowList from file leave just a
6064         std::list<Row>.
6065
6066         * RowList.C: delete file
6067
6068         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6069         and lyxrow_funcs.h
6070
6071 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6072
6073         * text3.C (cursorPrevious): adjust
6074         (cursorNext): adjust
6075         (dispatch): adjust
6076
6077         * text2.C (redoHeightOfParagraph): adjust
6078         (redoDrawingOfParagraph): adjust
6079         (setCursor): adjust
6080
6081         * text.C (breakParagraph): adjust
6082         (insertChar): adjust
6083         (backspace): adjust
6084
6085         * rowpainter.C (RowPainter): adjust
6086         (leftMargin): simplify and adjust
6087         (most rowpainter functions): adjust.
6088
6089         * rowpainter.h: store the row as RowList::iterator not as Row*
6090
6091         * lyxcursor.C (row): taka RowList::iterator as arg
6092         (irow): ditto
6093
6094         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6095         of Row*.
6096
6097 2003-04-01  Angus Leeming  <leeming@lyx.org>
6098
6099         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6100         stuff like bool Bool.
6101
6102 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6103
6104         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6105         rewrite a loop
6106
6107 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6108
6109         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6110         RowList::iterator.
6111
6112         * lyxtext.h (rows): drop one version and leve a const variant that
6113         returns a RowList::iterator.
6114
6115 2003-03-31  Angus Leeming  <leeming@lyx.org>
6116
6117         * text.C (fill): ensure that the signature is the same as that in the
6118         header file.
6119
6120 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6121
6122         * text2.C (redoParagraphs): adjust
6123         (updateCounters): adjust
6124         (checkParagraph): adjust
6125         (getColumnNearX): adjust and reformat a bit.
6126
6127         * text.C (top_y): adjust
6128         (workWidth): adjust
6129         (leftMargin): adjust
6130         (prepareToPrint): adjust
6131         (getRow): adjust
6132         (getRowNearY): adjust
6133
6134         * lyxtext.h: make rowlist_ mutable.
6135
6136         * RowList.h: add const_iterator
6137         * RowList.C: adjust for RowList::const_iterator.
6138
6139         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6140         adjust.
6141
6142 2003-03-31  John Levon  <levon@movementarian.org>
6143
6144         * lyxrc.h:
6145         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6146
6147         * lyx_main.C: set default fonts from using lyx_gui funcs
6148
6149         * exporter.C: pdf_mode moved from lyxrc
6150
6151         * lyx_cb.C:
6152         * lyxfunc.C: changes from above
6153
6154 2003-03-31  John Levon  <levon@movementarian.org>
6155
6156         * lyx_main.C: fix to the last fix
6157
6158 2003-03-31  John Levon  <levon@movementarian.org>
6159
6160         * bufferlist.C: "Load original" -> "Load Original"
6161
6162         * converter.C:
6163         * exporter.C:
6164         * importer.C:
6165         * lyx_main.C:
6166         * format.C: more Alert cleanups
6167
6168 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6169
6170         * text2.C (removeParagraph): make it take a RowList::iterator as
6171         arg, adjust.
6172         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6173         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6174
6175         * text.C (anchor_row): make it take a RowList::iterator as arg,
6176         adjust.
6177         (computeBidiTables): make it take a const reference to Row instead
6178         of Row pointer, adjust.
6179         (leftMargin): make it take a RowList::iterator as arg, adjust.
6180         (rowBreakPoint): adjust
6181         (breakAgainOneRow): make it take a RowList::iterator as arg,
6182         adjust.
6183         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6184
6185         * bufferview_funcs.C (toggleAndShow): adjust
6186
6187 2003-03-30  John Levon  <levon@movementarian.org>
6188
6189         * Makefile.am:
6190         * BoostFormat.h:
6191         * boost-inst.C: moved to support
6192
6193         * several files: changes as a result
6194
6195 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6196
6197         * text2.C (LyXText): adjust.
6198         (init): adjust
6199         (removeRow): make it take a RowList::iterator as arg, adjust.
6200         (fullRebreak): adjust
6201         (deleteEmptyParagraphMechanism): adjust
6202         (clearPaint): adjust
6203         (postPaint): adjust
6204
6205         * text.C (top_y): adjust
6206         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6207         (breakAgain): make it take a RowList::iterator as arg, adjust.
6208         (breakParagraph): adjust
6209         (insertChar): adjust
6210         (backspace): adjust
6211
6212         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6213         need_break_row, and refresh_row.
6214
6215         * text3.C (dispatch): adjust
6216
6217         * text2.C (checkParagraph): adjust
6218         (setCursor): adjust
6219         (setCursorFromCoordinates): adjust
6220
6221         * text.C (top_y): adjust
6222         (workWidth): adjust
6223         (getRow): make it return a RowList::iterator, adjust
6224         (getRowNearY): make it return a RowList::iterator, adjust
6225
6226         * text2.C (init): adjust
6227         (insertRow): remove function
6228         (insertParagraph): adjust
6229         (redoParagraphs): adjust
6230         (fullRebreak): adjust
6231         (updateCounters): adjust
6232
6233         * text.C (top_y): rewrite to use RowList iterators.
6234         (top_y): adjust
6235         (setHeightOfRow): rewrite to sue RowList iterators.
6236         (appendParagraph): adjust
6237         (breakAgain): adjust
6238         (breakAgainOneRow): adjust
6239         (breakParagraph): adjust
6240         (getRow): adjust
6241         (getRowNearY): adjust, and remove commented code.
6242
6243         * lyxtext.h (firstRow): delete function
6244         (lastRow): delete function
6245         (rows): new function (const and non-const versions.)
6246         (insertRow): delete function
6247
6248         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6249
6250 2003-03-29  John Levon  <levon@movementarian.org>
6251
6252         * BufferView_pimpl.C: always update scrollbar top
6253         because pasting text when we're anchored could mean we
6254         miss an update altogether
6255
6256 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6257
6258         * text2.C (init): use rowlist_.end() and not 0.
6259         (insertRow): change to take a RowList::iterator as arg, adjust
6260         for this.
6261         (insertParagraph): change to take a RowList::iterator as arg,
6262         adjust for this.
6263         (redoParagraphs): remove some debug msgs.
6264
6265         * text.C (appendParagraph): change to take a RowList::iterator
6266         arg, adjust for this.
6267         (breakAgain): add an assert
6268         (breakAgainOneRow): ditto
6269
6270 2003-03-29  John Levon  <levon@movementarian.org>
6271
6272         * text2.C: do not clear selection after inc/decDepth
6273         (bug 550)
6274
6275 2003-03-29  John Levon  <levon@movementarian.org>
6276
6277         * BufferView.C:
6278         * buffer.C: fix broken strerrors according to Lars
6279
6280 2003-03-29  John Levon  <levon@movementarian.org>
6281
6282         * converters.C: more Alert cleanups
6283
6284 2003-03-29  John Levon  <levon@movementarian.org>
6285
6286         * bufferview_funcs.C: remove pointless Alert
6287
6288         * buffer.C: fix confusing error message when
6289         a template is chmoded 000
6290
6291 2003-03-29  John Levon  <levon@movementarian.org>
6292
6293         * BufferView.C:
6294         * BufferView.h:
6295         * BufferView_pimpl.C: Alert fixes
6296
6297         * Makefile.am:
6298         * tabular.C:
6299         * tabular-old.C: remove unused table compat reading
6300
6301 2003-03-29  John Levon  <levon@movementarian.org>
6302
6303         * BufferView.C:
6304         * buffer.C:
6305         * lyx_cb.h:
6306         * lyx_cb.C: more Alert cleanups
6307
6308         * lyxfunc.C: don't allow chktex if not latex document
6309
6310 2003-03-29  John Levon  <levon@movementarian.org>
6311
6312         * lyx_cb.C:
6313         * BufferView.C:
6314         * buffer.C: warnings pushed down from support/,
6315         kill err_alert
6316
6317 2003-03-29  John Levon  <levon@movementarian.org>
6318
6319         * lyxfunc.C: safety check for C-r (revert)
6320
6321 2003-03-29  John Levon  <levon@movementarian.org>
6322
6323         * bufferlist.h:
6324         * bufferlist.C: several UI fixes using Alert::prompt.
6325         Fix the pointless looping quit code. Fix stupid revert
6326         behaviour (bug 938)
6327
6328         * lyxvc.h:
6329         * lyxvc.C:
6330         * lyx_cb.C: use Alert::prompt
6331
6332         * lyx_main.C: remove a silly question
6333
6334         * lyxfunc.C: remove a couple of silly questions,
6335         use Alert::prompt
6336
6337 2003-03-28  John Levon  <levon@movementarian.org>
6338
6339         * text2.C: fix bug 974 (End on empty par)
6340
6341 2003-03-28  John Levon  <levon@movementarian.org>
6342
6343         * BufferView_pimpl.C:
6344         * LyXAction.C:
6345         * lfuns.h: remove do-nothing math greek lfuns
6346
6347 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6348
6349         * lyxgluelength.h (isValidGlueLength): add default arg on
6350         parameter 2. Remove default arg from friend in class.
6351
6352         * lyxlength.h (isValidLength): add default arg on parameter 2.
6353         Remove default arg from friend in class.
6354
6355         * text2.C (LyXText): adjust, initialize refresh_row.
6356         (init): adjust
6357         (removeRow): adjust
6358         (insertRow): adjust
6359         (insertParagraph): adjst
6360         (redoParagraphs): adjust
6361         (fullRebreak): adjust
6362         (updateCounters): adjust
6363         (deleteEmptyParagraphMechanism): first attempt at fixing a
6364         crashing bug.
6365
6366         * text.C (top_y): adjust
6367         (setHeightOfRow): adjust
6368         (getRow): adjust
6369         (getRowNearY): adjust
6370
6371         * lyxtext.h: include RowList.h
6372         (~LyXText): not needed anymore, deleted.
6373         (firstRow): modify for RowList
6374         (lastRow): new function
6375         Delete firstrow and lastrow class variables, add a Rowlist
6376         rowlist_ class variable.
6377
6378         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6379         paragraph is empty.
6380
6381         * RowList.C (insert): fix case where it == begin().
6382
6383 2003-03-26  Angus Leeming  <leeming@lyx.org>
6384
6385         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6386         the thesaurus dialog.
6387
6388 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6389
6390         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6391
6392         * RowList.[Ch]: new files
6393
6394         * ParagraphList.C (erase): handle the case where it == begin
6395         correctly.
6396
6397 2003-03-25  John Levon  <levon@movementarian.org>
6398
6399         * Makefile.am:
6400         * aspell_local.h:
6401         * aspell.C: add new aspell support
6402
6403         * lyxrc.h:
6404         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6405         have it accessible.
6406
6407 2003-03-25  Angus Leeming  <leeming@lyx.org>
6408
6409         * lfuns.h:
6410         * LyXAction.C (init): new LFUN_INSET_INSERT.
6411
6412         * BufferView_pimpl.C (dispatch): split out part of the
6413         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6414
6415         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6416         LFUN_INSET_APPLY.
6417
6418 2003-03-25  Angus Leeming  <leeming@lyx.org>
6419
6420         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6421
6422 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6423
6424         * text2.C:
6425         * text3.C: remove useless row->height(0)
6426
6427 2003-03-25  John Levon  <levon@movementarian.org>
6428
6429         * lyxtext.h:
6430         * text2.C:
6431         * text3.C: rename the refreshing stuff to better names
6432
6433 2003-03-24  John Levon  <levon@movementarian.org>
6434
6435         * BufferView_pimpl.h:
6436         * BufferView_pimpl.C: update layout choice on a mouse
6437         press/release
6438
6439 2003-03-23  John Levon  <levon@movementarian.org>
6440
6441         * Makefile.am: fix commandtags.h reference
6442
6443 2003-03-22  John Levon  <levon@movementarian.org>
6444
6445         * BufferView_pimpl.C:
6446         * lyxtext.h:
6447         * rowpainter.C:
6448         * rowpainter.h:
6449         * text.C:
6450         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6451
6452 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6453
6454         * lyxtext.h:
6455         * text.C: take the rtl methods out of line
6456
6457 2003-03-21 André Pönitz <poenitz@gmx.net>
6458
6459         * metricsinfo.[Ch]: new files containing structures to be passed around
6460         during the two-phase-drawing...
6461
6462 2003-03-21 André Pönitz <poenitz@gmx.net>
6463
6464         * lyxtextclass.C: read 'environment' tag.
6465
6466 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6467
6468         * text2.C (removeRow): fix bug 964
6469
6470 2003-03-20  John Levon  <levon@movementarian.org>
6471
6472         * rowpainter.C:
6473         * text.C:
6474         * text2.C: paint cleanups. Inset::update() dropped font
6475         parameter
6476
6477 2003-03-19  John Levon  <levon@movementarian.org>
6478
6479         * lyxfunc.C: only fitcursor/markDirty if available()
6480
6481 2003-03-19  John Levon  <levon@movementarian.org>
6482
6483         * commandtags.h: rename to ...
6484
6485         * lfuns.h: ... this, and renumber / cleanup
6486
6487 2003-03-19  John Levon  <levon@movementarian.org>
6488
6489         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6490         fit the cursor after an lfun
6491
6492         * BufferView.h:
6493         * BufferView.C:
6494         * BufferView_pimpl.h:
6495         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6496
6497         * LyXAction.C: layout-character should have ReadOnly
6498
6499         * ParagraphParameters.C:
6500         * buffer.C:
6501         * bufferview_funcs.C:
6502         * lyx_cb.C:
6503         * lyxfind.C:
6504         * lyxtext.h:
6505         * text.C:
6506         * text2.C:
6507         * text3.C:
6508         * undo_funcs.C: changes from above
6509
6510 2003-03-18  John Levon  <levon@movementarian.org>
6511
6512         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6513         remove it from update()
6514
6515         * lyxfunc.C: update layout choice after an lfun
6516
6517         * text3.C: remove extra updateLayoutChoice()s
6518
6519 2003-03-18  John Levon  <levon@movementarian.org>
6520
6521         * text.C: top_y change means full repaint, fix
6522         a drawing bug with cursor movement
6523
6524 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6525
6526         * lyxtext.h:
6527         * text.C:
6528         * text2.C: anchor row on setCursor
6529
6530 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6531
6532         * lyxtext.h: remove almost all mutable keywords
6533         * text.C:
6534         * text2.C:
6535         * text3.C: remove const keywords accordingly
6536
6537 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6538
6539         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6540         anon namespace
6541         (TeXEnvironment): ditto
6542         (TeXOnePar): ditto
6543
6544 2003-03-17  John Levon  <levon@movementarian.org>
6545
6546         * text.C (rowBreakPoint): remove attempt to fix displayed
6547         math insets inside a manual label
6548
6549 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6550
6551         * lyxtext.h: remove BufferView* as first arg from almost all class
6552         functions.
6553         * other files: adjust.
6554
6555 2003-03-17  John Levon  <levon@movementarian.org>
6556
6557         * lyxtext.h:
6558         * undo_funcs.C:
6559         * text2.C: more paint cleanups
6560
6561         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6562
6563         * rowpainter.h:
6564         * rowpainter.C: remove "smart" background painting code
6565
6566 2003-03-16  John Levon  <levon@movementarian.org>
6567
6568         * lyxtext.h:
6569         * text.C:
6570         * text2.C:
6571         * text3.C: add helper functions for setting refresh_row/y
6572
6573 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6574
6575         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6576         newline inset which *can* get inserted in the pass_thru layouts.
6577         This is primarily for literate documents.
6578
6579 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6580
6581         * buffer.C: increment LYX_FORMAT to 223
6582
6583 2003-03-14 André Pönitz <poenitz@gmx.net>
6584
6585         * textclass.h: prepare for environment handling, ws changes
6586         * lyxlayout.C: read latexheader and latexfooter tags
6587
6588 2003-03-14  John Levon  <levon@movementarian.org>
6589
6590         * text2.C: rewrite ::status() a bit
6591
6592 2003-03-13  John Levon  <levon@movementarian.org>
6593
6594         * lyxtext.h: add some docs
6595
6596 2003-03-13  John Levon  <levon@movementarian.org>
6597
6598         * lyxtext.h:
6599         * text.C:
6600         * text2.C:
6601         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6602
6603 2003-03-13  John Levon  <levon@movementarian.org>
6604
6605         * text3.C: fix appendix redrawing
6606
6607 2003-03-13  John Levon  <levon@movementarian.org>
6608
6609         * text.C (setHeightOfRow):
6610         * rowpainter.h:
6611         * rowpainter.C: make appendix mark have the text
6612           "Appendix" so the user knows what it is
6613
6614         * LColor.h:
6615         * LColor.C: s/appendixline/appendix/ from above
6616
6617 2003-03-13  John Levon  <levon@movementarian.org>
6618
6619         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6620
6621         * text.C: fix a getChar(pos) bug properly
6622
6623 2003-03-13  Angus Leeming  <leeming@lyx.org>
6624
6625         * commandtags.h:
6626         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6627         Probably only temporary. Let's see how things pan out.
6628
6629         * BufferView.C (unlockInset):
6630         * BufferView_pimpl.C (fitCursor):
6631         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6632
6633         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6634         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6635
6636         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6637         new functions that convert ParagraphParameters to and from a string.
6638
6639         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6640         BufferView::Pimpl's dispatch.
6641         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6642
6643 2003-03-13 André Pönitz <poenitz@gmx.net>
6644
6645         * lyxfunc.C:
6646         * text3.C:
6647         * factory.C: make it aware of InsetEnv
6648
6649 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6650
6651         * text2.C (setCursor): never ask for one past last
6652         (setCursor): add some debugging messages.
6653
6654         * text.C (singleWidth): never ask for one past last
6655         (singleWidth): ditto
6656         (leftMargin): ditto
6657         (rightMargin): ditto
6658         (rowBreakPoint): ditto
6659         (setHeightOfRow): ditto
6660         (prepareToPrint): ditto
6661
6662         * rowpainter.C (paintBackground): never ask for one past last
6663         (paintText): never ask for one past last
6664
6665         * paragraph_pimpl.C (getChar): make the assert stricter, never
6666         allow the one past last pos to be taken
6667
6668         * paragraph.C (getChar): ws changes only
6669
6670         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6671         (numberOfSeparators): ditto
6672         (numberOfHfills): ditto
6673
6674 2003-03-12  John Levon  <levon@movementarian.org>
6675
6676         * author.h:
6677         * author.C:
6678         * bufferparams.h:
6679         * bufferparams.C:
6680         * paragraph_funcs.C: fix per-buffer authorlists
6681
6682 2003-03-12  John Levon  <levon@movementarian.org>
6683
6684         * text.C: fix newline in right address
6685
6686 2003-03-12  Angus Leeming  <leeming@lyx.org>
6687
6688         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6689         duplicate those in LyXFunc::dispatch.
6690
6691         * commandtags.h:
6692         * LyXAction.C:
6693         * ToolbarDefaults.C:
6694         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6695         Add LFUN_FONTFREE_UPDATE.
6696
6697         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6698         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6699
6700         * bufferview_func.[Ch]: several new functions to facilliate
6701         transfer of data to and from the character dialog.
6702
6703 2003-03-12  John Levon  <levon@movementarian.org>
6704
6705         * buffer.C:
6706         * paragraph.h:
6707         * paragraph.C:
6708         * paragraph_funcs.C:
6709         * paragraph_pimpl.C:
6710         * sgml.C:
6711         * tabular.C:
6712         * text.C:
6713         * text3.C: remove META_NEWLINE in favour of an inset
6714
6715         * rowpainter.h:
6716         * rowpainter.C: remove paintNewline (done by inset)
6717
6718 2003-03-12  John Levon  <levon@movementarian.org>
6719
6720         * paragraph_pimpl.C: complain about bad getChar()s
6721         for a while at least
6722
6723 2003-03-12  John Levon  <levon@movementarian.org>
6724
6725         * buffer.h:
6726         * buffer.C: move paragraph read into a separate function,
6727         a little renaming to reflect that.
6728
6729         * bufferparams.h:
6730         * bufferparams.C: remove the author_ids map, not necessary now
6731
6732         * factory.h:
6733         * factory.C: moved Buffer::readInset to here
6734
6735         * paragraph_funcs.h:
6736         * paragraph_funcs.C: readParagraph free function moved from
6737         buffer.C
6738
6739         * tabular.C: name change
6740
6741 2003-03-12  John Levon  <levon@movementarian.org>
6742
6743         * buffer.C:
6744         * ParagraphParameters.C: move par params input to
6745         a read() method
6746
6747         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6748         behave like a normal read from the stream wrt reading
6749         a line vs. a \\token
6750
6751 2003-03-12  John Levon  <levon@movementarian.org>
6752
6753         * paragraph.C:
6754         * ParagraphParameters.h:
6755         * ParagraphParameters.C: move output code to a
6756         ::write() method
6757
6758 2003-03-12  John Levon  <levon@movementarian.org>
6759
6760         * BufferView.C (insertLyXFile):
6761         * buffer.h:
6762         * buffer.C:
6763         * tabular.C: use a parlist iterator for creating the
6764           document.
6765
6766 2003-03-12  John Levon  <levon@movementarian.org>
6767
6768         * buffer.C: make current_change static local not
6769           static file-scope
6770
6771 2003-03-12  John Levon  <levon@movementarian.org>
6772
6773         * buffer.C: fix insertStringAsLines for change tracking
6774
6775 2003-03-12  John Levon  <levon@movementarian.org>
6776
6777         * BufferView.C:
6778         * tabular.C:
6779         * buffer.h:
6780         * buffer.C:
6781         * bufferparams.h:
6782         * bufferparams.C: move author list into params. Rename some
6783           functions. Move the header reading into a separate token
6784           loop. Move the header token reading into BufferParams.
6785
6786 2003-03-12  John Levon  <levon@movementarian.org>
6787
6788         * changes.C: put debug inside lyxerr.debugging() checks
6789
6790 2003-03-11 André Pönitz <poenitz@gmx.net>
6791
6792         * factory.C: make it aware of InsetHFill
6793
6794 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6795
6796         * buffer.C (latexParagraphs): move function from here...
6797         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6798         args.
6799
6800 2003-03-10  Angus Leeming  <leeming@lyx.org>
6801
6802         * LyXAction.C (init): fix bug in poplating array with multiple entries
6803         with the same LFUN (spotted by JMarc).
6804
6805 2003-03-10  John Levon  <levon@movementarian.org>
6806
6807         * text.C:
6808         * text2.C: move getColumnNearX() near its
6809         only call site
6810
6811 2003-03-10  John Levon  <levon@movementarian.org>
6812
6813         * text.C: fix break before a minipage
6814
6815 2003-03-10  John Levon  <levon@movementarian.org>
6816
6817         * text.C: fix the last commit
6818
6819 2003-03-09  John Levon  <levon@movementarian.org>
6820
6821         * lyxtext.h:
6822         * text.C:
6823         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6824         bug 365 (don't break before insets unless needed). Don't
6825         return a value > last under any circumstances.
6826
6827 2003-03-09  Angus Leeming  <leeming@lyx.org>
6828
6829         * BufferView_pimpl.C (trackChanges, dispatch): call
6830         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6831
6832 2003-03-09  Angus Leeming  <leeming@lyx.org>
6833
6834         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6835         than Dialogs::showAboutlyx().
6836
6837 2003-03-09  Angus Leeming  <leeming@lyx.org>
6838
6839         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6840         than Dialogs::showTabularCreate().
6841
6842 2003-03-09  John Levon  <levon@movementarian.org>
6843
6844         * lyxtext.h:
6845         * text.C:
6846         * text2.C: 3rd arg to nextBreakPoint was always the same.
6847           Use references.
6848
6849 2003-03-08  John Levon  <levon@movementarian.org>
6850
6851         * lyxrow.C:
6852         * paragraph.C:
6853         * paragraph.h:
6854         * rowpainter.C:
6855         * text.C:
6856         * text2.C: Remove the "main" bit from the "main body"
6857           notion.
6858
6859 2003-03-08  John Levon  <levon@movementarian.org>
6860
6861         * text.C (leftMargin): The left margin of an empty
6862         manual label paragraph should not include the label width
6863         string length.
6864
6865         * text.C (prepareToPrint): don't attempt to measure hfills
6866         for empty manual label paragraphs - the answer should be 0
6867
6868 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6869
6870         * CutAndPaste.C: remove commented code and reindent.
6871
6872 2003-03-08  John Levon  <levon@movementarian.org>
6873
6874         * lyxfunc.h:
6875         * lyxfunc.C: move reloadBuffer()
6876
6877         * BufferView.h:
6878         * BufferView.C: to here
6879
6880         * lyxvc.C: add comment
6881
6882         * vc-backend.h:
6883         * vc-backend.C: call bv->reload() to avoid
6884           getStatus() check on MENURELOAD
6885
6886 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6887
6888         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6889         to an old format .dep file.
6890
6891 2003-03-07  Angus Leeming  <leeming@lyx.org>
6892
6893         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6894         when the LFUN_MOUSE_RELEASE should have been handled by
6895         inset->localDispatch.
6896
6897 2003-03-07  Angus Leeming  <leeming@lyx.org>
6898
6899         * BufferView_pimpl.C (dispatch):
6900         * LyXAction.C (init):
6901         * ToolbarDefaults.C (init):
6902         * commandtags.h:
6903         * lyxfunc.C (getStatus):
6904         remove LFUN_INSET_GRAPHICS.
6905
6906         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6907
6908 2003-03-07  Angus Leeming  <leeming@lyx.org>
6909
6910         * commandtags.h:
6911         * LyXAction.C (init):
6912         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6913
6914         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6915
6916         * commandtags.h:
6917         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6918
6919         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6920         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6921
6922 2003-03-07  Angus Leeming  <leeming@lyx.org>
6923
6924         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6925         remove "ert".
6926
6927 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6928
6929         * ParagraphList.C (front): new function
6930         (back): implement
6931
6932 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6933
6934         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6935         and top_row_offset_. removed var first_y.
6936         * text.C (top_y):
6937         * text2.C (LyXText, removeRow):
6938         * text3.C:
6939         * BufferView_pimpl.C:
6940         use these methods instead of using first_y
6941
6942 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6943
6944         * text2.C (pasteSelection): adjust for checkPastePossible
6945
6946         * CutAndPaste.C: remove Paragraph * buf and replace with
6947         ParagraphList paragraphs.
6948         (DeleteBuffer): delete
6949         (cutSelection): change the tc type to textclass_type
6950         (copySelection): change the tc type to textclass_type
6951         (copySelection): adjust for ParagraphList
6952         (pasteSelection): change the tc type to textclass_type
6953         (pasteSelection): adjust for Paragraphlist
6954         (nrOfParagraphs): simplify for ParagraphList
6955         (checkPastePossible): simplify for ParagraphList
6956         (checkPastePossible): remove unused arg
6957
6958         * ParagraphList.C (insert): handle the case where there are no
6959         paragraphs yet.
6960
6961         * CutAndPaste.h: make CutAndPaste a namespace.
6962
6963         * text3.C (dispatch): adjust
6964
6965         * text.C (breakParagraph): add a ParagraphList as arg
6966
6967         * paragraph_funcs.C (breakParagraph): change to take a
6968         BufferParams and a ParagraphList as args.
6969         (breakParagraphConservative): ditto
6970         (mergeParagraph): ditto
6971         (TeXDeeper): add a ParagraphList arg
6972         (TeXEnvironment): ditto
6973         (TeXOnePar): ditto
6974
6975         * buffer.C (readLyXformat2): adjust
6976         (insertStringAsLines): adjust
6977         (latexParagraphs): adjust
6978
6979         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6980         (cutSelection): adjust
6981         (pasteSelection): adjust
6982
6983         * BufferView_pimpl.C (insertInset): adjust
6984
6985 2003-03-05  Angus Leeming  <leeming@lyx.org>
6986
6987         * commandtags.h:
6988         * LyXAction.C (init):
6989         * BufferView_pimpl.C (dispatch):
6990         * lyxfunc.C (getStatus):
6991         remove LFUN_CHILD_INSERT.
6992
6993         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6994
6995 2003-03-05  Angus Leeming  <leeming@lyx.org>
6996
6997         * commandtags.h:
6998         * LyXAction.C (init):
6999         * src/factory.C (createInset):
7000         * lyxfunc.C (getStatus):
7001         * text3.C (dispatch):
7002         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7003
7004         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7005
7006 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7007
7008         * ParagraphList.C (insert): handle insert right before end()
7009         (erase): fix cases where it can be first or last paragraph.
7010
7011 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7012
7013         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7014         Paragraph::next and Paragraph::previous
7015         (TeXOnePar): ditto
7016
7017         * text.C (breakParagraph): adjust
7018
7019         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7020         BufferParams& as arg.
7021         (breakParagraph): use ParagraphList::insert
7022         (breakParagraphConservative): take a Buffer* instead of a
7023         BufferParams& as arg.
7024         (breakParagraphConservative): use ParagraphList::insert.
7025
7026         * buffer.C (insertStringAsLines): un-const it
7027         (insertStringAsLines): adjust
7028
7029         * ParagraphList.C (insert): new function
7030
7031         * CutAndPaste.C (pasteSelection): adjust
7032
7033         * text.C (backspace): adjust
7034
7035         * tabular.C (SetMultiColumn): adjust
7036
7037         * CutAndPaste.C (cutSelection): adjust
7038         (pasteSelection): adjust
7039
7040         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7041         Buffer const * as arg
7042
7043         * ParagraphList.C (erase): new function
7044         * paragraph_funcs.C (mergeParagraph): use it
7045         (mergeParagraph): make it take a Buffer* instead of a
7046         BufferParams* as arg
7047
7048         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7049         as arg
7050         (breakParagraphConservative): ditto
7051
7052         * paragraph.h: remove the breakParagraph friend
7053
7054         * paragraph.C (eraseIntern): new function
7055         (setChange): new function
7056
7057         * paragraph_funcs.C (mergeParagraph): make it take a
7058         ParagraphList::iterator instead of a Paragraph *, adjust
7059         accordingly.
7060
7061         * paragraph.h: move an #endif so that the change tracking stuff
7062         also works in the NO_NEXT case.
7063
7064 2003-03-04  Angus Leeming  <leeming@lyx.org>
7065
7066         * commandtags.h:
7067         * LyXAction.C: new LFUN_INSET_MODIFY.
7068
7069         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7070         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7071
7072 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7073
7074         * several files: ws changes only
7075
7076         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7077         (TeXEnvironment): ditto
7078         (TeXDeeper): ditto
7079
7080         * buffer.C (makeLaTeXFile): adjust
7081         (latexParagraphs): make it take ParagraphList::iterator as args
7082
7083 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7084
7085         * buffer.C (latexParagraphs): adjust
7086
7087         * paragraph.C (TeXOnePar): move function...
7088         (optArgInset): move function...
7089         (TeXEnvironment): move function...
7090         * paragraph_pimpl.C (TeXDeeper): move function...
7091         * paragraph_funcs.C: ...here
7092
7093         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7094
7095 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7096
7097         * buffer.C (readInset): remove compability code for old Figure and
7098         InsetInfo insets
7099
7100 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7101
7102         * buffer.C: ws changes
7103         (readInset):
7104
7105         * BufferView_pimpl.C: ditto
7106         * author.C: ditto
7107         * buffer.h: ditto
7108         * bufferlist.h: ditto
7109         * changes.h: ditto
7110         * lyxfunc.C: ditto
7111
7112 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7113
7114         * converter.[Ch]: split into itself +
7115         * graph.[Ch]
7116         * format.[Ch]
7117         * Makefile.am: += graph.[Ch] + format.[Ch]
7118         * MenuBackend.C
7119         * buffer.C
7120         * exporter.C
7121         * importer.C
7122         * lyx_main.C
7123         * lyxfunc.C
7124         * lyxrc.C: added #include "format.h"
7125
7126 2003-02-27  Angus Leeming  <leeming@lyx.org>
7127
7128         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7129           a label.
7130
7131         * factory.C (createInset): add "label" to the factory.
7132
7133         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7134           string and do no more.
7135
7136 2003-02-27  Angus Leeming  <leeming@lyx.org>
7137
7138         * commandtags.h:
7139         * LyXAction.C (init):
7140         * factory.C (createInset):
7141         * BufferView_pimpl.C (dispatch):
7142           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7143
7144         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7145
7146         * lyxfunc.C (dispatch):
7147         * text3.C (dispatch): pass name to params2string.
7148
7149 2003-02-26  Angus Leeming  <leeming@lyx.org>
7150
7151         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7152           blocks together.
7153           Rearrange the ~includes. Strip out the unnecessary ones.
7154
7155         * factory.C (createInset): reformat.
7156           create new insets for the various LFUN_XYZ_APPLY lfuns.
7157
7158 2003-02-26  John Levon  <levon@movementarian.org>
7159
7160         * lyxrow.h:
7161         * lyxrow.C: add isParStart,isParEnd helpers
7162
7163         * paragraph.h: make isInserted/DeletedText take refs
7164
7165         * paragraph_funcs.h:
7166         * paragraph_funcs.C: remove #if 0'd code
7167
7168         * lyxtext.h:
7169         * text3.C:
7170         * text2.C:
7171         * text.C: use lyxrow helpers above.
7172           Move draw and paint routines to RowPainter.
7173           Make several methods use refs not pointers.
7174           Make backgroundColor() const.
7175           Add markChangeInDraw(), isInInset().
7176           Merge changeRegionCase into changeCase.
7177           Make workWidth() shouldn't-happen code into an Assert.
7178
7179         * rowpainter.h:
7180         * rowpainter.C: new class for painting a row.
7181
7182         * vspace.h:
7183         * vspace.C: make inPixels take a ref
7184
7185 2003-02-26  Angus Leeming  <leeming@lyx.org>
7186
7187         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7188         LFUN_REF_APPLY.
7189
7190 2003-02-25  John Levon  <levon@movementarian.org>
7191
7192         * ispell.C: give the forked command a more accurate name
7193
7194 2003-02-22  John Levon  <levon@movementarian.org>
7195
7196         * toc.h:
7197         * toc.C: make TocItem store an id not a Paragraph *
7198           (bug #913)
7199
7200 2003-02-21  Angus Leeming  <leeming@lyx.org>
7201
7202         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7203           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7204           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7205           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7206           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7207           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7208
7209         * BufferView_pimpl.C (dispatch):
7210         * LyXAction.C (init):
7211         * factory.C (createInset):
7212         * lyxfunc.C (getStatus, dispatch):
7213         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7214
7215 2003-02-21  Angus Leeming  <leeming@lyx.org>
7216
7217         * BufferView_pimpl.C (MenuInsertLyXFile):
7218         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7219         * lyxfunc.C (menuNew, open, doImport):
7220           no longer pass a LyXView & to fileDlg.
7221
7222 2003-02-21  Angus Leeming  <leeming@lyx.org>
7223
7224         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7225         * LyXAction.C: change, BIBKEY to BIBITEM.
7226         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7227         Change InsetBibKey to InsetBibitem.
7228         Change BIBKEY_CODE to BIBITEM_CODE.
7229         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7230         * factory.C: replace insetbib.h with insetbibitem.h.
7231         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7232         * paragraph.C: replace insetbib.h with insetbibitem.h.
7233         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7234         Change bibkey() to bibitem().
7235         * text.C: remove insetbib.h.
7236         * text2.C: replace insetbib.h with insetbibitem.h.
7237         change bibkey() to bibitem().
7238         * text3.C: remove insetbib.h.
7239         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7240
7241 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7242
7243         * lyxrc.C (output): enclose user email in quotes (in case there are
7244         several words)
7245
7246 2003-02-18  John Levon  <levon@movementarian.org>
7247
7248         * buffer.h: add std::
7249
7250 2003-02-17  John Levon  <levon@movementarian.org>
7251
7252         * SpellBase.h:
7253         * ispell.h:
7254         * ispell.C:
7255         * pspell.h:
7256         * pspell.C: reworking. Especially in ispell, a large
7257           number of clean ups and bug fixes.
7258
7259         * lyxfunc.C: fix revert to behave sensibly
7260
7261 2003-02-17 André Pönitz <poenitz@gmx.net>
7262
7263         * LyXAction.C:
7264         * commandtags.h: new LFUN_INSERT_BIBKEY
7265
7266         * layout.h:
7267         * lyxlayout.C:
7268         * buffer.C:
7269         * factory.C:
7270         * text.C:
7271         * text2.C:
7272         * text3.C:
7273         * paragraph.[Ch]:
7274         * paragraph_func.C: remove special bibkey handling
7275
7276 2003-02-17  John Levon  <levon@movementarian.org>
7277
7278         * text.C (Delete): fix case where delete at the end of
7279           the very first paragraph would not merge the pars
7280
7281 2003-02-17  John Levon  <levon@movementarian.org>
7282
7283         * lyxrow.C: fix lastPrintablePos()
7284
7285 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7286
7287         * bufferparams.C (writeLaTeX): add a std:here
7288
7289         * buffer.C: and remove a using directive there
7290
7291 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7292
7293         * buffer.C (makeLaTeXFile): move the code that generates the
7294           preamble...
7295
7296         * bufferparams.C (writeLaTeX): ... in this new method
7297
7298         * LaTeXFeatures.C (getEncodingSet): make const
7299           (getLanguages): make const
7300
7301         * MenuBackend.C (binding): returns the binding associated to this
7302           action
7303           (add): sets the status of each item by calling getStatus. Adds
7304           some intelligence.
7305           (read): add support for OptSubMenu
7306           (expand): remove extra separator at the end of expanded menu
7307
7308 2003-02-15  John Levon  <levon@movementarian.org>
7309
7310         * BufferView.C:
7311         * BufferView_pimpl.C:
7312         * bufferlist.h:
7313         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7314           inset code that had no actual effect. Remove unneeded status
7315           code.
7316
7317 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7318
7319         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7320           in preamble
7321
7322 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7323
7324         * text.C (drawLengthMarker): also draw an arrow marker for
7325           symbolic lengths (medskip...)
7326
7327 2003-02-14  John Levon  <levon@movementarian.org>
7328
7329         * tabular.h:
7330         * tabular.C: better method names
7331
7332 2003-02-14  John Levon  <levon@movementarian.org>
7333
7334         * BufferView_pimpl.C:
7335         * bufferlist.C:
7336         * buffer.C:
7337         * converter.C:
7338         * lyx_cb.C:
7339         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7340           it's a more accurate name. Remove some pointless uses.
7341
7342 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7343
7344         * text2.C (LyXText): change order of initilizers to shut off
7345           warnings
7346
7347 2003-02-14  John Levon  <levon@movementarian.org>
7348
7349         * buffer.C: use ParIterator for getParFromID()
7350
7351         * paragraph.h:
7352         * paragraph.C:
7353         * paragraph_pimpl.h:
7354         * paragraph_pimpl.C: remove unused getParFromID()
7355
7356 2003-02-14  John Levon  <levon@movementarian.org>
7357
7358         * buffer.C: remove some very old #if 0'd parse code
7359
7360 2003-02-13  John Levon  <levon@movementarian.org>
7361
7362         * text.h:
7363         * text.C:
7364         * text2.C: move hfillExpansion(), numberOfSeparators(),
7365           rowLast(), rowLastPrintable(), numberofHfills(),
7366           numberOfLabelHfills() ...
7367
7368         * lyxrow.h:
7369         * lyxrow.C: ... to member functions here.
7370
7371         * paragraph.h:
7372         * paragraph.C:
7373         * lyxtext.h:
7374         * text.C: remove LyXText::beginningOfMainBody(), and call
7375           p->beginningOfMainBody() directly. Move the check for
7376           LABEL_MANUAL into the latter.
7377
7378         * text.h:
7379         * text.C:
7380         * text2.C:
7381         * vspace.C:
7382         * BufferView.h:
7383         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7384
7385         * text.h:
7386         * text.C:
7387         * text2.C:
7388         * text3.C:
7389         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7390           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7391
7392 2003-02-13  John Levon  <levon@movementarian.org>
7393
7394         * CutAndPaste.C: remove debug
7395
7396 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7397
7398         * paragraph.C (asString): remove two unused variables
7399
7400         * lyxtextclass.C (readTitleType):
7401           (Read):
7402           (LyXTextClass): handle new members titletype_ and titlename_
7403
7404         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7405
7406 2003-02-09  John Levon  <levon@movementarian.org>
7407
7408         * buffer.h:
7409         * buffer.C: replace hand-coded list with a map for the dep clean
7410
7411 2003-02-08  John Levon  <levon@movementarian.org>
7412
7413         * LaTeX.C: consolidate code into showRunMessage() helper
7414
7415 2003-02-08  John Levon  <levon@movementarian.org>
7416
7417         * lyxfind.C:
7418         * lyxtext.h:
7419         * text2.C:
7420         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7421           and pass the size in explicitly
7422
7423         * BufferView_pimpl.h:
7424         * BufferView_pimpl.C:
7425         * BufferView.h:
7426         * BufferView.C: add getCurrentChange()
7427
7428         * BufferView_pimpl.h:
7429         * BufferView_pimpl.C: handle change lfuns
7430
7431         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7432           for changes. Mark pasted paragraphs as new.
7433
7434         * support/lyxtime.h:
7435         * support/lyxtime.C:
7436         * DepTable.C: abstract time_t as lyx::time_type
7437
7438         * LColor.h:
7439         * LColor.C: add colours for new text, deleted text, changebars
7440
7441         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7442           package use "usenames" option.
7443
7444         * commandtags.h:
7445         * lyxfunc.C:
7446         * LyXAction.C: add change lfuns
7447
7448         * Makefile.am:
7449         * author.h:
7450         * author.C: author handling
7451
7452         * buffer.h:
7453         * buffer.C: add a per-buffer author list, with first entry as
7454           current author. Handle new .lyx tokens for change tracking. Output
7455           author list to .lyx file. Output dvipost stuff to .tex preamble.
7456           Bump lyx format to 222.
7457
7458         * bufferlist.h:
7459         * bufferlist.C: add setCurrentAuthor() to reset current author details
7460           in all buffers.
7461
7462         * bufferparams.h:
7463         * bufferparams.C: add param for tracking
7464
7465         * bufferview_funcs.C: output change info in minibuffer
7466
7467         * Makefile.am:
7468         * changes.h:
7469         * changes.C: add change-tracking structure
7470
7471         * debug.h:
7472         * debug.C: add CHANGES debug flag
7473
7474         * lyxfind.h:
7475         * lyxfind.C: add code for finding the next change piece
7476
7477         * lyxrc.h:
7478         * lyxrc.C: add user_name and user_email
7479
7480         * lyxrow.h:
7481         * lyxrow.C: add a metric for the top of the text line
7482
7483         * lyxtext.h:
7484         * text.C: implement accept/rejectChange()
7485
7486         * lyxtext.h:
7487         * text.C: paint changebars. Paint new/deleted text in the chosen
7488         colours. Strike through deleted text.
7489
7490         * paragraph.h:
7491         * paragraph.C:
7492         * paragraph_pimpl.h:
7493         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7494           in the current change to the insert functions. Rework erase to
7495           mark text as deleted, adding an eraseIntern() and a range-based
7496           erase(). Implement per-paragraph change lookup and
7497           accept/reject.
7498
7499         * paragraph_funcs.C: Fixup paste for change tracking.
7500
7501         * tabular.C: mark added row/columns as new.
7502
7503         * text.C: fix rowLast() to never return -1. Don't allow
7504           spellchecking of deleted text. Track transpose changes. Don't
7505           allow paragraph break or merge where appropriate.
7506
7507         * text2.C: leave cursor at end of selection after a cut.
7508
7509 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7510
7511         * text.C (getLengthMarkerHeight):
7512         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7513         visible on screen too.
7514
7515 2003-02-07  John Levon  <levon@movementarian.org>
7516
7517         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7518
7519 2003-02-05  Angus Leeming  <leeming@lyx.org>
7520
7521         * lyxserver.C (read_ready): revert my patch of 11 September last year
7522         as it sends PC cpu through the roof. Presumably this means that
7523         the lyxserver will no longer run on an Alpha...
7524
7525 2003-01-30  Angus Leeming  <leeming@lyx.org>
7526
7527         * factory.C (createInset): create an InsetCommandParam of type "index"
7528         and use it to 'do the right thing'.
7529
7530         * text2.C (getStringToIndex): ensure that cursor position is always
7531         reset to the reset_cursor position.
7532
7533 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7534
7535         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7536         disabled.
7537
7538 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7539
7540         * bufferview.C:
7541         * lyxcb.C:
7542         * lyxfunc.C: Output messages with identical spelling, punctuation,
7543         and spaces
7544
7545 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7546
7547         * MenuBackend.C (expandFormats): List only viewable export formats
7548         in "View" menu
7549
7550         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7551         message
7552
7553         * lyxfunc.C (getStatus): Make sure that formats other than
7554         "fax" can also be disabled
7555
7556 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7557
7558         * text3.C (dispatch): put the lfuns that insert insets in 3
7559         groups, and call doInsertInset with appropriate arguments.
7560         (doInsertInset): new function, that creates an inset and inserts
7561         it according to some boolean parameters.
7562
7563 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7564
7565         * buffer.C (readFile): remember to pass on 'par' when calling
7566         readFile recursively.
7567
7568 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7569
7570         * MenuBackend.C (expandFormats): add "..." to import formats.
7571
7572 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7573
7574         * paragraph.C (asString): Remove XForms RTL hacks.
7575
7576 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7577         * buffer.C: fix typo
7578
7579 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7580
7581         * Makefile.am (LIBS): delete var
7582         (lyx_LDADD): add @LIBS@ here instead.
7583
7584 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7585
7586         * Clarify the meaning of "wheel mouse jump"
7587
7588 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7589
7590         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7591         tabular in a float
7592
7593 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7594
7595         * importer.C (Loaders): do not preallocate 3 elements in the
7596         vector, since one ends up with 6 elements otherwise
7597
7598 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7599
7600         * DepTable.C (write): write the file name as last element of the
7601         .dep file (because it may contain spaces)
7602         (read): read info in the right order
7603
7604 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7605
7606         * paragraph_pimpl.C (simpleTeXBlanks):
7607         (simpleTeXSpecialChars):
7608         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7609
7610         * tabular.C (latex): add some missing case statements. Reindent.
7611
7612         * MenuBackend.C (expandToc): remove unused variable.
7613
7614 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7615
7616         * LColor.C:
7617         * LaTeX.C:
7618         * LyXAction.C:
7619         * MenuBackend.C:
7620         * buffer.C:
7621         * exporter.C:
7622         * lyxfunc.C:
7623         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7624         and the like.
7625
7626 2003-01-05  John Levon  <levon@movementarian.org>
7627
7628         * BufferView.h:
7629         * BufferView.C: add getEncoding()
7630
7631         * kbsequence.h:
7632         * kbsequence.C: do not store last keypress
7633
7634         * lyxfunc.h:
7635         * lyxfunc.C: store last keypress here instead. Pass encoding
7636           to getISOEncoded()
7637
7638 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7639
7640         * lyx_main.C (init): remove annoying error message when following
7641         symbolic links (bug #780)
7642
7643 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7644
7645         * text.C (insertChar):
7646         * lyxrc.C (getDescription): remove extra spaces
7647
7648 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7649
7650         * lyxrc.C (getDescription): remove extra spaces
7651
7652 2002-12-20  John Levon  <levon@movementarian.org>
7653
7654         * text3.C: hack fix for page up/down across tall rows
7655
7656 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7657
7658         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7659         not been invoked
7660
7661 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7662
7663         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7664         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7665         thesaurus is not compiled in
7666
7667 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7668
7669         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7670
7671 2002-12-16  Angus Leeming  <leeming@lyx.org>
7672
7673         * lyxrc.[Ch]:
7674         * lyx_main.C (init): remove override_x_deadkeys stuff.
7675
7676 2002-12-12  John Levon  <levon@movementarian.org>
7677
7678         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7679           insert. Only remove shift modifier under strict
7680           circumstances.
7681
7682 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7683
7684         * MenuBackend.C (expandToc): fix crash.
7685
7686 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7687
7688         * MenuBackend.C (expandToc): gettext on float names.
7689
7690 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7691
7692         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7693         implement bool empty() [bug 490]
7694
7695 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7696
7697         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7698
7699 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7700
7701         * several files: ws changes
7702
7703 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7704
7705         * text2.C (setCounter): clean up a bit, use boost.format.
7706         (updateCounters): initialize par upon declaration.
7707
7708         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7709         if the layout exists. We do not just store the layout any more.
7710         (SwitchLayoutsBetweenClasses): use boost.format
7711
7712 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7713
7714         * converter.C (convert): if from and to files are the same, use a
7715         temporary files as intermediary
7716
7717 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7718
7719         * commandtags.h:
7720         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7721
7722 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7723
7724         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7725
7726 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7727
7728         * tabular.C (asciiPrintCell): use string(size, char) instead of
7729         explicit loop.
7730
7731         * sgml.C (openTag): fix order of arguments to string constructor
7732         (closeTag): ditto
7733
7734         * lyxfunc.C (dispatch): use boost.format
7735
7736         * lots of files: change "c" -> 'c'
7737
7738 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7739
7740         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7741
7742 2002-11-25  Angus Leeming  <leeming@lyx.org>
7743
7744         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7745
7746         * lyx_main.C (init): compile fix.
7747
7748 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7749
7750         * lyx_cb.C (start): boost.formatify
7751         do not include <iostream>
7752
7753         * lengthcommon.C: ws only
7754
7755         * boost-inst.C,BoostFormat.h: add more explict instantations
7756
7757 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7758
7759         * lots of files: handle USE_BOOST_FORMAT
7760
7761 2002-11-21  John Levon  <levon@movementarian.org>
7762
7763         * pspell.C: fix compile
7764
7765 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7766
7767         * lyxfunc.C (dispatch): use boost::format
7768         (open): ditto
7769         (doImport): ditto
7770
7771         * lyxfont.C (stateText): use boost::format
7772
7773         * lyx_main.C (LyX): use boost::format
7774         (init): ditto
7775         (queryUserLyXDir): ditto
7776         (readRcFile): ditto
7777         (parse_dbg): ditto
7778         (typedef boost::function): use the recommened syntax.
7779
7780         * importer.C (Import): use boost::format
7781
7782         * debug.C (showLevel): use boost::format
7783
7784         * converter.C (view): use boost::format
7785         (convert): ditto
7786         (move): ditto
7787         (scanLog): ditto
7788
7789         * bufferview_funcs.C (currentState): use boost::format
7790
7791         * bufferlist.C (emergencyWrite): use boost::format
7792
7793         * buffer.C (readLyXformat2): use boost::format
7794         (parseSingleLyXformat2Token): ditto
7795
7796         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7797
7798         * LaTeX.C (run): use boost::format
7799
7800         * Chktex.C (scanLogFile): use boost::format
7801
7802         * BufferView_pimpl.C (savePosition): use boost::format
7803         (restorePosition): ditto
7804         (MenuInsertLyXFile): ditto
7805
7806         * BoostFormat.h: help file for explicit instation.
7807
7808 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7809
7810         * tabular.C (latex): Support for block alignment in fixed width
7811         columns.
7812
7813 2002-11-17  John Levon  <levon@movementarian.org>
7814
7815         * BufferView_pimpl.C:
7816         * lyx_cb.C:
7817         * lyxfunc.C: split filedialog into open/save
7818
7819 2002-11-08  Juergen Vigna  <jug@sad.it>
7820
7821         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7822         by my last patch (hopefully).
7823
7824 2002-11-08  John Levon  <levon@movementarian.org>
7825
7826         * iterators.h:
7827         * iterators.C:
7828         * buffer.h:
7829         * buffer.C:
7830         * paragraph.h:
7831         * paragraph.C:
7832         * toc.h:
7833         * toc.C: ParConstIterator, and use it (from Lars)
7834
7835 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7836
7837         * lyxtextclass.[Ch]: revise and add doxygen comments
7838
7839 2002-11-07  John Levon  <levon@movementarian.org>
7840
7841         * text.C: fix progress value for spellchecker
7842
7843         * toc.C: fix navigate menu for insetwrap inside minipage
7844
7845         * paragraph_funcs.C: added FIXME for suspect code
7846
7847 2002-11-07  John Levon  <levon@movementarian.org>
7848
7849         * BufferView_pimpl.C: fix redrawing of insets
7850           on buffer switch
7851
7852 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7853
7854         * text2.C (updateCounters): fix bug 668
7855
7856 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7857
7858         * text3.C (dispatch): Do not make the buffer dirty when moving the
7859         cursor.
7860
7861 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7862
7863         * vc-backend.C: STRCONV
7864         (scanMaster): ditto
7865
7866         * text2.C (setCounter): STRCONV
7867
7868         * paragraph.C (asString): STRCONV
7869
7870         * lyxlength.C (asString): STRCONV
7871         (asLatexString): ditto
7872
7873         * lyxgluelength.C (asString): STRCONV
7874         (asLatexString): ditto
7875
7876         * lyxfunc.C (dispatch): STRCONV
7877         (open): ditto
7878
7879         * lyxfont.C (stateText): STRCONV
7880
7881         * importer.C (Import): STRCONV
7882
7883         * counters.C (labelItem): STRCONV
7884         (numberLabel): ditto
7885         (numberLabel): remove unused ostringstream o
7886
7887         * chset.C: STRCONV
7888         (loadFile): ditto
7889
7890         * bufferview_funcs.C (currentState): STRCONV
7891
7892         * buffer.C (readFile): STRCONV
7893         (asciiParagraph): ditto
7894         (makeLaTeXFile): ditto
7895
7896         * Spacing.C (writeEnvirBegin): STRCONV
7897
7898         * LaTeXFeatures.C (getLanguages): STRCONV
7899         (getPackages): ditto
7900         (getMacros): ditto
7901         (getBabelOptions): ditto
7902         (getTClassPreamble): ditto
7903         (getLyXSGMLEntities): ditto
7904         (getIncludedFiles): ditto
7905
7906         * LaTeX.C: STRCONV
7907         (run): ditto
7908         (scanAuxFile): ditto
7909         (deplog): ditto
7910
7911         * LString.h: add the STRCONV macros
7912
7913         * BufferView_pimpl.C (savePosition): STRCONV
7914         (restorePosition): ditto
7915         (MenuInsertLyXFile): ditto
7916
7917         * vc-backend.C (scanMaster): change from submatch[...] to
7918         submatch.str(...)
7919
7920         * funcrequest.C: include config.h
7921
7922         * factory.C: include config.h
7923
7924         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7925
7926         * box.C: include config.h
7927
7928         * LaTeX.C (scanAuxFile): change from submatch[...] to
7929         submatch.str(...)
7930         (deplog): ditto
7931
7932 2002-10-25  Angus Leeming  <leeming@lyx.org>
7933
7934         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7935
7936         * ispell.[Ch] (setError): new method.
7937         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7938         Use setError() insetead of goto END.
7939
7940         * lyx_cb.C (AutoSave): move out child process into new class
7941         AutoSaveBuffer.
7942
7943 2002-10-30  John Levon  <levon@movementarian.org>
7944
7945         * text3.C: make start appendix undoable
7946
7947 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7948
7949         * lyxlength.C (inPixels): Fix returned value.
7950
7951         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7952         environment.
7953
7954 2002-10-24  Angus Leeming  <leeming@lyx.org>
7955
7956         * lyxgluelength.h: no need to forward declare BufferParams
7957         or BufferView, so don't.
7958
7959 2002-10-21  John Levon  <levon@movementarian.org>
7960
7961         * BufferView.C: menuUndo ->undo, redo
7962
7963         * BufferView.h: document, remove dead, make some methods private
7964
7965         * paragraph_funcs.h:
7966         * paragraph_funcs.C:
7967         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7968
7969         * buffer.h:
7970         * buffer.C:
7971         * sgml.h:
7972         * sgml.C: move sgml open/close tag into sgml.C
7973
7974         * bufferview_funcs.h: unused prototype
7975
7976         * lyxfunc.h:
7977         * lyxfunc.C: remove unused
7978
7979         * lyxtext.h:
7980         * text.C: remove unused
7981
7982 2002-10-21  John Levon  <levon@movementarian.org>
7983
7984         * BufferView.h:
7985         * BufferView.C:
7986         * BufferView_pimpl.h:
7987         * BufferView_pimpl.C: fix mouse wheel handling based on
7988           patch from Darren Freeman
7989
7990 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7991
7992         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7993
7994 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7995
7996         * lyxlength.C (inPixels): Fix hanfling of negative length.
7997         Fix LyXLength::MU case.
7998
7999 2002-10-16  John Levon  <levon@movementarian.org>
8000
8001         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8002
8003 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8004
8005         * converter.C (view): add support for $$i (file name) and $$p
8006         (file path) for the viewer command. If $$i is not specified, then
8007         it is appended to the command (for compatibility with old syntax)
8008
8009 2002-10-14  Juergen Vigna  <jug@sad.it>
8010
8011         * undo_funcs.C (textHandleUndo): alter the order in which the
8012         new undopar is added to the LyXText, as we have to set first
8013         the right prev/next and then add it as otherwise the rebuild of
8014         LyXText is not correct. Also reset the cursor to the right paragraph,
8015         with this IMO we could remove the hack in "redoParagraphs()".
8016
8017 2002-10-09  Angus Leeming  <leeming@lyx.org>
8018
8019         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8020         to turn off an optimisation if a new inset is to be inserted.
8021
8022 2002-10-11 André Pönitz <poenitz@gmx.net>
8023
8024         * lyxtext.h: make some functions public to allow access
8025         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8026
8027 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8028
8029         * text3.C (dispatch): when changing layout, avoid an infinite loop
8030         [bug #652]
8031
8032 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8033
8034         * lyxrc.C (read): treat a viewer or converter command of "none" as
8035         if it were empty.
8036
8037         * MenuBackend.C (expandFormats): for an update, also allow the
8038         formats that are not viewable
8039
8040         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8041         script if it is newer than the lyxrc.defaults in user directory
8042
8043 2002-10-07 André Pönitz <poenitz@gmx.net>
8044
8045         * text.C: Vitaly Lipatov's small i18n fix
8046
8047 2002-09-25  Angus Leeming  <leeming@lyx.org>
8048
8049         * ispell.h: doxygen fix.
8050
8051 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8052
8053         * buffer.h (readFile): Add a new argument to the method, to allow
8054         reading of old-format templates.
8055
8056 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8057
8058         * toc.C (getTocList): Get TOC from InsetWrap.
8059
8060 2002-09-16  John Levon  <levon@movementarian.org>
8061
8062         * lyxfunc.C: check tabular for cut/copy too
8063
8064 2002-09-12  John Levon  <levon@movementarian.org>
8065
8066         * LyXAction.C: tidy
8067
8068         * factory.h:
8069         * factory.C: add header
8070
8071         * paragraph_funcs.h:
8072         * paragraph_funcs.C: cleanup
8073
8074 2002-09-11  John Levon  <levon@movementarian.org>
8075
8076         * PrinterParams.h: odd/even default to true
8077
8078 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8079
8080         * PrinterParams.h: update printer parameters for new xforms dialog
8081
8082 2002-09-11  Angus Leeming  <leeming@lyx.org>
8083
8084         * lyxserver.C (read_ready): re-write to make it more transparent
8085         and to make it work in coherent fashion under Tru64 Unix.
8086
8087 2002-09-11  André Pönitz <poenitz@gmx.net>
8088
8089         * commandtags.h:
8090         * LyXAction.C:
8091         * text3.C: implement LFUN_WORDSEL
8092
8093 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8094
8095         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8096         make floatlist_ a boost::shared_ptr<FloatList>
8097
8098         * lyxtextclass.C: include FloatList.h
8099         (LyXTextClass): initialize floatlist_
8100         (TextClassTags): add TC_NOFLOAT
8101         (Read): match "nofloat" to TC_NOFLOAT and use it.
8102         (readFloat): modify call to floatlist_
8103         (floats): ditto
8104         (floats): ditto
8105
8106         * FloatList.[Ch] (FloatList): remove commented out float
8107         initialization.
8108         (erase): new function
8109
8110 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8111
8112         * MenuBackend.C (expandToc): fix crash when there is no document
8113         open
8114
8115 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8116
8117         * many files: Add insetwrap.
8118
8119 2002-09-09  John Levon  <levon@movementarian.org>
8120
8121         * text2.C: remove confusing and awkward depth wraparound
8122
8123 2002-09-09  John Levon  <levon@movementarian.org>
8124
8125         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8126
8127         * buffer.h:
8128         * buffer.C: remove getIncludeonlyList()
8129
8130         * paragraph.C:
8131         * lyxfunc.C: remove headers
8132
8133 2002-09-09  Juergen Vigna  <jug@sad.it>
8134
8135         * text.C (getColumnNearX): fix form Michael this is most
8136         probably a cut&paste bug.
8137
8138 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8139
8140         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8141
8142         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8143         references, ws changes.
8144
8145         * text2.C (init): update counters after init
8146         (insertParagraph): no need to set counter on idividual paragraphs.
8147         (setCounter): access the counters object in the textclass object
8148         on in the buffer object.
8149         (updateCounters): ditto
8150
8151         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8152         shared_ptr<Counters> to avoid loading counters.h in all
8153         compilation units.
8154         (LyXTextClass): initialize ctrs_
8155         (TextClassTags): add TC_COUNTER, and ...
8156         (Read): use it here.
8157         (CounterTags): new tags
8158         (readCounter): new function
8159         (counters): new funtion
8160         (defaultLayoutName): return a const reference
8161
8162         * counters.C (Counters): remove contructor
8163         (newCounter): remove a couple of unneeded statements.
8164         (newCounter): simplify a bit.
8165         (numberLabel): some small formatting changes.
8166
8167         * buffer.[Ch]: remove all traces of counters, move the Counters
8168         object to the LyXTextClass.
8169
8170 2002-09-06  Alain Castera  <castera@in2p3.fr>
8171
8172         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8173         package to set the horizontal alignment on fixed width columns.
8174
8175         * lyx_sty.C:
8176         * lyx_sty.h: added tabularnewline macro def.
8177
8178         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8179
8180 2002-09-06  John Levon  <levon@movementarian.org>
8181
8182         * LyXAction.C: tooltips for sub/superscript
8183
8184         * MenuBackend.C: a bit more verbose
8185
8186         * lyxfunc.C: tiny clean
8187
8188         * undo_funcs.C: document undo_frozen
8189
8190 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8191
8192         * counters.C (Counters): add missing algorithm counter.
8193
8194         * text2.C (setCounter): lookup the counter with layouts latexname
8195         instead of by section number.
8196         (setCounter): use a hackish way to lookup the correct enum
8197         counter.
8198         a float name->type change
8199         reset enum couners with counter name directly instead of depth value.
8200
8201         * counters.C (Counters): remove the push_backs, change to use the
8202         float type not the float name.
8203         (labelItem): remove unused string, float name->type change
8204
8205         * counters.h: don't include vector, loose the enums and sects vectors
8206
8207 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8208
8209         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8210         (Read): add float->TC_FLOAT to textclassTags
8211         (Read): and handle it in the switch
8212         (readFloat): new function
8213
8214         * FloatList.C (FloatList): comment out the hardcoded float
8215         definitions.
8216
8217         * lyxlayout.h: ws change.
8218
8219 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8220
8221         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8222
8223 2002-09-03  Angus Leeming  <leeming@lyx.org>
8224
8225         * BufferView_pimpl.h: qualified name is not allowed in member
8226         declaration: WorkArea & Pimpl::workarea() const;
8227
8228         * factory.C: added using std::endl directive.
8229
8230         * text3.C: added using std::find and std::vector directives.
8231
8232 2002-08-29  André Pönitz <poenitz@gmx.net>
8233
8234         * lyxtext.h:
8235         * text2.C: remove unused member number_of_rows
8236
8237         * Makefile.am:
8238         * BufferView2.C: remove file, move contents to...
8239         * BufferView.C: ... here
8240
8241         * BufferView_pimpl.C:
8242         * factory.C: move more inset creation to factory
8243
8244         * vspace.C: avoid direct usage of LyXText, ws changes
8245
8246         * BufferView.[Ch]:
8247                 don't provide direct access to WorkArea, use two simple
8248                 acessors haveSelction() and workHeight() instead
8249
8250
8251 2002-08-29  John Levon  <levon@movementarian.org>
8252
8253         * BufferView_pimpl.C (dispatch): do not continue when
8254           no buffer
8255
8256 2002-08-28  André Pönitz <poenitz@gmx.net>
8257
8258         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8259
8260         * BufferView.h:
8261         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8262
8263 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8264
8265         * buffer.C: increment LYX_FORMAT to 221
8266
8267         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8268         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8269
8270         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8271
8272         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8273
8274 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8275
8276         * factory.C (createInset): use LyXTextClass::floats
8277
8278         * MenuBackend.C (expandFloatListInsert):
8279         (expandFloatInsert):
8280         (expandToc):
8281
8282         * text2.C (setCounter):
8283
8284         * LaTeXFeatures.C (useFloat):
8285         (getFloatDefinitions):
8286
8287         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8288
8289         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8290         floatlist_, with accessor floats().
8291
8292         * FloatList.h: remove global FloatList
8293
8294 2002-08-26  André Pönitz <poenitz@gmx.net>
8295
8296         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8297
8298         * BufferView.h:
8299         * BufferView2.C:
8300         * BufferView_pimpl.C:
8301         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8302
8303 2002-08-25  John Levon  <levon@movementarian.org>
8304
8305         * LyXAction.C: fix margin note description
8306
8307 2002-08-24  John Levon  <levon@movementarian.org>
8308
8309         * buffer.C:
8310         * bufferlist.C:
8311         * bufferview_funcs.C:
8312         * lyxfont.C:
8313         * undo_funcs.C: cleanups
8314
8315         * lyxfunc.C: disable CUT/COPY when no selection
8316
8317 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8318
8319         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8320         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8321
8322         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8323         Add backward compatibility to "mono", "gray" and "no".
8324
8325 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8326
8327         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8328         (and file_format >= 200).
8329
8330 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8331
8332         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8333
8334 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8335
8336         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8337
8338 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8339
8340         * BufferView_pimpl.C:
8341         * LyXAction.C:
8342         * buffer.C:
8343         * commandtags.h:
8344         * lyxfunc.C:
8345         * paragraph.[Ch]:
8346         * text2.C:
8347         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8348         inset and code to make it  work with the paragraph code. The inset
8349         can be anywhere in the paragraph, but will only do the expected
8350         thing in LaTeX if the layout file contains the parameter line
8351                         OptionalArgs    1
8352         (or more generally, a nonzero value) for that layout.
8353
8354 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8355
8356         * paragraph.h: remove the declaration of undefined counters class
8357         function.
8358
8359 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8360
8361         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8362         Dr. Richard Hawkins.
8363
8364 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8365
8366         * paragraph_funcs.h: remove some unneeded includes
8367
8368         * text.C (backspace): pasteParagraph now in global scipe
8369
8370         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8371         (pasteSelection): ditto
8372
8373         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8374         * paragraph_funcs.C (pasteParagraph): ... here
8375
8376 2002-08-20  André Pönitz <poenitz@gmx.net>
8377
8378         * commandtags.h: new LFUNs for swapping/copying table row/colums
8379
8380         * LyXAction.C:
8381         * lyxfunc.C: support for new lfuns
8382
8383 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8384
8385         * tabular.C:
8386         * buffer.[Ch]: remove NO_COMPABILITY stuff
8387
8388 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8389
8390         * boost.C (throw_exception): new file, with helper function for
8391         boost compiled without exceptions.
8392
8393         * paragraph.h:
8394         * lyxlength.C:
8395         * buffer.C:
8396         * ParameterStruct.h:
8397         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8398
8399         * bufferlist.C (emergencyWriteAll): use boost bind
8400
8401         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8402
8403         * text.C: include paragraph_funcs.h
8404         (breakParagraph): breakParagraph is now in global scope
8405
8406         * paragraph_funcs.[Ch]: new files
8407
8408         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8409         global scope
8410
8411         * buffer.C: include paragraph_funcs.h
8412         (insertStringAsLines): breakParagraph is now in global scope
8413
8414         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8415         paragraph_funcs.C
8416
8417         * CutAndPaste.C: include paragraph_funcs.h
8418         (cutSelection): breakParagraphConservative is now in global scope
8419         (pasteSelection): ditto
8420
8421         * buffer.h: declare oprator== and operator!= for
8422         Buffer::inset_iterator
8423
8424         * bufferlist.C (emergencyWrite): don't use fmt(...)
8425
8426         * text3.C: add using std::endl
8427
8428         * BufferView.C (moveCursorUpdate): remove default arg
8429
8430 2002-08-20  André Pönitz <poenitz@gmx.net>
8431
8432         * buffer.[Ch]: move inline functions to .C
8433
8434         * BufferView2.C:
8435         * BufferView_pimpl.C:
8436         * text.C:
8437         * buffer.[Ch]: use improved inset_iterator
8438
8439         * buffer.C:
8440         * paragraph.[Ch]: write one paragraph at a time
8441
8442 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8443
8444         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8445         style if style is not specified.
8446
8447 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8448
8449         * text2.C (setCounter): when searching for right label for a
8450         caption, make sure to recurse to parent insets (so that a caption
8451         in a minipage in a figure float works) (bug #568)
8452
8453 2002-08-20  André Pönitz <poenitz@gmx.net>
8454
8455         * text3.C: new file for LyXText::dispatch() and helpers
8456
8457         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8458
8459         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8460
8461 2002-08-19  André Pönitz <poenitz@gmx.net>
8462
8463         * lyxtext.h:
8464         * text.C: new LyXText::dispatch()
8465
8466         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8467
8468 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8469
8470         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8471
8472         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8473         Hebrew text.
8474
8475 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8476
8477         * Makefile.am: use $(variables) instead of @substitutions@
8478
8479 2002-08-15  André Pönitz <poenitz@gmx.net>
8480
8481         * lyxfunc.C:
8482         * BufferView_pimpl.C: streamlining mathed <-> outer world
8483         interaction
8484
8485         * commandtags.h:
8486         * LyXAction.C: remove unused LFUN_MATH
8487
8488 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8489
8490         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8491
8492 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8493
8494         * paragraph.C (Paragraph): reformat a bit
8495         (cutIntoMinibuffer): use builtin InsetList function instad of
8496         doing it manually.
8497         (getInset): ditto
8498
8499         * buffer.C: include boost/bind.hpp, add using std::for_each
8500         (writeFileAscii): use ParagraphList iterators
8501         (validate): use for_each for validate traversal of paragraphs
8502         (getBibkeyList): use ParagraphList iterators
8503         (resizeInsets): use for_each to resizeInsetsLyXText for all
8504         paragraphs.
8505         (getParFromID): use ParagraphList iterators
8506
8507         * BufferView2.C (lockInset): use paragraph list and iterators
8508
8509 2002-08-14  John Levon  <levon@movementarian.org>
8510
8511         * lyxserver.C: remove spurious xforms include
8512
8513 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8514
8515         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8516
8517 2002-08-13  André Pönitz <poenitz@gmx.net>
8518
8519         * LyXAction.[Ch]:
8520         * lyxfunc.C: further cleaning
8521
8522 2002-08-13  André Pönitz <poenitz@gmx.net>
8523
8524         * funcrequest.h: new constructor
8525
8526         * funcrequest.C: move stuff here from .h
8527
8528         * Makefile.am:
8529         * BufferView_pimpl.C:
8530         * LyXAction.C:
8531         * toc.C:
8532         * lyxfunc.C: subsequent changes
8533
8534         * lyxfunc.h: new view() member function
8535
8536         * lyxfunc.C: subsequent changes
8537
8538 2002-08-13  Angus Leeming  <leeming@lyx.org>
8539
8540         * BufferView2.C:
8541         * BufferView_pimpl.C:
8542         * buffer.C:
8543         * converter.C:
8544         * importer.C:
8545         * lyxfunc.C:
8546         * lyxvc.C:
8547         * toc.C:
8548         * vc-backend.C:
8549         changes due to the changed LyXView interface that now returns references
8550         to member variables not pointers.
8551
8552 2002-08-13  Angus Leeming  <leeming@lyx.org>
8553
8554         * WordLangTuple (word, lang_code): return references to strings,
8555         not strings.
8556
8557         * BufferView.h:
8558         * SpellBase.h:
8559         * lyxtext.h: forward-declare WordLangTuple.
8560
8561         * BufferView2.C:
8562         * ispell.C:
8563         * pspell.C:
8564         * text.C: #include "WordLangTuple.h".
8565
8566         * lyxtext.h:
8567         * text.C: (selectNextWordToSpellcheck): constify return type.
8568
8569 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8570
8571         * buffer.C:
8572         * buffer.h:
8573         * lyxtext.h:
8574         * paragraph.C:
8575         * paragraph_pimpl.h:
8576         * text.C:
8577         * text2.C:
8578         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8579         suggested by Angus.
8580         Made updateCounter always count from start of buffer, and removed
8581         second argument (par).
8582         Reverted floats number display to '#'. Perhaps I'll try again when the
8583         code base is sanitized a bit.
8584
8585 2002-08-12  Angus Leeming  <leeming@lyx.org>
8586
8587         * buffer.[Ch] (getLabelList): constify.
8588
8589 2002-08-07  André Pönitz <poenitz@gmx.net>
8590
8591         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8592
8593         * funcrequest.h: extension to keep mouse (x,y) position
8594
8595 2002-08-12  Juergen Vigna  <jug@sad.it>
8596
8597         * BufferView2.C (insertErrors): forbid undo when inserting error
8598         insets.
8599
8600         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8601
8602 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8603
8604         * ParagraphList.[Ch]: new files
8605
8606         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8607
8608         * BufferView2.C (lockInset): ParagraphList changes
8609         * toc.C: ditto
8610         * text2.C: ditto
8611         * bufferlist.C: ditto
8612         * buffer.h: ditto
8613         * buffer.C: ditto
8614
8615 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8616
8617         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8618         unused class variable counter_,
8619
8620         * paragraph.[Ch] (getFirstCounter): delete unused function
8621
8622         * counters.C: include LAssert.h
8623         (reset): add a new function with no arg, change other version to
8624         not have def. arg and to not allow empty arg.
8625
8626         * text2.C (setCounter): remove empty arg from call to Counters::reset
8627
8628 2002-08-11  John Levon  <levon@movementarian.org>
8629
8630         * Makefile.am: add WordLangTuple.h
8631
8632 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8633
8634         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8635         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8636
8637         * insets/insettext.C: InsetList changes
8638
8639         * graphics/GraphicsSupport.C (operator()): InsetList changes
8640
8641         * toc.C (getTocList): InsetList changes
8642
8643         * paragraph_pimpl.[Ch]: InsetList changes
8644
8645         * paragraph.[Ch]: InsetList changes
8646
8647         * buffer.C (inset_iterator): InsetList changes
8648         (setParagraph): ditto
8649         * buffer.h (inset_iterator): ditto
8650         * iterators.C (operator++): ditto
8651         * iterators.h: ditto
8652
8653         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8654
8655         * InsetList.[Ch]: new files, most InsetList handling moved out of
8656         paragraph.C.
8657
8658         * BufferView2.C (removeAutoInsets): InsetList changes
8659         (lockInset): ditto
8660         (ChangeInsets): ditto
8661
8662 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8663
8664         * paragraph_pimpl.h (empty): new function
8665
8666         * paragraph.[Ch] (empty): new function
8667
8668         * other files: use the new Paragraph::empty function
8669
8670 2002-08-09  John Levon  <levon@movementarian.org>
8671
8672         * lyxtext.h: remove unused refresh_height
8673
8674 2002-08-09  John Levon  <levon@movementarian.org>
8675
8676         * Makefile.am:
8677         * sgml.h:
8678         * sgml.C:
8679         * buffer.C:
8680         * paragraph.h:
8681         * paragraph.C: move sgml char escaping out of paragraph
8682
8683         * paragraph.h:
8684         * paragraph.C: remove id setter
8685
8686         * buffer.C:
8687         * paragraph.C:
8688         * paragraph_pimpl.C: remove dead tex_code_break_column
8689
8690         * bufferview_funcs.C: small cleanup
8691
8692         * lyxfunc.C: remove dead proto
8693
8694         * lyxtext.h: make some stuff private. Remove some dead stuff.
8695
8696         * lyxgluelength.C: make as[LyX]String() readable
8697
8698 2002-08-08  John Levon  <levon@movementarian.org>
8699
8700         * LyXAction.h:
8701         * LyXAction.C:
8702         * MenuBackend.C:
8703         * ToolbarDefaults.C:
8704         * lyxfunc.C:
8705         * lyxrc.C:
8706         * toc.C: lyxaction cleanup
8707
8708 2002-08-08  John Levon  <levon@movementarian.org>
8709
8710         * BufferView2.C: small cleanup
8711
8712         * lyxfind.h:
8713         * lyxfind.C: move unnecessary header into the .C
8714
8715 2002-08-08  John Levon  <levon@movementarian.org>
8716
8717         * funcrequest.h: just tedious nonsense
8718
8719         * lyx_main.h:
8720         * lyx_main.C: cleanups
8721
8722         * buffer.C:
8723         * vspace.C: remove dead header lyx_main.h
8724
8725 2002-08-07  Angus Leeming  <leeming@lyx.org>
8726
8727         * Paragraph.[Ch]:
8728         * paragraph_pimpl.h:
8729         Forward declare class Counters in paragraph.h by moving the ctrs member
8730         variable into Paragraph::Pimpl.
8731         (counters): new method, returning a reference to pimpl_->ctrs.
8732
8733         * text2.C: ensuing changes.
8734
8735 2002-08-07  John Levon  <levon@movementarian.org>
8736
8737         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8738
8739         * BufferView_pimpl.C: announce X selection on double/triple
8740           click
8741
8742         * lyx_main.C: use correct bool in batch dispatch
8743
8744         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8745
8746 2002-08-07  André Pönitz <poenitz@gmx.net>
8747
8748         * funcrequest.h: new class to wrap a kb_action and its argument
8749
8750         * BufferView.[Ch]:
8751         * BufferView_pimpl[Ch]:
8752         * LaTeX.C:
8753         * LyXAction.[Ch]:
8754         * lyxfunc.[Ch]:
8755         * lyxrc.C: subsequent changes
8756
8757
8758 2002-08-07  John Levon  <levon@movementarian.org>
8759
8760         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8761           document options change.
8762
8763 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8764
8765         * counters.[Ch]
8766         * text2.C
8767         * paragraph.[Ch]
8768         * makefile.am: move counters functionality over from
8769         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8770
8771 2002-08-06  John Levon  <levon@movementarian.org>
8772
8773         * WordLangTuple.h: new file for word + language code tuple
8774
8775         * SpellBase.h:
8776         * pspell.h:
8777         * pspell.C:
8778         * ispell.h:
8779         * ispell.C:
8780         * lyxtext.h:
8781         * text.C:
8782         * text2.C:
8783         * BufferView.h:
8784         * BufferView2.C: use WordLangTuple
8785
8786         * layout.h:
8787         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8788
8789 2002-08-06  John Levon  <levon@movementarian.org>
8790
8791         * lyx_main.C: fix cmdline batch handling
8792
8793 2002-08-06  André Pönitz <poenitz@gmx.net>
8794
8795         * lyxrc.C: set default for show_banner to true
8796
8797 2002-08-06  John Levon  <levon@movementarian.org>
8798
8799         * pspell.C: fix a crash, and allow new aspell to work
8800
8801 2002-08-06  John Levon  <levon@movementarian.org>
8802
8803         * lyxfunc.C:
8804         * kbmap.C: small cleanup
8805
8806         * vspace.h:
8807         * vspace.C: add const
8808
8809 2002-08-05  John Levon  <levon@movementarian.org>
8810
8811         * LyXAction.C: back to tabular-insert
8812
8813 2002-08-04  John Levon  <levon@movementarian.org>
8814
8815         * BufferView.h:
8816         * BufferView.C: cosmetic change
8817
8818         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8819
8820         * bufferlist.C:
8821         * buffer.h:
8822         * buffer.C:
8823         * lyxcb.h:
8824         * lyxcb.C:
8825         * lyxserver.C:
8826         * lyxvc.C:
8827         * vc-backend.C:
8828         * BufferView2.C: purge all "Lyx" not "LyX" strings
8829
8830         * lyxcursor.h:
8831         * lyxcursor.C: attempt to add some documentation
8832
8833         * lyxfunc.C:
8834         * commandtags.h:
8835         * LyXAction.C:
8836         * ToolbarDefaults.C:
8837         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8838           merge with LFUN_TABULAR_INSERT
8839
8840         * Makefile.am:
8841         * SpellBase.h:
8842         * ispell.h:
8843         * ispell.C:
8844         * pspell.h:
8845         * pspell.C: split up i/pspell implementations into separate
8846           files, many cleanups
8847
8848         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8849
8850         * text2.C: some cleanup
8851
8852         * lyxfunc.C: don't check for isp_command == "none" any more, it
8853           didn't make any sense
8854
8855 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8856
8857         * counters.[Ch]
8858         * text2.C
8859         * paragraph.[Ch]
8860         * makefile.am: move counters functionality over
8861         from text2.C/paragraph.[Ch] to counters.[Ch], and
8862         make proper C++.
8863 2002-08-02  John Levon  <levon@movementarian.org>
8864
8865         * buffer.C: s/lyxconvert/lyx2lyx/
8866
8867 2002-08-02  Angus Leeming  <leeming@lyx.org>
8868
8869         * lyxlex.C: revert John's change as it breaks reading of the user
8870         preamble.
8871
8872 2002-08-02  Angus Leeming  <leeming@lyx.org>
8873
8874         * importer.C (Import):
8875         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8876         changes due to LyXView::view() now returning a boost::shared_ptr.
8877
8878 2002-08-02  John Levon  <levon@movementarian.org>
8879
8880         * lyxlex.C: small cleanup
8881
8882 2002-08-02  John Levon  <levon@movementarian.org>
8883
8884         * text2.C (status): small cleanup, no logic change
8885
8886 2002-08-01  John Levon  <levon@movementarian.org>
8887
8888         * buffer.h:
8889         * buffer.C (writeFile): don't output alerts, caller
8890           handles this
8891
8892         * bufferlist.C:
8893         * lyx_cb.C: from above
8894
8895         * lyxfunc.C: allow to open non-existent files
8896
8897 2002-07-31  John Levon  <levon@movementarian.org>
8898
8899         * lyxserver.C: don't let incidental errors get
8900           in the way (errno)
8901
8902 2002-07-30  John Levon  <levon@movementarian.org>
8903
8904         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8905
8906 2002-07-30  John Levon  <levon@movementarian.org>
8907
8908         * lyxserver.h:
8909         * lyxserver.C: remove I/O callback too
8910
8911 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8912
8913         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8914         log.
8915
8916 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8917
8918         * many files: strip,frontStrip -> trim,ltrim,rtrim
8919
8920 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8921
8922         * PrinterParams.h: remove extern containsOnly, and include
8923         support/lstrings.h instead.
8924
8925         * LaTeX.C (scanAuxFile): modify because of strip changes
8926         (deplog): ditto
8927         * buffer.C (makeLaTeXFile): ditto
8928         * bufferparams.C (writeFile): ditt
8929         * lyxfont.C (stateText): ditto
8930         * lyxserver.C (read_ready): ditto
8931         * vc-backend.C (scanMaster): ditto
8932
8933         * BufferView_pimpl.h: ws changes
8934
8935         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8936
8937 2002-07-26  André Pönitz <poenitz@gmx.net>
8938
8939         * kb_sequence.C: remove unnedred usings
8940
8941 2002-07-26  Juergen Vigna  <jug@sad.it>
8942
8943         * lyxfind.C (LyXReplace): we have to check better if the returned
8944         text is not of theLockingInset()->getLockingInset().
8945
8946 2002-07-25  Juergen Vigna  <jug@sad.it>
8947
8948         * lyxfind.C (LyXReplace): don't replace if we don't get the
8949         right LyXText.
8950
8951         * undo_funcs.C (createUndo): remove debugging code.
8952
8953 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8954
8955         * buffer.C (parseSingleLyXformat2Token): Use default placement
8956         when reading old floats.
8957
8958         * FloatList.C (FloatList): Change the default placement of figure
8959         and tables to "tbp".
8960
8961 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8962
8963         * MenuBackend.C: using std::max
8964
8965 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8966
8967         * MenuBackend.C (expandToc):
8968         (expandToc2): code moved from xforms menu frontend. It is now
8969         generic and TOCs are transparent to menu frontends.
8970
8971 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8972
8973         * toc.C (getTocList): protect against buf=0
8974
8975         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8976         Menu as first parameter. Now, this calls itself recursively to
8977         expand a whole tree (this will be useful for TOC handling)
8978         (expandFloatInsert): remove 'wide' version of floats
8979
8980         * MenuBackend.h (submenuname): returns the name of the submenu.
8981         (submenu): returns the submenu itself, provided it has been
8982         created by MenuBackend::expand
8983
8984 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8985
8986         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8987         insets which have noFontChange == true. (bug #172)
8988
8989 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8990
8991         * BufferView_pimpl.C: add connection objects and use them...
8992         (Pimpl): here.
8993
8994 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8995
8996         * MenuBackend.C (expandLastfiles):
8997         (expandDocuments):
8998         (expandFormats):
8999         (expandFloatListInsert):
9000         (expandFloatInsert):
9001         (expand): split expand in parts
9002
9003 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9004
9005         * lyx_gui.C: use lyx_gui::exit()
9006
9007 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9008
9009         * LyXAction.C: show the failing pseudo action
9010
9011 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9012
9013         * buffer.C (readFile): Run the lyxconvert script in order to read
9014         old files.
9015
9016 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9017
9018         * LyXAction.C:
9019         * commandtags.h:
9020         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9021
9022 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9023
9024         * LyXAction.C:
9025         * commandtags.h:
9026         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9027
9028 2002-07-22  Herbert Voss  <voss@lyx.org>
9029
9030         * lengthcommon.C:
9031         * lyxlength.[Ch]: add support for the vertical lengths
9032
9033 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9034
9035         * toc.[Ch]: std:: fixes
9036
9037 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9038
9039         * lyxrc.C: do not include lyx_main.h
9040
9041         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9042         for layouts
9043
9044         * lyxrc.C:
9045         * encoding.C:
9046         * bufferlist.C:
9047         * BufferView2.C: include "lyxlex.h"
9048
9049         * tabular.h:
9050         * bufferparams.h: do not #include "lyxlex.h"
9051
9052         * lyxtextclasslist.C (Add): remove method
9053         (classlist): renamed to classlist_
9054
9055         * paragraph_pimpl.C:
9056         * paragraph.C:
9057         * text2.C:
9058         * CutAndPaste.C:
9059         * bufferview_funcs.C:
9060         * bufferlist.C:
9061         * text.C:
9062         * LaTeXFeatures.C:
9063         * buffer.C:
9064         * toc.C (getTocList): use BufferParams::getLyXTextClass
9065
9066         * toc.C (getTocList): use InsetFloat::addToToc
9067
9068         * toc.[Ch]: new files, containing helper functions to handle table
9069         of contents
9070
9071         * lyxfunc.C (dispatch): no need to remove spaces around command
9072         given as a string
9073         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9074         first command of the sequence; it is not very clever, but I do not
9075         have a better idea, actually
9076
9077         * LyXAction.C (LookupFunc): make sure to remove space at the
9078         beginning and end of the command
9079
9080 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9081
9082         * MenuBackend.C (getMenubar): new method: return the menubar of
9083         this menu set
9084         (read): treat differently reading of menu and menubar (in
9085         particular, the menubar has no name now)
9086         (Menu::menubar): remove
9087
9088         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9089         saving is finished
9090
9091 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9092
9093         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9094         a bibitem inset in a RTL paragraph.
9095
9096 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9097
9098         * paragraph_pimpl.C: constify
9099
9100         * BufferView_pimpl.C:
9101         * LaTeX.C:
9102         * lyxfunc.C: fix dispatch in a nicer way
9103
9104 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9105
9106         * lyxfunc.C (dispatch):
9107         * BufferView_pimpl.C:
9108         * BufferView_pimpl.h:
9109         * BufferView.C:
9110         * BufferView.h: rename Dispatch() to dispatch()
9111
9112         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9113
9114         * lyxlayout.C (Read): honor DependsOn tag
9115
9116         * lyxlayout.[Ch] (depends_on): new method
9117
9118         * version.C.in: update lyx_docversion
9119
9120         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9121
9122         * paragraph.C (validate): remove from here...
9123         * paragraph_pimpl.C (validate): ... and move here
9124         (isTextAt): make it const
9125
9126         * buffer.C (getLists): ws cleanup
9127
9128 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9129
9130         * language.C (read): Use iso8859-1 encoding in latex_lang
9131         (this prevents LyX from crashing when using iso10646-1 encoding).
9132
9133 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9134
9135         * text2.C (toggleInset): if cursor is inside an inset, close the
9136         inset and leave cursor _after_ it
9137
9138 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9139
9140         * lyxfunc.C: move minibuffer completion handling out of here
9141
9142 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9143
9144         * BufferView_pimpl.C:
9145         * LaTeX.C: fix dispatch calls
9146
9147 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9148
9149         * text.C (drawChars): Fix Arabic text rendering.
9150
9151 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9152
9153         * LyXAction.C:
9154         * commandtags.h:
9155         * lyxfunc.C: remove message-push/pop
9156
9157         * lyxserver.C:
9158         * lyxfunc.h:
9159         * lyxfunc.C: rationalise some code by removing verboseDispatch
9160           in favour of a bool argument to dispatch()
9161
9162 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9163
9164         * lyx_main.C (init): make sure to read symlinks as absolute paths
9165
9166 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9167
9168         * lyxfunc.h:
9169         * lyxfunc.C: no need for commandshortcut to be a member
9170
9171 2002-07-15  André Pönitz <poenitz@gmx.net>
9172
9173         * converter.C: add support for $$s (scripts from lib/scripts dir)
9174         * lyx_main.C: white space
9175
9176 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9177
9178         * bufferlist.C:
9179         * lyxrc.h:
9180         * lyxrc.C: remove second exit confirmation
9181
9182 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9183
9184         * BufferView.h:
9185         * BufferView.C:
9186         * BufferView2.C:
9187         * BufferView_pimpl.h:
9188         * BufferView_pimpl.C:
9189         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9190
9191 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9192
9193         * MenuBackend.C (expand): add numeric shortcuts to document menu
9194
9195         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9196
9197 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9198
9199         * lyxfont.C (setLyXFamily):
9200         (setLyXSeries):
9201         (setLyXShape):
9202         (setLyXSize):
9203         (setLyXMisc):
9204         (lyxRead):
9205         * debug.C (value):
9206         * buffer.C (asciiParagraph): use ascii_lowercase
9207
9208 2002-07-15  Mike Fabian  <mfabian@suse.de>
9209
9210         * lyxlex_pimpl.C (search_kw):
9211         * lyxlex.C (getLongString):
9212         * converter.h (operator<):
9213         * converter.C (operator<):
9214         * buffer.C (parseSingleLyXformat2Token):
9215         (asciiParagraph):
9216         * ToolbarDefaults.C (read):
9217         * MenuBackend.C (checkShortcuts):
9218         (read):
9219         * LColor.C (getFromGUIName):
9220         (getFromLyXName): use the compare_ascii_no_case instead of
9221         compare_no_case, because in turkish, 'i' is not the lowercase
9222         version of 'I', and thus turkish locale breaks parsing of tags.
9223
9224 2002-07-16  Angus Leeming  <leeming@lyx.org>
9225
9226         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9227         now takes a Buffer const & argument.
9228
9229 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9230
9231         * BufferView.C (resize): check there's a buffer to resize
9232
9233 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9234
9235         * lyxfunc.C: remove dead code
9236
9237         * lyxserver.h:
9238         * lyxserver.C: use lyx_guii::set_read_callback
9239
9240 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9241
9242         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9243         an inset in a RTL paragraph.
9244
9245 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9246
9247         * lyxfunc.C: repaint after a font size update
9248
9249 2002-07-15  André Pönitz <poenitz@gmx.net>
9250
9251         * lyxlength.C: inBP should be able to return negative values
9252
9253 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9254
9255         * lyxfunc.C: use lyx_gui::update_fonts()
9256
9257 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9258
9259         * lyxfunc.C: use lyx_gui::update_color()
9260
9261 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9262
9263         * bufferlist.C:
9264         * lyxfunc.h:
9265         * lyxfunc.C:
9266         * lyxrc.h:
9267         * lyxrc.C: remove file->new asks for name option, and let
9268           buffer-new take an argument
9269
9270 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9271
9272         * BufferView_pimpl.C: remove unneeded extra repaint()
9273
9274 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9275
9276         * LyXAction.C: allow command-sequence with NoBuffer
9277
9278         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9279
9280 2002-07-10  Angus Leeming  <leeming@lyx.org>
9281
9282         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9283
9284 2002-07-09  Angus Leeming  <leeming@lyx.org>
9285
9286         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9287
9288 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9289
9290         * lengthcommon.h: whitespace
9291
9292         * lyxfunc.C: update scrollbar after goto paragraph
9293
9294         * lyxtext.h: factor out page break drawing, and fix it so
9295           page break/added space paints as selected nicely
9296
9297 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9298
9299         * BufferView_pimpl.C: add FIXMEs, clean up a little
9300
9301 2002-07-09  André Pönitz <poenitz@gmx.net>
9302
9303         * lyxfont.[Ch]: support for wasy symbols
9304
9305 2002-07-08  André Pönitz <poenitz@gmx.net>
9306
9307         * BufferView_pimpl.C: apply John's patch for #93.
9308
9309 2002-07-05  Angus Leeming  <leeming@lyx.org>
9310
9311         * BufferView_pimpl.C (buffer): generate previews if desired.
9312
9313         * LColor.h: add "preview" to the color enum.
9314
9315         * LColor.C (LColor): add a corresponding entry to the items array.
9316
9317         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9318         with this buffer.
9319
9320 2002-07-05  Angus Leeming  <leeming@lyx.org>
9321
9322         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9323         The body of the code is now in the method that is passed an ostream &
9324         rather than a file name.
9325         Pass an additional only_preamble parameter, useful for the forthcoming
9326         preview stuff.
9327
9328 2002-07-03  André Pönitz <poenitz@gmx.net>
9329
9330         * lyxfunc.C: simplify getStatus() a bit for math stuff
9331
9332 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9333
9334         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9335
9336 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9337
9338         * text.C (changeRegionCase): do not change case of all the
9339         document when region ends at paragraph end (bug #461)
9340
9341 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9342
9343         * paragraph.C (startTeXParParams):
9344         (endTeXParParams): add \protect when necessary
9345
9346 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9347
9348         * BufferView_pimpl.C (workAreaExpose): remove warning
9349
9350 2002-06-27  Angus Leeming  <leeming@lyx.org>
9351
9352         * Makefile.am: add lyxlayout_ptr_fwd.h.
9353
9354 2002-06-26  André Pönitz <poenitz@gmx.net>
9355
9356         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9357
9358 2002-06-25  Angus Leeming  <leeming@lyx.org>
9359
9360         * lyxfunc.C (dispatch): Comment out the call to
9361         grfx::GCache::changeDisplay. The method no longer exists now that the
9362         pixmap generation part of the graphics loader has been moved into
9363         InsetGraphics.
9364
9365 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9366
9367         * text2.C: layout as layout
9368
9369         * text.C: layout as layout
9370
9371         * tabular.C (OldFormatRead): layout as layout
9372
9373         * paragraph_pimpl.C (TeXDeeper): layout as layout
9374         (realizeFont): layout as layout
9375
9376         * paragraph.C (writeFile): layout as layout
9377         (validate): layout as layout
9378         (getFont): layout as layout
9379         (getLabelFont): layout as layout
9380         (getLayoutFont): layout as layout
9381         (breakParagraph): layout as layout
9382         (stripLeadingSpaces): layout as layout
9383         (getEndLabel): layout as layout
9384         (getMaxDepthAfter): layout as layout
9385         (applyLayout): layout as layout
9386         (TeXOnePar): layout as layout
9387         (simpleTeXOnePar): layout as layout
9388         (TeXEnvironment): layout as layout
9389         (layout): layout as layout
9390         (layout): layout as layout
9391
9392         * lyxtextclass.C (compare_name): new functor to work with
9393         shared_ptr, layout as layout
9394         (Read): layout as layout
9395         (hasLayout): layout as layout
9396         (operator): layout as layout
9397         (delete_layout): layout as layout
9398         (defaultLayout): layout as layout
9399
9400         * lyxlayout_ptr_fwd.h: new file
9401
9402         * lyxlayout.C (Read): layout as layout
9403
9404         * lyx_cb.C (MenuInsertLabel): layout as layout
9405
9406         * bufferlist.C (newFile): layout as layout
9407
9408         * buffer.C (readLyXformat2): layout as layout
9409         (parseSingleLyXformat2Token): layout as layout
9410         (insertStringAsLines): layout as layout
9411         (asciiParagraph): layout as layout
9412         (latexParagraphs): layout as layout
9413         (makeLinuxDocFile): layout as layout
9414         (simpleLinuxDocOnePar): layout as layout
9415         (makeDocBookFile): layout as layout
9416         (simpleDocBookOnePar): layout as layout
9417         (getLists): layout as layout
9418
9419         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9420
9421         * CutAndPaste.C (cutSelection): layout as layout
9422         (pasteSelection): layout as layout
9423         (SwitchLayoutsBetweenClasses): layout as layout
9424
9425         * BufferView_pimpl.C (Dispatch): layout as layout
9426         (smartQuote): layout as layout
9427
9428         * BufferView2.C (unlockInset): layout as layout
9429
9430 2002-06-24  André Pönitz <poenitz@gmx.net>
9431
9432         * lyxfunc.C: fix #487
9433
9434 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9435
9436         * lyxrc.h:
9437         * lyxrc.C:
9438         * lyxfunc.C: remove display_shortcuts, show_banner
9439
9440 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9441
9442         * Buffer_pimpl.C: oops, update on resize
9443
9444 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9445
9446         * buffer.C:
9447         * converter.C:
9448         * exporter.C:
9449         * lyxfunc.C:
9450         * BufferView.h:
9451         * BufferView.C: use repaint()
9452
9453         * BufferView_pimpl.h:
9454         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9455           as it's a clearer description. Remove superfluous
9456           redraws.
9457
9458 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9459
9460         * text.C: fix bug 488. Not ideal, but getting
9461           getWord() to work properly for the insets that
9462           matter is more difficult ...
9463
9464 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9465
9466         * BufferView_pimpl.C:
9467         * LyXAction.C:
9468         * commandtags.h:
9469         * lyxfunc.C: remove the six million index lyxfuncs to just
9470           one, and DTRT (bug 458)
9471
9472 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9473
9474         * BufferView.h:
9475         * BufferView.C:
9476         * BufferView_pimpl.h:
9477         * BufferView_pimpl.C: clean up resize() stuff,
9478           and unnecessary updateScreen()s
9479
9480 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9481
9482         * BufferView.h:
9483         * BufferView.C:
9484         * BufferView_pimpl.h:
9485         * BufferView_pimpl.C:
9486         * lyxfind.h:
9487         * lyxfind.C:
9488         * minibuffer.C: remove focus management of workarea,
9489           not needed. Use screen's greyOut()
9490
9491 2002-06-17  Herbert Voss  <voss@lyx.org>
9492
9493         * converter.C: (convert) do not post a message, when converting
9494         fails, let the calling function decide what to do in this case
9495
9496 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9497
9498         * lyxfunc.C: tidy up a little
9499
9500 2002-06-16    <alstrup@diku.dk>
9501
9502         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9503         Got rid of FORMS_H_LOCATION include. Now we are
9504         GUII.
9505
9506 2002-06-15  LyX Development team  <lyx@rilke>
9507
9508         * buffer.[Ch] (sgmlOpenTag):
9509         (sgmlCloseTag): Added support for avoiding pernicious mixed
9510         content. Return number of lines written.
9511
9512         (makeLinuxDocFile):
9513         (makeDocBookFile): Fixed calls to sgml*Tag.
9514         Simple white space clean.
9515
9516         (simpleDocBookOnePar): Simple white space clean.
9517
9518         * tabular.[Ch] (docBook): Renamed to docbook and got another
9519         argument to related with the pernicious mixed content.
9520
9521         (docbookRow): Fixed calls for docbook inset method.
9522
9523 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9524
9525         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9526         so it's X11 independent.
9527
9528         * kb*.[Ch]: ditto.
9529
9530         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9531
9532 2002-06-15  Lyx Development team  <lyx@electronia>
9533
9534         * intl.h: Renamed getTrans to getTransManager.
9535
9536 2002-06-14  Angus Leeming  <leeming@lyx.org>
9537
9538         * Makefile.am: nuke forgotten stl_string_fwd.h.
9539
9540 2002-06-12  Angus Leeming  <leeming@lyx.org>
9541
9542         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9543
9544 2002-06-13  Angus Leeming  <leeming@lyx.org>
9545
9546         * LaTeX.C:
9547         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9548
9549 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9550
9551         * kbmap.C (getiso): add support for cyrillic and greek
9552
9553 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9554
9555         * BufferView.h:
9556         * BufferView.C:
9557         * BufferView_pimpl.h:
9558         * BufferView_pimpl.C: move bogus scrolling logic
9559           to xforms
9560
9561 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9562
9563         * lyxfunc.C:
9564         * BufferView_pimpl.C: view->resize() change
9565
9566 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9567
9568         * BufferView_pimpl.C: topCursorVisible
9569           prototype change
9570
9571 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9572
9573         * Makefile.am:
9574         * lyx_gui.h:
9575         * lyx_gui.C: move to frontends/
9576
9577         * main.C:
9578         * lyx_main.h:
9579         * lyx_main.C: changes from above
9580
9581 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9582
9583         * intl.C:
9584         * intl.h:
9585         * kbmap.C:
9586         * kbsequence.C:
9587         * lyx_cb.C:
9588         * lyx_main.C: minor tidy
9589
9590 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9591
9592         * BufferView_pimpl.h:
9593         * BufferView_pimpl.C:
9594         * BufferView.h:
9595         * BufferView.C: make painter() const,
9596           remove dead code
9597
9598         * BufferView2.C: use screen() accessor
9599
9600         * lyx_main.h:
9601         * lyx_main.C: some minor cleanup
9602
9603 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9604
9605         * BufferView_pimpl.h:
9606         * BufferView_pimpl.C: remove enter/leaveView,
9607           use workHeight()
9608
9609 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9610
9611         * BufferView.h:
9612         * BufferView.C:
9613         * BufferView2.C:
9614         * BufferView_pimpl.h:
9615         * BufferView_pimpl.C: only construct screen once,
9616           rename
9617
9618         * lyxrc.C: remove pointless comment
9619
9620 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9621
9622         * BufferView.h:
9623         * BufferView.C: remove active() and belowMouse()
9624
9625         * BufferView_pimpl.h:
9626         * BufferView_pimpl.C: use workarea() not workarea_,
9627           and make it use a scoped_ptr instead
9628
9629 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9630
9631         * lyx_gui.C: add debug message on BadWindow
9632
9633 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9634
9635         * sp_spell.C: fdopen is not part of the C++ standard.
9636
9637         * paragraph.C (InsetIterator): use >= instead of ==
9638
9639 2002-06-07  Angus Leeming  <leeming@lyx.org>
9640
9641         Fixes needed to compile with Compaq cxx 6.5.
9642         * BufferView_pimpl.C:
9643         * DepTable.C:
9644         * buffer.C:
9645         * converter.C:
9646         * encoding.C:
9647         * lyx_gui.C:
9648         * lyx_main.C:
9649         * lyxtextclasslist.C:
9650         * minibuffer.C:
9651         * sp_spell.C:
9652         * tabular_funcs.C:
9653         * vc-backend.C:
9654         all c-library variables have been moved into namespace std. Wrap
9655         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9656
9657         * lyxlength.C:
9658         * tabular-old.C:
9659         * tabular.C:
9660         Add a using std::abs declaration.
9661
9662         * kbmap.h (modifier_pair):
9663         * paragraph.h (InsetTable, InsetList):
9664         * lyxfont.h (FontBits):
9665         type definition made public.
9666
9667         * bufferlist.C (emergencyWriteAll): the compiler complains that
9668         there is more than one possible lyx::class_fun template to choose from.
9669         I re-named the void specialisation as lyx::void_class_fun.
9670
9671         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9672
9673         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9674         the compiler is is unable to find tostr in write_attribute.
9675
9676 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9677
9678         * buffer.C (sgmlError): hide #warning
9679
9680 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9681
9682         * xtl/*: get rid of xtl, which is not in use anyway
9683
9684         * LyXAction.C (init):
9685         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9686         were unimplemented xtl experimentation
9687
9688 2002-06-04  André Pönitz <poenitz@gmx.net>
9689
9690         * lyxfunc.C: disable array operation on simple formulae
9691
9692 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9693
9694         * converter.C: constify a bit
9695
9696 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9697
9698         * lyx_gui.C: check xforms version correctly
9699
9700 2002-04-30  Herbert Voss  <voss@lyx.org>
9701
9702         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9703         "keep" option
9704
9705 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9706
9707         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9708           attempt to register it with a VCS)
9709
9710 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9711
9712         * lyx_main.C (init): honor variables LYX_DIR_13x and
9713         LYX_USERDIR_13x
9714
9715 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9716
9717         * buffer.h:
9718         * buffer.C:
9719         * lyx_main.C: fix a crash on bad command line,
9720           and give a useful exit status on error
9721
9722         * lyxfunc.C (doImport): allow -i lyx to work
9723
9724 2002-03-30  André Pönitz <poenitz@gmx.net>
9725
9726         * lyxfunc.C: mathed font changes
9727
9728 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9729
9730         * LaTeX.C:
9731         * importer.h:
9732         * importer.C:
9733         * lyx_sty.h:
9734         * lyx_sty.C:
9735         * lyxlex.C:
9736         * lyxrow.h:
9737         * lyxtext.h:
9738         * paragraph.h:
9739         * paragraph.C:
9740         * texrow.h:
9741         * texrow.C:
9742         * text.C:
9743         * trans_mgr.h: srcdocs, and some minor cleanups
9744
9745 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9746
9747         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9748         call getFont all the time)
9749
9750 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9751
9752         * switch from SigC signals to boost::signals
9753
9754 2002-05-29  André Pönitz <poenitz@gmx.net>
9755
9756         * paragraph_pimpl.C (getChar): don't call size() too often...
9757
9758 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9759
9760         * paragraph_pimpl.C (insertChar): do not try to update tables when
9761         appending (pos == size())
9762
9763         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9764         in order to reduce drastically the number of comparisons needed to
9765         parse a large document
9766
9767 2002-05-29  André Pönitz <poenitz@gmx.net>
9768
9769         * text.C:
9770         * text2.C:
9771         * lyxtextclass.C:
9772         * sp_pspell.h:
9773         * textclasslist.[Ch]:
9774         * sp_ispell.h: whitespace change
9775
9776 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9777
9778         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9779         lyxaction directly now.
9780
9781 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9782
9783         * trans.C:
9784         * lyxfont.C:
9785         * lyxvc.C: remove unused headers
9786
9787 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9788
9789         * Makefile.am:
9790         * buffer.h:
9791         * undostack.h:
9792         * undostack.C:
9793         * undo_funcs.h:
9794         * undo_funcs.C: some cleanups. Use shared_ptr
9795           and a template for the undo stacks.
9796
9797 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9798
9799         * BufferView_pimpl.h:
9800         * BufferView_pimpl.C:
9801         * kbmap.h:
9802         * kbmap.C:
9803         * kbsequence.h:
9804         * kbsequence.C:
9805         * lyxfunc.h:
9806         * lyxfunc.C:
9807         * text2.C: use key_state/mouse_state
9808
9809 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9810
9811         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9812         and LSubstring
9813
9814         * chset.C: change include order
9815         (loadFile): use boost regex and get rid of LRegex and LSubstring
9816
9817         * Makefile.am (BOOST_LIBS): new variable
9818         (lyx_LDADD): use it
9819
9820         * LaTeX.C: change include order.
9821         (scanAuxFile): use boost regex and get rid of LRegex and
9822         LSubstring
9823         (deplog): ditto
9824
9825 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9826
9827         * ColorHandler.h:
9828         * ColorHandler.C:
9829         * FontInfo.h:
9830         * FontInfo.C: moved to frontends/xforms/
9831
9832         * FontLoader.h:
9833         * FontLoader.C: moved into frontends for GUIIzation
9834
9835         * Makefile.am:
9836         * lyx_gui.C:
9837         * lyxfont.C:
9838         * lyxfunc.C: changes from above
9839
9840 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9841
9842         * LColor.C: remove spurious X include
9843
9844         * BufferView_pimpl.C:
9845         * Makefile.am:
9846         * font.h:
9847         * font.C:
9848         * text.C:
9849         * text2.C: move font metrics to frontends/
9850
9851 2002-05-24  Juergen Vigna  <jug@sad.it>
9852
9853         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9854         setting the undo_cursor.
9855
9856         * ParagraphParameters.h: include local includes first.
9857
9858 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9859
9860         * BufferView_pimpl.C:
9861         * BufferView_pimpl.h:
9862         * Makefile.am:
9863         * WorkArea.h:
9864         * WorkArea.C:
9865         * screen.C: move WorkArea into frontends/
9866
9867         * lyxscreen.h:
9868         * screen.C:
9869         * text.C:
9870         * BufferView.C:
9871         * BufferView2.C: move LyXScreen into frontends/
9872
9873         * lyxlookup.h:
9874         * lyxlookup.C:
9875         * lyx_gui.C: move lyxlookup into frontends/xforms/
9876
9877 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9878
9879         * BufferView2.C:
9880         * BufferView_pimpl.C:
9881         * FontLoader.C:
9882         * LyXView.h:
9883         * LyXView.C:
9884         * Makefile.am:
9885         * WorkArea.C:
9886         * XFormsView.h:
9887         * XFormsView.C:
9888         * buffer.C:
9889         * bufferlist.C:
9890         * bufferview_funcs.C:
9891         * converter.C:
9892         * importer.C:
9893         * lyx_cb.C:
9894         * lyx_gui.C:
9895         * lyx_main.C:
9896         * lyx_find.C:
9897         * lyxfunc.C:
9898         * lyxvc.C:
9899         * minibuffer.C:
9900         * text.C:
9901         * text2.C:
9902         * trans.C:
9903         * vc-backend.C: move LyX/XFormsView into frontends/
9904
9905 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9906
9907         * Makefile.am:
9908         * PainterBase.C:
9909         * PainterBase.h:
9910         * Painter.C:
9911         * Painter.h:
9912         * WorkArea.C:
9913         * WorkArea.h:
9914         * screen.C:
9915         * tabular.C:
9916         * text.C:
9917         * text2.C: move Painter to frontends/
9918
9919 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9920
9921         * buffer.C: comment out some some code that depend upon lyx_format
9922         < 220
9923
9924         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9925         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9926
9927         * buffer.h (NO_COMPABILITY): turn off compability
9928
9929         * ColorHandler.C: include scoped_array.hpp
9930
9931         * font.C: Use more specific smart_ptr header.
9932         * Painter.C: ditto
9933         * gettext.C: ditto
9934         * ShareContainer.h: ditto
9935         * lyx_main.h: ditto
9936         * kbmap.h: ditto
9937         * FontInfo.h: ditto
9938         * BufferView_pimpl.h: ditto
9939         * ColorHandler.h: ditto
9940
9941         * kbmap.C (defkey): change call to shared_ptr::reset
9942
9943 2002-05-21  Juergen Vigna  <jug@sad.it>
9944
9945         * buffer.C (insertErtContents): fix to insert ert asis if it is
9946         non empty. Skip it completely if it contains only whitespaces.
9947
9948 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9949
9950         * BufferView_pimpl.C:
9951         * BufferView2.C: clear selection on paste (bug 393)
9952
9953 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9954
9955         * DepTable.C: include ctime
9956
9957 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9958
9959         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9960
9961 2002-05-14  Juergen Vigna  <jug@sad.it>
9962
9963         * text.C (breakParagraph): fixed function to honor the keepempty
9964         layout in the right maner and also to permit the right breaking
9965         algorithm on empty or non empyt keepempty paragraphs.
9966
9967         * paragraph.C (breakParagraph): we have to check also if the par
9968         is really empty (!size()) for isempty otherwise we do the wrong
9969         paragraph break.
9970
9971 2002-05-10  Juergen Vigna  <jug@sad.it>
9972
9973         * buffer.[Ch] : The following are only changes to the ert
9974         compatibility read reading old LaTeX layout and font stuff and
9975         convert it to ERTInsets.
9976
9977         * buffer.h: added isErtInset().
9978
9979         * buffer.C (struct ErtComp): add a fromlayout bool to check
9980         if we're inside a LaTeX layout.
9981         (isErtInset): new helper function.
9982         (insertErtContents): look for other ert insets before this one
9983         and insert the contents there, so that we don't have subsequent
9984         ERT insets with nothing between them. This way we create only one
9985         inset with multiple paragraphs. Also check if we don't insert only
9986         spaces ' ' as they are ignored anyway afterwards in the .tex file
9987         so if we have only spaces we will ignore this latex part in the
9988         new file.
9989         (parseSingleLyXformat2Token \\layout): better compatibility when
9990         reading layout-latex stuff.
9991         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9992         language tag.
9993         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9994         stuff after reading the inset only get the information back from
9995         the stack.
9996
9997 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9998
9999         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10000
10001         * LaTeXFeatures.C (getBabelOptions): New method.
10002
10003 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10004
10005         * BufferView_pimpl.C (Dispatch): work around missing argument for
10006         'layout'
10007
10008 2002-05-08  Juergen Vigna  <jug@sad.it>
10009
10010         * text.C (leftMargin): handle paragraph leftindent.
10011
10012         * paragraph.C (writeFile): write the new \\leftindent tag.
10013         (validate): handle leftindent code.
10014         (TeXEnvironment): handle paragraphleftindent code again.
10015
10016         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10017
10018         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10019         for paragrap_extra indent code and new token \\leftindent.
10020         (latexParagraphs): handle the leftindent as environment.
10021
10022         * ParameterStruct.h: added leftindent support.
10023
10024         * ParagraphParameters.C (leftIndent): added support functions for
10025         the paragraph left indent.
10026
10027         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10028         more appropriate.
10029
10030 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10031
10032         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10033         inside insetERT.
10034
10035         * text.C (computeBidiTables): No bidi in insetERT.
10036
10037         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10038         in RTL documents.
10039
10040 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10041
10042         * version.C.in: pre 5
10043
10044 2002-05-02  José Matos  <jamatos@fep.up.pt>
10045         * buffer.C (makeDocBookFile): white space changes, add newline to
10046         command styles.
10047         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10048
10049         * tabular.C (docBook): fix typo.
10050
10051 2002-05-03  Juergen Vigna  <jug@sad.it>
10052
10053         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10054         change in LyXText as we can not be sure it was not freed.
10055         (drawOneRow): remove unused code.
10056
10057         * text.C (drawInset): redo the calculation of the need_break_row as
10058         it could have a row which was already freed.
10059         (draw): look at the return value of drawInset and return false if
10060         it also returned false.
10061         (paintRowText): look at the return value of draw and return false if
10062         it also returned false.
10063
10064         * lyxtext.h: added bool return type to drawInset() and draw() so that
10065         if we have a change in the row so that the rowbreak has to be redone
10066         we abort drawing as it will be called again.
10067
10068 2002-05-02  Juergen Vigna  <jug@sad.it>
10069
10070         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10071         a change in the maintext also if we're inside an inset.
10072         (Dispatch): set the cursor again after a break line and after the
10073         screen has been updated as it could be we're in a different row.
10074
10075         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10076         to set the cursor behind the pargraph with > size().
10077         (setCursor): check also for the same paragraph when checking where
10078         to put the cursor if we have a NFR inset.
10079
10080         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10081         parts of layout read further up as it still was in the wrong
10082         position.
10083
10084 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10085
10086         * screen.C (drawFromTo): change sine fullRebreak always return
10087         true.
10088
10089         * buffer.C (parseSingleLyXformat2Token): reindent some
10090
10091         * BufferView_pimpl.C (update): change since fullRebreak always
10092         return true.
10093         (Dispatch): git rid of the last hardcoded "Standard"s.
10094
10095 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10096
10097         * text2.[Ch] (fullRebreak): make it return void now that we always
10098         returned true.
10099
10100 2002-04-30  Juergen Vigna  <jug@sad.it>
10101
10102         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10103         ert compatibility check for "latex" layout.
10104
10105 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10106
10107         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10108         minipages: use col% instead of p%, and also use the current font.
10109         (makeLaTeXFile): Fix use babel condition.
10110         (parseSingleLyXformat2Token): Correct font when reading old floats.
10111
10112 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10113
10114         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10115         inserting list of floats.
10116
10117 2002-04-25  Herbert Voss  <voss@lyx.org>
10118
10119         * MenuBackend.C (expand): don't add the graphics extensions to the
10120         export menu
10121
10122 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10123
10124         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10125         non-existing layout, do not complain if it was the default layout
10126         of the original class (bug #342)
10127
10128 2002-04-24  Juergen Vigna  <jug@sad.it>
10129
10130         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10131         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10132
10133 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10134
10135         * buffer.C (getBibkeyList): If using \bibliography, return the
10136         option field with the reference itself. Enables us to provide natbib
10137         support when using \bibliography.
10138
10139 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10140
10141         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10142
10143         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10144         natbib is provided by the LaTeX class.
10145
10146 2002-04-23  Juergen Vigna  <jug@sad.it>
10147
10148         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10149         Wakeup functions.
10150
10151         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10152
10153 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10154
10155         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10156
10157         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10158         ensuremath around textordmasculine, textordfeminine and
10159         textdegree.
10160
10161 2002-04-19  Juergen Vigna  <jug@sad.it>
10162
10163         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10164         reinitializing the buffer otherwise row-dimensions may be wrong.
10165         (update): reset also the selection cursors if they do exits otherwise
10166         their x/y positions may be wrong.
10167
10168         * text2.C (cursorDown): don't enter the inset if we came from a row
10169         above and are one row over the inset.
10170
10171         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10172         really leaving an inset.
10173
10174 2002-04-18  Juergen Vigna  <jug@sad.it>
10175
10176         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10177         of the selected paragraph does not have the selected layout also if
10178         the last one had!
10179
10180         * text2.C (setLayout): fixed bug which did not change last selected
10181         paragraph.
10182
10183         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10184         changed the read and substituted \\end_float with \\end_inset!
10185
10186         * BufferView_pimpl.C (cursorPrevious):
10187         (cursorNext): fixed to make it work with rows heigher than the work
10188         area without moving the cursor only the draw of the row.
10189         (workAreaMotionNotify): fix jumping over high rows.
10190
10191 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10192
10193         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10194         Ressler.
10195
10196 2002-04-16  Juergen Vigna  <jug@sad.it>
10197
10198         * text2.C (setCursor): set also the irow().
10199         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10200         (cursorUp):
10201         (cursorDown): support for locking an inset if the x_fix value goes
10202         inside it. That way I can transverse insets too with cursor up/down.
10203
10204         * lyxrow.h: added irow helper function same as other (i) functions.
10205
10206         * BufferView_pimpl.C (cursorPrevious):
10207         (cursorNext): fixed for insets!
10208
10209 2002-04-15  Juergen Vigna  <jug@sad.it>
10210
10211         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10212         position otherwise it is wrong in some cases.
10213
10214         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10215         inside the inset before the call.
10216
10217 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10218
10219         * buffer.[Ch] (getBibkeyList): make it const.
10220
10221 2002-04-12  Juergen Vigna  <jug@sad.it>
10222
10223         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10224
10225         * text2.C (getCursorX): new helper function
10226         (setCursor): compute also ix_
10227         (setCursorFromCoordinates): set also ix.
10228
10229         * lyxcursor.h: added ix_ and helper functions.
10230
10231         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10232
10233         * buffer.C (insertStringAsLines): dont break paragraph if the this
10234         paragraph is inside an inset which does not permit it!
10235
10236         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10237         also with no chars on this paragraph.
10238         (paintRowText): only paint stuff if it's inside the workarea!
10239
10240         * paragraph.C (breakParagraph): honor keepempty flag and break the
10241         paragraph always below not above.
10242
10243         * BufferView2.C (unlockInset): update the paragraph layout on inset
10244         unlock as we changed paragraph in such a case.
10245
10246         * lyxfind.C (LyXFind): clear the former selection if not found!
10247
10248         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10249         again called in insertChar().
10250
10251         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10252         an inset which uses the whole row!
10253         (rightMargin): ditto.
10254         (insertChar): force a rebreak if we inserted an inset!
10255
10256 2002-03-28  Herbert Voss  <voss@lyx.org>
10257
10258         * lyxlength.[Ch]: add inBP() to get the right PS-point
10259         units (BigPoint). With inPixels we have rounding errors
10260
10261 2002-04-11  Juergen Vigna  <jug@sad.it>
10262
10263         * text2.C (setCursorFromCoordinates): set iy to the right value.
10264         (setCursor): add check if row->previous exists!
10265
10266         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10267         an old float_type as this was the case in the old code!
10268
10269         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10270
10271         * BufferView2.C (showLockedInsetCursor): use iy
10272         (fitLockedInsetCursor): ditto
10273
10274         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10275         locked insets as there we have the right value now.
10276
10277         * lyxcursor.C: added iy_ variable and iy functions to set to the
10278         baseline of cursor-y of the locked inset.
10279
10280         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10281         (setCursor): fixed for insets which need a full row.
10282
10283         * text.C (rowLastPrintable): don't ignore the last space when before
10284         an inset which needs a full row.
10285         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10286         as last character of a row when before a inset which needs a full row.
10287
10288 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10289
10290         * version.C.in: update date
10291
10292         * text2.C (fullRebreak): try to always return true and see what
10293         happens...
10294
10295 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10296
10297         * MenuBackend.C (expand): use Floating::listName
10298
10299         * FloatList.C (FloatList): add listName argument to the built-in
10300         floats
10301
10302         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10303         text associated with the float.
10304
10305 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10306
10307         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10308
10309 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10310
10311         * ShareContainer.h: add a couple of missing typenames.
10312
10313 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10314
10315         * lyxrc.C (getDescription): use _() correctly rather than N_().
10316
10317 2002-03-28  Herbert Voss  <voss@lyx.org>
10318
10319         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10320         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10321
10322 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10323
10324         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10325         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10326
10327 2002-03-29  Juergen Vigna  <jug@sad.it>
10328
10329         * lyxfunc.C (dispatch): add a missing fitCursor call.
10330
10331         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10332         it was scrolled by a cursor move, so return the bool status.
10333
10334         * BufferView.C (fitCursor): return the bool flag also to the outside
10335         world as this is needed.
10336
10337         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10338
10339         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10340         call the edit() as it is not needed (and wrong) IMO.
10341         (workAreaButtonPress): set the screen_first variable before evt.
10342         unlock the inset as this may change screen_first and then we have
10343         a wrong y position for the click!
10344
10345 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10346
10347         * MenuBackend.C (expand): another translation that I missed
10348
10349 2002-03-28  Juergen Vigna  <jug@sad.it>
10350
10351         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10352
10353         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10354
10355 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10356
10357         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10358
10359         * MenuBackend.C (expand): fix export/view/update when there is no
10360         document open.
10361
10362 2002-03-27  Herbert Voss  <voss@lyx.org>
10363
10364         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10365         and text%
10366
10367 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10368
10369         * bufferview_funcs.C (currentState): only show paragraph number
10370         for is DEVEL_VERSION is set.
10371
10372         * lyxfunc.C (dispatch): put warning in INFO channel
10373
10374         * MenuBackend.C (expand): translate the name of floats
10375
10376         * FloatList.C (FloatList): mark the float names for translation
10377
10378         * converter.C (convert): use LibScriptSearch
10379
10380 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10381
10382         * MenuBackend.C (defaults): fix default menu (we might as well get
10383         rid of it...)
10384
10385 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10386
10387         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10388         directory.
10389
10390 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10391
10392         * lyxvc.C: reorder includes.
10393
10394 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10395
10396         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10397           properly
10398
10399 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10400
10401         * CutAndPaste.C: change layouts earlier on paste
10402           to avoid crashing when calling getFont()
10403
10404 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10405
10406         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10407         irritating #error.
10408
10409 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10410
10411         * WorkArea.C: remove 'Pending' debug message.
10412
10413         * most files: ws cleanup
10414
10415         * buffer.[Ch]: ws changes
10416
10417         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10418
10419 2002-03-21  Juergen Vigna  <jug@sad.it>
10420
10421         * tabular.C (SetMultiColumn): collapse also the contents of the
10422         cells and set the last border right. Added a Buffer const * param.
10423
10424 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10425
10426         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10427         linking or not.
10428
10429 2002-03-19  Juergen Vigna  <jug@sad.it>
10430
10431         * text2.C (clearSelection): reset also xsel_cache.
10432
10433         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10434         where it needs to be called (John tells us to do so too :)
10435         (selectionLost): reset sel_cache.
10436
10437         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10438
10439 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10440
10441         * text2.C (setCursorIntern): put debuging code in INSETS channel
10442
10443 2002-03-19  André Pönitz <poenitz@gmx.net>
10444
10445         * lyxfunc.C: tiny whitespace change
10446
10447 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10448
10449         * ToolbarDefaults.C (init):
10450         * LyXAction.C (init):
10451         * commandtags.h:
10452         * BufferView_pimpl.C (Dispatch):
10453         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10454
10455 2002-03-19  Allan Rae  <rae@lyx.org>
10456
10457         * exporter.C (Export): removeAutoInsets before doing anything else.
10458         While I've just introduced a dependency on BufferView this really is
10459         the best place to clean the buffer otherwise you need to cleanup in
10460         a dozen places before calling export or cleanup in a dozen functions
10461         that export calls.
10462
10463         * converter.C (runLaTeX):
10464         (scanLog): Better handling of removeAutoInsets and screen updates.
10465
10466         * lyxfunc.C (dispatch): small whitespace changes
10467
10468 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10469
10470         * WorkArea.C (C_WorkAreaEvent): return a value.
10471         (event_cb): return 1 if we handled the event, 0 otherwise.
10472
10473         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10474
10475 2002-03-18  Juergen Vigna  <jug@sad.it>
10476
10477         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10478         (GetAdditionalWidth): ditto.
10479         (RightLine): ditto.
10480         (LeftLine): ditto.
10481
10482         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10483         inset if we're there actually (probably not used right now but this
10484         is the direction to go for unifying code).
10485         (paste): disable code to clear the selection.
10486
10487         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10488         inside an InsetText and move the check further up as it is in the
10489         wrong place.
10490
10491         * text2.C (pasteSelection): set a selection over the pasted text.
10492
10493 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10494
10495         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10496         and libgraphics to build on Cygwin.
10497
10498 2002-03-15  Juergen Vigna  <jug@sad.it>
10499
10500         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10501         inserting an Inset into the paragraph. I know this is not the best
10502         fix but we already use current_view in CutAndPaste so we will remove
10503         all of it's using at the same time.
10504
10505         * buffer.C (sgmlError): deactivated function till it is rewritten in
10506         the right mode, now it can create problems.
10507
10508         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10509         before accessing it.
10510
10511 2002-03-14  Juergen Vigna  <jug@sad.it>
10512
10513         * undo_funcs.C (textHandleUndo): do the right thing when updating
10514         the inset after the undo/redo.
10515
10516         * text2.C (setCursor): just some testcode for #44 not ready yet.
10517
10518         * undo_funcs.C (textHandleUndo): set the next() and previous()
10519         pointers of the paragraph to 0 before deleting otherwise we have
10520         problems with the Paragraph::[destructor].
10521
10522         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10523         on a paragraph insertion.
10524
10525 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10526
10527         * buffer.C (asciiParagraph): use += operator for char append to
10528         string.
10529
10530         * paragraph.C (getFontSettings): compare >= not just >
10531         (highestFontInRange): ditto
10532         (setFont): ditto
10533
10534 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10535
10536         * paragraph.C: change several algorithm to be more appripriate for
10537         the problem domain. This is lookip in FontList and in the InsetList.
10538
10539 2002-03-13  André Pönitz <poenitz@gmx.net>
10540
10541         * commandtags.h:
10542         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10543
10544 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10545
10546         * commandtags.h:
10547         * LyXAction.C:
10548         * lyxfunc.C:
10549         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10550
10551 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10552
10553         * Painter.C (display): anon helper function, adjust code for this
10554         change.
10555         (pixmap): remove function.
10556
10557         * Painter.h: remove private display variable.
10558
10559         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10560
10561 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10562
10563         * WorkArea.[Ch]: remove figinset_canvas cruft.
10564
10565 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10566
10567         * lyxtextclass.C (operator): add one item cache optimization.
10568
10569         * bufferlist.h: doxy changes
10570
10571         * bufferlist.C: ws changes
10572
10573         * DepTable.[Ch] (ext_exist): place const in the right spot.
10574
10575         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10576         call resizeInsets.
10577         (workAreaExpose): call resizeInsets when the with BufferView changes.
10578         (Dispatch): adjust for protectedBlank removal
10579         (specialChar): call updateInset if the insert went ok.
10580
10581         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10582         specialChar instead.
10583
10584         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10585
10586         * BufferView.h: doxy change
10587
10588         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10589
10590         * lyxtextclass.C (operator[]): remove non-const version
10591         (defaultLayout): remove non-const version
10592
10593 2002-03-12  Juergen Vigna  <jug@sad.it>
10594
10595         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10596         did resize the LyXText too.
10597
10598         * buffer.C (readLyXformat2): set layout information on newly allocated
10599         paragraphs.
10600
10601         * tabular.C (OldFormatRead): set layout information on the paragraph.
10602
10603 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10604
10605         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10606
10607 2002-03-11  Juergen Vigna  <jug@sad.it>
10608
10609         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10610         plainly wrong.
10611         (resizeCurrentBuffer): force also the insets to resize themselfes.
10612         (moveCursorUpdate): fixed up for InsetText.
10613
10614 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10615
10616         * commandtags.h:
10617         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10618         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10619         value of Dialogs::tooltipsEnabled().
10620         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10621
10622 2002-03-08  Juergen Vigna  <jug@sad.it>
10623
10624         * BufferView_pimpl.C (updateInset): update inset inside inset also
10625         if it isn't inside theLockingInset().
10626
10627 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10628
10629         * buffer.C (asciiParagraph): redo some of the word and line length
10630         handling.
10631         (getLists): look for Caption instead of caption.
10632
10633 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10634
10635         * buffer.C (Buffer): initialize niceFile to true
10636         (makeLaTeXFile):
10637         (makeLinuxDocFile):
10638         (makeDocBookFile): make sure niceFile is true on exit
10639
10640 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10641
10642         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10643
10644 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10645
10646         * LyXSendto.C: remove.
10647         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10648         * lyx_gui.C: remove now-redundant comment.
10649         * ColorHandler.h: remove forward declaration of class WorkArea.
10650         * lyxfunc.C: remove #include "WorkArea.h".
10651
10652 2002-03-07  Juergen Vigna  <jug@sad.it>
10653
10654         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10655         got moved away with the DEPM and also set the inset_owner always
10656         right which before could have been omitted.
10657
10658 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10659
10660         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10661         wanted layout is not found.
10662
10663 2002-03-07  Juergen Vigna  <jug@sad.it>
10664
10665         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10666
10667 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10668
10669         * paragraph.C (breakParagraph): use default layout not layout of
10670         prev paragraph.
10671         (Paragraph): clear ParagraphParameters.
10672
10673 2002-03-06  Juergen Vigna  <jug@sad.it>
10674
10675         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10676         otherwise it would not be a valid lenght. Fixed a special case in
10677         the minipage compatibility read where we end the document with a
10678         minipage.
10679
10680         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10681         was set as it could be 0 for InsetTexts first entry.
10682
10683 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10684
10685         * paragraph.C (writeFile): if layout is empty write out
10686         defaultLayoutName().
10687
10688         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10689         file without named layout we set layout to defaultLayoutName().
10690
10691 2002-03-06  Juergen Vigna  <jug@sad.it>
10692
10693         * CutAndPaste.C (copySelection): set layout for new paragraph.
10694
10695         * text.C (prepareToPrint): leave ERT inset left aligned
10696         (leftMargin): don't indent paragraphs inside ERT insets
10697
10698 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10699
10700         * paragraph.C (breakParagraph): dont call clear do the work manually
10701
10702         * paragraph.[Ch] (clear): remove function
10703
10704 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10705
10706         * paragraph.C (Paragraph): dont call clear, the work has already
10707         been done.
10708
10709         * lyxtextclass.C (operator): assert if n is empty
10710
10711         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10712         work manually instead.
10713
10714 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10715
10716         * BufferView_pimpl.C: protect selectionLost against text == 0
10717
10718 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10719
10720         * text.C (breakParagraph): fix a setting layout to '0' problem.
10721
10722 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10723
10724         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10725         final location of file, for the included files, and graphics.
10726
10727 2002-03-05  Juergen Vigna  <jug@sad.it>
10728
10729         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10730
10731 2002-03-04  Juergen Vigna  <jug@sad.it>
10732
10733         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10734
10735         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10736         last column of multicolumn cells.
10737         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10738
10739 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10740
10741         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10742         file if it doesn't go to a temporary file.
10743
10744         * buffer.C (sgmlOpenTag):
10745         (sgmlCloseTag):  remove extra newline insertion.
10746
10747 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10748
10749         * text.C (getRowNearY): comment out debug msg
10750
10751 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10752
10753         * text2.C: first -> first_y
10754
10755         * text.C (getRowNearY): add some attemts at a possible
10756         optimization, not working.
10757
10758         * tabular.[Ch]: add BufferParams to several function so that newly
10759         created paragraph can be initialized to he default layotu for the
10760         buffers textclass.
10761
10762         * tabular-old.C (ReadOld): add buf->params to call of Init
10763
10764         * screen.C: rename text->first to text->first_y
10765
10766         * paragraph.C (breakParagraph): always set layout in the broken
10767         paragraph
10768
10769         * lyxtextclass.C (Read): remove lowercase
10770         (hasLayout): ditto
10771         (operator): ditto
10772         (delete_layout): ditto
10773
10774         * lyxtext.h: rename first -> first_y
10775
10776         * lyxlayout.C (Read): remove lowercase
10777         (name): ditto
10778         (setName): ditto
10779         (obsoleted_by): ditto
10780
10781         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10782
10783         * buffer.C (insertErtContents): add params are to InsetERT
10784         (parseSingleLyXformat2Token): add code to check if a paragraphs
10785         layout really exist.
10786         (parseSingleLyXformat2Token): add params to several inset
10787         constructors
10788         (asciiParagraph): remove lowercase, do the layout comparisons with
10789         no_case
10790
10791         * BufferView_pimpl.C (cursorNext): first -> first_y
10792         (resizeCurrentBuffer): first -> first_y
10793         (updateScrollbar): first -> first_y
10794         (scrollCB): first -> first_y
10795         (workAreaMotionNotify): first -> first_y
10796         (workAreaButtonPress): first -> first_y
10797         (checkInsetHit): first -> first_y
10798         (cursorPrevious): first -> first_y
10799         (cursorNext): first -> first_y
10800         (Dispatch): add buffer_->params to severl inset contructors
10801
10802 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10803
10804         * lyxlayout.C (Read): remove some debug info that I forgot.
10805
10806         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10807         clean up the code slightly.
10808         (makeLinuxDocFile): ditto
10809         (makeDocBookFile): ditto
10810
10811         * text2.C: layout as string
10812
10813         * text.C: layout as string
10814
10815         * paragraph_pimpl.C: layout as string
10816
10817         * paragraph.[Ch]: layout as string
10818
10819         * lyxtextclasslist.[Ch]: layout as string
10820
10821         * lyxtextclass.[Ch]: layout as string
10822
10823         * lyxtext.h: layout as string
10824
10825         * lyxlayout.[Ch]: layout as string
10826
10827         * lyx_cb.C: layout as string
10828
10829         * bufferview_funcs.C: layout as string
10830
10831         * bufferparams.C: layout as string
10832
10833         * buffer.C: layout as string
10834
10835         * LyXView.[Ch]: layout as string
10836
10837         * LaTeXFeatures.[Ch]: layout as string
10838
10839         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10840
10841         * BufferView_pimpl.C: change current_layout to string, remove
10842         lyx::layout_type.
10843         (Dispatch):
10844         (smartQuote):
10845         (insertInset):
10846         (workAreaButtonRelease): layout as string
10847
10848         * BufferView2.C (unlockInset): adjust
10849
10850         * vspace.C (asLatexCommand): use an explict temp variable.
10851
10852 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10853
10854         * Makefile.am: use FRONTEND_*
10855
10856 2002-03-01  Juergen Vigna  <jug@sad.it>
10857
10858         * tabular.C (SetWidthOfMulticolCell): changed to something better
10859         I hope but still work in progress.
10860         (recalculateMulticolumnsOfColumn): renamed function from
10861         recalculateMulticolCells as it is more appropriate now.
10862         (SetWidthOfCell): calculate multicols better.
10863
10864 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10865
10866         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10867
10868         * lyxfunc.C (processKeySym): print sequence also if it is
10869         `deleted' (complete)
10870
10871         * kbsequence.C (print): print sequence even if it is deleted
10872         (complete would be a better word, actually).
10873
10874         * lyxfunc.C (dispatch): print complete options after a prefix key
10875
10876         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10877
10878 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10879
10880         * text2.C (setCharFont): eliminate setCharFont code duplication.
10881
10882 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10883
10884         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10885         LFUN_TABULAR_FEATURE (bug #177)
10886
10887 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10888
10889         * Makefile.am: remove figure.h
10890
10891 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10892
10893         * Bufferview_pimpl.C:
10894         * CutAndPasteC:
10895         * LaTeX.C:
10896         * LyXSendto.C:
10897         * buffer.C:
10898         * bufferlist.C:
10899         * converter.C:
10900         * language.C:
10901         * lyxfunc.C:
10902         * lyxvc.C:
10903         * paragraph.C:
10904         * text.C:
10905         * text2.C: remove #include "lyx_gui_misc.h".
10906
10907         * LaTeX.C: added #include <cstdio>
10908
10909 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10910
10911         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10912         that the paragraph following this one can have.
10913
10914         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10915
10916         * vspace.C (asLatexCommand): fix bogus gcc warning
10917
10918         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10919
10920 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10921
10922         * text2.C (setLayout): get rid of redundant code
10923
10924 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10925
10926         * text2.C (incDepth): make sure depth cannot be increased beyond
10927         reasonable values.
10928
10929 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10930
10931         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10932         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10933
10934         * PainterBase.h (image):
10935         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10936         a LyXImage const *.
10937
10938 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10939
10940         * BufferView.C:
10941         * BufferView.h:
10942         * BufferView_pimpl.C:
10943         * BufferView_pimpl.h:
10944         * LaTeXFeatures.C:
10945         * LyXAction.C:
10946         * LyXView.C:
10947         * Makefile.am:
10948         * UpdateList.h:
10949         * UpdateList.C:
10950         * buffer.C:
10951         * figure.h:
10952         * figureForm.C:
10953         * figureForm.h:
10954         * figure_form.C:
10955         * figure_form.h:
10956         * lyx_cb.C:
10957         * lyx_gui.C:
10958         * lyx_gui_misc.C:
10959         * lyxfunc.C:
10960         * sp_base.h:
10961         * sp_ispell.h:
10962         * sp_pspell.h:
10963         * sp_spell.C: remove fig inset, and the crap house of
10964           cards that follows it
10965
10966 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10967
10968         * Makefile.am:
10969         * lyxserver.C:
10970         * os2_defines.h:
10971         * os2_errortable.h:
10972         * nt_defines.h: move .h into support/
10973
10974         * vms_defines.h: remove
10975
10976         * WorkArea.C: add space in debug output
10977
10978         * text2.C:
10979         * paragraph.C:
10980         * buffer.C: add WITH_WARNINGS
10981
10982         * vc-backend.h:
10983         * vc-backend.C:
10984         * bufferlist.C: s/retrive/retrieve/, add docs
10985
10986         * vspace.h:
10987         * vspace.C:
10988         * kbmap.h:
10989         * lyxlength.h:
10990         * lyxgluelength.h:
10991         * length_common.h:
10992         * chset.h:
10993         * chset.C: add docs
10994
10995         * lyxgui.C: add ID to X error handler
10996
10997         * lyxtestclass.c: fix typo
10998
10999 2002-02-26  Juergen Vigna  <jug@sad.it>
11000
11001         * tabular_funcs.C (write_attribute): changed so that some default
11002         attributes are not written at all.
11003         (getTokenValue): set default values before trying to read the
11004         value so we have the return value always set as default if we don't
11005         find the token we search for.
11006
11007         * tabular.C (Write): write bools as bools not as strings!
11008
11009 2002-02-22  Juergen Vigna  <jug@sad.it>
11010
11011         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11012         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11013
11014         * text.C (leftMargin): don't add an indent for paragraphs inside
11015         tabular cells (fix #208).
11016
11017 2002-02-21  José Matos  <jamatos@fep.up.pt>
11018
11019         * tabular.C (docBook): fixed support for long tables.
11020
11021 2002-02-20  Juergen Vigna  <jug@sad.it>
11022
11023         * text2.C (getFont): get the drawing font of the Inset if this
11024         paragraph is inside an inset (only important for InsetERT for now).
11025
11026         * buffer.C (insertErtContents): use new lanugage params in ERT
11027         constructor.
11028
11029         * CutAndPaste.C: commenting out seemingly uneeded code.
11030
11031 2002-02-19  Allan Rae  <rae@lyx.org>
11032
11033         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11034         Iterators might be simple to use but they also get invalidated.
11035         (removeAutoInsets): renamed saved cursor tracking variables and added
11036         some comments to clarify what everything does.
11037
11038 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11039
11040         * Chktex.C:
11041         * LaTeX.C:
11042         * LyXSendto.C:
11043         * converter.C:
11044         * lyx_cb.C:
11045         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11046         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11047
11048         * lyxfunc.C:
11049         * vc-backend.h: remove #include "support/syscall.h"
11050
11051         * LaTeX.C:
11052         * LyXSendto.C:
11053         * converter.C: rearrange #includes in Lars' approved fashion.
11054
11055         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11056         forward declare class Timeout in the header file.
11057
11058         * XFormsView.C: changes due to the above.
11059
11060         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11061         similar to LyXView.
11062
11063         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11064         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11065
11066 2002-02-18  José Matos  <jamatos@fep.up.pt>
11067
11068         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11069         insets contents.
11070
11071 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11072
11073         * a lot of small ws changes
11074         * add a lot of using std::XXX
11075         * use std construcs some places where approp.
11076         * use some exisint stuff from lyxfunctional where approp.
11077         * Make file changes to use partial linking (lets test this now...)
11078
11079 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11080
11081         * Chktex.C:
11082         * buffer.C:
11083         remove #include "support/syscontr.h" as it's redundant. Always has been.
11084
11085         * Chktex.C:
11086         * LaTeX.C:
11087         * LyXSendto.C:
11088         * converter.C:
11089         * lyx_cb.C:
11090         * vc-backend.C:
11091         change Systemcalls::System to Systemcalls::Wait and
11092         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11093         No change of functionality, just reflects the stripped down Systemcalls
11094         class.
11095
11096 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11097
11098         * debug.[Ch]: add a GRAPHICS type to the enum.
11099
11100 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11101
11102         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11103
11104         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11105         there is an inset.
11106
11107 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11108
11109         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11110         match the changes below.
11111
11112         * text2.C (toggleInset): if there is not editable inset at cursor
11113         position, try to see if cursor is _inside_ a collapsable inset
11114         and close it.
11115
11116 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11117
11118         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11119         document menu has a nice checkbox
11120
11121 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11122
11123         * lyxlength.C (asLatexString): change PW to output as percent of
11124         \textwidth.
11125
11126         * lengthcommon.C: change '%' to 't%'
11127
11128         * lyxfunc.C (dispatch): a few comments from Martin
11129
11130 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11131
11132         * WorkArea.h:
11133         * WorkArea.C:
11134         * BufferView_pimpl.h:
11135         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11136           the X selection.
11137
11138 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11139
11140         * vspace.C (inPixels): fix compiler warning
11141
11142 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11143
11144         * lyxfunc.C (getStatus): fix status message for disabled commands.
11145
11146 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11147
11148         * BufferView_pimpl.C: fix crash on close buffer
11149         during selection (#227)
11150
11151 2002-01-27  Herbert Voss  <voss@lyx.org>
11152
11153         * buffer.C: link old Figure to new graphic inset
11154
11155 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11156
11157         * FontLoader.C (getFontinfo): Change the latex font names in order
11158         to match the names of type1inst.
11159
11160 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11161
11162         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11163
11164         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11165         (extchanged): ditto
11166         (ext_exist): ditto
11167         (remove_files_with_extension): ditto
11168         (remove_file): ditto
11169         (write): ditto
11170
11171         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11172         document is smaller than the work area height. Do not initialize
11173         static variables to 0.
11174
11175 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11176
11177         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11178
11179         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11180         LFUN_LAYOUT_PARAGRAPHS.
11181
11182         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11183         tabular. It is possible to provide a possible cell, which will
11184         typically be the actcell from the corresponding insettabular
11185
11186         * lyxfunc.C (getStatus): small cleanup; disable
11187         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11188         true
11189
11190 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11191
11192         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11193
11194         * paragraph.C (startTeXParParams):
11195         (endTeXParParams): new methods. The LaTeX code to
11196         start/end paragraph formatting
11197         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11198         empty (fixes bug #200)
11199
11200         * vspace.C (inPixels): adapt to the change below
11201         (inPixels): [later] more cleanups (remove unused variables)
11202
11203         * lyxlength.C (inPixels): change to use a width and a height as
11204         parameter.
11205
11206 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11207
11208         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11209         Replaced with \paperwidth
11210
11211         * DepTable.C (insert): add std:: qualifier
11212
11213 2002-01-18  Allan Rae  <rae@lyx.org>
11214
11215         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11216         updated also?
11217
11218         * text.C (drawInset): Turned out I didn't know enough about how
11219         rebreaking worked.  This fixes most of the redraw problems.  I see
11220         an occasional cursor trail when a line is broken now and the cursor
11221         placement can seem out by a few pixels also after a rebreak.
11222
11223 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11224
11225         * buffer.C (parseSingleLyXformat2Token): update because minipage
11226         width is now a LyXLength
11227
11228         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11229
11230         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11231         math insets
11232
11233 2002-01-17  Juergen Vigna  <jug@sad.it>
11234
11235         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11236
11237         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11238         is set correctly and the inset is updated correctly.
11239
11240 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11241
11242         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11243         the beginning of the loop.
11244
11245 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11246
11247         * lyxrc.C: improve help for use_scalable_fonts
11248
11249 2002-01-17  Allan Rae  <rae@lyx.org>
11250
11251         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11252
11253 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11254
11255         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11256         make sure to set their inset_owner to the right value (bug #171)
11257
11258 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11259
11260         * DepTable.h
11261         * DepTable.C: Implement mtime checking to reduce time spent doing
11262         CRCs.
11263
11264 2002-01-16  Juergen Vigna  <jug@sad.it>
11265
11266         * tabular.C (GetAdditionalHeight): one of error fixed.
11267
11268         * lyxrc.C (output): small fix in writing use_pspell.
11269
11270 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11271
11272         * sp_base.h: #include LString.h
11273
11274 2002-01-16  Allan Rae  <rae@lyx.org>
11275
11276         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11277         Can someone check this please?
11278
11279         * text.C (drawInset): It was possible that p.row would be removed by
11280         breakAgainOneRow upsetting a few other settings.  There may be another
11281         small tweak possible by setting need_break_row = 0 when p.row has been
11282         removed but I don't know enough about the logic here.
11283
11284 2002-01-15  Allan Rae  <rae@lyx.org>
11285
11286         * text.C (insertChar): removed conditional truism.
11287
11288         * BufferView2.C (removeAutoInsets): More tweaks.
11289         cur_par_prev could be a stray pointer.  Check for trailing empty line
11290         in case last line was cur_par and only had an error inset on it.
11291
11292 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11293
11294         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11295         absolute
11296
11297         * vc-backend.C (most methods):
11298         * exporter.C (Export):
11299         * converter.C (convert):
11300         (runLaTeX):
11301         * LyXSendto.C (SendtoApplyCB):
11302         * lyxfunc.C (dispatch):
11303         (menuNew):
11304         (open):
11305         (doImport):
11306         * lyx_cb.C (AutoSave):
11307         (InsertAsciiFile):
11308         * BufferView_pimpl.C (MenuInsertLyXFile):
11309         * buffer.C (runChktex): use Buffer::filePath().
11310
11311         * buffer.h: rename filename to filename_; rename filepath to
11312         filepath_ and make it private
11313         (filePath): new method
11314
11315         * buffer.C (writeFile): use fileName()
11316         (getLatexName):
11317
11318         * lyx_main.C (init): fix starting  of LyX when the binary is a
11319         link from so,ewhere else.
11320
11321         * minibuffer.C: include <cctype> for isprint
11322
11323 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11324
11325         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11326         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11327         name clash with InsetCollapsable's width function.
11328
11329 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11330
11331         * lastfiles.C: include <iterator>
11332
11333 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11334
11335         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11336         std::count.
11337
11338         * buffer.C (makeLaTeXFile): ditto.
11339         Also make loop operation more transparent.
11340
11341 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11342
11343         * ToolbarDefaults.C: remove trailing comma closing namespace.
11344
11345         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11346
11347         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11348         as in WorkArea.
11349
11350         * trans.C (Load): comment out unused variable, allowed.
11351
11352 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11353
11354         * minibuffer.[Ch] (append_char): new method to recieve input from the
11355         drop-down completion browser. If a key was pressed, then recieve this
11356         char and append it to the existing string.
11357         (peek_event): modify the positioning data passed to the completion
11358         browser so that it can be placed above the minibuffer rather than below.
11359 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11360
11361         * LyXAction.C (init): alloe error-next for readonly documents.
11362
11363         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11364         count.
11365
11366 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11367
11368         * bufferlist.C (readFile): create the buffer _after_ checking that
11369         the file exists.
11370
11371         * lyxfunc.C (verboseDispatch): fix handling of arguments
11372
11373         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11374
11375         * lyxrc.C: use string::erase() instead of initializing to "".
11376
11377
11378 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11379
11380         * BufferView_pimpl.h:
11381         * BufferView_pimpl.C:
11382         * WorkArea.h:
11383         * WorkArea.C:
11384         * text2.C: tell X when we have made a selection for copying
11385
11386 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11387
11388         * BufferView_pimpl.C (MenuInsertLyXFile):
11389         * lyxfunc.C (menuNew):
11390         (open):
11391         (doImport): add shortcuts to directory buttons
11392
11393         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11394         open a float)
11395
11396         * lyxfunc.C (setStatusMessage):
11397         (getStatusMessage): new methods
11398         (getStatus):use setStatusMessage instead of setErrorMessage
11399         (dispatch): when function is disabled, set error message here
11400         [instead of in getStatus previously]
11401
11402         * BufferView_pimpl.C (workAreaButtonRelease): update
11403         toolbar/menubar here too.
11404
11405 2002-01-13  Allan Rae  <rae@lyx.org>
11406
11407         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11408         Now seems indestructible.  Remaining task is to audit all other
11409         code affected by deleteEmptyParagraphMechanism.  One small quirk
11410         left is that an empty document with an error in the preamble can
11411         be made to report an error but no error box appears.  I don't know
11412         where it goes.
11413         (removeAutoInsets): Improved comments.
11414
11415 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11416
11417         * Thesaurus.h:
11418         * Thesaurus.C: update for Aiksaurus 0.14
11419
11420 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11421
11422         * text2.C (firstParagraph): removed member function, all uses
11423         replaces with ownerParagraph
11424         (redoParagraphs): here
11425         (updateInset): here
11426         (toggleAppendix): here
11427         * BufferView2.C (insertErrors): here
11428         (setCursorFromRow): here
11429
11430 2002-01-13  Allan Rae  <rae@lyx.org>
11431
11432         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11433         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11434         There is still a way to segfault this although you may have to do this
11435         multiple times: Have an InsetERT with an unknown command in it.
11436         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11437         <down-arrow>, <Enter> again, View->DVI, BANG!
11438
11439         * text2.C (setCursor):
11440         (deleteEmptyParagraphMechanism):
11441         * lyxtext.h (setCursor):
11442         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11443         Making use of the return value may help fix other bugs.
11444
11445 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11446
11447         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11448
11449         * LyXView.C (updateMenubar): call MenuBar::update here
11450         (updateToolbar): but not here
11451         (showState): do not update toolbar/menubar
11452
11453         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11454         should need to care about that.
11455
11456         * lyxfunc.C (verboseDispatch): simplify a bit
11457         (getStatus): have a version which takes a pseudoaction, and
11458         another which requires a (kb_action,string).
11459
11460         * LyXAction.C (retrieveActionArg): make it work also when action
11461         is not a pseudo-action.
11462         (getActionName): simplify a bit
11463         (helpText):
11464
11465 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11466
11467         * lyxfunc.C (verboseDispatch): new families of methods with
11468         several ways to specify a command and a bool to indicate whether
11469         the command name and shortcut should be displayed in minibuffer
11470         (eventually, we could extend that to a finer bitmask like
11471         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11472         (dispatch): the pristine dispatch command which just, well,
11473         dispatchs! Note it still sets its result to minibuffer; I'm not
11474         sure we want that.
11475
11476         * lyxfunc.h: remove setHintMessage
11477
11478         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11479
11480 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11481
11482         * BufferView_pimpl.C (specialChar): delete new inset if we have
11483         not been able to insert it.
11484
11485         * kbmap.C: revert to using int instead of kb_action, since all we
11486         are dealing with is pseudo-actions.
11487
11488         * LyXAction.C (searchActionArg): change to return int instead of
11489         kb_action, since the result is a pseudoaction.
11490
11491 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11492
11493         * buffer.C (insertErtContents): Fix (partially) the font bug.
11494
11495 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11496
11497         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11498         as the other one is broken on my machine!
11499
11500 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11501
11502         * commandtags.h:
11503         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11504
11505 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11506
11507         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11508         reflect their actual use. Provide compatibility code for older lyxrc
11509         files.
11510
11511         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11512         FL_NORMAL_STYLE.
11513         change names of popup font variables in line with the changes to lyxrc.C
11514
11515 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11516
11517         * buffer.C (asciiParagraph): avoid outputing a word twice after
11518         an inset.
11519
11520         * lyxrc.C (getDescription): document that document_path and
11521         template_path can be empty.
11522
11523 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11524
11525         * LaTeXFeatures.C (getMacros):
11526         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11527
11528         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11529
11530         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11531         getPackages.
11532         (getPackages): rename feature "floats" to "float". Use an array to
11533         iterate over 'simple' features (i.e. just a \usepackage). Add
11534         handling of "amsmath" (renamed from "amsstyle").
11535
11536 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11537
11538         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11539         features list.
11540
11541 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11542
11543         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11544         FuncStaus::FuncStatus & FuncStaus::some_method().
11545
11546 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11547
11548         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11549         of the func_satus stuff. Edited and massaged in various ways by
11550         JMarc.
11551
11552         * lyxfunc.C (getStatus): use FuncStatus
11553
11554 2002-01-08  Juergen Vigna  <jug@sad.it>
11555
11556         * text.C (nextBreakPoint): use function Inset::isChar().
11557
11558         * paragraph.C (TeXOnePar): use function
11559         Inset::forceDefaultParagraphs.
11560
11561         * buffer.C (latexParagraphs): use function
11562         Inset::forceDefaultParagraphs.
11563
11564 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11565
11566         * lyx_gui.C (init): set the style of the menu popups to
11567         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11568
11569 2002-01-07  Juergen Vigna  <jug@sad.it>
11570
11571         * text.C (setHeightOfRow): small fix
11572         (prepareToPrint): don't look at alignment if we don't have the place
11573         for doing it.
11574
11575 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11576
11577         * box.C: New file. Move the Box methods and functions out of box.h,
11578         following Lars' suggestion.
11579
11580 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11581
11582         * box.h: #include "support/LOstream.h", needed for inlined function.
11583
11584         * lyxtextclass.C:
11585         * lyxtextclasslist.C: added some using std declarations.
11586
11587 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11588
11589         * box.h: make signed dimensions to allow insets wider than
11590           the screen (bug #162)
11591
11592         * BufferView_pimpl.C: add some insetHit debug
11593
11594 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11595
11596         * vc-backend.C: add FIXME
11597
11598 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11599
11600         * lyxfunc.C (getStatus): enable code for showing math font status
11601         in toolbar/menu.
11602
11603 2002-01-07  Juergen Vigna  <jug@sad.it>
11604
11605         * text.C (nextBreakPoint): removed debug output not needed anymore.
11606
11607 2002-01-06  Juergen Vigna  <jug@sad.it>
11608
11609         * text.C (nextBreakPoint): fixed up this function we had this bug
11610         since ever but now hopefully we break row better.
11611         (insertChar): we have to check if an inset is the next char as it
11612         could now happen that a large inset is causing a break.
11613
11614 2002-01-05  Juergen Vigna  <jug@sad.it>
11615
11616         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11617         if it doesn't like to be drawed.
11618
11619 2002-01-04  Juergen Vigna  <jug@sad.it>
11620
11621         * BufferView2.C (lockInset): forgot to set a cursor.
11622
11623         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11624
11625 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11626
11627         * FormMathsPanel.C:
11628         * FormMathsPanel.h
11629         * MathsSymbols.C:
11630         * form_maths_panel.C:
11631         * form_maths_panel.h:
11632         * form_maths_panel.fd: implemented sub- and super- buttons in math
11633         panel.
11634
11635         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11636         (or ^ space) to be used as in TeX (req'd by André).
11637
11638         * lyxfunc.C: Allow ^ and _ again to be used both as
11639         super/subscript (mathed) and as themselves (in text).
11640
11641 2002-01-03  Allan Rae  <rae@lyx.org>
11642
11643         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11644         "LyX" or the filename of the current buffer if it has one.  This is a
11645         modified form of John Levon's patch.
11646
11647         * XFormsView.C (setWindowTitle): also set icon title.
11648
11649         * LyXView.h (setWindowTitle): signature changed.
11650         * XFormsView.h (setWindowTitle): ditto.
11651
11652 2002-01-02  Juergen Vigna  <jug@sad.it>
11653
11654         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11655
11656 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11657
11658         * screen.C (topCursorVisible): introduce a temp var for
11659         text->cursor.row(), handle the case where this row is null. (kindo
11660         hachish)
11661
11662         * text2.C (setCursor): add a couple of asserts.
11663
11664         * paragraph.h (inset_iterator): add -> operator
11665
11666         * paragraph.[Ch] (autoDeleteInsets): remove member function
11667
11668         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11669         cursor pos correctly and handle inset deletion by itself.
11670         (insertErrors): move iterator declaration out of for expression
11671
11672         * lyxtextclass.C: add <algorithm>
11673
11674         * Makefile.am: added the new files to sources, removed layout.C
11675
11676         * layout.C: removed file
11677
11678         * layout.h: remove LYX_DUMMY_LAYOUT
11679
11680         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11681         layout.
11682
11683         * lyxlayout.[Ch]:
11684         * lyxtextclass.[Ch]:
11685         * lyxtextclasslist.[Ch]: new files
11686
11687         * include order changes to a lot of files, also changes because of
11688         the six new files.
11689
11690 2001-12-27  Juergen Vigna  <jug@sad.it>
11691
11692         * buffer.C (asciiParagraph): more fixes.
11693
11694         * tabular.C (ascii): make ascii export support export of only the
11695         data separated by a column-delimiter.
11696         (ascii): better support for ascii export.
11697
11698         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11699
11700 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11701
11702         * tabular_funcs.C: use a "using std::getline" instead of the
11703         previous fix from Angus (necessary for cxx + lyxstring)
11704
11705 2001-12-24  Juergen Vigna  <jug@sad.it>
11706
11707         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11708
11709         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11710         problems. First check a minipage also if we have some ert-contents
11711         (not only on par->size(), second set the right depth of the paragraph
11712         on the relink to the root-paragraph-list!
11713
11714         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11715         which then did not anymore update the main paragraphs on undo/redo!
11716
11717 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11718
11719         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11720         code. Support all font-changing funcs (even those which are not in
11721         menu currently). Support for reporting font settings in
11722         mathed (disabled until Andre provides a function on mathed's side).
11723
11724         * func_status.h (toggle): small helper function to set toggle
11725         state on a flag.
11726
11727 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11728
11729         * tabular_funcs.C: getline -> std::getline
11730
11731 2001-12-21  Juergen Vigna  <jug@sad.it>
11732
11733         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11734         accessed and could be 0 (I couldn't generate this but it seems
11735         Michael could!).
11736
11737 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11738
11739         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11740         * tabular_funcs.h: here and include iosfwd
11741
11742 2001-12-20  Juergen Vigna  <jug@sad.it>
11743
11744         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11745         inside inset but undo_par was.
11746
11747 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11748
11749         * Thesaurus.C: always include <config.h> in sources.
11750
11751         * Painter.h:
11752         * lyxlookup.h:
11753         * box.h: do not include <config.h> in header files
11754
11755         * text.C (paintLastRow): remove unused variable
11756
11757         * text.C (transformChar):
11758         (insertChar):
11759         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11760
11761         * Painter.C (text):
11762         * font.C (width): rewrite to use uppercase() instead of
11763         islower/toupper.
11764
11765         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11766
11767 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11768
11769         * lyxfind.C: clean up of find failure position change
11770
11771 2001-12-20  Juergen Vigna  <jug@sad.it>
11772
11773         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11774
11775         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11776         (TeXRow): added to LaTeX a single tabular row.
11777         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11778         (Latex): simplified and finally good LT-h/f support.
11779         (various_functions): just small adaptions for LT-h/f support.
11780
11781         * tabular_funcs.[hC]: added and moved here all not classfunctions
11782         of LyXTabular.
11783
11784 2001-12-19  Juergen Vigna  <jug@sad.it>
11785
11786         * tabular.[Ch]: better support for longtabular options (not finished
11787         yet!)
11788
11789 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11790
11791         * text.C (paintLastRow): use the label font instead of the font of
11792         the last character to compute the size of *_BOX. This makes more
11793         sense and avoids a crash with empty paragraphs.
11794         Use Painter::rectangle to draw EMPTY_BOX.
11795
11796 2001-12-19  Juergen Vigna  <jug@sad.it>
11797
11798         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11799         the paragraphs if the replaced paragraph is not the first one!
11800         Tried to delete not used paragraphs but does not work yet so for
11801         now it's inside #ifdef's and by default off!
11802
11803 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11804
11805         * MenuBackend.C: include "lyx_main.h" instead of declaring
11806         lastfiles (actually was declared as LastFiles* instead of a
11807         scoped_ptr).
11808
11809 2001-12-17  Juergen Vigna  <jug@sad.it>
11810
11811         * tabular.C (AppendColumn): applied John's fix
11812
11813 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11814
11815         * BufferView.h:
11816         * BufferView.C:
11817         * BufferView_pimpl.h:
11818         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11819
11820         * Makefile.am:
11821         * box.h: new start of class for above
11822
11823         * lyxfunc.C: ignore space-only minibuffer dispatches.
11824           Show the command name when it doesn't exist
11825
11826         * minibuffer.C: don't add empty lines to the history
11827
11828         * minibuffer.C: add a space on dropdown completion
11829
11830 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11831
11832         * text.C: fix line above/below drawing in insets
11833
11834 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11835
11836         * lyxlength.C (LyXLength): Initialize private variables.
11837
11838 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11839
11840         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11841         when inserting error insets.
11842
11843 2001-12-13  Juergen Vigna  <jug@sad.it>
11844
11845         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11846         actually sometimes the before-paragraph.
11847         (setUndo): don't clear the redostack if we're not actually undoing!
11848
11849 2001-12-06  Juergen Vigna  <jug@sad.it>
11850
11851         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11852         and fixed redoing of main paragraph, so we can use it now ;)
11853
11854         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11855
11856 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11857
11858         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11859         Juergen's request
11860
11861 2001-12-13  André Pönitz <poenitz@gmx.net>
11862
11863         * undostack.[Ch]:
11864         * undo_func.C: minor cleanup
11865
11866 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11867
11868         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11869         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11870         font in urw-fonts package which is marked as -urw-fontspecific and
11871         does not work (incidentally, changing the encoding in the
11872         fonts.dir of this package to -adobe-fontspecific fixes the
11873         problem).
11874
11875         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11876         is a crash when undoing first paragraph (Juergen, please take a
11877         look). THis does not mean the undo fix is wrong, just that it
11878         uncovers problems.
11879
11880         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11881         the (Paragraph*) version when needed instead of duplicating the
11882         code.
11883
11884         * text.C (workWidth): use Inset::parOwner to find out where the
11885         inset has been inserted. This is a huge performance gain for large
11886         documents with lots of insets. If Inset::parOwner is not set, fall
11887         back on the brute force method
11888
11889         * paragraph_pimpl.C (insertInset):
11890         * paragraph.C (Paragraph):
11891         (cutIntoMinibuffer): set parOwner of insets when
11892         inserting/removing them
11893
11894         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11895
11896 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11897
11898         * commandtags.h:
11899         * LyXAction.C:
11900         * lyx_main.C:
11901         * lyxfunc.C:
11902         * mathed/formulabase.C:
11903         * mathed/math_cursor.[Ch]:
11904         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11905
11906
11907 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11908
11909         * lyxlength.[Ch] (operator!=): new function
11910
11911 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11912
11913         * text.C (workWidth): use Inset::parOwner to find out where the
11914         inset has been inserted. This is a huge performance gain for large
11915         documents with lots of insets. If Inset::parOwner is not set, fall
11916         back on the brute force method
11917
11918         * paragraph_pimpl.C (insertInset):
11919         * paragraph.C (Paragraph):
11920         (cutIntoMinibuffer): set parOwner of insets when
11921         inserting/removing them
11922
11923         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11924
11925 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11926
11927         * tabular-old.C (getTokenValue):
11928         * tabular.C (getTokenValue):
11929         (write_attribute): new versions for LyXLength
11930         (everywhere): adjust the use of widths
11931
11932         * tabular.h: change the type of widths from string to LyXLength
11933
11934 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11935
11936         * paragraph.C: fixed missing line number count when exporting
11937         Environments to LaTeX file
11938
11939         * buffer.C: added informational message for checking line numbers.
11940
11941 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11942
11943         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11944         paragraph, do the 'double space' part, but not the 'empty
11945         paragraph' one.
11946
11947         * text.C (workWidth): small optimization
11948         (getLengthMarkerHeight): use minimal size for negative lengths.
11949
11950 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11951
11952         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11953
11954         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11955
11956 2001-12-11  André Pönitz <poenitz@gmx.net>
11957
11958         * FontLoader.C:
11959         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11960
11961 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11962
11963         * text2.C: keep selection on a setFont()
11964
11965 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11966
11967         * lyx_cb.C: another bv->text misuse, from insert label
11968
11969 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11970
11971         * kbsequence.h:
11972         * kbsequence.C: re-instate nmodifier mask
11973
11974 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11975
11976         * lyx_main.h: make lyxGUI private.
11977
11978 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11979
11980         * lyxfind.C: place the cursor correctly on failed search
11981
11982 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11983
11984         * text.C (getLengthMarkerHeight): for small heights, the arrows
11985         are not always on top/bottom of the text
11986         (drawLengthMarker): smaller arrows; take the left margin in
11987         account; draw also vfills.
11988         (paintFirstRow):
11989         (paintLastRow): remove special code for vfill and standard spaces,
11990         since everything is handled in drawLengthMarker now.
11991
11992 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11993
11994         * buffer.C (insertErtContents): try to handle font and language
11995         interaction a bit better.g
11996
11997         * ColorHandler.C (updateColor): change the hash to cover the whole
11998         LColor enum, ws cleanup
11999         (getGCLinepars): ditto
12000         (getGCLinepars): only lookup in the linecache once.
12001
12002 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12003
12004         * iterators.C (operator++): Make the iterator more robust
12005
12006         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12007         (John's patch)
12008         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12009
12010 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12011
12012         * lyxtext.h:
12013         * text.C: better added space drawing
12014
12015 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12016
12017         * LyXView.C:
12018         * BufferView2.C: fix layout combo update on inset unlock
12019
12020 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12021
12022         * Makefile.am: don't compile unused files
12023
12024 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12025
12026         * lyxfunc.C:
12027         * commandtags.h:
12028         * LyXAction.C: remove old LFUN_LAYOUTNO
12029
12030 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12031
12032         * paragraph_pimpl.h:
12033         * paragraph_pimpl.C: isTextAt() doesn't need font param
12034
12035 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12036
12037         * lyxlex.h:
12038         * lyxlex.C: little cleanup
12039
12040 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12041
12042         * BufferView_pimpl.C: fix insertAscii for insets
12043
12044 2001-12-05  Juergen Vigna  <jug@sad.it>
12045
12046         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12047         set the right font on the "multi" paragraph paste!
12048
12049 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12050
12051         * trans_decl.h:
12052         * trans_mgr.[Ch]:
12053         * trans.[Ch]:
12054         * lyxgluelength.C:
12055         * lyxlength.C: remove out-commented code.
12056
12057         * BufferView_pimpl:
12058         * CutAndPaste.C:
12059         * DepTable.C:
12060         * buffer.C:
12061         * chset.C:
12062         * lastfiles.C:
12063         * lyxlex.C:
12064         * lyxlex_pimpl.C:
12065         * lyxserver.C:
12066         * screen.C:
12067         * tabular-old.C:
12068         * tabular.C:
12069         * text.C:
12070         * trans_mgr.C:
12071         * vc-backend.C: change "while(" to "while ("
12072
12073         * lyxlength.[Ch]: add zero function to check if length is zero or
12074         not
12075         * lyxgluelength.C: use it
12076
12077 2001-12-05  Allan Rae  <rae@lyx.org>
12078
12079         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12080         Works for 2.95.3, from what I understand of Garst's reports this should
12081         work for other g++ versions.  We're screwed if the abs(int) definition
12082         changed between bugfix releases of gcc.
12083
12084 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12085
12086         * text.C: fix chapter label offset !
12087
12088 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12089
12090         * lyxtext.h:
12091         * text.C: fix hfill at end of line, clean up
12092
12093 2001-12-04  Juergen Vigna  <jug@sad.it>
12094
12095         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12096         that we force an update of the inset and it's owners if neccessary.
12097
12098 2001-12-03  Juergen Vigna  <jug@sad.it>
12099
12100         * text.C (rowLast): simplified code
12101
12102 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12103
12104         * lyxfunc.C: fix show options on timeout
12105
12106 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12107
12108         * screen.C (topCursorVisible): scroll half a page when the cursor
12109         reached top of bottom of screen
12110
12111 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12112
12113         * minibuffer.C: deactivate on loss of focus
12114
12115 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12116
12117         * vspace.[Ch] (operator!=): add operator.
12118
12119 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12120
12121         * BufferView_pimpl.C: refuse to open an inset when
12122         there's a selection.
12123
12124 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12125
12126         * BufferView_pimpl.C: allow to click on RHS of full row insets
12127
12128 2001-11-30  Juergen Vigna  <jug@sad.it>
12129
12130         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12131         insets for undo reasons.
12132
12133 2001-11-28  André Pönitz <poenitz@gmx.net>
12134
12135         * vspace.[Ch]: cosmetical changes
12136
12137 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12138
12139         * LyXAction.h:
12140         * LyXAction.C:
12141         * lyxfunc.h:
12142         * lyxfunc.C:
12143         * kbmap.h:
12144         * kbmap.C:
12145         * lyxrc.C:
12146         * kbsequence.h:
12147         * kbsequence.C: part re-write of old kb code
12148
12149         * Painter.C:
12150         * WorkArea.C: remove Lgb_bug_find_hack
12151
12152 2001-11-30  José Matos <jamatos@fep.up.pt>
12153
12154         * buffer.C (makeDocBookFile): add a comment to point a hack.
12155         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12156         Fixed a double write of labels.
12157
12158 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12159
12160         * LaTeX.C:
12161         * LaTeX.h Fixed bug in LaTeX class where it would not
12162         re-run latex if no depfiles were changed, but the .dvi was removed.
12163
12164 2001-11-28  André Pönitz <poenitz@gmx.net>
12165
12166         * all the files from the change on 2001/11/26:
12167         use lyx::layout_type instead of LyXTextClass::size_type
12168         use lyx::textclass_type instead of LyXTextClassList::size_type
12169
12170 2001-11-29  Juergen Vigna  <jug@sad.it>
12171
12172         * text.C: added support for paragraph::isFreeSpacing()
12173
12174         * buffer.C: same as above
12175
12176         * paragraph.h: inserted isFreeSpacing() function to enable
12177         FreeSpacing inside InsetERT.
12178
12179         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12180         of the paragraph's in the cut/copy buffer to 0!
12181
12182         * text2.C (removeRow): remove the assert as it can!
12183
12184         * lyxtext.h: added helper function firstRow returning firstrow and
12185         made firstrow private again.
12186
12187         * BufferView2.C (lockInset): don't relock if we're already locked!
12188
12189         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12190         the only paragraph.
12191         (removeRow): added Assert::(firstrow)
12192
12193         * debug.C: forgot to add INSETTEXT here.
12194
12195 2001-11-28  Juergen Vigna  <jug@sad.it>
12196
12197         * sp_spell.C (initialize): changed error text to more general
12198         spellchecker command use (not only ispell!)
12199
12200         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12201
12202         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12203
12204 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12205
12206         * vspace.C: initialise lyxgluelength on failure
12207
12208 2001-11-28  Allan Rae  <rae@lyx.org>
12209
12210         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12211         declaration & definition that looks like a function declaration.
12212
12213 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12214
12215         * BufferView2.C (copy):
12216         (copyEnvironment): do not clear the selection when doing a copy.
12217
12218         * text.C (paintFirstRow): compilation fix
12219
12220 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12221
12222         * tabular.C (Latex): correct line count when writing latex.
12223
12224 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12225
12226         * paragraph_pimpl.h:
12227         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12228           bug a bit
12229
12230 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12231
12232         * text.C:
12233         * LColor.h:
12234         * LColor.C: change vfillline->added_space
12235
12236         * text.C: add markers and text for added space
12237
12238         * vspace.C: fix comment
12239
12240 2001-11-28  André Pönitz <poenitz@gmx.net>
12241
12242         * paragraph.C: whitespace changes
12243         * all the other files from the change on 2001/11/26:
12244         change *::pos_type into lyx::pos_type
12245
12246 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12247
12248         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12249         language of the document when inserting error insets.
12250
12251 2001-11-26  André Pönitz <poenitz@gmx.net>
12252
12253         * BufferView_pimpl.[Ch]:
12254         *       CutAndPaste.C:
12255         * buffer.[Ch]:
12256         * lyxcursor.[Ch]:
12257         * lyxfind.C:
12258         * lyxfunc.C:
12259         * lyxrow.[Ch]:
12260         * paragraph.[Ch]:
12261         * paragraph_pimpl.[Ch]:
12262         * sp_spell.C:
12263         * text.C:
12264         * text2.C: reduce header dependencies, introduce type for positions
12265
12266 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12267
12268         * <various>: change to use Alert.h
12269
12270 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12271
12272         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12273         when encountering an unknown token.
12274         (readLyXformat2): Show an error message if there were unknown tokens.
12275
12276 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12277
12278         * BufferView2.C:
12279         * BufferView_pimpl.C:
12280         * buffer.C:
12281         * paragraph.h:
12282         * text.C:
12283         * text2.C: use par->isInset()
12284
12285 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12286
12287         * paragraph_pimpl.h:
12288         * paragraph_pimpl.C: cleanup
12289
12290 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12291
12292         * text2.C (removeRow):
12293         * text.C (setHeightOfRow): remove useless (and costly) call to
12294         getRow.
12295
12296 2001-11-20  Allan Rae  <rae@lyx.org>
12297
12298         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12299         Now need Inset*::checkInsertChar() to return true for appropriate
12300         cases so that the characters in the minibuffer will actually be
12301         inserted.
12302
12303 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12304
12305         * text.C: change the order of the includes.
12306         (workWidth): initialize it at once.
12307         (workWidth): make maxw unsigned
12308         (setHeightOfRow): remove unused variable (inset)
12309         (selectSelectedWord): remove unused variable (inset)
12310         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12311
12312 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12313
12314         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12315         server is not running.
12316         (openConnection):
12317         (closeConnection): add debug info when server is disabled.
12318
12319         * ColorHandler.C (getGCForeground): send debug message to GUI
12320         channel.
12321
12322         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12323
12324         * kbmap.C (bind): modify because return conventions of
12325         kb_sequence::parse have changed.
12326
12327         * kbsequence.C (parse): only ignore spaces and not any stupid
12328         control character. This avoids tests like s[i] <= ' ', which are
12329         guaranteed to fail with 8bit characters and signed chars.
12330         Change return code to string::npos when there have been no error
12331         (0 was a bad idea when error is at first character)
12332
12333 2001-11-14  José Matos  <jamatos@fep.up.pt>
12334
12335         * buffer.h:
12336         * buffer.C (simpleDocBookOnePar): removed unused argument.
12337
12338 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12339
12340         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12341         insets which are part of a word. Paragraph::isLetter takes care of
12342         that now. Use Paragraph::isInset to identify insets.
12343         (selectSelectedWord): do not test for hyphenation break.
12344
12345         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12346         that protected spaces are considered as spaces.
12347
12348         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12349         Inset::isLetter.
12350
12351 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12352
12353         * lyxserver.h:
12354         * lyxserver.C: fix it. and small cleanup.
12355
12356 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12357
12358         * BufferView_pimpl.C: use inline helpers
12359
12360         * LaTeXFeatures.h:
12361         * LaTeXFeatures.C: fix typos
12362
12363         * Spacing.h:
12364         * Spacing.C: move spacing_string into class
12365
12366         * ToolbarDefaults.C: move stuff into namespace anon
12367
12368         * layout.h: update enum
12369
12370         * lyxfunc.C: use better debug
12371
12372         * minibuffer.h: fix typo
12373
12374         * debug.h:
12375         * debug.C:
12376         * WorkArea.C: add and use Debug::WORKAREA
12377
12378         * lyxtext.h:
12379         * text.C:
12380         * text2.C: code re-organisation, inline helpers
12381
12382 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12383
12384         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12385         std::vector.empty().
12386
12387 2001-11-09  Allan Rae  <rae@lyx.org>
12388
12389         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12390         '\n's after tables.  Tabular and ERT inset work now makes this no
12391         longer necessary.
12392
12393 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12394
12395         * minibuffer.h:
12396         * minibuffer.C: fix crash, improve drop-down completion
12397
12398 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12399
12400         * lyxserver.h:
12401         * lyxserver.C: invalidate fd's when doing endPipe()
12402
12403 2001-11-08  José Matos  <jamatos@fep.up.pt>
12404
12405         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12406         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12407
12408         * paragraph.h:
12409         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12410
12411 2001-11-07  José Matos  <jamatos@fep.up.pt>
12412
12413         * buffer.h:
12414         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12415         const qualifier.
12416
12417         * buffer.C (sgmlOpenTag):
12418         * buffer.C (sgmlCloseTag): removed debug info.
12419
12420         * buffer.h (sgmlOpenTag):
12421         * buffer.h (sgmlCloseTag): made public.
12422
12423 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12424
12425         * buffer.C (saveParamsAsDefaults):
12426         * lyx_cb.C (MenuLayoutSave): remove
12427
12428         * LyXAction.C (init):
12429         * commandtags.h:
12430         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12431
12432 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12433
12434         * buffer.C (setPaperStuff): removed from here...
12435
12436         * bufferparams.C (setPaperStuff): ... and moved there.
12437
12438 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12439
12440         * minibuffer.h:
12441         * minibuffer.C:
12442         * XFormsView.C: add support for drop-down completion
12443
12444 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12445
12446         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12447         commands.
12448
12449 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12450
12451         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12452         disabled.
12453
12454 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12455
12456         * lyx_main.C: change ref to known bugs
12457
12458 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12459
12460         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12461         to work around older babel problems.
12462
12463 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12464
12465         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12466
12467 2001-10-24  Juergen Vigna  <jug@sad.it>
12468
12469         * tabular-old.C (ReadOld): below variable changes reflected.
12470
12471         * tabular.[Ch]: added ltType struct for longtable header/footer
12472         defines and changed all instances where they are used. Added
12473         future support for double top/bottom rows.
12474
12475 2001-10-24  José Matos  <jamatos@fep.up.pt>
12476
12477         * buffer.h (docbookHandleCaption):
12478         * buffer.C (docbookHandleCaption): removed unused function.
12479         (makeDocBookFile): moved docbook supported version to v4.1.
12480
12481 2001-10-24  José Matos  <jamatos@fep.up.pt>
12482
12483         * tabular.h:
12484         * tabular.C (docbookRow): new function to export docbook code of a row.
12485         (DocBook): now honors the longtable flags.
12486
12487 2001-10-23  José Matos  <jamatos@fep.up.pt>
12488
12489         * LaTeXFeatures.h:
12490         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12491         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12492
12493         * buffer.C (makeLinuxDocFile):
12494         (makeDocBookFile): reworked the preamble, more clean, and with
12495         support for lyx defined entities. Changed the document declaration
12496         to be more XML friendly.
12497
12498         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12499         if we need to output XML that should be done with a filter.
12500
12501 2001-10-22  Juergen Vigna  <jug@sad.it>
12502
12503         * sp_pspell.h (class PSpell): add alive function needed in the
12504         controller to see if the spellchecker could be started.
12505
12506 2001-10-22  Juergen Vigna  <jug@sad.it>
12507
12508         * buffer.C (insertStringAsLines): modify the font for inserting
12509         chars in certain conditions by calling checkInsertChar(font).
12510
12511 2001-10-19  Juergen Vigna  <jug@sad.it>
12512
12513         * text.C (workWidth): use getRow instead of wrong algorithm.
12514         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12515
12516 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12517
12518         * lyxserver.h:
12519         * lyxserver.C:
12520         * lyx_main.h:
12521         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12522
12523 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12524
12525         * text.C (workWidth): do not search for the exact row when
12526         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12527         optimization for big documents.
12528
12529 2001-10-18  Juergen Vigna  <jug@sad.it>
12530
12531         * text.C (workWidth): new function with added Inset * parameter.
12532
12533 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12534
12535         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12536
12537         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12538         change return type of getColumnNearX.
12539
12540
12541         * text.C (changeRegionCase): use uppercase/lowercase instead of
12542         toupper/tolower.
12543         (leftMargin):
12544         (rightMargin): simplify code by factoring out the uses of
12545         textclasslist.
12546         (labelFill):
12547         (numberOfHfills):
12548         (setHeightOfRow):
12549         (appendParagraph): use Paragraph::size_type
12550
12551 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12552
12553         * vspace.C (asLatexString): add a missing break
12554
12555 2001-10-15  Herbert Voss  <voss@perce.de>
12556
12557         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12558
12559 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12560
12561         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12562         is not available.
12563
12564 2001-10-10  André Pönitz <poenitz@gmx.net>
12565
12566         * lyxfunc.C: removed greek_kb_flag.
12567
12568 2001-10-10  Herbert Voss  <voss@perce.de>
12569
12570         * lyx_main.C: delete global string help_lyxdir.
12571
12572 2001-10-09  Herbert Voss  <voss@perce.de>
12573
12574         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12575
12576         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12577
12578         * lyx_main.C: added global string help_lyxdir.
12579
12580         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12581
12582 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12583
12584         * lyxrc.C (set_font_norm_type): support iso8859-4
12585
12586 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12587
12588         * LaTeX.C (deplog): add another regex for MikTeX
12589
12590 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12591
12592         * lyxrc.C (set_font_norm_type): support iso8859-3
12593
12594 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12595
12596         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12597
12598         * LaTeXFeatures.C: remove special case of french and index
12599
12600         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12601         before \begin{document}). This solves several incompatibilities.
12602
12603 2001-10-03  Garst Reese  <reese@isn.net>
12604
12605         * lyx_cb.C: change CheckTex error msg.
12606
12607 2001-10-03  José Matos  <jamatos@fep.up.pt>
12608
12609         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12610
12611 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12612
12613         * .cvsignore: update
12614
12615         * lyx_main.C (commandLineVersionInfo): use new style version info.
12616
12617         * buffer.C (writeFile):
12618         (makeLaTeXFile):
12619         (makeLinuxDocFile):
12620         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12621
12622         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12623
12624         * version.h: update to use stuff in version.C
12625
12626         * version.C.in: new file. Contains version information determined
12627         at compile time. This is a merging of version.h and
12628         version_info.h.in.
12629
12630 2001-10-03  Juergen Vigna  <jug@sad.it>
12631
12632         * BufferView_pimpl.C (update): don't change "dirty" status in
12633         updateInset call.
12634
12635 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12636
12637         * WorkArea.C (c-tor): re-position version string slightly.
12638
12639 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12640
12641         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12642         revert to previous code.
12643
12644         WorkArea.[Ch]: (show, destroySplash): methods removed.
12645
12646         WorkArea.C: rework code so that it's an amalgam of the codes before and
12647         after the splash screen was moved to WorkArea.
12648
12649 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12650
12651         * lyxrc.C (read):
12652         * vspace.C (inPixels):
12653         (lyx_advance):
12654         * kbmap.C (bind):
12655         * buffer.C (insertStringAsLines):
12656         (asciiParagraph): fix types to be large enough
12657
12658         * lyxlex_pimpl.h: change member status from short to int
12659
12660         * layout.h: fix type of endlabeltype
12661
12662         * kbmap.C (bind):
12663         * kbsequence.C (parse): change return type to string::size_type
12664
12665         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12666         variable
12667
12668         * Bullet.C (bulletSize):
12669         (bulletEntry): do not use short ints as parameters
12670
12671         * BufferView2.C (insertLyXFile): change a char to an int.
12672
12673         * WorkArea.C (WorkArea): remove unneeded floats in computation
12674
12675 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12676
12677         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12678
12679         * paragraph.C (asString): Do not ignore newline/hfill chars when
12680         copying to the clipboard.
12681
12682 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12683
12684         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12685         after a multi-line inset.
12686
12687 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12688
12689         * paragraph.C (validate): Set NeedLyXFootnoteCode
12690
12691 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12692
12693         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12694         and decrease-error to decrease.
12695
12696 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12697
12698         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12699         it more readable (should be equivalent)
12700
12701 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12702
12703         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12704
12705 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12706
12707         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12708         of a cursor (row, etc.) after a character has been deleted
12709         (deleteEmptyParagraphMechanism): call the method above on _all_
12710         cursors held by the LyXText when a double space has been
12711         detected/deleted.
12712
12713 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12714
12715         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12716         pixmap.
12717         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12718
12719         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12720         background. Use greyOut() and the new show() methods to toggle between
12721         the foreground and background. Add code to remove the splash after
12722         its initial showing.
12723
12724         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12725         (create_forms): no longer call Dialogs::showSplash.
12726
12727 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12728
12729         * .cvsignore: add version_info.h
12730
12731 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12732
12733         * version_info.h.in: new file
12734
12735         * Makefile.am: add version_info.h.in
12736
12737         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12738         version_info.h instead of VERSION_INFO
12739
12740 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12741
12742         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12743         The ERT inset now returns string().
12744
12745 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12746
12747         * lyxtext.h, text.C (selectNextWord): renamed as
12748         selectNextWordToSpellcheck.
12749
12750         * text.C (selectNextWordToSpellcheck): Modified to not select
12751         words inside an ERT inset.
12752
12753 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12754
12755         * lyx_cb.C (MenuLayoutSave): change a bit the question
12756
12757         * sp_base.h: include <sys/types.h>
12758
12759 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12760
12761         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12762
12763 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12764
12765         * several files: fix typos in user-visible strings
12766
12767 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12768
12769         * text2.C (pasteSelection): do not set the selection, since it
12770         will be cleared later. Actually, the intent was to fix the way the
12771         selection was set, but I figured rmoving the code was just as good.
12772
12773 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12774
12775         * FontLoader.C (available): Check if font is available without
12776         loading the font.
12777
12778 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12779
12780         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12781
12782 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12783
12784         * lyxrc.[Ch]: added display_graphics variable and associated code.
12785
12786 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12787
12788         * bufferparams.C (hasClassDefaults): new method. Returns true if
12789         the buffer parameters correspond to known class defaults
12790
12791 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12792
12793         * XFormsView.C (show): set minimum size to the main window.
12794
12795 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12796
12797         * text2.C (copySelection):
12798         (cutSelection):
12799         * lyxfind.C (LyXReplace):
12800         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12801         LyXText::selectionAsString.
12802
12803         * paragraph.C (asString): add "label" argument to the second form
12804
12805         * text2.C (selectionAsString): add "label" argument and pass it to
12806         Paragraph::asString.
12807
12808 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12809
12810         * lyx_main.C (commandLineHelp): remove version information
12811
12812 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12813
12814         * lyx_main.C: add -version commandline option
12815
12816 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12817
12818         * paragraph.h: make the optional constructor arg required instead.
12819         some modifications to other files because of this.
12820
12821         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12822
12823         * lyxserver.C (C_LyXComm_callback): make it static
12824
12825         * lyx_main.C (error_handler): make it static
12826
12827         * lyx_gui.C (LyX_XErrHandler): make it static
12828
12829         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12830
12831         * WorkArea.C: make the extern "C" methods static.
12832
12833         * Makefile.am (lyx_LDADD): simplify
12834
12835 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12836
12837         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12838         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12839
12840         * LyXAction.C (init):
12841         * lyxfunc.C (dispatch): associated code removal.
12842
12843 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12844
12845         * lyxfont.h (isSymbolFont): shut off warning
12846
12847         * text.C (setHeightOfRow):
12848         (getVisibleRow): fix crash with empty paragraphs which have a
12849         bottom line
12850
12851 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12852
12853         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12854         code.
12855
12856 2001-09-04  José Matos  <jamatos@fep.up.pt>
12857         * buffer.C
12858         * buffer.h
12859         * tabular.C (docbook): rename docBook method to docbook.
12860
12861 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12862
12863         * Makefile.am: add dependencies to main.o.
12864
12865 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12866
12867         * FontLoader.C (available): Return false if !lyxrc.use_gui
12868
12869 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12870
12871         * FontInfo.C (query):
12872         * converter.C (view):
12873         * importer.C (Import):
12874         * exporter.C (Export): Can not -> cannot.
12875
12876 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12877
12878         * BufferView_pimpl.C: allow to create index inset even if
12879           string is empty
12880
12881 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12882
12883         * buffer.C (getLists): replace boost::tie code with an explicit pair
12884         as boost::tie can break some compilers.
12885
12886         * iterators.h: Added a std:: declaration to the return type of
12887         ParIterator::size.
12888
12889 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12890
12891         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12892           case.
12893
12894 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12895
12896         * iterators.[Ch]: New files. Provide paragraph iterators.
12897
12898         * buffer.C (changeLanguage): Use paragraph iterators.
12899         (isMultiLingual): ditto
12900
12901         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12902
12903 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12904
12905         * FontLoader.C: Support for cmr font.
12906
12907 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12908
12909         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12910         (available): New method.
12911
12912         * FontInfo.C (getFontname): Use scalable fonts even when
12913         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12914         found.
12915
12916 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12917
12918         * converter.C (Formats::view): reverted! Incorrect fix.
12919
12920 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12921
12922         * converter.C (Formats::view): only output the -paper option
12923         if the dvi viewer is xdvi, thereby fixing bug #233429.
12924
12925 2001-08-23  Herbert Voss  <voss@perce>
12926
12927         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12928
12929 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12930
12931         * Spacing.h (Spacing): Set space to Default on in the default
12932         constructor.
12933
12934 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12935
12936         * vc-backend.h (RCS::versionString): add RCS to version
12937         (CVS::versionString): add CVS to version
12938
12939         * vc-backend.C (scanMaster): do not add CVS to version.
12940         (scanMaster): do not add RCS to version
12941
12942         * lyxvc.C (versionString): new method
12943
12944         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12945
12946 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12947
12948         * Spacing.C (set): initialize fval
12949
12950 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12951
12952         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12953         " or \.
12954
12955 2001-08-16  Juergen Vigna  <jug@sad.it>
12956
12957         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12958
12959 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12960
12961         * BufferView_pimpl.C:
12962         * figureForm.C:
12963         * lyxtext.h:
12964         * text2.C: setParagraph takes linespacing now
12965
12966 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12967
12968         * LyxAction.C: add internal LFUN_CITATION_INSERT
12969
12970         * LyXView.C: actually apply fix
12971
12972         * bufferlist.C: fix open non-existent file
12973
12974         * lyxfind.C: fix indentation
12975
12976         * lyxfunc.C: remove unneeded assert, fix typo
12977
12978 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12979
12980         * MenuBackend.C: use "Floatname List"
12981
12982 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12983
12984         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12985         when converting LaTeX layout to insetERT.
12986         Generate a non-collapsed float when reading old float
12987
12988 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12989
12990         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12991         ERT insets.
12992
12993 2001-08-13  Juergen Vigna  <jug@sad.it>
12994
12995         * text.C (fill): return 0 instead of 20 as this seems to be the more
12996         correct value.
12997
12998 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12999
13000         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13001         lyxrc.font_norm.
13002
13003 2001-08-13  Juergen Vigna  <jug@sad.it>
13004
13005         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13006         casesensitive off.
13007         (SearchBackward): comment out the unlocking of the inset_owner this
13008         should not be needed!
13009
13010 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13011
13012         * Many files: Remove inherit_language, and add latex_language
13013
13014         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13015         collapsible insets.
13016
13017 2001-08-10  Juergen Vigna  <jug@sad.it>
13018
13019         * text.C (prepareToPrint): fixed hfill-width in draw!
13020
13021         * BufferView2.C (selectLastWord): save the selection cursor as this
13022         now is cleared in the function LyXText::clearSelection!
13023
13024 2001-08-08  Juergen Vigna  <jug@sad.it>
13025
13026         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13027         BACKSPACE type functions.
13028
13029         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13030         is only cutted from the document but not put in the cut-buffer, where
13031         still the old stuff should be.
13032
13033         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13034
13035         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13036
13037         * tabular.C (SetWidthOfCell): fixed special case where the width
13038         was not updated!
13039         (LeftLine): handle '|' in align_special.
13040         (RightLine): ditto
13041         (LeftAlreadyDrawed): ditto
13042         (SetWidthOfCell): ditto
13043
13044 2001-08-07  Juergen Vigna  <jug@sad.it>
13045
13046         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13047
13048 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13049
13050         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13051         * lyxlex.[hC]: ditto
13052
13053 2001-08-06  Juergen Vigna  <jug@sad.it>
13054
13055         * text.C (getVisibleRow): fix up row clearing a bit.
13056
13057 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13058
13059         * minibuffer.C: make sure the X server sees the changes in the input.
13060
13061 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13062
13063         * paragraph.C (getFont): split into...
13064         (getLabelFont): this
13065         (getLayoutFont): and this
13066         * paragraph_pimpl.C (realizeFont): calling this
13067
13068         * text2.C (getFont): split into...
13069         (getLayoutFont): this
13070         (getLabelFont): and this
13071         (realizeFont): all three calling this
13072
13073         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13074         files where used.
13075
13076 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13077
13078         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13079
13080 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13081
13082         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13083         layouts from the Quote inset insertion.
13084
13085 2001-08-03  Juergen Vigna  <jug@sad.it>
13086
13087         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13088
13089         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13090         only if status not is already CHANGED_IN_DRAW (second level).
13091
13092         * text.C (draw): don't set the need_break_row when inside an
13093         InsetText LyXText.
13094
13095 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13096
13097         * buffer.C (parseSingleLyXformat2Token): handle more latex
13098         conversion cases.
13099
13100         * bufferview_funcs.[hC]: change function names to
13101         begin with small char, adjust other files.
13102
13103 2001-08-02  André Pönitz <poenitz@gmx.net>
13104
13105         * lyxfunc.C:
13106         BufferView_pimpl.C: remove broken special code for math-greek
13107
13108 2001-08-02  Juergen Vigna  <jug@sad.it>
13109
13110         * BufferView_pimpl.C (update): redone this function so that we
13111         update the text again if there was a CHANGE_IN_DRAW.
13112
13113         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13114         (drawFromTo): added a new internal bool which is used by draw() and
13115         redraw() function.
13116         (general): some cursor drawing problems fixed.
13117
13118 2001-08-01  Juergen Vigna  <jug@sad.it>
13119
13120         * lyxfind.C (LyXFind): fixed
13121         (SearchForward): ditto
13122         (SearchBackward): ditto
13123
13124         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13125         spurius drawing of the cursor in the main area.
13126
13127         * text2.C (status): small fix which could lead to a segfault!
13128         (clearSelection): remove unneeded BufferView param.
13129
13130 2001-08-01  André Pönitz <poenitz@gmx.net>
13131
13132         * lyxfunc.C: small change due to changed mathed interface
13133
13134 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13135
13136         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13137
13138 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13139
13140         * lyxfunc.c: fail gracefully if file doesn't exist
13141
13142         * LyXSendto.C:
13143         * buffer.C:
13144         * lyxfunc.C:
13145         * BufferView_pimpl.C: IsDirWriteable() proto changed
13146
13147         * LyXView.C: fix updateWindowTitle() to store the last title
13148
13149 2001-07-31  Juergen Vigna  <jug@sad.it>
13150
13151         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13152         the font (wrong since using of Paragraph::highestFontInRange).
13153
13154         * paragraph.C (highestFontInRange): added a default_size parameter.
13155
13156         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13157         (setHeightOfRow): reformat
13158
13159 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13160
13161         * converter.[hC] + affected files: move to (inital-char)lowercase
13162         function names.
13163
13164         * ParagraphParameters.C (ParagraphParameters): remove commented code
13165
13166         * PainterBase.[Ch]: remove commented code
13167
13168         * LaTeXFeatures.h: add "bool floats" for float.sty
13169
13170         * LaTeXFeatures.C (LaTeXFeatures): init floats
13171         (require): handle float
13172         (getPackages): do it with floats
13173
13174 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13175
13176         * BufferView_pimpl.C (Dispatch): improve handling of
13177         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13178
13179         * commandtags.h: #include lyxfont.h here temporarily to avoid
13180         keybinding bug.
13181
13182         * bufferlist.h: include LString.h here.
13183
13184 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13185
13186         * text2.C (getStringToIndex): new method.
13187
13188 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13189
13190         * *: Reduced header file dependencies all over.
13191
13192 2001-07-30  Baruch Even  <baruch@lyx.org>
13193
13194         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13195
13196 2001-07-29  Baruch Even  <baruch@lyx.org>
13197
13198         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13199
13200 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13201
13202         * ParameterStruct.h (endif): add a default constructor to make
13203         sure that all variables is initialized.
13204
13205         * ParagraphParameters.C (ParagraphParameters): adjust
13206
13207 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13208
13209         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13210         index; also, check that there is something to index, and that it
13211         does not span over several paragraphs.
13212         (doubleClick): use WHOLE_WORD_STRICT for double click.
13213
13214         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13215
13216         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13217         scheme.
13218
13219 2001-07-26  Baruch Even  <baruch@lyx.org>
13220
13221         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13222         an InsetFig figure, backwards compatible reading of old figure code.
13223
13224 2001-07-27  Juergen Vigna  <jug@sad.it>
13225
13226         * text2.C: font.realize function adaption.
13227
13228         * text.C (draw): add a warnings lyxerr text if needed.
13229
13230         * layout.C: font.realize function adaption.
13231
13232         * language.C: add inherit_language and implement it's handlings
13233
13234         * bufferview_funcs.C (StyleReset): remove language parameter from
13235         font creation (should be language_inherit now).
13236
13237         * bufferparams.C (writeFile): handle ignore_language.
13238
13239         * paragraph.C (getFontSettings): the language has to be resolved
13240         otherwise we have problems in LyXFont!
13241
13242         * lyxfont.C (lyxWriteChanges): added document_language parameter
13243         (update): removed unneeded language parameter
13244
13245         * paragraph.C (validate): fixed wrong output of color-package when
13246         using interface colors for certain fonts in certain environments,
13247         which should not seen as that on the final output.
13248
13249 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13250
13251         * BufferView_pimpl.C:
13252         * Thesaurus.h:
13253         * Thesaurus.C:
13254         * Makefile.am:
13255         * commandtags.h:
13256         * LyXAction.C: add thesaurus support
13257
13258         * lyxfind.h:
13259         * lyxfind.C: add "once" parameter, for thesaurus, to not
13260           move to the next match
13261
13262 2001-07-26  Juergen Vigna  <jug@sad.it>
13263
13264         * lyxfont.C (realize): honor ignore_language too!
13265         (resolved): ditto.
13266
13267         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13268
13269         * text.C (draw): one place more for ignore_language to not draw
13270         itself!
13271
13272 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13273
13274         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13275
13276 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13277
13278         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13279         the minipage conversion problem.
13280
13281 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13282
13283         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13284         insert an inset.
13285
13286 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13287
13288         * BufferView.h: don't forward declare WorkArea
13289
13290         * BufferView.C: don't include WorkArea.h
13291
13292 2001-07-25  André Pönitz <poenitz@gmx.net>
13293
13294         * commandtags.h:
13295         * LyXAction.C:
13296         * lyxfunc.C:  new LFUN 'math-space'
13297
13298         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13299
13300 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13301
13302         * text2.C (toggleInset): call open/close
13303
13304 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13305
13306         * lyxfunc.C (dispatch): add debug for the disabled case
13307
13308         * font.C (buttonText): make similar to rectText
13309
13310         * buffer.C (readInset): comment out parsing of insetlist and
13311         insttheorem
13312
13313         * PainterBase.C (rectText): small correction
13314
13315         * BufferView_pimpl.C: comment out insettheorem and insetlist
13316         * LyXAction.C: ditto
13317         * commandtags.h: ditto
13318
13319 2001-07-24  Juergen Vigna  <jug@sad.it>
13320
13321         * text.C (draw): honor the ignore_language.
13322
13323         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13324
13325 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13326
13327         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13328         char inset.
13329
13330 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13331
13332         * lyxtext.h: remove unused (and unimplemented) methods
13333
13334 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13335
13336         * text.C (getVisibleRow): honor background color
13337
13338         * PainterBase.h:
13339         * Painter.h: remove default color argument for fillRectangle
13340
13341         * text.C (backgroundColor): new method
13342
13343 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13344
13345         * text.C (getVisibleRow): adjust
13346
13347         * font.[Ch] (rectText): new method, metrics
13348         (buttonText): new method, metrics
13349
13350         * PainterBase.[hC]: make rectText and buttonText always draw and take
13351         fewer paramteres.
13352
13353 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13354
13355         * ToolbarDefaults.C (read):
13356         * MenuBackend.C (read): allow escaping in all strings
13357
13358         * BufferView_pimpl.C (insertAndEditInset): new method.
13359         (Dispatch): use insertAndEditInset whenever appropriate.
13360
13361         * BufferView_pimpl.C (insertNote): removed
13362
13363         * BufferView_pimpl.C (smartQuote): new method, moved from
13364         BufferView; if an insetquote cannot be inserted, insert a '"'
13365         character instead.
13366
13367         * BufferView2.C: remove insertCorrectQuote();
13368
13369         * lyxfunc.C (getStatus): Add support for all remaingin
13370         inset-insert lfuns.
13371
13372         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13373
13374         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13375         command (necessary to pass " as parameter of self-insert.
13376
13377         * text.C (selectWordWhenUnderCursor):
13378         (selectWord): add word_location parameter
13379         (selectWordWhenUnderCursor): same + remove special code for word
13380         boundary.
13381         (selectNextWord): use kind() to guess type of insetspecialchar,
13382         not latex().
13383
13384         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13385         (insertErtContents): create ert insets as collapsed.
13386         (readInset): better compatibility code for Info inset.
13387
13388 2001-07-20  Juergen Vigna  <jug@sad.it>
13389
13390         * lyxfunc.C (dispatch): use always LyXFind now!
13391
13392         * text2.C (init): add a reinit flag so that the LyXText can be
13393         reinited instead of deleted and reallocated (used in InsetText).
13394
13395         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13396
13397         * text.C: ditto
13398
13399         * text2.C: ditto
13400
13401 2001-07-18  Juergen Vigna  <jug@sad.it>
13402
13403         * text.C (selectNextWord): handle insets inside inset by calling
13404         always the bv->text functions so that we can go up the_locking_inset!
13405
13406         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13407         in strange locations when inside an inset!
13408
13409         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13410         handling to include insets.
13411
13412         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13413
13414 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13415
13416         * LyXAction.C (init):
13417         * commandtags.h:
13418         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13419         LIGATURE_BREAK, since the name is so stupid.
13420
13421 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13422
13423         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13424         InsetInfos.
13425
13426         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13427
13428         * sp_form.[Ch]: remove.
13429
13430         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13431
13432         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13433         InsetInfo.
13434
13435         * src/buffer.C (readInset): ditto.
13436
13437 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13438
13439         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13440         menuSeparator(), endOfSentenceDot(), ldots() and
13441         hyphenationPoint(), which are therefore removed.
13442         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13443
13444         * LyXAction.C (init):
13445         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13446
13447         * paragraph.C (getWord): removed.
13448
13449         * BufferView_pimpl.C (Dispatch): use last word or selection for
13450         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13451
13452         * lyx_main.C (queryUserLyXDir): do not ask before creating
13453         user_dir, except if it has been named explicitely.
13454
13455 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13456
13457         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13458         a document of zero size.
13459
13460 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13461
13462         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13463         approriately in the c-tor and in require().
13464         (getPackages): output the appropriate LaTeX for natbib support.
13465
13466         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13467         variables "use_natbib" and "use_numerical_citations" when reading the
13468         LyX file.
13469         (readInset): read the various natbib cite commands.
13470         (validate): white-space change.
13471
13472         * bufferparams.[Ch]: new variables "bool use_natbib" and
13473         "bool use_numerical_citations".
13474         (writeFile): output them in the LyX file.
13475
13476 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13477
13478         * lyxfunc.C (getStatus): add support for all the inset insertion
13479         commands.
13480
13481         * text2.C (insertInset):
13482         * paragraph.C (insetAllowed):
13483         * BufferView_pimpl.C (insertInset): update to take in account the
13484         renaming of insertInsetAllowed
13485
13486         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13487
13488         * text2.C (getInset): new method. returns inset at cursor position.
13489
13490         * BufferView_pimpl.C (Dispatch): changes because of this.
13491
13492         * LyXAction.C (init): rename open-stuff to inset-toggle.
13493
13494         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13495
13496         * text2.C (toggleInset): renamed from openStuff; use
13497         Inset::open().
13498
13499 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13500
13501         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13502
13503         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13504
13505 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13506
13507         * buffer.C (readLyXformat2): Add filename to the error dialog
13508
13509 2001-07-18  Juergen Vigna  <jug@sad.it>
13510
13511         * tabular.C (GetCellNumber): put an assert here instead of the check!
13512
13513 2001-07-17  Juergen Vigna  <jug@sad.it>
13514
13515         * BufferView_pimpl.C (toggleSelection): adapted too.
13516
13517         * text.C (selectNextWord): adapted for use with insets.
13518         (selectSelectedWord): ditto
13519
13520 2001-07-17  Juergen Vigna  <jug@sad.it>
13521
13522         * sp_spell.C (PSpell): fix initialitation order.
13523
13524 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13525
13526         * paragraph.C: spacing
13527
13528 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13529
13530         * sp_spell.C: repair language selection for pspell
13531
13532 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13533
13534         * lyxfunc.h: change more methods to begin with lower char.
13535
13536 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13537
13538         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13539         for unknown layouts.
13540
13541 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13542
13543         * buffer.C (readLyXformat2): Generate an error dialog if there are
13544         unknown layouts.
13545
13546 2001-07-16  Juergen Vigna  <jug@sad.it>
13547
13548         * sp_spell.C: always compile ISpell part.
13549
13550         * lyxrc.C: added use_pspell entry and it's handling.
13551
13552 2001-07-13  Juergen Vigna  <jug@sad.it>
13553
13554         * sp_spell.C: removed double includes.
13555
13556 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13557
13558         Consistent use of Lsstream.h:
13559         * Lsstream.h: added using std::stringstream for consistencies sake.
13560
13561         * buffer.C: removed using std::stringstream
13562
13563         * lyxfont.C (stateText):
13564         * paragraph.C (asString):
13565         * text.C (selectNextWord, selectSelectedWord):
13566         * text2.C (setCounter):
13567         * vspace.C (asString, asLatexString):
13568         std::ostringstream -> ostringstream.
13569
13570 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13571
13572         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13573         * commandtags.h: add LFUN_HELP_ABOUTLYX
13574         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13575
13576 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13577
13578         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13579         cursorToggle()
13580         * lyx_gui_misc.C: remove spellchecker
13581         * lyxfunc.C: showSpellchecker
13582         * sp_base.h: added
13583         * sp_ispell.h: added
13584         * sp_pspell.h: added
13585         * sp_spell.C: added
13586         * sp_form.[Ch]: removed
13587         * spellchecker.[Ch]: removed
13588
13589 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13590
13591         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13592         is set.
13593         (simpleTeXSpecialChars): Simply print the input character without
13594         any special translation if pass_thru is set.
13595
13596         * layout.h: Added bool pass_thru to layout class for being able to
13597         implement pass through of a paragraph for Literate Programming.
13598
13599         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13600         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13601         * layout.C (Read): add "passthru" to list of layout tags and add
13602         code to set the pass_thru boolean when it is read.
13603
13604 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13605
13606         * trans_decl.h: remove allowed from KmodInfo
13607
13608         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13609         remove allowed code
13610         (Load): adjust
13611
13612         * paragraph_pimpl.C (erase): use boost::prior
13613
13614         * Painter.C (text): use data() instead of c_str() when length is
13615         also provided.
13616         * WorkArea.C (putClipboard): ditto
13617         * font.h (width): ditto
13618
13619         * BufferView2.C: use it-> instead of (*it). for iterators
13620         * texrow.C: ditto
13621         * paragraph_pimpl.C: ditto
13622         * paragraph.C: ditto
13623         * minibuffer.C: ditto
13624         * language.C: ditto
13625         * kbmap.C: ditto
13626         * encoding.C: ditto
13627         * counters.C: ditto
13628         * converter.C: ditto
13629         * chset.C: ditto
13630         * Variables.C: ditto
13631         * TextCache.C: ditto
13632         * MenuBackend.C: ditto
13633         * LyXAction.C: ditto
13634         * LColor.C: ditto
13635         * FloatList.C: ditto
13636         * DepTable.C: ditto
13637         * ColorHandler.C (LyXColorHandler): ditto
13638
13639 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13640
13641         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13642
13643         * text2.C (openStuff): reintroduce this method (which had been
13644         nuked in NEW_INSETS frenzy).
13645
13646         * lyxfunc.C (Dispatch): when an action has not been handled, use
13647         its name in the error message, not its number.
13648
13649         * paragraph.C (inInset): change method name to begin with lowercase.
13650
13651         * undo_funcs.C:
13652         * text2.C: updates because of this.
13653
13654 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13655
13656         * ToolbarDefaults.C (add): add spaces in error message
13657
13658 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13659
13660         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13661         (readLyXformat2): rename return_par to first_par, use lyxlex's
13662         pushToken and remove the manual push handling.
13663         (parseSingleLyXformat2Token): add another ert comp. variable:
13664         in_tabular, rename return_par to first_par. handle newlines better
13665
13666 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13667
13668         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13669
13670 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13671
13672         * text2.C (getParFromID): removed
13673
13674         * buffer.C (getParFromID): new method moved form lyxtext.
13675         * BufferView2.C (insertErrors): adjust
13676         (setCursorFromRow): adjust
13677         * BufferView_pimpl.C (restorePosition): adjust
13678         * lyxfunc.C (Dispatch): adjust
13679         * undo_funcs.C (textUndo): adjust
13680         (textRedo): adjust
13681         (textHandleUndo): adjust
13682         (textHandleUndo): adjust
13683
13684 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13685
13686         * buffer.C: up' the LYX_FORMAT
13687
13688         * lyxfont.h: turn NO_LATEX on as default
13689
13690         * buffer.C (insertErtContents): new methods of tex style compability.
13691         (parseSingleLyXformat2Token): use it several places.
13692         * tabular.C (OldFormatRead): and here
13693
13694 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13695
13696         * text2.C: remove some commented code.
13697         reindent file.
13698
13699         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13700         * trans.C: changes because of the above.
13701
13702 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13703
13704         * text2.C (setCounter): Fix counters bug with bibliography layout.
13705
13706 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13707
13708         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13709         own member functions
13710         (simpleTeXSpecialChars): ditto
13711
13712 2001-07-06  Juergen Vigna  <jug@sad.it>
13713
13714         * a lot of files: changed the access to LyXText::status and the
13715         call of undo-functions.
13716
13717         * undo.[Ch]: added a inset_id to the undo informations.
13718
13719         * undo_funcs.[Ch]: added and moved here all undo functions.
13720
13721         * lyxtext.h: give the status enum a weight, made status_ a private
13722         variable and made accessor functions for it, removed the whole bunch
13723         of undo-functions as they are now in their own file, make some
13724         functions publically available. Added function ownerParagraph with
13725         int parameter.
13726
13727         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13728         made InInset() a const function, added getParFromID() function.
13729
13730         * buffer.[Ch]: added const version for inset_iterator functions,
13731         added getInsetFromID() function.
13732
13733         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13734         changed undo functions for new version.
13735
13736 2001-07-05  Juergen Vigna  <jug@sad.it>
13737
13738         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13739         unknow mechanism does not call the proper constructor but only this
13740         one also if I request the other!?
13741
13742 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13743
13744         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13745
13746         * text2.C (LyXText): use initialization lists.
13747
13748         * lyxtext.h (Selection): initialize set_ and mark_
13749         (init): remove method
13750
13751 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13752
13753         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13754
13755 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13756
13757         * screen.[Ch]: change method names to begin with lowercase
13758
13759         * BufferView_pimpl.C (updateScrollbar): simplify further and
13760         hopefully make it a bit faster.
13761
13762 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13763
13764         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13765         calling directly xforms functions.
13766
13767         * Painter.C (Painter):
13768         * lyx_cb.C (MenuWrite):
13769         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13770         fl_display.
13771
13772         * lyx_gui.C: remove bogus guiruntime extern declaration.
13773
13774 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13775
13776         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13777         in NEW_INSETS
13778         (redoDrawingOfParagraph): ditto
13779         (redoParagraphs): ditto
13780         (cutSelection): don't create a object for CutAndPaste use the
13781         static method directly
13782         (pasteSelection): ditto
13783
13784         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13785         LyXview (+ rename)
13786
13787 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13788
13789         * modifications to some other files because of this.
13790
13791         * Makefile.am (lyx_SOURCES): add XFormsView
13792
13793         * XFormsView.[Ch]: new files
13794
13795         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13796         the main window. Move the gui dependent stuff to XFormsView
13797
13798 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13799
13800         * tabular.C (GetCellInset): update cur_cell also in the row/col
13801         version of this function.
13802
13803         * lyxfunc.C: no need to include figure_form.h here.
13804
13805         * FontLoader.h:
13806         * lyxfunc.h:
13807         * lyxscreen.h:
13808         * text2.C:
13809         * lyxvc.C: no need to include forms.h here.
13810
13811 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13812
13813         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13814
13815         * lyxfunc.C (Dispatch):
13816         * Spacing.C (set):
13817         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13818         constructor argument.
13819
13820 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13821
13822         * paragraph.C (Paragraph): dont't clear, and just set layout.
13823         (makeSameLayout): use params's copy contructor.
13824
13825         * ParagraphParameters.[Ch] (makeSame): delete method
13826
13827 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13828
13829         * Variables.[Ch]: fix indentation, rename set to isSet
13830
13831 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13832
13833         * lyxfunc.C (Dispatch): fix typo
13834
13835 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13836
13837         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13838         upper_bound.
13839
13840         * bufferlist.C: include assert.h for emergencyWrite().
13841
13842 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13843
13844         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13845           give up at last (bug #425202) !
13846
13847 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13848
13849         * lyx_gui_misc.C:
13850         * sp_form.h:
13851         * sp_form.C:
13852         * spellchecker.h:
13853         * spellchecker.C: strip spellchecker options and bring up
13854           preferences tab instead
13855
13856 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13857
13858         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13859         the istringstream constructor
13860
13861 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13862
13863         * paragraph.C (getLayout): fix return value
13864
13865         * paragraph.h: do not declare getLayout as inline.
13866
13867         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13868
13869 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13870
13871         * lyxcursor.h (operator<): new func
13872         (operator>): new func
13873         (operator>=): new func
13874         (operator<=): new func
13875
13876         * text.C (changeCase): use selection.start and selection.end
13877         (changeRegionCase): require from to be <= to. Require par to be a
13878         valid paragraph.
13879
13880         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13881
13882 2001-06-27  Juergen Vigna  <jug@sad.it>
13883
13884         * text.C (cursorLeftOneWord): changed to return the cursor and added
13885         overlay with BufferView * parameter which calls this one.
13886         (getWord): added
13887         (selectWord): use new getWord function.
13888         (changeCase): renamed from changeWordCase as and extended to work
13889         also on selections.
13890
13891         * lyxtext.h: added enum word_location
13892
13893         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13894         changeCase as this operates now also on selections.
13895
13896 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13897
13898         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13899
13900         * many files: send debug output to Debug::INFO instead of
13901         Debug::ANY.
13902
13903         * converter.C (View):
13904         (Convert):
13905         (Move): send debug output to Debug::FILES instead of console.
13906
13907 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13908
13909         * lyxfunc.C (getStatus): use func_status
13910
13911         * func_status.h: new header, describing the results of
13912         LyXFunc::getStatus;
13913
13914         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13915         LFUN_MATH_HALIGN.
13916
13917 2001-06-25  The LyX Project  <jug@sad.it>
13918
13919         * buffer.C (sgmlOpenTag):
13920         (sgmlCloseTag):
13921         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13922
13923 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13924
13925         * text2.C: remove some dead code
13926
13927         * tabular.C (GetCellInset): store the last cell checked (gotten)
13928
13929         * tabular.h: add the helper for the speedup
13930
13931         * lyxtext.h: remove some dead code
13932
13933 2001-06-26  The LyX Project  <Asger>
13934
13935         * paragraph.C: Change export to LaTeX of alignment to
13936         \begin{center} and family for better roundtrip work with reLyX.
13937
13938         * Tune the math drawing a bit.
13939
13940 2001-06-25  The LyX Project  <Asger>
13941
13942         * LColor.C (LColor): New color for math background. New color
13943         for buttons.
13944
13945 2001-06-25  The LyX Project  <jug@sad.it>
13946
13947         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13948
13949         * lyxfunc.C (Open):
13950         * bufferlist.C (newFile): do not restrict to files ending with
13951         .lyx
13952
13953         * BufferView_pimpl.C (MenuInsertLyXFile):
13954
13955 2001-06-24  The LyX Project  <jug@sad.it>
13956
13957         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13958         of compare_no_case
13959
13960 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13961
13962         * lyxtext.h: rename most methods to begin with a small char.
13963         Lots of changes because of this.
13964
13965         * paragraph.C (Paragraph): do not call fitToSize
13966         (erase): call Pimpl::erase
13967         (insertChar): call Pimpl::insertChar
13968         (insertInset): call Pipl::insertInset
13969         (breakParagraph): do not call fitToSize
13970         (breakParagraphConservative): do not call fitToSize
13971         (fitToSize): remove method
13972
13973         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13974
13975 2001-06-24  The LyX Project  <Asger>
13976
13977         * Fix Qt compilation^2
13978
13979 2001-06-24  The LyX Project  <jug@sad.it>
13980
13981         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13982         depthHook(getDepth()-1).
13983
13984         * paragraph.h:
13985         * ParagraphParameters.h:
13986         * ParameterStruct.h: change type of depth to unsigned int ==
13987         depth_type. Many adaptations to other files before of that.
13988
13989 2001-06-24  The LyX Project  <Asger>
13990
13991         * Fix Qt compilation.
13992
13993 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13994
13995         * paragraph.h: renamed several methods to begin with small letter.
13996         several changes to many parts of the code because of this.
13997
13998 2001-06-23  The LyX Project  <jug@sad.it>
13999
14000         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14001         rewritten to discard all double spaces when KeepEmpty is off
14002         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14003         to only handle newlines but not fiddle with spaces and friends.
14004
14005         * lyxfunc.C (MenuNew): when doing 'new from template', use
14006         template_path as default directory
14007
14008 2001-06-23  The LyX Project  <Asger>
14009
14010         * Clean-up of header file includes all over
14011         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14012
14013 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14014
14015         * paragraph.h: renamed from lyxparagraph.h
14016
14017 2001-06-23  Asger  <lyx@violet.home.sad.it>
14018
14019         * Buffer.h: Removed Buffer::resize
14020         * BufferList.h: Removed BufferList::resize
14021         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14022         the document lazily when we change the width, or the font settings.
14023
14024 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14025
14026         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14027
14028 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14029
14030         * buffer.h: remove out of date comment
14031
14032 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14033
14034         * lyxscreen.h:
14035         * screen.C: fix "theoretical" GC leak
14036
14037 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14038
14039         * LaTeX.C (scanAuxFile):
14040         (deplog): remove trailing \r when reading stream (useful under
14041         win32)
14042
14043 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14044
14045         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14046         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14047         and BufferView::theLockingInset(Inset*), so should use them and not
14048         access bv_->text->the_locking_inset directly.
14049
14050         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14051
14052 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14053
14054         * Makefile.am:
14055         * tex-defs.h: remove old unused file
14056
14057 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14058
14059         * BufferView_pimpl.C: fix typo, remove minibuffer message
14060           when buffer has loaded
14061
14062 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14063
14064         * lyxfunc.C (Dispatch): use stringstream
14065         (MenuNew): use stringstream
14066         (Open): use stringstream
14067
14068         * importer.C (Import): use stringstream
14069
14070         * bufferview_funcs.C (CurrentState): use stringstream
14071
14072         * LaTeX.C (run): use stringstream
14073
14074         * BufferView_pimpl.C (savePosition): use stringstream
14075         (restorePosition): use stringstream
14076         (MenuInsertLyXFile): use stringstream
14077
14078 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14079
14080         * BufferView.C:
14081         * Bullet.C:
14082         * ColorHandler.C:
14083         * FontInfo.C:
14084         * FontLoader.C:
14085         * LColor.C:
14086         * LaTeXFeatures.C:
14087         * Painter.C:
14088         * gettext.C:
14089         * lyx_gui_misc.C:
14090         * lyxserver.C:
14091         * vspace.C: removed // -*- C++ -*- as first line.
14092
14093         * lyxfind.h:
14094         * version.h: added // -*- C++ -*- as first line.
14095
14096 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14097
14098         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14099
14100         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14101         of string
14102
14103 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14104
14105         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14106         of floats.
14107
14108 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14109
14110         * gettext.C: include LString.h even when --disable-nls is on.
14111
14112 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14113
14114         * converter.h (Get): changed argument type from int to
14115         FormatList::size_type to avoid unnecessary conversion.
14116
14117         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14118         before using it.
14119
14120 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14121
14122         * gettext.h: include LString.h even when --disable-nls is on.
14123
14124 2001-06-07  Juergen Vigna  <jug@sad.it>
14125
14126         * text.C (BreakAgain): subst spaces with tabs.
14127
14128         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14129         (resizeInsetsLyXText): set force on resizeLyXText.
14130
14131 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14132
14133         * gettext.h (gettext_init):
14134         (locale_init): use a real definition instead of a macro
14135
14136 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14137
14138         * Bufferview_pimpl.C:
14139         * LColor.h:
14140         * LColor.C: further lcolor tidies
14141
14142 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14143
14144         * BufferView_pimpl.C (updateScrollbar): simplify.
14145
14146         * BufferView2.C: don't include insets/insetinfo.h, change
14147         prototype for insertInset and call the Pimpl version. let
14148         updateInset call Pimpl version.
14149
14150         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14151         gotoInset to BufferView::Pimpl
14152
14153 2001-06-01  Juergen Vigna  <jug@sad.it>
14154
14155         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14156         inside a LockingInset (is the update needed at all?).
14157
14158 2001-05-31  Juergen Vigna  <jug@sad.it>
14159
14160         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14161         here not the old one otherwise how should we compare it afterwards
14162         if it's the same!
14163
14164 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14165
14166         * lyxfont.C:
14167         * tabular.C:
14168         * tabular-old.C:
14169         * FontInfo.C: bring C functions into global namespace when
14170         necessary
14171
14172 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14173
14174         * LString.h: make sure config.h has been loaded before LString.h.
14175
14176         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14177         (one for each char read by EatLine!).
14178
14179         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14180         variables.
14181
14182 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14183
14184         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14185         to the same as the par we break from
14186
14187 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14188
14189         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14190
14191         * MenuBackend.C (expand): also create menu entries for wide
14192         versions of the floats.
14193
14194         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14195
14196         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14197
14198         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14199         frontends/Makefile.am
14200
14201         * text2.C: adjust
14202         * text.C: adjust
14203
14204
14205         * tabular.C (getTokenValue): add std::
14206
14207         * tabular-old.C (getTokenValue): add std::
14208         (getTokenValue): ditto
14209         (getTokenValue): ditto
14210
14211         * screen.C (ToggleSelection): adjust
14212
14213         * lyxtext.h: put selection cursors inside a Selection struct.
14214
14215         * lyxfunc.C (moveCursorUpdate): adjust
14216
14217         * lyxfont.C (latexWriteStartChanges): add std::
14218
14219         * lyxfind.C: adjust
14220
14221         * font.h: delete with(char const *, LyXFont const &)
14222
14223         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14224
14225         * FontInfo.C (getFontname): add std::
14226
14227         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14228         (workAreaButtonPress): adjust
14229         (tripleClick): adjust
14230         (update): adjust
14231         (moveCursorUpdate): adjust
14232         (Dispatch): adjust
14233
14234         * BufferView2.C (gotoInset): adjust
14235
14236 2001-05-30  Juergen Vigna  <jug@sad.it>
14237
14238         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14239         to check pspell I add this as default as I now have new pspell
14240         libraries and they seem to use this.
14241
14242 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14243
14244         * text2.C (CutSelection): make the cursor valid before the call to
14245         ClearSelection.
14246
14247 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14248
14249         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14250         relied on 0 terminated strings and other horrors. Bug found due to
14251         the new assert in lyxstring!
14252
14253         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14254         KP_ keys.
14255
14256 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14257
14258         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14259         to latinkeys.bind.
14260
14261         * lyxfunc.C (processKeySym): change method of getting to the
14262         self-insert char.
14263
14264         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14265         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14266         * BufferView_pimpl.[Ch]: here as private methods.
14267
14268 2001-05-28  Juergen Vigna  <jug@sad.it>
14269
14270         * text.C (SetHeightOfRow): added the update() call again as it is
14271         needed to initialize inset dimensions!
14272
14273 2001-05-16  Juergen Vigna  <jug@sad.it>
14274
14275         * text2.C (SetCharFont): Add new function with BufferView * and
14276         bool toggleall parameters for setting insets internal fonts.
14277         (SetFont): Freeze the undo as we may change fonts in Insets and
14278         all this change should be inside only one Undo!
14279
14280         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14281         setting font's in insets as for them we have the SetFont function!
14282
14283 2001-05-15  Juergen Vigna  <jug@sad.it>
14284
14285         * text2.C (ClearSelection): to be sure we REALLY don't have any
14286         selection anymore!
14287
14288         * tabular.C (TeXCellPreamble): fixed the left border problem for
14289         multicolumn cells.
14290
14291 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14292
14293         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14294         dependancy file
14295
14296 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14297
14298         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14299         LFUN_BREAKPARAGRAPH.
14300
14301         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14302         help test to "internal only", similar for LFUN_INSERT_URL
14303
14304         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14305         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14306         auto_region_delete and deadkeys.
14307
14308 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14309
14310         * LColor.h:
14311         * LColor.C: remove some dead entries, tidy a little
14312
14313 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14314
14315         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14316         commented code.
14317         (Dispatch): implement LFUN_ESCAPE
14318
14319         * commandtags.h: add LFUN_ESCAPE
14320
14321         * LyXAction.C (init): add entry for LFUN_ESCAPE
14322
14323         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14324         Remove commented code.
14325         (insertNote): moved here
14326         (open_new_inset): moved here
14327
14328         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14329         BufferView_pimpl
14330
14331 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14332
14333         * kbmap.C (findbinding): clean it up and make it work correctly.
14334
14335         * lyx_main.C (init): do not pass argc and argv as parameters
14336
14337 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14338
14339         * buffer.C: fix path for OS/2 & Win32
14340
14341         * lyx_gui.C:
14342         * lyx_main:
14343         * lyx_main.C: Added os:: class.
14344
14345         * os2_defines.h: update
14346
14347 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14348
14349         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14350         better by trying again with reduced state.
14351
14352 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14353
14354         * lyxrc.C (read): print error about invalid key sequence only when
14355         debugging (because not all latinX keysyms are known to some X
14356         servers)
14357
14358         * kbsequence.C (getiso): add a few std:: qualifiers
14359         (getiso): comment out extra return statement.
14360
14361 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14362
14363         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14364         handling.
14365         (Dispatch): enhance the accent inset a bit. (not perfect)
14366
14367 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14368
14369         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14370
14371 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14372
14373         * bufferlist.C (emergencyWrite): fix assert() call
14374
14375 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14376
14377         * text.C (InsertChar): Added trivial patch to only send the "you
14378         can not do multiple spaces this way" message once during a
14379         session.
14380
14381 2001-05-08  Baruch Even  <baruch@lyx.org>
14382
14383         * Makefile.am: Changed order of libraries to get LyX to link properly
14384         with the gnome frontend.
14385
14386 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14387
14388         * LaTeXFeatures.h: add a std:: qualifier
14389
14390 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14391
14392         * paragraph.C (String): use stringstream
14393
14394 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14395
14396         * paragraph.C (writeFile): remove footflag arg
14397
14398         * buffer.C (makeLaTeXFile): use stringstream
14399         (latexParagraphs): remove footnot gurba
14400
14401         * LaTeXFeatures.C (getPackages): use stringstream
14402         (getMacros): likewise
14403         (getTClassPreamble): likewise
14404         (getFloatDefinitions): new method
14405
14406         * paragraph.C (writeFile): reindent
14407         (Erase): reindent
14408
14409         * WorkArea.h: revert the xpos + etc changes.
14410
14411         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14412
14413         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14414
14415         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14416         (pasteSelection): likewise
14417         * text2.C (CreateUndo): likewise
14418
14419 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14420
14421         * minibuffer.C (peek_event): temporarily reduce the functionality
14422         of the minibuffer (to allow args on lfuns)
14423
14424         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14425         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14426
14427         * buffer.C (readInset): add compability reading of old float
14428         lists, add reading of new style float list.
14429         (readInset): avoid reevaluation of inscmd.getCmdName()
14430         (getLists): reindent
14431
14432         * MenuBackend.C (MenuItem): implement parsing of
14433         md_floatlistinsert and md_floatinsert.
14434         (expand::LastFiles): move initalizaton of iterators out of loop,
14435         avoid reevaluation.
14436         (expand::Documents): introduce typdedef vector<string> Strings,
14437         and use it.
14438         (expand::ExportFormats): introduce typedef vector<Format const *>
14439         Formats, and use it.
14440         (expand): implement FloatListInsert and FloatInsert.
14441
14442         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14443         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14444         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14445
14446         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14447         handling.
14448         (Dispatch::LFUN_FLOAT_LIST): implement
14449
14450 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14451
14452         * LaTeX.C (run): Fix problem with --export code.
14453
14454 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14455
14456         * BufferView.[Ch] (workarea): removed.
14457         (getClipboard) new method; wrapper for workarea()->getClipboard()
14458
14459         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14460         bug.
14461
14462         * WorkArea.h (width, height, xpos, ypos): These methods all
14463         returned the dimensions of the work_area sub-area of WorkArea,
14464         resulting in a position error if the WorkArea were resized. Now
14465         return the dimensions of the entire WorkArea.
14466
14467         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14468
14469 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14470
14471         * LaTeX.C (deplog): correct the syntax of regex reg1
14472
14473 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14474
14475         * undo.C: remove !NEW_INSETS cruft
14476
14477 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14478
14479         * text2.C: remove !NEW_INSETS cruft
14480
14481         * text.C: remove !NEW_INSETS cruft
14482
14483         * tabular.C: remove !NEW_INSETS cruft
14484
14485         * spellchecker.C: remove !NEW_INSETS cruft
14486
14487         * lyxtext.h: remove !NEW_INSETS cruft
14488
14489         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14490
14491         * lyxfunc.C: remove !NEW_INSETS cruft
14492
14493         * lyxfind.C: remove !NEW_INSETS cruft
14494
14495         * lyx_cb.C: remove !NEW_INSETS cruft
14496
14497         * figureForm.C: remove  !NEW_INSETS cruft
14498
14499         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14500
14501         * buffer.[Ch]: remove !NEW_INSETS cruft
14502
14503         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14504
14505         * CutAndPaste.C: remove !NEW_INSETS cruft
14506
14507         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14508
14509         * BufferView2.C: remove !NEW_INSETS cruft
14510
14511         * BufferView.h: remove !NEW_INSETS cruft
14512
14513 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14514
14515         * Lsstream.h: include LString.h before the sstream headers to
14516         fix problem with gcc 2.95.3 and lyxstring
14517
14518 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14519
14520         * lyx_main.C: add using directives when needed for C functions
14521         declared in std:: namespace.
14522
14523 2001-04-27  Juergen Vigna  <jug@sad.it>
14524
14525         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14526         (SetHeightOfRow): comment out the update call should not be needed!
14527
14528 2001-04-13  Juergen Vigna  <jug@sad.it>
14529
14530         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14531         (LyXTabular): tried to minimize operator= operations (and realized
14532         hopfully Lars wish).
14533
14534 2001-04-27  Juergen Vigna  <jug@sad.it>
14535
14536         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14537
14538 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14539
14540         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14541
14542         * buffer.C (readInset): hack to make listof algorithm work
14543
14544         * BufferView_pimpl.C: hack to make listof algorithm work
14545
14546 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14547
14548         * LyXAction.C: removed all !NEW_INSETS cruft
14549         (init): moved lfun_item in method
14550
14551         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14552
14553 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14554
14555         * BufferView2.C (theLockingInset): white space.
14556
14557 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14558
14559         * minibuffer.C: include <iostream>
14560
14561         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14562
14563         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14564
14565         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14566
14567         * text.[Ch] (TransposeChars): new method
14568
14569 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14570
14571         * call message directly through LyXView instead of through LyXFunc
14572         * BufferView2.C: adjust
14573         * BufferView_pimpl.C: adjust
14574         * FontLoader.C: adjust
14575         * buffer.C: adjust
14576         * bufferview_funcs.C: adjust
14577         * converter.C: adjust
14578         * figureForm.C: adjust
14579         * importer.C: adjust
14580         * lyx_cb.C: adjust
14581         * lyx_gui_misc.C: adjust
14582         * lyxfunc.C: adjust
14583         * lyxvc.C: adjust
14584         * text2.C: adjust
14585         + more files in subdirs
14586
14587         * lyxparagraph.h (size): move up int file
14588         (GetLayout): ditto
14589
14590         * adjust all uses of Assert to lyx::Assert.
14591
14592         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14593         lyxfunctional in namespace lyx
14594         * layout.C (hasLayout): ditto
14595         (GetLayout): ditto
14596         (GetLayout): ditto
14597         (delete_layout): ditto
14598         (NumberOfClass): ditto
14599         * converter.C (GetFormat): ditto
14600         (GetNumber): ditto
14601         (Add): ditto
14602         (Delete): ditto
14603         (SetViewer): ditto
14604         * bufferlist.C (getFileNames): ditto
14605         (emergencyWriteAll): ditto
14606         (exists): ditto
14607         (getBuffer): ditto
14608         * MenuBackend.C (hasSubmenu): ditto
14609         (hasMenu): ditto
14610         (getMenu): ditto
14611         * BufferView_pimpl.C (getInsetByCode): ditto
14612
14613 2001-04-18  Juergen Vigna  <jug@sad.it>
14614
14615         * vspace.C (asLatexString): fixed the 100% problem.
14616
14617 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14618
14619         * lyxfunc.C (Dispatch):
14620         * minibuffer.C:
14621         * minibuffer.h: add a few std:: qualifiers
14622
14623 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14624
14625         * minibuffer.[Ch]: reimplement so that commands is initiated and
14626         run from lyxfunc, simplified som handling, and made the completion
14627         and history code for complete. wip.
14628
14629         * lyxfunc.C (processKeySym): call message
14630         (miniDispatch): new temporary method
14631         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14632         (LFUN_MESSAGE): implement
14633         (LFUN_MESSAGE_PUSH): implement
14634         (LFUN_MESSAGE_POP): implement
14635         (initMiniBuffer): the initial/defualt minibuffer message.
14636
14637         * lyxfont.[Ch]: inline some more getters
14638
14639         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14640
14641         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14642
14643         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14644         (AutoSave): use LFUN_MESSAGE
14645         (Reconfigure): ditto
14646
14647         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14648
14649         * figureForm.C: use LFUN_MESSAGE
14650
14651         * converter.C (runLaTeX): use LFUN_MESSAGE
14652
14653         * bufferview_funcs.C: use LFUN_MESSAGE
14654         (Melt): ditto
14655         (changeDepth): ditto
14656
14657         * bufferparams.h: use boost::
14658
14659         * bufferlist.h: inherit privately from noncopyable
14660
14661         * bufferlist.C (loadLyXFile): remove some commented code.
14662
14663         * buffer.C (runChktex): use LFUN_MESSAGE
14664
14665         * ShareContainer.h: inherit privately from noncopyable
14666
14667         * ParagraphParameters.[hC] (depth): inline it.
14668
14669         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14670         methods.
14671         (message): new method
14672         (messagePush): ditto
14673         (messagePop): ditto
14674         (show): init minibuffer
14675         (showState): direct call
14676
14677         * LaTeX.[Ch]: inherit privately from noncopyable
14678         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14679         instead of WriteStatus.
14680
14681         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14682
14683         * BufferView_pimpl.C (buffer): don't init minibuffer
14684         (workAreaButtonPress): use LFUN_MESSAGE
14685         (workAreaButtonRelease): ditto
14686         (savePosition): ditto
14687         (restorePosition): ditto
14688         (MenuInsertLyXFile): ditto
14689         (workAreaExpose): don't init minibuffer
14690         (update): remove commented code, simplify
14691
14692         * BufferView2.C (openStuff): use LFUN_MESSAGE
14693         (toggleFloat): ditto
14694         (menuUndo): ditto
14695         (menuRedo): ditto
14696         (copyEnvironment): ditto
14697         (pasteEnvironment): ditto
14698         (copy): ditto
14699         (cut): ditto
14700         (paste): ditto
14701         (gotoInset): ditto
14702         (updateInset): remove some commented code
14703
14704         * lastfiles.h: inherit privately from noncopyable
14705         * layout.h: ditto
14706         * lyx_gui.h: ditto
14707         * lyx_main.h: ditto
14708         * lyxlex.h: ditto
14709         * lyxlex_pimpl.h: ditto
14710
14711         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14712         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14713         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14714
14715         * LyXAction.h: inherit privately from noncopyable, add methods
14716         func_begin, func_end, returning iterators to the func map.
14717
14718         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14719         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14720         (func_begin): new method
14721         (func_end): new method
14722
14723         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14724         and not)
14725         (copySelection): ditto
14726         (pasteSelection): ditto
14727
14728         * BufferView.C: whitespace change
14729         * BufferView.h: inherit privately from noncopyable
14730
14731 2001-04-16  Allan Rae  <rae@lyx.org>
14732
14733         * tabular-old.C (l_getline):
14734         * spellchecker.C (sc_check_word):
14735         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14736         an unrecognised preprocessor directive.  So ensure they're wrapped.
14737
14738 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14739
14740         * src/exporter.C (Export): Give an error message when path to file
14741         contains spaces.
14742
14743 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14744
14745         * LaTeX.C (deplog): Always check that foundfile exists.
14746
14747 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14748
14749         * lyx_main.h:
14750         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14751
14752 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14753
14754         * tabular.[Ch] (getLabelList): implement new method
14755
14756         * minibuffer.h: comment ouf setTiimer
14757
14758         * minibuffer.C (ExecutingCB): constify res
14759         (peek_event): constify s
14760         (Set): constify ntext
14761         (Init): constify nicename
14762
14763         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14764
14765         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14766         (savePosition): use two params to Minibuffer::Set
14767         (restorePosition): ditto
14768
14769 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14770
14771         * lyx_main.C: include language.h
14772
14773         * Makefile.am (lyx_main.o): add language.h
14774
14775 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14776
14777         * exporter.C:
14778         * paragraph.C:
14779         * screen.C:
14780         * tabular.C:
14781         * CutAndPaste.C: include gettext.h
14782
14783         * lyxfont.h: remove old hack with ON and OFF.
14784
14785         * lyxparagraph.h:
14786         * lyxfont.h: do not include language.h...
14787
14788         * BufferView2.C:
14789         * LaTeXFeatures.C:
14790         * Painter.C:
14791         * bufferview_funcs.C:
14792         * font.C:
14793         * lyxfont.C:
14794         * text.C:
14795         * text2.C:
14796         * trans_mgr.C:
14797         * paragraph.C: ... but do it here instead
14798
14799 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14800
14801         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14802
14803         * tabular.C: small reformat
14804
14805         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14806         NEW_INSETS version
14807         (GetChar): ditto
14808         (BreakParagraph): ditto
14809         (SetOnlyLayout): ditto
14810         (SetLayout): ditto
14811
14812         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14813         with one arg less.
14814
14815         * lastfiles.C: removed most using decl, add std:: where needed
14816
14817         * buffer.C: ws changes
14818
14819         * MenuBackend.C (class compare_format): put into anon namespace
14820         (expand): constify label, names, action, action2
14821         (expand):
14822
14823         * text.C (SingleWidth): constify font
14824         (IsBoundary): constify rtl2
14825         (GetVisibleRow): constify ww
14826
14827         * LaTeX.C (deplog): constify logfile
14828
14829         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14830         start_x, end_x
14831         (workAreaExpose): constify widthChange, heightChange
14832
14833         * lyxrow.C (par): moved
14834         (height): moved
14835         (next): moved
14836         * lyxrow.h: as inlines here
14837
14838         * lyxfont.h (shape): moved from lyxfont.C
14839         (emph): moved from lyxfont.C
14840
14841         * lyxfont.C (LyXFont): use initialization list for all
14842         constructors
14843         (shape): move to lyxfont.h as inline
14844         (emph): move to lyxfont.h as inline
14845
14846
14847 2001-04-04  Juergen Vigna  <jug@sad.it>
14848
14849         * vspace.C: had to include stdio.h for use of sscanf
14850
14851 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14852
14853         * BufferView.h:
14854         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14855         independent of xforms.
14856
14857 2001-04-02  Juergen Vigna  <jug@sad.it>
14858
14859         * spellchecker.C: fixed namespace placing!
14860
14861 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14862
14863         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14864         the LyXParagraph * is 0.
14865
14866 2001-03-29  Juergen Vigna  <jug@sad.it>
14867
14868         * vspace.C: added support for %, c%, p%, l%.
14869         (stringFromUnit): added helper function.
14870         (asLatexString): changed to give right results for the %-values.
14871
14872         * buffer.C: convert the widthp in a width%.
14873
14874 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14875
14876         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14877         figureForm.[Ch].
14878
14879         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14880         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14881
14882         * lyx_cb.[Ch]: see above.
14883
14884         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14885         form1.[Ch].
14886
14887         * form1.[Ch]:
14888         * lyx.[Ch]: replaced by figure_form.[Ch].
14889
14890         * lyx_gui.C:
14891         * lyx_gui_misc.C:
14892         * lyxfunc.C: changed headers associated with above changes.
14893
14894 2001-03-27  Juergen Vigna  <jug@sad.it>
14895
14896         * BufferView_pimpl.C: set the temporary cursor right!
14897
14898 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14899
14900         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14901
14902 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14903
14904         * LString.h: removed "using std::getline"!
14905
14906         * BufferView_pimpl.C (Dispatch): changes due to changes in
14907         InsetInclude::Params.
14908
14909         * buffer.C (tag_name): removed redundant break statements as they were
14910         producing lots of warnings with my compiler.
14911
14912 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14913
14914         * LString.h: add "using std::getline" when using the real <string>.
14915
14916 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14917
14918         * buffer.C: removed bitset usage.
14919         PAR_TAG moved to an anonymous name space.
14920         (tag_name): new funtion, also in the anonymous namespace.
14921         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14922         (makeDocBookFile): clean code. Completed transition from string arrays
14923         to string vectors.
14924         (SimpleDocBookOnePar): code clean.
14925
14926 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14927
14928         * tabular.C: add some comments.
14929
14930 2001-03-22  Juergen Vigna  <jug@sad.it>
14931
14932         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14933         compatibility read a bit and fixed bug with minipage in different
14934         depth.
14935
14936 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14937
14938         * buffer.C (pop_tag): removed.
14939         (push_tag): removed.
14940         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14941         array replaced with vector. Added support for CDATA sections.
14942         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14943         at any nest level.
14944         (makeDocBookFile): XML conformant declaration of CDATA section,
14945         fixed bug related to <emphasis> in the first paragraph char.
14946         (sgmlOpenTag): exclude empty tags.
14947         (sgmlCloseTag): ditto.
14948
14949         * buffer.h (pop_tag): removed.
14950         (push_tag): removed.
14951
14952 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14953
14954         * language.h (Languages): added size_type and size().
14955
14956 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14957
14958         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14959         response on compability reading of minipages. One probliem is that
14960         the old usage of minipages was «flertydig»
14961
14962         * several files here and in subdirs: don't use static at file
14963         scope use anon namespaces instead.
14964
14965 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14966
14967         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14968         LaTeX output. This is necessary for Literate document
14969         processing.
14970
14971 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14972
14973         * buffer.C: insert hfill when needed.
14974
14975         * tabular.C (l_getline): use string::erase, small whitespace change.
14976
14977         * BufferView_pimpl.C: try the anon namespace.
14978         * WorkArea.C: ditto
14979
14980 2001-03-16  Juergen Vigna  <jug@sad.it>
14981
14982         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14983         otherwise it won't open options-dialogs.
14984
14985         * buffer.C: honor pextraWidth(p) on converting minipages.
14986
14987         * tabular.C (l_getline): changed the functions to strip trailing \r.
14988
14989 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14990
14991         * BufferView_pimpl.C:
14992         * minibuffer..C: added "using SigC::slot" declaration.
14993
14994 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14995
14996         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14997
14998         * text2.C: ditto
14999
15000         * text.C: ditto
15001
15002         * paragraph.C: ditto
15003
15004         * lyxtext.h: NO_PEXTRA
15005
15006         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15007
15008         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15009         * ParameterStruct.h: ditto
15010         * ParagraphParameters.h: ditto
15011         * lyxparagraph.h: ditto
15012
15013 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15014
15015         * buffer.C: add compability for minipage alignment.
15016         (latexParagraphs): remove unwanted pextra check.
15017
15018         * several files: remove CXX_WORKING_NAMESPACES
15019
15020         * buffer.C (pop_tag): tie is in namespace boost
15021
15022         * BufferView.h: noncopyable is in namespace boost
15023         * lyxlex.h: ditto
15024         * lyx_main.h: ditto
15025         * lyx_gui.h: ditto
15026         * layout.h: ditto
15027         * lastfiles.h: ditto
15028         * bufferlist.h: ditto
15029         * ShareContainer.h: ditto
15030         * LyXView.h: ditto
15031         * LyXAction.h: ditto
15032         * LaTeX.h: ditto
15033
15034 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15035
15036         * Merging changes from BRANCH_MVC back into HEAD.
15037
15038         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15039
15040 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15041
15042         * BufferView_pimpl.C: change from intl.C
15043
15044         * combox.h:
15045         * combox.C:
15046         * Makefile.am: move combox.*
15047
15048         * form1.h:
15049         * form1.C:
15050         * lyx_gui.C:
15051         * intl.h:
15052         * intl.C: remove dialog (covered by prefs)
15053
15054 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15055
15056         * lyxfunc.C (Dispatch): removed redundant break statement.
15057
15058 2001-03-14  Juergen Vigna  <jug@sad.it>
15059
15060         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15061
15062 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15063
15064         * buffer.C: add hack to fix compability reading of minipages.
15065
15066 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15067
15068         * buffer.C (getLists): Cleanup.
15069
15070 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15071
15072         * lyxfont.C (update): don't honor toggleall on font size.
15073
15074 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15075
15076         * bmtable.c:
15077         * bmtable.h:
15078         * Makefile.am: moved to frontends/xforms/
15079
15080         * lyx_gui_misc.C:
15081         * lyxfunc.C:
15082         * BufferView_pimpl.C: changes for moved mathpanel
15083
15084 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15085
15086         * gettext.h: fix gettext_init() in --disable-nls
15087
15088 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15089
15090         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15091
15092 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15093
15094         * lyx.C:
15095         * lyx.h: strip external form
15096
15097 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15098
15099         * BufferView_pimpl.C: add comment, destroySplash()
15100
15101 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15102
15103         * BufferView_pimpl.C:
15104         * LyXAction.C:
15105         * buffer.C:
15106         * commandtags.h:
15107         * lyxfunc.C: use re-worked insetinclude
15108
15109 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15110
15111         * buffer.C: add using std::stringstream.
15112
15113         * lyx_cb.C: readd using std::ios.
15114
15115         * buffer.C: add using std::map.
15116
15117         * BufferView_pimpl.C: add using std::vector.
15118
15119         * ShareContainer.h: add std:: to swap.
15120
15121         * buffer.h: add some typedefs
15122         * buffer.C (getLists): use them
15123         (getLists): renamed from getTocList.
15124         add a counter for the different float types and use it in the
15125         generated string.
15126         (getLists): use the same counter for the NEW_INSETS and the "non"
15127         NEW_INSETS
15128
15129         * lyx_cb.h: remove unused items, includes, using etc.
15130
15131         * ShareContainer.h: remove some commented code, add more comments
15132         and "documentation".
15133
15134 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15135
15136         * buffer.C (getTocList): make the list also when NEW_INSETS is
15137         defined.
15138
15139         * buffer.h: remove TocType
15140
15141         * buffer.C (getTocList): change to return a map<string,
15142         vector<TocItem> >, implement for dynamic number of list.
15143
15144         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15145         * text2.C (PasteSelection): adjust
15146         * CutAndPaste.C (pasteSelection): adjust
15147
15148         * FloatList.C (FloatList): update from the new_insets branch.
15149         * Floating.[Ch]: ditto
15150         * LaTeXFeatures.C: ditto
15151         * buffer.C: ditto
15152         * lyxlex_pimpl.C: ditto
15153
15154         * paragraph.C (Last): remove when NEW_INSETS is defined.
15155
15156         * other file: changes because of the above.
15157
15158 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15159
15160         * lyxparagraph.h: rename next to next_, previous to previous_,
15161         make them private for NEW_INSETS. Rename Next() to next(),
15162         Previous() to previous().
15163
15164         * other files: changes because of the above.
15165
15166 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15167
15168         * BufferView.h:
15169         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15170         problem.
15171
15172 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15173
15174         * main.C (main): pass lyx_localedir to gettext_init().
15175
15176         * gettext.h: remove locale_init and gettext_init macros
15177
15178         * gettext.C (locale_init): new function
15179         (gettext_init): new function
15180
15181         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15182         setlocale().
15183
15184 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15185
15186         * Moved credits to frontends:
15187         * credits.[Ch]: removed
15188         * credits_form.[Ch]: removed
15189         * lyx_gui_misc.C: remove credits stuff
15190         * Makefile.am:
15191
15192 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15193
15194         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15195
15196         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15197         unneeded destructor.
15198
15199         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15200         a standalone pointer again.
15201
15202         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15203
15204 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15205
15206         * Makefile.am:
15207         * filedlg.h:
15208         * filedlg.C:
15209         * LyXAction.C:
15210         * ToolbarDefaults.C:
15211         * bufferlist.C:
15212         * commandtags.h:
15213         * form1.C:
15214         * form1.h:
15215         * lyx_cb.C:
15216         * lyx_cb.h:
15217         * lyxfunc.h:
15218         * lyxfunc.C:
15219         * BufferView_pimpl.C: use new file dialog in GUII
15220
15221         * lyx_cb.h:
15222         * lyx_cb.C: remove LayoutsCB to Toolbar
15223
15224 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15225
15226         * ShareContainer.h (get): add std:: qualifier
15227
15228 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15229
15230         * ShareContainer.h: define a proper ShareContainer::value_type
15231         type (and use typename to please compaq cxx)
15232
15233 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15234
15235         * lyxparagraph.h: move serveral local vars to
15236         ParameterStruct/ParagraphParameters., use ShareContainer in
15237         FontTable., make vars in FontTable private and add getter and
15238         setter.
15239
15240         * paragraph.C: changes because of the above.
15241
15242         * lyxfont.h: remove copy constructor and copy assignment. (the
15243         default ones is ok), move number inside FontBits. move inlines to
15244         lyxfont.C
15245
15246         * lyxfont.C: add number to initializaton of statics, move several
15247         inlines here. constify several local vars. some whitespace
15248         cleanup. Dont hide outerscope variables.
15249
15250         * Spacing.h: add two new constructors to match the set methods.
15251
15252         * ShareContainer.h: new file, will perhaps be moved to support
15253
15254         * ParameterStruct.h: new file
15255
15256         * ParagraphParameters.h: new file
15257
15258         * ParagraphParameters.C: new file
15259
15260         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15261         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15262
15263         * BufferView_pimpl.C: ParagraphParameter changes.
15264         * buffer.C: Likewise.
15265         * bufferview_funcs.C: Likewise.
15266         * text.C: Likewise.
15267         * text2.C: Likewise.
15268
15269 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15270
15271         * lyxfind.C (LyXReplace): do not redefine default argument in
15272         implementation.
15273         (IsStringInText): ditto
15274         (SearchForward): ditto
15275         (SearchBackward): ditto
15276
15277 2001-03-06  Juergen Vigna  <jug@sad.it>
15278
15279         * lyxfind.C (IsStringInText): put parentes around expressions.
15280
15281 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15282
15283         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15284
15285 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15286
15287         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15288
15289         * stl_string_fwd.h: add comment
15290
15291         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15292
15293         * tabular.h:
15294         * tabular.C: remove unused DocBook methods
15295
15296         * intl.C:
15297         * language.C:
15298         * paragraph.C:
15299         * buffer.C:
15300         killed DO_USE_DEFAULT_LANGUAGE
15301
15302 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15303
15304         * lyx_gui.C: do not include language.h.
15305
15306         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15307         arguments in function implementation.
15308
15309 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15310
15311         * BufferView_pimpl.C: add <ctime>
15312
15313 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15314
15315         * BufferView_pimpl.C: add using std::find_if
15316
15317 2001-02-27  José Matos  <jamatos@fep.up.pt>
15318
15319         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15320         by OnlyPath.
15321
15322 2001-02-11  José Matos  <jamatos@fep.up.pt>
15323
15324         * buffer.C (makeDocBookFile): command styles now have a parameter as
15325         "title" by default.
15326
15327 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15328
15329         * layout_forms.[Ch]: removed
15330         * lyx_cb.[Ch]: out character
15331         * lyx_gui.C: out character
15332         * lyx_gui_misc.C: out character
15333         * bufferview_funcs.C: : out character,
15334         added toggleall as parameter in ToggleAndShow
15335
15336 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15337
15338         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15339
15340         * text2.C (SetCurrentFont): Disable number property at boundary.
15341
15342 2001-02-26  Juergen Vigna  <jug@sad.it>
15343
15344         * lyxfunc.C (getStatus): added a string argument override function so
15345         that this is correctly called from LyXFunc::Dispatch if it contains a
15346         do_not_use_argument which is used!
15347         (Dispatch): added check for "custom" export and call appropriate func.
15348
15349 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15350
15351         * lyxrc.C: Add language_command_local, language_use_babel and
15352         language_global_options.
15353
15354         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15355
15356         * buffer.C (makeLaTeXFile): Use language_use_babel and
15357         language_global_options.
15358
15359 2001-02-23  Juergen Vigna  <jug@sad.it>
15360
15361         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15362         which works with LyXText and putted it inside BufferView. Here now we
15363         only call for that part the BufferView::Dispatch() function.
15364
15365         * BufferView.C (Dispatch): added.
15366
15367         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15368         functions which needs to use a LyXText over from LyXFunc.
15369         (MenuInsertLyXFile): added
15370         (getInsetByCode): added
15371         (moveCursorUpdate): added
15372         (static TEXT): added
15373
15374 2001-02-22  Juergen Vigna  <jug@sad.it>
15375
15376         * BufferView_pimpl.C (update): call a status update to see if LyXText
15377         needs it.
15378
15379 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15380
15381         * vc-backend.C (revert): implement for CVS
15382         (getLog): implement for CVS
15383
15384 2001-02-20  Juergen Vigna  <jug@sad.it>
15385
15386         * text2.C (ClearSelection): added BufferView param for inset_owner call
15387
15388         * lyxfunc.C (TEXT): added this function and use it instead of
15389         directly owner->view()-text of getLyXText().
15390
15391 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15392
15393         * src/layout_forms.C: out preamble
15394         * src/layout_forms.h: out preamble
15395         * src/lyx_cb.C: out preamble
15396         * src/lyx_cb.h: out preamble
15397         * src/lyx_gui.C: out preamble
15398         * src/lyx_gui_misc.C: out preamble
15399         * src/lyxfunc.C: connect with guii preamble
15400
15401 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15402
15403         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15404
15405 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15406
15407         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15408         whether to run bibtex.
15409
15410 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15411
15412         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15413
15414 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15415
15416         * Makefile.am (lyx_SOURCES): removed bibforms.h
15417
15418         * vspace.h: doxygen
15419
15420         * text.C (GetVisibleRow): make several local vars const
15421
15422         * tabular.C: small cleanup.
15423
15424         * lyxserver.C (callback): use compare instead of strncmp
15425
15426         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15427         inlines to after class or to paragraph.C
15428
15429         * lyxfont.h: remove friend operator!=
15430
15431         * converter.h: move friend bool operator< to non friend and after
15432         class def.
15433
15434         * combox.h: small cleanup
15435
15436         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15437         to inlines after class def.
15438
15439         * buffer.C (pop_tag): use string operations instead of strcmp
15440
15441         * bmtable.c: doxygen, small cleanup
15442
15443         * LaTeX.h: remove friend operator==
15444
15445 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15446
15447         * screen.C:
15448         * lyxrc.[Ch]:
15449         * lyxfunc.C:
15450         * lyxfont.[Ch]:
15451         * lyx_cb.C:
15452         * intl.[Ch]:
15453         * commandtags.h:
15454         * buffer.C:
15455         * WorkArea.[Ch]:
15456         * LyXAction.C:
15457         * BufferView_pimpl.C:
15458         * BufferView.[Ch]: remove cruft
15459
15460 2001-02-14  Juergen Vigna  <jug@sad.it>
15461
15462         * lyxfunc.C: removed #if 0 unused code
15463
15464         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15465
15466         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15467
15468         * text2.C (SetSelection): added a BufferView * parameter
15469
15470 2001-02-13  Juergen Vigna  <jug@sad.it>
15471
15472         * lyxfunc.C (Dispatch): fixed protected blank problem.
15473         * BufferView2.C (protectedBlank): added LyxText * parameter.
15474
15475         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15476         (AppendColumn): same as above for column_info.
15477
15478         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15479         (moveCursorUpdate): use a LyXText param for support of InsetText.
15480
15481         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15482         (tripleClick): ditto
15483
15484         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15485
15486         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15487
15488         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15489
15490         * text2.C (SetSelection): set correct update status if inset_owner
15491         (ToggleFree): ditto
15492
15493 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15494
15495         * tabular.C: remove some commented code.
15496
15497 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15498
15499         * BufferView_pimpl.C: call hideSplash()
15500
15501         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15502
15503         * include_form.h:
15504         * bibforms.h: remove
15505
15506         * lyxfunc.C:
15507         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15508           add LFUN_CHILD_CREATE
15509
15510         * counters.h: fix tiny typo
15511
15512         * lyx_cb.C:
15513         * lyx.h:
15514         * lyx_gui.C:
15515         * lyx.C: move splash to frontends/xforms/
15516
15517         * lyx_gui_misc.C: move Include and Bibform to frontends
15518
15519         * lyxvc.h: clarify comment
15520
15521         * vspace.C: tiny housekeeping
15522
15523 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15524
15525         * text.C (PrepareToPrint): RTL Fix.
15526
15527         * paragraph.C (GetUChar): New method.
15528         (String):  Use GetUChar.
15529
15530         * buffer.C (asciiParagraph): Use GetUChar.
15531
15532 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15533
15534         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15535
15536 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15537
15538         * buffer.h:
15539         * buffer.C: rename to getLogName(), handle
15540           build log / latex log nicely
15541
15542 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15543
15544         * MenuBackend.C:
15545         * MenuBackend.h: remove support for reference menuitem type.
15546
15547 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15548
15549         * BufferView_pimpl.C: housekeeping
15550         * BufferView_pimpl.h:
15551         * LyXView.h:
15552         * Makefile.am:
15553         * Timeout.C:
15554         * Timeout.h:
15555         * minibuffer.h: move Timeout GUI-I
15556
15557 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15558
15559         * lyxrc.C (read): Update converters data-structures.
15560
15561 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15562
15563         * LaTeX.h (operator!=): add operator != for Aux_Info
15564
15565 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15566
15567         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15568
15569         * LaTeXLog.C: deleted, useful code moved to Buffer
15570
15571         * buffer.h:
15572         * buffer.C: new function getLatexLogName()
15573
15574         * lyx_gui_misc.C:
15575         * lyx_gui.C:
15576         * lyxvc.C:
15577         * lyxvc.h:
15578         * lyxfunc.C: use frontends for LaTeX and VC logs
15579
15580 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15581
15582         * LaTeX.h: yet another std:: that Allan forgot.
15583
15584         * Variables.C (set): renamed from isset(), because this clashes
15585         with some HP-UX macros (grr).
15586
15587 2001-02-06  Allan Rae  <rae@lyx.org>
15588
15589         * LaTeX.h: Another bug fix.  Missing std:: this time.
15590
15591 2001-02-04  Allan Rae  <rae@lyx.org>
15592
15593         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15594         floats problem. I've left it commented out because it's not quite
15595         correct.  It should also test that the current object is a table or
15596         figure inset.  But I haven't gotten around to figuring out how to do
15597         that.  I *think* it'll be something like: "table" == inset.type()
15598
15599         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15600         bool.
15601
15602 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15603
15604         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15605         all the citation/databases/styles in the auxilary file.
15606         (run): Rerun latex if there was a babel language error.
15607
15608 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15609
15610         * text.C (Backspace): Preserve the font when changing newline char
15611         with a space.
15612         (BreakParagraph): If the cursor is before a space, delete the space.
15613
15614         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15615
15616 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15617
15618         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15619         new argument (code).
15620         (ChangeCitationsIfUnique): New method.
15621
15622         * paragraph.C (GetPositionOfInset): Handle bibkey.
15623
15624 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15625
15626         * BufferView_pimpl.h: change type of Position::par_pos to
15627         LyXParagraph::size_type.
15628
15629 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15630
15631         * BufferView_pimpl.C (savePosition, restorePosition): Write
15632         messages to minibuffer.
15633
15634 2001-01-28  José Matos  <jamatos@fep.up.pt>
15635
15636         * buffer.C (makeDocBookFile): adds support for document language.
15637         A silly restriction on the name of LatexCommand types where removed.
15638         Added support for CDATA sections, allows to chars unescaped, used
15639         among others in code, to avoid escape < and >.
15640
15641 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15642
15643         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15644         saved positions instrad of a stack. Furthermore, a position is
15645         stored using paragraph id/paragraph position.
15646
15647         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15648         Remove LFUN_REF_BACK.
15649
15650 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15651
15652         * converter.C (dvipdfm_options): New method.
15653
15654 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15655
15656         * vspace.C (isValidLength): Fix for empty input string.
15657
15658 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15659
15660         * LyXAction.C (init): change description of LFUN_FIGURE to
15661         "Insert Graphics"
15662
15663 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15664
15665         * LaTeX.C: add using directive
15666
15667 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15668
15669         * MenuBackend.C (expand): Fix the sorting of the formats.
15670
15671 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15672
15673         * lyx_main.C: tiny error message fix
15674
15675 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15676
15677         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15678         calling fl_initialize(). This fixes the problem with ',' as
15679         decimal separator in text files.
15680
15681 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15682
15683         * trans.C (process): Fix the keymap bug.
15684
15685 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15686
15687         * LaTeX.C (scanAuxFiles): New method. Provides support for
15688         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15689         (scanLogFile) Scan for "run BibTeX" messages.
15690
15691         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15692         OT1 font encoding. Also, load the aecompl package if the ae
15693         package is loaded.
15694
15695         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15696
15697 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15698
15699         * texrow.C (increasePos): turn two error messages into debug
15700         messages.
15701
15702 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15703
15704         * LaTeX.C (scanAux): Handle the \@input macro.
15705         (runBibTeX): Use scanAux().
15706
15707         * language.C (latex_options_): New field.
15708
15709         * LaTeXFeatures.C (getMacros): Add language macros.
15710
15711         * buffer.C (makeLaTeXFile): Small fix.
15712
15713 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15714
15715         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15716
15717         * text2.C: add a using directive.
15718
15719 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15720
15721         * BufferView2.C:
15722         * lyx_gui_misc.h:
15723         * lyxfr1.C:
15724         * lyxfunc.C: kill LyXBell.
15725
15726 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15727
15728         * text.C (IsBoundary): Remove the error message
15729
15730         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15731
15732         * lyxrc.C (setDefaults): Correct initialization value for
15733         font_norm_type.
15734
15735 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15736
15737         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15738         gotoError().
15739
15740         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15741         and GotoNextNote().
15742
15743         * src/LyXAction.C: Added reference-next.
15744
15745         * text.C (InsertChar): Use contains instead of strchr.
15746
15747         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15748
15749 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15750
15751         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15752         alignment commands (when needed).
15753
15754         * text.C (InsertChar): Add ':' to number separator chars.