]> git.lyx.org Git - features.git/blob - src/ChangeLog
58bc2b7106e166a0c0dc966af06a274301d245c8
[features.git] / src / ChangeLog
1 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
2
3         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
4         to bool. 
5
6         * converter.C (showMessage): inherit from unary_function, make
7         operator() const.
8
9         * buffer.C (writeFile): initialize retval
10
11         * InsetList.h: rename private variable list to list_
12         * InsetList.[Ch]: adjust accordingly.
13
14 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
15
16         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
17         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
18         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
19         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
20         * ParagraphParameters.C, LaTeXFeatures.C: replace
21         "support/std_sstream.h" with <sstream>
22
23 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
24
25         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
26         * lyxsocket.C (LyXServerSocket): ditto
27         (serverCallback): ditto
28
29 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
30
31         * LaTeXFeatures.C: check release date when loading jurabib.
32
33 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
34
35         * lyxserver.C (startPipe): call register_socket_callback
36         (endPipe): call unregister_socket_callback
37
38 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
39
40         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
41         (LyXServerSocket): register the callback
42         (LyXServerSocket): unregister the callback
43         (fd): delete function
44         (serverCallback): improve error checking and setup the callbacks.
45         (dataCallback): change arg to fd.
46         (writeln): new func (copied fro the client socket) used for server
47         write to client.
48         (LyXDataSocket): simplify
49         (~LyXDataSocket): close ann unregiser callback
50         (server): delete function
51         (fd): delete function
52         (readln): small changes, improve some std::string usage
53         (writeln): constify a bit
54
55 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
56
57         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
58         Qt frontend
59
60 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
61
62         * BufferView_pimpl.C (setBuffer): set the layout combox value only
63         after it has been populated
64
65 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
66
67         * text2.C (insertInset): move cursor when inserting inset.
68
69 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
70
71         * kbmap.C (findbindings): a couple of new methods. returns a
72         container of kb_sequence objects. The real work is done by the
73         private recursive version
74         (printbindings): uses findbindings to print out a bracketed list
75         of bindings (renamed from findbinding).
76
77         * MenuBackend.C (binding): use kb_keymap::findbindings
78
79         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
80
81 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
82
83         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
84
85 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
86
87         * paragraph.C (isWord): return true on insets that report
88         isLetter().
89
90         * text.C (getWord): use Paragraph::isWord to decide what is in a
91         word and what is not; fix bug 1609.
92
93 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
94
95         * tex-strings.C: add "none" to string_paperpackages[], fixes
96         off-by-one-error in the paperpackage selection.
97
98         * lyxlex.[Ch]:
99         * tex-strings.[Ch]: char const * string[n]
100         -> char const * const string[]
101
102 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
103
104         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
105         command, return early.
106
107 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
108
109         * debug.h: add DEBUG to enum and fix size of ANY.
110
111         * debug.C: add support for Debug::DEBUG
112         (showTags): cast errorTags.level to unsigned int
113
114         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
115         (redoCurrentBuffer): ditto
116         (updateScrollbar): ditto
117         * cursor.C (dispatch): ditto
118         * text2.C (setLayout): ditto
119         (setFont): ditto
120         (updateCounters): ditto
121         (editXY): ditto
122         (deleteEmptyParagraphMechanism): ditto
123
124 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
125
126         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
127         annotations to cleanup the Makefile slightly.
128
129 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
130
131         * lyxrc.C: do not set user_email to a default value but use empty
132         instead. The entry used to be translated, which does not work
133         since at the point where lyxrc is constructed there is no
134         translation service available
135
136         * messages.C (getLocaleDir): remove and use directly
137         lyx_localedir() instead
138
139 2004-06-02  Angus Leeming  <leeming@lyx.org>
140
141         Fix crash caused by dereferencing null pointer 'exportdata' in
142         OutputParams by creating a new ExportData variable on the heap,
143         storing it in a boost::shared_ptr.
144         The crash was triggered when generating an Instant Preview
145         of an external inset.
146
147         * Makefile.am: add outputparams.C
148
149         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
150         (c-tor): allocate memory to it.
151
152         * exporter.C (c-tor): associated changes.
153
154 2004-06-01  Angus Leeming  <leeming@lyx.org>
155
156         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
157         contains data before calling isInset(0). (Bug 1513.)
158
159 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
160
161         * exporter.C (checkOverwrite): new method
162         * exporter.C (copyFile): new method
163         * exporter.C (Export): copy referenced files to the document dir
164         * exporter.[Ch]: new class ExportedFile
165         * exporter.[Ch]: new class ExportData. Contains currently the
166         names of referenced external files
167         * outputparams.h: add exportdata member.
168
169 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
170
171         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
172         version.C-tmp
173
174 2004-05-19  Angus Leeming  <leeming@lyx.org>
175
176         * LaTeXFeatures.C:
177         * ToolbarBackend.C:
178         * bufferparams.C:
179         * lyxfunc.C: small changes due to the introduction of namespace
180         lyx::frontend and the moving of namespace biblio to lyx::biblio.
181
182 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
183
184         * text3.C (dispatch): supress update when only moving the cursor
185         * cursor.C (selHandle): remove commented code
186
187 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
188
189         * paragraph.C (startTeXParParams): correct column count
190         * CutAndPaste.C (pasteSelection): remove const_cast
191         * output_docbook.C (docbookParagraphs): remove const_cast
192         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
193         const_cast and return ParagraphList::const_iterator
194         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
195         * output_plaintext.C (writeFileAscii): remove const_cast
196         * paragraph.[Ch] (simpleTeXOnePar): make const
197         * paragraph_funcs.C (outerPar): use const iterators
198         * paragraph_pimpl.C (validate): use const iterators
199         * text.C (setHeightOfRow): use const iterators
200
201 2004-05-17  Angus Leeming  <leeming@lyx.org>
202
203         * lfuns.h:
204         * LyXAction.C (init): new LFUN_INSET_REFRESH.
205
206         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
207         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
208         if the citation engine has changed.
209
210 2004-05-14  José Matos  <jamatos@lyx.org>
211
212         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
213         if the textclass does not provide it. Have it different for sgml and
214         xml.
215         support the language of document.
216         * output_docbook.C (docbookParagraphs):
217         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
218         first anchor as the id of the paragraph, remove special case code.
219         * sgml.C (escapeChar): escape only < & >.
220
221 2004-05-14  Angus Leeming  <leeming@lyx.org>
222
223         * bufferparams.h: move biblio::CiteEngine enum here to minimize
224         dependencies on src/frontends/controllers/biblio.h. Define a
225         CiteEngine_enum wrapper class to enable the enum to be forward
226         declared.
227
228 2004-05-12  Angus Leeming  <leeming@lyx.org>
229
230         * buffer.C: up LYX_FORMAT to 234.
231         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
232         use_numerical_citations with a single biblio::CiteEngine cite_engine
233         variable.
234         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
235
236 2004-05-13  José Matos  <jamatos@lyx.org>
237
238         * converter.h:
239         * converter.C (Converter, readFlags): add xml member.
240         * outputparams.h: add XML flavor.
241         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
242
243 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
244
245         * lyxfunc.C (dispatch):
246         (getStatus): fix handling of LFUN_SEQUENCE
247
248 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
249
250         * debug.C (showLevel): do not forget the end-of-line marker
251
252 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
253
254         * kbmap.C (read): do not stop parsing a bind file when an error
255         occurs (bug 1575)
256
257 2004-04-29  Angus Leeming  <leeming@lyx.org>
258
259         * cursor.C:
260         * factory.C:
261         * pariterator.C:
262         * text2.C: wrap a bunch of #warning statements
263         inside #ifdef WITH_WARNINGS blocks.
264
265 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
266
267         * buffer.C: increment format to 233.
268
269 2004-04-28  Angus Leeming  <leeming@lyx.org>
270
271         * BufferView_pimpl.C:
272         * lyxfunc.C:
273         * text3.C:
274         s/updateToolbar()/updateToolbars()/
275         s/Toolbar.h/Toolbars.h/
276
277 2004-04-28  Angus Leeming  <leeming@lyx.org>
278
279         * BufferView.[Ch] (c-tor):
280         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
281         No longer passes these data to the WorkArea generator.
282
283 2004-04-28  Angus Leeming  <leeming@lyx.org>
284
285         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
286
287 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
288
289         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
290
291 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
292
293         * output_latex.C (TeXEnvironment): make sure that there is a line
294         break before \end{foo} for the last paragraph of a document
295         (TeXOnePar): if the paragraph is at the end of the document (or
296         inset) and the language has to be reset, then make sure that the
297         line break is _before_ the language command, not after (fixes bug
298         1225); also make sure that the language reset command is the first
299         thing after the paragraph (to ensure proper nesting of
300         environments and thus fix bug 1404)
301
302 2004-04-21  John Levon  <levon@movementarian.org>
303
304         * ToolbarBackend.h:
305         * ToolbarBackend.C: make "name" be a programmatic name
306         and a gui_name field.
307
308         * lyxfunc.C: display the minibuffer on M-x
309
310 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
311
312         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
313         (bug 1526)
314
315 2004-04-19  Angus Leeming  <leeming@lyx.org>
316
317         * BufferView_pimpl.C (setBuffer): changed preview interface.
318
319         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
320         possible values.
321
322 2004-04-19  John Levon  <levon@movementarian.org>
323
324         * BufferView_pimpl.C:
325         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
326
327 2004-04-05  Angus Leeming  <leeming@lyx.org>
328
329         * text.C (redoParagraphs): add call to updateCounters(), thereby
330         fixing the missing "Figure #:" label from the caption of a
331         figure float.
332
333 2004-04-13  Angus Leeming  <leeming@lyx.org>
334
335         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
336         cursor is clicked out of an inset.
337
338 2004-04-13  Angus Leeming  <leeming@lyx.org>
339
340         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
341         than an InsetOld one.
342
343 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
344
345         * format.[Ch]: add editor to Format
346         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
347         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
348
349 2004-04-08  André Pönitz  <poenitz@gmx.net>
350
351         * metricsinfo.h: remove PainterInfo::width member
352
353 2004-04-08  Angus Leeming  <leeming@lyx.org>
354
355         * lyx_sty.C (boldsymbol_def): modify so that it outputs
356         "\providecommand" rather than "\newcommand", thereby preventing
357         clashes with packages that define "\boldsymbol" themselves.
358         Eg, beamer.
359
360 2004-04-08  Angus Leeming  <leeming@lyx.org>
361
362         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
363         thereby squashing an unnecessary warning.
364
365 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
366
367         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
368         setBuffer()
369
370 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
371
372         * BufferView.C (setCursor): call redoParagraph (some insets could
373         have been opened)
374         (putSelectionAt): remove the 'double update' trick
375
376         * BufferView_pimpl.C (fitCursor): call refreshPar
377         (workAreaDispatch): remove an uneeded update call
378         (dispatch): remove some manual update calls
379
380         * cursor.[Ch]: remove cached_y_, updatePos
381         (selHandle): set noUpdate when appropriate
382
383         * lyxfunc.C (dispatch): track if we need an update
384
385         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
386
387         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
388         (paintSelection): cheap optimization, do not call cursorX when not
389         needed
390         (paintPars): change signature
391         (refreshPar): add
392         (paintText): adjust
393         (paintTextInset): adjust
394
395         * text.C: adjust
396
397 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
398
399         * lengthcommon.C: compilation fix: remove explicit array size from
400         unit_name[] and friends
401
402 2004-04-05  Angus Leeming  <leeming@lyx.org>
403
404         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
405
406         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
407         present only for the preferences dialog.
408         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
409
410 2004-04-05  Angus Leeming  <leeming@lyx.org>
411
412         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
413         to enable the frontends to export changes to lyxrc correctly.
414
415         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
416
417 2004-04-07  André Pönitz  <poenitz@gmx.net>
418
419         * cursor.[Ch] (selClear, adjust): remove math
420
421         * cursor_slice.C: more agressive assert
422
423         * lyxfunc.C:
424         * BufferView_pimpl.C: rework mouse event dispatch
425
426         * dociterator.C:
427         * paragraph.C:
428         * text2.C:
429         * text3.C: adjust
430
431 2004-04-05  André Pönitz  <poenitz@gmx.net>
432
433         * cursor.[Ch] (valign, halign...): remove unneeded functions
434
435 2004-04-05  Angus Leeming  <leeming@lyx.org>
436
437         * lyxlength.[Ch] (unit_name et al.): const-correct.
438
439 2004-04-05  Angus Leeming  <leeming@lyx.org>
440
441         * BufferView_pimpl.C:
442         * buffer.C:
443         * counters.C:
444         * cursor.C:
445         * lyxfunc.C
446         * paragraph.C:
447         * pariterator.C:
448         * text.C:
449         * text2.C:
450         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
451
452 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
453
454         * text3.C (getStatus): add LFUN_BEGINNINGBUF
455
456 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
457
458         * lyxfind.C: add a couple of inTexted() tests + other small fixes
459         * BufferView_pimpl.[Ch] (getStatus)
460         * BufferView.[Ch] (getStatus): add
461         * lyxfunc.C (getStatus): move lfuns handled in
462         BufferView::dispatch to te function above
463         * Cursor.C (setSelection): set selection() = true
464
465 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
466
467         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
468
469 2004-03-31  Angus Leeming  <leeming@lyx.org>
470
471         * lyxfunc.C (dispatch): Fall through to the generic
472         Dialogs::show("preamble").
473
474 2004-03-31  Angus Leeming  <leeming@lyx.org>
475
476         * lyxfunc.C (dispatch): Fall through to the generic
477         Dialogs::show("spellchecker").
478
479 2004-03-31  Angus Leeming  <leeming@lyx.org>
480
481         * lyxfunc.C (getStatus, dispatch): changed invocation of the
482         preferences dialog.
483
484 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
485
486         * BufferView.C
487         * cursor.[Ch]
488         * dociterator.[Ch]:
489         * insetiterator.[Ch]:
490         * lyxfind.C:
491         * lyxfunc.C:
492         * pariterator.[Ch]:
493         * text2.C:
494         * undo.[Ch]: s/DocumentIterator/DocIterator/g
495
496 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
497
498         * BufferView.C (setCursor, putSelectionAt): call edit to open the
499         insets where we are putting the cursor.
500
501 2004-03-31  Angus Leeming  <leeming@lyx.org>
502
503         * lfuns.h:
504         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
505
506         * lyxrc.[Ch] (read, write): overloaded member functions taking
507         a std::[io]stream arguments.
508
509         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
510
511 2004-03-31  Angus Leeming  <leeming@lyx.org>
512
513         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
514         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
515
516         * lyxtextclass.C (load): if the text class couldn't be loaded, then
517         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
518
519 2004-03-31  Angus Leeming  <leeming@lyx.org>
520
521         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
522         the LFUN_ALL_INSETS_TOGGLE code.
523
524 2004-03-30  Angus Leeming  <leeming@lyx.org>
525
526         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
527         has died. Fall through to the generic Dialogs::show("document").
528
529 2004-03-30  Angus Leeming  <leeming@lyx.org>
530
531         * lfuns.h:
532         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
533         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
534
535         * lyxfunc.C (getStatus, dispatch): define the actions for these
536         lfuns. Little more than a cut and pste job from ControlDocument.C
537
538         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
539
540 2004-03-30  Angus Leeming  <leeming@lyx.org>
541
542         * lfuns.h:
543         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
544         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
545
546         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
547         open/closed state of ollapsable insets. Usage:
548
549         all-inset-toggle <state> <name>, where
550         <state> == "open" || "closed" || "toggle" and
551         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
552
553         * lyxtext.h, text2.C (toggleInset): removed.
554
555         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
556         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
557         now passes LFUN_INSET_TOGGLE to the found inset.
558
559         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
560         is now invoked as "all-insets-toggle toggle branch".
561
562 2004-03-30  Angus Leeming  <leeming@lyx.org>
563
564         * dociterator.C:
565         * insetiterator.C:
566         * pariterator.[Ch]: added/corrected header blurb.
567
568 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
569
570         * dociterator.[Ch]: add an inset_ member
571         (backwardPos): implemented
572         (backwardPos, forwardPos): use inset_ when the stack is empty.
573         (doc_iterator_begin, doc_iterator_end): implemented
574         * pariterator.[Ch]: adjust, add begin, end
575         * insetiterator.[Ch]: adjust, add begin, end
576         * cursor.C:
577         * document.C:
578         * BufferView.C:
579         * BufferView_pimpl.C:
580         * CutAndPaste.C: adjust
581
582 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
583
584         * buffer.C: increment file format to 232.
585         * LaTeXFeatures.C: add bibtopic package.
586         * bufferparams.[Ch]: param \use_bibtopic.
587
588         * lyxrc.[Ch]: add lyxrc bibtex_command
589         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
590
591         * buffer.C: increment file format to 231.
592
593 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
594
595         * dociterator.C: implement forwardPar
596         * iterators.[Ch]: remove, replaced by
597         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
598         * BufferView.C:
599         * BufferView_pimpl.C:
600         * CutAndPaste.C:
601         * buffer.C:
602         * bufferview_funcs.C:
603         * cursor.C:
604         * lyxfind.C
605         * lyxfunc.C
606         * paragraph_funcs.C
607         * toc.C:
608         * Makefile.am: adjust
609
610 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
611
612         * CutAndPaste.C (pasteSelection): fix 2 crashes
613         (eraseSelection): fix a crash
614         * paragraph_funcs.C: remove a warning
615
616 2004-03-28  Angus Leeming  <leeming@lyx.org>
617
618         * lfuns.h:
619         * LyXAction.C (init): new LFUN_PRINT.
620
621         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
622
623 2004-03-27  Angus Leeming  <leeming@lyx.org>
624
625         * lfuns.h:
626         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
627
628         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
629
630 2004-03-27  Angus Leeming  <leeming@lyx.org>
631
632         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
633         insetlist always contains non-null pointers to insets.
634
635 2004-03-26  Angus Leeming  <leeming@lyx.org>
636
637         * src/BufferView_pimpl.C:
638         * src/CutAndPaste.C:
639         * src/buffer.C:
640         * src/iterators.C:
641         * src/output_plaintext.C:
642         * src/outputparams.h:
643         * src/paragraph_funcs.C:
644         * src/rowpainter.C:
645         * src/text.C:
646         * src/text2.C:
647         * src/frontends/controllers/ControlErrorList.C:
648         * src/frontends/gtk/FileDialogPrivate.C:
649         * src/frontends/gtk/GPainter.C:
650         * src/frontends/gtk/GToolbar.C:
651         * src/frontends/qt2/QRef.C:
652         * src/mathed/math_scriptinset.C: squash compiler warnings.
653
654 2004-03-26  Angus Leeming  <leeming@lyx.org>
655
656         * ispell.C (LaunchIspell::start):
657         * lyx_cb.C (AutoSaveBuffer::start):
658         invoke run(DontWait) rather than runNonBlocking().
659
660 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
661
662         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
663
664 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
665
666         * kbsequence.C (print): adjust
667
668         * kbmap.C (printKeySym): rename and change signature
669         (printKey): use LyXKeySym::print()
670
671 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
672
673         * undo.C: add using std::advance to compile for stlport
674
675 2004-03-24  Angus Leeming  <leeming@lyx.org>
676
677         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
678         it leads to a crash when no buffer is present.
679
680 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
681             Martin Vermeer  <martin.vermeer@hut.fi>
682
683         * lyxfunc.C (dispatch):
684         * bufferparams.C (readToken): use the new LColor::setColor
685
686         * LColor.[Ch] (setColor): new version that takes two strings as
687         argument and creates a new color entry if necessary
688
689 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
690
691         * buffer.C (makeLaTeXFile): if the main latex file that is
692         processed is usually a subdocument of some master, then pretend
693         for a while that it is actually the master
694
695 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
696
697         * buffer.C (getLabelList):
698         (getBibkeyList): use getMasterBuffer()
699         (getMasterBuffer): new method. Returns the main document in the
700         case where one is using included documents.
701
702 2004-03-25  André Pönitz  <poenitz@gmx.net>
703
704         * Makefile.am:
705         * iterators.[Ch]:
706         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
707
708         * ParagraphList_fwd.h: change ParagraphList to a std::vector
709
710         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
711         text*.C over here. Rename namespace CutAndPaste to lyx::cap
712
713         * ParameterStruct.h: merge with ParagraphParameters
714
715         * lyxtext.h: remove LyXText::parOffset() and getPar()
716
717         * text3.C: Remove all 'manual' update calls. We do now one per user
718         interaction which is completely sufficient.
719
720         * Bidi.C:
721         * BufferView.[Ch]:
722         * BufferView_pimpl.C:
723         * FontIterator.[Ch]:
724         * MenuBackend.C:
725         * ParagraphParameters.[Ch]:
726         * buffer.C:
727         * buffer.h:
728         * bufferlist.C:
729         * cursor.[Ch]:
730         * cursor_slice.[Ch]:
731         * dociterator.[Ch]:
732         * errorlist.[Ch]:
733         * factory.C:
734         * lfuns.h:
735         * lyxfind.C:
736         * lyxfunc.C:
737         * output_docbook.[Ch]:
738         * output_latex.[Ch]:
739         * output_linuxdoc.[Ch]:
740         * output_plaintext.[Ch]:
741         * paragraph.[Ch]:
742         * paragraph_funcs.[Ch]:
743         * paragraph_pimpl.[Ch]:
744         * rowpainter.C:
745         * tabular.[Ch]:
746         * text.C:
747         * text2.C:
748         * toc.C:
749         * undo.[Ch]: adjust
750
751         * frontends/controllers/ControlDocument.C:
752         * frontends/controllers/ControlErrorList.C:
753         * frontends/controllers/ControlSpellchecker.C:
754         * insets/inset.C:
755         * insets/inset.h:
756         * insets/insetbase.h:
757         * insets/insetbibitem.C:
758         * insets/insetbox.C:
759         * insets/insetbranch.C:
760         * insets/insetcaption.C:
761         * insets/insetcharstyle.C:
762         * insets/insetcharstyle.h:
763         * insets/insetcollapsable.C:
764         * insets/insetcollapsable.h:
765         * insets/insetert.C:
766         * insets/insetfloat.C:
767         * insets/insetfoot.C:
768         * insets/insetmarginal.C:
769         * insets/insetnote.C:
770         * insets/insetoptarg.C:
771         * insets/insettabular.C:
772         * insets/insettext.C:
773         * insets/insettext.h:
774         * insets/insetwrap.C:
775         * mathed/math_mboxinset.C:
776         * mathed/math_nestinset.C:
777         * mathed/math_scriptinset.C:
778         * mathed/math_scriptinset.h:
779         * support/types.h:
780
781 2004-03-24  Angus Leeming  <leeming@lyx.org>
782
783         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
784         deal with any child processes that have finished but are waiting to
785         communicate this fact to the rest of LyX.
786
787 2004-03-24  Angus Leeming  <leeming@lyx.org>
788
789         64-bit compile fixes.
790
791         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
792         (c-tor): pass lyx::pos_types rather than ints.
793
794         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
795         lyx::pos_type.
796
797         * text.C (Delete): compile fix.
798         (getPar): ensure that function declaration is the same as that in
799         the header file.
800
801 2004-03-23  Angus Leeming  <leeming@lyx.org>
802
803         * ispell.C (LaunchIspell):
804         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
805         a boost::shred_ptr rather than a std::auto_ptr.
806
807 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
808
809         * lyxfunc.C (getStatus): handle read-only buffers correctly;
810         handle LFUN_FILE_INSERT_*
811
812         * lyxrc.C (setDefaults, getDescription, output, read):
813         * lyxrc.h: remove ps_command
814
815 2004-03-22  Angus Leeming  <leeming@lyx.org>
816
817         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
818         Ensure that error_handler is processed once only and that all data
819         is saved before attempting to output any warning messages.
820
821         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
822
823 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
824
825         * tabular.C (TeXRow): crash fix (from Kayvan and André)
826
827 2004-03-19  André Pönitz  <poenitz@gmx.net>
828
829         * cursor.[Ch] (reset): take main text inset as argument
830
831         * BufferView: adjust
832         * BufferView_pimpl.C: adjust
833
834         * paragraph.[Ch]: fix completely broken operator=()
835
836 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
837
838         * LColor.C (getFromLyXName): make sure that the color name is used
839         as lowercase.
840
841 2004-03-17  Angus Leeming  <leeming@lyx.org>
842
843         * lfuns.h:
844         * LyXAction.C (init): remove LFUN_FORKS_KILL.
845
846         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
847         dialog and to kill a forked process.
848
849 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
850
851         * text2.C (setCursorFromCoordinates): fix font problem
852
853 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
854
855         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
856         bogus "rebuild cursor" code
857
858 2004-03-11  André Pönitz  <poenitz@gmx.net>
859
860         * buffer.[Ch]: use InsetText instead of LyXText as container for
861         the main lyx text.
862
863         * dociterator.[Ch]: drop the BufferView * member which is not needed
864         anymore after the change to buffer.C
865
866         * paragraph_funcs.C:
867         * text.C:
868         * text2.C:
869         * BufferView.[Ch]:
870         * BufferView_pimpl.[Ch]:
871         * cursor.[Ch]:
872         * cursor_slice.[Ch]: adjust
873
874         * text3.C: fix bug in mathDispatch
875
876 2004-03-08  André Pönitz  <poenitz@gmx.net>
877
878         * undo.[Ch]: use 'StableDocumentIterator' as base for
879         the Undo struct.
880
881 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
882
883         * LaTeXFeatures.C:
884         * bufferparams.[Ch]: add jurabib support and param.
885
886         * LaTeX.C: add FIXME/comment.
887
888 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
889
890         * buffer.C: increment file format to 230.
891
892 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
893
894         * cursor.C (dispatch): avoid infinite loops
895
896 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
897
898         * rowpainter.C (paintSelection): fix x coordinates
899
900 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
901
902         * text.C (rowBreakPoint): fix breaking before displayed insets
903
904 2004-03-01  André Pönitz  <poenitz@gmx.net>
905
906         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
907
908         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
909
910         * Makefile.am:
911         * BufferView.C:
912         * BufferView_pimpl.C:
913         * buffer.C:
914         * lyxfind.C:
915         * lyxfunc.C:
916         * text.C:
917         * text2.C:
918         * text3.C: adjust
919
920 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
921
922         * lyxtext.h:
923         * text.C:
924         * text2.C:
925         * rowpainter.C:
926         * BufferView_pimpl.C: rename textwidth -> maxwidth,
927         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
928
929 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
930
931         * Bidi.[Ch] (computeTables): const correctness
932         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
933         fill_hfill, fill_label_hfill and x from Row
934         * lyxtext.h: prepareToPrint returns a RowMetrics
935         * rowPainter.C: adjust
936         * text.C (prepareToPrint): use width, not textWidth. adjust
937         (redoParagraphInternal, cursorX): adjust
938         * text2.C (getColumnNearX): adjust
939         (init): put a default value to the top LyXText::width
940
941 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
942
943         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
944
945 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
946
947         * lyxtext.h: add FontIterator class
948
949         * text.C (FontIterator, operator*, operator->, operator++): add
950         (rowBreakPoint, setRowWidth): adjust (fixing a
951         rebreaking bug)
952
953 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
954
955         * BufferView_pimpl.C (workAreaDispatch): allow also
956         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
957
958 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
959
960         * text.C (rowBreakPoint): fix a bug showing with very large insets
961
962 2004-02-25  André Pönitz  <poenitz@gmx.net>
963
964         * text3.C:
965         * cursor.[Ch]: move some mathed specific code to mathed
966
967 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
968
969         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
970         use_tempdir in preferences
971         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
972         tempfile creation
973         * lyx_main.C: ensure that tempdir is valid
974         * lyxlex.h: correct typo
975         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
976         * paragraph.[Ch] (isMultiLingual): make const
977         * cursor.[Ch] (openable): make const
978
979 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
980
981         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
982
983 2004-02-20  André Pönitz  <poenitz@gmx.net>
984
985         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
986
987         * cursor.[Ch]: prepare for localized getStatus()
988
989         * lyxtext.h:
990         * tabular.C:
991         * text.C:
992         * text2.C:
993         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
994
995 2004-02-20  André Pönitz  <poenitz@gmx.net>
996
997         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
998
999 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1000
1001         * text2.C (setCursorFromCoordinates): switch to absolute coords
1002         (cursorUp): adjust
1003         (cursorDown): adjust
1004         * text3.C (dispatch): adjust
1005
1006 2004-02-16  André Pönitz  <poenitz@gmx.net>
1007
1008         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1009           insets/ChangeLog)
1010
1011         * cursor_slice.[Ch]: remove unneeded acessor function
1012
1013         * lyxtext.h: rename rtl() to isRTL()
1014
1015         * rowpainter.C:
1016         * tabular.C:
1017         * text.C:
1018         * text2.C:
1019         * text3.C: adjust
1020
1021 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1022
1023         * rowpainter.C (paintSelection): coord fix
1024
1025 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1026
1027         * Spacing.C: compile fix
1028
1029 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1030
1031         * cursor.C (dispatch): restore current_ before returning
1032
1033 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1034
1035         * text2.C (cursorUp, cursorDown): fix coords
1036         (moveUp): fix crash
1037
1038 2004-02-12  André Pönitz  <poenitz@gmx.net>
1039
1040         * lyxtext.h:
1041         * text.C:
1042         * text2.C:
1043         * text3.C: add LCursor & parameter to most cursor movement functions
1044           remove usage of LyXText::cursorRow() and cursorPar()
1045
1046         * cursor.[Ch]: add textRow() needed members
1047
1048         * BufferView.C:
1049         * BufferView_pimpl.C:
1050         * paragraph.[Ch]:
1051         * BufferView.C:
1052         * BufferView_pimpl.C: adjust
1053
1054 2004-02-11  André Pönitz  <poenitz@gmx.net>
1055
1056         * lyxfunc.C:
1057         * BufferView.[Ch]:
1058         * BufferView_pimpl.C: shift undo/redo handling
1059
1060         * cursor.[Ch]: fix mathed crash
1061
1062         * lyxfind.C:
1063         * lyxtext.h: move selectionAsText to LCursor
1064
1065         * output_latex.C:
1066         * paragraph.C:
1067         * text.C:
1068         * text2.C:
1069         * text3.C: adjust
1070
1071         * rowpainter.C: fix excessive drawing
1072
1073 2004-02-06  André Pönitz  <poenitz@gmx.net>
1074
1075         * BufferView.[Ch]:
1076         * BufferView_pimpl.[Ch]:
1077         * text3.C: move some text specific LFUN handling
1078
1079 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1080
1081         * text3.C (checkInsetHit): adjust coords
1082         * text2.C (getColumnNearX): adjust coords
1083         (edit): adjust coords
1084         * text.C (getRowNearY): add two asserts
1085
1086 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1087
1088         * converter.C:
1089         * format.C: add using std::distance to compile on gcc 2.95/stlport
1090
1091 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1092
1093         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1094
1095 2004-02-04  André Pönitz  <poenitz@gmx.net>
1096
1097         * BufferView.[Ch] (insertInset):
1098         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1099
1100         * text2.C:
1101         * text3.C: adjust
1102
1103 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1104
1105         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1106         on the default clause of the switch
1107         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1108         wasn't catched by LCursor::dispatch
1109
1110 2004-02-03  André Pönitz  <poenitz@gmx.net>
1111
1112         * BufferView.C:
1113         * cursor.[Ch]: some additional asserts
1114
1115         * undo.[Ch]: remove LyXText dependency in interface
1116
1117         * lyxfunc.C: adjust
1118
1119         * lyxtext.h (firstPar, lastPar): remove dead functions
1120
1121         * text.C:
1122         * text2.C:
1123         * text3.C:
1124         * paragraph.[Ch]: adjust
1125
1126 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1127
1128         * lyxfind.C (find): fix argument order in call to ::find
1129
1130 2004-02-02  André Pönitz  <poenitz@gmx.net>
1131
1132         * cursor.[Ch]: remove direct access to anchor
1133
1134         * text.C: remove findText() hack
1135
1136 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1137
1138         * iterators.[Ch] (lockPath): remove in favour of...
1139         * BufferView.[Ch] (setCursor): this addition
1140         * BufferView.C (putSelectionAt): adjust
1141         * undo.C (performUndoOrRedo): adjust
1142         * lyxfunc.C (dispatch): adjust
1143
1144 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1145
1146         * iterators.C (lockPath): add a missing slice
1147         * undo.C (performUndoOrRedo): remove redundant positioning code
1148
1149 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1150
1151         * vc-backend.C (scanMaster): ";" -> ';'
1152
1153 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1154
1155         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1156         std::binary_function
1157
1158         * lyxtextclass.C (compare_name): rename to...
1159         (LayoutNamesEqual): ...this
1160
1161         * lyxlex_pimpl.C (compare_tags): inherit from
1162         std::binary_function, put back into anon namespace
1163
1164         * lyxfind.C (MatchString): inherig from std::binary_function
1165         (findChange): use empty() istead of !size()
1166
1167         * format.C (FormatNamesEqual): new functor
1168         (getFormat): use it
1169         (getNumber): use it
1170         (add): use it
1171         (erase): use it
1172         (setViewer): use it
1173
1174         * converter.C (compare_Converter): rename to...
1175         (ConverterEqual): ...this, and fixup a bit.
1176         (getConverter): use it, and make function const
1177         (getNumber): use it, and make function const
1178         (add): use it
1179         (erase): use it:
1180
1181         * bufferlist.C: add using boost::bind
1182
1183         * MenuBackend.C (MenuNamesEqual): new functor
1184         (hasMenu): use it, and make function const
1185         (hasSubmenu): use nested bind to get rid of compare_memfun.
1186
1187 2004-01-30  André Pönitz  <poenitz@gmx.net>
1188
1189         * BufferView_pimpl.C:
1190         * cursor.C:
1191         * cursor.h:
1192         * cursor_slice.[Ch]:
1193         * lyxfunc.C:
1194         * lyxtext.h:
1195         * paragraph_funcs.C:
1196         * paragraph_funcs.h:
1197         * rowpainter.C:
1198         * text.C:
1199         * text2.C:
1200         * text3.C: move some of the edit(x,y) handling to the insets
1201         some coordinate changes.
1202
1203 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1204
1205         * text.C: add using statements for std::advance and std::distance
1206
1207         * paragraph.C: add using statement for std::distance
1208
1209         * lyxfind.C: add using statement for std::advance
1210
1211         * cursor.C (region): remove std:: from swap
1212         (openable): use nucleus in stead of operator->
1213
1214         * BufferView.C: add using statements for std::distance and std::swap
1215
1216 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1217
1218         * iterators.C: Remove the pimple, move the needed structures to
1219         the header file. Create accessor for the positions stack.
1220         (asPosIterator): remove function
1221
1222         * PosIterator.C (PosIterator): move constructors to top of file
1223         (PosIterator): reimplement the constructor taking a ParIterator in
1224         terms of setFrom.
1225         (setFrom): new function
1226         (operator!=): inline it
1227
1228 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1229
1230         * lyxfind.C (replaceAll): use std::advance
1231
1232         * iterators.h: inherit from std::iterator.
1233
1234         * PosIterator.C (advance, distance): remove
1235         * PosIterator.h: interit from std::iterator.
1236
1237 2004-01-26  André Pönitz  <poenitz@gmx.net>
1238
1239         * BufferView.[Ch]:
1240         * BufferView_pimpl.[Ch]:
1241         * InsetList.[Ch]:
1242         * PosIterator.[Ch]:
1243         * buffer.h:
1244         * bufferview_funcs.C:
1245         * cursor.[Ch]:
1246         * cursor_slice.h:
1247         * factory.[Ch]:
1248         * iterators.[Ch]:
1249         * lyxfind.C:
1250         * lyxfunc.C:
1251         * lyxtext.h:
1252         * output_docbook.C:
1253         * output_latex.C:
1254         * output_linuxdoc.C:
1255         * output_plaintext.C:
1256         * paragraph.[Ch]:
1257         * paragraph_funcs.[Ch]:
1258         * paragraph_pimpl.[Ch]:
1259         * rowpainter.C:
1260         * tabular.C:
1261         * tabular.h:
1262         * text.C:
1263         * text2.C:
1264         * text3.C: more IU:  dumps most of the rest of the mathcursor
1265     implementation into cursor.[Ch]; "globalize" a bit of it.
1266
1267 2004-01-25  Angus Leeming  <leeming@lyx.org>
1268
1269         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1270
1271 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1272
1273         * LaTeXFeatures.h: add nice_ and nice() const
1274         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1275
1276 2004-01-20  André Pönitz  <poenitz@gmx.net>
1277
1278         * BufferView.[Ch]:
1279         * BufferView_pimpl.C:
1280         * PosIterator.C:
1281         * bufferview_funcs.C:
1282         * cursor.[Ch]:
1283         * cursor_slice.[Ch]:
1284         * factory.C:
1285         * iterators.C:
1286         * lyx_cb.C:
1287         * lyxfind.C:
1288         * lyxfunc.C:
1289         * lyxtext.h:
1290         * rowpainter.C:
1291         * text.C:
1292         * text2.C:
1293         * text3.C:
1294         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1295           LCursor and mathcursor parts to LCursor and InsetBase.
1296
1297 2004-01-15  André Pönitz  <poenitz@gmx.net>
1298
1299         * cursor_slice.[Ch]: add a few covienience functions
1300
1301         * funcrequest.[Ch]: remove BufferView * member
1302
1303         * BufferView_pimpl.C:
1304         * cursor.C:
1305         * factory.[Ch]:
1306         * lyxfind.[Ch]:
1307         * lyxfunc.C:
1308         * lyxtext.h:
1309         * text3.C:
1310         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1311
1312 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1313
1314         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1315         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1316
1317 2004-01-13  André Pönitz  <poenitz@gmx.net>
1318
1319         * textcursor.[Ch]:
1320         * lyxtext.h: hide cursor and selection anchor behind accessor function
1321
1322         * BufferView.C:
1323         * BufferView_pimpl.[Ch]:
1324         * PosIterator.C:
1325         * bufferview_funcs.C:
1326         * cursor.h:
1327         * lyxfind.C:
1328         * lyxfunc.C:
1329         * text.C:
1330         * text2.C:
1331         * text3.C:
1332         * undo.C: adjust
1333
1334         * cursor.h:
1335         * cursor_slice.[Ch]: some integer type changes for inset unification
1336
1337         * lyxcursor.[hC]: remove, it's CursorSlice now.
1338
1339         * Makefile.am:
1340         * BufferView_pimpl.[Ch]:
1341         * bufferview_funcs.C:
1342         * cursor_slice.C:
1343         * lyxtext.h:
1344         * text.C:
1345         * text2.C:
1346         * text3.C:
1347         * textcursor.[Ch]: adjust
1348
1349 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1350
1351         * text2.C (undoSpan): add and use
1352         * text.C (breakParagraph): use undoSpan (fix bug 578)
1353         * lyxtext.h: adjust
1354
1355 2004-01-08  Angus Leeming  <leeming@lyx.org>
1356
1357         * BufferView_pimpl.C (MenuInsertLyXFile):
1358         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1359         * lyxfunc.C (menuNew, open, doImport):
1360         FileFilterList change to the FileDialog open and save functions.
1361
1362 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1363
1364         * ShareContainer.h: make isEqual and isUnique adaptable
1365
1366         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1367
1368 2004-01-07  Angus Leeming  <leeming@lyx.org>
1369
1370         * LyXAction.C:
1371         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1372
1373         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1374
1375         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1376         functions replacing find, replace and replaceAll.
1377
1378         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1379         LFUN_WORDFIND(FORWARD|BACKWARD).
1380
1381 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1382
1383         * text.C (breakParagraph): remove an outdated #warning
1384
1385 2004-01-07  André Pönitz  <poenitz@gmx.net>
1386
1387         * lyxfind.C: somewhat clearer logic
1388
1389         * text.C: prevent crash in cursorX on unitialized row cache
1390
1391 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1392
1393         * lyxcursor.[Ch] (operator>): add
1394         * textcursor.C (selStart, selEnd): use std::min and std::max
1395
1396 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1397
1398         * Chktex.C: include boost/format.hpp
1399
1400 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1401
1402         * InsetList.C: replace functor MathcIt with adaptable functor
1403         InsetTablePosLess
1404         (insetIterator): modify accordingly
1405
1406         * BranchList.h: move the BranchNamesEqual functor here from...
1407         * BranchList.C: ... to here
1408
1409         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1410         SameName and match.
1411         (add): replace a finding loop with std::find_if.
1412
1413 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1414
1415         * output_docbook.C: moving LatexParam functionality into
1416         .layout files
1417
1418 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1419
1420         * buffer.C: increment format to 229.
1421
1422 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1423
1424         * LaTeXFeatures.C:
1425         * lyx_sty.[Ch]: remove minipageindent_def
1426
1427         * LyXAction.C:
1428         * factory.C:
1429         * lfuns.h:
1430         * lyxfunc.C:
1431         * text3.C: remove LFUN_INSET_MINIPAGE
1432
1433 2003-12-28  Angus Leeming  <leeming@lyx.org>
1434
1435         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1436
1437 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1438
1439         * text2.C (setParagraph): fix off-by-one crash
1440
1441 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1442
1443         * output_docbook.C: header stuff for AGU
1444
1445 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1446
1447         * text2.C (redoCursor): remove
1448         * text.C:
1449         * text3.C:
1450         * BufferView_pimpl.C: remove calls to redoCursor and
1451         setCursor(cursor.par(), cursor.pos()) all around
1452
1453 2003-12-15  Angus Leeming  <leeming@lyx.org>
1454
1455         * buffer.C: up the format to 228.
1456
1457 2003-12-15  André Pönitz  <poenitz@gmx.net>
1458
1459         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1460         slices
1461
1462         * Makefile.am:
1463
1464         * BufferView_pimpl.C:
1465         * cursor.[Ch]:
1466         * lyxcursor.[Ch]:
1467         * rowpainter.[Ch]:
1468         * lyxtext.h:
1469         * text.C:
1470         * text2.C:
1471         * text3.C: adjust
1472
1473 2003-12-15  Angus Leeming  <leeming@lyx.org>
1474
1475         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1476         than getFromGUIName to manipulate the color.
1477
1478 2003-12-14  Angus Leeming  <leeming@lyx.org>
1479
1480         * BranchList.[Ch]: minimize the API.
1481         (Branch::getBranch, getColor): now return a 'const &'.
1482         (Branch::setSelected) now returns a bool set to true if the
1483         selection status changes.
1484         (BranchList::clear, size, getColor, setColor, setSelected,
1485         allBranches, allSelected, separator): removed.
1486         (BranchList::find): new functions, returning the Branch with
1487         the given name.
1488         (BranchList::add, remove): return a bool indicating that
1489         the operation was successful.
1490
1491         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1492         new InsetBranch::isBranchSlected member function.
1493
1494         * LColor.[Ch]: mimimize the API.
1495         (fill): renamed as addColor and made private.
1496         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1497         versions of these functions taking a string arg have been removed.
1498
1499         * bufferparams.C (readToken):
1500         * lyxfunc.C (dispatch):
1501         * lyxrc.C (read): changes due to the altered BranchList and
1502         LColor APIs.
1503
1504         * factory.C (createInset, readInset): changes due to altered
1505         InsetBranch c-tor.
1506
1507 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1508
1509         * factory.C:
1510         * lyxfunc.C: remove insetminipage. "minipage-insert"
1511         now produces a frameless minipage box inset.
1512
1513 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1514
1515         * textcursor.[Ch] (selStart,selEnd): add new methods
1516         remove selection::start, end, use LyXCursor::operator<
1517         * lyxcursor.[Ch] (operator<): add
1518         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1519         * BufferView.[Ch] (unsetXSel): add
1520         * text2.C (clearSelection): use unsetXSel,adjust
1521         * text.C: adjust
1522         * text3.C: adjust
1523         * rowpainter.C: adjust
1524         * bufferview_funcs.C (put_selection_at): adjust
1525
1526 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1527
1528         * BufferView_pimpl.C: small coord. correction
1529
1530 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1531
1532         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1533         dragging over the splash screen.
1534
1535 2003-12-11  Angus Leeming  <leeming@lyx.org>
1536
1537         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1538         as it is now handled in LyXText::dispatch.
1539
1540         * text3.C (doInsertInset): remove a level of nesting.
1541
1542 2003-12-11  Angus Leeming  <leeming@lyx.org>
1543
1544         * factory.C (createInset): changes due to the changed interface to
1545         InsetCommandMailer::string2params.
1546
1547 2003-12-10  Angus Leeming  <leeming@lyx.org>
1548
1549         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1550         'dialog-show-new-inset <inset name>'
1551
1552 2003-12-10  Angus Leeming  <leeming@lyx.org>
1553
1554         * buffer.C: up the format to 227.
1555
1556         * factory.C: the box inset is now identified simply by 'Box'.
1557
1558 2003-12-10  Angus Leeming  <leeming@lyx.org>
1559
1560         * buffer.C: up the format to 226.
1561
1562         * factory.C: the note inset is now identified simply by 'Note'.
1563
1564 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1565
1566         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1567         when a pit is enough. Standarize a couple of loops.
1568
1569 2003-12-05  Angus Leeming  <leeming@lyx.org>
1570
1571         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1572         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1573         data to the re-worked "log" dialog.
1574
1575 2003-12-03  André Pönitz  <poenitz@gmx.net>
1576
1577         * PosIterator.C:
1578         * iterators.C:
1579         * lyxtext.h:
1580         * output_latex.C:
1581         * paragraph_funcs.C:
1582         * text.C:
1583         * text2.C: use Inset::getText instead of Inset::getParagraph
1584
1585 2003-12-03  André Pönitz  <poenitz@gmx.net>
1586
1587         * buffer.[Ch]:
1588         * lyxtext.h:
1589         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1590         InsetText::read() as LyXText::read()
1591
1592 2003-12-02  Angus Leeming  <leeming@lyx.org>
1593
1594         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1595         type. Add a comment in the implementation that the function uses
1596         the stream's bad() function rather than fail() as the std::streams
1597         would do.
1598
1599 2003-12-02  André Pönitz  <poenitz@gmx.net>
1600
1601         * lyxlex.[Ch]: make interface more similar to std::stream
1602
1603         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1604
1605 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1606
1607         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1608
1609 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1610
1611         * vspace.[Ch]: remove VSpace::NONE
1612
1613 2003-12-01  André Pönitz  <poenitz@gmx.net>
1614
1615         * buffer.[Ch]:
1616         * lyxtext.h: move ParagraphList member to LyXText
1617         rename LyXText::ownerParagraphs to LyXText::paragraph
1618
1619         * CutAndPaste.C:
1620         * bufferview_funcs.C:
1621         * iterators.[Ch]:
1622         * lyx_cb.C:
1623         * paragraph.C:
1624         * rowpainter.C:
1625         * tabular.C:
1626         * text.C:
1627         * text2.C:
1628         * text3.C: adjust
1629
1630         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1631
1632         * undo.C: fix cursor positioning
1633
1634 2003-12-01  John Levon  <levon@movementarian.org>
1635
1636         * BufferView_pimpl.C: fix a crash on exit with
1637         a buffer open
1638
1639 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1640
1641         * BranchList.C: fix setSelected() method.
1642
1643 2003-11-28  André Pönitz  <poenitz@gmx.net>
1644
1645         * ParagraphParameters.[Ch]:
1646         * ParameterStruct.h: remove space above/below from Paragraph to
1647          InsetVSpace
1648
1649         * BufferView_pimpl.C:
1650         * factory.C:
1651         * lyxfunc.C:
1652         * lyxtext.h:
1653         * output_latex.C:
1654         * paragraph.C:
1655         * paragraph_funcs.C:
1656         * rowpainter.[Ch]:
1657         * text.C:
1658         * text2.C:
1659         * text3.C: adjust
1660
1661 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1662
1663         * factory.C: Syntax change for CharStyles
1664
1665 2003-11-28  André Pönitz  <poenitz@gmx.net>
1666
1667         * BufferView.[Ch]:
1668         * BufferView.[Ch]:
1669         * buffer.[Ch]:
1670         * buffer.[Ch]: move LyXText member
1671
1672 2003-11-28  André Pönitz  <poenitz@gmx.net>
1673
1674         * BufferView.[Ch]: make LyXText * text a private member
1675
1676         * BufferView_pimpl.C:
1677         * cursor.C:
1678         * iterators.C:
1679         * lyx_cb.C:
1680         * lyxfind.C:
1681         * lyxtext.h:
1682         * rowpainter.[Ch]:
1683         * text.C:
1684         * text2.C:
1685         * undo.C: adjust
1686
1687         * output_plaintext.C: cleanup
1688
1689 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1690
1691         * buffer.C:
1692         * lyxtextclass.[Ch]: parametrize SGML document header
1693
1694 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1695
1696         * converter.[Ch]:
1697         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1698         getFlavor().
1699
1700 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1701
1702         * text2.C (setFont): rework using PosIterator (no more recursive)
1703         (setCharFont): no more needed
1704         (setLayout): no more selection cursors fiddling (done by redoCursor)
1705         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1706         destroy remaining ones)
1707
1708 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1709
1710         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1711         * lyxtext.h: ditto
1712         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1713         selection cursors
1714         * lyxfunc.C: adjust
1715         * text3.C: adjust + re-allow multi par depth changes
1716         * textcursor.C: simplify a bit
1717
1718 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1719
1720         * src/buffer.C:
1721         * src/lyxlayout.C:
1722         * src/lyxlayout.h:
1723         * src/lyxtext.h:
1724         * src/output_docbook.C:
1725         * src/output_latex.C:
1726         * src/paragraph.C:
1727         * src/paragraph.h:
1728         * src/sgml.C:
1729         * src/sgml.h:
1730         * src/text2.C: Introducing a number of tags parametrizing various
1731         XML formats that we may want to support
1732
1733 2003-11-25  André Pönitz  <poenitz@gmx.net>
1734
1735         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1736
1737         * lyxtext.h (leftMargin/rightMargin): simplify interface
1738
1739         * rowpainter.C:
1740         * text.C:
1741         * text2.C:
1742         * text3.C: adjust
1743
1744 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1745
1746         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1747         master file to any child files. Fixes bug 546.
1748
1749 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1750
1751         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1752
1753 2003-11-24  André Pönitz  <poenitz@gmx.net>
1754
1755         * rowpainter.C: simplification
1756
1757         * text2.C (updateCounters): remove call to redoParagraph on
1758         changed labels as this is far too expensive.
1759
1760 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1761
1762         * converter.C (convert): fix a crash: this function gets
1763         called with buffer == 0 from importer code.
1764
1765 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1766
1767         * text3.C (cursorPrevious): make sure that we do not compare
1768         iterators form different containers.
1769         (cursorNext): ditto
1770
1771         * rowpainter.C (paintSelection): make sure that we do not compare
1772         iterators from different containers.
1773
1774         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1775         iterators from different ParagraphList containers.
1776         [NEXT] ditto
1777
1778         * text2.C (LyXText): change order of initialization slightly
1779         (operator=): new function. copy all variables except cache_par_
1780         (moveUp): make sure that we do not compare iterators from
1781         different ParagraphList constainers.
1782         (moveDown): ditto
1783
1784         * text.C (firstPar): new function
1785         (lastPar): new function
1786         (endPar): new function
1787
1788         * lyxtext.h: move things around and group public functions, public
1789         variables, private functions, private variables
1790
1791 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1792
1793         * factory.C: change call to InsetERT constructor to avoid
1794         additional invocation of method status
1795         * text2.C (toggleInset): remove redundant update() call
1796         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1797         instead of a Bufferview pointer
1798
1799 2003-11-21  André Pönitz  <poenitz@gmx.net>
1800
1801         * rowpainter.C: simplification
1802
1803 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1804
1805         * text3.C (dispatch): make possible to extend a word/row selection
1806         with the mouse
1807
1808 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1809
1810         * lyxtext.h: x0_,y0_ -> xo_,yo_
1811         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1812         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1813         * rowpainter.C (paintRows): paint full paragraphs
1814
1815 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1816
1817         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1818         screen coordinates)
1819
1820 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1821
1822         * lyxtext.h: add x0_, y0_
1823         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1824         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1825
1826 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1827
1828         * text2.C (setCursorIntern): move the x_target update here *
1829         * text3.C: change some bv() to true/false in calls to
1830         cursorUp/Down/Right/Left
1831         * cursor.C: use helper function.
1832
1833 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1834
1835         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1836         * paragraph_funcs.[Ch]: correct comment
1837         * rowpainter.C: do not paint selections away from bv->cursor()
1838         Fix a long standing selection painting bug.
1839         * text3.C: generalize mouse-selection code to LyXTexts other that
1840         top one
1841         * textcursor.C: do not use y coords if we can use par offsets
1842
1843 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1844
1845         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1846         cursor position after e.g. inset insert)
1847
1848 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1849
1850         * lyxfind.C (replace): adjust to locking removal + some
1851         code simplification
1852
1853 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1854
1855         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1856         of the path
1857
1858 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1859
1860         * lyxlayout.[Ch]:
1861         * output_docbook.C: XML sanitation: new layout
1862         parameters InnerTag and CommandDepth
1863
1864 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1865
1866         * BufferView_pimpl.C:
1867         * factory.C:
1868         * text3.C: Fix the insertion and modification of button-style
1869         insets
1870
1871 2003-11-13  André Pönitz  <poenitz@gmx.net>
1872
1873         * InsetList.[Ch]: remove deleteLyXText
1874
1875         * paragraph.[Ch]: cache beginOfBody position
1876
1877         * Bidi.C:
1878         * text.C:
1879         * text2.C:
1880         * text3.C: remove superfluous update() calls
1881
1882         * vspace.C: cleanup
1883
1884 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1885
1886         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1887         * BufferView.C (fitLockedInsetCursor): remove
1888         * cursor.[Ch] (getDim): add
1889         * text.C (getRowNearY): add faster version
1890         * text3.C: remove some update calls
1891
1892 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1893
1894         * LaTeXFeatures.C:
1895         * LyXAction.C:
1896         * MenuBackend.C:
1897         * MenuBackend.h:
1898         * dispatchresult.h:
1899         * factory.C:
1900         * lfuns.h:
1901         * lyxfunc.C:
1902         * lyxtextclass.C:
1903         * lyxtextclass.h:
1904         * text3.C: The Character Style /XML short element patch.
1905
1906 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1907
1908         * text3.C:
1909         * factory.C: Small step to solving 'unable to insert some insets'
1910         problem
1911
1912 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1913
1914         * cursor.[Ch] (updatePos): new function for updating the y
1915         position of the tip inset
1916         * bufferview_funcs.C (put_selection_at):
1917         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1918
1919 2003-11-11  André Pönitz  <poenitz@gmx.net>
1920
1921         * text.C: remove big comment on invalid Paragraph pointers as it is
1922         not valid anymore
1923
1924 2003-11-11  André Pönitz  <poenitz@gmx.net>
1925
1926         * text_funcs.[Ch]: merge with ...
1927
1928         * text.C: ... this
1929
1930         * lyxtext.h:
1931         * text2.C:
1932         * text3.C: adjust
1933
1934         * Makefile.am: remove text_funcs.[Ch]
1935
1936 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1937
1938         * cursor.C (getPos): return absolute cached y coord
1939
1940         * BufferView_pimpl.C (fitCursor): new simplistic code
1941         (workAreaDispatch): add a fitCursor call
1942
1943 2003-11-10  André Pönitz  <poenitz@gmx.net>
1944
1945         * BufferView.[Ch]:
1946         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1947
1948 2003-11-10  André Pönitz  <poenitz@gmx.net>
1949
1950         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1951         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1952         indicate that the cursor needs to leave an inset
1953
1954         * lyxtext.h: remove inset locking
1955
1956         * cursor.[Ch]: re-implement functionality provided by inset locking
1957
1958         * BufferView.[Ch]:
1959         * BufferView_pimpl.[Ch]:
1960         * LyXAction.C:
1961         * bufferview_funcs.[Ch]:
1962         * factory.C:
1963         * funcrequest.[Ch]:
1964         * iterators.C:
1965         * lyx_cb.C:
1966         * lyxfind.C:
1967         * lyxfunc.C:
1968         * text.C:
1969         * text2.C:
1970         * text3.C:
1971         * undo.C: adjust
1972
1973 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1974
1975         * PosIterator.[Ch]: replace the stack with a vector, add inset
1976         accesor
1977         * iterators.[C]: adjust
1978
1979 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1980
1981         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1982         replaced
1983         * paragraph_funcs.C (readParToken): put the correct id in the
1984         error item, not the id of the top paragraph
1985
1986 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1987
1988         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1989         * bufferview_funcs.C (put_selection_at): use the above
1990
1991 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1992
1993         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1994
1995 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1996
1997         * output_linuxdoc.h:
1998         * output_plaintext.h:
1999         * output.h:
2000         * output_docbook.h: add #include statements
2001
2002 2003-11-05  José Matos  <jamatos@lyx.org>
2003
2004         * output_docbook.[Ch]:
2005         * output_latex.[Ch]:
2006         * output_linuxdoc.[Ch]:
2007         * output_plaintext.[Ch]: New files for output formats.
2008         * output.[Ch]: New file for helper functions.
2009
2010         * buffer.[Ch]:
2011         * paragraph_funcs.[Ch]: output functions moved to new files.
2012
2013         * outputparams.h: rename of latexrunparams.h
2014
2015         * LaTeX.[Ch]:
2016         * buffer.[Ch]:
2017         * bufferlist.[Ch]:
2018         * converter.[Ch]:
2019         * exporter.C:
2020         * paragraph.[Ch]:
2021         * paragraph_funcs.[Ch]:
2022         * paragraph_pimpl.[Ch]:
2023         * tabular.[Ch]: rename ascii to plaintext
2024         and LatexRunParams to OutputParams.
2025
2026 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2027
2028         * iterators.[Ch] (text): require bv argument
2029         * undo.C (recordUndo):
2030         * lyxfunc.C (dispatch):
2031         * bufferview_funcs.C (put_selection_at): adjust
2032
2033 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2034
2035         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2036
2037 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2038
2039         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2040         nestings
2041
2042 2003-11-04  André Pönitz  <poenitz@gmx.net>
2043
2044         * cursor.[Ch]: restructure
2045
2046         * BufferView.[Ch]:
2047         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2048
2049         * iterators.[Ch] (asCursor): remove
2050
2051         * lfuns.h: remove LFUN_INSET_EDIT
2052
2053         * lyxfunc.C:
2054         * tabular.C:
2055         * text.C:
2056         * text2.C:
2057         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2058
2059 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2060
2061         * lyxfind.[Ch]: complete overhaul
2062         * BufferView_pimpl.C:
2063         * lyxfunc.C: adjust
2064         * paragraph.[Ch] (insert): add
2065
2066 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2067
2068         * BufferView.[Ch]:
2069         * lyxtext.h:
2070         * text.C: remove dead spellcheck code
2071
2072 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2073
2074         * dispatchresult.h: add a val setter
2075
2076         * cursor.C (dispatch): use a tempvar for data_[i]
2077
2078 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2079
2080         * PosIterator.[Ch]: compile fix
2081
2082 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2083
2084         * text.C (cursorPar): deactivate the cursor cache
2085
2086 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2087
2088         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2089
2090 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2091
2092         * text3.C (dispatch): adjust for new DisptchResult semantics.
2093
2094         * lyxfunc.C (dispatch): handle update when return from
2095         Cursor::dispatch, adjust for new DispatchResult semantics.
2096
2097         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2098         DispatchResult(true) mean to not update. Add class functions for
2099         setting dispatched and update, as well as reading.
2100
2101         * cursor.C (dispatch): don't handle update here
2102
2103 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2104
2105         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2106         * trans_mgr.C: adjust
2107
2108         * paragraph_funcs.C (readParToken): exception safety
2109
2110         * lyxvc.h: store the vcs pointer in a scoped_ptr
2111         * lyxvc.C: adjust
2112
2113         * lyxsocket.C (serverCallback): exception safety
2114
2115         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2116
2117         * ispell.C (clone): make it return a auto_ptr
2118
2119         * factory.C (createInset): exception safety
2120         (readInset): exception safety
2121
2122         * bufferlist.C (newBuffer): exception safety
2123
2124         * Thesaurus.C (Thesaurus): use initialization for aik_
2125
2126         * MenuBackend.C (expandToc): exception safety.
2127
2128 2003-11-03  André Pönitz  <poenitz@gmx.net>
2129
2130         * buffer.C:
2131         * buffer.h:
2132         * bufferview_funcs.C: remove getInsetFromId()
2133
2134         * lyxcursor.[Ch]:
2135         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2136
2137         * lyxfunc.C:
2138         * text2.C:
2139         * text3.C: adjust
2140
2141 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2142
2143         * PosIterator.C (distance, advance): new
2144         * bufferview_funcs.[Ch] (put_selection_at): new
2145         * iterators.[Ch] (lockPath): new
2146
2147 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2148
2149         * iterators.[Ch] (asPosIterator): added
2150         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2151         * PosIterator.[Ch]: added
2152
2153 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2154
2155         * text3.C:
2156         * lyxfunc.C:
2157         * cursor.C (dispatch):
2158         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2159
2160         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2161         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2162         contructor, add a class function dispatched. Remove operator>=
2163
2164 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2165
2166         * debug.C: only use the default constructor for debugstream
2167         (lyxerr) here.
2168
2169         * main.C (main): include debug.h and setup the lyxerr streambuf
2170         here.
2171
2172 2003-10-31  José Matos  <jamatos@lyx.org>
2173
2174         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2175
2176         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2177         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2178         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2179         * paragraph_pimpl.C (simpleTeXSpecialC):
2180         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2181         add LatexRunParams argument.
2182
2183         * exporter.C (Export): change call accordingly.
2184
2185         * latexrunparams.h: add new member to take care of the other backends.
2186 2003-10-30  José Matos  <jamatos@lyx.org>
2187
2188         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2189         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2190         factorise code for paragraph output.
2191         * buffer.[Ch]:
2192         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2193         move functions.
2194
2195 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2196
2197         * text3.C (dispatch):
2198         * lyxfunc.C (dispatch):
2199         * cursor.C (dispatch):
2200         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2201
2202         * dispatchresult.h: make the dispatch_result_t ctor explicit
2203
2204 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2205
2206         * sgml.[Ch]:
2207         * buffer.C: small refactoring of docbook stuff
2208
2209 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2210
2211         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2212         meaning.
2213
2214 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2215
2216         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2217         operator dispatch_result_t, and operators for == != and >=
2218
2219         * cursor.C (dispatch): adjust for operator dispatch_result_t
2220         removal. comment out call to update
2221
2222         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2223
2224 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2225
2226         * text3.C:
2227         * text2.C:
2228         * text.C:
2229         * lyxtext.h:
2230         * lyxfunc.C:
2231         * cursor.C:
2232         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2233         (dispatch):
2234
2235         * dispatchresult.h: new file, DispatchResult broken out of
2236         insets/insetbase.h
2237
2238         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2239
2240 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2241
2242         * text.C (rowBreakPoint): put a hack inside #if 0
2243
2244 2003-10-28  André Pönitz  <poenitz@gmx.net>
2245
2246         * lyxtext.h:
2247         * metricsinfo.C:
2248         * paragraph_funcs.C:
2249         * rowpainter.C:
2250         * text.C:
2251         * text2.C: general cleanup (lots of small stuff)
2252
2253 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2254
2255         * text2.C (cursorEnd): simple fix to the "end key goes to one
2256         before the end on last row" bug
2257
2258 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2259
2260         * text.C (backspace): fix the "zombie characters"
2261
2262 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2263
2264         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2265
2266 2003-10-27  André Pönitz  <poenitz@gmx.net>
2267
2268         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2269
2270         * factory.C: handle new InsetPagebreak, InsetLine
2271
2272         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2273         and move handling into new InsetPagebreak, InsetLine
2274
2275         * BufferView_pimpl.C:
2276         * LyXAction.C:
2277         * ParagraphParameters.C:
2278         * ParameterStruct.h:
2279         * lyxfunc.C:
2280         * lyxtext.h:
2281         * paragraph.C:
2282         * paragraph.h:
2283         * paragraph_funcs.C:
2284         * paragraph_pimpl.C:
2285         * rowpainter.C:
2286         * text.C:
2287         * text2.C:
2288         * text3.C: adjust
2289
2290 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2291
2292         * text.C:
2293         * lyxrow_funcs.[Ch]:
2294         * Bidi.C:
2295         * paragraph.C:
2296         * lyxtext.h:
2297         * rowpainter.C:
2298         * text2.C:
2299         * text3.C: remove lastPos uses in favour of Row::endpos
2300
2301 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2302
2303         * undo.C (performUndoOrRedo): fix two crashes by setting a
2304         cursor by hand and reordering some calls. Use bv->lockInset instead
2305         of inset->edit because the latter loses cursor information
2306
2307 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2308
2309         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2310         by Martin
2311         (rowBreakPoint): fix width. change point to point + 1.
2312         Add a missing check.
2313
2314 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2315
2316         * MenuBackend.C:
2317         * lyxfunc.C: fix (at least partly) the problems
2318         with the Nav menu and headers inside branch insets
2319         reported by Kayvan
2320
2321 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2322
2323         * paragraph.C (getChar): add strong asserts
2324
2325         * lyxrow_funcs.C (lastPos): remove hideous hack
2326
2327         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2328         (fill): adjust to that (avoid an infinite loop)
2329
2330 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2331
2332         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2333
2334 2003-10-23  André Pönitz  <poenitz@gmx.net>
2335
2336         * RowList_fwd.h: change list<> to vector<> to gain speed
2337         after suggestion from Alfredo
2338
2339 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2340
2341         * lyxtext.h: move the bidi stuff from here...
2342         * text.C: and here
2343         * text2.C: and here
2344         * Bidi.[Ch]: ... to here
2345
2346 2003-10-23  André Pönitz  <poenitz@gmx.net>
2347
2348         * lyxtext.h:
2349         * text.C (isLastRow, isFirstRow): new functions
2350
2351         * paragraph.h: new width cache member
2352
2353         * rowpainter.C: replace RowList::iterator with Row & where possible
2354
2355         * lyxfunc.C: replace several view()->text with a single call
2356
2357         * toc.C: fix 'unused' warning
2358
2359 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2360
2361         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2362         when woring with stream::pos_type
2363         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2364
2365 2003-10-22  André Pönitz  <poenitz@gmx.net>
2366
2367         * lyxtext.h:
2368         * text.C: use Row & instead of RowList::iterator
2369
2370         * lyxrow.h: rename end() to endpos()
2371
2372         * rowpainter.C:
2373         * text.C:
2374         * text2.C: adjust
2375
2376 2003-10-22  Angus Leeming  <leeming@lyx.org>
2377
2378         * buffer.[Ch] (fully_loaded): new member function, returning true
2379         only when the file has been loaded fully.
2380         Used to prevent the premature generation of previews and by the
2381         citation inset to prevent computation of the natbib-style label.
2382
2383         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2384         templates are all set up.
2385
2386         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2387
2388 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2389
2390         * text.C: fixed an "oops" in the "is a bit silly"
2391         bug fix
2392
2393 2003-10-21  André Pönitz  <poenitz@gmx.net>
2394
2395         * FuncStatus.[Ch]: small stuff, whitespace
2396
2397         * lyxfont.[Ch]: operator<<() for debug reasons
2398
2399         * lyxfunc.C:
2400         * lyxrow_funcs.C:
2401         * lyxtext.h: whitespace, spelling
2402
2403         * paragraph.C: naming of variables
2404
2405         * text.C:
2406         * text2.C: small stuff
2407
2408
2409 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2410
2411         * text.C: (1) finish off the inset display() work;
2412         (2) fix the "is a bit silly" bug (accessing char
2413         past end of par).
2414
2415 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2416
2417         * text.C: re-introduce display() for insets, fixing the
2418         various bugs (stretch of line above, math inset
2419         positioning, ...)
2420
2421 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2422
2423         * text.C (rightMargin): remove spurious semicolon
2424
2425         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2426         1415)
2427
2428 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2429
2430         * text3.C: fix one crash due to wrong cursor def
2431
2432 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2433
2434         * vc-backend.C (scanMaster): make the regex static
2435
2436         * LaTeX.C (scanAuxFile): make the regexs static
2437
2438         * text3.C (doInsertInset, dispatch, dispatch):
2439         * text2.C (cursorUp, cursorDown):
2440         * text.C (selectNextWordToSpellcheck):
2441         * BufferView_pimpl.C (dispatch):
2442         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2443
2444 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2445
2446         * lyxsocket.C: include <cerrno>
2447
2448 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2449
2450         * lyxfunc.C (dispatch): remove textcache stuff
2451
2452         * bufferlist.C (release): remove textcache stuff
2453         (closeAll): ditto
2454
2455         * TextCache.C: delete file
2456         * TextCache.h: delete file
2457
2458         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2459
2460         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2461         delete of the bv_->text.
2462         (resizeCurrentBuffer): remove texcache stuff
2463         (workAreaResize): ditto
2464
2465 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2466
2467         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2468         action.
2469
2470 2003-10-16  André Pönitz  <poenitz@gmx.net>
2471
2472         * lyxrow.[Ch]:
2473         * paragraph.h:
2474         * rowpainter.C:
2475         * text.C:
2476         * text2.C:
2477         * text3.C: speed up by storing y positions per paragraph plus per-row
2478         offset instead of having a 'full' y position in the row.
2479
2480 2003-10-15  André Pönitz  <poenitz@gmx.net>
2481
2482         * iterators.[Ch]:
2483         * iterators.[Ch]:
2484         * undo.[Ch]: make undo aware of inner insets
2485
2486 2003-10-14  Angus Leeming  <leeming@lyx.org>
2487
2488         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2489         static member functions LyX::ref() and LyX::cref.
2490         (lastfiles): new accessor functions for the new lastfiles_ member var.
2491         (addLyXView, views_): add a new LyXView to the list of views_.
2492         (updateInset): loop over all LyXViews to call their own updateInset
2493         member function, returning a pointer to the Buffer owning the inset.
2494
2495         * BufferView_pimpl.C (loadLyXFile):
2496         * MenuBackend.C (expandLastfiles):
2497         * bufferlist.C (MenuWrite, QuitLyX):
2498         lastfiles is no longer a global variable.
2499         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2500
2501         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2502         static function. Access through LyX::cref().emergencyCleanup().
2503
2504 2003-10-14  André Pönitz  <poenitz@gmx.net>
2505
2506         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2507
2508         * undo.[Ch]: restoring part of 'undo in insets'
2509
2510         * Makefile.am:
2511         * undo_funcs.[Ch]: merge with undo.[Ch]
2512
2513         * tabular.C: small cleansing stuff
2514
2515 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2516
2517         * paragraph_funcs.C (readParToken): report unknown insets as error
2518         boxes. Use the outer paragraph as location (also for unknown
2519         tokens).
2520
2521         * factory.C (readInset): do not abort on reading an unknown inset.
2522         Eat it and return 0.
2523
2524 2003-10-13  Angus Leeming  <leeming@lyx.org>
2525
2526         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2527
2528         * lyxrc.C: displayTranslator is now a function,
2529         declared in GraphicsTypes.h.
2530
2531 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2532
2533         * format.C: new placeholder $$a to pass the socket address.
2534
2535         * bufferlist.[Ch]: new function getBufferFromTmp.
2536
2537         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2538           files in the temporary dir.
2539
2540 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2541
2542         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2543
2544         * Makefile.am: add lyxsocket.[Ch].
2545
2546         * lyx_main.C (error_handler): handle SIGPIPE.
2547
2548 2003-10-13  André Pönitz  <poenitz@gmx.net>
2549
2550         * BufferView_pimpl.C:
2551         * lyxtext.h:
2552         * text.C:
2553         * text2.C:
2554         * text3.C:
2555         * undo_funcs.[Ch]: use paroffset_type instead of
2556           ParagraphList::iterators to prevent multiple conversion
2557           (and get a more robust interface)
2558
2559 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2560
2561         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2562         * lyxtext.h: ditto
2563         * text3.C (dispatch): ditto
2564
2565 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2566
2567         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2568         move the onlyfile, use onlyfile instead of foundfile in a couple
2569         of places.
2570
2571         * DepTable.C (update): flush the error stream a bit more
2572
2573 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2574
2575         * lyxserver.C (callback): adjust
2576
2577         * lyxfunc.C (getStatus): add a missing brace in commented code
2578         (ensureBufferClean): reindent
2579         (dispatch): delete version taking a string
2580
2581 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2582
2583         * LaTeX.C (deplog): move found file handlig from here...
2584         (handleFoundFile): .. to new function here.
2585         (deplog): make sure to discover several files mentioned on the
2586         same log line.
2587
2588 2003-10-10  André Pönitz  <poenitz@gmx.net>
2589
2590         * lyxfunc.C:
2591         * lyxtext.h:
2592         * tabular.C:
2593         * text.C:
2594         * text2.C:
2595         * text3.C: fix some of the tabular crashes
2596
2597 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2598
2599         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2600
2601         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2602
2603 2003-10-09  André Pönitz  <poenitz@gmx.net>
2604
2605         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2606
2607         * BufferView.C:
2608         * BufferView_pimpl.C:
2609         * bufferview_funcs.C:
2610         * lyx_cb.C:
2611         * lyxcursor.C:
2612         * lyxfind.C:
2613         * lyxfunc.C:
2614         * lyxtext.h:
2615         * text.C:
2616         * text2.C:
2617         * text3.C:
2618         * text_funcs.[Ch]:
2619         * textcursor.[Ch]:
2620         * undo_funcs.C: adjust
2621
2622 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2623
2624         * text2.C (incrementItemDepth): new function, use a backtracking
2625         algorithm to discover the correct item depth.
2626         (resetEnumCounterIfNeeded): new function, use a backtracking
2627         algorithm to discover if counter reset is needed.
2628         (setCounter): use them. Simplify a bit. Add different labels for
2629         different item depths for itemize.
2630
2631         * paragraph.C (Paragraph): remove initialization of enumdepth
2632         (operator=): ditto
2633
2634         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2635         enumerate and itemize. Change the type of itemdepth to signed char.
2636
2637 2003-10-08  André Pönitz  <poenitz@gmx.net>
2638
2639         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2640           thing assignable.
2641         * text.C:
2642         * text2.C: adjust
2643
2644         * tabular.[Ch]: fix crash after 'row-insert'
2645
2646 2003-10-08  Angus Leeming  <leeming@lyx.org>
2647
2648         Fix doxygen warnings.
2649
2650         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2651         Remove CutAndPaste:: prefix from header file declaration.
2652
2653         * LColor.h (fill): remove LColor:: prefix from declaration.
2654
2655         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2656         use lyx::depth_type rather than Paragraph::depth_type so that
2657         header file and .C file match.
2658
2659         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2660
2661         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2662         * aspell.C: \file aspell_local.C -> \file aspell.C
2663         * gettext.C: \file gettext.C -> \file src/gettext.C
2664         * gettext.h: \file gettext.h -> \file src/gettext.h
2665         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2666         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2667         * text.C: \file text.C -> \file src/text.C
2668
2669         * toc.C: move comment so that doxygen is not confused.
2670
2671 2003-10-07  Angus Leeming  <leeming@lyx.org>
2672
2673         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2674
2675 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2676
2677         * aspell.C:
2678         * aspell_local.h: add forgotten std::string's.
2679
2680 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2681
2682         * LaTeXFeatures.C:
2683         * LyXAction.C:
2684         * factory.C:
2685         * lfuns.h:
2686         * lyxfunc.C:
2687         * text3.C: The Box patch. Fancybox support, minipage, parbox
2688
2689 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2690
2691         * CutAndPaste.h:
2692         * DepTable.h:
2693         * FloatList.h:
2694         * LaTeXFeatures.h:
2695         * ParagraphParameters.h:
2696         * TextCache.h:
2697         * Thesaurus.h:
2698         * bufferlist.h:
2699         * exporter.h:
2700         * importer.h:
2701         * lastfiles.h:
2702         * lyxfind.h:
2703         * lyxfont.h:
2704         * lyxlex.h:
2705         * lyxtextclasslist.h:
2706         * messages.h:
2707         * paragraph.h:
2708         * paragraph_pimpl.C:
2709         * textcursor.h: add <string> and other small fixes to make Lars'
2710         std::string patch compile with STLport.
2711
2712 2003-10-06  Angus Leeming  <leeming@lyx.org>
2713
2714         * LColor.h: Add missing #include <string>.
2715
2716 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2717
2718         * All most all file in all subdirs: Make <string> be the prefered
2719         way of getting to std::string, add using declarations.
2720
2721 2003-10-06  André Pönitz  <poenitz@gmx.net>
2722
2723         * metricsinfo.C: initialize LyXFont before changing attribute.
2724         (fixes the 'math in \emph is upright' bug)
2725
2726 2003-10-06  André Pönitz  <poenitz@gmx.net>
2727
2728         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2729
2730 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2731
2732         * graph.C:
2733         * paragraph_pimpl.C: Small fixes to build using STLport
2734
2735 2003-10-02  André Pönitz  <poenitz@gmx.net>
2736
2737         * lyxfunc.C:
2738         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2739
2740 2003-10-01  André Pönitz  <poenitz@gmx.net>
2741
2742         * factory.C: assert early
2743
2744 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2745
2746         * lyx_main.C: remove the global debug object
2747
2748         * debug.h: adjust for new debugstream
2749
2750         * debug.C: adjust for new debugstream and keep the global debug
2751         object here.
2752
2753 2003-09-22  Angus Leeming  <leeming@lyx.org>
2754
2755         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2756         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2757         an incomplete class LyXFont.
2758
2759 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2760
2761         * factory.C: bug fix in branches
2762
2763 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2764
2765         * lyxfunc.C (processKeySym): adjust
2766         (dispatch): adjust
2767         (dispatch): change arg name from ev to func, adjust
2768         (sendDispatchMessage): ditto
2769
2770         * lyx_main.C (defaultKeyBindings): adjust keybindings
2771         (deadKeyBindings): ditto
2772
2773         * kbsequence.C (addkey): return a FuncRequest
2774
2775         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2776
2777         * kbmap.C (bind): take a FuncRequest as arg, adjust
2778         (read): adjust
2779         (lookup): adjust
2780         (defkey): change to take a FuncRequest as arg, adjust
2781         (findbinding): take a FuncRequest as arg, adjust.
2782
2783         * funcrequest.h (operator=): added
2784
2785         * funcrequest.C (FuncRequest): default kb_action changed from
2786         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2787
2788         * buffer.C (dispatch): simplify
2789         (dispatch): adjust to take a FuncRequest as arg, adjust
2790
2791         * boost.C (assertion_failed): change assertion message slightly
2792
2793         * ToolbarBackend.C (read): simplify
2794
2795         * MenuBackend.C (binding): adjust call to findbinding, add a
2796         message if no binding is found.
2797         (read): simplify
2798         (expandToc): correct by adding a empty FuncRequest
2799
2800         * LyXAction.C: include <boost/assert.hpp>
2801         (isPseudoAction): delete function
2802         (LookupFunc): change name to...
2803         (lookupFunc): this. change return type to FuncRequest.
2804         (getActionName): take kb_action as arg, simplify
2805         (funcHasFlag): add an assert, simplify.
2806
2807 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2808
2809         * toc.C (action): return a FuncRequest, simplify
2810
2811         * lyxfunc.C (processKeySym): adjust
2812         (getStatus): delete version that takes an int.
2813         (getStatus): adjust
2814         (dispatch): delete version that takes action as int
2815         (dispatch): adjust
2816         (sendDispatchMessage): simplify and adjust
2817
2818         * funcrequest.C (getArg): take unsigned int as arg
2819
2820         * ToolbarBackend.C (read): adjust
2821         (add): delete version that takes func as a string.
2822         (getIton): take a FuncRequest as arg
2823
2824         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2825         action.
2826
2827         * MenuBackend.C (MenuItem): add a new construct that only takes a
2828         Kind, simplify the constructor use for submenus.
2829         (add): adjust
2830         (expandLastfiles): adjust
2831         (expandDocuments): adjust
2832         (expandFormats): adjust
2833         (expandFloatListInsert): adjust
2834         (expandFloatInsert): adjust
2835         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2836
2837         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2838         Remove class variables lyx_pseudo_map and lyx_arg_map
2839
2840         * LyXAction.C (searchActionArg): delete function
2841         (getPseudoAction): delete function
2842         (retrieveActionArg): delete function
2843         (LookupFunc): make it return kb_action, simplify.
2844         (getActionName): simplify
2845
2846         * factory.C (createInset): fix new bug
2847
2848 2003-09-19  Angus Leeming  <leeming@lyx.org>
2849
2850         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2851         masterFilename_ parameter in the include inset.
2852
2853         * factory.C (createInset): changes due to the changes to InsetInclude.
2854
2855 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2856
2857         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2858
2859 2003-09-18  Angus Leeming  <leeming@lyx.org>
2860
2861         * buffer.C:
2862         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2863         Inset::fillWithBibKeys.
2864         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2865
2866 2003-09-18  Angus Leeming  <leeming@lyx.org>
2867
2868         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2869         variables.
2870         (ctor): pass and store a 'Buffer const &'
2871         (buffer): new member function.
2872
2873         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2874         '*this' to the LaTeXFeatures ctor.
2875
2876 2003-09-18  Angus Leeming  <leeming@lyx.org>
2877
2878         * LColor.h:
2879         * lyxfont.C:
2880         * lyxfont.h:
2881         * lyxtext.h:
2882         * text.C: rename EnumLColor as LColor_color.
2883
2884 2003-09-18  Angus Leeming  <leeming@lyx.org>
2885
2886         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2887         remove #include "insets/insetbase.h" from cursor.h.
2888
2889 2003-09-18  Angus Leeming  <leeming@lyx.org>
2890
2891         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2892         InsetOld_code to remove #include "inset.h".
2893
2894         * iterators.C: add #include "insets/inset.h"
2895
2896 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2897
2898         * BufferView.C: remove more locking stuff that apparently doesn't
2899         do anything sensible.
2900
2901 2003-09-16  André Pönitz  <poenitz@gmx.net>
2902
2903         * paragraph.[Ch]:
2904         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2905           performance boost.
2906
2907 2003-09-16  Angus Leeming  <leeming@lyx.org>
2908
2909         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2910
2911         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2912         arg/return type.
2913
2914         * paragraph.h: remove #include "lyxfont.h". Forward declare
2915         LyXFont_size.
2916
2917 2003-09-16  Angus Leeming  <leeming@lyx.org>
2918
2919         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2920         of support/textutils.h.
2921         (isWord): move the contents of support/textutils.h's IsWordChar here.
2922
2923         * buffer.C:
2924         * lyxfind.C:
2925         * rowpainter.C:
2926         * text.C:
2927         * text2.C: add #include "paragraph.h".
2928
2929         * rowpainter.C:
2930         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2931
2932 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2933
2934         * main.C:
2935         * lyx_main.C:
2936         * lyx_cb.C:
2937         * buffer.C:
2938         * LaTeX.C: use namespace alias for lyx::support::os
2939
2940 2003-09-16  Angus Leeming  <leeming@lyx.org>
2941
2942         * bufferparams.C:
2943         * bufferview_funcs.C:
2944         * factory.C:
2945         * lyxfunc.C:
2946         * paragraph_pimpl.C:
2947         * rowpainter.C:
2948         * text.C: add #include "LColor.h".
2949
2950 2003-09-16  Angus Leeming  <leeming@lyx.org>
2951
2952         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2953         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2954         return LyXFont &.
2955         Store the FontBits::color variable as an int rather than as an
2956         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2957         file.
2958
2959         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2960         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2961         string calls together.
2962
2963         * lyxrc.C: add #include "LColor.h".
2964
2965 2003-09-15  Angus Leeming  <leeming@lyx.org>
2966
2967         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2968         a cow_ptr.
2969
2970 2003-09-15  Angus Leeming  <leeming@lyx.org>
2971
2972         * LColor.h: add an EnumLColor wrapper for LColor::color.
2973
2974         * lyxfont.[Ch] (color, setColor, realColor):
2975         * lyxtext.h, text.C (backgroundColor):
2976         pass EnumLColor args to/from the functions, rather than LColor::color
2977         ones.
2978
2979         * lyxfont.h:
2980         * lyxtext.h: forward declare EnumLColor.
2981
2982         * lyx_main.C: add #include "LColor.h".
2983
2984 2003-09-15  Angus Leeming  <leeming@lyx.org>
2985
2986         * .cvsignore: add lyx-gtk.
2987
2988 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2989
2990         * Chktex.C
2991         * LaTeX.C
2992         * LaTeXFeatures.C
2993         * ParagraphParameters.C
2994         * Spacing.C
2995         * buffer.C
2996         * bufferparams.C
2997         * bufferview_funcs.C
2998         * chset.C
2999         * counters.C
3000         * funcrequest.C
3001         * lyxfont.C
3002         * lyxgluelength.C
3003         * lyxlength.C
3004         * paragraph.C
3005         * paragraph_funcs.C
3006         * text3.C
3007         * vc-backend.C: remove usage of STRCONV
3008
3009 2003-09-15  Angus Leeming  <leeming@lyx.org>
3010
3011         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3012         explicitly define the color passed to the painter.
3013
3014 2003-09-15  Angus Leeming  <leeming@lyx.org>
3015
3016         * bufferparams.C (BufferParams): reorder member initializers to avoid
3017         compiler warning.
3018
3019 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3020
3021         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3022         * text.C (updateRowPositions): remove an unusual nop
3023
3024 2003-09-12  André Pönitz  <poenitz@gmx.net>
3025
3026         * BufferView_pimpl.C:
3027         * Bullet.C:
3028         * layout.h:
3029         * lyxfunc.C:
3030         * lyxlayout.[Ch]:
3031         * lyxtextclass.C:
3032         * rowpainter.C:
3033         * text.C:
3034         * text2.C:
3035         * Counters.[Ch]: finish the 'automatic counters' job
3036
3037 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3038
3039         * aspell.C: include <boost/assert.cpp> (compile fix)
3040
3041 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3042
3043         * boost.C (assertion_failed): use lyx::support::abort instead of
3044         assert.
3045
3046 2003-09-10  Angus Leeming  <leeming@lyx.org>
3047
3048         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3049         with their _fwd progeny.
3050
3051 2003-09-09  Angus Leeming  <leeming@lyx.org>
3052
3053         134 files throughtout the source tree: replace 'using namespace abc;'
3054         directives with the appropriate 'using abc::xyz;' declarations.
3055
3056 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3057
3058         * boost.C (emergencyCleanup): moved here from LAssert.c
3059         (assertion_failed): new function, called by BOOST_ASSERT
3060
3061         * several files: change Assert to BOOST_ASSERT
3062
3063 2003-09-09  Angus Leeming  <leeming@lyx.org>
3064
3065         * buffer.[Ch]: Add an Impl class and move Buffer's member
3066         variables into it. As a result move several header files out of
3067         buffer.h.
3068
3069         Add header files to lots of .C files all over the tree as a result.
3070
3071 2003-09-09  Angus Leeming  <leeming@lyx.org>
3072
3073         * buffer.[Ch]: make Buffer's member variables private. Add
3074         accessor functions.
3075
3076         Lots of changes all over the tree as a result.
3077
3078 2003-09-08  Angus Leeming  <leeming@lyx.org>
3079
3080         * graph.C: #include <config.h>.
3081
3082 2003-09-08  Angus Leeming  <leeming@lyx.org>
3083
3084         * BranchList.C:
3085         * BufferView.C:
3086         * BufferView_pimpl.C:
3087         * CutAndPaste.C:
3088         * DepTable.C:
3089         * LaTeX.C:
3090         * LaTeXFeatures.C:
3091         * LyXAction.C:
3092         * MenuBackend.C:
3093         * TextCache.C:
3094         * aspell.C:
3095         * buffer.C:
3096         * bufferlist.C:
3097         * changes.C:
3098         * chset.C:
3099         * converter.C:
3100         * counters.C:
3101         * debug.C:
3102         * graph.C:
3103         * ispell.C:
3104         * lyx_cb.C:
3105         * lyxfind.C:
3106         * lyxfunc.C:
3107         * lyxlex_pimpl.C:
3108         * lyxrc.C:
3109         * lyxrow.C:
3110         * paragraph.C:
3111         * rowpainter.C:
3112         * texrow.C:
3113         * text.C:
3114         * text2.C:
3115         * toc.C: remove redundant using directives.
3116
3117 2003-09-07  Angus Leeming  <leeming@lyx.org>
3118
3119         * LaTeXFeatures.h: remove #include "support/types.h".
3120         * ToolbarBackend.h: remove #include <algorithm>.
3121         * changes.h: remove #include <ctime>.
3122         * debug.h: remove #include <iosfwd>.
3123         * graph.h: remove #include "support/std_string.h".
3124         * lyx_main.h: remove #include <csignal>.
3125         * lyxlex_pimpl.h: remove #include <fstream>.
3126         * sgml.h: remove #include <algorithm>, <utility>.
3127         * toc.h: remove #include "support/std_ostream.h".
3128         Add #include <iosfwd>.
3129
3130 2003-09-07  Angus Leeming  <leeming@lyx.org>
3131
3132         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3133
3134         * converter.h: forward declare LatexRunParams.
3135         * encoding.h: remove #include "lyxrc.h".
3136         * lyxtext.h: remove #include "LColor.h".
3137         * lyxtextclass.h: remove #include "support/types.h".
3138         * trans.h: remove #include "tex-accent.h".
3139         * trans_mgr.h: remove #include "tex-accent.h".
3140         * insets/inset.h: remove #include "support/types.h", <vector>.
3141         * insets/insetcollapsable.h: remove #include "LColor.h".
3142         * insets/insetinclude.h: remove #include "dimension.h".
3143         * insets/insetlatexaccent.h: remove #include "dimension.h".
3144         * insets/insetoptarg.h:: remove #include "insettext.h".
3145         * insets/insettext.h: remove #include "dimension.h",
3146         <boost/shared_ptr.hpp>
3147
3148         * insets/renderers.h: add #include "dimension.h".
3149         * insets/updatableinset.h: add #include "support/types.h".
3150
3151         * many .C files: Associated changes.
3152
3153 2003-09-06  Angus Leeming  <leeming@lyx.org>
3154
3155         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3156         one, inside testInvariant.
3157
3158         * PrinterParams.C: new file.
3159         * PrinterParams.[Ch]: move the function bodies out of line.
3160
3161 2003-09-06  Angus Leeming  <leeming@lyx.org>
3162
3163         * ParagraphParameters.h: forward declare ParameterStruct rather than
3164         including its header file.
3165         (depth): moved out-of-line.
3166
3167 2003-09-06  Angus Leeming  <leeming@lyx.org>
3168
3169         * BufferView_pimpl.h:
3170         * kbmap.h:
3171         * kbsequence.h:
3172         * lyxfunc.h: forward declare LyXKeySym rather than
3173         #include "frontends/LyXKeySym.h".
3174
3175         * BufferView_pimpl.C:
3176         * kbmap.C:
3177         * kbsequence.C:
3178         * lyxfunc.C: associated changes.
3179
3180 2003-09-06  Angus Leeming  <leeming@lyx.org>
3181
3182         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3183         As a result, can remove the #include "insets/inset.h" from BufferView.h
3184
3185 2003-09-06  Angus Leeming  <leeming@lyx.org>
3186
3187         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3188         As a result, can remove the #include "insets/inset.h" from BufferView.h
3189
3190 2003-09-06  Angus Leeming  <leeming@lyx.org>
3191
3192         * buffer_funcs.C:
3193         * buffer.h:
3194         * bufferlist.C:
3195         * BufferView.C:
3196         * bufferview_funcs.C:
3197         * BufferView_pimpl.C:
3198         * CutAndPaste.C:
3199         * lyx_cb.C:
3200         * lyxfunc.C:
3201         * paragraph.h:
3202         * ParagraphParameters.C:
3203         * tabular.C:
3204         * text3.C:
3205         * toc.C:
3206         * undo_funcs.C:
3207         * frontends/controllers/ControlDocument.C:
3208         * insets/insetcaption.C: rearrange the #includes into some sort of
3209         coherent order.
3210
3211         * buffer.h: remove #includes ErrorList.h, undo.h
3212
3213 2003-09-06  Angus Leeming  <leeming@lyx.org>
3214
3215         * support/types.h: add a 'depth_type' typedef, used to store the
3216         nesting depth of a paragraph.
3217
3218         * paragraph.h:
3219         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3220         defining explicitly.
3221
3222         * buffer.h:
3223         * paragraph_funcs.h:
3224         * ParagraphParameters.h:
3225         * sgml.h: use lyx::depth_type rather than Paragraph or
3226         ParameterStruct's depth_type.
3227
3228         * buffer.h
3229         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3230
3231         * BufferView.C:
3232         * BufferView_pimpl.C:
3233         * CutAndPaste.C:
3234         * ParagraphParameters.C:
3235         * buffer_funcs.C:
3236         * bufferlist.C:
3237         * bufferview_funcs.C:
3238         * lyx_cb.C:
3239         * lyxfunc.C:
3240         * tabular.C:
3241         * text3.C:
3242         * toc.C:
3243         * undo_funcs.C:
3244         * frontends/LyXView.C:
3245         * frontends/controllers/ControlDocument.C:
3246         * frontends/controllers/ControlErrorList.C:
3247         * insets/insetbibitem.C:
3248         * insets/insetbranch.C:
3249         * insets/insetcaption.C:
3250         * insets/insetcollapsable.C:
3251         * insets/insetenv.C:
3252         * insets/insetert.C:
3253         * insets/insetfloat.C:
3254         * insets/insetfoot.C:
3255         * insets/insetfootlike.C:
3256         * insets/insetnewline.C:
3257         * insets/insetquotes.C:
3258         * insets/insettabular.C:
3259         * insets/insettext.C:
3260         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3261
3262         * frontends/controllers/ControlChanges.C: #include "changes.h".
3263
3264 2003-09-06  Angus Leeming  <leeming@lyx.org>
3265
3266         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3267         than #including paragraph.h.
3268
3269         * ParagraphList.h:
3270         * RowList.h: deleted. Superfluous.
3271
3272         * CutAndPaste.h:
3273         * iterators.h:
3274         * lyxcursor.h:
3275         * lyxtext.h:
3276         * text_funcs.h:
3277         * undo.h:
3278         * undo_funcs.h:
3279         * insets/inset.h:
3280         * insets/insettext.h: use ParagraphList_fwd.h rather than
3281         ParagraphList.h.
3282
3283         * paragraph.h: don't forward declare ParagraphList.
3284
3285         * buffer.h:
3286         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3287         rather than ParagraphList.h. paragraph.h is still needed for the
3288         Paragraph::depth_type parameters.
3289
3290         * textcursor.h: enable it to compile stand-alone in light of the
3291         above changes.
3292
3293         * bufferview_funcs.C:
3294         * iterators.C:
3295         * lyxfunc.C:
3296         * lyxrow_funcs.C:
3297         * paragraph.C:
3298         * rowpainter.C:
3299         * text.C:
3300         * text2.C:
3301         * text3.C:
3302         * text_funcs.C:
3303         * textcursor.C:
3304         * undo.C:
3305         * frontends/controllers/ControlParagraph.C:
3306         * frontends/controllers/ControlTabular.C:
3307         * insets/insetmarginal.C:
3308         * insets/insetminipage.C:
3309         * insets/insetnote.C:
3310         * insets/insetoptarg.C: add header files needed to compile again.
3311
3312 2003-09-06  Angus Leeming  <leeming@lyx.org>
3313
3314         * RowList_fwd.h: new file, forward-declaring Row rather than
3315         #including lyxrow.h.
3316
3317         * lyxrow_funcs.h:
3318         * lyxtext.h:
3319         * paragraph.h:
3320         * insets/insettext.h: use it instead of RowList.h
3321
3322         * bufferview_funcs.C:
3323         * lyxfunc.C:
3324         * lyxrow_funcs.C:
3325         * paragraph.C:
3326         * rowpainter.C:
3327         * text.C:
3328         * text2.C:
3329         * text3.C: #include "RowList.h".
3330
3331 2003-09-05  Angus Leeming  <leeming@lyx.org>
3332
3333         * factory.C (createInset):
3334         * vspace.C (c-tor): replace sscanf call with an istringstream.
3335         * ispell.C: re-add missing HP/UX headers.
3336         * lyxserver.C: re-add missing  os2 headers.
3337
3338 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3339
3340         * BranchList.C:
3341         * graph.C:
3342         * ispell.C:
3343         * lastfiles.C:
3344         * lyx_cb.C:
3345         * lyxserver.C:
3346         * texrow.C:
3347         * text3.C: re-add missing system headers, needed for 2.95.2.
3348
3349 2003-09-05  Angus Leeming  <leeming@lyx.org>
3350
3351         Changes most place everywhere due to the removal of using directives
3352         from support/std_sstream.h.
3353
3354 2003-09-05  Angus Leeming  <leeming@lyx.org>
3355
3356         Replace LString.h with support/std_string.h,
3357         Lsstream.h with support/std_sstream.h,
3358         support/LIstream.h with support/std_istream.h,
3359         support/LOstream.h with support/std_ostream.h.
3360
3361         Changes resulting throughout the tree.
3362
3363 2003-09-05  Angus Leeming  <leeming@lyx.org>
3364
3365         * sgml.h: ensure that the header file can be compiled stand-alone.
3366         * *.C: strip out redundant #includes. (320 in total.)
3367
3368 2003-09-04  Angus Leeming  <leeming@lyx.org>
3369
3370         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3371         here (from getPackages).
3372
3373         * debug.[Ch]: add a new EXTERNAL tag.
3374
3375 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3376
3377         * text2.C (cursorEnd): simplify
3378         (setCursor): adjust
3379         (getColumnNearX): adjust
3380
3381         * text.C (computeBidiTables): adjust
3382         (fill): adjust
3383
3384         * rowpainter.C (paintChars): adjust
3385         (paintSelection): adjust
3386         (paintChangeBar): adjust
3387         (paintText): adjust
3388
3389         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3390         lastPos instead.
3391         (numberOfSeparators): adjust
3392
3393 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3394
3395         * LyXAction.C:
3396         * box.[Ch]:
3397         * lfuns.h:
3398         * lyxfunc.C:
3399         * text3.C: Restricts the mouse click functionality
3400         of insets like bibtex, include, toc and floatlist to the visible
3401         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3402         up the dialogs. Cursor has to be in front of the inset (i.e.
3403         start of row) for this to function.
3404
3405 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3406
3407         * bufferview_funcs.C (currentState): output row information
3408
3409 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3410
3411         * bufferview_funcs.C (currentState): output paragraph position
3412
3413 2003-09-04  Angus Leeming  <leeming@lyx.org>
3414
3415         * FloatList.h: move out #include "Floating.h".
3416         * LaTeX.h: move out #include "DepTable.h".
3417         * LyXAction.h: move out #include "funcrequest.h".
3418         * buffer.h: move out #include "author.h", "iterators.h".
3419         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3420         * lyx_main.h: move out #include "errorlist.h".
3421         * lyxfunc.h: move out #include "FuncStatus.h".
3422         * lyxtext: move out #include "lyxcursor.h".
3423         * paragraph_pimpl.h: move out #include "counters.h".
3424
3425 2003-09-03  Angus Leeming  <leeming@lyx.org>
3426
3427         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3428         preamble_snippets list, enabling us to add snippets to the preamble
3429         only if the snippet was not there already.
3430
3431 2003-09-04  Angus Leeming  <leeming@lyx.org>
3432
3433         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3434
3435 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3436
3437         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3438         update
3439
3440 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3441
3442         * BranchList.C: point fix, earlier forgotten
3443
3444 2003-09-02  Angus Leeming  <leeming@lyx.org>
3445
3446         * box.C (contains): renamed from 'contained' after a fantastic
3447         amount of hot air.
3448
3449 2003-09-02  John Levon  <levon@movementarian.org>
3450
3451         * BufferView.C:
3452         * lyxcursor.h:
3453         * lyxcursor.C:
3454         * lyxfunc.C:
3455         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3456
3457 2003-09-02  John Levon  <levon@movementarian.org>
3458
3459         * text2.C: simplification of cursorEnd(), including partial
3460         fix for bug 1376
3461
3462 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3463
3464         * buffer.C (readFile): add a space
3465
3466 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3467
3468         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3469
3470 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3471
3472         * buffer.C (readFile): new function, take a filename and a
3473         ParagraphList::iterator
3474         (readFile): adjust
3475         (readFile): adjust, make it private. don't use setStream, make
3476         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3477         always contain the filename.
3478
3479         * BufferView.C (insertLyXFile): simplify and make it work for
3480         gzipped files.
3481
3482 2003-08-30  John Levon  <levon@movementarian.org>
3483
3484         * Makefile.am: fix dist (from Kayvan)
3485
3486 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3487
3488         * most files: change to use const Buffer refs
3489
3490 2003-08-27  André Pönitz  <poenitz@gmx.net>
3491
3492         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3493         on top of ownerPar().
3494
3495 2003-08-27  John Levon  <levon@movementarian.org>
3496
3497         * funcrequest.C: properly initialise POD members
3498
3499 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3500
3501         * lyxtext.h (top_y): move top_y from here
3502         * text.C:
3503         * text2.C:
3504         * text3.C:
3505         * BufferView.[Ch]:
3506         * BufferView_pimpl.[Ch]: to here
3507         * frontends/screen.C:
3508         * insets/insettabular.C:
3509         * insets/insettext.C: adjust
3510         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3511
3512 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3513
3514         * BufferView.[Ch]:
3515         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3516
3517 2003-08-26  André Pönitz  <poenitz@gmx.net>
3518
3519         * paragraph_func.[Ch] (outerPar): new function
3520
3521         * paragraph.C:
3522         * paragraph_funcs.C:
3523         * paragraph_funcs.h:
3524         * paragraph_pimpl.C:
3525         * text2.C: remove Inset::par_owner
3526
3527 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3528
3529         * lyxrow_funcs.C:
3530         * lyxtext.h:
3531         * text.C:
3532         * text2.C: eliminates the needFullRow/display() stuff
3533         altogether, putting the logic in metrics/draw in the insets.
3534
3535 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3536
3537         * text2.C (redoParagraphInternal, redoParagraphs):
3538         * text.C (redoParagraph): add a call to updateRowPositions at the
3539         end of each 'metrics-like' call. Remove all others.
3540         (getRow): remove the 'y-computing' version.
3541         (getRowNearY): do not compute nor return the real y. Solve the
3542         'y < 0' problem and simplify.
3543
3544 2003-08-22  Angus Leeming  <leeming@lyx.org>
3545
3546         * *.[Ch]: clean-up of licence and author blurbs.
3547         Also move config.h out of a few .h files and into a few .C files.
3548
3549 2003-08-22  André Pönitz  <poenitz@gmx.net>
3550
3551         * lyxrow.[Ch]: add x_ and *fill_ members
3552
3553         * lyxtext.h:
3554         * text.C:
3555         * rowpainter.C:
3556         * text2.C: adjust/remove prepareToPrint() calls
3557
3558 2003-08-22  André Pönitz  <poenitz@gmx.net>
3559
3560         * lyxrow.[Ch]: add  end_ member
3561
3562         * lyxrow_funcs.C: use LyXRow::end_
3563
3564         * lyxtext.h (singleWidth): add LyXFont parameter
3565
3566         * rowpainter.C:
3567         * text2.C: adjust LyXText::singleWidth() calls
3568
3569         * text.C (redoParagraph): simplify row breaking logic
3570
3571
3572 2003-08-19  André Pönitz  <poenitz@gmx.net>
3573
3574         * funcrequest.C: initialize button_ member
3575
3576         * text3.C:
3577         * rowpainter.[Ch]: interface consolidation
3578
3579 2003-08-18  André Pönitz  <poenitz@gmx.net>
3580
3581         * BufferView.C:
3582         * BufferView_pimpl.C:
3583         * lyxfind.C:
3584         * paragraph_funcs.C:
3585         * rowpainter.C:
3586         * text3.C: remove LyXScreen::draw() and fitCursor calls
3587
3588         * BranchList.h: remove spurious semicolons
3589
3590         * MenuBackend.C: fix branchlist related crash
3591
3592 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3593
3594         * BranchList.[Ch]:
3595         * InsetList.[Ch]:
3596         * LColor.[Ch]:
3597         * LyXAction.C:
3598         * Makefile.am:
3599         * MenuBackend.[Ch]:
3600         * bufferparams.[Ch]:
3601         * factory.C:
3602         * lfuns.h:
3603         * lyxfunc.C:
3604         * text3.C: implements the 'branch inset'
3605         idea. This allows the output of various versions of a document
3606         from a single source version, selectively outputing or suppressing
3607         output of parts of the text.
3608         This implementation contains a 'branch list editor' in a separate
3609         tab of the document settings dialog. Branches are user definable
3610         and have a "display colour" to distinguish them on-screen.
3611
3612         ColorHandler was somewhat cleaned up.
3613         (1) make possible a dynamically growing LColor list by allowing
3614         the graphic context cache to grow along (vector);
3615         (2) eliminate an IMHO unnecessary step in colour allocation.
3616
3617 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3618
3619         * BufferView_pimpl.C: compile fix
3620
3621 2003-08-15  André Pönitz  <poenitz@gmx.net>
3622
3623         * rowpainter.C: remove extra metrics calls
3624
3625         * lyxtext.h: merge the two constructors into a single one,
3626           pass reference to owner's par list
3627
3628         * BufferView_pimpl.C:
3629         * text.C:
3630         * text2.C: adjust
3631
3632 2003-08-15  André Pönitz  <poenitz@gmx.net>
3633
3634         * lyxrow_funcs.[Ch]:
3635         * lyxtext.h:
3636         * paragraph.h:
3637         * paragraph_funcs.C:
3638         * rowpainter.C:
3639         * text.C:
3640         * text2.C:
3641         * text3.C:
3642         * text_funcs.C: split LyXText::rowlist_ into individual
3643         Paragraph::rows_ chunks
3644
3645         * BufferView.[Ch]:
3646         * BufferView_pimpl.[Ch]:
3647         * lyxfind.C:
3648         * lyxtext.h:
3649         * text3.C: remove toggleSelection()
3650
3651 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3652
3653         * bufferlist.C: beautify two alerts (shorter text of buttons)
3654         * buffer.C: Remove redundant ' ' from message
3655         * tabular.h:
3656         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3657         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3658         rename VALIGN_CENTER to VALIGN_MIDDLE
3659
3660 2003-08-11  André Pönitz  <poenitz@gmx.net>
3661
3662         * lyxtext.h (getPar):
3663         * text.C: new function
3664
3665 2003-08-11  André Pönitz  <poenitz@gmx.net>
3666
3667         * Makefile.am:
3668         * tracer.[Ch]: remove unneeded files
3669
3670         * InsetList.[Ch]: remove resizeInsetsLyXText()
3671
3672         * lyxtext.h:
3673         * text.C:
3674         * text2.C:
3675         * text3.C: merge insertParagraphs() and appendParagraph()
3676         remove breakAgain(), update()
3677
3678         * BufferView_pimpl.[Ch]:
3679         * bufferview_funcs.[Ch]:
3680         * lyxfunc.C:
3681         * paragraph.[Ch]:
3682         * rowpainter.C:
3683         * tabular.C: adjust after text & InsetList changes.
3684
3685 2003-08-08  André Pönitz  <poenitz@gmx.net>
3686
3687         * text.C (insertChar, backspace): replace rowlist fiddling
3688         with rebreak of full par
3689
3690         * lyxtext.h:
3691         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3692         checkParagraph, updateInset): removed
3693
3694 2003-08-07  André Pönitz  <poenitz@gmx.net>
3695
3696         * paragraph.C:
3697         * text3.C: merge some LFUN handlers, remove dead code
3698
3699 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3700
3701         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3702
3703 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3704
3705         * text2.C (DEPM): fix part of bug 1255 and 1256
3706
3707 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3708
3709         * BufferView_pimpl.C (workAreaDispatch): change to use
3710         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3711         that are no mouse related.
3712
3713 2003-08-05  André Pönitz  <poenitz@gmx.net>
3714
3715         * BufferView.[Ch]:
3716         * BufferView_pimpl.[Ch]:
3717         * bufferview_funcs.C:
3718         * text2.C:
3719         * text3.C: rip out "deep update"
3720
3721         * textcursor.[Ch] (last_sel_cursor): remove unused member
3722
3723 2003-08-04  André Pönitz  <poenitz@gmx.net>
3724
3725         * BufferView.[Ch]:
3726         * BufferView_pimpl.[Ch]:
3727         * ParagraphParameters.C:
3728         * bufferview_funcs.C:
3729         * lyx_cb.C:
3730         * lyxfind.C:
3731         * lyxfunc.C:
3732         * text.C:
3733         * text2.C:
3734         * text3.C: replace "complicated" BufferView::update(...) calls with
3735         simpler ones.
3736
3737         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3738
3739 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3740
3741         * Makefile.am (lyx_SOURCES): add paper.h
3742
3743 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3744
3745         * Makefile.am: move things around so that both lyx-qt and
3746         lyx-xforms can be built (according to --with-frontend). Then lyx
3747         is a symbolic link to lyx-[firstfrontend]
3748
3749 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3750
3751         * Always use std::endl with lyxerr
3752
3753 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3754
3755         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3756
3757 2003-08-01  André Pönitz  <poenitz@gmx.net>
3758
3759         * BufferView.[Ch]:
3760         * BufferView_pimpl.[Ch]:
3761         * lyxfunc.C:
3762         * text3.C: merge BufferView::repaint() and BufferView::update()
3763
3764 2003-08-01  José Matos  <jamatos@lyx.org>
3765
3766         * buffer.[Ch]: file_format is no longer a buffer data element.
3767
3768 2003-08-01  André Pönitz  <poenitz@gmx.net>
3769
3770         * BufferView.C:
3771         * lyxtext.h:
3772         * text.C:
3773         * text2.C: make redoParagraph more independent of current cursor
3774
3775         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3776         * text.C:
3777         * text2.C: remove unneeded members
3778
3779 2003-07-30  André Pönitz  <poenitz@gmx.net>
3780
3781         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3782
3783         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3784           create a single function...
3785
3786         * paragraph_funcs.C (moveItem): ... here.
3787
3788         * text.C:
3789           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3790
3791 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3792
3793         * LColor.[Ch]: Add comment and greyedout logical colors.
3794
3795 2003-07-30  André Pönitz  <poenitz@gmx.net>
3796
3797         * tabular.C: don't use Assert too heavily. This crashes where it
3798           shouldn't
3799
3800 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3801
3802         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3803         is disabled (bug 1232)
3804
3805 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3806
3807         * factory.C: limited 'arg' scope
3808
3809 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3810
3811         * factory.C: fixed Note submenu issues
3812
3813 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3814
3815         * factory.C: submenu for Note/Comment/Greyedout
3816
3817 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3818
3819         * lyx_main.C (LyX):
3820         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3821
3822 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3823
3824         * LaTeXFeatures.C:
3825         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3826         greyedout. Patch provided by Jürgen Spitzmüller.
3827
3828 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3829
3830         * kbmap.C (read): fix error message when reading bind files
3831
3832 2003-07-29  Angus Leeming  <leeming@lyx.org>
3833
3834         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3835         certainly does not do what it purports to do. I am doing it, and
3836         us, a favour by killing it.
3837
3838 2003-07-28  José Matos  <jamatos@lyx.org>
3839
3840         * buffer.C (readBody, do_writeFile):
3841         * paragraph.C(readParagraph): \end_document replaces \the_end.
3842
3843 2003-07-29  André Pönitz  <poenitz@gmx.net>
3844
3845         * BufferView.[Ch]:
3846         * BufferView_pimpl.[Ch]:
3847         * lyxfunc.C:
3848         * text2.C:
3849         * text3.C:
3850         * textcursor.[Ch]: remove toggleToggle & Co
3851
3852 2003-07-28  José Matos  <jamatos@fep.up.pt>
3853
3854         * buffer.C (readParagraph):
3855         * params_func (readParToken, readParagraph):
3856         * paragraph.C (write): \layout -> \begin_layout.
3857
3858 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3859
3860         * lyxlex_pimpl.C (setFile): clean up slightly.
3861
3862         * bufferparams.h: add compressed var
3863
3864         * buffer_funcs.C (readFile): adjust for LyXLex change
3865         (newFile): ditto + simplify
3866
3867         * buffer.C (writeFile): handle writing of compressed files
3868
3869         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3870         Check if the file is compressed and set a bufferparm if so.
3871
3872         * Makefile.am (lyx_LDADD): remove explicit -lz
3873
3874 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3875
3876         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3877         makeDocBookFile): put the real LyX version in the first line of
3878         the file
3879
3880         * version.h:
3881         * version.C.in: remove lyx_docversion
3882
3883         * tabular.C (write_attribute): add a template-based version to
3884         write enums properly
3885
3886 2003-07-28  André Pönitz  <poenitz@gmx.net>
3887
3888         * lyxtext.h:
3889         * text.C:
3890         * text2.C:
3891         * text3.C: use doubles again for x-coordinates. They are needed.
3892
3893 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3894
3895         * messages.C (getLocaleDir): use lyx_localedir()
3896
3897         * lyxlex_pimpl.C (setFile): compress stuff
3898
3899         * buffer.C (writeFile): add some compression stuff
3900         (do_writeFile): new func, dont call expliti close... will this
3901         breake anything?
3902
3903         * Makefile.am (lyx_LDADD): add -lz
3904
3905 2003-07-28  José Matos  <jamatos@fep.up.pt>
3906
3907         * buffer.C: increment file format.
3908         * paragraph_funcs (readParagraph, readParToken):
3909         * paragraph.C (readParagraph): add \end_layout.
3910
3911 2003-07-27  Angus Leeming  <leeming@lyx.org>
3912
3913         * Makefile.am: remove special casing for configure-time setting of
3914         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3915
3916         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3917         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3918
3919 2003-07-26  André Pönitz  <poenitz@gmx.net>
3920
3921         * paragraph_func.[Ch]:
3922         * paragraph.C (realizeFont): inline it whereever it is used
3923
3924         * rowpainter.C:
3925         * text.C:
3926         * text2.C:
3927         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3928
3929
3930 2003-07-26  André Pönitz  <poenitz@gmx.net>
3931
3932         *       lyxtext.h:
3933         * text.C:
3934         * text2.C: get rid of LyXText::need_break_row
3935
3936 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3937
3938         * toc.[Ch]: put namespace toc inside namespace lyx
3939
3940         * MenuBackend.C (expandToc2): adjust for lyx::toc
3941         (expandToc): ditto
3942
3943         * lyxfunc.C (dispatch): adjust for lyx::find
3944
3945         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3946         lyx::find instead. Reorganize a bit.
3947         (LyXReplace): rename to replace
3948         (LyXFind): rename to find
3949
3950         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3951         (dispatch): ditto
3952
3953 2003-07-26  André Pönitz  <poenitz@gmx.net>
3954
3955         * text.C (setHeightOfRow): restrict scope of temporary variable
3956
3957         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3958           code (never has been used?)
3959
3960 2003-07-27  Asger Alstrup  <alstrup@local>
3961
3962         * text.C (fill): Optimise algorithm to exploit that we can reuse
3963         the LyXFont for many characters.
3964         (setHeightOfRow): Same thing.
3965         (rowBreakPoint): Same thing.
3966
3967 2003-07-26  Asger Alstrup  <alstrup@local>
3968
3969         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3970
3971         * text.C (singleWidth): Spurious font copying in hot-spot
3972         singleWidth avoided. Reorder tests for arabic for efficiency.
3973
3974         * text.C (fill): handle empty paragraphs better.
3975
3976 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3977
3978         * ispell.C:
3979         * encoding.h: add includes
3980
3981         * lyxrc.C: remove reading of bind files
3982
3983         * lyx_main.C (init): setup bindings and menus only if we have a
3984         gui.
3985
3986         * kbmap.C (read): new method. Do the actual reading of bind
3987         files.
3988
3989         * converter.C (dvipdfm_options):
3990         * bufferparams.C:
3991         * lyxrc.C (read):
3992         (output): adapt PAPER_* enums.
3993
3994         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3995
3996         * bufferparams.h: remove paper-related enums from there
3997
3998         * paper.h: New file. A trivial header file to hold paper-related
3999         enums. It should later expand to contain many paper-related
4000         horrors access.
4001
4002         * lyxrc.C: declare extern displayTranslator
4003
4004 2003-07-27  José Matos  <jamatos@fep.up.pt>
4005
4006         * tabular.[Ch] (linuxdoc): add support for tables and figures
4007         (linuxdoc).
4008
4009 2003-07-27  José Matos  <jamatos@fep.up.pt>
4010
4011         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4012         consistency in both functions.
4013         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4014
4015 2003-07-26  Asger Alstrup  <alstrup@local>
4016
4017         * rowpainter.C (paintRows): Change algorithm to work directly on
4018         the insets rather than asking every character in the document
4019         whether its an inset.
4020
4021 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4022
4023         * buffer.C (openFileWrite): factorize some code
4024
4025 2003-07-26  Angus Leeming  <leeming@lyx.org>
4026
4027         * lyx_cb.C:
4028         * lyx_main.[Ch]: replace occurances of system_tempdir with
4029         os::getTmpDir().
4030
4031 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4032
4033         * rename Inset to InsetOld
4034
4035 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4036
4037         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4038         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4039         which I think is a bit clearer. EDIT is gone, since it was
4040         premature optimisation, and broken for mathed anyway.
4041         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4042         with cursor positioning in insets as well (math insets still do not
4043         work, but that's a different story anyway.) It mysteriously
4044         crashes sometimes with undo in the first paragraph, but I'm fairly
4045         confident that this is a compiler bug.
4046
4047 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4048
4049         * paragraph.C (Paragraph): adjust for new clone return type
4050         (operator==): ditto
4051         (copyIntoMinibuffer): ditto
4052
4053 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4054
4055         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4056         by not having a special case, and always doing a full rebreak of
4057         the document after undo.
4058
4059 2003-07-23  Angus Leeming  <leeming@lyx.org>
4060
4061         * factory.C (createInset): InsetExternal::setParams now takes a
4062         Buffer const * arg.
4063
4064 2003-07-23  Angus Leeming  <leeming@lyx.org>
4065
4066         * factory.C (createInset): changed interface to the external and
4067         graphics mailers' string2params functions.
4068
4069 2003-07-23  Angus Leeming  <leeming@lyx.org>
4070
4071         * factory.C (createInset): pass a
4072         Buffer const * parameter to InsetExternalMailer's string2params.
4073
4074 2003-07-22  John Levon  <levon@movementarian.org>
4075
4076         * Thesaurus.h: include the right aiksaurus header
4077
4078 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4079
4080         * MenuBackend.C (expand): check menu shortcuts unconditionally
4081
4082 2003-07-21  Angus Leeming  <leeming@lyx.org>
4083
4084         * factory.C (createInset): pass a
4085         buffer_path parameter to InsetGraphicsMailer's string2params.
4086
4087 2003-07-21  Angus Leeming  <leeming@lyx.org>
4088
4089         * BufferView_pimpl.C (buffer):
4090         * buffer.C (d-tor):
4091         * lyx_main.C (LyX):
4092         * lyxfunc.C (dispatch):
4093         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4094         rather than the grfx shortcut.
4095
4096 2003-07-21  André Pönitz  <poenitz@gmx.net>
4097
4098         * rowpainter.C: remove unused variables
4099
4100         * tabular_funcs.C:
4101         * tabular_funcs.h: move to tabular.C
4102         * Makefile.am: adjust
4103
4104         * tabular.[Ch]: basic optical cleaning
4105
4106         * author.h: pass references, not values
4107
4108 2003-07-18  André Pönitz  <poenitz@gmx.net>
4109
4110         * lyxtext.h:
4111         * metricsinfo.C:
4112         * metricsinfo.h:
4113         * rowpainter.C:
4114         * text.C:
4115         * text2.C:
4116         * text3.C: two-phase drawing for InsetText and InsetTabular
4117         some float -> int changes.
4118
4119 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4120
4121         * lyx_main.C: fix the fix
4122
4123 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4124
4125         * lyx_main.C: fix a crash in batch mode if no files specified
4126         * converter.C: ws
4127
4128 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4129
4130         * format.[Ch] (papersize): moved to BufferParams
4131         * converter.[Ch] (dvips_options): moved to BufferParams
4132         (dvipdfm_options): moved to anon namespace
4133         * bufferparams.[Ch]: added above functions.
4134
4135 2003-07-17  André Pönitz  <poenitz@gmx.net>
4136
4137         * lyxtext.h:
4138         * rowpainter.C:
4139         * text2.C: don't call inset->update() anymore
4140
4141         * metricsinfo.[Ch]: add convenience constructor
4142
4143 2003-07-16  André Pönitz  <poenitz@gmx.net>
4144
4145         * lyxcursor.[Ch]:
4146         * lyxfunc.[Ch]:
4147         * text.C:
4148         * text2.C: replace the LyXCursor::irow_ member with
4149          on-demand computation of the value
4150
4151 2003-07-16  John Levon  <levon@movementarian.org>
4152
4153         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4154
4155 2003-07-15  André Pönitz  <poenitz@gmx.net>
4156
4157         * text.C:
4158         * text2.C: remove no more needed refresh_row
4159
4160 2003-07-15  André Pönitz  <poenitz@gmx.net>
4161
4162         * lyxtext.h:
4163         * rowpainter.C:
4164         * text2.C:
4165         * text3.C: refresh_status tristate -> need_update bool
4166
4167 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4168
4169         * lyxtext.h (init): remove reinit argument (act as if always true)
4170         * text2.C: adjust to that
4171
4172 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4173
4174         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4175         * text3.C: use it to delete selections in some cases
4176         (bugs 441, 673, 702, 954).
4177
4178 2003-07-14  André Pönitz  <poenitz@gmx.net>
4179
4180         * rowpainter.[Ch]: reduce interface
4181
4182 2003-07-14  André Pönitz  <poenitz@gmx.net>
4183
4184         * BufferView_pimpl.C:
4185         * text2.C: adjust after removing unused BufferView * argument
4186
4187 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4188
4189         * text2.C (init): fix a crash fired on resize
4190
4191 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4192
4193         * buffer.[Ch]: added new closing signal
4194         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4195         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4196         BufferView::Pimpl via the closing the signal
4197
4198 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4199
4200         * buffer.[Ch]: take out all bv-related from buffer
4201         * BufferView.C:
4202         * BufferView_pimpl.[Ch]: connect to new signals
4203         * CutAndPaste.C: removed useless asserts
4204         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4205         * lyxvc.[Ch]:
4206         * vc-backend.[Ch]:
4207         * lyxfunc.C: moved view-related funciontality from vc here
4208         * paragraph.C: removed outdated comments
4209         * text.C: ws
4210
4211 2003-07-10  André Pönitz  <poenitz@gmx.net>
4212
4213         * BufferView_pimpl.C:
4214         * tabular.h:
4215         * tabular_funcs.C:
4216         * text.C:
4217         * text2.C: remove InsetText::InnerCache, clean up consequences
4218
4219 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4220
4221         * ispell.C: fix two typos in error messages
4222
4223 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4224
4225         * Extend Note inset to other forms of annotation like Comment
4226         and Greyedout. Right button click gives dialog.
4227
4228         Files modified or added (+):
4229
4230         * insetnote.[Ch]
4231         * FormNote.[Ch]      +
4232         * ControlNote.[Ch]   +
4233         * form_note.fd       +
4234         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4235         frontends/controllers
4236         * xforms/Dialogs.C
4237         * factory.C
4238
4239 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4240
4241         * aspell.C: add missing namespace lyx::support
4242
4243 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4244
4245         * BufferView.[Ch] (newFile): Add
4246         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4247         * LaTeX.[Ch] (message): added this signal and use it
4248         * buffer.[Ch] (busy, message): added these signals and use them
4249         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4250         * converter.C:
4251         * exporter.C:
4252         * format.C:
4253         * importer.C: use buffer signals instead of direct bv calling
4254         * lyx_cb.[Ch] (ShowMessage): removed
4255         * lyx_main.C:
4256         * lyxfunc.C:
4257         * paragraph_funcs.C:
4258         * text2.C: use buffer signals
4259
4260 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4261
4262         * introduce namespace lyx::graphics
4263
4264 2003-07-02  André Pönitz  <poenitz@gmx.net>
4265
4266         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4267
4268 2003-07-01  André Pönitz  <poenitz@gmx.net>
4269
4270         * text.C:
4271         * text2.C:
4272         * text3.C:
4273         * text_funcs.[Ch]:
4274         * textcursor.h:
4275         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4276           text*.C to text_func.C
4277
4278 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4279
4280         * introduce namespace lyx::support
4281
4282 2003-06-30  André Pönitz  <poenitz@gmx.net>
4283
4284         * Chktex.C:
4285         * funcrequest.C:
4286         * lyxtext.h:
4287         * text.C: re-enable --with-included-string
4288
4289 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4290
4291         * textcursor.C: add <config.h>
4292
4293         * text.C (getWord): remove const from word_location arg
4294
4295         * lyxvc.C (getLogFile): fix const type order
4296
4297         * lyxtext.h: remove const from word_location arg, add arg name
4298
4299         * lyxlayout.h: currect type on labeltype.
4300
4301         * importer.C: correct \file
4302
4303         * converter.C (intToFormat): use std:: on ret val, ws changes
4304
4305         * bufferlist.h: correct \file
4306
4307         * buffer.C (makeLinuxDocFile): fix const type order
4308         (makeDocBookFile): ditto
4309         (fillWithBibKeys): use std:: on stdlib args.
4310
4311         * CutAndPaste.C: fix authors.
4312         (availableSelections): use std:: on return vector
4313
4314 2003-06-27  André Pönitz  <poenitz@gmx.net>
4315
4316         * BufferView_pimpl.C:
4317         * bufferview_funcs.C:
4318         * lyxcursor.C:
4319         * lyxcursor.h:
4320         * lyxfunc.C:
4321         * lyxtext.h:
4322         * rowpainter.C:
4323         * text.C:
4324         * text2.C:
4325         * text3.C: remove LyXCursor::row_ member
4326
4327         * lyxtext.h:
4328         * text.C: rename fullRebreak() to partialRebreak() and implement
4329           a fullRebreak() that really bereks fully
4330
4331         * textcursor.h: new struct for cursor-related data
4332
4333 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4334
4335         * lyx_main.C (LyX): get full path of document loaded on the
4336         command line
4337
4338 2003-06-26  André Pönitz  <poenitz@gmx.net>
4339
4340         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4341           remove unused/broken operator>,<,>=.
4342
4343         *       text.C: remove only use of broken operator<= in an Assert().
4344
4345 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4346
4347         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4348         moved errorlist_.clear to showErrorList
4349
4350 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4351
4352         * converter.C (scanLog, runLaTeX):
4353         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4354         move the bv->showErrorList call to the callers
4355         * lyxfunc.C: i.e. here...
4356         * text2.C: and here
4357         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4358         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4359         namespace, the second to...
4360         * buffer_funcs (BufferFormat, parseErrors): added
4361         * errorlist.C (ErrorList(TeXErrors const &)): removed
4362
4363 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4364
4365         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4366
4367 2003-06-24  "Garst R. Reese" <reese@isn.net>
4368
4369         * debug.C: fix typo
4370
4371 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4372
4373         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4374
4375         * version.C.in: change docversion to 1.4
4376
4377 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4378
4379         * buffer.C: fix a bug just introduced
4380
4381 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4382
4383         * buffer.[Ch]: added the parseError signal and use it, removed
4384         sgmlError
4385         * BufferView.[Ch] (addError): moved to ...
4386         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4387         to the Buffer::parseError signal to catch (guess what) parse errors
4388         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4389
4390 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4391
4392         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4393         ability to create a buffer and to return an existing one from
4394         the list. Moved these functions to...
4395         * buffer_funcs.[Ch]: added
4396         * BufferView.[Ch] (loadLyXFile): added
4397         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4398         job removed from bufferlist::loadLyXFile.
4399         * buffer.C (setReadOnly): make it work without view
4400         (i.e added an if (users))
4401
4402 2003-06-19  Angus Leeming  <leeming@lyx.org>
4403
4404         * lfuns.h:
4405         * LyXAction.C (init):
4406         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4407         with LFUN_DIALOG_SHOW <name> <data>.
4408
4409 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4410
4411         * CutAndPaste.C (availableSelections): small compilation fix for
4412         ancient (gcc 2.9x) compilers
4413
4414 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4415
4416         * text3.C (cursorNext): add tmp var
4417
4418         * text2.C (updateCounters): for function calling out of for clause
4419         (replaceSelectionWithString): ditto
4420         (insertStringAsParagraphs): ditto
4421         (getColumnNearX): add tmp var
4422         (setCursorFromCoordinates): add tmp var
4423         (cursorDownParagraph): add tmp var
4424         (deleteEmptyParagraphMechanism): add tmp var
4425
4426         * text.C (insertChar): add tmp var
4427
4428         * rowpainter.C (paintDepthBar): add tmp var
4429
4430         * CutAndPaste.C (availableSelections): potentially check all
4431         paragraphs in a cut to fill the shown strings.
4432
4433 2003-06-18  André Pönitz  <poenitz@gmx.net>
4434
4435         * kbmap.[Ch]: use vector<> instead of list<>
4436
4437 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4438
4439         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4440         pasteSelection with index
4441
4442         * text2.C (pasteSelection): modify, call pasteSelection with index
4443
4444         * paragraph.C (asString): reimplement version with no interval to
4445         call the one with interval.
4446
4447         * lyxtext.h: add index arg to pasteSelection
4448
4449         * MenuBackend.C (MenuItem): handle PasteRecent
4450         (Menu::read::Menutags): add md_pasterecent
4451         (read): handle it
4452         (expandPasteRecent): new function
4453         (expand): use it
4454
4455         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4456
4457         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4458         the limited stack
4459         (availableSelections): new function
4460
4461 2003-06-17  Angus Leeming  <leeming@lyx.org>
4462
4463         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4464
4465 2003-06-17  Angus Leeming  <leeming@lyx.org>
4466
4467         * lfuns.h:
4468         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4469
4470         * lyxfunc.C (dispatch): invoke it.
4471
4472 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4473
4474         * iterators.C (operator++, ParPosition): reintroduce some
4475         const_cast for the benefit of older compilers.
4476
4477 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4478
4479         * text3.C (dispatch): do not modify clipboard when doing
4480         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4481         LFUN_DELETE_SKIP on a selection selection
4482
4483 2003-06-16  André Pönitz  <poenitz@gmx.net>
4484
4485         * BufferView.C:
4486         * buffer.C:
4487         * buffer.h:
4488         * paragraph.C:
4489         * tabular.[Ch]: IU of clone() and getLabelList();
4490
4491 2003-06-13  André Pönitz  <poenitz@gmx.net>
4492
4493         * tabular.h: compactification
4494
4495 2003-06-12  André Pönitz  <poenitz@gmx.net>
4496
4497         * tabular.C:
4498         * tabular.h:
4499         * tabular_funcs.h: some renaming plus whitespace
4500
4501 2003-06-12  André Pönitz  <poenitz@gmx.net>
4502
4503         * BufferView.C:
4504         * BufferView_pimpl.C:
4505         * CutAndPaste.C:
4506         * buffer.C:
4507         * iterators.[Ch]:
4508         * lyxfunc.C:
4509         * text.C:
4510         * toc.C: Return a Paragraph & for ParIterator::operator*()
4511
4512 2003-06-11  John Levon  <levon@movementarian.org>
4513
4514         * lyx_main.C:
4515         * ToolbarBackend.h:
4516         * ToolbarBackend.C: add "Toolbars" section and
4517         put the flags there
4518
4519 2003-06-10  Angus Leeming  <leeming@lyx.org>
4520
4521         * lfuns.h:
4522         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4523
4524         * lyxfunc.C (dispatch): invoke it.
4525
4526 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4527
4528         * main.C: protect <ios> with HAVE_IOS
4529         (main): protect sync_with_stdio with HAVE_IOS
4530
4531 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4532
4533         * text2.C (cutSelection): adjust
4534         (pasteSelection): adjust
4535
4536         * messages.C: handle get of empty string
4537
4538         * main.C (main): use sync_with_stdio(false)
4539
4540         * lyxfunc.C (dispatch): adjust
4541
4542         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4543         (WriteAs): remove unneeded BufferView arg.
4544
4545         * bufferparams.h: use correct types on papersize, papersize2 and
4546         paperpackage.
4547
4548         * bufferparams.C (readToken): adjust for type
4549         (writeLaTeX): add missing cases to switch.
4550
4551         * bufferlist.C (quitWriteBuffer): adjust
4552         (close): adjust
4553
4554         * buffer.C (asciiParagraph): remove some commented code.
4555
4556         * CutAndPaste.C: remove current_view extern variable.
4557         (cutSelection): add BufferParams arg.
4558         (eraseSelection): add BufferParams arg.
4559         (pasteSelection): add Buffer const & arg
4560
4561 2003-06-07  John Levon  <levon@movementarian.org>
4562
4563         * buffer.C:
4564         * paragraph_funcs.C:
4565         * paragraph_pimpl.C:
4566         * text.C:
4567         * text2.C:
4568         * paragraph.h:
4569         * paragraph.C: allow InsetERT to freely space lines,
4570         and some consolidation of code
4571
4572 2003-06-06  José Matos  <jamatos@fep.up.pt>
4573
4574         * buffer.C (makeDocBookFile): fix bug #821
4575
4576 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4577
4578         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4579
4580 2003-06-04  Angus Leeming  <leeming@lyx.org>
4581
4582         * buffer.C: bump format to 224.
4583
4584 2003-06-05  André Pönitz  <poenitz@gmx.net>
4585
4586         * text2.C (redoParagraphs): remove two const_cast<>
4587
4588 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4589
4590         * ParagraphList.h: remove last remnants of NO_STD_LIST
4591
4592 2003-06-03  Angus Leeming  <leeming@lyx.org>
4593
4594         * factory.C (createInset): small change to the way InsetExternal's params
4595         are set.
4596
4597 2003-06-04  André Pönitz  <poenitz@gmx.net>
4598
4599         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4600
4601         * paragraph_pimpl.h:
4602         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4603
4604         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4605
4606         * undo_funcs.C: make some simple cases of undo work again
4607
4608 2003-06-03  John Levon  <levon@movementarian.org>
4609
4610         * ispell.C: HPUX doesn't have sys/select.h
4611         (from Albert Chin)
4612
4613 2003-06-03  John Levon  <levon@movementarian.org>
4614
4615         * CutAndPaste.C: update tabular and include inset
4616         buffer references
4617
4618         * buffer.h:
4619         * paragraph.h:
4620         * paragraph.C: remove owningBuffer(), don't pass Buffer
4621         to clone()
4622
4623         * factory.C: insetGraphicsParams changed
4624
4625 2003-06-02  John Levon  <levon@movementarian.org>
4626
4627         * LyXAction.C:
4628         * factory.C:
4629         * lfuns.h:
4630         * lyxfunc.C:
4631         * text3.C: remove insetparent
4632
4633 2003-06-02  John Levon  <levon@movementarian.org>
4634
4635         * buffer.h:
4636         * buffer.C: fix inset_iterator.end(), move out of line
4637         (bug 1149)
4638
4639 2003-06-01  John Levon  <levon@movementarian.org>
4640
4641         * text3.C: use a proper cut/paste when doing inset
4642         insert (from Jürgen Spitzmüller)
4643
4644 2003-06-01  John Levon  <levon@movementarian.org>
4645
4646         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4647
4648 2003-05-30  André Pönitz  <poenitz@gmx.net>
4649
4650         * rowpainter.C: unify second drawing phase
4651
4652 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4653
4654         * trans_mgr.C: remove one case of current_view
4655
4656         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4657
4658         * paragraph_funcs.h: remove paragraph.h include
4659
4660         * paragraph.h: delete NO_STD_LIST stuff
4661
4662         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4663
4664         * buffer.h: remove paragraph.h include
4665
4666         * ParagraphList.C: delete file
4667
4668         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4669
4670         * toc.C (getTocList): adjust
4671
4672         * paragraph_pimpl.C (validate): adjust
4673
4674         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4675
4676         * paragraph.C (Paragraph): adjust
4677         (getPositionOfInset): use const_iterator, adjust
4678         (bibitem): use const_iterator, adjust
4679         (setInsetOwner): adjust
4680
4681         * iterators.C (operator++): adjust
4682
4683         * InsetList.[Ch]: Replace selfmade iterator with standard
4684         vector::iterator also introduce const_iterator. Remove getPos,
4685         getInset and setInset from InsetTable. Adjust accordingly.
4686
4687         * BufferView.C (lockInset): adjust
4688         (ChangeInsets): adjust
4689
4690         * tabular.[Ch]: delete commented same_id functions
4691
4692 2003-05-28  John Levon  <levon@movementarian.org>
4693
4694         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4695
4696 2003-05-28  André Pönitz  <poenitz@gmx.net>
4697
4698         * metricsinfo.[Ch]: remove 'fullredraw' member
4699
4700 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4701
4702         * lyxtextclass.C (operator): remove caching.
4703
4704 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4705
4706         * text3.C: adjust
4707
4708         * text2.C (cursorBottom): adjust
4709         (setCounter): use ParagraphList::find, adjust
4710
4711         * text.C (workWidth): use ParagraphList::find, adjust
4712
4713         * lyxcursor.C (LyXCursor): adjust
4714
4715         * buffer.C (inset_iterator): adjust
4716
4717         * ParagraphList.h: make iterator(value_type) private, make
4718         ParagraphList a friend of iterator.
4719
4720         * ParagraphList.C (find): new function
4721
4722         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4723
4724 2003-05-27  André Pönitz  <poenitz@gmx.net>
4725
4726         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4727
4728 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4729
4730         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4731
4732 2003-05-26  John Levon  <levon@movementarian.org>
4733
4734         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4735
4736 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4737
4738         * remove same_id from function signatures, adjust.
4739
4740 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4741
4742         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4743
4744         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4745
4746         * paragraph.C (Paragraph): get rid of same_ids parameter
4747
4748         * ParagraphList.C (insert): adjust
4749         (push_back): adjust
4750
4751 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4752
4753         * paragraph_funcs.C (breakParagraph): adjust
4754         (breakParagraphConservative): adjust
4755
4756         * buffer.C (readParagraph): adjust
4757
4758         * ParagraphList.C (insert): take a reference instead of a pointer
4759         (insert): adjust
4760
4761         * paragraph.[Ch] (id): new function
4762
4763         * bufferlist.C (newFile): adjust
4764
4765         * ParagraphList.C (ParagraphList): adjust
4766         (assign): adjust
4767         (push_back): take a reference instead of a pointer.
4768
4769         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4770
4771         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4772         instead.
4773
4774         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4775         set else use old code.
4776
4777         * ParagraphList.C: remove all NO_NEXT code and only compile this
4778         code of NO_STD_LIST is set.
4779
4780 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4781
4782         * BufferView_pimpl.C:
4783         * TextCache.C:
4784         * TextCache.h:
4785         * bufferlist.C:
4786         * errorlist.h:
4787         * format.C:
4788         * format.h:
4789         * graph.C:
4790         * lyxfunc.C:
4791         * lyxrc.C:
4792         * graphics/GraphicsConverter.C:
4793         * graphics/PreviewLoader.C: header adjustment
4794
4795 2003-05-23  Angus Leeming  <leeming@lyx.org>
4796
4797         * LaTeXFeatures.[Ch] (useBabel): new method.
4798         * bufferparams.C (writeLaTeX): use it.
4799
4800 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4801
4802         * ParagraphList.h (set): remove unused function.
4803
4804 2003-05-23  André Pönitz  <poenitz@gmx.net>
4805
4806         * BufferView.C:
4807         * BufferView_pimpl.C:
4808         * buffer.C:
4809         * buffer.h:
4810         * lyxfunc.C:
4811         * undo_funcs.C: setUndo reworked
4812
4813         * iterators.[Ch]: add access to topmost ParagraphList
4814
4815         * lyxtext.[Ch] (workWidth): add a const
4816
4817 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4818
4819         * texrow.[Ch] (increasePos): remove function
4820         * exporter.C (export): removed unused var and outdated comment
4821
4822 2003-05-23  Angus Leeming  <leeming@lyx.org>
4823
4824         * latexrunparams.h: rename fragile as moving_arg.
4825         * paragraph.C (simpleTeXOnePar): ditto.
4826         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4827
4828 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4829
4830         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4831         (createUndo): ditto
4832         (textUndoOrRedo): comment out a currently unused var.
4833
4834         * paragraph.h (NO_NEXT): enable NO_NEXT
4835
4836         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4837
4838         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4839
4840         * exporter.C (Export): adjust for removeAutoInsets removal.
4841
4842         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4843
4844         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4845
4846         * BufferView.[Ch] (removeAutoInsets): delete function
4847
4848 2003-05-22  Angus Leeming  <leeming@lyx.org>
4849
4850         * latexrunparams.h: add a free_spacing variable.
4851
4852         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4853         to pass moving_arg, as the data is stored in runparams.fragile.
4854
4855         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4856         to Inset::latexOptional or to simpleTeXOnePar.
4857
4858         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4859         free_spacing arg to Inset::latexOptional.
4860
4861         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4862         free_spacing arg.
4863
4864 2003-05-22  Angus Leeming  <leeming@lyx.org>
4865
4866         * latexrunparams.h: add fragile and use_babel variables.
4867
4868         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4869         * buffer.C (makeLaTeXFile): store this returned value in
4870         runparams.use_babel, thus passing it to the inset::latex methods.
4871
4872         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4873         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4874
4875         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4876         longer has a fragile arg, as it is stored in runparams.fragile.
4877
4878         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4879         moving_arg parameter as the data is stored in runparams.fragile.
4880
4881         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4882         a fragile parameter as the data is stored in runparams.fragile.
4883
4884 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4885
4886         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4887
4888 2003-05-22  Angus Leeming  <leeming@lyx.org>
4889
4890         * latexrunparams.h: add a 'bool nice' which defaults to false.
4891
4892         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4893         now encapsulated within runparams.
4894
4895         * bufferlist.C (updateIncludedTeXfiles):
4896         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4897
4898 2003-05-22  Angus Leeming  <leeming@lyx.org>
4899
4900         * latexrunparams.h: new file containing struct LatexRunParams.
4901         * Makefile.am: add new file.
4902
4903         * LaTeX.[Ch] (c-tor, run):
4904         * buffer.[Ch] (makeLaTeXFile):
4905         * bufferlist.[Ch] (updateIncludedTeXfiles):
4906         * converter.C (convert, scanLog):
4907         * converter.[Ch] (runLaTeX):
4908         * exporter.C (Export):
4909         * paragraph.[Ch] (simpleTeXOnePar):
4910         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4911         * paragraph_funcs.[Ch] (latexParagraphs):
4912         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4913         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4914         pass around a LatexRunParams parameter.
4915
4916 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4917
4918         * paragraph.[Ch]: remove unused constructor
4919
4920         * ParagraphList.C (erase): new function, taking two iterators
4921
4922 2003-05-22  André Pönitz  <poenitz@gmx.net>
4923
4924         * undo_funcs.C: remove duplicated code
4925
4926         * iterator.[Ch]: operator=
4927
4928 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4929
4930         * tabular.C (SetMultiColumn): ws changes
4931
4932         * rowpainter.C (paintFirst): get rid of a ->previous
4933
4934         * lyx_cb.C (getPossibleLabel): parlist simplification
4935
4936         * BufferView.C (ChangeInsets): simplify slightly.
4937
4938 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4939
4940         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4941         * lfuns.h: new LFUN_SPACE
4942         * lyxfunc.C: protected space has a new lfun
4943         * paragraph_funcs.C: read new space insets
4944         * text3.C:
4945         * factory.C: handle new space insets
4946
4947 2003-05-22  André Pönitz  <poenitz@gmx.net>
4948
4949         * BufferView.C:
4950         * BufferView_pimpl.C:
4951         * buffer.[Ch]:
4952         * lyxfunc.C:
4953         * undo_funcs.C: return a ParIterator from getParFromID.
4954
4955         * iterators.[Ch]: add two const's
4956
4957 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4958
4959         * toc.C (getTocList): adjust
4960
4961         * iterators.[Ch]: rework for parlist
4962
4963         * buffer.C (par_iterator_begin): adjust
4964         (par_iterator_end): adjust
4965
4966         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4967
4968         * BufferView.C (removeAutoInsets): adjust
4969         (ChangeInsets): adjust
4970
4971 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4972
4973         * text.C (top_y): fix bug 1110
4974
4975 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4976
4977         * errorlist.[Ch]: added
4978         * buffer.C:
4979         * BufferView.[Ch]:
4980         * BufferView_pimpl.C:
4981         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4982         instead
4983
4984 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4985
4986         * Makefile.am: ensure that lyx is relinked upon changes to the
4987         various "convenience" libs.
4988
4989 2003-05-20  Angus Leeming  <leeming@lyx.org>
4990
4991         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4992         files are compiled in alphabetical order again.
4993
4994         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4995
4996 2003-05-19  Angus Leeming  <leeming@lyx.org>
4997
4998         * gettext.[Ch]: remove "char const * _(char const *)".
4999
5000 2003-05-19  André Pönitz  <poenitz@gmx.net>
5001
5002         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5003
5004         * Makefile.am:
5005         * BufferView.C:
5006         * DepTable.h:
5007         * LaTeXFeatures.C:
5008         * buffer.C:
5009         * lyxfont.C:
5010         * lyxlex.h:
5011         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5012
5013 2003-05-19  André Pönitz  <poenitz@gmx.net>
5014
5015         * buffer.C:
5016         * lyxlayout.[Ch]:
5017         * lyxtextclass.[Ch]:
5018         * paragraph.C:
5019         * paragraph_funcs.[Ch]:
5020         * text2.C:
5021         * text3.C: more insetenv work
5022
5023 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5024
5025         * ParagraphParameters.C (params2string): small bug fixed
5026
5027 2003-05-16  André Pönitz  <poenitz@gmx.net>
5028
5029         * debug.C:
5030         * bufferview_funcs.C: patch from Kornel Benko to prevent
5031           crash when _(...) is called twice in a statement
5032
5033 2003-05-16  André Pönitz  <poenitz@gmx.net>
5034
5035         * BufferView.C:
5036         * lyxfunc.C:
5037         * text.C:
5038         * text2.C:
5039         * text3.C:
5040         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5041
5042 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5043
5044         * lyx_main.C (init): remove spurious static_cast
5045
5046 2003-05-14  André Pönitz  <poenitz@gmx.net>
5047
5048         * BufferView.C: fix format string
5049
5050 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5051
5052         * BufferView.[Ch] (insertErrors): removed
5053         * BufferView.[Ch] (showErrorList): added
5054         * buffer.C (runChkTeX):
5055         * converter.C (scanLog): call showErrorList instead of inserterrors
5056
5057 2003-05-13  André Pönitz  <poenitz@gmx.net>
5058
5059         * BufferView_pimpl.C:
5060         * buffer.C:
5061         * bufferview_func.C:
5062         * MenuBackend.C:
5063         * lyxfunc.C:
5064         * lyxrc.C:
5065         * tex-accent.C:
5066         * text3.C:
5067         * toc.C:
5068         * tabular_funcs.h: tostr() from its own header
5069
5070         * ParagraphParameters.C:
5071         * ToolbarBackend.C:
5072         * bufferparams.C:
5073         * format.C:
5074         * lyxlex_pimpl.C:
5075         * text3.C: STRCONV()
5076
5077 2003-05-12  André Pönitz  <poenitz@gmx.net>
5078
5079         * BufferView.C:
5080         * BufferView_pimpl.C:
5081         * CutAndPaste.C:
5082         * LaTeX.C:
5083         * LaTeXFeatures.C:
5084         * ParagraphParameters.C:
5085         * buffer.C:
5086         * bufferlist.C:
5087         * bufferparams.C:
5088         * bufferview_funcs.C:
5089         * converter.C:
5090         * counters.C:
5091         * debug.C:
5092         * exporter.C:
5093         * format.C:
5094         * importer.C:
5095         * lyx_cb.C:
5096         * lyx_main.C:
5097         * lyxfont.C:
5098         * lyxfunc.C:
5099         * lyxvc.C:
5100         * paragraph.C:
5101         * paragraph_funcs.C:
5102         * tabular.C:
5103         * tabular_funcs.C:
5104         * text2.C:
5105         * text3.C:  boost::format -> bformat  all over the place
5106
5107
5108 2003-05-09  André Pönitz  <poenitz@gmx.net>
5109
5110         * LColor.[Ch]: Pimpl the #include <map> away
5111
5112 2003-05-09  John Levon  <levon@movementarian.org>
5113
5114         * bufferlist.C: never remove emergency saves
5115
5116 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5117
5118         * Makefile.am: better lib building
5119
5120 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5121
5122         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5123         instead.
5124         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5125         (simpleTeXSpecialChars): adjust
5126         (simpleTeXSpecialChars): adjust
5127         * paragraph.C (simpleTeXOnePar): adjust
5128         * buffer.C (makeLaTeXFile): adjust
5129
5130         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5131
5132         * text2.C (changeDepth): parlist cleanup
5133         (getColumnNearX): ditto
5134
5135         * rowpainter.C (getLabelFont): parlist cleanup
5136
5137         * bufferlist.C (newFile): parlist cleanup
5138
5139         * CutAndPaste.C (eraseSelection): parlist cleanup
5140
5141         * BufferView_pimpl.C (trackChanges): parlist cleanup
5142         (dispatch): ditto
5143
5144         * BufferView.C (lockInset): parlist cleanup.
5145         (ChangeInsets): ditto
5146
5147 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5148
5149         * CutAndPaste.h: Update file header.
5150
5151         * CutAndPaste.C: Update file header.
5152         Store the parts cut out of the Document in a limited_stack.
5153         (copySelection): adjust
5154         (pasteSelection): new function, takes the index in the limited stack.
5155         (nrOfParagraphs): adjust
5156         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5157         simplify error inset insertion.
5158         (checkPastePossible): adjust
5159
5160 2003-05-06  John Levon  <levon@movementarian.org>
5161
5162         * text2.C: don't cast wrap inset to float
5163
5164 2003-05-05  André Pönitz  <poenitz@gmx.net>
5165
5166         * iterator.C:
5167         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5168
5169         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5170           few naked Paragraph *.
5171
5172 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5173
5174         * bufferparams.C: Output warning if a document with missing
5175         TeX document class is loaded
5176         * exporter.C: Disable TeX exports if the document class is missing
5177         * lyxtextclass.C:
5178         * lyxtextclass.h:
5179         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5180         isTeXClassAvailable()
5181
5182 2003-05-03  John Levon  <levon@movementarian.org>
5183
5184         * BufferView.h:
5185         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5186         explicit cursor show/hide
5187
5188         * BufferView_pimpl.h:
5189         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5190         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5191
5192         * lyxfunc.C: hide cursor before dispatching.
5193
5194         * lyx_cb.C:
5195         * lyxfind.C:
5196         * text.C:
5197         * text3.C: remove explicit cursor hides
5198
5199 2003-05-02  André Pönitz  <poenitz@gmx.net>
5200
5201         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5202
5203         * undo_funcs.C:
5204         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5205           linked lists
5206
5207         * text2.C: tiny whitespace
5208
5209 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5210
5211         * undo_funcs.C: almost only ws changes.
5212
5213         * ParagraphList.C (splice): just return if pl is empty.
5214
5215 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5216
5217         * ParagraphList.C (splice): new function.
5218
5219         * CutAndPaste.C (pasteSelection): use it
5220
5221 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5222
5223         * CutAndPaste.C (pasteSelection): remove the last next and
5224         previous from this file.
5225
5226 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5227
5228         * CutAndPaste.C (pasteSelection): more clean up, user proper
5229         ParagraphList functions for pasteing.
5230
5231         * ParagraphList.C (insert): new function, three arg insert
5232
5233 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5234
5235         * ParagraphList.C (insert): new function, three arg insert
5236
5237         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5238         not on paragraphs.
5239
5240 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5241
5242         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5243
5244 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5245
5246         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5247
5248 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5249
5250         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5251         (copySelection): clean up a bit.
5252         (pasteSelection): use make_pair
5253
5254         * ParagraphList.C (ParagraphList): implement copy constructor
5255         (operator=): implement, base on copy constructor.
5256         (assign): new func
5257
5258         * paragraph.C (erase): return a bool
5259
5260         * paragraph_pimpl.C (erasePos): remove function, move contents...
5261         (erase): ... here. Return a bool.
5262         (erase): call erase instead of erasePos.
5263
5264 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5265
5266         * ParagraphList.h: define PitPosPair
5267         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5268         ParagraphList, fix a bug on pasting multiple pars
5269         * text2.C: change interface to C&P
5270
5271 2003-04-30  André Pönitz  <poenitz@gmx.net>
5272
5273         * undo_func.C: revert part of yesterday's patch 2
5274
5275 2003-04-30  John Levon  <levon@movementarian.org>
5276
5277         * LColor.C: s/tabular/table/
5278
5279 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5280
5281         * text3.C (dispatch): do not convert iterator -> pointer
5282         * undo_funcs.C (setCursorParUndo): ditto
5283         * text_funcs.C (transposeChars): ditto
5284
5285         * text2.C (setLayout): ws changes only
5286
5287         * text.C (breakParagraph): do not convert iterator -> pointer
5288         (insertChar): ditto
5289         (acceptChange): ditto
5290         (rejectChange): ditto
5291         (changeCase): ditto
5292         (Delete): ditto
5293         (backspace): ditto
5294
5295         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5296         pointer
5297
5298 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5299
5300         * text3.C (gotoInset): YABG (yet another bad getChar)
5301
5302 2003-04-29  André Pönitz  <poenitz@gmx.net>
5303
5304         * paragraph.h: make operator= private unimplemented as long as
5305           it is unusable
5306
5307         * ParagraphList.C: whitespace
5308
5309         * paragraph.[Ch]:
5310         * paragraph_pimpl.[Ch]:
5311         * paragraph_funcs.C:
5312         * CutAndPaste.C:
5313         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5314
5315         * text2.C:
5316           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5317
5318 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5319
5320         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5321         * paragraph.[Ch] (erase):
5322         * paragraph_pimpl.[Ch] (erase): change return type and value
5323         * text2.C (cutSelection): some rework
5324
5325 2003-04-28  John Levon  <levon@movementarian.org>
5326
5327         * bufferlist.C: changes for unsaved changes dialog
5328
5329 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5330
5331         * bufferlist.C (newFile): set language (messages_) for new
5332         documents also.
5333
5334         * buffer.C (readFile): ws changes only.
5335
5336 2003-04-28  André Pönitz  <poenitz@gmx.net>
5337
5338         * undo_funcs.C:
5339         * lyxfunc.C:
5340         * buffer.[Ch]:
5341         * BufferView_pimpl.C:
5342         * BufferView.C: getParFromID related ParagraphList::iterator changes
5343
5344 2003-04-28  André Pönitz  <poenitz@gmx.net>
5345
5346         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5347           Changes
5348
5349 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5350
5351         * messages.C: remove one more localedir class variable.
5352
5353 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5354
5355         * messages.C (getLocaleDir): singleton generation function
5356         (Pimpl): use it.
5357         (Messages): add a default constructor.
5358
5359         * main.C (main): do not setup localedir here, do not call
5360         gettext_init.
5361
5362         * gettext.C (_): use it.
5363         (gettext_init): delete funciton
5364
5365 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5366
5367         * gettext.C (getLyXMessages): new singleton generating function.
5368
5369         * buffer.C (updateDocLang): adjust
5370
5371         * Makefile.am (messages.o): add target
5372         (main.o): remove target
5373
5374 2003-04-27  John Levon  <levon@movementarian.org>
5375
5376         * bufferlist.C:
5377         * lyx_cb.C:
5378         * lyxfunc.C:
5379         * lyxvc.C: specify cancel button in Alert::prompt
5380
5381 2003-04-26  John Levon  <levon@movementarian.org>
5382
5383         * text3.C:
5384         * lyxfunc.C:
5385         * lfuns.h:
5386         * LyXAction.C: add LFUN_INSET_SETTINGS
5387
5388         * lyxfunc.C: don't enable tabular-feature when there's
5389         just any locking inset
5390
5391 2003-04-26  John Levon  <levon@movementarian.org>
5392
5393         * bufferlist.C: re-add Cancel to buffer close question
5394
5395         * lyxfunc.C: fix import UI a bit
5396
5397 2003-04-25  John Levon  <levon@movementarian.org>
5398
5399         * gettext.C: remove the broken asserts for now
5400
5401 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5402
5403         * messages.C: make case where setlocale cannot comply work better.
5404
5405         * buffer.C (updateDocLang): new function
5406         (changeLanguage): use it
5407         (readFile): use it
5408
5409         * text2.C (setCounter): use B_ a bit.
5410
5411         * lyxlayout.C (Read): be sure to trim the label strings.
5412
5413         * messages.C (Messages): fix typo in comment
5414
5415         * buffer.C (readFile): set message_ after file is loaded.
5416         (makeDocBookFile): remove double return
5417         (changeLanguage): reset message_ upon language change.
5418         (B_): new func, use this to get translated buffer strings.
5419
5420         * main.C: add myself and Jean Marc as authors.
5421
5422 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5423
5424         * messages.[hC]: pimplify Messages, and three different pimpls to be
5425         used in different circumstances.
5426
5427         * gettext.[Ch]: change for use with new message code.
5428
5429 2003-04-24 André Pönitz <poenitz@gmx.net>
5430
5431         * factory.C: support for eqref
5432
5433 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5434
5435         * messages.[Ch]: add missing char
5436
5437         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5438
5439         * messages.[Ch]: New files
5440
5441 2003-04-18  John Levon  <levon@movementarian.org>
5442
5443         * BufferView.h:
5444         * BufferView.C:
5445         * BufferView_pimpl.C:
5446         * lfuns.h:
5447         * LyXAction.C:
5448         * lyxtext.h:
5449         * text2.C: remove layout-copy/paste (bug 778)
5450
5451 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5452
5453         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5454
5455 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5456
5457         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5458         if they succeed. Act accordingly.
5459
5460 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5461
5462         * text2.C (setCharFont): adjust
5463         (setCounter): adjust
5464         (insertStringAsLines): adjust
5465
5466         * text.C (leftMargin): adjust
5467         (setHeightOfRow): adjust
5468
5469         * rowpainter.C (paintFirst): adjust
5470         (paintLast): adjust
5471
5472         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5473         (outerHook): ditto
5474         (isFirstInSequence): ditto
5475         (getEndLabel): ditto
5476         (outerFont): adjust
5477
5478         * paragraph.C (getParLanguage): comment out some hard stuff.
5479
5480         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5481         (sgmlError): ditto
5482         (simpleDocBookOnePar): ditto
5483         (makeDocBookFile): use ParagraphList::iterator
5484
5485         * CutAndPaste.C (pasteSelection): adjust
5486
5487 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5488
5489         * text2.C (getFont): adjust
5490         (getLayoutFont): adjust
5491         (getLabelFont): adjust
5492
5493         * paragraph_funcs.C (TeXOnePar): adjust
5494
5495         * buffer.C (simpleLinuxDocOnePar): adjust
5496         (simpleDocBookOnePar): adjust
5497
5498         * CutAndPaste.C (pasteSelection): adjust
5499
5500         * BufferView.C (getEncoding): adjust
5501
5502         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5503
5504 2003-04-16  John Levon  <levon@movementarian.org>
5505
5506         * lyxfind.C: use parlist stuff for search/changes
5507
5508 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5509
5510         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5511
5512         * text2.C (deleteEmptyParagraphMechanism): adjust
5513
5514         * text2.[Ch] (ownerParagraph): delete func (both of them
5515
5516 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5517
5518         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5519
5520 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5521
5522         * ParagraphList.C: prepare for NO_NEXT
5523
5524 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5525
5526         * text2.C (getFont): adjust
5527         (getLayoutFont): adjust
5528         (getLabelFont): adjust
5529
5530         * paragraph.C (getFont): adjust
5531         (getLabelFont): adjust
5532         (getLayoutFont): adjust
5533
5534         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5535
5536 2003-04-15  John Levon  <levon@movementarian.org>
5537
5538         From Angus Leeming
5539
5540         * lyx_main.C: handle Include in .ui files
5541
5542 2003-04-15  John Levon  <levon@movementarian.org>
5543
5544         * MenuBackend.C: make the doc files length shorter
5545
5546         * ToolbarBackend.h:
5547         * ToolbarBackend.C: handle toolbar placement flags,
5548         Minibuffer
5549
5550 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5551
5552         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5553         adjust
5554
5555         * paragraph_funcs.C (TeXOnePar): adjust
5556
5557         * paragraph.C (getLabelFont): add outerfont arg, adjust
5558         (getLayoutFont): ditto
5559         (simpleTeXOnePar): adjust
5560
5561         * paragraph_pimpl.C (realizeFont): delete func
5562
5563 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5564
5565         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5566         row argument, constify cur argument.
5567
5568 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5569
5570         * text2.C (getFont): adjust
5571         (getLayoutFont): adjust
5572         (getLabelFont): adjust
5573
5574         * paragraph_funcs.C (TeXOnePar): adjust
5575         (outerFont): new func...
5576         (realizeFont): ...moved out from here, changed this to facilitate
5577         transition
5578
5579         * paragraph.C (getFont): take outerfont as arg, adjust
5580         (simpleTeXOnePar): add outerfont arg, adjust
5581
5582         * buffer.C (simpleLinuxDocOnePar): adjust
5583         (simpleDocBookOnePar): adjust
5584
5585         * CutAndPaste.C (pasteSelection): adjust
5586
5587         * BufferView.C (getEncoding): adjust
5588
5589 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5590
5591         * text2.C (setCharFont): adjust
5592         (setCounter): adjust
5593
5594         * text.C (leftMargin): adjust
5595         (setHeightOfRow): adjust
5596
5597         * rowpainter.C (paintFirst): adjust
5598         (paintLast): adjust
5599
5600         * paragraph_pimpl.C (realizeFont): adjust
5601
5602         * paragraph.C (isFirstInSequence): move from here...
5603         * paragraph_funcs.C (isFirstInSequence): ...to here
5604
5605         * paragraph.C (outerHook): move from here...
5606         * paragraph_funcs.C (outerHook): ...to here
5607
5608         * paragraph.C (depthHook): move from here...
5609         * paragraph_funcs.C (depthHook): ...to here
5610
5611         * paragraph.C (getEndLabel): move from here...
5612         * paragraph_funcs.C (getEndLabel): ...to here
5613
5614         * text2.C (realizeFont): move from here...
5615         * paragraph_funcs.C (realizeFont): ...to here
5616
5617 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5618
5619         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5620
5621 2003-04-14  Angus Leeming  <leeming@lyx.org>
5622
5623         * LColor.[Ch]: scrap LColor mathcursor.
5624
5625 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5626
5627         * lyxlex.[Ch] (text): delete function
5628         * trans.C (Load): adjust
5629         * paragraph_funcs.C (readParToken): adjust
5630
5631 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5632
5633         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5634         vector<char> instead of a char[].
5635
5636         * lyxlex_pimpl.C (getString): adjust
5637         (next): adjust
5638         (lex): use getString
5639         (eatLine): adjust
5640         (nextToken): adjust
5641
5642         * lyxlex.C (text): use pimpl_->getString()
5643         (getBool): ditto
5644         (findToken): ditto
5645
5646 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5647
5648         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5649         (makeFontEntriesLayoutSpecific): temp var for par.size()
5650         (setLayout): temp var for ownerParagraphs().end()
5651         (fullRebreak): temp var for rows().end()
5652         (selectionAsString): temp var for boost::next(startpit), realize
5653         that the while really is a regular for loop.
5654         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5655         setCursor in one place.
5656         (setParagraph): temp vr for ownerParagraphs().end()
5657         (updateCounters): make the while loop a for loop
5658         (cutSelection): temp var for ownerParagraphs().end()
5659         (updateInset): make the do {} while() a regular for loop
5660         (getCursorX): use temp vars
5661         (setCurrentFont): use temp vars
5662         (getColumnNearX): use temp vars
5663
5664 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5665
5666         * text.C (transformChar): use temp var for getChar
5667         (computeBidiTables): use temp var for row->par()
5668         (fill): move temp vars for row->par() and pit->layout() earlier in
5669         the function.
5670         (labelFill): use temp var for row->par()
5671         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5672         asc and desc, realize that pit never changes and that firstpit is
5673         just a duplicate and not needed. Exchange rit->par() with pit in a
5674         lot of places.
5675         (breakAgain): use a temp var for boost::next(rit)
5676         (breakAgainOneRow): ditto
5677         (breakParagraph): use a temp var for rows().begin()
5678         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5679         (cursorRightOneWord): use temp var for cursor.par() and
5680         cursor.pos(), remove usage of tmpcursor.
5681         (cursorLeftOneWord): use temp var for cursor.par() and
5682         cursor.pos() only set cur at end of function.
5683
5684 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5685
5686         * text.C, text2.C: exchange all usage of Paragraph::next with
5687         boost::next(ParagraphList::iterator)
5688
5689         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5690
5691         * text2.C (cursorTop): simplify implementation
5692         (cursorBottom): ditto
5693         (setParagraph): use ParagraphList::iterator
5694         (setCurrentFont): adjust
5695         (getColumnNearX): adjust
5696         (cursorRight): adjust
5697         (cursorLeft): remove usage of Paragraph::previous
5698         (cursorUpParagraph): ditto
5699         (deleteEmptyParagraphMechanism): slight cleanup
5700
5701         * text.C (isBoundary): take a Paragraph const & instead of a
5702         pointer as arg.
5703         (addressBreakPoint): ditto
5704         (leftMargin): remove usage of Paragraph::previous.
5705         (setHeightOfRow): ditto
5706         (cursorLeftOneWord): ditto
5707         (selectNextWordToSpellcheck): ditto
5708         (Delete): ditto
5709         (backspace): ditto
5710         (breakParagraph): remove one usage of Paragraph::next
5711         (redoParagraph): ditto
5712         (acceptChange): ditto
5713         (insertChar): adjust
5714         (rowBreakPoint): adjust
5715
5716         * bufferview_funcs.C (toggleAndShow): adjust
5717
5718 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5719
5720         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5721         methods to access it.
5722         * lyxtext.h:
5723         * text.C: Added updateRowPositions to compute all row positions.
5724         Make top_y and getRowNearY() to use the cached y position
5725
5726 2003-04-11  John Levon  <levon@movementarian.org>
5727
5728         * text.C (rowBreakPoint): reintroduce the labelEnd
5729         checks, code copied from the row fill stuff. Deep voodoo.
5730
5731         * text.C (fill): add a comment and debugging for the
5732         next poor soul.
5733
5734 2003-04-11  John Levon  <levon@movementarian.org>
5735
5736         * text.C: make sure fullrow insets get wrapped to the next line,
5737         even when they're in a manual label
5738
5739 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5740
5741         * text2.C (insertParagraph): make it take ParagraphList::iterator
5742         as arg.
5743         (setLayout): make it return ParagraphList::iterator
5744         (redoParagraphs): ditto
5745         (setCounter): ditto
5746         (checkParagraph): ditto
5747
5748         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5749
5750         * text2.C: adjust several funcs.
5751         (realizeFont): take a ParagraphList::iterator as arg.
5752         (getLayoutFont): ditto
5753         (getLabelFont): ditto
5754         (setCharFont): ditto
5755
5756         * text.C: adjust several funcs.
5757
5758 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5759
5760         * text.C (selectNextWordToSpellcheck): don't accidentally
5761         skip insets
5762
5763 2003-04-10  John Levon  <levon@movementarian.org>
5764
5765         * ToolbarBackend.C (getIcon): special handling for
5766         LFUN_MATH_DELIM
5767
5768 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5769
5770         * text2.C (cursorRight): a getChar assert fixed
5771
5772 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5773
5774         * text2.C (getFont): change to take a ParagraphList::iterator
5775         instead of Paragraph*
5776         Adjust several functions.
5777
5778         * text.C (transformChar): change to take a ParagraphList::iterator
5779         instead of Paragraph*
5780         (singleWidth): ditto
5781         Adjust several functions.
5782
5783         * rowpainter.C: adjust several functions
5784         * rowpainter.h:store a ParagraphList::iterator and not a
5785         Paragraph&.
5786
5787
5788 2003-04-09  John Levon  <levon@movementarian.org>
5789
5790         * lyxfunc.C:
5791         * lfuns.h:
5792         * LyXAction.h:
5793         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5794         and the "help" bits as well
5795
5796 2003-04-09  John Levon  <levon@movementarian.org>
5797
5798         * ToolbarBackend.h:
5799         * ToolbarBackend.C: allow multiple toolbars
5800
5801 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5802
5803         * undo_funcs.C (setCursorParUndo): adjust
5804
5805         * text_funcs.C (transposeChars): adjust
5806
5807         * text3.C (gotoNextInset): adjust
5808         (dispatch): adjust
5809
5810         * text2.C (setLayout): adjust
5811         (changeDepth): adjust
5812         (setFont): adjust
5813         (redoParagraphs): adjust
5814         (selectionAsString): adjust
5815         (setParagraph): adjust
5816         (insertInset): adjust
5817         (cutSelection): adjust
5818         (copySelection): adjust
5819         (pasteSelection): adjust
5820         (insertStringAsLines): adjust
5821         (updateInset): adjust
5822         (setCursor): change to take a ParagraphList::iterator parameter
5823         (setCursorIntern): change to take a ParagraphList::iterator parameter
5824         (setCurrentFont): adjust
5825         (cursorLeft): adjust
5826         (cursorRight): adjust
5827         (deleteEmptyParagraphMechanism): adjust
5828
5829         * text.C (breakParagraph): adjust
5830         (insertChar): adjust
5831         (acceptChange): adjust
5832         (rejectChange): adjust
5833         (selectNextWordToSpellcheck): adjust
5834         (changeCase): adjust
5835         (Delete): adjust
5836         (backspace): adjust
5837
5838         * lyxfind.C (SearchForward): adjust
5839         (SearchBackward): adjust
5840         (nextChange): adjust
5841
5842         * lyxcursor.C (par): adjust
5843
5844         * lyxcursor.h: store a ParagraphList::iterator instead of a
5845         Paragraph*
5846
5847         * lyx_cb.C (getPossibleLabel): adjust
5848
5849         * bufferview_funcs.C (toggleAndShow): adjust
5850
5851         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5852         (dispatch): adjust
5853
5854         * BufferView.C (removeAutoInsets): adjust
5855         (lockedInsetStoreUndo): adjust
5856
5857 2003-04-09  John Levon  <levon@movementarian.org>
5858
5859         * ToolbarBackend.C: try icon without argument
5860         if with argument fails
5861
5862 2003-04-08  John Levon  <levon@movementarian.org>
5863
5864         * ToolbarBackend.h:
5865         * ToolbarBackend.C: add getIcon(), handle tooltip,
5866         and change from "Icon" to "Item".
5867
5868 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5869
5870         * BufferView.C (lockInset): another bad getchar crunched
5871
5872 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5873
5874         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5875         again)
5876
5877 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5878
5879         * lyxfind.C (searchForward, searchBackwards): bug 782
5880
5881 2003-04-07  John Levon  <levon@movementarian.org>
5882
5883         * paragraph.C: remove dead comment
5884
5885         * text.C: remove troublesome depth-fiddling code
5886         in leftMargin() and rightMargin() (bug 1017)
5887
5888         * text.C: fix breaking of rows in nested lists
5889         (bug 1004)
5890
5891         * text2.C (updateCounters): fix up depth values
5892         (bug 1013)
5893
5894 2003-04-07  John Levon  <levon@movementarian.org>
5895
5896         * BufferView_pimpl.C: clear message when doc finishes resizing,
5897         and after a mouse event
5898
5899         * lyxfunc.C: clear message after exiting inset
5900
5901 2003-04-07  John Levon  <levon@movementarian.org>
5902
5903         * bufferview_funcs.C: show math status not outside
5904         status in the statusbar
5905
5906 2003-04-07  John Levon  <levon@movementarian.org>
5907
5908         * lyxfunc.C: note status changed after a depth change
5909
5910 2003-04-04  Angus Leeming  <leeming@lyx.org>
5911
5912         * LaTeX.h: move AuxInfo operator==, != out of line.
5913         Remove LaTeX virtual destructor; nothing derives from it.
5914         Move operator()() out of public area and rename it startscript().
5915         Change protected for private.
5916
5917 2003-04-04  Angus Leeming  <leeming@lyx.org>
5918
5919         * lyxfunc.C:
5920         * text2.C: remove unneeded #includes.
5921
5922 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5923
5924         * text2.C (dEPM): fix the heigth of the next row
5925
5926 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5927
5928         * text.C: squashed an invalid getChar requester + some ws changes
5929
5930 2003-04-03  John Levon  <levon@movementarian.org>
5931
5932         * bufferview_funcs.h:
5933         * bufferview_funcs.C:
5934         * lyxfunc.C:
5935         * lyxtext.h:
5936         * text2.C: make getStatus work for the env depth lfuns
5937
5938 2003-04-03  John Levon  <levon@movementarian.org>
5939
5940         * bufferview_funcs.h:
5941         * bufferview_funcs.C:
5942         * lyxfunc.C:
5943         * lyxtext.h:
5944         * text2.C: parlistize decDepth(), by merging it with incDepth()
5945
5946 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5947
5948         * lyxrow.h: store a ParagraphList::iterator instead of a
5949         Paragraph* and adjust other class functions to suit.
5950
5951         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5952         above.
5953
5954 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5955
5956         * text2.C (setCursor): do not anchor to cursor row for the time being
5957
5958 2003-04-02  John Levon  <levon@movementarian.org>
5959
5960         * LyXAction.C:
5961         * lfuns.h:
5962         * lyx_main.C:
5963         * lyxtext.h:
5964         * text.C:
5965         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5966
5967 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5968
5969         * paragraph.h: make ParagraphList and ParagraphList::iterator
5970         friends of Paragraph.
5971
5972         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5973
5974         * ParagraphList.C: Use the private next_ and previous_ from
5975         Paragraph.
5976
5977 2003-04-01  John Levon  <levon@movementarian.org>
5978
5979         * ToolbarBackend.h:
5980         * ToolbarBackend.C:
5981         * Makefile.am: rename, remove defaults gunk
5982
5983         * MenuBackend.h:
5984         * MenuBackend.C: remove defaults gunk
5985
5986         * Languages.h:
5987         * Languages.C: remove defaults gunk
5988
5989         * lyx_main.h:
5990         * lyx_main.C: error out if files couldn't be found.
5991
5992 2003-04-02  John Levon  <levon@movementarian.org>
5993
5994         * text2.C: make incDepth() use parlist
5995
5996 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5997
5998         * undo_funcs.C (firstUndoParagraph): adjust
5999
6000         * text3.C (gotoInset): adjust
6001         (dispatch): adjust, and rewrite loop.
6002
6003         * text2.C (init): adjust, and rewrite loop.
6004         (redoParagraphs): adjust
6005         (updateInset): adjust, and rewrite loop.
6006         (deleteEmptyParagraphMechanism): adjust
6007
6008         * tabular.C (LyXTabular): adjust
6009         (SetMultiColumn): adjust
6010         (TeXRow): adjust
6011
6012         * lyxtext.[Ch] (ownerParagraph): delete function
6013         (ownerParagraphs): new function returns a ParagraphList.
6014
6015         * BufferView.C (removeAutoInsets): adjust
6016         (insertErrors): adjust
6017         (setCursorFromRow): adjust
6018
6019 2003-04-01  Angus Leeming  <leeming@lyx.org>
6020
6021         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6022         in the frontends.
6023
6024 2003-04-02  John Levon  <levon@movementarian.org>
6025
6026         * lyxtext.h:
6027         * text.C:
6028         * Makefile.am:
6029         * text_funcs.h:
6030         * text_funcs.C: make transposeChars a free function
6031
6032         * lyxrow_funcs.C: remove wrong comment
6033
6034 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6035
6036         * lyxtext.h: adjust
6037         * rowpainter.C: adjust
6038         * text.C: adjust
6039         * text2.C: adjust
6040         * text3.C: adjust
6041
6042         * lyxrow_funcs. [Ch]: new files
6043
6044         * lyxrow.[Ch]: remove next and previous pointers
6045         (next,previous): remove accessor functions
6046         (isParEnd): move to lyxrow_funcs
6047         (lastPos): move to lyxrow_funcs
6048         (nextRowIsAllInset): move to lyxrow_funcs
6049         (lastPrintablePos): move to lyxrow_funcs
6050         (numberOfSeparators): move to lyxrow_funcs
6051         (numberOfHfills): move to lyxrow_funcs
6052         (numberOfLabelHfills): move to lyxrow_funcs
6053         (hfillExpansion): move to lyxrow_funcs
6054
6055         * lyxfunc.C: adjust
6056
6057         * bufferview_funcs.C (toggleAndShow): adjust
6058
6059         * RowList.h: Remove class RowList from file leave just a
6060         std::list<Row>.
6061
6062         * RowList.C: delete file
6063
6064         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6065         and lyxrow_funcs.h
6066
6067 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6068
6069         * text3.C (cursorPrevious): adjust
6070         (cursorNext): adjust
6071         (dispatch): adjust
6072
6073         * text2.C (redoHeightOfParagraph): adjust
6074         (redoDrawingOfParagraph): adjust
6075         (setCursor): adjust
6076
6077         * text.C (breakParagraph): adjust
6078         (insertChar): adjust
6079         (backspace): adjust
6080
6081         * rowpainter.C (RowPainter): adjust
6082         (leftMargin): simplify and adjust
6083         (most rowpainter functions): adjust.
6084
6085         * rowpainter.h: store the row as RowList::iterator not as Row*
6086
6087         * lyxcursor.C (row): taka RowList::iterator as arg
6088         (irow): ditto
6089
6090         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6091         of Row*.
6092
6093 2003-04-01  Angus Leeming  <leeming@lyx.org>
6094
6095         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6096         stuff like bool Bool.
6097
6098 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6099
6100         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6101         rewrite a loop
6102
6103 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6104
6105         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6106         RowList::iterator.
6107
6108         * lyxtext.h (rows): drop one version and leve a const variant that
6109         returns a RowList::iterator.
6110
6111 2003-03-31  Angus Leeming  <leeming@lyx.org>
6112
6113         * text.C (fill): ensure that the signature is the same as that in the
6114         header file.
6115
6116 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6117
6118         * text2.C (redoParagraphs): adjust
6119         (updateCounters): adjust
6120         (checkParagraph): adjust
6121         (getColumnNearX): adjust and reformat a bit.
6122
6123         * text.C (top_y): adjust
6124         (workWidth): adjust
6125         (leftMargin): adjust
6126         (prepareToPrint): adjust
6127         (getRow): adjust
6128         (getRowNearY): adjust
6129
6130         * lyxtext.h: make rowlist_ mutable.
6131
6132         * RowList.h: add const_iterator
6133         * RowList.C: adjust for RowList::const_iterator.
6134
6135         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6136         adjust.
6137
6138 2003-03-31  John Levon  <levon@movementarian.org>
6139
6140         * lyxrc.h:
6141         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6142
6143         * lyx_main.C: set default fonts from using lyx_gui funcs
6144
6145         * exporter.C: pdf_mode moved from lyxrc
6146
6147         * lyx_cb.C:
6148         * lyxfunc.C: changes from above
6149
6150 2003-03-31  John Levon  <levon@movementarian.org>
6151
6152         * lyx_main.C: fix to the last fix
6153
6154 2003-03-31  John Levon  <levon@movementarian.org>
6155
6156         * bufferlist.C: "Load original" -> "Load Original"
6157
6158         * converter.C:
6159         * exporter.C:
6160         * importer.C:
6161         * lyx_main.C:
6162         * format.C: more Alert cleanups
6163
6164 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6165
6166         * text2.C (removeParagraph): make it take a RowList::iterator as
6167         arg, adjust.
6168         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6169         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6170
6171         * text.C (anchor_row): make it take a RowList::iterator as arg,
6172         adjust.
6173         (computeBidiTables): make it take a const reference to Row instead
6174         of Row pointer, adjust.
6175         (leftMargin): make it take a RowList::iterator as arg, adjust.
6176         (rowBreakPoint): adjust
6177         (breakAgainOneRow): make it take a RowList::iterator as arg,
6178         adjust.
6179         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6180
6181         * bufferview_funcs.C (toggleAndShow): adjust
6182
6183 2003-03-30  John Levon  <levon@movementarian.org>
6184
6185         * Makefile.am:
6186         * BoostFormat.h:
6187         * boost-inst.C: moved to support
6188
6189         * several files: changes as a result
6190
6191 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6192
6193         * text2.C (LyXText): adjust.
6194         (init): adjust
6195         (removeRow): make it take a RowList::iterator as arg, adjust.
6196         (fullRebreak): adjust
6197         (deleteEmptyParagraphMechanism): adjust
6198         (clearPaint): adjust
6199         (postPaint): adjust
6200
6201         * text.C (top_y): adjust
6202         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6203         (breakAgain): make it take a RowList::iterator as arg, adjust.
6204         (breakParagraph): adjust
6205         (insertChar): adjust
6206         (backspace): adjust
6207
6208         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6209         need_break_row, and refresh_row.
6210
6211         * text3.C (dispatch): adjust
6212
6213         * text2.C (checkParagraph): adjust
6214         (setCursor): adjust
6215         (setCursorFromCoordinates): adjust
6216
6217         * text.C (top_y): adjust
6218         (workWidth): adjust
6219         (getRow): make it return a RowList::iterator, adjust
6220         (getRowNearY): make it return a RowList::iterator, adjust
6221
6222         * text2.C (init): adjust
6223         (insertRow): remove function
6224         (insertParagraph): adjust
6225         (redoParagraphs): adjust
6226         (fullRebreak): adjust
6227         (updateCounters): adjust
6228
6229         * text.C (top_y): rewrite to use RowList iterators.
6230         (top_y): adjust
6231         (setHeightOfRow): rewrite to sue RowList iterators.
6232         (appendParagraph): adjust
6233         (breakAgain): adjust
6234         (breakAgainOneRow): adjust
6235         (breakParagraph): adjust
6236         (getRow): adjust
6237         (getRowNearY): adjust, and remove commented code.
6238
6239         * lyxtext.h (firstRow): delete function
6240         (lastRow): delete function
6241         (rows): new function (const and non-const versions.)
6242         (insertRow): delete function
6243
6244         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6245
6246 2003-03-29  John Levon  <levon@movementarian.org>
6247
6248         * BufferView_pimpl.C: always update scrollbar top
6249         because pasting text when we're anchored could mean we
6250         miss an update altogether
6251
6252 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6253
6254         * text2.C (init): use rowlist_.end() and not 0.
6255         (insertRow): change to take a RowList::iterator as arg, adjust
6256         for this.
6257         (insertParagraph): change to take a RowList::iterator as arg,
6258         adjust for this.
6259         (redoParagraphs): remove some debug msgs.
6260
6261         * text.C (appendParagraph): change to take a RowList::iterator
6262         arg, adjust for this.
6263         (breakAgain): add an assert
6264         (breakAgainOneRow): ditto
6265
6266 2003-03-29  John Levon  <levon@movementarian.org>
6267
6268         * text2.C: do not clear selection after inc/decDepth
6269         (bug 550)
6270
6271 2003-03-29  John Levon  <levon@movementarian.org>
6272
6273         * BufferView.C:
6274         * buffer.C: fix broken strerrors according to Lars
6275
6276 2003-03-29  John Levon  <levon@movementarian.org>
6277
6278         * converters.C: more Alert cleanups
6279
6280 2003-03-29  John Levon  <levon@movementarian.org>
6281
6282         * bufferview_funcs.C: remove pointless Alert
6283
6284         * buffer.C: fix confusing error message when
6285         a template is chmoded 000
6286
6287 2003-03-29  John Levon  <levon@movementarian.org>
6288
6289         * BufferView.C:
6290         * BufferView.h:
6291         * BufferView_pimpl.C: Alert fixes
6292
6293         * Makefile.am:
6294         * tabular.C:
6295         * tabular-old.C: remove unused table compat reading
6296
6297 2003-03-29  John Levon  <levon@movementarian.org>
6298
6299         * BufferView.C:
6300         * buffer.C:
6301         * lyx_cb.h:
6302         * lyx_cb.C: more Alert cleanups
6303
6304         * lyxfunc.C: don't allow chktex if not latex document
6305
6306 2003-03-29  John Levon  <levon@movementarian.org>
6307
6308         * lyx_cb.C:
6309         * BufferView.C:
6310         * buffer.C: warnings pushed down from support/,
6311         kill err_alert
6312
6313 2003-03-29  John Levon  <levon@movementarian.org>
6314
6315         * lyxfunc.C: safety check for C-r (revert)
6316
6317 2003-03-29  John Levon  <levon@movementarian.org>
6318
6319         * bufferlist.h:
6320         * bufferlist.C: several UI fixes using Alert::prompt.
6321         Fix the pointless looping quit code. Fix stupid revert
6322         behaviour (bug 938)
6323
6324         * lyxvc.h:
6325         * lyxvc.C:
6326         * lyx_cb.C: use Alert::prompt
6327
6328         * lyx_main.C: remove a silly question
6329
6330         * lyxfunc.C: remove a couple of silly questions,
6331         use Alert::prompt
6332
6333 2003-03-28  John Levon  <levon@movementarian.org>
6334
6335         * text2.C: fix bug 974 (End on empty par)
6336
6337 2003-03-28  John Levon  <levon@movementarian.org>
6338
6339         * BufferView_pimpl.C:
6340         * LyXAction.C:
6341         * lfuns.h: remove do-nothing math greek lfuns
6342
6343 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6344
6345         * lyxgluelength.h (isValidGlueLength): add default arg on
6346         parameter 2. Remove default arg from friend in class.
6347
6348         * lyxlength.h (isValidLength): add default arg on parameter 2.
6349         Remove default arg from friend in class.
6350
6351         * text2.C (LyXText): adjust, initialize refresh_row.
6352         (init): adjust
6353         (removeRow): adjust
6354         (insertRow): adjust
6355         (insertParagraph): adjst
6356         (redoParagraphs): adjust
6357         (fullRebreak): adjust
6358         (updateCounters): adjust
6359         (deleteEmptyParagraphMechanism): first attempt at fixing a
6360         crashing bug.
6361
6362         * text.C (top_y): adjust
6363         (setHeightOfRow): adjust
6364         (getRow): adjust
6365         (getRowNearY): adjust
6366
6367         * lyxtext.h: include RowList.h
6368         (~LyXText): not needed anymore, deleted.
6369         (firstRow): modify for RowList
6370         (lastRow): new function
6371         Delete firstrow and lastrow class variables, add a Rowlist
6372         rowlist_ class variable.
6373
6374         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6375         paragraph is empty.
6376
6377         * RowList.C (insert): fix case where it == begin().
6378
6379 2003-03-26  Angus Leeming  <leeming@lyx.org>
6380
6381         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6382         the thesaurus dialog.
6383
6384 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6385
6386         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6387
6388         * RowList.[Ch]: new files
6389
6390         * ParagraphList.C (erase): handle the case where it == begin
6391         correctly.
6392
6393 2003-03-25  John Levon  <levon@movementarian.org>
6394
6395         * Makefile.am:
6396         * aspell_local.h:
6397         * aspell.C: add new aspell support
6398
6399         * lyxrc.h:
6400         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6401         have it accessible.
6402
6403 2003-03-25  Angus Leeming  <leeming@lyx.org>
6404
6405         * lfuns.h:
6406         * LyXAction.C (init): new LFUN_INSET_INSERT.
6407
6408         * BufferView_pimpl.C (dispatch): split out part of the
6409         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6410
6411         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6412         LFUN_INSET_APPLY.
6413
6414 2003-03-25  Angus Leeming  <leeming@lyx.org>
6415
6416         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6417
6418 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6419
6420         * text2.C:
6421         * text3.C: remove useless row->height(0)
6422
6423 2003-03-25  John Levon  <levon@movementarian.org>
6424
6425         * lyxtext.h:
6426         * text2.C:
6427         * text3.C: rename the refreshing stuff to better names
6428
6429 2003-03-24  John Levon  <levon@movementarian.org>
6430
6431         * BufferView_pimpl.h:
6432         * BufferView_pimpl.C: update layout choice on a mouse
6433         press/release
6434
6435 2003-03-23  John Levon  <levon@movementarian.org>
6436
6437         * Makefile.am: fix commandtags.h reference
6438
6439 2003-03-22  John Levon  <levon@movementarian.org>
6440
6441         * BufferView_pimpl.C:
6442         * lyxtext.h:
6443         * rowpainter.C:
6444         * rowpainter.h:
6445         * text.C:
6446         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6447
6448 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6449
6450         * lyxtext.h:
6451         * text.C: take the rtl methods out of line
6452
6453 2003-03-21 André Pönitz <poenitz@gmx.net>
6454
6455         * metricsinfo.[Ch]: new files containing structures to be passed around
6456         during the two-phase-drawing...
6457
6458 2003-03-21 André Pönitz <poenitz@gmx.net>
6459
6460         * lyxtextclass.C: read 'environment' tag.
6461
6462 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6463
6464         * text2.C (removeRow): fix bug 964
6465
6466 2003-03-20  John Levon  <levon@movementarian.org>
6467
6468         * rowpainter.C:
6469         * text.C:
6470         * text2.C: paint cleanups. Inset::update() dropped font
6471         parameter
6472
6473 2003-03-19  John Levon  <levon@movementarian.org>
6474
6475         * lyxfunc.C: only fitcursor/markDirty if available()
6476
6477 2003-03-19  John Levon  <levon@movementarian.org>
6478
6479         * commandtags.h: rename to ...
6480
6481         * lfuns.h: ... this, and renumber / cleanup
6482
6483 2003-03-19  John Levon  <levon@movementarian.org>
6484
6485         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6486         fit the cursor after an lfun
6487
6488         * BufferView.h:
6489         * BufferView.C:
6490         * BufferView_pimpl.h:
6491         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6492
6493         * LyXAction.C: layout-character should have ReadOnly
6494
6495         * ParagraphParameters.C:
6496         * buffer.C:
6497         * bufferview_funcs.C:
6498         * lyx_cb.C:
6499         * lyxfind.C:
6500         * lyxtext.h:
6501         * text.C:
6502         * text2.C:
6503         * text3.C:
6504         * undo_funcs.C: changes from above
6505
6506 2003-03-18  John Levon  <levon@movementarian.org>
6507
6508         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6509         remove it from update()
6510
6511         * lyxfunc.C: update layout choice after an lfun
6512
6513         * text3.C: remove extra updateLayoutChoice()s
6514
6515 2003-03-18  John Levon  <levon@movementarian.org>
6516
6517         * text.C: top_y change means full repaint, fix
6518         a drawing bug with cursor movement
6519
6520 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6521
6522         * lyxtext.h:
6523         * text.C:
6524         * text2.C: anchor row on setCursor
6525
6526 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6527
6528         * lyxtext.h: remove almost all mutable keywords
6529         * text.C:
6530         * text2.C:
6531         * text3.C: remove const keywords accordingly
6532
6533 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6534
6535         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6536         anon namespace
6537         (TeXEnvironment): ditto
6538         (TeXOnePar): ditto
6539
6540 2003-03-17  John Levon  <levon@movementarian.org>
6541
6542         * text.C (rowBreakPoint): remove attempt to fix displayed
6543         math insets inside a manual label
6544
6545 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6546
6547         * lyxtext.h: remove BufferView* as first arg from almost all class
6548         functions.
6549         * other files: adjust.
6550
6551 2003-03-17  John Levon  <levon@movementarian.org>
6552
6553         * lyxtext.h:
6554         * undo_funcs.C:
6555         * text2.C: more paint cleanups
6556
6557         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6558
6559         * rowpainter.h:
6560         * rowpainter.C: remove "smart" background painting code
6561
6562 2003-03-16  John Levon  <levon@movementarian.org>
6563
6564         * lyxtext.h:
6565         * text.C:
6566         * text2.C:
6567         * text3.C: add helper functions for setting refresh_row/y
6568
6569 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6570
6571         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6572         newline inset which *can* get inserted in the pass_thru layouts.
6573         This is primarily for literate documents.
6574
6575 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6576
6577         * buffer.C: increment LYX_FORMAT to 223
6578
6579 2003-03-14 André Pönitz <poenitz@gmx.net>
6580
6581         * textclass.h: prepare for environment handling, ws changes
6582         * lyxlayout.C: read latexheader and latexfooter tags
6583
6584 2003-03-14  John Levon  <levon@movementarian.org>
6585
6586         * text2.C: rewrite ::status() a bit
6587
6588 2003-03-13  John Levon  <levon@movementarian.org>
6589
6590         * lyxtext.h: add some docs
6591
6592 2003-03-13  John Levon  <levon@movementarian.org>
6593
6594         * lyxtext.h:
6595         * text.C:
6596         * text2.C:
6597         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6598
6599 2003-03-13  John Levon  <levon@movementarian.org>
6600
6601         * text3.C: fix appendix redrawing
6602
6603 2003-03-13  John Levon  <levon@movementarian.org>
6604
6605         * text.C (setHeightOfRow):
6606         * rowpainter.h:
6607         * rowpainter.C: make appendix mark have the text
6608           "Appendix" so the user knows what it is
6609
6610         * LColor.h:
6611         * LColor.C: s/appendixline/appendix/ from above
6612
6613 2003-03-13  John Levon  <levon@movementarian.org>
6614
6615         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6616
6617         * text.C: fix a getChar(pos) bug properly
6618
6619 2003-03-13  Angus Leeming  <leeming@lyx.org>
6620
6621         * commandtags.h:
6622         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6623         Probably only temporary. Let's see how things pan out.
6624
6625         * BufferView.C (unlockInset):
6626         * BufferView_pimpl.C (fitCursor):
6627         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6628
6629         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6630         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6631
6632         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6633         new functions that convert ParagraphParameters to and from a string.
6634
6635         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6636         BufferView::Pimpl's dispatch.
6637         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6638
6639 2003-03-13 André Pönitz <poenitz@gmx.net>
6640
6641         * lyxfunc.C:
6642         * text3.C:
6643         * factory.C: make it aware of InsetEnv
6644
6645 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6646
6647         * text2.C (setCursor): never ask for one past last
6648         (setCursor): add some debugging messages.
6649
6650         * text.C (singleWidth): never ask for one past last
6651         (singleWidth): ditto
6652         (leftMargin): ditto
6653         (rightMargin): ditto
6654         (rowBreakPoint): ditto
6655         (setHeightOfRow): ditto
6656         (prepareToPrint): ditto
6657
6658         * rowpainter.C (paintBackground): never ask for one past last
6659         (paintText): never ask for one past last
6660
6661         * paragraph_pimpl.C (getChar): make the assert stricter, never
6662         allow the one past last pos to be taken
6663
6664         * paragraph.C (getChar): ws changes only
6665
6666         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6667         (numberOfSeparators): ditto
6668         (numberOfHfills): ditto
6669
6670 2003-03-12  John Levon  <levon@movementarian.org>
6671
6672         * author.h:
6673         * author.C:
6674         * bufferparams.h:
6675         * bufferparams.C:
6676         * paragraph_funcs.C: fix per-buffer authorlists
6677
6678 2003-03-12  John Levon  <levon@movementarian.org>
6679
6680         * text.C: fix newline in right address
6681
6682 2003-03-12  Angus Leeming  <leeming@lyx.org>
6683
6684         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6685         duplicate those in LyXFunc::dispatch.
6686
6687         * commandtags.h:
6688         * LyXAction.C:
6689         * ToolbarDefaults.C:
6690         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6691         Add LFUN_FONTFREE_UPDATE.
6692
6693         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6694         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6695
6696         * bufferview_func.[Ch]: several new functions to facilliate
6697         transfer of data to and from the character dialog.
6698
6699 2003-03-12  John Levon  <levon@movementarian.org>
6700
6701         * buffer.C:
6702         * paragraph.h:
6703         * paragraph.C:
6704         * paragraph_funcs.C:
6705         * paragraph_pimpl.C:
6706         * sgml.C:
6707         * tabular.C:
6708         * text.C:
6709         * text3.C: remove META_NEWLINE in favour of an inset
6710
6711         * rowpainter.h:
6712         * rowpainter.C: remove paintNewline (done by inset)
6713
6714 2003-03-12  John Levon  <levon@movementarian.org>
6715
6716         * paragraph_pimpl.C: complain about bad getChar()s
6717         for a while at least
6718
6719 2003-03-12  John Levon  <levon@movementarian.org>
6720
6721         * buffer.h:
6722         * buffer.C: move paragraph read into a separate function,
6723         a little renaming to reflect that.
6724
6725         * bufferparams.h:
6726         * bufferparams.C: remove the author_ids map, not necessary now
6727
6728         * factory.h:
6729         * factory.C: moved Buffer::readInset to here
6730
6731         * paragraph_funcs.h:
6732         * paragraph_funcs.C: readParagraph free function moved from
6733         buffer.C
6734
6735         * tabular.C: name change
6736
6737 2003-03-12  John Levon  <levon@movementarian.org>
6738
6739         * buffer.C:
6740         * ParagraphParameters.C: move par params input to
6741         a read() method
6742
6743         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6744         behave like a normal read from the stream wrt reading
6745         a line vs. a \\token
6746
6747 2003-03-12  John Levon  <levon@movementarian.org>
6748
6749         * paragraph.C:
6750         * ParagraphParameters.h:
6751         * ParagraphParameters.C: move output code to a
6752         ::write() method
6753
6754 2003-03-12  John Levon  <levon@movementarian.org>
6755
6756         * BufferView.C (insertLyXFile):
6757         * buffer.h:
6758         * buffer.C:
6759         * tabular.C: use a parlist iterator for creating the
6760           document.
6761
6762 2003-03-12  John Levon  <levon@movementarian.org>
6763
6764         * buffer.C: make current_change static local not
6765           static file-scope
6766
6767 2003-03-12  John Levon  <levon@movementarian.org>
6768
6769         * buffer.C: fix insertStringAsLines for change tracking
6770
6771 2003-03-12  John Levon  <levon@movementarian.org>
6772
6773         * BufferView.C:
6774         * tabular.C:
6775         * buffer.h:
6776         * buffer.C:
6777         * bufferparams.h:
6778         * bufferparams.C: move author list into params. Rename some
6779           functions. Move the header reading into a separate token
6780           loop. Move the header token reading into BufferParams.
6781
6782 2003-03-12  John Levon  <levon@movementarian.org>
6783
6784         * changes.C: put debug inside lyxerr.debugging() checks
6785
6786 2003-03-11 André Pönitz <poenitz@gmx.net>
6787
6788         * factory.C: make it aware of InsetHFill
6789
6790 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6791
6792         * buffer.C (latexParagraphs): move function from here...
6793         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6794         args.
6795
6796 2003-03-10  Angus Leeming  <leeming@lyx.org>
6797
6798         * LyXAction.C (init): fix bug in poplating array with multiple entries
6799         with the same LFUN (spotted by JMarc).
6800
6801 2003-03-10  John Levon  <levon@movementarian.org>
6802
6803         * text.C:
6804         * text2.C: move getColumnNearX() near its
6805         only call site
6806
6807 2003-03-10  John Levon  <levon@movementarian.org>
6808
6809         * text.C: fix break before a minipage
6810
6811 2003-03-10  John Levon  <levon@movementarian.org>
6812
6813         * text.C: fix the last commit
6814
6815 2003-03-09  John Levon  <levon@movementarian.org>
6816
6817         * lyxtext.h:
6818         * text.C:
6819         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6820         bug 365 (don't break before insets unless needed). Don't
6821         return a value > last under any circumstances.
6822
6823 2003-03-09  Angus Leeming  <leeming@lyx.org>
6824
6825         * BufferView_pimpl.C (trackChanges, dispatch): call
6826         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6827
6828 2003-03-09  Angus Leeming  <leeming@lyx.org>
6829
6830         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6831         than Dialogs::showAboutlyx().
6832
6833 2003-03-09  Angus Leeming  <leeming@lyx.org>
6834
6835         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6836         than Dialogs::showTabularCreate().
6837
6838 2003-03-09  John Levon  <levon@movementarian.org>
6839
6840         * lyxtext.h:
6841         * text.C:
6842         * text2.C: 3rd arg to nextBreakPoint was always the same.
6843           Use references.
6844
6845 2003-03-08  John Levon  <levon@movementarian.org>
6846
6847         * lyxrow.C:
6848         * paragraph.C:
6849         * paragraph.h:
6850         * rowpainter.C:
6851         * text.C:
6852         * text2.C: Remove the "main" bit from the "main body"
6853           notion.
6854
6855 2003-03-08  John Levon  <levon@movementarian.org>
6856
6857         * text.C (leftMargin): The left margin of an empty
6858         manual label paragraph should not include the label width
6859         string length.
6860
6861         * text.C (prepareToPrint): don't attempt to measure hfills
6862         for empty manual label paragraphs - the answer should be 0
6863
6864 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6865
6866         * CutAndPaste.C: remove commented code and reindent.
6867
6868 2003-03-08  John Levon  <levon@movementarian.org>
6869
6870         * lyxfunc.h:
6871         * lyxfunc.C: move reloadBuffer()
6872
6873         * BufferView.h:
6874         * BufferView.C: to here
6875
6876         * lyxvc.C: add comment
6877
6878         * vc-backend.h:
6879         * vc-backend.C: call bv->reload() to avoid
6880           getStatus() check on MENURELOAD
6881
6882 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6883
6884         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6885         to an old format .dep file.
6886
6887 2003-03-07  Angus Leeming  <leeming@lyx.org>
6888
6889         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6890         when the LFUN_MOUSE_RELEASE should have been handled by
6891         inset->localDispatch.
6892
6893 2003-03-07  Angus Leeming  <leeming@lyx.org>
6894
6895         * BufferView_pimpl.C (dispatch):
6896         * LyXAction.C (init):
6897         * ToolbarDefaults.C (init):
6898         * commandtags.h:
6899         * lyxfunc.C (getStatus):
6900         remove LFUN_INSET_GRAPHICS.
6901
6902         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6903
6904 2003-03-07  Angus Leeming  <leeming@lyx.org>
6905
6906         * commandtags.h:
6907         * LyXAction.C (init):
6908         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6909
6910         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6911
6912         * commandtags.h:
6913         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6914
6915         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6916         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6917
6918 2003-03-07  Angus Leeming  <leeming@lyx.org>
6919
6920         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6921         remove "ert".
6922
6923 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6924
6925         * ParagraphList.C (front): new function
6926         (back): implement
6927
6928 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6929
6930         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6931         and top_row_offset_. removed var first_y.
6932         * text.C (top_y):
6933         * text2.C (LyXText, removeRow):
6934         * text3.C:
6935         * BufferView_pimpl.C:
6936         use these methods instead of using first_y
6937
6938 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6939
6940         * text2.C (pasteSelection): adjust for checkPastePossible
6941
6942         * CutAndPaste.C: remove Paragraph * buf and replace with
6943         ParagraphList paragraphs.
6944         (DeleteBuffer): delete
6945         (cutSelection): change the tc type to textclass_type
6946         (copySelection): change the tc type to textclass_type
6947         (copySelection): adjust for ParagraphList
6948         (pasteSelection): change the tc type to textclass_type
6949         (pasteSelection): adjust for Paragraphlist
6950         (nrOfParagraphs): simplify for ParagraphList
6951         (checkPastePossible): simplify for ParagraphList
6952         (checkPastePossible): remove unused arg
6953
6954         * ParagraphList.C (insert): handle the case where there are no
6955         paragraphs yet.
6956
6957         * CutAndPaste.h: make CutAndPaste a namespace.
6958
6959         * text3.C (dispatch): adjust
6960
6961         * text.C (breakParagraph): add a ParagraphList as arg
6962
6963         * paragraph_funcs.C (breakParagraph): change to take a
6964         BufferParams and a ParagraphList as args.
6965         (breakParagraphConservative): ditto
6966         (mergeParagraph): ditto
6967         (TeXDeeper): add a ParagraphList arg
6968         (TeXEnvironment): ditto
6969         (TeXOnePar): ditto
6970
6971         * buffer.C (readLyXformat2): adjust
6972         (insertStringAsLines): adjust
6973         (latexParagraphs): adjust
6974
6975         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6976         (cutSelection): adjust
6977         (pasteSelection): adjust
6978
6979         * BufferView_pimpl.C (insertInset): adjust
6980
6981 2003-03-05  Angus Leeming  <leeming@lyx.org>
6982
6983         * commandtags.h:
6984         * LyXAction.C (init):
6985         * BufferView_pimpl.C (dispatch):
6986         * lyxfunc.C (getStatus):
6987         remove LFUN_CHILD_INSERT.
6988
6989         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6990
6991 2003-03-05  Angus Leeming  <leeming@lyx.org>
6992
6993         * commandtags.h:
6994         * LyXAction.C (init):
6995         * src/factory.C (createInset):
6996         * lyxfunc.C (getStatus):
6997         * text3.C (dispatch):
6998         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6999
7000         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7001
7002 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7003
7004         * ParagraphList.C (insert): handle insert right before end()
7005         (erase): fix cases where it can be first or last paragraph.
7006
7007 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7008
7009         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7010         Paragraph::next and Paragraph::previous
7011         (TeXOnePar): ditto
7012
7013         * text.C (breakParagraph): adjust
7014
7015         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7016         BufferParams& as arg.
7017         (breakParagraph): use ParagraphList::insert
7018         (breakParagraphConservative): take a Buffer* instead of a
7019         BufferParams& as arg.
7020         (breakParagraphConservative): use ParagraphList::insert.
7021
7022         * buffer.C (insertStringAsLines): un-const it
7023         (insertStringAsLines): adjust
7024
7025         * ParagraphList.C (insert): new function
7026
7027         * CutAndPaste.C (pasteSelection): adjust
7028
7029         * text.C (backspace): adjust
7030
7031         * tabular.C (SetMultiColumn): adjust
7032
7033         * CutAndPaste.C (cutSelection): adjust
7034         (pasteSelection): adjust
7035
7036         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7037         Buffer const * as arg
7038
7039         * ParagraphList.C (erase): new function
7040         * paragraph_funcs.C (mergeParagraph): use it
7041         (mergeParagraph): make it take a Buffer* instead of a
7042         BufferParams* as arg
7043
7044         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7045         as arg
7046         (breakParagraphConservative): ditto
7047
7048         * paragraph.h: remove the breakParagraph friend
7049
7050         * paragraph.C (eraseIntern): new function
7051         (setChange): new function
7052
7053         * paragraph_funcs.C (mergeParagraph): make it take a
7054         ParagraphList::iterator instead of a Paragraph *, adjust
7055         accordingly.
7056
7057         * paragraph.h: move an #endif so that the change tracking stuff
7058         also works in the NO_NEXT case.
7059
7060 2003-03-04  Angus Leeming  <leeming@lyx.org>
7061
7062         * commandtags.h:
7063         * LyXAction.C: new LFUN_INSET_MODIFY.
7064
7065         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7066         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7067
7068 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7069
7070         * several files: ws changes only
7071
7072         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7073         (TeXEnvironment): ditto
7074         (TeXDeeper): ditto
7075
7076         * buffer.C (makeLaTeXFile): adjust
7077         (latexParagraphs): make it take ParagraphList::iterator as args
7078
7079 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7080
7081         * buffer.C (latexParagraphs): adjust
7082
7083         * paragraph.C (TeXOnePar): move function...
7084         (optArgInset): move function...
7085         (TeXEnvironment): move function...
7086         * paragraph_pimpl.C (TeXDeeper): move function...
7087         * paragraph_funcs.C: ...here
7088
7089         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7090
7091 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7092
7093         * buffer.C (readInset): remove compability code for old Figure and
7094         InsetInfo insets
7095
7096 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7097
7098         * buffer.C: ws changes
7099         (readInset):
7100
7101         * BufferView_pimpl.C: ditto
7102         * author.C: ditto
7103         * buffer.h: ditto
7104         * bufferlist.h: ditto
7105         * changes.h: ditto
7106         * lyxfunc.C: ditto
7107
7108 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7109
7110         * converter.[Ch]: split into itself +
7111         * graph.[Ch]
7112         * format.[Ch]
7113         * Makefile.am: += graph.[Ch] + format.[Ch]
7114         * MenuBackend.C
7115         * buffer.C
7116         * exporter.C
7117         * importer.C
7118         * lyx_main.C
7119         * lyxfunc.C
7120         * lyxrc.C: added #include "format.h"
7121
7122 2003-02-27  Angus Leeming  <leeming@lyx.org>
7123
7124         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7125           a label.
7126
7127         * factory.C (createInset): add "label" to the factory.
7128
7129         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7130           string and do no more.
7131
7132 2003-02-27  Angus Leeming  <leeming@lyx.org>
7133
7134         * commandtags.h:
7135         * LyXAction.C (init):
7136         * factory.C (createInset):
7137         * BufferView_pimpl.C (dispatch):
7138           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7139
7140         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7141
7142         * lyxfunc.C (dispatch):
7143         * text3.C (dispatch): pass name to params2string.
7144
7145 2003-02-26  Angus Leeming  <leeming@lyx.org>
7146
7147         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7148           blocks together.
7149           Rearrange the ~includes. Strip out the unnecessary ones.
7150
7151         * factory.C (createInset): reformat.
7152           create new insets for the various LFUN_XYZ_APPLY lfuns.
7153
7154 2003-02-26  John Levon  <levon@movementarian.org>
7155
7156         * lyxrow.h:
7157         * lyxrow.C: add isParStart,isParEnd helpers
7158
7159         * paragraph.h: make isInserted/DeletedText take refs
7160
7161         * paragraph_funcs.h:
7162         * paragraph_funcs.C: remove #if 0'd code
7163
7164         * lyxtext.h:
7165         * text3.C:
7166         * text2.C:
7167         * text.C: use lyxrow helpers above.
7168           Move draw and paint routines to RowPainter.
7169           Make several methods use refs not pointers.
7170           Make backgroundColor() const.
7171           Add markChangeInDraw(), isInInset().
7172           Merge changeRegionCase into changeCase.
7173           Make workWidth() shouldn't-happen code into an Assert.
7174
7175         * rowpainter.h:
7176         * rowpainter.C: new class for painting a row.
7177
7178         * vspace.h:
7179         * vspace.C: make inPixels take a ref
7180
7181 2003-02-26  Angus Leeming  <leeming@lyx.org>
7182
7183         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7184         LFUN_REF_APPLY.
7185
7186 2003-02-25  John Levon  <levon@movementarian.org>
7187
7188         * ispell.C: give the forked command a more accurate name
7189
7190 2003-02-22  John Levon  <levon@movementarian.org>
7191
7192         * toc.h:
7193         * toc.C: make TocItem store an id not a Paragraph *
7194           (bug #913)
7195
7196 2003-02-21  Angus Leeming  <leeming@lyx.org>
7197
7198         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7199           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7200           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7201           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7202           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7203           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7204
7205         * BufferView_pimpl.C (dispatch):
7206         * LyXAction.C (init):
7207         * factory.C (createInset):
7208         * lyxfunc.C (getStatus, dispatch):
7209         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7210
7211 2003-02-21  Angus Leeming  <leeming@lyx.org>
7212
7213         * BufferView_pimpl.C (MenuInsertLyXFile):
7214         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7215         * lyxfunc.C (menuNew, open, doImport):
7216           no longer pass a LyXView & to fileDlg.
7217
7218 2003-02-21  Angus Leeming  <leeming@lyx.org>
7219
7220         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7221         * LyXAction.C: change, BIBKEY to BIBITEM.
7222         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7223         Change InsetBibKey to InsetBibitem.
7224         Change BIBKEY_CODE to BIBITEM_CODE.
7225         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7226         * factory.C: replace insetbib.h with insetbibitem.h.
7227         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7228         * paragraph.C: replace insetbib.h with insetbibitem.h.
7229         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7230         Change bibkey() to bibitem().
7231         * text.C: remove insetbib.h.
7232         * text2.C: replace insetbib.h with insetbibitem.h.
7233         change bibkey() to bibitem().
7234         * text3.C: remove insetbib.h.
7235         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7236
7237 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7238
7239         * lyxrc.C (output): enclose user email in quotes (in case there are
7240         several words)
7241
7242 2003-02-18  John Levon  <levon@movementarian.org>
7243
7244         * buffer.h: add std::
7245
7246 2003-02-17  John Levon  <levon@movementarian.org>
7247
7248         * SpellBase.h:
7249         * ispell.h:
7250         * ispell.C:
7251         * pspell.h:
7252         * pspell.C: reworking. Especially in ispell, a large
7253           number of clean ups and bug fixes.
7254
7255         * lyxfunc.C: fix revert to behave sensibly
7256
7257 2003-02-17 André Pönitz <poenitz@gmx.net>
7258
7259         * LyXAction.C:
7260         * commandtags.h: new LFUN_INSERT_BIBKEY
7261
7262         * layout.h:
7263         * lyxlayout.C:
7264         * buffer.C:
7265         * factory.C:
7266         * text.C:
7267         * text2.C:
7268         * text3.C:
7269         * paragraph.[Ch]:
7270         * paragraph_func.C: remove special bibkey handling
7271
7272 2003-02-17  John Levon  <levon@movementarian.org>
7273
7274         * text.C (Delete): fix case where delete at the end of
7275           the very first paragraph would not merge the pars
7276
7277 2003-02-17  John Levon  <levon@movementarian.org>
7278
7279         * lyxrow.C: fix lastPrintablePos()
7280
7281 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7282
7283         * bufferparams.C (writeLaTeX): add a std:here
7284
7285         * buffer.C: and remove a using directive there
7286
7287 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7288
7289         * buffer.C (makeLaTeXFile): move the code that generates the
7290           preamble...
7291
7292         * bufferparams.C (writeLaTeX): ... in this new method
7293
7294         * LaTeXFeatures.C (getEncodingSet): make const
7295           (getLanguages): make const
7296
7297         * MenuBackend.C (binding): returns the binding associated to this
7298           action
7299           (add): sets the status of each item by calling getStatus. Adds
7300           some intelligence.
7301           (read): add support for OptSubMenu
7302           (expand): remove extra separator at the end of expanded menu
7303
7304 2003-02-15  John Levon  <levon@movementarian.org>
7305
7306         * BufferView.C:
7307         * BufferView_pimpl.C:
7308         * bufferlist.h:
7309         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7310           inset code that had no actual effect. Remove unneeded status
7311           code.
7312
7313 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7314
7315         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7316           in preamble
7317
7318 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7319
7320         * text.C (drawLengthMarker): also draw an arrow marker for
7321           symbolic lengths (medskip...)
7322
7323 2003-02-14  John Levon  <levon@movementarian.org>
7324
7325         * tabular.h:
7326         * tabular.C: better method names
7327
7328 2003-02-14  John Levon  <levon@movementarian.org>
7329
7330         * BufferView_pimpl.C:
7331         * bufferlist.C:
7332         * buffer.C:
7333         * converter.C:
7334         * lyx_cb.C:
7335         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7336           it's a more accurate name. Remove some pointless uses.
7337
7338 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7339
7340         * text2.C (LyXText): change order of initilizers to shut off
7341           warnings
7342
7343 2003-02-14  John Levon  <levon@movementarian.org>
7344
7345         * buffer.C: use ParIterator for getParFromID()
7346
7347         * paragraph.h:
7348         * paragraph.C:
7349         * paragraph_pimpl.h:
7350         * paragraph_pimpl.C: remove unused getParFromID()
7351
7352 2003-02-14  John Levon  <levon@movementarian.org>
7353
7354         * buffer.C: remove some very old #if 0'd parse code
7355
7356 2003-02-13  John Levon  <levon@movementarian.org>
7357
7358         * text.h:
7359         * text.C:
7360         * text2.C: move hfillExpansion(), numberOfSeparators(),
7361           rowLast(), rowLastPrintable(), numberofHfills(),
7362           numberOfLabelHfills() ...
7363
7364         * lyxrow.h:
7365         * lyxrow.C: ... to member functions here.
7366
7367         * paragraph.h:
7368         * paragraph.C:
7369         * lyxtext.h:
7370         * text.C: remove LyXText::beginningOfMainBody(), and call
7371           p->beginningOfMainBody() directly. Move the check for
7372           LABEL_MANUAL into the latter.
7373
7374         * text.h:
7375         * text.C:
7376         * text2.C:
7377         * vspace.C:
7378         * BufferView.h:
7379         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7380
7381         * text.h:
7382         * text.C:
7383         * text2.C:
7384         * text3.C:
7385         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7386           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7387
7388 2003-02-13  John Levon  <levon@movementarian.org>
7389
7390         * CutAndPaste.C: remove debug
7391
7392 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7393
7394         * paragraph.C (asString): remove two unused variables
7395
7396         * lyxtextclass.C (readTitleType):
7397           (Read):
7398           (LyXTextClass): handle new members titletype_ and titlename_
7399
7400         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7401
7402 2003-02-09  John Levon  <levon@movementarian.org>
7403
7404         * buffer.h:
7405         * buffer.C: replace hand-coded list with a map for the dep clean
7406
7407 2003-02-08  John Levon  <levon@movementarian.org>
7408
7409         * LaTeX.C: consolidate code into showRunMessage() helper
7410
7411 2003-02-08  John Levon  <levon@movementarian.org>
7412
7413         * lyxfind.C:
7414         * lyxtext.h:
7415         * text2.C:
7416         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7417           and pass the size in explicitly
7418
7419         * BufferView_pimpl.h:
7420         * BufferView_pimpl.C:
7421         * BufferView.h:
7422         * BufferView.C: add getCurrentChange()
7423
7424         * BufferView_pimpl.h:
7425         * BufferView_pimpl.C: handle change lfuns
7426
7427         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7428           for changes. Mark pasted paragraphs as new.
7429
7430         * support/lyxtime.h:
7431         * support/lyxtime.C:
7432         * DepTable.C: abstract time_t as lyx::time_type
7433
7434         * LColor.h:
7435         * LColor.C: add colours for new text, deleted text, changebars
7436
7437         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7438           package use "usenames" option.
7439
7440         * commandtags.h:
7441         * lyxfunc.C:
7442         * LyXAction.C: add change lfuns
7443
7444         * Makefile.am:
7445         * author.h:
7446         * author.C: author handling
7447
7448         * buffer.h:
7449         * buffer.C: add a per-buffer author list, with first entry as
7450           current author. Handle new .lyx tokens for change tracking. Output
7451           author list to .lyx file. Output dvipost stuff to .tex preamble.
7452           Bump lyx format to 222.
7453
7454         * bufferlist.h:
7455         * bufferlist.C: add setCurrentAuthor() to reset current author details
7456           in all buffers.
7457
7458         * bufferparams.h:
7459         * bufferparams.C: add param for tracking
7460
7461         * bufferview_funcs.C: output change info in minibuffer
7462
7463         * Makefile.am:
7464         * changes.h:
7465         * changes.C: add change-tracking structure
7466
7467         * debug.h:
7468         * debug.C: add CHANGES debug flag
7469
7470         * lyxfind.h:
7471         * lyxfind.C: add code for finding the next change piece
7472
7473         * lyxrc.h:
7474         * lyxrc.C: add user_name and user_email
7475
7476         * lyxrow.h:
7477         * lyxrow.C: add a metric for the top of the text line
7478
7479         * lyxtext.h:
7480         * text.C: implement accept/rejectChange()
7481
7482         * lyxtext.h:
7483         * text.C: paint changebars. Paint new/deleted text in the chosen
7484         colours. Strike through deleted text.
7485
7486         * paragraph.h:
7487         * paragraph.C:
7488         * paragraph_pimpl.h:
7489         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7490           in the current change to the insert functions. Rework erase to
7491           mark text as deleted, adding an eraseIntern() and a range-based
7492           erase(). Implement per-paragraph change lookup and
7493           accept/reject.
7494
7495         * paragraph_funcs.C: Fixup paste for change tracking.
7496
7497         * tabular.C: mark added row/columns as new.
7498
7499         * text.C: fix rowLast() to never return -1. Don't allow
7500           spellchecking of deleted text. Track transpose changes. Don't
7501           allow paragraph break or merge where appropriate.
7502
7503         * text2.C: leave cursor at end of selection after a cut.
7504
7505 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7506
7507         * text.C (getLengthMarkerHeight):
7508         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7509         visible on screen too.
7510
7511 2003-02-07  John Levon  <levon@movementarian.org>
7512
7513         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7514
7515 2003-02-05  Angus Leeming  <leeming@lyx.org>
7516
7517         * lyxserver.C (read_ready): revert my patch of 11 September last year
7518         as it sends PC cpu through the roof. Presumably this means that
7519         the lyxserver will no longer run on an Alpha...
7520
7521 2003-01-30  Angus Leeming  <leeming@lyx.org>
7522
7523         * factory.C (createInset): create an InsetCommandParam of type "index"
7524         and use it to 'do the right thing'.
7525
7526         * text2.C (getStringToIndex): ensure that cursor position is always
7527         reset to the reset_cursor position.
7528
7529 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7530
7531         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7532         disabled.
7533
7534 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7535
7536         * bufferview.C:
7537         * lyxcb.C:
7538         * lyxfunc.C: Output messages with identical spelling, punctuation,
7539         and spaces
7540
7541 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7542
7543         * MenuBackend.C (expandFormats): List only viewable export formats
7544         in "View" menu
7545
7546         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7547         message
7548
7549         * lyxfunc.C (getStatus): Make sure that formats other than
7550         "fax" can also be disabled
7551
7552 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7553
7554         * text3.C (dispatch): put the lfuns that insert insets in 3
7555         groups, and call doInsertInset with appropriate arguments.
7556         (doInsertInset): new function, that creates an inset and inserts
7557         it according to some boolean parameters.
7558
7559 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7560
7561         * buffer.C (readFile): remember to pass on 'par' when calling
7562         readFile recursively.
7563
7564 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7565
7566         * MenuBackend.C (expandFormats): add "..." to import formats.
7567
7568 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7569
7570         * paragraph.C (asString): Remove XForms RTL hacks.
7571
7572 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7573         * buffer.C: fix typo
7574
7575 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7576
7577         * Makefile.am (LIBS): delete var
7578         (lyx_LDADD): add @LIBS@ here instead.
7579
7580 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7581
7582         * Clarify the meaning of "wheel mouse jump"
7583
7584 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7585
7586         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7587         tabular in a float
7588
7589 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7590
7591         * importer.C (Loaders): do not preallocate 3 elements in the
7592         vector, since one ends up with 6 elements otherwise
7593
7594 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7595
7596         * DepTable.C (write): write the file name as last element of the
7597         .dep file (because it may contain spaces)
7598         (read): read info in the right order
7599
7600 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7601
7602         * paragraph_pimpl.C (simpleTeXBlanks):
7603         (simpleTeXSpecialChars):
7604         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7605
7606         * tabular.C (latex): add some missing case statements. Reindent.
7607
7608         * MenuBackend.C (expandToc): remove unused variable.
7609
7610 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7611
7612         * LColor.C:
7613         * LaTeX.C:
7614         * LyXAction.C:
7615         * MenuBackend.C:
7616         * buffer.C:
7617         * exporter.C:
7618         * lyxfunc.C:
7619         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7620         and the like.
7621
7622 2003-01-05  John Levon  <levon@movementarian.org>
7623
7624         * BufferView.h:
7625         * BufferView.C: add getEncoding()
7626
7627         * kbsequence.h:
7628         * kbsequence.C: do not store last keypress
7629
7630         * lyxfunc.h:
7631         * lyxfunc.C: store last keypress here instead. Pass encoding
7632           to getISOEncoded()
7633
7634 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7635
7636         * lyx_main.C (init): remove annoying error message when following
7637         symbolic links (bug #780)
7638
7639 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7640
7641         * text.C (insertChar):
7642         * lyxrc.C (getDescription): remove extra spaces
7643
7644 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7645
7646         * lyxrc.C (getDescription): remove extra spaces
7647
7648 2002-12-20  John Levon  <levon@movementarian.org>
7649
7650         * text3.C: hack fix for page up/down across tall rows
7651
7652 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7653
7654         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7655         not been invoked
7656
7657 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7658
7659         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7660         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7661         thesaurus is not compiled in
7662
7663 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7664
7665         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7666
7667 2002-12-16  Angus Leeming  <leeming@lyx.org>
7668
7669         * lyxrc.[Ch]:
7670         * lyx_main.C (init): remove override_x_deadkeys stuff.
7671
7672 2002-12-12  John Levon  <levon@movementarian.org>
7673
7674         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7675           insert. Only remove shift modifier under strict
7676           circumstances.
7677
7678 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7679
7680         * MenuBackend.C (expandToc): fix crash.
7681
7682 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7683
7684         * MenuBackend.C (expandToc): gettext on float names.
7685
7686 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7687
7688         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7689         implement bool empty() [bug 490]
7690
7691 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7692
7693         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7694
7695 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7696
7697         * several files: ws changes
7698
7699 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7700
7701         * text2.C (setCounter): clean up a bit, use boost.format.
7702         (updateCounters): initialize par upon declaration.
7703
7704         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7705         if the layout exists. We do not just store the layout any more.
7706         (SwitchLayoutsBetweenClasses): use boost.format
7707
7708 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7709
7710         * converter.C (convert): if from and to files are the same, use a
7711         temporary files as intermediary
7712
7713 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7714
7715         * commandtags.h:
7716         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7717
7718 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7719
7720         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7721
7722 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7723
7724         * tabular.C (asciiPrintCell): use string(size, char) instead of
7725         explicit loop.
7726
7727         * sgml.C (openTag): fix order of arguments to string constructor
7728         (closeTag): ditto
7729
7730         * lyxfunc.C (dispatch): use boost.format
7731
7732         * lots of files: change "c" -> 'c'
7733
7734 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7735
7736         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7737
7738 2002-11-25  Angus Leeming  <leeming@lyx.org>
7739
7740         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7741
7742         * lyx_main.C (init): compile fix.
7743
7744 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7745
7746         * lyx_cb.C (start): boost.formatify
7747         do not include <iostream>
7748
7749         * lengthcommon.C: ws only
7750
7751         * boost-inst.C,BoostFormat.h: add more explict instantations
7752
7753 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7754
7755         * lots of files: handle USE_BOOST_FORMAT
7756
7757 2002-11-21  John Levon  <levon@movementarian.org>
7758
7759         * pspell.C: fix compile
7760
7761 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7762
7763         * lyxfunc.C (dispatch): use boost::format
7764         (open): ditto
7765         (doImport): ditto
7766
7767         * lyxfont.C (stateText): use boost::format
7768
7769         * lyx_main.C (LyX): use boost::format
7770         (init): ditto
7771         (queryUserLyXDir): ditto
7772         (readRcFile): ditto
7773         (parse_dbg): ditto
7774         (typedef boost::function): use the recommened syntax.
7775
7776         * importer.C (Import): use boost::format
7777
7778         * debug.C (showLevel): use boost::format
7779
7780         * converter.C (view): use boost::format
7781         (convert): ditto
7782         (move): ditto
7783         (scanLog): ditto
7784
7785         * bufferview_funcs.C (currentState): use boost::format
7786
7787         * bufferlist.C (emergencyWrite): use boost::format
7788
7789         * buffer.C (readLyXformat2): use boost::format
7790         (parseSingleLyXformat2Token): ditto
7791
7792         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7793
7794         * LaTeX.C (run): use boost::format
7795
7796         * Chktex.C (scanLogFile): use boost::format
7797
7798         * BufferView_pimpl.C (savePosition): use boost::format
7799         (restorePosition): ditto
7800         (MenuInsertLyXFile): ditto
7801
7802         * BoostFormat.h: help file for explicit instation.
7803
7804 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7805
7806         * tabular.C (latex): Support for block alignment in fixed width
7807         columns.
7808
7809 2002-11-17  John Levon  <levon@movementarian.org>
7810
7811         * BufferView_pimpl.C:
7812         * lyx_cb.C:
7813         * lyxfunc.C: split filedialog into open/save
7814
7815 2002-11-08  Juergen Vigna  <jug@sad.it>
7816
7817         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7818         by my last patch (hopefully).
7819
7820 2002-11-08  John Levon  <levon@movementarian.org>
7821
7822         * iterators.h:
7823         * iterators.C:
7824         * buffer.h:
7825         * buffer.C:
7826         * paragraph.h:
7827         * paragraph.C:
7828         * toc.h:
7829         * toc.C: ParConstIterator, and use it (from Lars)
7830
7831 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7832
7833         * lyxtextclass.[Ch]: revise and add doxygen comments
7834
7835 2002-11-07  John Levon  <levon@movementarian.org>
7836
7837         * text.C: fix progress value for spellchecker
7838
7839         * toc.C: fix navigate menu for insetwrap inside minipage
7840
7841         * paragraph_funcs.C: added FIXME for suspect code
7842
7843 2002-11-07  John Levon  <levon@movementarian.org>
7844
7845         * BufferView_pimpl.C: fix redrawing of insets
7846           on buffer switch
7847
7848 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7849
7850         * text2.C (updateCounters): fix bug 668
7851
7852 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7853
7854         * text3.C (dispatch): Do not make the buffer dirty when moving the
7855         cursor.
7856
7857 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7858
7859         * vc-backend.C: STRCONV
7860         (scanMaster): ditto
7861
7862         * text2.C (setCounter): STRCONV
7863
7864         * paragraph.C (asString): STRCONV
7865
7866         * lyxlength.C (asString): STRCONV
7867         (asLatexString): ditto
7868
7869         * lyxgluelength.C (asString): STRCONV
7870         (asLatexString): ditto
7871
7872         * lyxfunc.C (dispatch): STRCONV
7873         (open): ditto
7874
7875         * lyxfont.C (stateText): STRCONV
7876
7877         * importer.C (Import): STRCONV
7878
7879         * counters.C (labelItem): STRCONV
7880         (numberLabel): ditto
7881         (numberLabel): remove unused ostringstream o
7882
7883         * chset.C: STRCONV
7884         (loadFile): ditto
7885
7886         * bufferview_funcs.C (currentState): STRCONV
7887
7888         * buffer.C (readFile): STRCONV
7889         (asciiParagraph): ditto
7890         (makeLaTeXFile): ditto
7891
7892         * Spacing.C (writeEnvirBegin): STRCONV
7893
7894         * LaTeXFeatures.C (getLanguages): STRCONV
7895         (getPackages): ditto
7896         (getMacros): ditto
7897         (getBabelOptions): ditto
7898         (getTClassPreamble): ditto
7899         (getLyXSGMLEntities): ditto
7900         (getIncludedFiles): ditto
7901
7902         * LaTeX.C: STRCONV
7903         (run): ditto
7904         (scanAuxFile): ditto
7905         (deplog): ditto
7906
7907         * LString.h: add the STRCONV macros
7908
7909         * BufferView_pimpl.C (savePosition): STRCONV
7910         (restorePosition): ditto
7911         (MenuInsertLyXFile): ditto
7912
7913         * vc-backend.C (scanMaster): change from submatch[...] to
7914         submatch.str(...)
7915
7916         * funcrequest.C: include config.h
7917
7918         * factory.C: include config.h
7919
7920         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7921
7922         * box.C: include config.h
7923
7924         * LaTeX.C (scanAuxFile): change from submatch[...] to
7925         submatch.str(...)
7926         (deplog): ditto
7927
7928 2002-10-25  Angus Leeming  <leeming@lyx.org>
7929
7930         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7931
7932         * ispell.[Ch] (setError): new method.
7933         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7934         Use setError() insetead of goto END.
7935
7936         * lyx_cb.C (AutoSave): move out child process into new class
7937         AutoSaveBuffer.
7938
7939 2002-10-30  John Levon  <levon@movementarian.org>
7940
7941         * text3.C: make start appendix undoable
7942
7943 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7944
7945         * lyxlength.C (inPixels): Fix returned value.
7946
7947         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7948         environment.
7949
7950 2002-10-24  Angus Leeming  <leeming@lyx.org>
7951
7952         * lyxgluelength.h: no need to forward declare BufferParams
7953         or BufferView, so don't.
7954
7955 2002-10-21  John Levon  <levon@movementarian.org>
7956
7957         * BufferView.C: menuUndo ->undo, redo
7958
7959         * BufferView.h: document, remove dead, make some methods private
7960
7961         * paragraph_funcs.h:
7962         * paragraph_funcs.C:
7963         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7964
7965         * buffer.h:
7966         * buffer.C:
7967         * sgml.h:
7968         * sgml.C: move sgml open/close tag into sgml.C
7969
7970         * bufferview_funcs.h: unused prototype
7971
7972         * lyxfunc.h:
7973         * lyxfunc.C: remove unused
7974
7975         * lyxtext.h:
7976         * text.C: remove unused
7977
7978 2002-10-21  John Levon  <levon@movementarian.org>
7979
7980         * BufferView.h:
7981         * BufferView.C:
7982         * BufferView_pimpl.h:
7983         * BufferView_pimpl.C: fix mouse wheel handling based on
7984           patch from Darren Freeman
7985
7986 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7987
7988         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7989
7990 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7991
7992         * lyxlength.C (inPixels): Fix hanfling of negative length.
7993         Fix LyXLength::MU case.
7994
7995 2002-10-16  John Levon  <levon@movementarian.org>
7996
7997         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7998
7999 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8000
8001         * converter.C (view): add support for $$i (file name) and $$p
8002         (file path) for the viewer command. If $$i is not specified, then
8003         it is appended to the command (for compatibility with old syntax)
8004
8005 2002-10-14  Juergen Vigna  <jug@sad.it>
8006
8007         * undo_funcs.C (textHandleUndo): alter the order in which the
8008         new undopar is added to the LyXText, as we have to set first
8009         the right prev/next and then add it as otherwise the rebuild of
8010         LyXText is not correct. Also reset the cursor to the right paragraph,
8011         with this IMO we could remove the hack in "redoParagraphs()".
8012
8013 2002-10-09  Angus Leeming  <leeming@lyx.org>
8014
8015         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8016         to turn off an optimisation if a new inset is to be inserted.
8017
8018 2002-10-11 André Pönitz <poenitz@gmx.net>
8019
8020         * lyxtext.h: make some functions public to allow access
8021         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8022
8023 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8024
8025         * text3.C (dispatch): when changing layout, avoid an infinite loop
8026         [bug #652]
8027
8028 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8029
8030         * lyxrc.C (read): treat a viewer or converter command of "none" as
8031         if it were empty.
8032
8033         * MenuBackend.C (expandFormats): for an update, also allow the
8034         formats that are not viewable
8035
8036         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8037         script if it is newer than the lyxrc.defaults in user directory
8038
8039 2002-10-07 André Pönitz <poenitz@gmx.net>
8040
8041         * text.C: Vitaly Lipatov's small i18n fix
8042
8043 2002-09-25  Angus Leeming  <leeming@lyx.org>
8044
8045         * ispell.h: doxygen fix.
8046
8047 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8048
8049         * buffer.h (readFile): Add a new argument to the method, to allow
8050         reading of old-format templates.
8051
8052 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8053
8054         * toc.C (getTocList): Get TOC from InsetWrap.
8055
8056 2002-09-16  John Levon  <levon@movementarian.org>
8057
8058         * lyxfunc.C: check tabular for cut/copy too
8059
8060 2002-09-12  John Levon  <levon@movementarian.org>
8061
8062         * LyXAction.C: tidy
8063
8064         * factory.h:
8065         * factory.C: add header
8066
8067         * paragraph_funcs.h:
8068         * paragraph_funcs.C: cleanup
8069
8070 2002-09-11  John Levon  <levon@movementarian.org>
8071
8072         * PrinterParams.h: odd/even default to true
8073
8074 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8075
8076         * PrinterParams.h: update printer parameters for new xforms dialog
8077
8078 2002-09-11  Angus Leeming  <leeming@lyx.org>
8079
8080         * lyxserver.C (read_ready): re-write to make it more transparent
8081         and to make it work in coherent fashion under Tru64 Unix.
8082
8083 2002-09-11  André Pönitz <poenitz@gmx.net>
8084
8085         * commandtags.h:
8086         * LyXAction.C:
8087         * text3.C: implement LFUN_WORDSEL
8088
8089 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8090
8091         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8092         make floatlist_ a boost::shared_ptr<FloatList>
8093
8094         * lyxtextclass.C: include FloatList.h
8095         (LyXTextClass): initialize floatlist_
8096         (TextClassTags): add TC_NOFLOAT
8097         (Read): match "nofloat" to TC_NOFLOAT and use it.
8098         (readFloat): modify call to floatlist_
8099         (floats): ditto
8100         (floats): ditto
8101
8102         * FloatList.[Ch] (FloatList): remove commented out float
8103         initialization.
8104         (erase): new function
8105
8106 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8107
8108         * MenuBackend.C (expandToc): fix crash when there is no document
8109         open
8110
8111 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8112
8113         * many files: Add insetwrap.
8114
8115 2002-09-09  John Levon  <levon@movementarian.org>
8116
8117         * text2.C: remove confusing and awkward depth wraparound
8118
8119 2002-09-09  John Levon  <levon@movementarian.org>
8120
8121         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8122
8123         * buffer.h:
8124         * buffer.C: remove getIncludeonlyList()
8125
8126         * paragraph.C:
8127         * lyxfunc.C: remove headers
8128
8129 2002-09-09  Juergen Vigna  <jug@sad.it>
8130
8131         * text.C (getColumnNearX): fix form Michael this is most
8132         probably a cut&paste bug.
8133
8134 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8135
8136         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8137
8138         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8139         references, ws changes.
8140
8141         * text2.C (init): update counters after init
8142         (insertParagraph): no need to set counter on idividual paragraphs.
8143         (setCounter): access the counters object in the textclass object
8144         on in the buffer object.
8145         (updateCounters): ditto
8146
8147         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8148         shared_ptr<Counters> to avoid loading counters.h in all
8149         compilation units.
8150         (LyXTextClass): initialize ctrs_
8151         (TextClassTags): add TC_COUNTER, and ...
8152         (Read): use it here.
8153         (CounterTags): new tags
8154         (readCounter): new function
8155         (counters): new funtion
8156         (defaultLayoutName): return a const reference
8157
8158         * counters.C (Counters): remove contructor
8159         (newCounter): remove a couple of unneeded statements.
8160         (newCounter): simplify a bit.
8161         (numberLabel): some small formatting changes.
8162
8163         * buffer.[Ch]: remove all traces of counters, move the Counters
8164         object to the LyXTextClass.
8165
8166 2002-09-06  Alain Castera  <castera@in2p3.fr>
8167
8168         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8169         package to set the horizontal alignment on fixed width columns.
8170
8171         * lyx_sty.C:
8172         * lyx_sty.h: added tabularnewline macro def.
8173
8174         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8175
8176 2002-09-06  John Levon  <levon@movementarian.org>
8177
8178         * LyXAction.C: tooltips for sub/superscript
8179
8180         * MenuBackend.C: a bit more verbose
8181
8182         * lyxfunc.C: tiny clean
8183
8184         * undo_funcs.C: document undo_frozen
8185
8186 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8187
8188         * counters.C (Counters): add missing algorithm counter.
8189
8190         * text2.C (setCounter): lookup the counter with layouts latexname
8191         instead of by section number.
8192         (setCounter): use a hackish way to lookup the correct enum
8193         counter.
8194         a float name->type change
8195         reset enum couners with counter name directly instead of depth value.
8196
8197         * counters.C (Counters): remove the push_backs, change to use the
8198         float type not the float name.
8199         (labelItem): remove unused string, float name->type change
8200
8201         * counters.h: don't include vector, loose the enums and sects vectors
8202
8203 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8204
8205         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8206         (Read): add float->TC_FLOAT to textclassTags
8207         (Read): and handle it in the switch
8208         (readFloat): new function
8209
8210         * FloatList.C (FloatList): comment out the hardcoded float
8211         definitions.
8212
8213         * lyxlayout.h: ws change.
8214
8215 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8216
8217         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8218
8219 2002-09-03  Angus Leeming  <leeming@lyx.org>
8220
8221         * BufferView_pimpl.h: qualified name is not allowed in member
8222         declaration: WorkArea & Pimpl::workarea() const;
8223
8224         * factory.C: added using std::endl directive.
8225
8226         * text3.C: added using std::find and std::vector directives.
8227
8228 2002-08-29  André Pönitz <poenitz@gmx.net>
8229
8230         * lyxtext.h:
8231         * text2.C: remove unused member number_of_rows
8232
8233         * Makefile.am:
8234         * BufferView2.C: remove file, move contents to...
8235         * BufferView.C: ... here
8236
8237         * BufferView_pimpl.C:
8238         * factory.C: move more inset creation to factory
8239
8240         * vspace.C: avoid direct usage of LyXText, ws changes
8241
8242         * BufferView.[Ch]:
8243                 don't provide direct access to WorkArea, use two simple
8244                 acessors haveSelction() and workHeight() instead
8245
8246
8247 2002-08-29  John Levon  <levon@movementarian.org>
8248
8249         * BufferView_pimpl.C (dispatch): do not continue when
8250           no buffer
8251
8252 2002-08-28  André Pönitz <poenitz@gmx.net>
8253
8254         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8255
8256         * BufferView.h:
8257         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8258
8259 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8260
8261         * buffer.C: increment LYX_FORMAT to 221
8262
8263         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8264         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8265
8266         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8267
8268         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8269
8270 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8271
8272         * factory.C (createInset): use LyXTextClass::floats
8273
8274         * MenuBackend.C (expandFloatListInsert):
8275         (expandFloatInsert):
8276         (expandToc):
8277
8278         * text2.C (setCounter):
8279
8280         * LaTeXFeatures.C (useFloat):
8281         (getFloatDefinitions):
8282
8283         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8284
8285         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8286         floatlist_, with accessor floats().
8287
8288         * FloatList.h: remove global FloatList
8289
8290 2002-08-26  André Pönitz <poenitz@gmx.net>
8291
8292         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8293
8294         * BufferView.h:
8295         * BufferView2.C:
8296         * BufferView_pimpl.C:
8297         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8298
8299 2002-08-25  John Levon  <levon@movementarian.org>
8300
8301         * LyXAction.C: fix margin note description
8302
8303 2002-08-24  John Levon  <levon@movementarian.org>
8304
8305         * buffer.C:
8306         * bufferlist.C:
8307         * bufferview_funcs.C:
8308         * lyxfont.C:
8309         * undo_funcs.C: cleanups
8310
8311         * lyxfunc.C: disable CUT/COPY when no selection
8312
8313 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8314
8315         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8316         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8317
8318         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8319         Add backward compatibility to "mono", "gray" and "no".
8320
8321 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8322
8323         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8324         (and file_format >= 200).
8325
8326 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8327
8328         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8329
8330 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8331
8332         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8333
8334 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8335
8336         * BufferView_pimpl.C:
8337         * LyXAction.C:
8338         * buffer.C:
8339         * commandtags.h:
8340         * lyxfunc.C:
8341         * paragraph.[Ch]:
8342         * text2.C:
8343         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8344         inset and code to make it  work with the paragraph code. The inset
8345         can be anywhere in the paragraph, but will only do the expected
8346         thing in LaTeX if the layout file contains the parameter line
8347                         OptionalArgs    1
8348         (or more generally, a nonzero value) for that layout.
8349
8350 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8351
8352         * paragraph.h: remove the declaration of undefined counters class
8353         function.
8354
8355 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8356
8357         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8358         Dr. Richard Hawkins.
8359
8360 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8361
8362         * paragraph_funcs.h: remove some unneeded includes
8363
8364         * text.C (backspace): pasteParagraph now in global scipe
8365
8366         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8367         (pasteSelection): ditto
8368
8369         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8370         * paragraph_funcs.C (pasteParagraph): ... here
8371
8372 2002-08-20  André Pönitz <poenitz@gmx.net>
8373
8374         * commandtags.h: new LFUNs for swapping/copying table row/colums
8375
8376         * LyXAction.C:
8377         * lyxfunc.C: support for new lfuns
8378
8379 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8380
8381         * tabular.C:
8382         * buffer.[Ch]: remove NO_COMPABILITY stuff
8383
8384 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8385
8386         * boost.C (throw_exception): new file, with helper function for
8387         boost compiled without exceptions.
8388
8389         * paragraph.h:
8390         * lyxlength.C:
8391         * buffer.C:
8392         * ParameterStruct.h:
8393         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8394
8395         * bufferlist.C (emergencyWriteAll): use boost bind
8396
8397         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8398
8399         * text.C: include paragraph_funcs.h
8400         (breakParagraph): breakParagraph is now in global scope
8401
8402         * paragraph_funcs.[Ch]: new files
8403
8404         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8405         global scope
8406
8407         * buffer.C: include paragraph_funcs.h
8408         (insertStringAsLines): breakParagraph is now in global scope
8409
8410         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8411         paragraph_funcs.C
8412
8413         * CutAndPaste.C: include paragraph_funcs.h
8414         (cutSelection): breakParagraphConservative is now in global scope
8415         (pasteSelection): ditto
8416
8417         * buffer.h: declare oprator== and operator!= for
8418         Buffer::inset_iterator
8419
8420         * bufferlist.C (emergencyWrite): don't use fmt(...)
8421
8422         * text3.C: add using std::endl
8423
8424         * BufferView.C (moveCursorUpdate): remove default arg
8425
8426 2002-08-20  André Pönitz <poenitz@gmx.net>
8427
8428         * buffer.[Ch]: move inline functions to .C
8429
8430         * BufferView2.C:
8431         * BufferView_pimpl.C:
8432         * text.C:
8433         * buffer.[Ch]: use improved inset_iterator
8434
8435         * buffer.C:
8436         * paragraph.[Ch]: write one paragraph at a time
8437
8438 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8439
8440         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8441         style if style is not specified.
8442
8443 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8444
8445         * text2.C (setCounter): when searching for right label for a
8446         caption, make sure to recurse to parent insets (so that a caption
8447         in a minipage in a figure float works) (bug #568)
8448
8449 2002-08-20  André Pönitz <poenitz@gmx.net>
8450
8451         * text3.C: new file for LyXText::dispatch() and helpers
8452
8453         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8454
8455         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8456
8457 2002-08-19  André Pönitz <poenitz@gmx.net>
8458
8459         * lyxtext.h:
8460         * text.C: new LyXText::dispatch()
8461
8462         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8463
8464 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8465
8466         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8467
8468         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8469         Hebrew text.
8470
8471 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8472
8473         * Makefile.am: use $(variables) instead of @substitutions@
8474
8475 2002-08-15  André Pönitz <poenitz@gmx.net>
8476
8477         * lyxfunc.C:
8478         * BufferView_pimpl.C: streamlining mathed <-> outer world
8479         interaction
8480
8481         * commandtags.h:
8482         * LyXAction.C: remove unused LFUN_MATH
8483
8484 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8485
8486         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8487
8488 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8489
8490         * paragraph.C (Paragraph): reformat a bit
8491         (cutIntoMinibuffer): use builtin InsetList function instad of
8492         doing it manually.
8493         (getInset): ditto
8494
8495         * buffer.C: include boost/bind.hpp, add using std::for_each
8496         (writeFileAscii): use ParagraphList iterators
8497         (validate): use for_each for validate traversal of paragraphs
8498         (getBibkeyList): use ParagraphList iterators
8499         (resizeInsets): use for_each to resizeInsetsLyXText for all
8500         paragraphs.
8501         (getParFromID): use ParagraphList iterators
8502
8503         * BufferView2.C (lockInset): use paragraph list and iterators
8504
8505 2002-08-14  John Levon  <levon@movementarian.org>
8506
8507         * lyxserver.C: remove spurious xforms include
8508
8509 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8510
8511         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8512
8513 2002-08-13  André Pönitz <poenitz@gmx.net>
8514
8515         * LyXAction.[Ch]:
8516         * lyxfunc.C: further cleaning
8517
8518 2002-08-13  André Pönitz <poenitz@gmx.net>
8519
8520         * funcrequest.h: new constructor
8521
8522         * funcrequest.C: move stuff here from .h
8523
8524         * Makefile.am:
8525         * BufferView_pimpl.C:
8526         * LyXAction.C:
8527         * toc.C:
8528         * lyxfunc.C: subsequent changes
8529
8530         * lyxfunc.h: new view() member function
8531
8532         * lyxfunc.C: subsequent changes
8533
8534 2002-08-13  Angus Leeming  <leeming@lyx.org>
8535
8536         * BufferView2.C:
8537         * BufferView_pimpl.C:
8538         * buffer.C:
8539         * converter.C:
8540         * importer.C:
8541         * lyxfunc.C:
8542         * lyxvc.C:
8543         * toc.C:
8544         * vc-backend.C:
8545         changes due to the changed LyXView interface that now returns references
8546         to member variables not pointers.
8547
8548 2002-08-13  Angus Leeming  <leeming@lyx.org>
8549
8550         * WordLangTuple (word, lang_code): return references to strings,
8551         not strings.
8552
8553         * BufferView.h:
8554         * SpellBase.h:
8555         * lyxtext.h: forward-declare WordLangTuple.
8556
8557         * BufferView2.C:
8558         * ispell.C:
8559         * pspell.C:
8560         * text.C: #include "WordLangTuple.h".
8561
8562         * lyxtext.h:
8563         * text.C: (selectNextWordToSpellcheck): constify return type.
8564
8565 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8566
8567         * buffer.C:
8568         * buffer.h:
8569         * lyxtext.h:
8570         * paragraph.C:
8571         * paragraph_pimpl.h:
8572         * text.C:
8573         * text2.C:
8574         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8575         suggested by Angus.
8576         Made updateCounter always count from start of buffer, and removed
8577         second argument (par).
8578         Reverted floats number display to '#'. Perhaps I'll try again when the
8579         code base is sanitized a bit.
8580
8581 2002-08-12  Angus Leeming  <leeming@lyx.org>
8582
8583         * buffer.[Ch] (getLabelList): constify.
8584
8585 2002-08-07  André Pönitz <poenitz@gmx.net>
8586
8587         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8588
8589         * funcrequest.h: extension to keep mouse (x,y) position
8590
8591 2002-08-12  Juergen Vigna  <jug@sad.it>
8592
8593         * BufferView2.C (insertErrors): forbid undo when inserting error
8594         insets.
8595
8596         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8597
8598 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8599
8600         * ParagraphList.[Ch]: new files
8601
8602         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8603
8604         * BufferView2.C (lockInset): ParagraphList changes
8605         * toc.C: ditto
8606         * text2.C: ditto
8607         * bufferlist.C: ditto
8608         * buffer.h: ditto
8609         * buffer.C: ditto
8610
8611 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8612
8613         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8614         unused class variable counter_,
8615
8616         * paragraph.[Ch] (getFirstCounter): delete unused function
8617
8618         * counters.C: include LAssert.h
8619         (reset): add a new function with no arg, change other version to
8620         not have def. arg and to not allow empty arg.
8621
8622         * text2.C (setCounter): remove empty arg from call to Counters::reset
8623
8624 2002-08-11  John Levon  <levon@movementarian.org>
8625
8626         * Makefile.am: add WordLangTuple.h
8627
8628 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8629
8630         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8631         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8632
8633         * insets/insettext.C: InsetList changes
8634
8635         * graphics/GraphicsSupport.C (operator()): InsetList changes
8636
8637         * toc.C (getTocList): InsetList changes
8638
8639         * paragraph_pimpl.[Ch]: InsetList changes
8640
8641         * paragraph.[Ch]: InsetList changes
8642
8643         * buffer.C (inset_iterator): InsetList changes
8644         (setParagraph): ditto
8645         * buffer.h (inset_iterator): ditto
8646         * iterators.C (operator++): ditto
8647         * iterators.h: ditto
8648
8649         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8650
8651         * InsetList.[Ch]: new files, most InsetList handling moved out of
8652         paragraph.C.
8653
8654         * BufferView2.C (removeAutoInsets): InsetList changes
8655         (lockInset): ditto
8656         (ChangeInsets): ditto
8657
8658 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8659
8660         * paragraph_pimpl.h (empty): new function
8661
8662         * paragraph.[Ch] (empty): new function
8663
8664         * other files: use the new Paragraph::empty function
8665
8666 2002-08-09  John Levon  <levon@movementarian.org>
8667
8668         * lyxtext.h: remove unused refresh_height
8669
8670 2002-08-09  John Levon  <levon@movementarian.org>
8671
8672         * Makefile.am:
8673         * sgml.h:
8674         * sgml.C:
8675         * buffer.C:
8676         * paragraph.h:
8677         * paragraph.C: move sgml char escaping out of paragraph
8678
8679         * paragraph.h:
8680         * paragraph.C: remove id setter
8681
8682         * buffer.C:
8683         * paragraph.C:
8684         * paragraph_pimpl.C: remove dead tex_code_break_column
8685
8686         * bufferview_funcs.C: small cleanup
8687
8688         * lyxfunc.C: remove dead proto
8689
8690         * lyxtext.h: make some stuff private. Remove some dead stuff.
8691
8692         * lyxgluelength.C: make as[LyX]String() readable
8693
8694 2002-08-08  John Levon  <levon@movementarian.org>
8695
8696         * LyXAction.h:
8697         * LyXAction.C:
8698         * MenuBackend.C:
8699         * ToolbarDefaults.C:
8700         * lyxfunc.C:
8701         * lyxrc.C:
8702         * toc.C: lyxaction cleanup
8703
8704 2002-08-08  John Levon  <levon@movementarian.org>
8705
8706         * BufferView2.C: small cleanup
8707
8708         * lyxfind.h:
8709         * lyxfind.C: move unnecessary header into the .C
8710
8711 2002-08-08  John Levon  <levon@movementarian.org>
8712
8713         * funcrequest.h: just tedious nonsense
8714
8715         * lyx_main.h:
8716         * lyx_main.C: cleanups
8717
8718         * buffer.C:
8719         * vspace.C: remove dead header lyx_main.h
8720
8721 2002-08-07  Angus Leeming  <leeming@lyx.org>
8722
8723         * Paragraph.[Ch]:
8724         * paragraph_pimpl.h:
8725         Forward declare class Counters in paragraph.h by moving the ctrs member
8726         variable into Paragraph::Pimpl.
8727         (counters): new method, returning a reference to pimpl_->ctrs.
8728
8729         * text2.C: ensuing changes.
8730
8731 2002-08-07  John Levon  <levon@movementarian.org>
8732
8733         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8734
8735         * BufferView_pimpl.C: announce X selection on double/triple
8736           click
8737
8738         * lyx_main.C: use correct bool in batch dispatch
8739
8740         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8741
8742 2002-08-07  André Pönitz <poenitz@gmx.net>
8743
8744         * funcrequest.h: new class to wrap a kb_action and its argument
8745
8746         * BufferView.[Ch]:
8747         * BufferView_pimpl[Ch]:
8748         * LaTeX.C:
8749         * LyXAction.[Ch]:
8750         * lyxfunc.[Ch]:
8751         * lyxrc.C: subsequent changes
8752
8753
8754 2002-08-07  John Levon  <levon@movementarian.org>
8755
8756         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8757           document options change.
8758
8759 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8760
8761         * counters.[Ch]
8762         * text2.C
8763         * paragraph.[Ch]
8764         * makefile.am: move counters functionality over from
8765         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8766
8767 2002-08-06  John Levon  <levon@movementarian.org>
8768
8769         * WordLangTuple.h: new file for word + language code tuple
8770
8771         * SpellBase.h:
8772         * pspell.h:
8773         * pspell.C:
8774         * ispell.h:
8775         * ispell.C:
8776         * lyxtext.h:
8777         * text.C:
8778         * text2.C:
8779         * BufferView.h:
8780         * BufferView2.C: use WordLangTuple
8781
8782         * layout.h:
8783         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8784
8785 2002-08-06  John Levon  <levon@movementarian.org>
8786
8787         * lyx_main.C: fix cmdline batch handling
8788
8789 2002-08-06  André Pönitz <poenitz@gmx.net>
8790
8791         * lyxrc.C: set default for show_banner to true
8792
8793 2002-08-06  John Levon  <levon@movementarian.org>
8794
8795         * pspell.C: fix a crash, and allow new aspell to work
8796
8797 2002-08-06  John Levon  <levon@movementarian.org>
8798
8799         * lyxfunc.C:
8800         * kbmap.C: small cleanup
8801
8802         * vspace.h:
8803         * vspace.C: add const
8804
8805 2002-08-05  John Levon  <levon@movementarian.org>
8806
8807         * LyXAction.C: back to tabular-insert
8808
8809 2002-08-04  John Levon  <levon@movementarian.org>
8810
8811         * BufferView.h:
8812         * BufferView.C: cosmetic change
8813
8814         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8815
8816         * bufferlist.C:
8817         * buffer.h:
8818         * buffer.C:
8819         * lyxcb.h:
8820         * lyxcb.C:
8821         * lyxserver.C:
8822         * lyxvc.C:
8823         * vc-backend.C:
8824         * BufferView2.C: purge all "Lyx" not "LyX" strings
8825
8826         * lyxcursor.h:
8827         * lyxcursor.C: attempt to add some documentation
8828
8829         * lyxfunc.C:
8830         * commandtags.h:
8831         * LyXAction.C:
8832         * ToolbarDefaults.C:
8833         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8834           merge with LFUN_TABULAR_INSERT
8835
8836         * Makefile.am:
8837         * SpellBase.h:
8838         * ispell.h:
8839         * ispell.C:
8840         * pspell.h:
8841         * pspell.C: split up i/pspell implementations into separate
8842           files, many cleanups
8843
8844         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8845
8846         * text2.C: some cleanup
8847
8848         * lyxfunc.C: don't check for isp_command == "none" any more, it
8849           didn't make any sense
8850
8851 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8852
8853         * counters.[Ch]
8854         * text2.C
8855         * paragraph.[Ch]
8856         * makefile.am: move counters functionality over
8857         from text2.C/paragraph.[Ch] to counters.[Ch], and
8858         make proper C++.
8859 2002-08-02  John Levon  <levon@movementarian.org>
8860
8861         * buffer.C: s/lyxconvert/lyx2lyx/
8862
8863 2002-08-02  Angus Leeming  <leeming@lyx.org>
8864
8865         * lyxlex.C: revert John's change as it breaks reading of the user
8866         preamble.
8867
8868 2002-08-02  Angus Leeming  <leeming@lyx.org>
8869
8870         * importer.C (Import):
8871         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8872         changes due to LyXView::view() now returning a boost::shared_ptr.
8873
8874 2002-08-02  John Levon  <levon@movementarian.org>
8875
8876         * lyxlex.C: small cleanup
8877
8878 2002-08-02  John Levon  <levon@movementarian.org>
8879
8880         * text2.C (status): small cleanup, no logic change
8881
8882 2002-08-01  John Levon  <levon@movementarian.org>
8883
8884         * buffer.h:
8885         * buffer.C (writeFile): don't output alerts, caller
8886           handles this
8887
8888         * bufferlist.C:
8889         * lyx_cb.C: from above
8890
8891         * lyxfunc.C: allow to open non-existent files
8892
8893 2002-07-31  John Levon  <levon@movementarian.org>
8894
8895         * lyxserver.C: don't let incidental errors get
8896           in the way (errno)
8897
8898 2002-07-30  John Levon  <levon@movementarian.org>
8899
8900         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8901
8902 2002-07-30  John Levon  <levon@movementarian.org>
8903
8904         * lyxserver.h:
8905         * lyxserver.C: remove I/O callback too
8906
8907 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8908
8909         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8910         log.
8911
8912 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8913
8914         * many files: strip,frontStrip -> trim,ltrim,rtrim
8915
8916 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8917
8918         * PrinterParams.h: remove extern containsOnly, and include
8919         support/lstrings.h instead.
8920
8921         * LaTeX.C (scanAuxFile): modify because of strip changes
8922         (deplog): ditto
8923         * buffer.C (makeLaTeXFile): ditto
8924         * bufferparams.C (writeFile): ditt
8925         * lyxfont.C (stateText): ditto
8926         * lyxserver.C (read_ready): ditto
8927         * vc-backend.C (scanMaster): ditto
8928
8929         * BufferView_pimpl.h: ws changes
8930
8931         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8932
8933 2002-07-26  André Pönitz <poenitz@gmx.net>
8934
8935         * kb_sequence.C: remove unnedred usings
8936
8937 2002-07-26  Juergen Vigna  <jug@sad.it>
8938
8939         * lyxfind.C (LyXReplace): we have to check better if the returned
8940         text is not of theLockingInset()->getLockingInset().
8941
8942 2002-07-25  Juergen Vigna  <jug@sad.it>
8943
8944         * lyxfind.C (LyXReplace): don't replace if we don't get the
8945         right LyXText.
8946
8947         * undo_funcs.C (createUndo): remove debugging code.
8948
8949 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8950
8951         * buffer.C (parseSingleLyXformat2Token): Use default placement
8952         when reading old floats.
8953
8954         * FloatList.C (FloatList): Change the default placement of figure
8955         and tables to "tbp".
8956
8957 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8958
8959         * MenuBackend.C: using std::max
8960
8961 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8962
8963         * MenuBackend.C (expandToc):
8964         (expandToc2): code moved from xforms menu frontend. It is now
8965         generic and TOCs are transparent to menu frontends.
8966
8967 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8968
8969         * toc.C (getTocList): protect against buf=0
8970
8971         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8972         Menu as first parameter. Now, this calls itself recursively to
8973         expand a whole tree (this will be useful for TOC handling)
8974         (expandFloatInsert): remove 'wide' version of floats
8975
8976         * MenuBackend.h (submenuname): returns the name of the submenu.
8977         (submenu): returns the submenu itself, provided it has been
8978         created by MenuBackend::expand
8979
8980 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8981
8982         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8983         insets which have noFontChange == true. (bug #172)
8984
8985 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8986
8987         * BufferView_pimpl.C: add connection objects and use them...
8988         (Pimpl): here.
8989
8990 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8991
8992         * MenuBackend.C (expandLastfiles):
8993         (expandDocuments):
8994         (expandFormats):
8995         (expandFloatListInsert):
8996         (expandFloatInsert):
8997         (expand): split expand in parts
8998
8999 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9000
9001         * lyx_gui.C: use lyx_gui::exit()
9002
9003 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9004
9005         * LyXAction.C: show the failing pseudo action
9006
9007 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9008
9009         * buffer.C (readFile): Run the lyxconvert script in order to read
9010         old files.
9011
9012 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9013
9014         * LyXAction.C:
9015         * commandtags.h:
9016         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9017
9018 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9019
9020         * LyXAction.C:
9021         * commandtags.h:
9022         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9023
9024 2002-07-22  Herbert Voss  <voss@lyx.org>
9025
9026         * lengthcommon.C:
9027         * lyxlength.[Ch]: add support for the vertical lengths
9028
9029 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9030
9031         * toc.[Ch]: std:: fixes
9032
9033 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9034
9035         * lyxrc.C: do not include lyx_main.h
9036
9037         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9038         for layouts
9039
9040         * lyxrc.C:
9041         * encoding.C:
9042         * bufferlist.C:
9043         * BufferView2.C: include "lyxlex.h"
9044
9045         * tabular.h:
9046         * bufferparams.h: do not #include "lyxlex.h"
9047
9048         * lyxtextclasslist.C (Add): remove method
9049         (classlist): renamed to classlist_
9050
9051         * paragraph_pimpl.C:
9052         * paragraph.C:
9053         * text2.C:
9054         * CutAndPaste.C:
9055         * bufferview_funcs.C:
9056         * bufferlist.C:
9057         * text.C:
9058         * LaTeXFeatures.C:
9059         * buffer.C:
9060         * toc.C (getTocList): use BufferParams::getLyXTextClass
9061
9062         * toc.C (getTocList): use InsetFloat::addToToc
9063
9064         * toc.[Ch]: new files, containing helper functions to handle table
9065         of contents
9066
9067         * lyxfunc.C (dispatch): no need to remove spaces around command
9068         given as a string
9069         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9070         first command of the sequence; it is not very clever, but I do not
9071         have a better idea, actually
9072
9073         * LyXAction.C (LookupFunc): make sure to remove space at the
9074         beginning and end of the command
9075
9076 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9077
9078         * MenuBackend.C (getMenubar): new method: return the menubar of
9079         this menu set
9080         (read): treat differently reading of menu and menubar (in
9081         particular, the menubar has no name now)
9082         (Menu::menubar): remove
9083
9084         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9085         saving is finished
9086
9087 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9088
9089         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9090         a bibitem inset in a RTL paragraph.
9091
9092 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9093
9094         * paragraph_pimpl.C: constify
9095
9096         * BufferView_pimpl.C:
9097         * LaTeX.C:
9098         * lyxfunc.C: fix dispatch in a nicer way
9099
9100 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9101
9102         * lyxfunc.C (dispatch):
9103         * BufferView_pimpl.C:
9104         * BufferView_pimpl.h:
9105         * BufferView.C:
9106         * BufferView.h: rename Dispatch() to dispatch()
9107
9108         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9109
9110         * lyxlayout.C (Read): honor DependsOn tag
9111
9112         * lyxlayout.[Ch] (depends_on): new method
9113
9114         * version.C.in: update lyx_docversion
9115
9116         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9117
9118         * paragraph.C (validate): remove from here...
9119         * paragraph_pimpl.C (validate): ... and move here
9120         (isTextAt): make it const
9121
9122         * buffer.C (getLists): ws cleanup
9123
9124 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9125
9126         * language.C (read): Use iso8859-1 encoding in latex_lang
9127         (this prevents LyX from crashing when using iso10646-1 encoding).
9128
9129 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9130
9131         * text2.C (toggleInset): if cursor is inside an inset, close the
9132         inset and leave cursor _after_ it
9133
9134 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9135
9136         * lyxfunc.C: move minibuffer completion handling out of here
9137
9138 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9139
9140         * BufferView_pimpl.C:
9141         * LaTeX.C: fix dispatch calls
9142
9143 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9144
9145         * text.C (drawChars): Fix Arabic text rendering.
9146
9147 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9148
9149         * LyXAction.C:
9150         * commandtags.h:
9151         * lyxfunc.C: remove message-push/pop
9152
9153         * lyxserver.C:
9154         * lyxfunc.h:
9155         * lyxfunc.C: rationalise some code by removing verboseDispatch
9156           in favour of a bool argument to dispatch()
9157
9158 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9159
9160         * lyx_main.C (init): make sure to read symlinks as absolute paths
9161
9162 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9163
9164         * lyxfunc.h:
9165         * lyxfunc.C: no need for commandshortcut to be a member
9166
9167 2002-07-15  André Pönitz <poenitz@gmx.net>
9168
9169         * converter.C: add support for $$s (scripts from lib/scripts dir)
9170         * lyx_main.C: white space
9171
9172 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9173
9174         * bufferlist.C:
9175         * lyxrc.h:
9176         * lyxrc.C: remove second exit confirmation
9177
9178 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9179
9180         * BufferView.h:
9181         * BufferView.C:
9182         * BufferView2.C:
9183         * BufferView_pimpl.h:
9184         * BufferView_pimpl.C:
9185         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9186
9187 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9188
9189         * MenuBackend.C (expand): add numeric shortcuts to document menu
9190
9191         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9192
9193 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9194
9195         * lyxfont.C (setLyXFamily):
9196         (setLyXSeries):
9197         (setLyXShape):
9198         (setLyXSize):
9199         (setLyXMisc):
9200         (lyxRead):
9201         * debug.C (value):
9202         * buffer.C (asciiParagraph): use ascii_lowercase
9203
9204 2002-07-15  Mike Fabian  <mfabian@suse.de>
9205
9206         * lyxlex_pimpl.C (search_kw):
9207         * lyxlex.C (getLongString):
9208         * converter.h (operator<):
9209         * converter.C (operator<):
9210         * buffer.C (parseSingleLyXformat2Token):
9211         (asciiParagraph):
9212         * ToolbarDefaults.C (read):
9213         * MenuBackend.C (checkShortcuts):
9214         (read):
9215         * LColor.C (getFromGUIName):
9216         (getFromLyXName): use the compare_ascii_no_case instead of
9217         compare_no_case, because in turkish, 'i' is not the lowercase
9218         version of 'I', and thus turkish locale breaks parsing of tags.
9219
9220 2002-07-16  Angus Leeming  <leeming@lyx.org>
9221
9222         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9223         now takes a Buffer const & argument.
9224
9225 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9226
9227         * BufferView.C (resize): check there's a buffer to resize
9228
9229 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9230
9231         * lyxfunc.C: remove dead code
9232
9233         * lyxserver.h:
9234         * lyxserver.C: use lyx_guii::set_read_callback
9235
9236 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9237
9238         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9239         an inset in a RTL paragraph.
9240
9241 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9242
9243         * lyxfunc.C: repaint after a font size update
9244
9245 2002-07-15  André Pönitz <poenitz@gmx.net>
9246
9247         * lyxlength.C: inBP should be able to return negative values
9248
9249 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9250
9251         * lyxfunc.C: use lyx_gui::update_fonts()
9252
9253 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9254
9255         * lyxfunc.C: use lyx_gui::update_color()
9256
9257 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9258
9259         * bufferlist.C:
9260         * lyxfunc.h:
9261         * lyxfunc.C:
9262         * lyxrc.h:
9263         * lyxrc.C: remove file->new asks for name option, and let
9264           buffer-new take an argument
9265
9266 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9267
9268         * BufferView_pimpl.C: remove unneeded extra repaint()
9269
9270 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9271
9272         * LyXAction.C: allow command-sequence with NoBuffer
9273
9274         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9275
9276 2002-07-10  Angus Leeming  <leeming@lyx.org>
9277
9278         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9279
9280 2002-07-09  Angus Leeming  <leeming@lyx.org>
9281
9282         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9283
9284 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9285
9286         * lengthcommon.h: whitespace
9287
9288         * lyxfunc.C: update scrollbar after goto paragraph
9289
9290         * lyxtext.h: factor out page break drawing, and fix it so
9291           page break/added space paints as selected nicely
9292
9293 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9294
9295         * BufferView_pimpl.C: add FIXMEs, clean up a little
9296
9297 2002-07-09  André Pönitz <poenitz@gmx.net>
9298
9299         * lyxfont.[Ch]: support for wasy symbols
9300
9301 2002-07-08  André Pönitz <poenitz@gmx.net>
9302
9303         * BufferView_pimpl.C: apply John's patch for #93.
9304
9305 2002-07-05  Angus Leeming  <leeming@lyx.org>
9306
9307         * BufferView_pimpl.C (buffer): generate previews if desired.
9308
9309         * LColor.h: add "preview" to the color enum.
9310
9311         * LColor.C (LColor): add a corresponding entry to the items array.
9312
9313         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9314         with this buffer.
9315
9316 2002-07-05  Angus Leeming  <leeming@lyx.org>
9317
9318         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9319         The body of the code is now in the method that is passed an ostream &
9320         rather than a file name.
9321         Pass an additional only_preamble parameter, useful for the forthcoming
9322         preview stuff.
9323
9324 2002-07-03  André Pönitz <poenitz@gmx.net>
9325
9326         * lyxfunc.C: simplify getStatus() a bit for math stuff
9327
9328 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9329
9330         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9331
9332 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9333
9334         * text.C (changeRegionCase): do not change case of all the
9335         document when region ends at paragraph end (bug #461)
9336
9337 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9338
9339         * paragraph.C (startTeXParParams):
9340         (endTeXParParams): add \protect when necessary
9341
9342 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9343
9344         * BufferView_pimpl.C (workAreaExpose): remove warning
9345
9346 2002-06-27  Angus Leeming  <leeming@lyx.org>
9347
9348         * Makefile.am: add lyxlayout_ptr_fwd.h.
9349
9350 2002-06-26  André Pönitz <poenitz@gmx.net>
9351
9352         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9353
9354 2002-06-25  Angus Leeming  <leeming@lyx.org>
9355
9356         * lyxfunc.C (dispatch): Comment out the call to
9357         grfx::GCache::changeDisplay. The method no longer exists now that the
9358         pixmap generation part of the graphics loader has been moved into
9359         InsetGraphics.
9360
9361 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9362
9363         * text2.C: layout as layout
9364
9365         * text.C: layout as layout
9366
9367         * tabular.C (OldFormatRead): layout as layout
9368
9369         * paragraph_pimpl.C (TeXDeeper): layout as layout
9370         (realizeFont): layout as layout
9371
9372         * paragraph.C (writeFile): layout as layout
9373         (validate): layout as layout
9374         (getFont): layout as layout
9375         (getLabelFont): layout as layout
9376         (getLayoutFont): layout as layout
9377         (breakParagraph): layout as layout
9378         (stripLeadingSpaces): layout as layout
9379         (getEndLabel): layout as layout
9380         (getMaxDepthAfter): layout as layout
9381         (applyLayout): layout as layout
9382         (TeXOnePar): layout as layout
9383         (simpleTeXOnePar): layout as layout
9384         (TeXEnvironment): layout as layout
9385         (layout): layout as layout
9386         (layout): layout as layout
9387
9388         * lyxtextclass.C (compare_name): new functor to work with
9389         shared_ptr, layout as layout
9390         (Read): layout as layout
9391         (hasLayout): layout as layout
9392         (operator): layout as layout
9393         (delete_layout): layout as layout
9394         (defaultLayout): layout as layout
9395
9396         * lyxlayout_ptr_fwd.h: new file
9397
9398         * lyxlayout.C (Read): layout as layout
9399
9400         * lyx_cb.C (MenuInsertLabel): layout as layout
9401
9402         * bufferlist.C (newFile): layout as layout
9403
9404         * buffer.C (readLyXformat2): layout as layout
9405         (parseSingleLyXformat2Token): layout as layout
9406         (insertStringAsLines): layout as layout
9407         (asciiParagraph): layout as layout
9408         (latexParagraphs): layout as layout
9409         (makeLinuxDocFile): layout as layout
9410         (simpleLinuxDocOnePar): layout as layout
9411         (makeDocBookFile): layout as layout
9412         (simpleDocBookOnePar): layout as layout
9413         (getLists): layout as layout
9414
9415         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9416
9417         * CutAndPaste.C (cutSelection): layout as layout
9418         (pasteSelection): layout as layout
9419         (SwitchLayoutsBetweenClasses): layout as layout
9420
9421         * BufferView_pimpl.C (Dispatch): layout as layout
9422         (smartQuote): layout as layout
9423
9424         * BufferView2.C (unlockInset): layout as layout
9425
9426 2002-06-24  André Pönitz <poenitz@gmx.net>
9427
9428         * lyxfunc.C: fix #487
9429
9430 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9431
9432         * lyxrc.h:
9433         * lyxrc.C:
9434         * lyxfunc.C: remove display_shortcuts, show_banner
9435
9436 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9437
9438         * Buffer_pimpl.C: oops, update on resize
9439
9440 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9441
9442         * buffer.C:
9443         * converter.C:
9444         * exporter.C:
9445         * lyxfunc.C:
9446         * BufferView.h:
9447         * BufferView.C: use repaint()
9448
9449         * BufferView_pimpl.h:
9450         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9451           as it's a clearer description. Remove superfluous
9452           redraws.
9453
9454 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9455
9456         * text.C: fix bug 488. Not ideal, but getting
9457           getWord() to work properly for the insets that
9458           matter is more difficult ...
9459
9460 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9461
9462         * BufferView_pimpl.C:
9463         * LyXAction.C:
9464         * commandtags.h:
9465         * lyxfunc.C: remove the six million index lyxfuncs to just
9466           one, and DTRT (bug 458)
9467
9468 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9469
9470         * BufferView.h:
9471         * BufferView.C:
9472         * BufferView_pimpl.h:
9473         * BufferView_pimpl.C: clean up resize() stuff,
9474           and unnecessary updateScreen()s
9475
9476 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9477
9478         * BufferView.h:
9479         * BufferView.C:
9480         * BufferView_pimpl.h:
9481         * BufferView_pimpl.C:
9482         * lyxfind.h:
9483         * lyxfind.C:
9484         * minibuffer.C: remove focus management of workarea,
9485           not needed. Use screen's greyOut()
9486
9487 2002-06-17  Herbert Voss  <voss@lyx.org>
9488
9489         * converter.C: (convert) do not post a message, when converting
9490         fails, let the calling function decide what to do in this case
9491
9492 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9493
9494         * lyxfunc.C: tidy up a little
9495
9496 2002-06-16    <alstrup@diku.dk>
9497
9498         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9499         Got rid of FORMS_H_LOCATION include. Now we are
9500         GUII.
9501
9502 2002-06-15  LyX Development team  <lyx@rilke>
9503
9504         * buffer.[Ch] (sgmlOpenTag):
9505         (sgmlCloseTag): Added support for avoiding pernicious mixed
9506         content. Return number of lines written.
9507
9508         (makeLinuxDocFile):
9509         (makeDocBookFile): Fixed calls to sgml*Tag.
9510         Simple white space clean.
9511
9512         (simpleDocBookOnePar): Simple white space clean.
9513
9514         * tabular.[Ch] (docBook): Renamed to docbook and got another
9515         argument to related with the pernicious mixed content.
9516
9517         (docbookRow): Fixed calls for docbook inset method.
9518
9519 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9520
9521         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9522         so it's X11 independent.
9523
9524         * kb*.[Ch]: ditto.
9525
9526         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9527
9528 2002-06-15  Lyx Development team  <lyx@electronia>
9529
9530         * intl.h: Renamed getTrans to getTransManager.
9531
9532 2002-06-14  Angus Leeming  <leeming@lyx.org>
9533
9534         * Makefile.am: nuke forgotten stl_string_fwd.h.
9535
9536 2002-06-12  Angus Leeming  <leeming@lyx.org>
9537
9538         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9539
9540 2002-06-13  Angus Leeming  <leeming@lyx.org>
9541
9542         * LaTeX.C:
9543         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9544
9545 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9546
9547         * kbmap.C (getiso): add support for cyrillic and greek
9548
9549 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9550
9551         * BufferView.h:
9552         * BufferView.C:
9553         * BufferView_pimpl.h:
9554         * BufferView_pimpl.C: move bogus scrolling logic
9555           to xforms
9556
9557 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9558
9559         * lyxfunc.C:
9560         * BufferView_pimpl.C: view->resize() change
9561
9562 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9563
9564         * BufferView_pimpl.C: topCursorVisible
9565           prototype change
9566
9567 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9568
9569         * Makefile.am:
9570         * lyx_gui.h:
9571         * lyx_gui.C: move to frontends/
9572
9573         * main.C:
9574         * lyx_main.h:
9575         * lyx_main.C: changes from above
9576
9577 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9578
9579         * intl.C:
9580         * intl.h:
9581         * kbmap.C:
9582         * kbsequence.C:
9583         * lyx_cb.C:
9584         * lyx_main.C: minor tidy
9585
9586 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9587
9588         * BufferView_pimpl.h:
9589         * BufferView_pimpl.C:
9590         * BufferView.h:
9591         * BufferView.C: make painter() const,
9592           remove dead code
9593
9594         * BufferView2.C: use screen() accessor
9595
9596         * lyx_main.h:
9597         * lyx_main.C: some minor cleanup
9598
9599 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9600
9601         * BufferView_pimpl.h:
9602         * BufferView_pimpl.C: remove enter/leaveView,
9603           use workHeight()
9604
9605 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9606
9607         * BufferView.h:
9608         * BufferView.C:
9609         * BufferView2.C:
9610         * BufferView_pimpl.h:
9611         * BufferView_pimpl.C: only construct screen once,
9612           rename
9613
9614         * lyxrc.C: remove pointless comment
9615
9616 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9617
9618         * BufferView.h:
9619         * BufferView.C: remove active() and belowMouse()
9620
9621         * BufferView_pimpl.h:
9622         * BufferView_pimpl.C: use workarea() not workarea_,
9623           and make it use a scoped_ptr instead
9624
9625 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9626
9627         * lyx_gui.C: add debug message on BadWindow
9628
9629 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9630
9631         * sp_spell.C: fdopen is not part of the C++ standard.
9632
9633         * paragraph.C (InsetIterator): use >= instead of ==
9634
9635 2002-06-07  Angus Leeming  <leeming@lyx.org>
9636
9637         Fixes needed to compile with Compaq cxx 6.5.
9638         * BufferView_pimpl.C:
9639         * DepTable.C:
9640         * buffer.C:
9641         * converter.C:
9642         * encoding.C:
9643         * lyx_gui.C:
9644         * lyx_main.C:
9645         * lyxtextclasslist.C:
9646         * minibuffer.C:
9647         * sp_spell.C:
9648         * tabular_funcs.C:
9649         * vc-backend.C:
9650         all c-library variables have been moved into namespace std. Wrap
9651         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9652
9653         * lyxlength.C:
9654         * tabular-old.C:
9655         * tabular.C:
9656         Add a using std::abs declaration.
9657
9658         * kbmap.h (modifier_pair):
9659         * paragraph.h (InsetTable, InsetList):
9660         * lyxfont.h (FontBits):
9661         type definition made public.
9662
9663         * bufferlist.C (emergencyWriteAll): the compiler complains that
9664         there is more than one possible lyx::class_fun template to choose from.
9665         I re-named the void specialisation as lyx::void_class_fun.
9666
9667         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9668
9669         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9670         the compiler is is unable to find tostr in write_attribute.
9671
9672 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9673
9674         * buffer.C (sgmlError): hide #warning
9675
9676 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9677
9678         * xtl/*: get rid of xtl, which is not in use anyway
9679
9680         * LyXAction.C (init):
9681         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9682         were unimplemented xtl experimentation
9683
9684 2002-06-04  André Pönitz <poenitz@gmx.net>
9685
9686         * lyxfunc.C: disable array operation on simple formulae
9687
9688 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9689
9690         * converter.C: constify a bit
9691
9692 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9693
9694         * lyx_gui.C: check xforms version correctly
9695
9696 2002-04-30  Herbert Voss  <voss@lyx.org>
9697
9698         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9699         "keep" option
9700
9701 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9702
9703         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9704           attempt to register it with a VCS)
9705
9706 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9707
9708         * lyx_main.C (init): honor variables LYX_DIR_13x and
9709         LYX_USERDIR_13x
9710
9711 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9712
9713         * buffer.h:
9714         * buffer.C:
9715         * lyx_main.C: fix a crash on bad command line,
9716           and give a useful exit status on error
9717
9718         * lyxfunc.C (doImport): allow -i lyx to work
9719
9720 2002-03-30  André Pönitz <poenitz@gmx.net>
9721
9722         * lyxfunc.C: mathed font changes
9723
9724 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9725
9726         * LaTeX.C:
9727         * importer.h:
9728         * importer.C:
9729         * lyx_sty.h:
9730         * lyx_sty.C:
9731         * lyxlex.C:
9732         * lyxrow.h:
9733         * lyxtext.h:
9734         * paragraph.h:
9735         * paragraph.C:
9736         * texrow.h:
9737         * texrow.C:
9738         * text.C:
9739         * trans_mgr.h: srcdocs, and some minor cleanups
9740
9741 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9742
9743         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9744         call getFont all the time)
9745
9746 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9747
9748         * switch from SigC signals to boost::signals
9749
9750 2002-05-29  André Pönitz <poenitz@gmx.net>
9751
9752         * paragraph_pimpl.C (getChar): don't call size() too often...
9753
9754 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9755
9756         * paragraph_pimpl.C (insertChar): do not try to update tables when
9757         appending (pos == size())
9758
9759         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9760         in order to reduce drastically the number of comparisons needed to
9761         parse a large document
9762
9763 2002-05-29  André Pönitz <poenitz@gmx.net>
9764
9765         * text.C:
9766         * text2.C:
9767         * lyxtextclass.C:
9768         * sp_pspell.h:
9769         * textclasslist.[Ch]:
9770         * sp_ispell.h: whitespace change
9771
9772 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9773
9774         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9775         lyxaction directly now.
9776
9777 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9778
9779         * trans.C:
9780         * lyxfont.C:
9781         * lyxvc.C: remove unused headers
9782
9783 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9784
9785         * Makefile.am:
9786         * buffer.h:
9787         * undostack.h:
9788         * undostack.C:
9789         * undo_funcs.h:
9790         * undo_funcs.C: some cleanups. Use shared_ptr
9791           and a template for the undo stacks.
9792
9793 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9794
9795         * BufferView_pimpl.h:
9796         * BufferView_pimpl.C:
9797         * kbmap.h:
9798         * kbmap.C:
9799         * kbsequence.h:
9800         * kbsequence.C:
9801         * lyxfunc.h:
9802         * lyxfunc.C:
9803         * text2.C: use key_state/mouse_state
9804
9805 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9806
9807         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9808         and LSubstring
9809
9810         * chset.C: change include order
9811         (loadFile): use boost regex and get rid of LRegex and LSubstring
9812
9813         * Makefile.am (BOOST_LIBS): new variable
9814         (lyx_LDADD): use it
9815
9816         * LaTeX.C: change include order.
9817         (scanAuxFile): use boost regex and get rid of LRegex and
9818         LSubstring
9819         (deplog): ditto
9820
9821 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9822
9823         * ColorHandler.h:
9824         * ColorHandler.C:
9825         * FontInfo.h:
9826         * FontInfo.C: moved to frontends/xforms/
9827
9828         * FontLoader.h:
9829         * FontLoader.C: moved into frontends for GUIIzation
9830
9831         * Makefile.am:
9832         * lyx_gui.C:
9833         * lyxfont.C:
9834         * lyxfunc.C: changes from above
9835
9836 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9837
9838         * LColor.C: remove spurious X include
9839
9840         * BufferView_pimpl.C:
9841         * Makefile.am:
9842         * font.h:
9843         * font.C:
9844         * text.C:
9845         * text2.C: move font metrics to frontends/
9846
9847 2002-05-24  Juergen Vigna  <jug@sad.it>
9848
9849         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9850         setting the undo_cursor.
9851
9852         * ParagraphParameters.h: include local includes first.
9853
9854 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9855
9856         * BufferView_pimpl.C:
9857         * BufferView_pimpl.h:
9858         * Makefile.am:
9859         * WorkArea.h:
9860         * WorkArea.C:
9861         * screen.C: move WorkArea into frontends/
9862
9863         * lyxscreen.h:
9864         * screen.C:
9865         * text.C:
9866         * BufferView.C:
9867         * BufferView2.C: move LyXScreen into frontends/
9868
9869         * lyxlookup.h:
9870         * lyxlookup.C:
9871         * lyx_gui.C: move lyxlookup into frontends/xforms/
9872
9873 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9874
9875         * BufferView2.C:
9876         * BufferView_pimpl.C:
9877         * FontLoader.C:
9878         * LyXView.h:
9879         * LyXView.C:
9880         * Makefile.am:
9881         * WorkArea.C:
9882         * XFormsView.h:
9883         * XFormsView.C:
9884         * buffer.C:
9885         * bufferlist.C:
9886         * bufferview_funcs.C:
9887         * converter.C:
9888         * importer.C:
9889         * lyx_cb.C:
9890         * lyx_gui.C:
9891         * lyx_main.C:
9892         * lyx_find.C:
9893         * lyxfunc.C:
9894         * lyxvc.C:
9895         * minibuffer.C:
9896         * text.C:
9897         * text2.C:
9898         * trans.C:
9899         * vc-backend.C: move LyX/XFormsView into frontends/
9900
9901 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9902
9903         * Makefile.am:
9904         * PainterBase.C:
9905         * PainterBase.h:
9906         * Painter.C:
9907         * Painter.h:
9908         * WorkArea.C:
9909         * WorkArea.h:
9910         * screen.C:
9911         * tabular.C:
9912         * text.C:
9913         * text2.C: move Painter to frontends/
9914
9915 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9916
9917         * buffer.C: comment out some some code that depend upon lyx_format
9918         < 220
9919
9920         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9921         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9922
9923         * buffer.h (NO_COMPABILITY): turn off compability
9924
9925         * ColorHandler.C: include scoped_array.hpp
9926
9927         * font.C: Use more specific smart_ptr header.
9928         * Painter.C: ditto
9929         * gettext.C: ditto
9930         * ShareContainer.h: ditto
9931         * lyx_main.h: ditto
9932         * kbmap.h: ditto
9933         * FontInfo.h: ditto
9934         * BufferView_pimpl.h: ditto
9935         * ColorHandler.h: ditto
9936
9937         * kbmap.C (defkey): change call to shared_ptr::reset
9938
9939 2002-05-21  Juergen Vigna  <jug@sad.it>
9940
9941         * buffer.C (insertErtContents): fix to insert ert asis if it is
9942         non empty. Skip it completely if it contains only whitespaces.
9943
9944 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9945
9946         * BufferView_pimpl.C:
9947         * BufferView2.C: clear selection on paste (bug 393)
9948
9949 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9950
9951         * DepTable.C: include ctime
9952
9953 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9954
9955         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9956
9957 2002-05-14  Juergen Vigna  <jug@sad.it>
9958
9959         * text.C (breakParagraph): fixed function to honor the keepempty
9960         layout in the right maner and also to permit the right breaking
9961         algorithm on empty or non empyt keepempty paragraphs.
9962
9963         * paragraph.C (breakParagraph): we have to check also if the par
9964         is really empty (!size()) for isempty otherwise we do the wrong
9965         paragraph break.
9966
9967 2002-05-10  Juergen Vigna  <jug@sad.it>
9968
9969         * buffer.[Ch] : The following are only changes to the ert
9970         compatibility read reading old LaTeX layout and font stuff and
9971         convert it to ERTInsets.
9972
9973         * buffer.h: added isErtInset().
9974
9975         * buffer.C (struct ErtComp): add a fromlayout bool to check
9976         if we're inside a LaTeX layout.
9977         (isErtInset): new helper function.
9978         (insertErtContents): look for other ert insets before this one
9979         and insert the contents there, so that we don't have subsequent
9980         ERT insets with nothing between them. This way we create only one
9981         inset with multiple paragraphs. Also check if we don't insert only
9982         spaces ' ' as they are ignored anyway afterwards in the .tex file
9983         so if we have only spaces we will ignore this latex part in the
9984         new file.
9985         (parseSingleLyXformat2Token \\layout): better compatibility when
9986         reading layout-latex stuff.
9987         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9988         language tag.
9989         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9990         stuff after reading the inset only get the information back from
9991         the stack.
9992
9993 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9994
9995         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9996
9997         * LaTeXFeatures.C (getBabelOptions): New method.
9998
9999 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10000
10001         * BufferView_pimpl.C (Dispatch): work around missing argument for
10002         'layout'
10003
10004 2002-05-08  Juergen Vigna  <jug@sad.it>
10005
10006         * text.C (leftMargin): handle paragraph leftindent.
10007
10008         * paragraph.C (writeFile): write the new \\leftindent tag.
10009         (validate): handle leftindent code.
10010         (TeXEnvironment): handle paragraphleftindent code again.
10011
10012         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10013
10014         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10015         for paragrap_extra indent code and new token \\leftindent.
10016         (latexParagraphs): handle the leftindent as environment.
10017
10018         * ParameterStruct.h: added leftindent support.
10019
10020         * ParagraphParameters.C (leftIndent): added support functions for
10021         the paragraph left indent.
10022
10023         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10024         more appropriate.
10025
10026 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10027
10028         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10029         inside insetERT.
10030
10031         * text.C (computeBidiTables): No bidi in insetERT.
10032
10033         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10034         in RTL documents.
10035
10036 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10037
10038         * version.C.in: pre 5
10039
10040 2002-05-02  José Matos  <jamatos@fep.up.pt>
10041         * buffer.C (makeDocBookFile): white space changes, add newline to
10042         command styles.
10043         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10044
10045         * tabular.C (docBook): fix typo.
10046
10047 2002-05-03  Juergen Vigna  <jug@sad.it>
10048
10049         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10050         change in LyXText as we can not be sure it was not freed.
10051         (drawOneRow): remove unused code.
10052
10053         * text.C (drawInset): redo the calculation of the need_break_row as
10054         it could have a row which was already freed.
10055         (draw): look at the return value of drawInset and return false if
10056         it also returned false.
10057         (paintRowText): look at the return value of draw and return false if
10058         it also returned false.
10059
10060         * lyxtext.h: added bool return type to drawInset() and draw() so that
10061         if we have a change in the row so that the rowbreak has to be redone
10062         we abort drawing as it will be called again.
10063
10064 2002-05-02  Juergen Vigna  <jug@sad.it>
10065
10066         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10067         a change in the maintext also if we're inside an inset.
10068         (Dispatch): set the cursor again after a break line and after the
10069         screen has been updated as it could be we're in a different row.
10070
10071         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10072         to set the cursor behind the pargraph with > size().
10073         (setCursor): check also for the same paragraph when checking where
10074         to put the cursor if we have a NFR inset.
10075
10076         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10077         parts of layout read further up as it still was in the wrong
10078         position.
10079
10080 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10081
10082         * screen.C (drawFromTo): change sine fullRebreak always return
10083         true.
10084
10085         * buffer.C (parseSingleLyXformat2Token): reindent some
10086
10087         * BufferView_pimpl.C (update): change since fullRebreak always
10088         return true.
10089         (Dispatch): git rid of the last hardcoded "Standard"s.
10090
10091 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10092
10093         * text2.[Ch] (fullRebreak): make it return void now that we always
10094         returned true.
10095
10096 2002-04-30  Juergen Vigna  <jug@sad.it>
10097
10098         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10099         ert compatibility check for "latex" layout.
10100
10101 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10102
10103         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10104         minipages: use col% instead of p%, and also use the current font.
10105         (makeLaTeXFile): Fix use babel condition.
10106         (parseSingleLyXformat2Token): Correct font when reading old floats.
10107
10108 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10109
10110         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10111         inserting list of floats.
10112
10113 2002-04-25  Herbert Voss  <voss@lyx.org>
10114
10115         * MenuBackend.C (expand): don't add the graphics extensions to the
10116         export menu
10117
10118 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10119
10120         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10121         non-existing layout, do not complain if it was the default layout
10122         of the original class (bug #342)
10123
10124 2002-04-24  Juergen Vigna  <jug@sad.it>
10125
10126         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10127         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10128
10129 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10130
10131         * buffer.C (getBibkeyList): If using \bibliography, return the
10132         option field with the reference itself. Enables us to provide natbib
10133         support when using \bibliography.
10134
10135 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10136
10137         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10138
10139         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10140         natbib is provided by the LaTeX class.
10141
10142 2002-04-23  Juergen Vigna  <jug@sad.it>
10143
10144         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10145         Wakeup functions.
10146
10147         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10148
10149 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10150
10151         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10152
10153         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10154         ensuremath around textordmasculine, textordfeminine and
10155         textdegree.
10156
10157 2002-04-19  Juergen Vigna  <jug@sad.it>
10158
10159         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10160         reinitializing the buffer otherwise row-dimensions may be wrong.
10161         (update): reset also the selection cursors if they do exits otherwise
10162         their x/y positions may be wrong.
10163
10164         * text2.C (cursorDown): don't enter the inset if we came from a row
10165         above and are one row over the inset.
10166
10167         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10168         really leaving an inset.
10169
10170 2002-04-18  Juergen Vigna  <jug@sad.it>
10171
10172         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10173         of the selected paragraph does not have the selected layout also if
10174         the last one had!
10175
10176         * text2.C (setLayout): fixed bug which did not change last selected
10177         paragraph.
10178
10179         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10180         changed the read and substituted \\end_float with \\end_inset!
10181
10182         * BufferView_pimpl.C (cursorPrevious):
10183         (cursorNext): fixed to make it work with rows heigher than the work
10184         area without moving the cursor only the draw of the row.
10185         (workAreaMotionNotify): fix jumping over high rows.
10186
10187 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10188
10189         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10190         Ressler.
10191
10192 2002-04-16  Juergen Vigna  <jug@sad.it>
10193
10194         * text2.C (setCursor): set also the irow().
10195         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10196         (cursorUp):
10197         (cursorDown): support for locking an inset if the x_fix value goes
10198         inside it. That way I can transverse insets too with cursor up/down.
10199
10200         * lyxrow.h: added irow helper function same as other (i) functions.
10201
10202         * BufferView_pimpl.C (cursorPrevious):
10203         (cursorNext): fixed for insets!
10204
10205 2002-04-15  Juergen Vigna  <jug@sad.it>
10206
10207         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10208         position otherwise it is wrong in some cases.
10209
10210         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10211         inside the inset before the call.
10212
10213 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10214
10215         * buffer.[Ch] (getBibkeyList): make it const.
10216
10217 2002-04-12  Juergen Vigna  <jug@sad.it>
10218
10219         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10220
10221         * text2.C (getCursorX): new helper function
10222         (setCursor): compute also ix_
10223         (setCursorFromCoordinates): set also ix.
10224
10225         * lyxcursor.h: added ix_ and helper functions.
10226
10227         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10228
10229         * buffer.C (insertStringAsLines): dont break paragraph if the this
10230         paragraph is inside an inset which does not permit it!
10231
10232         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10233         also with no chars on this paragraph.
10234         (paintRowText): only paint stuff if it's inside the workarea!
10235
10236         * paragraph.C (breakParagraph): honor keepempty flag and break the
10237         paragraph always below not above.
10238
10239         * BufferView2.C (unlockInset): update the paragraph layout on inset
10240         unlock as we changed paragraph in such a case.
10241
10242         * lyxfind.C (LyXFind): clear the former selection if not found!
10243
10244         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10245         again called in insertChar().
10246
10247         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10248         an inset which uses the whole row!
10249         (rightMargin): ditto.
10250         (insertChar): force a rebreak if we inserted an inset!
10251
10252 2002-03-28  Herbert Voss  <voss@lyx.org>
10253
10254         * lyxlength.[Ch]: add inBP() to get the right PS-point
10255         units (BigPoint). With inPixels we have rounding errors
10256
10257 2002-04-11  Juergen Vigna  <jug@sad.it>
10258
10259         * text2.C (setCursorFromCoordinates): set iy to the right value.
10260         (setCursor): add check if row->previous exists!
10261
10262         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10263         an old float_type as this was the case in the old code!
10264
10265         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10266
10267         * BufferView2.C (showLockedInsetCursor): use iy
10268         (fitLockedInsetCursor): ditto
10269
10270         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10271         locked insets as there we have the right value now.
10272
10273         * lyxcursor.C: added iy_ variable and iy functions to set to the
10274         baseline of cursor-y of the locked inset.
10275
10276         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10277         (setCursor): fixed for insets which need a full row.
10278
10279         * text.C (rowLastPrintable): don't ignore the last space when before
10280         an inset which needs a full row.
10281         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10282         as last character of a row when before a inset which needs a full row.
10283
10284 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10285
10286         * version.C.in: update date
10287
10288         * text2.C (fullRebreak): try to always return true and see what
10289         happens...
10290
10291 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10292
10293         * MenuBackend.C (expand): use Floating::listName
10294
10295         * FloatList.C (FloatList): add listName argument to the built-in
10296         floats
10297
10298         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10299         text associated with the float.
10300
10301 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10302
10303         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10304
10305 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10306
10307         * ShareContainer.h: add a couple of missing typenames.
10308
10309 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10310
10311         * lyxrc.C (getDescription): use _() correctly rather than N_().
10312
10313 2002-03-28  Herbert Voss  <voss@lyx.org>
10314
10315         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10316         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10317
10318 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10319
10320         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10321         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10322
10323 2002-03-29  Juergen Vigna  <jug@sad.it>
10324
10325         * lyxfunc.C (dispatch): add a missing fitCursor call.
10326
10327         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10328         it was scrolled by a cursor move, so return the bool status.
10329
10330         * BufferView.C (fitCursor): return the bool flag also to the outside
10331         world as this is needed.
10332
10333         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10334
10335         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10336         call the edit() as it is not needed (and wrong) IMO.
10337         (workAreaButtonPress): set the screen_first variable before evt.
10338         unlock the inset as this may change screen_first and then we have
10339         a wrong y position for the click!
10340
10341 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10342
10343         * MenuBackend.C (expand): another translation that I missed
10344
10345 2002-03-28  Juergen Vigna  <jug@sad.it>
10346
10347         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10348
10349         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10350
10351 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10352
10353         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10354
10355         * MenuBackend.C (expand): fix export/view/update when there is no
10356         document open.
10357
10358 2002-03-27  Herbert Voss  <voss@lyx.org>
10359
10360         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10361         and text%
10362
10363 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10364
10365         * bufferview_funcs.C (currentState): only show paragraph number
10366         for is DEVEL_VERSION is set.
10367
10368         * lyxfunc.C (dispatch): put warning in INFO channel
10369
10370         * MenuBackend.C (expand): translate the name of floats
10371
10372         * FloatList.C (FloatList): mark the float names for translation
10373
10374         * converter.C (convert): use LibScriptSearch
10375
10376 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10377
10378         * MenuBackend.C (defaults): fix default menu (we might as well get
10379         rid of it...)
10380
10381 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10382
10383         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10384         directory.
10385
10386 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10387
10388         * lyxvc.C: reorder includes.
10389
10390 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10391
10392         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10393           properly
10394
10395 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10396
10397         * CutAndPaste.C: change layouts earlier on paste
10398           to avoid crashing when calling getFont()
10399
10400 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10401
10402         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10403         irritating #error.
10404
10405 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10406
10407         * WorkArea.C: remove 'Pending' debug message.
10408
10409         * most files: ws cleanup
10410
10411         * buffer.[Ch]: ws changes
10412
10413         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10414
10415 2002-03-21  Juergen Vigna  <jug@sad.it>
10416
10417         * tabular.C (SetMultiColumn): collapse also the contents of the
10418         cells and set the last border right. Added a Buffer const * param.
10419
10420 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10421
10422         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10423         linking or not.
10424
10425 2002-03-19  Juergen Vigna  <jug@sad.it>
10426
10427         * text2.C (clearSelection): reset also xsel_cache.
10428
10429         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10430         where it needs to be called (John tells us to do so too :)
10431         (selectionLost): reset sel_cache.
10432
10433         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10434
10435 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10436
10437         * text2.C (setCursorIntern): put debuging code in INSETS channel
10438
10439 2002-03-19  André Pönitz <poenitz@gmx.net>
10440
10441         * lyxfunc.C: tiny whitespace change
10442
10443 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10444
10445         * ToolbarDefaults.C (init):
10446         * LyXAction.C (init):
10447         * commandtags.h:
10448         * BufferView_pimpl.C (Dispatch):
10449         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10450
10451 2002-03-19  Allan Rae  <rae@lyx.org>
10452
10453         * exporter.C (Export): removeAutoInsets before doing anything else.
10454         While I've just introduced a dependency on BufferView this really is
10455         the best place to clean the buffer otherwise you need to cleanup in
10456         a dozen places before calling export or cleanup in a dozen functions
10457         that export calls.
10458
10459         * converter.C (runLaTeX):
10460         (scanLog): Better handling of removeAutoInsets and screen updates.
10461
10462         * lyxfunc.C (dispatch): small whitespace changes
10463
10464 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10465
10466         * WorkArea.C (C_WorkAreaEvent): return a value.
10467         (event_cb): return 1 if we handled the event, 0 otherwise.
10468
10469         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10470
10471 2002-03-18  Juergen Vigna  <jug@sad.it>
10472
10473         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10474         (GetAdditionalWidth): ditto.
10475         (RightLine): ditto.
10476         (LeftLine): ditto.
10477
10478         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10479         inset if we're there actually (probably not used right now but this
10480         is the direction to go for unifying code).
10481         (paste): disable code to clear the selection.
10482
10483         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10484         inside an InsetText and move the check further up as it is in the
10485         wrong place.
10486
10487         * text2.C (pasteSelection): set a selection over the pasted text.
10488
10489 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10490
10491         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10492         and libgraphics to build on Cygwin.
10493
10494 2002-03-15  Juergen Vigna  <jug@sad.it>
10495
10496         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10497         inserting an Inset into the paragraph. I know this is not the best
10498         fix but we already use current_view in CutAndPaste so we will remove
10499         all of it's using at the same time.
10500
10501         * buffer.C (sgmlError): deactivated function till it is rewritten in
10502         the right mode, now it can create problems.
10503
10504         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10505         before accessing it.
10506
10507 2002-03-14  Juergen Vigna  <jug@sad.it>
10508
10509         * undo_funcs.C (textHandleUndo): do the right thing when updating
10510         the inset after the undo/redo.
10511
10512         * text2.C (setCursor): just some testcode for #44 not ready yet.
10513
10514         * undo_funcs.C (textHandleUndo): set the next() and previous()
10515         pointers of the paragraph to 0 before deleting otherwise we have
10516         problems with the Paragraph::[destructor].
10517
10518         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10519         on a paragraph insertion.
10520
10521 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10522
10523         * buffer.C (asciiParagraph): use += operator for char append to
10524         string.
10525
10526         * paragraph.C (getFontSettings): compare >= not just >
10527         (highestFontInRange): ditto
10528         (setFont): ditto
10529
10530 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10531
10532         * paragraph.C: change several algorithm to be more appripriate for
10533         the problem domain. This is lookip in FontList and in the InsetList.
10534
10535 2002-03-13  André Pönitz <poenitz@gmx.net>
10536
10537         * commandtags.h:
10538         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10539
10540 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10541
10542         * commandtags.h:
10543         * LyXAction.C:
10544         * lyxfunc.C:
10545         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10546
10547 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10548
10549         * Painter.C (display): anon helper function, adjust code for this
10550         change.
10551         (pixmap): remove function.
10552
10553         * Painter.h: remove private display variable.
10554
10555         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10556
10557 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10558
10559         * WorkArea.[Ch]: remove figinset_canvas cruft.
10560
10561 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10562
10563         * lyxtextclass.C (operator): add one item cache optimization.
10564
10565         * bufferlist.h: doxy changes
10566
10567         * bufferlist.C: ws changes
10568
10569         * DepTable.[Ch] (ext_exist): place const in the right spot.
10570
10571         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10572         call resizeInsets.
10573         (workAreaExpose): call resizeInsets when the with BufferView changes.
10574         (Dispatch): adjust for protectedBlank removal
10575         (specialChar): call updateInset if the insert went ok.
10576
10577         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10578         specialChar instead.
10579
10580         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10581
10582         * BufferView.h: doxy change
10583
10584         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10585
10586         * lyxtextclass.C (operator[]): remove non-const version
10587         (defaultLayout): remove non-const version
10588
10589 2002-03-12  Juergen Vigna  <jug@sad.it>
10590
10591         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10592         did resize the LyXText too.
10593
10594         * buffer.C (readLyXformat2): set layout information on newly allocated
10595         paragraphs.
10596
10597         * tabular.C (OldFormatRead): set layout information on the paragraph.
10598
10599 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10600
10601         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10602
10603 2002-03-11  Juergen Vigna  <jug@sad.it>
10604
10605         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10606         plainly wrong.
10607         (resizeCurrentBuffer): force also the insets to resize themselfes.
10608         (moveCursorUpdate): fixed up for InsetText.
10609
10610 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10611
10612         * commandtags.h:
10613         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10614         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10615         value of Dialogs::tooltipsEnabled().
10616         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10617
10618 2002-03-08  Juergen Vigna  <jug@sad.it>
10619
10620         * BufferView_pimpl.C (updateInset): update inset inside inset also
10621         if it isn't inside theLockingInset().
10622
10623 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10624
10625         * buffer.C (asciiParagraph): redo some of the word and line length
10626         handling.
10627         (getLists): look for Caption instead of caption.
10628
10629 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10630
10631         * buffer.C (Buffer): initialize niceFile to true
10632         (makeLaTeXFile):
10633         (makeLinuxDocFile):
10634         (makeDocBookFile): make sure niceFile is true on exit
10635
10636 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10637
10638         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10639
10640 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10641
10642         * LyXSendto.C: remove.
10643         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10644         * lyx_gui.C: remove now-redundant comment.
10645         * ColorHandler.h: remove forward declaration of class WorkArea.
10646         * lyxfunc.C: remove #include "WorkArea.h".
10647
10648 2002-03-07  Juergen Vigna  <jug@sad.it>
10649
10650         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10651         got moved away with the DEPM and also set the inset_owner always
10652         right which before could have been omitted.
10653
10654 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10655
10656         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10657         wanted layout is not found.
10658
10659 2002-03-07  Juergen Vigna  <jug@sad.it>
10660
10661         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10662
10663 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10664
10665         * paragraph.C (breakParagraph): use default layout not layout of
10666         prev paragraph.
10667         (Paragraph): clear ParagraphParameters.
10668
10669 2002-03-06  Juergen Vigna  <jug@sad.it>
10670
10671         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10672         otherwise it would not be a valid lenght. Fixed a special case in
10673         the minipage compatibility read where we end the document with a
10674         minipage.
10675
10676         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10677         was set as it could be 0 for InsetTexts first entry.
10678
10679 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10680
10681         * paragraph.C (writeFile): if layout is empty write out
10682         defaultLayoutName().
10683
10684         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10685         file without named layout we set layout to defaultLayoutName().
10686
10687 2002-03-06  Juergen Vigna  <jug@sad.it>
10688
10689         * CutAndPaste.C (copySelection): set layout for new paragraph.
10690
10691         * text.C (prepareToPrint): leave ERT inset left aligned
10692         (leftMargin): don't indent paragraphs inside ERT insets
10693
10694 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10695
10696         * paragraph.C (breakParagraph): dont call clear do the work manually
10697
10698         * paragraph.[Ch] (clear): remove function
10699
10700 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10701
10702         * paragraph.C (Paragraph): dont call clear, the work has already
10703         been done.
10704
10705         * lyxtextclass.C (operator): assert if n is empty
10706
10707         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10708         work manually instead.
10709
10710 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10711
10712         * BufferView_pimpl.C: protect selectionLost against text == 0
10713
10714 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10715
10716         * text.C (breakParagraph): fix a setting layout to '0' problem.
10717
10718 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10719
10720         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10721         final location of file, for the included files, and graphics.
10722
10723 2002-03-05  Juergen Vigna  <jug@sad.it>
10724
10725         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10726
10727 2002-03-04  Juergen Vigna  <jug@sad.it>
10728
10729         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10730
10731         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10732         last column of multicolumn cells.
10733         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10734
10735 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10736
10737         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10738         file if it doesn't go to a temporary file.
10739
10740         * buffer.C (sgmlOpenTag):
10741         (sgmlCloseTag):  remove extra newline insertion.
10742
10743 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10744
10745         * text.C (getRowNearY): comment out debug msg
10746
10747 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10748
10749         * text2.C: first -> first_y
10750
10751         * text.C (getRowNearY): add some attemts at a possible
10752         optimization, not working.
10753
10754         * tabular.[Ch]: add BufferParams to several function so that newly
10755         created paragraph can be initialized to he default layotu for the
10756         buffers textclass.
10757
10758         * tabular-old.C (ReadOld): add buf->params to call of Init
10759
10760         * screen.C: rename text->first to text->first_y
10761
10762         * paragraph.C (breakParagraph): always set layout in the broken
10763         paragraph
10764
10765         * lyxtextclass.C (Read): remove lowercase
10766         (hasLayout): ditto
10767         (operator): ditto
10768         (delete_layout): ditto
10769
10770         * lyxtext.h: rename first -> first_y
10771
10772         * lyxlayout.C (Read): remove lowercase
10773         (name): ditto
10774         (setName): ditto
10775         (obsoleted_by): ditto
10776
10777         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10778
10779         * buffer.C (insertErtContents): add params are to InsetERT
10780         (parseSingleLyXformat2Token): add code to check if a paragraphs
10781         layout really exist.
10782         (parseSingleLyXformat2Token): add params to several inset
10783         constructors
10784         (asciiParagraph): remove lowercase, do the layout comparisons with
10785         no_case
10786
10787         * BufferView_pimpl.C (cursorNext): first -> first_y
10788         (resizeCurrentBuffer): first -> first_y
10789         (updateScrollbar): first -> first_y
10790         (scrollCB): first -> first_y
10791         (workAreaMotionNotify): first -> first_y
10792         (workAreaButtonPress): first -> first_y
10793         (checkInsetHit): first -> first_y
10794         (cursorPrevious): first -> first_y
10795         (cursorNext): first -> first_y
10796         (Dispatch): add buffer_->params to severl inset contructors
10797
10798 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10799
10800         * lyxlayout.C (Read): remove some debug info that I forgot.
10801
10802         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10803         clean up the code slightly.
10804         (makeLinuxDocFile): ditto
10805         (makeDocBookFile): ditto
10806
10807         * text2.C: layout as string
10808
10809         * text.C: layout as string
10810
10811         * paragraph_pimpl.C: layout as string
10812
10813         * paragraph.[Ch]: layout as string
10814
10815         * lyxtextclasslist.[Ch]: layout as string
10816
10817         * lyxtextclass.[Ch]: layout as string
10818
10819         * lyxtext.h: layout as string
10820
10821         * lyxlayout.[Ch]: layout as string
10822
10823         * lyx_cb.C: layout as string
10824
10825         * bufferview_funcs.C: layout as string
10826
10827         * bufferparams.C: layout as string
10828
10829         * buffer.C: layout as string
10830
10831         * LyXView.[Ch]: layout as string
10832
10833         * LaTeXFeatures.[Ch]: layout as string
10834
10835         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10836
10837         * BufferView_pimpl.C: change current_layout to string, remove
10838         lyx::layout_type.
10839         (Dispatch):
10840         (smartQuote):
10841         (insertInset):
10842         (workAreaButtonRelease): layout as string
10843
10844         * BufferView2.C (unlockInset): adjust
10845
10846         * vspace.C (asLatexCommand): use an explict temp variable.
10847
10848 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10849
10850         * Makefile.am: use FRONTEND_*
10851
10852 2002-03-01  Juergen Vigna  <jug@sad.it>
10853
10854         * tabular.C (SetWidthOfMulticolCell): changed to something better
10855         I hope but still work in progress.
10856         (recalculateMulticolumnsOfColumn): renamed function from
10857         recalculateMulticolCells as it is more appropriate now.
10858         (SetWidthOfCell): calculate multicols better.
10859
10860 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10861
10862         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10863
10864         * lyxfunc.C (processKeySym): print sequence also if it is
10865         `deleted' (complete)
10866
10867         * kbsequence.C (print): print sequence even if it is deleted
10868         (complete would be a better word, actually).
10869
10870         * lyxfunc.C (dispatch): print complete options after a prefix key
10871
10872         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10873
10874 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10875
10876         * text2.C (setCharFont): eliminate setCharFont code duplication.
10877
10878 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10879
10880         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10881         LFUN_TABULAR_FEATURE (bug #177)
10882
10883 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10884
10885         * Makefile.am: remove figure.h
10886
10887 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10888
10889         * Bufferview_pimpl.C:
10890         * CutAndPasteC:
10891         * LaTeX.C:
10892         * LyXSendto.C:
10893         * buffer.C:
10894         * bufferlist.C:
10895         * converter.C:
10896         * language.C:
10897         * lyxfunc.C:
10898         * lyxvc.C:
10899         * paragraph.C:
10900         * text.C:
10901         * text2.C: remove #include "lyx_gui_misc.h".
10902
10903         * LaTeX.C: added #include <cstdio>
10904
10905 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10906
10907         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10908         that the paragraph following this one can have.
10909
10910         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10911
10912         * vspace.C (asLatexCommand): fix bogus gcc warning
10913
10914         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10915
10916 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10917
10918         * text2.C (setLayout): get rid of redundant code
10919
10920 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10921
10922         * text2.C (incDepth): make sure depth cannot be increased beyond
10923         reasonable values.
10924
10925 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10926
10927         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10928         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10929
10930         * PainterBase.h (image):
10931         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10932         a LyXImage const *.
10933
10934 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10935
10936         * BufferView.C:
10937         * BufferView.h:
10938         * BufferView_pimpl.C:
10939         * BufferView_pimpl.h:
10940         * LaTeXFeatures.C:
10941         * LyXAction.C:
10942         * LyXView.C:
10943         * Makefile.am:
10944         * UpdateList.h:
10945         * UpdateList.C:
10946         * buffer.C:
10947         * figure.h:
10948         * figureForm.C:
10949         * figureForm.h:
10950         * figure_form.C:
10951         * figure_form.h:
10952         * lyx_cb.C:
10953         * lyx_gui.C:
10954         * lyx_gui_misc.C:
10955         * lyxfunc.C:
10956         * sp_base.h:
10957         * sp_ispell.h:
10958         * sp_pspell.h:
10959         * sp_spell.C: remove fig inset, and the crap house of
10960           cards that follows it
10961
10962 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10963
10964         * Makefile.am:
10965         * lyxserver.C:
10966         * os2_defines.h:
10967         * os2_errortable.h:
10968         * nt_defines.h: move .h into support/
10969
10970         * vms_defines.h: remove
10971
10972         * WorkArea.C: add space in debug output
10973
10974         * text2.C:
10975         * paragraph.C:
10976         * buffer.C: add WITH_WARNINGS
10977
10978         * vc-backend.h:
10979         * vc-backend.C:
10980         * bufferlist.C: s/retrive/retrieve/, add docs
10981
10982         * vspace.h:
10983         * vspace.C:
10984         * kbmap.h:
10985         * lyxlength.h:
10986         * lyxgluelength.h:
10987         * length_common.h:
10988         * chset.h:
10989         * chset.C: add docs
10990
10991         * lyxgui.C: add ID to X error handler
10992
10993         * lyxtestclass.c: fix typo
10994
10995 2002-02-26  Juergen Vigna  <jug@sad.it>
10996
10997         * tabular_funcs.C (write_attribute): changed so that some default
10998         attributes are not written at all.
10999         (getTokenValue): set default values before trying to read the
11000         value so we have the return value always set as default if we don't
11001         find the token we search for.
11002
11003         * tabular.C (Write): write bools as bools not as strings!
11004
11005 2002-02-22  Juergen Vigna  <jug@sad.it>
11006
11007         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11008         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11009
11010         * text.C (leftMargin): don't add an indent for paragraphs inside
11011         tabular cells (fix #208).
11012
11013 2002-02-21  José Matos  <jamatos@fep.up.pt>
11014
11015         * tabular.C (docBook): fixed support for long tables.
11016
11017 2002-02-20  Juergen Vigna  <jug@sad.it>
11018
11019         * text2.C (getFont): get the drawing font of the Inset if this
11020         paragraph is inside an inset (only important for InsetERT for now).
11021
11022         * buffer.C (insertErtContents): use new lanugage params in ERT
11023         constructor.
11024
11025         * CutAndPaste.C: commenting out seemingly uneeded code.
11026
11027 2002-02-19  Allan Rae  <rae@lyx.org>
11028
11029         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11030         Iterators might be simple to use but they also get invalidated.
11031         (removeAutoInsets): renamed saved cursor tracking variables and added
11032         some comments to clarify what everything does.
11033
11034 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11035
11036         * Chktex.C:
11037         * LaTeX.C:
11038         * LyXSendto.C:
11039         * converter.C:
11040         * lyx_cb.C:
11041         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11042         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11043
11044         * lyxfunc.C:
11045         * vc-backend.h: remove #include "support/syscall.h"
11046
11047         * LaTeX.C:
11048         * LyXSendto.C:
11049         * converter.C: rearrange #includes in Lars' approved fashion.
11050
11051         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11052         forward declare class Timeout in the header file.
11053
11054         * XFormsView.C: changes due to the above.
11055
11056         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11057         similar to LyXView.
11058
11059         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11060         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11061
11062 2002-02-18  José Matos  <jamatos@fep.up.pt>
11063
11064         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11065         insets contents.
11066
11067 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11068
11069         * a lot of small ws changes
11070         * add a lot of using std::XXX
11071         * use std construcs some places where approp.
11072         * use some exisint stuff from lyxfunctional where approp.
11073         * Make file changes to use partial linking (lets test this now...)
11074
11075 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11076
11077         * Chktex.C:
11078         * buffer.C:
11079         remove #include "support/syscontr.h" as it's redundant. Always has been.
11080
11081         * Chktex.C:
11082         * LaTeX.C:
11083         * LyXSendto.C:
11084         * converter.C:
11085         * lyx_cb.C:
11086         * vc-backend.C:
11087         change Systemcalls::System to Systemcalls::Wait and
11088         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11089         No change of functionality, just reflects the stripped down Systemcalls
11090         class.
11091
11092 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11093
11094         * debug.[Ch]: add a GRAPHICS type to the enum.
11095
11096 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11097
11098         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11099
11100         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11101         there is an inset.
11102
11103 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11104
11105         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11106         match the changes below.
11107
11108         * text2.C (toggleInset): if there is not editable inset at cursor
11109         position, try to see if cursor is _inside_ a collapsable inset
11110         and close it.
11111
11112 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11113
11114         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11115         document menu has a nice checkbox
11116
11117 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11118
11119         * lyxlength.C (asLatexString): change PW to output as percent of
11120         \textwidth.
11121
11122         * lengthcommon.C: change '%' to 't%'
11123
11124         * lyxfunc.C (dispatch): a few comments from Martin
11125
11126 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11127
11128         * WorkArea.h:
11129         * WorkArea.C:
11130         * BufferView_pimpl.h:
11131         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11132           the X selection.
11133
11134 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11135
11136         * vspace.C (inPixels): fix compiler warning
11137
11138 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11139
11140         * lyxfunc.C (getStatus): fix status message for disabled commands.
11141
11142 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11143
11144         * BufferView_pimpl.C: fix crash on close buffer
11145         during selection (#227)
11146
11147 2002-01-27  Herbert Voss  <voss@lyx.org>
11148
11149         * buffer.C: link old Figure to new graphic inset
11150
11151 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11152
11153         * FontLoader.C (getFontinfo): Change the latex font names in order
11154         to match the names of type1inst.
11155
11156 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11157
11158         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11159
11160         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11161         (extchanged): ditto
11162         (ext_exist): ditto
11163         (remove_files_with_extension): ditto
11164         (remove_file): ditto
11165         (write): ditto
11166
11167         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11168         document is smaller than the work area height. Do not initialize
11169         static variables to 0.
11170
11171 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11172
11173         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11174
11175         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11176         LFUN_LAYOUT_PARAGRAPHS.
11177
11178         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11179         tabular. It is possible to provide a possible cell, which will
11180         typically be the actcell from the corresponding insettabular
11181
11182         * lyxfunc.C (getStatus): small cleanup; disable
11183         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11184         true
11185
11186 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11187
11188         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11189
11190         * paragraph.C (startTeXParParams):
11191         (endTeXParParams): new methods. The LaTeX code to
11192         start/end paragraph formatting
11193         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11194         empty (fixes bug #200)
11195
11196         * vspace.C (inPixels): adapt to the change below
11197         (inPixels): [later] more cleanups (remove unused variables)
11198
11199         * lyxlength.C (inPixels): change to use a width and a height as
11200         parameter.
11201
11202 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11203
11204         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11205         Replaced with \paperwidth
11206
11207         * DepTable.C (insert): add std:: qualifier
11208
11209 2002-01-18  Allan Rae  <rae@lyx.org>
11210
11211         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11212         updated also?
11213
11214         * text.C (drawInset): Turned out I didn't know enough about how
11215         rebreaking worked.  This fixes most of the redraw problems.  I see
11216         an occasional cursor trail when a line is broken now and the cursor
11217         placement can seem out by a few pixels also after a rebreak.
11218
11219 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11220
11221         * buffer.C (parseSingleLyXformat2Token): update because minipage
11222         width is now a LyXLength
11223
11224         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11225
11226         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11227         math insets
11228
11229 2002-01-17  Juergen Vigna  <jug@sad.it>
11230
11231         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11232
11233         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11234         is set correctly and the inset is updated correctly.
11235
11236 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11237
11238         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11239         the beginning of the loop.
11240
11241 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11242
11243         * lyxrc.C: improve help for use_scalable_fonts
11244
11245 2002-01-17  Allan Rae  <rae@lyx.org>
11246
11247         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11248
11249 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11250
11251         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11252         make sure to set their inset_owner to the right value (bug #171)
11253
11254 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11255
11256         * DepTable.h
11257         * DepTable.C: Implement mtime checking to reduce time spent doing
11258         CRCs.
11259
11260 2002-01-16  Juergen Vigna  <jug@sad.it>
11261
11262         * tabular.C (GetAdditionalHeight): one of error fixed.
11263
11264         * lyxrc.C (output): small fix in writing use_pspell.
11265
11266 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11267
11268         * sp_base.h: #include LString.h
11269
11270 2002-01-16  Allan Rae  <rae@lyx.org>
11271
11272         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11273         Can someone check this please?
11274
11275         * text.C (drawInset): It was possible that p.row would be removed by
11276         breakAgainOneRow upsetting a few other settings.  There may be another
11277         small tweak possible by setting need_break_row = 0 when p.row has been
11278         removed but I don't know enough about the logic here.
11279
11280 2002-01-15  Allan Rae  <rae@lyx.org>
11281
11282         * text.C (insertChar): removed conditional truism.
11283
11284         * BufferView2.C (removeAutoInsets): More tweaks.
11285         cur_par_prev could be a stray pointer.  Check for trailing empty line
11286         in case last line was cur_par and only had an error inset on it.
11287
11288 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11289
11290         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11291         absolute
11292
11293         * vc-backend.C (most methods):
11294         * exporter.C (Export):
11295         * converter.C (convert):
11296         (runLaTeX):
11297         * LyXSendto.C (SendtoApplyCB):
11298         * lyxfunc.C (dispatch):
11299         (menuNew):
11300         (open):
11301         (doImport):
11302         * lyx_cb.C (AutoSave):
11303         (InsertAsciiFile):
11304         * BufferView_pimpl.C (MenuInsertLyXFile):
11305         * buffer.C (runChktex): use Buffer::filePath().
11306
11307         * buffer.h: rename filename to filename_; rename filepath to
11308         filepath_ and make it private
11309         (filePath): new method
11310
11311         * buffer.C (writeFile): use fileName()
11312         (getLatexName):
11313
11314         * lyx_main.C (init): fix starting  of LyX when the binary is a
11315         link from so,ewhere else.
11316
11317         * minibuffer.C: include <cctype> for isprint
11318
11319 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11320
11321         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11322         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11323         name clash with InsetCollapsable's width function.
11324
11325 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11326
11327         * lastfiles.C: include <iterator>
11328
11329 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11330
11331         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11332         std::count.
11333
11334         * buffer.C (makeLaTeXFile): ditto.
11335         Also make loop operation more transparent.
11336
11337 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11338
11339         * ToolbarDefaults.C: remove trailing comma closing namespace.
11340
11341         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11342
11343         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11344         as in WorkArea.
11345
11346         * trans.C (Load): comment out unused variable, allowed.
11347
11348 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11349
11350         * minibuffer.[Ch] (append_char): new method to recieve input from the
11351         drop-down completion browser. If a key was pressed, then recieve this
11352         char and append it to the existing string.
11353         (peek_event): modify the positioning data passed to the completion
11354         browser so that it can be placed above the minibuffer rather than below.
11355 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11356
11357         * LyXAction.C (init): alloe error-next for readonly documents.
11358
11359         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11360         count.
11361
11362 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11363
11364         * bufferlist.C (readFile): create the buffer _after_ checking that
11365         the file exists.
11366
11367         * lyxfunc.C (verboseDispatch): fix handling of arguments
11368
11369         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11370
11371         * lyxrc.C: use string::erase() instead of initializing to "".
11372
11373
11374 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11375
11376         * BufferView_pimpl.h:
11377         * BufferView_pimpl.C:
11378         * WorkArea.h:
11379         * WorkArea.C:
11380         * text2.C: tell X when we have made a selection for copying
11381
11382 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11383
11384         * BufferView_pimpl.C (MenuInsertLyXFile):
11385         * lyxfunc.C (menuNew):
11386         (open):
11387         (doImport): add shortcuts to directory buttons
11388
11389         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11390         open a float)
11391
11392         * lyxfunc.C (setStatusMessage):
11393         (getStatusMessage): new methods
11394         (getStatus):use setStatusMessage instead of setErrorMessage
11395         (dispatch): when function is disabled, set error message here
11396         [instead of in getStatus previously]
11397
11398         * BufferView_pimpl.C (workAreaButtonRelease): update
11399         toolbar/menubar here too.
11400
11401 2002-01-13  Allan Rae  <rae@lyx.org>
11402
11403         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11404         Now seems indestructible.  Remaining task is to audit all other
11405         code affected by deleteEmptyParagraphMechanism.  One small quirk
11406         left is that an empty document with an error in the preamble can
11407         be made to report an error but no error box appears.  I don't know
11408         where it goes.
11409         (removeAutoInsets): Improved comments.
11410
11411 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11412
11413         * Thesaurus.h:
11414         * Thesaurus.C: update for Aiksaurus 0.14
11415
11416 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11417
11418         * text2.C (firstParagraph): removed member function, all uses
11419         replaces with ownerParagraph
11420         (redoParagraphs): here
11421         (updateInset): here
11422         (toggleAppendix): here
11423         * BufferView2.C (insertErrors): here
11424         (setCursorFromRow): here
11425
11426 2002-01-13  Allan Rae  <rae@lyx.org>
11427
11428         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11429         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11430         There is still a way to segfault this although you may have to do this
11431         multiple times: Have an InsetERT with an unknown command in it.
11432         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11433         <down-arrow>, <Enter> again, View->DVI, BANG!
11434
11435         * text2.C (setCursor):
11436         (deleteEmptyParagraphMechanism):
11437         * lyxtext.h (setCursor):
11438         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11439         Making use of the return value may help fix other bugs.
11440
11441 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11442
11443         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11444
11445         * LyXView.C (updateMenubar): call MenuBar::update here
11446         (updateToolbar): but not here
11447         (showState): do not update toolbar/menubar
11448
11449         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11450         should need to care about that.
11451
11452         * lyxfunc.C (verboseDispatch): simplify a bit
11453         (getStatus): have a version which takes a pseudoaction, and
11454         another which requires a (kb_action,string).
11455
11456         * LyXAction.C (retrieveActionArg): make it work also when action
11457         is not a pseudo-action.
11458         (getActionName): simplify a bit
11459         (helpText):
11460
11461 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11462
11463         * lyxfunc.C (verboseDispatch): new families of methods with
11464         several ways to specify a command and a bool to indicate whether
11465         the command name and shortcut should be displayed in minibuffer
11466         (eventually, we could extend that to a finer bitmask like
11467         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11468         (dispatch): the pristine dispatch command which just, well,
11469         dispatchs! Note it still sets its result to minibuffer; I'm not
11470         sure we want that.
11471
11472         * lyxfunc.h: remove setHintMessage
11473
11474         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11475
11476 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11477
11478         * BufferView_pimpl.C (specialChar): delete new inset if we have
11479         not been able to insert it.
11480
11481         * kbmap.C: revert to using int instead of kb_action, since all we
11482         are dealing with is pseudo-actions.
11483
11484         * LyXAction.C (searchActionArg): change to return int instead of
11485         kb_action, since the result is a pseudoaction.
11486
11487 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11488
11489         * buffer.C (insertErtContents): Fix (partially) the font bug.
11490
11491 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11492
11493         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11494         as the other one is broken on my machine!
11495
11496 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11497
11498         * commandtags.h:
11499         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11500
11501 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11502
11503         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11504         reflect their actual use. Provide compatibility code for older lyxrc
11505         files.
11506
11507         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11508         FL_NORMAL_STYLE.
11509         change names of popup font variables in line with the changes to lyxrc.C
11510
11511 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11512
11513         * buffer.C (asciiParagraph): avoid outputing a word twice after
11514         an inset.
11515
11516         * lyxrc.C (getDescription): document that document_path and
11517         template_path can be empty.
11518
11519 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11520
11521         * LaTeXFeatures.C (getMacros):
11522         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11523
11524         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11525
11526         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11527         getPackages.
11528         (getPackages): rename feature "floats" to "float". Use an array to
11529         iterate over 'simple' features (i.e. just a \usepackage). Add
11530         handling of "amsmath" (renamed from "amsstyle").
11531
11532 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11533
11534         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11535         features list.
11536
11537 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11538
11539         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11540         FuncStaus::FuncStatus & FuncStaus::some_method().
11541
11542 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11543
11544         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11545         of the func_satus stuff. Edited and massaged in various ways by
11546         JMarc.
11547
11548         * lyxfunc.C (getStatus): use FuncStatus
11549
11550 2002-01-08  Juergen Vigna  <jug@sad.it>
11551
11552         * text.C (nextBreakPoint): use function Inset::isChar().
11553
11554         * paragraph.C (TeXOnePar): use function
11555         Inset::forceDefaultParagraphs.
11556
11557         * buffer.C (latexParagraphs): use function
11558         Inset::forceDefaultParagraphs.
11559
11560 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11561
11562         * lyx_gui.C (init): set the style of the menu popups to
11563         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11564
11565 2002-01-07  Juergen Vigna  <jug@sad.it>
11566
11567         * text.C (setHeightOfRow): small fix
11568         (prepareToPrint): don't look at alignment if we don't have the place
11569         for doing it.
11570
11571 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11572
11573         * box.C: New file. Move the Box methods and functions out of box.h,
11574         following Lars' suggestion.
11575
11576 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11577
11578         * box.h: #include "support/LOstream.h", needed for inlined function.
11579
11580         * lyxtextclass.C:
11581         * lyxtextclasslist.C: added some using std declarations.
11582
11583 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11584
11585         * box.h: make signed dimensions to allow insets wider than
11586           the screen (bug #162)
11587
11588         * BufferView_pimpl.C: add some insetHit debug
11589
11590 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11591
11592         * vc-backend.C: add FIXME
11593
11594 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11595
11596         * lyxfunc.C (getStatus): enable code for showing math font status
11597         in toolbar/menu.
11598
11599 2002-01-07  Juergen Vigna  <jug@sad.it>
11600
11601         * text.C (nextBreakPoint): removed debug output not needed anymore.
11602
11603 2002-01-06  Juergen Vigna  <jug@sad.it>
11604
11605         * text.C (nextBreakPoint): fixed up this function we had this bug
11606         since ever but now hopefully we break row better.
11607         (insertChar): we have to check if an inset is the next char as it
11608         could now happen that a large inset is causing a break.
11609
11610 2002-01-05  Juergen Vigna  <jug@sad.it>
11611
11612         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11613         if it doesn't like to be drawed.
11614
11615 2002-01-04  Juergen Vigna  <jug@sad.it>
11616
11617         * BufferView2.C (lockInset): forgot to set a cursor.
11618
11619         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11620
11621 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11622
11623         * FormMathsPanel.C:
11624         * FormMathsPanel.h
11625         * MathsSymbols.C:
11626         * form_maths_panel.C:
11627         * form_maths_panel.h:
11628         * form_maths_panel.fd: implemented sub- and super- buttons in math
11629         panel.
11630
11631         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11632         (or ^ space) to be used as in TeX (req'd by André).
11633
11634         * lyxfunc.C: Allow ^ and _ again to be used both as
11635         super/subscript (mathed) and as themselves (in text).
11636
11637 2002-01-03  Allan Rae  <rae@lyx.org>
11638
11639         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11640         "LyX" or the filename of the current buffer if it has one.  This is a
11641         modified form of John Levon's patch.
11642
11643         * XFormsView.C (setWindowTitle): also set icon title.
11644
11645         * LyXView.h (setWindowTitle): signature changed.
11646         * XFormsView.h (setWindowTitle): ditto.
11647
11648 2002-01-02  Juergen Vigna  <jug@sad.it>
11649
11650         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11651
11652 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11653
11654         * screen.C (topCursorVisible): introduce a temp var for
11655         text->cursor.row(), handle the case where this row is null. (kindo
11656         hachish)
11657
11658         * text2.C (setCursor): add a couple of asserts.
11659
11660         * paragraph.h (inset_iterator): add -> operator
11661
11662         * paragraph.[Ch] (autoDeleteInsets): remove member function
11663
11664         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11665         cursor pos correctly and handle inset deletion by itself.
11666         (insertErrors): move iterator declaration out of for expression
11667
11668         * lyxtextclass.C: add <algorithm>
11669
11670         * Makefile.am: added the new files to sources, removed layout.C
11671
11672         * layout.C: removed file
11673
11674         * layout.h: remove LYX_DUMMY_LAYOUT
11675
11676         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11677         layout.
11678
11679         * lyxlayout.[Ch]:
11680         * lyxtextclass.[Ch]:
11681         * lyxtextclasslist.[Ch]: new files
11682
11683         * include order changes to a lot of files, also changes because of
11684         the six new files.
11685
11686 2001-12-27  Juergen Vigna  <jug@sad.it>
11687
11688         * buffer.C (asciiParagraph): more fixes.
11689
11690         * tabular.C (ascii): make ascii export support export of only the
11691         data separated by a column-delimiter.
11692         (ascii): better support for ascii export.
11693
11694         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11695
11696 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11697
11698         * tabular_funcs.C: use a "using std::getline" instead of the
11699         previous fix from Angus (necessary for cxx + lyxstring)
11700
11701 2001-12-24  Juergen Vigna  <jug@sad.it>
11702
11703         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11704
11705         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11706         problems. First check a minipage also if we have some ert-contents
11707         (not only on par->size(), second set the right depth of the paragraph
11708         on the relink to the root-paragraph-list!
11709
11710         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11711         which then did not anymore update the main paragraphs on undo/redo!
11712
11713 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11714
11715         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11716         code. Support all font-changing funcs (even those which are not in
11717         menu currently). Support for reporting font settings in
11718         mathed (disabled until Andre provides a function on mathed's side).
11719
11720         * func_status.h (toggle): small helper function to set toggle
11721         state on a flag.
11722
11723 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11724
11725         * tabular_funcs.C: getline -> std::getline
11726
11727 2001-12-21  Juergen Vigna  <jug@sad.it>
11728
11729         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11730         accessed and could be 0 (I couldn't generate this but it seems
11731         Michael could!).
11732
11733 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11734
11735         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11736         * tabular_funcs.h: here and include iosfwd
11737
11738 2001-12-20  Juergen Vigna  <jug@sad.it>
11739
11740         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11741         inside inset but undo_par was.
11742
11743 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11744
11745         * Thesaurus.C: always include <config.h> in sources.
11746
11747         * Painter.h:
11748         * lyxlookup.h:
11749         * box.h: do not include <config.h> in header files
11750
11751         * text.C (paintLastRow): remove unused variable
11752
11753         * text.C (transformChar):
11754         (insertChar):
11755         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11756
11757         * Painter.C (text):
11758         * font.C (width): rewrite to use uppercase() instead of
11759         islower/toupper.
11760
11761         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11762
11763 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11764
11765         * lyxfind.C: clean up of find failure position change
11766
11767 2001-12-20  Juergen Vigna  <jug@sad.it>
11768
11769         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11770
11771         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11772         (TeXRow): added to LaTeX a single tabular row.
11773         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11774         (Latex): simplified and finally good LT-h/f support.
11775         (various_functions): just small adaptions for LT-h/f support.
11776
11777         * tabular_funcs.[hC]: added and moved here all not classfunctions
11778         of LyXTabular.
11779
11780 2001-12-19  Juergen Vigna  <jug@sad.it>
11781
11782         * tabular.[Ch]: better support for longtabular options (not finished
11783         yet!)
11784
11785 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11786
11787         * text.C (paintLastRow): use the label font instead of the font of
11788         the last character to compute the size of *_BOX. This makes more
11789         sense and avoids a crash with empty paragraphs.
11790         Use Painter::rectangle to draw EMPTY_BOX.
11791
11792 2001-12-19  Juergen Vigna  <jug@sad.it>
11793
11794         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11795         the paragraphs if the replaced paragraph is not the first one!
11796         Tried to delete not used paragraphs but does not work yet so for
11797         now it's inside #ifdef's and by default off!
11798
11799 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11800
11801         * MenuBackend.C: include "lyx_main.h" instead of declaring
11802         lastfiles (actually was declared as LastFiles* instead of a
11803         scoped_ptr).
11804
11805 2001-12-17  Juergen Vigna  <jug@sad.it>
11806
11807         * tabular.C (AppendColumn): applied John's fix
11808
11809 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11810
11811         * BufferView.h:
11812         * BufferView.C:
11813         * BufferView_pimpl.h:
11814         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11815
11816         * Makefile.am:
11817         * box.h: new start of class for above
11818
11819         * lyxfunc.C: ignore space-only minibuffer dispatches.
11820           Show the command name when it doesn't exist
11821
11822         * minibuffer.C: don't add empty lines to the history
11823
11824         * minibuffer.C: add a space on dropdown completion
11825
11826 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11827
11828         * text.C: fix line above/below drawing in insets
11829
11830 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11831
11832         * lyxlength.C (LyXLength): Initialize private variables.
11833
11834 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11835
11836         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11837         when inserting error insets.
11838
11839 2001-12-13  Juergen Vigna  <jug@sad.it>
11840
11841         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11842         actually sometimes the before-paragraph.
11843         (setUndo): don't clear the redostack if we're not actually undoing!
11844
11845 2001-12-06  Juergen Vigna  <jug@sad.it>
11846
11847         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11848         and fixed redoing of main paragraph, so we can use it now ;)
11849
11850         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11851
11852 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11853
11854         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11855         Juergen's request
11856
11857 2001-12-13  André Pönitz <poenitz@gmx.net>
11858
11859         * undostack.[Ch]:
11860         * undo_func.C: minor cleanup
11861
11862 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11863
11864         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11865         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11866         font in urw-fonts package which is marked as -urw-fontspecific and
11867         does not work (incidentally, changing the encoding in the
11868         fonts.dir of this package to -adobe-fontspecific fixes the
11869         problem).
11870
11871         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11872         is a crash when undoing first paragraph (Juergen, please take a
11873         look). THis does not mean the undo fix is wrong, just that it
11874         uncovers problems.
11875
11876         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11877         the (Paragraph*) version when needed instead of duplicating the
11878         code.
11879
11880         * text.C (workWidth): use Inset::parOwner to find out where the
11881         inset has been inserted. This is a huge performance gain for large
11882         documents with lots of insets. If Inset::parOwner is not set, fall
11883         back on the brute force method
11884
11885         * paragraph_pimpl.C (insertInset):
11886         * paragraph.C (Paragraph):
11887         (cutIntoMinibuffer): set parOwner of insets when
11888         inserting/removing them
11889
11890         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11891
11892 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11893
11894         * commandtags.h:
11895         * LyXAction.C:
11896         * lyx_main.C:
11897         * lyxfunc.C:
11898         * mathed/formulabase.C:
11899         * mathed/math_cursor.[Ch]:
11900         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11901
11902
11903 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11904
11905         * lyxlength.[Ch] (operator!=): new function
11906
11907 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11908
11909         * text.C (workWidth): use Inset::parOwner to find out where the
11910         inset has been inserted. This is a huge performance gain for large
11911         documents with lots of insets. If Inset::parOwner is not set, fall
11912         back on the brute force method
11913
11914         * paragraph_pimpl.C (insertInset):
11915         * paragraph.C (Paragraph):
11916         (cutIntoMinibuffer): set parOwner of insets when
11917         inserting/removing them
11918
11919         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11920
11921 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11922
11923         * tabular-old.C (getTokenValue):
11924         * tabular.C (getTokenValue):
11925         (write_attribute): new versions for LyXLength
11926         (everywhere): adjust the use of widths
11927
11928         * tabular.h: change the type of widths from string to LyXLength
11929
11930 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11931
11932         * paragraph.C: fixed missing line number count when exporting
11933         Environments to LaTeX file
11934
11935         * buffer.C: added informational message for checking line numbers.
11936
11937 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11938
11939         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11940         paragraph, do the 'double space' part, but not the 'empty
11941         paragraph' one.
11942
11943         * text.C (workWidth): small optimization
11944         (getLengthMarkerHeight): use minimal size for negative lengths.
11945
11946 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11947
11948         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11949
11950         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11951
11952 2001-12-11  André Pönitz <poenitz@gmx.net>
11953
11954         * FontLoader.C:
11955         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11956
11957 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11958
11959         * text2.C: keep selection on a setFont()
11960
11961 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11962
11963         * lyx_cb.C: another bv->text misuse, from insert label
11964
11965 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11966
11967         * kbsequence.h:
11968         * kbsequence.C: re-instate nmodifier mask
11969
11970 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11971
11972         * lyx_main.h: make lyxGUI private.
11973
11974 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11975
11976         * lyxfind.C: place the cursor correctly on failed search
11977
11978 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11979
11980         * text.C (getLengthMarkerHeight): for small heights, the arrows
11981         are not always on top/bottom of the text
11982         (drawLengthMarker): smaller arrows; take the left margin in
11983         account; draw also vfills.
11984         (paintFirstRow):
11985         (paintLastRow): remove special code for vfill and standard spaces,
11986         since everything is handled in drawLengthMarker now.
11987
11988 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11989
11990         * buffer.C (insertErtContents): try to handle font and language
11991         interaction a bit better.g
11992
11993         * ColorHandler.C (updateColor): change the hash to cover the whole
11994         LColor enum, ws cleanup
11995         (getGCLinepars): ditto
11996         (getGCLinepars): only lookup in the linecache once.
11997
11998 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11999
12000         * iterators.C (operator++): Make the iterator more robust
12001
12002         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12003         (John's patch)
12004         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12005
12006 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12007
12008         * lyxtext.h:
12009         * text.C: better added space drawing
12010
12011 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12012
12013         * LyXView.C:
12014         * BufferView2.C: fix layout combo update on inset unlock
12015
12016 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12017
12018         * Makefile.am: don't compile unused files
12019
12020 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12021
12022         * lyxfunc.C:
12023         * commandtags.h:
12024         * LyXAction.C: remove old LFUN_LAYOUTNO
12025
12026 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12027
12028         * paragraph_pimpl.h:
12029         * paragraph_pimpl.C: isTextAt() doesn't need font param
12030
12031 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12032
12033         * lyxlex.h:
12034         * lyxlex.C: little cleanup
12035
12036 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12037
12038         * BufferView_pimpl.C: fix insertAscii for insets
12039
12040 2001-12-05  Juergen Vigna  <jug@sad.it>
12041
12042         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12043         set the right font on the "multi" paragraph paste!
12044
12045 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12046
12047         * trans_decl.h:
12048         * trans_mgr.[Ch]:
12049         * trans.[Ch]:
12050         * lyxgluelength.C:
12051         * lyxlength.C: remove out-commented code.
12052
12053         * BufferView_pimpl:
12054         * CutAndPaste.C:
12055         * DepTable.C:
12056         * buffer.C:
12057         * chset.C:
12058         * lastfiles.C:
12059         * lyxlex.C:
12060         * lyxlex_pimpl.C:
12061         * lyxserver.C:
12062         * screen.C:
12063         * tabular-old.C:
12064         * tabular.C:
12065         * text.C:
12066         * trans_mgr.C:
12067         * vc-backend.C: change "while(" to "while ("
12068
12069         * lyxlength.[Ch]: add zero function to check if length is zero or
12070         not
12071         * lyxgluelength.C: use it
12072
12073 2001-12-05  Allan Rae  <rae@lyx.org>
12074
12075         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12076         Works for 2.95.3, from what I understand of Garst's reports this should
12077         work for other g++ versions.  We're screwed if the abs(int) definition
12078         changed between bugfix releases of gcc.
12079
12080 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12081
12082         * text.C: fix chapter label offset !
12083
12084 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12085
12086         * lyxtext.h:
12087         * text.C: fix hfill at end of line, clean up
12088
12089 2001-12-04  Juergen Vigna  <jug@sad.it>
12090
12091         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12092         that we force an update of the inset and it's owners if neccessary.
12093
12094 2001-12-03  Juergen Vigna  <jug@sad.it>
12095
12096         * text.C (rowLast): simplified code
12097
12098 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12099
12100         * lyxfunc.C: fix show options on timeout
12101
12102 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12103
12104         * screen.C (topCursorVisible): scroll half a page when the cursor
12105         reached top of bottom of screen
12106
12107 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12108
12109         * minibuffer.C: deactivate on loss of focus
12110
12111 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12112
12113         * vspace.[Ch] (operator!=): add operator.
12114
12115 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12116
12117         * BufferView_pimpl.C: refuse to open an inset when
12118         there's a selection.
12119
12120 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12121
12122         * BufferView_pimpl.C: allow to click on RHS of full row insets
12123
12124 2001-11-30  Juergen Vigna  <jug@sad.it>
12125
12126         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12127         insets for undo reasons.
12128
12129 2001-11-28  André Pönitz <poenitz@gmx.net>
12130
12131         * vspace.[Ch]: cosmetical changes
12132
12133 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12134
12135         * LyXAction.h:
12136         * LyXAction.C:
12137         * lyxfunc.h:
12138         * lyxfunc.C:
12139         * kbmap.h:
12140         * kbmap.C:
12141         * lyxrc.C:
12142         * kbsequence.h:
12143         * kbsequence.C: part re-write of old kb code
12144
12145         * Painter.C:
12146         * WorkArea.C: remove Lgb_bug_find_hack
12147
12148 2001-11-30  José Matos <jamatos@fep.up.pt>
12149
12150         * buffer.C (makeDocBookFile): add a comment to point a hack.
12151         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12152         Fixed a double write of labels.
12153
12154 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12155
12156         * LaTeX.C:
12157         * LaTeX.h Fixed bug in LaTeX class where it would not
12158         re-run latex if no depfiles were changed, but the .dvi was removed.
12159
12160 2001-11-28  André Pönitz <poenitz@gmx.net>
12161
12162         * all the files from the change on 2001/11/26:
12163         use lyx::layout_type instead of LyXTextClass::size_type
12164         use lyx::textclass_type instead of LyXTextClassList::size_type
12165
12166 2001-11-29  Juergen Vigna  <jug@sad.it>
12167
12168         * text.C: added support for paragraph::isFreeSpacing()
12169
12170         * buffer.C: same as above
12171
12172         * paragraph.h: inserted isFreeSpacing() function to enable
12173         FreeSpacing inside InsetERT.
12174
12175         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12176         of the paragraph's in the cut/copy buffer to 0!
12177
12178         * text2.C (removeRow): remove the assert as it can!
12179
12180         * lyxtext.h: added helper function firstRow returning firstrow and
12181         made firstrow private again.
12182
12183         * BufferView2.C (lockInset): don't relock if we're already locked!
12184
12185         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12186         the only paragraph.
12187         (removeRow): added Assert::(firstrow)
12188
12189         * debug.C: forgot to add INSETTEXT here.
12190
12191 2001-11-28  Juergen Vigna  <jug@sad.it>
12192
12193         * sp_spell.C (initialize): changed error text to more general
12194         spellchecker command use (not only ispell!)
12195
12196         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12197
12198         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12199
12200 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12201
12202         * vspace.C: initialise lyxgluelength on failure
12203
12204 2001-11-28  Allan Rae  <rae@lyx.org>
12205
12206         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12207         declaration & definition that looks like a function declaration.
12208
12209 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12210
12211         * BufferView2.C (copy):
12212         (copyEnvironment): do not clear the selection when doing a copy.
12213
12214         * text.C (paintFirstRow): compilation fix
12215
12216 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12217
12218         * tabular.C (Latex): correct line count when writing latex.
12219
12220 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12221
12222         * paragraph_pimpl.h:
12223         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12224           bug a bit
12225
12226 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12227
12228         * text.C:
12229         * LColor.h:
12230         * LColor.C: change vfillline->added_space
12231
12232         * text.C: add markers and text for added space
12233
12234         * vspace.C: fix comment
12235
12236 2001-11-28  André Pönitz <poenitz@gmx.net>
12237
12238         * paragraph.C: whitespace changes
12239         * all the other files from the change on 2001/11/26:
12240         change *::pos_type into lyx::pos_type
12241
12242 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12243
12244         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12245         language of the document when inserting error insets.
12246
12247 2001-11-26  André Pönitz <poenitz@gmx.net>
12248
12249         * BufferView_pimpl.[Ch]:
12250         *       CutAndPaste.C:
12251         * buffer.[Ch]:
12252         * lyxcursor.[Ch]:
12253         * lyxfind.C:
12254         * lyxfunc.C:
12255         * lyxrow.[Ch]:
12256         * paragraph.[Ch]:
12257         * paragraph_pimpl.[Ch]:
12258         * sp_spell.C:
12259         * text.C:
12260         * text2.C: reduce header dependencies, introduce type for positions
12261
12262 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12263
12264         * <various>: change to use Alert.h
12265
12266 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12267
12268         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12269         when encountering an unknown token.
12270         (readLyXformat2): Show an error message if there were unknown tokens.
12271
12272 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12273
12274         * BufferView2.C:
12275         * BufferView_pimpl.C:
12276         * buffer.C:
12277         * paragraph.h:
12278         * text.C:
12279         * text2.C: use par->isInset()
12280
12281 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12282
12283         * paragraph_pimpl.h:
12284         * paragraph_pimpl.C: cleanup
12285
12286 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12287
12288         * text2.C (removeRow):
12289         * text.C (setHeightOfRow): remove useless (and costly) call to
12290         getRow.
12291
12292 2001-11-20  Allan Rae  <rae@lyx.org>
12293
12294         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12295         Now need Inset*::checkInsertChar() to return true for appropriate
12296         cases so that the characters in the minibuffer will actually be
12297         inserted.
12298
12299 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12300
12301         * text.C: change the order of the includes.
12302         (workWidth): initialize it at once.
12303         (workWidth): make maxw unsigned
12304         (setHeightOfRow): remove unused variable (inset)
12305         (selectSelectedWord): remove unused variable (inset)
12306         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12307
12308 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12309
12310         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12311         server is not running.
12312         (openConnection):
12313         (closeConnection): add debug info when server is disabled.
12314
12315         * ColorHandler.C (getGCForeground): send debug message to GUI
12316         channel.
12317
12318         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12319
12320         * kbmap.C (bind): modify because return conventions of
12321         kb_sequence::parse have changed.
12322
12323         * kbsequence.C (parse): only ignore spaces and not any stupid
12324         control character. This avoids tests like s[i] <= ' ', which are
12325         guaranteed to fail with 8bit characters and signed chars.
12326         Change return code to string::npos when there have been no error
12327         (0 was a bad idea when error is at first character)
12328
12329 2001-11-14  José Matos  <jamatos@fep.up.pt>
12330
12331         * buffer.h:
12332         * buffer.C (simpleDocBookOnePar): removed unused argument.
12333
12334 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12335
12336         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12337         insets which are part of a word. Paragraph::isLetter takes care of
12338         that now. Use Paragraph::isInset to identify insets.
12339         (selectSelectedWord): do not test for hyphenation break.
12340
12341         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12342         that protected spaces are considered as spaces.
12343
12344         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12345         Inset::isLetter.
12346
12347 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12348
12349         * lyxserver.h:
12350         * lyxserver.C: fix it. and small cleanup.
12351
12352 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12353
12354         * BufferView_pimpl.C: use inline helpers
12355
12356         * LaTeXFeatures.h:
12357         * LaTeXFeatures.C: fix typos
12358
12359         * Spacing.h:
12360         * Spacing.C: move spacing_string into class
12361
12362         * ToolbarDefaults.C: move stuff into namespace anon
12363
12364         * layout.h: update enum
12365
12366         * lyxfunc.C: use better debug
12367
12368         * minibuffer.h: fix typo
12369
12370         * debug.h:
12371         * debug.C:
12372         * WorkArea.C: add and use Debug::WORKAREA
12373
12374         * lyxtext.h:
12375         * text.C:
12376         * text2.C: code re-organisation, inline helpers
12377
12378 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12379
12380         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12381         std::vector.empty().
12382
12383 2001-11-09  Allan Rae  <rae@lyx.org>
12384
12385         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12386         '\n's after tables.  Tabular and ERT inset work now makes this no
12387         longer necessary.
12388
12389 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12390
12391         * minibuffer.h:
12392         * minibuffer.C: fix crash, improve drop-down completion
12393
12394 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12395
12396         * lyxserver.h:
12397         * lyxserver.C: invalidate fd's when doing endPipe()
12398
12399 2001-11-08  José Matos  <jamatos@fep.up.pt>
12400
12401         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12402         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12403
12404         * paragraph.h:
12405         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12406
12407 2001-11-07  José Matos  <jamatos@fep.up.pt>
12408
12409         * buffer.h:
12410         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12411         const qualifier.
12412
12413         * buffer.C (sgmlOpenTag):
12414         * buffer.C (sgmlCloseTag): removed debug info.
12415
12416         * buffer.h (sgmlOpenTag):
12417         * buffer.h (sgmlCloseTag): made public.
12418
12419 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12420
12421         * buffer.C (saveParamsAsDefaults):
12422         * lyx_cb.C (MenuLayoutSave): remove
12423
12424         * LyXAction.C (init):
12425         * commandtags.h:
12426         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12427
12428 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12429
12430         * buffer.C (setPaperStuff): removed from here...
12431
12432         * bufferparams.C (setPaperStuff): ... and moved there.
12433
12434 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12435
12436         * minibuffer.h:
12437         * minibuffer.C:
12438         * XFormsView.C: add support for drop-down completion
12439
12440 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12441
12442         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12443         commands.
12444
12445 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12446
12447         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12448         disabled.
12449
12450 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12451
12452         * lyx_main.C: change ref to known bugs
12453
12454 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12455
12456         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12457         to work around older babel problems.
12458
12459 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12460
12461         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12462
12463 2001-10-24  Juergen Vigna  <jug@sad.it>
12464
12465         * tabular-old.C (ReadOld): below variable changes reflected.
12466
12467         * tabular.[Ch]: added ltType struct for longtable header/footer
12468         defines and changed all instances where they are used. Added
12469         future support for double top/bottom rows.
12470
12471 2001-10-24  José Matos  <jamatos@fep.up.pt>
12472
12473         * buffer.h (docbookHandleCaption):
12474         * buffer.C (docbookHandleCaption): removed unused function.
12475         (makeDocBookFile): moved docbook supported version to v4.1.
12476
12477 2001-10-24  José Matos  <jamatos@fep.up.pt>
12478
12479         * tabular.h:
12480         * tabular.C (docbookRow): new function to export docbook code of a row.
12481         (DocBook): now honors the longtable flags.
12482
12483 2001-10-23  José Matos  <jamatos@fep.up.pt>
12484
12485         * LaTeXFeatures.h:
12486         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12487         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12488
12489         * buffer.C (makeLinuxDocFile):
12490         (makeDocBookFile): reworked the preamble, more clean, and with
12491         support for lyx defined entities. Changed the document declaration
12492         to be more XML friendly.
12493
12494         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12495         if we need to output XML that should be done with a filter.
12496
12497 2001-10-22  Juergen Vigna  <jug@sad.it>
12498
12499         * sp_pspell.h (class PSpell): add alive function needed in the
12500         controller to see if the spellchecker could be started.
12501
12502 2001-10-22  Juergen Vigna  <jug@sad.it>
12503
12504         * buffer.C (insertStringAsLines): modify the font for inserting
12505         chars in certain conditions by calling checkInsertChar(font).
12506
12507 2001-10-19  Juergen Vigna  <jug@sad.it>
12508
12509         * text.C (workWidth): use getRow instead of wrong algorithm.
12510         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12511
12512 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12513
12514         * lyxserver.h:
12515         * lyxserver.C:
12516         * lyx_main.h:
12517         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12518
12519 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12520
12521         * text.C (workWidth): do not search for the exact row when
12522         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12523         optimization for big documents.
12524
12525 2001-10-18  Juergen Vigna  <jug@sad.it>
12526
12527         * text.C (workWidth): new function with added Inset * parameter.
12528
12529 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12530
12531         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12532
12533         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12534         change return type of getColumnNearX.
12535
12536
12537         * text.C (changeRegionCase): use uppercase/lowercase instead of
12538         toupper/tolower.
12539         (leftMargin):
12540         (rightMargin): simplify code by factoring out the uses of
12541         textclasslist.
12542         (labelFill):
12543         (numberOfHfills):
12544         (setHeightOfRow):
12545         (appendParagraph): use Paragraph::size_type
12546
12547 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12548
12549         * vspace.C (asLatexString): add a missing break
12550
12551 2001-10-15  Herbert Voss  <voss@perce.de>
12552
12553         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12554
12555 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12556
12557         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12558         is not available.
12559
12560 2001-10-10  André Pönitz <poenitz@gmx.net>
12561
12562         * lyxfunc.C: removed greek_kb_flag.
12563
12564 2001-10-10  Herbert Voss  <voss@perce.de>
12565
12566         * lyx_main.C: delete global string help_lyxdir.
12567
12568 2001-10-09  Herbert Voss  <voss@perce.de>
12569
12570         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12571
12572         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12573
12574         * lyx_main.C: added global string help_lyxdir.
12575
12576         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12577
12578 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12579
12580         * lyxrc.C (set_font_norm_type): support iso8859-4
12581
12582 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12583
12584         * LaTeX.C (deplog): add another regex for MikTeX
12585
12586 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12587
12588         * lyxrc.C (set_font_norm_type): support iso8859-3
12589
12590 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12591
12592         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12593
12594         * LaTeXFeatures.C: remove special case of french and index
12595
12596         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12597         before \begin{document}). This solves several incompatibilities.
12598
12599 2001-10-03  Garst Reese  <reese@isn.net>
12600
12601         * lyx_cb.C: change CheckTex error msg.
12602
12603 2001-10-03  José Matos  <jamatos@fep.up.pt>
12604
12605         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12606
12607 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12608
12609         * .cvsignore: update
12610
12611         * lyx_main.C (commandLineVersionInfo): use new style version info.
12612
12613         * buffer.C (writeFile):
12614         (makeLaTeXFile):
12615         (makeLinuxDocFile):
12616         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12617
12618         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12619
12620         * version.h: update to use stuff in version.C
12621
12622         * version.C.in: new file. Contains version information determined
12623         at compile time. This is a merging of version.h and
12624         version_info.h.in.
12625
12626 2001-10-03  Juergen Vigna  <jug@sad.it>
12627
12628         * BufferView_pimpl.C (update): don't change "dirty" status in
12629         updateInset call.
12630
12631 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12632
12633         * WorkArea.C (c-tor): re-position version string slightly.
12634
12635 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12636
12637         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12638         revert to previous code.
12639
12640         WorkArea.[Ch]: (show, destroySplash): methods removed.
12641
12642         WorkArea.C: rework code so that it's an amalgam of the codes before and
12643         after the splash screen was moved to WorkArea.
12644
12645 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12646
12647         * lyxrc.C (read):
12648         * vspace.C (inPixels):
12649         (lyx_advance):
12650         * kbmap.C (bind):
12651         * buffer.C (insertStringAsLines):
12652         (asciiParagraph): fix types to be large enough
12653
12654         * lyxlex_pimpl.h: change member status from short to int
12655
12656         * layout.h: fix type of endlabeltype
12657
12658         * kbmap.C (bind):
12659         * kbsequence.C (parse): change return type to string::size_type
12660
12661         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12662         variable
12663
12664         * Bullet.C (bulletSize):
12665         (bulletEntry): do not use short ints as parameters
12666
12667         * BufferView2.C (insertLyXFile): change a char to an int.
12668
12669         * WorkArea.C (WorkArea): remove unneeded floats in computation
12670
12671 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12672
12673         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12674
12675         * paragraph.C (asString): Do not ignore newline/hfill chars when
12676         copying to the clipboard.
12677
12678 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12679
12680         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12681         after a multi-line inset.
12682
12683 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12684
12685         * paragraph.C (validate): Set NeedLyXFootnoteCode
12686
12687 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12688
12689         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12690         and decrease-error to decrease.
12691
12692 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12693
12694         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12695         it more readable (should be equivalent)
12696
12697 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12698
12699         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12700
12701 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12702
12703         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12704         of a cursor (row, etc.) after a character has been deleted
12705         (deleteEmptyParagraphMechanism): call the method above on _all_
12706         cursors held by the LyXText when a double space has been
12707         detected/deleted.
12708
12709 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12710
12711         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12712         pixmap.
12713         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12714
12715         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12716         background. Use greyOut() and the new show() methods to toggle between
12717         the foreground and background. Add code to remove the splash after
12718         its initial showing.
12719
12720         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12721         (create_forms): no longer call Dialogs::showSplash.
12722
12723 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12724
12725         * .cvsignore: add version_info.h
12726
12727 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12728
12729         * version_info.h.in: new file
12730
12731         * Makefile.am: add version_info.h.in
12732
12733         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12734         version_info.h instead of VERSION_INFO
12735
12736 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12737
12738         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12739         The ERT inset now returns string().
12740
12741 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12742
12743         * lyxtext.h, text.C (selectNextWord): renamed as
12744         selectNextWordToSpellcheck.
12745
12746         * text.C (selectNextWordToSpellcheck): Modified to not select
12747         words inside an ERT inset.
12748
12749 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12750
12751         * lyx_cb.C (MenuLayoutSave): change a bit the question
12752
12753         * sp_base.h: include <sys/types.h>
12754
12755 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12756
12757         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12758
12759 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12760
12761         * several files: fix typos in user-visible strings
12762
12763 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12764
12765         * text2.C (pasteSelection): do not set the selection, since it
12766         will be cleared later. Actually, the intent was to fix the way the
12767         selection was set, but I figured rmoving the code was just as good.
12768
12769 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12770
12771         * FontLoader.C (available): Check if font is available without
12772         loading the font.
12773
12774 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12775
12776         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12777
12778 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12779
12780         * lyxrc.[Ch]: added display_graphics variable and associated code.
12781
12782 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12783
12784         * bufferparams.C (hasClassDefaults): new method. Returns true if
12785         the buffer parameters correspond to known class defaults
12786
12787 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12788
12789         * XFormsView.C (show): set minimum size to the main window.
12790
12791 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12792
12793         * text2.C (copySelection):
12794         (cutSelection):
12795         * lyxfind.C (LyXReplace):
12796         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12797         LyXText::selectionAsString.
12798
12799         * paragraph.C (asString): add "label" argument to the second form
12800
12801         * text2.C (selectionAsString): add "label" argument and pass it to
12802         Paragraph::asString.
12803
12804 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12805
12806         * lyx_main.C (commandLineHelp): remove version information
12807
12808 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12809
12810         * lyx_main.C: add -version commandline option
12811
12812 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12813
12814         * paragraph.h: make the optional constructor arg required instead.
12815         some modifications to other files because of this.
12816
12817         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12818
12819         * lyxserver.C (C_LyXComm_callback): make it static
12820
12821         * lyx_main.C (error_handler): make it static
12822
12823         * lyx_gui.C (LyX_XErrHandler): make it static
12824
12825         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12826
12827         * WorkArea.C: make the extern "C" methods static.
12828
12829         * Makefile.am (lyx_LDADD): simplify
12830
12831 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12832
12833         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12834         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12835
12836         * LyXAction.C (init):
12837         * lyxfunc.C (dispatch): associated code removal.
12838
12839 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12840
12841         * lyxfont.h (isSymbolFont): shut off warning
12842
12843         * text.C (setHeightOfRow):
12844         (getVisibleRow): fix crash with empty paragraphs which have a
12845         bottom line
12846
12847 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12848
12849         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12850         code.
12851
12852 2001-09-04  José Matos  <jamatos@fep.up.pt>
12853         * buffer.C
12854         * buffer.h
12855         * tabular.C (docbook): rename docBook method to docbook.
12856
12857 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12858
12859         * Makefile.am: add dependencies to main.o.
12860
12861 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12862
12863         * FontLoader.C (available): Return false if !lyxrc.use_gui
12864
12865 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12866
12867         * FontInfo.C (query):
12868         * converter.C (view):
12869         * importer.C (Import):
12870         * exporter.C (Export): Can not -> cannot.
12871
12872 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12873
12874         * BufferView_pimpl.C: allow to create index inset even if
12875           string is empty
12876
12877 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12878
12879         * buffer.C (getLists): replace boost::tie code with an explicit pair
12880         as boost::tie can break some compilers.
12881
12882         * iterators.h: Added a std:: declaration to the return type of
12883         ParIterator::size.
12884
12885 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12886
12887         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12888           case.
12889
12890 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12891
12892         * iterators.[Ch]: New files. Provide paragraph iterators.
12893
12894         * buffer.C (changeLanguage): Use paragraph iterators.
12895         (isMultiLingual): ditto
12896
12897         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12898
12899 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12900
12901         * FontLoader.C: Support for cmr font.
12902
12903 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12904
12905         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12906         (available): New method.
12907
12908         * FontInfo.C (getFontname): Use scalable fonts even when
12909         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12910         found.
12911
12912 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12913
12914         * converter.C (Formats::view): reverted! Incorrect fix.
12915
12916 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12917
12918         * converter.C (Formats::view): only output the -paper option
12919         if the dvi viewer is xdvi, thereby fixing bug #233429.
12920
12921 2001-08-23  Herbert Voss  <voss@perce>
12922
12923         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12924
12925 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12926
12927         * Spacing.h (Spacing): Set space to Default on in the default
12928         constructor.
12929
12930 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12931
12932         * vc-backend.h (RCS::versionString): add RCS to version
12933         (CVS::versionString): add CVS to version
12934
12935         * vc-backend.C (scanMaster): do not add CVS to version.
12936         (scanMaster): do not add RCS to version
12937
12938         * lyxvc.C (versionString): new method
12939
12940         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12941
12942 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12943
12944         * Spacing.C (set): initialize fval
12945
12946 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12947
12948         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12949         " or \.
12950
12951 2001-08-16  Juergen Vigna  <jug@sad.it>
12952
12953         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12954
12955 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12956
12957         * BufferView_pimpl.C:
12958         * figureForm.C:
12959         * lyxtext.h:
12960         * text2.C: setParagraph takes linespacing now
12961
12962 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12963
12964         * LyxAction.C: add internal LFUN_CITATION_INSERT
12965
12966         * LyXView.C: actually apply fix
12967
12968         * bufferlist.C: fix open non-existent file
12969
12970         * lyxfind.C: fix indentation
12971
12972         * lyxfunc.C: remove unneeded assert, fix typo
12973
12974 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12975
12976         * MenuBackend.C: use "Floatname List"
12977
12978 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12979
12980         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12981         when converting LaTeX layout to insetERT.
12982         Generate a non-collapsed float when reading old float
12983
12984 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12985
12986         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12987         ERT insets.
12988
12989 2001-08-13  Juergen Vigna  <jug@sad.it>
12990
12991         * text.C (fill): return 0 instead of 20 as this seems to be the more
12992         correct value.
12993
12994 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12995
12996         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12997         lyxrc.font_norm.
12998
12999 2001-08-13  Juergen Vigna  <jug@sad.it>
13000
13001         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13002         casesensitive off.
13003         (SearchBackward): comment out the unlocking of the inset_owner this
13004         should not be needed!
13005
13006 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13007
13008         * Many files: Remove inherit_language, and add latex_language
13009
13010         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13011         collapsible insets.
13012
13013 2001-08-10  Juergen Vigna  <jug@sad.it>
13014
13015         * text.C (prepareToPrint): fixed hfill-width in draw!
13016
13017         * BufferView2.C (selectLastWord): save the selection cursor as this
13018         now is cleared in the function LyXText::clearSelection!
13019
13020 2001-08-08  Juergen Vigna  <jug@sad.it>
13021
13022         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13023         BACKSPACE type functions.
13024
13025         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13026         is only cutted from the document but not put in the cut-buffer, where
13027         still the old stuff should be.
13028
13029         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13030
13031         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13032
13033         * tabular.C (SetWidthOfCell): fixed special case where the width
13034         was not updated!
13035         (LeftLine): handle '|' in align_special.
13036         (RightLine): ditto
13037         (LeftAlreadyDrawed): ditto
13038         (SetWidthOfCell): ditto
13039
13040 2001-08-07  Juergen Vigna  <jug@sad.it>
13041
13042         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13043
13044 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13045
13046         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13047         * lyxlex.[hC]: ditto
13048
13049 2001-08-06  Juergen Vigna  <jug@sad.it>
13050
13051         * text.C (getVisibleRow): fix up row clearing a bit.
13052
13053 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13054
13055         * minibuffer.C: make sure the X server sees the changes in the input.
13056
13057 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13058
13059         * paragraph.C (getFont): split into...
13060         (getLabelFont): this
13061         (getLayoutFont): and this
13062         * paragraph_pimpl.C (realizeFont): calling this
13063
13064         * text2.C (getFont): split into...
13065         (getLayoutFont): this
13066         (getLabelFont): and this
13067         (realizeFont): all three calling this
13068
13069         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13070         files where used.
13071
13072 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13073
13074         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13075
13076 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13077
13078         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13079         layouts from the Quote inset insertion.
13080
13081 2001-08-03  Juergen Vigna  <jug@sad.it>
13082
13083         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13084
13085         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13086         only if status not is already CHANGED_IN_DRAW (second level).
13087
13088         * text.C (draw): don't set the need_break_row when inside an
13089         InsetText LyXText.
13090
13091 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13092
13093         * buffer.C (parseSingleLyXformat2Token): handle more latex
13094         conversion cases.
13095
13096         * bufferview_funcs.[hC]: change function names to
13097         begin with small char, adjust other files.
13098
13099 2001-08-02  André Pönitz <poenitz@gmx.net>
13100
13101         * lyxfunc.C:
13102         BufferView_pimpl.C: remove broken special code for math-greek
13103
13104 2001-08-02  Juergen Vigna  <jug@sad.it>
13105
13106         * BufferView_pimpl.C (update): redone this function so that we
13107         update the text again if there was a CHANGE_IN_DRAW.
13108
13109         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13110         (drawFromTo): added a new internal bool which is used by draw() and
13111         redraw() function.
13112         (general): some cursor drawing problems fixed.
13113
13114 2001-08-01  Juergen Vigna  <jug@sad.it>
13115
13116         * lyxfind.C (LyXFind): fixed
13117         (SearchForward): ditto
13118         (SearchBackward): ditto
13119
13120         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13121         spurius drawing of the cursor in the main area.
13122
13123         * text2.C (status): small fix which could lead to a segfault!
13124         (clearSelection): remove unneeded BufferView param.
13125
13126 2001-08-01  André Pönitz <poenitz@gmx.net>
13127
13128         * lyxfunc.C: small change due to changed mathed interface
13129
13130 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13131
13132         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13133
13134 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13135
13136         * lyxfunc.c: fail gracefully if file doesn't exist
13137
13138         * LyXSendto.C:
13139         * buffer.C:
13140         * lyxfunc.C:
13141         * BufferView_pimpl.C: IsDirWriteable() proto changed
13142
13143         * LyXView.C: fix updateWindowTitle() to store the last title
13144
13145 2001-07-31  Juergen Vigna  <jug@sad.it>
13146
13147         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13148         the font (wrong since using of Paragraph::highestFontInRange).
13149
13150         * paragraph.C (highestFontInRange): added a default_size parameter.
13151
13152         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13153         (setHeightOfRow): reformat
13154
13155 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13156
13157         * converter.[hC] + affected files: move to (inital-char)lowercase
13158         function names.
13159
13160         * ParagraphParameters.C (ParagraphParameters): remove commented code
13161
13162         * PainterBase.[Ch]: remove commented code
13163
13164         * LaTeXFeatures.h: add "bool floats" for float.sty
13165
13166         * LaTeXFeatures.C (LaTeXFeatures): init floats
13167         (require): handle float
13168         (getPackages): do it with floats
13169
13170 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13171
13172         * BufferView_pimpl.C (Dispatch): improve handling of
13173         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13174
13175         * commandtags.h: #include lyxfont.h here temporarily to avoid
13176         keybinding bug.
13177
13178         * bufferlist.h: include LString.h here.
13179
13180 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13181
13182         * text2.C (getStringToIndex): new method.
13183
13184 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13185
13186         * *: Reduced header file dependencies all over.
13187
13188 2001-07-30  Baruch Even  <baruch@lyx.org>
13189
13190         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13191
13192 2001-07-29  Baruch Even  <baruch@lyx.org>
13193
13194         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13195
13196 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13197
13198         * ParameterStruct.h (endif): add a default constructor to make
13199         sure that all variables is initialized.
13200
13201         * ParagraphParameters.C (ParagraphParameters): adjust
13202
13203 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13204
13205         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13206         index; also, check that there is something to index, and that it
13207         does not span over several paragraphs.
13208         (doubleClick): use WHOLE_WORD_STRICT for double click.
13209
13210         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13211
13212         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13213         scheme.
13214
13215 2001-07-26  Baruch Even  <baruch@lyx.org>
13216
13217         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13218         an InsetFig figure, backwards compatible reading of old figure code.
13219
13220 2001-07-27  Juergen Vigna  <jug@sad.it>
13221
13222         * text2.C: font.realize function adaption.
13223
13224         * text.C (draw): add a warnings lyxerr text if needed.
13225
13226         * layout.C: font.realize function adaption.
13227
13228         * language.C: add inherit_language and implement it's handlings
13229
13230         * bufferview_funcs.C (StyleReset): remove language parameter from
13231         font creation (should be language_inherit now).
13232
13233         * bufferparams.C (writeFile): handle ignore_language.
13234
13235         * paragraph.C (getFontSettings): the language has to be resolved
13236         otherwise we have problems in LyXFont!
13237
13238         * lyxfont.C (lyxWriteChanges): added document_language parameter
13239         (update): removed unneeded language parameter
13240
13241         * paragraph.C (validate): fixed wrong output of color-package when
13242         using interface colors for certain fonts in certain environments,
13243         which should not seen as that on the final output.
13244
13245 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13246
13247         * BufferView_pimpl.C:
13248         * Thesaurus.h:
13249         * Thesaurus.C:
13250         * Makefile.am:
13251         * commandtags.h:
13252         * LyXAction.C: add thesaurus support
13253
13254         * lyxfind.h:
13255         * lyxfind.C: add "once" parameter, for thesaurus, to not
13256           move to the next match
13257
13258 2001-07-26  Juergen Vigna  <jug@sad.it>
13259
13260         * lyxfont.C (realize): honor ignore_language too!
13261         (resolved): ditto.
13262
13263         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13264
13265         * text.C (draw): one place more for ignore_language to not draw
13266         itself!
13267
13268 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13269
13270         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13271
13272 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13273
13274         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13275         the minipage conversion problem.
13276
13277 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13278
13279         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13280         insert an inset.
13281
13282 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13283
13284         * BufferView.h: don't forward declare WorkArea
13285
13286         * BufferView.C: don't include WorkArea.h
13287
13288 2001-07-25  André Pönitz <poenitz@gmx.net>
13289
13290         * commandtags.h:
13291         * LyXAction.C:
13292         * lyxfunc.C:  new LFUN 'math-space'
13293
13294         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13295
13296 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13297
13298         * text2.C (toggleInset): call open/close
13299
13300 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13301
13302         * lyxfunc.C (dispatch): add debug for the disabled case
13303
13304         * font.C (buttonText): make similar to rectText
13305
13306         * buffer.C (readInset): comment out parsing of insetlist and
13307         insttheorem
13308
13309         * PainterBase.C (rectText): small correction
13310
13311         * BufferView_pimpl.C: comment out insettheorem and insetlist
13312         * LyXAction.C: ditto
13313         * commandtags.h: ditto
13314
13315 2001-07-24  Juergen Vigna  <jug@sad.it>
13316
13317         * text.C (draw): honor the ignore_language.
13318
13319         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13320
13321 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13322
13323         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13324         char inset.
13325
13326 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13327
13328         * lyxtext.h: remove unused (and unimplemented) methods
13329
13330 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13331
13332         * text.C (getVisibleRow): honor background color
13333
13334         * PainterBase.h:
13335         * Painter.h: remove default color argument for fillRectangle
13336
13337         * text.C (backgroundColor): new method
13338
13339 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13340
13341         * text.C (getVisibleRow): adjust
13342
13343         * font.[Ch] (rectText): new method, metrics
13344         (buttonText): new method, metrics
13345
13346         * PainterBase.[hC]: make rectText and buttonText always draw and take
13347         fewer paramteres.
13348
13349 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13350
13351         * ToolbarDefaults.C (read):
13352         * MenuBackend.C (read): allow escaping in all strings
13353
13354         * BufferView_pimpl.C (insertAndEditInset): new method.
13355         (Dispatch): use insertAndEditInset whenever appropriate.
13356
13357         * BufferView_pimpl.C (insertNote): removed
13358
13359         * BufferView_pimpl.C (smartQuote): new method, moved from
13360         BufferView; if an insetquote cannot be inserted, insert a '"'
13361         character instead.
13362
13363         * BufferView2.C: remove insertCorrectQuote();
13364
13365         * lyxfunc.C (getStatus): Add support for all remaingin
13366         inset-insert lfuns.
13367
13368         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13369
13370         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13371         command (necessary to pass " as parameter of self-insert.
13372
13373         * text.C (selectWordWhenUnderCursor):
13374         (selectWord): add word_location parameter
13375         (selectWordWhenUnderCursor): same + remove special code for word
13376         boundary.
13377         (selectNextWord): use kind() to guess type of insetspecialchar,
13378         not latex().
13379
13380         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13381         (insertErtContents): create ert insets as collapsed.
13382         (readInset): better compatibility code for Info inset.
13383
13384 2001-07-20  Juergen Vigna  <jug@sad.it>
13385
13386         * lyxfunc.C (dispatch): use always LyXFind now!
13387
13388         * text2.C (init): add a reinit flag so that the LyXText can be
13389         reinited instead of deleted and reallocated (used in InsetText).
13390
13391         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13392
13393         * text.C: ditto
13394
13395         * text2.C: ditto
13396
13397 2001-07-18  Juergen Vigna  <jug@sad.it>
13398
13399         * text.C (selectNextWord): handle insets inside inset by calling
13400         always the bv->text functions so that we can go up the_locking_inset!
13401
13402         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13403         in strange locations when inside an inset!
13404
13405         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13406         handling to include insets.
13407
13408         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13409
13410 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13411
13412         * LyXAction.C (init):
13413         * commandtags.h:
13414         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13415         LIGATURE_BREAK, since the name is so stupid.
13416
13417 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13418
13419         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13420         InsetInfos.
13421
13422         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13423
13424         * sp_form.[Ch]: remove.
13425
13426         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13427
13428         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13429         InsetInfo.
13430
13431         * src/buffer.C (readInset): ditto.
13432
13433 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13434
13435         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13436         menuSeparator(), endOfSentenceDot(), ldots() and
13437         hyphenationPoint(), which are therefore removed.
13438         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13439
13440         * LyXAction.C (init):
13441         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13442
13443         * paragraph.C (getWord): removed.
13444
13445         * BufferView_pimpl.C (Dispatch): use last word or selection for
13446         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13447
13448         * lyx_main.C (queryUserLyXDir): do not ask before creating
13449         user_dir, except if it has been named explicitely.
13450
13451 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13452
13453         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13454         a document of zero size.
13455
13456 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13457
13458         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13459         approriately in the c-tor and in require().
13460         (getPackages): output the appropriate LaTeX for natbib support.
13461
13462         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13463         variables "use_natbib" and "use_numerical_citations" when reading the
13464         LyX file.
13465         (readInset): read the various natbib cite commands.
13466         (validate): white-space change.
13467
13468         * bufferparams.[Ch]: new variables "bool use_natbib" and
13469         "bool use_numerical_citations".
13470         (writeFile): output them in the LyX file.
13471
13472 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13473
13474         * lyxfunc.C (getStatus): add support for all the inset insertion
13475         commands.
13476
13477         * text2.C (insertInset):
13478         * paragraph.C (insetAllowed):
13479         * BufferView_pimpl.C (insertInset): update to take in account the
13480         renaming of insertInsetAllowed
13481
13482         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13483
13484         * text2.C (getInset): new method. returns inset at cursor position.
13485
13486         * BufferView_pimpl.C (Dispatch): changes because of this.
13487
13488         * LyXAction.C (init): rename open-stuff to inset-toggle.
13489
13490         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13491
13492         * text2.C (toggleInset): renamed from openStuff; use
13493         Inset::open().
13494
13495 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13496
13497         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13498
13499         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13500
13501 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13502
13503         * buffer.C (readLyXformat2): Add filename to the error dialog
13504
13505 2001-07-18  Juergen Vigna  <jug@sad.it>
13506
13507         * tabular.C (GetCellNumber): put an assert here instead of the check!
13508
13509 2001-07-17  Juergen Vigna  <jug@sad.it>
13510
13511         * BufferView_pimpl.C (toggleSelection): adapted too.
13512
13513         * text.C (selectNextWord): adapted for use with insets.
13514         (selectSelectedWord): ditto
13515
13516 2001-07-17  Juergen Vigna  <jug@sad.it>
13517
13518         * sp_spell.C (PSpell): fix initialitation order.
13519
13520 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13521
13522         * paragraph.C: spacing
13523
13524 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13525
13526         * sp_spell.C: repair language selection for pspell
13527
13528 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13529
13530         * lyxfunc.h: change more methods to begin with lower char.
13531
13532 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13533
13534         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13535         for unknown layouts.
13536
13537 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13538
13539         * buffer.C (readLyXformat2): Generate an error dialog if there are
13540         unknown layouts.
13541
13542 2001-07-16  Juergen Vigna  <jug@sad.it>
13543
13544         * sp_spell.C: always compile ISpell part.
13545
13546         * lyxrc.C: added use_pspell entry and it's handling.
13547
13548 2001-07-13  Juergen Vigna  <jug@sad.it>
13549
13550         * sp_spell.C: removed double includes.
13551
13552 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13553
13554         Consistent use of Lsstream.h:
13555         * Lsstream.h: added using std::stringstream for consistencies sake.
13556
13557         * buffer.C: removed using std::stringstream
13558
13559         * lyxfont.C (stateText):
13560         * paragraph.C (asString):
13561         * text.C (selectNextWord, selectSelectedWord):
13562         * text2.C (setCounter):
13563         * vspace.C (asString, asLatexString):
13564         std::ostringstream -> ostringstream.
13565
13566 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13567
13568         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13569         * commandtags.h: add LFUN_HELP_ABOUTLYX
13570         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13571
13572 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13573
13574         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13575         cursorToggle()
13576         * lyx_gui_misc.C: remove spellchecker
13577         * lyxfunc.C: showSpellchecker
13578         * sp_base.h: added
13579         * sp_ispell.h: added
13580         * sp_pspell.h: added
13581         * sp_spell.C: added
13582         * sp_form.[Ch]: removed
13583         * spellchecker.[Ch]: removed
13584
13585 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13586
13587         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13588         is set.
13589         (simpleTeXSpecialChars): Simply print the input character without
13590         any special translation if pass_thru is set.
13591
13592         * layout.h: Added bool pass_thru to layout class for being able to
13593         implement pass through of a paragraph for Literate Programming.
13594
13595         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13596         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13597         * layout.C (Read): add "passthru" to list of layout tags and add
13598         code to set the pass_thru boolean when it is read.
13599
13600 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13601
13602         * trans_decl.h: remove allowed from KmodInfo
13603
13604         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13605         remove allowed code
13606         (Load): adjust
13607
13608         * paragraph_pimpl.C (erase): use boost::prior
13609
13610         * Painter.C (text): use data() instead of c_str() when length is
13611         also provided.
13612         * WorkArea.C (putClipboard): ditto
13613         * font.h (width): ditto
13614
13615         * BufferView2.C: use it-> instead of (*it). for iterators
13616         * texrow.C: ditto
13617         * paragraph_pimpl.C: ditto
13618         * paragraph.C: ditto
13619         * minibuffer.C: ditto
13620         * language.C: ditto
13621         * kbmap.C: ditto
13622         * encoding.C: ditto
13623         * counters.C: ditto
13624         * converter.C: ditto
13625         * chset.C: ditto
13626         * Variables.C: ditto
13627         * TextCache.C: ditto
13628         * MenuBackend.C: ditto
13629         * LyXAction.C: ditto
13630         * LColor.C: ditto
13631         * FloatList.C: ditto
13632         * DepTable.C: ditto
13633         * ColorHandler.C (LyXColorHandler): ditto
13634
13635 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13636
13637         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13638
13639         * text2.C (openStuff): reintroduce this method (which had been
13640         nuked in NEW_INSETS frenzy).
13641
13642         * lyxfunc.C (Dispatch): when an action has not been handled, use
13643         its name in the error message, not its number.
13644
13645         * paragraph.C (inInset): change method name to begin with lowercase.
13646
13647         * undo_funcs.C:
13648         * text2.C: updates because of this.
13649
13650 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13651
13652         * ToolbarDefaults.C (add): add spaces in error message
13653
13654 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13655
13656         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13657         (readLyXformat2): rename return_par to first_par, use lyxlex's
13658         pushToken and remove the manual push handling.
13659         (parseSingleLyXformat2Token): add another ert comp. variable:
13660         in_tabular, rename return_par to first_par. handle newlines better
13661
13662 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13663
13664         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13665
13666 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13667
13668         * text2.C (getParFromID): removed
13669
13670         * buffer.C (getParFromID): new method moved form lyxtext.
13671         * BufferView2.C (insertErrors): adjust
13672         (setCursorFromRow): adjust
13673         * BufferView_pimpl.C (restorePosition): adjust
13674         * lyxfunc.C (Dispatch): adjust
13675         * undo_funcs.C (textUndo): adjust
13676         (textRedo): adjust
13677         (textHandleUndo): adjust
13678         (textHandleUndo): adjust
13679
13680 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13681
13682         * buffer.C: up' the LYX_FORMAT
13683
13684         * lyxfont.h: turn NO_LATEX on as default
13685
13686         * buffer.C (insertErtContents): new methods of tex style compability.
13687         (parseSingleLyXformat2Token): use it several places.
13688         * tabular.C (OldFormatRead): and here
13689
13690 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13691
13692         * text2.C: remove some commented code.
13693         reindent file.
13694
13695         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13696         * trans.C: changes because of the above.
13697
13698 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13699
13700         * text2.C (setCounter): Fix counters bug with bibliography layout.
13701
13702 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13703
13704         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13705         own member functions
13706         (simpleTeXSpecialChars): ditto
13707
13708 2001-07-06  Juergen Vigna  <jug@sad.it>
13709
13710         * a lot of files: changed the access to LyXText::status and the
13711         call of undo-functions.
13712
13713         * undo.[Ch]: added a inset_id to the undo informations.
13714
13715         * undo_funcs.[Ch]: added and moved here all undo functions.
13716
13717         * lyxtext.h: give the status enum a weight, made status_ a private
13718         variable and made accessor functions for it, removed the whole bunch
13719         of undo-functions as they are now in their own file, make some
13720         functions publically available. Added function ownerParagraph with
13721         int parameter.
13722
13723         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13724         made InInset() a const function, added getParFromID() function.
13725
13726         * buffer.[Ch]: added const version for inset_iterator functions,
13727         added getInsetFromID() function.
13728
13729         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13730         changed undo functions for new version.
13731
13732 2001-07-05  Juergen Vigna  <jug@sad.it>
13733
13734         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13735         unknow mechanism does not call the proper constructor but only this
13736         one also if I request the other!?
13737
13738 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13739
13740         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13741
13742         * text2.C (LyXText): use initialization lists.
13743
13744         * lyxtext.h (Selection): initialize set_ and mark_
13745         (init): remove method
13746
13747 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13748
13749         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13750
13751 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13752
13753         * screen.[Ch]: change method names to begin with lowercase
13754
13755         * BufferView_pimpl.C (updateScrollbar): simplify further and
13756         hopefully make it a bit faster.
13757
13758 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13759
13760         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13761         calling directly xforms functions.
13762
13763         * Painter.C (Painter):
13764         * lyx_cb.C (MenuWrite):
13765         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13766         fl_display.
13767
13768         * lyx_gui.C: remove bogus guiruntime extern declaration.
13769
13770 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13771
13772         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13773         in NEW_INSETS
13774         (redoDrawingOfParagraph): ditto
13775         (redoParagraphs): ditto
13776         (cutSelection): don't create a object for CutAndPaste use the
13777         static method directly
13778         (pasteSelection): ditto
13779
13780         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13781         LyXview (+ rename)
13782
13783 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13784
13785         * modifications to some other files because of this.
13786
13787         * Makefile.am (lyx_SOURCES): add XFormsView
13788
13789         * XFormsView.[Ch]: new files
13790
13791         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13792         the main window. Move the gui dependent stuff to XFormsView
13793
13794 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13795
13796         * tabular.C (GetCellInset): update cur_cell also in the row/col
13797         version of this function.
13798
13799         * lyxfunc.C: no need to include figure_form.h here.
13800
13801         * FontLoader.h:
13802         * lyxfunc.h:
13803         * lyxscreen.h:
13804         * text2.C:
13805         * lyxvc.C: no need to include forms.h here.
13806
13807 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13808
13809         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13810
13811         * lyxfunc.C (Dispatch):
13812         * Spacing.C (set):
13813         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13814         constructor argument.
13815
13816 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13817
13818         * paragraph.C (Paragraph): dont't clear, and just set layout.
13819         (makeSameLayout): use params's copy contructor.
13820
13821         * ParagraphParameters.[Ch] (makeSame): delete method
13822
13823 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13824
13825         * Variables.[Ch]: fix indentation, rename set to isSet
13826
13827 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13828
13829         * lyxfunc.C (Dispatch): fix typo
13830
13831 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13832
13833         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13834         upper_bound.
13835
13836         * bufferlist.C: include assert.h for emergencyWrite().
13837
13838 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13839
13840         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13841           give up at last (bug #425202) !
13842
13843 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13844
13845         * lyx_gui_misc.C:
13846         * sp_form.h:
13847         * sp_form.C:
13848         * spellchecker.h:
13849         * spellchecker.C: strip spellchecker options and bring up
13850           preferences tab instead
13851
13852 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13853
13854         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13855         the istringstream constructor
13856
13857 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13858
13859         * paragraph.C (getLayout): fix return value
13860
13861         * paragraph.h: do not declare getLayout as inline.
13862
13863         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13864
13865 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13866
13867         * lyxcursor.h (operator<): new func
13868         (operator>): new func
13869         (operator>=): new func
13870         (operator<=): new func
13871
13872         * text.C (changeCase): use selection.start and selection.end
13873         (changeRegionCase): require from to be <= to. Require par to be a
13874         valid paragraph.
13875
13876         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13877
13878 2001-06-27  Juergen Vigna  <jug@sad.it>
13879
13880         * text.C (cursorLeftOneWord): changed to return the cursor and added
13881         overlay with BufferView * parameter which calls this one.
13882         (getWord): added
13883         (selectWord): use new getWord function.
13884         (changeCase): renamed from changeWordCase as and extended to work
13885         also on selections.
13886
13887         * lyxtext.h: added enum word_location
13888
13889         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13890         changeCase as this operates now also on selections.
13891
13892 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13893
13894         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13895
13896         * many files: send debug output to Debug::INFO instead of
13897         Debug::ANY.
13898
13899         * converter.C (View):
13900         (Convert):
13901         (Move): send debug output to Debug::FILES instead of console.
13902
13903 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13904
13905         * lyxfunc.C (getStatus): use func_status
13906
13907         * func_status.h: new header, describing the results of
13908         LyXFunc::getStatus;
13909
13910         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13911         LFUN_MATH_HALIGN.
13912
13913 2001-06-25  The LyX Project  <jug@sad.it>
13914
13915         * buffer.C (sgmlOpenTag):
13916         (sgmlCloseTag):
13917         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13918
13919 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13920
13921         * text2.C: remove some dead code
13922
13923         * tabular.C (GetCellInset): store the last cell checked (gotten)
13924
13925         * tabular.h: add the helper for the speedup
13926
13927         * lyxtext.h: remove some dead code
13928
13929 2001-06-26  The LyX Project  <Asger>
13930
13931         * paragraph.C: Change export to LaTeX of alignment to
13932         \begin{center} and family for better roundtrip work with reLyX.
13933
13934         * Tune the math drawing a bit.
13935
13936 2001-06-25  The LyX Project  <Asger>
13937
13938         * LColor.C (LColor): New color for math background. New color
13939         for buttons.
13940
13941 2001-06-25  The LyX Project  <jug@sad.it>
13942
13943         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13944
13945         * lyxfunc.C (Open):
13946         * bufferlist.C (newFile): do not restrict to files ending with
13947         .lyx
13948
13949         * BufferView_pimpl.C (MenuInsertLyXFile):
13950
13951 2001-06-24  The LyX Project  <jug@sad.it>
13952
13953         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13954         of compare_no_case
13955
13956 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13957
13958         * lyxtext.h: rename most methods to begin with a small char.
13959         Lots of changes because of this.
13960
13961         * paragraph.C (Paragraph): do not call fitToSize
13962         (erase): call Pimpl::erase
13963         (insertChar): call Pimpl::insertChar
13964         (insertInset): call Pipl::insertInset
13965         (breakParagraph): do not call fitToSize
13966         (breakParagraphConservative): do not call fitToSize
13967         (fitToSize): remove method
13968
13969         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13970
13971 2001-06-24  The LyX Project  <Asger>
13972
13973         * Fix Qt compilation^2
13974
13975 2001-06-24  The LyX Project  <jug@sad.it>
13976
13977         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13978         depthHook(getDepth()-1).
13979
13980         * paragraph.h:
13981         * ParagraphParameters.h:
13982         * ParameterStruct.h: change type of depth to unsigned int ==
13983         depth_type. Many adaptations to other files before of that.
13984
13985 2001-06-24  The LyX Project  <Asger>
13986
13987         * Fix Qt compilation.
13988
13989 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13990
13991         * paragraph.h: renamed several methods to begin with small letter.
13992         several changes to many parts of the code because of this.
13993
13994 2001-06-23  The LyX Project  <jug@sad.it>
13995
13996         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13997         rewritten to discard all double spaces when KeepEmpty is off
13998         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13999         to only handle newlines but not fiddle with spaces and friends.
14000
14001         * lyxfunc.C (MenuNew): when doing 'new from template', use
14002         template_path as default directory
14003
14004 2001-06-23  The LyX Project  <Asger>
14005
14006         * Clean-up of header file includes all over
14007         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14008
14009 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14010
14011         * paragraph.h: renamed from lyxparagraph.h
14012
14013 2001-06-23  Asger  <lyx@violet.home.sad.it>
14014
14015         * Buffer.h: Removed Buffer::resize
14016         * BufferList.h: Removed BufferList::resize
14017         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14018         the document lazily when we change the width, or the font settings.
14019
14020 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14021
14022         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14023
14024 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14025
14026         * buffer.h: remove out of date comment
14027
14028 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14029
14030         * lyxscreen.h:
14031         * screen.C: fix "theoretical" GC leak
14032
14033 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14034
14035         * LaTeX.C (scanAuxFile):
14036         (deplog): remove trailing \r when reading stream (useful under
14037         win32)
14038
14039 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14040
14041         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14042         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14043         and BufferView::theLockingInset(Inset*), so should use them and not
14044         access bv_->text->the_locking_inset directly.
14045
14046         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14047
14048 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14049
14050         * Makefile.am:
14051         * tex-defs.h: remove old unused file
14052
14053 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14054
14055         * BufferView_pimpl.C: fix typo, remove minibuffer message
14056           when buffer has loaded
14057
14058 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14059
14060         * lyxfunc.C (Dispatch): use stringstream
14061         (MenuNew): use stringstream
14062         (Open): use stringstream
14063
14064         * importer.C (Import): use stringstream
14065
14066         * bufferview_funcs.C (CurrentState): use stringstream
14067
14068         * LaTeX.C (run): use stringstream
14069
14070         * BufferView_pimpl.C (savePosition): use stringstream
14071         (restorePosition): use stringstream
14072         (MenuInsertLyXFile): use stringstream
14073
14074 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14075
14076         * BufferView.C:
14077         * Bullet.C:
14078         * ColorHandler.C:
14079         * FontInfo.C:
14080         * FontLoader.C:
14081         * LColor.C:
14082         * LaTeXFeatures.C:
14083         * Painter.C:
14084         * gettext.C:
14085         * lyx_gui_misc.C:
14086         * lyxserver.C:
14087         * vspace.C: removed // -*- C++ -*- as first line.
14088
14089         * lyxfind.h:
14090         * version.h: added // -*- C++ -*- as first line.
14091
14092 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14093
14094         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14095
14096         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14097         of string
14098
14099 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14100
14101         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14102         of floats.
14103
14104 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14105
14106         * gettext.C: include LString.h even when --disable-nls is on.
14107
14108 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14109
14110         * converter.h (Get): changed argument type from int to
14111         FormatList::size_type to avoid unnecessary conversion.
14112
14113         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14114         before using it.
14115
14116 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14117
14118         * gettext.h: include LString.h even when --disable-nls is on.
14119
14120 2001-06-07  Juergen Vigna  <jug@sad.it>
14121
14122         * text.C (BreakAgain): subst spaces with tabs.
14123
14124         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14125         (resizeInsetsLyXText): set force on resizeLyXText.
14126
14127 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14128
14129         * gettext.h (gettext_init):
14130         (locale_init): use a real definition instead of a macro
14131
14132 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14133
14134         * Bufferview_pimpl.C:
14135         * LColor.h:
14136         * LColor.C: further lcolor tidies
14137
14138 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14139
14140         * BufferView_pimpl.C (updateScrollbar): simplify.
14141
14142         * BufferView2.C: don't include insets/insetinfo.h, change
14143         prototype for insertInset and call the Pimpl version. let
14144         updateInset call Pimpl version.
14145
14146         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14147         gotoInset to BufferView::Pimpl
14148
14149 2001-06-01  Juergen Vigna  <jug@sad.it>
14150
14151         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14152         inside a LockingInset (is the update needed at all?).
14153
14154 2001-05-31  Juergen Vigna  <jug@sad.it>
14155
14156         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14157         here not the old one otherwise how should we compare it afterwards
14158         if it's the same!
14159
14160 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14161
14162         * lyxfont.C:
14163         * tabular.C:
14164         * tabular-old.C:
14165         * FontInfo.C: bring C functions into global namespace when
14166         necessary
14167
14168 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14169
14170         * LString.h: make sure config.h has been loaded before LString.h.
14171
14172         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14173         (one for each char read by EatLine!).
14174
14175         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14176         variables.
14177
14178 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14179
14180         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14181         to the same as the par we break from
14182
14183 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14184
14185         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14186
14187         * MenuBackend.C (expand): also create menu entries for wide
14188         versions of the floats.
14189
14190         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14191
14192         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14193
14194         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14195         frontends/Makefile.am
14196
14197         * text2.C: adjust
14198         * text.C: adjust
14199
14200
14201         * tabular.C (getTokenValue): add std::
14202
14203         * tabular-old.C (getTokenValue): add std::
14204         (getTokenValue): ditto
14205         (getTokenValue): ditto
14206
14207         * screen.C (ToggleSelection): adjust
14208
14209         * lyxtext.h: put selection cursors inside a Selection struct.
14210
14211         * lyxfunc.C (moveCursorUpdate): adjust
14212
14213         * lyxfont.C (latexWriteStartChanges): add std::
14214
14215         * lyxfind.C: adjust
14216
14217         * font.h: delete with(char const *, LyXFont const &)
14218
14219         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14220
14221         * FontInfo.C (getFontname): add std::
14222
14223         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14224         (workAreaButtonPress): adjust
14225         (tripleClick): adjust
14226         (update): adjust
14227         (moveCursorUpdate): adjust
14228         (Dispatch): adjust
14229
14230         * BufferView2.C (gotoInset): adjust
14231
14232 2001-05-30  Juergen Vigna  <jug@sad.it>
14233
14234         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14235         to check pspell I add this as default as I now have new pspell
14236         libraries and they seem to use this.
14237
14238 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14239
14240         * text2.C (CutSelection): make the cursor valid before the call to
14241         ClearSelection.
14242
14243 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14244
14245         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14246         relied on 0 terminated strings and other horrors. Bug found due to
14247         the new assert in lyxstring!
14248
14249         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14250         KP_ keys.
14251
14252 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14253
14254         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14255         to latinkeys.bind.
14256
14257         * lyxfunc.C (processKeySym): change method of getting to the
14258         self-insert char.
14259
14260         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14261         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14262         * BufferView_pimpl.[Ch]: here as private methods.
14263
14264 2001-05-28  Juergen Vigna  <jug@sad.it>
14265
14266         * text.C (SetHeightOfRow): added the update() call again as it is
14267         needed to initialize inset dimensions!
14268
14269 2001-05-16  Juergen Vigna  <jug@sad.it>
14270
14271         * text2.C (SetCharFont): Add new function with BufferView * and
14272         bool toggleall parameters for setting insets internal fonts.
14273         (SetFont): Freeze the undo as we may change fonts in Insets and
14274         all this change should be inside only one Undo!
14275
14276         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14277         setting font's in insets as for them we have the SetFont function!
14278
14279 2001-05-15  Juergen Vigna  <jug@sad.it>
14280
14281         * text2.C (ClearSelection): to be sure we REALLY don't have any
14282         selection anymore!
14283
14284         * tabular.C (TeXCellPreamble): fixed the left border problem for
14285         multicolumn cells.
14286
14287 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14288
14289         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14290         dependancy file
14291
14292 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14293
14294         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14295         LFUN_BREAKPARAGRAPH.
14296
14297         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14298         help test to "internal only", similar for LFUN_INSERT_URL
14299
14300         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14301         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14302         auto_region_delete and deadkeys.
14303
14304 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14305
14306         * LColor.h:
14307         * LColor.C: remove some dead entries, tidy a little
14308
14309 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14310
14311         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14312         commented code.
14313         (Dispatch): implement LFUN_ESCAPE
14314
14315         * commandtags.h: add LFUN_ESCAPE
14316
14317         * LyXAction.C (init): add entry for LFUN_ESCAPE
14318
14319         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14320         Remove commented code.
14321         (insertNote): moved here
14322         (open_new_inset): moved here
14323
14324         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14325         BufferView_pimpl
14326
14327 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14328
14329         * kbmap.C (findbinding): clean it up and make it work correctly.
14330
14331         * lyx_main.C (init): do not pass argc and argv as parameters
14332
14333 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14334
14335         * buffer.C: fix path for OS/2 & Win32
14336
14337         * lyx_gui.C:
14338         * lyx_main:
14339         * lyx_main.C: Added os:: class.
14340
14341         * os2_defines.h: update
14342
14343 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14344
14345         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14346         better by trying again with reduced state.
14347
14348 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14349
14350         * lyxrc.C (read): print error about invalid key sequence only when
14351         debugging (because not all latinX keysyms are known to some X
14352         servers)
14353
14354         * kbsequence.C (getiso): add a few std:: qualifiers
14355         (getiso): comment out extra return statement.
14356
14357 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14358
14359         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14360         handling.
14361         (Dispatch): enhance the accent inset a bit. (not perfect)
14362
14363 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14364
14365         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14366
14367 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14368
14369         * bufferlist.C (emergencyWrite): fix assert() call
14370
14371 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14372
14373         * text.C (InsertChar): Added trivial patch to only send the "you
14374         can not do multiple spaces this way" message once during a
14375         session.
14376
14377 2001-05-08  Baruch Even  <baruch@lyx.org>
14378
14379         * Makefile.am: Changed order of libraries to get LyX to link properly
14380         with the gnome frontend.
14381
14382 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14383
14384         * LaTeXFeatures.h: add a std:: qualifier
14385
14386 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14387
14388         * paragraph.C (String): use stringstream
14389
14390 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14391
14392         * paragraph.C (writeFile): remove footflag arg
14393
14394         * buffer.C (makeLaTeXFile): use stringstream
14395         (latexParagraphs): remove footnot gurba
14396
14397         * LaTeXFeatures.C (getPackages): use stringstream
14398         (getMacros): likewise
14399         (getTClassPreamble): likewise
14400         (getFloatDefinitions): new method
14401
14402         * paragraph.C (writeFile): reindent
14403         (Erase): reindent
14404
14405         * WorkArea.h: revert the xpos + etc changes.
14406
14407         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14408
14409         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14410
14411         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14412         (pasteSelection): likewise
14413         * text2.C (CreateUndo): likewise
14414
14415 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14416
14417         * minibuffer.C (peek_event): temporarily reduce the functionality
14418         of the minibuffer (to allow args on lfuns)
14419
14420         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14421         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14422
14423         * buffer.C (readInset): add compability reading of old float
14424         lists, add reading of new style float list.
14425         (readInset): avoid reevaluation of inscmd.getCmdName()
14426         (getLists): reindent
14427
14428         * MenuBackend.C (MenuItem): implement parsing of
14429         md_floatlistinsert and md_floatinsert.
14430         (expand::LastFiles): move initalizaton of iterators out of loop,
14431         avoid reevaluation.
14432         (expand::Documents): introduce typdedef vector<string> Strings,
14433         and use it.
14434         (expand::ExportFormats): introduce typedef vector<Format const *>
14435         Formats, and use it.
14436         (expand): implement FloatListInsert and FloatInsert.
14437
14438         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14439         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14440         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14441
14442         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14443         handling.
14444         (Dispatch::LFUN_FLOAT_LIST): implement
14445
14446 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14447
14448         * LaTeX.C (run): Fix problem with --export code.
14449
14450 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14451
14452         * BufferView.[Ch] (workarea): removed.
14453         (getClipboard) new method; wrapper for workarea()->getClipboard()
14454
14455         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14456         bug.
14457
14458         * WorkArea.h (width, height, xpos, ypos): These methods all
14459         returned the dimensions of the work_area sub-area of WorkArea,
14460         resulting in a position error if the WorkArea were resized. Now
14461         return the dimensions of the entire WorkArea.
14462
14463         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14464
14465 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14466
14467         * LaTeX.C (deplog): correct the syntax of regex reg1
14468
14469 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14470
14471         * undo.C: remove !NEW_INSETS cruft
14472
14473 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14474
14475         * text2.C: remove !NEW_INSETS cruft
14476
14477         * text.C: remove !NEW_INSETS cruft
14478
14479         * tabular.C: remove !NEW_INSETS cruft
14480
14481         * spellchecker.C: remove !NEW_INSETS cruft
14482
14483         * lyxtext.h: remove !NEW_INSETS cruft
14484
14485         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14486
14487         * lyxfunc.C: remove !NEW_INSETS cruft
14488
14489         * lyxfind.C: remove !NEW_INSETS cruft
14490
14491         * lyx_cb.C: remove !NEW_INSETS cruft
14492
14493         * figureForm.C: remove  !NEW_INSETS cruft
14494
14495         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14496
14497         * buffer.[Ch]: remove !NEW_INSETS cruft
14498
14499         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14500
14501         * CutAndPaste.C: remove !NEW_INSETS cruft
14502
14503         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14504
14505         * BufferView2.C: remove !NEW_INSETS cruft
14506
14507         * BufferView.h: remove !NEW_INSETS cruft
14508
14509 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14510
14511         * Lsstream.h: include LString.h before the sstream headers to
14512         fix problem with gcc 2.95.3 and lyxstring
14513
14514 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14515
14516         * lyx_main.C: add using directives when needed for C functions
14517         declared in std:: namespace.
14518
14519 2001-04-27  Juergen Vigna  <jug@sad.it>
14520
14521         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14522         (SetHeightOfRow): comment out the update call should not be needed!
14523
14524 2001-04-13  Juergen Vigna  <jug@sad.it>
14525
14526         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14527         (LyXTabular): tried to minimize operator= operations (and realized
14528         hopfully Lars wish).
14529
14530 2001-04-27  Juergen Vigna  <jug@sad.it>
14531
14532         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14533
14534 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14535
14536         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14537
14538         * buffer.C (readInset): hack to make listof algorithm work
14539
14540         * BufferView_pimpl.C: hack to make listof algorithm work
14541
14542 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14543
14544         * LyXAction.C: removed all !NEW_INSETS cruft
14545         (init): moved lfun_item in method
14546
14547         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14548
14549 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14550
14551         * BufferView2.C (theLockingInset): white space.
14552
14553 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14554
14555         * minibuffer.C: include <iostream>
14556
14557         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14558
14559         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14560
14561         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14562
14563         * text.[Ch] (TransposeChars): new method
14564
14565 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14566
14567         * call message directly through LyXView instead of through LyXFunc
14568         * BufferView2.C: adjust
14569         * BufferView_pimpl.C: adjust
14570         * FontLoader.C: adjust
14571         * buffer.C: adjust
14572         * bufferview_funcs.C: adjust
14573         * converter.C: adjust
14574         * figureForm.C: adjust
14575         * importer.C: adjust
14576         * lyx_cb.C: adjust
14577         * lyx_gui_misc.C: adjust
14578         * lyxfunc.C: adjust
14579         * lyxvc.C: adjust
14580         * text2.C: adjust
14581         + more files in subdirs
14582
14583         * lyxparagraph.h (size): move up int file
14584         (GetLayout): ditto
14585
14586         * adjust all uses of Assert to lyx::Assert.
14587
14588         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14589         lyxfunctional in namespace lyx
14590         * layout.C (hasLayout): ditto
14591         (GetLayout): ditto
14592         (GetLayout): ditto
14593         (delete_layout): ditto
14594         (NumberOfClass): ditto
14595         * converter.C (GetFormat): ditto
14596         (GetNumber): ditto
14597         (Add): ditto
14598         (Delete): ditto
14599         (SetViewer): ditto
14600         * bufferlist.C (getFileNames): ditto
14601         (emergencyWriteAll): ditto
14602         (exists): ditto
14603         (getBuffer): ditto
14604         * MenuBackend.C (hasSubmenu): ditto
14605         (hasMenu): ditto
14606         (getMenu): ditto
14607         * BufferView_pimpl.C (getInsetByCode): ditto
14608
14609 2001-04-18  Juergen Vigna  <jug@sad.it>
14610
14611         * vspace.C (asLatexString): fixed the 100% problem.
14612
14613 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14614
14615         * lyxfunc.C (Dispatch):
14616         * minibuffer.C:
14617         * minibuffer.h: add a few std:: qualifiers
14618
14619 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14620
14621         * minibuffer.[Ch]: reimplement so that commands is initiated and
14622         run from lyxfunc, simplified som handling, and made the completion
14623         and history code for complete. wip.
14624
14625         * lyxfunc.C (processKeySym): call message
14626         (miniDispatch): new temporary method
14627         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14628         (LFUN_MESSAGE): implement
14629         (LFUN_MESSAGE_PUSH): implement
14630         (LFUN_MESSAGE_POP): implement
14631         (initMiniBuffer): the initial/defualt minibuffer message.
14632
14633         * lyxfont.[Ch]: inline some more getters
14634
14635         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14636
14637         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14638
14639         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14640         (AutoSave): use LFUN_MESSAGE
14641         (Reconfigure): ditto
14642
14643         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14644
14645         * figureForm.C: use LFUN_MESSAGE
14646
14647         * converter.C (runLaTeX): use LFUN_MESSAGE
14648
14649         * bufferview_funcs.C: use LFUN_MESSAGE
14650         (Melt): ditto
14651         (changeDepth): ditto
14652
14653         * bufferparams.h: use boost::
14654
14655         * bufferlist.h: inherit privately from noncopyable
14656
14657         * bufferlist.C (loadLyXFile): remove some commented code.
14658
14659         * buffer.C (runChktex): use LFUN_MESSAGE
14660
14661         * ShareContainer.h: inherit privately from noncopyable
14662
14663         * ParagraphParameters.[hC] (depth): inline it.
14664
14665         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14666         methods.
14667         (message): new method
14668         (messagePush): ditto
14669         (messagePop): ditto
14670         (show): init minibuffer
14671         (showState): direct call
14672
14673         * LaTeX.[Ch]: inherit privately from noncopyable
14674         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14675         instead of WriteStatus.
14676
14677         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14678
14679         * BufferView_pimpl.C (buffer): don't init minibuffer
14680         (workAreaButtonPress): use LFUN_MESSAGE
14681         (workAreaButtonRelease): ditto
14682         (savePosition): ditto
14683         (restorePosition): ditto
14684         (MenuInsertLyXFile): ditto
14685         (workAreaExpose): don't init minibuffer
14686         (update): remove commented code, simplify
14687
14688         * BufferView2.C (openStuff): use LFUN_MESSAGE
14689         (toggleFloat): ditto
14690         (menuUndo): ditto
14691         (menuRedo): ditto
14692         (copyEnvironment): ditto
14693         (pasteEnvironment): ditto
14694         (copy): ditto
14695         (cut): ditto
14696         (paste): ditto
14697         (gotoInset): ditto
14698         (updateInset): remove some commented code
14699
14700         * lastfiles.h: inherit privately from noncopyable
14701         * layout.h: ditto
14702         * lyx_gui.h: ditto
14703         * lyx_main.h: ditto
14704         * lyxlex.h: ditto
14705         * lyxlex_pimpl.h: ditto
14706
14707         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14708         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14709         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14710
14711         * LyXAction.h: inherit privately from noncopyable, add methods
14712         func_begin, func_end, returning iterators to the func map.
14713
14714         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14715         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14716         (func_begin): new method
14717         (func_end): new method
14718
14719         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14720         and not)
14721         (copySelection): ditto
14722         (pasteSelection): ditto
14723
14724         * BufferView.C: whitespace change
14725         * BufferView.h: inherit privately from noncopyable
14726
14727 2001-04-16  Allan Rae  <rae@lyx.org>
14728
14729         * tabular-old.C (l_getline):
14730         * spellchecker.C (sc_check_word):
14731         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14732         an unrecognised preprocessor directive.  So ensure they're wrapped.
14733
14734 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14735
14736         * src/exporter.C (Export): Give an error message when path to file
14737         contains spaces.
14738
14739 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14740
14741         * LaTeX.C (deplog): Always check that foundfile exists.
14742
14743 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14744
14745         * lyx_main.h:
14746         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14747
14748 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14749
14750         * tabular.[Ch] (getLabelList): implement new method
14751
14752         * minibuffer.h: comment ouf setTiimer
14753
14754         * minibuffer.C (ExecutingCB): constify res
14755         (peek_event): constify s
14756         (Set): constify ntext
14757         (Init): constify nicename
14758
14759         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14760
14761         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14762         (savePosition): use two params to Minibuffer::Set
14763         (restorePosition): ditto
14764
14765 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14766
14767         * lyx_main.C: include language.h
14768
14769         * Makefile.am (lyx_main.o): add language.h
14770
14771 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14772
14773         * exporter.C:
14774         * paragraph.C:
14775         * screen.C:
14776         * tabular.C:
14777         * CutAndPaste.C: include gettext.h
14778
14779         * lyxfont.h: remove old hack with ON and OFF.
14780
14781         * lyxparagraph.h:
14782         * lyxfont.h: do not include language.h...
14783
14784         * BufferView2.C:
14785         * LaTeXFeatures.C:
14786         * Painter.C:
14787         * bufferview_funcs.C:
14788         * font.C:
14789         * lyxfont.C:
14790         * text.C:
14791         * text2.C:
14792         * trans_mgr.C:
14793         * paragraph.C: ... but do it here instead
14794
14795 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14796
14797         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14798
14799         * tabular.C: small reformat
14800
14801         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14802         NEW_INSETS version
14803         (GetChar): ditto
14804         (BreakParagraph): ditto
14805         (SetOnlyLayout): ditto
14806         (SetLayout): ditto
14807
14808         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14809         with one arg less.
14810
14811         * lastfiles.C: removed most using decl, add std:: where needed
14812
14813         * buffer.C: ws changes
14814
14815         * MenuBackend.C (class compare_format): put into anon namespace
14816         (expand): constify label, names, action, action2
14817         (expand):
14818
14819         * text.C (SingleWidth): constify font
14820         (IsBoundary): constify rtl2
14821         (GetVisibleRow): constify ww
14822
14823         * LaTeX.C (deplog): constify logfile
14824
14825         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14826         start_x, end_x
14827         (workAreaExpose): constify widthChange, heightChange
14828
14829         * lyxrow.C (par): moved
14830         (height): moved
14831         (next): moved
14832         * lyxrow.h: as inlines here
14833
14834         * lyxfont.h (shape): moved from lyxfont.C
14835         (emph): moved from lyxfont.C
14836
14837         * lyxfont.C (LyXFont): use initialization list for all
14838         constructors
14839         (shape): move to lyxfont.h as inline
14840         (emph): move to lyxfont.h as inline
14841
14842
14843 2001-04-04  Juergen Vigna  <jug@sad.it>
14844
14845         * vspace.C: had to include stdio.h for use of sscanf
14846
14847 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14848
14849         * BufferView.h:
14850         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14851         independent of xforms.
14852
14853 2001-04-02  Juergen Vigna  <jug@sad.it>
14854
14855         * spellchecker.C: fixed namespace placing!
14856
14857 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14858
14859         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14860         the LyXParagraph * is 0.
14861
14862 2001-03-29  Juergen Vigna  <jug@sad.it>
14863
14864         * vspace.C: added support for %, c%, p%, l%.
14865         (stringFromUnit): added helper function.
14866         (asLatexString): changed to give right results for the %-values.
14867
14868         * buffer.C: convert the widthp in a width%.
14869
14870 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14871
14872         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14873         figureForm.[Ch].
14874
14875         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14876         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14877
14878         * lyx_cb.[Ch]: see above.
14879
14880         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14881         form1.[Ch].
14882
14883         * form1.[Ch]:
14884         * lyx.[Ch]: replaced by figure_form.[Ch].
14885
14886         * lyx_gui.C:
14887         * lyx_gui_misc.C:
14888         * lyxfunc.C: changed headers associated with above changes.
14889
14890 2001-03-27  Juergen Vigna  <jug@sad.it>
14891
14892         * BufferView_pimpl.C: set the temporary cursor right!
14893
14894 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14895
14896         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14897
14898 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14899
14900         * LString.h: removed "using std::getline"!
14901
14902         * BufferView_pimpl.C (Dispatch): changes due to changes in
14903         InsetInclude::Params.
14904
14905         * buffer.C (tag_name): removed redundant break statements as they were
14906         producing lots of warnings with my compiler.
14907
14908 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14909
14910         * LString.h: add "using std::getline" when using the real <string>.
14911
14912 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14913
14914         * buffer.C: removed bitset usage.
14915         PAR_TAG moved to an anonymous name space.
14916         (tag_name): new funtion, also in the anonymous namespace.
14917         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14918         (makeDocBookFile): clean code. Completed transition from string arrays
14919         to string vectors.
14920         (SimpleDocBookOnePar): code clean.
14921
14922 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14923
14924         * tabular.C: add some comments.
14925
14926 2001-03-22  Juergen Vigna  <jug@sad.it>
14927
14928         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14929         compatibility read a bit and fixed bug with minipage in different
14930         depth.
14931
14932 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14933
14934         * buffer.C (pop_tag): removed.
14935         (push_tag): removed.
14936         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14937         array replaced with vector. Added support for CDATA sections.
14938         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14939         at any nest level.
14940         (makeDocBookFile): XML conformant declaration of CDATA section,
14941         fixed bug related to <emphasis> in the first paragraph char.
14942         (sgmlOpenTag): exclude empty tags.
14943         (sgmlCloseTag): ditto.
14944
14945         * buffer.h (pop_tag): removed.
14946         (push_tag): removed.
14947
14948 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14949
14950         * language.h (Languages): added size_type and size().
14951
14952 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14953
14954         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14955         response on compability reading of minipages. One probliem is that
14956         the old usage of minipages was «flertydig»
14957
14958         * several files here and in subdirs: don't use static at file
14959         scope use anon namespaces instead.
14960
14961 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14962
14963         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14964         LaTeX output. This is necessary for Literate document
14965         processing.
14966
14967 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14968
14969         * buffer.C: insert hfill when needed.
14970
14971         * tabular.C (l_getline): use string::erase, small whitespace change.
14972
14973         * BufferView_pimpl.C: try the anon namespace.
14974         * WorkArea.C: ditto
14975
14976 2001-03-16  Juergen Vigna  <jug@sad.it>
14977
14978         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14979         otherwise it won't open options-dialogs.
14980
14981         * buffer.C: honor pextraWidth(p) on converting minipages.
14982
14983         * tabular.C (l_getline): changed the functions to strip trailing \r.
14984
14985 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14986
14987         * BufferView_pimpl.C:
14988         * minibuffer..C: added "using SigC::slot" declaration.
14989
14990 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14991
14992         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14993
14994         * text2.C: ditto
14995
14996         * text.C: ditto
14997
14998         * paragraph.C: ditto
14999
15000         * lyxtext.h: NO_PEXTRA
15001
15002         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15003
15004         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15005         * ParameterStruct.h: ditto
15006         * ParagraphParameters.h: ditto
15007         * lyxparagraph.h: ditto
15008
15009 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15010
15011         * buffer.C: add compability for minipage alignment.
15012         (latexParagraphs): remove unwanted pextra check.
15013
15014         * several files: remove CXX_WORKING_NAMESPACES
15015
15016         * buffer.C (pop_tag): tie is in namespace boost
15017
15018         * BufferView.h: noncopyable is in namespace boost
15019         * lyxlex.h: ditto
15020         * lyx_main.h: ditto
15021         * lyx_gui.h: ditto
15022         * layout.h: ditto
15023         * lastfiles.h: ditto
15024         * bufferlist.h: ditto
15025         * ShareContainer.h: ditto
15026         * LyXView.h: ditto
15027         * LyXAction.h: ditto
15028         * LaTeX.h: ditto
15029
15030 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15031
15032         * Merging changes from BRANCH_MVC back into HEAD.
15033
15034         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15035
15036 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15037
15038         * BufferView_pimpl.C: change from intl.C
15039
15040         * combox.h:
15041         * combox.C:
15042         * Makefile.am: move combox.*
15043
15044         * form1.h:
15045         * form1.C:
15046         * lyx_gui.C:
15047         * intl.h:
15048         * intl.C: remove dialog (covered by prefs)
15049
15050 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15051
15052         * lyxfunc.C (Dispatch): removed redundant break statement.
15053
15054 2001-03-14  Juergen Vigna  <jug@sad.it>
15055
15056         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15057
15058 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15059
15060         * buffer.C: add hack to fix compability reading of minipages.
15061
15062 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15063
15064         * buffer.C (getLists): Cleanup.
15065
15066 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15067
15068         * lyxfont.C (update): don't honor toggleall on font size.
15069
15070 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15071
15072         * bmtable.c:
15073         * bmtable.h:
15074         * Makefile.am: moved to frontends/xforms/
15075
15076         * lyx_gui_misc.C:
15077         * lyxfunc.C:
15078         * BufferView_pimpl.C: changes for moved mathpanel
15079
15080 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15081
15082         * gettext.h: fix gettext_init() in --disable-nls
15083
15084 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15085
15086         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15087
15088 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15089
15090         * lyx.C:
15091         * lyx.h: strip external form
15092
15093 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15094
15095         * BufferView_pimpl.C: add comment, destroySplash()
15096
15097 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15098
15099         * BufferView_pimpl.C:
15100         * LyXAction.C:
15101         * buffer.C:
15102         * commandtags.h:
15103         * lyxfunc.C: use re-worked insetinclude
15104
15105 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15106
15107         * buffer.C: add using std::stringstream.
15108
15109         * lyx_cb.C: readd using std::ios.
15110
15111         * buffer.C: add using std::map.
15112
15113         * BufferView_pimpl.C: add using std::vector.
15114
15115         * ShareContainer.h: add std:: to swap.
15116
15117         * buffer.h: add some typedefs
15118         * buffer.C (getLists): use them
15119         (getLists): renamed from getTocList.
15120         add a counter for the different float types and use it in the
15121         generated string.
15122         (getLists): use the same counter for the NEW_INSETS and the "non"
15123         NEW_INSETS
15124
15125         * lyx_cb.h: remove unused items, includes, using etc.
15126
15127         * ShareContainer.h: remove some commented code, add more comments
15128         and "documentation".
15129
15130 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15131
15132         * buffer.C (getTocList): make the list also when NEW_INSETS is
15133         defined.
15134
15135         * buffer.h: remove TocType
15136
15137         * buffer.C (getTocList): change to return a map<string,
15138         vector<TocItem> >, implement for dynamic number of list.
15139
15140         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15141         * text2.C (PasteSelection): adjust
15142         * CutAndPaste.C (pasteSelection): adjust
15143
15144         * FloatList.C (FloatList): update from the new_insets branch.
15145         * Floating.[Ch]: ditto
15146         * LaTeXFeatures.C: ditto
15147         * buffer.C: ditto
15148         * lyxlex_pimpl.C: ditto
15149
15150         * paragraph.C (Last): remove when NEW_INSETS is defined.
15151
15152         * other file: changes because of the above.
15153
15154 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15155
15156         * lyxparagraph.h: rename next to next_, previous to previous_,
15157         make them private for NEW_INSETS. Rename Next() to next(),
15158         Previous() to previous().
15159
15160         * other files: changes because of the above.
15161
15162 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15163
15164         * BufferView.h:
15165         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15166         problem.
15167
15168 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15169
15170         * main.C (main): pass lyx_localedir to gettext_init().
15171
15172         * gettext.h: remove locale_init and gettext_init macros
15173
15174         * gettext.C (locale_init): new function
15175         (gettext_init): new function
15176
15177         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15178         setlocale().
15179
15180 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15181
15182         * Moved credits to frontends:
15183         * credits.[Ch]: removed
15184         * credits_form.[Ch]: removed
15185         * lyx_gui_misc.C: remove credits stuff
15186         * Makefile.am:
15187
15188 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15189
15190         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15191
15192         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15193         unneeded destructor.
15194
15195         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15196         a standalone pointer again.
15197
15198         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15199
15200 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15201
15202         * Makefile.am:
15203         * filedlg.h:
15204         * filedlg.C:
15205         * LyXAction.C:
15206         * ToolbarDefaults.C:
15207         * bufferlist.C:
15208         * commandtags.h:
15209         * form1.C:
15210         * form1.h:
15211         * lyx_cb.C:
15212         * lyx_cb.h:
15213         * lyxfunc.h:
15214         * lyxfunc.C:
15215         * BufferView_pimpl.C: use new file dialog in GUII
15216
15217         * lyx_cb.h:
15218         * lyx_cb.C: remove LayoutsCB to Toolbar
15219
15220 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15221
15222         * ShareContainer.h (get): add std:: qualifier
15223
15224 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15225
15226         * ShareContainer.h: define a proper ShareContainer::value_type
15227         type (and use typename to please compaq cxx)
15228
15229 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15230
15231         * lyxparagraph.h: move serveral local vars to
15232         ParameterStruct/ParagraphParameters., use ShareContainer in
15233         FontTable., make vars in FontTable private and add getter and
15234         setter.
15235
15236         * paragraph.C: changes because of the above.
15237
15238         * lyxfont.h: remove copy constructor and copy assignment. (the
15239         default ones is ok), move number inside FontBits. move inlines to
15240         lyxfont.C
15241
15242         * lyxfont.C: add number to initializaton of statics, move several
15243         inlines here. constify several local vars. some whitespace
15244         cleanup. Dont hide outerscope variables.
15245
15246         * Spacing.h: add two new constructors to match the set methods.
15247
15248         * ShareContainer.h: new file, will perhaps be moved to support
15249
15250         * ParameterStruct.h: new file
15251
15252         * ParagraphParameters.h: new file
15253
15254         * ParagraphParameters.C: new file
15255
15256         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15257         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15258
15259         * BufferView_pimpl.C: ParagraphParameter changes.
15260         * buffer.C: Likewise.
15261         * bufferview_funcs.C: Likewise.
15262         * text.C: Likewise.
15263         * text2.C: Likewise.
15264
15265 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15266
15267         * lyxfind.C (LyXReplace): do not redefine default argument in
15268         implementation.
15269         (IsStringInText): ditto
15270         (SearchForward): ditto
15271         (SearchBackward): ditto
15272
15273 2001-03-06  Juergen Vigna  <jug@sad.it>
15274
15275         * lyxfind.C (IsStringInText): put parentes around expressions.
15276
15277 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15278
15279         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15280
15281 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15282
15283         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15284
15285         * stl_string_fwd.h: add comment
15286
15287         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15288
15289         * tabular.h:
15290         * tabular.C: remove unused DocBook methods
15291
15292         * intl.C:
15293         * language.C:
15294         * paragraph.C:
15295         * buffer.C:
15296         killed DO_USE_DEFAULT_LANGUAGE
15297
15298 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15299
15300         * lyx_gui.C: do not include language.h.
15301
15302         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15303         arguments in function implementation.
15304
15305 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15306
15307         * BufferView_pimpl.C: add <ctime>
15308
15309 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15310
15311         * BufferView_pimpl.C: add using std::find_if
15312
15313 2001-02-27  José Matos  <jamatos@fep.up.pt>
15314
15315         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15316         by OnlyPath.
15317
15318 2001-02-11  José Matos  <jamatos@fep.up.pt>
15319
15320         * buffer.C (makeDocBookFile): command styles now have a parameter as
15321         "title" by default.
15322
15323 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15324
15325         * layout_forms.[Ch]: removed
15326         * lyx_cb.[Ch]: out character
15327         * lyx_gui.C: out character
15328         * lyx_gui_misc.C: out character
15329         * bufferview_funcs.C: : out character,
15330         added toggleall as parameter in ToggleAndShow
15331
15332 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15333
15334         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15335
15336         * text2.C (SetCurrentFont): Disable number property at boundary.
15337
15338 2001-02-26  Juergen Vigna  <jug@sad.it>
15339
15340         * lyxfunc.C (getStatus): added a string argument override function so
15341         that this is correctly called from LyXFunc::Dispatch if it contains a
15342         do_not_use_argument which is used!
15343         (Dispatch): added check for "custom" export and call appropriate func.
15344
15345 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15346
15347         * lyxrc.C: Add language_command_local, language_use_babel and
15348         language_global_options.
15349
15350         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15351
15352         * buffer.C (makeLaTeXFile): Use language_use_babel and
15353         language_global_options.
15354
15355 2001-02-23  Juergen Vigna  <jug@sad.it>
15356
15357         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15358         which works with LyXText and putted it inside BufferView. Here now we
15359         only call for that part the BufferView::Dispatch() function.
15360
15361         * BufferView.C (Dispatch): added.
15362
15363         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15364         functions which needs to use a LyXText over from LyXFunc.
15365         (MenuInsertLyXFile): added
15366         (getInsetByCode): added
15367         (moveCursorUpdate): added
15368         (static TEXT): added
15369
15370 2001-02-22  Juergen Vigna  <jug@sad.it>
15371
15372         * BufferView_pimpl.C (update): call a status update to see if LyXText
15373         needs it.
15374
15375 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15376
15377         * vc-backend.C (revert): implement for CVS
15378         (getLog): implement for CVS
15379
15380 2001-02-20  Juergen Vigna  <jug@sad.it>
15381
15382         * text2.C (ClearSelection): added BufferView param for inset_owner call
15383
15384         * lyxfunc.C (TEXT): added this function and use it instead of
15385         directly owner->view()-text of getLyXText().
15386
15387 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15388
15389         * src/layout_forms.C: out preamble
15390         * src/layout_forms.h: out preamble
15391         * src/lyx_cb.C: out preamble
15392         * src/lyx_cb.h: out preamble
15393         * src/lyx_gui.C: out preamble
15394         * src/lyx_gui_misc.C: out preamble
15395         * src/lyxfunc.C: connect with guii preamble
15396
15397 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15398
15399         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15400
15401 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15402
15403         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15404         whether to run bibtex.
15405
15406 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15407
15408         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15409
15410 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15411
15412         * Makefile.am (lyx_SOURCES): removed bibforms.h
15413
15414         * vspace.h: doxygen
15415
15416         * text.C (GetVisibleRow): make several local vars const
15417
15418         * tabular.C: small cleanup.
15419
15420         * lyxserver.C (callback): use compare instead of strncmp
15421
15422         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15423         inlines to after class or to paragraph.C
15424
15425         * lyxfont.h: remove friend operator!=
15426
15427         * converter.h: move friend bool operator< to non friend and after
15428         class def.
15429
15430         * combox.h: small cleanup
15431
15432         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15433         to inlines after class def.
15434
15435         * buffer.C (pop_tag): use string operations instead of strcmp
15436
15437         * bmtable.c: doxygen, small cleanup
15438
15439         * LaTeX.h: remove friend operator==
15440
15441 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15442
15443         * screen.C:
15444         * lyxrc.[Ch]:
15445         * lyxfunc.C:
15446         * lyxfont.[Ch]:
15447         * lyx_cb.C:
15448         * intl.[Ch]:
15449         * commandtags.h:
15450         * buffer.C:
15451         * WorkArea.[Ch]:
15452         * LyXAction.C:
15453         * BufferView_pimpl.C:
15454         * BufferView.[Ch]: remove cruft
15455
15456 2001-02-14  Juergen Vigna  <jug@sad.it>
15457
15458         * lyxfunc.C: removed #if 0 unused code
15459
15460         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15461
15462         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15463
15464         * text2.C (SetSelection): added a BufferView * parameter
15465
15466 2001-02-13  Juergen Vigna  <jug@sad.it>
15467
15468         * lyxfunc.C (Dispatch): fixed protected blank problem.
15469         * BufferView2.C (protectedBlank): added LyxText * parameter.
15470
15471         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15472         (AppendColumn): same as above for column_info.
15473
15474         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15475         (moveCursorUpdate): use a LyXText param for support of InsetText.
15476
15477         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15478         (tripleClick): ditto
15479
15480         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15481
15482         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15483
15484         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15485
15486         * text2.C (SetSelection): set correct update status if inset_owner
15487         (ToggleFree): ditto
15488
15489 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15490
15491         * tabular.C: remove some commented code.
15492
15493 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15494
15495         * BufferView_pimpl.C: call hideSplash()
15496
15497         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15498
15499         * include_form.h:
15500         * bibforms.h: remove
15501
15502         * lyxfunc.C:
15503         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15504           add LFUN_CHILD_CREATE
15505
15506         * counters.h: fix tiny typo
15507
15508         * lyx_cb.C:
15509         * lyx.h:
15510         * lyx_gui.C:
15511         * lyx.C: move splash to frontends/xforms/
15512
15513         * lyx_gui_misc.C: move Include and Bibform to frontends
15514
15515         * lyxvc.h: clarify comment
15516
15517         * vspace.C: tiny housekeeping
15518
15519 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15520
15521         * text.C (PrepareToPrint): RTL Fix.
15522
15523         * paragraph.C (GetUChar): New method.
15524         (String):  Use GetUChar.
15525
15526         * buffer.C (asciiParagraph): Use GetUChar.
15527
15528 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15529
15530         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15531
15532 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15533
15534         * buffer.h:
15535         * buffer.C: rename to getLogName(), handle
15536           build log / latex log nicely
15537
15538 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15539
15540         * MenuBackend.C:
15541         * MenuBackend.h: remove support for reference menuitem type.
15542
15543 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15544
15545         * BufferView_pimpl.C: housekeeping
15546         * BufferView_pimpl.h:
15547         * LyXView.h:
15548         * Makefile.am:
15549         * Timeout.C:
15550         * Timeout.h:
15551         * minibuffer.h: move Timeout GUI-I
15552
15553 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15554
15555         * lyxrc.C (read): Update converters data-structures.
15556
15557 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15558
15559         * LaTeX.h (operator!=): add operator != for Aux_Info
15560
15561 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15562
15563         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15564
15565         * LaTeXLog.C: deleted, useful code moved to Buffer
15566
15567         * buffer.h:
15568         * buffer.C: new function getLatexLogName()
15569
15570         * lyx_gui_misc.C:
15571         * lyx_gui.C:
15572         * lyxvc.C:
15573         * lyxvc.h:
15574         * lyxfunc.C: use frontends for LaTeX and VC logs
15575
15576 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15577
15578         * LaTeX.h: yet another std:: that Allan forgot.
15579
15580         * Variables.C (set): renamed from isset(), because this clashes
15581         with some HP-UX macros (grr).
15582
15583 2001-02-06  Allan Rae  <rae@lyx.org>
15584
15585         * LaTeX.h: Another bug fix.  Missing std:: this time.
15586
15587 2001-02-04  Allan Rae  <rae@lyx.org>
15588
15589         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15590         floats problem. I've left it commented out because it's not quite
15591         correct.  It should also test that the current object is a table or
15592         figure inset.  But I haven't gotten around to figuring out how to do
15593         that.  I *think* it'll be something like: "table" == inset.type()
15594
15595         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15596         bool.
15597
15598 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15599
15600         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15601         all the citation/databases/styles in the auxilary file.
15602         (run): Rerun latex if there was a babel language error.
15603
15604 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15605
15606         * text.C (Backspace): Preserve the font when changing newline char
15607         with a space.
15608         (BreakParagraph): If the cursor is before a space, delete the space.
15609
15610         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15611
15612 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15613
15614         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15615         new argument (code).
15616         (ChangeCitationsIfUnique): New method.
15617
15618         * paragraph.C (GetPositionOfInset): Handle bibkey.
15619
15620 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15621
15622         * BufferView_pimpl.h: change type of Position::par_pos to
15623         LyXParagraph::size_type.
15624
15625 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15626
15627         * BufferView_pimpl.C (savePosition, restorePosition): Write
15628         messages to minibuffer.
15629
15630 2001-01-28  José Matos  <jamatos@fep.up.pt>
15631
15632         * buffer.C (makeDocBookFile): adds support for document language.
15633         A silly restriction on the name of LatexCommand types where removed.
15634         Added support for CDATA sections, allows to chars unescaped, used
15635         among others in code, to avoid escape < and >.
15636
15637 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15638
15639         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15640         saved positions instrad of a stack. Furthermore, a position is
15641         stored using paragraph id/paragraph position.
15642
15643         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15644         Remove LFUN_REF_BACK.
15645
15646 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15647
15648         * converter.C (dvipdfm_options): New method.
15649
15650 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15651
15652         * vspace.C (isValidLength): Fix for empty input string.
15653
15654 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15655
15656         * LyXAction.C (init): change description of LFUN_FIGURE to
15657         "Insert Graphics"
15658
15659 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15660
15661         * LaTeX.C: add using directive
15662
15663 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15664
15665         * MenuBackend.C (expand): Fix the sorting of the formats.
15666
15667 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15668
15669         * lyx_main.C: tiny error message fix
15670
15671 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15672
15673         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15674         calling fl_initialize(). This fixes the problem with ',' as
15675         decimal separator in text files.
15676
15677 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15678
15679         * trans.C (process): Fix the keymap bug.
15680
15681 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15682
15683         * LaTeX.C (scanAuxFiles): New method. Provides support for
15684         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15685         (scanLogFile) Scan for "run BibTeX" messages.
15686
15687         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15688         OT1 font encoding. Also, load the aecompl package if the ae
15689         package is loaded.
15690
15691         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15692
15693 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15694
15695         * texrow.C (increasePos): turn two error messages into debug
15696         messages.
15697
15698 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15699
15700         * LaTeX.C (scanAux): Handle the \@input macro.
15701         (runBibTeX): Use scanAux().
15702
15703         * language.C (latex_options_): New field.
15704
15705         * LaTeXFeatures.C (getMacros): Add language macros.
15706
15707         * buffer.C (makeLaTeXFile): Small fix.
15708
15709 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15710
15711         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15712
15713         * text2.C: add a using directive.
15714
15715 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15716
15717         * BufferView2.C:
15718         * lyx_gui_misc.h:
15719         * lyxfr1.C:
15720         * lyxfunc.C: kill LyXBell.
15721
15722 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15723
15724         * text.C (IsBoundary): Remove the error message
15725
15726         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15727
15728         * lyxrc.C (setDefaults): Correct initialization value for
15729         font_norm_type.
15730
15731 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15732
15733         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15734         gotoError().
15735
15736         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15737         and GotoNextNote().
15738
15739         * src/LyXAction.C: Added reference-next.
15740
15741         * text.C (InsertChar): Use contains instead of strchr.
15742
15743         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15744
15745 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15746
15747         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15748         alignment commands (when needed).
15749
15750         * text.C (InsertChar): Add ':' to number separator chars.