]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Fix #613
[lyx.git] / src / ChangeLog
1
2 2004-08-12  André Pönitz  <poenitz@gmx.net>
3
4         * text3.C: take out the 'cursor right' form insertInset and only
5    do it in those places when it is really needed. Fixes crash on C-m...
6
7 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
8
9         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
10
11         * BufferView_pimpl.C (setBuffer): initialize the current font of
12         the underlying LyXText
13
14 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15
16         * kbsequence.C (print): use UI native formatting for menu
17         shortcuts
18
19         * text.C (insertChar): call Paragraph::insertChar with a font
20         argument (cosmetic)
21
22         * paragraph.C (insertInset, insertChar): the version that takes a
23         LyXFont argument is now a wrapper around the other one (the
24         opposite used to be true). 
25
26         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
27         argument. Font setting is done in Paragraph now.
28
29 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
30
31         * outputparams.h: add new members intitle and lang.
32
33         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
34         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
35
36 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
37
38         * text3.C (dispatch): remove special handling of button 4 and 5,
39         it is now taken care of in the frontend code.
40
41 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
42
43         * Spacing.h: add <string> (STLPort compile fix)
44
45 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
46
47         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
48
49 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
50
51         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
52         to bool.
53
54         * converter.C (showMessage): inherit from unary_function, make
55         operator() const.
56
57         * buffer.C (writeFile): initialize retval
58
59         * InsetList.h: rename private variable list to list_
60         * InsetList.[Ch]: adjust accordingly.
61
62 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
63
64         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
65         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
66         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
67         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
68         * ParagraphParameters.C, LaTeXFeatures.C: replace
69         "support/std_sstream.h" with <sstream>
70
71 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
72
73         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
74         * lyxsocket.C (LyXServerSocket): ditto
75         (serverCallback): ditto
76
77 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
78
79         * LaTeXFeatures.C: check release date when loading jurabib.
80
81 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
82
83         * lyxserver.C (startPipe): call register_socket_callback
84         (endPipe): call unregister_socket_callback
85
86 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
87
88         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
89         (LyXServerSocket): register the callback
90         (LyXServerSocket): unregister the callback
91         (fd): delete function
92         (serverCallback): improve error checking and setup the callbacks.
93         (dataCallback): change arg to fd.
94         (writeln): new func (copied fro the client socket) used for server
95         write to client.
96         (LyXDataSocket): simplify
97         (~LyXDataSocket): close ann unregiser callback
98         (server): delete function
99         (fd): delete function
100         (readln): small changes, improve some std::string usage
101         (writeln): constify a bit
102
103 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
104
105         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
106         Qt frontend
107
108 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
109
110         * BufferView_pimpl.C (setBuffer): set the layout combox value only
111         after it has been populated
112
113 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
114
115         * text2.C (insertInset): move cursor when inserting inset.
116
117 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
118
119         * kbmap.C (findbindings): a couple of new methods. returns a
120         container of kb_sequence objects. The real work is done by the
121         private recursive version
122         (printbindings): uses findbindings to print out a bracketed list
123         of bindings (renamed from findbinding).
124
125         * MenuBackend.C (binding): use kb_keymap::findbindings
126
127         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
128
129 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
130
131         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
132
133 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
134
135         * paragraph.C (isWord): return true on insets that report
136         isLetter().
137
138         * text.C (getWord): use Paragraph::isWord to decide what is in a
139         word and what is not; fix bug 1609.
140
141 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
142
143         * tex-strings.C: add "none" to string_paperpackages[], fixes
144         off-by-one-error in the paperpackage selection.
145
146         * lyxlex.[Ch]:
147         * tex-strings.[Ch]: char const * string[n]
148         -> char const * const string[]
149
150 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
151
152         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
153         command, return early.
154
155 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
156
157         * debug.h: add DEBUG to enum and fix size of ANY.
158
159         * debug.C: add support for Debug::DEBUG
160         (showTags): cast errorTags.level to unsigned int
161
162         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
163         (redoCurrentBuffer): ditto
164         (updateScrollbar): ditto
165         * cursor.C (dispatch): ditto
166         * text2.C (setLayout): ditto
167         (setFont): ditto
168         (updateCounters): ditto
169         (editXY): ditto
170         (deleteEmptyParagraphMechanism): ditto
171
172 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
173
174         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
175         annotations to cleanup the Makefile slightly.
176
177 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
178
179         * lyxrc.C: do not set user_email to a default value but use empty
180         instead. The entry used to be translated, which does not work
181         since at the point where lyxrc is constructed there is no
182         translation service available
183
184         * messages.C (getLocaleDir): remove and use directly
185         lyx_localedir() instead
186
187 2004-06-02  Angus Leeming  <leeming@lyx.org>
188
189         Fix crash caused by dereferencing null pointer 'exportdata' in
190         OutputParams by creating a new ExportData variable on the heap,
191         storing it in a boost::shared_ptr.
192         The crash was triggered when generating an Instant Preview
193         of an external inset.
194
195         * Makefile.am: add outputparams.C
196
197         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
198         (c-tor): allocate memory to it.
199
200         * exporter.C (c-tor): associated changes.
201
202 2004-06-01  Angus Leeming  <leeming@lyx.org>
203
204         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
205         contains data before calling isInset(0). (Bug 1513.)
206
207 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
208
209         * exporter.C (checkOverwrite): new method
210         * exporter.C (copyFile): new method
211         * exporter.C (Export): copy referenced files to the document dir
212         * exporter.[Ch]: new class ExportedFile
213         * exporter.[Ch]: new class ExportData. Contains currently the
214         names of referenced external files
215         * outputparams.h: add exportdata member.
216
217 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
218
219         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
220         version.C-tmp
221
222 2004-05-19  Angus Leeming  <leeming@lyx.org>
223
224         * LaTeXFeatures.C:
225         * ToolbarBackend.C:
226         * bufferparams.C:
227         * lyxfunc.C: small changes due to the introduction of namespace
228         lyx::frontend and the moving of namespace biblio to lyx::biblio.
229
230 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
231
232         * text3.C (dispatch): supress update when only moving the cursor
233         * cursor.C (selHandle): remove commented code
234
235 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
236
237         * paragraph.C (startTeXParParams): correct column count
238         * CutAndPaste.C (pasteSelection): remove const_cast
239         * output_docbook.C (docbookParagraphs): remove const_cast
240         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
241         const_cast and return ParagraphList::const_iterator
242         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
243         * output_plaintext.C (writeFileAscii): remove const_cast
244         * paragraph.[Ch] (simpleTeXOnePar): make const
245         * paragraph_funcs.C (outerPar): use const iterators
246         * paragraph_pimpl.C (validate): use const iterators
247         * text.C (setHeightOfRow): use const iterators
248
249 2004-05-17  Angus Leeming  <leeming@lyx.org>
250
251         * lfuns.h:
252         * LyXAction.C (init): new LFUN_INSET_REFRESH.
253
254         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
255         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
256         if the citation engine has changed.
257
258 2004-05-14  José Matos  <jamatos@lyx.org>
259
260         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
261         if the textclass does not provide it. Have it different for sgml and
262         xml.
263         support the language of document.
264         * output_docbook.C (docbookParagraphs):
265         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
266         first anchor as the id of the paragraph, remove special case code.
267         * sgml.C (escapeChar): escape only < & >.
268
269 2004-05-14  Angus Leeming  <leeming@lyx.org>
270
271         * bufferparams.h: move biblio::CiteEngine enum here to minimize
272         dependencies on src/frontends/controllers/biblio.h. Define a
273         CiteEngine_enum wrapper class to enable the enum to be forward
274         declared.
275
276 2004-05-12  Angus Leeming  <leeming@lyx.org>
277
278         * buffer.C: up LYX_FORMAT to 234.
279         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
280         use_numerical_citations with a single biblio::CiteEngine cite_engine
281         variable.
282         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
283
284 2004-05-13  José Matos  <jamatos@lyx.org>
285
286         * converter.h:
287         * converter.C (Converter, readFlags): add xml member.
288         * outputparams.h: add XML flavor.
289         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
290
291 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
292
293         * lyxfunc.C (dispatch):
294         (getStatus): fix handling of LFUN_SEQUENCE
295
296 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
297
298         * debug.C (showLevel): do not forget the end-of-line marker
299
300 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
301
302         * kbmap.C (read): do not stop parsing a bind file when an error
303         occurs (bug 1575)
304
305 2004-04-29  Angus Leeming  <leeming@lyx.org>
306
307         * cursor.C:
308         * factory.C:
309         * pariterator.C:
310         * text2.C: wrap a bunch of #warning statements
311         inside #ifdef WITH_WARNINGS blocks.
312
313 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
314
315         * buffer.C: increment format to 233.
316
317 2004-04-28  Angus Leeming  <leeming@lyx.org>
318
319         * BufferView_pimpl.C:
320         * lyxfunc.C:
321         * text3.C:
322         s/updateToolbar()/updateToolbars()/
323         s/Toolbar.h/Toolbars.h/
324
325 2004-04-28  Angus Leeming  <leeming@lyx.org>
326
327         * BufferView.[Ch] (c-tor):
328         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
329         No longer passes these data to the WorkArea generator.
330
331 2004-04-28  Angus Leeming  <leeming@lyx.org>
332
333         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
334
335 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
336
337         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
338
339 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
340
341         * output_latex.C (TeXEnvironment): make sure that there is a line
342         break before \end{foo} for the last paragraph of a document
343         (TeXOnePar): if the paragraph is at the end of the document (or
344         inset) and the language has to be reset, then make sure that the
345         line break is _before_ the language command, not after (fixes bug
346         1225); also make sure that the language reset command is the first
347         thing after the paragraph (to ensure proper nesting of
348         environments and thus fix bug 1404)
349
350 2004-04-21  John Levon  <levon@movementarian.org>
351
352         * ToolbarBackend.h:
353         * ToolbarBackend.C: make "name" be a programmatic name
354         and a gui_name field.
355
356         * lyxfunc.C: display the minibuffer on M-x
357
358 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
359
360         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
361         (bug 1526)
362
363 2004-04-19  Angus Leeming  <leeming@lyx.org>
364
365         * BufferView_pimpl.C (setBuffer): changed preview interface.
366
367         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
368         possible values.
369
370 2004-04-19  John Levon  <levon@movementarian.org>
371
372         * BufferView_pimpl.C:
373         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
374
375 2004-04-05  Angus Leeming  <leeming@lyx.org>
376
377         * text.C (redoParagraphs): add call to updateCounters(), thereby
378         fixing the missing "Figure #:" label from the caption of a
379         figure float.
380
381 2004-04-13  Angus Leeming  <leeming@lyx.org>
382
383         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
384         cursor is clicked out of an inset.
385
386 2004-04-13  Angus Leeming  <leeming@lyx.org>
387
388         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
389         than an InsetOld one.
390
391 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
392
393         * format.[Ch]: add editor to Format
394         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
395         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
396
397 2004-04-08  André Pönitz  <poenitz@gmx.net>
398
399         * metricsinfo.h: remove PainterInfo::width member
400
401 2004-04-08  Angus Leeming  <leeming@lyx.org>
402
403         * lyx_sty.C (boldsymbol_def): modify so that it outputs
404         "\providecommand" rather than "\newcommand", thereby preventing
405         clashes with packages that define "\boldsymbol" themselves.
406         Eg, beamer.
407
408 2004-04-08  Angus Leeming  <leeming@lyx.org>
409
410         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
411         thereby squashing an unnecessary warning.
412
413 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
414
415         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
416         setBuffer()
417
418 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
419
420         * BufferView.C (setCursor): call redoParagraph (some insets could
421         have been opened)
422         (putSelectionAt): remove the 'double update' trick
423
424         * BufferView_pimpl.C (fitCursor): call refreshPar
425         (workAreaDispatch): remove an uneeded update call
426         (dispatch): remove some manual update calls
427
428         * cursor.[Ch]: remove cached_y_, updatePos
429         (selHandle): set noUpdate when appropriate
430
431         * lyxfunc.C (dispatch): track if we need an update
432
433         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
434
435         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
436         (paintSelection): cheap optimization, do not call cursorX when not
437         needed
438         (paintPars): change signature
439         (refreshPar): add
440         (paintText): adjust
441         (paintTextInset): adjust
442
443         * text.C: adjust
444
445 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
446
447         * lengthcommon.C: compilation fix: remove explicit array size from
448         unit_name[] and friends
449
450 2004-04-05  Angus Leeming  <leeming@lyx.org>
451
452         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
453
454         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
455         present only for the preferences dialog.
456         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
457
458 2004-04-05  Angus Leeming  <leeming@lyx.org>
459
460         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
461         to enable the frontends to export changes to lyxrc correctly.
462
463         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
464
465 2004-04-07  André Pönitz  <poenitz@gmx.net>
466
467         * cursor.[Ch] (selClear, adjust): remove math
468
469         * cursor_slice.C: more agressive assert
470
471         * lyxfunc.C:
472         * BufferView_pimpl.C: rework mouse event dispatch
473
474         * dociterator.C:
475         * paragraph.C:
476         * text2.C:
477         * text3.C: adjust
478
479 2004-04-05  André Pönitz  <poenitz@gmx.net>
480
481         * cursor.[Ch] (valign, halign...): remove unneeded functions
482
483 2004-04-05  Angus Leeming  <leeming@lyx.org>
484
485         * lyxlength.[Ch] (unit_name et al.): const-correct.
486
487 2004-04-05  Angus Leeming  <leeming@lyx.org>
488
489         * BufferView_pimpl.C:
490         * buffer.C:
491         * counters.C:
492         * cursor.C:
493         * lyxfunc.C
494         * paragraph.C:
495         * pariterator.C:
496         * text.C:
497         * text2.C:
498         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
499
500 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
501
502         * text3.C (getStatus): add LFUN_BEGINNINGBUF
503
504 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
505
506         * lyxfind.C: add a couple of inTexted() tests + other small fixes
507         * BufferView_pimpl.[Ch] (getStatus)
508         * BufferView.[Ch] (getStatus): add
509         * lyxfunc.C (getStatus): move lfuns handled in
510         BufferView::dispatch to te function above
511         * Cursor.C (setSelection): set selection() = true
512
513 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
514
515         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
516
517 2004-03-31  Angus Leeming  <leeming@lyx.org>
518
519         * lyxfunc.C (dispatch): Fall through to the generic
520         Dialogs::show("preamble").
521
522 2004-03-31  Angus Leeming  <leeming@lyx.org>
523
524         * lyxfunc.C (dispatch): Fall through to the generic
525         Dialogs::show("spellchecker").
526
527 2004-03-31  Angus Leeming  <leeming@lyx.org>
528
529         * lyxfunc.C (getStatus, dispatch): changed invocation of the
530         preferences dialog.
531
532 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
533
534         * BufferView.C
535         * cursor.[Ch]
536         * dociterator.[Ch]:
537         * insetiterator.[Ch]:
538         * lyxfind.C:
539         * lyxfunc.C:
540         * pariterator.[Ch]:
541         * text2.C:
542         * undo.[Ch]: s/DocumentIterator/DocIterator/g
543
544 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
545
546         * BufferView.C (setCursor, putSelectionAt): call edit to open the
547         insets where we are putting the cursor.
548
549 2004-03-31  Angus Leeming  <leeming@lyx.org>
550
551         * lfuns.h:
552         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
553
554         * lyxrc.[Ch] (read, write): overloaded member functions taking
555         a std::[io]stream arguments.
556
557         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
558
559 2004-03-31  Angus Leeming  <leeming@lyx.org>
560
561         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
562         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
563
564         * lyxtextclass.C (load): if the text class couldn't be loaded, then
565         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
566
567 2004-03-31  Angus Leeming  <leeming@lyx.org>
568
569         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
570         the LFUN_ALL_INSETS_TOGGLE code.
571
572 2004-03-30  Angus Leeming  <leeming@lyx.org>
573
574         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
575         has died. Fall through to the generic Dialogs::show("document").
576
577 2004-03-30  Angus Leeming  <leeming@lyx.org>
578
579         * lfuns.h:
580         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
581         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
582
583         * lyxfunc.C (getStatus, dispatch): define the actions for these
584         lfuns. Little more than a cut and pste job from ControlDocument.C
585
586         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
587
588 2004-03-30  Angus Leeming  <leeming@lyx.org>
589
590         * lfuns.h:
591         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
592         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
593
594         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
595         open/closed state of ollapsable insets. Usage:
596
597         all-inset-toggle <state> <name>, where
598         <state> == "open" || "closed" || "toggle" and
599         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
600
601         * lyxtext.h, text2.C (toggleInset): removed.
602
603         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
604         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
605         now passes LFUN_INSET_TOGGLE to the found inset.
606
607         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
608         is now invoked as "all-insets-toggle toggle branch".
609
610 2004-03-30  Angus Leeming  <leeming@lyx.org>
611
612         * dociterator.C:
613         * insetiterator.C:
614         * pariterator.[Ch]: added/corrected header blurb.
615
616 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
617
618         * dociterator.[Ch]: add an inset_ member
619         (backwardPos): implemented
620         (backwardPos, forwardPos): use inset_ when the stack is empty.
621         (doc_iterator_begin, doc_iterator_end): implemented
622         * pariterator.[Ch]: adjust, add begin, end
623         * insetiterator.[Ch]: adjust, add begin, end
624         * cursor.C:
625         * document.C:
626         * BufferView.C:
627         * BufferView_pimpl.C:
628         * CutAndPaste.C: adjust
629
630 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
631
632         * buffer.C: increment file format to 232.
633         * LaTeXFeatures.C: add bibtopic package.
634         * bufferparams.[Ch]: param \use_bibtopic.
635
636         * lyxrc.[Ch]: add lyxrc bibtex_command
637         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
638
639         * buffer.C: increment file format to 231.
640
641 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
642
643         * dociterator.C: implement forwardPar
644         * iterators.[Ch]: remove, replaced by
645         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
646         * BufferView.C:
647         * BufferView_pimpl.C:
648         * CutAndPaste.C:
649         * buffer.C:
650         * bufferview_funcs.C:
651         * cursor.C:
652         * lyxfind.C
653         * lyxfunc.C
654         * paragraph_funcs.C
655         * toc.C:
656         * Makefile.am: adjust
657
658 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
659
660         * CutAndPaste.C (pasteSelection): fix 2 crashes
661         (eraseSelection): fix a crash
662         * paragraph_funcs.C: remove a warning
663
664 2004-03-28  Angus Leeming  <leeming@lyx.org>
665
666         * lfuns.h:
667         * LyXAction.C (init): new LFUN_PRINT.
668
669         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
670
671 2004-03-27  Angus Leeming  <leeming@lyx.org>
672
673         * lfuns.h:
674         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
675
676         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
677
678 2004-03-27  Angus Leeming  <leeming@lyx.org>
679
680         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
681         insetlist always contains non-null pointers to insets.
682
683 2004-03-26  Angus Leeming  <leeming@lyx.org>
684
685         * src/BufferView_pimpl.C:
686         * src/CutAndPaste.C:
687         * src/buffer.C:
688         * src/iterators.C:
689         * src/output_plaintext.C:
690         * src/outputparams.h:
691         * src/paragraph_funcs.C:
692         * src/rowpainter.C:
693         * src/text.C:
694         * src/text2.C:
695         * src/frontends/controllers/ControlErrorList.C:
696         * src/frontends/gtk/FileDialogPrivate.C:
697         * src/frontends/gtk/GPainter.C:
698         * src/frontends/gtk/GToolbar.C:
699         * src/frontends/qt2/QRef.C:
700         * src/mathed/math_scriptinset.C: squash compiler warnings.
701
702 2004-03-26  Angus Leeming  <leeming@lyx.org>
703
704         * ispell.C (LaunchIspell::start):
705         * lyx_cb.C (AutoSaveBuffer::start):
706         invoke run(DontWait) rather than runNonBlocking().
707
708 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
709
710         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
711
712 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
713
714         * kbsequence.C (print): adjust
715
716         * kbmap.C (printKeySym): rename and change signature
717         (printKey): use LyXKeySym::print()
718
719 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
720
721         * undo.C: add using std::advance to compile for stlport
722
723 2004-03-24  Angus Leeming  <leeming@lyx.org>
724
725         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
726         it leads to a crash when no buffer is present.
727
728 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
729             Martin Vermeer  <martin.vermeer@hut.fi>
730
731         * lyxfunc.C (dispatch):
732         * bufferparams.C (readToken): use the new LColor::setColor
733
734         * LColor.[Ch] (setColor): new version that takes two strings as
735         argument and creates a new color entry if necessary
736
737 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
738
739         * buffer.C (makeLaTeXFile): if the main latex file that is
740         processed is usually a subdocument of some master, then pretend
741         for a while that it is actually the master
742
743 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
744
745         * buffer.C (getLabelList):
746         (getBibkeyList): use getMasterBuffer()
747         (getMasterBuffer): new method. Returns the main document in the
748         case where one is using included documents.
749
750 2004-03-25  André Pönitz  <poenitz@gmx.net>
751
752         * Makefile.am:
753         * iterators.[Ch]:
754         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
755
756         * ParagraphList_fwd.h: change ParagraphList to a std::vector
757
758         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
759         text*.C over here. Rename namespace CutAndPaste to lyx::cap
760
761         * ParameterStruct.h: merge with ParagraphParameters
762
763         * lyxtext.h: remove LyXText::parOffset() and getPar()
764
765         * text3.C: Remove all 'manual' update calls. We do now one per user
766         interaction which is completely sufficient.
767
768         * Bidi.C:
769         * BufferView.[Ch]:
770         * BufferView_pimpl.C:
771         * FontIterator.[Ch]:
772         * MenuBackend.C:
773         * ParagraphParameters.[Ch]:
774         * buffer.C:
775         * buffer.h:
776         * bufferlist.C:
777         * cursor.[Ch]:
778         * cursor_slice.[Ch]:
779         * dociterator.[Ch]:
780         * errorlist.[Ch]:
781         * factory.C:
782         * lfuns.h:
783         * lyxfind.C:
784         * lyxfunc.C:
785         * output_docbook.[Ch]:
786         * output_latex.[Ch]:
787         * output_linuxdoc.[Ch]:
788         * output_plaintext.[Ch]:
789         * paragraph.[Ch]:
790         * paragraph_funcs.[Ch]:
791         * paragraph_pimpl.[Ch]:
792         * rowpainter.C:
793         * tabular.[Ch]:
794         * text.C:
795         * text2.C:
796         * toc.C:
797         * undo.[Ch]: adjust
798
799         * frontends/controllers/ControlDocument.C:
800         * frontends/controllers/ControlErrorList.C:
801         * frontends/controllers/ControlSpellchecker.C:
802         * insets/inset.C:
803         * insets/inset.h:
804         * insets/insetbase.h:
805         * insets/insetbibitem.C:
806         * insets/insetbox.C:
807         * insets/insetbranch.C:
808         * insets/insetcaption.C:
809         * insets/insetcharstyle.C:
810         * insets/insetcharstyle.h:
811         * insets/insetcollapsable.C:
812         * insets/insetcollapsable.h:
813         * insets/insetert.C:
814         * insets/insetfloat.C:
815         * insets/insetfoot.C:
816         * insets/insetmarginal.C:
817         * insets/insetnote.C:
818         * insets/insetoptarg.C:
819         * insets/insettabular.C:
820         * insets/insettext.C:
821         * insets/insettext.h:
822         * insets/insetwrap.C:
823         * mathed/math_mboxinset.C:
824         * mathed/math_nestinset.C:
825         * mathed/math_scriptinset.C:
826         * mathed/math_scriptinset.h:
827         * support/types.h:
828
829 2004-03-24  Angus Leeming  <leeming@lyx.org>
830
831         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
832         deal with any child processes that have finished but are waiting to
833         communicate this fact to the rest of LyX.
834
835 2004-03-24  Angus Leeming  <leeming@lyx.org>
836
837         64-bit compile fixes.
838
839         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
840         (c-tor): pass lyx::pos_types rather than ints.
841
842         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
843         lyx::pos_type.
844
845         * text.C (Delete): compile fix.
846         (getPar): ensure that function declaration is the same as that in
847         the header file.
848
849 2004-03-23  Angus Leeming  <leeming@lyx.org>
850
851         * ispell.C (LaunchIspell):
852         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
853         a boost::shred_ptr rather than a std::auto_ptr.
854
855 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
856
857         * lyxfunc.C (getStatus): handle read-only buffers correctly;
858         handle LFUN_FILE_INSERT_*
859
860         * lyxrc.C (setDefaults, getDescription, output, read):
861         * lyxrc.h: remove ps_command
862
863 2004-03-22  Angus Leeming  <leeming@lyx.org>
864
865         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
866         Ensure that error_handler is processed once only and that all data
867         is saved before attempting to output any warning messages.
868
869         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
870
871 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
872
873         * tabular.C (TeXRow): crash fix (from Kayvan and André)
874
875 2004-03-19  André Pönitz  <poenitz@gmx.net>
876
877         * cursor.[Ch] (reset): take main text inset as argument
878
879         * BufferView: adjust
880         * BufferView_pimpl.C: adjust
881
882         * paragraph.[Ch]: fix completely broken operator=()
883
884 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
885
886         * LColor.C (getFromLyXName): make sure that the color name is used
887         as lowercase.
888
889 2004-03-17  Angus Leeming  <leeming@lyx.org>
890
891         * lfuns.h:
892         * LyXAction.C (init): remove LFUN_FORKS_KILL.
893
894         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
895         dialog and to kill a forked process.
896
897 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
898
899         * text2.C (setCursorFromCoordinates): fix font problem
900
901 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
902
903         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
904         bogus "rebuild cursor" code
905
906 2004-03-11  André Pönitz  <poenitz@gmx.net>
907
908         * buffer.[Ch]: use InsetText instead of LyXText as container for
909         the main lyx text.
910
911         * dociterator.[Ch]: drop the BufferView * member which is not needed
912         anymore after the change to buffer.C
913
914         * paragraph_funcs.C:
915         * text.C:
916         * text2.C:
917         * BufferView.[Ch]:
918         * BufferView_pimpl.[Ch]:
919         * cursor.[Ch]:
920         * cursor_slice.[Ch]: adjust
921
922         * text3.C: fix bug in mathDispatch
923
924 2004-03-08  André Pönitz  <poenitz@gmx.net>
925
926         * undo.[Ch]: use 'StableDocumentIterator' as base for
927         the Undo struct.
928
929 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
930
931         * LaTeXFeatures.C:
932         * bufferparams.[Ch]: add jurabib support and param.
933
934         * LaTeX.C: add FIXME/comment.
935
936 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
937
938         * buffer.C: increment file format to 230.
939
940 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
941
942         * cursor.C (dispatch): avoid infinite loops
943
944 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
945
946         * rowpainter.C (paintSelection): fix x coordinates
947
948 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
949
950         * text.C (rowBreakPoint): fix breaking before displayed insets
951
952 2004-03-01  André Pönitz  <poenitz@gmx.net>
953
954         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
955
956         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
957
958         * Makefile.am:
959         * BufferView.C:
960         * BufferView_pimpl.C:
961         * buffer.C:
962         * lyxfind.C:
963         * lyxfunc.C:
964         * text.C:
965         * text2.C:
966         * text3.C: adjust
967
968 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
969
970         * lyxtext.h:
971         * text.C:
972         * text2.C:
973         * rowpainter.C:
974         * BufferView_pimpl.C: rename textwidth -> maxwidth,
975         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
976
977 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
978
979         * Bidi.[Ch] (computeTables): const correctness
980         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
981         fill_hfill, fill_label_hfill and x from Row
982         * lyxtext.h: prepareToPrint returns a RowMetrics
983         * rowPainter.C: adjust
984         * text.C (prepareToPrint): use width, not textWidth. adjust
985         (redoParagraphInternal, cursorX): adjust
986         * text2.C (getColumnNearX): adjust
987         (init): put a default value to the top LyXText::width
988
989 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
990
991         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
992
993 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
994
995         * lyxtext.h: add FontIterator class
996
997         * text.C (FontIterator, operator*, operator->, operator++): add
998         (rowBreakPoint, setRowWidth): adjust (fixing a
999         rebreaking bug)
1000
1001 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1002
1003         * BufferView_pimpl.C (workAreaDispatch): allow also
1004         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1005
1006 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1007
1008         * text.C (rowBreakPoint): fix a bug showing with very large insets
1009
1010 2004-02-25  André Pönitz  <poenitz@gmx.net>
1011
1012         * text3.C:
1013         * cursor.[Ch]: move some mathed specific code to mathed
1014
1015 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1016
1017         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1018         use_tempdir in preferences
1019         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1020         tempfile creation
1021         * lyx_main.C: ensure that tempdir is valid
1022         * lyxlex.h: correct typo
1023         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1024         * paragraph.[Ch] (isMultiLingual): make const
1025         * cursor.[Ch] (openable): make const
1026
1027 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1028
1029         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1030
1031 2004-02-20  André Pönitz  <poenitz@gmx.net>
1032
1033         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1034
1035         * cursor.[Ch]: prepare for localized getStatus()
1036
1037         * lyxtext.h:
1038         * tabular.C:
1039         * text.C:
1040         * text2.C:
1041         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1042
1043 2004-02-20  André Pönitz  <poenitz@gmx.net>
1044
1045         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1046
1047 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1048
1049         * text2.C (setCursorFromCoordinates): switch to absolute coords
1050         (cursorUp): adjust
1051         (cursorDown): adjust
1052         * text3.C (dispatch): adjust
1053
1054 2004-02-16  André Pönitz  <poenitz@gmx.net>
1055
1056         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1057           insets/ChangeLog)
1058
1059         * cursor_slice.[Ch]: remove unneeded acessor function
1060
1061         * lyxtext.h: rename rtl() to isRTL()
1062
1063         * rowpainter.C:
1064         * tabular.C:
1065         * text.C:
1066         * text2.C:
1067         * text3.C: adjust
1068
1069 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1070
1071         * rowpainter.C (paintSelection): coord fix
1072
1073 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1074
1075         * Spacing.C: compile fix
1076
1077 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1078
1079         * cursor.C (dispatch): restore current_ before returning
1080
1081 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1082
1083         * text2.C (cursorUp, cursorDown): fix coords
1084         (moveUp): fix crash
1085
1086 2004-02-12  André Pönitz  <poenitz@gmx.net>
1087
1088         * lyxtext.h:
1089         * text.C:
1090         * text2.C:
1091         * text3.C: add LCursor & parameter to most cursor movement functions
1092           remove usage of LyXText::cursorRow() and cursorPar()
1093
1094         * cursor.[Ch]: add textRow() needed members
1095
1096         * BufferView.C:
1097         * BufferView_pimpl.C:
1098         * paragraph.[Ch]:
1099         * BufferView.C:
1100         * BufferView_pimpl.C: adjust
1101
1102 2004-02-11  André Pönitz  <poenitz@gmx.net>
1103
1104         * lyxfunc.C:
1105         * BufferView.[Ch]:
1106         * BufferView_pimpl.C: shift undo/redo handling
1107
1108         * cursor.[Ch]: fix mathed crash
1109
1110         * lyxfind.C:
1111         * lyxtext.h: move selectionAsText to LCursor
1112
1113         * output_latex.C:
1114         * paragraph.C:
1115         * text.C:
1116         * text2.C:
1117         * text3.C: adjust
1118
1119         * rowpainter.C: fix excessive drawing
1120
1121 2004-02-06  André Pönitz  <poenitz@gmx.net>
1122
1123         * BufferView.[Ch]:
1124         * BufferView_pimpl.[Ch]:
1125         * text3.C: move some text specific LFUN handling
1126
1127 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1128
1129         * text3.C (checkInsetHit): adjust coords
1130         * text2.C (getColumnNearX): adjust coords
1131         (edit): adjust coords
1132         * text.C (getRowNearY): add two asserts
1133
1134 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1135
1136         * converter.C:
1137         * format.C: add using std::distance to compile on gcc 2.95/stlport
1138
1139 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1140
1141         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1142
1143 2004-02-04  André Pönitz  <poenitz@gmx.net>
1144
1145         * BufferView.[Ch] (insertInset):
1146         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1147
1148         * text2.C:
1149         * text3.C: adjust
1150
1151 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1152
1153         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1154         on the default clause of the switch
1155         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1156         wasn't catched by LCursor::dispatch
1157
1158 2004-02-03  André Pönitz  <poenitz@gmx.net>
1159
1160         * BufferView.C:
1161         * cursor.[Ch]: some additional asserts
1162
1163         * undo.[Ch]: remove LyXText dependency in interface
1164
1165         * lyxfunc.C: adjust
1166
1167         * lyxtext.h (firstPar, lastPar): remove dead functions
1168
1169         * text.C:
1170         * text2.C:
1171         * text3.C:
1172         * paragraph.[Ch]: adjust
1173
1174 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1175
1176         * lyxfind.C (find): fix argument order in call to ::find
1177
1178 2004-02-02  André Pönitz  <poenitz@gmx.net>
1179
1180         * cursor.[Ch]: remove direct access to anchor
1181
1182         * text.C: remove findText() hack
1183
1184 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1185
1186         * iterators.[Ch] (lockPath): remove in favour of...
1187         * BufferView.[Ch] (setCursor): this addition
1188         * BufferView.C (putSelectionAt): adjust
1189         * undo.C (performUndoOrRedo): adjust
1190         * lyxfunc.C (dispatch): adjust
1191
1192 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1193
1194         * iterators.C (lockPath): add a missing slice
1195         * undo.C (performUndoOrRedo): remove redundant positioning code
1196
1197 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1198
1199         * vc-backend.C (scanMaster): ";" -> ';'
1200
1201 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1202
1203         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1204         std::binary_function
1205
1206         * lyxtextclass.C (compare_name): rename to...
1207         (LayoutNamesEqual): ...this
1208
1209         * lyxlex_pimpl.C (compare_tags): inherit from
1210         std::binary_function, put back into anon namespace
1211
1212         * lyxfind.C (MatchString): inherig from std::binary_function
1213         (findChange): use empty() istead of !size()
1214
1215         * format.C (FormatNamesEqual): new functor
1216         (getFormat): use it
1217         (getNumber): use it
1218         (add): use it
1219         (erase): use it
1220         (setViewer): use it
1221
1222         * converter.C (compare_Converter): rename to...
1223         (ConverterEqual): ...this, and fixup a bit.
1224         (getConverter): use it, and make function const
1225         (getNumber): use it, and make function const
1226         (add): use it
1227         (erase): use it:
1228
1229         * bufferlist.C: add using boost::bind
1230
1231         * MenuBackend.C (MenuNamesEqual): new functor
1232         (hasMenu): use it, and make function const
1233         (hasSubmenu): use nested bind to get rid of compare_memfun.
1234
1235 2004-01-30  André Pönitz  <poenitz@gmx.net>
1236
1237         * BufferView_pimpl.C:
1238         * cursor.C:
1239         * cursor.h:
1240         * cursor_slice.[Ch]:
1241         * lyxfunc.C:
1242         * lyxtext.h:
1243         * paragraph_funcs.C:
1244         * paragraph_funcs.h:
1245         * rowpainter.C:
1246         * text.C:
1247         * text2.C:
1248         * text3.C: move some of the edit(x,y) handling to the insets
1249         some coordinate changes.
1250
1251 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1252
1253         * text.C: add using statements for std::advance and std::distance
1254
1255         * paragraph.C: add using statement for std::distance
1256
1257         * lyxfind.C: add using statement for std::advance
1258
1259         * cursor.C (region): remove std:: from swap
1260         (openable): use nucleus in stead of operator->
1261
1262         * BufferView.C: add using statements for std::distance and std::swap
1263
1264 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1265
1266         * iterators.C: Remove the pimple, move the needed structures to
1267         the header file. Create accessor for the positions stack.
1268         (asPosIterator): remove function
1269
1270         * PosIterator.C (PosIterator): move constructors to top of file
1271         (PosIterator): reimplement the constructor taking a ParIterator in
1272         terms of setFrom.
1273         (setFrom): new function
1274         (operator!=): inline it
1275
1276 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1277
1278         * lyxfind.C (replaceAll): use std::advance
1279
1280         * iterators.h: inherit from std::iterator.
1281
1282         * PosIterator.C (advance, distance): remove
1283         * PosIterator.h: interit from std::iterator.
1284
1285 2004-01-26  André Pönitz  <poenitz@gmx.net>
1286
1287         * BufferView.[Ch]:
1288         * BufferView_pimpl.[Ch]:
1289         * InsetList.[Ch]:
1290         * PosIterator.[Ch]:
1291         * buffer.h:
1292         * bufferview_funcs.C:
1293         * cursor.[Ch]:
1294         * cursor_slice.h:
1295         * factory.[Ch]:
1296         * iterators.[Ch]:
1297         * lyxfind.C:
1298         * lyxfunc.C:
1299         * lyxtext.h:
1300         * output_docbook.C:
1301         * output_latex.C:
1302         * output_linuxdoc.C:
1303         * output_plaintext.C:
1304         * paragraph.[Ch]:
1305         * paragraph_funcs.[Ch]:
1306         * paragraph_pimpl.[Ch]:
1307         * rowpainter.C:
1308         * tabular.C:
1309         * tabular.h:
1310         * text.C:
1311         * text2.C:
1312         * text3.C: more IU:  dumps most of the rest of the mathcursor
1313     implementation into cursor.[Ch]; "globalize" a bit of it.
1314
1315 2004-01-25  Angus Leeming  <leeming@lyx.org>
1316
1317         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1318
1319 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1320
1321         * LaTeXFeatures.h: add nice_ and nice() const
1322         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1323
1324 2004-01-20  André Pönitz  <poenitz@gmx.net>
1325
1326         * BufferView.[Ch]:
1327         * BufferView_pimpl.C:
1328         * PosIterator.C:
1329         * bufferview_funcs.C:
1330         * cursor.[Ch]:
1331         * cursor_slice.[Ch]:
1332         * factory.C:
1333         * iterators.C:
1334         * lyx_cb.C:
1335         * lyxfind.C:
1336         * lyxfunc.C:
1337         * lyxtext.h:
1338         * rowpainter.C:
1339         * text.C:
1340         * text2.C:
1341         * text3.C:
1342         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1343           LCursor and mathcursor parts to LCursor and InsetBase.
1344
1345 2004-01-15  André Pönitz  <poenitz@gmx.net>
1346
1347         * cursor_slice.[Ch]: add a few covienience functions
1348
1349         * funcrequest.[Ch]: remove BufferView * member
1350
1351         * BufferView_pimpl.C:
1352         * cursor.C:
1353         * factory.[Ch]:
1354         * lyxfind.[Ch]:
1355         * lyxfunc.C:
1356         * lyxtext.h:
1357         * text3.C:
1358         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1359
1360 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1361
1362         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1363         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1364
1365 2004-01-13  André Pönitz  <poenitz@gmx.net>
1366
1367         * textcursor.[Ch]:
1368         * lyxtext.h: hide cursor and selection anchor behind accessor function
1369
1370         * BufferView.C:
1371         * BufferView_pimpl.[Ch]:
1372         * PosIterator.C:
1373         * bufferview_funcs.C:
1374         * cursor.h:
1375         * lyxfind.C:
1376         * lyxfunc.C:
1377         * text.C:
1378         * text2.C:
1379         * text3.C:
1380         * undo.C: adjust
1381
1382         * cursor.h:
1383         * cursor_slice.[Ch]: some integer type changes for inset unification
1384
1385         * lyxcursor.[hC]: remove, it's CursorSlice now.
1386
1387         * Makefile.am:
1388         * BufferView_pimpl.[Ch]:
1389         * bufferview_funcs.C:
1390         * cursor_slice.C:
1391         * lyxtext.h:
1392         * text.C:
1393         * text2.C:
1394         * text3.C:
1395         * textcursor.[Ch]: adjust
1396
1397 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1398
1399         * text2.C (undoSpan): add and use
1400         * text.C (breakParagraph): use undoSpan (fix bug 578)
1401         * lyxtext.h: adjust
1402
1403 2004-01-08  Angus Leeming  <leeming@lyx.org>
1404
1405         * BufferView_pimpl.C (MenuInsertLyXFile):
1406         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1407         * lyxfunc.C (menuNew, open, doImport):
1408         FileFilterList change to the FileDialog open and save functions.
1409
1410 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1411
1412         * ShareContainer.h: make isEqual and isUnique adaptable
1413
1414         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1415
1416 2004-01-07  Angus Leeming  <leeming@lyx.org>
1417
1418         * LyXAction.C:
1419         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1420
1421         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1422
1423         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1424         functions replacing find, replace and replaceAll.
1425
1426         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1427         LFUN_WORDFIND(FORWARD|BACKWARD).
1428
1429 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1430
1431         * text.C (breakParagraph): remove an outdated #warning
1432
1433 2004-01-07  André Pönitz  <poenitz@gmx.net>
1434
1435         * lyxfind.C: somewhat clearer logic
1436
1437         * text.C: prevent crash in cursorX on unitialized row cache
1438
1439 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1440
1441         * lyxcursor.[Ch] (operator>): add
1442         * textcursor.C (selStart, selEnd): use std::min and std::max
1443
1444 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1445
1446         * Chktex.C: include boost/format.hpp
1447
1448 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1449
1450         * InsetList.C: replace functor MathcIt with adaptable functor
1451         InsetTablePosLess
1452         (insetIterator): modify accordingly
1453
1454         * BranchList.h: move the BranchNamesEqual functor here from...
1455         * BranchList.C: ... to here
1456
1457         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1458         SameName and match.
1459         (add): replace a finding loop with std::find_if.
1460
1461 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1462
1463         * output_docbook.C: moving LatexParam functionality into
1464         .layout files
1465
1466 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1467
1468         * buffer.C: increment format to 229.
1469
1470 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1471
1472         * LaTeXFeatures.C:
1473         * lyx_sty.[Ch]: remove minipageindent_def
1474
1475         * LyXAction.C:
1476         * factory.C:
1477         * lfuns.h:
1478         * lyxfunc.C:
1479         * text3.C: remove LFUN_INSET_MINIPAGE
1480
1481 2003-12-28  Angus Leeming  <leeming@lyx.org>
1482
1483         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1484
1485 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1486
1487         * text2.C (setParagraph): fix off-by-one crash
1488
1489 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1490
1491         * output_docbook.C: header stuff for AGU
1492
1493 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1494
1495         * text2.C (redoCursor): remove
1496         * text.C:
1497         * text3.C:
1498         * BufferView_pimpl.C: remove calls to redoCursor and
1499         setCursor(cursor.par(), cursor.pos()) all around
1500
1501 2003-12-15  Angus Leeming  <leeming@lyx.org>
1502
1503         * buffer.C: up the format to 228.
1504
1505 2003-12-15  André Pönitz  <poenitz@gmx.net>
1506
1507         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1508         slices
1509
1510         * Makefile.am:
1511
1512         * BufferView_pimpl.C:
1513         * cursor.[Ch]:
1514         * lyxcursor.[Ch]:
1515         * rowpainter.[Ch]:
1516         * lyxtext.h:
1517         * text.C:
1518         * text2.C:
1519         * text3.C: adjust
1520
1521 2003-12-15  Angus Leeming  <leeming@lyx.org>
1522
1523         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1524         than getFromGUIName to manipulate the color.
1525
1526 2003-12-14  Angus Leeming  <leeming@lyx.org>
1527
1528         * BranchList.[Ch]: minimize the API.
1529         (Branch::getBranch, getColor): now return a 'const &'.
1530         (Branch::setSelected) now returns a bool set to true if the
1531         selection status changes.
1532         (BranchList::clear, size, getColor, setColor, setSelected,
1533         allBranches, allSelected, separator): removed.
1534         (BranchList::find): new functions, returning the Branch with
1535         the given name.
1536         (BranchList::add, remove): return a bool indicating that
1537         the operation was successful.
1538
1539         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1540         new InsetBranch::isBranchSlected member function.
1541
1542         * LColor.[Ch]: mimimize the API.
1543         (fill): renamed as addColor and made private.
1544         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1545         versions of these functions taking a string arg have been removed.
1546
1547         * bufferparams.C (readToken):
1548         * lyxfunc.C (dispatch):
1549         * lyxrc.C (read): changes due to the altered BranchList and
1550         LColor APIs.
1551
1552         * factory.C (createInset, readInset): changes due to altered
1553         InsetBranch c-tor.
1554
1555 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1556
1557         * factory.C:
1558         * lyxfunc.C: remove insetminipage. "minipage-insert"
1559         now produces a frameless minipage box inset.
1560
1561 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1562
1563         * textcursor.[Ch] (selStart,selEnd): add new methods
1564         remove selection::start, end, use LyXCursor::operator<
1565         * lyxcursor.[Ch] (operator<): add
1566         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1567         * BufferView.[Ch] (unsetXSel): add
1568         * text2.C (clearSelection): use unsetXSel,adjust
1569         * text.C: adjust
1570         * text3.C: adjust
1571         * rowpainter.C: adjust
1572         * bufferview_funcs.C (put_selection_at): adjust
1573
1574 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1575
1576         * BufferView_pimpl.C: small coord. correction
1577
1578 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1579
1580         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1581         dragging over the splash screen.
1582
1583 2003-12-11  Angus Leeming  <leeming@lyx.org>
1584
1585         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1586         as it is now handled in LyXText::dispatch.
1587
1588         * text3.C (doInsertInset): remove a level of nesting.
1589
1590 2003-12-11  Angus Leeming  <leeming@lyx.org>
1591
1592         * factory.C (createInset): changes due to the changed interface to
1593         InsetCommandMailer::string2params.
1594
1595 2003-12-10  Angus Leeming  <leeming@lyx.org>
1596
1597         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1598         'dialog-show-new-inset <inset name>'
1599
1600 2003-12-10  Angus Leeming  <leeming@lyx.org>
1601
1602         * buffer.C: up the format to 227.
1603
1604         * factory.C: the box inset is now identified simply by 'Box'.
1605
1606 2003-12-10  Angus Leeming  <leeming@lyx.org>
1607
1608         * buffer.C: up the format to 226.
1609
1610         * factory.C: the note inset is now identified simply by 'Note'.
1611
1612 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1613
1614         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1615         when a pit is enough. Standarize a couple of loops.
1616
1617 2003-12-05  Angus Leeming  <leeming@lyx.org>
1618
1619         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1620         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1621         data to the re-worked "log" dialog.
1622
1623 2003-12-03  André Pönitz  <poenitz@gmx.net>
1624
1625         * PosIterator.C:
1626         * iterators.C:
1627         * lyxtext.h:
1628         * output_latex.C:
1629         * paragraph_funcs.C:
1630         * text.C:
1631         * text2.C: use Inset::getText instead of Inset::getParagraph
1632
1633 2003-12-03  André Pönitz  <poenitz@gmx.net>
1634
1635         * buffer.[Ch]:
1636         * lyxtext.h:
1637         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1638         InsetText::read() as LyXText::read()
1639
1640 2003-12-02  Angus Leeming  <leeming@lyx.org>
1641
1642         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1643         type. Add a comment in the implementation that the function uses
1644         the stream's bad() function rather than fail() as the std::streams
1645         would do.
1646
1647 2003-12-02  André Pönitz  <poenitz@gmx.net>
1648
1649         * lyxlex.[Ch]: make interface more similar to std::stream
1650
1651         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1652
1653 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1654
1655         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1656
1657 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1658
1659         * vspace.[Ch]: remove VSpace::NONE
1660
1661 2003-12-01  André Pönitz  <poenitz@gmx.net>
1662
1663         * buffer.[Ch]:
1664         * lyxtext.h: move ParagraphList member to LyXText
1665         rename LyXText::ownerParagraphs to LyXText::paragraph
1666
1667         * CutAndPaste.C:
1668         * bufferview_funcs.C:
1669         * iterators.[Ch]:
1670         * lyx_cb.C:
1671         * paragraph.C:
1672         * rowpainter.C:
1673         * tabular.C:
1674         * text.C:
1675         * text2.C:
1676         * text3.C: adjust
1677
1678         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1679
1680         * undo.C: fix cursor positioning
1681
1682 2003-12-01  John Levon  <levon@movementarian.org>
1683
1684         * BufferView_pimpl.C: fix a crash on exit with
1685         a buffer open
1686
1687 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1688
1689         * BranchList.C: fix setSelected() method.
1690
1691 2003-11-28  André Pönitz  <poenitz@gmx.net>
1692
1693         * ParagraphParameters.[Ch]:
1694         * ParameterStruct.h: remove space above/below from Paragraph to
1695          InsetVSpace
1696
1697         * BufferView_pimpl.C:
1698         * factory.C:
1699         * lyxfunc.C:
1700         * lyxtext.h:
1701         * output_latex.C:
1702         * paragraph.C:
1703         * paragraph_funcs.C:
1704         * rowpainter.[Ch]:
1705         * text.C:
1706         * text2.C:
1707         * text3.C: adjust
1708
1709 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1710
1711         * factory.C: Syntax change for CharStyles
1712
1713 2003-11-28  André Pönitz  <poenitz@gmx.net>
1714
1715         * BufferView.[Ch]:
1716         * BufferView.[Ch]:
1717         * buffer.[Ch]:
1718         * buffer.[Ch]: move LyXText member
1719
1720 2003-11-28  André Pönitz  <poenitz@gmx.net>
1721
1722         * BufferView.[Ch]: make LyXText * text a private member
1723
1724         * BufferView_pimpl.C:
1725         * cursor.C:
1726         * iterators.C:
1727         * lyx_cb.C:
1728         * lyxfind.C:
1729         * lyxtext.h:
1730         * rowpainter.[Ch]:
1731         * text.C:
1732         * text2.C:
1733         * undo.C: adjust
1734
1735         * output_plaintext.C: cleanup
1736
1737 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1738
1739         * buffer.C:
1740         * lyxtextclass.[Ch]: parametrize SGML document header
1741
1742 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1743
1744         * converter.[Ch]:
1745         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1746         getFlavor().
1747
1748 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1749
1750         * text2.C (setFont): rework using PosIterator (no more recursive)
1751         (setCharFont): no more needed
1752         (setLayout): no more selection cursors fiddling (done by redoCursor)
1753         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1754         destroy remaining ones)
1755
1756 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1757
1758         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1759         * lyxtext.h: ditto
1760         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1761         selection cursors
1762         * lyxfunc.C: adjust
1763         * text3.C: adjust + re-allow multi par depth changes
1764         * textcursor.C: simplify a bit
1765
1766 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1767
1768         * src/buffer.C:
1769         * src/lyxlayout.C:
1770         * src/lyxlayout.h:
1771         * src/lyxtext.h:
1772         * src/output_docbook.C:
1773         * src/output_latex.C:
1774         * src/paragraph.C:
1775         * src/paragraph.h:
1776         * src/sgml.C:
1777         * src/sgml.h:
1778         * src/text2.C: Introducing a number of tags parametrizing various
1779         XML formats that we may want to support
1780
1781 2003-11-25  André Pönitz  <poenitz@gmx.net>
1782
1783         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1784
1785         * lyxtext.h (leftMargin/rightMargin): simplify interface
1786
1787         * rowpainter.C:
1788         * text.C:
1789         * text2.C:
1790         * text3.C: adjust
1791
1792 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1793
1794         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1795         master file to any child files. Fixes bug 546.
1796
1797 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1798
1799         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1800
1801 2003-11-24  André Pönitz  <poenitz@gmx.net>
1802
1803         * rowpainter.C: simplification
1804
1805         * text2.C (updateCounters): remove call to redoParagraph on
1806         changed labels as this is far too expensive.
1807
1808 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1809
1810         * converter.C (convert): fix a crash: this function gets
1811         called with buffer == 0 from importer code.
1812
1813 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1814
1815         * text3.C (cursorPrevious): make sure that we do not compare
1816         iterators form different containers.
1817         (cursorNext): ditto
1818
1819         * rowpainter.C (paintSelection): make sure that we do not compare
1820         iterators from different containers.
1821
1822         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1823         iterators from different ParagraphList containers.
1824         [NEXT] ditto
1825
1826         * text2.C (LyXText): change order of initialization slightly
1827         (operator=): new function. copy all variables except cache_par_
1828         (moveUp): make sure that we do not compare iterators from
1829         different ParagraphList constainers.
1830         (moveDown): ditto
1831
1832         * text.C (firstPar): new function
1833         (lastPar): new function
1834         (endPar): new function
1835
1836         * lyxtext.h: move things around and group public functions, public
1837         variables, private functions, private variables
1838
1839 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1840
1841         * factory.C: change call to InsetERT constructor to avoid
1842         additional invocation of method status
1843         * text2.C (toggleInset): remove redundant update() call
1844         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1845         instead of a Bufferview pointer
1846
1847 2003-11-21  André Pönitz  <poenitz@gmx.net>
1848
1849         * rowpainter.C: simplification
1850
1851 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1852
1853         * text3.C (dispatch): make possible to extend a word/row selection
1854         with the mouse
1855
1856 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1857
1858         * lyxtext.h: x0_,y0_ -> xo_,yo_
1859         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1860         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1861         * rowpainter.C (paintRows): paint full paragraphs
1862
1863 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1864
1865         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1866         screen coordinates)
1867
1868 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1869
1870         * lyxtext.h: add x0_, y0_
1871         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1872         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1873
1874 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1875
1876         * text2.C (setCursorIntern): move the x_target update here *
1877         * text3.C: change some bv() to true/false in calls to
1878         cursorUp/Down/Right/Left
1879         * cursor.C: use helper function.
1880
1881 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1882
1883         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1884         * paragraph_funcs.[Ch]: correct comment
1885         * rowpainter.C: do not paint selections away from bv->cursor()
1886         Fix a long standing selection painting bug.
1887         * text3.C: generalize mouse-selection code to LyXTexts other that
1888         top one
1889         * textcursor.C: do not use y coords if we can use par offsets
1890
1891 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1892
1893         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1894         cursor position after e.g. inset insert)
1895
1896 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1897
1898         * lyxfind.C (replace): adjust to locking removal + some
1899         code simplification
1900
1901 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1902
1903         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1904         of the path
1905
1906 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1907
1908         * lyxlayout.[Ch]:
1909         * output_docbook.C: XML sanitation: new layout
1910         parameters InnerTag and CommandDepth
1911
1912 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1913
1914         * BufferView_pimpl.C:
1915         * factory.C:
1916         * text3.C: Fix the insertion and modification of button-style
1917         insets
1918
1919 2003-11-13  André Pönitz  <poenitz@gmx.net>
1920
1921         * InsetList.[Ch]: remove deleteLyXText
1922
1923         * paragraph.[Ch]: cache beginOfBody position
1924
1925         * Bidi.C:
1926         * text.C:
1927         * text2.C:
1928         * text3.C: remove superfluous update() calls
1929
1930         * vspace.C: cleanup
1931
1932 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1933
1934         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1935         * BufferView.C (fitLockedInsetCursor): remove
1936         * cursor.[Ch] (getDim): add
1937         * text.C (getRowNearY): add faster version
1938         * text3.C: remove some update calls
1939
1940 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1941
1942         * LaTeXFeatures.C:
1943         * LyXAction.C:
1944         * MenuBackend.C:
1945         * MenuBackend.h:
1946         * dispatchresult.h:
1947         * factory.C:
1948         * lfuns.h:
1949         * lyxfunc.C:
1950         * lyxtextclass.C:
1951         * lyxtextclass.h:
1952         * text3.C: The Character Style /XML short element patch.
1953
1954 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1955
1956         * text3.C:
1957         * factory.C: Small step to solving 'unable to insert some insets'
1958         problem
1959
1960 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1961
1962         * cursor.[Ch] (updatePos): new function for updating the y
1963         position of the tip inset
1964         * bufferview_funcs.C (put_selection_at):
1965         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1966
1967 2003-11-11  André Pönitz  <poenitz@gmx.net>
1968
1969         * text.C: remove big comment on invalid Paragraph pointers as it is
1970         not valid anymore
1971
1972 2003-11-11  André Pönitz  <poenitz@gmx.net>
1973
1974         * text_funcs.[Ch]: merge with ...
1975
1976         * text.C: ... this
1977
1978         * lyxtext.h:
1979         * text2.C:
1980         * text3.C: adjust
1981
1982         * Makefile.am: remove text_funcs.[Ch]
1983
1984 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1985
1986         * cursor.C (getPos): return absolute cached y coord
1987
1988         * BufferView_pimpl.C (fitCursor): new simplistic code
1989         (workAreaDispatch): add a fitCursor call
1990
1991 2003-11-10  André Pönitz  <poenitz@gmx.net>
1992
1993         * BufferView.[Ch]:
1994         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1995
1996 2003-11-10  André Pönitz  <poenitz@gmx.net>
1997
1998         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1999         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2000         indicate that the cursor needs to leave an inset
2001
2002         * lyxtext.h: remove inset locking
2003
2004         * cursor.[Ch]: re-implement functionality provided by inset locking
2005
2006         * BufferView.[Ch]:
2007         * BufferView_pimpl.[Ch]:
2008         * LyXAction.C:
2009         * bufferview_funcs.[Ch]:
2010         * factory.C:
2011         * funcrequest.[Ch]:
2012         * iterators.C:
2013         * lyx_cb.C:
2014         * lyxfind.C:
2015         * lyxfunc.C:
2016         * text.C:
2017         * text2.C:
2018         * text3.C:
2019         * undo.C: adjust
2020
2021 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2022
2023         * PosIterator.[Ch]: replace the stack with a vector, add inset
2024         accesor
2025         * iterators.[C]: adjust
2026
2027 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2028
2029         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2030         replaced
2031         * paragraph_funcs.C (readParToken): put the correct id in the
2032         error item, not the id of the top paragraph
2033
2034 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2035
2036         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2037         * bufferview_funcs.C (put_selection_at): use the above
2038
2039 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2040
2041         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2042
2043 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2044
2045         * output_linuxdoc.h:
2046         * output_plaintext.h:
2047         * output.h:
2048         * output_docbook.h: add #include statements
2049
2050 2003-11-05  José Matos  <jamatos@lyx.org>
2051
2052         * output_docbook.[Ch]:
2053         * output_latex.[Ch]:
2054         * output_linuxdoc.[Ch]:
2055         * output_plaintext.[Ch]: New files for output formats.
2056         * output.[Ch]: New file for helper functions.
2057
2058         * buffer.[Ch]:
2059         * paragraph_funcs.[Ch]: output functions moved to new files.
2060
2061         * outputparams.h: rename of latexrunparams.h
2062
2063         * LaTeX.[Ch]:
2064         * buffer.[Ch]:
2065         * bufferlist.[Ch]:
2066         * converter.[Ch]:
2067         * exporter.C:
2068         * paragraph.[Ch]:
2069         * paragraph_funcs.[Ch]:
2070         * paragraph_pimpl.[Ch]:
2071         * tabular.[Ch]: rename ascii to plaintext
2072         and LatexRunParams to OutputParams.
2073
2074 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2075
2076         * iterators.[Ch] (text): require bv argument
2077         * undo.C (recordUndo):
2078         * lyxfunc.C (dispatch):
2079         * bufferview_funcs.C (put_selection_at): adjust
2080
2081 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2082
2083         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2084
2085 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2086
2087         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2088         nestings
2089
2090 2003-11-04  André Pönitz  <poenitz@gmx.net>
2091
2092         * cursor.[Ch]: restructure
2093
2094         * BufferView.[Ch]:
2095         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2096
2097         * iterators.[Ch] (asCursor): remove
2098
2099         * lfuns.h: remove LFUN_INSET_EDIT
2100
2101         * lyxfunc.C:
2102         * tabular.C:
2103         * text.C:
2104         * text2.C:
2105         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2106
2107 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2108
2109         * lyxfind.[Ch]: complete overhaul
2110         * BufferView_pimpl.C:
2111         * lyxfunc.C: adjust
2112         * paragraph.[Ch] (insert): add
2113
2114 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2115
2116         * BufferView.[Ch]:
2117         * lyxtext.h:
2118         * text.C: remove dead spellcheck code
2119
2120 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2121
2122         * dispatchresult.h: add a val setter
2123
2124         * cursor.C (dispatch): use a tempvar for data_[i]
2125
2126 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2127
2128         * PosIterator.[Ch]: compile fix
2129
2130 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2131
2132         * text.C (cursorPar): deactivate the cursor cache
2133
2134 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2135
2136         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2137
2138 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2139
2140         * text3.C (dispatch): adjust for new DisptchResult semantics.
2141
2142         * lyxfunc.C (dispatch): handle update when return from
2143         Cursor::dispatch, adjust for new DispatchResult semantics.
2144
2145         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2146         DispatchResult(true) mean to not update. Add class functions for
2147         setting dispatched and update, as well as reading.
2148
2149         * cursor.C (dispatch): don't handle update here
2150
2151 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2152
2153         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2154         * trans_mgr.C: adjust
2155
2156         * paragraph_funcs.C (readParToken): exception safety
2157
2158         * lyxvc.h: store the vcs pointer in a scoped_ptr
2159         * lyxvc.C: adjust
2160
2161         * lyxsocket.C (serverCallback): exception safety
2162
2163         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2164
2165         * ispell.C (clone): make it return a auto_ptr
2166
2167         * factory.C (createInset): exception safety
2168         (readInset): exception safety
2169
2170         * bufferlist.C (newBuffer): exception safety
2171
2172         * Thesaurus.C (Thesaurus): use initialization for aik_
2173
2174         * MenuBackend.C (expandToc): exception safety.
2175
2176 2003-11-03  André Pönitz  <poenitz@gmx.net>
2177
2178         * buffer.C:
2179         * buffer.h:
2180         * bufferview_funcs.C: remove getInsetFromId()
2181
2182         * lyxcursor.[Ch]:
2183         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2184
2185         * lyxfunc.C:
2186         * text2.C:
2187         * text3.C: adjust
2188
2189 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2190
2191         * PosIterator.C (distance, advance): new
2192         * bufferview_funcs.[Ch] (put_selection_at): new
2193         * iterators.[Ch] (lockPath): new
2194
2195 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2196
2197         * iterators.[Ch] (asPosIterator): added
2198         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2199         * PosIterator.[Ch]: added
2200
2201 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2202
2203         * text3.C:
2204         * lyxfunc.C:
2205         * cursor.C (dispatch):
2206         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2207
2208         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2209         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2210         contructor, add a class function dispatched. Remove operator>=
2211
2212 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2213
2214         * debug.C: only use the default constructor for debugstream
2215         (lyxerr) here.
2216
2217         * main.C (main): include debug.h and setup the lyxerr streambuf
2218         here.
2219
2220 2003-10-31  José Matos  <jamatos@lyx.org>
2221
2222         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2223
2224         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2225         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2226         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2227         * paragraph_pimpl.C (simpleTeXSpecialC):
2228         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2229         add LatexRunParams argument.
2230
2231         * exporter.C (Export): change call accordingly.
2232
2233         * latexrunparams.h: add new member to take care of the other backends.
2234 2003-10-30  José Matos  <jamatos@lyx.org>
2235
2236         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2237         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2238         factorise code for paragraph output.
2239         * buffer.[Ch]:
2240         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2241         move functions.
2242
2243 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2244
2245         * text3.C (dispatch):
2246         * lyxfunc.C (dispatch):
2247         * cursor.C (dispatch):
2248         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2249
2250         * dispatchresult.h: make the dispatch_result_t ctor explicit
2251
2252 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2253
2254         * sgml.[Ch]:
2255         * buffer.C: small refactoring of docbook stuff
2256
2257 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2258
2259         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2260         meaning.
2261
2262 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2263
2264         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2265         operator dispatch_result_t, and operators for == != and >=
2266
2267         * cursor.C (dispatch): adjust for operator dispatch_result_t
2268         removal. comment out call to update
2269
2270         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2271
2272 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2273
2274         * text3.C:
2275         * text2.C:
2276         * text.C:
2277         * lyxtext.h:
2278         * lyxfunc.C:
2279         * cursor.C:
2280         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2281         (dispatch):
2282
2283         * dispatchresult.h: new file, DispatchResult broken out of
2284         insets/insetbase.h
2285
2286         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2287
2288 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2289
2290         * text.C (rowBreakPoint): put a hack inside #if 0
2291
2292 2003-10-28  André Pönitz  <poenitz@gmx.net>
2293
2294         * lyxtext.h:
2295         * metricsinfo.C:
2296         * paragraph_funcs.C:
2297         * rowpainter.C:
2298         * text.C:
2299         * text2.C: general cleanup (lots of small stuff)
2300
2301 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2302
2303         * text2.C (cursorEnd): simple fix to the "end key goes to one
2304         before the end on last row" bug
2305
2306 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2307
2308         * text.C (backspace): fix the "zombie characters"
2309
2310 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2311
2312         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2313
2314 2003-10-27  André Pönitz  <poenitz@gmx.net>
2315
2316         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2317
2318         * factory.C: handle new InsetPagebreak, InsetLine
2319
2320         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2321         and move handling into new InsetPagebreak, InsetLine
2322
2323         * BufferView_pimpl.C:
2324         * LyXAction.C:
2325         * ParagraphParameters.C:
2326         * ParameterStruct.h:
2327         * lyxfunc.C:
2328         * lyxtext.h:
2329         * paragraph.C:
2330         * paragraph.h:
2331         * paragraph_funcs.C:
2332         * paragraph_pimpl.C:
2333         * rowpainter.C:
2334         * text.C:
2335         * text2.C:
2336         * text3.C: adjust
2337
2338 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2339
2340         * text.C:
2341         * lyxrow_funcs.[Ch]:
2342         * Bidi.C:
2343         * paragraph.C:
2344         * lyxtext.h:
2345         * rowpainter.C:
2346         * text2.C:
2347         * text3.C: remove lastPos uses in favour of Row::endpos
2348
2349 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2350
2351         * undo.C (performUndoOrRedo): fix two crashes by setting a
2352         cursor by hand and reordering some calls. Use bv->lockInset instead
2353         of inset->edit because the latter loses cursor information
2354
2355 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2356
2357         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2358         by Martin
2359         (rowBreakPoint): fix width. change point to point + 1.
2360         Add a missing check.
2361
2362 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2363
2364         * MenuBackend.C:
2365         * lyxfunc.C: fix (at least partly) the problems
2366         with the Nav menu and headers inside branch insets
2367         reported by Kayvan
2368
2369 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2370
2371         * paragraph.C (getChar): add strong asserts
2372
2373         * lyxrow_funcs.C (lastPos): remove hideous hack
2374
2375         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2376         (fill): adjust to that (avoid an infinite loop)
2377
2378 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2379
2380         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2381
2382 2003-10-23  André Pönitz  <poenitz@gmx.net>
2383
2384         * RowList_fwd.h: change list<> to vector<> to gain speed
2385         after suggestion from Alfredo
2386
2387 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2388
2389         * lyxtext.h: move the bidi stuff from here...
2390         * text.C: and here
2391         * text2.C: and here
2392         * Bidi.[Ch]: ... to here
2393
2394 2003-10-23  André Pönitz  <poenitz@gmx.net>
2395
2396         * lyxtext.h:
2397         * text.C (isLastRow, isFirstRow): new functions
2398
2399         * paragraph.h: new width cache member
2400
2401         * rowpainter.C: replace RowList::iterator with Row & where possible
2402
2403         * lyxfunc.C: replace several view()->text with a single call
2404
2405         * toc.C: fix 'unused' warning
2406
2407 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2408
2409         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2410         when woring with stream::pos_type
2411         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2412
2413 2003-10-22  André Pönitz  <poenitz@gmx.net>
2414
2415         * lyxtext.h:
2416         * text.C: use Row & instead of RowList::iterator
2417
2418         * lyxrow.h: rename end() to endpos()
2419
2420         * rowpainter.C:
2421         * text.C:
2422         * text2.C: adjust
2423
2424 2003-10-22  Angus Leeming  <leeming@lyx.org>
2425
2426         * buffer.[Ch] (fully_loaded): new member function, returning true
2427         only when the file has been loaded fully.
2428         Used to prevent the premature generation of previews and by the
2429         citation inset to prevent computation of the natbib-style label.
2430
2431         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2432         templates are all set up.
2433
2434         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2435
2436 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2437
2438         * text.C: fixed an "oops" in the "is a bit silly"
2439         bug fix
2440
2441 2003-10-21  André Pönitz  <poenitz@gmx.net>
2442
2443         * FuncStatus.[Ch]: small stuff, whitespace
2444
2445         * lyxfont.[Ch]: operator<<() for debug reasons
2446
2447         * lyxfunc.C:
2448         * lyxrow_funcs.C:
2449         * lyxtext.h: whitespace, spelling
2450
2451         * paragraph.C: naming of variables
2452
2453         * text.C:
2454         * text2.C: small stuff
2455
2456
2457 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2458
2459         * text.C: (1) finish off the inset display() work;
2460         (2) fix the "is a bit silly" bug (accessing char
2461         past end of par).
2462
2463 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2464
2465         * text.C: re-introduce display() for insets, fixing the
2466         various bugs (stretch of line above, math inset
2467         positioning, ...)
2468
2469 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2470
2471         * text.C (rightMargin): remove spurious semicolon
2472
2473         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2474         1415)
2475
2476 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2477
2478         * text3.C: fix one crash due to wrong cursor def
2479
2480 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2481
2482         * vc-backend.C (scanMaster): make the regex static
2483
2484         * LaTeX.C (scanAuxFile): make the regexs static
2485
2486         * text3.C (doInsertInset, dispatch, dispatch):
2487         * text2.C (cursorUp, cursorDown):
2488         * text.C (selectNextWordToSpellcheck):
2489         * BufferView_pimpl.C (dispatch):
2490         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2491
2492 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2493
2494         * lyxsocket.C: include <cerrno>
2495
2496 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2497
2498         * lyxfunc.C (dispatch): remove textcache stuff
2499
2500         * bufferlist.C (release): remove textcache stuff
2501         (closeAll): ditto
2502
2503         * TextCache.C: delete file
2504         * TextCache.h: delete file
2505
2506         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2507
2508         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2509         delete of the bv_->text.
2510         (resizeCurrentBuffer): remove texcache stuff
2511         (workAreaResize): ditto
2512
2513 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2514
2515         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2516         action.
2517
2518 2003-10-16  André Pönitz  <poenitz@gmx.net>
2519
2520         * lyxrow.[Ch]:
2521         * paragraph.h:
2522         * rowpainter.C:
2523         * text.C:
2524         * text2.C:
2525         * text3.C: speed up by storing y positions per paragraph plus per-row
2526         offset instead of having a 'full' y position in the row.
2527
2528 2003-10-15  André Pönitz  <poenitz@gmx.net>
2529
2530         * iterators.[Ch]:
2531         * iterators.[Ch]:
2532         * undo.[Ch]: make undo aware of inner insets
2533
2534 2003-10-14  Angus Leeming  <leeming@lyx.org>
2535
2536         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2537         static member functions LyX::ref() and LyX::cref.
2538         (lastfiles): new accessor functions for the new lastfiles_ member var.
2539         (addLyXView, views_): add a new LyXView to the list of views_.
2540         (updateInset): loop over all LyXViews to call their own updateInset
2541         member function, returning a pointer to the Buffer owning the inset.
2542
2543         * BufferView_pimpl.C (loadLyXFile):
2544         * MenuBackend.C (expandLastfiles):
2545         * bufferlist.C (MenuWrite, QuitLyX):
2546         lastfiles is no longer a global variable.
2547         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2548
2549         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2550         static function. Access through LyX::cref().emergencyCleanup().
2551
2552 2003-10-14  André Pönitz  <poenitz@gmx.net>
2553
2554         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2555
2556         * undo.[Ch]: restoring part of 'undo in insets'
2557
2558         * Makefile.am:
2559         * undo_funcs.[Ch]: merge with undo.[Ch]
2560
2561         * tabular.C: small cleansing stuff
2562
2563 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2564
2565         * paragraph_funcs.C (readParToken): report unknown insets as error
2566         boxes. Use the outer paragraph as location (also for unknown
2567         tokens).
2568
2569         * factory.C (readInset): do not abort on reading an unknown inset.
2570         Eat it and return 0.
2571
2572 2003-10-13  Angus Leeming  <leeming@lyx.org>
2573
2574         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2575
2576         * lyxrc.C: displayTranslator is now a function,
2577         declared in GraphicsTypes.h.
2578
2579 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2580
2581         * format.C: new placeholder $$a to pass the socket address.
2582
2583         * bufferlist.[Ch]: new function getBufferFromTmp.
2584
2585         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2586           files in the temporary dir.
2587
2588 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2589
2590         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2591
2592         * Makefile.am: add lyxsocket.[Ch].
2593
2594         * lyx_main.C (error_handler): handle SIGPIPE.
2595
2596 2003-10-13  André Pönitz  <poenitz@gmx.net>
2597
2598         * BufferView_pimpl.C:
2599         * lyxtext.h:
2600         * text.C:
2601         * text2.C:
2602         * text3.C:
2603         * undo_funcs.[Ch]: use paroffset_type instead of
2604           ParagraphList::iterators to prevent multiple conversion
2605           (and get a more robust interface)
2606
2607 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2608
2609         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2610         * lyxtext.h: ditto
2611         * text3.C (dispatch): ditto
2612
2613 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2614
2615         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2616         move the onlyfile, use onlyfile instead of foundfile in a couple
2617         of places.
2618
2619         * DepTable.C (update): flush the error stream a bit more
2620
2621 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2622
2623         * lyxserver.C (callback): adjust
2624
2625         * lyxfunc.C (getStatus): add a missing brace in commented code
2626         (ensureBufferClean): reindent
2627         (dispatch): delete version taking a string
2628
2629 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2630
2631         * LaTeX.C (deplog): move found file handlig from here...
2632         (handleFoundFile): .. to new function here.
2633         (deplog): make sure to discover several files mentioned on the
2634         same log line.
2635
2636 2003-10-10  André Pönitz  <poenitz@gmx.net>
2637
2638         * lyxfunc.C:
2639         * lyxtext.h:
2640         * tabular.C:
2641         * text.C:
2642         * text2.C:
2643         * text3.C: fix some of the tabular crashes
2644
2645 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2646
2647         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2648
2649         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2650
2651 2003-10-09  André Pönitz  <poenitz@gmx.net>
2652
2653         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2654
2655         * BufferView.C:
2656         * BufferView_pimpl.C:
2657         * bufferview_funcs.C:
2658         * lyx_cb.C:
2659         * lyxcursor.C:
2660         * lyxfind.C:
2661         * lyxfunc.C:
2662         * lyxtext.h:
2663         * text.C:
2664         * text2.C:
2665         * text3.C:
2666         * text_funcs.[Ch]:
2667         * textcursor.[Ch]:
2668         * undo_funcs.C: adjust
2669
2670 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2671
2672         * text2.C (incrementItemDepth): new function, use a backtracking
2673         algorithm to discover the correct item depth.
2674         (resetEnumCounterIfNeeded): new function, use a backtracking
2675         algorithm to discover if counter reset is needed.
2676         (setCounter): use them. Simplify a bit. Add different labels for
2677         different item depths for itemize.
2678
2679         * paragraph.C (Paragraph): remove initialization of enumdepth
2680         (operator=): ditto
2681
2682         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2683         enumerate and itemize. Change the type of itemdepth to signed char.
2684
2685 2003-10-08  André Pönitz  <poenitz@gmx.net>
2686
2687         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2688           thing assignable.
2689         * text.C:
2690         * text2.C: adjust
2691
2692         * tabular.[Ch]: fix crash after 'row-insert'
2693
2694 2003-10-08  Angus Leeming  <leeming@lyx.org>
2695
2696         Fix doxygen warnings.
2697
2698         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2699         Remove CutAndPaste:: prefix from header file declaration.
2700
2701         * LColor.h (fill): remove LColor:: prefix from declaration.
2702
2703         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2704         use lyx::depth_type rather than Paragraph::depth_type so that
2705         header file and .C file match.
2706
2707         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2708
2709         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2710         * aspell.C: \file aspell_local.C -> \file aspell.C
2711         * gettext.C: \file gettext.C -> \file src/gettext.C
2712         * gettext.h: \file gettext.h -> \file src/gettext.h
2713         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2714         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2715         * text.C: \file text.C -> \file src/text.C
2716
2717         * toc.C: move comment so that doxygen is not confused.
2718
2719 2003-10-07  Angus Leeming  <leeming@lyx.org>
2720
2721         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2722
2723 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2724
2725         * aspell.C:
2726         * aspell_local.h: add forgotten std::string's.
2727
2728 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2729
2730         * LaTeXFeatures.C:
2731         * LyXAction.C:
2732         * factory.C:
2733         * lfuns.h:
2734         * lyxfunc.C:
2735         * text3.C: The Box patch. Fancybox support, minipage, parbox
2736
2737 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2738
2739         * CutAndPaste.h:
2740         * DepTable.h:
2741         * FloatList.h:
2742         * LaTeXFeatures.h:
2743         * ParagraphParameters.h:
2744         * TextCache.h:
2745         * Thesaurus.h:
2746         * bufferlist.h:
2747         * exporter.h:
2748         * importer.h:
2749         * lastfiles.h:
2750         * lyxfind.h:
2751         * lyxfont.h:
2752         * lyxlex.h:
2753         * lyxtextclasslist.h:
2754         * messages.h:
2755         * paragraph.h:
2756         * paragraph_pimpl.C:
2757         * textcursor.h: add <string> and other small fixes to make Lars'
2758         std::string patch compile with STLport.
2759
2760 2003-10-06  Angus Leeming  <leeming@lyx.org>
2761
2762         * LColor.h: Add missing #include <string>.
2763
2764 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2765
2766         * All most all file in all subdirs: Make <string> be the prefered
2767         way of getting to std::string, add using declarations.
2768
2769 2003-10-06  André Pönitz  <poenitz@gmx.net>
2770
2771         * metricsinfo.C: initialize LyXFont before changing attribute.
2772         (fixes the 'math in \emph is upright' bug)
2773
2774 2003-10-06  André Pönitz  <poenitz@gmx.net>
2775
2776         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2777
2778 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2779
2780         * graph.C:
2781         * paragraph_pimpl.C: Small fixes to build using STLport
2782
2783 2003-10-02  André Pönitz  <poenitz@gmx.net>
2784
2785         * lyxfunc.C:
2786         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2787
2788 2003-10-01  André Pönitz  <poenitz@gmx.net>
2789
2790         * factory.C: assert early
2791
2792 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2793
2794         * lyx_main.C: remove the global debug object
2795
2796         * debug.h: adjust for new debugstream
2797
2798         * debug.C: adjust for new debugstream and keep the global debug
2799         object here.
2800
2801 2003-09-22  Angus Leeming  <leeming@lyx.org>
2802
2803         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2804         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2805         an incomplete class LyXFont.
2806
2807 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2808
2809         * factory.C: bug fix in branches
2810
2811 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2812
2813         * lyxfunc.C (processKeySym): adjust
2814         (dispatch): adjust
2815         (dispatch): change arg name from ev to func, adjust
2816         (sendDispatchMessage): ditto
2817
2818         * lyx_main.C (defaultKeyBindings): adjust keybindings
2819         (deadKeyBindings): ditto
2820
2821         * kbsequence.C (addkey): return a FuncRequest
2822
2823         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2824
2825         * kbmap.C (bind): take a FuncRequest as arg, adjust
2826         (read): adjust
2827         (lookup): adjust
2828         (defkey): change to take a FuncRequest as arg, adjust
2829         (findbinding): take a FuncRequest as arg, adjust.
2830
2831         * funcrequest.h (operator=): added
2832
2833         * funcrequest.C (FuncRequest): default kb_action changed from
2834         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2835
2836         * buffer.C (dispatch): simplify
2837         (dispatch): adjust to take a FuncRequest as arg, adjust
2838
2839         * boost.C (assertion_failed): change assertion message slightly
2840
2841         * ToolbarBackend.C (read): simplify
2842
2843         * MenuBackend.C (binding): adjust call to findbinding, add a
2844         message if no binding is found.
2845         (read): simplify
2846         (expandToc): correct by adding a empty FuncRequest
2847
2848         * LyXAction.C: include <boost/assert.hpp>
2849         (isPseudoAction): delete function
2850         (LookupFunc): change name to...
2851         (lookupFunc): this. change return type to FuncRequest.
2852         (getActionName): take kb_action as arg, simplify
2853         (funcHasFlag): add an assert, simplify.
2854
2855 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2856
2857         * toc.C (action): return a FuncRequest, simplify
2858
2859         * lyxfunc.C (processKeySym): adjust
2860         (getStatus): delete version that takes an int.
2861         (getStatus): adjust
2862         (dispatch): delete version that takes action as int
2863         (dispatch): adjust
2864         (sendDispatchMessage): simplify and adjust
2865
2866         * funcrequest.C (getArg): take unsigned int as arg
2867
2868         * ToolbarBackend.C (read): adjust
2869         (add): delete version that takes func as a string.
2870         (getIton): take a FuncRequest as arg
2871
2872         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2873         action.
2874
2875         * MenuBackend.C (MenuItem): add a new construct that only takes a
2876         Kind, simplify the constructor use for submenus.
2877         (add): adjust
2878         (expandLastfiles): adjust
2879         (expandDocuments): adjust
2880         (expandFormats): adjust
2881         (expandFloatListInsert): adjust
2882         (expandFloatInsert): adjust
2883         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2884
2885         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2886         Remove class variables lyx_pseudo_map and lyx_arg_map
2887
2888         * LyXAction.C (searchActionArg): delete function
2889         (getPseudoAction): delete function
2890         (retrieveActionArg): delete function
2891         (LookupFunc): make it return kb_action, simplify.
2892         (getActionName): simplify
2893
2894         * factory.C (createInset): fix new bug
2895
2896 2003-09-19  Angus Leeming  <leeming@lyx.org>
2897
2898         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2899         masterFilename_ parameter in the include inset.
2900
2901         * factory.C (createInset): changes due to the changes to InsetInclude.
2902
2903 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2904
2905         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2906
2907 2003-09-18  Angus Leeming  <leeming@lyx.org>
2908
2909         * buffer.C:
2910         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2911         Inset::fillWithBibKeys.
2912         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2913
2914 2003-09-18  Angus Leeming  <leeming@lyx.org>
2915
2916         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2917         variables.
2918         (ctor): pass and store a 'Buffer const &'
2919         (buffer): new member function.
2920
2921         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2922         '*this' to the LaTeXFeatures ctor.
2923
2924 2003-09-18  Angus Leeming  <leeming@lyx.org>
2925
2926         * LColor.h:
2927         * lyxfont.C:
2928         * lyxfont.h:
2929         * lyxtext.h:
2930         * text.C: rename EnumLColor as LColor_color.
2931
2932 2003-09-18  Angus Leeming  <leeming@lyx.org>
2933
2934         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2935         remove #include "insets/insetbase.h" from cursor.h.
2936
2937 2003-09-18  Angus Leeming  <leeming@lyx.org>
2938
2939         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2940         InsetOld_code to remove #include "inset.h".
2941
2942         * iterators.C: add #include "insets/inset.h"
2943
2944 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2945
2946         * BufferView.C: remove more locking stuff that apparently doesn't
2947         do anything sensible.
2948
2949 2003-09-16  André Pönitz  <poenitz@gmx.net>
2950
2951         * paragraph.[Ch]:
2952         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2953           performance boost.
2954
2955 2003-09-16  Angus Leeming  <leeming@lyx.org>
2956
2957         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2958
2959         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2960         arg/return type.
2961
2962         * paragraph.h: remove #include "lyxfont.h". Forward declare
2963         LyXFont_size.
2964
2965 2003-09-16  Angus Leeming  <leeming@lyx.org>
2966
2967         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2968         of support/textutils.h.
2969         (isWord): move the contents of support/textutils.h's IsWordChar here.
2970
2971         * buffer.C:
2972         * lyxfind.C:
2973         * rowpainter.C:
2974         * text.C:
2975         * text2.C: add #include "paragraph.h".
2976
2977         * rowpainter.C:
2978         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2979
2980 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2981
2982         * main.C:
2983         * lyx_main.C:
2984         * lyx_cb.C:
2985         * buffer.C:
2986         * LaTeX.C: use namespace alias for lyx::support::os
2987
2988 2003-09-16  Angus Leeming  <leeming@lyx.org>
2989
2990         * bufferparams.C:
2991         * bufferview_funcs.C:
2992         * factory.C:
2993         * lyxfunc.C:
2994         * paragraph_pimpl.C:
2995         * rowpainter.C:
2996         * text.C: add #include "LColor.h".
2997
2998 2003-09-16  Angus Leeming  <leeming@lyx.org>
2999
3000         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3001         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3002         return LyXFont &.
3003         Store the FontBits::color variable as an int rather than as an
3004         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3005         file.
3006
3007         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3008         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3009         string calls together.
3010
3011         * lyxrc.C: add #include "LColor.h".
3012
3013 2003-09-15  Angus Leeming  <leeming@lyx.org>
3014
3015         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3016         a cow_ptr.
3017
3018 2003-09-15  Angus Leeming  <leeming@lyx.org>
3019
3020         * LColor.h: add an EnumLColor wrapper for LColor::color.
3021
3022         * lyxfont.[Ch] (color, setColor, realColor):
3023         * lyxtext.h, text.C (backgroundColor):
3024         pass EnumLColor args to/from the functions, rather than LColor::color
3025         ones.
3026
3027         * lyxfont.h:
3028         * lyxtext.h: forward declare EnumLColor.
3029
3030         * lyx_main.C: add #include "LColor.h".
3031
3032 2003-09-15  Angus Leeming  <leeming@lyx.org>
3033
3034         * .cvsignore: add lyx-gtk.
3035
3036 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3037
3038         * Chktex.C
3039         * LaTeX.C
3040         * LaTeXFeatures.C
3041         * ParagraphParameters.C
3042         * Spacing.C
3043         * buffer.C
3044         * bufferparams.C
3045         * bufferview_funcs.C
3046         * chset.C
3047         * counters.C
3048         * funcrequest.C
3049         * lyxfont.C
3050         * lyxgluelength.C
3051         * lyxlength.C
3052         * paragraph.C
3053         * paragraph_funcs.C
3054         * text3.C
3055         * vc-backend.C: remove usage of STRCONV
3056
3057 2003-09-15  Angus Leeming  <leeming@lyx.org>
3058
3059         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3060         explicitly define the color passed to the painter.
3061
3062 2003-09-15  Angus Leeming  <leeming@lyx.org>
3063
3064         * bufferparams.C (BufferParams): reorder member initializers to avoid
3065         compiler warning.
3066
3067 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3068
3069         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3070         * text.C (updateRowPositions): remove an unusual nop
3071
3072 2003-09-12  André Pönitz  <poenitz@gmx.net>
3073
3074         * BufferView_pimpl.C:
3075         * Bullet.C:
3076         * layout.h:
3077         * lyxfunc.C:
3078         * lyxlayout.[Ch]:
3079         * lyxtextclass.C:
3080         * rowpainter.C:
3081         * text.C:
3082         * text2.C:
3083         * Counters.[Ch]: finish the 'automatic counters' job
3084
3085 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3086
3087         * aspell.C: include <boost/assert.cpp> (compile fix)
3088
3089 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3090
3091         * boost.C (assertion_failed): use lyx::support::abort instead of
3092         assert.
3093
3094 2003-09-10  Angus Leeming  <leeming@lyx.org>
3095
3096         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3097         with their _fwd progeny.
3098
3099 2003-09-09  Angus Leeming  <leeming@lyx.org>
3100
3101         134 files throughtout the source tree: replace 'using namespace abc;'
3102         directives with the appropriate 'using abc::xyz;' declarations.
3103
3104 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3105
3106         * boost.C (emergencyCleanup): moved here from LAssert.c
3107         (assertion_failed): new function, called by BOOST_ASSERT
3108
3109         * several files: change Assert to BOOST_ASSERT
3110
3111 2003-09-09  Angus Leeming  <leeming@lyx.org>
3112
3113         * buffer.[Ch]: Add an Impl class and move Buffer's member
3114         variables into it. As a result move several header files out of
3115         buffer.h.
3116
3117         Add header files to lots of .C files all over the tree as a result.
3118
3119 2003-09-09  Angus Leeming  <leeming@lyx.org>
3120
3121         * buffer.[Ch]: make Buffer's member variables private. Add
3122         accessor functions.
3123
3124         Lots of changes all over the tree as a result.
3125
3126 2003-09-08  Angus Leeming  <leeming@lyx.org>
3127
3128         * graph.C: #include <config.h>.
3129
3130 2003-09-08  Angus Leeming  <leeming@lyx.org>
3131
3132         * BranchList.C:
3133         * BufferView.C:
3134         * BufferView_pimpl.C:
3135         * CutAndPaste.C:
3136         * DepTable.C:
3137         * LaTeX.C:
3138         * LaTeXFeatures.C:
3139         * LyXAction.C:
3140         * MenuBackend.C:
3141         * TextCache.C:
3142         * aspell.C:
3143         * buffer.C:
3144         * bufferlist.C:
3145         * changes.C:
3146         * chset.C:
3147         * converter.C:
3148         * counters.C:
3149         * debug.C:
3150         * graph.C:
3151         * ispell.C:
3152         * lyx_cb.C:
3153         * lyxfind.C:
3154         * lyxfunc.C:
3155         * lyxlex_pimpl.C:
3156         * lyxrc.C:
3157         * lyxrow.C:
3158         * paragraph.C:
3159         * rowpainter.C:
3160         * texrow.C:
3161         * text.C:
3162         * text2.C:
3163         * toc.C: remove redundant using directives.
3164
3165 2003-09-07  Angus Leeming  <leeming@lyx.org>
3166
3167         * LaTeXFeatures.h: remove #include "support/types.h".
3168         * ToolbarBackend.h: remove #include <algorithm>.
3169         * changes.h: remove #include <ctime>.
3170         * debug.h: remove #include <iosfwd>.
3171         * graph.h: remove #include "support/std_string.h".
3172         * lyx_main.h: remove #include <csignal>.
3173         * lyxlex_pimpl.h: remove #include <fstream>.
3174         * sgml.h: remove #include <algorithm>, <utility>.
3175         * toc.h: remove #include "support/std_ostream.h".
3176         Add #include <iosfwd>.
3177
3178 2003-09-07  Angus Leeming  <leeming@lyx.org>
3179
3180         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3181
3182         * converter.h: forward declare LatexRunParams.
3183         * encoding.h: remove #include "lyxrc.h".
3184         * lyxtext.h: remove #include "LColor.h".
3185         * lyxtextclass.h: remove #include "support/types.h".
3186         * trans.h: remove #include "tex-accent.h".
3187         * trans_mgr.h: remove #include "tex-accent.h".
3188         * insets/inset.h: remove #include "support/types.h", <vector>.
3189         * insets/insetcollapsable.h: remove #include "LColor.h".
3190         * insets/insetinclude.h: remove #include "dimension.h".
3191         * insets/insetlatexaccent.h: remove #include "dimension.h".
3192         * insets/insetoptarg.h:: remove #include "insettext.h".
3193         * insets/insettext.h: remove #include "dimension.h",
3194         <boost/shared_ptr.hpp>
3195
3196         * insets/renderers.h: add #include "dimension.h".
3197         * insets/updatableinset.h: add #include "support/types.h".
3198
3199         * many .C files: Associated changes.
3200
3201 2003-09-06  Angus Leeming  <leeming@lyx.org>
3202
3203         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3204         one, inside testInvariant.
3205
3206         * PrinterParams.C: new file.
3207         * PrinterParams.[Ch]: move the function bodies out of line.
3208
3209 2003-09-06  Angus Leeming  <leeming@lyx.org>
3210
3211         * ParagraphParameters.h: forward declare ParameterStruct rather than
3212         including its header file.
3213         (depth): moved out-of-line.
3214
3215 2003-09-06  Angus Leeming  <leeming@lyx.org>
3216
3217         * BufferView_pimpl.h:
3218         * kbmap.h:
3219         * kbsequence.h:
3220         * lyxfunc.h: forward declare LyXKeySym rather than
3221         #include "frontends/LyXKeySym.h".
3222
3223         * BufferView_pimpl.C:
3224         * kbmap.C:
3225         * kbsequence.C:
3226         * lyxfunc.C: associated changes.
3227
3228 2003-09-06  Angus Leeming  <leeming@lyx.org>
3229
3230         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3231         As a result, can remove the #include "insets/inset.h" from BufferView.h
3232
3233 2003-09-06  Angus Leeming  <leeming@lyx.org>
3234
3235         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3236         As a result, can remove the #include "insets/inset.h" from BufferView.h
3237
3238 2003-09-06  Angus Leeming  <leeming@lyx.org>
3239
3240         * buffer_funcs.C:
3241         * buffer.h:
3242         * bufferlist.C:
3243         * BufferView.C:
3244         * bufferview_funcs.C:
3245         * BufferView_pimpl.C:
3246         * CutAndPaste.C:
3247         * lyx_cb.C:
3248         * lyxfunc.C:
3249         * paragraph.h:
3250         * ParagraphParameters.C:
3251         * tabular.C:
3252         * text3.C:
3253         * toc.C:
3254         * undo_funcs.C:
3255         * frontends/controllers/ControlDocument.C:
3256         * insets/insetcaption.C: rearrange the #includes into some sort of
3257         coherent order.
3258
3259         * buffer.h: remove #includes ErrorList.h, undo.h
3260
3261 2003-09-06  Angus Leeming  <leeming@lyx.org>
3262
3263         * support/types.h: add a 'depth_type' typedef, used to store the
3264         nesting depth of a paragraph.
3265
3266         * paragraph.h:
3267         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3268         defining explicitly.
3269
3270         * buffer.h:
3271         * paragraph_funcs.h:
3272         * ParagraphParameters.h:
3273         * sgml.h: use lyx::depth_type rather than Paragraph or
3274         ParameterStruct's depth_type.
3275
3276         * buffer.h
3277         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3278
3279         * BufferView.C:
3280         * BufferView_pimpl.C:
3281         * CutAndPaste.C:
3282         * ParagraphParameters.C:
3283         * buffer_funcs.C:
3284         * bufferlist.C:
3285         * bufferview_funcs.C:
3286         * lyx_cb.C:
3287         * lyxfunc.C:
3288         * tabular.C:
3289         * text3.C:
3290         * toc.C:
3291         * undo_funcs.C:
3292         * frontends/LyXView.C:
3293         * frontends/controllers/ControlDocument.C:
3294         * frontends/controllers/ControlErrorList.C:
3295         * insets/insetbibitem.C:
3296         * insets/insetbranch.C:
3297         * insets/insetcaption.C:
3298         * insets/insetcollapsable.C:
3299         * insets/insetenv.C:
3300         * insets/insetert.C:
3301         * insets/insetfloat.C:
3302         * insets/insetfoot.C:
3303         * insets/insetfootlike.C:
3304         * insets/insetnewline.C:
3305         * insets/insetquotes.C:
3306         * insets/insettabular.C:
3307         * insets/insettext.C:
3308         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3309
3310         * frontends/controllers/ControlChanges.C: #include "changes.h".
3311
3312 2003-09-06  Angus Leeming  <leeming@lyx.org>
3313
3314         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3315         than #including paragraph.h.
3316
3317         * ParagraphList.h:
3318         * RowList.h: deleted. Superfluous.
3319
3320         * CutAndPaste.h:
3321         * iterators.h:
3322         * lyxcursor.h:
3323         * lyxtext.h:
3324         * text_funcs.h:
3325         * undo.h:
3326         * undo_funcs.h:
3327         * insets/inset.h:
3328         * insets/insettext.h: use ParagraphList_fwd.h rather than
3329         ParagraphList.h.
3330
3331         * paragraph.h: don't forward declare ParagraphList.
3332
3333         * buffer.h:
3334         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3335         rather than ParagraphList.h. paragraph.h is still needed for the
3336         Paragraph::depth_type parameters.
3337
3338         * textcursor.h: enable it to compile stand-alone in light of the
3339         above changes.
3340
3341         * bufferview_funcs.C:
3342         * iterators.C:
3343         * lyxfunc.C:
3344         * lyxrow_funcs.C:
3345         * paragraph.C:
3346         * rowpainter.C:
3347         * text.C:
3348         * text2.C:
3349         * text3.C:
3350         * text_funcs.C:
3351         * textcursor.C:
3352         * undo.C:
3353         * frontends/controllers/ControlParagraph.C:
3354         * frontends/controllers/ControlTabular.C:
3355         * insets/insetmarginal.C:
3356         * insets/insetminipage.C:
3357         * insets/insetnote.C:
3358         * insets/insetoptarg.C: add header files needed to compile again.
3359
3360 2003-09-06  Angus Leeming  <leeming@lyx.org>
3361
3362         * RowList_fwd.h: new file, forward-declaring Row rather than
3363         #including lyxrow.h.
3364
3365         * lyxrow_funcs.h:
3366         * lyxtext.h:
3367         * paragraph.h:
3368         * insets/insettext.h: use it instead of RowList.h
3369
3370         * bufferview_funcs.C:
3371         * lyxfunc.C:
3372         * lyxrow_funcs.C:
3373         * paragraph.C:
3374         * rowpainter.C:
3375         * text.C:
3376         * text2.C:
3377         * text3.C: #include "RowList.h".
3378
3379 2003-09-05  Angus Leeming  <leeming@lyx.org>
3380
3381         * factory.C (createInset):
3382         * vspace.C (c-tor): replace sscanf call with an istringstream.
3383         * ispell.C: re-add missing HP/UX headers.
3384         * lyxserver.C: re-add missing  os2 headers.
3385
3386 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3387
3388         * BranchList.C:
3389         * graph.C:
3390         * ispell.C:
3391         * lastfiles.C:
3392         * lyx_cb.C:
3393         * lyxserver.C:
3394         * texrow.C:
3395         * text3.C: re-add missing system headers, needed for 2.95.2.
3396
3397 2003-09-05  Angus Leeming  <leeming@lyx.org>
3398
3399         Changes most place everywhere due to the removal of using directives
3400         from support/std_sstream.h.
3401
3402 2003-09-05  Angus Leeming  <leeming@lyx.org>
3403
3404         Replace LString.h with support/std_string.h,
3405         Lsstream.h with support/std_sstream.h,
3406         support/LIstream.h with support/std_istream.h,
3407         support/LOstream.h with support/std_ostream.h.
3408
3409         Changes resulting throughout the tree.
3410
3411 2003-09-05  Angus Leeming  <leeming@lyx.org>
3412
3413         * sgml.h: ensure that the header file can be compiled stand-alone.
3414         * *.C: strip out redundant #includes. (320 in total.)
3415
3416 2003-09-04  Angus Leeming  <leeming@lyx.org>
3417
3418         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3419         here (from getPackages).
3420
3421         * debug.[Ch]: add a new EXTERNAL tag.
3422
3423 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3424
3425         * text2.C (cursorEnd): simplify
3426         (setCursor): adjust
3427         (getColumnNearX): adjust
3428
3429         * text.C (computeBidiTables): adjust
3430         (fill): adjust
3431
3432         * rowpainter.C (paintChars): adjust
3433         (paintSelection): adjust
3434         (paintChangeBar): adjust
3435         (paintText): adjust
3436
3437         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3438         lastPos instead.
3439         (numberOfSeparators): adjust
3440
3441 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3442
3443         * LyXAction.C:
3444         * box.[Ch]:
3445         * lfuns.h:
3446         * lyxfunc.C:
3447         * text3.C: Restricts the mouse click functionality
3448         of insets like bibtex, include, toc and floatlist to the visible
3449         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3450         up the dialogs. Cursor has to be in front of the inset (i.e.
3451         start of row) for this to function.
3452
3453 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3454
3455         * bufferview_funcs.C (currentState): output row information
3456
3457 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3458
3459         * bufferview_funcs.C (currentState): output paragraph position
3460
3461 2003-09-04  Angus Leeming  <leeming@lyx.org>
3462
3463         * FloatList.h: move out #include "Floating.h".
3464         * LaTeX.h: move out #include "DepTable.h".
3465         * LyXAction.h: move out #include "funcrequest.h".
3466         * buffer.h: move out #include "author.h", "iterators.h".
3467         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3468         * lyx_main.h: move out #include "errorlist.h".
3469         * lyxfunc.h: move out #include "FuncStatus.h".
3470         * lyxtext: move out #include "lyxcursor.h".
3471         * paragraph_pimpl.h: move out #include "counters.h".
3472
3473 2003-09-03  Angus Leeming  <leeming@lyx.org>
3474
3475         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3476         preamble_snippets list, enabling us to add snippets to the preamble
3477         only if the snippet was not there already.
3478
3479 2003-09-04  Angus Leeming  <leeming@lyx.org>
3480
3481         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3482
3483 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3484
3485         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3486         update
3487
3488 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3489
3490         * BranchList.C: point fix, earlier forgotten
3491
3492 2003-09-02  Angus Leeming  <leeming@lyx.org>
3493
3494         * box.C (contains): renamed from 'contained' after a fantastic
3495         amount of hot air.
3496
3497 2003-09-02  John Levon  <levon@movementarian.org>
3498
3499         * BufferView.C:
3500         * lyxcursor.h:
3501         * lyxcursor.C:
3502         * lyxfunc.C:
3503         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3504
3505 2003-09-02  John Levon  <levon@movementarian.org>
3506
3507         * text2.C: simplification of cursorEnd(), including partial
3508         fix for bug 1376
3509
3510 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3511
3512         * buffer.C (readFile): add a space
3513
3514 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3515
3516         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3517
3518 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3519
3520         * buffer.C (readFile): new function, take a filename and a
3521         ParagraphList::iterator
3522         (readFile): adjust
3523         (readFile): adjust, make it private. don't use setStream, make
3524         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3525         always contain the filename.
3526
3527         * BufferView.C (insertLyXFile): simplify and make it work for
3528         gzipped files.
3529
3530 2003-08-30  John Levon  <levon@movementarian.org>
3531
3532         * Makefile.am: fix dist (from Kayvan)
3533
3534 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3535
3536         * most files: change to use const Buffer refs
3537
3538 2003-08-27  André Pönitz  <poenitz@gmx.net>
3539
3540         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3541         on top of ownerPar().
3542
3543 2003-08-27  John Levon  <levon@movementarian.org>
3544
3545         * funcrequest.C: properly initialise POD members
3546
3547 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3548
3549         * lyxtext.h (top_y): move top_y from here
3550         * text.C:
3551         * text2.C:
3552         * text3.C:
3553         * BufferView.[Ch]:
3554         * BufferView_pimpl.[Ch]: to here
3555         * frontends/screen.C:
3556         * insets/insettabular.C:
3557         * insets/insettext.C: adjust
3558         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3559
3560 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3561
3562         * BufferView.[Ch]:
3563         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3564
3565 2003-08-26  André Pönitz  <poenitz@gmx.net>
3566
3567         * paragraph_func.[Ch] (outerPar): new function
3568
3569         * paragraph.C:
3570         * paragraph_funcs.C:
3571         * paragraph_funcs.h:
3572         * paragraph_pimpl.C:
3573         * text2.C: remove Inset::par_owner
3574
3575 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3576
3577         * lyxrow_funcs.C:
3578         * lyxtext.h:
3579         * text.C:
3580         * text2.C: eliminates the needFullRow/display() stuff
3581         altogether, putting the logic in metrics/draw in the insets.
3582
3583 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3584
3585         * text2.C (redoParagraphInternal, redoParagraphs):
3586         * text.C (redoParagraph): add a call to updateRowPositions at the
3587         end of each 'metrics-like' call. Remove all others.
3588         (getRow): remove the 'y-computing' version.
3589         (getRowNearY): do not compute nor return the real y. Solve the
3590         'y < 0' problem and simplify.
3591
3592 2003-08-22  Angus Leeming  <leeming@lyx.org>
3593
3594         * *.[Ch]: clean-up of licence and author blurbs.
3595         Also move config.h out of a few .h files and into a few .C files.
3596
3597 2003-08-22  André Pönitz  <poenitz@gmx.net>
3598
3599         * lyxrow.[Ch]: add x_ and *fill_ members
3600
3601         * lyxtext.h:
3602         * text.C:
3603         * rowpainter.C:
3604         * text2.C: adjust/remove prepareToPrint() calls
3605
3606 2003-08-22  André Pönitz  <poenitz@gmx.net>
3607
3608         * lyxrow.[Ch]: add  end_ member
3609
3610         * lyxrow_funcs.C: use LyXRow::end_
3611
3612         * lyxtext.h (singleWidth): add LyXFont parameter
3613
3614         * rowpainter.C:
3615         * text2.C: adjust LyXText::singleWidth() calls
3616
3617         * text.C (redoParagraph): simplify row breaking logic
3618
3619
3620 2003-08-19  André Pönitz  <poenitz@gmx.net>
3621
3622         * funcrequest.C: initialize button_ member
3623
3624         * text3.C:
3625         * rowpainter.[Ch]: interface consolidation
3626
3627 2003-08-18  André Pönitz  <poenitz@gmx.net>
3628
3629         * BufferView.C:
3630         * BufferView_pimpl.C:
3631         * lyxfind.C:
3632         * paragraph_funcs.C:
3633         * rowpainter.C:
3634         * text3.C: remove LyXScreen::draw() and fitCursor calls
3635
3636         * BranchList.h: remove spurious semicolons
3637
3638         * MenuBackend.C: fix branchlist related crash
3639
3640 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3641
3642         * BranchList.[Ch]:
3643         * InsetList.[Ch]:
3644         * LColor.[Ch]:
3645         * LyXAction.C:
3646         * Makefile.am:
3647         * MenuBackend.[Ch]:
3648         * bufferparams.[Ch]:
3649         * factory.C:
3650         * lfuns.h:
3651         * lyxfunc.C:
3652         * text3.C: implements the 'branch inset'
3653         idea. This allows the output of various versions of a document
3654         from a single source version, selectively outputing or suppressing
3655         output of parts of the text.
3656         This implementation contains a 'branch list editor' in a separate
3657         tab of the document settings dialog. Branches are user definable
3658         and have a "display colour" to distinguish them on-screen.
3659
3660         ColorHandler was somewhat cleaned up.
3661         (1) make possible a dynamically growing LColor list by allowing
3662         the graphic context cache to grow along (vector);
3663         (2) eliminate an IMHO unnecessary step in colour allocation.
3664
3665 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3666
3667         * BufferView_pimpl.C: compile fix
3668
3669 2003-08-15  André Pönitz  <poenitz@gmx.net>
3670
3671         * rowpainter.C: remove extra metrics calls
3672
3673         * lyxtext.h: merge the two constructors into a single one,
3674           pass reference to owner's par list
3675
3676         * BufferView_pimpl.C:
3677         * text.C:
3678         * text2.C: adjust
3679
3680 2003-08-15  André Pönitz  <poenitz@gmx.net>
3681
3682         * lyxrow_funcs.[Ch]:
3683         * lyxtext.h:
3684         * paragraph.h:
3685         * paragraph_funcs.C:
3686         * rowpainter.C:
3687         * text.C:
3688         * text2.C:
3689         * text3.C:
3690         * text_funcs.C: split LyXText::rowlist_ into individual
3691         Paragraph::rows_ chunks
3692
3693         * BufferView.[Ch]:
3694         * BufferView_pimpl.[Ch]:
3695         * lyxfind.C:
3696         * lyxtext.h:
3697         * text3.C: remove toggleSelection()
3698
3699 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3700
3701         * bufferlist.C: beautify two alerts (shorter text of buttons)
3702         * buffer.C: Remove redundant ' ' from message
3703         * tabular.h:
3704         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3705         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3706         rename VALIGN_CENTER to VALIGN_MIDDLE
3707
3708 2003-08-11  André Pönitz  <poenitz@gmx.net>
3709
3710         * lyxtext.h (getPar):
3711         * text.C: new function
3712
3713 2003-08-11  André Pönitz  <poenitz@gmx.net>
3714
3715         * Makefile.am:
3716         * tracer.[Ch]: remove unneeded files
3717
3718         * InsetList.[Ch]: remove resizeInsetsLyXText()
3719
3720         * lyxtext.h:
3721         * text.C:
3722         * text2.C:
3723         * text3.C: merge insertParagraphs() and appendParagraph()
3724         remove breakAgain(), update()
3725
3726         * BufferView_pimpl.[Ch]:
3727         * bufferview_funcs.[Ch]:
3728         * lyxfunc.C:
3729         * paragraph.[Ch]:
3730         * rowpainter.C:
3731         * tabular.C: adjust after text & InsetList changes.
3732
3733 2003-08-08  André Pönitz  <poenitz@gmx.net>
3734
3735         * text.C (insertChar, backspace): replace rowlist fiddling
3736         with rebreak of full par
3737
3738         * lyxtext.h:
3739         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3740         checkParagraph, updateInset): removed
3741
3742 2003-08-07  André Pönitz  <poenitz@gmx.net>
3743
3744         * paragraph.C:
3745         * text3.C: merge some LFUN handlers, remove dead code
3746
3747 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3748
3749         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3750
3751 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3752
3753         * text2.C (DEPM): fix part of bug 1255 and 1256
3754
3755 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3756
3757         * BufferView_pimpl.C (workAreaDispatch): change to use
3758         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3759         that are no mouse related.
3760
3761 2003-08-05  André Pönitz  <poenitz@gmx.net>
3762
3763         * BufferView.[Ch]:
3764         * BufferView_pimpl.[Ch]:
3765         * bufferview_funcs.C:
3766         * text2.C:
3767         * text3.C: rip out "deep update"
3768
3769         * textcursor.[Ch] (last_sel_cursor): remove unused member
3770
3771 2003-08-04  André Pönitz  <poenitz@gmx.net>
3772
3773         * BufferView.[Ch]:
3774         * BufferView_pimpl.[Ch]:
3775         * ParagraphParameters.C:
3776         * bufferview_funcs.C:
3777         * lyx_cb.C:
3778         * lyxfind.C:
3779         * lyxfunc.C:
3780         * text.C:
3781         * text2.C:
3782         * text3.C: replace "complicated" BufferView::update(...) calls with
3783         simpler ones.
3784
3785         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3786
3787 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3788
3789         * Makefile.am (lyx_SOURCES): add paper.h
3790
3791 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3792
3793         * Makefile.am: move things around so that both lyx-qt and
3794         lyx-xforms can be built (according to --with-frontend). Then lyx
3795         is a symbolic link to lyx-[firstfrontend]
3796
3797 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3798
3799         * Always use std::endl with lyxerr
3800
3801 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3802
3803         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3804
3805 2003-08-01  André Pönitz  <poenitz@gmx.net>
3806
3807         * BufferView.[Ch]:
3808         * BufferView_pimpl.[Ch]:
3809         * lyxfunc.C:
3810         * text3.C: merge BufferView::repaint() and BufferView::update()
3811
3812 2003-08-01  José Matos  <jamatos@lyx.org>
3813
3814         * buffer.[Ch]: file_format is no longer a buffer data element.
3815
3816 2003-08-01  André Pönitz  <poenitz@gmx.net>
3817
3818         * BufferView.C:
3819         * lyxtext.h:
3820         * text.C:
3821         * text2.C: make redoParagraph more independent of current cursor
3822
3823         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3824         * text.C:
3825         * text2.C: remove unneeded members
3826
3827 2003-07-30  André Pönitz  <poenitz@gmx.net>
3828
3829         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3830
3831         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3832           create a single function...
3833
3834         * paragraph_funcs.C (moveItem): ... here.
3835
3836         * text.C:
3837           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3838
3839 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3840
3841         * LColor.[Ch]: Add comment and greyedout logical colors.
3842
3843 2003-07-30  André Pönitz  <poenitz@gmx.net>
3844
3845         * tabular.C: don't use Assert too heavily. This crashes where it
3846           shouldn't
3847
3848 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3849
3850         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3851         is disabled (bug 1232)
3852
3853 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3854
3855         * factory.C: limited 'arg' scope
3856
3857 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3858
3859         * factory.C: fixed Note submenu issues
3860
3861 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3862
3863         * factory.C: submenu for Note/Comment/Greyedout
3864
3865 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3866
3867         * lyx_main.C (LyX):
3868         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3869
3870 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3871
3872         * LaTeXFeatures.C:
3873         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3874         greyedout. Patch provided by Jürgen Spitzmüller.
3875
3876 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3877
3878         * kbmap.C (read): fix error message when reading bind files
3879
3880 2003-07-29  Angus Leeming  <leeming@lyx.org>
3881
3882         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3883         certainly does not do what it purports to do. I am doing it, and
3884         us, a favour by killing it.
3885
3886 2003-07-28  José Matos  <jamatos@lyx.org>
3887
3888         * buffer.C (readBody, do_writeFile):
3889         * paragraph.C(readParagraph): \end_document replaces \the_end.
3890
3891 2003-07-29  André Pönitz  <poenitz@gmx.net>
3892
3893         * BufferView.[Ch]:
3894         * BufferView_pimpl.[Ch]:
3895         * lyxfunc.C:
3896         * text2.C:
3897         * text3.C:
3898         * textcursor.[Ch]: remove toggleToggle & Co
3899
3900 2003-07-28  José Matos  <jamatos@fep.up.pt>
3901
3902         * buffer.C (readParagraph):
3903         * params_func (readParToken, readParagraph):
3904         * paragraph.C (write): \layout -> \begin_layout.
3905
3906 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3907
3908         * lyxlex_pimpl.C (setFile): clean up slightly.
3909
3910         * bufferparams.h: add compressed var
3911
3912         * buffer_funcs.C (readFile): adjust for LyXLex change
3913         (newFile): ditto + simplify
3914
3915         * buffer.C (writeFile): handle writing of compressed files
3916
3917         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3918         Check if the file is compressed and set a bufferparm if so.
3919
3920         * Makefile.am (lyx_LDADD): remove explicit -lz
3921
3922 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3923
3924         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3925         makeDocBookFile): put the real LyX version in the first line of
3926         the file
3927
3928         * version.h:
3929         * version.C.in: remove lyx_docversion
3930
3931         * tabular.C (write_attribute): add a template-based version to
3932         write enums properly
3933
3934 2003-07-28  André Pönitz  <poenitz@gmx.net>
3935
3936         * lyxtext.h:
3937         * text.C:
3938         * text2.C:
3939         * text3.C: use doubles again for x-coordinates. They are needed.
3940
3941 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3942
3943         * messages.C (getLocaleDir): use lyx_localedir()
3944
3945         * lyxlex_pimpl.C (setFile): compress stuff
3946
3947         * buffer.C (writeFile): add some compression stuff
3948         (do_writeFile): new func, dont call expliti close... will this
3949         breake anything?
3950
3951         * Makefile.am (lyx_LDADD): add -lz
3952
3953 2003-07-28  José Matos  <jamatos@fep.up.pt>
3954
3955         * buffer.C: increment file format.
3956         * paragraph_funcs (readParagraph, readParToken):
3957         * paragraph.C (readParagraph): add \end_layout.
3958
3959 2003-07-27  Angus Leeming  <leeming@lyx.org>
3960
3961         * Makefile.am: remove special casing for configure-time setting of
3962         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3963
3964         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3965         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3966
3967 2003-07-26  André Pönitz  <poenitz@gmx.net>
3968
3969         * paragraph_func.[Ch]:
3970         * paragraph.C (realizeFont): inline it whereever it is used
3971
3972         * rowpainter.C:
3973         * text.C:
3974         * text2.C:
3975         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3976
3977
3978 2003-07-26  André Pönitz  <poenitz@gmx.net>
3979
3980         *       lyxtext.h:
3981         * text.C:
3982         * text2.C: get rid of LyXText::need_break_row
3983
3984 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3985
3986         * toc.[Ch]: put namespace toc inside namespace lyx
3987
3988         * MenuBackend.C (expandToc2): adjust for lyx::toc
3989         (expandToc): ditto
3990
3991         * lyxfunc.C (dispatch): adjust for lyx::find
3992
3993         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3994         lyx::find instead. Reorganize a bit.
3995         (LyXReplace): rename to replace
3996         (LyXFind): rename to find
3997
3998         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3999         (dispatch): ditto
4000
4001 2003-07-26  André Pönitz  <poenitz@gmx.net>
4002
4003         * text.C (setHeightOfRow): restrict scope of temporary variable
4004
4005         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4006           code (never has been used?)
4007
4008 2003-07-27  Asger Alstrup  <alstrup@local>
4009
4010         * text.C (fill): Optimise algorithm to exploit that we can reuse
4011         the LyXFont for many characters.
4012         (setHeightOfRow): Same thing.
4013         (rowBreakPoint): Same thing.
4014
4015 2003-07-26  Asger Alstrup  <alstrup@local>
4016
4017         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4018
4019         * text.C (singleWidth): Spurious font copying in hot-spot
4020         singleWidth avoided. Reorder tests for arabic for efficiency.
4021
4022         * text.C (fill): handle empty paragraphs better.
4023
4024 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4025
4026         * ispell.C:
4027         * encoding.h: add includes
4028
4029         * lyxrc.C: remove reading of bind files
4030
4031         * lyx_main.C (init): setup bindings and menus only if we have a
4032         gui.
4033
4034         * kbmap.C (read): new method. Do the actual reading of bind
4035         files.
4036
4037         * converter.C (dvipdfm_options):
4038         * bufferparams.C:
4039         * lyxrc.C (read):
4040         (output): adapt PAPER_* enums.
4041
4042         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4043
4044         * bufferparams.h: remove paper-related enums from there
4045
4046         * paper.h: New file. A trivial header file to hold paper-related
4047         enums. It should later expand to contain many paper-related
4048         horrors access.
4049
4050         * lyxrc.C: declare extern displayTranslator
4051
4052 2003-07-27  José Matos  <jamatos@fep.up.pt>
4053
4054         * tabular.[Ch] (linuxdoc): add support for tables and figures
4055         (linuxdoc).
4056
4057 2003-07-27  José Matos  <jamatos@fep.up.pt>
4058
4059         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4060         consistency in both functions.
4061         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4062
4063 2003-07-26  Asger Alstrup  <alstrup@local>
4064
4065         * rowpainter.C (paintRows): Change algorithm to work directly on
4066         the insets rather than asking every character in the document
4067         whether its an inset.
4068
4069 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4070
4071         * buffer.C (openFileWrite): factorize some code
4072
4073 2003-07-26  Angus Leeming  <leeming@lyx.org>
4074
4075         * lyx_cb.C:
4076         * lyx_main.[Ch]: replace occurances of system_tempdir with
4077         os::getTmpDir().
4078
4079 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4080
4081         * rename Inset to InsetOld
4082
4083 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4084
4085         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4086         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4087         which I think is a bit clearer. EDIT is gone, since it was
4088         premature optimisation, and broken for mathed anyway.
4089         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4090         with cursor positioning in insets as well (math insets still do not
4091         work, but that's a different story anyway.) It mysteriously
4092         crashes sometimes with undo in the first paragraph, but I'm fairly
4093         confident that this is a compiler bug.
4094
4095 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4096
4097         * paragraph.C (Paragraph): adjust for new clone return type
4098         (operator==): ditto
4099         (copyIntoMinibuffer): ditto
4100
4101 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4102
4103         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4104         by not having a special case, and always doing a full rebreak of
4105         the document after undo.
4106
4107 2003-07-23  Angus Leeming  <leeming@lyx.org>
4108
4109         * factory.C (createInset): InsetExternal::setParams now takes a
4110         Buffer const * arg.
4111
4112 2003-07-23  Angus Leeming  <leeming@lyx.org>
4113
4114         * factory.C (createInset): changed interface to the external and
4115         graphics mailers' string2params functions.
4116
4117 2003-07-23  Angus Leeming  <leeming@lyx.org>
4118
4119         * factory.C (createInset): pass a
4120         Buffer const * parameter to InsetExternalMailer's string2params.
4121
4122 2003-07-22  John Levon  <levon@movementarian.org>
4123
4124         * Thesaurus.h: include the right aiksaurus header
4125
4126 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4127
4128         * MenuBackend.C (expand): check menu shortcuts unconditionally
4129
4130 2003-07-21  Angus Leeming  <leeming@lyx.org>
4131
4132         * factory.C (createInset): pass a
4133         buffer_path parameter to InsetGraphicsMailer's string2params.
4134
4135 2003-07-21  Angus Leeming  <leeming@lyx.org>
4136
4137         * BufferView_pimpl.C (buffer):
4138         * buffer.C (d-tor):
4139         * lyx_main.C (LyX):
4140         * lyxfunc.C (dispatch):
4141         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4142         rather than the grfx shortcut.
4143
4144 2003-07-21  André Pönitz  <poenitz@gmx.net>
4145
4146         * rowpainter.C: remove unused variables
4147
4148         * tabular_funcs.C:
4149         * tabular_funcs.h: move to tabular.C
4150         * Makefile.am: adjust
4151
4152         * tabular.[Ch]: basic optical cleaning
4153
4154         * author.h: pass references, not values
4155
4156 2003-07-18  André Pönitz  <poenitz@gmx.net>
4157
4158         * lyxtext.h:
4159         * metricsinfo.C:
4160         * metricsinfo.h:
4161         * rowpainter.C:
4162         * text.C:
4163         * text2.C:
4164         * text3.C: two-phase drawing for InsetText and InsetTabular
4165         some float -> int changes.
4166
4167 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4168
4169         * lyx_main.C: fix the fix
4170
4171 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4172
4173         * lyx_main.C: fix a crash in batch mode if no files specified
4174         * converter.C: ws
4175
4176 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4177
4178         * format.[Ch] (papersize): moved to BufferParams
4179         * converter.[Ch] (dvips_options): moved to BufferParams
4180         (dvipdfm_options): moved to anon namespace
4181         * bufferparams.[Ch]: added above functions.
4182
4183 2003-07-17  André Pönitz  <poenitz@gmx.net>
4184
4185         * lyxtext.h:
4186         * rowpainter.C:
4187         * text2.C: don't call inset->update() anymore
4188
4189         * metricsinfo.[Ch]: add convenience constructor
4190
4191 2003-07-16  André Pönitz  <poenitz@gmx.net>
4192
4193         * lyxcursor.[Ch]:
4194         * lyxfunc.[Ch]:
4195         * text.C:
4196         * text2.C: replace the LyXCursor::irow_ member with
4197          on-demand computation of the value
4198
4199 2003-07-16  John Levon  <levon@movementarian.org>
4200
4201         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4202
4203 2003-07-15  André Pönitz  <poenitz@gmx.net>
4204
4205         * text.C:
4206         * text2.C: remove no more needed refresh_row
4207
4208 2003-07-15  André Pönitz  <poenitz@gmx.net>
4209
4210         * lyxtext.h:
4211         * rowpainter.C:
4212         * text2.C:
4213         * text3.C: refresh_status tristate -> need_update bool
4214
4215 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4216
4217         * lyxtext.h (init): remove reinit argument (act as if always true)
4218         * text2.C: adjust to that
4219
4220 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4221
4222         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4223         * text3.C: use it to delete selections in some cases
4224         (bugs 441, 673, 702, 954).
4225
4226 2003-07-14  André Pönitz  <poenitz@gmx.net>
4227
4228         * rowpainter.[Ch]: reduce interface
4229
4230 2003-07-14  André Pönitz  <poenitz@gmx.net>
4231
4232         * BufferView_pimpl.C:
4233         * text2.C: adjust after removing unused BufferView * argument
4234
4235 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4236
4237         * text2.C (init): fix a crash fired on resize
4238
4239 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4240
4241         * buffer.[Ch]: added new closing signal
4242         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4243         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4244         BufferView::Pimpl via the closing the signal
4245
4246 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4247
4248         * buffer.[Ch]: take out all bv-related from buffer
4249         * BufferView.C:
4250         * BufferView_pimpl.[Ch]: connect to new signals
4251         * CutAndPaste.C: removed useless asserts
4252         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4253         * lyxvc.[Ch]:
4254         * vc-backend.[Ch]:
4255         * lyxfunc.C: moved view-related funciontality from vc here
4256         * paragraph.C: removed outdated comments
4257         * text.C: ws
4258
4259 2003-07-10  André Pönitz  <poenitz@gmx.net>
4260
4261         * BufferView_pimpl.C:
4262         * tabular.h:
4263         * tabular_funcs.C:
4264         * text.C:
4265         * text2.C: remove InsetText::InnerCache, clean up consequences
4266
4267 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4268
4269         * ispell.C: fix two typos in error messages
4270
4271 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4272
4273         * Extend Note inset to other forms of annotation like Comment
4274         and Greyedout. Right button click gives dialog.
4275
4276         Files modified or added (+):
4277
4278         * insetnote.[Ch]
4279         * FormNote.[Ch]      +
4280         * ControlNote.[Ch]   +
4281         * form_note.fd       +
4282         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4283         frontends/controllers
4284         * xforms/Dialogs.C
4285         * factory.C
4286
4287 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4288
4289         * aspell.C: add missing namespace lyx::support
4290
4291 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4292
4293         * BufferView.[Ch] (newFile): Add
4294         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4295         * LaTeX.[Ch] (message): added this signal and use it
4296         * buffer.[Ch] (busy, message): added these signals and use them
4297         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4298         * converter.C:
4299         * exporter.C:
4300         * format.C:
4301         * importer.C: use buffer signals instead of direct bv calling
4302         * lyx_cb.[Ch] (ShowMessage): removed
4303         * lyx_main.C:
4304         * lyxfunc.C:
4305         * paragraph_funcs.C:
4306         * text2.C: use buffer signals
4307
4308 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4309
4310         * introduce namespace lyx::graphics
4311
4312 2003-07-02  André Pönitz  <poenitz@gmx.net>
4313
4314         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4315
4316 2003-07-01  André Pönitz  <poenitz@gmx.net>
4317
4318         * text.C:
4319         * text2.C:
4320         * text3.C:
4321         * text_funcs.[Ch]:
4322         * textcursor.h:
4323         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4324           text*.C to text_func.C
4325
4326 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4327
4328         * introduce namespace lyx::support
4329
4330 2003-06-30  André Pönitz  <poenitz@gmx.net>
4331
4332         * Chktex.C:
4333         * funcrequest.C:
4334         * lyxtext.h:
4335         * text.C: re-enable --with-included-string
4336
4337 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4338
4339         * textcursor.C: add <config.h>
4340
4341         * text.C (getWord): remove const from word_location arg
4342
4343         * lyxvc.C (getLogFile): fix const type order
4344
4345         * lyxtext.h: remove const from word_location arg, add arg name
4346
4347         * lyxlayout.h: currect type on labeltype.
4348
4349         * importer.C: correct \file
4350
4351         * converter.C (intToFormat): use std:: on ret val, ws changes
4352
4353         * bufferlist.h: correct \file
4354
4355         * buffer.C (makeLinuxDocFile): fix const type order
4356         (makeDocBookFile): ditto
4357         (fillWithBibKeys): use std:: on stdlib args.
4358
4359         * CutAndPaste.C: fix authors.
4360         (availableSelections): use std:: on return vector
4361
4362 2003-06-27  André Pönitz  <poenitz@gmx.net>
4363
4364         * BufferView_pimpl.C:
4365         * bufferview_funcs.C:
4366         * lyxcursor.C:
4367         * lyxcursor.h:
4368         * lyxfunc.C:
4369         * lyxtext.h:
4370         * rowpainter.C:
4371         * text.C:
4372         * text2.C:
4373         * text3.C: remove LyXCursor::row_ member
4374
4375         * lyxtext.h:
4376         * text.C: rename fullRebreak() to partialRebreak() and implement
4377           a fullRebreak() that really bereks fully
4378
4379         * textcursor.h: new struct for cursor-related data
4380
4381 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4382
4383         * lyx_main.C (LyX): get full path of document loaded on the
4384         command line
4385
4386 2003-06-26  André Pönitz  <poenitz@gmx.net>
4387
4388         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4389           remove unused/broken operator>,<,>=.
4390
4391         *       text.C: remove only use of broken operator<= in an Assert().
4392
4393 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4394
4395         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4396         moved errorlist_.clear to showErrorList
4397
4398 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4399
4400         * converter.C (scanLog, runLaTeX):
4401         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4402         move the bv->showErrorList call to the callers
4403         * lyxfunc.C: i.e. here...
4404         * text2.C: and here
4405         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4406         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4407         namespace, the second to...
4408         * buffer_funcs (BufferFormat, parseErrors): added
4409         * errorlist.C (ErrorList(TeXErrors const &)): removed
4410
4411 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4412
4413         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4414
4415 2003-06-24  "Garst R. Reese" <reese@isn.net>
4416
4417         * debug.C: fix typo
4418
4419 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4420
4421         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4422
4423         * version.C.in: change docversion to 1.4
4424
4425 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4426
4427         * buffer.C: fix a bug just introduced
4428
4429 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4430
4431         * buffer.[Ch]: added the parseError signal and use it, removed
4432         sgmlError
4433         * BufferView.[Ch] (addError): moved to ...
4434         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4435         to the Buffer::parseError signal to catch (guess what) parse errors
4436         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4437
4438 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4439
4440         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4441         ability to create a buffer and to return an existing one from
4442         the list. Moved these functions to...
4443         * buffer_funcs.[Ch]: added
4444         * BufferView.[Ch] (loadLyXFile): added
4445         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4446         job removed from bufferlist::loadLyXFile.
4447         * buffer.C (setReadOnly): make it work without view
4448         (i.e added an if (users))
4449
4450 2003-06-19  Angus Leeming  <leeming@lyx.org>
4451
4452         * lfuns.h:
4453         * LyXAction.C (init):
4454         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4455         with LFUN_DIALOG_SHOW <name> <data>.
4456
4457 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4458
4459         * CutAndPaste.C (availableSelections): small compilation fix for
4460         ancient (gcc 2.9x) compilers
4461
4462 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4463
4464         * text3.C (cursorNext): add tmp var
4465
4466         * text2.C (updateCounters): for function calling out of for clause
4467         (replaceSelectionWithString): ditto
4468         (insertStringAsParagraphs): ditto
4469         (getColumnNearX): add tmp var
4470         (setCursorFromCoordinates): add tmp var
4471         (cursorDownParagraph): add tmp var
4472         (deleteEmptyParagraphMechanism): add tmp var
4473
4474         * text.C (insertChar): add tmp var
4475
4476         * rowpainter.C (paintDepthBar): add tmp var
4477
4478         * CutAndPaste.C (availableSelections): potentially check all
4479         paragraphs in a cut to fill the shown strings.
4480
4481 2003-06-18  André Pönitz  <poenitz@gmx.net>
4482
4483         * kbmap.[Ch]: use vector<> instead of list<>
4484
4485 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4486
4487         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4488         pasteSelection with index
4489
4490         * text2.C (pasteSelection): modify, call pasteSelection with index
4491
4492         * paragraph.C (asString): reimplement version with no interval to
4493         call the one with interval.
4494
4495         * lyxtext.h: add index arg to pasteSelection
4496
4497         * MenuBackend.C (MenuItem): handle PasteRecent
4498         (Menu::read::Menutags): add md_pasterecent
4499         (read): handle it
4500         (expandPasteRecent): new function
4501         (expand): use it
4502
4503         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4504
4505         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4506         the limited stack
4507         (availableSelections): new function
4508
4509 2003-06-17  Angus Leeming  <leeming@lyx.org>
4510
4511         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4512
4513 2003-06-17  Angus Leeming  <leeming@lyx.org>
4514
4515         * lfuns.h:
4516         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4517
4518         * lyxfunc.C (dispatch): invoke it.
4519
4520 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4521
4522         * iterators.C (operator++, ParPosition): reintroduce some
4523         const_cast for the benefit of older compilers.
4524
4525 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4526
4527         * text3.C (dispatch): do not modify clipboard when doing
4528         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4529         LFUN_DELETE_SKIP on a selection selection
4530
4531 2003-06-16  André Pönitz  <poenitz@gmx.net>
4532
4533         * BufferView.C:
4534         * buffer.C:
4535         * buffer.h:
4536         * paragraph.C:
4537         * tabular.[Ch]: IU of clone() and getLabelList();
4538
4539 2003-06-13  André Pönitz  <poenitz@gmx.net>
4540
4541         * tabular.h: compactification
4542
4543 2003-06-12  André Pönitz  <poenitz@gmx.net>
4544
4545         * tabular.C:
4546         * tabular.h:
4547         * tabular_funcs.h: some renaming plus whitespace
4548
4549 2003-06-12  André Pönitz  <poenitz@gmx.net>
4550
4551         * BufferView.C:
4552         * BufferView_pimpl.C:
4553         * CutAndPaste.C:
4554         * buffer.C:
4555         * iterators.[Ch]:
4556         * lyxfunc.C:
4557         * text.C:
4558         * toc.C: Return a Paragraph & for ParIterator::operator*()
4559
4560 2003-06-11  John Levon  <levon@movementarian.org>
4561
4562         * lyx_main.C:
4563         * ToolbarBackend.h:
4564         * ToolbarBackend.C: add "Toolbars" section and
4565         put the flags there
4566
4567 2003-06-10  Angus Leeming  <leeming@lyx.org>
4568
4569         * lfuns.h:
4570         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4571
4572         * lyxfunc.C (dispatch): invoke it.
4573
4574 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4575
4576         * main.C: protect <ios> with HAVE_IOS
4577         (main): protect sync_with_stdio with HAVE_IOS
4578
4579 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4580
4581         * text2.C (cutSelection): adjust
4582         (pasteSelection): adjust
4583
4584         * messages.C: handle get of empty string
4585
4586         * main.C (main): use sync_with_stdio(false)
4587
4588         * lyxfunc.C (dispatch): adjust
4589
4590         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4591         (WriteAs): remove unneeded BufferView arg.
4592
4593         * bufferparams.h: use correct types on papersize, papersize2 and
4594         paperpackage.
4595
4596         * bufferparams.C (readToken): adjust for type
4597         (writeLaTeX): add missing cases to switch.
4598
4599         * bufferlist.C (quitWriteBuffer): adjust
4600         (close): adjust
4601
4602         * buffer.C (asciiParagraph): remove some commented code.
4603
4604         * CutAndPaste.C: remove current_view extern variable.
4605         (cutSelection): add BufferParams arg.
4606         (eraseSelection): add BufferParams arg.
4607         (pasteSelection): add Buffer const & arg
4608
4609 2003-06-07  John Levon  <levon@movementarian.org>
4610
4611         * buffer.C:
4612         * paragraph_funcs.C:
4613         * paragraph_pimpl.C:
4614         * text.C:
4615         * text2.C:
4616         * paragraph.h:
4617         * paragraph.C: allow InsetERT to freely space lines,
4618         and some consolidation of code
4619
4620 2003-06-06  José Matos  <jamatos@fep.up.pt>
4621
4622         * buffer.C (makeDocBookFile): fix bug #821
4623
4624 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4625
4626         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4627
4628 2003-06-04  Angus Leeming  <leeming@lyx.org>
4629
4630         * buffer.C: bump format to 224.
4631
4632 2003-06-05  André Pönitz  <poenitz@gmx.net>
4633
4634         * text2.C (redoParagraphs): remove two const_cast<>
4635
4636 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4637
4638         * ParagraphList.h: remove last remnants of NO_STD_LIST
4639
4640 2003-06-03  Angus Leeming  <leeming@lyx.org>
4641
4642         * factory.C (createInset): small change to the way InsetExternal's params
4643         are set.
4644
4645 2003-06-04  André Pönitz  <poenitz@gmx.net>
4646
4647         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4648
4649         * paragraph_pimpl.h:
4650         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4651
4652         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4653
4654         * undo_funcs.C: make some simple cases of undo work again
4655
4656 2003-06-03  John Levon  <levon@movementarian.org>
4657
4658         * ispell.C: HPUX doesn't have sys/select.h
4659         (from Albert Chin)
4660
4661 2003-06-03  John Levon  <levon@movementarian.org>
4662
4663         * CutAndPaste.C: update tabular and include inset
4664         buffer references
4665
4666         * buffer.h:
4667         * paragraph.h:
4668         * paragraph.C: remove owningBuffer(), don't pass Buffer
4669         to clone()
4670
4671         * factory.C: insetGraphicsParams changed
4672
4673 2003-06-02  John Levon  <levon@movementarian.org>
4674
4675         * LyXAction.C:
4676         * factory.C:
4677         * lfuns.h:
4678         * lyxfunc.C:
4679         * text3.C: remove insetparent
4680
4681 2003-06-02  John Levon  <levon@movementarian.org>
4682
4683         * buffer.h:
4684         * buffer.C: fix inset_iterator.end(), move out of line
4685         (bug 1149)
4686
4687 2003-06-01  John Levon  <levon@movementarian.org>
4688
4689         * text3.C: use a proper cut/paste when doing inset
4690         insert (from Jürgen Spitzmüller)
4691
4692 2003-06-01  John Levon  <levon@movementarian.org>
4693
4694         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4695
4696 2003-05-30  André Pönitz  <poenitz@gmx.net>
4697
4698         * rowpainter.C: unify second drawing phase
4699
4700 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4701
4702         * trans_mgr.C: remove one case of current_view
4703
4704         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4705
4706         * paragraph_funcs.h: remove paragraph.h include
4707
4708         * paragraph.h: delete NO_STD_LIST stuff
4709
4710         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4711
4712         * buffer.h: remove paragraph.h include
4713
4714         * ParagraphList.C: delete file
4715
4716         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4717
4718         * toc.C (getTocList): adjust
4719
4720         * paragraph_pimpl.C (validate): adjust
4721
4722         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4723
4724         * paragraph.C (Paragraph): adjust
4725         (getPositionOfInset): use const_iterator, adjust
4726         (bibitem): use const_iterator, adjust
4727         (setInsetOwner): adjust
4728
4729         * iterators.C (operator++): adjust
4730
4731         * InsetList.[Ch]: Replace selfmade iterator with standard
4732         vector::iterator also introduce const_iterator. Remove getPos,
4733         getInset and setInset from InsetTable. Adjust accordingly.
4734
4735         * BufferView.C (lockInset): adjust
4736         (ChangeInsets): adjust
4737
4738         * tabular.[Ch]: delete commented same_id functions
4739
4740 2003-05-28  John Levon  <levon@movementarian.org>
4741
4742         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4743
4744 2003-05-28  André Pönitz  <poenitz@gmx.net>
4745
4746         * metricsinfo.[Ch]: remove 'fullredraw' member
4747
4748 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4749
4750         * lyxtextclass.C (operator): remove caching.
4751
4752 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4753
4754         * text3.C: adjust
4755
4756         * text2.C (cursorBottom): adjust
4757         (setCounter): use ParagraphList::find, adjust
4758
4759         * text.C (workWidth): use ParagraphList::find, adjust
4760
4761         * lyxcursor.C (LyXCursor): adjust
4762
4763         * buffer.C (inset_iterator): adjust
4764
4765         * ParagraphList.h: make iterator(value_type) private, make
4766         ParagraphList a friend of iterator.
4767
4768         * ParagraphList.C (find): new function
4769
4770         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4771
4772 2003-05-27  André Pönitz  <poenitz@gmx.net>
4773
4774         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4775
4776 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4777
4778         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4779
4780 2003-05-26  John Levon  <levon@movementarian.org>
4781
4782         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4783
4784 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4785
4786         * remove same_id from function signatures, adjust.
4787
4788 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4789
4790         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4791
4792         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4793
4794         * paragraph.C (Paragraph): get rid of same_ids parameter
4795
4796         * ParagraphList.C (insert): adjust
4797         (push_back): adjust
4798
4799 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4800
4801         * paragraph_funcs.C (breakParagraph): adjust
4802         (breakParagraphConservative): adjust
4803
4804         * buffer.C (readParagraph): adjust
4805
4806         * ParagraphList.C (insert): take a reference instead of a pointer
4807         (insert): adjust
4808
4809         * paragraph.[Ch] (id): new function
4810
4811         * bufferlist.C (newFile): adjust
4812
4813         * ParagraphList.C (ParagraphList): adjust
4814         (assign): adjust
4815         (push_back): take a reference instead of a pointer.
4816
4817         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4818
4819         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4820         instead.
4821
4822         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4823         set else use old code.
4824
4825         * ParagraphList.C: remove all NO_NEXT code and only compile this
4826         code of NO_STD_LIST is set.
4827
4828 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4829
4830         * BufferView_pimpl.C:
4831         * TextCache.C:
4832         * TextCache.h:
4833         * bufferlist.C:
4834         * errorlist.h:
4835         * format.C:
4836         * format.h:
4837         * graph.C:
4838         * lyxfunc.C:
4839         * lyxrc.C:
4840         * graphics/GraphicsConverter.C:
4841         * graphics/PreviewLoader.C: header adjustment
4842
4843 2003-05-23  Angus Leeming  <leeming@lyx.org>
4844
4845         * LaTeXFeatures.[Ch] (useBabel): new method.
4846         * bufferparams.C (writeLaTeX): use it.
4847
4848 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4849
4850         * ParagraphList.h (set): remove unused function.
4851
4852 2003-05-23  André Pönitz  <poenitz@gmx.net>
4853
4854         * BufferView.C:
4855         * BufferView_pimpl.C:
4856         * buffer.C:
4857         * buffer.h:
4858         * lyxfunc.C:
4859         * undo_funcs.C: setUndo reworked
4860
4861         * iterators.[Ch]: add access to topmost ParagraphList
4862
4863         * lyxtext.[Ch] (workWidth): add a const
4864
4865 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4866
4867         * texrow.[Ch] (increasePos): remove function
4868         * exporter.C (export): removed unused var and outdated comment
4869
4870 2003-05-23  Angus Leeming  <leeming@lyx.org>
4871
4872         * latexrunparams.h: rename fragile as moving_arg.
4873         * paragraph.C (simpleTeXOnePar): ditto.
4874         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4875
4876 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4877
4878         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4879         (createUndo): ditto
4880         (textUndoOrRedo): comment out a currently unused var.
4881
4882         * paragraph.h (NO_NEXT): enable NO_NEXT
4883
4884         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4885
4886         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4887
4888         * exporter.C (Export): adjust for removeAutoInsets removal.
4889
4890         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4891
4892         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4893
4894         * BufferView.[Ch] (removeAutoInsets): delete function
4895
4896 2003-05-22  Angus Leeming  <leeming@lyx.org>
4897
4898         * latexrunparams.h: add a free_spacing variable.
4899
4900         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4901         to pass moving_arg, as the data is stored in runparams.fragile.
4902
4903         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4904         to Inset::latexOptional or to simpleTeXOnePar.
4905
4906         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4907         free_spacing arg to Inset::latexOptional.
4908
4909         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4910         free_spacing arg.
4911
4912 2003-05-22  Angus Leeming  <leeming@lyx.org>
4913
4914         * latexrunparams.h: add fragile and use_babel variables.
4915
4916         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4917         * buffer.C (makeLaTeXFile): store this returned value in
4918         runparams.use_babel, thus passing it to the inset::latex methods.
4919
4920         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4921         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4922
4923         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4924         longer has a fragile arg, as it is stored in runparams.fragile.
4925
4926         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4927         moving_arg parameter as the data is stored in runparams.fragile.
4928
4929         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4930         a fragile parameter as the data is stored in runparams.fragile.
4931
4932 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4933
4934         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4935
4936 2003-05-22  Angus Leeming  <leeming@lyx.org>
4937
4938         * latexrunparams.h: add a 'bool nice' which defaults to false.
4939
4940         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4941         now encapsulated within runparams.
4942
4943         * bufferlist.C (updateIncludedTeXfiles):
4944         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4945
4946 2003-05-22  Angus Leeming  <leeming@lyx.org>
4947
4948         * latexrunparams.h: new file containing struct LatexRunParams.
4949         * Makefile.am: add new file.
4950
4951         * LaTeX.[Ch] (c-tor, run):
4952         * buffer.[Ch] (makeLaTeXFile):
4953         * bufferlist.[Ch] (updateIncludedTeXfiles):
4954         * converter.C (convert, scanLog):
4955         * converter.[Ch] (runLaTeX):
4956         * exporter.C (Export):
4957         * paragraph.[Ch] (simpleTeXOnePar):
4958         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4959         * paragraph_funcs.[Ch] (latexParagraphs):
4960         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4961         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4962         pass around a LatexRunParams parameter.
4963
4964 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4965
4966         * paragraph.[Ch]: remove unused constructor
4967
4968         * ParagraphList.C (erase): new function, taking two iterators
4969
4970 2003-05-22  André Pönitz  <poenitz@gmx.net>
4971
4972         * undo_funcs.C: remove duplicated code
4973
4974         * iterator.[Ch]: operator=
4975
4976 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4977
4978         * tabular.C (SetMultiColumn): ws changes
4979
4980         * rowpainter.C (paintFirst): get rid of a ->previous
4981
4982         * lyx_cb.C (getPossibleLabel): parlist simplification
4983
4984         * BufferView.C (ChangeInsets): simplify slightly.
4985
4986 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4987
4988         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4989         * lfuns.h: new LFUN_SPACE
4990         * lyxfunc.C: protected space has a new lfun
4991         * paragraph_funcs.C: read new space insets
4992         * text3.C:
4993         * factory.C: handle new space insets
4994
4995 2003-05-22  André Pönitz  <poenitz@gmx.net>
4996
4997         * BufferView.C:
4998         * BufferView_pimpl.C:
4999         * buffer.[Ch]:
5000         * lyxfunc.C:
5001         * undo_funcs.C: return a ParIterator from getParFromID.
5002
5003         * iterators.[Ch]: add two const's
5004
5005 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5006
5007         * toc.C (getTocList): adjust
5008
5009         * iterators.[Ch]: rework for parlist
5010
5011         * buffer.C (par_iterator_begin): adjust
5012         (par_iterator_end): adjust
5013
5014         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5015
5016         * BufferView.C (removeAutoInsets): adjust
5017         (ChangeInsets): adjust
5018
5019 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5020
5021         * text.C (top_y): fix bug 1110
5022
5023 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5024
5025         * errorlist.[Ch]: added
5026         * buffer.C:
5027         * BufferView.[Ch]:
5028         * BufferView_pimpl.C:
5029         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5030         instead
5031
5032 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5033
5034         * Makefile.am: ensure that lyx is relinked upon changes to the
5035         various "convenience" libs.
5036
5037 2003-05-20  Angus Leeming  <leeming@lyx.org>
5038
5039         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5040         files are compiled in alphabetical order again.
5041
5042         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5043
5044 2003-05-19  Angus Leeming  <leeming@lyx.org>
5045
5046         * gettext.[Ch]: remove "char const * _(char const *)".
5047
5048 2003-05-19  André Pönitz  <poenitz@gmx.net>
5049
5050         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5051
5052         * Makefile.am:
5053         * BufferView.C:
5054         * DepTable.h:
5055         * LaTeXFeatures.C:
5056         * buffer.C:
5057         * lyxfont.C:
5058         * lyxlex.h:
5059         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5060
5061 2003-05-19  André Pönitz  <poenitz@gmx.net>
5062
5063         * buffer.C:
5064         * lyxlayout.[Ch]:
5065         * lyxtextclass.[Ch]:
5066         * paragraph.C:
5067         * paragraph_funcs.[Ch]:
5068         * text2.C:
5069         * text3.C: more insetenv work
5070
5071 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5072
5073         * ParagraphParameters.C (params2string): small bug fixed
5074
5075 2003-05-16  André Pönitz  <poenitz@gmx.net>
5076
5077         * debug.C:
5078         * bufferview_funcs.C: patch from Kornel Benko to prevent
5079           crash when _(...) is called twice in a statement
5080
5081 2003-05-16  André Pönitz  <poenitz@gmx.net>
5082
5083         * BufferView.C:
5084         * lyxfunc.C:
5085         * text.C:
5086         * text2.C:
5087         * text3.C:
5088         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5089
5090 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5091
5092         * lyx_main.C (init): remove spurious static_cast
5093
5094 2003-05-14  André Pönitz  <poenitz@gmx.net>
5095
5096         * BufferView.C: fix format string
5097
5098 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5099
5100         * BufferView.[Ch] (insertErrors): removed
5101         * BufferView.[Ch] (showErrorList): added
5102         * buffer.C (runChkTeX):
5103         * converter.C (scanLog): call showErrorList instead of inserterrors
5104
5105 2003-05-13  André Pönitz  <poenitz@gmx.net>
5106
5107         * BufferView_pimpl.C:
5108         * buffer.C:
5109         * bufferview_func.C:
5110         * MenuBackend.C:
5111         * lyxfunc.C:
5112         * lyxrc.C:
5113         * tex-accent.C:
5114         * text3.C:
5115         * toc.C:
5116         * tabular_funcs.h: tostr() from its own header
5117
5118         * ParagraphParameters.C:
5119         * ToolbarBackend.C:
5120         * bufferparams.C:
5121         * format.C:
5122         * lyxlex_pimpl.C:
5123         * text3.C: STRCONV()
5124
5125 2003-05-12  André Pönitz  <poenitz@gmx.net>
5126
5127         * BufferView.C:
5128         * BufferView_pimpl.C:
5129         * CutAndPaste.C:
5130         * LaTeX.C:
5131         * LaTeXFeatures.C:
5132         * ParagraphParameters.C:
5133         * buffer.C:
5134         * bufferlist.C:
5135         * bufferparams.C:
5136         * bufferview_funcs.C:
5137         * converter.C:
5138         * counters.C:
5139         * debug.C:
5140         * exporter.C:
5141         * format.C:
5142         * importer.C:
5143         * lyx_cb.C:
5144         * lyx_main.C:
5145         * lyxfont.C:
5146         * lyxfunc.C:
5147         * lyxvc.C:
5148         * paragraph.C:
5149         * paragraph_funcs.C:
5150         * tabular.C:
5151         * tabular_funcs.C:
5152         * text2.C:
5153         * text3.C:  boost::format -> bformat  all over the place
5154
5155
5156 2003-05-09  André Pönitz  <poenitz@gmx.net>
5157
5158         * LColor.[Ch]: Pimpl the #include <map> away
5159
5160 2003-05-09  John Levon  <levon@movementarian.org>
5161
5162         * bufferlist.C: never remove emergency saves
5163
5164 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5165
5166         * Makefile.am: better lib building
5167
5168 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5169
5170         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5171         instead.
5172         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5173         (simpleTeXSpecialChars): adjust
5174         (simpleTeXSpecialChars): adjust
5175         * paragraph.C (simpleTeXOnePar): adjust
5176         * buffer.C (makeLaTeXFile): adjust
5177
5178         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5179
5180         * text2.C (changeDepth): parlist cleanup
5181         (getColumnNearX): ditto
5182
5183         * rowpainter.C (getLabelFont): parlist cleanup
5184
5185         * bufferlist.C (newFile): parlist cleanup
5186
5187         * CutAndPaste.C (eraseSelection): parlist cleanup
5188
5189         * BufferView_pimpl.C (trackChanges): parlist cleanup
5190         (dispatch): ditto
5191
5192         * BufferView.C (lockInset): parlist cleanup.
5193         (ChangeInsets): ditto
5194
5195 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5196
5197         * CutAndPaste.h: Update file header.
5198
5199         * CutAndPaste.C: Update file header.
5200         Store the parts cut out of the Document in a limited_stack.
5201         (copySelection): adjust
5202         (pasteSelection): new function, takes the index in the limited stack.
5203         (nrOfParagraphs): adjust
5204         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5205         simplify error inset insertion.
5206         (checkPastePossible): adjust
5207
5208 2003-05-06  John Levon  <levon@movementarian.org>
5209
5210         * text2.C: don't cast wrap inset to float
5211
5212 2003-05-05  André Pönitz  <poenitz@gmx.net>
5213
5214         * iterator.C:
5215         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5216
5217         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5218           few naked Paragraph *.
5219
5220 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5221
5222         * bufferparams.C: Output warning if a document with missing
5223         TeX document class is loaded
5224         * exporter.C: Disable TeX exports if the document class is missing
5225         * lyxtextclass.C:
5226         * lyxtextclass.h:
5227         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5228         isTeXClassAvailable()
5229
5230 2003-05-03  John Levon  <levon@movementarian.org>
5231
5232         * BufferView.h:
5233         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5234         explicit cursor show/hide
5235
5236         * BufferView_pimpl.h:
5237         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5238         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5239
5240         * lyxfunc.C: hide cursor before dispatching.
5241
5242         * lyx_cb.C:
5243         * lyxfind.C:
5244         * text.C:
5245         * text3.C: remove explicit cursor hides
5246
5247 2003-05-02  André Pönitz  <poenitz@gmx.net>
5248
5249         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5250
5251         * undo_funcs.C:
5252         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5253           linked lists
5254
5255         * text2.C: tiny whitespace
5256
5257 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5258
5259         * undo_funcs.C: almost only ws changes.
5260
5261         * ParagraphList.C (splice): just return if pl is empty.
5262
5263 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5264
5265         * ParagraphList.C (splice): new function.
5266
5267         * CutAndPaste.C (pasteSelection): use it
5268
5269 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5270
5271         * CutAndPaste.C (pasteSelection): remove the last next and
5272         previous from this file.
5273
5274 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5275
5276         * CutAndPaste.C (pasteSelection): more clean up, user proper
5277         ParagraphList functions for pasteing.
5278
5279         * ParagraphList.C (insert): new function, three arg insert
5280
5281 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5282
5283         * ParagraphList.C (insert): new function, three arg insert
5284
5285         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5286         not on paragraphs.
5287
5288 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5289
5290         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5291
5292 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5293
5294         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5295
5296 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5297
5298         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5299         (copySelection): clean up a bit.
5300         (pasteSelection): use make_pair
5301
5302         * ParagraphList.C (ParagraphList): implement copy constructor
5303         (operator=): implement, base on copy constructor.
5304         (assign): new func
5305
5306         * paragraph.C (erase): return a bool
5307
5308         * paragraph_pimpl.C (erasePos): remove function, move contents...
5309         (erase): ... here. Return a bool.
5310         (erase): call erase instead of erasePos.
5311
5312 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5313
5314         * ParagraphList.h: define PitPosPair
5315         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5316         ParagraphList, fix a bug on pasting multiple pars
5317         * text2.C: change interface to C&P
5318
5319 2003-04-30  André Pönitz  <poenitz@gmx.net>
5320
5321         * undo_func.C: revert part of yesterday's patch 2
5322
5323 2003-04-30  John Levon  <levon@movementarian.org>
5324
5325         * LColor.C: s/tabular/table/
5326
5327 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5328
5329         * text3.C (dispatch): do not convert iterator -> pointer
5330         * undo_funcs.C (setCursorParUndo): ditto
5331         * text_funcs.C (transposeChars): ditto
5332
5333         * text2.C (setLayout): ws changes only
5334
5335         * text.C (breakParagraph): do not convert iterator -> pointer
5336         (insertChar): ditto
5337         (acceptChange): ditto
5338         (rejectChange): ditto
5339         (changeCase): ditto
5340         (Delete): ditto
5341         (backspace): ditto
5342
5343         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5344         pointer
5345
5346 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5347
5348         * text3.C (gotoInset): YABG (yet another bad getChar)
5349
5350 2003-04-29  André Pönitz  <poenitz@gmx.net>
5351
5352         * paragraph.h: make operator= private unimplemented as long as
5353           it is unusable
5354
5355         * ParagraphList.C: whitespace
5356
5357         * paragraph.[Ch]:
5358         * paragraph_pimpl.[Ch]:
5359         * paragraph_funcs.C:
5360         * CutAndPaste.C:
5361         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5362
5363         * text2.C:
5364           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5365
5366 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5367
5368         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5369         * paragraph.[Ch] (erase):
5370         * paragraph_pimpl.[Ch] (erase): change return type and value
5371         * text2.C (cutSelection): some rework
5372
5373 2003-04-28  John Levon  <levon@movementarian.org>
5374
5375         * bufferlist.C: changes for unsaved changes dialog
5376
5377 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5378
5379         * bufferlist.C (newFile): set language (messages_) for new
5380         documents also.
5381
5382         * buffer.C (readFile): ws changes only.
5383
5384 2003-04-28  André Pönitz  <poenitz@gmx.net>
5385
5386         * undo_funcs.C:
5387         * lyxfunc.C:
5388         * buffer.[Ch]:
5389         * BufferView_pimpl.C:
5390         * BufferView.C: getParFromID related ParagraphList::iterator changes
5391
5392 2003-04-28  André Pönitz  <poenitz@gmx.net>
5393
5394         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5395           Changes
5396
5397 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5398
5399         * messages.C: remove one more localedir class variable.
5400
5401 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5402
5403         * messages.C (getLocaleDir): singleton generation function
5404         (Pimpl): use it.
5405         (Messages): add a default constructor.
5406
5407         * main.C (main): do not setup localedir here, do not call
5408         gettext_init.
5409
5410         * gettext.C (_): use it.
5411         (gettext_init): delete funciton
5412
5413 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5414
5415         * gettext.C (getLyXMessages): new singleton generating function.
5416
5417         * buffer.C (updateDocLang): adjust
5418
5419         * Makefile.am (messages.o): add target
5420         (main.o): remove target
5421
5422 2003-04-27  John Levon  <levon@movementarian.org>
5423
5424         * bufferlist.C:
5425         * lyx_cb.C:
5426         * lyxfunc.C:
5427         * lyxvc.C: specify cancel button in Alert::prompt
5428
5429 2003-04-26  John Levon  <levon@movementarian.org>
5430
5431         * text3.C:
5432         * lyxfunc.C:
5433         * lfuns.h:
5434         * LyXAction.C: add LFUN_INSET_SETTINGS
5435
5436         * lyxfunc.C: don't enable tabular-feature when there's
5437         just any locking inset
5438
5439 2003-04-26  John Levon  <levon@movementarian.org>
5440
5441         * bufferlist.C: re-add Cancel to buffer close question
5442
5443         * lyxfunc.C: fix import UI a bit
5444
5445 2003-04-25  John Levon  <levon@movementarian.org>
5446
5447         * gettext.C: remove the broken asserts for now
5448
5449 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5450
5451         * messages.C: make case where setlocale cannot comply work better.
5452
5453         * buffer.C (updateDocLang): new function
5454         (changeLanguage): use it
5455         (readFile): use it
5456
5457         * text2.C (setCounter): use B_ a bit.
5458
5459         * lyxlayout.C (Read): be sure to trim the label strings.
5460
5461         * messages.C (Messages): fix typo in comment
5462
5463         * buffer.C (readFile): set message_ after file is loaded.
5464         (makeDocBookFile): remove double return
5465         (changeLanguage): reset message_ upon language change.
5466         (B_): new func, use this to get translated buffer strings.
5467
5468         * main.C: add myself and Jean Marc as authors.
5469
5470 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5471
5472         * messages.[hC]: pimplify Messages, and three different pimpls to be
5473         used in different circumstances.
5474
5475         * gettext.[Ch]: change for use with new message code.
5476
5477 2003-04-24 André Pönitz <poenitz@gmx.net>
5478
5479         * factory.C: support for eqref
5480
5481 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5482
5483         * messages.[Ch]: add missing char
5484
5485         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5486
5487         * messages.[Ch]: New files
5488
5489 2003-04-18  John Levon  <levon@movementarian.org>
5490
5491         * BufferView.h:
5492         * BufferView.C:
5493         * BufferView_pimpl.C:
5494         * lfuns.h:
5495         * LyXAction.C:
5496         * lyxtext.h:
5497         * text2.C: remove layout-copy/paste (bug 778)
5498
5499 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5500
5501         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5502
5503 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5504
5505         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5506         if they succeed. Act accordingly.
5507
5508 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5509
5510         * text2.C (setCharFont): adjust
5511         (setCounter): adjust
5512         (insertStringAsLines): adjust
5513
5514         * text.C (leftMargin): adjust
5515         (setHeightOfRow): adjust
5516
5517         * rowpainter.C (paintFirst): adjust
5518         (paintLast): adjust
5519
5520         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5521         (outerHook): ditto
5522         (isFirstInSequence): ditto
5523         (getEndLabel): ditto
5524         (outerFont): adjust
5525
5526         * paragraph.C (getParLanguage): comment out some hard stuff.
5527
5528         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5529         (sgmlError): ditto
5530         (simpleDocBookOnePar): ditto
5531         (makeDocBookFile): use ParagraphList::iterator
5532
5533         * CutAndPaste.C (pasteSelection): adjust
5534
5535 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5536
5537         * text2.C (getFont): adjust
5538         (getLayoutFont): adjust
5539         (getLabelFont): adjust
5540
5541         * paragraph_funcs.C (TeXOnePar): adjust
5542
5543         * buffer.C (simpleLinuxDocOnePar): adjust
5544         (simpleDocBookOnePar): adjust
5545
5546         * CutAndPaste.C (pasteSelection): adjust
5547
5548         * BufferView.C (getEncoding): adjust
5549
5550         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5551
5552 2003-04-16  John Levon  <levon@movementarian.org>
5553
5554         * lyxfind.C: use parlist stuff for search/changes
5555
5556 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5557
5558         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5559
5560         * text2.C (deleteEmptyParagraphMechanism): adjust
5561
5562         * text2.[Ch] (ownerParagraph): delete func (both of them
5563
5564 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5565
5566         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5567
5568 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5569
5570         * ParagraphList.C: prepare for NO_NEXT
5571
5572 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5573
5574         * text2.C (getFont): adjust
5575         (getLayoutFont): adjust
5576         (getLabelFont): adjust
5577
5578         * paragraph.C (getFont): adjust
5579         (getLabelFont): adjust
5580         (getLayoutFont): adjust
5581
5582         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5583
5584 2003-04-15  John Levon  <levon@movementarian.org>
5585
5586         From Angus Leeming
5587
5588         * lyx_main.C: handle Include in .ui files
5589
5590 2003-04-15  John Levon  <levon@movementarian.org>
5591
5592         * MenuBackend.C: make the doc files length shorter
5593
5594         * ToolbarBackend.h:
5595         * ToolbarBackend.C: handle toolbar placement flags,
5596         Minibuffer
5597
5598 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5599
5600         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5601         adjust
5602
5603         * paragraph_funcs.C (TeXOnePar): adjust
5604
5605         * paragraph.C (getLabelFont): add outerfont arg, adjust
5606         (getLayoutFont): ditto
5607         (simpleTeXOnePar): adjust
5608
5609         * paragraph_pimpl.C (realizeFont): delete func
5610
5611 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5612
5613         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5614         row argument, constify cur argument.
5615
5616 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5617
5618         * text2.C (getFont): adjust
5619         (getLayoutFont): adjust
5620         (getLabelFont): adjust
5621
5622         * paragraph_funcs.C (TeXOnePar): adjust
5623         (outerFont): new func...
5624         (realizeFont): ...moved out from here, changed this to facilitate
5625         transition
5626
5627         * paragraph.C (getFont): take outerfont as arg, adjust
5628         (simpleTeXOnePar): add outerfont arg, adjust
5629
5630         * buffer.C (simpleLinuxDocOnePar): adjust
5631         (simpleDocBookOnePar): adjust
5632
5633         * CutAndPaste.C (pasteSelection): adjust
5634
5635         * BufferView.C (getEncoding): adjust
5636
5637 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5638
5639         * text2.C (setCharFont): adjust
5640         (setCounter): adjust
5641
5642         * text.C (leftMargin): adjust
5643         (setHeightOfRow): adjust
5644
5645         * rowpainter.C (paintFirst): adjust
5646         (paintLast): adjust
5647
5648         * paragraph_pimpl.C (realizeFont): adjust
5649
5650         * paragraph.C (isFirstInSequence): move from here...
5651         * paragraph_funcs.C (isFirstInSequence): ...to here
5652
5653         * paragraph.C (outerHook): move from here...
5654         * paragraph_funcs.C (outerHook): ...to here
5655
5656         * paragraph.C (depthHook): move from here...
5657         * paragraph_funcs.C (depthHook): ...to here
5658
5659         * paragraph.C (getEndLabel): move from here...
5660         * paragraph_funcs.C (getEndLabel): ...to here
5661
5662         * text2.C (realizeFont): move from here...
5663         * paragraph_funcs.C (realizeFont): ...to here
5664
5665 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5666
5667         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5668
5669 2003-04-14  Angus Leeming  <leeming@lyx.org>
5670
5671         * LColor.[Ch]: scrap LColor mathcursor.
5672
5673 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5674
5675         * lyxlex.[Ch] (text): delete function
5676         * trans.C (Load): adjust
5677         * paragraph_funcs.C (readParToken): adjust
5678
5679 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5680
5681         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5682         vector<char> instead of a char[].
5683
5684         * lyxlex_pimpl.C (getString): adjust
5685         (next): adjust
5686         (lex): use getString
5687         (eatLine): adjust
5688         (nextToken): adjust
5689
5690         * lyxlex.C (text): use pimpl_->getString()
5691         (getBool): ditto
5692         (findToken): ditto
5693
5694 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5695
5696         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5697         (makeFontEntriesLayoutSpecific): temp var for par.size()
5698         (setLayout): temp var for ownerParagraphs().end()
5699         (fullRebreak): temp var for rows().end()
5700         (selectionAsString): temp var for boost::next(startpit), realize
5701         that the while really is a regular for loop.
5702         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5703         setCursor in one place.
5704         (setParagraph): temp vr for ownerParagraphs().end()
5705         (updateCounters): make the while loop a for loop
5706         (cutSelection): temp var for ownerParagraphs().end()
5707         (updateInset): make the do {} while() a regular for loop
5708         (getCursorX): use temp vars
5709         (setCurrentFont): use temp vars
5710         (getColumnNearX): use temp vars
5711
5712 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5713
5714         * text.C (transformChar): use temp var for getChar
5715         (computeBidiTables): use temp var for row->par()
5716         (fill): move temp vars for row->par() and pit->layout() earlier in
5717         the function.
5718         (labelFill): use temp var for row->par()
5719         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5720         asc and desc, realize that pit never changes and that firstpit is
5721         just a duplicate and not needed. Exchange rit->par() with pit in a
5722         lot of places.
5723         (breakAgain): use a temp var for boost::next(rit)
5724         (breakAgainOneRow): ditto
5725         (breakParagraph): use a temp var for rows().begin()
5726         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5727         (cursorRightOneWord): use temp var for cursor.par() and
5728         cursor.pos(), remove usage of tmpcursor.
5729         (cursorLeftOneWord): use temp var for cursor.par() and
5730         cursor.pos() only set cur at end of function.
5731
5732 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5733
5734         * text.C, text2.C: exchange all usage of Paragraph::next with
5735         boost::next(ParagraphList::iterator)
5736
5737         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5738
5739         * text2.C (cursorTop): simplify implementation
5740         (cursorBottom): ditto
5741         (setParagraph): use ParagraphList::iterator
5742         (setCurrentFont): adjust
5743         (getColumnNearX): adjust
5744         (cursorRight): adjust
5745         (cursorLeft): remove usage of Paragraph::previous
5746         (cursorUpParagraph): ditto
5747         (deleteEmptyParagraphMechanism): slight cleanup
5748
5749         * text.C (isBoundary): take a Paragraph const & instead of a
5750         pointer as arg.
5751         (addressBreakPoint): ditto
5752         (leftMargin): remove usage of Paragraph::previous.
5753         (setHeightOfRow): ditto
5754         (cursorLeftOneWord): ditto
5755         (selectNextWordToSpellcheck): ditto
5756         (Delete): ditto
5757         (backspace): ditto
5758         (breakParagraph): remove one usage of Paragraph::next
5759         (redoParagraph): ditto
5760         (acceptChange): ditto
5761         (insertChar): adjust
5762         (rowBreakPoint): adjust
5763
5764         * bufferview_funcs.C (toggleAndShow): adjust
5765
5766 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5767
5768         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5769         methods to access it.
5770         * lyxtext.h:
5771         * text.C: Added updateRowPositions to compute all row positions.
5772         Make top_y and getRowNearY() to use the cached y position
5773
5774 2003-04-11  John Levon  <levon@movementarian.org>
5775
5776         * text.C (rowBreakPoint): reintroduce the labelEnd
5777         checks, code copied from the row fill stuff. Deep voodoo.
5778
5779         * text.C (fill): add a comment and debugging for the
5780         next poor soul.
5781
5782 2003-04-11  John Levon  <levon@movementarian.org>
5783
5784         * text.C: make sure fullrow insets get wrapped to the next line,
5785         even when they're in a manual label
5786
5787 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5788
5789         * text2.C (insertParagraph): make it take ParagraphList::iterator
5790         as arg.
5791         (setLayout): make it return ParagraphList::iterator
5792         (redoParagraphs): ditto
5793         (setCounter): ditto
5794         (checkParagraph): ditto
5795
5796         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5797
5798         * text2.C: adjust several funcs.
5799         (realizeFont): take a ParagraphList::iterator as arg.
5800         (getLayoutFont): ditto
5801         (getLabelFont): ditto
5802         (setCharFont): ditto
5803
5804         * text.C: adjust several funcs.
5805
5806 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5807
5808         * text.C (selectNextWordToSpellcheck): don't accidentally
5809         skip insets
5810
5811 2003-04-10  John Levon  <levon@movementarian.org>
5812
5813         * ToolbarBackend.C (getIcon): special handling for
5814         LFUN_MATH_DELIM
5815
5816 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5817
5818         * text2.C (cursorRight): a getChar assert fixed
5819
5820 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5821
5822         * text2.C (getFont): change to take a ParagraphList::iterator
5823         instead of Paragraph*
5824         Adjust several functions.
5825
5826         * text.C (transformChar): change to take a ParagraphList::iterator
5827         instead of Paragraph*
5828         (singleWidth): ditto
5829         Adjust several functions.
5830
5831         * rowpainter.C: adjust several functions
5832         * rowpainter.h:store a ParagraphList::iterator and not a
5833         Paragraph&.
5834
5835
5836 2003-04-09  John Levon  <levon@movementarian.org>
5837
5838         * lyxfunc.C:
5839         * lfuns.h:
5840         * LyXAction.h:
5841         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5842         and the "help" bits as well
5843
5844 2003-04-09  John Levon  <levon@movementarian.org>
5845
5846         * ToolbarBackend.h:
5847         * ToolbarBackend.C: allow multiple toolbars
5848
5849 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5850
5851         * undo_funcs.C (setCursorParUndo): adjust
5852
5853         * text_funcs.C (transposeChars): adjust
5854
5855         * text3.C (gotoNextInset): adjust
5856         (dispatch): adjust
5857
5858         * text2.C (setLayout): adjust
5859         (changeDepth): adjust
5860         (setFont): adjust
5861         (redoParagraphs): adjust
5862         (selectionAsString): adjust
5863         (setParagraph): adjust
5864         (insertInset): adjust
5865         (cutSelection): adjust
5866         (copySelection): adjust
5867         (pasteSelection): adjust
5868         (insertStringAsLines): adjust
5869         (updateInset): adjust
5870         (setCursor): change to take a ParagraphList::iterator parameter
5871         (setCursorIntern): change to take a ParagraphList::iterator parameter
5872         (setCurrentFont): adjust
5873         (cursorLeft): adjust
5874         (cursorRight): adjust
5875         (deleteEmptyParagraphMechanism): adjust
5876
5877         * text.C (breakParagraph): adjust
5878         (insertChar): adjust
5879         (acceptChange): adjust
5880         (rejectChange): adjust
5881         (selectNextWordToSpellcheck): adjust
5882         (changeCase): adjust
5883         (Delete): adjust
5884         (backspace): adjust
5885
5886         * lyxfind.C (SearchForward): adjust
5887         (SearchBackward): adjust
5888         (nextChange): adjust
5889
5890         * lyxcursor.C (par): adjust
5891
5892         * lyxcursor.h: store a ParagraphList::iterator instead of a
5893         Paragraph*
5894
5895         * lyx_cb.C (getPossibleLabel): adjust
5896
5897         * bufferview_funcs.C (toggleAndShow): adjust
5898
5899         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5900         (dispatch): adjust
5901
5902         * BufferView.C (removeAutoInsets): adjust
5903         (lockedInsetStoreUndo): adjust
5904
5905 2003-04-09  John Levon  <levon@movementarian.org>
5906
5907         * ToolbarBackend.C: try icon without argument
5908         if with argument fails
5909
5910 2003-04-08  John Levon  <levon@movementarian.org>
5911
5912         * ToolbarBackend.h:
5913         * ToolbarBackend.C: add getIcon(), handle tooltip,
5914         and change from "Icon" to "Item".
5915
5916 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5917
5918         * BufferView.C (lockInset): another bad getchar crunched
5919
5920 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5921
5922         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5923         again)
5924
5925 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5926
5927         * lyxfind.C (searchForward, searchBackwards): bug 782
5928
5929 2003-04-07  John Levon  <levon@movementarian.org>
5930
5931         * paragraph.C: remove dead comment
5932
5933         * text.C: remove troublesome depth-fiddling code
5934         in leftMargin() and rightMargin() (bug 1017)
5935
5936         * text.C: fix breaking of rows in nested lists
5937         (bug 1004)
5938
5939         * text2.C (updateCounters): fix up depth values
5940         (bug 1013)
5941
5942 2003-04-07  John Levon  <levon@movementarian.org>
5943
5944         * BufferView_pimpl.C: clear message when doc finishes resizing,
5945         and after a mouse event
5946
5947         * lyxfunc.C: clear message after exiting inset
5948
5949 2003-04-07  John Levon  <levon@movementarian.org>
5950
5951         * bufferview_funcs.C: show math status not outside
5952         status in the statusbar
5953
5954 2003-04-07  John Levon  <levon@movementarian.org>
5955
5956         * lyxfunc.C: note status changed after a depth change
5957
5958 2003-04-04  Angus Leeming  <leeming@lyx.org>
5959
5960         * LaTeX.h: move AuxInfo operator==, != out of line.
5961         Remove LaTeX virtual destructor; nothing derives from it.
5962         Move operator()() out of public area and rename it startscript().
5963         Change protected for private.
5964
5965 2003-04-04  Angus Leeming  <leeming@lyx.org>
5966
5967         * lyxfunc.C:
5968         * text2.C: remove unneeded #includes.
5969
5970 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5971
5972         * text2.C (dEPM): fix the heigth of the next row
5973
5974 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5975
5976         * text.C: squashed an invalid getChar requester + some ws changes
5977
5978 2003-04-03  John Levon  <levon@movementarian.org>
5979
5980         * bufferview_funcs.h:
5981         * bufferview_funcs.C:
5982         * lyxfunc.C:
5983         * lyxtext.h:
5984         * text2.C: make getStatus work for the env depth lfuns
5985
5986 2003-04-03  John Levon  <levon@movementarian.org>
5987
5988         * bufferview_funcs.h:
5989         * bufferview_funcs.C:
5990         * lyxfunc.C:
5991         * lyxtext.h:
5992         * text2.C: parlistize decDepth(), by merging it with incDepth()
5993
5994 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5995
5996         * lyxrow.h: store a ParagraphList::iterator instead of a
5997         Paragraph* and adjust other class functions to suit.
5998
5999         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6000         above.
6001
6002 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6003
6004         * text2.C (setCursor): do not anchor to cursor row for the time being
6005
6006 2003-04-02  John Levon  <levon@movementarian.org>
6007
6008         * LyXAction.C:
6009         * lfuns.h:
6010         * lyx_main.C:
6011         * lyxtext.h:
6012         * text.C:
6013         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6014
6015 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6016
6017         * paragraph.h: make ParagraphList and ParagraphList::iterator
6018         friends of Paragraph.
6019
6020         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6021
6022         * ParagraphList.C: Use the private next_ and previous_ from
6023         Paragraph.
6024
6025 2003-04-01  John Levon  <levon@movementarian.org>
6026
6027         * ToolbarBackend.h:
6028         * ToolbarBackend.C:
6029         * Makefile.am: rename, remove defaults gunk
6030
6031         * MenuBackend.h:
6032         * MenuBackend.C: remove defaults gunk
6033
6034         * Languages.h:
6035         * Languages.C: remove defaults gunk
6036
6037         * lyx_main.h:
6038         * lyx_main.C: error out if files couldn't be found.
6039
6040 2003-04-02  John Levon  <levon@movementarian.org>
6041
6042         * text2.C: make incDepth() use parlist
6043
6044 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6045
6046         * undo_funcs.C (firstUndoParagraph): adjust
6047
6048         * text3.C (gotoInset): adjust
6049         (dispatch): adjust, and rewrite loop.
6050
6051         * text2.C (init): adjust, and rewrite loop.
6052         (redoParagraphs): adjust
6053         (updateInset): adjust, and rewrite loop.
6054         (deleteEmptyParagraphMechanism): adjust
6055
6056         * tabular.C (LyXTabular): adjust
6057         (SetMultiColumn): adjust
6058         (TeXRow): adjust
6059
6060         * lyxtext.[Ch] (ownerParagraph): delete function
6061         (ownerParagraphs): new function returns a ParagraphList.
6062
6063         * BufferView.C (removeAutoInsets): adjust
6064         (insertErrors): adjust
6065         (setCursorFromRow): adjust
6066
6067 2003-04-01  Angus Leeming  <leeming@lyx.org>
6068
6069         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6070         in the frontends.
6071
6072 2003-04-02  John Levon  <levon@movementarian.org>
6073
6074         * lyxtext.h:
6075         * text.C:
6076         * Makefile.am:
6077         * text_funcs.h:
6078         * text_funcs.C: make transposeChars a free function
6079
6080         * lyxrow_funcs.C: remove wrong comment
6081
6082 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6083
6084         * lyxtext.h: adjust
6085         * rowpainter.C: adjust
6086         * text.C: adjust
6087         * text2.C: adjust
6088         * text3.C: adjust
6089
6090         * lyxrow_funcs. [Ch]: new files
6091
6092         * lyxrow.[Ch]: remove next and previous pointers
6093         (next,previous): remove accessor functions
6094         (isParEnd): move to lyxrow_funcs
6095         (lastPos): move to lyxrow_funcs
6096         (nextRowIsAllInset): move to lyxrow_funcs
6097         (lastPrintablePos): move to lyxrow_funcs
6098         (numberOfSeparators): move to lyxrow_funcs
6099         (numberOfHfills): move to lyxrow_funcs
6100         (numberOfLabelHfills): move to lyxrow_funcs
6101         (hfillExpansion): move to lyxrow_funcs
6102
6103         * lyxfunc.C: adjust
6104
6105         * bufferview_funcs.C (toggleAndShow): adjust
6106
6107         * RowList.h: Remove class RowList from file leave just a
6108         std::list<Row>.
6109
6110         * RowList.C: delete file
6111
6112         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6113         and lyxrow_funcs.h
6114
6115 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6116
6117         * text3.C (cursorPrevious): adjust
6118         (cursorNext): adjust
6119         (dispatch): adjust
6120
6121         * text2.C (redoHeightOfParagraph): adjust
6122         (redoDrawingOfParagraph): adjust
6123         (setCursor): adjust
6124
6125         * text.C (breakParagraph): adjust
6126         (insertChar): adjust
6127         (backspace): adjust
6128
6129         * rowpainter.C (RowPainter): adjust
6130         (leftMargin): simplify and adjust
6131         (most rowpainter functions): adjust.
6132
6133         * rowpainter.h: store the row as RowList::iterator not as Row*
6134
6135         * lyxcursor.C (row): taka RowList::iterator as arg
6136         (irow): ditto
6137
6138         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6139         of Row*.
6140
6141 2003-04-01  Angus Leeming  <leeming@lyx.org>
6142
6143         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6144         stuff like bool Bool.
6145
6146 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6147
6148         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6149         rewrite a loop
6150
6151 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6152
6153         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6154         RowList::iterator.
6155
6156         * lyxtext.h (rows): drop one version and leve a const variant that
6157         returns a RowList::iterator.
6158
6159 2003-03-31  Angus Leeming  <leeming@lyx.org>
6160
6161         * text.C (fill): ensure that the signature is the same as that in the
6162         header file.
6163
6164 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6165
6166         * text2.C (redoParagraphs): adjust
6167         (updateCounters): adjust
6168         (checkParagraph): adjust
6169         (getColumnNearX): adjust and reformat a bit.
6170
6171         * text.C (top_y): adjust
6172         (workWidth): adjust
6173         (leftMargin): adjust
6174         (prepareToPrint): adjust
6175         (getRow): adjust
6176         (getRowNearY): adjust
6177
6178         * lyxtext.h: make rowlist_ mutable.
6179
6180         * RowList.h: add const_iterator
6181         * RowList.C: adjust for RowList::const_iterator.
6182
6183         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6184         adjust.
6185
6186 2003-03-31  John Levon  <levon@movementarian.org>
6187
6188         * lyxrc.h:
6189         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6190
6191         * lyx_main.C: set default fonts from using lyx_gui funcs
6192
6193         * exporter.C: pdf_mode moved from lyxrc
6194
6195         * lyx_cb.C:
6196         * lyxfunc.C: changes from above
6197
6198 2003-03-31  John Levon  <levon@movementarian.org>
6199
6200         * lyx_main.C: fix to the last fix
6201
6202 2003-03-31  John Levon  <levon@movementarian.org>
6203
6204         * bufferlist.C: "Load original" -> "Load Original"
6205
6206         * converter.C:
6207         * exporter.C:
6208         * importer.C:
6209         * lyx_main.C:
6210         * format.C: more Alert cleanups
6211
6212 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6213
6214         * text2.C (removeParagraph): make it take a RowList::iterator as
6215         arg, adjust.
6216         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6217         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6218
6219         * text.C (anchor_row): make it take a RowList::iterator as arg,
6220         adjust.
6221         (computeBidiTables): make it take a const reference to Row instead
6222         of Row pointer, adjust.
6223         (leftMargin): make it take a RowList::iterator as arg, adjust.
6224         (rowBreakPoint): adjust
6225         (breakAgainOneRow): make it take a RowList::iterator as arg,
6226         adjust.
6227         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6228
6229         * bufferview_funcs.C (toggleAndShow): adjust
6230
6231 2003-03-30  John Levon  <levon@movementarian.org>
6232
6233         * Makefile.am:
6234         * BoostFormat.h:
6235         * boost-inst.C: moved to support
6236
6237         * several files: changes as a result
6238
6239 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6240
6241         * text2.C (LyXText): adjust.
6242         (init): adjust
6243         (removeRow): make it take a RowList::iterator as arg, adjust.
6244         (fullRebreak): adjust
6245         (deleteEmptyParagraphMechanism): adjust
6246         (clearPaint): adjust
6247         (postPaint): adjust
6248
6249         * text.C (top_y): adjust
6250         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6251         (breakAgain): make it take a RowList::iterator as arg, adjust.
6252         (breakParagraph): adjust
6253         (insertChar): adjust
6254         (backspace): adjust
6255
6256         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6257         need_break_row, and refresh_row.
6258
6259         * text3.C (dispatch): adjust
6260
6261         * text2.C (checkParagraph): adjust
6262         (setCursor): adjust
6263         (setCursorFromCoordinates): adjust
6264
6265         * text.C (top_y): adjust
6266         (workWidth): adjust
6267         (getRow): make it return a RowList::iterator, adjust
6268         (getRowNearY): make it return a RowList::iterator, adjust
6269
6270         * text2.C (init): adjust
6271         (insertRow): remove function
6272         (insertParagraph): adjust
6273         (redoParagraphs): adjust
6274         (fullRebreak): adjust
6275         (updateCounters): adjust
6276
6277         * text.C (top_y): rewrite to use RowList iterators.
6278         (top_y): adjust
6279         (setHeightOfRow): rewrite to sue RowList iterators.
6280         (appendParagraph): adjust
6281         (breakAgain): adjust
6282         (breakAgainOneRow): adjust
6283         (breakParagraph): adjust
6284         (getRow): adjust
6285         (getRowNearY): adjust, and remove commented code.
6286
6287         * lyxtext.h (firstRow): delete function
6288         (lastRow): delete function
6289         (rows): new function (const and non-const versions.)
6290         (insertRow): delete function
6291
6292         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6293
6294 2003-03-29  John Levon  <levon@movementarian.org>
6295
6296         * BufferView_pimpl.C: always update scrollbar top
6297         because pasting text when we're anchored could mean we
6298         miss an update altogether
6299
6300 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6301
6302         * text2.C (init): use rowlist_.end() and not 0.
6303         (insertRow): change to take a RowList::iterator as arg, adjust
6304         for this.
6305         (insertParagraph): change to take a RowList::iterator as arg,
6306         adjust for this.
6307         (redoParagraphs): remove some debug msgs.
6308
6309         * text.C (appendParagraph): change to take a RowList::iterator
6310         arg, adjust for this.
6311         (breakAgain): add an assert
6312         (breakAgainOneRow): ditto
6313
6314 2003-03-29  John Levon  <levon@movementarian.org>
6315
6316         * text2.C: do not clear selection after inc/decDepth
6317         (bug 550)
6318
6319 2003-03-29  John Levon  <levon@movementarian.org>
6320
6321         * BufferView.C:
6322         * buffer.C: fix broken strerrors according to Lars
6323
6324 2003-03-29  John Levon  <levon@movementarian.org>
6325
6326         * converters.C: more Alert cleanups
6327
6328 2003-03-29  John Levon  <levon@movementarian.org>
6329
6330         * bufferview_funcs.C: remove pointless Alert
6331
6332         * buffer.C: fix confusing error message when
6333         a template is chmoded 000
6334
6335 2003-03-29  John Levon  <levon@movementarian.org>
6336
6337         * BufferView.C:
6338         * BufferView.h:
6339         * BufferView_pimpl.C: Alert fixes
6340
6341         * Makefile.am:
6342         * tabular.C:
6343         * tabular-old.C: remove unused table compat reading
6344
6345 2003-03-29  John Levon  <levon@movementarian.org>
6346
6347         * BufferView.C:
6348         * buffer.C:
6349         * lyx_cb.h:
6350         * lyx_cb.C: more Alert cleanups
6351
6352         * lyxfunc.C: don't allow chktex if not latex document
6353
6354 2003-03-29  John Levon  <levon@movementarian.org>
6355
6356         * lyx_cb.C:
6357         * BufferView.C:
6358         * buffer.C: warnings pushed down from support/,
6359         kill err_alert
6360
6361 2003-03-29  John Levon  <levon@movementarian.org>
6362
6363         * lyxfunc.C: safety check for C-r (revert)
6364
6365 2003-03-29  John Levon  <levon@movementarian.org>
6366
6367         * bufferlist.h:
6368         * bufferlist.C: several UI fixes using Alert::prompt.
6369         Fix the pointless looping quit code. Fix stupid revert
6370         behaviour (bug 938)
6371
6372         * lyxvc.h:
6373         * lyxvc.C:
6374         * lyx_cb.C: use Alert::prompt
6375
6376         * lyx_main.C: remove a silly question
6377
6378         * lyxfunc.C: remove a couple of silly questions,
6379         use Alert::prompt
6380
6381 2003-03-28  John Levon  <levon@movementarian.org>
6382
6383         * text2.C: fix bug 974 (End on empty par)
6384
6385 2003-03-28  John Levon  <levon@movementarian.org>
6386
6387         * BufferView_pimpl.C:
6388         * LyXAction.C:
6389         * lfuns.h: remove do-nothing math greek lfuns
6390
6391 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6392
6393         * lyxgluelength.h (isValidGlueLength): add default arg on
6394         parameter 2. Remove default arg from friend in class.
6395
6396         * lyxlength.h (isValidLength): add default arg on parameter 2.
6397         Remove default arg from friend in class.
6398
6399         * text2.C (LyXText): adjust, initialize refresh_row.
6400         (init): adjust
6401         (removeRow): adjust
6402         (insertRow): adjust
6403         (insertParagraph): adjst
6404         (redoParagraphs): adjust
6405         (fullRebreak): adjust
6406         (updateCounters): adjust
6407         (deleteEmptyParagraphMechanism): first attempt at fixing a
6408         crashing bug.
6409
6410         * text.C (top_y): adjust
6411         (setHeightOfRow): adjust
6412         (getRow): adjust
6413         (getRowNearY): adjust
6414
6415         * lyxtext.h: include RowList.h
6416         (~LyXText): not needed anymore, deleted.
6417         (firstRow): modify for RowList
6418         (lastRow): new function
6419         Delete firstrow and lastrow class variables, add a Rowlist
6420         rowlist_ class variable.
6421
6422         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6423         paragraph is empty.
6424
6425         * RowList.C (insert): fix case where it == begin().
6426
6427 2003-03-26  Angus Leeming  <leeming@lyx.org>
6428
6429         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6430         the thesaurus dialog.
6431
6432 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6433
6434         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6435
6436         * RowList.[Ch]: new files
6437
6438         * ParagraphList.C (erase): handle the case where it == begin
6439         correctly.
6440
6441 2003-03-25  John Levon  <levon@movementarian.org>
6442
6443         * Makefile.am:
6444         * aspell_local.h:
6445         * aspell.C: add new aspell support
6446
6447         * lyxrc.h:
6448         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6449         have it accessible.
6450
6451 2003-03-25  Angus Leeming  <leeming@lyx.org>
6452
6453         * lfuns.h:
6454         * LyXAction.C (init): new LFUN_INSET_INSERT.
6455
6456         * BufferView_pimpl.C (dispatch): split out part of the
6457         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6458
6459         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6460         LFUN_INSET_APPLY.
6461
6462 2003-03-25  Angus Leeming  <leeming@lyx.org>
6463
6464         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6465
6466 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6467
6468         * text2.C:
6469         * text3.C: remove useless row->height(0)
6470
6471 2003-03-25  John Levon  <levon@movementarian.org>
6472
6473         * lyxtext.h:
6474         * text2.C:
6475         * text3.C: rename the refreshing stuff to better names
6476
6477 2003-03-24  John Levon  <levon@movementarian.org>
6478
6479         * BufferView_pimpl.h:
6480         * BufferView_pimpl.C: update layout choice on a mouse
6481         press/release
6482
6483 2003-03-23  John Levon  <levon@movementarian.org>
6484
6485         * Makefile.am: fix commandtags.h reference
6486
6487 2003-03-22  John Levon  <levon@movementarian.org>
6488
6489         * BufferView_pimpl.C:
6490         * lyxtext.h:
6491         * rowpainter.C:
6492         * rowpainter.h:
6493         * text.C:
6494         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6495
6496 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6497
6498         * lyxtext.h:
6499         * text.C: take the rtl methods out of line
6500
6501 2003-03-21 André Pönitz <poenitz@gmx.net>
6502
6503         * metricsinfo.[Ch]: new files containing structures to be passed around
6504         during the two-phase-drawing...
6505
6506 2003-03-21 André Pönitz <poenitz@gmx.net>
6507
6508         * lyxtextclass.C: read 'environment' tag.
6509
6510 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6511
6512         * text2.C (removeRow): fix bug 964
6513
6514 2003-03-20  John Levon  <levon@movementarian.org>
6515
6516         * rowpainter.C:
6517         * text.C:
6518         * text2.C: paint cleanups. Inset::update() dropped font
6519         parameter
6520
6521 2003-03-19  John Levon  <levon@movementarian.org>
6522
6523         * lyxfunc.C: only fitcursor/markDirty if available()
6524
6525 2003-03-19  John Levon  <levon@movementarian.org>
6526
6527         * commandtags.h: rename to ...
6528
6529         * lfuns.h: ... this, and renumber / cleanup
6530
6531 2003-03-19  John Levon  <levon@movementarian.org>
6532
6533         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6534         fit the cursor after an lfun
6535
6536         * BufferView.h:
6537         * BufferView.C:
6538         * BufferView_pimpl.h:
6539         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6540
6541         * LyXAction.C: layout-character should have ReadOnly
6542
6543         * ParagraphParameters.C:
6544         * buffer.C:
6545         * bufferview_funcs.C:
6546         * lyx_cb.C:
6547         * lyxfind.C:
6548         * lyxtext.h:
6549         * text.C:
6550         * text2.C:
6551         * text3.C:
6552         * undo_funcs.C: changes from above
6553
6554 2003-03-18  John Levon  <levon@movementarian.org>
6555
6556         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6557         remove it from update()
6558
6559         * lyxfunc.C: update layout choice after an lfun
6560
6561         * text3.C: remove extra updateLayoutChoice()s
6562
6563 2003-03-18  John Levon  <levon@movementarian.org>
6564
6565         * text.C: top_y change means full repaint, fix
6566         a drawing bug with cursor movement
6567
6568 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6569
6570         * lyxtext.h:
6571         * text.C:
6572         * text2.C: anchor row on setCursor
6573
6574 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6575
6576         * lyxtext.h: remove almost all mutable keywords
6577         * text.C:
6578         * text2.C:
6579         * text3.C: remove const keywords accordingly
6580
6581 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6582
6583         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6584         anon namespace
6585         (TeXEnvironment): ditto
6586         (TeXOnePar): ditto
6587
6588 2003-03-17  John Levon  <levon@movementarian.org>
6589
6590         * text.C (rowBreakPoint): remove attempt to fix displayed
6591         math insets inside a manual label
6592
6593 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6594
6595         * lyxtext.h: remove BufferView* as first arg from almost all class
6596         functions.
6597         * other files: adjust.
6598
6599 2003-03-17  John Levon  <levon@movementarian.org>
6600
6601         * lyxtext.h:
6602         * undo_funcs.C:
6603         * text2.C: more paint cleanups
6604
6605         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6606
6607         * rowpainter.h:
6608         * rowpainter.C: remove "smart" background painting code
6609
6610 2003-03-16  John Levon  <levon@movementarian.org>
6611
6612         * lyxtext.h:
6613         * text.C:
6614         * text2.C:
6615         * text3.C: add helper functions for setting refresh_row/y
6616
6617 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6618
6619         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6620         newline inset which *can* get inserted in the pass_thru layouts.
6621         This is primarily for literate documents.
6622
6623 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6624
6625         * buffer.C: increment LYX_FORMAT to 223
6626
6627 2003-03-14 André Pönitz <poenitz@gmx.net>
6628
6629         * textclass.h: prepare for environment handling, ws changes
6630         * lyxlayout.C: read latexheader and latexfooter tags
6631
6632 2003-03-14  John Levon  <levon@movementarian.org>
6633
6634         * text2.C: rewrite ::status() a bit
6635
6636 2003-03-13  John Levon  <levon@movementarian.org>
6637
6638         * lyxtext.h: add some docs
6639
6640 2003-03-13  John Levon  <levon@movementarian.org>
6641
6642         * lyxtext.h:
6643         * text.C:
6644         * text2.C:
6645         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6646
6647 2003-03-13  John Levon  <levon@movementarian.org>
6648
6649         * text3.C: fix appendix redrawing
6650
6651 2003-03-13  John Levon  <levon@movementarian.org>
6652
6653         * text.C (setHeightOfRow):
6654         * rowpainter.h:
6655         * rowpainter.C: make appendix mark have the text
6656           "Appendix" so the user knows what it is
6657
6658         * LColor.h:
6659         * LColor.C: s/appendixline/appendix/ from above
6660
6661 2003-03-13  John Levon  <levon@movementarian.org>
6662
6663         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6664
6665         * text.C: fix a getChar(pos) bug properly
6666
6667 2003-03-13  Angus Leeming  <leeming@lyx.org>
6668
6669         * commandtags.h:
6670         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6671         Probably only temporary. Let's see how things pan out.
6672
6673         * BufferView.C (unlockInset):
6674         * BufferView_pimpl.C (fitCursor):
6675         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6676
6677         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6678         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6679
6680         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6681         new functions that convert ParagraphParameters to and from a string.
6682
6683         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6684         BufferView::Pimpl's dispatch.
6685         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6686
6687 2003-03-13 André Pönitz <poenitz@gmx.net>
6688
6689         * lyxfunc.C:
6690         * text3.C:
6691         * factory.C: make it aware of InsetEnv
6692
6693 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6694
6695         * text2.C (setCursor): never ask for one past last
6696         (setCursor): add some debugging messages.
6697
6698         * text.C (singleWidth): never ask for one past last
6699         (singleWidth): ditto
6700         (leftMargin): ditto
6701         (rightMargin): ditto
6702         (rowBreakPoint): ditto
6703         (setHeightOfRow): ditto
6704         (prepareToPrint): ditto
6705
6706         * rowpainter.C (paintBackground): never ask for one past last
6707         (paintText): never ask for one past last
6708
6709         * paragraph_pimpl.C (getChar): make the assert stricter, never
6710         allow the one past last pos to be taken
6711
6712         * paragraph.C (getChar): ws changes only
6713
6714         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6715         (numberOfSeparators): ditto
6716         (numberOfHfills): ditto
6717
6718 2003-03-12  John Levon  <levon@movementarian.org>
6719
6720         * author.h:
6721         * author.C:
6722         * bufferparams.h:
6723         * bufferparams.C:
6724         * paragraph_funcs.C: fix per-buffer authorlists
6725
6726 2003-03-12  John Levon  <levon@movementarian.org>
6727
6728         * text.C: fix newline in right address
6729
6730 2003-03-12  Angus Leeming  <leeming@lyx.org>
6731
6732         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6733         duplicate those in LyXFunc::dispatch.
6734
6735         * commandtags.h:
6736         * LyXAction.C:
6737         * ToolbarDefaults.C:
6738         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6739         Add LFUN_FONTFREE_UPDATE.
6740
6741         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6742         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6743
6744         * bufferview_func.[Ch]: several new functions to facilliate
6745         transfer of data to and from the character dialog.
6746
6747 2003-03-12  John Levon  <levon@movementarian.org>
6748
6749         * buffer.C:
6750         * paragraph.h:
6751         * paragraph.C:
6752         * paragraph_funcs.C:
6753         * paragraph_pimpl.C:
6754         * sgml.C:
6755         * tabular.C:
6756         * text.C:
6757         * text3.C: remove META_NEWLINE in favour of an inset
6758
6759         * rowpainter.h:
6760         * rowpainter.C: remove paintNewline (done by inset)
6761
6762 2003-03-12  John Levon  <levon@movementarian.org>
6763
6764         * paragraph_pimpl.C: complain about bad getChar()s
6765         for a while at least
6766
6767 2003-03-12  John Levon  <levon@movementarian.org>
6768
6769         * buffer.h:
6770         * buffer.C: move paragraph read into a separate function,
6771         a little renaming to reflect that.
6772
6773         * bufferparams.h:
6774         * bufferparams.C: remove the author_ids map, not necessary now
6775
6776         * factory.h:
6777         * factory.C: moved Buffer::readInset to here
6778
6779         * paragraph_funcs.h:
6780         * paragraph_funcs.C: readParagraph free function moved from
6781         buffer.C
6782
6783         * tabular.C: name change
6784
6785 2003-03-12  John Levon  <levon@movementarian.org>
6786
6787         * buffer.C:
6788         * ParagraphParameters.C: move par params input to
6789         a read() method
6790
6791         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6792         behave like a normal read from the stream wrt reading
6793         a line vs. a \\token
6794
6795 2003-03-12  John Levon  <levon@movementarian.org>
6796
6797         * paragraph.C:
6798         * ParagraphParameters.h:
6799         * ParagraphParameters.C: move output code to a
6800         ::write() method
6801
6802 2003-03-12  John Levon  <levon@movementarian.org>
6803
6804         * BufferView.C (insertLyXFile):
6805         * buffer.h:
6806         * buffer.C:
6807         * tabular.C: use a parlist iterator for creating the
6808           document.
6809
6810 2003-03-12  John Levon  <levon@movementarian.org>
6811
6812         * buffer.C: make current_change static local not
6813           static file-scope
6814
6815 2003-03-12  John Levon  <levon@movementarian.org>
6816
6817         * buffer.C: fix insertStringAsLines for change tracking
6818
6819 2003-03-12  John Levon  <levon@movementarian.org>
6820
6821         * BufferView.C:
6822         * tabular.C:
6823         * buffer.h:
6824         * buffer.C:
6825         * bufferparams.h:
6826         * bufferparams.C: move author list into params. Rename some
6827           functions. Move the header reading into a separate token
6828           loop. Move the header token reading into BufferParams.
6829
6830 2003-03-12  John Levon  <levon@movementarian.org>
6831
6832         * changes.C: put debug inside lyxerr.debugging() checks
6833
6834 2003-03-11 André Pönitz <poenitz@gmx.net>
6835
6836         * factory.C: make it aware of InsetHFill
6837
6838 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6839
6840         * buffer.C (latexParagraphs): move function from here...
6841         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6842         args.
6843
6844 2003-03-10  Angus Leeming  <leeming@lyx.org>
6845
6846         * LyXAction.C (init): fix bug in poplating array with multiple entries
6847         with the same LFUN (spotted by JMarc).
6848
6849 2003-03-10  John Levon  <levon@movementarian.org>
6850
6851         * text.C:
6852         * text2.C: move getColumnNearX() near its
6853         only call site
6854
6855 2003-03-10  John Levon  <levon@movementarian.org>
6856
6857         * text.C: fix break before a minipage
6858
6859 2003-03-10  John Levon  <levon@movementarian.org>
6860
6861         * text.C: fix the last commit
6862
6863 2003-03-09  John Levon  <levon@movementarian.org>
6864
6865         * lyxtext.h:
6866         * text.C:
6867         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6868         bug 365 (don't break before insets unless needed). Don't
6869         return a value > last under any circumstances.
6870
6871 2003-03-09  Angus Leeming  <leeming@lyx.org>
6872
6873         * BufferView_pimpl.C (trackChanges, dispatch): call
6874         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6875
6876 2003-03-09  Angus Leeming  <leeming@lyx.org>
6877
6878         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6879         than Dialogs::showAboutlyx().
6880
6881 2003-03-09  Angus Leeming  <leeming@lyx.org>
6882
6883         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6884         than Dialogs::showTabularCreate().
6885
6886 2003-03-09  John Levon  <levon@movementarian.org>
6887
6888         * lyxtext.h:
6889         * text.C:
6890         * text2.C: 3rd arg to nextBreakPoint was always the same.
6891           Use references.
6892
6893 2003-03-08  John Levon  <levon@movementarian.org>
6894
6895         * lyxrow.C:
6896         * paragraph.C:
6897         * paragraph.h:
6898         * rowpainter.C:
6899         * text.C:
6900         * text2.C: Remove the "main" bit from the "main body"
6901           notion.
6902
6903 2003-03-08  John Levon  <levon@movementarian.org>
6904
6905         * text.C (leftMargin): The left margin of an empty
6906         manual label paragraph should not include the label width
6907         string length.
6908
6909         * text.C (prepareToPrint): don't attempt to measure hfills
6910         for empty manual label paragraphs - the answer should be 0
6911
6912 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6913
6914         * CutAndPaste.C: remove commented code and reindent.
6915
6916 2003-03-08  John Levon  <levon@movementarian.org>
6917
6918         * lyxfunc.h:
6919         * lyxfunc.C: move reloadBuffer()
6920
6921         * BufferView.h:
6922         * BufferView.C: to here
6923
6924         * lyxvc.C: add comment
6925
6926         * vc-backend.h:
6927         * vc-backend.C: call bv->reload() to avoid
6928           getStatus() check on MENURELOAD
6929
6930 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6931
6932         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6933         to an old format .dep file.
6934
6935 2003-03-07  Angus Leeming  <leeming@lyx.org>
6936
6937         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6938         when the LFUN_MOUSE_RELEASE should have been handled by
6939         inset->localDispatch.
6940
6941 2003-03-07  Angus Leeming  <leeming@lyx.org>
6942
6943         * BufferView_pimpl.C (dispatch):
6944         * LyXAction.C (init):
6945         * ToolbarDefaults.C (init):
6946         * commandtags.h:
6947         * lyxfunc.C (getStatus):
6948         remove LFUN_INSET_GRAPHICS.
6949
6950         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6951
6952 2003-03-07  Angus Leeming  <leeming@lyx.org>
6953
6954         * commandtags.h:
6955         * LyXAction.C (init):
6956         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6957
6958         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6959
6960         * commandtags.h:
6961         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6962
6963         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6964         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6965
6966 2003-03-07  Angus Leeming  <leeming@lyx.org>
6967
6968         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6969         remove "ert".
6970
6971 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6972
6973         * ParagraphList.C (front): new function
6974         (back): implement
6975
6976 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6977
6978         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6979         and top_row_offset_. removed var first_y.
6980         * text.C (top_y):
6981         * text2.C (LyXText, removeRow):
6982         * text3.C:
6983         * BufferView_pimpl.C:
6984         use these methods instead of using first_y
6985
6986 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6987
6988         * text2.C (pasteSelection): adjust for checkPastePossible
6989
6990         * CutAndPaste.C: remove Paragraph * buf and replace with
6991         ParagraphList paragraphs.
6992         (DeleteBuffer): delete
6993         (cutSelection): change the tc type to textclass_type
6994         (copySelection): change the tc type to textclass_type
6995         (copySelection): adjust for ParagraphList
6996         (pasteSelection): change the tc type to textclass_type
6997         (pasteSelection): adjust for Paragraphlist
6998         (nrOfParagraphs): simplify for ParagraphList
6999         (checkPastePossible): simplify for ParagraphList
7000         (checkPastePossible): remove unused arg
7001
7002         * ParagraphList.C (insert): handle the case where there are no
7003         paragraphs yet.
7004
7005         * CutAndPaste.h: make CutAndPaste a namespace.
7006
7007         * text3.C (dispatch): adjust
7008
7009         * text.C (breakParagraph): add a ParagraphList as arg
7010
7011         * paragraph_funcs.C (breakParagraph): change to take a
7012         BufferParams and a ParagraphList as args.
7013         (breakParagraphConservative): ditto
7014         (mergeParagraph): ditto
7015         (TeXDeeper): add a ParagraphList arg
7016         (TeXEnvironment): ditto
7017         (TeXOnePar): ditto
7018
7019         * buffer.C (readLyXformat2): adjust
7020         (insertStringAsLines): adjust
7021         (latexParagraphs): adjust
7022
7023         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7024         (cutSelection): adjust
7025         (pasteSelection): adjust
7026
7027         * BufferView_pimpl.C (insertInset): adjust
7028
7029 2003-03-05  Angus Leeming  <leeming@lyx.org>
7030
7031         * commandtags.h:
7032         * LyXAction.C (init):
7033         * BufferView_pimpl.C (dispatch):
7034         * lyxfunc.C (getStatus):
7035         remove LFUN_CHILD_INSERT.
7036
7037         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7038
7039 2003-03-05  Angus Leeming  <leeming@lyx.org>
7040
7041         * commandtags.h:
7042         * LyXAction.C (init):
7043         * src/factory.C (createInset):
7044         * lyxfunc.C (getStatus):
7045         * text3.C (dispatch):
7046         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7047
7048         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7049
7050 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7051
7052         * ParagraphList.C (insert): handle insert right before end()
7053         (erase): fix cases where it can be first or last paragraph.
7054
7055 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7056
7057         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7058         Paragraph::next and Paragraph::previous
7059         (TeXOnePar): ditto
7060
7061         * text.C (breakParagraph): adjust
7062
7063         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7064         BufferParams& as arg.
7065         (breakParagraph): use ParagraphList::insert
7066         (breakParagraphConservative): take a Buffer* instead of a
7067         BufferParams& as arg.
7068         (breakParagraphConservative): use ParagraphList::insert.
7069
7070         * buffer.C (insertStringAsLines): un-const it
7071         (insertStringAsLines): adjust
7072
7073         * ParagraphList.C (insert): new function
7074
7075         * CutAndPaste.C (pasteSelection): adjust
7076
7077         * text.C (backspace): adjust
7078
7079         * tabular.C (SetMultiColumn): adjust
7080
7081         * CutAndPaste.C (cutSelection): adjust
7082         (pasteSelection): adjust
7083
7084         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7085         Buffer const * as arg
7086
7087         * ParagraphList.C (erase): new function
7088         * paragraph_funcs.C (mergeParagraph): use it
7089         (mergeParagraph): make it take a Buffer* instead of a
7090         BufferParams* as arg
7091
7092         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7093         as arg
7094         (breakParagraphConservative): ditto
7095
7096         * paragraph.h: remove the breakParagraph friend
7097
7098         * paragraph.C (eraseIntern): new function
7099         (setChange): new function
7100
7101         * paragraph_funcs.C (mergeParagraph): make it take a
7102         ParagraphList::iterator instead of a Paragraph *, adjust
7103         accordingly.
7104
7105         * paragraph.h: move an #endif so that the change tracking stuff
7106         also works in the NO_NEXT case.
7107
7108 2003-03-04  Angus Leeming  <leeming@lyx.org>
7109
7110         * commandtags.h:
7111         * LyXAction.C: new LFUN_INSET_MODIFY.
7112
7113         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7114         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7115
7116 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7117
7118         * several files: ws changes only
7119
7120         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7121         (TeXEnvironment): ditto
7122         (TeXDeeper): ditto
7123
7124         * buffer.C (makeLaTeXFile): adjust
7125         (latexParagraphs): make it take ParagraphList::iterator as args
7126
7127 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7128
7129         * buffer.C (latexParagraphs): adjust
7130
7131         * paragraph.C (TeXOnePar): move function...
7132         (optArgInset): move function...
7133         (TeXEnvironment): move function...
7134         * paragraph_pimpl.C (TeXDeeper): move function...
7135         * paragraph_funcs.C: ...here
7136
7137         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7138
7139 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7140
7141         * buffer.C (readInset): remove compability code for old Figure and
7142         InsetInfo insets
7143
7144 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7145
7146         * buffer.C: ws changes
7147         (readInset):
7148
7149         * BufferView_pimpl.C: ditto
7150         * author.C: ditto
7151         * buffer.h: ditto
7152         * bufferlist.h: ditto
7153         * changes.h: ditto
7154         * lyxfunc.C: ditto
7155
7156 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7157
7158         * converter.[Ch]: split into itself +
7159         * graph.[Ch]
7160         * format.[Ch]
7161         * Makefile.am: += graph.[Ch] + format.[Ch]
7162         * MenuBackend.C
7163         * buffer.C
7164         * exporter.C
7165         * importer.C
7166         * lyx_main.C
7167         * lyxfunc.C
7168         * lyxrc.C: added #include "format.h"
7169
7170 2003-02-27  Angus Leeming  <leeming@lyx.org>
7171
7172         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7173           a label.
7174
7175         * factory.C (createInset): add "label" to the factory.
7176
7177         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7178           string and do no more.
7179
7180 2003-02-27  Angus Leeming  <leeming@lyx.org>
7181
7182         * commandtags.h:
7183         * LyXAction.C (init):
7184         * factory.C (createInset):
7185         * BufferView_pimpl.C (dispatch):
7186           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7187
7188         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7189
7190         * lyxfunc.C (dispatch):
7191         * text3.C (dispatch): pass name to params2string.
7192
7193 2003-02-26  Angus Leeming  <leeming@lyx.org>
7194
7195         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7196           blocks together.
7197           Rearrange the ~includes. Strip out the unnecessary ones.
7198
7199         * factory.C (createInset): reformat.
7200           create new insets for the various LFUN_XYZ_APPLY lfuns.
7201
7202 2003-02-26  John Levon  <levon@movementarian.org>
7203
7204         * lyxrow.h:
7205         * lyxrow.C: add isParStart,isParEnd helpers
7206
7207         * paragraph.h: make isInserted/DeletedText take refs
7208
7209         * paragraph_funcs.h:
7210         * paragraph_funcs.C: remove #if 0'd code
7211
7212         * lyxtext.h:
7213         * text3.C:
7214         * text2.C:
7215         * text.C: use lyxrow helpers above.
7216           Move draw and paint routines to RowPainter.
7217           Make several methods use refs not pointers.
7218           Make backgroundColor() const.
7219           Add markChangeInDraw(), isInInset().
7220           Merge changeRegionCase into changeCase.
7221           Make workWidth() shouldn't-happen code into an Assert.
7222
7223         * rowpainter.h:
7224         * rowpainter.C: new class for painting a row.
7225
7226         * vspace.h:
7227         * vspace.C: make inPixels take a ref
7228
7229 2003-02-26  Angus Leeming  <leeming@lyx.org>
7230
7231         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7232         LFUN_REF_APPLY.
7233
7234 2003-02-25  John Levon  <levon@movementarian.org>
7235
7236         * ispell.C: give the forked command a more accurate name
7237
7238 2003-02-22  John Levon  <levon@movementarian.org>
7239
7240         * toc.h:
7241         * toc.C: make TocItem store an id not a Paragraph *
7242           (bug #913)
7243
7244 2003-02-21  Angus Leeming  <leeming@lyx.org>
7245
7246         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7247           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7248           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7249           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7250           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7251           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7252
7253         * BufferView_pimpl.C (dispatch):
7254         * LyXAction.C (init):
7255         * factory.C (createInset):
7256         * lyxfunc.C (getStatus, dispatch):
7257         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7258
7259 2003-02-21  Angus Leeming  <leeming@lyx.org>
7260
7261         * BufferView_pimpl.C (MenuInsertLyXFile):
7262         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7263         * lyxfunc.C (menuNew, open, doImport):
7264           no longer pass a LyXView & to fileDlg.
7265
7266 2003-02-21  Angus Leeming  <leeming@lyx.org>
7267
7268         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7269         * LyXAction.C: change, BIBKEY to BIBITEM.
7270         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7271         Change InsetBibKey to InsetBibitem.
7272         Change BIBKEY_CODE to BIBITEM_CODE.
7273         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7274         * factory.C: replace insetbib.h with insetbibitem.h.
7275         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7276         * paragraph.C: replace insetbib.h with insetbibitem.h.
7277         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7278         Change bibkey() to bibitem().
7279         * text.C: remove insetbib.h.
7280         * text2.C: replace insetbib.h with insetbibitem.h.
7281         change bibkey() to bibitem().
7282         * text3.C: remove insetbib.h.
7283         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7284
7285 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7286
7287         * lyxrc.C (output): enclose user email in quotes (in case there are
7288         several words)
7289
7290 2003-02-18  John Levon  <levon@movementarian.org>
7291
7292         * buffer.h: add std::
7293
7294 2003-02-17  John Levon  <levon@movementarian.org>
7295
7296         * SpellBase.h:
7297         * ispell.h:
7298         * ispell.C:
7299         * pspell.h:
7300         * pspell.C: reworking. Especially in ispell, a large
7301           number of clean ups and bug fixes.
7302
7303         * lyxfunc.C: fix revert to behave sensibly
7304
7305 2003-02-17 André Pönitz <poenitz@gmx.net>
7306
7307         * LyXAction.C:
7308         * commandtags.h: new LFUN_INSERT_BIBKEY
7309
7310         * layout.h:
7311         * lyxlayout.C:
7312         * buffer.C:
7313         * factory.C:
7314         * text.C:
7315         * text2.C:
7316         * text3.C:
7317         * paragraph.[Ch]:
7318         * paragraph_func.C: remove special bibkey handling
7319
7320 2003-02-17  John Levon  <levon@movementarian.org>
7321
7322         * text.C (Delete): fix case where delete at the end of
7323           the very first paragraph would not merge the pars
7324
7325 2003-02-17  John Levon  <levon@movementarian.org>
7326
7327         * lyxrow.C: fix lastPrintablePos()
7328
7329 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7330
7331         * bufferparams.C (writeLaTeX): add a std:here
7332
7333         * buffer.C: and remove a using directive there
7334
7335 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7336
7337         * buffer.C (makeLaTeXFile): move the code that generates the
7338           preamble...
7339
7340         * bufferparams.C (writeLaTeX): ... in this new method
7341
7342         * LaTeXFeatures.C (getEncodingSet): make const
7343           (getLanguages): make const
7344
7345         * MenuBackend.C (binding): returns the binding associated to this
7346           action
7347           (add): sets the status of each item by calling getStatus. Adds
7348           some intelligence.
7349           (read): add support for OptSubMenu
7350           (expand): remove extra separator at the end of expanded menu
7351
7352 2003-02-15  John Levon  <levon@movementarian.org>
7353
7354         * BufferView.C:
7355         * BufferView_pimpl.C:
7356         * bufferlist.h:
7357         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7358           inset code that had no actual effect. Remove unneeded status
7359           code.
7360
7361 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7362
7363         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7364           in preamble
7365
7366 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7367
7368         * text.C (drawLengthMarker): also draw an arrow marker for
7369           symbolic lengths (medskip...)
7370
7371 2003-02-14  John Levon  <levon@movementarian.org>
7372
7373         * tabular.h:
7374         * tabular.C: better method names
7375
7376 2003-02-14  John Levon  <levon@movementarian.org>
7377
7378         * BufferView_pimpl.C:
7379         * bufferlist.C:
7380         * buffer.C:
7381         * converter.C:
7382         * lyx_cb.C:
7383         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7384           it's a more accurate name. Remove some pointless uses.
7385
7386 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7387
7388         * text2.C (LyXText): change order of initilizers to shut off
7389           warnings
7390
7391 2003-02-14  John Levon  <levon@movementarian.org>
7392
7393         * buffer.C: use ParIterator for getParFromID()
7394
7395         * paragraph.h:
7396         * paragraph.C:
7397         * paragraph_pimpl.h:
7398         * paragraph_pimpl.C: remove unused getParFromID()
7399
7400 2003-02-14  John Levon  <levon@movementarian.org>
7401
7402         * buffer.C: remove some very old #if 0'd parse code
7403
7404 2003-02-13  John Levon  <levon@movementarian.org>
7405
7406         * text.h:
7407         * text.C:
7408         * text2.C: move hfillExpansion(), numberOfSeparators(),
7409           rowLast(), rowLastPrintable(), numberofHfills(),
7410           numberOfLabelHfills() ...
7411
7412         * lyxrow.h:
7413         * lyxrow.C: ... to member functions here.
7414
7415         * paragraph.h:
7416         * paragraph.C:
7417         * lyxtext.h:
7418         * text.C: remove LyXText::beginningOfMainBody(), and call
7419           p->beginningOfMainBody() directly. Move the check for
7420           LABEL_MANUAL into the latter.
7421
7422         * text.h:
7423         * text.C:
7424         * text2.C:
7425         * vspace.C:
7426         * BufferView.h:
7427         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7428
7429         * text.h:
7430         * text.C:
7431         * text2.C:
7432         * text3.C:
7433         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7434           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7435
7436 2003-02-13  John Levon  <levon@movementarian.org>
7437
7438         * CutAndPaste.C: remove debug
7439
7440 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7441
7442         * paragraph.C (asString): remove two unused variables
7443
7444         * lyxtextclass.C (readTitleType):
7445           (Read):
7446           (LyXTextClass): handle new members titletype_ and titlename_
7447
7448         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7449
7450 2003-02-09  John Levon  <levon@movementarian.org>
7451
7452         * buffer.h:
7453         * buffer.C: replace hand-coded list with a map for the dep clean
7454
7455 2003-02-08  John Levon  <levon@movementarian.org>
7456
7457         * LaTeX.C: consolidate code into showRunMessage() helper
7458
7459 2003-02-08  John Levon  <levon@movementarian.org>
7460
7461         * lyxfind.C:
7462         * lyxtext.h:
7463         * text2.C:
7464         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7465           and pass the size in explicitly
7466
7467         * BufferView_pimpl.h:
7468         * BufferView_pimpl.C:
7469         * BufferView.h:
7470         * BufferView.C: add getCurrentChange()
7471
7472         * BufferView_pimpl.h:
7473         * BufferView_pimpl.C: handle change lfuns
7474
7475         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7476           for changes. Mark pasted paragraphs as new.
7477
7478         * support/lyxtime.h:
7479         * support/lyxtime.C:
7480         * DepTable.C: abstract time_t as lyx::time_type
7481
7482         * LColor.h:
7483         * LColor.C: add colours for new text, deleted text, changebars
7484
7485         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7486           package use "usenames" option.
7487
7488         * commandtags.h:
7489         * lyxfunc.C:
7490         * LyXAction.C: add change lfuns
7491
7492         * Makefile.am:
7493         * author.h:
7494         * author.C: author handling
7495
7496         * buffer.h:
7497         * buffer.C: add a per-buffer author list, with first entry as
7498           current author. Handle new .lyx tokens for change tracking. Output
7499           author list to .lyx file. Output dvipost stuff to .tex preamble.
7500           Bump lyx format to 222.
7501
7502         * bufferlist.h:
7503         * bufferlist.C: add setCurrentAuthor() to reset current author details
7504           in all buffers.
7505
7506         * bufferparams.h:
7507         * bufferparams.C: add param for tracking
7508
7509         * bufferview_funcs.C: output change info in minibuffer
7510
7511         * Makefile.am:
7512         * changes.h:
7513         * changes.C: add change-tracking structure
7514
7515         * debug.h:
7516         * debug.C: add CHANGES debug flag
7517
7518         * lyxfind.h:
7519         * lyxfind.C: add code for finding the next change piece
7520
7521         * lyxrc.h:
7522         * lyxrc.C: add user_name and user_email
7523
7524         * lyxrow.h:
7525         * lyxrow.C: add a metric for the top of the text line
7526
7527         * lyxtext.h:
7528         * text.C: implement accept/rejectChange()
7529
7530         * lyxtext.h:
7531         * text.C: paint changebars. Paint new/deleted text in the chosen
7532         colours. Strike through deleted text.
7533
7534         * paragraph.h:
7535         * paragraph.C:
7536         * paragraph_pimpl.h:
7537         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7538           in the current change to the insert functions. Rework erase to
7539           mark text as deleted, adding an eraseIntern() and a range-based
7540           erase(). Implement per-paragraph change lookup and
7541           accept/reject.
7542
7543         * paragraph_funcs.C: Fixup paste for change tracking.
7544
7545         * tabular.C: mark added row/columns as new.
7546
7547         * text.C: fix rowLast() to never return -1. Don't allow
7548           spellchecking of deleted text. Track transpose changes. Don't
7549           allow paragraph break or merge where appropriate.
7550
7551         * text2.C: leave cursor at end of selection after a cut.
7552
7553 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7554
7555         * text.C (getLengthMarkerHeight):
7556         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7557         visible on screen too.
7558
7559 2003-02-07  John Levon  <levon@movementarian.org>
7560
7561         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7562
7563 2003-02-05  Angus Leeming  <leeming@lyx.org>
7564
7565         * lyxserver.C (read_ready): revert my patch of 11 September last year
7566         as it sends PC cpu through the roof. Presumably this means that
7567         the lyxserver will no longer run on an Alpha...
7568
7569 2003-01-30  Angus Leeming  <leeming@lyx.org>
7570
7571         * factory.C (createInset): create an InsetCommandParam of type "index"
7572         and use it to 'do the right thing'.
7573
7574         * text2.C (getStringToIndex): ensure that cursor position is always
7575         reset to the reset_cursor position.
7576
7577 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7578
7579         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7580         disabled.
7581
7582 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7583
7584         * bufferview.C:
7585         * lyxcb.C:
7586         * lyxfunc.C: Output messages with identical spelling, punctuation,
7587         and spaces
7588
7589 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7590
7591         * MenuBackend.C (expandFormats): List only viewable export formats
7592         in "View" menu
7593
7594         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7595         message
7596
7597         * lyxfunc.C (getStatus): Make sure that formats other than
7598         "fax" can also be disabled
7599
7600 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7601
7602         * text3.C (dispatch): put the lfuns that insert insets in 3
7603         groups, and call doInsertInset with appropriate arguments.
7604         (doInsertInset): new function, that creates an inset and inserts
7605         it according to some boolean parameters.
7606
7607 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7608
7609         * buffer.C (readFile): remember to pass on 'par' when calling
7610         readFile recursively.
7611
7612 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7613
7614         * MenuBackend.C (expandFormats): add "..." to import formats.
7615
7616 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7617
7618         * paragraph.C (asString): Remove XForms RTL hacks.
7619
7620 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7621         * buffer.C: fix typo
7622
7623 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7624
7625         * Makefile.am (LIBS): delete var
7626         (lyx_LDADD): add @LIBS@ here instead.
7627
7628 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7629
7630         * Clarify the meaning of "wheel mouse jump"
7631
7632 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7633
7634         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7635         tabular in a float
7636
7637 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7638
7639         * importer.C (Loaders): do not preallocate 3 elements in the
7640         vector, since one ends up with 6 elements otherwise
7641
7642 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7643
7644         * DepTable.C (write): write the file name as last element of the
7645         .dep file (because it may contain spaces)
7646         (read): read info in the right order
7647
7648 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7649
7650         * paragraph_pimpl.C (simpleTeXBlanks):
7651         (simpleTeXSpecialChars):
7652         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7653
7654         * tabular.C (latex): add some missing case statements. Reindent.
7655
7656         * MenuBackend.C (expandToc): remove unused variable.
7657
7658 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7659
7660         * LColor.C:
7661         * LaTeX.C:
7662         * LyXAction.C:
7663         * MenuBackend.C:
7664         * buffer.C:
7665         * exporter.C:
7666         * lyxfunc.C:
7667         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7668         and the like.
7669
7670 2003-01-05  John Levon  <levon@movementarian.org>
7671
7672         * BufferView.h:
7673         * BufferView.C: add getEncoding()
7674
7675         * kbsequence.h:
7676         * kbsequence.C: do not store last keypress
7677
7678         * lyxfunc.h:
7679         * lyxfunc.C: store last keypress here instead. Pass encoding
7680           to getISOEncoded()
7681
7682 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7683
7684         * lyx_main.C (init): remove annoying error message when following
7685         symbolic links (bug #780)
7686
7687 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7688
7689         * text.C (insertChar):
7690         * lyxrc.C (getDescription): remove extra spaces
7691
7692 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7693
7694         * lyxrc.C (getDescription): remove extra spaces
7695
7696 2002-12-20  John Levon  <levon@movementarian.org>
7697
7698         * text3.C: hack fix for page up/down across tall rows
7699
7700 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7701
7702         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7703         not been invoked
7704
7705 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7706
7707         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7708         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7709         thesaurus is not compiled in
7710
7711 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7712
7713         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7714
7715 2002-12-16  Angus Leeming  <leeming@lyx.org>
7716
7717         * lyxrc.[Ch]:
7718         * lyx_main.C (init): remove override_x_deadkeys stuff.
7719
7720 2002-12-12  John Levon  <levon@movementarian.org>
7721
7722         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7723           insert. Only remove shift modifier under strict
7724           circumstances.
7725
7726 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7727
7728         * MenuBackend.C (expandToc): fix crash.
7729
7730 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7731
7732         * MenuBackend.C (expandToc): gettext on float names.
7733
7734 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7735
7736         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7737         implement bool empty() [bug 490]
7738
7739 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7740
7741         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7742
7743 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7744
7745         * several files: ws changes
7746
7747 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7748
7749         * text2.C (setCounter): clean up a bit, use boost.format.
7750         (updateCounters): initialize par upon declaration.
7751
7752         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7753         if the layout exists. We do not just store the layout any more.
7754         (SwitchLayoutsBetweenClasses): use boost.format
7755
7756 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7757
7758         * converter.C (convert): if from and to files are the same, use a
7759         temporary files as intermediary
7760
7761 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7762
7763         * commandtags.h:
7764         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7765
7766 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7767
7768         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7769
7770 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7771
7772         * tabular.C (asciiPrintCell): use string(size, char) instead of
7773         explicit loop.
7774
7775         * sgml.C (openTag): fix order of arguments to string constructor
7776         (closeTag): ditto
7777
7778         * lyxfunc.C (dispatch): use boost.format
7779
7780         * lots of files: change "c" -> 'c'
7781
7782 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7783
7784         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7785
7786 2002-11-25  Angus Leeming  <leeming@lyx.org>
7787
7788         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7789
7790         * lyx_main.C (init): compile fix.
7791
7792 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7793
7794         * lyx_cb.C (start): boost.formatify
7795         do not include <iostream>
7796
7797         * lengthcommon.C: ws only
7798
7799         * boost-inst.C,BoostFormat.h: add more explict instantations
7800
7801 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7802
7803         * lots of files: handle USE_BOOST_FORMAT
7804
7805 2002-11-21  John Levon  <levon@movementarian.org>
7806
7807         * pspell.C: fix compile
7808
7809 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7810
7811         * lyxfunc.C (dispatch): use boost::format
7812         (open): ditto
7813         (doImport): ditto
7814
7815         * lyxfont.C (stateText): use boost::format
7816
7817         * lyx_main.C (LyX): use boost::format
7818         (init): ditto
7819         (queryUserLyXDir): ditto
7820         (readRcFile): ditto
7821         (parse_dbg): ditto
7822         (typedef boost::function): use the recommened syntax.
7823
7824         * importer.C (Import): use boost::format
7825
7826         * debug.C (showLevel): use boost::format
7827
7828         * converter.C (view): use boost::format
7829         (convert): ditto
7830         (move): ditto
7831         (scanLog): ditto
7832
7833         * bufferview_funcs.C (currentState): use boost::format
7834
7835         * bufferlist.C (emergencyWrite): use boost::format
7836
7837         * buffer.C (readLyXformat2): use boost::format
7838         (parseSingleLyXformat2Token): ditto
7839
7840         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7841
7842         * LaTeX.C (run): use boost::format
7843
7844         * Chktex.C (scanLogFile): use boost::format
7845
7846         * BufferView_pimpl.C (savePosition): use boost::format
7847         (restorePosition): ditto
7848         (MenuInsertLyXFile): ditto
7849
7850         * BoostFormat.h: help file for explicit instation.
7851
7852 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7853
7854         * tabular.C (latex): Support for block alignment in fixed width
7855         columns.
7856
7857 2002-11-17  John Levon  <levon@movementarian.org>
7858
7859         * BufferView_pimpl.C:
7860         * lyx_cb.C:
7861         * lyxfunc.C: split filedialog into open/save
7862
7863 2002-11-08  Juergen Vigna  <jug@sad.it>
7864
7865         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7866         by my last patch (hopefully).
7867
7868 2002-11-08  John Levon  <levon@movementarian.org>
7869
7870         * iterators.h:
7871         * iterators.C:
7872         * buffer.h:
7873         * buffer.C:
7874         * paragraph.h:
7875         * paragraph.C:
7876         * toc.h:
7877         * toc.C: ParConstIterator, and use it (from Lars)
7878
7879 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7880
7881         * lyxtextclass.[Ch]: revise and add doxygen comments
7882
7883 2002-11-07  John Levon  <levon@movementarian.org>
7884
7885         * text.C: fix progress value for spellchecker
7886
7887         * toc.C: fix navigate menu for insetwrap inside minipage
7888
7889         * paragraph_funcs.C: added FIXME for suspect code
7890
7891 2002-11-07  John Levon  <levon@movementarian.org>
7892
7893         * BufferView_pimpl.C: fix redrawing of insets
7894           on buffer switch
7895
7896 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7897
7898         * text2.C (updateCounters): fix bug 668
7899
7900 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7901
7902         * text3.C (dispatch): Do not make the buffer dirty when moving the
7903         cursor.
7904
7905 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7906
7907         * vc-backend.C: STRCONV
7908         (scanMaster): ditto
7909
7910         * text2.C (setCounter): STRCONV
7911
7912         * paragraph.C (asString): STRCONV
7913
7914         * lyxlength.C (asString): STRCONV
7915         (asLatexString): ditto
7916
7917         * lyxgluelength.C (asString): STRCONV
7918         (asLatexString): ditto
7919
7920         * lyxfunc.C (dispatch): STRCONV
7921         (open): ditto
7922
7923         * lyxfont.C (stateText): STRCONV
7924
7925         * importer.C (Import): STRCONV
7926
7927         * counters.C (labelItem): STRCONV
7928         (numberLabel): ditto
7929         (numberLabel): remove unused ostringstream o
7930
7931         * chset.C: STRCONV
7932         (loadFile): ditto
7933
7934         * bufferview_funcs.C (currentState): STRCONV
7935
7936         * buffer.C (readFile): STRCONV
7937         (asciiParagraph): ditto
7938         (makeLaTeXFile): ditto
7939
7940         * Spacing.C (writeEnvirBegin): STRCONV
7941
7942         * LaTeXFeatures.C (getLanguages): STRCONV
7943         (getPackages): ditto
7944         (getMacros): ditto
7945         (getBabelOptions): ditto
7946         (getTClassPreamble): ditto
7947         (getLyXSGMLEntities): ditto
7948         (getIncludedFiles): ditto
7949
7950         * LaTeX.C: STRCONV
7951         (run): ditto
7952         (scanAuxFile): ditto
7953         (deplog): ditto
7954
7955         * LString.h: add the STRCONV macros
7956
7957         * BufferView_pimpl.C (savePosition): STRCONV
7958         (restorePosition): ditto
7959         (MenuInsertLyXFile): ditto
7960
7961         * vc-backend.C (scanMaster): change from submatch[...] to
7962         submatch.str(...)
7963
7964         * funcrequest.C: include config.h
7965
7966         * factory.C: include config.h
7967
7968         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7969
7970         * box.C: include config.h
7971
7972         * LaTeX.C (scanAuxFile): change from submatch[...] to
7973         submatch.str(...)
7974         (deplog): ditto
7975
7976 2002-10-25  Angus Leeming  <leeming@lyx.org>
7977
7978         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7979
7980         * ispell.[Ch] (setError): new method.
7981         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7982         Use setError() insetead of goto END.
7983
7984         * lyx_cb.C (AutoSave): move out child process into new class
7985         AutoSaveBuffer.
7986
7987 2002-10-30  John Levon  <levon@movementarian.org>
7988
7989         * text3.C: make start appendix undoable
7990
7991 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7992
7993         * lyxlength.C (inPixels): Fix returned value.
7994
7995         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7996         environment.
7997
7998 2002-10-24  Angus Leeming  <leeming@lyx.org>
7999
8000         * lyxgluelength.h: no need to forward declare BufferParams
8001         or BufferView, so don't.
8002
8003 2002-10-21  John Levon  <levon@movementarian.org>
8004
8005         * BufferView.C: menuUndo ->undo, redo
8006
8007         * BufferView.h: document, remove dead, make some methods private
8008
8009         * paragraph_funcs.h:
8010         * paragraph_funcs.C:
8011         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8012
8013         * buffer.h:
8014         * buffer.C:
8015         * sgml.h:
8016         * sgml.C: move sgml open/close tag into sgml.C
8017
8018         * bufferview_funcs.h: unused prototype
8019
8020         * lyxfunc.h:
8021         * lyxfunc.C: remove unused
8022
8023         * lyxtext.h:
8024         * text.C: remove unused
8025
8026 2002-10-21  John Levon  <levon@movementarian.org>
8027
8028         * BufferView.h:
8029         * BufferView.C:
8030         * BufferView_pimpl.h:
8031         * BufferView_pimpl.C: fix mouse wheel handling based on
8032           patch from Darren Freeman
8033
8034 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8035
8036         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8037
8038 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8039
8040         * lyxlength.C (inPixels): Fix hanfling of negative length.
8041         Fix LyXLength::MU case.
8042
8043 2002-10-16  John Levon  <levon@movementarian.org>
8044
8045         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8046
8047 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8048
8049         * converter.C (view): add support for $$i (file name) and $$p
8050         (file path) for the viewer command. If $$i is not specified, then
8051         it is appended to the command (for compatibility with old syntax)
8052
8053 2002-10-14  Juergen Vigna  <jug@sad.it>
8054
8055         * undo_funcs.C (textHandleUndo): alter the order in which the
8056         new undopar is added to the LyXText, as we have to set first
8057         the right prev/next and then add it as otherwise the rebuild of
8058         LyXText is not correct. Also reset the cursor to the right paragraph,
8059         with this IMO we could remove the hack in "redoParagraphs()".
8060
8061 2002-10-09  Angus Leeming  <leeming@lyx.org>
8062
8063         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8064         to turn off an optimisation if a new inset is to be inserted.
8065
8066 2002-10-11 André Pönitz <poenitz@gmx.net>
8067
8068         * lyxtext.h: make some functions public to allow access
8069         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8070
8071 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8072
8073         * text3.C (dispatch): when changing layout, avoid an infinite loop
8074         [bug #652]
8075
8076 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8077
8078         * lyxrc.C (read): treat a viewer or converter command of "none" as
8079         if it were empty.
8080
8081         * MenuBackend.C (expandFormats): for an update, also allow the
8082         formats that are not viewable
8083
8084         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8085         script if it is newer than the lyxrc.defaults in user directory
8086
8087 2002-10-07 André Pönitz <poenitz@gmx.net>
8088
8089         * text.C: Vitaly Lipatov's small i18n fix
8090
8091 2002-09-25  Angus Leeming  <leeming@lyx.org>
8092
8093         * ispell.h: doxygen fix.
8094
8095 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8096
8097         * buffer.h (readFile): Add a new argument to the method, to allow
8098         reading of old-format templates.
8099
8100 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8101
8102         * toc.C (getTocList): Get TOC from InsetWrap.
8103
8104 2002-09-16  John Levon  <levon@movementarian.org>
8105
8106         * lyxfunc.C: check tabular for cut/copy too
8107
8108 2002-09-12  John Levon  <levon@movementarian.org>
8109
8110         * LyXAction.C: tidy
8111
8112         * factory.h:
8113         * factory.C: add header
8114
8115         * paragraph_funcs.h:
8116         * paragraph_funcs.C: cleanup
8117
8118 2002-09-11  John Levon  <levon@movementarian.org>
8119
8120         * PrinterParams.h: odd/even default to true
8121
8122 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8123
8124         * PrinterParams.h: update printer parameters for new xforms dialog
8125
8126 2002-09-11  Angus Leeming  <leeming@lyx.org>
8127
8128         * lyxserver.C (read_ready): re-write to make it more transparent
8129         and to make it work in coherent fashion under Tru64 Unix.
8130
8131 2002-09-11  André Pönitz <poenitz@gmx.net>
8132
8133         * commandtags.h:
8134         * LyXAction.C:
8135         * text3.C: implement LFUN_WORDSEL
8136
8137 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8138
8139         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8140         make floatlist_ a boost::shared_ptr<FloatList>
8141
8142         * lyxtextclass.C: include FloatList.h
8143         (LyXTextClass): initialize floatlist_
8144         (TextClassTags): add TC_NOFLOAT
8145         (Read): match "nofloat" to TC_NOFLOAT and use it.
8146         (readFloat): modify call to floatlist_
8147         (floats): ditto
8148         (floats): ditto
8149
8150         * FloatList.[Ch] (FloatList): remove commented out float
8151         initialization.
8152         (erase): new function
8153
8154 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8155
8156         * MenuBackend.C (expandToc): fix crash when there is no document
8157         open
8158
8159 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8160
8161         * many files: Add insetwrap.
8162
8163 2002-09-09  John Levon  <levon@movementarian.org>
8164
8165         * text2.C: remove confusing and awkward depth wraparound
8166
8167 2002-09-09  John Levon  <levon@movementarian.org>
8168
8169         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8170
8171         * buffer.h:
8172         * buffer.C: remove getIncludeonlyList()
8173
8174         * paragraph.C:
8175         * lyxfunc.C: remove headers
8176
8177 2002-09-09  Juergen Vigna  <jug@sad.it>
8178
8179         * text.C (getColumnNearX): fix form Michael this is most
8180         probably a cut&paste bug.
8181
8182 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8183
8184         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8185
8186         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8187         references, ws changes.
8188
8189         * text2.C (init): update counters after init
8190         (insertParagraph): no need to set counter on idividual paragraphs.
8191         (setCounter): access the counters object in the textclass object
8192         on in the buffer object.
8193         (updateCounters): ditto
8194
8195         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8196         shared_ptr<Counters> to avoid loading counters.h in all
8197         compilation units.
8198         (LyXTextClass): initialize ctrs_
8199         (TextClassTags): add TC_COUNTER, and ...
8200         (Read): use it here.
8201         (CounterTags): new tags
8202         (readCounter): new function
8203         (counters): new funtion
8204         (defaultLayoutName): return a const reference
8205
8206         * counters.C (Counters): remove contructor
8207         (newCounter): remove a couple of unneeded statements.
8208         (newCounter): simplify a bit.
8209         (numberLabel): some small formatting changes.
8210
8211         * buffer.[Ch]: remove all traces of counters, move the Counters
8212         object to the LyXTextClass.
8213
8214 2002-09-06  Alain Castera  <castera@in2p3.fr>
8215
8216         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8217         package to set the horizontal alignment on fixed width columns.
8218
8219         * lyx_sty.C:
8220         * lyx_sty.h: added tabularnewline macro def.
8221
8222         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8223
8224 2002-09-06  John Levon  <levon@movementarian.org>
8225
8226         * LyXAction.C: tooltips for sub/superscript
8227
8228         * MenuBackend.C: a bit more verbose
8229
8230         * lyxfunc.C: tiny clean
8231
8232         * undo_funcs.C: document undo_frozen
8233
8234 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8235
8236         * counters.C (Counters): add missing algorithm counter.
8237
8238         * text2.C (setCounter): lookup the counter with layouts latexname
8239         instead of by section number.
8240         (setCounter): use a hackish way to lookup the correct enum
8241         counter.
8242         a float name->type change
8243         reset enum couners with counter name directly instead of depth value.
8244
8245         * counters.C (Counters): remove the push_backs, change to use the
8246         float type not the float name.
8247         (labelItem): remove unused string, float name->type change
8248
8249         * counters.h: don't include vector, loose the enums and sects vectors
8250
8251 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8252
8253         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8254         (Read): add float->TC_FLOAT to textclassTags
8255         (Read): and handle it in the switch
8256         (readFloat): new function
8257
8258         * FloatList.C (FloatList): comment out the hardcoded float
8259         definitions.
8260
8261         * lyxlayout.h: ws change.
8262
8263 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8264
8265         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8266
8267 2002-09-03  Angus Leeming  <leeming@lyx.org>
8268
8269         * BufferView_pimpl.h: qualified name is not allowed in member
8270         declaration: WorkArea & Pimpl::workarea() const;
8271
8272         * factory.C: added using std::endl directive.
8273
8274         * text3.C: added using std::find and std::vector directives.
8275
8276 2002-08-29  André Pönitz <poenitz@gmx.net>
8277
8278         * lyxtext.h:
8279         * text2.C: remove unused member number_of_rows
8280
8281         * Makefile.am:
8282         * BufferView2.C: remove file, move contents to...
8283         * BufferView.C: ... here
8284
8285         * BufferView_pimpl.C:
8286         * factory.C: move more inset creation to factory
8287
8288         * vspace.C: avoid direct usage of LyXText, ws changes
8289
8290         * BufferView.[Ch]:
8291                 don't provide direct access to WorkArea, use two simple
8292                 acessors haveSelction() and workHeight() instead
8293
8294
8295 2002-08-29  John Levon  <levon@movementarian.org>
8296
8297         * BufferView_pimpl.C (dispatch): do not continue when
8298           no buffer
8299
8300 2002-08-28  André Pönitz <poenitz@gmx.net>
8301
8302         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8303
8304         * BufferView.h:
8305         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8306
8307 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8308
8309         * buffer.C: increment LYX_FORMAT to 221
8310
8311         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8312         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8313
8314         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8315
8316         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8317
8318 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8319
8320         * factory.C (createInset): use LyXTextClass::floats
8321
8322         * MenuBackend.C (expandFloatListInsert):
8323         (expandFloatInsert):
8324         (expandToc):
8325
8326         * text2.C (setCounter):
8327
8328         * LaTeXFeatures.C (useFloat):
8329         (getFloatDefinitions):
8330
8331         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8332
8333         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8334         floatlist_, with accessor floats().
8335
8336         * FloatList.h: remove global FloatList
8337
8338 2002-08-26  André Pönitz <poenitz@gmx.net>
8339
8340         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8341
8342         * BufferView.h:
8343         * BufferView2.C:
8344         * BufferView_pimpl.C:
8345         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8346
8347 2002-08-25  John Levon  <levon@movementarian.org>
8348
8349         * LyXAction.C: fix margin note description
8350
8351 2002-08-24  John Levon  <levon@movementarian.org>
8352
8353         * buffer.C:
8354         * bufferlist.C:
8355         * bufferview_funcs.C:
8356         * lyxfont.C:
8357         * undo_funcs.C: cleanups
8358
8359         * lyxfunc.C: disable CUT/COPY when no selection
8360
8361 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8362
8363         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8364         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8365
8366         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8367         Add backward compatibility to "mono", "gray" and "no".
8368
8369 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8370
8371         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8372         (and file_format >= 200).
8373
8374 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8375
8376         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8377
8378 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8379
8380         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8381
8382 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8383
8384         * BufferView_pimpl.C:
8385         * LyXAction.C:
8386         * buffer.C:
8387         * commandtags.h:
8388         * lyxfunc.C:
8389         * paragraph.[Ch]:
8390         * text2.C:
8391         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8392         inset and code to make it  work with the paragraph code. The inset
8393         can be anywhere in the paragraph, but will only do the expected
8394         thing in LaTeX if the layout file contains the parameter line
8395                         OptionalArgs    1
8396         (or more generally, a nonzero value) for that layout.
8397
8398 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8399
8400         * paragraph.h: remove the declaration of undefined counters class
8401         function.
8402
8403 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8404
8405         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8406         Dr. Richard Hawkins.
8407
8408 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8409
8410         * paragraph_funcs.h: remove some unneeded includes
8411
8412         * text.C (backspace): pasteParagraph now in global scipe
8413
8414         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8415         (pasteSelection): ditto
8416
8417         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8418         * paragraph_funcs.C (pasteParagraph): ... here
8419
8420 2002-08-20  André Pönitz <poenitz@gmx.net>
8421
8422         * commandtags.h: new LFUNs for swapping/copying table row/colums
8423
8424         * LyXAction.C:
8425         * lyxfunc.C: support for new lfuns
8426
8427 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8428
8429         * tabular.C:
8430         * buffer.[Ch]: remove NO_COMPABILITY stuff
8431
8432 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8433
8434         * boost.C (throw_exception): new file, with helper function for
8435         boost compiled without exceptions.
8436
8437         * paragraph.h:
8438         * lyxlength.C:
8439         * buffer.C:
8440         * ParameterStruct.h:
8441         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8442
8443         * bufferlist.C (emergencyWriteAll): use boost bind
8444
8445         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8446
8447         * text.C: include paragraph_funcs.h
8448         (breakParagraph): breakParagraph is now in global scope
8449
8450         * paragraph_funcs.[Ch]: new files
8451
8452         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8453         global scope
8454
8455         * buffer.C: include paragraph_funcs.h
8456         (insertStringAsLines): breakParagraph is now in global scope
8457
8458         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8459         paragraph_funcs.C
8460
8461         * CutAndPaste.C: include paragraph_funcs.h
8462         (cutSelection): breakParagraphConservative is now in global scope
8463         (pasteSelection): ditto
8464
8465         * buffer.h: declare oprator== and operator!= for
8466         Buffer::inset_iterator
8467
8468         * bufferlist.C (emergencyWrite): don't use fmt(...)
8469
8470         * text3.C: add using std::endl
8471
8472         * BufferView.C (moveCursorUpdate): remove default arg
8473
8474 2002-08-20  André Pönitz <poenitz@gmx.net>
8475
8476         * buffer.[Ch]: move inline functions to .C
8477
8478         * BufferView2.C:
8479         * BufferView_pimpl.C:
8480         * text.C:
8481         * buffer.[Ch]: use improved inset_iterator
8482
8483         * buffer.C:
8484         * paragraph.[Ch]: write one paragraph at a time
8485
8486 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8487
8488         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8489         style if style is not specified.
8490
8491 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8492
8493         * text2.C (setCounter): when searching for right label for a
8494         caption, make sure to recurse to parent insets (so that a caption
8495         in a minipage in a figure float works) (bug #568)
8496
8497 2002-08-20  André Pönitz <poenitz@gmx.net>
8498
8499         * text3.C: new file for LyXText::dispatch() and helpers
8500
8501         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8502
8503         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8504
8505 2002-08-19  André Pönitz <poenitz@gmx.net>
8506
8507         * lyxtext.h:
8508         * text.C: new LyXText::dispatch()
8509
8510         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8511
8512 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8513
8514         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8515
8516         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8517         Hebrew text.
8518
8519 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8520
8521         * Makefile.am: use $(variables) instead of @substitutions@
8522
8523 2002-08-15  André Pönitz <poenitz@gmx.net>
8524
8525         * lyxfunc.C:
8526         * BufferView_pimpl.C: streamlining mathed <-> outer world
8527         interaction
8528
8529         * commandtags.h:
8530         * LyXAction.C: remove unused LFUN_MATH
8531
8532 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8533
8534         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8535
8536 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8537
8538         * paragraph.C (Paragraph): reformat a bit
8539         (cutIntoMinibuffer): use builtin InsetList function instad of
8540         doing it manually.
8541         (getInset): ditto
8542
8543         * buffer.C: include boost/bind.hpp, add using std::for_each
8544         (writeFileAscii): use ParagraphList iterators
8545         (validate): use for_each for validate traversal of paragraphs
8546         (getBibkeyList): use ParagraphList iterators
8547         (resizeInsets): use for_each to resizeInsetsLyXText for all
8548         paragraphs.
8549         (getParFromID): use ParagraphList iterators
8550
8551         * BufferView2.C (lockInset): use paragraph list and iterators
8552
8553 2002-08-14  John Levon  <levon@movementarian.org>
8554
8555         * lyxserver.C: remove spurious xforms include
8556
8557 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8558
8559         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8560
8561 2002-08-13  André Pönitz <poenitz@gmx.net>
8562
8563         * LyXAction.[Ch]:
8564         * lyxfunc.C: further cleaning
8565
8566 2002-08-13  André Pönitz <poenitz@gmx.net>
8567
8568         * funcrequest.h: new constructor
8569
8570         * funcrequest.C: move stuff here from .h
8571
8572         * Makefile.am:
8573         * BufferView_pimpl.C:
8574         * LyXAction.C:
8575         * toc.C:
8576         * lyxfunc.C: subsequent changes
8577
8578         * lyxfunc.h: new view() member function
8579
8580         * lyxfunc.C: subsequent changes
8581
8582 2002-08-13  Angus Leeming  <leeming@lyx.org>
8583
8584         * BufferView2.C:
8585         * BufferView_pimpl.C:
8586         * buffer.C:
8587         * converter.C:
8588         * importer.C:
8589         * lyxfunc.C:
8590         * lyxvc.C:
8591         * toc.C:
8592         * vc-backend.C:
8593         changes due to the changed LyXView interface that now returns references
8594         to member variables not pointers.
8595
8596 2002-08-13  Angus Leeming  <leeming@lyx.org>
8597
8598         * WordLangTuple (word, lang_code): return references to strings,
8599         not strings.
8600
8601         * BufferView.h:
8602         * SpellBase.h:
8603         * lyxtext.h: forward-declare WordLangTuple.
8604
8605         * BufferView2.C:
8606         * ispell.C:
8607         * pspell.C:
8608         * text.C: #include "WordLangTuple.h".
8609
8610         * lyxtext.h:
8611         * text.C: (selectNextWordToSpellcheck): constify return type.
8612
8613 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8614
8615         * buffer.C:
8616         * buffer.h:
8617         * lyxtext.h:
8618         * paragraph.C:
8619         * paragraph_pimpl.h:
8620         * text.C:
8621         * text2.C:
8622         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8623         suggested by Angus.
8624         Made updateCounter always count from start of buffer, and removed
8625         second argument (par).
8626         Reverted floats number display to '#'. Perhaps I'll try again when the
8627         code base is sanitized a bit.
8628
8629 2002-08-12  Angus Leeming  <leeming@lyx.org>
8630
8631         * buffer.[Ch] (getLabelList): constify.
8632
8633 2002-08-07  André Pönitz <poenitz@gmx.net>
8634
8635         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8636
8637         * funcrequest.h: extension to keep mouse (x,y) position
8638
8639 2002-08-12  Juergen Vigna  <jug@sad.it>
8640
8641         * BufferView2.C (insertErrors): forbid undo when inserting error
8642         insets.
8643
8644         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8645
8646 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8647
8648         * ParagraphList.[Ch]: new files
8649
8650         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8651
8652         * BufferView2.C (lockInset): ParagraphList changes
8653         * toc.C: ditto
8654         * text2.C: ditto
8655         * bufferlist.C: ditto
8656         * buffer.h: ditto
8657         * buffer.C: ditto
8658
8659 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8660
8661         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8662         unused class variable counter_,
8663
8664         * paragraph.[Ch] (getFirstCounter): delete unused function
8665
8666         * counters.C: include LAssert.h
8667         (reset): add a new function with no arg, change other version to
8668         not have def. arg and to not allow empty arg.
8669
8670         * text2.C (setCounter): remove empty arg from call to Counters::reset
8671
8672 2002-08-11  John Levon  <levon@movementarian.org>
8673
8674         * Makefile.am: add WordLangTuple.h
8675
8676 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8677
8678         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8679         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8680
8681         * insets/insettext.C: InsetList changes
8682
8683         * graphics/GraphicsSupport.C (operator()): InsetList changes
8684
8685         * toc.C (getTocList): InsetList changes
8686
8687         * paragraph_pimpl.[Ch]: InsetList changes
8688
8689         * paragraph.[Ch]: InsetList changes
8690
8691         * buffer.C (inset_iterator): InsetList changes
8692         (setParagraph): ditto
8693         * buffer.h (inset_iterator): ditto
8694         * iterators.C (operator++): ditto
8695         * iterators.h: ditto
8696
8697         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8698
8699         * InsetList.[Ch]: new files, most InsetList handling moved out of
8700         paragraph.C.
8701
8702         * BufferView2.C (removeAutoInsets): InsetList changes
8703         (lockInset): ditto
8704         (ChangeInsets): ditto
8705
8706 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8707
8708         * paragraph_pimpl.h (empty): new function
8709
8710         * paragraph.[Ch] (empty): new function
8711
8712         * other files: use the new Paragraph::empty function
8713
8714 2002-08-09  John Levon  <levon@movementarian.org>
8715
8716         * lyxtext.h: remove unused refresh_height
8717
8718 2002-08-09  John Levon  <levon@movementarian.org>
8719
8720         * Makefile.am:
8721         * sgml.h:
8722         * sgml.C:
8723         * buffer.C:
8724         * paragraph.h:
8725         * paragraph.C: move sgml char escaping out of paragraph
8726
8727         * paragraph.h:
8728         * paragraph.C: remove id setter
8729
8730         * buffer.C:
8731         * paragraph.C:
8732         * paragraph_pimpl.C: remove dead tex_code_break_column
8733
8734         * bufferview_funcs.C: small cleanup
8735
8736         * lyxfunc.C: remove dead proto
8737
8738         * lyxtext.h: make some stuff private. Remove some dead stuff.
8739
8740         * lyxgluelength.C: make as[LyX]String() readable
8741
8742 2002-08-08  John Levon  <levon@movementarian.org>
8743
8744         * LyXAction.h:
8745         * LyXAction.C:
8746         * MenuBackend.C:
8747         * ToolbarDefaults.C:
8748         * lyxfunc.C:
8749         * lyxrc.C:
8750         * toc.C: lyxaction cleanup
8751
8752 2002-08-08  John Levon  <levon@movementarian.org>
8753
8754         * BufferView2.C: small cleanup
8755
8756         * lyxfind.h:
8757         * lyxfind.C: move unnecessary header into the .C
8758
8759 2002-08-08  John Levon  <levon@movementarian.org>
8760
8761         * funcrequest.h: just tedious nonsense
8762
8763         * lyx_main.h:
8764         * lyx_main.C: cleanups
8765
8766         * buffer.C:
8767         * vspace.C: remove dead header lyx_main.h
8768
8769 2002-08-07  Angus Leeming  <leeming@lyx.org>
8770
8771         * Paragraph.[Ch]:
8772         * paragraph_pimpl.h:
8773         Forward declare class Counters in paragraph.h by moving the ctrs member
8774         variable into Paragraph::Pimpl.
8775         (counters): new method, returning a reference to pimpl_->ctrs.
8776
8777         * text2.C: ensuing changes.
8778
8779 2002-08-07  John Levon  <levon@movementarian.org>
8780
8781         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8782
8783         * BufferView_pimpl.C: announce X selection on double/triple
8784           click
8785
8786         * lyx_main.C: use correct bool in batch dispatch
8787
8788         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8789
8790 2002-08-07  André Pönitz <poenitz@gmx.net>
8791
8792         * funcrequest.h: new class to wrap a kb_action and its argument
8793
8794         * BufferView.[Ch]:
8795         * BufferView_pimpl[Ch]:
8796         * LaTeX.C:
8797         * LyXAction.[Ch]:
8798         * lyxfunc.[Ch]:
8799         * lyxrc.C: subsequent changes
8800
8801
8802 2002-08-07  John Levon  <levon@movementarian.org>
8803
8804         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8805           document options change.
8806
8807 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8808
8809         * counters.[Ch]
8810         * text2.C
8811         * paragraph.[Ch]
8812         * makefile.am: move counters functionality over from
8813         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8814
8815 2002-08-06  John Levon  <levon@movementarian.org>
8816
8817         * WordLangTuple.h: new file for word + language code tuple
8818
8819         * SpellBase.h:
8820         * pspell.h:
8821         * pspell.C:
8822         * ispell.h:
8823         * ispell.C:
8824         * lyxtext.h:
8825         * text.C:
8826         * text2.C:
8827         * BufferView.h:
8828         * BufferView2.C: use WordLangTuple
8829
8830         * layout.h:
8831         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8832
8833 2002-08-06  John Levon  <levon@movementarian.org>
8834
8835         * lyx_main.C: fix cmdline batch handling
8836
8837 2002-08-06  André Pönitz <poenitz@gmx.net>
8838
8839         * lyxrc.C: set default for show_banner to true
8840
8841 2002-08-06  John Levon  <levon@movementarian.org>
8842
8843         * pspell.C: fix a crash, and allow new aspell to work
8844
8845 2002-08-06  John Levon  <levon@movementarian.org>
8846
8847         * lyxfunc.C:
8848         * kbmap.C: small cleanup
8849
8850         * vspace.h:
8851         * vspace.C: add const
8852
8853 2002-08-05  John Levon  <levon@movementarian.org>
8854
8855         * LyXAction.C: back to tabular-insert
8856
8857 2002-08-04  John Levon  <levon@movementarian.org>
8858
8859         * BufferView.h:
8860         * BufferView.C: cosmetic change
8861
8862         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8863
8864         * bufferlist.C:
8865         * buffer.h:
8866         * buffer.C:
8867         * lyxcb.h:
8868         * lyxcb.C:
8869         * lyxserver.C:
8870         * lyxvc.C:
8871         * vc-backend.C:
8872         * BufferView2.C: purge all "Lyx" not "LyX" strings
8873
8874         * lyxcursor.h:
8875         * lyxcursor.C: attempt to add some documentation
8876
8877         * lyxfunc.C:
8878         * commandtags.h:
8879         * LyXAction.C:
8880         * ToolbarDefaults.C:
8881         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8882           merge with LFUN_TABULAR_INSERT
8883
8884         * Makefile.am:
8885         * SpellBase.h:
8886         * ispell.h:
8887         * ispell.C:
8888         * pspell.h:
8889         * pspell.C: split up i/pspell implementations into separate
8890           files, many cleanups
8891
8892         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8893
8894         * text2.C: some cleanup
8895
8896         * lyxfunc.C: don't check for isp_command == "none" any more, it
8897           didn't make any sense
8898
8899 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8900
8901         * counters.[Ch]
8902         * text2.C
8903         * paragraph.[Ch]
8904         * makefile.am: move counters functionality over
8905         from text2.C/paragraph.[Ch] to counters.[Ch], and
8906         make proper C++.
8907 2002-08-02  John Levon  <levon@movementarian.org>
8908
8909         * buffer.C: s/lyxconvert/lyx2lyx/
8910
8911 2002-08-02  Angus Leeming  <leeming@lyx.org>
8912
8913         * lyxlex.C: revert John's change as it breaks reading of the user
8914         preamble.
8915
8916 2002-08-02  Angus Leeming  <leeming@lyx.org>
8917
8918         * importer.C (Import):
8919         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8920         changes due to LyXView::view() now returning a boost::shared_ptr.
8921
8922 2002-08-02  John Levon  <levon@movementarian.org>
8923
8924         * lyxlex.C: small cleanup
8925
8926 2002-08-02  John Levon  <levon@movementarian.org>
8927
8928         * text2.C (status): small cleanup, no logic change
8929
8930 2002-08-01  John Levon  <levon@movementarian.org>
8931
8932         * buffer.h:
8933         * buffer.C (writeFile): don't output alerts, caller
8934           handles this
8935
8936         * bufferlist.C:
8937         * lyx_cb.C: from above
8938
8939         * lyxfunc.C: allow to open non-existent files
8940
8941 2002-07-31  John Levon  <levon@movementarian.org>
8942
8943         * lyxserver.C: don't let incidental errors get
8944           in the way (errno)
8945
8946 2002-07-30  John Levon  <levon@movementarian.org>
8947
8948         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8949
8950 2002-07-30  John Levon  <levon@movementarian.org>
8951
8952         * lyxserver.h:
8953         * lyxserver.C: remove I/O callback too
8954
8955 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8956
8957         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8958         log.
8959
8960 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8961
8962         * many files: strip,frontStrip -> trim,ltrim,rtrim
8963
8964 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8965
8966         * PrinterParams.h: remove extern containsOnly, and include
8967         support/lstrings.h instead.
8968
8969         * LaTeX.C (scanAuxFile): modify because of strip changes
8970         (deplog): ditto
8971         * buffer.C (makeLaTeXFile): ditto
8972         * bufferparams.C (writeFile): ditt
8973         * lyxfont.C (stateText): ditto
8974         * lyxserver.C (read_ready): ditto
8975         * vc-backend.C (scanMaster): ditto
8976
8977         * BufferView_pimpl.h: ws changes
8978
8979         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8980
8981 2002-07-26  André Pönitz <poenitz@gmx.net>
8982
8983         * kb_sequence.C: remove unnedred usings
8984
8985 2002-07-26  Juergen Vigna  <jug@sad.it>
8986
8987         * lyxfind.C (LyXReplace): we have to check better if the returned
8988         text is not of theLockingInset()->getLockingInset().
8989
8990 2002-07-25  Juergen Vigna  <jug@sad.it>
8991
8992         * lyxfind.C (LyXReplace): don't replace if we don't get the
8993         right LyXText.
8994
8995         * undo_funcs.C (createUndo): remove debugging code.
8996
8997 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8998
8999         * buffer.C (parseSingleLyXformat2Token): Use default placement
9000         when reading old floats.
9001
9002         * FloatList.C (FloatList): Change the default placement of figure
9003         and tables to "tbp".
9004
9005 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9006
9007         * MenuBackend.C: using std::max
9008
9009 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9010
9011         * MenuBackend.C (expandToc):
9012         (expandToc2): code moved from xforms menu frontend. It is now
9013         generic and TOCs are transparent to menu frontends.
9014
9015 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9016
9017         * toc.C (getTocList): protect against buf=0
9018
9019         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9020         Menu as first parameter. Now, this calls itself recursively to
9021         expand a whole tree (this will be useful for TOC handling)
9022         (expandFloatInsert): remove 'wide' version of floats
9023
9024         * MenuBackend.h (submenuname): returns the name of the submenu.
9025         (submenu): returns the submenu itself, provided it has been
9026         created by MenuBackend::expand
9027
9028 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9029
9030         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9031         insets which have noFontChange == true. (bug #172)
9032
9033 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9034
9035         * BufferView_pimpl.C: add connection objects and use them...
9036         (Pimpl): here.
9037
9038 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9039
9040         * MenuBackend.C (expandLastfiles):
9041         (expandDocuments):
9042         (expandFormats):
9043         (expandFloatListInsert):
9044         (expandFloatInsert):
9045         (expand): split expand in parts
9046
9047 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9048
9049         * lyx_gui.C: use lyx_gui::exit()
9050
9051 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9052
9053         * LyXAction.C: show the failing pseudo action
9054
9055 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9056
9057         * buffer.C (readFile): Run the lyxconvert script in order to read
9058         old files.
9059
9060 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9061
9062         * LyXAction.C:
9063         * commandtags.h:
9064         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9065
9066 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9067
9068         * LyXAction.C:
9069         * commandtags.h:
9070         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9071
9072 2002-07-22  Herbert Voss  <voss@lyx.org>
9073
9074         * lengthcommon.C:
9075         * lyxlength.[Ch]: add support for the vertical lengths
9076
9077 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9078
9079         * toc.[Ch]: std:: fixes
9080
9081 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9082
9083         * lyxrc.C: do not include lyx_main.h
9084
9085         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9086         for layouts
9087
9088         * lyxrc.C:
9089         * encoding.C:
9090         * bufferlist.C:
9091         * BufferView2.C: include "lyxlex.h"
9092
9093         * tabular.h:
9094         * bufferparams.h: do not #include "lyxlex.h"
9095
9096         * lyxtextclasslist.C (Add): remove method
9097         (classlist): renamed to classlist_
9098
9099         * paragraph_pimpl.C:
9100         * paragraph.C:
9101         * text2.C:
9102         * CutAndPaste.C:
9103         * bufferview_funcs.C:
9104         * bufferlist.C:
9105         * text.C:
9106         * LaTeXFeatures.C:
9107         * buffer.C:
9108         * toc.C (getTocList): use BufferParams::getLyXTextClass
9109
9110         * toc.C (getTocList): use InsetFloat::addToToc
9111
9112         * toc.[Ch]: new files, containing helper functions to handle table
9113         of contents
9114
9115         * lyxfunc.C (dispatch): no need to remove spaces around command
9116         given as a string
9117         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9118         first command of the sequence; it is not very clever, but I do not
9119         have a better idea, actually
9120
9121         * LyXAction.C (LookupFunc): make sure to remove space at the
9122         beginning and end of the command
9123
9124 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9125
9126         * MenuBackend.C (getMenubar): new method: return the menubar of
9127         this menu set
9128         (read): treat differently reading of menu and menubar (in
9129         particular, the menubar has no name now)
9130         (Menu::menubar): remove
9131
9132         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9133         saving is finished
9134
9135 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9136
9137         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9138         a bibitem inset in a RTL paragraph.
9139
9140 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9141
9142         * paragraph_pimpl.C: constify
9143
9144         * BufferView_pimpl.C:
9145         * LaTeX.C:
9146         * lyxfunc.C: fix dispatch in a nicer way
9147
9148 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9149
9150         * lyxfunc.C (dispatch):
9151         * BufferView_pimpl.C:
9152         * BufferView_pimpl.h:
9153         * BufferView.C:
9154         * BufferView.h: rename Dispatch() to dispatch()
9155
9156         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9157
9158         * lyxlayout.C (Read): honor DependsOn tag
9159
9160         * lyxlayout.[Ch] (depends_on): new method
9161
9162         * version.C.in: update lyx_docversion
9163
9164         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9165
9166         * paragraph.C (validate): remove from here...
9167         * paragraph_pimpl.C (validate): ... and move here
9168         (isTextAt): make it const
9169
9170         * buffer.C (getLists): ws cleanup
9171
9172 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9173
9174         * language.C (read): Use iso8859-1 encoding in latex_lang
9175         (this prevents LyX from crashing when using iso10646-1 encoding).
9176
9177 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9178
9179         * text2.C (toggleInset): if cursor is inside an inset, close the
9180         inset and leave cursor _after_ it
9181
9182 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9183
9184         * lyxfunc.C: move minibuffer completion handling out of here
9185
9186 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9187
9188         * BufferView_pimpl.C:
9189         * LaTeX.C: fix dispatch calls
9190
9191 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9192
9193         * text.C (drawChars): Fix Arabic text rendering.
9194
9195 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9196
9197         * LyXAction.C:
9198         * commandtags.h:
9199         * lyxfunc.C: remove message-push/pop
9200
9201         * lyxserver.C:
9202         * lyxfunc.h:
9203         * lyxfunc.C: rationalise some code by removing verboseDispatch
9204           in favour of a bool argument to dispatch()
9205
9206 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9207
9208         * lyx_main.C (init): make sure to read symlinks as absolute paths
9209
9210 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9211
9212         * lyxfunc.h:
9213         * lyxfunc.C: no need for commandshortcut to be a member
9214
9215 2002-07-15  André Pönitz <poenitz@gmx.net>
9216
9217         * converter.C: add support for $$s (scripts from lib/scripts dir)
9218         * lyx_main.C: white space
9219
9220 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9221
9222         * bufferlist.C:
9223         * lyxrc.h:
9224         * lyxrc.C: remove second exit confirmation
9225
9226 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9227
9228         * BufferView.h:
9229         * BufferView.C:
9230         * BufferView2.C:
9231         * BufferView_pimpl.h:
9232         * BufferView_pimpl.C:
9233         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9234
9235 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9236
9237         * MenuBackend.C (expand): add numeric shortcuts to document menu
9238
9239         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9240
9241 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9242
9243         * lyxfont.C (setLyXFamily):
9244         (setLyXSeries):
9245         (setLyXShape):
9246         (setLyXSize):
9247         (setLyXMisc):
9248         (lyxRead):
9249         * debug.C (value):
9250         * buffer.C (asciiParagraph): use ascii_lowercase
9251
9252 2002-07-15  Mike Fabian  <mfabian@suse.de>
9253
9254         * lyxlex_pimpl.C (search_kw):
9255         * lyxlex.C (getLongString):
9256         * converter.h (operator<):
9257         * converter.C (operator<):
9258         * buffer.C (parseSingleLyXformat2Token):
9259         (asciiParagraph):
9260         * ToolbarDefaults.C (read):
9261         * MenuBackend.C (checkShortcuts):
9262         (read):
9263         * LColor.C (getFromGUIName):
9264         (getFromLyXName): use the compare_ascii_no_case instead of
9265         compare_no_case, because in turkish, 'i' is not the lowercase
9266         version of 'I', and thus turkish locale breaks parsing of tags.
9267
9268 2002-07-16  Angus Leeming  <leeming@lyx.org>
9269
9270         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9271         now takes a Buffer const & argument.
9272
9273 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9274
9275         * BufferView.C (resize): check there's a buffer to resize
9276
9277 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9278
9279         * lyxfunc.C: remove dead code
9280
9281         * lyxserver.h:
9282         * lyxserver.C: use lyx_guii::set_read_callback
9283
9284 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9285
9286         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9287         an inset in a RTL paragraph.
9288
9289 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9290
9291         * lyxfunc.C: repaint after a font size update
9292
9293 2002-07-15  André Pönitz <poenitz@gmx.net>
9294
9295         * lyxlength.C: inBP should be able to return negative values
9296
9297 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9298
9299         * lyxfunc.C: use lyx_gui::update_fonts()
9300
9301 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9302
9303         * lyxfunc.C: use lyx_gui::update_color()
9304
9305 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9306
9307         * bufferlist.C:
9308         * lyxfunc.h:
9309         * lyxfunc.C:
9310         * lyxrc.h:
9311         * lyxrc.C: remove file->new asks for name option, and let
9312           buffer-new take an argument
9313
9314 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9315
9316         * BufferView_pimpl.C: remove unneeded extra repaint()
9317
9318 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9319
9320         * LyXAction.C: allow command-sequence with NoBuffer
9321
9322         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9323
9324 2002-07-10  Angus Leeming  <leeming@lyx.org>
9325
9326         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9327
9328 2002-07-09  Angus Leeming  <leeming@lyx.org>
9329
9330         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9331
9332 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9333
9334         * lengthcommon.h: whitespace
9335
9336         * lyxfunc.C: update scrollbar after goto paragraph
9337
9338         * lyxtext.h: factor out page break drawing, and fix it so
9339           page break/added space paints as selected nicely
9340
9341 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9342
9343         * BufferView_pimpl.C: add FIXMEs, clean up a little
9344
9345 2002-07-09  André Pönitz <poenitz@gmx.net>
9346
9347         * lyxfont.[Ch]: support for wasy symbols
9348
9349 2002-07-08  André Pönitz <poenitz@gmx.net>
9350
9351         * BufferView_pimpl.C: apply John's patch for #93.
9352
9353 2002-07-05  Angus Leeming  <leeming@lyx.org>
9354
9355         * BufferView_pimpl.C (buffer): generate previews if desired.
9356
9357         * LColor.h: add "preview" to the color enum.
9358
9359         * LColor.C (LColor): add a corresponding entry to the items array.
9360
9361         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9362         with this buffer.
9363
9364 2002-07-05  Angus Leeming  <leeming@lyx.org>
9365
9366         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9367         The body of the code is now in the method that is passed an ostream &
9368         rather than a file name.
9369         Pass an additional only_preamble parameter, useful for the forthcoming
9370         preview stuff.
9371
9372 2002-07-03  André Pönitz <poenitz@gmx.net>
9373
9374         * lyxfunc.C: simplify getStatus() a bit for math stuff
9375
9376 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9377
9378         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9379
9380 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9381
9382         * text.C (changeRegionCase): do not change case of all the
9383         document when region ends at paragraph end (bug #461)
9384
9385 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9386
9387         * paragraph.C (startTeXParParams):
9388         (endTeXParParams): add \protect when necessary
9389
9390 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9391
9392         * BufferView_pimpl.C (workAreaExpose): remove warning
9393
9394 2002-06-27  Angus Leeming  <leeming@lyx.org>
9395
9396         * Makefile.am: add lyxlayout_ptr_fwd.h.
9397
9398 2002-06-26  André Pönitz <poenitz@gmx.net>
9399
9400         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9401
9402 2002-06-25  Angus Leeming  <leeming@lyx.org>
9403
9404         * lyxfunc.C (dispatch): Comment out the call to
9405         grfx::GCache::changeDisplay. The method no longer exists now that the
9406         pixmap generation part of the graphics loader has been moved into
9407         InsetGraphics.
9408
9409 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9410
9411         * text2.C: layout as layout
9412
9413         * text.C: layout as layout
9414
9415         * tabular.C (OldFormatRead): layout as layout
9416
9417         * paragraph_pimpl.C (TeXDeeper): layout as layout
9418         (realizeFont): layout as layout
9419
9420         * paragraph.C (writeFile): layout as layout
9421         (validate): layout as layout
9422         (getFont): layout as layout
9423         (getLabelFont): layout as layout
9424         (getLayoutFont): layout as layout
9425         (breakParagraph): layout as layout
9426         (stripLeadingSpaces): layout as layout
9427         (getEndLabel): layout as layout
9428         (getMaxDepthAfter): layout as layout
9429         (applyLayout): layout as layout
9430         (TeXOnePar): layout as layout
9431         (simpleTeXOnePar): layout as layout
9432         (TeXEnvironment): layout as layout
9433         (layout): layout as layout
9434         (layout): layout as layout
9435
9436         * lyxtextclass.C (compare_name): new functor to work with
9437         shared_ptr, layout as layout
9438         (Read): layout as layout
9439         (hasLayout): layout as layout
9440         (operator): layout as layout
9441         (delete_layout): layout as layout
9442         (defaultLayout): layout as layout
9443
9444         * lyxlayout_ptr_fwd.h: new file
9445
9446         * lyxlayout.C (Read): layout as layout
9447
9448         * lyx_cb.C (MenuInsertLabel): layout as layout
9449
9450         * bufferlist.C (newFile): layout as layout
9451
9452         * buffer.C (readLyXformat2): layout as layout
9453         (parseSingleLyXformat2Token): layout as layout
9454         (insertStringAsLines): layout as layout
9455         (asciiParagraph): layout as layout
9456         (latexParagraphs): layout as layout
9457         (makeLinuxDocFile): layout as layout
9458         (simpleLinuxDocOnePar): layout as layout
9459         (makeDocBookFile): layout as layout
9460         (simpleDocBookOnePar): layout as layout
9461         (getLists): layout as layout
9462
9463         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9464
9465         * CutAndPaste.C (cutSelection): layout as layout
9466         (pasteSelection): layout as layout
9467         (SwitchLayoutsBetweenClasses): layout as layout
9468
9469         * BufferView_pimpl.C (Dispatch): layout as layout
9470         (smartQuote): layout as layout
9471
9472         * BufferView2.C (unlockInset): layout as layout
9473
9474 2002-06-24  André Pönitz <poenitz@gmx.net>
9475
9476         * lyxfunc.C: fix #487
9477
9478 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9479
9480         * lyxrc.h:
9481         * lyxrc.C:
9482         * lyxfunc.C: remove display_shortcuts, show_banner
9483
9484 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9485
9486         * Buffer_pimpl.C: oops, update on resize
9487
9488 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9489
9490         * buffer.C:
9491         * converter.C:
9492         * exporter.C:
9493         * lyxfunc.C:
9494         * BufferView.h:
9495         * BufferView.C: use repaint()
9496
9497         * BufferView_pimpl.h:
9498         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9499           as it's a clearer description. Remove superfluous
9500           redraws.
9501
9502 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9503
9504         * text.C: fix bug 488. Not ideal, but getting
9505           getWord() to work properly for the insets that
9506           matter is more difficult ...
9507
9508 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9509
9510         * BufferView_pimpl.C:
9511         * LyXAction.C:
9512         * commandtags.h:
9513         * lyxfunc.C: remove the six million index lyxfuncs to just
9514           one, and DTRT (bug 458)
9515
9516 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9517
9518         * BufferView.h:
9519         * BufferView.C:
9520         * BufferView_pimpl.h:
9521         * BufferView_pimpl.C: clean up resize() stuff,
9522           and unnecessary updateScreen()s
9523
9524 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9525
9526         * BufferView.h:
9527         * BufferView.C:
9528         * BufferView_pimpl.h:
9529         * BufferView_pimpl.C:
9530         * lyxfind.h:
9531         * lyxfind.C:
9532         * minibuffer.C: remove focus management of workarea,
9533           not needed. Use screen's greyOut()
9534
9535 2002-06-17  Herbert Voss  <voss@lyx.org>
9536
9537         * converter.C: (convert) do not post a message, when converting
9538         fails, let the calling function decide what to do in this case
9539
9540 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9541
9542         * lyxfunc.C: tidy up a little
9543
9544 2002-06-16    <alstrup@diku.dk>
9545
9546         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9547         Got rid of FORMS_H_LOCATION include. Now we are
9548         GUII.
9549
9550 2002-06-15  LyX Development team  <lyx@rilke>
9551
9552         * buffer.[Ch] (sgmlOpenTag):
9553         (sgmlCloseTag): Added support for avoiding pernicious mixed
9554         content. Return number of lines written.
9555
9556         (makeLinuxDocFile):
9557         (makeDocBookFile): Fixed calls to sgml*Tag.
9558         Simple white space clean.
9559
9560         (simpleDocBookOnePar): Simple white space clean.
9561
9562         * tabular.[Ch] (docBook): Renamed to docbook and got another
9563         argument to related with the pernicious mixed content.
9564
9565         (docbookRow): Fixed calls for docbook inset method.
9566
9567 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9568
9569         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9570         so it's X11 independent.
9571
9572         * kb*.[Ch]: ditto.
9573
9574         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9575
9576 2002-06-15  Lyx Development team  <lyx@electronia>
9577
9578         * intl.h: Renamed getTrans to getTransManager.
9579
9580 2002-06-14  Angus Leeming  <leeming@lyx.org>
9581
9582         * Makefile.am: nuke forgotten stl_string_fwd.h.
9583
9584 2002-06-12  Angus Leeming  <leeming@lyx.org>
9585
9586         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9587
9588 2002-06-13  Angus Leeming  <leeming@lyx.org>
9589
9590         * LaTeX.C:
9591         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9592
9593 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9594
9595         * kbmap.C (getiso): add support for cyrillic and greek
9596
9597 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9598
9599         * BufferView.h:
9600         * BufferView.C:
9601         * BufferView_pimpl.h:
9602         * BufferView_pimpl.C: move bogus scrolling logic
9603           to xforms
9604
9605 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9606
9607         * lyxfunc.C:
9608         * BufferView_pimpl.C: view->resize() change
9609
9610 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9611
9612         * BufferView_pimpl.C: topCursorVisible
9613           prototype change
9614
9615 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9616
9617         * Makefile.am:
9618         * lyx_gui.h:
9619         * lyx_gui.C: move to frontends/
9620
9621         * main.C:
9622         * lyx_main.h:
9623         * lyx_main.C: changes from above
9624
9625 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9626
9627         * intl.C:
9628         * intl.h:
9629         * kbmap.C:
9630         * kbsequence.C:
9631         * lyx_cb.C:
9632         * lyx_main.C: minor tidy
9633
9634 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9635
9636         * BufferView_pimpl.h:
9637         * BufferView_pimpl.C:
9638         * BufferView.h:
9639         * BufferView.C: make painter() const,
9640           remove dead code
9641
9642         * BufferView2.C: use screen() accessor
9643
9644         * lyx_main.h:
9645         * lyx_main.C: some minor cleanup
9646
9647 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9648
9649         * BufferView_pimpl.h:
9650         * BufferView_pimpl.C: remove enter/leaveView,
9651           use workHeight()
9652
9653 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9654
9655         * BufferView.h:
9656         * BufferView.C:
9657         * BufferView2.C:
9658         * BufferView_pimpl.h:
9659         * BufferView_pimpl.C: only construct screen once,
9660           rename
9661
9662         * lyxrc.C: remove pointless comment
9663
9664 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9665
9666         * BufferView.h:
9667         * BufferView.C: remove active() and belowMouse()
9668
9669         * BufferView_pimpl.h:
9670         * BufferView_pimpl.C: use workarea() not workarea_,
9671           and make it use a scoped_ptr instead
9672
9673 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9674
9675         * lyx_gui.C: add debug message on BadWindow
9676
9677 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9678
9679         * sp_spell.C: fdopen is not part of the C++ standard.
9680
9681         * paragraph.C (InsetIterator): use >= instead of ==
9682
9683 2002-06-07  Angus Leeming  <leeming@lyx.org>
9684
9685         Fixes needed to compile with Compaq cxx 6.5.
9686         * BufferView_pimpl.C:
9687         * DepTable.C:
9688         * buffer.C:
9689         * converter.C:
9690         * encoding.C:
9691         * lyx_gui.C:
9692         * lyx_main.C:
9693         * lyxtextclasslist.C:
9694         * minibuffer.C:
9695         * sp_spell.C:
9696         * tabular_funcs.C:
9697         * vc-backend.C:
9698         all c-library variables have been moved into namespace std. Wrap
9699         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9700
9701         * lyxlength.C:
9702         * tabular-old.C:
9703         * tabular.C:
9704         Add a using std::abs declaration.
9705
9706         * kbmap.h (modifier_pair):
9707         * paragraph.h (InsetTable, InsetList):
9708         * lyxfont.h (FontBits):
9709         type definition made public.
9710
9711         * bufferlist.C (emergencyWriteAll): the compiler complains that
9712         there is more than one possible lyx::class_fun template to choose from.
9713         I re-named the void specialisation as lyx::void_class_fun.
9714
9715         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9716
9717         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9718         the compiler is is unable to find tostr in write_attribute.
9719
9720 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9721
9722         * buffer.C (sgmlError): hide #warning
9723
9724 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9725
9726         * xtl/*: get rid of xtl, which is not in use anyway
9727
9728         * LyXAction.C (init):
9729         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9730         were unimplemented xtl experimentation
9731
9732 2002-06-04  André Pönitz <poenitz@gmx.net>
9733
9734         * lyxfunc.C: disable array operation on simple formulae
9735
9736 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9737
9738         * converter.C: constify a bit
9739
9740 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9741
9742         * lyx_gui.C: check xforms version correctly
9743
9744 2002-04-30  Herbert Voss  <voss@lyx.org>
9745
9746         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9747         "keep" option
9748
9749 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9750
9751         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9752           attempt to register it with a VCS)
9753
9754 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9755
9756         * lyx_main.C (init): honor variables LYX_DIR_13x and
9757         LYX_USERDIR_13x
9758
9759 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9760
9761         * buffer.h:
9762         * buffer.C:
9763         * lyx_main.C: fix a crash on bad command line,
9764           and give a useful exit status on error
9765
9766         * lyxfunc.C (doImport): allow -i lyx to work
9767
9768 2002-03-30  André Pönitz <poenitz@gmx.net>
9769
9770         * lyxfunc.C: mathed font changes
9771
9772 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9773
9774         * LaTeX.C:
9775         * importer.h:
9776         * importer.C:
9777         * lyx_sty.h:
9778         * lyx_sty.C:
9779         * lyxlex.C:
9780         * lyxrow.h:
9781         * lyxtext.h:
9782         * paragraph.h:
9783         * paragraph.C:
9784         * texrow.h:
9785         * texrow.C:
9786         * text.C:
9787         * trans_mgr.h: srcdocs, and some minor cleanups
9788
9789 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9790
9791         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9792         call getFont all the time)
9793
9794 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9795
9796         * switch from SigC signals to boost::signals
9797
9798 2002-05-29  André Pönitz <poenitz@gmx.net>
9799
9800         * paragraph_pimpl.C (getChar): don't call size() too often...
9801
9802 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9803
9804         * paragraph_pimpl.C (insertChar): do not try to update tables when
9805         appending (pos == size())
9806
9807         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9808         in order to reduce drastically the number of comparisons needed to
9809         parse a large document
9810
9811 2002-05-29  André Pönitz <poenitz@gmx.net>
9812
9813         * text.C:
9814         * text2.C:
9815         * lyxtextclass.C:
9816         * sp_pspell.h:
9817         * textclasslist.[Ch]:
9818         * sp_ispell.h: whitespace change
9819
9820 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9821
9822         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9823         lyxaction directly now.
9824
9825 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9826
9827         * trans.C:
9828         * lyxfont.C:
9829         * lyxvc.C: remove unused headers
9830
9831 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9832
9833         * Makefile.am:
9834         * buffer.h:
9835         * undostack.h:
9836         * undostack.C:
9837         * undo_funcs.h:
9838         * undo_funcs.C: some cleanups. Use shared_ptr
9839           and a template for the undo stacks.
9840
9841 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9842
9843         * BufferView_pimpl.h:
9844         * BufferView_pimpl.C:
9845         * kbmap.h:
9846         * kbmap.C:
9847         * kbsequence.h:
9848         * kbsequence.C:
9849         * lyxfunc.h:
9850         * lyxfunc.C:
9851         * text2.C: use key_state/mouse_state
9852
9853 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9854
9855         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9856         and LSubstring
9857
9858         * chset.C: change include order
9859         (loadFile): use boost regex and get rid of LRegex and LSubstring
9860
9861         * Makefile.am (BOOST_LIBS): new variable
9862         (lyx_LDADD): use it
9863
9864         * LaTeX.C: change include order.
9865         (scanAuxFile): use boost regex and get rid of LRegex and
9866         LSubstring
9867         (deplog): ditto
9868
9869 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9870
9871         * ColorHandler.h:
9872         * ColorHandler.C:
9873         * FontInfo.h:
9874         * FontInfo.C: moved to frontends/xforms/
9875
9876         * FontLoader.h:
9877         * FontLoader.C: moved into frontends for GUIIzation
9878
9879         * Makefile.am:
9880         * lyx_gui.C:
9881         * lyxfont.C:
9882         * lyxfunc.C: changes from above
9883
9884 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9885
9886         * LColor.C: remove spurious X include
9887
9888         * BufferView_pimpl.C:
9889         * Makefile.am:
9890         * font.h:
9891         * font.C:
9892         * text.C:
9893         * text2.C: move font metrics to frontends/
9894
9895 2002-05-24  Juergen Vigna  <jug@sad.it>
9896
9897         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9898         setting the undo_cursor.
9899
9900         * ParagraphParameters.h: include local includes first.
9901
9902 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9903
9904         * BufferView_pimpl.C:
9905         * BufferView_pimpl.h:
9906         * Makefile.am:
9907         * WorkArea.h:
9908         * WorkArea.C:
9909         * screen.C: move WorkArea into frontends/
9910
9911         * lyxscreen.h:
9912         * screen.C:
9913         * text.C:
9914         * BufferView.C:
9915         * BufferView2.C: move LyXScreen into frontends/
9916
9917         * lyxlookup.h:
9918         * lyxlookup.C:
9919         * lyx_gui.C: move lyxlookup into frontends/xforms/
9920
9921 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9922
9923         * BufferView2.C:
9924         * BufferView_pimpl.C:
9925         * FontLoader.C:
9926         * LyXView.h:
9927         * LyXView.C:
9928         * Makefile.am:
9929         * WorkArea.C:
9930         * XFormsView.h:
9931         * XFormsView.C:
9932         * buffer.C:
9933         * bufferlist.C:
9934         * bufferview_funcs.C:
9935         * converter.C:
9936         * importer.C:
9937         * lyx_cb.C:
9938         * lyx_gui.C:
9939         * lyx_main.C:
9940         * lyx_find.C:
9941         * lyxfunc.C:
9942         * lyxvc.C:
9943         * minibuffer.C:
9944         * text.C:
9945         * text2.C:
9946         * trans.C:
9947         * vc-backend.C: move LyX/XFormsView into frontends/
9948
9949 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9950
9951         * Makefile.am:
9952         * PainterBase.C:
9953         * PainterBase.h:
9954         * Painter.C:
9955         * Painter.h:
9956         * WorkArea.C:
9957         * WorkArea.h:
9958         * screen.C:
9959         * tabular.C:
9960         * text.C:
9961         * text2.C: move Painter to frontends/
9962
9963 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9964
9965         * buffer.C: comment out some some code that depend upon lyx_format
9966         < 220
9967
9968         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9969         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9970
9971         * buffer.h (NO_COMPABILITY): turn off compability
9972
9973         * ColorHandler.C: include scoped_array.hpp
9974
9975         * font.C: Use more specific smart_ptr header.
9976         * Painter.C: ditto
9977         * gettext.C: ditto
9978         * ShareContainer.h: ditto
9979         * lyx_main.h: ditto
9980         * kbmap.h: ditto
9981         * FontInfo.h: ditto
9982         * BufferView_pimpl.h: ditto
9983         * ColorHandler.h: ditto
9984
9985         * kbmap.C (defkey): change call to shared_ptr::reset
9986
9987 2002-05-21  Juergen Vigna  <jug@sad.it>
9988
9989         * buffer.C (insertErtContents): fix to insert ert asis if it is
9990         non empty. Skip it completely if it contains only whitespaces.
9991
9992 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9993
9994         * BufferView_pimpl.C:
9995         * BufferView2.C: clear selection on paste (bug 393)
9996
9997 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9998
9999         * DepTable.C: include ctime
10000
10001 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10002
10003         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10004
10005 2002-05-14  Juergen Vigna  <jug@sad.it>
10006
10007         * text.C (breakParagraph): fixed function to honor the keepempty
10008         layout in the right maner and also to permit the right breaking
10009         algorithm on empty or non empyt keepempty paragraphs.
10010
10011         * paragraph.C (breakParagraph): we have to check also if the par
10012         is really empty (!size()) for isempty otherwise we do the wrong
10013         paragraph break.
10014
10015 2002-05-10  Juergen Vigna  <jug@sad.it>
10016
10017         * buffer.[Ch] : The following are only changes to the ert
10018         compatibility read reading old LaTeX layout and font stuff and
10019         convert it to ERTInsets.
10020
10021         * buffer.h: added isErtInset().
10022
10023         * buffer.C (struct ErtComp): add a fromlayout bool to check
10024         if we're inside a LaTeX layout.
10025         (isErtInset): new helper function.
10026         (insertErtContents): look for other ert insets before this one
10027         and insert the contents there, so that we don't have subsequent
10028         ERT insets with nothing between them. This way we create only one
10029         inset with multiple paragraphs. Also check if we don't insert only
10030         spaces ' ' as they are ignored anyway afterwards in the .tex file
10031         so if we have only spaces we will ignore this latex part in the
10032         new file.
10033         (parseSingleLyXformat2Token \\layout): better compatibility when
10034         reading layout-latex stuff.
10035         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10036         language tag.
10037         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10038         stuff after reading the inset only get the information back from
10039         the stack.
10040
10041 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10042
10043         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10044
10045         * LaTeXFeatures.C (getBabelOptions): New method.
10046
10047 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10048
10049         * BufferView_pimpl.C (Dispatch): work around missing argument for
10050         'layout'
10051
10052 2002-05-08  Juergen Vigna  <jug@sad.it>
10053
10054         * text.C (leftMargin): handle paragraph leftindent.
10055
10056         * paragraph.C (writeFile): write the new \\leftindent tag.
10057         (validate): handle leftindent code.
10058         (TeXEnvironment): handle paragraphleftindent code again.
10059
10060         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10061
10062         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10063         for paragrap_extra indent code and new token \\leftindent.
10064         (latexParagraphs): handle the leftindent as environment.
10065
10066         * ParameterStruct.h: added leftindent support.
10067
10068         * ParagraphParameters.C (leftIndent): added support functions for
10069         the paragraph left indent.
10070
10071         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10072         more appropriate.
10073
10074 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10075
10076         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10077         inside insetERT.
10078
10079         * text.C (computeBidiTables): No bidi in insetERT.
10080
10081         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10082         in RTL documents.
10083
10084 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10085
10086         * version.C.in: pre 5
10087
10088 2002-05-02  José Matos  <jamatos@fep.up.pt>
10089         * buffer.C (makeDocBookFile): white space changes, add newline to
10090         command styles.
10091         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10092
10093         * tabular.C (docBook): fix typo.
10094
10095 2002-05-03  Juergen Vigna  <jug@sad.it>
10096
10097         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10098         change in LyXText as we can not be sure it was not freed.
10099         (drawOneRow): remove unused code.
10100
10101         * text.C (drawInset): redo the calculation of the need_break_row as
10102         it could have a row which was already freed.
10103         (draw): look at the return value of drawInset and return false if
10104         it also returned false.
10105         (paintRowText): look at the return value of draw and return false if
10106         it also returned false.
10107
10108         * lyxtext.h: added bool return type to drawInset() and draw() so that
10109         if we have a change in the row so that the rowbreak has to be redone
10110         we abort drawing as it will be called again.
10111
10112 2002-05-02  Juergen Vigna  <jug@sad.it>
10113
10114         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10115         a change in the maintext also if we're inside an inset.
10116         (Dispatch): set the cursor again after a break line and after the
10117         screen has been updated as it could be we're in a different row.
10118
10119         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10120         to set the cursor behind the pargraph with > size().
10121         (setCursor): check also for the same paragraph when checking where
10122         to put the cursor if we have a NFR inset.
10123
10124         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10125         parts of layout read further up as it still was in the wrong
10126         position.
10127
10128 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10129
10130         * screen.C (drawFromTo): change sine fullRebreak always return
10131         true.
10132
10133         * buffer.C (parseSingleLyXformat2Token): reindent some
10134
10135         * BufferView_pimpl.C (update): change since fullRebreak always
10136         return true.
10137         (Dispatch): git rid of the last hardcoded "Standard"s.
10138
10139 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10140
10141         * text2.[Ch] (fullRebreak): make it return void now that we always
10142         returned true.
10143
10144 2002-04-30  Juergen Vigna  <jug@sad.it>
10145
10146         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10147         ert compatibility check for "latex" layout.
10148
10149 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10150
10151         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10152         minipages: use col% instead of p%, and also use the current font.
10153         (makeLaTeXFile): Fix use babel condition.
10154         (parseSingleLyXformat2Token): Correct font when reading old floats.
10155
10156 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10157
10158         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10159         inserting list of floats.
10160
10161 2002-04-25  Herbert Voss  <voss@lyx.org>
10162
10163         * MenuBackend.C (expand): don't add the graphics extensions to the
10164         export menu
10165
10166 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10167
10168         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10169         non-existing layout, do not complain if it was the default layout
10170         of the original class (bug #342)
10171
10172 2002-04-24  Juergen Vigna  <jug@sad.it>
10173
10174         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10175         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10176
10177 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10178
10179         * buffer.C (getBibkeyList): If using \bibliography, return the
10180         option field with the reference itself. Enables us to provide natbib
10181         support when using \bibliography.
10182
10183 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10184
10185         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10186
10187         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10188         natbib is provided by the LaTeX class.
10189
10190 2002-04-23  Juergen Vigna  <jug@sad.it>
10191
10192         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10193         Wakeup functions.
10194
10195         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10196
10197 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10198
10199         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10200
10201         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10202         ensuremath around textordmasculine, textordfeminine and
10203         textdegree.
10204
10205 2002-04-19  Juergen Vigna  <jug@sad.it>
10206
10207         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10208         reinitializing the buffer otherwise row-dimensions may be wrong.
10209         (update): reset also the selection cursors if they do exits otherwise
10210         their x/y positions may be wrong.
10211
10212         * text2.C (cursorDown): don't enter the inset if we came from a row
10213         above and are one row over the inset.
10214
10215         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10216         really leaving an inset.
10217
10218 2002-04-18  Juergen Vigna  <jug@sad.it>
10219
10220         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10221         of the selected paragraph does not have the selected layout also if
10222         the last one had!
10223
10224         * text2.C (setLayout): fixed bug which did not change last selected
10225         paragraph.
10226
10227         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10228         changed the read and substituted \\end_float with \\end_inset!
10229
10230         * BufferView_pimpl.C (cursorPrevious):
10231         (cursorNext): fixed to make it work with rows heigher than the work
10232         area without moving the cursor only the draw of the row.
10233         (workAreaMotionNotify): fix jumping over high rows.
10234
10235 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10236
10237         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10238         Ressler.
10239
10240 2002-04-16  Juergen Vigna  <jug@sad.it>
10241
10242         * text2.C (setCursor): set also the irow().
10243         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10244         (cursorUp):
10245         (cursorDown): support for locking an inset if the x_fix value goes
10246         inside it. That way I can transverse insets too with cursor up/down.
10247
10248         * lyxrow.h: added irow helper function same as other (i) functions.
10249
10250         * BufferView_pimpl.C (cursorPrevious):
10251         (cursorNext): fixed for insets!
10252
10253 2002-04-15  Juergen Vigna  <jug@sad.it>
10254
10255         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10256         position otherwise it is wrong in some cases.
10257
10258         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10259         inside the inset before the call.
10260
10261 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10262
10263         * buffer.[Ch] (getBibkeyList): make it const.
10264
10265 2002-04-12  Juergen Vigna  <jug@sad.it>
10266
10267         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10268
10269         * text2.C (getCursorX): new helper function
10270         (setCursor): compute also ix_
10271         (setCursorFromCoordinates): set also ix.
10272
10273         * lyxcursor.h: added ix_ and helper functions.
10274
10275         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10276
10277         * buffer.C (insertStringAsLines): dont break paragraph if the this
10278         paragraph is inside an inset which does not permit it!
10279
10280         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10281         also with no chars on this paragraph.
10282         (paintRowText): only paint stuff if it's inside the workarea!
10283
10284         * paragraph.C (breakParagraph): honor keepempty flag and break the
10285         paragraph always below not above.
10286
10287         * BufferView2.C (unlockInset): update the paragraph layout on inset
10288         unlock as we changed paragraph in such a case.
10289
10290         * lyxfind.C (LyXFind): clear the former selection if not found!
10291
10292         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10293         again called in insertChar().
10294
10295         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10296         an inset which uses the whole row!
10297         (rightMargin): ditto.
10298         (insertChar): force a rebreak if we inserted an inset!
10299
10300 2002-03-28  Herbert Voss  <voss@lyx.org>
10301
10302         * lyxlength.[Ch]: add inBP() to get the right PS-point
10303         units (BigPoint). With inPixels we have rounding errors
10304
10305 2002-04-11  Juergen Vigna  <jug@sad.it>
10306
10307         * text2.C (setCursorFromCoordinates): set iy to the right value.
10308         (setCursor): add check if row->previous exists!
10309
10310         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10311         an old float_type as this was the case in the old code!
10312
10313         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10314
10315         * BufferView2.C (showLockedInsetCursor): use iy
10316         (fitLockedInsetCursor): ditto
10317
10318         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10319         locked insets as there we have the right value now.
10320
10321         * lyxcursor.C: added iy_ variable and iy functions to set to the
10322         baseline of cursor-y of the locked inset.
10323
10324         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10325         (setCursor): fixed for insets which need a full row.
10326
10327         * text.C (rowLastPrintable): don't ignore the last space when before
10328         an inset which needs a full row.
10329         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10330         as last character of a row when before a inset which needs a full row.
10331
10332 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10333
10334         * version.C.in: update date
10335
10336         * text2.C (fullRebreak): try to always return true and see what
10337         happens...
10338
10339 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10340
10341         * MenuBackend.C (expand): use Floating::listName
10342
10343         * FloatList.C (FloatList): add listName argument to the built-in
10344         floats
10345
10346         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10347         text associated with the float.
10348
10349 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10350
10351         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10352
10353 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10354
10355         * ShareContainer.h: add a couple of missing typenames.
10356
10357 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10358
10359         * lyxrc.C (getDescription): use _() correctly rather than N_().
10360
10361 2002-03-28  Herbert Voss  <voss@lyx.org>
10362
10363         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10364         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10365
10366 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10367
10368         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10369         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10370
10371 2002-03-29  Juergen Vigna  <jug@sad.it>
10372
10373         * lyxfunc.C (dispatch): add a missing fitCursor call.
10374
10375         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10376         it was scrolled by a cursor move, so return the bool status.
10377
10378         * BufferView.C (fitCursor): return the bool flag also to the outside
10379         world as this is needed.
10380
10381         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10382
10383         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10384         call the edit() as it is not needed (and wrong) IMO.
10385         (workAreaButtonPress): set the screen_first variable before evt.
10386         unlock the inset as this may change screen_first and then we have
10387         a wrong y position for the click!
10388
10389 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10390
10391         * MenuBackend.C (expand): another translation that I missed
10392
10393 2002-03-28  Juergen Vigna  <jug@sad.it>
10394
10395         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10396
10397         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10398
10399 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10400
10401         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10402
10403         * MenuBackend.C (expand): fix export/view/update when there is no
10404         document open.
10405
10406 2002-03-27  Herbert Voss  <voss@lyx.org>
10407
10408         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10409         and text%
10410
10411 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10412
10413         * bufferview_funcs.C (currentState): only show paragraph number
10414         for is DEVEL_VERSION is set.
10415
10416         * lyxfunc.C (dispatch): put warning in INFO channel
10417
10418         * MenuBackend.C (expand): translate the name of floats
10419
10420         * FloatList.C (FloatList): mark the float names for translation
10421
10422         * converter.C (convert): use LibScriptSearch
10423
10424 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10425
10426         * MenuBackend.C (defaults): fix default menu (we might as well get
10427         rid of it...)
10428
10429 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10430
10431         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10432         directory.
10433
10434 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10435
10436         * lyxvc.C: reorder includes.
10437
10438 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10439
10440         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10441           properly
10442
10443 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10444
10445         * CutAndPaste.C: change layouts earlier on paste
10446           to avoid crashing when calling getFont()
10447
10448 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10449
10450         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10451         irritating #error.
10452
10453 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10454
10455         * WorkArea.C: remove 'Pending' debug message.
10456
10457         * most files: ws cleanup
10458
10459         * buffer.[Ch]: ws changes
10460
10461         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10462
10463 2002-03-21  Juergen Vigna  <jug@sad.it>
10464
10465         * tabular.C (SetMultiColumn): collapse also the contents of the
10466         cells and set the last border right. Added a Buffer const * param.
10467
10468 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10469
10470         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10471         linking or not.
10472
10473 2002-03-19  Juergen Vigna  <jug@sad.it>
10474
10475         * text2.C (clearSelection): reset also xsel_cache.
10476
10477         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10478         where it needs to be called (John tells us to do so too :)
10479         (selectionLost): reset sel_cache.
10480
10481         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10482
10483 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10484
10485         * text2.C (setCursorIntern): put debuging code in INSETS channel
10486
10487 2002-03-19  André Pönitz <poenitz@gmx.net>
10488
10489         * lyxfunc.C: tiny whitespace change
10490
10491 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10492
10493         * ToolbarDefaults.C (init):
10494         * LyXAction.C (init):
10495         * commandtags.h:
10496         * BufferView_pimpl.C (Dispatch):
10497         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10498
10499 2002-03-19  Allan Rae  <rae@lyx.org>
10500
10501         * exporter.C (Export): removeAutoInsets before doing anything else.
10502         While I've just introduced a dependency on BufferView this really is
10503         the best place to clean the buffer otherwise you need to cleanup in
10504         a dozen places before calling export or cleanup in a dozen functions
10505         that export calls.
10506
10507         * converter.C (runLaTeX):
10508         (scanLog): Better handling of removeAutoInsets and screen updates.
10509
10510         * lyxfunc.C (dispatch): small whitespace changes
10511
10512 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10513
10514         * WorkArea.C (C_WorkAreaEvent): return a value.
10515         (event_cb): return 1 if we handled the event, 0 otherwise.
10516
10517         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10518
10519 2002-03-18  Juergen Vigna  <jug@sad.it>
10520
10521         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10522         (GetAdditionalWidth): ditto.
10523         (RightLine): ditto.
10524         (LeftLine): ditto.
10525
10526         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10527         inset if we're there actually (probably not used right now but this
10528         is the direction to go for unifying code).
10529         (paste): disable code to clear the selection.
10530
10531         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10532         inside an InsetText and move the check further up as it is in the
10533         wrong place.
10534
10535         * text2.C (pasteSelection): set a selection over the pasted text.
10536
10537 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10538
10539         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10540         and libgraphics to build on Cygwin.
10541
10542 2002-03-15  Juergen Vigna  <jug@sad.it>
10543
10544         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10545         inserting an Inset into the paragraph. I know this is not the best
10546         fix but we already use current_view in CutAndPaste so we will remove
10547         all of it's using at the same time.
10548
10549         * buffer.C (sgmlError): deactivated function till it is rewritten in
10550         the right mode, now it can create problems.
10551
10552         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10553         before accessing it.
10554
10555 2002-03-14  Juergen Vigna  <jug@sad.it>
10556
10557         * undo_funcs.C (textHandleUndo): do the right thing when updating
10558         the inset after the undo/redo.
10559
10560         * text2.C (setCursor): just some testcode for #44 not ready yet.
10561
10562         * undo_funcs.C (textHandleUndo): set the next() and previous()
10563         pointers of the paragraph to 0 before deleting otherwise we have
10564         problems with the Paragraph::[destructor].
10565
10566         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10567         on a paragraph insertion.
10568
10569 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10570
10571         * buffer.C (asciiParagraph): use += operator for char append to
10572         string.
10573
10574         * paragraph.C (getFontSettings): compare >= not just >
10575         (highestFontInRange): ditto
10576         (setFont): ditto
10577
10578 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10579
10580         * paragraph.C: change several algorithm to be more appripriate for
10581         the problem domain. This is lookip in FontList and in the InsetList.
10582
10583 2002-03-13  André Pönitz <poenitz@gmx.net>
10584
10585         * commandtags.h:
10586         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10587
10588 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10589
10590         * commandtags.h:
10591         * LyXAction.C:
10592         * lyxfunc.C:
10593         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10594
10595 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10596
10597         * Painter.C (display): anon helper function, adjust code for this
10598         change.
10599         (pixmap): remove function.
10600
10601         * Painter.h: remove private display variable.
10602
10603         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10604
10605 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10606
10607         * WorkArea.[Ch]: remove figinset_canvas cruft.
10608
10609 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10610
10611         * lyxtextclass.C (operator): add one item cache optimization.
10612
10613         * bufferlist.h: doxy changes
10614
10615         * bufferlist.C: ws changes
10616
10617         * DepTable.[Ch] (ext_exist): place const in the right spot.
10618
10619         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10620         call resizeInsets.
10621         (workAreaExpose): call resizeInsets when the with BufferView changes.
10622         (Dispatch): adjust for protectedBlank removal
10623         (specialChar): call updateInset if the insert went ok.
10624
10625         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10626         specialChar instead.
10627
10628         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10629
10630         * BufferView.h: doxy change
10631
10632         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10633
10634         * lyxtextclass.C (operator[]): remove non-const version
10635         (defaultLayout): remove non-const version
10636
10637 2002-03-12  Juergen Vigna  <jug@sad.it>
10638
10639         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10640         did resize the LyXText too.
10641
10642         * buffer.C (readLyXformat2): set layout information on newly allocated
10643         paragraphs.
10644
10645         * tabular.C (OldFormatRead): set layout information on the paragraph.
10646
10647 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10648
10649         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10650
10651 2002-03-11  Juergen Vigna  <jug@sad.it>
10652
10653         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10654         plainly wrong.
10655         (resizeCurrentBuffer): force also the insets to resize themselfes.
10656         (moveCursorUpdate): fixed up for InsetText.
10657
10658 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10659
10660         * commandtags.h:
10661         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10662         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10663         value of Dialogs::tooltipsEnabled().
10664         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10665
10666 2002-03-08  Juergen Vigna  <jug@sad.it>
10667
10668         * BufferView_pimpl.C (updateInset): update inset inside inset also
10669         if it isn't inside theLockingInset().
10670
10671 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10672
10673         * buffer.C (asciiParagraph): redo some of the word and line length
10674         handling.
10675         (getLists): look for Caption instead of caption.
10676
10677 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10678
10679         * buffer.C (Buffer): initialize niceFile to true
10680         (makeLaTeXFile):
10681         (makeLinuxDocFile):
10682         (makeDocBookFile): make sure niceFile is true on exit
10683
10684 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10685
10686         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10687
10688 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10689
10690         * LyXSendto.C: remove.
10691         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10692         * lyx_gui.C: remove now-redundant comment.
10693         * ColorHandler.h: remove forward declaration of class WorkArea.
10694         * lyxfunc.C: remove #include "WorkArea.h".
10695
10696 2002-03-07  Juergen Vigna  <jug@sad.it>
10697
10698         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10699         got moved away with the DEPM and also set the inset_owner always
10700         right which before could have been omitted.
10701
10702 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10703
10704         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10705         wanted layout is not found.
10706
10707 2002-03-07  Juergen Vigna  <jug@sad.it>
10708
10709         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10710
10711 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10712
10713         * paragraph.C (breakParagraph): use default layout not layout of
10714         prev paragraph.
10715         (Paragraph): clear ParagraphParameters.
10716
10717 2002-03-06  Juergen Vigna  <jug@sad.it>
10718
10719         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10720         otherwise it would not be a valid lenght. Fixed a special case in
10721         the minipage compatibility read where we end the document with a
10722         minipage.
10723
10724         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10725         was set as it could be 0 for InsetTexts first entry.
10726
10727 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10728
10729         * paragraph.C (writeFile): if layout is empty write out
10730         defaultLayoutName().
10731
10732         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10733         file without named layout we set layout to defaultLayoutName().
10734
10735 2002-03-06  Juergen Vigna  <jug@sad.it>
10736
10737         * CutAndPaste.C (copySelection): set layout for new paragraph.
10738
10739         * text.C (prepareToPrint): leave ERT inset left aligned
10740         (leftMargin): don't indent paragraphs inside ERT insets
10741
10742 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10743
10744         * paragraph.C (breakParagraph): dont call clear do the work manually
10745
10746         * paragraph.[Ch] (clear): remove function
10747
10748 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10749
10750         * paragraph.C (Paragraph): dont call clear, the work has already
10751         been done.
10752
10753         * lyxtextclass.C (operator): assert if n is empty
10754
10755         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10756         work manually instead.
10757
10758 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10759
10760         * BufferView_pimpl.C: protect selectionLost against text == 0
10761
10762 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10763
10764         * text.C (breakParagraph): fix a setting layout to '0' problem.
10765
10766 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10767
10768         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10769         final location of file, for the included files, and graphics.
10770
10771 2002-03-05  Juergen Vigna  <jug@sad.it>
10772
10773         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10774
10775 2002-03-04  Juergen Vigna  <jug@sad.it>
10776
10777         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10778
10779         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10780         last column of multicolumn cells.
10781         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10782
10783 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10784
10785         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10786         file if it doesn't go to a temporary file.
10787
10788         * buffer.C (sgmlOpenTag):
10789         (sgmlCloseTag):  remove extra newline insertion.
10790
10791 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10792
10793         * text.C (getRowNearY): comment out debug msg
10794
10795 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10796
10797         * text2.C: first -> first_y
10798
10799         * text.C (getRowNearY): add some attemts at a possible
10800         optimization, not working.
10801
10802         * tabular.[Ch]: add BufferParams to several function so that newly
10803         created paragraph can be initialized to he default layotu for the
10804         buffers textclass.
10805
10806         * tabular-old.C (ReadOld): add buf->params to call of Init
10807
10808         * screen.C: rename text->first to text->first_y
10809
10810         * paragraph.C (breakParagraph): always set layout in the broken
10811         paragraph
10812
10813         * lyxtextclass.C (Read): remove lowercase
10814         (hasLayout): ditto
10815         (operator): ditto
10816         (delete_layout): ditto
10817
10818         * lyxtext.h: rename first -> first_y
10819
10820         * lyxlayout.C (Read): remove lowercase
10821         (name): ditto
10822         (setName): ditto
10823         (obsoleted_by): ditto
10824
10825         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10826
10827         * buffer.C (insertErtContents): add params are to InsetERT
10828         (parseSingleLyXformat2Token): add code to check if a paragraphs
10829         layout really exist.
10830         (parseSingleLyXformat2Token): add params to several inset
10831         constructors
10832         (asciiParagraph): remove lowercase, do the layout comparisons with
10833         no_case
10834
10835         * BufferView_pimpl.C (cursorNext): first -> first_y
10836         (resizeCurrentBuffer): first -> first_y
10837         (updateScrollbar): first -> first_y
10838         (scrollCB): first -> first_y
10839         (workAreaMotionNotify): first -> first_y
10840         (workAreaButtonPress): first -> first_y
10841         (checkInsetHit): first -> first_y
10842         (cursorPrevious): first -> first_y
10843         (cursorNext): first -> first_y
10844         (Dispatch): add buffer_->params to severl inset contructors
10845
10846 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10847
10848         * lyxlayout.C (Read): remove some debug info that I forgot.
10849
10850         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10851         clean up the code slightly.
10852         (makeLinuxDocFile): ditto
10853         (makeDocBookFile): ditto
10854
10855         * text2.C: layout as string
10856
10857         * text.C: layout as string
10858
10859         * paragraph_pimpl.C: layout as string
10860
10861         * paragraph.[Ch]: layout as string
10862
10863         * lyxtextclasslist.[Ch]: layout as string
10864
10865         * lyxtextclass.[Ch]: layout as string
10866
10867         * lyxtext.h: layout as string
10868
10869         * lyxlayout.[Ch]: layout as string
10870
10871         * lyx_cb.C: layout as string
10872
10873         * bufferview_funcs.C: layout as string
10874
10875         * bufferparams.C: layout as string
10876
10877         * buffer.C: layout as string
10878
10879         * LyXView.[Ch]: layout as string
10880
10881         * LaTeXFeatures.[Ch]: layout as string
10882
10883         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10884
10885         * BufferView_pimpl.C: change current_layout to string, remove
10886         lyx::layout_type.
10887         (Dispatch):
10888         (smartQuote):
10889         (insertInset):
10890         (workAreaButtonRelease): layout as string
10891
10892         * BufferView2.C (unlockInset): adjust
10893
10894         * vspace.C (asLatexCommand): use an explict temp variable.
10895
10896 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10897
10898         * Makefile.am: use FRONTEND_*
10899
10900 2002-03-01  Juergen Vigna  <jug@sad.it>
10901
10902         * tabular.C (SetWidthOfMulticolCell): changed to something better
10903         I hope but still work in progress.
10904         (recalculateMulticolumnsOfColumn): renamed function from
10905         recalculateMulticolCells as it is more appropriate now.
10906         (SetWidthOfCell): calculate multicols better.
10907
10908 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10909
10910         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10911
10912         * lyxfunc.C (processKeySym): print sequence also if it is
10913         `deleted' (complete)
10914
10915         * kbsequence.C (print): print sequence even if it is deleted
10916         (complete would be a better word, actually).
10917
10918         * lyxfunc.C (dispatch): print complete options after a prefix key
10919
10920         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10921
10922 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10923
10924         * text2.C (setCharFont): eliminate setCharFont code duplication.
10925
10926 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10927
10928         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10929         LFUN_TABULAR_FEATURE (bug #177)
10930
10931 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10932
10933         * Makefile.am: remove figure.h
10934
10935 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10936
10937         * Bufferview_pimpl.C:
10938         * CutAndPasteC:
10939         * LaTeX.C:
10940         * LyXSendto.C:
10941         * buffer.C:
10942         * bufferlist.C:
10943         * converter.C:
10944         * language.C:
10945         * lyxfunc.C:
10946         * lyxvc.C:
10947         * paragraph.C:
10948         * text.C:
10949         * text2.C: remove #include "lyx_gui_misc.h".
10950
10951         * LaTeX.C: added #include <cstdio>
10952
10953 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10954
10955         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10956         that the paragraph following this one can have.
10957
10958         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10959
10960         * vspace.C (asLatexCommand): fix bogus gcc warning
10961
10962         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10963
10964 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10965
10966         * text2.C (setLayout): get rid of redundant code
10967
10968 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10969
10970         * text2.C (incDepth): make sure depth cannot be increased beyond
10971         reasonable values.
10972
10973 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10974
10975         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10976         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10977
10978         * PainterBase.h (image):
10979         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10980         a LyXImage const *.
10981
10982 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10983
10984         * BufferView.C:
10985         * BufferView.h:
10986         * BufferView_pimpl.C:
10987         * BufferView_pimpl.h:
10988         * LaTeXFeatures.C:
10989         * LyXAction.C:
10990         * LyXView.C:
10991         * Makefile.am:
10992         * UpdateList.h:
10993         * UpdateList.C:
10994         * buffer.C:
10995         * figure.h:
10996         * figureForm.C:
10997         * figureForm.h:
10998         * figure_form.C:
10999         * figure_form.h:
11000         * lyx_cb.C:
11001         * lyx_gui.C:
11002         * lyx_gui_misc.C:
11003         * lyxfunc.C:
11004         * sp_base.h:
11005         * sp_ispell.h:
11006         * sp_pspell.h:
11007         * sp_spell.C: remove fig inset, and the crap house of
11008           cards that follows it
11009
11010 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11011
11012         * Makefile.am:
11013         * lyxserver.C:
11014         * os2_defines.h:
11015         * os2_errortable.h:
11016         * nt_defines.h: move .h into support/
11017
11018         * vms_defines.h: remove
11019
11020         * WorkArea.C: add space in debug output
11021
11022         * text2.C:
11023         * paragraph.C:
11024         * buffer.C: add WITH_WARNINGS
11025
11026         * vc-backend.h:
11027         * vc-backend.C:
11028         * bufferlist.C: s/retrive/retrieve/, add docs
11029
11030         * vspace.h:
11031         * vspace.C:
11032         * kbmap.h:
11033         * lyxlength.h:
11034         * lyxgluelength.h:
11035         * length_common.h:
11036         * chset.h:
11037         * chset.C: add docs
11038
11039         * lyxgui.C: add ID to X error handler
11040
11041         * lyxtestclass.c: fix typo
11042
11043 2002-02-26  Juergen Vigna  <jug@sad.it>
11044
11045         * tabular_funcs.C (write_attribute): changed so that some default
11046         attributes are not written at all.
11047         (getTokenValue): set default values before trying to read the
11048         value so we have the return value always set as default if we don't
11049         find the token we search for.
11050
11051         * tabular.C (Write): write bools as bools not as strings!
11052
11053 2002-02-22  Juergen Vigna  <jug@sad.it>
11054
11055         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11056         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11057
11058         * text.C (leftMargin): don't add an indent for paragraphs inside
11059         tabular cells (fix #208).
11060
11061 2002-02-21  José Matos  <jamatos@fep.up.pt>
11062
11063         * tabular.C (docBook): fixed support for long tables.
11064
11065 2002-02-20  Juergen Vigna  <jug@sad.it>
11066
11067         * text2.C (getFont): get the drawing font of the Inset if this
11068         paragraph is inside an inset (only important for InsetERT for now).
11069
11070         * buffer.C (insertErtContents): use new lanugage params in ERT
11071         constructor.
11072
11073         * CutAndPaste.C: commenting out seemingly uneeded code.
11074
11075 2002-02-19  Allan Rae  <rae@lyx.org>
11076
11077         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11078         Iterators might be simple to use but they also get invalidated.
11079         (removeAutoInsets): renamed saved cursor tracking variables and added
11080         some comments to clarify what everything does.
11081
11082 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11083
11084         * Chktex.C:
11085         * LaTeX.C:
11086         * LyXSendto.C:
11087         * converter.C:
11088         * lyx_cb.C:
11089         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11090         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11091
11092         * lyxfunc.C:
11093         * vc-backend.h: remove #include "support/syscall.h"
11094
11095         * LaTeX.C:
11096         * LyXSendto.C:
11097         * converter.C: rearrange #includes in Lars' approved fashion.
11098
11099         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11100         forward declare class Timeout in the header file.
11101
11102         * XFormsView.C: changes due to the above.
11103
11104         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11105         similar to LyXView.
11106
11107         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11108         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11109
11110 2002-02-18  José Matos  <jamatos@fep.up.pt>
11111
11112         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11113         insets contents.
11114
11115 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11116
11117         * a lot of small ws changes
11118         * add a lot of using std::XXX
11119         * use std construcs some places where approp.
11120         * use some exisint stuff from lyxfunctional where approp.
11121         * Make file changes to use partial linking (lets test this now...)
11122
11123 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11124
11125         * Chktex.C:
11126         * buffer.C:
11127         remove #include "support/syscontr.h" as it's redundant. Always has been.
11128
11129         * Chktex.C:
11130         * LaTeX.C:
11131         * LyXSendto.C:
11132         * converter.C:
11133         * lyx_cb.C:
11134         * vc-backend.C:
11135         change Systemcalls::System to Systemcalls::Wait and
11136         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11137         No change of functionality, just reflects the stripped down Systemcalls
11138         class.
11139
11140 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11141
11142         * debug.[Ch]: add a GRAPHICS type to the enum.
11143
11144 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11145
11146         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11147
11148         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11149         there is an inset.
11150
11151 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11152
11153         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11154         match the changes below.
11155
11156         * text2.C (toggleInset): if there is not editable inset at cursor
11157         position, try to see if cursor is _inside_ a collapsable inset
11158         and close it.
11159
11160 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11161
11162         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11163         document menu has a nice checkbox
11164
11165 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11166
11167         * lyxlength.C (asLatexString): change PW to output as percent of
11168         \textwidth.
11169
11170         * lengthcommon.C: change '%' to 't%'
11171
11172         * lyxfunc.C (dispatch): a few comments from Martin
11173
11174 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11175
11176         * WorkArea.h:
11177         * WorkArea.C:
11178         * BufferView_pimpl.h:
11179         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11180           the X selection.
11181
11182 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11183
11184         * vspace.C (inPixels): fix compiler warning
11185
11186 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11187
11188         * lyxfunc.C (getStatus): fix status message for disabled commands.
11189
11190 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11191
11192         * BufferView_pimpl.C: fix crash on close buffer
11193         during selection (#227)
11194
11195 2002-01-27  Herbert Voss  <voss@lyx.org>
11196
11197         * buffer.C: link old Figure to new graphic inset
11198
11199 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11200
11201         * FontLoader.C (getFontinfo): Change the latex font names in order
11202         to match the names of type1inst.
11203
11204 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11205
11206         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11207
11208         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11209         (extchanged): ditto
11210         (ext_exist): ditto
11211         (remove_files_with_extension): ditto
11212         (remove_file): ditto
11213         (write): ditto
11214
11215         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11216         document is smaller than the work area height. Do not initialize
11217         static variables to 0.
11218
11219 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11220
11221         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11222
11223         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11224         LFUN_LAYOUT_PARAGRAPHS.
11225
11226         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11227         tabular. It is possible to provide a possible cell, which will
11228         typically be the actcell from the corresponding insettabular
11229
11230         * lyxfunc.C (getStatus): small cleanup; disable
11231         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11232         true
11233
11234 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11235
11236         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11237
11238         * paragraph.C (startTeXParParams):
11239         (endTeXParParams): new methods. The LaTeX code to
11240         start/end paragraph formatting
11241         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11242         empty (fixes bug #200)
11243
11244         * vspace.C (inPixels): adapt to the change below
11245         (inPixels): [later] more cleanups (remove unused variables)
11246
11247         * lyxlength.C (inPixels): change to use a width and a height as
11248         parameter.
11249
11250 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11251
11252         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11253         Replaced with \paperwidth
11254
11255         * DepTable.C (insert): add std:: qualifier
11256
11257 2002-01-18  Allan Rae  <rae@lyx.org>
11258
11259         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11260         updated also?
11261
11262         * text.C (drawInset): Turned out I didn't know enough about how
11263         rebreaking worked.  This fixes most of the redraw problems.  I see
11264         an occasional cursor trail when a line is broken now and the cursor
11265         placement can seem out by a few pixels also after a rebreak.
11266
11267 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11268
11269         * buffer.C (parseSingleLyXformat2Token): update because minipage
11270         width is now a LyXLength
11271
11272         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11273
11274         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11275         math insets
11276
11277 2002-01-17  Juergen Vigna  <jug@sad.it>
11278
11279         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11280
11281         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11282         is set correctly and the inset is updated correctly.
11283
11284 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11285
11286         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11287         the beginning of the loop.
11288
11289 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11290
11291         * lyxrc.C: improve help for use_scalable_fonts
11292
11293 2002-01-17  Allan Rae  <rae@lyx.org>
11294
11295         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11296
11297 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11298
11299         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11300         make sure to set their inset_owner to the right value (bug #171)
11301
11302 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11303
11304         * DepTable.h
11305         * DepTable.C: Implement mtime checking to reduce time spent doing
11306         CRCs.
11307
11308 2002-01-16  Juergen Vigna  <jug@sad.it>
11309
11310         * tabular.C (GetAdditionalHeight): one of error fixed.
11311
11312         * lyxrc.C (output): small fix in writing use_pspell.
11313
11314 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11315
11316         * sp_base.h: #include LString.h
11317
11318 2002-01-16  Allan Rae  <rae@lyx.org>
11319
11320         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11321         Can someone check this please?
11322
11323         * text.C (drawInset): It was possible that p.row would be removed by
11324         breakAgainOneRow upsetting a few other settings.  There may be another
11325         small tweak possible by setting need_break_row = 0 when p.row has been
11326         removed but I don't know enough about the logic here.
11327
11328 2002-01-15  Allan Rae  <rae@lyx.org>
11329
11330         * text.C (insertChar): removed conditional truism.
11331
11332         * BufferView2.C (removeAutoInsets): More tweaks.
11333         cur_par_prev could be a stray pointer.  Check for trailing empty line
11334         in case last line was cur_par and only had an error inset on it.
11335
11336 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11337
11338         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11339         absolute
11340
11341         * vc-backend.C (most methods):
11342         * exporter.C (Export):
11343         * converter.C (convert):
11344         (runLaTeX):
11345         * LyXSendto.C (SendtoApplyCB):
11346         * lyxfunc.C (dispatch):
11347         (menuNew):
11348         (open):
11349         (doImport):
11350         * lyx_cb.C (AutoSave):
11351         (InsertAsciiFile):
11352         * BufferView_pimpl.C (MenuInsertLyXFile):
11353         * buffer.C (runChktex): use Buffer::filePath().
11354
11355         * buffer.h: rename filename to filename_; rename filepath to
11356         filepath_ and make it private
11357         (filePath): new method
11358
11359         * buffer.C (writeFile): use fileName()
11360         (getLatexName):
11361
11362         * lyx_main.C (init): fix starting  of LyX when the binary is a
11363         link from so,ewhere else.
11364
11365         * minibuffer.C: include <cctype> for isprint
11366
11367 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11368
11369         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11370         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11371         name clash with InsetCollapsable's width function.
11372
11373 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11374
11375         * lastfiles.C: include <iterator>
11376
11377 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11378
11379         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11380         std::count.
11381
11382         * buffer.C (makeLaTeXFile): ditto.
11383         Also make loop operation more transparent.
11384
11385 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11386
11387         * ToolbarDefaults.C: remove trailing comma closing namespace.
11388
11389         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11390
11391         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11392         as in WorkArea.
11393
11394         * trans.C (Load): comment out unused variable, allowed.
11395
11396 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11397
11398         * minibuffer.[Ch] (append_char): new method to recieve input from the
11399         drop-down completion browser. If a key was pressed, then recieve this
11400         char and append it to the existing string.
11401         (peek_event): modify the positioning data passed to the completion
11402         browser so that it can be placed above the minibuffer rather than below.
11403 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11404
11405         * LyXAction.C (init): alloe error-next for readonly documents.
11406
11407         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11408         count.
11409
11410 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11411
11412         * bufferlist.C (readFile): create the buffer _after_ checking that
11413         the file exists.
11414
11415         * lyxfunc.C (verboseDispatch): fix handling of arguments
11416
11417         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11418
11419         * lyxrc.C: use string::erase() instead of initializing to "".
11420
11421
11422 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11423
11424         * BufferView_pimpl.h:
11425         * BufferView_pimpl.C:
11426         * WorkArea.h:
11427         * WorkArea.C:
11428         * text2.C: tell X when we have made a selection for copying
11429
11430 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11431
11432         * BufferView_pimpl.C (MenuInsertLyXFile):
11433         * lyxfunc.C (menuNew):
11434         (open):
11435         (doImport): add shortcuts to directory buttons
11436
11437         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11438         open a float)
11439
11440         * lyxfunc.C (setStatusMessage):
11441         (getStatusMessage): new methods
11442         (getStatus):use setStatusMessage instead of setErrorMessage
11443         (dispatch): when function is disabled, set error message here
11444         [instead of in getStatus previously]
11445
11446         * BufferView_pimpl.C (workAreaButtonRelease): update
11447         toolbar/menubar here too.
11448
11449 2002-01-13  Allan Rae  <rae@lyx.org>
11450
11451         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11452         Now seems indestructible.  Remaining task is to audit all other
11453         code affected by deleteEmptyParagraphMechanism.  One small quirk
11454         left is that an empty document with an error in the preamble can
11455         be made to report an error but no error box appears.  I don't know
11456         where it goes.
11457         (removeAutoInsets): Improved comments.
11458
11459 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11460
11461         * Thesaurus.h:
11462         * Thesaurus.C: update for Aiksaurus 0.14
11463
11464 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11465
11466         * text2.C (firstParagraph): removed member function, all uses
11467         replaces with ownerParagraph
11468         (redoParagraphs): here
11469         (updateInset): here
11470         (toggleAppendix): here
11471         * BufferView2.C (insertErrors): here
11472         (setCursorFromRow): here
11473
11474 2002-01-13  Allan Rae  <rae@lyx.org>
11475
11476         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11477         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11478         There is still a way to segfault this although you may have to do this
11479         multiple times: Have an InsetERT with an unknown command in it.
11480         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11481         <down-arrow>, <Enter> again, View->DVI, BANG!
11482
11483         * text2.C (setCursor):
11484         (deleteEmptyParagraphMechanism):
11485         * lyxtext.h (setCursor):
11486         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11487         Making use of the return value may help fix other bugs.
11488
11489 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11490
11491         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11492
11493         * LyXView.C (updateMenubar): call MenuBar::update here
11494         (updateToolbar): but not here
11495         (showState): do not update toolbar/menubar
11496
11497         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11498         should need to care about that.
11499
11500         * lyxfunc.C (verboseDispatch): simplify a bit
11501         (getStatus): have a version which takes a pseudoaction, and
11502         another which requires a (kb_action,string).
11503
11504         * LyXAction.C (retrieveActionArg): make it work also when action
11505         is not a pseudo-action.
11506         (getActionName): simplify a bit
11507         (helpText):
11508
11509 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11510
11511         * lyxfunc.C (verboseDispatch): new families of methods with
11512         several ways to specify a command and a bool to indicate whether
11513         the command name and shortcut should be displayed in minibuffer
11514         (eventually, we could extend that to a finer bitmask like
11515         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11516         (dispatch): the pristine dispatch command which just, well,
11517         dispatchs! Note it still sets its result to minibuffer; I'm not
11518         sure we want that.
11519
11520         * lyxfunc.h: remove setHintMessage
11521
11522         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11523
11524 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11525
11526         * BufferView_pimpl.C (specialChar): delete new inset if we have
11527         not been able to insert it.
11528
11529         * kbmap.C: revert to using int instead of kb_action, since all we
11530         are dealing with is pseudo-actions.
11531
11532         * LyXAction.C (searchActionArg): change to return int instead of
11533         kb_action, since the result is a pseudoaction.
11534
11535 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11536
11537         * buffer.C (insertErtContents): Fix (partially) the font bug.
11538
11539 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11540
11541         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11542         as the other one is broken on my machine!
11543
11544 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11545
11546         * commandtags.h:
11547         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11548
11549 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11550
11551         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11552         reflect their actual use. Provide compatibility code for older lyxrc
11553         files.
11554
11555         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11556         FL_NORMAL_STYLE.
11557         change names of popup font variables in line with the changes to lyxrc.C
11558
11559 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11560
11561         * buffer.C (asciiParagraph): avoid outputing a word twice after
11562         an inset.
11563
11564         * lyxrc.C (getDescription): document that document_path and
11565         template_path can be empty.
11566
11567 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11568
11569         * LaTeXFeatures.C (getMacros):
11570         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11571
11572         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11573
11574         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11575         getPackages.
11576         (getPackages): rename feature "floats" to "float". Use an array to
11577         iterate over 'simple' features (i.e. just a \usepackage). Add
11578         handling of "amsmath" (renamed from "amsstyle").
11579
11580 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11581
11582         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11583         features list.
11584
11585 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11586
11587         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11588         FuncStaus::FuncStatus & FuncStaus::some_method().
11589
11590 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11591
11592         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11593         of the func_satus stuff. Edited and massaged in various ways by
11594         JMarc.
11595
11596         * lyxfunc.C (getStatus): use FuncStatus
11597
11598 2002-01-08  Juergen Vigna  <jug@sad.it>
11599
11600         * text.C (nextBreakPoint): use function Inset::isChar().
11601
11602         * paragraph.C (TeXOnePar): use function
11603         Inset::forceDefaultParagraphs.
11604
11605         * buffer.C (latexParagraphs): use function
11606         Inset::forceDefaultParagraphs.
11607
11608 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11609
11610         * lyx_gui.C (init): set the style of the menu popups to
11611         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11612
11613 2002-01-07  Juergen Vigna  <jug@sad.it>
11614
11615         * text.C (setHeightOfRow): small fix
11616         (prepareToPrint): don't look at alignment if we don't have the place
11617         for doing it.
11618
11619 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11620
11621         * box.C: New file. Move the Box methods and functions out of box.h,
11622         following Lars' suggestion.
11623
11624 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11625
11626         * box.h: #include "support/LOstream.h", needed for inlined function.
11627
11628         * lyxtextclass.C:
11629         * lyxtextclasslist.C: added some using std declarations.
11630
11631 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11632
11633         * box.h: make signed dimensions to allow insets wider than
11634           the screen (bug #162)
11635
11636         * BufferView_pimpl.C: add some insetHit debug
11637
11638 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11639
11640         * vc-backend.C: add FIXME
11641
11642 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11643
11644         * lyxfunc.C (getStatus): enable code for showing math font status
11645         in toolbar/menu.
11646
11647 2002-01-07  Juergen Vigna  <jug@sad.it>
11648
11649         * text.C (nextBreakPoint): removed debug output not needed anymore.
11650
11651 2002-01-06  Juergen Vigna  <jug@sad.it>
11652
11653         * text.C (nextBreakPoint): fixed up this function we had this bug
11654         since ever but now hopefully we break row better.
11655         (insertChar): we have to check if an inset is the next char as it
11656         could now happen that a large inset is causing a break.
11657
11658 2002-01-05  Juergen Vigna  <jug@sad.it>
11659
11660         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11661         if it doesn't like to be drawed.
11662
11663 2002-01-04  Juergen Vigna  <jug@sad.it>
11664
11665         * BufferView2.C (lockInset): forgot to set a cursor.
11666
11667         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11668
11669 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11670
11671         * FormMathsPanel.C:
11672         * FormMathsPanel.h
11673         * MathsSymbols.C:
11674         * form_maths_panel.C:
11675         * form_maths_panel.h:
11676         * form_maths_panel.fd: implemented sub- and super- buttons in math
11677         panel.
11678
11679         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11680         (or ^ space) to be used as in TeX (req'd by André).
11681
11682         * lyxfunc.C: Allow ^ and _ again to be used both as
11683         super/subscript (mathed) and as themselves (in text).
11684
11685 2002-01-03  Allan Rae  <rae@lyx.org>
11686
11687         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11688         "LyX" or the filename of the current buffer if it has one.  This is a
11689         modified form of John Levon's patch.
11690
11691         * XFormsView.C (setWindowTitle): also set icon title.
11692
11693         * LyXView.h (setWindowTitle): signature changed.
11694         * XFormsView.h (setWindowTitle): ditto.
11695
11696 2002-01-02  Juergen Vigna  <jug@sad.it>
11697
11698         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11699
11700 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11701
11702         * screen.C (topCursorVisible): introduce a temp var for
11703         text->cursor.row(), handle the case where this row is null. (kindo
11704         hachish)
11705
11706         * text2.C (setCursor): add a couple of asserts.
11707
11708         * paragraph.h (inset_iterator): add -> operator
11709
11710         * paragraph.[Ch] (autoDeleteInsets): remove member function
11711
11712         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11713         cursor pos correctly and handle inset deletion by itself.
11714         (insertErrors): move iterator declaration out of for expression
11715
11716         * lyxtextclass.C: add <algorithm>
11717
11718         * Makefile.am: added the new files to sources, removed layout.C
11719
11720         * layout.C: removed file
11721
11722         * layout.h: remove LYX_DUMMY_LAYOUT
11723
11724         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11725         layout.
11726
11727         * lyxlayout.[Ch]:
11728         * lyxtextclass.[Ch]:
11729         * lyxtextclasslist.[Ch]: new files
11730
11731         * include order changes to a lot of files, also changes because of
11732         the six new files.
11733
11734 2001-12-27  Juergen Vigna  <jug@sad.it>
11735
11736         * buffer.C (asciiParagraph): more fixes.
11737
11738         * tabular.C (ascii): make ascii export support export of only the
11739         data separated by a column-delimiter.
11740         (ascii): better support for ascii export.
11741
11742         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11743
11744 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11745
11746         * tabular_funcs.C: use a "using std::getline" instead of the
11747         previous fix from Angus (necessary for cxx + lyxstring)
11748
11749 2001-12-24  Juergen Vigna  <jug@sad.it>
11750
11751         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11752
11753         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11754         problems. First check a minipage also if we have some ert-contents
11755         (not only on par->size(), second set the right depth of the paragraph
11756         on the relink to the root-paragraph-list!
11757
11758         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11759         which then did not anymore update the main paragraphs on undo/redo!
11760
11761 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11762
11763         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11764         code. Support all font-changing funcs (even those which are not in
11765         menu currently). Support for reporting font settings in
11766         mathed (disabled until Andre provides a function on mathed's side).
11767
11768         * func_status.h (toggle): small helper function to set toggle
11769         state on a flag.
11770
11771 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11772
11773         * tabular_funcs.C: getline -> std::getline
11774
11775 2001-12-21  Juergen Vigna  <jug@sad.it>
11776
11777         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11778         accessed and could be 0 (I couldn't generate this but it seems
11779         Michael could!).
11780
11781 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11782
11783         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11784         * tabular_funcs.h: here and include iosfwd
11785
11786 2001-12-20  Juergen Vigna  <jug@sad.it>
11787
11788         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11789         inside inset but undo_par was.
11790
11791 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11792
11793         * Thesaurus.C: always include <config.h> in sources.
11794
11795         * Painter.h:
11796         * lyxlookup.h:
11797         * box.h: do not include <config.h> in header files
11798
11799         * text.C (paintLastRow): remove unused variable
11800
11801         * text.C (transformChar):
11802         (insertChar):
11803         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11804
11805         * Painter.C (text):
11806         * font.C (width): rewrite to use uppercase() instead of
11807         islower/toupper.
11808
11809         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11810
11811 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11812
11813         * lyxfind.C: clean up of find failure position change
11814
11815 2001-12-20  Juergen Vigna  <jug@sad.it>
11816
11817         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11818
11819         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11820         (TeXRow): added to LaTeX a single tabular row.
11821         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11822         (Latex): simplified and finally good LT-h/f support.
11823         (various_functions): just small adaptions for LT-h/f support.
11824
11825         * tabular_funcs.[hC]: added and moved here all not classfunctions
11826         of LyXTabular.
11827
11828 2001-12-19  Juergen Vigna  <jug@sad.it>
11829
11830         * tabular.[Ch]: better support for longtabular options (not finished
11831         yet!)
11832
11833 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11834
11835         * text.C (paintLastRow): use the label font instead of the font of
11836         the last character to compute the size of *_BOX. This makes more
11837         sense and avoids a crash with empty paragraphs.
11838         Use Painter::rectangle to draw EMPTY_BOX.
11839
11840 2001-12-19  Juergen Vigna  <jug@sad.it>
11841
11842         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11843         the paragraphs if the replaced paragraph is not the first one!
11844         Tried to delete not used paragraphs but does not work yet so for
11845         now it's inside #ifdef's and by default off!
11846
11847 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11848
11849         * MenuBackend.C: include "lyx_main.h" instead of declaring
11850         lastfiles (actually was declared as LastFiles* instead of a
11851         scoped_ptr).
11852
11853 2001-12-17  Juergen Vigna  <jug@sad.it>
11854
11855         * tabular.C (AppendColumn): applied John's fix
11856
11857 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11858
11859         * BufferView.h:
11860         * BufferView.C:
11861         * BufferView_pimpl.h:
11862         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11863
11864         * Makefile.am:
11865         * box.h: new start of class for above
11866
11867         * lyxfunc.C: ignore space-only minibuffer dispatches.
11868           Show the command name when it doesn't exist
11869
11870         * minibuffer.C: don't add empty lines to the history
11871
11872         * minibuffer.C: add a space on dropdown completion
11873
11874 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11875
11876         * text.C: fix line above/below drawing in insets
11877
11878 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11879
11880         * lyxlength.C (LyXLength): Initialize private variables.
11881
11882 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11883
11884         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11885         when inserting error insets.
11886
11887 2001-12-13  Juergen Vigna  <jug@sad.it>
11888
11889         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11890         actually sometimes the before-paragraph.
11891         (setUndo): don't clear the redostack if we're not actually undoing!
11892
11893 2001-12-06  Juergen Vigna  <jug@sad.it>
11894
11895         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11896         and fixed redoing of main paragraph, so we can use it now ;)
11897
11898         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11899
11900 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11901
11902         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11903         Juergen's request
11904
11905 2001-12-13  André Pönitz <poenitz@gmx.net>
11906
11907         * undostack.[Ch]:
11908         * undo_func.C: minor cleanup
11909
11910 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11911
11912         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11913         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11914         font in urw-fonts package which is marked as -urw-fontspecific and
11915         does not work (incidentally, changing the encoding in the
11916         fonts.dir of this package to -adobe-fontspecific fixes the
11917         problem).
11918
11919         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11920         is a crash when undoing first paragraph (Juergen, please take a
11921         look). THis does not mean the undo fix is wrong, just that it
11922         uncovers problems.
11923
11924         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11925         the (Paragraph*) version when needed instead of duplicating the
11926         code.
11927
11928         * text.C (workWidth): use Inset::parOwner to find out where the
11929         inset has been inserted. This is a huge performance gain for large
11930         documents with lots of insets. If Inset::parOwner is not set, fall
11931         back on the brute force method
11932
11933         * paragraph_pimpl.C (insertInset):
11934         * paragraph.C (Paragraph):
11935         (cutIntoMinibuffer): set parOwner of insets when
11936         inserting/removing them
11937
11938         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11939
11940 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11941
11942         * commandtags.h:
11943         * LyXAction.C:
11944         * lyx_main.C:
11945         * lyxfunc.C:
11946         * mathed/formulabase.C:
11947         * mathed/math_cursor.[Ch]:
11948         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11949
11950
11951 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11952
11953         * lyxlength.[Ch] (operator!=): new function
11954
11955 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11956
11957         * text.C (workWidth): use Inset::parOwner to find out where the
11958         inset has been inserted. This is a huge performance gain for large
11959         documents with lots of insets. If Inset::parOwner is not set, fall
11960         back on the brute force method
11961
11962         * paragraph_pimpl.C (insertInset):
11963         * paragraph.C (Paragraph):
11964         (cutIntoMinibuffer): set parOwner of insets when
11965         inserting/removing them
11966
11967         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11968
11969 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11970
11971         * tabular-old.C (getTokenValue):
11972         * tabular.C (getTokenValue):
11973         (write_attribute): new versions for LyXLength
11974         (everywhere): adjust the use of widths
11975
11976         * tabular.h: change the type of widths from string to LyXLength
11977
11978 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11979
11980         * paragraph.C: fixed missing line number count when exporting
11981         Environments to LaTeX file
11982
11983         * buffer.C: added informational message for checking line numbers.
11984
11985 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11986
11987         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11988         paragraph, do the 'double space' part, but not the 'empty
11989         paragraph' one.
11990
11991         * text.C (workWidth): small optimization
11992         (getLengthMarkerHeight): use minimal size for negative lengths.
11993
11994 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11995
11996         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11997
11998         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11999
12000 2001-12-11  André Pönitz <poenitz@gmx.net>
12001
12002         * FontLoader.C:
12003         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12004
12005 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12006
12007         * text2.C: keep selection on a setFont()
12008
12009 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12010
12011         * lyx_cb.C: another bv->text misuse, from insert label
12012
12013 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12014
12015         * kbsequence.h:
12016         * kbsequence.C: re-instate nmodifier mask
12017
12018 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12019
12020         * lyx_main.h: make lyxGUI private.
12021
12022 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12023
12024         * lyxfind.C: place the cursor correctly on failed search
12025
12026 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12027
12028         * text.C (getLengthMarkerHeight): for small heights, the arrows
12029         are not always on top/bottom of the text
12030         (drawLengthMarker): smaller arrows; take the left margin in
12031         account; draw also vfills.
12032         (paintFirstRow):
12033         (paintLastRow): remove special code for vfill and standard spaces,
12034         since everything is handled in drawLengthMarker now.
12035
12036 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12037
12038         * buffer.C (insertErtContents): try to handle font and language
12039         interaction a bit better.g
12040
12041         * ColorHandler.C (updateColor): change the hash to cover the whole
12042         LColor enum, ws cleanup
12043         (getGCLinepars): ditto
12044         (getGCLinepars): only lookup in the linecache once.
12045
12046 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12047
12048         * iterators.C (operator++): Make the iterator more robust
12049
12050         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12051         (John's patch)
12052         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12053
12054 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12055
12056         * lyxtext.h:
12057         * text.C: better added space drawing
12058
12059 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12060
12061         * LyXView.C:
12062         * BufferView2.C: fix layout combo update on inset unlock
12063
12064 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12065
12066         * Makefile.am: don't compile unused files
12067
12068 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12069
12070         * lyxfunc.C:
12071         * commandtags.h:
12072         * LyXAction.C: remove old LFUN_LAYOUTNO
12073
12074 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12075
12076         * paragraph_pimpl.h:
12077         * paragraph_pimpl.C: isTextAt() doesn't need font param
12078
12079 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12080
12081         * lyxlex.h:
12082         * lyxlex.C: little cleanup
12083
12084 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12085
12086         * BufferView_pimpl.C: fix insertAscii for insets
12087
12088 2001-12-05  Juergen Vigna  <jug@sad.it>
12089
12090         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12091         set the right font on the "multi" paragraph paste!
12092
12093 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12094
12095         * trans_decl.h:
12096         * trans_mgr.[Ch]:
12097         * trans.[Ch]:
12098         * lyxgluelength.C:
12099         * lyxlength.C: remove out-commented code.
12100
12101         * BufferView_pimpl:
12102         * CutAndPaste.C:
12103         * DepTable.C:
12104         * buffer.C:
12105         * chset.C:
12106         * lastfiles.C:
12107         * lyxlex.C:
12108         * lyxlex_pimpl.C:
12109         * lyxserver.C:
12110         * screen.C:
12111         * tabular-old.C:
12112         * tabular.C:
12113         * text.C:
12114         * trans_mgr.C:
12115         * vc-backend.C: change "while(" to "while ("
12116
12117         * lyxlength.[Ch]: add zero function to check if length is zero or
12118         not
12119         * lyxgluelength.C: use it
12120
12121 2001-12-05  Allan Rae  <rae@lyx.org>
12122
12123         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12124         Works for 2.95.3, from what I understand of Garst's reports this should
12125         work for other g++ versions.  We're screwed if the abs(int) definition
12126         changed between bugfix releases of gcc.
12127
12128 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12129
12130         * text.C: fix chapter label offset !
12131
12132 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12133
12134         * lyxtext.h:
12135         * text.C: fix hfill at end of line, clean up
12136
12137 2001-12-04  Juergen Vigna  <jug@sad.it>
12138
12139         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12140         that we force an update of the inset and it's owners if neccessary.
12141
12142 2001-12-03  Juergen Vigna  <jug@sad.it>
12143
12144         * text.C (rowLast): simplified code
12145
12146 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12147
12148         * lyxfunc.C: fix show options on timeout
12149
12150 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12151
12152         * screen.C (topCursorVisible): scroll half a page when the cursor
12153         reached top of bottom of screen
12154
12155 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12156
12157         * minibuffer.C: deactivate on loss of focus
12158
12159 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12160
12161         * vspace.[Ch] (operator!=): add operator.
12162
12163 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12164
12165         * BufferView_pimpl.C: refuse to open an inset when
12166         there's a selection.
12167
12168 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12169
12170         * BufferView_pimpl.C: allow to click on RHS of full row insets
12171
12172 2001-11-30  Juergen Vigna  <jug@sad.it>
12173
12174         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12175         insets for undo reasons.
12176
12177 2001-11-28  André Pönitz <poenitz@gmx.net>
12178
12179         * vspace.[Ch]: cosmetical changes
12180
12181 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12182
12183         * LyXAction.h:
12184         * LyXAction.C:
12185         * lyxfunc.h:
12186         * lyxfunc.C:
12187         * kbmap.h:
12188         * kbmap.C:
12189         * lyxrc.C:
12190         * kbsequence.h:
12191         * kbsequence.C: part re-write of old kb code
12192
12193         * Painter.C:
12194         * WorkArea.C: remove Lgb_bug_find_hack
12195
12196 2001-11-30  José Matos <jamatos@fep.up.pt>
12197
12198         * buffer.C (makeDocBookFile): add a comment to point a hack.
12199         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12200         Fixed a double write of labels.
12201
12202 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12203
12204         * LaTeX.C:
12205         * LaTeX.h Fixed bug in LaTeX class where it would not
12206         re-run latex if no depfiles were changed, but the .dvi was removed.
12207
12208 2001-11-28  André Pönitz <poenitz@gmx.net>
12209
12210         * all the files from the change on 2001/11/26:
12211         use lyx::layout_type instead of LyXTextClass::size_type
12212         use lyx::textclass_type instead of LyXTextClassList::size_type
12213
12214 2001-11-29  Juergen Vigna  <jug@sad.it>
12215
12216         * text.C: added support for paragraph::isFreeSpacing()
12217
12218         * buffer.C: same as above
12219
12220         * paragraph.h: inserted isFreeSpacing() function to enable
12221         FreeSpacing inside InsetERT.
12222
12223         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12224         of the paragraph's in the cut/copy buffer to 0!
12225
12226         * text2.C (removeRow): remove the assert as it can!
12227
12228         * lyxtext.h: added helper function firstRow returning firstrow and
12229         made firstrow private again.
12230
12231         * BufferView2.C (lockInset): don't relock if we're already locked!
12232
12233         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12234         the only paragraph.
12235         (removeRow): added Assert::(firstrow)
12236
12237         * debug.C: forgot to add INSETTEXT here.
12238
12239 2001-11-28  Juergen Vigna  <jug@sad.it>
12240
12241         * sp_spell.C (initialize): changed error text to more general
12242         spellchecker command use (not only ispell!)
12243
12244         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12245
12246         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12247
12248 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12249
12250         * vspace.C: initialise lyxgluelength on failure
12251
12252 2001-11-28  Allan Rae  <rae@lyx.org>
12253
12254         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12255         declaration & definition that looks like a function declaration.
12256
12257 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12258
12259         * BufferView2.C (copy):
12260         (copyEnvironment): do not clear the selection when doing a copy.
12261
12262         * text.C (paintFirstRow): compilation fix
12263
12264 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12265
12266         * tabular.C (Latex): correct line count when writing latex.
12267
12268 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12269
12270         * paragraph_pimpl.h:
12271         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12272           bug a bit
12273
12274 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12275
12276         * text.C:
12277         * LColor.h:
12278         * LColor.C: change vfillline->added_space
12279
12280         * text.C: add markers and text for added space
12281
12282         * vspace.C: fix comment
12283
12284 2001-11-28  André Pönitz <poenitz@gmx.net>
12285
12286         * paragraph.C: whitespace changes
12287         * all the other files from the change on 2001/11/26:
12288         change *::pos_type into lyx::pos_type
12289
12290 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12291
12292         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12293         language of the document when inserting error insets.
12294
12295 2001-11-26  André Pönitz <poenitz@gmx.net>
12296
12297         * BufferView_pimpl.[Ch]:
12298         *       CutAndPaste.C:
12299         * buffer.[Ch]:
12300         * lyxcursor.[Ch]:
12301         * lyxfind.C:
12302         * lyxfunc.C:
12303         * lyxrow.[Ch]:
12304         * paragraph.[Ch]:
12305         * paragraph_pimpl.[Ch]:
12306         * sp_spell.C:
12307         * text.C:
12308         * text2.C: reduce header dependencies, introduce type for positions
12309
12310 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12311
12312         * <various>: change to use Alert.h
12313
12314 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12315
12316         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12317         when encountering an unknown token.
12318         (readLyXformat2): Show an error message if there were unknown tokens.
12319
12320 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12321
12322         * BufferView2.C:
12323         * BufferView_pimpl.C:
12324         * buffer.C:
12325         * paragraph.h:
12326         * text.C:
12327         * text2.C: use par->isInset()
12328
12329 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12330
12331         * paragraph_pimpl.h:
12332         * paragraph_pimpl.C: cleanup
12333
12334 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12335
12336         * text2.C (removeRow):
12337         * text.C (setHeightOfRow): remove useless (and costly) call to
12338         getRow.
12339
12340 2001-11-20  Allan Rae  <rae@lyx.org>
12341
12342         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12343         Now need Inset*::checkInsertChar() to return true for appropriate
12344         cases so that the characters in the minibuffer will actually be
12345         inserted.
12346
12347 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12348
12349         * text.C: change the order of the includes.
12350         (workWidth): initialize it at once.
12351         (workWidth): make maxw unsigned
12352         (setHeightOfRow): remove unused variable (inset)
12353         (selectSelectedWord): remove unused variable (inset)
12354         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12355
12356 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12357
12358         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12359         server is not running.
12360         (openConnection):
12361         (closeConnection): add debug info when server is disabled.
12362
12363         * ColorHandler.C (getGCForeground): send debug message to GUI
12364         channel.
12365
12366         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12367
12368         * kbmap.C (bind): modify because return conventions of
12369         kb_sequence::parse have changed.
12370
12371         * kbsequence.C (parse): only ignore spaces and not any stupid
12372         control character. This avoids tests like s[i] <= ' ', which are
12373         guaranteed to fail with 8bit characters and signed chars.
12374         Change return code to string::npos when there have been no error
12375         (0 was a bad idea when error is at first character)
12376
12377 2001-11-14  José Matos  <jamatos@fep.up.pt>
12378
12379         * buffer.h:
12380         * buffer.C (simpleDocBookOnePar): removed unused argument.
12381
12382 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12383
12384         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12385         insets which are part of a word. Paragraph::isLetter takes care of
12386         that now. Use Paragraph::isInset to identify insets.
12387         (selectSelectedWord): do not test for hyphenation break.
12388
12389         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12390         that protected spaces are considered as spaces.
12391
12392         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12393         Inset::isLetter.
12394
12395 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12396
12397         * lyxserver.h:
12398         * lyxserver.C: fix it. and small cleanup.
12399
12400 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12401
12402         * BufferView_pimpl.C: use inline helpers
12403
12404         * LaTeXFeatures.h:
12405         * LaTeXFeatures.C: fix typos
12406
12407         * Spacing.h:
12408         * Spacing.C: move spacing_string into class
12409
12410         * ToolbarDefaults.C: move stuff into namespace anon
12411
12412         * layout.h: update enum
12413
12414         * lyxfunc.C: use better debug
12415
12416         * minibuffer.h: fix typo
12417
12418         * debug.h:
12419         * debug.C:
12420         * WorkArea.C: add and use Debug::WORKAREA
12421
12422         * lyxtext.h:
12423         * text.C:
12424         * text2.C: code re-organisation, inline helpers
12425
12426 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12427
12428         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12429         std::vector.empty().
12430
12431 2001-11-09  Allan Rae  <rae@lyx.org>
12432
12433         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12434         '\n's after tables.  Tabular and ERT inset work now makes this no
12435         longer necessary.
12436
12437 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12438
12439         * minibuffer.h:
12440         * minibuffer.C: fix crash, improve drop-down completion
12441
12442 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12443
12444         * lyxserver.h:
12445         * lyxserver.C: invalidate fd's when doing endPipe()
12446
12447 2001-11-08  José Matos  <jamatos@fep.up.pt>
12448
12449         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12450         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12451
12452         * paragraph.h:
12453         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12454
12455 2001-11-07  José Matos  <jamatos@fep.up.pt>
12456
12457         * buffer.h:
12458         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12459         const qualifier.
12460
12461         * buffer.C (sgmlOpenTag):
12462         * buffer.C (sgmlCloseTag): removed debug info.
12463
12464         * buffer.h (sgmlOpenTag):
12465         * buffer.h (sgmlCloseTag): made public.
12466
12467 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12468
12469         * buffer.C (saveParamsAsDefaults):
12470         * lyx_cb.C (MenuLayoutSave): remove
12471
12472         * LyXAction.C (init):
12473         * commandtags.h:
12474         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12475
12476 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12477
12478         * buffer.C (setPaperStuff): removed from here...
12479
12480         * bufferparams.C (setPaperStuff): ... and moved there.
12481
12482 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12483
12484         * minibuffer.h:
12485         * minibuffer.C:
12486         * XFormsView.C: add support for drop-down completion
12487
12488 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12489
12490         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12491         commands.
12492
12493 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12494
12495         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12496         disabled.
12497
12498 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12499
12500         * lyx_main.C: change ref to known bugs
12501
12502 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12503
12504         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12505         to work around older babel problems.
12506
12507 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12508
12509         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12510
12511 2001-10-24  Juergen Vigna  <jug@sad.it>
12512
12513         * tabular-old.C (ReadOld): below variable changes reflected.
12514
12515         * tabular.[Ch]: added ltType struct for longtable header/footer
12516         defines and changed all instances where they are used. Added
12517         future support for double top/bottom rows.
12518
12519 2001-10-24  José Matos  <jamatos@fep.up.pt>
12520
12521         * buffer.h (docbookHandleCaption):
12522         * buffer.C (docbookHandleCaption): removed unused function.
12523         (makeDocBookFile): moved docbook supported version to v4.1.
12524
12525 2001-10-24  José Matos  <jamatos@fep.up.pt>
12526
12527         * tabular.h:
12528         * tabular.C (docbookRow): new function to export docbook code of a row.
12529         (DocBook): now honors the longtable flags.
12530
12531 2001-10-23  José Matos  <jamatos@fep.up.pt>
12532
12533         * LaTeXFeatures.h:
12534         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12535         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12536
12537         * buffer.C (makeLinuxDocFile):
12538         (makeDocBookFile): reworked the preamble, more clean, and with
12539         support for lyx defined entities. Changed the document declaration
12540         to be more XML friendly.
12541
12542         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12543         if we need to output XML that should be done with a filter.
12544
12545 2001-10-22  Juergen Vigna  <jug@sad.it>
12546
12547         * sp_pspell.h (class PSpell): add alive function needed in the
12548         controller to see if the spellchecker could be started.
12549
12550 2001-10-22  Juergen Vigna  <jug@sad.it>
12551
12552         * buffer.C (insertStringAsLines): modify the font for inserting
12553         chars in certain conditions by calling checkInsertChar(font).
12554
12555 2001-10-19  Juergen Vigna  <jug@sad.it>
12556
12557         * text.C (workWidth): use getRow instead of wrong algorithm.
12558         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12559
12560 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12561
12562         * lyxserver.h:
12563         * lyxserver.C:
12564         * lyx_main.h:
12565         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12566
12567 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12568
12569         * text.C (workWidth): do not search for the exact row when
12570         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12571         optimization for big documents.
12572
12573 2001-10-18  Juergen Vigna  <jug@sad.it>
12574
12575         * text.C (workWidth): new function with added Inset * parameter.
12576
12577 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12578
12579         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12580
12581         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12582         change return type of getColumnNearX.
12583
12584
12585         * text.C (changeRegionCase): use uppercase/lowercase instead of
12586         toupper/tolower.
12587         (leftMargin):
12588         (rightMargin): simplify code by factoring out the uses of
12589         textclasslist.
12590         (labelFill):
12591         (numberOfHfills):
12592         (setHeightOfRow):
12593         (appendParagraph): use Paragraph::size_type
12594
12595 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12596
12597         * vspace.C (asLatexString): add a missing break
12598
12599 2001-10-15  Herbert Voss  <voss@perce.de>
12600
12601         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12602
12603 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12604
12605         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12606         is not available.
12607
12608 2001-10-10  André Pönitz <poenitz@gmx.net>
12609
12610         * lyxfunc.C: removed greek_kb_flag.
12611
12612 2001-10-10  Herbert Voss  <voss@perce.de>
12613
12614         * lyx_main.C: delete global string help_lyxdir.
12615
12616 2001-10-09  Herbert Voss  <voss@perce.de>
12617
12618         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12619
12620         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12621
12622         * lyx_main.C: added global string help_lyxdir.
12623
12624         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12625
12626 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12627
12628         * lyxrc.C (set_font_norm_type): support iso8859-4
12629
12630 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12631
12632         * LaTeX.C (deplog): add another regex for MikTeX
12633
12634 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12635
12636         * lyxrc.C (set_font_norm_type): support iso8859-3
12637
12638 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12639
12640         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12641
12642         * LaTeXFeatures.C: remove special case of french and index
12643
12644         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12645         before \begin{document}). This solves several incompatibilities.
12646
12647 2001-10-03  Garst Reese  <reese@isn.net>
12648
12649         * lyx_cb.C: change CheckTex error msg.
12650
12651 2001-10-03  José Matos  <jamatos@fep.up.pt>
12652
12653         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12654
12655 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12656
12657         * .cvsignore: update
12658
12659         * lyx_main.C (commandLineVersionInfo): use new style version info.
12660
12661         * buffer.C (writeFile):
12662         (makeLaTeXFile):
12663         (makeLinuxDocFile):
12664         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12665
12666         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12667
12668         * version.h: update to use stuff in version.C
12669
12670         * version.C.in: new file. Contains version information determined
12671         at compile time. This is a merging of version.h and
12672         version_info.h.in.
12673
12674 2001-10-03  Juergen Vigna  <jug@sad.it>
12675
12676         * BufferView_pimpl.C (update): don't change "dirty" status in
12677         updateInset call.
12678
12679 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12680
12681         * WorkArea.C (c-tor): re-position version string slightly.
12682
12683 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12684
12685         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12686         revert to previous code.
12687
12688         WorkArea.[Ch]: (show, destroySplash): methods removed.
12689
12690         WorkArea.C: rework code so that it's an amalgam of the codes before and
12691         after the splash screen was moved to WorkArea.
12692
12693 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12694
12695         * lyxrc.C (read):
12696         * vspace.C (inPixels):
12697         (lyx_advance):
12698         * kbmap.C (bind):
12699         * buffer.C (insertStringAsLines):
12700         (asciiParagraph): fix types to be large enough
12701
12702         * lyxlex_pimpl.h: change member status from short to int
12703
12704         * layout.h: fix type of endlabeltype
12705
12706         * kbmap.C (bind):
12707         * kbsequence.C (parse): change return type to string::size_type
12708
12709         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12710         variable
12711
12712         * Bullet.C (bulletSize):
12713         (bulletEntry): do not use short ints as parameters
12714
12715         * BufferView2.C (insertLyXFile): change a char to an int.
12716
12717         * WorkArea.C (WorkArea): remove unneeded floats in computation
12718
12719 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12720
12721         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12722
12723         * paragraph.C (asString): Do not ignore newline/hfill chars when
12724         copying to the clipboard.
12725
12726 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12727
12728         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12729         after a multi-line inset.
12730
12731 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12732
12733         * paragraph.C (validate): Set NeedLyXFootnoteCode
12734
12735 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12736
12737         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12738         and decrease-error to decrease.
12739
12740 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12741
12742         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12743         it more readable (should be equivalent)
12744
12745 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12746
12747         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12748
12749 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12750
12751         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12752         of a cursor (row, etc.) after a character has been deleted
12753         (deleteEmptyParagraphMechanism): call the method above on _all_
12754         cursors held by the LyXText when a double space has been
12755         detected/deleted.
12756
12757 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12758
12759         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12760         pixmap.
12761         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12762
12763         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12764         background. Use greyOut() and the new show() methods to toggle between
12765         the foreground and background. Add code to remove the splash after
12766         its initial showing.
12767
12768         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12769         (create_forms): no longer call Dialogs::showSplash.
12770
12771 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12772
12773         * .cvsignore: add version_info.h
12774
12775 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12776
12777         * version_info.h.in: new file
12778
12779         * Makefile.am: add version_info.h.in
12780
12781         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12782         version_info.h instead of VERSION_INFO
12783
12784 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12785
12786         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12787         The ERT inset now returns string().
12788
12789 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12790
12791         * lyxtext.h, text.C (selectNextWord): renamed as
12792         selectNextWordToSpellcheck.
12793
12794         * text.C (selectNextWordToSpellcheck): Modified to not select
12795         words inside an ERT inset.
12796
12797 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12798
12799         * lyx_cb.C (MenuLayoutSave): change a bit the question
12800
12801         * sp_base.h: include <sys/types.h>
12802
12803 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12804
12805         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12806
12807 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12808
12809         * several files: fix typos in user-visible strings
12810
12811 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12812
12813         * text2.C (pasteSelection): do not set the selection, since it
12814         will be cleared later. Actually, the intent was to fix the way the
12815         selection was set, but I figured rmoving the code was just as good.
12816
12817 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12818
12819         * FontLoader.C (available): Check if font is available without
12820         loading the font.
12821
12822 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12823
12824         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12825
12826 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12827
12828         * lyxrc.[Ch]: added display_graphics variable and associated code.
12829
12830 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12831
12832         * bufferparams.C (hasClassDefaults): new method. Returns true if
12833         the buffer parameters correspond to known class defaults
12834
12835 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12836
12837         * XFormsView.C (show): set minimum size to the main window.
12838
12839 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12840
12841         * text2.C (copySelection):
12842         (cutSelection):
12843         * lyxfind.C (LyXReplace):
12844         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12845         LyXText::selectionAsString.
12846
12847         * paragraph.C (asString): add "label" argument to the second form
12848
12849         * text2.C (selectionAsString): add "label" argument and pass it to
12850         Paragraph::asString.
12851
12852 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12853
12854         * lyx_main.C (commandLineHelp): remove version information
12855
12856 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12857
12858         * lyx_main.C: add -version commandline option
12859
12860 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12861
12862         * paragraph.h: make the optional constructor arg required instead.
12863         some modifications to other files because of this.
12864
12865         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12866
12867         * lyxserver.C (C_LyXComm_callback): make it static
12868
12869         * lyx_main.C (error_handler): make it static
12870
12871         * lyx_gui.C (LyX_XErrHandler): make it static
12872
12873         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12874
12875         * WorkArea.C: make the extern "C" methods static.
12876
12877         * Makefile.am (lyx_LDADD): simplify
12878
12879 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12880
12881         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12882         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12883
12884         * LyXAction.C (init):
12885         * lyxfunc.C (dispatch): associated code removal.
12886
12887 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12888
12889         * lyxfont.h (isSymbolFont): shut off warning
12890
12891         * text.C (setHeightOfRow):
12892         (getVisibleRow): fix crash with empty paragraphs which have a
12893         bottom line
12894
12895 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12896
12897         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12898         code.
12899
12900 2001-09-04  José Matos  <jamatos@fep.up.pt>
12901         * buffer.C
12902         * buffer.h
12903         * tabular.C (docbook): rename docBook method to docbook.
12904
12905 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12906
12907         * Makefile.am: add dependencies to main.o.
12908
12909 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12910
12911         * FontLoader.C (available): Return false if !lyxrc.use_gui
12912
12913 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12914
12915         * FontInfo.C (query):
12916         * converter.C (view):
12917         * importer.C (Import):
12918         * exporter.C (Export): Can not -> cannot.
12919
12920 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12921
12922         * BufferView_pimpl.C: allow to create index inset even if
12923           string is empty
12924
12925 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12926
12927         * buffer.C (getLists): replace boost::tie code with an explicit pair
12928         as boost::tie can break some compilers.
12929
12930         * iterators.h: Added a std:: declaration to the return type of
12931         ParIterator::size.
12932
12933 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12934
12935         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12936           case.
12937
12938 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12939
12940         * iterators.[Ch]: New files. Provide paragraph iterators.
12941
12942         * buffer.C (changeLanguage): Use paragraph iterators.
12943         (isMultiLingual): ditto
12944
12945         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12946
12947 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12948
12949         * FontLoader.C: Support for cmr font.
12950
12951 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12952
12953         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12954         (available): New method.
12955
12956         * FontInfo.C (getFontname): Use scalable fonts even when
12957         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12958         found.
12959
12960 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12961
12962         * converter.C (Formats::view): reverted! Incorrect fix.
12963
12964 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12965
12966         * converter.C (Formats::view): only output the -paper option
12967         if the dvi viewer is xdvi, thereby fixing bug #233429.
12968
12969 2001-08-23  Herbert Voss  <voss@perce>
12970
12971         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12972
12973 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12974
12975         * Spacing.h (Spacing): Set space to Default on in the default
12976         constructor.
12977
12978 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12979
12980         * vc-backend.h (RCS::versionString): add RCS to version
12981         (CVS::versionString): add CVS to version
12982
12983         * vc-backend.C (scanMaster): do not add CVS to version.
12984         (scanMaster): do not add RCS to version
12985
12986         * lyxvc.C (versionString): new method
12987
12988         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12989
12990 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12991
12992         * Spacing.C (set): initialize fval
12993
12994 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12995
12996         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12997         " or \.
12998
12999 2001-08-16  Juergen Vigna  <jug@sad.it>
13000
13001         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13002
13003 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13004
13005         * BufferView_pimpl.C:
13006         * figureForm.C:
13007         * lyxtext.h:
13008         * text2.C: setParagraph takes linespacing now
13009
13010 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13011
13012         * LyxAction.C: add internal LFUN_CITATION_INSERT
13013
13014         * LyXView.C: actually apply fix
13015
13016         * bufferlist.C: fix open non-existent file
13017
13018         * lyxfind.C: fix indentation
13019
13020         * lyxfunc.C: remove unneeded assert, fix typo
13021
13022 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13023
13024         * MenuBackend.C: use "Floatname List"
13025
13026 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13027
13028         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13029         when converting LaTeX layout to insetERT.
13030         Generate a non-collapsed float when reading old float
13031
13032 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13033
13034         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13035         ERT insets.
13036
13037 2001-08-13  Juergen Vigna  <jug@sad.it>
13038
13039         * text.C (fill): return 0 instead of 20 as this seems to be the more
13040         correct value.
13041
13042 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13043
13044         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13045         lyxrc.font_norm.
13046
13047 2001-08-13  Juergen Vigna  <jug@sad.it>
13048
13049         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13050         casesensitive off.
13051         (SearchBackward): comment out the unlocking of the inset_owner this
13052         should not be needed!
13053
13054 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13055
13056         * Many files: Remove inherit_language, and add latex_language
13057
13058         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13059         collapsible insets.
13060
13061 2001-08-10  Juergen Vigna  <jug@sad.it>
13062
13063         * text.C (prepareToPrint): fixed hfill-width in draw!
13064
13065         * BufferView2.C (selectLastWord): save the selection cursor as this
13066         now is cleared in the function LyXText::clearSelection!
13067
13068 2001-08-08  Juergen Vigna  <jug@sad.it>
13069
13070         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13071         BACKSPACE type functions.
13072
13073         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13074         is only cutted from the document but not put in the cut-buffer, where
13075         still the old stuff should be.
13076
13077         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13078
13079         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13080
13081         * tabular.C (SetWidthOfCell): fixed special case where the width
13082         was not updated!
13083         (LeftLine): handle '|' in align_special.
13084         (RightLine): ditto
13085         (LeftAlreadyDrawed): ditto
13086         (SetWidthOfCell): ditto
13087
13088 2001-08-07  Juergen Vigna  <jug@sad.it>
13089
13090         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13091
13092 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13093
13094         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13095         * lyxlex.[hC]: ditto
13096
13097 2001-08-06  Juergen Vigna  <jug@sad.it>
13098
13099         * text.C (getVisibleRow): fix up row clearing a bit.
13100
13101 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13102
13103         * minibuffer.C: make sure the X server sees the changes in the input.
13104
13105 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13106
13107         * paragraph.C (getFont): split into...
13108         (getLabelFont): this
13109         (getLayoutFont): and this
13110         * paragraph_pimpl.C (realizeFont): calling this
13111
13112         * text2.C (getFont): split into...
13113         (getLayoutFont): this
13114         (getLabelFont): and this
13115         (realizeFont): all three calling this
13116
13117         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13118         files where used.
13119
13120 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13121
13122         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13123
13124 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13125
13126         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13127         layouts from the Quote inset insertion.
13128
13129 2001-08-03  Juergen Vigna  <jug@sad.it>
13130
13131         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13132
13133         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13134         only if status not is already CHANGED_IN_DRAW (second level).
13135
13136         * text.C (draw): don't set the need_break_row when inside an
13137         InsetText LyXText.
13138
13139 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13140
13141         * buffer.C (parseSingleLyXformat2Token): handle more latex
13142         conversion cases.
13143
13144         * bufferview_funcs.[hC]: change function names to
13145         begin with small char, adjust other files.
13146
13147 2001-08-02  André Pönitz <poenitz@gmx.net>
13148
13149         * lyxfunc.C:
13150         BufferView_pimpl.C: remove broken special code for math-greek
13151
13152 2001-08-02  Juergen Vigna  <jug@sad.it>
13153
13154         * BufferView_pimpl.C (update): redone this function so that we
13155         update the text again if there was a CHANGE_IN_DRAW.
13156
13157         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13158         (drawFromTo): added a new internal bool which is used by draw() and
13159         redraw() function.
13160         (general): some cursor drawing problems fixed.
13161
13162 2001-08-01  Juergen Vigna  <jug@sad.it>
13163
13164         * lyxfind.C (LyXFind): fixed
13165         (SearchForward): ditto
13166         (SearchBackward): ditto
13167
13168         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13169         spurius drawing of the cursor in the main area.
13170
13171         * text2.C (status): small fix which could lead to a segfault!
13172         (clearSelection): remove unneeded BufferView param.
13173
13174 2001-08-01  André Pönitz <poenitz@gmx.net>
13175
13176         * lyxfunc.C: small change due to changed mathed interface
13177
13178 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13179
13180         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13181
13182 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13183
13184         * lyxfunc.c: fail gracefully if file doesn't exist
13185
13186         * LyXSendto.C:
13187         * buffer.C:
13188         * lyxfunc.C:
13189         * BufferView_pimpl.C: IsDirWriteable() proto changed
13190
13191         * LyXView.C: fix updateWindowTitle() to store the last title
13192
13193 2001-07-31  Juergen Vigna  <jug@sad.it>
13194
13195         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13196         the font (wrong since using of Paragraph::highestFontInRange).
13197
13198         * paragraph.C (highestFontInRange): added a default_size parameter.
13199
13200         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13201         (setHeightOfRow): reformat
13202
13203 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13204
13205         * converter.[hC] + affected files: move to (inital-char)lowercase
13206         function names.
13207
13208         * ParagraphParameters.C (ParagraphParameters): remove commented code
13209
13210         * PainterBase.[Ch]: remove commented code
13211
13212         * LaTeXFeatures.h: add "bool floats" for float.sty
13213
13214         * LaTeXFeatures.C (LaTeXFeatures): init floats
13215         (require): handle float
13216         (getPackages): do it with floats
13217
13218 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13219
13220         * BufferView_pimpl.C (Dispatch): improve handling of
13221         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13222
13223         * commandtags.h: #include lyxfont.h here temporarily to avoid
13224         keybinding bug.
13225
13226         * bufferlist.h: include LString.h here.
13227
13228 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13229
13230         * text2.C (getStringToIndex): new method.
13231
13232 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13233
13234         * *: Reduced header file dependencies all over.
13235
13236 2001-07-30  Baruch Even  <baruch@lyx.org>
13237
13238         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13239
13240 2001-07-29  Baruch Even  <baruch@lyx.org>
13241
13242         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13243
13244 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13245
13246         * ParameterStruct.h (endif): add a default constructor to make
13247         sure that all variables is initialized.
13248
13249         * ParagraphParameters.C (ParagraphParameters): adjust
13250
13251 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13252
13253         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13254         index; also, check that there is something to index, and that it
13255         does not span over several paragraphs.
13256         (doubleClick): use WHOLE_WORD_STRICT for double click.
13257
13258         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13259
13260         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13261         scheme.
13262
13263 2001-07-26  Baruch Even  <baruch@lyx.org>
13264
13265         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13266         an InsetFig figure, backwards compatible reading of old figure code.
13267
13268 2001-07-27  Juergen Vigna  <jug@sad.it>
13269
13270         * text2.C: font.realize function adaption.
13271
13272         * text.C (draw): add a warnings lyxerr text if needed.
13273
13274         * layout.C: font.realize function adaption.
13275
13276         * language.C: add inherit_language and implement it's handlings
13277
13278         * bufferview_funcs.C (StyleReset): remove language parameter from
13279         font creation (should be language_inherit now).
13280
13281         * bufferparams.C (writeFile): handle ignore_language.
13282
13283         * paragraph.C (getFontSettings): the language has to be resolved
13284         otherwise we have problems in LyXFont!
13285
13286         * lyxfont.C (lyxWriteChanges): added document_language parameter
13287         (update): removed unneeded language parameter
13288
13289         * paragraph.C (validate): fixed wrong output of color-package when
13290         using interface colors for certain fonts in certain environments,
13291         which should not seen as that on the final output.
13292
13293 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13294
13295         * BufferView_pimpl.C:
13296         * Thesaurus.h:
13297         * Thesaurus.C:
13298         * Makefile.am:
13299         * commandtags.h:
13300         * LyXAction.C: add thesaurus support
13301
13302         * lyxfind.h:
13303         * lyxfind.C: add "once" parameter, for thesaurus, to not
13304           move to the next match
13305
13306 2001-07-26  Juergen Vigna  <jug@sad.it>
13307
13308         * lyxfont.C (realize): honor ignore_language too!
13309         (resolved): ditto.
13310
13311         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13312
13313         * text.C (draw): one place more for ignore_language to not draw
13314         itself!
13315
13316 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13317
13318         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13319
13320 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13321
13322         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13323         the minipage conversion problem.
13324
13325 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13326
13327         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13328         insert an inset.
13329
13330 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13331
13332         * BufferView.h: don't forward declare WorkArea
13333
13334         * BufferView.C: don't include WorkArea.h
13335
13336 2001-07-25  André Pönitz <poenitz@gmx.net>
13337
13338         * commandtags.h:
13339         * LyXAction.C:
13340         * lyxfunc.C:  new LFUN 'math-space'
13341
13342         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13343
13344 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13345
13346         * text2.C (toggleInset): call open/close
13347
13348 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13349
13350         * lyxfunc.C (dispatch): add debug for the disabled case
13351
13352         * font.C (buttonText): make similar to rectText
13353
13354         * buffer.C (readInset): comment out parsing of insetlist and
13355         insttheorem
13356
13357         * PainterBase.C (rectText): small correction
13358
13359         * BufferView_pimpl.C: comment out insettheorem and insetlist
13360         * LyXAction.C: ditto
13361         * commandtags.h: ditto
13362
13363 2001-07-24  Juergen Vigna  <jug@sad.it>
13364
13365         * text.C (draw): honor the ignore_language.
13366
13367         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13368
13369 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13370
13371         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13372         char inset.
13373
13374 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13375
13376         * lyxtext.h: remove unused (and unimplemented) methods
13377
13378 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13379
13380         * text.C (getVisibleRow): honor background color
13381
13382         * PainterBase.h:
13383         * Painter.h: remove default color argument for fillRectangle
13384
13385         * text.C (backgroundColor): new method
13386
13387 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13388
13389         * text.C (getVisibleRow): adjust
13390
13391         * font.[Ch] (rectText): new method, metrics
13392         (buttonText): new method, metrics
13393
13394         * PainterBase.[hC]: make rectText and buttonText always draw and take
13395         fewer paramteres.
13396
13397 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13398
13399         * ToolbarDefaults.C (read):
13400         * MenuBackend.C (read): allow escaping in all strings
13401
13402         * BufferView_pimpl.C (insertAndEditInset): new method.
13403         (Dispatch): use insertAndEditInset whenever appropriate.
13404
13405         * BufferView_pimpl.C (insertNote): removed
13406
13407         * BufferView_pimpl.C (smartQuote): new method, moved from
13408         BufferView; if an insetquote cannot be inserted, insert a '"'
13409         character instead.
13410
13411         * BufferView2.C: remove insertCorrectQuote();
13412
13413         * lyxfunc.C (getStatus): Add support for all remaingin
13414         inset-insert lfuns.
13415
13416         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13417
13418         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13419         command (necessary to pass " as parameter of self-insert.
13420
13421         * text.C (selectWordWhenUnderCursor):
13422         (selectWord): add word_location parameter
13423         (selectWordWhenUnderCursor): same + remove special code for word
13424         boundary.
13425         (selectNextWord): use kind() to guess type of insetspecialchar,
13426         not latex().
13427
13428         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13429         (insertErtContents): create ert insets as collapsed.
13430         (readInset): better compatibility code for Info inset.
13431
13432 2001-07-20  Juergen Vigna  <jug@sad.it>
13433
13434         * lyxfunc.C (dispatch): use always LyXFind now!
13435
13436         * text2.C (init): add a reinit flag so that the LyXText can be
13437         reinited instead of deleted and reallocated (used in InsetText).
13438
13439         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13440
13441         * text.C: ditto
13442
13443         * text2.C: ditto
13444
13445 2001-07-18  Juergen Vigna  <jug@sad.it>
13446
13447         * text.C (selectNextWord): handle insets inside inset by calling
13448         always the bv->text functions so that we can go up the_locking_inset!
13449
13450         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13451         in strange locations when inside an inset!
13452
13453         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13454         handling to include insets.
13455
13456         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13457
13458 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13459
13460         * LyXAction.C (init):
13461         * commandtags.h:
13462         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13463         LIGATURE_BREAK, since the name is so stupid.
13464
13465 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13466
13467         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13468         InsetInfos.
13469
13470         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13471
13472         * sp_form.[Ch]: remove.
13473
13474         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13475
13476         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13477         InsetInfo.
13478
13479         * src/buffer.C (readInset): ditto.
13480
13481 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13482
13483         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13484         menuSeparator(), endOfSentenceDot(), ldots() and
13485         hyphenationPoint(), which are therefore removed.
13486         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13487
13488         * LyXAction.C (init):
13489         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13490
13491         * paragraph.C (getWord): removed.
13492
13493         * BufferView_pimpl.C (Dispatch): use last word or selection for
13494         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13495
13496         * lyx_main.C (queryUserLyXDir): do not ask before creating
13497         user_dir, except if it has been named explicitely.
13498
13499 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13500
13501         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13502         a document of zero size.
13503
13504 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13505
13506         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13507         approriately in the c-tor and in require().
13508         (getPackages): output the appropriate LaTeX for natbib support.
13509
13510         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13511         variables "use_natbib" and "use_numerical_citations" when reading the
13512         LyX file.
13513         (readInset): read the various natbib cite commands.
13514         (validate): white-space change.
13515
13516         * bufferparams.[Ch]: new variables "bool use_natbib" and
13517         "bool use_numerical_citations".
13518         (writeFile): output them in the LyX file.
13519
13520 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13521
13522         * lyxfunc.C (getStatus): add support for all the inset insertion
13523         commands.
13524
13525         * text2.C (insertInset):
13526         * paragraph.C (insetAllowed):
13527         * BufferView_pimpl.C (insertInset): update to take in account the
13528         renaming of insertInsetAllowed
13529
13530         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13531
13532         * text2.C (getInset): new method. returns inset at cursor position.
13533
13534         * BufferView_pimpl.C (Dispatch): changes because of this.
13535
13536         * LyXAction.C (init): rename open-stuff to inset-toggle.
13537
13538         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13539
13540         * text2.C (toggleInset): renamed from openStuff; use
13541         Inset::open().
13542
13543 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13544
13545         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13546
13547         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13548
13549 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13550
13551         * buffer.C (readLyXformat2): Add filename to the error dialog
13552
13553 2001-07-18  Juergen Vigna  <jug@sad.it>
13554
13555         * tabular.C (GetCellNumber): put an assert here instead of the check!
13556
13557 2001-07-17  Juergen Vigna  <jug@sad.it>
13558
13559         * BufferView_pimpl.C (toggleSelection): adapted too.
13560
13561         * text.C (selectNextWord): adapted for use with insets.
13562         (selectSelectedWord): ditto
13563
13564 2001-07-17  Juergen Vigna  <jug@sad.it>
13565
13566         * sp_spell.C (PSpell): fix initialitation order.
13567
13568 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13569
13570         * paragraph.C: spacing
13571
13572 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13573
13574         * sp_spell.C: repair language selection for pspell
13575
13576 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13577
13578         * lyxfunc.h: change more methods to begin with lower char.
13579
13580 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13581
13582         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13583         for unknown layouts.
13584
13585 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13586
13587         * buffer.C (readLyXformat2): Generate an error dialog if there are
13588         unknown layouts.
13589
13590 2001-07-16  Juergen Vigna  <jug@sad.it>
13591
13592         * sp_spell.C: always compile ISpell part.
13593
13594         * lyxrc.C: added use_pspell entry and it's handling.
13595
13596 2001-07-13  Juergen Vigna  <jug@sad.it>
13597
13598         * sp_spell.C: removed double includes.
13599
13600 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13601
13602         Consistent use of Lsstream.h:
13603         * Lsstream.h: added using std::stringstream for consistencies sake.
13604
13605         * buffer.C: removed using std::stringstream
13606
13607         * lyxfont.C (stateText):
13608         * paragraph.C (asString):
13609         * text.C (selectNextWord, selectSelectedWord):
13610         * text2.C (setCounter):
13611         * vspace.C (asString, asLatexString):
13612         std::ostringstream -> ostringstream.
13613
13614 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13615
13616         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13617         * commandtags.h: add LFUN_HELP_ABOUTLYX
13618         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13619
13620 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13621
13622         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13623         cursorToggle()
13624         * lyx_gui_misc.C: remove spellchecker
13625         * lyxfunc.C: showSpellchecker
13626         * sp_base.h: added
13627         * sp_ispell.h: added
13628         * sp_pspell.h: added
13629         * sp_spell.C: added
13630         * sp_form.[Ch]: removed
13631         * spellchecker.[Ch]: removed
13632
13633 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13634
13635         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13636         is set.
13637         (simpleTeXSpecialChars): Simply print the input character without
13638         any special translation if pass_thru is set.
13639
13640         * layout.h: Added bool pass_thru to layout class for being able to
13641         implement pass through of a paragraph for Literate Programming.
13642
13643         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13644         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13645         * layout.C (Read): add "passthru" to list of layout tags and add
13646         code to set the pass_thru boolean when it is read.
13647
13648 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13649
13650         * trans_decl.h: remove allowed from KmodInfo
13651
13652         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13653         remove allowed code
13654         (Load): adjust
13655
13656         * paragraph_pimpl.C (erase): use boost::prior
13657
13658         * Painter.C (text): use data() instead of c_str() when length is
13659         also provided.
13660         * WorkArea.C (putClipboard): ditto
13661         * font.h (width): ditto
13662
13663         * BufferView2.C: use it-> instead of (*it). for iterators
13664         * texrow.C: ditto
13665         * paragraph_pimpl.C: ditto
13666         * paragraph.C: ditto
13667         * minibuffer.C: ditto
13668         * language.C: ditto
13669         * kbmap.C: ditto
13670         * encoding.C: ditto
13671         * counters.C: ditto
13672         * converter.C: ditto
13673         * chset.C: ditto
13674         * Variables.C: ditto
13675         * TextCache.C: ditto
13676         * MenuBackend.C: ditto
13677         * LyXAction.C: ditto
13678         * LColor.C: ditto
13679         * FloatList.C: ditto
13680         * DepTable.C: ditto
13681         * ColorHandler.C (LyXColorHandler): ditto
13682
13683 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13684
13685         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13686
13687         * text2.C (openStuff): reintroduce this method (which had been
13688         nuked in NEW_INSETS frenzy).
13689
13690         * lyxfunc.C (Dispatch): when an action has not been handled, use
13691         its name in the error message, not its number.
13692
13693         * paragraph.C (inInset): change method name to begin with lowercase.
13694
13695         * undo_funcs.C:
13696         * text2.C: updates because of this.
13697
13698 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13699
13700         * ToolbarDefaults.C (add): add spaces in error message
13701
13702 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13703
13704         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13705         (readLyXformat2): rename return_par to first_par, use lyxlex's
13706         pushToken and remove the manual push handling.
13707         (parseSingleLyXformat2Token): add another ert comp. variable:
13708         in_tabular, rename return_par to first_par. handle newlines better
13709
13710 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13711
13712         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13713
13714 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13715
13716         * text2.C (getParFromID): removed
13717
13718         * buffer.C (getParFromID): new method moved form lyxtext.
13719         * BufferView2.C (insertErrors): adjust
13720         (setCursorFromRow): adjust
13721         * BufferView_pimpl.C (restorePosition): adjust
13722         * lyxfunc.C (Dispatch): adjust
13723         * undo_funcs.C (textUndo): adjust
13724         (textRedo): adjust
13725         (textHandleUndo): adjust
13726         (textHandleUndo): adjust
13727
13728 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13729
13730         * buffer.C: up' the LYX_FORMAT
13731
13732         * lyxfont.h: turn NO_LATEX on as default
13733
13734         * buffer.C (insertErtContents): new methods of tex style compability.
13735         (parseSingleLyXformat2Token): use it several places.
13736         * tabular.C (OldFormatRead): and here
13737
13738 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13739
13740         * text2.C: remove some commented code.
13741         reindent file.
13742
13743         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13744         * trans.C: changes because of the above.
13745
13746 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13747
13748         * text2.C (setCounter): Fix counters bug with bibliography layout.
13749
13750 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13751
13752         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13753         own member functions
13754         (simpleTeXSpecialChars): ditto
13755
13756 2001-07-06  Juergen Vigna  <jug@sad.it>
13757
13758         * a lot of files: changed the access to LyXText::status and the
13759         call of undo-functions.
13760
13761         * undo.[Ch]: added a inset_id to the undo informations.
13762
13763         * undo_funcs.[Ch]: added and moved here all undo functions.
13764
13765         * lyxtext.h: give the status enum a weight, made status_ a private
13766         variable and made accessor functions for it, removed the whole bunch
13767         of undo-functions as they are now in their own file, make some
13768         functions publically available. Added function ownerParagraph with
13769         int parameter.
13770
13771         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13772         made InInset() a const function, added getParFromID() function.
13773
13774         * buffer.[Ch]: added const version for inset_iterator functions,
13775         added getInsetFromID() function.
13776
13777         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13778         changed undo functions for new version.
13779
13780 2001-07-05  Juergen Vigna  <jug@sad.it>
13781
13782         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13783         unknow mechanism does not call the proper constructor but only this
13784         one also if I request the other!?
13785
13786 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13787
13788         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13789
13790         * text2.C (LyXText): use initialization lists.
13791
13792         * lyxtext.h (Selection): initialize set_ and mark_
13793         (init): remove method
13794
13795 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13796
13797         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13798
13799 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13800
13801         * screen.[Ch]: change method names to begin with lowercase
13802
13803         * BufferView_pimpl.C (updateScrollbar): simplify further and
13804         hopefully make it a bit faster.
13805
13806 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13807
13808         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13809         calling directly xforms functions.
13810
13811         * Painter.C (Painter):
13812         * lyx_cb.C (MenuWrite):
13813         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13814         fl_display.
13815
13816         * lyx_gui.C: remove bogus guiruntime extern declaration.
13817
13818 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13819
13820         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13821         in NEW_INSETS
13822         (redoDrawingOfParagraph): ditto
13823         (redoParagraphs): ditto
13824         (cutSelection): don't create a object for CutAndPaste use the
13825         static method directly
13826         (pasteSelection): ditto
13827
13828         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13829         LyXview (+ rename)
13830
13831 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13832
13833         * modifications to some other files because of this.
13834
13835         * Makefile.am (lyx_SOURCES): add XFormsView
13836
13837         * XFormsView.[Ch]: new files
13838
13839         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13840         the main window. Move the gui dependent stuff to XFormsView
13841
13842 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13843
13844         * tabular.C (GetCellInset): update cur_cell also in the row/col
13845         version of this function.
13846
13847         * lyxfunc.C: no need to include figure_form.h here.
13848
13849         * FontLoader.h:
13850         * lyxfunc.h:
13851         * lyxscreen.h:
13852         * text2.C:
13853         * lyxvc.C: no need to include forms.h here.
13854
13855 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13856
13857         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13858
13859         * lyxfunc.C (Dispatch):
13860         * Spacing.C (set):
13861         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13862         constructor argument.
13863
13864 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13865
13866         * paragraph.C (Paragraph): dont't clear, and just set layout.
13867         (makeSameLayout): use params's copy contructor.
13868
13869         * ParagraphParameters.[Ch] (makeSame): delete method
13870
13871 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13872
13873         * Variables.[Ch]: fix indentation, rename set to isSet
13874
13875 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13876
13877         * lyxfunc.C (Dispatch): fix typo
13878
13879 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13880
13881         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13882         upper_bound.
13883
13884         * bufferlist.C: include assert.h for emergencyWrite().
13885
13886 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13887
13888         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13889           give up at last (bug #425202) !
13890
13891 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13892
13893         * lyx_gui_misc.C:
13894         * sp_form.h:
13895         * sp_form.C:
13896         * spellchecker.h:
13897         * spellchecker.C: strip spellchecker options and bring up
13898           preferences tab instead
13899
13900 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13901
13902         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13903         the istringstream constructor
13904
13905 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13906
13907         * paragraph.C (getLayout): fix return value
13908
13909         * paragraph.h: do not declare getLayout as inline.
13910
13911         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13912
13913 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13914
13915         * lyxcursor.h (operator<): new func
13916         (operator>): new func
13917         (operator>=): new func
13918         (operator<=): new func
13919
13920         * text.C (changeCase): use selection.start and selection.end
13921         (changeRegionCase): require from to be <= to. Require par to be a
13922         valid paragraph.
13923
13924         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13925
13926 2001-06-27  Juergen Vigna  <jug@sad.it>
13927
13928         * text.C (cursorLeftOneWord): changed to return the cursor and added
13929         overlay with BufferView * parameter which calls this one.
13930         (getWord): added
13931         (selectWord): use new getWord function.
13932         (changeCase): renamed from changeWordCase as and extended to work
13933         also on selections.
13934
13935         * lyxtext.h: added enum word_location
13936
13937         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13938         changeCase as this operates now also on selections.
13939
13940 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13941
13942         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13943
13944         * many files: send debug output to Debug::INFO instead of
13945         Debug::ANY.
13946
13947         * converter.C (View):
13948         (Convert):
13949         (Move): send debug output to Debug::FILES instead of console.
13950
13951 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13952
13953         * lyxfunc.C (getStatus): use func_status
13954
13955         * func_status.h: new header, describing the results of
13956         LyXFunc::getStatus;
13957
13958         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13959         LFUN_MATH_HALIGN.
13960
13961 2001-06-25  The LyX Project  <jug@sad.it>
13962
13963         * buffer.C (sgmlOpenTag):
13964         (sgmlCloseTag):
13965         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13966
13967 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13968
13969         * text2.C: remove some dead code
13970
13971         * tabular.C (GetCellInset): store the last cell checked (gotten)
13972
13973         * tabular.h: add the helper for the speedup
13974
13975         * lyxtext.h: remove some dead code
13976
13977 2001-06-26  The LyX Project  <Asger>
13978
13979         * paragraph.C: Change export to LaTeX of alignment to
13980         \begin{center} and family for better roundtrip work with reLyX.
13981
13982         * Tune the math drawing a bit.
13983
13984 2001-06-25  The LyX Project  <Asger>
13985
13986         * LColor.C (LColor): New color for math background. New color
13987         for buttons.
13988
13989 2001-06-25  The LyX Project  <jug@sad.it>
13990
13991         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13992
13993         * lyxfunc.C (Open):
13994         * bufferlist.C (newFile): do not restrict to files ending with
13995         .lyx
13996
13997         * BufferView_pimpl.C (MenuInsertLyXFile):
13998
13999 2001-06-24  The LyX Project  <jug@sad.it>
14000
14001         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14002         of compare_no_case
14003
14004 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14005
14006         * lyxtext.h: rename most methods to begin with a small char.
14007         Lots of changes because of this.
14008
14009         * paragraph.C (Paragraph): do not call fitToSize
14010         (erase): call Pimpl::erase
14011         (insertChar): call Pimpl::insertChar
14012         (insertInset): call Pipl::insertInset
14013         (breakParagraph): do not call fitToSize
14014         (breakParagraphConservative): do not call fitToSize
14015         (fitToSize): remove method
14016
14017         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14018
14019 2001-06-24  The LyX Project  <Asger>
14020
14021         * Fix Qt compilation^2
14022
14023 2001-06-24  The LyX Project  <jug@sad.it>
14024
14025         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14026         depthHook(getDepth()-1).
14027
14028         * paragraph.h:
14029         * ParagraphParameters.h:
14030         * ParameterStruct.h: change type of depth to unsigned int ==
14031         depth_type. Many adaptations to other files before of that.
14032
14033 2001-06-24  The LyX Project  <Asger>
14034
14035         * Fix Qt compilation.
14036
14037 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14038
14039         * paragraph.h: renamed several methods to begin with small letter.
14040         several changes to many parts of the code because of this.
14041
14042 2001-06-23  The LyX Project  <jug@sad.it>
14043
14044         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14045         rewritten to discard all double spaces when KeepEmpty is off
14046         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14047         to only handle newlines but not fiddle with spaces and friends.
14048
14049         * lyxfunc.C (MenuNew): when doing 'new from template', use
14050         template_path as default directory
14051
14052 2001-06-23  The LyX Project  <Asger>
14053
14054         * Clean-up of header file includes all over
14055         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14056
14057 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14058
14059         * paragraph.h: renamed from lyxparagraph.h
14060
14061 2001-06-23  Asger  <lyx@violet.home.sad.it>
14062
14063         * Buffer.h: Removed Buffer::resize
14064         * BufferList.h: Removed BufferList::resize
14065         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14066         the document lazily when we change the width, or the font settings.
14067
14068 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14069
14070         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14071
14072 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14073
14074         * buffer.h: remove out of date comment
14075
14076 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14077
14078         * lyxscreen.h:
14079         * screen.C: fix "theoretical" GC leak
14080
14081 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14082
14083         * LaTeX.C (scanAuxFile):
14084         (deplog): remove trailing \r when reading stream (useful under
14085         win32)
14086
14087 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14088
14089         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14090         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14091         and BufferView::theLockingInset(Inset*), so should use them and not
14092         access bv_->text->the_locking_inset directly.
14093
14094         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14095
14096 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14097
14098         * Makefile.am:
14099         * tex-defs.h: remove old unused file
14100
14101 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14102
14103         * BufferView_pimpl.C: fix typo, remove minibuffer message
14104           when buffer has loaded
14105
14106 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14107
14108         * lyxfunc.C (Dispatch): use stringstream
14109         (MenuNew): use stringstream
14110         (Open): use stringstream
14111
14112         * importer.C (Import): use stringstream
14113
14114         * bufferview_funcs.C (CurrentState): use stringstream
14115
14116         * LaTeX.C (run): use stringstream
14117
14118         * BufferView_pimpl.C (savePosition): use stringstream
14119         (restorePosition): use stringstream
14120         (MenuInsertLyXFile): use stringstream
14121
14122 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14123
14124         * BufferView.C:
14125         * Bullet.C:
14126         * ColorHandler.C:
14127         * FontInfo.C:
14128         * FontLoader.C:
14129         * LColor.C:
14130         * LaTeXFeatures.C:
14131         * Painter.C:
14132         * gettext.C:
14133         * lyx_gui_misc.C:
14134         * lyxserver.C:
14135         * vspace.C: removed // -*- C++ -*- as first line.
14136
14137         * lyxfind.h:
14138         * version.h: added // -*- C++ -*- as first line.
14139
14140 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14141
14142         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14143
14144         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14145         of string
14146
14147 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14148
14149         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14150         of floats.
14151
14152 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14153
14154         * gettext.C: include LString.h even when --disable-nls is on.
14155
14156 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14157
14158         * converter.h (Get): changed argument type from int to
14159         FormatList::size_type to avoid unnecessary conversion.
14160
14161         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14162         before using it.
14163
14164 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14165
14166         * gettext.h: include LString.h even when --disable-nls is on.
14167
14168 2001-06-07  Juergen Vigna  <jug@sad.it>
14169
14170         * text.C (BreakAgain): subst spaces with tabs.
14171
14172         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14173         (resizeInsetsLyXText): set force on resizeLyXText.
14174
14175 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14176
14177         * gettext.h (gettext_init):
14178         (locale_init): use a real definition instead of a macro
14179
14180 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14181
14182         * Bufferview_pimpl.C:
14183         * LColor.h:
14184         * LColor.C: further lcolor tidies
14185
14186 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14187
14188         * BufferView_pimpl.C (updateScrollbar): simplify.
14189
14190         * BufferView2.C: don't include insets/insetinfo.h, change
14191         prototype for insertInset and call the Pimpl version. let
14192         updateInset call Pimpl version.
14193
14194         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14195         gotoInset to BufferView::Pimpl
14196
14197 2001-06-01  Juergen Vigna  <jug@sad.it>
14198
14199         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14200         inside a LockingInset (is the update needed at all?).
14201
14202 2001-05-31  Juergen Vigna  <jug@sad.it>
14203
14204         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14205         here not the old one otherwise how should we compare it afterwards
14206         if it's the same!
14207
14208 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14209
14210         * lyxfont.C:
14211         * tabular.C:
14212         * tabular-old.C:
14213         * FontInfo.C: bring C functions into global namespace when
14214         necessary
14215
14216 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14217
14218         * LString.h: make sure config.h has been loaded before LString.h.
14219
14220         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14221         (one for each char read by EatLine!).
14222
14223         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14224         variables.
14225
14226 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14227
14228         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14229         to the same as the par we break from
14230
14231 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14232
14233         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14234
14235         * MenuBackend.C (expand): also create menu entries for wide
14236         versions of the floats.
14237
14238         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14239
14240         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14241
14242         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14243         frontends/Makefile.am
14244
14245         * text2.C: adjust
14246         * text.C: adjust
14247
14248
14249         * tabular.C (getTokenValue): add std::
14250
14251         * tabular-old.C (getTokenValue): add std::
14252         (getTokenValue): ditto
14253         (getTokenValue): ditto
14254
14255         * screen.C (ToggleSelection): adjust
14256
14257         * lyxtext.h: put selection cursors inside a Selection struct.
14258
14259         * lyxfunc.C (moveCursorUpdate): adjust
14260
14261         * lyxfont.C (latexWriteStartChanges): add std::
14262
14263         * lyxfind.C: adjust
14264
14265         * font.h: delete with(char const *, LyXFont const &)
14266
14267         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14268
14269         * FontInfo.C (getFontname): add std::
14270
14271         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14272         (workAreaButtonPress): adjust
14273         (tripleClick): adjust
14274         (update): adjust
14275         (moveCursorUpdate): adjust
14276         (Dispatch): adjust
14277
14278         * BufferView2.C (gotoInset): adjust
14279
14280 2001-05-30  Juergen Vigna  <jug@sad.it>
14281
14282         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14283         to check pspell I add this as default as I now have new pspell
14284         libraries and they seem to use this.
14285
14286 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14287
14288         * text2.C (CutSelection): make the cursor valid before the call to
14289         ClearSelection.
14290
14291 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14292
14293         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14294         relied on 0 terminated strings and other horrors. Bug found due to
14295         the new assert in lyxstring!
14296
14297         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14298         KP_ keys.
14299
14300 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14301
14302         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14303         to latinkeys.bind.
14304
14305         * lyxfunc.C (processKeySym): change method of getting to the
14306         self-insert char.
14307
14308         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14309         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14310         * BufferView_pimpl.[Ch]: here as private methods.
14311
14312 2001-05-28  Juergen Vigna  <jug@sad.it>
14313
14314         * text.C (SetHeightOfRow): added the update() call again as it is
14315         needed to initialize inset dimensions!
14316
14317 2001-05-16  Juergen Vigna  <jug@sad.it>
14318
14319         * text2.C (SetCharFont): Add new function with BufferView * and
14320         bool toggleall parameters for setting insets internal fonts.
14321         (SetFont): Freeze the undo as we may change fonts in Insets and
14322         all this change should be inside only one Undo!
14323
14324         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14325         setting font's in insets as for them we have the SetFont function!
14326
14327 2001-05-15  Juergen Vigna  <jug@sad.it>
14328
14329         * text2.C (ClearSelection): to be sure we REALLY don't have any
14330         selection anymore!
14331
14332         * tabular.C (TeXCellPreamble): fixed the left border problem for
14333         multicolumn cells.
14334
14335 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14336
14337         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14338         dependancy file
14339
14340 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14341
14342         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14343         LFUN_BREAKPARAGRAPH.
14344
14345         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14346         help test to "internal only", similar for LFUN_INSERT_URL
14347
14348         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14349         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14350         auto_region_delete and deadkeys.
14351
14352 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14353
14354         * LColor.h:
14355         * LColor.C: remove some dead entries, tidy a little
14356
14357 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14358
14359         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14360         commented code.
14361         (Dispatch): implement LFUN_ESCAPE
14362
14363         * commandtags.h: add LFUN_ESCAPE
14364
14365         * LyXAction.C (init): add entry for LFUN_ESCAPE
14366
14367         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14368         Remove commented code.
14369         (insertNote): moved here
14370         (open_new_inset): moved here
14371
14372         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14373         BufferView_pimpl
14374
14375 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14376
14377         * kbmap.C (findbinding): clean it up and make it work correctly.
14378
14379         * lyx_main.C (init): do not pass argc and argv as parameters
14380
14381 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14382
14383         * buffer.C: fix path for OS/2 & Win32
14384
14385         * lyx_gui.C:
14386         * lyx_main:
14387         * lyx_main.C: Added os:: class.
14388
14389         * os2_defines.h: update
14390
14391 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14392
14393         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14394         better by trying again with reduced state.
14395
14396 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14397
14398         * lyxrc.C (read): print error about invalid key sequence only when
14399         debugging (because not all latinX keysyms are known to some X
14400         servers)
14401
14402         * kbsequence.C (getiso): add a few std:: qualifiers
14403         (getiso): comment out extra return statement.
14404
14405 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14406
14407         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14408         handling.
14409         (Dispatch): enhance the accent inset a bit. (not perfect)
14410
14411 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14412
14413         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14414
14415 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14416
14417         * bufferlist.C (emergencyWrite): fix assert() call
14418
14419 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14420
14421         * text.C (InsertChar): Added trivial patch to only send the "you
14422         can not do multiple spaces this way" message once during a
14423         session.
14424
14425 2001-05-08  Baruch Even  <baruch@lyx.org>
14426
14427         * Makefile.am: Changed order of libraries to get LyX to link properly
14428         with the gnome frontend.
14429
14430 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14431
14432         * LaTeXFeatures.h: add a std:: qualifier
14433
14434 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14435
14436         * paragraph.C (String): use stringstream
14437
14438 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14439
14440         * paragraph.C (writeFile): remove footflag arg
14441
14442         * buffer.C (makeLaTeXFile): use stringstream
14443         (latexParagraphs): remove footnot gurba
14444
14445         * LaTeXFeatures.C (getPackages): use stringstream
14446         (getMacros): likewise
14447         (getTClassPreamble): likewise
14448         (getFloatDefinitions): new method
14449
14450         * paragraph.C (writeFile): reindent
14451         (Erase): reindent
14452
14453         * WorkArea.h: revert the xpos + etc changes.
14454
14455         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14456
14457         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14458
14459         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14460         (pasteSelection): likewise
14461         * text2.C (CreateUndo): likewise
14462
14463 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14464
14465         * minibuffer.C (peek_event): temporarily reduce the functionality
14466         of the minibuffer (to allow args on lfuns)
14467
14468         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14469         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14470
14471         * buffer.C (readInset): add compability reading of old float
14472         lists, add reading of new style float list.
14473         (readInset): avoid reevaluation of inscmd.getCmdName()
14474         (getLists): reindent
14475
14476         * MenuBackend.C (MenuItem): implement parsing of
14477         md_floatlistinsert and md_floatinsert.
14478         (expand::LastFiles): move initalizaton of iterators out of loop,
14479         avoid reevaluation.
14480         (expand::Documents): introduce typdedef vector<string> Strings,
14481         and use it.
14482         (expand::ExportFormats): introduce typedef vector<Format const *>
14483         Formats, and use it.
14484         (expand): implement FloatListInsert and FloatInsert.
14485
14486         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14487         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14488         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14489
14490         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14491         handling.
14492         (Dispatch::LFUN_FLOAT_LIST): implement
14493
14494 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14495
14496         * LaTeX.C (run): Fix problem with --export code.
14497
14498 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14499
14500         * BufferView.[Ch] (workarea): removed.
14501         (getClipboard) new method; wrapper for workarea()->getClipboard()
14502
14503         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14504         bug.
14505
14506         * WorkArea.h (width, height, xpos, ypos): These methods all
14507         returned the dimensions of the work_area sub-area of WorkArea,
14508         resulting in a position error if the WorkArea were resized. Now
14509         return the dimensions of the entire WorkArea.
14510
14511         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14512
14513 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14514
14515         * LaTeX.C (deplog): correct the syntax of regex reg1
14516
14517 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14518
14519         * undo.C: remove !NEW_INSETS cruft
14520
14521 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14522
14523         * text2.C: remove !NEW_INSETS cruft
14524
14525         * text.C: remove !NEW_INSETS cruft
14526
14527         * tabular.C: remove !NEW_INSETS cruft
14528
14529         * spellchecker.C: remove !NEW_INSETS cruft
14530
14531         * lyxtext.h: remove !NEW_INSETS cruft
14532
14533         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14534
14535         * lyxfunc.C: remove !NEW_INSETS cruft
14536
14537         * lyxfind.C: remove !NEW_INSETS cruft
14538
14539         * lyx_cb.C: remove !NEW_INSETS cruft
14540
14541         * figureForm.C: remove  !NEW_INSETS cruft
14542
14543         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14544
14545         * buffer.[Ch]: remove !NEW_INSETS cruft
14546
14547         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14548
14549         * CutAndPaste.C: remove !NEW_INSETS cruft
14550
14551         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14552
14553         * BufferView2.C: remove !NEW_INSETS cruft
14554
14555         * BufferView.h: remove !NEW_INSETS cruft
14556
14557 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14558
14559         * Lsstream.h: include LString.h before the sstream headers to
14560         fix problem with gcc 2.95.3 and lyxstring
14561
14562 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14563
14564         * lyx_main.C: add using directives when needed for C functions
14565         declared in std:: namespace.
14566
14567 2001-04-27  Juergen Vigna  <jug@sad.it>
14568
14569         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14570         (SetHeightOfRow): comment out the update call should not be needed!
14571
14572 2001-04-13  Juergen Vigna  <jug@sad.it>
14573
14574         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14575         (LyXTabular): tried to minimize operator= operations (and realized
14576         hopfully Lars wish).
14577
14578 2001-04-27  Juergen Vigna  <jug@sad.it>
14579
14580         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14581
14582 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14583
14584         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14585
14586         * buffer.C (readInset): hack to make listof algorithm work
14587
14588         * BufferView_pimpl.C: hack to make listof algorithm work
14589
14590 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14591
14592         * LyXAction.C: removed all !NEW_INSETS cruft
14593         (init): moved lfun_item in method
14594
14595         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14596
14597 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14598
14599         * BufferView2.C (theLockingInset): white space.
14600
14601 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14602
14603         * minibuffer.C: include <iostream>
14604
14605         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14606
14607         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14608
14609         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14610
14611         * text.[Ch] (TransposeChars): new method
14612
14613 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14614
14615         * call message directly through LyXView instead of through LyXFunc
14616         * BufferView2.C: adjust
14617         * BufferView_pimpl.C: adjust
14618         * FontLoader.C: adjust
14619         * buffer.C: adjust
14620         * bufferview_funcs.C: adjust
14621         * converter.C: adjust
14622         * figureForm.C: adjust
14623         * importer.C: adjust
14624         * lyx_cb.C: adjust
14625         * lyx_gui_misc.C: adjust
14626         * lyxfunc.C: adjust
14627         * lyxvc.C: adjust
14628         * text2.C: adjust
14629         + more files in subdirs
14630
14631         * lyxparagraph.h (size): move up int file
14632         (GetLayout): ditto
14633
14634         * adjust all uses of Assert to lyx::Assert.
14635
14636         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14637         lyxfunctional in namespace lyx
14638         * layout.C (hasLayout): ditto
14639         (GetLayout): ditto
14640         (GetLayout): ditto
14641         (delete_layout): ditto
14642         (NumberOfClass): ditto
14643         * converter.C (GetFormat): ditto
14644         (GetNumber): ditto
14645         (Add): ditto
14646         (Delete): ditto
14647         (SetViewer): ditto
14648         * bufferlist.C (getFileNames): ditto
14649         (emergencyWriteAll): ditto
14650         (exists): ditto
14651         (getBuffer): ditto
14652         * MenuBackend.C (hasSubmenu): ditto
14653         (hasMenu): ditto
14654         (getMenu): ditto
14655         * BufferView_pimpl.C (getInsetByCode): ditto
14656
14657 2001-04-18  Juergen Vigna  <jug@sad.it>
14658
14659         * vspace.C (asLatexString): fixed the 100% problem.
14660
14661 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14662
14663         * lyxfunc.C (Dispatch):
14664         * minibuffer.C:
14665         * minibuffer.h: add a few std:: qualifiers
14666
14667 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14668
14669         * minibuffer.[Ch]: reimplement so that commands is initiated and
14670         run from lyxfunc, simplified som handling, and made the completion
14671         and history code for complete. wip.
14672
14673         * lyxfunc.C (processKeySym): call message
14674         (miniDispatch): new temporary method
14675         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14676         (LFUN_MESSAGE): implement
14677         (LFUN_MESSAGE_PUSH): implement
14678         (LFUN_MESSAGE_POP): implement
14679         (initMiniBuffer): the initial/defualt minibuffer message.
14680
14681         * lyxfont.[Ch]: inline some more getters
14682
14683         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14684
14685         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14686
14687         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14688         (AutoSave): use LFUN_MESSAGE
14689         (Reconfigure): ditto
14690
14691         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14692
14693         * figureForm.C: use LFUN_MESSAGE
14694
14695         * converter.C (runLaTeX): use LFUN_MESSAGE
14696
14697         * bufferview_funcs.C: use LFUN_MESSAGE
14698         (Melt): ditto
14699         (changeDepth): ditto
14700
14701         * bufferparams.h: use boost::
14702
14703         * bufferlist.h: inherit privately from noncopyable
14704
14705         * bufferlist.C (loadLyXFile): remove some commented code.
14706
14707         * buffer.C (runChktex): use LFUN_MESSAGE
14708
14709         * ShareContainer.h: inherit privately from noncopyable
14710
14711         * ParagraphParameters.[hC] (depth): inline it.
14712
14713         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14714         methods.
14715         (message): new method
14716         (messagePush): ditto
14717         (messagePop): ditto
14718         (show): init minibuffer
14719         (showState): direct call
14720
14721         * LaTeX.[Ch]: inherit privately from noncopyable
14722         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14723         instead of WriteStatus.
14724
14725         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14726
14727         * BufferView_pimpl.C (buffer): don't init minibuffer
14728         (workAreaButtonPress): use LFUN_MESSAGE
14729         (workAreaButtonRelease): ditto
14730         (savePosition): ditto
14731         (restorePosition): ditto
14732         (MenuInsertLyXFile): ditto
14733         (workAreaExpose): don't init minibuffer
14734         (update): remove commented code, simplify
14735
14736         * BufferView2.C (openStuff): use LFUN_MESSAGE
14737         (toggleFloat): ditto
14738         (menuUndo): ditto
14739         (menuRedo): ditto
14740         (copyEnvironment): ditto
14741         (pasteEnvironment): ditto
14742         (copy): ditto
14743         (cut): ditto
14744         (paste): ditto
14745         (gotoInset): ditto
14746         (updateInset): remove some commented code
14747
14748         * lastfiles.h: inherit privately from noncopyable
14749         * layout.h: ditto
14750         * lyx_gui.h: ditto
14751         * lyx_main.h: ditto
14752         * lyxlex.h: ditto
14753         * lyxlex_pimpl.h: ditto
14754
14755         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14756         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14757         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14758
14759         * LyXAction.h: inherit privately from noncopyable, add methods
14760         func_begin, func_end, returning iterators to the func map.
14761
14762         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14763         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14764         (func_begin): new method
14765         (func_end): new method
14766
14767         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14768         and not)
14769         (copySelection): ditto
14770         (pasteSelection): ditto
14771
14772         * BufferView.C: whitespace change
14773         * BufferView.h: inherit privately from noncopyable
14774
14775 2001-04-16  Allan Rae  <rae@lyx.org>
14776
14777         * tabular-old.C (l_getline):
14778         * spellchecker.C (sc_check_word):
14779         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14780         an unrecognised preprocessor directive.  So ensure they're wrapped.
14781
14782 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14783
14784         * src/exporter.C (Export): Give an error message when path to file
14785         contains spaces.
14786
14787 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14788
14789         * LaTeX.C (deplog): Always check that foundfile exists.
14790
14791 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14792
14793         * lyx_main.h:
14794         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14795
14796 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14797
14798         * tabular.[Ch] (getLabelList): implement new method
14799
14800         * minibuffer.h: comment ouf setTiimer
14801
14802         * minibuffer.C (ExecutingCB): constify res
14803         (peek_event): constify s
14804         (Set): constify ntext
14805         (Init): constify nicename
14806
14807         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14808
14809         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14810         (savePosition): use two params to Minibuffer::Set
14811         (restorePosition): ditto
14812
14813 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14814
14815         * lyx_main.C: include language.h
14816
14817         * Makefile.am (lyx_main.o): add language.h
14818
14819 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14820
14821         * exporter.C:
14822         * paragraph.C:
14823         * screen.C:
14824         * tabular.C:
14825         * CutAndPaste.C: include gettext.h
14826
14827         * lyxfont.h: remove old hack with ON and OFF.
14828
14829         * lyxparagraph.h:
14830         * lyxfont.h: do not include language.h...
14831
14832         * BufferView2.C:
14833         * LaTeXFeatures.C:
14834         * Painter.C:
14835         * bufferview_funcs.C:
14836         * font.C:
14837         * lyxfont.C:
14838         * text.C:
14839         * text2.C:
14840         * trans_mgr.C:
14841         * paragraph.C: ... but do it here instead
14842
14843 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14844
14845         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14846
14847         * tabular.C: small reformat
14848
14849         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14850         NEW_INSETS version
14851         (GetChar): ditto
14852         (BreakParagraph): ditto
14853         (SetOnlyLayout): ditto
14854         (SetLayout): ditto
14855
14856         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14857         with one arg less.
14858
14859         * lastfiles.C: removed most using decl, add std:: where needed
14860
14861         * buffer.C: ws changes
14862
14863         * MenuBackend.C (class compare_format): put into anon namespace
14864         (expand): constify label, names, action, action2
14865         (expand):
14866
14867         * text.C (SingleWidth): constify font
14868         (IsBoundary): constify rtl2
14869         (GetVisibleRow): constify ww
14870
14871         * LaTeX.C (deplog): constify logfile
14872
14873         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14874         start_x, end_x
14875         (workAreaExpose): constify widthChange, heightChange
14876
14877         * lyxrow.C (par): moved
14878         (height): moved
14879         (next): moved
14880         * lyxrow.h: as inlines here
14881
14882         * lyxfont.h (shape): moved from lyxfont.C
14883         (emph): moved from lyxfont.C
14884
14885         * lyxfont.C (LyXFont): use initialization list for all
14886         constructors
14887         (shape): move to lyxfont.h as inline
14888         (emph): move to lyxfont.h as inline
14889
14890
14891 2001-04-04  Juergen Vigna  <jug@sad.it>
14892
14893         * vspace.C: had to include stdio.h for use of sscanf
14894
14895 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14896
14897         * BufferView.h:
14898         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14899         independent of xforms.
14900
14901 2001-04-02  Juergen Vigna  <jug@sad.it>
14902
14903         * spellchecker.C: fixed namespace placing!
14904
14905 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14906
14907         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14908         the LyXParagraph * is 0.
14909
14910 2001-03-29  Juergen Vigna  <jug@sad.it>
14911
14912         * vspace.C: added support for %, c%, p%, l%.
14913         (stringFromUnit): added helper function.
14914         (asLatexString): changed to give right results for the %-values.
14915
14916         * buffer.C: convert the widthp in a width%.
14917
14918 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14919
14920         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14921         figureForm.[Ch].
14922
14923         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14924         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14925
14926         * lyx_cb.[Ch]: see above.
14927
14928         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14929         form1.[Ch].
14930
14931         * form1.[Ch]:
14932         * lyx.[Ch]: replaced by figure_form.[Ch].
14933
14934         * lyx_gui.C:
14935         * lyx_gui_misc.C:
14936         * lyxfunc.C: changed headers associated with above changes.
14937
14938 2001-03-27  Juergen Vigna  <jug@sad.it>
14939
14940         * BufferView_pimpl.C: set the temporary cursor right!
14941
14942 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14943
14944         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14945
14946 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14947
14948         * LString.h: removed "using std::getline"!
14949
14950         * BufferView_pimpl.C (Dispatch): changes due to changes in
14951         InsetInclude::Params.
14952
14953         * buffer.C (tag_name): removed redundant break statements as they were
14954         producing lots of warnings with my compiler.
14955
14956 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14957
14958         * LString.h: add "using std::getline" when using the real <string>.
14959
14960 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14961
14962         * buffer.C: removed bitset usage.
14963         PAR_TAG moved to an anonymous name space.
14964         (tag_name): new funtion, also in the anonymous namespace.
14965         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14966         (makeDocBookFile): clean code. Completed transition from string arrays
14967         to string vectors.
14968         (SimpleDocBookOnePar): code clean.
14969
14970 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14971
14972         * tabular.C: add some comments.
14973
14974 2001-03-22  Juergen Vigna  <jug@sad.it>
14975
14976         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14977         compatibility read a bit and fixed bug with minipage in different
14978         depth.
14979
14980 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14981
14982         * buffer.C (pop_tag): removed.
14983         (push_tag): removed.
14984         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14985         array replaced with vector. Added support for CDATA sections.
14986         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14987         at any nest level.
14988         (makeDocBookFile): XML conformant declaration of CDATA section,
14989         fixed bug related to <emphasis> in the first paragraph char.
14990         (sgmlOpenTag): exclude empty tags.
14991         (sgmlCloseTag): ditto.
14992
14993         * buffer.h (pop_tag): removed.
14994         (push_tag): removed.
14995
14996 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14997
14998         * language.h (Languages): added size_type and size().
14999
15000 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15001
15002         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15003         response on compability reading of minipages. One probliem is that
15004         the old usage of minipages was «flertydig»
15005
15006         * several files here and in subdirs: don't use static at file
15007         scope use anon namespaces instead.
15008
15009 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15010
15011         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15012         LaTeX output. This is necessary for Literate document
15013         processing.
15014
15015 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15016
15017         * buffer.C: insert hfill when needed.
15018
15019         * tabular.C (l_getline): use string::erase, small whitespace change.
15020
15021         * BufferView_pimpl.C: try the anon namespace.
15022         * WorkArea.C: ditto
15023
15024 2001-03-16  Juergen Vigna  <jug@sad.it>
15025
15026         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15027         otherwise it won't open options-dialogs.
15028
15029         * buffer.C: honor pextraWidth(p) on converting minipages.
15030
15031         * tabular.C (l_getline): changed the functions to strip trailing \r.
15032
15033 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15034
15035         * BufferView_pimpl.C:
15036         * minibuffer..C: added "using SigC::slot" declaration.
15037
15038 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15039
15040         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15041
15042         * text2.C: ditto
15043
15044         * text.C: ditto
15045
15046         * paragraph.C: ditto
15047
15048         * lyxtext.h: NO_PEXTRA
15049
15050         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15051
15052         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15053         * ParameterStruct.h: ditto
15054         * ParagraphParameters.h: ditto
15055         * lyxparagraph.h: ditto
15056
15057 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15058
15059         * buffer.C: add compability for minipage alignment.
15060         (latexParagraphs): remove unwanted pextra check.
15061
15062         * several files: remove CXX_WORKING_NAMESPACES
15063
15064         * buffer.C (pop_tag): tie is in namespace boost
15065
15066         * BufferView.h: noncopyable is in namespace boost
15067         * lyxlex.h: ditto
15068         * lyx_main.h: ditto
15069         * lyx_gui.h: ditto
15070         * layout.h: ditto
15071         * lastfiles.h: ditto
15072         * bufferlist.h: ditto
15073         * ShareContainer.h: ditto
15074         * LyXView.h: ditto
15075         * LyXAction.h: ditto
15076         * LaTeX.h: ditto
15077
15078 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15079
15080         * Merging changes from BRANCH_MVC back into HEAD.
15081
15082         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15083
15084 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15085
15086         * BufferView_pimpl.C: change from intl.C
15087
15088         * combox.h:
15089         * combox.C:
15090         * Makefile.am: move combox.*
15091
15092         * form1.h:
15093         * form1.C:
15094         * lyx_gui.C:
15095         * intl.h:
15096         * intl.C: remove dialog (covered by prefs)
15097
15098 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15099
15100         * lyxfunc.C (Dispatch): removed redundant break statement.
15101
15102 2001-03-14  Juergen Vigna  <jug@sad.it>
15103
15104         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15105
15106 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15107
15108         * buffer.C: add hack to fix compability reading of minipages.
15109
15110 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15111
15112         * buffer.C (getLists): Cleanup.
15113
15114 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15115
15116         * lyxfont.C (update): don't honor toggleall on font size.
15117
15118 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15119
15120         * bmtable.c:
15121         * bmtable.h:
15122         * Makefile.am: moved to frontends/xforms/
15123
15124         * lyx_gui_misc.C:
15125         * lyxfunc.C:
15126         * BufferView_pimpl.C: changes for moved mathpanel
15127
15128 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15129
15130         * gettext.h: fix gettext_init() in --disable-nls
15131
15132 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15133
15134         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15135
15136 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15137
15138         * lyx.C:
15139         * lyx.h: strip external form
15140
15141 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15142
15143         * BufferView_pimpl.C: add comment, destroySplash()
15144
15145 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15146
15147         * BufferView_pimpl.C:
15148         * LyXAction.C:
15149         * buffer.C:
15150         * commandtags.h:
15151         * lyxfunc.C: use re-worked insetinclude
15152
15153 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15154
15155         * buffer.C: add using std::stringstream.
15156
15157         * lyx_cb.C: readd using std::ios.
15158
15159         * buffer.C: add using std::map.
15160
15161         * BufferView_pimpl.C: add using std::vector.
15162
15163         * ShareContainer.h: add std:: to swap.
15164
15165         * buffer.h: add some typedefs
15166         * buffer.C (getLists): use them
15167         (getLists): renamed from getTocList.
15168         add a counter for the different float types and use it in the
15169         generated string.
15170         (getLists): use the same counter for the NEW_INSETS and the "non"
15171         NEW_INSETS
15172
15173         * lyx_cb.h: remove unused items, includes, using etc.
15174
15175         * ShareContainer.h: remove some commented code, add more comments
15176         and "documentation".
15177
15178 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15179
15180         * buffer.C (getTocList): make the list also when NEW_INSETS is
15181         defined.
15182
15183         * buffer.h: remove TocType
15184
15185         * buffer.C (getTocList): change to return a map<string,
15186         vector<TocItem> >, implement for dynamic number of list.
15187
15188         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15189         * text2.C (PasteSelection): adjust
15190         * CutAndPaste.C (pasteSelection): adjust
15191
15192         * FloatList.C (FloatList): update from the new_insets branch.
15193         * Floating.[Ch]: ditto
15194         * LaTeXFeatures.C: ditto
15195         * buffer.C: ditto
15196         * lyxlex_pimpl.C: ditto
15197
15198         * paragraph.C (Last): remove when NEW_INSETS is defined.
15199
15200         * other file: changes because of the above.
15201
15202 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15203
15204         * lyxparagraph.h: rename next to next_, previous to previous_,
15205         make them private for NEW_INSETS. Rename Next() to next(),
15206         Previous() to previous().
15207
15208         * other files: changes because of the above.
15209
15210 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15211
15212         * BufferView.h:
15213         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15214         problem.
15215
15216 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15217
15218         * main.C (main): pass lyx_localedir to gettext_init().
15219
15220         * gettext.h: remove locale_init and gettext_init macros
15221
15222         * gettext.C (locale_init): new function
15223         (gettext_init): new function
15224
15225         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15226         setlocale().
15227
15228 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15229
15230         * Moved credits to frontends:
15231         * credits.[Ch]: removed
15232         * credits_form.[Ch]: removed
15233         * lyx_gui_misc.C: remove credits stuff
15234         * Makefile.am:
15235
15236 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15237
15238         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15239
15240         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15241         unneeded destructor.
15242
15243         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15244         a standalone pointer again.
15245
15246         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15247
15248 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15249
15250         * Makefile.am:
15251         * filedlg.h:
15252         * filedlg.C:
15253         * LyXAction.C:
15254         * ToolbarDefaults.C:
15255         * bufferlist.C:
15256         * commandtags.h:
15257         * form1.C:
15258         * form1.h:
15259         * lyx_cb.C:
15260         * lyx_cb.h:
15261         * lyxfunc.h:
15262         * lyxfunc.C:
15263         * BufferView_pimpl.C: use new file dialog in GUII
15264
15265         * lyx_cb.h:
15266         * lyx_cb.C: remove LayoutsCB to Toolbar
15267
15268 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15269
15270         * ShareContainer.h (get): add std:: qualifier
15271
15272 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15273
15274         * ShareContainer.h: define a proper ShareContainer::value_type
15275         type (and use typename to please compaq cxx)
15276
15277 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15278
15279         * lyxparagraph.h: move serveral local vars to
15280         ParameterStruct/ParagraphParameters., use ShareContainer in
15281         FontTable., make vars in FontTable private and add getter and
15282         setter.
15283
15284         * paragraph.C: changes because of the above.
15285
15286         * lyxfont.h: remove copy constructor and copy assignment. (the
15287         default ones is ok), move number inside FontBits. move inlines to
15288         lyxfont.C
15289
15290         * lyxfont.C: add number to initializaton of statics, move several
15291         inlines here. constify several local vars. some whitespace
15292         cleanup. Dont hide outerscope variables.
15293
15294         * Spacing.h: add two new constructors to match the set methods.
15295
15296         * ShareContainer.h: new file, will perhaps be moved to support
15297
15298         * ParameterStruct.h: new file
15299
15300         * ParagraphParameters.h: new file
15301
15302         * ParagraphParameters.C: new file
15303
15304         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15305         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15306
15307         * BufferView_pimpl.C: ParagraphParameter changes.
15308         * buffer.C: Likewise.
15309         * bufferview_funcs.C: Likewise.
15310         * text.C: Likewise.
15311         * text2.C: Likewise.
15312
15313 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15314
15315         * lyxfind.C (LyXReplace): do not redefine default argument in
15316         implementation.
15317         (IsStringInText): ditto
15318         (SearchForward): ditto
15319         (SearchBackward): ditto
15320
15321 2001-03-06  Juergen Vigna  <jug@sad.it>
15322
15323         * lyxfind.C (IsStringInText): put parentes around expressions.
15324
15325 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15326
15327         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15328
15329 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15330
15331         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15332
15333         * stl_string_fwd.h: add comment
15334
15335         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15336
15337         * tabular.h:
15338         * tabular.C: remove unused DocBook methods
15339
15340         * intl.C:
15341         * language.C:
15342         * paragraph.C:
15343         * buffer.C:
15344         killed DO_USE_DEFAULT_LANGUAGE
15345
15346 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15347
15348         * lyx_gui.C: do not include language.h.
15349
15350         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15351         arguments in function implementation.
15352
15353 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15354
15355         * BufferView_pimpl.C: add <ctime>
15356
15357 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15358
15359         * BufferView_pimpl.C: add using std::find_if
15360
15361 2001-02-27  José Matos  <jamatos@fep.up.pt>
15362
15363         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15364         by OnlyPath.
15365
15366 2001-02-11  José Matos  <jamatos@fep.up.pt>
15367
15368         * buffer.C (makeDocBookFile): command styles now have a parameter as
15369         "title" by default.
15370
15371 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15372
15373         * layout_forms.[Ch]: removed
15374         * lyx_cb.[Ch]: out character
15375         * lyx_gui.C: out character
15376         * lyx_gui_misc.C: out character
15377         * bufferview_funcs.C: : out character,
15378         added toggleall as parameter in ToggleAndShow
15379
15380 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15381
15382         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15383
15384         * text2.C (SetCurrentFont): Disable number property at boundary.
15385
15386 2001-02-26  Juergen Vigna  <jug@sad.it>
15387
15388         * lyxfunc.C (getStatus): added a string argument override function so
15389         that this is correctly called from LyXFunc::Dispatch if it contains a
15390         do_not_use_argument which is used!
15391         (Dispatch): added check for "custom" export and call appropriate func.
15392
15393 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15394
15395         * lyxrc.C: Add language_command_local, language_use_babel and
15396         language_global_options.
15397
15398         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15399
15400         * buffer.C (makeLaTeXFile): Use language_use_babel and
15401         language_global_options.
15402
15403 2001-02-23  Juergen Vigna  <jug@sad.it>
15404
15405         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15406         which works with LyXText and putted it inside BufferView. Here now we
15407         only call for that part the BufferView::Dispatch() function.
15408
15409         * BufferView.C (Dispatch): added.
15410
15411         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15412         functions which needs to use a LyXText over from LyXFunc.
15413         (MenuInsertLyXFile): added
15414         (getInsetByCode): added
15415         (moveCursorUpdate): added
15416         (static TEXT): added
15417
15418 2001-02-22  Juergen Vigna  <jug@sad.it>
15419
15420         * BufferView_pimpl.C (update): call a status update to see if LyXText
15421         needs it.
15422
15423 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15424
15425         * vc-backend.C (revert): implement for CVS
15426         (getLog): implement for CVS
15427
15428 2001-02-20  Juergen Vigna  <jug@sad.it>
15429
15430         * text2.C (ClearSelection): added BufferView param for inset_owner call
15431
15432         * lyxfunc.C (TEXT): added this function and use it instead of
15433         directly owner->view()-text of getLyXText().
15434
15435 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15436
15437         * src/layout_forms.C: out preamble
15438         * src/layout_forms.h: out preamble
15439         * src/lyx_cb.C: out preamble
15440         * src/lyx_cb.h: out preamble
15441         * src/lyx_gui.C: out preamble
15442         * src/lyx_gui_misc.C: out preamble
15443         * src/lyxfunc.C: connect with guii preamble
15444
15445 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15446
15447         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15448
15449 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15450
15451         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15452         whether to run bibtex.
15453
15454 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15455
15456         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15457
15458 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15459
15460         * Makefile.am (lyx_SOURCES): removed bibforms.h
15461
15462         * vspace.h: doxygen
15463
15464         * text.C (GetVisibleRow): make several local vars const
15465
15466         * tabular.C: small cleanup.
15467
15468         * lyxserver.C (callback): use compare instead of strncmp
15469
15470         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15471         inlines to after class or to paragraph.C
15472
15473         * lyxfont.h: remove friend operator!=
15474
15475         * converter.h: move friend bool operator< to non friend and after
15476         class def.
15477
15478         * combox.h: small cleanup
15479
15480         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15481         to inlines after class def.
15482
15483         * buffer.C (pop_tag): use string operations instead of strcmp
15484
15485         * bmtable.c: doxygen, small cleanup
15486
15487         * LaTeX.h: remove friend operator==
15488
15489 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15490
15491         * screen.C:
15492         * lyxrc.[Ch]:
15493         * lyxfunc.C:
15494         * lyxfont.[Ch]:
15495         * lyx_cb.C:
15496         * intl.[Ch]:
15497         * commandtags.h:
15498         * buffer.C:
15499         * WorkArea.[Ch]:
15500         * LyXAction.C:
15501         * BufferView_pimpl.C:
15502         * BufferView.[Ch]: remove cruft
15503
15504 2001-02-14  Juergen Vigna  <jug@sad.it>
15505
15506         * lyxfunc.C: removed #if 0 unused code
15507
15508         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15509
15510         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15511
15512         * text2.C (SetSelection): added a BufferView * parameter
15513
15514 2001-02-13  Juergen Vigna  <jug@sad.it>
15515
15516         * lyxfunc.C (Dispatch): fixed protected blank problem.
15517         * BufferView2.C (protectedBlank): added LyxText * parameter.
15518
15519         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15520         (AppendColumn): same as above for column_info.
15521
15522         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15523         (moveCursorUpdate): use a LyXText param for support of InsetText.
15524
15525         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15526         (tripleClick): ditto
15527
15528         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15529
15530         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15531
15532         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15533
15534         * text2.C (SetSelection): set correct update status if inset_owner
15535         (ToggleFree): ditto
15536
15537 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15538
15539         * tabular.C: remove some commented code.
15540
15541 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15542
15543         * BufferView_pimpl.C: call hideSplash()
15544
15545         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15546
15547         * include_form.h:
15548         * bibforms.h: remove
15549
15550         * lyxfunc.C:
15551         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15552           add LFUN_CHILD_CREATE
15553
15554         * counters.h: fix tiny typo
15555
15556         * lyx_cb.C:
15557         * lyx.h:
15558         * lyx_gui.C:
15559         * lyx.C: move splash to frontends/xforms/
15560
15561         * lyx_gui_misc.C: move Include and Bibform to frontends
15562
15563         * lyxvc.h: clarify comment
15564
15565         * vspace.C: tiny housekeeping
15566
15567 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15568
15569         * text.C (PrepareToPrint): RTL Fix.
15570
15571         * paragraph.C (GetUChar): New method.
15572         (String):  Use GetUChar.
15573
15574         * buffer.C (asciiParagraph): Use GetUChar.
15575
15576 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15577
15578         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15579
15580 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15581
15582         * buffer.h:
15583         * buffer.C: rename to getLogName(), handle
15584           build log / latex log nicely
15585
15586 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15587
15588         * MenuBackend.C:
15589         * MenuBackend.h: remove support for reference menuitem type.
15590
15591 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15592
15593         * BufferView_pimpl.C: housekeeping
15594         * BufferView_pimpl.h:
15595         * LyXView.h:
15596         * Makefile.am:
15597         * Timeout.C:
15598         * Timeout.h:
15599         * minibuffer.h: move Timeout GUI-I
15600
15601 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15602
15603         * lyxrc.C (read): Update converters data-structures.
15604
15605 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15606
15607         * LaTeX.h (operator!=): add operator != for Aux_Info
15608
15609 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15610
15611         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15612
15613         * LaTeXLog.C: deleted, useful code moved to Buffer
15614
15615         * buffer.h:
15616         * buffer.C: new function getLatexLogName()
15617
15618         * lyx_gui_misc.C:
15619         * lyx_gui.C:
15620         * lyxvc.C:
15621         * lyxvc.h:
15622         * lyxfunc.C: use frontends for LaTeX and VC logs
15623
15624 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15625
15626         * LaTeX.h: yet another std:: that Allan forgot.
15627
15628         * Variables.C (set): renamed from isset(), because this clashes
15629         with some HP-UX macros (grr).
15630
15631 2001-02-06  Allan Rae  <rae@lyx.org>
15632
15633         * LaTeX.h: Another bug fix.  Missing std:: this time.
15634
15635 2001-02-04  Allan Rae  <rae@lyx.org>
15636
15637         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15638         floats problem. I've left it commented out because it's not quite
15639         correct.  It should also test that the current object is a table or
15640         figure inset.  But I haven't gotten around to figuring out how to do
15641         that.  I *think* it'll be something like: "table" == inset.type()
15642
15643         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15644         bool.
15645
15646 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15647
15648         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15649         all the citation/databases/styles in the auxilary file.
15650         (run): Rerun latex if there was a babel language error.
15651
15652 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15653
15654         * text.C (Backspace): Preserve the font when changing newline char
15655         with a space.
15656         (BreakParagraph): If the cursor is before a space, delete the space.
15657
15658         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15659
15660 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15661
15662         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15663         new argument (code).
15664         (ChangeCitationsIfUnique): New method.
15665
15666         * paragraph.C (GetPositionOfInset): Handle bibkey.
15667
15668 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15669
15670         * BufferView_pimpl.h: change type of Position::par_pos to
15671         LyXParagraph::size_type.
15672
15673 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15674
15675         * BufferView_pimpl.C (savePosition, restorePosition): Write
15676         messages to minibuffer.
15677
15678 2001-01-28  José Matos  <jamatos@fep.up.pt>
15679
15680         * buffer.C (makeDocBookFile): adds support for document language.
15681         A silly restriction on the name of LatexCommand types where removed.
15682         Added support for CDATA sections, allows to chars unescaped, used
15683         among others in code, to avoid escape < and >.
15684
15685 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15686
15687         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15688         saved positions instrad of a stack. Furthermore, a position is
15689         stored using paragraph id/paragraph position.
15690
15691         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15692         Remove LFUN_REF_BACK.
15693
15694 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15695
15696         * converter.C (dvipdfm_options): New method.
15697
15698 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15699
15700         * vspace.C (isValidLength): Fix for empty input string.
15701
15702 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15703
15704         * LyXAction.C (init): change description of LFUN_FIGURE to
15705         "Insert Graphics"
15706
15707 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15708
15709         * LaTeX.C: add using directive
15710
15711 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15712
15713         * MenuBackend.C (expand): Fix the sorting of the formats.
15714
15715 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15716
15717         * lyx_main.C: tiny error message fix
15718
15719 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15720
15721         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15722         calling fl_initialize(). This fixes the problem with ',' as
15723         decimal separator in text files.
15724
15725 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15726
15727         * trans.C (process): Fix the keymap bug.
15728
15729 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15730
15731         * LaTeX.C (scanAuxFiles): New method. Provides support for
15732         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15733         (scanLogFile) Scan for "run BibTeX" messages.
15734
15735         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15736         OT1 font encoding. Also, load the aecompl package if the ae
15737         package is loaded.
15738
15739         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15740
15741 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15742
15743         * texrow.C (increasePos): turn two error messages into debug
15744         messages.
15745
15746 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15747
15748         * LaTeX.C (scanAux): Handle the \@input macro.
15749         (runBibTeX): Use scanAux().
15750
15751         * language.C (latex_options_): New field.
15752
15753         * LaTeXFeatures.C (getMacros): Add language macros.
15754
15755         * buffer.C (makeLaTeXFile): Small fix.
15756
15757 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15758
15759         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15760
15761         * text2.C: add a using directive.
15762
15763 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15764
15765         * BufferView2.C:
15766         * lyx_gui_misc.h:
15767         * lyxfr1.C:
15768         * lyxfunc.C: kill LyXBell.
15769
15770 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15771
15772         * text.C (IsBoundary): Remove the error message
15773
15774         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15775
15776         * lyxrc.C (setDefaults): Correct initialization value for
15777         font_norm_type.
15778
15779 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15780
15781         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15782         gotoError().
15783
15784         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15785         and GotoNextNote().
15786
15787         * src/LyXAction.C: Added reference-next.
15788
15789         * text.C (InsertChar): Use contains instead of strchr.
15790
15791         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15792
15793 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15794
15795         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15796         alignment commands (when needed).
15797
15798         * text.C (InsertChar): Add ':' to number separator chars.