]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
9da3aa7317ae9597b38296bd13ea4bdeb7bf657d
[lyx.git] / src / ChangeLog
1
2 2004-08-13  André Pönitz  <poenitz@gmx.net>
3
4         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
5
6         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
7           multiple cells
8    
9 2004-08-12  André Pönitz  <poenitz@gmx.net>
10
11         * text3.C: take out the 'cursor right' form insertInset and only
12    do it in those places when it is really needed. Fixes crash on C-m...
13
14 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15
16         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
17
18         * BufferView_pimpl.C (setBuffer): initialize the current font of
19         the underlying LyXText
20
21 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
22
23         * kbsequence.C (print): use UI native formatting for menu
24         shortcuts
25
26         * text.C (insertChar): call Paragraph::insertChar with a font
27         argument (cosmetic)
28
29         * paragraph.C (insertInset, insertChar): the version that takes a
30         LyXFont argument is now a wrapper around the other one (the
31         opposite used to be true). 
32
33         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
34         argument. Font setting is done in Paragraph now.
35
36 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
37
38         * outputparams.h: add new members intitle and lang.
39
40         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
41         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
42
43 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
44
45         * text3.C (dispatch): remove special handling of button 4 and 5,
46         it is now taken care of in the frontend code.
47
48 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
49
50         * Spacing.h: add <string> (STLPort compile fix)
51
52 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
53
54         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
55
56 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
57
58         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
59         to bool.
60
61         * converter.C (showMessage): inherit from unary_function, make
62         operator() const.
63
64         * buffer.C (writeFile): initialize retval
65
66         * InsetList.h: rename private variable list to list_
67         * InsetList.[Ch]: adjust accordingly.
68
69 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
70
71         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
72         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
73         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
74         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
75         * ParagraphParameters.C, LaTeXFeatures.C: replace
76         "support/std_sstream.h" with <sstream>
77
78 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
79
80         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
81         * lyxsocket.C (LyXServerSocket): ditto
82         (serverCallback): ditto
83
84 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
85
86         * LaTeXFeatures.C: check release date when loading jurabib.
87
88 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
89
90         * lyxserver.C (startPipe): call register_socket_callback
91         (endPipe): call unregister_socket_callback
92
93 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
94
95         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
96         (LyXServerSocket): register the callback
97         (LyXServerSocket): unregister the callback
98         (fd): delete function
99         (serverCallback): improve error checking and setup the callbacks.
100         (dataCallback): change arg to fd.
101         (writeln): new func (copied fro the client socket) used for server
102         write to client.
103         (LyXDataSocket): simplify
104         (~LyXDataSocket): close ann unregiser callback
105         (server): delete function
106         (fd): delete function
107         (readln): small changes, improve some std::string usage
108         (writeln): constify a bit
109
110 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
111
112         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
113         Qt frontend
114
115 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
116
117         * BufferView_pimpl.C (setBuffer): set the layout combox value only
118         after it has been populated
119
120 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
121
122         * text2.C (insertInset): move cursor when inserting inset.
123
124 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
125
126         * kbmap.C (findbindings): a couple of new methods. returns a
127         container of kb_sequence objects. The real work is done by the
128         private recursive version
129         (printbindings): uses findbindings to print out a bracketed list
130         of bindings (renamed from findbinding).
131
132         * MenuBackend.C (binding): use kb_keymap::findbindings
133
134         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
135
136 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
137
138         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
139
140 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
141
142         * paragraph.C (isWord): return true on insets that report
143         isLetter().
144
145         * text.C (getWord): use Paragraph::isWord to decide what is in a
146         word and what is not; fix bug 1609.
147
148 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
149
150         * tex-strings.C: add "none" to string_paperpackages[], fixes
151         off-by-one-error in the paperpackage selection.
152
153         * lyxlex.[Ch]:
154         * tex-strings.[Ch]: char const * string[n]
155         -> char const * const string[]
156
157 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
158
159         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
160         command, return early.
161
162 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
163
164         * debug.h: add DEBUG to enum and fix size of ANY.
165
166         * debug.C: add support for Debug::DEBUG
167         (showTags): cast errorTags.level to unsigned int
168
169         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
170         (redoCurrentBuffer): ditto
171         (updateScrollbar): ditto
172         * cursor.C (dispatch): ditto
173         * text2.C (setLayout): ditto
174         (setFont): ditto
175         (updateCounters): ditto
176         (editXY): ditto
177         (deleteEmptyParagraphMechanism): ditto
178
179 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
180
181         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
182         annotations to cleanup the Makefile slightly.
183
184 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
185
186         * lyxrc.C: do not set user_email to a default value but use empty
187         instead. The entry used to be translated, which does not work
188         since at the point where lyxrc is constructed there is no
189         translation service available
190
191         * messages.C (getLocaleDir): remove and use directly
192         lyx_localedir() instead
193
194 2004-06-02  Angus Leeming  <leeming@lyx.org>
195
196         Fix crash caused by dereferencing null pointer 'exportdata' in
197         OutputParams by creating a new ExportData variable on the heap,
198         storing it in a boost::shared_ptr.
199         The crash was triggered when generating an Instant Preview
200         of an external inset.
201
202         * Makefile.am: add outputparams.C
203
204         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
205         (c-tor): allocate memory to it.
206
207         * exporter.C (c-tor): associated changes.
208
209 2004-06-01  Angus Leeming  <leeming@lyx.org>
210
211         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
212         contains data before calling isInset(0). (Bug 1513.)
213
214 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
215
216         * exporter.C (checkOverwrite): new method
217         * exporter.C (copyFile): new method
218         * exporter.C (Export): copy referenced files to the document dir
219         * exporter.[Ch]: new class ExportedFile
220         * exporter.[Ch]: new class ExportData. Contains currently the
221         names of referenced external files
222         * outputparams.h: add exportdata member.
223
224 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
225
226         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
227         version.C-tmp
228
229 2004-05-19  Angus Leeming  <leeming@lyx.org>
230
231         * LaTeXFeatures.C:
232         * ToolbarBackend.C:
233         * bufferparams.C:
234         * lyxfunc.C: small changes due to the introduction of namespace
235         lyx::frontend and the moving of namespace biblio to lyx::biblio.
236
237 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
238
239         * text3.C (dispatch): supress update when only moving the cursor
240         * cursor.C (selHandle): remove commented code
241
242 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
243
244         * paragraph.C (startTeXParParams): correct column count
245         * CutAndPaste.C (pasteSelection): remove const_cast
246         * output_docbook.C (docbookParagraphs): remove const_cast
247         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
248         const_cast and return ParagraphList::const_iterator
249         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
250         * output_plaintext.C (writeFileAscii): remove const_cast
251         * paragraph.[Ch] (simpleTeXOnePar): make const
252         * paragraph_funcs.C (outerPar): use const iterators
253         * paragraph_pimpl.C (validate): use const iterators
254         * text.C (setHeightOfRow): use const iterators
255
256 2004-05-17  Angus Leeming  <leeming@lyx.org>
257
258         * lfuns.h:
259         * LyXAction.C (init): new LFUN_INSET_REFRESH.
260
261         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
262         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
263         if the citation engine has changed.
264
265 2004-05-14  José Matos  <jamatos@lyx.org>
266
267         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
268         if the textclass does not provide it. Have it different for sgml and
269         xml.
270         support the language of document.
271         * output_docbook.C (docbookParagraphs):
272         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
273         first anchor as the id of the paragraph, remove special case code.
274         * sgml.C (escapeChar): escape only < & >.
275
276 2004-05-14  Angus Leeming  <leeming@lyx.org>
277
278         * bufferparams.h: move biblio::CiteEngine enum here to minimize
279         dependencies on src/frontends/controllers/biblio.h. Define a
280         CiteEngine_enum wrapper class to enable the enum to be forward
281         declared.
282
283 2004-05-12  Angus Leeming  <leeming@lyx.org>
284
285         * buffer.C: up LYX_FORMAT to 234.
286         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
287         use_numerical_citations with a single biblio::CiteEngine cite_engine
288         variable.
289         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
290
291 2004-05-13  José Matos  <jamatos@lyx.org>
292
293         * converter.h:
294         * converter.C (Converter, readFlags): add xml member.
295         * outputparams.h: add XML flavor.
296         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
297
298 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
299
300         * lyxfunc.C (dispatch):
301         (getStatus): fix handling of LFUN_SEQUENCE
302
303 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
304
305         * debug.C (showLevel): do not forget the end-of-line marker
306
307 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
308
309         * kbmap.C (read): do not stop parsing a bind file when an error
310         occurs (bug 1575)
311
312 2004-04-29  Angus Leeming  <leeming@lyx.org>
313
314         * cursor.C:
315         * factory.C:
316         * pariterator.C:
317         * text2.C: wrap a bunch of #warning statements
318         inside #ifdef WITH_WARNINGS blocks.
319
320 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
321
322         * buffer.C: increment format to 233.
323
324 2004-04-28  Angus Leeming  <leeming@lyx.org>
325
326         * BufferView_pimpl.C:
327         * lyxfunc.C:
328         * text3.C:
329         s/updateToolbar()/updateToolbars()/
330         s/Toolbar.h/Toolbars.h/
331
332 2004-04-28  Angus Leeming  <leeming@lyx.org>
333
334         * BufferView.[Ch] (c-tor):
335         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
336         No longer passes these data to the WorkArea generator.
337
338 2004-04-28  Angus Leeming  <leeming@lyx.org>
339
340         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
341
342 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
343
344         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
345
346 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
347
348         * output_latex.C (TeXEnvironment): make sure that there is a line
349         break before \end{foo} for the last paragraph of a document
350         (TeXOnePar): if the paragraph is at the end of the document (or
351         inset) and the language has to be reset, then make sure that the
352         line break is _before_ the language command, not after (fixes bug
353         1225); also make sure that the language reset command is the first
354         thing after the paragraph (to ensure proper nesting of
355         environments and thus fix bug 1404)
356
357 2004-04-21  John Levon  <levon@movementarian.org>
358
359         * ToolbarBackend.h:
360         * ToolbarBackend.C: make "name" be a programmatic name
361         and a gui_name field.
362
363         * lyxfunc.C: display the minibuffer on M-x
364
365 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
366
367         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
368         (bug 1526)
369
370 2004-04-19  Angus Leeming  <leeming@lyx.org>
371
372         * BufferView_pimpl.C (setBuffer): changed preview interface.
373
374         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
375         possible values.
376
377 2004-04-19  John Levon  <levon@movementarian.org>
378
379         * BufferView_pimpl.C:
380         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
381
382 2004-04-05  Angus Leeming  <leeming@lyx.org>
383
384         * text.C (redoParagraphs): add call to updateCounters(), thereby
385         fixing the missing "Figure #:" label from the caption of a
386         figure float.
387
388 2004-04-13  Angus Leeming  <leeming@lyx.org>
389
390         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
391         cursor is clicked out of an inset.
392
393 2004-04-13  Angus Leeming  <leeming@lyx.org>
394
395         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
396         than an InsetOld one.
397
398 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
399
400         * format.[Ch]: add editor to Format
401         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
402         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
403
404 2004-04-08  André Pönitz  <poenitz@gmx.net>
405
406         * metricsinfo.h: remove PainterInfo::width member
407
408 2004-04-08  Angus Leeming  <leeming@lyx.org>
409
410         * lyx_sty.C (boldsymbol_def): modify so that it outputs
411         "\providecommand" rather than "\newcommand", thereby preventing
412         clashes with packages that define "\boldsymbol" themselves.
413         Eg, beamer.
414
415 2004-04-08  Angus Leeming  <leeming@lyx.org>
416
417         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
418         thereby squashing an unnecessary warning.
419
420 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
421
422         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
423         setBuffer()
424
425 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
426
427         * BufferView.C (setCursor): call redoParagraph (some insets could
428         have been opened)
429         (putSelectionAt): remove the 'double update' trick
430
431         * BufferView_pimpl.C (fitCursor): call refreshPar
432         (workAreaDispatch): remove an uneeded update call
433         (dispatch): remove some manual update calls
434
435         * cursor.[Ch]: remove cached_y_, updatePos
436         (selHandle): set noUpdate when appropriate
437
438         * lyxfunc.C (dispatch): track if we need an update
439
440         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
441
442         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
443         (paintSelection): cheap optimization, do not call cursorX when not
444         needed
445         (paintPars): change signature
446         (refreshPar): add
447         (paintText): adjust
448         (paintTextInset): adjust
449
450         * text.C: adjust
451
452 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
453
454         * lengthcommon.C: compilation fix: remove explicit array size from
455         unit_name[] and friends
456
457 2004-04-05  Angus Leeming  <leeming@lyx.org>
458
459         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
460
461         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
462         present only for the preferences dialog.
463         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
464
465 2004-04-05  Angus Leeming  <leeming@lyx.org>
466
467         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
468         to enable the frontends to export changes to lyxrc correctly.
469
470         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
471
472 2004-04-07  André Pönitz  <poenitz@gmx.net>
473
474         * cursor.[Ch] (selClear, adjust): remove math
475
476         * cursor_slice.C: more agressive assert
477
478         * lyxfunc.C:
479         * BufferView_pimpl.C: rework mouse event dispatch
480
481         * dociterator.C:
482         * paragraph.C:
483         * text2.C:
484         * text3.C: adjust
485
486 2004-04-05  André Pönitz  <poenitz@gmx.net>
487
488         * cursor.[Ch] (valign, halign...): remove unneeded functions
489
490 2004-04-05  Angus Leeming  <leeming@lyx.org>
491
492         * lyxlength.[Ch] (unit_name et al.): const-correct.
493
494 2004-04-05  Angus Leeming  <leeming@lyx.org>
495
496         * BufferView_pimpl.C:
497         * buffer.C:
498         * counters.C:
499         * cursor.C:
500         * lyxfunc.C
501         * paragraph.C:
502         * pariterator.C:
503         * text.C:
504         * text2.C:
505         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
506
507 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
508
509         * text3.C (getStatus): add LFUN_BEGINNINGBUF
510
511 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
512
513         * lyxfind.C: add a couple of inTexted() tests + other small fixes
514         * BufferView_pimpl.[Ch] (getStatus)
515         * BufferView.[Ch] (getStatus): add
516         * lyxfunc.C (getStatus): move lfuns handled in
517         BufferView::dispatch to te function above
518         * Cursor.C (setSelection): set selection() = true
519
520 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
521
522         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
523
524 2004-03-31  Angus Leeming  <leeming@lyx.org>
525
526         * lyxfunc.C (dispatch): Fall through to the generic
527         Dialogs::show("preamble").
528
529 2004-03-31  Angus Leeming  <leeming@lyx.org>
530
531         * lyxfunc.C (dispatch): Fall through to the generic
532         Dialogs::show("spellchecker").
533
534 2004-03-31  Angus Leeming  <leeming@lyx.org>
535
536         * lyxfunc.C (getStatus, dispatch): changed invocation of the
537         preferences dialog.
538
539 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
540
541         * BufferView.C
542         * cursor.[Ch]
543         * dociterator.[Ch]:
544         * insetiterator.[Ch]:
545         * lyxfind.C:
546         * lyxfunc.C:
547         * pariterator.[Ch]:
548         * text2.C:
549         * undo.[Ch]: s/DocumentIterator/DocIterator/g
550
551 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
552
553         * BufferView.C (setCursor, putSelectionAt): call edit to open the
554         insets where we are putting the cursor.
555
556 2004-03-31  Angus Leeming  <leeming@lyx.org>
557
558         * lfuns.h:
559         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
560
561         * lyxrc.[Ch] (read, write): overloaded member functions taking
562         a std::[io]stream arguments.
563
564         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
565
566 2004-03-31  Angus Leeming  <leeming@lyx.org>
567
568         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
569         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
570
571         * lyxtextclass.C (load): if the text class couldn't be loaded, then
572         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
573
574 2004-03-31  Angus Leeming  <leeming@lyx.org>
575
576         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
577         the LFUN_ALL_INSETS_TOGGLE code.
578
579 2004-03-30  Angus Leeming  <leeming@lyx.org>
580
581         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
582         has died. Fall through to the generic Dialogs::show("document").
583
584 2004-03-30  Angus Leeming  <leeming@lyx.org>
585
586         * lfuns.h:
587         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
588         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
589
590         * lyxfunc.C (getStatus, dispatch): define the actions for these
591         lfuns. Little more than a cut and pste job from ControlDocument.C
592
593         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
594
595 2004-03-30  Angus Leeming  <leeming@lyx.org>
596
597         * lfuns.h:
598         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
599         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
600
601         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
602         open/closed state of ollapsable insets. Usage:
603
604         all-inset-toggle <state> <name>, where
605         <state> == "open" || "closed" || "toggle" and
606         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
607
608         * lyxtext.h, text2.C (toggleInset): removed.
609
610         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
611         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
612         now passes LFUN_INSET_TOGGLE to the found inset.
613
614         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
615         is now invoked as "all-insets-toggle toggle branch".
616
617 2004-03-30  Angus Leeming  <leeming@lyx.org>
618
619         * dociterator.C:
620         * insetiterator.C:
621         * pariterator.[Ch]: added/corrected header blurb.
622
623 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
624
625         * dociterator.[Ch]: add an inset_ member
626         (backwardPos): implemented
627         (backwardPos, forwardPos): use inset_ when the stack is empty.
628         (doc_iterator_begin, doc_iterator_end): implemented
629         * pariterator.[Ch]: adjust, add begin, end
630         * insetiterator.[Ch]: adjust, add begin, end
631         * cursor.C:
632         * document.C:
633         * BufferView.C:
634         * BufferView_pimpl.C:
635         * CutAndPaste.C: adjust
636
637 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
638
639         * buffer.C: increment file format to 232.
640         * LaTeXFeatures.C: add bibtopic package.
641         * bufferparams.[Ch]: param \use_bibtopic.
642
643         * lyxrc.[Ch]: add lyxrc bibtex_command
644         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
645
646         * buffer.C: increment file format to 231.
647
648 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
649
650         * dociterator.C: implement forwardPar
651         * iterators.[Ch]: remove, replaced by
652         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
653         * BufferView.C:
654         * BufferView_pimpl.C:
655         * CutAndPaste.C:
656         * buffer.C:
657         * bufferview_funcs.C:
658         * cursor.C:
659         * lyxfind.C
660         * lyxfunc.C
661         * paragraph_funcs.C
662         * toc.C:
663         * Makefile.am: adjust
664
665 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
666
667         * CutAndPaste.C (pasteSelection): fix 2 crashes
668         (eraseSelection): fix a crash
669         * paragraph_funcs.C: remove a warning
670
671 2004-03-28  Angus Leeming  <leeming@lyx.org>
672
673         * lfuns.h:
674         * LyXAction.C (init): new LFUN_PRINT.
675
676         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
677
678 2004-03-27  Angus Leeming  <leeming@lyx.org>
679
680         * lfuns.h:
681         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
682
683         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
684
685 2004-03-27  Angus Leeming  <leeming@lyx.org>
686
687         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
688         insetlist always contains non-null pointers to insets.
689
690 2004-03-26  Angus Leeming  <leeming@lyx.org>
691
692         * src/BufferView_pimpl.C:
693         * src/CutAndPaste.C:
694         * src/buffer.C:
695         * src/iterators.C:
696         * src/output_plaintext.C:
697         * src/outputparams.h:
698         * src/paragraph_funcs.C:
699         * src/rowpainter.C:
700         * src/text.C:
701         * src/text2.C:
702         * src/frontends/controllers/ControlErrorList.C:
703         * src/frontends/gtk/FileDialogPrivate.C:
704         * src/frontends/gtk/GPainter.C:
705         * src/frontends/gtk/GToolbar.C:
706         * src/frontends/qt2/QRef.C:
707         * src/mathed/math_scriptinset.C: squash compiler warnings.
708
709 2004-03-26  Angus Leeming  <leeming@lyx.org>
710
711         * ispell.C (LaunchIspell::start):
712         * lyx_cb.C (AutoSaveBuffer::start):
713         invoke run(DontWait) rather than runNonBlocking().
714
715 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
716
717         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
718
719 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
720
721         * kbsequence.C (print): adjust
722
723         * kbmap.C (printKeySym): rename and change signature
724         (printKey): use LyXKeySym::print()
725
726 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
727
728         * undo.C: add using std::advance to compile for stlport
729
730 2004-03-24  Angus Leeming  <leeming@lyx.org>
731
732         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
733         it leads to a crash when no buffer is present.
734
735 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
736             Martin Vermeer  <martin.vermeer@hut.fi>
737
738         * lyxfunc.C (dispatch):
739         * bufferparams.C (readToken): use the new LColor::setColor
740
741         * LColor.[Ch] (setColor): new version that takes two strings as
742         argument and creates a new color entry if necessary
743
744 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
745
746         * buffer.C (makeLaTeXFile): if the main latex file that is
747         processed is usually a subdocument of some master, then pretend
748         for a while that it is actually the master
749
750 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
751
752         * buffer.C (getLabelList):
753         (getBibkeyList): use getMasterBuffer()
754         (getMasterBuffer): new method. Returns the main document in the
755         case where one is using included documents.
756
757 2004-03-25  André Pönitz  <poenitz@gmx.net>
758
759         * Makefile.am:
760         * iterators.[Ch]:
761         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
762
763         * ParagraphList_fwd.h: change ParagraphList to a std::vector
764
765         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
766         text*.C over here. Rename namespace CutAndPaste to lyx::cap
767
768         * ParameterStruct.h: merge with ParagraphParameters
769
770         * lyxtext.h: remove LyXText::parOffset() and getPar()
771
772         * text3.C: Remove all 'manual' update calls. We do now one per user
773         interaction which is completely sufficient.
774
775         * Bidi.C:
776         * BufferView.[Ch]:
777         * BufferView_pimpl.C:
778         * FontIterator.[Ch]:
779         * MenuBackend.C:
780         * ParagraphParameters.[Ch]:
781         * buffer.C:
782         * buffer.h:
783         * bufferlist.C:
784         * cursor.[Ch]:
785         * cursor_slice.[Ch]:
786         * dociterator.[Ch]:
787         * errorlist.[Ch]:
788         * factory.C:
789         * lfuns.h:
790         * lyxfind.C:
791         * lyxfunc.C:
792         * output_docbook.[Ch]:
793         * output_latex.[Ch]:
794         * output_linuxdoc.[Ch]:
795         * output_plaintext.[Ch]:
796         * paragraph.[Ch]:
797         * paragraph_funcs.[Ch]:
798         * paragraph_pimpl.[Ch]:
799         * rowpainter.C:
800         * tabular.[Ch]:
801         * text.C:
802         * text2.C:
803         * toc.C:
804         * undo.[Ch]: adjust
805
806         * frontends/controllers/ControlDocument.C:
807         * frontends/controllers/ControlErrorList.C:
808         * frontends/controllers/ControlSpellchecker.C:
809         * insets/inset.C:
810         * insets/inset.h:
811         * insets/insetbase.h:
812         * insets/insetbibitem.C:
813         * insets/insetbox.C:
814         * insets/insetbranch.C:
815         * insets/insetcaption.C:
816         * insets/insetcharstyle.C:
817         * insets/insetcharstyle.h:
818         * insets/insetcollapsable.C:
819         * insets/insetcollapsable.h:
820         * insets/insetert.C:
821         * insets/insetfloat.C:
822         * insets/insetfoot.C:
823         * insets/insetmarginal.C:
824         * insets/insetnote.C:
825         * insets/insetoptarg.C:
826         * insets/insettabular.C:
827         * insets/insettext.C:
828         * insets/insettext.h:
829         * insets/insetwrap.C:
830         * mathed/math_mboxinset.C:
831         * mathed/math_nestinset.C:
832         * mathed/math_scriptinset.C:
833         * mathed/math_scriptinset.h:
834         * support/types.h:
835
836 2004-03-24  Angus Leeming  <leeming@lyx.org>
837
838         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
839         deal with any child processes that have finished but are waiting to
840         communicate this fact to the rest of LyX.
841
842 2004-03-24  Angus Leeming  <leeming@lyx.org>
843
844         64-bit compile fixes.
845
846         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
847         (c-tor): pass lyx::pos_types rather than ints.
848
849         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
850         lyx::pos_type.
851
852         * text.C (Delete): compile fix.
853         (getPar): ensure that function declaration is the same as that in
854         the header file.
855
856 2004-03-23  Angus Leeming  <leeming@lyx.org>
857
858         * ispell.C (LaunchIspell):
859         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
860         a boost::shred_ptr rather than a std::auto_ptr.
861
862 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
863
864         * lyxfunc.C (getStatus): handle read-only buffers correctly;
865         handle LFUN_FILE_INSERT_*
866
867         * lyxrc.C (setDefaults, getDescription, output, read):
868         * lyxrc.h: remove ps_command
869
870 2004-03-22  Angus Leeming  <leeming@lyx.org>
871
872         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
873         Ensure that error_handler is processed once only and that all data
874         is saved before attempting to output any warning messages.
875
876         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
877
878 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
879
880         * tabular.C (TeXRow): crash fix (from Kayvan and André)
881
882 2004-03-19  André Pönitz  <poenitz@gmx.net>
883
884         * cursor.[Ch] (reset): take main text inset as argument
885
886         * BufferView: adjust
887         * BufferView_pimpl.C: adjust
888
889         * paragraph.[Ch]: fix completely broken operator=()
890
891 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
892
893         * LColor.C (getFromLyXName): make sure that the color name is used
894         as lowercase.
895
896 2004-03-17  Angus Leeming  <leeming@lyx.org>
897
898         * lfuns.h:
899         * LyXAction.C (init): remove LFUN_FORKS_KILL.
900
901         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
902         dialog and to kill a forked process.
903
904 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
905
906         * text2.C (setCursorFromCoordinates): fix font problem
907
908 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
909
910         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
911         bogus "rebuild cursor" code
912
913 2004-03-11  André Pönitz  <poenitz@gmx.net>
914
915         * buffer.[Ch]: use InsetText instead of LyXText as container for
916         the main lyx text.
917
918         * dociterator.[Ch]: drop the BufferView * member which is not needed
919         anymore after the change to buffer.C
920
921         * paragraph_funcs.C:
922         * text.C:
923         * text2.C:
924         * BufferView.[Ch]:
925         * BufferView_pimpl.[Ch]:
926         * cursor.[Ch]:
927         * cursor_slice.[Ch]: adjust
928
929         * text3.C: fix bug in mathDispatch
930
931 2004-03-08  André Pönitz  <poenitz@gmx.net>
932
933         * undo.[Ch]: use 'StableDocumentIterator' as base for
934         the Undo struct.
935
936 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
937
938         * LaTeXFeatures.C:
939         * bufferparams.[Ch]: add jurabib support and param.
940
941         * LaTeX.C: add FIXME/comment.
942
943 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
944
945         * buffer.C: increment file format to 230.
946
947 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
948
949         * cursor.C (dispatch): avoid infinite loops
950
951 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
952
953         * rowpainter.C (paintSelection): fix x coordinates
954
955 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
956
957         * text.C (rowBreakPoint): fix breaking before displayed insets
958
959 2004-03-01  André Pönitz  <poenitz@gmx.net>
960
961         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
962
963         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
964
965         * Makefile.am:
966         * BufferView.C:
967         * BufferView_pimpl.C:
968         * buffer.C:
969         * lyxfind.C:
970         * lyxfunc.C:
971         * text.C:
972         * text2.C:
973         * text3.C: adjust
974
975 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
976
977         * lyxtext.h:
978         * text.C:
979         * text2.C:
980         * rowpainter.C:
981         * BufferView_pimpl.C: rename textwidth -> maxwidth,
982         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
983
984 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
985
986         * Bidi.[Ch] (computeTables): const correctness
987         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
988         fill_hfill, fill_label_hfill and x from Row
989         * lyxtext.h: prepareToPrint returns a RowMetrics
990         * rowPainter.C: adjust
991         * text.C (prepareToPrint): use width, not textWidth. adjust
992         (redoParagraphInternal, cursorX): adjust
993         * text2.C (getColumnNearX): adjust
994         (init): put a default value to the top LyXText::width
995
996 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
997
998         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
999
1000 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1001
1002         * lyxtext.h: add FontIterator class
1003
1004         * text.C (FontIterator, operator*, operator->, operator++): add
1005         (rowBreakPoint, setRowWidth): adjust (fixing a
1006         rebreaking bug)
1007
1008 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1009
1010         * BufferView_pimpl.C (workAreaDispatch): allow also
1011         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1012
1013 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1014
1015         * text.C (rowBreakPoint): fix a bug showing with very large insets
1016
1017 2004-02-25  André Pönitz  <poenitz@gmx.net>
1018
1019         * text3.C:
1020         * cursor.[Ch]: move some mathed specific code to mathed
1021
1022 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1023
1024         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1025         use_tempdir in preferences
1026         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1027         tempfile creation
1028         * lyx_main.C: ensure that tempdir is valid
1029         * lyxlex.h: correct typo
1030         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1031         * paragraph.[Ch] (isMultiLingual): make const
1032         * cursor.[Ch] (openable): make const
1033
1034 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1035
1036         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1037
1038 2004-02-20  André Pönitz  <poenitz@gmx.net>
1039
1040         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1041
1042         * cursor.[Ch]: prepare for localized getStatus()
1043
1044         * lyxtext.h:
1045         * tabular.C:
1046         * text.C:
1047         * text2.C:
1048         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1049
1050 2004-02-20  André Pönitz  <poenitz@gmx.net>
1051
1052         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1053
1054 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1055
1056         * text2.C (setCursorFromCoordinates): switch to absolute coords
1057         (cursorUp): adjust
1058         (cursorDown): adjust
1059         * text3.C (dispatch): adjust
1060
1061 2004-02-16  André Pönitz  <poenitz@gmx.net>
1062
1063         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1064           insets/ChangeLog)
1065
1066         * cursor_slice.[Ch]: remove unneeded acessor function
1067
1068         * lyxtext.h: rename rtl() to isRTL()
1069
1070         * rowpainter.C:
1071         * tabular.C:
1072         * text.C:
1073         * text2.C:
1074         * text3.C: adjust
1075
1076 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1077
1078         * rowpainter.C (paintSelection): coord fix
1079
1080 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1081
1082         * Spacing.C: compile fix
1083
1084 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1085
1086         * cursor.C (dispatch): restore current_ before returning
1087
1088 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1089
1090         * text2.C (cursorUp, cursorDown): fix coords
1091         (moveUp): fix crash
1092
1093 2004-02-12  André Pönitz  <poenitz@gmx.net>
1094
1095         * lyxtext.h:
1096         * text.C:
1097         * text2.C:
1098         * text3.C: add LCursor & parameter to most cursor movement functions
1099           remove usage of LyXText::cursorRow() and cursorPar()
1100
1101         * cursor.[Ch]: add textRow() needed members
1102
1103         * BufferView.C:
1104         * BufferView_pimpl.C:
1105         * paragraph.[Ch]:
1106         * BufferView.C:
1107         * BufferView_pimpl.C: adjust
1108
1109 2004-02-11  André Pönitz  <poenitz@gmx.net>
1110
1111         * lyxfunc.C:
1112         * BufferView.[Ch]:
1113         * BufferView_pimpl.C: shift undo/redo handling
1114
1115         * cursor.[Ch]: fix mathed crash
1116
1117         * lyxfind.C:
1118         * lyxtext.h: move selectionAsText to LCursor
1119
1120         * output_latex.C:
1121         * paragraph.C:
1122         * text.C:
1123         * text2.C:
1124         * text3.C: adjust
1125
1126         * rowpainter.C: fix excessive drawing
1127
1128 2004-02-06  André Pönitz  <poenitz@gmx.net>
1129
1130         * BufferView.[Ch]:
1131         * BufferView_pimpl.[Ch]:
1132         * text3.C: move some text specific LFUN handling
1133
1134 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1135
1136         * text3.C (checkInsetHit): adjust coords
1137         * text2.C (getColumnNearX): adjust coords
1138         (edit): adjust coords
1139         * text.C (getRowNearY): add two asserts
1140
1141 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1142
1143         * converter.C:
1144         * format.C: add using std::distance to compile on gcc 2.95/stlport
1145
1146 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1147
1148         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1149
1150 2004-02-04  André Pönitz  <poenitz@gmx.net>
1151
1152         * BufferView.[Ch] (insertInset):
1153         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1154
1155         * text2.C:
1156         * text3.C: adjust
1157
1158 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1159
1160         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1161         on the default clause of the switch
1162         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1163         wasn't catched by LCursor::dispatch
1164
1165 2004-02-03  André Pönitz  <poenitz@gmx.net>
1166
1167         * BufferView.C:
1168         * cursor.[Ch]: some additional asserts
1169
1170         * undo.[Ch]: remove LyXText dependency in interface
1171
1172         * lyxfunc.C: adjust
1173
1174         * lyxtext.h (firstPar, lastPar): remove dead functions
1175
1176         * text.C:
1177         * text2.C:
1178         * text3.C:
1179         * paragraph.[Ch]: adjust
1180
1181 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1182
1183         * lyxfind.C (find): fix argument order in call to ::find
1184
1185 2004-02-02  André Pönitz  <poenitz@gmx.net>
1186
1187         * cursor.[Ch]: remove direct access to anchor
1188
1189         * text.C: remove findText() hack
1190
1191 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1192
1193         * iterators.[Ch] (lockPath): remove in favour of...
1194         * BufferView.[Ch] (setCursor): this addition
1195         * BufferView.C (putSelectionAt): adjust
1196         * undo.C (performUndoOrRedo): adjust
1197         * lyxfunc.C (dispatch): adjust
1198
1199 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1200
1201         * iterators.C (lockPath): add a missing slice
1202         * undo.C (performUndoOrRedo): remove redundant positioning code
1203
1204 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1205
1206         * vc-backend.C (scanMaster): ";" -> ';'
1207
1208 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1209
1210         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1211         std::binary_function
1212
1213         * lyxtextclass.C (compare_name): rename to...
1214         (LayoutNamesEqual): ...this
1215
1216         * lyxlex_pimpl.C (compare_tags): inherit from
1217         std::binary_function, put back into anon namespace
1218
1219         * lyxfind.C (MatchString): inherig from std::binary_function
1220         (findChange): use empty() istead of !size()
1221
1222         * format.C (FormatNamesEqual): new functor
1223         (getFormat): use it
1224         (getNumber): use it
1225         (add): use it
1226         (erase): use it
1227         (setViewer): use it
1228
1229         * converter.C (compare_Converter): rename to...
1230         (ConverterEqual): ...this, and fixup a bit.
1231         (getConverter): use it, and make function const
1232         (getNumber): use it, and make function const
1233         (add): use it
1234         (erase): use it:
1235
1236         * bufferlist.C: add using boost::bind
1237
1238         * MenuBackend.C (MenuNamesEqual): new functor
1239         (hasMenu): use it, and make function const
1240         (hasSubmenu): use nested bind to get rid of compare_memfun.
1241
1242 2004-01-30  André Pönitz  <poenitz@gmx.net>
1243
1244         * BufferView_pimpl.C:
1245         * cursor.C:
1246         * cursor.h:
1247         * cursor_slice.[Ch]:
1248         * lyxfunc.C:
1249         * lyxtext.h:
1250         * paragraph_funcs.C:
1251         * paragraph_funcs.h:
1252         * rowpainter.C:
1253         * text.C:
1254         * text2.C:
1255         * text3.C: move some of the edit(x,y) handling to the insets
1256         some coordinate changes.
1257
1258 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1259
1260         * text.C: add using statements for std::advance and std::distance
1261
1262         * paragraph.C: add using statement for std::distance
1263
1264         * lyxfind.C: add using statement for std::advance
1265
1266         * cursor.C (region): remove std:: from swap
1267         (openable): use nucleus in stead of operator->
1268
1269         * BufferView.C: add using statements for std::distance and std::swap
1270
1271 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1272
1273         * iterators.C: Remove the pimple, move the needed structures to
1274         the header file. Create accessor for the positions stack.
1275         (asPosIterator): remove function
1276
1277         * PosIterator.C (PosIterator): move constructors to top of file
1278         (PosIterator): reimplement the constructor taking a ParIterator in
1279         terms of setFrom.
1280         (setFrom): new function
1281         (operator!=): inline it
1282
1283 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1284
1285         * lyxfind.C (replaceAll): use std::advance
1286
1287         * iterators.h: inherit from std::iterator.
1288
1289         * PosIterator.C (advance, distance): remove
1290         * PosIterator.h: interit from std::iterator.
1291
1292 2004-01-26  André Pönitz  <poenitz@gmx.net>
1293
1294         * BufferView.[Ch]:
1295         * BufferView_pimpl.[Ch]:
1296         * InsetList.[Ch]:
1297         * PosIterator.[Ch]:
1298         * buffer.h:
1299         * bufferview_funcs.C:
1300         * cursor.[Ch]:
1301         * cursor_slice.h:
1302         * factory.[Ch]:
1303         * iterators.[Ch]:
1304         * lyxfind.C:
1305         * lyxfunc.C:
1306         * lyxtext.h:
1307         * output_docbook.C:
1308         * output_latex.C:
1309         * output_linuxdoc.C:
1310         * output_plaintext.C:
1311         * paragraph.[Ch]:
1312         * paragraph_funcs.[Ch]:
1313         * paragraph_pimpl.[Ch]:
1314         * rowpainter.C:
1315         * tabular.C:
1316         * tabular.h:
1317         * text.C:
1318         * text2.C:
1319         * text3.C: more IU:  dumps most of the rest of the mathcursor
1320     implementation into cursor.[Ch]; "globalize" a bit of it.
1321
1322 2004-01-25  Angus Leeming  <leeming@lyx.org>
1323
1324         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1325
1326 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1327
1328         * LaTeXFeatures.h: add nice_ and nice() const
1329         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1330
1331 2004-01-20  André Pönitz  <poenitz@gmx.net>
1332
1333         * BufferView.[Ch]:
1334         * BufferView_pimpl.C:
1335         * PosIterator.C:
1336         * bufferview_funcs.C:
1337         * cursor.[Ch]:
1338         * cursor_slice.[Ch]:
1339         * factory.C:
1340         * iterators.C:
1341         * lyx_cb.C:
1342         * lyxfind.C:
1343         * lyxfunc.C:
1344         * lyxtext.h:
1345         * rowpainter.C:
1346         * text.C:
1347         * text2.C:
1348         * text3.C:
1349         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1350           LCursor and mathcursor parts to LCursor and InsetBase.
1351
1352 2004-01-15  André Pönitz  <poenitz@gmx.net>
1353
1354         * cursor_slice.[Ch]: add a few covienience functions
1355
1356         * funcrequest.[Ch]: remove BufferView * member
1357
1358         * BufferView_pimpl.C:
1359         * cursor.C:
1360         * factory.[Ch]:
1361         * lyxfind.[Ch]:
1362         * lyxfunc.C:
1363         * lyxtext.h:
1364         * text3.C:
1365         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1366
1367 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1368
1369         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1370         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1371
1372 2004-01-13  André Pönitz  <poenitz@gmx.net>
1373
1374         * textcursor.[Ch]:
1375         * lyxtext.h: hide cursor and selection anchor behind accessor function
1376
1377         * BufferView.C:
1378         * BufferView_pimpl.[Ch]:
1379         * PosIterator.C:
1380         * bufferview_funcs.C:
1381         * cursor.h:
1382         * lyxfind.C:
1383         * lyxfunc.C:
1384         * text.C:
1385         * text2.C:
1386         * text3.C:
1387         * undo.C: adjust
1388
1389         * cursor.h:
1390         * cursor_slice.[Ch]: some integer type changes for inset unification
1391
1392         * lyxcursor.[hC]: remove, it's CursorSlice now.
1393
1394         * Makefile.am:
1395         * BufferView_pimpl.[Ch]:
1396         * bufferview_funcs.C:
1397         * cursor_slice.C:
1398         * lyxtext.h:
1399         * text.C:
1400         * text2.C:
1401         * text3.C:
1402         * textcursor.[Ch]: adjust
1403
1404 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1405
1406         * text2.C (undoSpan): add and use
1407         * text.C (breakParagraph): use undoSpan (fix bug 578)
1408         * lyxtext.h: adjust
1409
1410 2004-01-08  Angus Leeming  <leeming@lyx.org>
1411
1412         * BufferView_pimpl.C (MenuInsertLyXFile):
1413         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1414         * lyxfunc.C (menuNew, open, doImport):
1415         FileFilterList change to the FileDialog open and save functions.
1416
1417 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1418
1419         * ShareContainer.h: make isEqual and isUnique adaptable
1420
1421         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1422
1423 2004-01-07  Angus Leeming  <leeming@lyx.org>
1424
1425         * LyXAction.C:
1426         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1427
1428         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1429
1430         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1431         functions replacing find, replace and replaceAll.
1432
1433         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1434         LFUN_WORDFIND(FORWARD|BACKWARD).
1435
1436 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1437
1438         * text.C (breakParagraph): remove an outdated #warning
1439
1440 2004-01-07  André Pönitz  <poenitz@gmx.net>
1441
1442         * lyxfind.C: somewhat clearer logic
1443
1444         * text.C: prevent crash in cursorX on unitialized row cache
1445
1446 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1447
1448         * lyxcursor.[Ch] (operator>): add
1449         * textcursor.C (selStart, selEnd): use std::min and std::max
1450
1451 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1452
1453         * Chktex.C: include boost/format.hpp
1454
1455 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1456
1457         * InsetList.C: replace functor MathcIt with adaptable functor
1458         InsetTablePosLess
1459         (insetIterator): modify accordingly
1460
1461         * BranchList.h: move the BranchNamesEqual functor here from...
1462         * BranchList.C: ... to here
1463
1464         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1465         SameName and match.
1466         (add): replace a finding loop with std::find_if.
1467
1468 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1469
1470         * output_docbook.C: moving LatexParam functionality into
1471         .layout files
1472
1473 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1474
1475         * buffer.C: increment format to 229.
1476
1477 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1478
1479         * LaTeXFeatures.C:
1480         * lyx_sty.[Ch]: remove minipageindent_def
1481
1482         * LyXAction.C:
1483         * factory.C:
1484         * lfuns.h:
1485         * lyxfunc.C:
1486         * text3.C: remove LFUN_INSET_MINIPAGE
1487
1488 2003-12-28  Angus Leeming  <leeming@lyx.org>
1489
1490         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1491
1492 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1493
1494         * text2.C (setParagraph): fix off-by-one crash
1495
1496 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1497
1498         * output_docbook.C: header stuff for AGU
1499
1500 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1501
1502         * text2.C (redoCursor): remove
1503         * text.C:
1504         * text3.C:
1505         * BufferView_pimpl.C: remove calls to redoCursor and
1506         setCursor(cursor.par(), cursor.pos()) all around
1507
1508 2003-12-15  Angus Leeming  <leeming@lyx.org>
1509
1510         * buffer.C: up the format to 228.
1511
1512 2003-12-15  André Pönitz  <poenitz@gmx.net>
1513
1514         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1515         slices
1516
1517         * Makefile.am:
1518
1519         * BufferView_pimpl.C:
1520         * cursor.[Ch]:
1521         * lyxcursor.[Ch]:
1522         * rowpainter.[Ch]:
1523         * lyxtext.h:
1524         * text.C:
1525         * text2.C:
1526         * text3.C: adjust
1527
1528 2003-12-15  Angus Leeming  <leeming@lyx.org>
1529
1530         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1531         than getFromGUIName to manipulate the color.
1532
1533 2003-12-14  Angus Leeming  <leeming@lyx.org>
1534
1535         * BranchList.[Ch]: minimize the API.
1536         (Branch::getBranch, getColor): now return a 'const &'.
1537         (Branch::setSelected) now returns a bool set to true if the
1538         selection status changes.
1539         (BranchList::clear, size, getColor, setColor, setSelected,
1540         allBranches, allSelected, separator): removed.
1541         (BranchList::find): new functions, returning the Branch with
1542         the given name.
1543         (BranchList::add, remove): return a bool indicating that
1544         the operation was successful.
1545
1546         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1547         new InsetBranch::isBranchSlected member function.
1548
1549         * LColor.[Ch]: mimimize the API.
1550         (fill): renamed as addColor and made private.
1551         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1552         versions of these functions taking a string arg have been removed.
1553
1554         * bufferparams.C (readToken):
1555         * lyxfunc.C (dispatch):
1556         * lyxrc.C (read): changes due to the altered BranchList and
1557         LColor APIs.
1558
1559         * factory.C (createInset, readInset): changes due to altered
1560         InsetBranch c-tor.
1561
1562 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1563
1564         * factory.C:
1565         * lyxfunc.C: remove insetminipage. "minipage-insert"
1566         now produces a frameless minipage box inset.
1567
1568 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1569
1570         * textcursor.[Ch] (selStart,selEnd): add new methods
1571         remove selection::start, end, use LyXCursor::operator<
1572         * lyxcursor.[Ch] (operator<): add
1573         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1574         * BufferView.[Ch] (unsetXSel): add
1575         * text2.C (clearSelection): use unsetXSel,adjust
1576         * text.C: adjust
1577         * text3.C: adjust
1578         * rowpainter.C: adjust
1579         * bufferview_funcs.C (put_selection_at): adjust
1580
1581 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1582
1583         * BufferView_pimpl.C: small coord. correction
1584
1585 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1586
1587         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1588         dragging over the splash screen.
1589
1590 2003-12-11  Angus Leeming  <leeming@lyx.org>
1591
1592         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1593         as it is now handled in LyXText::dispatch.
1594
1595         * text3.C (doInsertInset): remove a level of nesting.
1596
1597 2003-12-11  Angus Leeming  <leeming@lyx.org>
1598
1599         * factory.C (createInset): changes due to the changed interface to
1600         InsetCommandMailer::string2params.
1601
1602 2003-12-10  Angus Leeming  <leeming@lyx.org>
1603
1604         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1605         'dialog-show-new-inset <inset name>'
1606
1607 2003-12-10  Angus Leeming  <leeming@lyx.org>
1608
1609         * buffer.C: up the format to 227.
1610
1611         * factory.C: the box inset is now identified simply by 'Box'.
1612
1613 2003-12-10  Angus Leeming  <leeming@lyx.org>
1614
1615         * buffer.C: up the format to 226.
1616
1617         * factory.C: the note inset is now identified simply by 'Note'.
1618
1619 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1620
1621         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1622         when a pit is enough. Standarize a couple of loops.
1623
1624 2003-12-05  Angus Leeming  <leeming@lyx.org>
1625
1626         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1627         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1628         data to the re-worked "log" dialog.
1629
1630 2003-12-03  André Pönitz  <poenitz@gmx.net>
1631
1632         * PosIterator.C:
1633         * iterators.C:
1634         * lyxtext.h:
1635         * output_latex.C:
1636         * paragraph_funcs.C:
1637         * text.C:
1638         * text2.C: use Inset::getText instead of Inset::getParagraph
1639
1640 2003-12-03  André Pönitz  <poenitz@gmx.net>
1641
1642         * buffer.[Ch]:
1643         * lyxtext.h:
1644         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1645         InsetText::read() as LyXText::read()
1646
1647 2003-12-02  Angus Leeming  <leeming@lyx.org>
1648
1649         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1650         type. Add a comment in the implementation that the function uses
1651         the stream's bad() function rather than fail() as the std::streams
1652         would do.
1653
1654 2003-12-02  André Pönitz  <poenitz@gmx.net>
1655
1656         * lyxlex.[Ch]: make interface more similar to std::stream
1657
1658         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1659
1660 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1661
1662         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1663
1664 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1665
1666         * vspace.[Ch]: remove VSpace::NONE
1667
1668 2003-12-01  André Pönitz  <poenitz@gmx.net>
1669
1670         * buffer.[Ch]:
1671         * lyxtext.h: move ParagraphList member to LyXText
1672         rename LyXText::ownerParagraphs to LyXText::paragraph
1673
1674         * CutAndPaste.C:
1675         * bufferview_funcs.C:
1676         * iterators.[Ch]:
1677         * lyx_cb.C:
1678         * paragraph.C:
1679         * rowpainter.C:
1680         * tabular.C:
1681         * text.C:
1682         * text2.C:
1683         * text3.C: adjust
1684
1685         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1686
1687         * undo.C: fix cursor positioning
1688
1689 2003-12-01  John Levon  <levon@movementarian.org>
1690
1691         * BufferView_pimpl.C: fix a crash on exit with
1692         a buffer open
1693
1694 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1695
1696         * BranchList.C: fix setSelected() method.
1697
1698 2003-11-28  André Pönitz  <poenitz@gmx.net>
1699
1700         * ParagraphParameters.[Ch]:
1701         * ParameterStruct.h: remove space above/below from Paragraph to
1702          InsetVSpace
1703
1704         * BufferView_pimpl.C:
1705         * factory.C:
1706         * lyxfunc.C:
1707         * lyxtext.h:
1708         * output_latex.C:
1709         * paragraph.C:
1710         * paragraph_funcs.C:
1711         * rowpainter.[Ch]:
1712         * text.C:
1713         * text2.C:
1714         * text3.C: adjust
1715
1716 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1717
1718         * factory.C: Syntax change for CharStyles
1719
1720 2003-11-28  André Pönitz  <poenitz@gmx.net>
1721
1722         * BufferView.[Ch]:
1723         * BufferView.[Ch]:
1724         * buffer.[Ch]:
1725         * buffer.[Ch]: move LyXText member
1726
1727 2003-11-28  André Pönitz  <poenitz@gmx.net>
1728
1729         * BufferView.[Ch]: make LyXText * text a private member
1730
1731         * BufferView_pimpl.C:
1732         * cursor.C:
1733         * iterators.C:
1734         * lyx_cb.C:
1735         * lyxfind.C:
1736         * lyxtext.h:
1737         * rowpainter.[Ch]:
1738         * text.C:
1739         * text2.C:
1740         * undo.C: adjust
1741
1742         * output_plaintext.C: cleanup
1743
1744 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1745
1746         * buffer.C:
1747         * lyxtextclass.[Ch]: parametrize SGML document header
1748
1749 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1750
1751         * converter.[Ch]:
1752         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1753         getFlavor().
1754
1755 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1756
1757         * text2.C (setFont): rework using PosIterator (no more recursive)
1758         (setCharFont): no more needed
1759         (setLayout): no more selection cursors fiddling (done by redoCursor)
1760         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1761         destroy remaining ones)
1762
1763 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1764
1765         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1766         * lyxtext.h: ditto
1767         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1768         selection cursors
1769         * lyxfunc.C: adjust
1770         * text3.C: adjust + re-allow multi par depth changes
1771         * textcursor.C: simplify a bit
1772
1773 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1774
1775         * src/buffer.C:
1776         * src/lyxlayout.C:
1777         * src/lyxlayout.h:
1778         * src/lyxtext.h:
1779         * src/output_docbook.C:
1780         * src/output_latex.C:
1781         * src/paragraph.C:
1782         * src/paragraph.h:
1783         * src/sgml.C:
1784         * src/sgml.h:
1785         * src/text2.C: Introducing a number of tags parametrizing various
1786         XML formats that we may want to support
1787
1788 2003-11-25  André Pönitz  <poenitz@gmx.net>
1789
1790         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1791
1792         * lyxtext.h (leftMargin/rightMargin): simplify interface
1793
1794         * rowpainter.C:
1795         * text.C:
1796         * text2.C:
1797         * text3.C: adjust
1798
1799 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1800
1801         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1802         master file to any child files. Fixes bug 546.
1803
1804 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1805
1806         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1807
1808 2003-11-24  André Pönitz  <poenitz@gmx.net>
1809
1810         * rowpainter.C: simplification
1811
1812         * text2.C (updateCounters): remove call to redoParagraph on
1813         changed labels as this is far too expensive.
1814
1815 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1816
1817         * converter.C (convert): fix a crash: this function gets
1818         called with buffer == 0 from importer code.
1819
1820 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1821
1822         * text3.C (cursorPrevious): make sure that we do not compare
1823         iterators form different containers.
1824         (cursorNext): ditto
1825
1826         * rowpainter.C (paintSelection): make sure that we do not compare
1827         iterators from different containers.
1828
1829         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1830         iterators from different ParagraphList containers.
1831         [NEXT] ditto
1832
1833         * text2.C (LyXText): change order of initialization slightly
1834         (operator=): new function. copy all variables except cache_par_
1835         (moveUp): make sure that we do not compare iterators from
1836         different ParagraphList constainers.
1837         (moveDown): ditto
1838
1839         * text.C (firstPar): new function
1840         (lastPar): new function
1841         (endPar): new function
1842
1843         * lyxtext.h: move things around and group public functions, public
1844         variables, private functions, private variables
1845
1846 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1847
1848         * factory.C: change call to InsetERT constructor to avoid
1849         additional invocation of method status
1850         * text2.C (toggleInset): remove redundant update() call
1851         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1852         instead of a Bufferview pointer
1853
1854 2003-11-21  André Pönitz  <poenitz@gmx.net>
1855
1856         * rowpainter.C: simplification
1857
1858 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1859
1860         * text3.C (dispatch): make possible to extend a word/row selection
1861         with the mouse
1862
1863 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1864
1865         * lyxtext.h: x0_,y0_ -> xo_,yo_
1866         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1867         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1868         * rowpainter.C (paintRows): paint full paragraphs
1869
1870 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1871
1872         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1873         screen coordinates)
1874
1875 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1876
1877         * lyxtext.h: add x0_, y0_
1878         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1879         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1880
1881 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1882
1883         * text2.C (setCursorIntern): move the x_target update here *
1884         * text3.C: change some bv() to true/false in calls to
1885         cursorUp/Down/Right/Left
1886         * cursor.C: use helper function.
1887
1888 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1889
1890         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1891         * paragraph_funcs.[Ch]: correct comment
1892         * rowpainter.C: do not paint selections away from bv->cursor()
1893         Fix a long standing selection painting bug.
1894         * text3.C: generalize mouse-selection code to LyXTexts other that
1895         top one
1896         * textcursor.C: do not use y coords if we can use par offsets
1897
1898 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1899
1900         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1901         cursor position after e.g. inset insert)
1902
1903 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1904
1905         * lyxfind.C (replace): adjust to locking removal + some
1906         code simplification
1907
1908 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1909
1910         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1911         of the path
1912
1913 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1914
1915         * lyxlayout.[Ch]:
1916         * output_docbook.C: XML sanitation: new layout
1917         parameters InnerTag and CommandDepth
1918
1919 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1920
1921         * BufferView_pimpl.C:
1922         * factory.C:
1923         * text3.C: Fix the insertion and modification of button-style
1924         insets
1925
1926 2003-11-13  André Pönitz  <poenitz@gmx.net>
1927
1928         * InsetList.[Ch]: remove deleteLyXText
1929
1930         * paragraph.[Ch]: cache beginOfBody position
1931
1932         * Bidi.C:
1933         * text.C:
1934         * text2.C:
1935         * text3.C: remove superfluous update() calls
1936
1937         * vspace.C: cleanup
1938
1939 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1940
1941         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1942         * BufferView.C (fitLockedInsetCursor): remove
1943         * cursor.[Ch] (getDim): add
1944         * text.C (getRowNearY): add faster version
1945         * text3.C: remove some update calls
1946
1947 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1948
1949         * LaTeXFeatures.C:
1950         * LyXAction.C:
1951         * MenuBackend.C:
1952         * MenuBackend.h:
1953         * dispatchresult.h:
1954         * factory.C:
1955         * lfuns.h:
1956         * lyxfunc.C:
1957         * lyxtextclass.C:
1958         * lyxtextclass.h:
1959         * text3.C: The Character Style /XML short element patch.
1960
1961 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1962
1963         * text3.C:
1964         * factory.C: Small step to solving 'unable to insert some insets'
1965         problem
1966
1967 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1968
1969         * cursor.[Ch] (updatePos): new function for updating the y
1970         position of the tip inset
1971         * bufferview_funcs.C (put_selection_at):
1972         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1973
1974 2003-11-11  André Pönitz  <poenitz@gmx.net>
1975
1976         * text.C: remove big comment on invalid Paragraph pointers as it is
1977         not valid anymore
1978
1979 2003-11-11  André Pönitz  <poenitz@gmx.net>
1980
1981         * text_funcs.[Ch]: merge with ...
1982
1983         * text.C: ... this
1984
1985         * lyxtext.h:
1986         * text2.C:
1987         * text3.C: adjust
1988
1989         * Makefile.am: remove text_funcs.[Ch]
1990
1991 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1992
1993         * cursor.C (getPos): return absolute cached y coord
1994
1995         * BufferView_pimpl.C (fitCursor): new simplistic code
1996         (workAreaDispatch): add a fitCursor call
1997
1998 2003-11-10  André Pönitz  <poenitz@gmx.net>
1999
2000         * BufferView.[Ch]:
2001         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2002
2003 2003-11-10  André Pönitz  <poenitz@gmx.net>
2004
2005         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2006         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2007         indicate that the cursor needs to leave an inset
2008
2009         * lyxtext.h: remove inset locking
2010
2011         * cursor.[Ch]: re-implement functionality provided by inset locking
2012
2013         * BufferView.[Ch]:
2014         * BufferView_pimpl.[Ch]:
2015         * LyXAction.C:
2016         * bufferview_funcs.[Ch]:
2017         * factory.C:
2018         * funcrequest.[Ch]:
2019         * iterators.C:
2020         * lyx_cb.C:
2021         * lyxfind.C:
2022         * lyxfunc.C:
2023         * text.C:
2024         * text2.C:
2025         * text3.C:
2026         * undo.C: adjust
2027
2028 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2029
2030         * PosIterator.[Ch]: replace the stack with a vector, add inset
2031         accesor
2032         * iterators.[C]: adjust
2033
2034 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2035
2036         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2037         replaced
2038         * paragraph_funcs.C (readParToken): put the correct id in the
2039         error item, not the id of the top paragraph
2040
2041 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2042
2043         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2044         * bufferview_funcs.C (put_selection_at): use the above
2045
2046 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2047
2048         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2049
2050 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2051
2052         * output_linuxdoc.h:
2053         * output_plaintext.h:
2054         * output.h:
2055         * output_docbook.h: add #include statements
2056
2057 2003-11-05  José Matos  <jamatos@lyx.org>
2058
2059         * output_docbook.[Ch]:
2060         * output_latex.[Ch]:
2061         * output_linuxdoc.[Ch]:
2062         * output_plaintext.[Ch]: New files for output formats.
2063         * output.[Ch]: New file for helper functions.
2064
2065         * buffer.[Ch]:
2066         * paragraph_funcs.[Ch]: output functions moved to new files.
2067
2068         * outputparams.h: rename of latexrunparams.h
2069
2070         * LaTeX.[Ch]:
2071         * buffer.[Ch]:
2072         * bufferlist.[Ch]:
2073         * converter.[Ch]:
2074         * exporter.C:
2075         * paragraph.[Ch]:
2076         * paragraph_funcs.[Ch]:
2077         * paragraph_pimpl.[Ch]:
2078         * tabular.[Ch]: rename ascii to plaintext
2079         and LatexRunParams to OutputParams.
2080
2081 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2082
2083         * iterators.[Ch] (text): require bv argument
2084         * undo.C (recordUndo):
2085         * lyxfunc.C (dispatch):
2086         * bufferview_funcs.C (put_selection_at): adjust
2087
2088 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2089
2090         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2091
2092 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2093
2094         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2095         nestings
2096
2097 2003-11-04  André Pönitz  <poenitz@gmx.net>
2098
2099         * cursor.[Ch]: restructure
2100
2101         * BufferView.[Ch]:
2102         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2103
2104         * iterators.[Ch] (asCursor): remove
2105
2106         * lfuns.h: remove LFUN_INSET_EDIT
2107
2108         * lyxfunc.C:
2109         * tabular.C:
2110         * text.C:
2111         * text2.C:
2112         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2113
2114 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2115
2116         * lyxfind.[Ch]: complete overhaul
2117         * BufferView_pimpl.C:
2118         * lyxfunc.C: adjust
2119         * paragraph.[Ch] (insert): add
2120
2121 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2122
2123         * BufferView.[Ch]:
2124         * lyxtext.h:
2125         * text.C: remove dead spellcheck code
2126
2127 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2128
2129         * dispatchresult.h: add a val setter
2130
2131         * cursor.C (dispatch): use a tempvar for data_[i]
2132
2133 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2134
2135         * PosIterator.[Ch]: compile fix
2136
2137 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2138
2139         * text.C (cursorPar): deactivate the cursor cache
2140
2141 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2142
2143         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2144
2145 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2146
2147         * text3.C (dispatch): adjust for new DisptchResult semantics.
2148
2149         * lyxfunc.C (dispatch): handle update when return from
2150         Cursor::dispatch, adjust for new DispatchResult semantics.
2151
2152         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2153         DispatchResult(true) mean to not update. Add class functions for
2154         setting dispatched and update, as well as reading.
2155
2156         * cursor.C (dispatch): don't handle update here
2157
2158 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2159
2160         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2161         * trans_mgr.C: adjust
2162
2163         * paragraph_funcs.C (readParToken): exception safety
2164
2165         * lyxvc.h: store the vcs pointer in a scoped_ptr
2166         * lyxvc.C: adjust
2167
2168         * lyxsocket.C (serverCallback): exception safety
2169
2170         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2171
2172         * ispell.C (clone): make it return a auto_ptr
2173
2174         * factory.C (createInset): exception safety
2175         (readInset): exception safety
2176
2177         * bufferlist.C (newBuffer): exception safety
2178
2179         * Thesaurus.C (Thesaurus): use initialization for aik_
2180
2181         * MenuBackend.C (expandToc): exception safety.
2182
2183 2003-11-03  André Pönitz  <poenitz@gmx.net>
2184
2185         * buffer.C:
2186         * buffer.h:
2187         * bufferview_funcs.C: remove getInsetFromId()
2188
2189         * lyxcursor.[Ch]:
2190         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2191
2192         * lyxfunc.C:
2193         * text2.C:
2194         * text3.C: adjust
2195
2196 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2197
2198         * PosIterator.C (distance, advance): new
2199         * bufferview_funcs.[Ch] (put_selection_at): new
2200         * iterators.[Ch] (lockPath): new
2201
2202 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2203
2204         * iterators.[Ch] (asPosIterator): added
2205         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2206         * PosIterator.[Ch]: added
2207
2208 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2209
2210         * text3.C:
2211         * lyxfunc.C:
2212         * cursor.C (dispatch):
2213         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2214
2215         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2216         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2217         contructor, add a class function dispatched. Remove operator>=
2218
2219 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2220
2221         * debug.C: only use the default constructor for debugstream
2222         (lyxerr) here.
2223
2224         * main.C (main): include debug.h and setup the lyxerr streambuf
2225         here.
2226
2227 2003-10-31  José Matos  <jamatos@lyx.org>
2228
2229         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2230
2231         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2232         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2233         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2234         * paragraph_pimpl.C (simpleTeXSpecialC):
2235         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2236         add LatexRunParams argument.
2237
2238         * exporter.C (Export): change call accordingly.
2239
2240         * latexrunparams.h: add new member to take care of the other backends.
2241 2003-10-30  José Matos  <jamatos@lyx.org>
2242
2243         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2244         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2245         factorise code for paragraph output.
2246         * buffer.[Ch]:
2247         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2248         move functions.
2249
2250 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2251
2252         * text3.C (dispatch):
2253         * lyxfunc.C (dispatch):
2254         * cursor.C (dispatch):
2255         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2256
2257         * dispatchresult.h: make the dispatch_result_t ctor explicit
2258
2259 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2260
2261         * sgml.[Ch]:
2262         * buffer.C: small refactoring of docbook stuff
2263
2264 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2265
2266         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2267         meaning.
2268
2269 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2270
2271         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2272         operator dispatch_result_t, and operators for == != and >=
2273
2274         * cursor.C (dispatch): adjust for operator dispatch_result_t
2275         removal. comment out call to update
2276
2277         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2278
2279 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2280
2281         * text3.C:
2282         * text2.C:
2283         * text.C:
2284         * lyxtext.h:
2285         * lyxfunc.C:
2286         * cursor.C:
2287         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2288         (dispatch):
2289
2290         * dispatchresult.h: new file, DispatchResult broken out of
2291         insets/insetbase.h
2292
2293         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2294
2295 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2296
2297         * text.C (rowBreakPoint): put a hack inside #if 0
2298
2299 2003-10-28  André Pönitz  <poenitz@gmx.net>
2300
2301         * lyxtext.h:
2302         * metricsinfo.C:
2303         * paragraph_funcs.C:
2304         * rowpainter.C:
2305         * text.C:
2306         * text2.C: general cleanup (lots of small stuff)
2307
2308 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2309
2310         * text2.C (cursorEnd): simple fix to the "end key goes to one
2311         before the end on last row" bug
2312
2313 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2314
2315         * text.C (backspace): fix the "zombie characters"
2316
2317 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2318
2319         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2320
2321 2003-10-27  André Pönitz  <poenitz@gmx.net>
2322
2323         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2324
2325         * factory.C: handle new InsetPagebreak, InsetLine
2326
2327         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2328         and move handling into new InsetPagebreak, InsetLine
2329
2330         * BufferView_pimpl.C:
2331         * LyXAction.C:
2332         * ParagraphParameters.C:
2333         * ParameterStruct.h:
2334         * lyxfunc.C:
2335         * lyxtext.h:
2336         * paragraph.C:
2337         * paragraph.h:
2338         * paragraph_funcs.C:
2339         * paragraph_pimpl.C:
2340         * rowpainter.C:
2341         * text.C:
2342         * text2.C:
2343         * text3.C: adjust
2344
2345 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2346
2347         * text.C:
2348         * lyxrow_funcs.[Ch]:
2349         * Bidi.C:
2350         * paragraph.C:
2351         * lyxtext.h:
2352         * rowpainter.C:
2353         * text2.C:
2354         * text3.C: remove lastPos uses in favour of Row::endpos
2355
2356 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2357
2358         * undo.C (performUndoOrRedo): fix two crashes by setting a
2359         cursor by hand and reordering some calls. Use bv->lockInset instead
2360         of inset->edit because the latter loses cursor information
2361
2362 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2363
2364         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2365         by Martin
2366         (rowBreakPoint): fix width. change point to point + 1.
2367         Add a missing check.
2368
2369 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2370
2371         * MenuBackend.C:
2372         * lyxfunc.C: fix (at least partly) the problems
2373         with the Nav menu and headers inside branch insets
2374         reported by Kayvan
2375
2376 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2377
2378         * paragraph.C (getChar): add strong asserts
2379
2380         * lyxrow_funcs.C (lastPos): remove hideous hack
2381
2382         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2383         (fill): adjust to that (avoid an infinite loop)
2384
2385 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2386
2387         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2388
2389 2003-10-23  André Pönitz  <poenitz@gmx.net>
2390
2391         * RowList_fwd.h: change list<> to vector<> to gain speed
2392         after suggestion from Alfredo
2393
2394 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2395
2396         * lyxtext.h: move the bidi stuff from here...
2397         * text.C: and here
2398         * text2.C: and here
2399         * Bidi.[Ch]: ... to here
2400
2401 2003-10-23  André Pönitz  <poenitz@gmx.net>
2402
2403         * lyxtext.h:
2404         * text.C (isLastRow, isFirstRow): new functions
2405
2406         * paragraph.h: new width cache member
2407
2408         * rowpainter.C: replace RowList::iterator with Row & where possible
2409
2410         * lyxfunc.C: replace several view()->text with a single call
2411
2412         * toc.C: fix 'unused' warning
2413
2414 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2415
2416         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2417         when woring with stream::pos_type
2418         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2419
2420 2003-10-22  André Pönitz  <poenitz@gmx.net>
2421
2422         * lyxtext.h:
2423         * text.C: use Row & instead of RowList::iterator
2424
2425         * lyxrow.h: rename end() to endpos()
2426
2427         * rowpainter.C:
2428         * text.C:
2429         * text2.C: adjust
2430
2431 2003-10-22  Angus Leeming  <leeming@lyx.org>
2432
2433         * buffer.[Ch] (fully_loaded): new member function, returning true
2434         only when the file has been loaded fully.
2435         Used to prevent the premature generation of previews and by the
2436         citation inset to prevent computation of the natbib-style label.
2437
2438         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2439         templates are all set up.
2440
2441         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2442
2443 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2444
2445         * text.C: fixed an "oops" in the "is a bit silly"
2446         bug fix
2447
2448 2003-10-21  André Pönitz  <poenitz@gmx.net>
2449
2450         * FuncStatus.[Ch]: small stuff, whitespace
2451
2452         * lyxfont.[Ch]: operator<<() for debug reasons
2453
2454         * lyxfunc.C:
2455         * lyxrow_funcs.C:
2456         * lyxtext.h: whitespace, spelling
2457
2458         * paragraph.C: naming of variables
2459
2460         * text.C:
2461         * text2.C: small stuff
2462
2463
2464 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2465
2466         * text.C: (1) finish off the inset display() work;
2467         (2) fix the "is a bit silly" bug (accessing char
2468         past end of par).
2469
2470 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2471
2472         * text.C: re-introduce display() for insets, fixing the
2473         various bugs (stretch of line above, math inset
2474         positioning, ...)
2475
2476 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2477
2478         * text.C (rightMargin): remove spurious semicolon
2479
2480         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2481         1415)
2482
2483 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2484
2485         * text3.C: fix one crash due to wrong cursor def
2486
2487 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2488
2489         * vc-backend.C (scanMaster): make the regex static
2490
2491         * LaTeX.C (scanAuxFile): make the regexs static
2492
2493         * text3.C (doInsertInset, dispatch, dispatch):
2494         * text2.C (cursorUp, cursorDown):
2495         * text.C (selectNextWordToSpellcheck):
2496         * BufferView_pimpl.C (dispatch):
2497         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2498
2499 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2500
2501         * lyxsocket.C: include <cerrno>
2502
2503 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2504
2505         * lyxfunc.C (dispatch): remove textcache stuff
2506
2507         * bufferlist.C (release): remove textcache stuff
2508         (closeAll): ditto
2509
2510         * TextCache.C: delete file
2511         * TextCache.h: delete file
2512
2513         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2514
2515         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2516         delete of the bv_->text.
2517         (resizeCurrentBuffer): remove texcache stuff
2518         (workAreaResize): ditto
2519
2520 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2521
2522         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2523         action.
2524
2525 2003-10-16  André Pönitz  <poenitz@gmx.net>
2526
2527         * lyxrow.[Ch]:
2528         * paragraph.h:
2529         * rowpainter.C:
2530         * text.C:
2531         * text2.C:
2532         * text3.C: speed up by storing y positions per paragraph plus per-row
2533         offset instead of having a 'full' y position in the row.
2534
2535 2003-10-15  André Pönitz  <poenitz@gmx.net>
2536
2537         * iterators.[Ch]:
2538         * iterators.[Ch]:
2539         * undo.[Ch]: make undo aware of inner insets
2540
2541 2003-10-14  Angus Leeming  <leeming@lyx.org>
2542
2543         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2544         static member functions LyX::ref() and LyX::cref.
2545         (lastfiles): new accessor functions for the new lastfiles_ member var.
2546         (addLyXView, views_): add a new LyXView to the list of views_.
2547         (updateInset): loop over all LyXViews to call their own updateInset
2548         member function, returning a pointer to the Buffer owning the inset.
2549
2550         * BufferView_pimpl.C (loadLyXFile):
2551         * MenuBackend.C (expandLastfiles):
2552         * bufferlist.C (MenuWrite, QuitLyX):
2553         lastfiles is no longer a global variable.
2554         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2555
2556         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2557         static function. Access through LyX::cref().emergencyCleanup().
2558
2559 2003-10-14  André Pönitz  <poenitz@gmx.net>
2560
2561         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2562
2563         * undo.[Ch]: restoring part of 'undo in insets'
2564
2565         * Makefile.am:
2566         * undo_funcs.[Ch]: merge with undo.[Ch]
2567
2568         * tabular.C: small cleansing stuff
2569
2570 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2571
2572         * paragraph_funcs.C (readParToken): report unknown insets as error
2573         boxes. Use the outer paragraph as location (also for unknown
2574         tokens).
2575
2576         * factory.C (readInset): do not abort on reading an unknown inset.
2577         Eat it and return 0.
2578
2579 2003-10-13  Angus Leeming  <leeming@lyx.org>
2580
2581         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2582
2583         * lyxrc.C: displayTranslator is now a function,
2584         declared in GraphicsTypes.h.
2585
2586 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2587
2588         * format.C: new placeholder $$a to pass the socket address.
2589
2590         * bufferlist.[Ch]: new function getBufferFromTmp.
2591
2592         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2593           files in the temporary dir.
2594
2595 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2596
2597         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2598
2599         * Makefile.am: add lyxsocket.[Ch].
2600
2601         * lyx_main.C (error_handler): handle SIGPIPE.
2602
2603 2003-10-13  André Pönitz  <poenitz@gmx.net>
2604
2605         * BufferView_pimpl.C:
2606         * lyxtext.h:
2607         * text.C:
2608         * text2.C:
2609         * text3.C:
2610         * undo_funcs.[Ch]: use paroffset_type instead of
2611           ParagraphList::iterators to prevent multiple conversion
2612           (and get a more robust interface)
2613
2614 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2615
2616         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2617         * lyxtext.h: ditto
2618         * text3.C (dispatch): ditto
2619
2620 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2621
2622         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2623         move the onlyfile, use onlyfile instead of foundfile in a couple
2624         of places.
2625
2626         * DepTable.C (update): flush the error stream a bit more
2627
2628 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2629
2630         * lyxserver.C (callback): adjust
2631
2632         * lyxfunc.C (getStatus): add a missing brace in commented code
2633         (ensureBufferClean): reindent
2634         (dispatch): delete version taking a string
2635
2636 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2637
2638         * LaTeX.C (deplog): move found file handlig from here...
2639         (handleFoundFile): .. to new function here.
2640         (deplog): make sure to discover several files mentioned on the
2641         same log line.
2642
2643 2003-10-10  André Pönitz  <poenitz@gmx.net>
2644
2645         * lyxfunc.C:
2646         * lyxtext.h:
2647         * tabular.C:
2648         * text.C:
2649         * text2.C:
2650         * text3.C: fix some of the tabular crashes
2651
2652 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2653
2654         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2655
2656         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2657
2658 2003-10-09  André Pönitz  <poenitz@gmx.net>
2659
2660         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2661
2662         * BufferView.C:
2663         * BufferView_pimpl.C:
2664         * bufferview_funcs.C:
2665         * lyx_cb.C:
2666         * lyxcursor.C:
2667         * lyxfind.C:
2668         * lyxfunc.C:
2669         * lyxtext.h:
2670         * text.C:
2671         * text2.C:
2672         * text3.C:
2673         * text_funcs.[Ch]:
2674         * textcursor.[Ch]:
2675         * undo_funcs.C: adjust
2676
2677 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2678
2679         * text2.C (incrementItemDepth): new function, use a backtracking
2680         algorithm to discover the correct item depth.
2681         (resetEnumCounterIfNeeded): new function, use a backtracking
2682         algorithm to discover if counter reset is needed.
2683         (setCounter): use them. Simplify a bit. Add different labels for
2684         different item depths for itemize.
2685
2686         * paragraph.C (Paragraph): remove initialization of enumdepth
2687         (operator=): ditto
2688
2689         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2690         enumerate and itemize. Change the type of itemdepth to signed char.
2691
2692 2003-10-08  André Pönitz  <poenitz@gmx.net>
2693
2694         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2695           thing assignable.
2696         * text.C:
2697         * text2.C: adjust
2698
2699         * tabular.[Ch]: fix crash after 'row-insert'
2700
2701 2003-10-08  Angus Leeming  <leeming@lyx.org>
2702
2703         Fix doxygen warnings.
2704
2705         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2706         Remove CutAndPaste:: prefix from header file declaration.
2707
2708         * LColor.h (fill): remove LColor:: prefix from declaration.
2709
2710         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2711         use lyx::depth_type rather than Paragraph::depth_type so that
2712         header file and .C file match.
2713
2714         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2715
2716         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2717         * aspell.C: \file aspell_local.C -> \file aspell.C
2718         * gettext.C: \file gettext.C -> \file src/gettext.C
2719         * gettext.h: \file gettext.h -> \file src/gettext.h
2720         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2721         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2722         * text.C: \file text.C -> \file src/text.C
2723
2724         * toc.C: move comment so that doxygen is not confused.
2725
2726 2003-10-07  Angus Leeming  <leeming@lyx.org>
2727
2728         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2729
2730 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2731
2732         * aspell.C:
2733         * aspell_local.h: add forgotten std::string's.
2734
2735 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2736
2737         * LaTeXFeatures.C:
2738         * LyXAction.C:
2739         * factory.C:
2740         * lfuns.h:
2741         * lyxfunc.C:
2742         * text3.C: The Box patch. Fancybox support, minipage, parbox
2743
2744 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2745
2746         * CutAndPaste.h:
2747         * DepTable.h:
2748         * FloatList.h:
2749         * LaTeXFeatures.h:
2750         * ParagraphParameters.h:
2751         * TextCache.h:
2752         * Thesaurus.h:
2753         * bufferlist.h:
2754         * exporter.h:
2755         * importer.h:
2756         * lastfiles.h:
2757         * lyxfind.h:
2758         * lyxfont.h:
2759         * lyxlex.h:
2760         * lyxtextclasslist.h:
2761         * messages.h:
2762         * paragraph.h:
2763         * paragraph_pimpl.C:
2764         * textcursor.h: add <string> and other small fixes to make Lars'
2765         std::string patch compile with STLport.
2766
2767 2003-10-06  Angus Leeming  <leeming@lyx.org>
2768
2769         * LColor.h: Add missing #include <string>.
2770
2771 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2772
2773         * All most all file in all subdirs: Make <string> be the prefered
2774         way of getting to std::string, add using declarations.
2775
2776 2003-10-06  André Pönitz  <poenitz@gmx.net>
2777
2778         * metricsinfo.C: initialize LyXFont before changing attribute.
2779         (fixes the 'math in \emph is upright' bug)
2780
2781 2003-10-06  André Pönitz  <poenitz@gmx.net>
2782
2783         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2784
2785 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2786
2787         * graph.C:
2788         * paragraph_pimpl.C: Small fixes to build using STLport
2789
2790 2003-10-02  André Pönitz  <poenitz@gmx.net>
2791
2792         * lyxfunc.C:
2793         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2794
2795 2003-10-01  André Pönitz  <poenitz@gmx.net>
2796
2797         * factory.C: assert early
2798
2799 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2800
2801         * lyx_main.C: remove the global debug object
2802
2803         * debug.h: adjust for new debugstream
2804
2805         * debug.C: adjust for new debugstream and keep the global debug
2806         object here.
2807
2808 2003-09-22  Angus Leeming  <leeming@lyx.org>
2809
2810         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2811         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2812         an incomplete class LyXFont.
2813
2814 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2815
2816         * factory.C: bug fix in branches
2817
2818 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2819
2820         * lyxfunc.C (processKeySym): adjust
2821         (dispatch): adjust
2822         (dispatch): change arg name from ev to func, adjust
2823         (sendDispatchMessage): ditto
2824
2825         * lyx_main.C (defaultKeyBindings): adjust keybindings
2826         (deadKeyBindings): ditto
2827
2828         * kbsequence.C (addkey): return a FuncRequest
2829
2830         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2831
2832         * kbmap.C (bind): take a FuncRequest as arg, adjust
2833         (read): adjust
2834         (lookup): adjust
2835         (defkey): change to take a FuncRequest as arg, adjust
2836         (findbinding): take a FuncRequest as arg, adjust.
2837
2838         * funcrequest.h (operator=): added
2839
2840         * funcrequest.C (FuncRequest): default kb_action changed from
2841         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2842
2843         * buffer.C (dispatch): simplify
2844         (dispatch): adjust to take a FuncRequest as arg, adjust
2845
2846         * boost.C (assertion_failed): change assertion message slightly
2847
2848         * ToolbarBackend.C (read): simplify
2849
2850         * MenuBackend.C (binding): adjust call to findbinding, add a
2851         message if no binding is found.
2852         (read): simplify
2853         (expandToc): correct by adding a empty FuncRequest
2854
2855         * LyXAction.C: include <boost/assert.hpp>
2856         (isPseudoAction): delete function
2857         (LookupFunc): change name to...
2858         (lookupFunc): this. change return type to FuncRequest.
2859         (getActionName): take kb_action as arg, simplify
2860         (funcHasFlag): add an assert, simplify.
2861
2862 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2863
2864         * toc.C (action): return a FuncRequest, simplify
2865
2866         * lyxfunc.C (processKeySym): adjust
2867         (getStatus): delete version that takes an int.
2868         (getStatus): adjust
2869         (dispatch): delete version that takes action as int
2870         (dispatch): adjust
2871         (sendDispatchMessage): simplify and adjust
2872
2873         * funcrequest.C (getArg): take unsigned int as arg
2874
2875         * ToolbarBackend.C (read): adjust
2876         (add): delete version that takes func as a string.
2877         (getIton): take a FuncRequest as arg
2878
2879         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2880         action.
2881
2882         * MenuBackend.C (MenuItem): add a new construct that only takes a
2883         Kind, simplify the constructor use for submenus.
2884         (add): adjust
2885         (expandLastfiles): adjust
2886         (expandDocuments): adjust
2887         (expandFormats): adjust
2888         (expandFloatListInsert): adjust
2889         (expandFloatInsert): adjust
2890         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2891
2892         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2893         Remove class variables lyx_pseudo_map and lyx_arg_map
2894
2895         * LyXAction.C (searchActionArg): delete function
2896         (getPseudoAction): delete function
2897         (retrieveActionArg): delete function
2898         (LookupFunc): make it return kb_action, simplify.
2899         (getActionName): simplify
2900
2901         * factory.C (createInset): fix new bug
2902
2903 2003-09-19  Angus Leeming  <leeming@lyx.org>
2904
2905         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2906         masterFilename_ parameter in the include inset.
2907
2908         * factory.C (createInset): changes due to the changes to InsetInclude.
2909
2910 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2911
2912         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2913
2914 2003-09-18  Angus Leeming  <leeming@lyx.org>
2915
2916         * buffer.C:
2917         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2918         Inset::fillWithBibKeys.
2919         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2920
2921 2003-09-18  Angus Leeming  <leeming@lyx.org>
2922
2923         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2924         variables.
2925         (ctor): pass and store a 'Buffer const &'
2926         (buffer): new member function.
2927
2928         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2929         '*this' to the LaTeXFeatures ctor.
2930
2931 2003-09-18  Angus Leeming  <leeming@lyx.org>
2932
2933         * LColor.h:
2934         * lyxfont.C:
2935         * lyxfont.h:
2936         * lyxtext.h:
2937         * text.C: rename EnumLColor as LColor_color.
2938
2939 2003-09-18  Angus Leeming  <leeming@lyx.org>
2940
2941         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2942         remove #include "insets/insetbase.h" from cursor.h.
2943
2944 2003-09-18  Angus Leeming  <leeming@lyx.org>
2945
2946         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2947         InsetOld_code to remove #include "inset.h".
2948
2949         * iterators.C: add #include "insets/inset.h"
2950
2951 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2952
2953         * BufferView.C: remove more locking stuff that apparently doesn't
2954         do anything sensible.
2955
2956 2003-09-16  André Pönitz  <poenitz@gmx.net>
2957
2958         * paragraph.[Ch]:
2959         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2960           performance boost.
2961
2962 2003-09-16  Angus Leeming  <leeming@lyx.org>
2963
2964         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2965
2966         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2967         arg/return type.
2968
2969         * paragraph.h: remove #include "lyxfont.h". Forward declare
2970         LyXFont_size.
2971
2972 2003-09-16  Angus Leeming  <leeming@lyx.org>
2973
2974         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2975         of support/textutils.h.
2976         (isWord): move the contents of support/textutils.h's IsWordChar here.
2977
2978         * buffer.C:
2979         * lyxfind.C:
2980         * rowpainter.C:
2981         * text.C:
2982         * text2.C: add #include "paragraph.h".
2983
2984         * rowpainter.C:
2985         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2986
2987 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2988
2989         * main.C:
2990         * lyx_main.C:
2991         * lyx_cb.C:
2992         * buffer.C:
2993         * LaTeX.C: use namespace alias for lyx::support::os
2994
2995 2003-09-16  Angus Leeming  <leeming@lyx.org>
2996
2997         * bufferparams.C:
2998         * bufferview_funcs.C:
2999         * factory.C:
3000         * lyxfunc.C:
3001         * paragraph_pimpl.C:
3002         * rowpainter.C:
3003         * text.C: add #include "LColor.h".
3004
3005 2003-09-16  Angus Leeming  <leeming@lyx.org>
3006
3007         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3008         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3009         return LyXFont &.
3010         Store the FontBits::color variable as an int rather than as an
3011         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3012         file.
3013
3014         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3015         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3016         string calls together.
3017
3018         * lyxrc.C: add #include "LColor.h".
3019
3020 2003-09-15  Angus Leeming  <leeming@lyx.org>
3021
3022         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3023         a cow_ptr.
3024
3025 2003-09-15  Angus Leeming  <leeming@lyx.org>
3026
3027         * LColor.h: add an EnumLColor wrapper for LColor::color.
3028
3029         * lyxfont.[Ch] (color, setColor, realColor):
3030         * lyxtext.h, text.C (backgroundColor):
3031         pass EnumLColor args to/from the functions, rather than LColor::color
3032         ones.
3033
3034         * lyxfont.h:
3035         * lyxtext.h: forward declare EnumLColor.
3036
3037         * lyx_main.C: add #include "LColor.h".
3038
3039 2003-09-15  Angus Leeming  <leeming@lyx.org>
3040
3041         * .cvsignore: add lyx-gtk.
3042
3043 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3044
3045         * Chktex.C
3046         * LaTeX.C
3047         * LaTeXFeatures.C
3048         * ParagraphParameters.C
3049         * Spacing.C
3050         * buffer.C
3051         * bufferparams.C
3052         * bufferview_funcs.C
3053         * chset.C
3054         * counters.C
3055         * funcrequest.C
3056         * lyxfont.C
3057         * lyxgluelength.C
3058         * lyxlength.C
3059         * paragraph.C
3060         * paragraph_funcs.C
3061         * text3.C
3062         * vc-backend.C: remove usage of STRCONV
3063
3064 2003-09-15  Angus Leeming  <leeming@lyx.org>
3065
3066         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3067         explicitly define the color passed to the painter.
3068
3069 2003-09-15  Angus Leeming  <leeming@lyx.org>
3070
3071         * bufferparams.C (BufferParams): reorder member initializers to avoid
3072         compiler warning.
3073
3074 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3075
3076         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3077         * text.C (updateRowPositions): remove an unusual nop
3078
3079 2003-09-12  André Pönitz  <poenitz@gmx.net>
3080
3081         * BufferView_pimpl.C:
3082         * Bullet.C:
3083         * layout.h:
3084         * lyxfunc.C:
3085         * lyxlayout.[Ch]:
3086         * lyxtextclass.C:
3087         * rowpainter.C:
3088         * text.C:
3089         * text2.C:
3090         * Counters.[Ch]: finish the 'automatic counters' job
3091
3092 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3093
3094         * aspell.C: include <boost/assert.cpp> (compile fix)
3095
3096 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3097
3098         * boost.C (assertion_failed): use lyx::support::abort instead of
3099         assert.
3100
3101 2003-09-10  Angus Leeming  <leeming@lyx.org>
3102
3103         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3104         with their _fwd progeny.
3105
3106 2003-09-09  Angus Leeming  <leeming@lyx.org>
3107
3108         134 files throughtout the source tree: replace 'using namespace abc;'
3109         directives with the appropriate 'using abc::xyz;' declarations.
3110
3111 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3112
3113         * boost.C (emergencyCleanup): moved here from LAssert.c
3114         (assertion_failed): new function, called by BOOST_ASSERT
3115
3116         * several files: change Assert to BOOST_ASSERT
3117
3118 2003-09-09  Angus Leeming  <leeming@lyx.org>
3119
3120         * buffer.[Ch]: Add an Impl class and move Buffer's member
3121         variables into it. As a result move several header files out of
3122         buffer.h.
3123
3124         Add header files to lots of .C files all over the tree as a result.
3125
3126 2003-09-09  Angus Leeming  <leeming@lyx.org>
3127
3128         * buffer.[Ch]: make Buffer's member variables private. Add
3129         accessor functions.
3130
3131         Lots of changes all over the tree as a result.
3132
3133 2003-09-08  Angus Leeming  <leeming@lyx.org>
3134
3135         * graph.C: #include <config.h>.
3136
3137 2003-09-08  Angus Leeming  <leeming@lyx.org>
3138
3139         * BranchList.C:
3140         * BufferView.C:
3141         * BufferView_pimpl.C:
3142         * CutAndPaste.C:
3143         * DepTable.C:
3144         * LaTeX.C:
3145         * LaTeXFeatures.C:
3146         * LyXAction.C:
3147         * MenuBackend.C:
3148         * TextCache.C:
3149         * aspell.C:
3150         * buffer.C:
3151         * bufferlist.C:
3152         * changes.C:
3153         * chset.C:
3154         * converter.C:
3155         * counters.C:
3156         * debug.C:
3157         * graph.C:
3158         * ispell.C:
3159         * lyx_cb.C:
3160         * lyxfind.C:
3161         * lyxfunc.C:
3162         * lyxlex_pimpl.C:
3163         * lyxrc.C:
3164         * lyxrow.C:
3165         * paragraph.C:
3166         * rowpainter.C:
3167         * texrow.C:
3168         * text.C:
3169         * text2.C:
3170         * toc.C: remove redundant using directives.
3171
3172 2003-09-07  Angus Leeming  <leeming@lyx.org>
3173
3174         * LaTeXFeatures.h: remove #include "support/types.h".
3175         * ToolbarBackend.h: remove #include <algorithm>.
3176         * changes.h: remove #include <ctime>.
3177         * debug.h: remove #include <iosfwd>.
3178         * graph.h: remove #include "support/std_string.h".
3179         * lyx_main.h: remove #include <csignal>.
3180         * lyxlex_pimpl.h: remove #include <fstream>.
3181         * sgml.h: remove #include <algorithm>, <utility>.
3182         * toc.h: remove #include "support/std_ostream.h".
3183         Add #include <iosfwd>.
3184
3185 2003-09-07  Angus Leeming  <leeming@lyx.org>
3186
3187         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3188
3189         * converter.h: forward declare LatexRunParams.
3190         * encoding.h: remove #include "lyxrc.h".
3191         * lyxtext.h: remove #include "LColor.h".
3192         * lyxtextclass.h: remove #include "support/types.h".
3193         * trans.h: remove #include "tex-accent.h".
3194         * trans_mgr.h: remove #include "tex-accent.h".
3195         * insets/inset.h: remove #include "support/types.h", <vector>.
3196         * insets/insetcollapsable.h: remove #include "LColor.h".
3197         * insets/insetinclude.h: remove #include "dimension.h".
3198         * insets/insetlatexaccent.h: remove #include "dimension.h".
3199         * insets/insetoptarg.h:: remove #include "insettext.h".
3200         * insets/insettext.h: remove #include "dimension.h",
3201         <boost/shared_ptr.hpp>
3202
3203         * insets/renderers.h: add #include "dimension.h".
3204         * insets/updatableinset.h: add #include "support/types.h".
3205
3206         * many .C files: Associated changes.
3207
3208 2003-09-06  Angus Leeming  <leeming@lyx.org>
3209
3210         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3211         one, inside testInvariant.
3212
3213         * PrinterParams.C: new file.
3214         * PrinterParams.[Ch]: move the function bodies out of line.
3215
3216 2003-09-06  Angus Leeming  <leeming@lyx.org>
3217
3218         * ParagraphParameters.h: forward declare ParameterStruct rather than
3219         including its header file.
3220         (depth): moved out-of-line.
3221
3222 2003-09-06  Angus Leeming  <leeming@lyx.org>
3223
3224         * BufferView_pimpl.h:
3225         * kbmap.h:
3226         * kbsequence.h:
3227         * lyxfunc.h: forward declare LyXKeySym rather than
3228         #include "frontends/LyXKeySym.h".
3229
3230         * BufferView_pimpl.C:
3231         * kbmap.C:
3232         * kbsequence.C:
3233         * lyxfunc.C: associated changes.
3234
3235 2003-09-06  Angus Leeming  <leeming@lyx.org>
3236
3237         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3238         As a result, can remove the #include "insets/inset.h" from BufferView.h
3239
3240 2003-09-06  Angus Leeming  <leeming@lyx.org>
3241
3242         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3243         As a result, can remove the #include "insets/inset.h" from BufferView.h
3244
3245 2003-09-06  Angus Leeming  <leeming@lyx.org>
3246
3247         * buffer_funcs.C:
3248         * buffer.h:
3249         * bufferlist.C:
3250         * BufferView.C:
3251         * bufferview_funcs.C:
3252         * BufferView_pimpl.C:
3253         * CutAndPaste.C:
3254         * lyx_cb.C:
3255         * lyxfunc.C:
3256         * paragraph.h:
3257         * ParagraphParameters.C:
3258         * tabular.C:
3259         * text3.C:
3260         * toc.C:
3261         * undo_funcs.C:
3262         * frontends/controllers/ControlDocument.C:
3263         * insets/insetcaption.C: rearrange the #includes into some sort of
3264         coherent order.
3265
3266         * buffer.h: remove #includes ErrorList.h, undo.h
3267
3268 2003-09-06  Angus Leeming  <leeming@lyx.org>
3269
3270         * support/types.h: add a 'depth_type' typedef, used to store the
3271         nesting depth of a paragraph.
3272
3273         * paragraph.h:
3274         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3275         defining explicitly.
3276
3277         * buffer.h:
3278         * paragraph_funcs.h:
3279         * ParagraphParameters.h:
3280         * sgml.h: use lyx::depth_type rather than Paragraph or
3281         ParameterStruct's depth_type.
3282
3283         * buffer.h
3284         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3285
3286         * BufferView.C:
3287         * BufferView_pimpl.C:
3288         * CutAndPaste.C:
3289         * ParagraphParameters.C:
3290         * buffer_funcs.C:
3291         * bufferlist.C:
3292         * bufferview_funcs.C:
3293         * lyx_cb.C:
3294         * lyxfunc.C:
3295         * tabular.C:
3296         * text3.C:
3297         * toc.C:
3298         * undo_funcs.C:
3299         * frontends/LyXView.C:
3300         * frontends/controllers/ControlDocument.C:
3301         * frontends/controllers/ControlErrorList.C:
3302         * insets/insetbibitem.C:
3303         * insets/insetbranch.C:
3304         * insets/insetcaption.C:
3305         * insets/insetcollapsable.C:
3306         * insets/insetenv.C:
3307         * insets/insetert.C:
3308         * insets/insetfloat.C:
3309         * insets/insetfoot.C:
3310         * insets/insetfootlike.C:
3311         * insets/insetnewline.C:
3312         * insets/insetquotes.C:
3313         * insets/insettabular.C:
3314         * insets/insettext.C:
3315         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3316
3317         * frontends/controllers/ControlChanges.C: #include "changes.h".
3318
3319 2003-09-06  Angus Leeming  <leeming@lyx.org>
3320
3321         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3322         than #including paragraph.h.
3323
3324         * ParagraphList.h:
3325         * RowList.h: deleted. Superfluous.
3326
3327         * CutAndPaste.h:
3328         * iterators.h:
3329         * lyxcursor.h:
3330         * lyxtext.h:
3331         * text_funcs.h:
3332         * undo.h:
3333         * undo_funcs.h:
3334         * insets/inset.h:
3335         * insets/insettext.h: use ParagraphList_fwd.h rather than
3336         ParagraphList.h.
3337
3338         * paragraph.h: don't forward declare ParagraphList.
3339
3340         * buffer.h:
3341         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3342         rather than ParagraphList.h. paragraph.h is still needed for the
3343         Paragraph::depth_type parameters.
3344
3345         * textcursor.h: enable it to compile stand-alone in light of the
3346         above changes.
3347
3348         * bufferview_funcs.C:
3349         * iterators.C:
3350         * lyxfunc.C:
3351         * lyxrow_funcs.C:
3352         * paragraph.C:
3353         * rowpainter.C:
3354         * text.C:
3355         * text2.C:
3356         * text3.C:
3357         * text_funcs.C:
3358         * textcursor.C:
3359         * undo.C:
3360         * frontends/controllers/ControlParagraph.C:
3361         * frontends/controllers/ControlTabular.C:
3362         * insets/insetmarginal.C:
3363         * insets/insetminipage.C:
3364         * insets/insetnote.C:
3365         * insets/insetoptarg.C: add header files needed to compile again.
3366
3367 2003-09-06  Angus Leeming  <leeming@lyx.org>
3368
3369         * RowList_fwd.h: new file, forward-declaring Row rather than
3370         #including lyxrow.h.
3371
3372         * lyxrow_funcs.h:
3373         * lyxtext.h:
3374         * paragraph.h:
3375         * insets/insettext.h: use it instead of RowList.h
3376
3377         * bufferview_funcs.C:
3378         * lyxfunc.C:
3379         * lyxrow_funcs.C:
3380         * paragraph.C:
3381         * rowpainter.C:
3382         * text.C:
3383         * text2.C:
3384         * text3.C: #include "RowList.h".
3385
3386 2003-09-05  Angus Leeming  <leeming@lyx.org>
3387
3388         * factory.C (createInset):
3389         * vspace.C (c-tor): replace sscanf call with an istringstream.
3390         * ispell.C: re-add missing HP/UX headers.
3391         * lyxserver.C: re-add missing  os2 headers.
3392
3393 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3394
3395         * BranchList.C:
3396         * graph.C:
3397         * ispell.C:
3398         * lastfiles.C:
3399         * lyx_cb.C:
3400         * lyxserver.C:
3401         * texrow.C:
3402         * text3.C: re-add missing system headers, needed for 2.95.2.
3403
3404 2003-09-05  Angus Leeming  <leeming@lyx.org>
3405
3406         Changes most place everywhere due to the removal of using directives
3407         from support/std_sstream.h.
3408
3409 2003-09-05  Angus Leeming  <leeming@lyx.org>
3410
3411         Replace LString.h with support/std_string.h,
3412         Lsstream.h with support/std_sstream.h,
3413         support/LIstream.h with support/std_istream.h,
3414         support/LOstream.h with support/std_ostream.h.
3415
3416         Changes resulting throughout the tree.
3417
3418 2003-09-05  Angus Leeming  <leeming@lyx.org>
3419
3420         * sgml.h: ensure that the header file can be compiled stand-alone.
3421         * *.C: strip out redundant #includes. (320 in total.)
3422
3423 2003-09-04  Angus Leeming  <leeming@lyx.org>
3424
3425         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3426         here (from getPackages).
3427
3428         * debug.[Ch]: add a new EXTERNAL tag.
3429
3430 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3431
3432         * text2.C (cursorEnd): simplify
3433         (setCursor): adjust
3434         (getColumnNearX): adjust
3435
3436         * text.C (computeBidiTables): adjust
3437         (fill): adjust
3438
3439         * rowpainter.C (paintChars): adjust
3440         (paintSelection): adjust
3441         (paintChangeBar): adjust
3442         (paintText): adjust
3443
3444         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3445         lastPos instead.
3446         (numberOfSeparators): adjust
3447
3448 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3449
3450         * LyXAction.C:
3451         * box.[Ch]:
3452         * lfuns.h:
3453         * lyxfunc.C:
3454         * text3.C: Restricts the mouse click functionality
3455         of insets like bibtex, include, toc and floatlist to the visible
3456         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3457         up the dialogs. Cursor has to be in front of the inset (i.e.
3458         start of row) for this to function.
3459
3460 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3461
3462         * bufferview_funcs.C (currentState): output row information
3463
3464 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3465
3466         * bufferview_funcs.C (currentState): output paragraph position
3467
3468 2003-09-04  Angus Leeming  <leeming@lyx.org>
3469
3470         * FloatList.h: move out #include "Floating.h".
3471         * LaTeX.h: move out #include "DepTable.h".
3472         * LyXAction.h: move out #include "funcrequest.h".
3473         * buffer.h: move out #include "author.h", "iterators.h".
3474         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3475         * lyx_main.h: move out #include "errorlist.h".
3476         * lyxfunc.h: move out #include "FuncStatus.h".
3477         * lyxtext: move out #include "lyxcursor.h".
3478         * paragraph_pimpl.h: move out #include "counters.h".
3479
3480 2003-09-03  Angus Leeming  <leeming@lyx.org>
3481
3482         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3483         preamble_snippets list, enabling us to add snippets to the preamble
3484         only if the snippet was not there already.
3485
3486 2003-09-04  Angus Leeming  <leeming@lyx.org>
3487
3488         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3489
3490 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3491
3492         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3493         update
3494
3495 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3496
3497         * BranchList.C: point fix, earlier forgotten
3498
3499 2003-09-02  Angus Leeming  <leeming@lyx.org>
3500
3501         * box.C (contains): renamed from 'contained' after a fantastic
3502         amount of hot air.
3503
3504 2003-09-02  John Levon  <levon@movementarian.org>
3505
3506         * BufferView.C:
3507         * lyxcursor.h:
3508         * lyxcursor.C:
3509         * lyxfunc.C:
3510         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3511
3512 2003-09-02  John Levon  <levon@movementarian.org>
3513
3514         * text2.C: simplification of cursorEnd(), including partial
3515         fix for bug 1376
3516
3517 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3518
3519         * buffer.C (readFile): add a space
3520
3521 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3522
3523         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3524
3525 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3526
3527         * buffer.C (readFile): new function, take a filename and a
3528         ParagraphList::iterator
3529         (readFile): adjust
3530         (readFile): adjust, make it private. don't use setStream, make
3531         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3532         always contain the filename.
3533
3534         * BufferView.C (insertLyXFile): simplify and make it work for
3535         gzipped files.
3536
3537 2003-08-30  John Levon  <levon@movementarian.org>
3538
3539         * Makefile.am: fix dist (from Kayvan)
3540
3541 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3542
3543         * most files: change to use const Buffer refs
3544
3545 2003-08-27  André Pönitz  <poenitz@gmx.net>
3546
3547         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3548         on top of ownerPar().
3549
3550 2003-08-27  John Levon  <levon@movementarian.org>
3551
3552         * funcrequest.C: properly initialise POD members
3553
3554 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3555
3556         * lyxtext.h (top_y): move top_y from here
3557         * text.C:
3558         * text2.C:
3559         * text3.C:
3560         * BufferView.[Ch]:
3561         * BufferView_pimpl.[Ch]: to here
3562         * frontends/screen.C:
3563         * insets/insettabular.C:
3564         * insets/insettext.C: adjust
3565         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3566
3567 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3568
3569         * BufferView.[Ch]:
3570         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3571
3572 2003-08-26  André Pönitz  <poenitz@gmx.net>
3573
3574         * paragraph_func.[Ch] (outerPar): new function
3575
3576         * paragraph.C:
3577         * paragraph_funcs.C:
3578         * paragraph_funcs.h:
3579         * paragraph_pimpl.C:
3580         * text2.C: remove Inset::par_owner
3581
3582 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3583
3584         * lyxrow_funcs.C:
3585         * lyxtext.h:
3586         * text.C:
3587         * text2.C: eliminates the needFullRow/display() stuff
3588         altogether, putting the logic in metrics/draw in the insets.
3589
3590 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3591
3592         * text2.C (redoParagraphInternal, redoParagraphs):
3593         * text.C (redoParagraph): add a call to updateRowPositions at the
3594         end of each 'metrics-like' call. Remove all others.
3595         (getRow): remove the 'y-computing' version.
3596         (getRowNearY): do not compute nor return the real y. Solve the
3597         'y < 0' problem and simplify.
3598
3599 2003-08-22  Angus Leeming  <leeming@lyx.org>
3600
3601         * *.[Ch]: clean-up of licence and author blurbs.
3602         Also move config.h out of a few .h files and into a few .C files.
3603
3604 2003-08-22  André Pönitz  <poenitz@gmx.net>
3605
3606         * lyxrow.[Ch]: add x_ and *fill_ members
3607
3608         * lyxtext.h:
3609         * text.C:
3610         * rowpainter.C:
3611         * text2.C: adjust/remove prepareToPrint() calls
3612
3613 2003-08-22  André Pönitz  <poenitz@gmx.net>
3614
3615         * lyxrow.[Ch]: add  end_ member
3616
3617         * lyxrow_funcs.C: use LyXRow::end_
3618
3619         * lyxtext.h (singleWidth): add LyXFont parameter
3620
3621         * rowpainter.C:
3622         * text2.C: adjust LyXText::singleWidth() calls
3623
3624         * text.C (redoParagraph): simplify row breaking logic
3625
3626
3627 2003-08-19  André Pönitz  <poenitz@gmx.net>
3628
3629         * funcrequest.C: initialize button_ member
3630
3631         * text3.C:
3632         * rowpainter.[Ch]: interface consolidation
3633
3634 2003-08-18  André Pönitz  <poenitz@gmx.net>
3635
3636         * BufferView.C:
3637         * BufferView_pimpl.C:
3638         * lyxfind.C:
3639         * paragraph_funcs.C:
3640         * rowpainter.C:
3641         * text3.C: remove LyXScreen::draw() and fitCursor calls
3642
3643         * BranchList.h: remove spurious semicolons
3644
3645         * MenuBackend.C: fix branchlist related crash
3646
3647 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3648
3649         * BranchList.[Ch]:
3650         * InsetList.[Ch]:
3651         * LColor.[Ch]:
3652         * LyXAction.C:
3653         * Makefile.am:
3654         * MenuBackend.[Ch]:
3655         * bufferparams.[Ch]:
3656         * factory.C:
3657         * lfuns.h:
3658         * lyxfunc.C:
3659         * text3.C: implements the 'branch inset'
3660         idea. This allows the output of various versions of a document
3661         from a single source version, selectively outputing or suppressing
3662         output of parts of the text.
3663         This implementation contains a 'branch list editor' in a separate
3664         tab of the document settings dialog. Branches are user definable
3665         and have a "display colour" to distinguish them on-screen.
3666
3667         ColorHandler was somewhat cleaned up.
3668         (1) make possible a dynamically growing LColor list by allowing
3669         the graphic context cache to grow along (vector);
3670         (2) eliminate an IMHO unnecessary step in colour allocation.
3671
3672 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3673
3674         * BufferView_pimpl.C: compile fix
3675
3676 2003-08-15  André Pönitz  <poenitz@gmx.net>
3677
3678         * rowpainter.C: remove extra metrics calls
3679
3680         * lyxtext.h: merge the two constructors into a single one,
3681           pass reference to owner's par list
3682
3683         * BufferView_pimpl.C:
3684         * text.C:
3685         * text2.C: adjust
3686
3687 2003-08-15  André Pönitz  <poenitz@gmx.net>
3688
3689         * lyxrow_funcs.[Ch]:
3690         * lyxtext.h:
3691         * paragraph.h:
3692         * paragraph_funcs.C:
3693         * rowpainter.C:
3694         * text.C:
3695         * text2.C:
3696         * text3.C:
3697         * text_funcs.C: split LyXText::rowlist_ into individual
3698         Paragraph::rows_ chunks
3699
3700         * BufferView.[Ch]:
3701         * BufferView_pimpl.[Ch]:
3702         * lyxfind.C:
3703         * lyxtext.h:
3704         * text3.C: remove toggleSelection()
3705
3706 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3707
3708         * bufferlist.C: beautify two alerts (shorter text of buttons)
3709         * buffer.C: Remove redundant ' ' from message
3710         * tabular.h:
3711         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3712         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3713         rename VALIGN_CENTER to VALIGN_MIDDLE
3714
3715 2003-08-11  André Pönitz  <poenitz@gmx.net>
3716
3717         * lyxtext.h (getPar):
3718         * text.C: new function
3719
3720 2003-08-11  André Pönitz  <poenitz@gmx.net>
3721
3722         * Makefile.am:
3723         * tracer.[Ch]: remove unneeded files
3724
3725         * InsetList.[Ch]: remove resizeInsetsLyXText()
3726
3727         * lyxtext.h:
3728         * text.C:
3729         * text2.C:
3730         * text3.C: merge insertParagraphs() and appendParagraph()
3731         remove breakAgain(), update()
3732
3733         * BufferView_pimpl.[Ch]:
3734         * bufferview_funcs.[Ch]:
3735         * lyxfunc.C:
3736         * paragraph.[Ch]:
3737         * rowpainter.C:
3738         * tabular.C: adjust after text & InsetList changes.
3739
3740 2003-08-08  André Pönitz  <poenitz@gmx.net>
3741
3742         * text.C (insertChar, backspace): replace rowlist fiddling
3743         with rebreak of full par
3744
3745         * lyxtext.h:
3746         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3747         checkParagraph, updateInset): removed
3748
3749 2003-08-07  André Pönitz  <poenitz@gmx.net>
3750
3751         * paragraph.C:
3752         * text3.C: merge some LFUN handlers, remove dead code
3753
3754 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3755
3756         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3757
3758 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3759
3760         * text2.C (DEPM): fix part of bug 1255 and 1256
3761
3762 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3763
3764         * BufferView_pimpl.C (workAreaDispatch): change to use
3765         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3766         that are no mouse related.
3767
3768 2003-08-05  André Pönitz  <poenitz@gmx.net>
3769
3770         * BufferView.[Ch]:
3771         * BufferView_pimpl.[Ch]:
3772         * bufferview_funcs.C:
3773         * text2.C:
3774         * text3.C: rip out "deep update"
3775
3776         * textcursor.[Ch] (last_sel_cursor): remove unused member
3777
3778 2003-08-04  André Pönitz  <poenitz@gmx.net>
3779
3780         * BufferView.[Ch]:
3781         * BufferView_pimpl.[Ch]:
3782         * ParagraphParameters.C:
3783         * bufferview_funcs.C:
3784         * lyx_cb.C:
3785         * lyxfind.C:
3786         * lyxfunc.C:
3787         * text.C:
3788         * text2.C:
3789         * text3.C: replace "complicated" BufferView::update(...) calls with
3790         simpler ones.
3791
3792         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3793
3794 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3795
3796         * Makefile.am (lyx_SOURCES): add paper.h
3797
3798 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3799
3800         * Makefile.am: move things around so that both lyx-qt and
3801         lyx-xforms can be built (according to --with-frontend). Then lyx
3802         is a symbolic link to lyx-[firstfrontend]
3803
3804 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3805
3806         * Always use std::endl with lyxerr
3807
3808 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3809
3810         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3811
3812 2003-08-01  André Pönitz  <poenitz@gmx.net>
3813
3814         * BufferView.[Ch]:
3815         * BufferView_pimpl.[Ch]:
3816         * lyxfunc.C:
3817         * text3.C: merge BufferView::repaint() and BufferView::update()
3818
3819 2003-08-01  José Matos  <jamatos@lyx.org>
3820
3821         * buffer.[Ch]: file_format is no longer a buffer data element.
3822
3823 2003-08-01  André Pönitz  <poenitz@gmx.net>
3824
3825         * BufferView.C:
3826         * lyxtext.h:
3827         * text.C:
3828         * text2.C: make redoParagraph more independent of current cursor
3829
3830         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3831         * text.C:
3832         * text2.C: remove unneeded members
3833
3834 2003-07-30  André Pönitz  <poenitz@gmx.net>
3835
3836         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3837
3838         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3839           create a single function...
3840
3841         * paragraph_funcs.C (moveItem): ... here.
3842
3843         * text.C:
3844           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3845
3846 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3847
3848         * LColor.[Ch]: Add comment and greyedout logical colors.
3849
3850 2003-07-30  André Pönitz  <poenitz@gmx.net>
3851
3852         * tabular.C: don't use Assert too heavily. This crashes where it
3853           shouldn't
3854
3855 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3856
3857         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3858         is disabled (bug 1232)
3859
3860 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3861
3862         * factory.C: limited 'arg' scope
3863
3864 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3865
3866         * factory.C: fixed Note submenu issues
3867
3868 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3869
3870         * factory.C: submenu for Note/Comment/Greyedout
3871
3872 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3873
3874         * lyx_main.C (LyX):
3875         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3876
3877 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3878
3879         * LaTeXFeatures.C:
3880         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3881         greyedout. Patch provided by Jürgen Spitzmüller.
3882
3883 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3884
3885         * kbmap.C (read): fix error message when reading bind files
3886
3887 2003-07-29  Angus Leeming  <leeming@lyx.org>
3888
3889         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3890         certainly does not do what it purports to do. I am doing it, and
3891         us, a favour by killing it.
3892
3893 2003-07-28  José Matos  <jamatos@lyx.org>
3894
3895         * buffer.C (readBody, do_writeFile):
3896         * paragraph.C(readParagraph): \end_document replaces \the_end.
3897
3898 2003-07-29  André Pönitz  <poenitz@gmx.net>
3899
3900         * BufferView.[Ch]:
3901         * BufferView_pimpl.[Ch]:
3902         * lyxfunc.C:
3903         * text2.C:
3904         * text3.C:
3905         * textcursor.[Ch]: remove toggleToggle & Co
3906
3907 2003-07-28  José Matos  <jamatos@fep.up.pt>
3908
3909         * buffer.C (readParagraph):
3910         * params_func (readParToken, readParagraph):
3911         * paragraph.C (write): \layout -> \begin_layout.
3912
3913 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3914
3915         * lyxlex_pimpl.C (setFile): clean up slightly.
3916
3917         * bufferparams.h: add compressed var
3918
3919         * buffer_funcs.C (readFile): adjust for LyXLex change
3920         (newFile): ditto + simplify
3921
3922         * buffer.C (writeFile): handle writing of compressed files
3923
3924         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3925         Check if the file is compressed and set a bufferparm if so.
3926
3927         * Makefile.am (lyx_LDADD): remove explicit -lz
3928
3929 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3930
3931         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3932         makeDocBookFile): put the real LyX version in the first line of
3933         the file
3934
3935         * version.h:
3936         * version.C.in: remove lyx_docversion
3937
3938         * tabular.C (write_attribute): add a template-based version to
3939         write enums properly
3940
3941 2003-07-28  André Pönitz  <poenitz@gmx.net>
3942
3943         * lyxtext.h:
3944         * text.C:
3945         * text2.C:
3946         * text3.C: use doubles again for x-coordinates. They are needed.
3947
3948 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3949
3950         * messages.C (getLocaleDir): use lyx_localedir()
3951
3952         * lyxlex_pimpl.C (setFile): compress stuff
3953
3954         * buffer.C (writeFile): add some compression stuff
3955         (do_writeFile): new func, dont call expliti close... will this
3956         breake anything?
3957
3958         * Makefile.am (lyx_LDADD): add -lz
3959
3960 2003-07-28  José Matos  <jamatos@fep.up.pt>
3961
3962         * buffer.C: increment file format.
3963         * paragraph_funcs (readParagraph, readParToken):
3964         * paragraph.C (readParagraph): add \end_layout.
3965
3966 2003-07-27  Angus Leeming  <leeming@lyx.org>
3967
3968         * Makefile.am: remove special casing for configure-time setting of
3969         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3970
3971         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3972         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3973
3974 2003-07-26  André Pönitz  <poenitz@gmx.net>
3975
3976         * paragraph_func.[Ch]:
3977         * paragraph.C (realizeFont): inline it whereever it is used
3978
3979         * rowpainter.C:
3980         * text.C:
3981         * text2.C:
3982         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3983
3984
3985 2003-07-26  André Pönitz  <poenitz@gmx.net>
3986
3987         *       lyxtext.h:
3988         * text.C:
3989         * text2.C: get rid of LyXText::need_break_row
3990
3991 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3992
3993         * toc.[Ch]: put namespace toc inside namespace lyx
3994
3995         * MenuBackend.C (expandToc2): adjust for lyx::toc
3996         (expandToc): ditto
3997
3998         * lyxfunc.C (dispatch): adjust for lyx::find
3999
4000         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4001         lyx::find instead. Reorganize a bit.
4002         (LyXReplace): rename to replace
4003         (LyXFind): rename to find
4004
4005         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4006         (dispatch): ditto
4007
4008 2003-07-26  André Pönitz  <poenitz@gmx.net>
4009
4010         * text.C (setHeightOfRow): restrict scope of temporary variable
4011
4012         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4013           code (never has been used?)
4014
4015 2003-07-27  Asger Alstrup  <alstrup@local>
4016
4017         * text.C (fill): Optimise algorithm to exploit that we can reuse
4018         the LyXFont for many characters.
4019         (setHeightOfRow): Same thing.
4020         (rowBreakPoint): Same thing.
4021
4022 2003-07-26  Asger Alstrup  <alstrup@local>
4023
4024         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4025
4026         * text.C (singleWidth): Spurious font copying in hot-spot
4027         singleWidth avoided. Reorder tests for arabic for efficiency.
4028
4029         * text.C (fill): handle empty paragraphs better.
4030
4031 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4032
4033         * ispell.C:
4034         * encoding.h: add includes
4035
4036         * lyxrc.C: remove reading of bind files
4037
4038         * lyx_main.C (init): setup bindings and menus only if we have a
4039         gui.
4040
4041         * kbmap.C (read): new method. Do the actual reading of bind
4042         files.
4043
4044         * converter.C (dvipdfm_options):
4045         * bufferparams.C:
4046         * lyxrc.C (read):
4047         (output): adapt PAPER_* enums.
4048
4049         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4050
4051         * bufferparams.h: remove paper-related enums from there
4052
4053         * paper.h: New file. A trivial header file to hold paper-related
4054         enums. It should later expand to contain many paper-related
4055         horrors access.
4056
4057         * lyxrc.C: declare extern displayTranslator
4058
4059 2003-07-27  José Matos  <jamatos@fep.up.pt>
4060
4061         * tabular.[Ch] (linuxdoc): add support for tables and figures
4062         (linuxdoc).
4063
4064 2003-07-27  José Matos  <jamatos@fep.up.pt>
4065
4066         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4067         consistency in both functions.
4068         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4069
4070 2003-07-26  Asger Alstrup  <alstrup@local>
4071
4072         * rowpainter.C (paintRows): Change algorithm to work directly on
4073         the insets rather than asking every character in the document
4074         whether its an inset.
4075
4076 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4077
4078         * buffer.C (openFileWrite): factorize some code
4079
4080 2003-07-26  Angus Leeming  <leeming@lyx.org>
4081
4082         * lyx_cb.C:
4083         * lyx_main.[Ch]: replace occurances of system_tempdir with
4084         os::getTmpDir().
4085
4086 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4087
4088         * rename Inset to InsetOld
4089
4090 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4091
4092         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4093         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4094         which I think is a bit clearer. EDIT is gone, since it was
4095         premature optimisation, and broken for mathed anyway.
4096         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4097         with cursor positioning in insets as well (math insets still do not
4098         work, but that's a different story anyway.) It mysteriously
4099         crashes sometimes with undo in the first paragraph, but I'm fairly
4100         confident that this is a compiler bug.
4101
4102 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4103
4104         * paragraph.C (Paragraph): adjust for new clone return type
4105         (operator==): ditto
4106         (copyIntoMinibuffer): ditto
4107
4108 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4109
4110         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4111         by not having a special case, and always doing a full rebreak of
4112         the document after undo.
4113
4114 2003-07-23  Angus Leeming  <leeming@lyx.org>
4115
4116         * factory.C (createInset): InsetExternal::setParams now takes a
4117         Buffer const * arg.
4118
4119 2003-07-23  Angus Leeming  <leeming@lyx.org>
4120
4121         * factory.C (createInset): changed interface to the external and
4122         graphics mailers' string2params functions.
4123
4124 2003-07-23  Angus Leeming  <leeming@lyx.org>
4125
4126         * factory.C (createInset): pass a
4127         Buffer const * parameter to InsetExternalMailer's string2params.
4128
4129 2003-07-22  John Levon  <levon@movementarian.org>
4130
4131         * Thesaurus.h: include the right aiksaurus header
4132
4133 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4134
4135         * MenuBackend.C (expand): check menu shortcuts unconditionally
4136
4137 2003-07-21  Angus Leeming  <leeming@lyx.org>
4138
4139         * factory.C (createInset): pass a
4140         buffer_path parameter to InsetGraphicsMailer's string2params.
4141
4142 2003-07-21  Angus Leeming  <leeming@lyx.org>
4143
4144         * BufferView_pimpl.C (buffer):
4145         * buffer.C (d-tor):
4146         * lyx_main.C (LyX):
4147         * lyxfunc.C (dispatch):
4148         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4149         rather than the grfx shortcut.
4150
4151 2003-07-21  André Pönitz  <poenitz@gmx.net>
4152
4153         * rowpainter.C: remove unused variables
4154
4155         * tabular_funcs.C:
4156         * tabular_funcs.h: move to tabular.C
4157         * Makefile.am: adjust
4158
4159         * tabular.[Ch]: basic optical cleaning
4160
4161         * author.h: pass references, not values
4162
4163 2003-07-18  André Pönitz  <poenitz@gmx.net>
4164
4165         * lyxtext.h:
4166         * metricsinfo.C:
4167         * metricsinfo.h:
4168         * rowpainter.C:
4169         * text.C:
4170         * text2.C:
4171         * text3.C: two-phase drawing for InsetText and InsetTabular
4172         some float -> int changes.
4173
4174 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4175
4176         * lyx_main.C: fix the fix
4177
4178 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4179
4180         * lyx_main.C: fix a crash in batch mode if no files specified
4181         * converter.C: ws
4182
4183 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4184
4185         * format.[Ch] (papersize): moved to BufferParams
4186         * converter.[Ch] (dvips_options): moved to BufferParams
4187         (dvipdfm_options): moved to anon namespace
4188         * bufferparams.[Ch]: added above functions.
4189
4190 2003-07-17  André Pönitz  <poenitz@gmx.net>
4191
4192         * lyxtext.h:
4193         * rowpainter.C:
4194         * text2.C: don't call inset->update() anymore
4195
4196         * metricsinfo.[Ch]: add convenience constructor
4197
4198 2003-07-16  André Pönitz  <poenitz@gmx.net>
4199
4200         * lyxcursor.[Ch]:
4201         * lyxfunc.[Ch]:
4202         * text.C:
4203         * text2.C: replace the LyXCursor::irow_ member with
4204          on-demand computation of the value
4205
4206 2003-07-16  John Levon  <levon@movementarian.org>
4207
4208         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4209
4210 2003-07-15  André Pönitz  <poenitz@gmx.net>
4211
4212         * text.C:
4213         * text2.C: remove no more needed refresh_row
4214
4215 2003-07-15  André Pönitz  <poenitz@gmx.net>
4216
4217         * lyxtext.h:
4218         * rowpainter.C:
4219         * text2.C:
4220         * text3.C: refresh_status tristate -> need_update bool
4221
4222 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4223
4224         * lyxtext.h (init): remove reinit argument (act as if always true)
4225         * text2.C: adjust to that
4226
4227 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4228
4229         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4230         * text3.C: use it to delete selections in some cases
4231         (bugs 441, 673, 702, 954).
4232
4233 2003-07-14  André Pönitz  <poenitz@gmx.net>
4234
4235         * rowpainter.[Ch]: reduce interface
4236
4237 2003-07-14  André Pönitz  <poenitz@gmx.net>
4238
4239         * BufferView_pimpl.C:
4240         * text2.C: adjust after removing unused BufferView * argument
4241
4242 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4243
4244         * text2.C (init): fix a crash fired on resize
4245
4246 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4247
4248         * buffer.[Ch]: added new closing signal
4249         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4250         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4251         BufferView::Pimpl via the closing the signal
4252
4253 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4254
4255         * buffer.[Ch]: take out all bv-related from buffer
4256         * BufferView.C:
4257         * BufferView_pimpl.[Ch]: connect to new signals
4258         * CutAndPaste.C: removed useless asserts
4259         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4260         * lyxvc.[Ch]:
4261         * vc-backend.[Ch]:
4262         * lyxfunc.C: moved view-related funciontality from vc here
4263         * paragraph.C: removed outdated comments
4264         * text.C: ws
4265
4266 2003-07-10  André Pönitz  <poenitz@gmx.net>
4267
4268         * BufferView_pimpl.C:
4269         * tabular.h:
4270         * tabular_funcs.C:
4271         * text.C:
4272         * text2.C: remove InsetText::InnerCache, clean up consequences
4273
4274 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4275
4276         * ispell.C: fix two typos in error messages
4277
4278 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4279
4280         * Extend Note inset to other forms of annotation like Comment
4281         and Greyedout. Right button click gives dialog.
4282
4283         Files modified or added (+):
4284
4285         * insetnote.[Ch]
4286         * FormNote.[Ch]      +
4287         * ControlNote.[Ch]   +
4288         * form_note.fd       +
4289         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4290         frontends/controllers
4291         * xforms/Dialogs.C
4292         * factory.C
4293
4294 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4295
4296         * aspell.C: add missing namespace lyx::support
4297
4298 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4299
4300         * BufferView.[Ch] (newFile): Add
4301         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4302         * LaTeX.[Ch] (message): added this signal and use it
4303         * buffer.[Ch] (busy, message): added these signals and use them
4304         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4305         * converter.C:
4306         * exporter.C:
4307         * format.C:
4308         * importer.C: use buffer signals instead of direct bv calling
4309         * lyx_cb.[Ch] (ShowMessage): removed
4310         * lyx_main.C:
4311         * lyxfunc.C:
4312         * paragraph_funcs.C:
4313         * text2.C: use buffer signals
4314
4315 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4316
4317         * introduce namespace lyx::graphics
4318
4319 2003-07-02  André Pönitz  <poenitz@gmx.net>
4320
4321         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4322
4323 2003-07-01  André Pönitz  <poenitz@gmx.net>
4324
4325         * text.C:
4326         * text2.C:
4327         * text3.C:
4328         * text_funcs.[Ch]:
4329         * textcursor.h:
4330         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4331           text*.C to text_func.C
4332
4333 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4334
4335         * introduce namespace lyx::support
4336
4337 2003-06-30  André Pönitz  <poenitz@gmx.net>
4338
4339         * Chktex.C:
4340         * funcrequest.C:
4341         * lyxtext.h:
4342         * text.C: re-enable --with-included-string
4343
4344 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4345
4346         * textcursor.C: add <config.h>
4347
4348         * text.C (getWord): remove const from word_location arg
4349
4350         * lyxvc.C (getLogFile): fix const type order
4351
4352         * lyxtext.h: remove const from word_location arg, add arg name
4353
4354         * lyxlayout.h: currect type on labeltype.
4355
4356         * importer.C: correct \file
4357
4358         * converter.C (intToFormat): use std:: on ret val, ws changes
4359
4360         * bufferlist.h: correct \file
4361
4362         * buffer.C (makeLinuxDocFile): fix const type order
4363         (makeDocBookFile): ditto
4364         (fillWithBibKeys): use std:: on stdlib args.
4365
4366         * CutAndPaste.C: fix authors.
4367         (availableSelections): use std:: on return vector
4368
4369 2003-06-27  André Pönitz  <poenitz@gmx.net>
4370
4371         * BufferView_pimpl.C:
4372         * bufferview_funcs.C:
4373         * lyxcursor.C:
4374         * lyxcursor.h:
4375         * lyxfunc.C:
4376         * lyxtext.h:
4377         * rowpainter.C:
4378         * text.C:
4379         * text2.C:
4380         * text3.C: remove LyXCursor::row_ member
4381
4382         * lyxtext.h:
4383         * text.C: rename fullRebreak() to partialRebreak() and implement
4384           a fullRebreak() that really bereks fully
4385
4386         * textcursor.h: new struct for cursor-related data
4387
4388 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4389
4390         * lyx_main.C (LyX): get full path of document loaded on the
4391         command line
4392
4393 2003-06-26  André Pönitz  <poenitz@gmx.net>
4394
4395         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4396           remove unused/broken operator>,<,>=.
4397
4398         *       text.C: remove only use of broken operator<= in an Assert().
4399
4400 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4401
4402         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4403         moved errorlist_.clear to showErrorList
4404
4405 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4406
4407         * converter.C (scanLog, runLaTeX):
4408         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4409         move the bv->showErrorList call to the callers
4410         * lyxfunc.C: i.e. here...
4411         * text2.C: and here
4412         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4413         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4414         namespace, the second to...
4415         * buffer_funcs (BufferFormat, parseErrors): added
4416         * errorlist.C (ErrorList(TeXErrors const &)): removed
4417
4418 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4419
4420         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4421
4422 2003-06-24  "Garst R. Reese" <reese@isn.net>
4423
4424         * debug.C: fix typo
4425
4426 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4427
4428         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4429
4430         * version.C.in: change docversion to 1.4
4431
4432 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4433
4434         * buffer.C: fix a bug just introduced
4435
4436 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4437
4438         * buffer.[Ch]: added the parseError signal and use it, removed
4439         sgmlError
4440         * BufferView.[Ch] (addError): moved to ...
4441         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4442         to the Buffer::parseError signal to catch (guess what) parse errors
4443         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4444
4445 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4446
4447         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4448         ability to create a buffer and to return an existing one from
4449         the list. Moved these functions to...
4450         * buffer_funcs.[Ch]: added
4451         * BufferView.[Ch] (loadLyXFile): added
4452         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4453         job removed from bufferlist::loadLyXFile.
4454         * buffer.C (setReadOnly): make it work without view
4455         (i.e added an if (users))
4456
4457 2003-06-19  Angus Leeming  <leeming@lyx.org>
4458
4459         * lfuns.h:
4460         * LyXAction.C (init):
4461         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4462         with LFUN_DIALOG_SHOW <name> <data>.
4463
4464 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4465
4466         * CutAndPaste.C (availableSelections): small compilation fix for
4467         ancient (gcc 2.9x) compilers
4468
4469 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4470
4471         * text3.C (cursorNext): add tmp var
4472
4473         * text2.C (updateCounters): for function calling out of for clause
4474         (replaceSelectionWithString): ditto
4475         (insertStringAsParagraphs): ditto
4476         (getColumnNearX): add tmp var
4477         (setCursorFromCoordinates): add tmp var
4478         (cursorDownParagraph): add tmp var
4479         (deleteEmptyParagraphMechanism): add tmp var
4480
4481         * text.C (insertChar): add tmp var
4482
4483         * rowpainter.C (paintDepthBar): add tmp var
4484
4485         * CutAndPaste.C (availableSelections): potentially check all
4486         paragraphs in a cut to fill the shown strings.
4487
4488 2003-06-18  André Pönitz  <poenitz@gmx.net>
4489
4490         * kbmap.[Ch]: use vector<> instead of list<>
4491
4492 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4493
4494         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4495         pasteSelection with index
4496
4497         * text2.C (pasteSelection): modify, call pasteSelection with index
4498
4499         * paragraph.C (asString): reimplement version with no interval to
4500         call the one with interval.
4501
4502         * lyxtext.h: add index arg to pasteSelection
4503
4504         * MenuBackend.C (MenuItem): handle PasteRecent
4505         (Menu::read::Menutags): add md_pasterecent
4506         (read): handle it
4507         (expandPasteRecent): new function
4508         (expand): use it
4509
4510         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4511
4512         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4513         the limited stack
4514         (availableSelections): new function
4515
4516 2003-06-17  Angus Leeming  <leeming@lyx.org>
4517
4518         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4519
4520 2003-06-17  Angus Leeming  <leeming@lyx.org>
4521
4522         * lfuns.h:
4523         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4524
4525         * lyxfunc.C (dispatch): invoke it.
4526
4527 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4528
4529         * iterators.C (operator++, ParPosition): reintroduce some
4530         const_cast for the benefit of older compilers.
4531
4532 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4533
4534         * text3.C (dispatch): do not modify clipboard when doing
4535         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4536         LFUN_DELETE_SKIP on a selection selection
4537
4538 2003-06-16  André Pönitz  <poenitz@gmx.net>
4539
4540         * BufferView.C:
4541         * buffer.C:
4542         * buffer.h:
4543         * paragraph.C:
4544         * tabular.[Ch]: IU of clone() and getLabelList();
4545
4546 2003-06-13  André Pönitz  <poenitz@gmx.net>
4547
4548         * tabular.h: compactification
4549
4550 2003-06-12  André Pönitz  <poenitz@gmx.net>
4551
4552         * tabular.C:
4553         * tabular.h:
4554         * tabular_funcs.h: some renaming plus whitespace
4555
4556 2003-06-12  André Pönitz  <poenitz@gmx.net>
4557
4558         * BufferView.C:
4559         * BufferView_pimpl.C:
4560         * CutAndPaste.C:
4561         * buffer.C:
4562         * iterators.[Ch]:
4563         * lyxfunc.C:
4564         * text.C:
4565         * toc.C: Return a Paragraph & for ParIterator::operator*()
4566
4567 2003-06-11  John Levon  <levon@movementarian.org>
4568
4569         * lyx_main.C:
4570         * ToolbarBackend.h:
4571         * ToolbarBackend.C: add "Toolbars" section and
4572         put the flags there
4573
4574 2003-06-10  Angus Leeming  <leeming@lyx.org>
4575
4576         * lfuns.h:
4577         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4578
4579         * lyxfunc.C (dispatch): invoke it.
4580
4581 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4582
4583         * main.C: protect <ios> with HAVE_IOS
4584         (main): protect sync_with_stdio with HAVE_IOS
4585
4586 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4587
4588         * text2.C (cutSelection): adjust
4589         (pasteSelection): adjust
4590
4591         * messages.C: handle get of empty string
4592
4593         * main.C (main): use sync_with_stdio(false)
4594
4595         * lyxfunc.C (dispatch): adjust
4596
4597         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4598         (WriteAs): remove unneeded BufferView arg.
4599
4600         * bufferparams.h: use correct types on papersize, papersize2 and
4601         paperpackage.
4602
4603         * bufferparams.C (readToken): adjust for type
4604         (writeLaTeX): add missing cases to switch.
4605
4606         * bufferlist.C (quitWriteBuffer): adjust
4607         (close): adjust
4608
4609         * buffer.C (asciiParagraph): remove some commented code.
4610
4611         * CutAndPaste.C: remove current_view extern variable.
4612         (cutSelection): add BufferParams arg.
4613         (eraseSelection): add BufferParams arg.
4614         (pasteSelection): add Buffer const & arg
4615
4616 2003-06-07  John Levon  <levon@movementarian.org>
4617
4618         * buffer.C:
4619         * paragraph_funcs.C:
4620         * paragraph_pimpl.C:
4621         * text.C:
4622         * text2.C:
4623         * paragraph.h:
4624         * paragraph.C: allow InsetERT to freely space lines,
4625         and some consolidation of code
4626
4627 2003-06-06  José Matos  <jamatos@fep.up.pt>
4628
4629         * buffer.C (makeDocBookFile): fix bug #821
4630
4631 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4632
4633         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4634
4635 2003-06-04  Angus Leeming  <leeming@lyx.org>
4636
4637         * buffer.C: bump format to 224.
4638
4639 2003-06-05  André Pönitz  <poenitz@gmx.net>
4640
4641         * text2.C (redoParagraphs): remove two const_cast<>
4642
4643 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4644
4645         * ParagraphList.h: remove last remnants of NO_STD_LIST
4646
4647 2003-06-03  Angus Leeming  <leeming@lyx.org>
4648
4649         * factory.C (createInset): small change to the way InsetExternal's params
4650         are set.
4651
4652 2003-06-04  André Pönitz  <poenitz@gmx.net>
4653
4654         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4655
4656         * paragraph_pimpl.h:
4657         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4658
4659         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4660
4661         * undo_funcs.C: make some simple cases of undo work again
4662
4663 2003-06-03  John Levon  <levon@movementarian.org>
4664
4665         * ispell.C: HPUX doesn't have sys/select.h
4666         (from Albert Chin)
4667
4668 2003-06-03  John Levon  <levon@movementarian.org>
4669
4670         * CutAndPaste.C: update tabular and include inset
4671         buffer references
4672
4673         * buffer.h:
4674         * paragraph.h:
4675         * paragraph.C: remove owningBuffer(), don't pass Buffer
4676         to clone()
4677
4678         * factory.C: insetGraphicsParams changed
4679
4680 2003-06-02  John Levon  <levon@movementarian.org>
4681
4682         * LyXAction.C:
4683         * factory.C:
4684         * lfuns.h:
4685         * lyxfunc.C:
4686         * text3.C: remove insetparent
4687
4688 2003-06-02  John Levon  <levon@movementarian.org>
4689
4690         * buffer.h:
4691         * buffer.C: fix inset_iterator.end(), move out of line
4692         (bug 1149)
4693
4694 2003-06-01  John Levon  <levon@movementarian.org>
4695
4696         * text3.C: use a proper cut/paste when doing inset
4697         insert (from Jürgen Spitzmüller)
4698
4699 2003-06-01  John Levon  <levon@movementarian.org>
4700
4701         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4702
4703 2003-05-30  André Pönitz  <poenitz@gmx.net>
4704
4705         * rowpainter.C: unify second drawing phase
4706
4707 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4708
4709         * trans_mgr.C: remove one case of current_view
4710
4711         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4712
4713         * paragraph_funcs.h: remove paragraph.h include
4714
4715         * paragraph.h: delete NO_STD_LIST stuff
4716
4717         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4718
4719         * buffer.h: remove paragraph.h include
4720
4721         * ParagraphList.C: delete file
4722
4723         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4724
4725         * toc.C (getTocList): adjust
4726
4727         * paragraph_pimpl.C (validate): adjust
4728
4729         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4730
4731         * paragraph.C (Paragraph): adjust
4732         (getPositionOfInset): use const_iterator, adjust
4733         (bibitem): use const_iterator, adjust
4734         (setInsetOwner): adjust
4735
4736         * iterators.C (operator++): adjust
4737
4738         * InsetList.[Ch]: Replace selfmade iterator with standard
4739         vector::iterator also introduce const_iterator. Remove getPos,
4740         getInset and setInset from InsetTable. Adjust accordingly.
4741
4742         * BufferView.C (lockInset): adjust
4743         (ChangeInsets): adjust
4744
4745         * tabular.[Ch]: delete commented same_id functions
4746
4747 2003-05-28  John Levon  <levon@movementarian.org>
4748
4749         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4750
4751 2003-05-28  André Pönitz  <poenitz@gmx.net>
4752
4753         * metricsinfo.[Ch]: remove 'fullredraw' member
4754
4755 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4756
4757         * lyxtextclass.C (operator): remove caching.
4758
4759 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4760
4761         * text3.C: adjust
4762
4763         * text2.C (cursorBottom): adjust
4764         (setCounter): use ParagraphList::find, adjust
4765
4766         * text.C (workWidth): use ParagraphList::find, adjust
4767
4768         * lyxcursor.C (LyXCursor): adjust
4769
4770         * buffer.C (inset_iterator): adjust
4771
4772         * ParagraphList.h: make iterator(value_type) private, make
4773         ParagraphList a friend of iterator.
4774
4775         * ParagraphList.C (find): new function
4776
4777         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4778
4779 2003-05-27  André Pönitz  <poenitz@gmx.net>
4780
4781         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4782
4783 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4784
4785         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4786
4787 2003-05-26  John Levon  <levon@movementarian.org>
4788
4789         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4790
4791 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4792
4793         * remove same_id from function signatures, adjust.
4794
4795 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4796
4797         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4798
4799         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4800
4801         * paragraph.C (Paragraph): get rid of same_ids parameter
4802
4803         * ParagraphList.C (insert): adjust
4804         (push_back): adjust
4805
4806 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4807
4808         * paragraph_funcs.C (breakParagraph): adjust
4809         (breakParagraphConservative): adjust
4810
4811         * buffer.C (readParagraph): adjust
4812
4813         * ParagraphList.C (insert): take a reference instead of a pointer
4814         (insert): adjust
4815
4816         * paragraph.[Ch] (id): new function
4817
4818         * bufferlist.C (newFile): adjust
4819
4820         * ParagraphList.C (ParagraphList): adjust
4821         (assign): adjust
4822         (push_back): take a reference instead of a pointer.
4823
4824         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4825
4826         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4827         instead.
4828
4829         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4830         set else use old code.
4831
4832         * ParagraphList.C: remove all NO_NEXT code and only compile this
4833         code of NO_STD_LIST is set.
4834
4835 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4836
4837         * BufferView_pimpl.C:
4838         * TextCache.C:
4839         * TextCache.h:
4840         * bufferlist.C:
4841         * errorlist.h:
4842         * format.C:
4843         * format.h:
4844         * graph.C:
4845         * lyxfunc.C:
4846         * lyxrc.C:
4847         * graphics/GraphicsConverter.C:
4848         * graphics/PreviewLoader.C: header adjustment
4849
4850 2003-05-23  Angus Leeming  <leeming@lyx.org>
4851
4852         * LaTeXFeatures.[Ch] (useBabel): new method.
4853         * bufferparams.C (writeLaTeX): use it.
4854
4855 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4856
4857         * ParagraphList.h (set): remove unused function.
4858
4859 2003-05-23  André Pönitz  <poenitz@gmx.net>
4860
4861         * BufferView.C:
4862         * BufferView_pimpl.C:
4863         * buffer.C:
4864         * buffer.h:
4865         * lyxfunc.C:
4866         * undo_funcs.C: setUndo reworked
4867
4868         * iterators.[Ch]: add access to topmost ParagraphList
4869
4870         * lyxtext.[Ch] (workWidth): add a const
4871
4872 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4873
4874         * texrow.[Ch] (increasePos): remove function
4875         * exporter.C (export): removed unused var and outdated comment
4876
4877 2003-05-23  Angus Leeming  <leeming@lyx.org>
4878
4879         * latexrunparams.h: rename fragile as moving_arg.
4880         * paragraph.C (simpleTeXOnePar): ditto.
4881         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4882
4883 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4884
4885         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4886         (createUndo): ditto
4887         (textUndoOrRedo): comment out a currently unused var.
4888
4889         * paragraph.h (NO_NEXT): enable NO_NEXT
4890
4891         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4892
4893         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4894
4895         * exporter.C (Export): adjust for removeAutoInsets removal.
4896
4897         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4898
4899         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4900
4901         * BufferView.[Ch] (removeAutoInsets): delete function
4902
4903 2003-05-22  Angus Leeming  <leeming@lyx.org>
4904
4905         * latexrunparams.h: add a free_spacing variable.
4906
4907         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4908         to pass moving_arg, as the data is stored in runparams.fragile.
4909
4910         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4911         to Inset::latexOptional or to simpleTeXOnePar.
4912
4913         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4914         free_spacing arg to Inset::latexOptional.
4915
4916         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4917         free_spacing arg.
4918
4919 2003-05-22  Angus Leeming  <leeming@lyx.org>
4920
4921         * latexrunparams.h: add fragile and use_babel variables.
4922
4923         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4924         * buffer.C (makeLaTeXFile): store this returned value in
4925         runparams.use_babel, thus passing it to the inset::latex methods.
4926
4927         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4928         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4929
4930         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4931         longer has a fragile arg, as it is stored in runparams.fragile.
4932
4933         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4934         moving_arg parameter as the data is stored in runparams.fragile.
4935
4936         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4937         a fragile parameter as the data is stored in runparams.fragile.
4938
4939 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4940
4941         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4942
4943 2003-05-22  Angus Leeming  <leeming@lyx.org>
4944
4945         * latexrunparams.h: add a 'bool nice' which defaults to false.
4946
4947         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4948         now encapsulated within runparams.
4949
4950         * bufferlist.C (updateIncludedTeXfiles):
4951         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4952
4953 2003-05-22  Angus Leeming  <leeming@lyx.org>
4954
4955         * latexrunparams.h: new file containing struct LatexRunParams.
4956         * Makefile.am: add new file.
4957
4958         * LaTeX.[Ch] (c-tor, run):
4959         * buffer.[Ch] (makeLaTeXFile):
4960         * bufferlist.[Ch] (updateIncludedTeXfiles):
4961         * converter.C (convert, scanLog):
4962         * converter.[Ch] (runLaTeX):
4963         * exporter.C (Export):
4964         * paragraph.[Ch] (simpleTeXOnePar):
4965         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4966         * paragraph_funcs.[Ch] (latexParagraphs):
4967         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4968         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4969         pass around a LatexRunParams parameter.
4970
4971 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4972
4973         * paragraph.[Ch]: remove unused constructor
4974
4975         * ParagraphList.C (erase): new function, taking two iterators
4976
4977 2003-05-22  André Pönitz  <poenitz@gmx.net>
4978
4979         * undo_funcs.C: remove duplicated code
4980
4981         * iterator.[Ch]: operator=
4982
4983 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4984
4985         * tabular.C (SetMultiColumn): ws changes
4986
4987         * rowpainter.C (paintFirst): get rid of a ->previous
4988
4989         * lyx_cb.C (getPossibleLabel): parlist simplification
4990
4991         * BufferView.C (ChangeInsets): simplify slightly.
4992
4993 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4994
4995         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4996         * lfuns.h: new LFUN_SPACE
4997         * lyxfunc.C: protected space has a new lfun
4998         * paragraph_funcs.C: read new space insets
4999         * text3.C:
5000         * factory.C: handle new space insets
5001
5002 2003-05-22  André Pönitz  <poenitz@gmx.net>
5003
5004         * BufferView.C:
5005         * BufferView_pimpl.C:
5006         * buffer.[Ch]:
5007         * lyxfunc.C:
5008         * undo_funcs.C: return a ParIterator from getParFromID.
5009
5010         * iterators.[Ch]: add two const's
5011
5012 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5013
5014         * toc.C (getTocList): adjust
5015
5016         * iterators.[Ch]: rework for parlist
5017
5018         * buffer.C (par_iterator_begin): adjust
5019         (par_iterator_end): adjust
5020
5021         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5022
5023         * BufferView.C (removeAutoInsets): adjust
5024         (ChangeInsets): adjust
5025
5026 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5027
5028         * text.C (top_y): fix bug 1110
5029
5030 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5031
5032         * errorlist.[Ch]: added
5033         * buffer.C:
5034         * BufferView.[Ch]:
5035         * BufferView_pimpl.C:
5036         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5037         instead
5038
5039 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5040
5041         * Makefile.am: ensure that lyx is relinked upon changes to the
5042         various "convenience" libs.
5043
5044 2003-05-20  Angus Leeming  <leeming@lyx.org>
5045
5046         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5047         files are compiled in alphabetical order again.
5048
5049         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5050
5051 2003-05-19  Angus Leeming  <leeming@lyx.org>
5052
5053         * gettext.[Ch]: remove "char const * _(char const *)".
5054
5055 2003-05-19  André Pönitz  <poenitz@gmx.net>
5056
5057         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5058
5059         * Makefile.am:
5060         * BufferView.C:
5061         * DepTable.h:
5062         * LaTeXFeatures.C:
5063         * buffer.C:
5064         * lyxfont.C:
5065         * lyxlex.h:
5066         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5067
5068 2003-05-19  André Pönitz  <poenitz@gmx.net>
5069
5070         * buffer.C:
5071         * lyxlayout.[Ch]:
5072         * lyxtextclass.[Ch]:
5073         * paragraph.C:
5074         * paragraph_funcs.[Ch]:
5075         * text2.C:
5076         * text3.C: more insetenv work
5077
5078 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5079
5080         * ParagraphParameters.C (params2string): small bug fixed
5081
5082 2003-05-16  André Pönitz  <poenitz@gmx.net>
5083
5084         * debug.C:
5085         * bufferview_funcs.C: patch from Kornel Benko to prevent
5086           crash when _(...) is called twice in a statement
5087
5088 2003-05-16  André Pönitz  <poenitz@gmx.net>
5089
5090         * BufferView.C:
5091         * lyxfunc.C:
5092         * text.C:
5093         * text2.C:
5094         * text3.C:
5095         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5096
5097 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5098
5099         * lyx_main.C (init): remove spurious static_cast
5100
5101 2003-05-14  André Pönitz  <poenitz@gmx.net>
5102
5103         * BufferView.C: fix format string
5104
5105 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5106
5107         * BufferView.[Ch] (insertErrors): removed
5108         * BufferView.[Ch] (showErrorList): added
5109         * buffer.C (runChkTeX):
5110         * converter.C (scanLog): call showErrorList instead of inserterrors
5111
5112 2003-05-13  André Pönitz  <poenitz@gmx.net>
5113
5114         * BufferView_pimpl.C:
5115         * buffer.C:
5116         * bufferview_func.C:
5117         * MenuBackend.C:
5118         * lyxfunc.C:
5119         * lyxrc.C:
5120         * tex-accent.C:
5121         * text3.C:
5122         * toc.C:
5123         * tabular_funcs.h: tostr() from its own header
5124
5125         * ParagraphParameters.C:
5126         * ToolbarBackend.C:
5127         * bufferparams.C:
5128         * format.C:
5129         * lyxlex_pimpl.C:
5130         * text3.C: STRCONV()
5131
5132 2003-05-12  André Pönitz  <poenitz@gmx.net>
5133
5134         * BufferView.C:
5135         * BufferView_pimpl.C:
5136         * CutAndPaste.C:
5137         * LaTeX.C:
5138         * LaTeXFeatures.C:
5139         * ParagraphParameters.C:
5140         * buffer.C:
5141         * bufferlist.C:
5142         * bufferparams.C:
5143         * bufferview_funcs.C:
5144         * converter.C:
5145         * counters.C:
5146         * debug.C:
5147         * exporter.C:
5148         * format.C:
5149         * importer.C:
5150         * lyx_cb.C:
5151         * lyx_main.C:
5152         * lyxfont.C:
5153         * lyxfunc.C:
5154         * lyxvc.C:
5155         * paragraph.C:
5156         * paragraph_funcs.C:
5157         * tabular.C:
5158         * tabular_funcs.C:
5159         * text2.C:
5160         * text3.C:  boost::format -> bformat  all over the place
5161
5162
5163 2003-05-09  André Pönitz  <poenitz@gmx.net>
5164
5165         * LColor.[Ch]: Pimpl the #include <map> away
5166
5167 2003-05-09  John Levon  <levon@movementarian.org>
5168
5169         * bufferlist.C: never remove emergency saves
5170
5171 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5172
5173         * Makefile.am: better lib building
5174
5175 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5176
5177         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5178         instead.
5179         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5180         (simpleTeXSpecialChars): adjust
5181         (simpleTeXSpecialChars): adjust
5182         * paragraph.C (simpleTeXOnePar): adjust
5183         * buffer.C (makeLaTeXFile): adjust
5184
5185         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5186
5187         * text2.C (changeDepth): parlist cleanup
5188         (getColumnNearX): ditto
5189
5190         * rowpainter.C (getLabelFont): parlist cleanup
5191
5192         * bufferlist.C (newFile): parlist cleanup
5193
5194         * CutAndPaste.C (eraseSelection): parlist cleanup
5195
5196         * BufferView_pimpl.C (trackChanges): parlist cleanup
5197         (dispatch): ditto
5198
5199         * BufferView.C (lockInset): parlist cleanup.
5200         (ChangeInsets): ditto
5201
5202 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5203
5204         * CutAndPaste.h: Update file header.
5205
5206         * CutAndPaste.C: Update file header.
5207         Store the parts cut out of the Document in a limited_stack.
5208         (copySelection): adjust
5209         (pasteSelection): new function, takes the index in the limited stack.
5210         (nrOfParagraphs): adjust
5211         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5212         simplify error inset insertion.
5213         (checkPastePossible): adjust
5214
5215 2003-05-06  John Levon  <levon@movementarian.org>
5216
5217         * text2.C: don't cast wrap inset to float
5218
5219 2003-05-05  André Pönitz  <poenitz@gmx.net>
5220
5221         * iterator.C:
5222         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5223
5224         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5225           few naked Paragraph *.
5226
5227 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5228
5229         * bufferparams.C: Output warning if a document with missing
5230         TeX document class is loaded
5231         * exporter.C: Disable TeX exports if the document class is missing
5232         * lyxtextclass.C:
5233         * lyxtextclass.h:
5234         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5235         isTeXClassAvailable()
5236
5237 2003-05-03  John Levon  <levon@movementarian.org>
5238
5239         * BufferView.h:
5240         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5241         explicit cursor show/hide
5242
5243         * BufferView_pimpl.h:
5244         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5245         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5246
5247         * lyxfunc.C: hide cursor before dispatching.
5248
5249         * lyx_cb.C:
5250         * lyxfind.C:
5251         * text.C:
5252         * text3.C: remove explicit cursor hides
5253
5254 2003-05-02  André Pönitz  <poenitz@gmx.net>
5255
5256         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5257
5258         * undo_funcs.C:
5259         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5260           linked lists
5261
5262         * text2.C: tiny whitespace
5263
5264 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5265
5266         * undo_funcs.C: almost only ws changes.
5267
5268         * ParagraphList.C (splice): just return if pl is empty.
5269
5270 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5271
5272         * ParagraphList.C (splice): new function.
5273
5274         * CutAndPaste.C (pasteSelection): use it
5275
5276 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5277
5278         * CutAndPaste.C (pasteSelection): remove the last next and
5279         previous from this file.
5280
5281 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5282
5283         * CutAndPaste.C (pasteSelection): more clean up, user proper
5284         ParagraphList functions for pasteing.
5285
5286         * ParagraphList.C (insert): new function, three arg insert
5287
5288 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5289
5290         * ParagraphList.C (insert): new function, three arg insert
5291
5292         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5293         not on paragraphs.
5294
5295 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5296
5297         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5298
5299 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5300
5301         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5302
5303 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5304
5305         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5306         (copySelection): clean up a bit.
5307         (pasteSelection): use make_pair
5308
5309         * ParagraphList.C (ParagraphList): implement copy constructor
5310         (operator=): implement, base on copy constructor.
5311         (assign): new func
5312
5313         * paragraph.C (erase): return a bool
5314
5315         * paragraph_pimpl.C (erasePos): remove function, move contents...
5316         (erase): ... here. Return a bool.
5317         (erase): call erase instead of erasePos.
5318
5319 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5320
5321         * ParagraphList.h: define PitPosPair
5322         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5323         ParagraphList, fix a bug on pasting multiple pars
5324         * text2.C: change interface to C&P
5325
5326 2003-04-30  André Pönitz  <poenitz@gmx.net>
5327
5328         * undo_func.C: revert part of yesterday's patch 2
5329
5330 2003-04-30  John Levon  <levon@movementarian.org>
5331
5332         * LColor.C: s/tabular/table/
5333
5334 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5335
5336         * text3.C (dispatch): do not convert iterator -> pointer
5337         * undo_funcs.C (setCursorParUndo): ditto
5338         * text_funcs.C (transposeChars): ditto
5339
5340         * text2.C (setLayout): ws changes only
5341
5342         * text.C (breakParagraph): do not convert iterator -> pointer
5343         (insertChar): ditto
5344         (acceptChange): ditto
5345         (rejectChange): ditto
5346         (changeCase): ditto
5347         (Delete): ditto
5348         (backspace): ditto
5349
5350         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5351         pointer
5352
5353 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5354
5355         * text3.C (gotoInset): YABG (yet another bad getChar)
5356
5357 2003-04-29  André Pönitz  <poenitz@gmx.net>
5358
5359         * paragraph.h: make operator= private unimplemented as long as
5360           it is unusable
5361
5362         * ParagraphList.C: whitespace
5363
5364         * paragraph.[Ch]:
5365         * paragraph_pimpl.[Ch]:
5366         * paragraph_funcs.C:
5367         * CutAndPaste.C:
5368         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5369
5370         * text2.C:
5371           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5372
5373 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5374
5375         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5376         * paragraph.[Ch] (erase):
5377         * paragraph_pimpl.[Ch] (erase): change return type and value
5378         * text2.C (cutSelection): some rework
5379
5380 2003-04-28  John Levon  <levon@movementarian.org>
5381
5382         * bufferlist.C: changes for unsaved changes dialog
5383
5384 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5385
5386         * bufferlist.C (newFile): set language (messages_) for new
5387         documents also.
5388
5389         * buffer.C (readFile): ws changes only.
5390
5391 2003-04-28  André Pönitz  <poenitz@gmx.net>
5392
5393         * undo_funcs.C:
5394         * lyxfunc.C:
5395         * buffer.[Ch]:
5396         * BufferView_pimpl.C:
5397         * BufferView.C: getParFromID related ParagraphList::iterator changes
5398
5399 2003-04-28  André Pönitz  <poenitz@gmx.net>
5400
5401         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5402           Changes
5403
5404 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5405
5406         * messages.C: remove one more localedir class variable.
5407
5408 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5409
5410         * messages.C (getLocaleDir): singleton generation function
5411         (Pimpl): use it.
5412         (Messages): add a default constructor.
5413
5414         * main.C (main): do not setup localedir here, do not call
5415         gettext_init.
5416
5417         * gettext.C (_): use it.
5418         (gettext_init): delete funciton
5419
5420 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5421
5422         * gettext.C (getLyXMessages): new singleton generating function.
5423
5424         * buffer.C (updateDocLang): adjust
5425
5426         * Makefile.am (messages.o): add target
5427         (main.o): remove target
5428
5429 2003-04-27  John Levon  <levon@movementarian.org>
5430
5431         * bufferlist.C:
5432         * lyx_cb.C:
5433         * lyxfunc.C:
5434         * lyxvc.C: specify cancel button in Alert::prompt
5435
5436 2003-04-26  John Levon  <levon@movementarian.org>
5437
5438         * text3.C:
5439         * lyxfunc.C:
5440         * lfuns.h:
5441         * LyXAction.C: add LFUN_INSET_SETTINGS
5442
5443         * lyxfunc.C: don't enable tabular-feature when there's
5444         just any locking inset
5445
5446 2003-04-26  John Levon  <levon@movementarian.org>
5447
5448         * bufferlist.C: re-add Cancel to buffer close question
5449
5450         * lyxfunc.C: fix import UI a bit
5451
5452 2003-04-25  John Levon  <levon@movementarian.org>
5453
5454         * gettext.C: remove the broken asserts for now
5455
5456 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5457
5458         * messages.C: make case where setlocale cannot comply work better.
5459
5460         * buffer.C (updateDocLang): new function
5461         (changeLanguage): use it
5462         (readFile): use it
5463
5464         * text2.C (setCounter): use B_ a bit.
5465
5466         * lyxlayout.C (Read): be sure to trim the label strings.
5467
5468         * messages.C (Messages): fix typo in comment
5469
5470         * buffer.C (readFile): set message_ after file is loaded.
5471         (makeDocBookFile): remove double return
5472         (changeLanguage): reset message_ upon language change.
5473         (B_): new func, use this to get translated buffer strings.
5474
5475         * main.C: add myself and Jean Marc as authors.
5476
5477 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5478
5479         * messages.[hC]: pimplify Messages, and three different pimpls to be
5480         used in different circumstances.
5481
5482         * gettext.[Ch]: change for use with new message code.
5483
5484 2003-04-24 André Pönitz <poenitz@gmx.net>
5485
5486         * factory.C: support for eqref
5487
5488 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5489
5490         * messages.[Ch]: add missing char
5491
5492         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5493
5494         * messages.[Ch]: New files
5495
5496 2003-04-18  John Levon  <levon@movementarian.org>
5497
5498         * BufferView.h:
5499         * BufferView.C:
5500         * BufferView_pimpl.C:
5501         * lfuns.h:
5502         * LyXAction.C:
5503         * lyxtext.h:
5504         * text2.C: remove layout-copy/paste (bug 778)
5505
5506 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5507
5508         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5509
5510 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5511
5512         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5513         if they succeed. Act accordingly.
5514
5515 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5516
5517         * text2.C (setCharFont): adjust
5518         (setCounter): adjust
5519         (insertStringAsLines): adjust
5520
5521         * text.C (leftMargin): adjust
5522         (setHeightOfRow): adjust
5523
5524         * rowpainter.C (paintFirst): adjust
5525         (paintLast): adjust
5526
5527         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5528         (outerHook): ditto
5529         (isFirstInSequence): ditto
5530         (getEndLabel): ditto
5531         (outerFont): adjust
5532
5533         * paragraph.C (getParLanguage): comment out some hard stuff.
5534
5535         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5536         (sgmlError): ditto
5537         (simpleDocBookOnePar): ditto
5538         (makeDocBookFile): use ParagraphList::iterator
5539
5540         * CutAndPaste.C (pasteSelection): adjust
5541
5542 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5543
5544         * text2.C (getFont): adjust
5545         (getLayoutFont): adjust
5546         (getLabelFont): adjust
5547
5548         * paragraph_funcs.C (TeXOnePar): adjust
5549
5550         * buffer.C (simpleLinuxDocOnePar): adjust
5551         (simpleDocBookOnePar): adjust
5552
5553         * CutAndPaste.C (pasteSelection): adjust
5554
5555         * BufferView.C (getEncoding): adjust
5556
5557         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5558
5559 2003-04-16  John Levon  <levon@movementarian.org>
5560
5561         * lyxfind.C: use parlist stuff for search/changes
5562
5563 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5564
5565         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5566
5567         * text2.C (deleteEmptyParagraphMechanism): adjust
5568
5569         * text2.[Ch] (ownerParagraph): delete func (both of them
5570
5571 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5572
5573         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5574
5575 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5576
5577         * ParagraphList.C: prepare for NO_NEXT
5578
5579 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5580
5581         * text2.C (getFont): adjust
5582         (getLayoutFont): adjust
5583         (getLabelFont): adjust
5584
5585         * paragraph.C (getFont): adjust
5586         (getLabelFont): adjust
5587         (getLayoutFont): adjust
5588
5589         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5590
5591 2003-04-15  John Levon  <levon@movementarian.org>
5592
5593         From Angus Leeming
5594
5595         * lyx_main.C: handle Include in .ui files
5596
5597 2003-04-15  John Levon  <levon@movementarian.org>
5598
5599         * MenuBackend.C: make the doc files length shorter
5600
5601         * ToolbarBackend.h:
5602         * ToolbarBackend.C: handle toolbar placement flags,
5603         Minibuffer
5604
5605 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5606
5607         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5608         adjust
5609
5610         * paragraph_funcs.C (TeXOnePar): adjust
5611
5612         * paragraph.C (getLabelFont): add outerfont arg, adjust
5613         (getLayoutFont): ditto
5614         (simpleTeXOnePar): adjust
5615
5616         * paragraph_pimpl.C (realizeFont): delete func
5617
5618 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5619
5620         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5621         row argument, constify cur argument.
5622
5623 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5624
5625         * text2.C (getFont): adjust
5626         (getLayoutFont): adjust
5627         (getLabelFont): adjust
5628
5629         * paragraph_funcs.C (TeXOnePar): adjust
5630         (outerFont): new func...
5631         (realizeFont): ...moved out from here, changed this to facilitate
5632         transition
5633
5634         * paragraph.C (getFont): take outerfont as arg, adjust
5635         (simpleTeXOnePar): add outerfont arg, adjust
5636
5637         * buffer.C (simpleLinuxDocOnePar): adjust
5638         (simpleDocBookOnePar): adjust
5639
5640         * CutAndPaste.C (pasteSelection): adjust
5641
5642         * BufferView.C (getEncoding): adjust
5643
5644 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5645
5646         * text2.C (setCharFont): adjust
5647         (setCounter): adjust
5648
5649         * text.C (leftMargin): adjust
5650         (setHeightOfRow): adjust
5651
5652         * rowpainter.C (paintFirst): adjust
5653         (paintLast): adjust
5654
5655         * paragraph_pimpl.C (realizeFont): adjust
5656
5657         * paragraph.C (isFirstInSequence): move from here...
5658         * paragraph_funcs.C (isFirstInSequence): ...to here
5659
5660         * paragraph.C (outerHook): move from here...
5661         * paragraph_funcs.C (outerHook): ...to here
5662
5663         * paragraph.C (depthHook): move from here...
5664         * paragraph_funcs.C (depthHook): ...to here
5665
5666         * paragraph.C (getEndLabel): move from here...
5667         * paragraph_funcs.C (getEndLabel): ...to here
5668
5669         * text2.C (realizeFont): move from here...
5670         * paragraph_funcs.C (realizeFont): ...to here
5671
5672 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5673
5674         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5675
5676 2003-04-14  Angus Leeming  <leeming@lyx.org>
5677
5678         * LColor.[Ch]: scrap LColor mathcursor.
5679
5680 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5681
5682         * lyxlex.[Ch] (text): delete function
5683         * trans.C (Load): adjust
5684         * paragraph_funcs.C (readParToken): adjust
5685
5686 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5687
5688         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5689         vector<char> instead of a char[].
5690
5691         * lyxlex_pimpl.C (getString): adjust
5692         (next): adjust
5693         (lex): use getString
5694         (eatLine): adjust
5695         (nextToken): adjust
5696
5697         * lyxlex.C (text): use pimpl_->getString()
5698         (getBool): ditto
5699         (findToken): ditto
5700
5701 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5702
5703         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5704         (makeFontEntriesLayoutSpecific): temp var for par.size()
5705         (setLayout): temp var for ownerParagraphs().end()
5706         (fullRebreak): temp var for rows().end()
5707         (selectionAsString): temp var for boost::next(startpit), realize
5708         that the while really is a regular for loop.
5709         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5710         setCursor in one place.
5711         (setParagraph): temp vr for ownerParagraphs().end()
5712         (updateCounters): make the while loop a for loop
5713         (cutSelection): temp var for ownerParagraphs().end()
5714         (updateInset): make the do {} while() a regular for loop
5715         (getCursorX): use temp vars
5716         (setCurrentFont): use temp vars
5717         (getColumnNearX): use temp vars
5718
5719 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5720
5721         * text.C (transformChar): use temp var for getChar
5722         (computeBidiTables): use temp var for row->par()
5723         (fill): move temp vars for row->par() and pit->layout() earlier in
5724         the function.
5725         (labelFill): use temp var for row->par()
5726         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5727         asc and desc, realize that pit never changes and that firstpit is
5728         just a duplicate and not needed. Exchange rit->par() with pit in a
5729         lot of places.
5730         (breakAgain): use a temp var for boost::next(rit)
5731         (breakAgainOneRow): ditto
5732         (breakParagraph): use a temp var for rows().begin()
5733         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5734         (cursorRightOneWord): use temp var for cursor.par() and
5735         cursor.pos(), remove usage of tmpcursor.
5736         (cursorLeftOneWord): use temp var for cursor.par() and
5737         cursor.pos() only set cur at end of function.
5738
5739 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5740
5741         * text.C, text2.C: exchange all usage of Paragraph::next with
5742         boost::next(ParagraphList::iterator)
5743
5744         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5745
5746         * text2.C (cursorTop): simplify implementation
5747         (cursorBottom): ditto
5748         (setParagraph): use ParagraphList::iterator
5749         (setCurrentFont): adjust
5750         (getColumnNearX): adjust
5751         (cursorRight): adjust
5752         (cursorLeft): remove usage of Paragraph::previous
5753         (cursorUpParagraph): ditto
5754         (deleteEmptyParagraphMechanism): slight cleanup
5755
5756         * text.C (isBoundary): take a Paragraph const & instead of a
5757         pointer as arg.
5758         (addressBreakPoint): ditto
5759         (leftMargin): remove usage of Paragraph::previous.
5760         (setHeightOfRow): ditto
5761         (cursorLeftOneWord): ditto
5762         (selectNextWordToSpellcheck): ditto
5763         (Delete): ditto
5764         (backspace): ditto
5765         (breakParagraph): remove one usage of Paragraph::next
5766         (redoParagraph): ditto
5767         (acceptChange): ditto
5768         (insertChar): adjust
5769         (rowBreakPoint): adjust
5770
5771         * bufferview_funcs.C (toggleAndShow): adjust
5772
5773 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5774
5775         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5776         methods to access it.
5777         * lyxtext.h:
5778         * text.C: Added updateRowPositions to compute all row positions.
5779         Make top_y and getRowNearY() to use the cached y position
5780
5781 2003-04-11  John Levon  <levon@movementarian.org>
5782
5783         * text.C (rowBreakPoint): reintroduce the labelEnd
5784         checks, code copied from the row fill stuff. Deep voodoo.
5785
5786         * text.C (fill): add a comment and debugging for the
5787         next poor soul.
5788
5789 2003-04-11  John Levon  <levon@movementarian.org>
5790
5791         * text.C: make sure fullrow insets get wrapped to the next line,
5792         even when they're in a manual label
5793
5794 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5795
5796         * text2.C (insertParagraph): make it take ParagraphList::iterator
5797         as arg.
5798         (setLayout): make it return ParagraphList::iterator
5799         (redoParagraphs): ditto
5800         (setCounter): ditto
5801         (checkParagraph): ditto
5802
5803         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5804
5805         * text2.C: adjust several funcs.
5806         (realizeFont): take a ParagraphList::iterator as arg.
5807         (getLayoutFont): ditto
5808         (getLabelFont): ditto
5809         (setCharFont): ditto
5810
5811         * text.C: adjust several funcs.
5812
5813 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5814
5815         * text.C (selectNextWordToSpellcheck): don't accidentally
5816         skip insets
5817
5818 2003-04-10  John Levon  <levon@movementarian.org>
5819
5820         * ToolbarBackend.C (getIcon): special handling for
5821         LFUN_MATH_DELIM
5822
5823 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5824
5825         * text2.C (cursorRight): a getChar assert fixed
5826
5827 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5828
5829         * text2.C (getFont): change to take a ParagraphList::iterator
5830         instead of Paragraph*
5831         Adjust several functions.
5832
5833         * text.C (transformChar): change to take a ParagraphList::iterator
5834         instead of Paragraph*
5835         (singleWidth): ditto
5836         Adjust several functions.
5837
5838         * rowpainter.C: adjust several functions
5839         * rowpainter.h:store a ParagraphList::iterator and not a
5840         Paragraph&.
5841
5842
5843 2003-04-09  John Levon  <levon@movementarian.org>
5844
5845         * lyxfunc.C:
5846         * lfuns.h:
5847         * LyXAction.h:
5848         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5849         and the "help" bits as well
5850
5851 2003-04-09  John Levon  <levon@movementarian.org>
5852
5853         * ToolbarBackend.h:
5854         * ToolbarBackend.C: allow multiple toolbars
5855
5856 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5857
5858         * undo_funcs.C (setCursorParUndo): adjust
5859
5860         * text_funcs.C (transposeChars): adjust
5861
5862         * text3.C (gotoNextInset): adjust
5863         (dispatch): adjust
5864
5865         * text2.C (setLayout): adjust
5866         (changeDepth): adjust
5867         (setFont): adjust
5868         (redoParagraphs): adjust
5869         (selectionAsString): adjust
5870         (setParagraph): adjust
5871         (insertInset): adjust
5872         (cutSelection): adjust
5873         (copySelection): adjust
5874         (pasteSelection): adjust
5875         (insertStringAsLines): adjust
5876         (updateInset): adjust
5877         (setCursor): change to take a ParagraphList::iterator parameter
5878         (setCursorIntern): change to take a ParagraphList::iterator parameter
5879         (setCurrentFont): adjust
5880         (cursorLeft): adjust
5881         (cursorRight): adjust
5882         (deleteEmptyParagraphMechanism): adjust
5883
5884         * text.C (breakParagraph): adjust
5885         (insertChar): adjust
5886         (acceptChange): adjust
5887         (rejectChange): adjust
5888         (selectNextWordToSpellcheck): adjust
5889         (changeCase): adjust
5890         (Delete): adjust
5891         (backspace): adjust
5892
5893         * lyxfind.C (SearchForward): adjust
5894         (SearchBackward): adjust
5895         (nextChange): adjust
5896
5897         * lyxcursor.C (par): adjust
5898
5899         * lyxcursor.h: store a ParagraphList::iterator instead of a
5900         Paragraph*
5901
5902         * lyx_cb.C (getPossibleLabel): adjust
5903
5904         * bufferview_funcs.C (toggleAndShow): adjust
5905
5906         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5907         (dispatch): adjust
5908
5909         * BufferView.C (removeAutoInsets): adjust
5910         (lockedInsetStoreUndo): adjust
5911
5912 2003-04-09  John Levon  <levon@movementarian.org>
5913
5914         * ToolbarBackend.C: try icon without argument
5915         if with argument fails
5916
5917 2003-04-08  John Levon  <levon@movementarian.org>
5918
5919         * ToolbarBackend.h:
5920         * ToolbarBackend.C: add getIcon(), handle tooltip,
5921         and change from "Icon" to "Item".
5922
5923 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5924
5925         * BufferView.C (lockInset): another bad getchar crunched
5926
5927 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5928
5929         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5930         again)
5931
5932 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5933
5934         * lyxfind.C (searchForward, searchBackwards): bug 782
5935
5936 2003-04-07  John Levon  <levon@movementarian.org>
5937
5938         * paragraph.C: remove dead comment
5939
5940         * text.C: remove troublesome depth-fiddling code
5941         in leftMargin() and rightMargin() (bug 1017)
5942
5943         * text.C: fix breaking of rows in nested lists
5944         (bug 1004)
5945
5946         * text2.C (updateCounters): fix up depth values
5947         (bug 1013)
5948
5949 2003-04-07  John Levon  <levon@movementarian.org>
5950
5951         * BufferView_pimpl.C: clear message when doc finishes resizing,
5952         and after a mouse event
5953
5954         * lyxfunc.C: clear message after exiting inset
5955
5956 2003-04-07  John Levon  <levon@movementarian.org>
5957
5958         * bufferview_funcs.C: show math status not outside
5959         status in the statusbar
5960
5961 2003-04-07  John Levon  <levon@movementarian.org>
5962
5963         * lyxfunc.C: note status changed after a depth change
5964
5965 2003-04-04  Angus Leeming  <leeming@lyx.org>
5966
5967         * LaTeX.h: move AuxInfo operator==, != out of line.
5968         Remove LaTeX virtual destructor; nothing derives from it.
5969         Move operator()() out of public area and rename it startscript().
5970         Change protected for private.
5971
5972 2003-04-04  Angus Leeming  <leeming@lyx.org>
5973
5974         * lyxfunc.C:
5975         * text2.C: remove unneeded #includes.
5976
5977 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5978
5979         * text2.C (dEPM): fix the heigth of the next row
5980
5981 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5982
5983         * text.C: squashed an invalid getChar requester + some ws changes
5984
5985 2003-04-03  John Levon  <levon@movementarian.org>
5986
5987         * bufferview_funcs.h:
5988         * bufferview_funcs.C:
5989         * lyxfunc.C:
5990         * lyxtext.h:
5991         * text2.C: make getStatus work for the env depth lfuns
5992
5993 2003-04-03  John Levon  <levon@movementarian.org>
5994
5995         * bufferview_funcs.h:
5996         * bufferview_funcs.C:
5997         * lyxfunc.C:
5998         * lyxtext.h:
5999         * text2.C: parlistize decDepth(), by merging it with incDepth()
6000
6001 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6002
6003         * lyxrow.h: store a ParagraphList::iterator instead of a
6004         Paragraph* and adjust other class functions to suit.
6005
6006         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6007         above.
6008
6009 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6010
6011         * text2.C (setCursor): do not anchor to cursor row for the time being
6012
6013 2003-04-02  John Levon  <levon@movementarian.org>
6014
6015         * LyXAction.C:
6016         * lfuns.h:
6017         * lyx_main.C:
6018         * lyxtext.h:
6019         * text.C:
6020         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6021
6022 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6023
6024         * paragraph.h: make ParagraphList and ParagraphList::iterator
6025         friends of Paragraph.
6026
6027         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6028
6029         * ParagraphList.C: Use the private next_ and previous_ from
6030         Paragraph.
6031
6032 2003-04-01  John Levon  <levon@movementarian.org>
6033
6034         * ToolbarBackend.h:
6035         * ToolbarBackend.C:
6036         * Makefile.am: rename, remove defaults gunk
6037
6038         * MenuBackend.h:
6039         * MenuBackend.C: remove defaults gunk
6040
6041         * Languages.h:
6042         * Languages.C: remove defaults gunk
6043
6044         * lyx_main.h:
6045         * lyx_main.C: error out if files couldn't be found.
6046
6047 2003-04-02  John Levon  <levon@movementarian.org>
6048
6049         * text2.C: make incDepth() use parlist
6050
6051 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6052
6053         * undo_funcs.C (firstUndoParagraph): adjust
6054
6055         * text3.C (gotoInset): adjust
6056         (dispatch): adjust, and rewrite loop.
6057
6058         * text2.C (init): adjust, and rewrite loop.
6059         (redoParagraphs): adjust
6060         (updateInset): adjust, and rewrite loop.
6061         (deleteEmptyParagraphMechanism): adjust
6062
6063         * tabular.C (LyXTabular): adjust
6064         (SetMultiColumn): adjust
6065         (TeXRow): adjust
6066
6067         * lyxtext.[Ch] (ownerParagraph): delete function
6068         (ownerParagraphs): new function returns a ParagraphList.
6069
6070         * BufferView.C (removeAutoInsets): adjust
6071         (insertErrors): adjust
6072         (setCursorFromRow): adjust
6073
6074 2003-04-01  Angus Leeming  <leeming@lyx.org>
6075
6076         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6077         in the frontends.
6078
6079 2003-04-02  John Levon  <levon@movementarian.org>
6080
6081         * lyxtext.h:
6082         * text.C:
6083         * Makefile.am:
6084         * text_funcs.h:
6085         * text_funcs.C: make transposeChars a free function
6086
6087         * lyxrow_funcs.C: remove wrong comment
6088
6089 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6090
6091         * lyxtext.h: adjust
6092         * rowpainter.C: adjust
6093         * text.C: adjust
6094         * text2.C: adjust
6095         * text3.C: adjust
6096
6097         * lyxrow_funcs. [Ch]: new files
6098
6099         * lyxrow.[Ch]: remove next and previous pointers
6100         (next,previous): remove accessor functions
6101         (isParEnd): move to lyxrow_funcs
6102         (lastPos): move to lyxrow_funcs
6103         (nextRowIsAllInset): move to lyxrow_funcs
6104         (lastPrintablePos): move to lyxrow_funcs
6105         (numberOfSeparators): move to lyxrow_funcs
6106         (numberOfHfills): move to lyxrow_funcs
6107         (numberOfLabelHfills): move to lyxrow_funcs
6108         (hfillExpansion): move to lyxrow_funcs
6109
6110         * lyxfunc.C: adjust
6111
6112         * bufferview_funcs.C (toggleAndShow): adjust
6113
6114         * RowList.h: Remove class RowList from file leave just a
6115         std::list<Row>.
6116
6117         * RowList.C: delete file
6118
6119         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6120         and lyxrow_funcs.h
6121
6122 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6123
6124         * text3.C (cursorPrevious): adjust
6125         (cursorNext): adjust
6126         (dispatch): adjust
6127
6128         * text2.C (redoHeightOfParagraph): adjust
6129         (redoDrawingOfParagraph): adjust
6130         (setCursor): adjust
6131
6132         * text.C (breakParagraph): adjust
6133         (insertChar): adjust
6134         (backspace): adjust
6135
6136         * rowpainter.C (RowPainter): adjust
6137         (leftMargin): simplify and adjust
6138         (most rowpainter functions): adjust.
6139
6140         * rowpainter.h: store the row as RowList::iterator not as Row*
6141
6142         * lyxcursor.C (row): taka RowList::iterator as arg
6143         (irow): ditto
6144
6145         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6146         of Row*.
6147
6148 2003-04-01  Angus Leeming  <leeming@lyx.org>
6149
6150         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6151         stuff like bool Bool.
6152
6153 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6154
6155         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6156         rewrite a loop
6157
6158 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6159
6160         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6161         RowList::iterator.
6162
6163         * lyxtext.h (rows): drop one version and leve a const variant that
6164         returns a RowList::iterator.
6165
6166 2003-03-31  Angus Leeming  <leeming@lyx.org>
6167
6168         * text.C (fill): ensure that the signature is the same as that in the
6169         header file.
6170
6171 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6172
6173         * text2.C (redoParagraphs): adjust
6174         (updateCounters): adjust
6175         (checkParagraph): adjust
6176         (getColumnNearX): adjust and reformat a bit.
6177
6178         * text.C (top_y): adjust
6179         (workWidth): adjust
6180         (leftMargin): adjust
6181         (prepareToPrint): adjust
6182         (getRow): adjust
6183         (getRowNearY): adjust
6184
6185         * lyxtext.h: make rowlist_ mutable.
6186
6187         * RowList.h: add const_iterator
6188         * RowList.C: adjust for RowList::const_iterator.
6189
6190         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6191         adjust.
6192
6193 2003-03-31  John Levon  <levon@movementarian.org>
6194
6195         * lyxrc.h:
6196         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6197
6198         * lyx_main.C: set default fonts from using lyx_gui funcs
6199
6200         * exporter.C: pdf_mode moved from lyxrc
6201
6202         * lyx_cb.C:
6203         * lyxfunc.C: changes from above
6204
6205 2003-03-31  John Levon  <levon@movementarian.org>
6206
6207         * lyx_main.C: fix to the last fix
6208
6209 2003-03-31  John Levon  <levon@movementarian.org>
6210
6211         * bufferlist.C: "Load original" -> "Load Original"
6212
6213         * converter.C:
6214         * exporter.C:
6215         * importer.C:
6216         * lyx_main.C:
6217         * format.C: more Alert cleanups
6218
6219 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6220
6221         * text2.C (removeParagraph): make it take a RowList::iterator as
6222         arg, adjust.
6223         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6224         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6225
6226         * text.C (anchor_row): make it take a RowList::iterator as arg,
6227         adjust.
6228         (computeBidiTables): make it take a const reference to Row instead
6229         of Row pointer, adjust.
6230         (leftMargin): make it take a RowList::iterator as arg, adjust.
6231         (rowBreakPoint): adjust
6232         (breakAgainOneRow): make it take a RowList::iterator as arg,
6233         adjust.
6234         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6235
6236         * bufferview_funcs.C (toggleAndShow): adjust
6237
6238 2003-03-30  John Levon  <levon@movementarian.org>
6239
6240         * Makefile.am:
6241         * BoostFormat.h:
6242         * boost-inst.C: moved to support
6243
6244         * several files: changes as a result
6245
6246 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6247
6248         * text2.C (LyXText): adjust.
6249         (init): adjust
6250         (removeRow): make it take a RowList::iterator as arg, adjust.
6251         (fullRebreak): adjust
6252         (deleteEmptyParagraphMechanism): adjust
6253         (clearPaint): adjust
6254         (postPaint): adjust
6255
6256         * text.C (top_y): adjust
6257         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6258         (breakAgain): make it take a RowList::iterator as arg, adjust.
6259         (breakParagraph): adjust
6260         (insertChar): adjust
6261         (backspace): adjust
6262
6263         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6264         need_break_row, and refresh_row.
6265
6266         * text3.C (dispatch): adjust
6267
6268         * text2.C (checkParagraph): adjust
6269         (setCursor): adjust
6270         (setCursorFromCoordinates): adjust
6271
6272         * text.C (top_y): adjust
6273         (workWidth): adjust
6274         (getRow): make it return a RowList::iterator, adjust
6275         (getRowNearY): make it return a RowList::iterator, adjust
6276
6277         * text2.C (init): adjust
6278         (insertRow): remove function
6279         (insertParagraph): adjust
6280         (redoParagraphs): adjust
6281         (fullRebreak): adjust
6282         (updateCounters): adjust
6283
6284         * text.C (top_y): rewrite to use RowList iterators.
6285         (top_y): adjust
6286         (setHeightOfRow): rewrite to sue RowList iterators.
6287         (appendParagraph): adjust
6288         (breakAgain): adjust
6289         (breakAgainOneRow): adjust
6290         (breakParagraph): adjust
6291         (getRow): adjust
6292         (getRowNearY): adjust, and remove commented code.
6293
6294         * lyxtext.h (firstRow): delete function
6295         (lastRow): delete function
6296         (rows): new function (const and non-const versions.)
6297         (insertRow): delete function
6298
6299         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6300
6301 2003-03-29  John Levon  <levon@movementarian.org>
6302
6303         * BufferView_pimpl.C: always update scrollbar top
6304         because pasting text when we're anchored could mean we
6305         miss an update altogether
6306
6307 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6308
6309         * text2.C (init): use rowlist_.end() and not 0.
6310         (insertRow): change to take a RowList::iterator as arg, adjust
6311         for this.
6312         (insertParagraph): change to take a RowList::iterator as arg,
6313         adjust for this.
6314         (redoParagraphs): remove some debug msgs.
6315
6316         * text.C (appendParagraph): change to take a RowList::iterator
6317         arg, adjust for this.
6318         (breakAgain): add an assert
6319         (breakAgainOneRow): ditto
6320
6321 2003-03-29  John Levon  <levon@movementarian.org>
6322
6323         * text2.C: do not clear selection after inc/decDepth
6324         (bug 550)
6325
6326 2003-03-29  John Levon  <levon@movementarian.org>
6327
6328         * BufferView.C:
6329         * buffer.C: fix broken strerrors according to Lars
6330
6331 2003-03-29  John Levon  <levon@movementarian.org>
6332
6333         * converters.C: more Alert cleanups
6334
6335 2003-03-29  John Levon  <levon@movementarian.org>
6336
6337         * bufferview_funcs.C: remove pointless Alert
6338
6339         * buffer.C: fix confusing error message when
6340         a template is chmoded 000
6341
6342 2003-03-29  John Levon  <levon@movementarian.org>
6343
6344         * BufferView.C:
6345         * BufferView.h:
6346         * BufferView_pimpl.C: Alert fixes
6347
6348         * Makefile.am:
6349         * tabular.C:
6350         * tabular-old.C: remove unused table compat reading
6351
6352 2003-03-29  John Levon  <levon@movementarian.org>
6353
6354         * BufferView.C:
6355         * buffer.C:
6356         * lyx_cb.h:
6357         * lyx_cb.C: more Alert cleanups
6358
6359         * lyxfunc.C: don't allow chktex if not latex document
6360
6361 2003-03-29  John Levon  <levon@movementarian.org>
6362
6363         * lyx_cb.C:
6364         * BufferView.C:
6365         * buffer.C: warnings pushed down from support/,
6366         kill err_alert
6367
6368 2003-03-29  John Levon  <levon@movementarian.org>
6369
6370         * lyxfunc.C: safety check for C-r (revert)
6371
6372 2003-03-29  John Levon  <levon@movementarian.org>
6373
6374         * bufferlist.h:
6375         * bufferlist.C: several UI fixes using Alert::prompt.
6376         Fix the pointless looping quit code. Fix stupid revert
6377         behaviour (bug 938)
6378
6379         * lyxvc.h:
6380         * lyxvc.C:
6381         * lyx_cb.C: use Alert::prompt
6382
6383         * lyx_main.C: remove a silly question
6384
6385         * lyxfunc.C: remove a couple of silly questions,
6386         use Alert::prompt
6387
6388 2003-03-28  John Levon  <levon@movementarian.org>
6389
6390         * text2.C: fix bug 974 (End on empty par)
6391
6392 2003-03-28  John Levon  <levon@movementarian.org>
6393
6394         * BufferView_pimpl.C:
6395         * LyXAction.C:
6396         * lfuns.h: remove do-nothing math greek lfuns
6397
6398 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6399
6400         * lyxgluelength.h (isValidGlueLength): add default arg on
6401         parameter 2. Remove default arg from friend in class.
6402
6403         * lyxlength.h (isValidLength): add default arg on parameter 2.
6404         Remove default arg from friend in class.
6405
6406         * text2.C (LyXText): adjust, initialize refresh_row.
6407         (init): adjust
6408         (removeRow): adjust
6409         (insertRow): adjust
6410         (insertParagraph): adjst
6411         (redoParagraphs): adjust
6412         (fullRebreak): adjust
6413         (updateCounters): adjust
6414         (deleteEmptyParagraphMechanism): first attempt at fixing a
6415         crashing bug.
6416
6417         * text.C (top_y): adjust
6418         (setHeightOfRow): adjust
6419         (getRow): adjust
6420         (getRowNearY): adjust
6421
6422         * lyxtext.h: include RowList.h
6423         (~LyXText): not needed anymore, deleted.
6424         (firstRow): modify for RowList
6425         (lastRow): new function
6426         Delete firstrow and lastrow class variables, add a Rowlist
6427         rowlist_ class variable.
6428
6429         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6430         paragraph is empty.
6431
6432         * RowList.C (insert): fix case where it == begin().
6433
6434 2003-03-26  Angus Leeming  <leeming@lyx.org>
6435
6436         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6437         the thesaurus dialog.
6438
6439 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6440
6441         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6442
6443         * RowList.[Ch]: new files
6444
6445         * ParagraphList.C (erase): handle the case where it == begin
6446         correctly.
6447
6448 2003-03-25  John Levon  <levon@movementarian.org>
6449
6450         * Makefile.am:
6451         * aspell_local.h:
6452         * aspell.C: add new aspell support
6453
6454         * lyxrc.h:
6455         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6456         have it accessible.
6457
6458 2003-03-25  Angus Leeming  <leeming@lyx.org>
6459
6460         * lfuns.h:
6461         * LyXAction.C (init): new LFUN_INSET_INSERT.
6462
6463         * BufferView_pimpl.C (dispatch): split out part of the
6464         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6465
6466         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6467         LFUN_INSET_APPLY.
6468
6469 2003-03-25  Angus Leeming  <leeming@lyx.org>
6470
6471         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6472
6473 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6474
6475         * text2.C:
6476         * text3.C: remove useless row->height(0)
6477
6478 2003-03-25  John Levon  <levon@movementarian.org>
6479
6480         * lyxtext.h:
6481         * text2.C:
6482         * text3.C: rename the refreshing stuff to better names
6483
6484 2003-03-24  John Levon  <levon@movementarian.org>
6485
6486         * BufferView_pimpl.h:
6487         * BufferView_pimpl.C: update layout choice on a mouse
6488         press/release
6489
6490 2003-03-23  John Levon  <levon@movementarian.org>
6491
6492         * Makefile.am: fix commandtags.h reference
6493
6494 2003-03-22  John Levon  <levon@movementarian.org>
6495
6496         * BufferView_pimpl.C:
6497         * lyxtext.h:
6498         * rowpainter.C:
6499         * rowpainter.h:
6500         * text.C:
6501         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6502
6503 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6504
6505         * lyxtext.h:
6506         * text.C: take the rtl methods out of line
6507
6508 2003-03-21 André Pönitz <poenitz@gmx.net>
6509
6510         * metricsinfo.[Ch]: new files containing structures to be passed around
6511         during the two-phase-drawing...
6512
6513 2003-03-21 André Pönitz <poenitz@gmx.net>
6514
6515         * lyxtextclass.C: read 'environment' tag.
6516
6517 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6518
6519         * text2.C (removeRow): fix bug 964
6520
6521 2003-03-20  John Levon  <levon@movementarian.org>
6522
6523         * rowpainter.C:
6524         * text.C:
6525         * text2.C: paint cleanups. Inset::update() dropped font
6526         parameter
6527
6528 2003-03-19  John Levon  <levon@movementarian.org>
6529
6530         * lyxfunc.C: only fitcursor/markDirty if available()
6531
6532 2003-03-19  John Levon  <levon@movementarian.org>
6533
6534         * commandtags.h: rename to ...
6535
6536         * lfuns.h: ... this, and renumber / cleanup
6537
6538 2003-03-19  John Levon  <levon@movementarian.org>
6539
6540         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6541         fit the cursor after an lfun
6542
6543         * BufferView.h:
6544         * BufferView.C:
6545         * BufferView_pimpl.h:
6546         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6547
6548         * LyXAction.C: layout-character should have ReadOnly
6549
6550         * ParagraphParameters.C:
6551         * buffer.C:
6552         * bufferview_funcs.C:
6553         * lyx_cb.C:
6554         * lyxfind.C:
6555         * lyxtext.h:
6556         * text.C:
6557         * text2.C:
6558         * text3.C:
6559         * undo_funcs.C: changes from above
6560
6561 2003-03-18  John Levon  <levon@movementarian.org>
6562
6563         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6564         remove it from update()
6565
6566         * lyxfunc.C: update layout choice after an lfun
6567
6568         * text3.C: remove extra updateLayoutChoice()s
6569
6570 2003-03-18  John Levon  <levon@movementarian.org>
6571
6572         * text.C: top_y change means full repaint, fix
6573         a drawing bug with cursor movement
6574
6575 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6576
6577         * lyxtext.h:
6578         * text.C:
6579         * text2.C: anchor row on setCursor
6580
6581 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6582
6583         * lyxtext.h: remove almost all mutable keywords
6584         * text.C:
6585         * text2.C:
6586         * text3.C: remove const keywords accordingly
6587
6588 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6589
6590         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6591         anon namespace
6592         (TeXEnvironment): ditto
6593         (TeXOnePar): ditto
6594
6595 2003-03-17  John Levon  <levon@movementarian.org>
6596
6597         * text.C (rowBreakPoint): remove attempt to fix displayed
6598         math insets inside a manual label
6599
6600 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6601
6602         * lyxtext.h: remove BufferView* as first arg from almost all class
6603         functions.
6604         * other files: adjust.
6605
6606 2003-03-17  John Levon  <levon@movementarian.org>
6607
6608         * lyxtext.h:
6609         * undo_funcs.C:
6610         * text2.C: more paint cleanups
6611
6612         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6613
6614         * rowpainter.h:
6615         * rowpainter.C: remove "smart" background painting code
6616
6617 2003-03-16  John Levon  <levon@movementarian.org>
6618
6619         * lyxtext.h:
6620         * text.C:
6621         * text2.C:
6622         * text3.C: add helper functions for setting refresh_row/y
6623
6624 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6625
6626         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6627         newline inset which *can* get inserted in the pass_thru layouts.
6628         This is primarily for literate documents.
6629
6630 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6631
6632         * buffer.C: increment LYX_FORMAT to 223
6633
6634 2003-03-14 André Pönitz <poenitz@gmx.net>
6635
6636         * textclass.h: prepare for environment handling, ws changes
6637         * lyxlayout.C: read latexheader and latexfooter tags
6638
6639 2003-03-14  John Levon  <levon@movementarian.org>
6640
6641         * text2.C: rewrite ::status() a bit
6642
6643 2003-03-13  John Levon  <levon@movementarian.org>
6644
6645         * lyxtext.h: add some docs
6646
6647 2003-03-13  John Levon  <levon@movementarian.org>
6648
6649         * lyxtext.h:
6650         * text.C:
6651         * text2.C:
6652         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6653
6654 2003-03-13  John Levon  <levon@movementarian.org>
6655
6656         * text3.C: fix appendix redrawing
6657
6658 2003-03-13  John Levon  <levon@movementarian.org>
6659
6660         * text.C (setHeightOfRow):
6661         * rowpainter.h:
6662         * rowpainter.C: make appendix mark have the text
6663           "Appendix" so the user knows what it is
6664
6665         * LColor.h:
6666         * LColor.C: s/appendixline/appendix/ from above
6667
6668 2003-03-13  John Levon  <levon@movementarian.org>
6669
6670         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6671
6672         * text.C: fix a getChar(pos) bug properly
6673
6674 2003-03-13  Angus Leeming  <leeming@lyx.org>
6675
6676         * commandtags.h:
6677         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6678         Probably only temporary. Let's see how things pan out.
6679
6680         * BufferView.C (unlockInset):
6681         * BufferView_pimpl.C (fitCursor):
6682         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6683
6684         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6685         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6686
6687         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6688         new functions that convert ParagraphParameters to and from a string.
6689
6690         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6691         BufferView::Pimpl's dispatch.
6692         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6693
6694 2003-03-13 André Pönitz <poenitz@gmx.net>
6695
6696         * lyxfunc.C:
6697         * text3.C:
6698         * factory.C: make it aware of InsetEnv
6699
6700 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6701
6702         * text2.C (setCursor): never ask for one past last
6703         (setCursor): add some debugging messages.
6704
6705         * text.C (singleWidth): never ask for one past last
6706         (singleWidth): ditto
6707         (leftMargin): ditto
6708         (rightMargin): ditto
6709         (rowBreakPoint): ditto
6710         (setHeightOfRow): ditto
6711         (prepareToPrint): ditto
6712
6713         * rowpainter.C (paintBackground): never ask for one past last
6714         (paintText): never ask for one past last
6715
6716         * paragraph_pimpl.C (getChar): make the assert stricter, never
6717         allow the one past last pos to be taken
6718
6719         * paragraph.C (getChar): ws changes only
6720
6721         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6722         (numberOfSeparators): ditto
6723         (numberOfHfills): ditto
6724
6725 2003-03-12  John Levon  <levon@movementarian.org>
6726
6727         * author.h:
6728         * author.C:
6729         * bufferparams.h:
6730         * bufferparams.C:
6731         * paragraph_funcs.C: fix per-buffer authorlists
6732
6733 2003-03-12  John Levon  <levon@movementarian.org>
6734
6735         * text.C: fix newline in right address
6736
6737 2003-03-12  Angus Leeming  <leeming@lyx.org>
6738
6739         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6740         duplicate those in LyXFunc::dispatch.
6741
6742         * commandtags.h:
6743         * LyXAction.C:
6744         * ToolbarDefaults.C:
6745         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6746         Add LFUN_FONTFREE_UPDATE.
6747
6748         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6749         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6750
6751         * bufferview_func.[Ch]: several new functions to facilliate
6752         transfer of data to and from the character dialog.
6753
6754 2003-03-12  John Levon  <levon@movementarian.org>
6755
6756         * buffer.C:
6757         * paragraph.h:
6758         * paragraph.C:
6759         * paragraph_funcs.C:
6760         * paragraph_pimpl.C:
6761         * sgml.C:
6762         * tabular.C:
6763         * text.C:
6764         * text3.C: remove META_NEWLINE in favour of an inset
6765
6766         * rowpainter.h:
6767         * rowpainter.C: remove paintNewline (done by inset)
6768
6769 2003-03-12  John Levon  <levon@movementarian.org>
6770
6771         * paragraph_pimpl.C: complain about bad getChar()s
6772         for a while at least
6773
6774 2003-03-12  John Levon  <levon@movementarian.org>
6775
6776         * buffer.h:
6777         * buffer.C: move paragraph read into a separate function,
6778         a little renaming to reflect that.
6779
6780         * bufferparams.h:
6781         * bufferparams.C: remove the author_ids map, not necessary now
6782
6783         * factory.h:
6784         * factory.C: moved Buffer::readInset to here
6785
6786         * paragraph_funcs.h:
6787         * paragraph_funcs.C: readParagraph free function moved from
6788         buffer.C
6789
6790         * tabular.C: name change
6791
6792 2003-03-12  John Levon  <levon@movementarian.org>
6793
6794         * buffer.C:
6795         * ParagraphParameters.C: move par params input to
6796         a read() method
6797
6798         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6799         behave like a normal read from the stream wrt reading
6800         a line vs. a \\token
6801
6802 2003-03-12  John Levon  <levon@movementarian.org>
6803
6804         * paragraph.C:
6805         * ParagraphParameters.h:
6806         * ParagraphParameters.C: move output code to a
6807         ::write() method
6808
6809 2003-03-12  John Levon  <levon@movementarian.org>
6810
6811         * BufferView.C (insertLyXFile):
6812         * buffer.h:
6813         * buffer.C:
6814         * tabular.C: use a parlist iterator for creating the
6815           document.
6816
6817 2003-03-12  John Levon  <levon@movementarian.org>
6818
6819         * buffer.C: make current_change static local not
6820           static file-scope
6821
6822 2003-03-12  John Levon  <levon@movementarian.org>
6823
6824         * buffer.C: fix insertStringAsLines for change tracking
6825
6826 2003-03-12  John Levon  <levon@movementarian.org>
6827
6828         * BufferView.C:
6829         * tabular.C:
6830         * buffer.h:
6831         * buffer.C:
6832         * bufferparams.h:
6833         * bufferparams.C: move author list into params. Rename some
6834           functions. Move the header reading into a separate token
6835           loop. Move the header token reading into BufferParams.
6836
6837 2003-03-12  John Levon  <levon@movementarian.org>
6838
6839         * changes.C: put debug inside lyxerr.debugging() checks
6840
6841 2003-03-11 André Pönitz <poenitz@gmx.net>
6842
6843         * factory.C: make it aware of InsetHFill
6844
6845 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6846
6847         * buffer.C (latexParagraphs): move function from here...
6848         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6849         args.
6850
6851 2003-03-10  Angus Leeming  <leeming@lyx.org>
6852
6853         * LyXAction.C (init): fix bug in poplating array with multiple entries
6854         with the same LFUN (spotted by JMarc).
6855
6856 2003-03-10  John Levon  <levon@movementarian.org>
6857
6858         * text.C:
6859         * text2.C: move getColumnNearX() near its
6860         only call site
6861
6862 2003-03-10  John Levon  <levon@movementarian.org>
6863
6864         * text.C: fix break before a minipage
6865
6866 2003-03-10  John Levon  <levon@movementarian.org>
6867
6868         * text.C: fix the last commit
6869
6870 2003-03-09  John Levon  <levon@movementarian.org>
6871
6872         * lyxtext.h:
6873         * text.C:
6874         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6875         bug 365 (don't break before insets unless needed). Don't
6876         return a value > last under any circumstances.
6877
6878 2003-03-09  Angus Leeming  <leeming@lyx.org>
6879
6880         * BufferView_pimpl.C (trackChanges, dispatch): call
6881         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6882
6883 2003-03-09  Angus Leeming  <leeming@lyx.org>
6884
6885         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6886         than Dialogs::showAboutlyx().
6887
6888 2003-03-09  Angus Leeming  <leeming@lyx.org>
6889
6890         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6891         than Dialogs::showTabularCreate().
6892
6893 2003-03-09  John Levon  <levon@movementarian.org>
6894
6895         * lyxtext.h:
6896         * text.C:
6897         * text2.C: 3rd arg to nextBreakPoint was always the same.
6898           Use references.
6899
6900 2003-03-08  John Levon  <levon@movementarian.org>
6901
6902         * lyxrow.C:
6903         * paragraph.C:
6904         * paragraph.h:
6905         * rowpainter.C:
6906         * text.C:
6907         * text2.C: Remove the "main" bit from the "main body"
6908           notion.
6909
6910 2003-03-08  John Levon  <levon@movementarian.org>
6911
6912         * text.C (leftMargin): The left margin of an empty
6913         manual label paragraph should not include the label width
6914         string length.
6915
6916         * text.C (prepareToPrint): don't attempt to measure hfills
6917         for empty manual label paragraphs - the answer should be 0
6918
6919 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6920
6921         * CutAndPaste.C: remove commented code and reindent.
6922
6923 2003-03-08  John Levon  <levon@movementarian.org>
6924
6925         * lyxfunc.h:
6926         * lyxfunc.C: move reloadBuffer()
6927
6928         * BufferView.h:
6929         * BufferView.C: to here
6930
6931         * lyxvc.C: add comment
6932
6933         * vc-backend.h:
6934         * vc-backend.C: call bv->reload() to avoid
6935           getStatus() check on MENURELOAD
6936
6937 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6938
6939         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6940         to an old format .dep file.
6941
6942 2003-03-07  Angus Leeming  <leeming@lyx.org>
6943
6944         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6945         when the LFUN_MOUSE_RELEASE should have been handled by
6946         inset->localDispatch.
6947
6948 2003-03-07  Angus Leeming  <leeming@lyx.org>
6949
6950         * BufferView_pimpl.C (dispatch):
6951         * LyXAction.C (init):
6952         * ToolbarDefaults.C (init):
6953         * commandtags.h:
6954         * lyxfunc.C (getStatus):
6955         remove LFUN_INSET_GRAPHICS.
6956
6957         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6958
6959 2003-03-07  Angus Leeming  <leeming@lyx.org>
6960
6961         * commandtags.h:
6962         * LyXAction.C (init):
6963         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6964
6965         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6966
6967         * commandtags.h:
6968         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6969
6970         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6971         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6972
6973 2003-03-07  Angus Leeming  <leeming@lyx.org>
6974
6975         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6976         remove "ert".
6977
6978 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6979
6980         * ParagraphList.C (front): new function
6981         (back): implement
6982
6983 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6984
6985         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6986         and top_row_offset_. removed var first_y.
6987         * text.C (top_y):
6988         * text2.C (LyXText, removeRow):
6989         * text3.C:
6990         * BufferView_pimpl.C:
6991         use these methods instead of using first_y
6992
6993 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6994
6995         * text2.C (pasteSelection): adjust for checkPastePossible
6996
6997         * CutAndPaste.C: remove Paragraph * buf and replace with
6998         ParagraphList paragraphs.
6999         (DeleteBuffer): delete
7000         (cutSelection): change the tc type to textclass_type
7001         (copySelection): change the tc type to textclass_type
7002         (copySelection): adjust for ParagraphList
7003         (pasteSelection): change the tc type to textclass_type
7004         (pasteSelection): adjust for Paragraphlist
7005         (nrOfParagraphs): simplify for ParagraphList
7006         (checkPastePossible): simplify for ParagraphList
7007         (checkPastePossible): remove unused arg
7008
7009         * ParagraphList.C (insert): handle the case where there are no
7010         paragraphs yet.
7011
7012         * CutAndPaste.h: make CutAndPaste a namespace.
7013
7014         * text3.C (dispatch): adjust
7015
7016         * text.C (breakParagraph): add a ParagraphList as arg
7017
7018         * paragraph_funcs.C (breakParagraph): change to take a
7019         BufferParams and a ParagraphList as args.
7020         (breakParagraphConservative): ditto
7021         (mergeParagraph): ditto
7022         (TeXDeeper): add a ParagraphList arg
7023         (TeXEnvironment): ditto
7024         (TeXOnePar): ditto
7025
7026         * buffer.C (readLyXformat2): adjust
7027         (insertStringAsLines): adjust
7028         (latexParagraphs): adjust
7029
7030         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7031         (cutSelection): adjust
7032         (pasteSelection): adjust
7033
7034         * BufferView_pimpl.C (insertInset): adjust
7035
7036 2003-03-05  Angus Leeming  <leeming@lyx.org>
7037
7038         * commandtags.h:
7039         * LyXAction.C (init):
7040         * BufferView_pimpl.C (dispatch):
7041         * lyxfunc.C (getStatus):
7042         remove LFUN_CHILD_INSERT.
7043
7044         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7045
7046 2003-03-05  Angus Leeming  <leeming@lyx.org>
7047
7048         * commandtags.h:
7049         * LyXAction.C (init):
7050         * src/factory.C (createInset):
7051         * lyxfunc.C (getStatus):
7052         * text3.C (dispatch):
7053         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7054
7055         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7056
7057 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7058
7059         * ParagraphList.C (insert): handle insert right before end()
7060         (erase): fix cases where it can be first or last paragraph.
7061
7062 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7063
7064         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7065         Paragraph::next and Paragraph::previous
7066         (TeXOnePar): ditto
7067
7068         * text.C (breakParagraph): adjust
7069
7070         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7071         BufferParams& as arg.
7072         (breakParagraph): use ParagraphList::insert
7073         (breakParagraphConservative): take a Buffer* instead of a
7074         BufferParams& as arg.
7075         (breakParagraphConservative): use ParagraphList::insert.
7076
7077         * buffer.C (insertStringAsLines): un-const it
7078         (insertStringAsLines): adjust
7079
7080         * ParagraphList.C (insert): new function
7081
7082         * CutAndPaste.C (pasteSelection): adjust
7083
7084         * text.C (backspace): adjust
7085
7086         * tabular.C (SetMultiColumn): adjust
7087
7088         * CutAndPaste.C (cutSelection): adjust
7089         (pasteSelection): adjust
7090
7091         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7092         Buffer const * as arg
7093
7094         * ParagraphList.C (erase): new function
7095         * paragraph_funcs.C (mergeParagraph): use it
7096         (mergeParagraph): make it take a Buffer* instead of a
7097         BufferParams* as arg
7098
7099         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7100         as arg
7101         (breakParagraphConservative): ditto
7102
7103         * paragraph.h: remove the breakParagraph friend
7104
7105         * paragraph.C (eraseIntern): new function
7106         (setChange): new function
7107
7108         * paragraph_funcs.C (mergeParagraph): make it take a
7109         ParagraphList::iterator instead of a Paragraph *, adjust
7110         accordingly.
7111
7112         * paragraph.h: move an #endif so that the change tracking stuff
7113         also works in the NO_NEXT case.
7114
7115 2003-03-04  Angus Leeming  <leeming@lyx.org>
7116
7117         * commandtags.h:
7118         * LyXAction.C: new LFUN_INSET_MODIFY.
7119
7120         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7121         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7122
7123 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7124
7125         * several files: ws changes only
7126
7127         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7128         (TeXEnvironment): ditto
7129         (TeXDeeper): ditto
7130
7131         * buffer.C (makeLaTeXFile): adjust
7132         (latexParagraphs): make it take ParagraphList::iterator as args
7133
7134 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7135
7136         * buffer.C (latexParagraphs): adjust
7137
7138         * paragraph.C (TeXOnePar): move function...
7139         (optArgInset): move function...
7140         (TeXEnvironment): move function...
7141         * paragraph_pimpl.C (TeXDeeper): move function...
7142         * paragraph_funcs.C: ...here
7143
7144         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7145
7146 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7147
7148         * buffer.C (readInset): remove compability code for old Figure and
7149         InsetInfo insets
7150
7151 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7152
7153         * buffer.C: ws changes
7154         (readInset):
7155
7156         * BufferView_pimpl.C: ditto
7157         * author.C: ditto
7158         * buffer.h: ditto
7159         * bufferlist.h: ditto
7160         * changes.h: ditto
7161         * lyxfunc.C: ditto
7162
7163 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7164
7165         * converter.[Ch]: split into itself +
7166         * graph.[Ch]
7167         * format.[Ch]
7168         * Makefile.am: += graph.[Ch] + format.[Ch]
7169         * MenuBackend.C
7170         * buffer.C
7171         * exporter.C
7172         * importer.C
7173         * lyx_main.C
7174         * lyxfunc.C
7175         * lyxrc.C: added #include "format.h"
7176
7177 2003-02-27  Angus Leeming  <leeming@lyx.org>
7178
7179         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7180           a label.
7181
7182         * factory.C (createInset): add "label" to the factory.
7183
7184         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7185           string and do no more.
7186
7187 2003-02-27  Angus Leeming  <leeming@lyx.org>
7188
7189         * commandtags.h:
7190         * LyXAction.C (init):
7191         * factory.C (createInset):
7192         * BufferView_pimpl.C (dispatch):
7193           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7194
7195         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7196
7197         * lyxfunc.C (dispatch):
7198         * text3.C (dispatch): pass name to params2string.
7199
7200 2003-02-26  Angus Leeming  <leeming@lyx.org>
7201
7202         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7203           blocks together.
7204           Rearrange the ~includes. Strip out the unnecessary ones.
7205
7206         * factory.C (createInset): reformat.
7207           create new insets for the various LFUN_XYZ_APPLY lfuns.
7208
7209 2003-02-26  John Levon  <levon@movementarian.org>
7210
7211         * lyxrow.h:
7212         * lyxrow.C: add isParStart,isParEnd helpers
7213
7214         * paragraph.h: make isInserted/DeletedText take refs
7215
7216         * paragraph_funcs.h:
7217         * paragraph_funcs.C: remove #if 0'd code
7218
7219         * lyxtext.h:
7220         * text3.C:
7221         * text2.C:
7222         * text.C: use lyxrow helpers above.
7223           Move draw and paint routines to RowPainter.
7224           Make several methods use refs not pointers.
7225           Make backgroundColor() const.
7226           Add markChangeInDraw(), isInInset().
7227           Merge changeRegionCase into changeCase.
7228           Make workWidth() shouldn't-happen code into an Assert.
7229
7230         * rowpainter.h:
7231         * rowpainter.C: new class for painting a row.
7232
7233         * vspace.h:
7234         * vspace.C: make inPixels take a ref
7235
7236 2003-02-26  Angus Leeming  <leeming@lyx.org>
7237
7238         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7239         LFUN_REF_APPLY.
7240
7241 2003-02-25  John Levon  <levon@movementarian.org>
7242
7243         * ispell.C: give the forked command a more accurate name
7244
7245 2003-02-22  John Levon  <levon@movementarian.org>
7246
7247         * toc.h:
7248         * toc.C: make TocItem store an id not a Paragraph *
7249           (bug #913)
7250
7251 2003-02-21  Angus Leeming  <leeming@lyx.org>
7252
7253         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7254           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7255           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7256           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7257           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7258           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7259
7260         * BufferView_pimpl.C (dispatch):
7261         * LyXAction.C (init):
7262         * factory.C (createInset):
7263         * lyxfunc.C (getStatus, dispatch):
7264         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7265
7266 2003-02-21  Angus Leeming  <leeming@lyx.org>
7267
7268         * BufferView_pimpl.C (MenuInsertLyXFile):
7269         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7270         * lyxfunc.C (menuNew, open, doImport):
7271           no longer pass a LyXView & to fileDlg.
7272
7273 2003-02-21  Angus Leeming  <leeming@lyx.org>
7274
7275         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7276         * LyXAction.C: change, BIBKEY to BIBITEM.
7277         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7278         Change InsetBibKey to InsetBibitem.
7279         Change BIBKEY_CODE to BIBITEM_CODE.
7280         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7281         * factory.C: replace insetbib.h with insetbibitem.h.
7282         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7283         * paragraph.C: replace insetbib.h with insetbibitem.h.
7284         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7285         Change bibkey() to bibitem().
7286         * text.C: remove insetbib.h.
7287         * text2.C: replace insetbib.h with insetbibitem.h.
7288         change bibkey() to bibitem().
7289         * text3.C: remove insetbib.h.
7290         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7291
7292 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7293
7294         * lyxrc.C (output): enclose user email in quotes (in case there are
7295         several words)
7296
7297 2003-02-18  John Levon  <levon@movementarian.org>
7298
7299         * buffer.h: add std::
7300
7301 2003-02-17  John Levon  <levon@movementarian.org>
7302
7303         * SpellBase.h:
7304         * ispell.h:
7305         * ispell.C:
7306         * pspell.h:
7307         * pspell.C: reworking. Especially in ispell, a large
7308           number of clean ups and bug fixes.
7309
7310         * lyxfunc.C: fix revert to behave sensibly
7311
7312 2003-02-17 André Pönitz <poenitz@gmx.net>
7313
7314         * LyXAction.C:
7315         * commandtags.h: new LFUN_INSERT_BIBKEY
7316
7317         * layout.h:
7318         * lyxlayout.C:
7319         * buffer.C:
7320         * factory.C:
7321         * text.C:
7322         * text2.C:
7323         * text3.C:
7324         * paragraph.[Ch]:
7325         * paragraph_func.C: remove special bibkey handling
7326
7327 2003-02-17  John Levon  <levon@movementarian.org>
7328
7329         * text.C (Delete): fix case where delete at the end of
7330           the very first paragraph would not merge the pars
7331
7332 2003-02-17  John Levon  <levon@movementarian.org>
7333
7334         * lyxrow.C: fix lastPrintablePos()
7335
7336 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7337
7338         * bufferparams.C (writeLaTeX): add a std:here
7339
7340         * buffer.C: and remove a using directive there
7341
7342 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7343
7344         * buffer.C (makeLaTeXFile): move the code that generates the
7345           preamble...
7346
7347         * bufferparams.C (writeLaTeX): ... in this new method
7348
7349         * LaTeXFeatures.C (getEncodingSet): make const
7350           (getLanguages): make const
7351
7352         * MenuBackend.C (binding): returns the binding associated to this
7353           action
7354           (add): sets the status of each item by calling getStatus. Adds
7355           some intelligence.
7356           (read): add support for OptSubMenu
7357           (expand): remove extra separator at the end of expanded menu
7358
7359 2003-02-15  John Levon  <levon@movementarian.org>
7360
7361         * BufferView.C:
7362         * BufferView_pimpl.C:
7363         * bufferlist.h:
7364         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7365           inset code that had no actual effect. Remove unneeded status
7366           code.
7367
7368 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7369
7370         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7371           in preamble
7372
7373 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7374
7375         * text.C (drawLengthMarker): also draw an arrow marker for
7376           symbolic lengths (medskip...)
7377
7378 2003-02-14  John Levon  <levon@movementarian.org>
7379
7380         * tabular.h:
7381         * tabular.C: better method names
7382
7383 2003-02-14  John Levon  <levon@movementarian.org>
7384
7385         * BufferView_pimpl.C:
7386         * bufferlist.C:
7387         * buffer.C:
7388         * converter.C:
7389         * lyx_cb.C:
7390         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7391           it's a more accurate name. Remove some pointless uses.
7392
7393 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7394
7395         * text2.C (LyXText): change order of initilizers to shut off
7396           warnings
7397
7398 2003-02-14  John Levon  <levon@movementarian.org>
7399
7400         * buffer.C: use ParIterator for getParFromID()
7401
7402         * paragraph.h:
7403         * paragraph.C:
7404         * paragraph_pimpl.h:
7405         * paragraph_pimpl.C: remove unused getParFromID()
7406
7407 2003-02-14  John Levon  <levon@movementarian.org>
7408
7409         * buffer.C: remove some very old #if 0'd parse code
7410
7411 2003-02-13  John Levon  <levon@movementarian.org>
7412
7413         * text.h:
7414         * text.C:
7415         * text2.C: move hfillExpansion(), numberOfSeparators(),
7416           rowLast(), rowLastPrintable(), numberofHfills(),
7417           numberOfLabelHfills() ...
7418
7419         * lyxrow.h:
7420         * lyxrow.C: ... to member functions here.
7421
7422         * paragraph.h:
7423         * paragraph.C:
7424         * lyxtext.h:
7425         * text.C: remove LyXText::beginningOfMainBody(), and call
7426           p->beginningOfMainBody() directly. Move the check for
7427           LABEL_MANUAL into the latter.
7428
7429         * text.h:
7430         * text.C:
7431         * text2.C:
7432         * vspace.C:
7433         * BufferView.h:
7434         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7435
7436         * text.h:
7437         * text.C:
7438         * text2.C:
7439         * text3.C:
7440         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7441           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7442
7443 2003-02-13  John Levon  <levon@movementarian.org>
7444
7445         * CutAndPaste.C: remove debug
7446
7447 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7448
7449         * paragraph.C (asString): remove two unused variables
7450
7451         * lyxtextclass.C (readTitleType):
7452           (Read):
7453           (LyXTextClass): handle new members titletype_ and titlename_
7454
7455         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7456
7457 2003-02-09  John Levon  <levon@movementarian.org>
7458
7459         * buffer.h:
7460         * buffer.C: replace hand-coded list with a map for the dep clean
7461
7462 2003-02-08  John Levon  <levon@movementarian.org>
7463
7464         * LaTeX.C: consolidate code into showRunMessage() helper
7465
7466 2003-02-08  John Levon  <levon@movementarian.org>
7467
7468         * lyxfind.C:
7469         * lyxtext.h:
7470         * text2.C:
7471         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7472           and pass the size in explicitly
7473
7474         * BufferView_pimpl.h:
7475         * BufferView_pimpl.C:
7476         * BufferView.h:
7477         * BufferView.C: add getCurrentChange()
7478
7479         * BufferView_pimpl.h:
7480         * BufferView_pimpl.C: handle change lfuns
7481
7482         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7483           for changes. Mark pasted paragraphs as new.
7484
7485         * support/lyxtime.h:
7486         * support/lyxtime.C:
7487         * DepTable.C: abstract time_t as lyx::time_type
7488
7489         * LColor.h:
7490         * LColor.C: add colours for new text, deleted text, changebars
7491
7492         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7493           package use "usenames" option.
7494
7495         * commandtags.h:
7496         * lyxfunc.C:
7497         * LyXAction.C: add change lfuns
7498
7499         * Makefile.am:
7500         * author.h:
7501         * author.C: author handling
7502
7503         * buffer.h:
7504         * buffer.C: add a per-buffer author list, with first entry as
7505           current author. Handle new .lyx tokens for change tracking. Output
7506           author list to .lyx file. Output dvipost stuff to .tex preamble.
7507           Bump lyx format to 222.
7508
7509         * bufferlist.h:
7510         * bufferlist.C: add setCurrentAuthor() to reset current author details
7511           in all buffers.
7512
7513         * bufferparams.h:
7514         * bufferparams.C: add param for tracking
7515
7516         * bufferview_funcs.C: output change info in minibuffer
7517
7518         * Makefile.am:
7519         * changes.h:
7520         * changes.C: add change-tracking structure
7521
7522         * debug.h:
7523         * debug.C: add CHANGES debug flag
7524
7525         * lyxfind.h:
7526         * lyxfind.C: add code for finding the next change piece
7527
7528         * lyxrc.h:
7529         * lyxrc.C: add user_name and user_email
7530
7531         * lyxrow.h:
7532         * lyxrow.C: add a metric for the top of the text line
7533
7534         * lyxtext.h:
7535         * text.C: implement accept/rejectChange()
7536
7537         * lyxtext.h:
7538         * text.C: paint changebars. Paint new/deleted text in the chosen
7539         colours. Strike through deleted text.
7540
7541         * paragraph.h:
7542         * paragraph.C:
7543         * paragraph_pimpl.h:
7544         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7545           in the current change to the insert functions. Rework erase to
7546           mark text as deleted, adding an eraseIntern() and a range-based
7547           erase(). Implement per-paragraph change lookup and
7548           accept/reject.
7549
7550         * paragraph_funcs.C: Fixup paste for change tracking.
7551
7552         * tabular.C: mark added row/columns as new.
7553
7554         * text.C: fix rowLast() to never return -1. Don't allow
7555           spellchecking of deleted text. Track transpose changes. Don't
7556           allow paragraph break or merge where appropriate.
7557
7558         * text2.C: leave cursor at end of selection after a cut.
7559
7560 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7561
7562         * text.C (getLengthMarkerHeight):
7563         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7564         visible on screen too.
7565
7566 2003-02-07  John Levon  <levon@movementarian.org>
7567
7568         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7569
7570 2003-02-05  Angus Leeming  <leeming@lyx.org>
7571
7572         * lyxserver.C (read_ready): revert my patch of 11 September last year
7573         as it sends PC cpu through the roof. Presumably this means that
7574         the lyxserver will no longer run on an Alpha...
7575
7576 2003-01-30  Angus Leeming  <leeming@lyx.org>
7577
7578         * factory.C (createInset): create an InsetCommandParam of type "index"
7579         and use it to 'do the right thing'.
7580
7581         * text2.C (getStringToIndex): ensure that cursor position is always
7582         reset to the reset_cursor position.
7583
7584 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7585
7586         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7587         disabled.
7588
7589 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7590
7591         * bufferview.C:
7592         * lyxcb.C:
7593         * lyxfunc.C: Output messages with identical spelling, punctuation,
7594         and spaces
7595
7596 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7597
7598         * MenuBackend.C (expandFormats): List only viewable export formats
7599         in "View" menu
7600
7601         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7602         message
7603
7604         * lyxfunc.C (getStatus): Make sure that formats other than
7605         "fax" can also be disabled
7606
7607 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7608
7609         * text3.C (dispatch): put the lfuns that insert insets in 3
7610         groups, and call doInsertInset with appropriate arguments.
7611         (doInsertInset): new function, that creates an inset and inserts
7612         it according to some boolean parameters.
7613
7614 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7615
7616         * buffer.C (readFile): remember to pass on 'par' when calling
7617         readFile recursively.
7618
7619 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7620
7621         * MenuBackend.C (expandFormats): add "..." to import formats.
7622
7623 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7624
7625         * paragraph.C (asString): Remove XForms RTL hacks.
7626
7627 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7628         * buffer.C: fix typo
7629
7630 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7631
7632         * Makefile.am (LIBS): delete var
7633         (lyx_LDADD): add @LIBS@ here instead.
7634
7635 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7636
7637         * Clarify the meaning of "wheel mouse jump"
7638
7639 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7640
7641         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7642         tabular in a float
7643
7644 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7645
7646         * importer.C (Loaders): do not preallocate 3 elements in the
7647         vector, since one ends up with 6 elements otherwise
7648
7649 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7650
7651         * DepTable.C (write): write the file name as last element of the
7652         .dep file (because it may contain spaces)
7653         (read): read info in the right order
7654
7655 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7656
7657         * paragraph_pimpl.C (simpleTeXBlanks):
7658         (simpleTeXSpecialChars):
7659         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7660
7661         * tabular.C (latex): add some missing case statements. Reindent.
7662
7663         * MenuBackend.C (expandToc): remove unused variable.
7664
7665 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7666
7667         * LColor.C:
7668         * LaTeX.C:
7669         * LyXAction.C:
7670         * MenuBackend.C:
7671         * buffer.C:
7672         * exporter.C:
7673         * lyxfunc.C:
7674         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7675         and the like.
7676
7677 2003-01-05  John Levon  <levon@movementarian.org>
7678
7679         * BufferView.h:
7680         * BufferView.C: add getEncoding()
7681
7682         * kbsequence.h:
7683         * kbsequence.C: do not store last keypress
7684
7685         * lyxfunc.h:
7686         * lyxfunc.C: store last keypress here instead. Pass encoding
7687           to getISOEncoded()
7688
7689 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7690
7691         * lyx_main.C (init): remove annoying error message when following
7692         symbolic links (bug #780)
7693
7694 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7695
7696         * text.C (insertChar):
7697         * lyxrc.C (getDescription): remove extra spaces
7698
7699 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7700
7701         * lyxrc.C (getDescription): remove extra spaces
7702
7703 2002-12-20  John Levon  <levon@movementarian.org>
7704
7705         * text3.C: hack fix for page up/down across tall rows
7706
7707 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7708
7709         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7710         not been invoked
7711
7712 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7713
7714         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7715         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7716         thesaurus is not compiled in
7717
7718 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7719
7720         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7721
7722 2002-12-16  Angus Leeming  <leeming@lyx.org>
7723
7724         * lyxrc.[Ch]:
7725         * lyx_main.C (init): remove override_x_deadkeys stuff.
7726
7727 2002-12-12  John Levon  <levon@movementarian.org>
7728
7729         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7730           insert. Only remove shift modifier under strict
7731           circumstances.
7732
7733 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7734
7735         * MenuBackend.C (expandToc): fix crash.
7736
7737 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7738
7739         * MenuBackend.C (expandToc): gettext on float names.
7740
7741 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7742
7743         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7744         implement bool empty() [bug 490]
7745
7746 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7747
7748         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7749
7750 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7751
7752         * several files: ws changes
7753
7754 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7755
7756         * text2.C (setCounter): clean up a bit, use boost.format.
7757         (updateCounters): initialize par upon declaration.
7758
7759         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7760         if the layout exists. We do not just store the layout any more.
7761         (SwitchLayoutsBetweenClasses): use boost.format
7762
7763 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7764
7765         * converter.C (convert): if from and to files are the same, use a
7766         temporary files as intermediary
7767
7768 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7769
7770         * commandtags.h:
7771         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7772
7773 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7774
7775         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7776
7777 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7778
7779         * tabular.C (asciiPrintCell): use string(size, char) instead of
7780         explicit loop.
7781
7782         * sgml.C (openTag): fix order of arguments to string constructor
7783         (closeTag): ditto
7784
7785         * lyxfunc.C (dispatch): use boost.format
7786
7787         * lots of files: change "c" -> 'c'
7788
7789 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7790
7791         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7792
7793 2002-11-25  Angus Leeming  <leeming@lyx.org>
7794
7795         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7796
7797         * lyx_main.C (init): compile fix.
7798
7799 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7800
7801         * lyx_cb.C (start): boost.formatify
7802         do not include <iostream>
7803
7804         * lengthcommon.C: ws only
7805
7806         * boost-inst.C,BoostFormat.h: add more explict instantations
7807
7808 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7809
7810         * lots of files: handle USE_BOOST_FORMAT
7811
7812 2002-11-21  John Levon  <levon@movementarian.org>
7813
7814         * pspell.C: fix compile
7815
7816 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7817
7818         * lyxfunc.C (dispatch): use boost::format
7819         (open): ditto
7820         (doImport): ditto
7821
7822         * lyxfont.C (stateText): use boost::format
7823
7824         * lyx_main.C (LyX): use boost::format
7825         (init): ditto
7826         (queryUserLyXDir): ditto
7827         (readRcFile): ditto
7828         (parse_dbg): ditto
7829         (typedef boost::function): use the recommened syntax.
7830
7831         * importer.C (Import): use boost::format
7832
7833         * debug.C (showLevel): use boost::format
7834
7835         * converter.C (view): use boost::format
7836         (convert): ditto
7837         (move): ditto
7838         (scanLog): ditto
7839
7840         * bufferview_funcs.C (currentState): use boost::format
7841
7842         * bufferlist.C (emergencyWrite): use boost::format
7843
7844         * buffer.C (readLyXformat2): use boost::format
7845         (parseSingleLyXformat2Token): ditto
7846
7847         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7848
7849         * LaTeX.C (run): use boost::format
7850
7851         * Chktex.C (scanLogFile): use boost::format
7852
7853         * BufferView_pimpl.C (savePosition): use boost::format
7854         (restorePosition): ditto
7855         (MenuInsertLyXFile): ditto
7856
7857         * BoostFormat.h: help file for explicit instation.
7858
7859 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7860
7861         * tabular.C (latex): Support for block alignment in fixed width
7862         columns.
7863
7864 2002-11-17  John Levon  <levon@movementarian.org>
7865
7866         * BufferView_pimpl.C:
7867         * lyx_cb.C:
7868         * lyxfunc.C: split filedialog into open/save
7869
7870 2002-11-08  Juergen Vigna  <jug@sad.it>
7871
7872         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7873         by my last patch (hopefully).
7874
7875 2002-11-08  John Levon  <levon@movementarian.org>
7876
7877         * iterators.h:
7878         * iterators.C:
7879         * buffer.h:
7880         * buffer.C:
7881         * paragraph.h:
7882         * paragraph.C:
7883         * toc.h:
7884         * toc.C: ParConstIterator, and use it (from Lars)
7885
7886 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7887
7888         * lyxtextclass.[Ch]: revise and add doxygen comments
7889
7890 2002-11-07  John Levon  <levon@movementarian.org>
7891
7892         * text.C: fix progress value for spellchecker
7893
7894         * toc.C: fix navigate menu for insetwrap inside minipage
7895
7896         * paragraph_funcs.C: added FIXME for suspect code
7897
7898 2002-11-07  John Levon  <levon@movementarian.org>
7899
7900         * BufferView_pimpl.C: fix redrawing of insets
7901           on buffer switch
7902
7903 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7904
7905         * text2.C (updateCounters): fix bug 668
7906
7907 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7908
7909         * text3.C (dispatch): Do not make the buffer dirty when moving the
7910         cursor.
7911
7912 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7913
7914         * vc-backend.C: STRCONV
7915         (scanMaster): ditto
7916
7917         * text2.C (setCounter): STRCONV
7918
7919         * paragraph.C (asString): STRCONV
7920
7921         * lyxlength.C (asString): STRCONV
7922         (asLatexString): ditto
7923
7924         * lyxgluelength.C (asString): STRCONV
7925         (asLatexString): ditto
7926
7927         * lyxfunc.C (dispatch): STRCONV
7928         (open): ditto
7929
7930         * lyxfont.C (stateText): STRCONV
7931
7932         * importer.C (Import): STRCONV
7933
7934         * counters.C (labelItem): STRCONV
7935         (numberLabel): ditto
7936         (numberLabel): remove unused ostringstream o
7937
7938         * chset.C: STRCONV
7939         (loadFile): ditto
7940
7941         * bufferview_funcs.C (currentState): STRCONV
7942
7943         * buffer.C (readFile): STRCONV
7944         (asciiParagraph): ditto
7945         (makeLaTeXFile): ditto
7946
7947         * Spacing.C (writeEnvirBegin): STRCONV
7948
7949         * LaTeXFeatures.C (getLanguages): STRCONV
7950         (getPackages): ditto
7951         (getMacros): ditto
7952         (getBabelOptions): ditto
7953         (getTClassPreamble): ditto
7954         (getLyXSGMLEntities): ditto
7955         (getIncludedFiles): ditto
7956
7957         * LaTeX.C: STRCONV
7958         (run): ditto
7959         (scanAuxFile): ditto
7960         (deplog): ditto
7961
7962         * LString.h: add the STRCONV macros
7963
7964         * BufferView_pimpl.C (savePosition): STRCONV
7965         (restorePosition): ditto
7966         (MenuInsertLyXFile): ditto
7967
7968         * vc-backend.C (scanMaster): change from submatch[...] to
7969         submatch.str(...)
7970
7971         * funcrequest.C: include config.h
7972
7973         * factory.C: include config.h
7974
7975         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7976
7977         * box.C: include config.h
7978
7979         * LaTeX.C (scanAuxFile): change from submatch[...] to
7980         submatch.str(...)
7981         (deplog): ditto
7982
7983 2002-10-25  Angus Leeming  <leeming@lyx.org>
7984
7985         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7986
7987         * ispell.[Ch] (setError): new method.
7988         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7989         Use setError() insetead of goto END.
7990
7991         * lyx_cb.C (AutoSave): move out child process into new class
7992         AutoSaveBuffer.
7993
7994 2002-10-30  John Levon  <levon@movementarian.org>
7995
7996         * text3.C: make start appendix undoable
7997
7998 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7999
8000         * lyxlength.C (inPixels): Fix returned value.
8001
8002         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8003         environment.
8004
8005 2002-10-24  Angus Leeming  <leeming@lyx.org>
8006
8007         * lyxgluelength.h: no need to forward declare BufferParams
8008         or BufferView, so don't.
8009
8010 2002-10-21  John Levon  <levon@movementarian.org>
8011
8012         * BufferView.C: menuUndo ->undo, redo
8013
8014         * BufferView.h: document, remove dead, make some methods private
8015
8016         * paragraph_funcs.h:
8017         * paragraph_funcs.C:
8018         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8019
8020         * buffer.h:
8021         * buffer.C:
8022         * sgml.h:
8023         * sgml.C: move sgml open/close tag into sgml.C
8024
8025         * bufferview_funcs.h: unused prototype
8026
8027         * lyxfunc.h:
8028         * lyxfunc.C: remove unused
8029
8030         * lyxtext.h:
8031         * text.C: remove unused
8032
8033 2002-10-21  John Levon  <levon@movementarian.org>
8034
8035         * BufferView.h:
8036         * BufferView.C:
8037         * BufferView_pimpl.h:
8038         * BufferView_pimpl.C: fix mouse wheel handling based on
8039           patch from Darren Freeman
8040
8041 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8042
8043         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8044
8045 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8046
8047         * lyxlength.C (inPixels): Fix hanfling of negative length.
8048         Fix LyXLength::MU case.
8049
8050 2002-10-16  John Levon  <levon@movementarian.org>
8051
8052         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8053
8054 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8055
8056         * converter.C (view): add support for $$i (file name) and $$p
8057         (file path) for the viewer command. If $$i is not specified, then
8058         it is appended to the command (for compatibility with old syntax)
8059
8060 2002-10-14  Juergen Vigna  <jug@sad.it>
8061
8062         * undo_funcs.C (textHandleUndo): alter the order in which the
8063         new undopar is added to the LyXText, as we have to set first
8064         the right prev/next and then add it as otherwise the rebuild of
8065         LyXText is not correct. Also reset the cursor to the right paragraph,
8066         with this IMO we could remove the hack in "redoParagraphs()".
8067
8068 2002-10-09  Angus Leeming  <leeming@lyx.org>
8069
8070         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8071         to turn off an optimisation if a new inset is to be inserted.
8072
8073 2002-10-11 André Pönitz <poenitz@gmx.net>
8074
8075         * lyxtext.h: make some functions public to allow access
8076         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8077
8078 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8079
8080         * text3.C (dispatch): when changing layout, avoid an infinite loop
8081         [bug #652]
8082
8083 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8084
8085         * lyxrc.C (read): treat a viewer or converter command of "none" as
8086         if it were empty.
8087
8088         * MenuBackend.C (expandFormats): for an update, also allow the
8089         formats that are not viewable
8090
8091         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8092         script if it is newer than the lyxrc.defaults in user directory
8093
8094 2002-10-07 André Pönitz <poenitz@gmx.net>
8095
8096         * text.C: Vitaly Lipatov's small i18n fix
8097
8098 2002-09-25  Angus Leeming  <leeming@lyx.org>
8099
8100         * ispell.h: doxygen fix.
8101
8102 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8103
8104         * buffer.h (readFile): Add a new argument to the method, to allow
8105         reading of old-format templates.
8106
8107 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8108
8109         * toc.C (getTocList): Get TOC from InsetWrap.
8110
8111 2002-09-16  John Levon  <levon@movementarian.org>
8112
8113         * lyxfunc.C: check tabular for cut/copy too
8114
8115 2002-09-12  John Levon  <levon@movementarian.org>
8116
8117         * LyXAction.C: tidy
8118
8119         * factory.h:
8120         * factory.C: add header
8121
8122         * paragraph_funcs.h:
8123         * paragraph_funcs.C: cleanup
8124
8125 2002-09-11  John Levon  <levon@movementarian.org>
8126
8127         * PrinterParams.h: odd/even default to true
8128
8129 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8130
8131         * PrinterParams.h: update printer parameters for new xforms dialog
8132
8133 2002-09-11  Angus Leeming  <leeming@lyx.org>
8134
8135         * lyxserver.C (read_ready): re-write to make it more transparent
8136         and to make it work in coherent fashion under Tru64 Unix.
8137
8138 2002-09-11  André Pönitz <poenitz@gmx.net>
8139
8140         * commandtags.h:
8141         * LyXAction.C:
8142         * text3.C: implement LFUN_WORDSEL
8143
8144 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8145
8146         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8147         make floatlist_ a boost::shared_ptr<FloatList>
8148
8149         * lyxtextclass.C: include FloatList.h
8150         (LyXTextClass): initialize floatlist_
8151         (TextClassTags): add TC_NOFLOAT
8152         (Read): match "nofloat" to TC_NOFLOAT and use it.
8153         (readFloat): modify call to floatlist_
8154         (floats): ditto
8155         (floats): ditto
8156
8157         * FloatList.[Ch] (FloatList): remove commented out float
8158         initialization.
8159         (erase): new function
8160
8161 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8162
8163         * MenuBackend.C (expandToc): fix crash when there is no document
8164         open
8165
8166 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8167
8168         * many files: Add insetwrap.
8169
8170 2002-09-09  John Levon  <levon@movementarian.org>
8171
8172         * text2.C: remove confusing and awkward depth wraparound
8173
8174 2002-09-09  John Levon  <levon@movementarian.org>
8175
8176         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8177
8178         * buffer.h:
8179         * buffer.C: remove getIncludeonlyList()
8180
8181         * paragraph.C:
8182         * lyxfunc.C: remove headers
8183
8184 2002-09-09  Juergen Vigna  <jug@sad.it>
8185
8186         * text.C (getColumnNearX): fix form Michael this is most
8187         probably a cut&paste bug.
8188
8189 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8190
8191         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8192
8193         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8194         references, ws changes.
8195
8196         * text2.C (init): update counters after init
8197         (insertParagraph): no need to set counter on idividual paragraphs.
8198         (setCounter): access the counters object in the textclass object
8199         on in the buffer object.
8200         (updateCounters): ditto
8201
8202         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8203         shared_ptr<Counters> to avoid loading counters.h in all
8204         compilation units.
8205         (LyXTextClass): initialize ctrs_
8206         (TextClassTags): add TC_COUNTER, and ...
8207         (Read): use it here.
8208         (CounterTags): new tags
8209         (readCounter): new function
8210         (counters): new funtion
8211         (defaultLayoutName): return a const reference
8212
8213         * counters.C (Counters): remove contructor
8214         (newCounter): remove a couple of unneeded statements.
8215         (newCounter): simplify a bit.
8216         (numberLabel): some small formatting changes.
8217
8218         * buffer.[Ch]: remove all traces of counters, move the Counters
8219         object to the LyXTextClass.
8220
8221 2002-09-06  Alain Castera  <castera@in2p3.fr>
8222
8223         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8224         package to set the horizontal alignment on fixed width columns.
8225
8226         * lyx_sty.C:
8227         * lyx_sty.h: added tabularnewline macro def.
8228
8229         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8230
8231 2002-09-06  John Levon  <levon@movementarian.org>
8232
8233         * LyXAction.C: tooltips for sub/superscript
8234
8235         * MenuBackend.C: a bit more verbose
8236
8237         * lyxfunc.C: tiny clean
8238
8239         * undo_funcs.C: document undo_frozen
8240
8241 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8242
8243         * counters.C (Counters): add missing algorithm counter.
8244
8245         * text2.C (setCounter): lookup the counter with layouts latexname
8246         instead of by section number.
8247         (setCounter): use a hackish way to lookup the correct enum
8248         counter.
8249         a float name->type change
8250         reset enum couners with counter name directly instead of depth value.
8251
8252         * counters.C (Counters): remove the push_backs, change to use the
8253         float type not the float name.
8254         (labelItem): remove unused string, float name->type change
8255
8256         * counters.h: don't include vector, loose the enums and sects vectors
8257
8258 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8259
8260         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8261         (Read): add float->TC_FLOAT to textclassTags
8262         (Read): and handle it in the switch
8263         (readFloat): new function
8264
8265         * FloatList.C (FloatList): comment out the hardcoded float
8266         definitions.
8267
8268         * lyxlayout.h: ws change.
8269
8270 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8271
8272         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8273
8274 2002-09-03  Angus Leeming  <leeming@lyx.org>
8275
8276         * BufferView_pimpl.h: qualified name is not allowed in member
8277         declaration: WorkArea & Pimpl::workarea() const;
8278
8279         * factory.C: added using std::endl directive.
8280
8281         * text3.C: added using std::find and std::vector directives.
8282
8283 2002-08-29  André Pönitz <poenitz@gmx.net>
8284
8285         * lyxtext.h:
8286         * text2.C: remove unused member number_of_rows
8287
8288         * Makefile.am:
8289         * BufferView2.C: remove file, move contents to...
8290         * BufferView.C: ... here
8291
8292         * BufferView_pimpl.C:
8293         * factory.C: move more inset creation to factory
8294
8295         * vspace.C: avoid direct usage of LyXText, ws changes
8296
8297         * BufferView.[Ch]:
8298                 don't provide direct access to WorkArea, use two simple
8299                 acessors haveSelction() and workHeight() instead
8300
8301
8302 2002-08-29  John Levon  <levon@movementarian.org>
8303
8304         * BufferView_pimpl.C (dispatch): do not continue when
8305           no buffer
8306
8307 2002-08-28  André Pönitz <poenitz@gmx.net>
8308
8309         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8310
8311         * BufferView.h:
8312         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8313
8314 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8315
8316         * buffer.C: increment LYX_FORMAT to 221
8317
8318         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8319         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8320
8321         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8322
8323         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8324
8325 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8326
8327         * factory.C (createInset): use LyXTextClass::floats
8328
8329         * MenuBackend.C (expandFloatListInsert):
8330         (expandFloatInsert):
8331         (expandToc):
8332
8333         * text2.C (setCounter):
8334
8335         * LaTeXFeatures.C (useFloat):
8336         (getFloatDefinitions):
8337
8338         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8339
8340         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8341         floatlist_, with accessor floats().
8342
8343         * FloatList.h: remove global FloatList
8344
8345 2002-08-26  André Pönitz <poenitz@gmx.net>
8346
8347         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8348
8349         * BufferView.h:
8350         * BufferView2.C:
8351         * BufferView_pimpl.C:
8352         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8353
8354 2002-08-25  John Levon  <levon@movementarian.org>
8355
8356         * LyXAction.C: fix margin note description
8357
8358 2002-08-24  John Levon  <levon@movementarian.org>
8359
8360         * buffer.C:
8361         * bufferlist.C:
8362         * bufferview_funcs.C:
8363         * lyxfont.C:
8364         * undo_funcs.C: cleanups
8365
8366         * lyxfunc.C: disable CUT/COPY when no selection
8367
8368 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8369
8370         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8371         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8372
8373         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8374         Add backward compatibility to "mono", "gray" and "no".
8375
8376 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8377
8378         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8379         (and file_format >= 200).
8380
8381 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8382
8383         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8384
8385 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8386
8387         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8388
8389 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8390
8391         * BufferView_pimpl.C:
8392         * LyXAction.C:
8393         * buffer.C:
8394         * commandtags.h:
8395         * lyxfunc.C:
8396         * paragraph.[Ch]:
8397         * text2.C:
8398         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8399         inset and code to make it  work with the paragraph code. The inset
8400         can be anywhere in the paragraph, but will only do the expected
8401         thing in LaTeX if the layout file contains the parameter line
8402                         OptionalArgs    1
8403         (or more generally, a nonzero value) for that layout.
8404
8405 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8406
8407         * paragraph.h: remove the declaration of undefined counters class
8408         function.
8409
8410 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8411
8412         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8413         Dr. Richard Hawkins.
8414
8415 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8416
8417         * paragraph_funcs.h: remove some unneeded includes
8418
8419         * text.C (backspace): pasteParagraph now in global scipe
8420
8421         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8422         (pasteSelection): ditto
8423
8424         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8425         * paragraph_funcs.C (pasteParagraph): ... here
8426
8427 2002-08-20  André Pönitz <poenitz@gmx.net>
8428
8429         * commandtags.h: new LFUNs for swapping/copying table row/colums
8430
8431         * LyXAction.C:
8432         * lyxfunc.C: support for new lfuns
8433
8434 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8435
8436         * tabular.C:
8437         * buffer.[Ch]: remove NO_COMPABILITY stuff
8438
8439 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8440
8441         * boost.C (throw_exception): new file, with helper function for
8442         boost compiled without exceptions.
8443
8444         * paragraph.h:
8445         * lyxlength.C:
8446         * buffer.C:
8447         * ParameterStruct.h:
8448         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8449
8450         * bufferlist.C (emergencyWriteAll): use boost bind
8451
8452         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8453
8454         * text.C: include paragraph_funcs.h
8455         (breakParagraph): breakParagraph is now in global scope
8456
8457         * paragraph_funcs.[Ch]: new files
8458
8459         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8460         global scope
8461
8462         * buffer.C: include paragraph_funcs.h
8463         (insertStringAsLines): breakParagraph is now in global scope
8464
8465         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8466         paragraph_funcs.C
8467
8468         * CutAndPaste.C: include paragraph_funcs.h
8469         (cutSelection): breakParagraphConservative is now in global scope
8470         (pasteSelection): ditto
8471
8472         * buffer.h: declare oprator== and operator!= for
8473         Buffer::inset_iterator
8474
8475         * bufferlist.C (emergencyWrite): don't use fmt(...)
8476
8477         * text3.C: add using std::endl
8478
8479         * BufferView.C (moveCursorUpdate): remove default arg
8480
8481 2002-08-20  André Pönitz <poenitz@gmx.net>
8482
8483         * buffer.[Ch]: move inline functions to .C
8484
8485         * BufferView2.C:
8486         * BufferView_pimpl.C:
8487         * text.C:
8488         * buffer.[Ch]: use improved inset_iterator
8489
8490         * buffer.C:
8491         * paragraph.[Ch]: write one paragraph at a time
8492
8493 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8494
8495         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8496         style if style is not specified.
8497
8498 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8499
8500         * text2.C (setCounter): when searching for right label for a
8501         caption, make sure to recurse to parent insets (so that a caption
8502         in a minipage in a figure float works) (bug #568)
8503
8504 2002-08-20  André Pönitz <poenitz@gmx.net>
8505
8506         * text3.C: new file for LyXText::dispatch() and helpers
8507
8508         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8509
8510         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8511
8512 2002-08-19  André Pönitz <poenitz@gmx.net>
8513
8514         * lyxtext.h:
8515         * text.C: new LyXText::dispatch()
8516
8517         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8518
8519 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8520
8521         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8522
8523         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8524         Hebrew text.
8525
8526 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8527
8528         * Makefile.am: use $(variables) instead of @substitutions@
8529
8530 2002-08-15  André Pönitz <poenitz@gmx.net>
8531
8532         * lyxfunc.C:
8533         * BufferView_pimpl.C: streamlining mathed <-> outer world
8534         interaction
8535
8536         * commandtags.h:
8537         * LyXAction.C: remove unused LFUN_MATH
8538
8539 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8540
8541         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8542
8543 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8544
8545         * paragraph.C (Paragraph): reformat a bit
8546         (cutIntoMinibuffer): use builtin InsetList function instad of
8547         doing it manually.
8548         (getInset): ditto
8549
8550         * buffer.C: include boost/bind.hpp, add using std::for_each
8551         (writeFileAscii): use ParagraphList iterators
8552         (validate): use for_each for validate traversal of paragraphs
8553         (getBibkeyList): use ParagraphList iterators
8554         (resizeInsets): use for_each to resizeInsetsLyXText for all
8555         paragraphs.
8556         (getParFromID): use ParagraphList iterators
8557
8558         * BufferView2.C (lockInset): use paragraph list and iterators
8559
8560 2002-08-14  John Levon  <levon@movementarian.org>
8561
8562         * lyxserver.C: remove spurious xforms include
8563
8564 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8565
8566         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8567
8568 2002-08-13  André Pönitz <poenitz@gmx.net>
8569
8570         * LyXAction.[Ch]:
8571         * lyxfunc.C: further cleaning
8572
8573 2002-08-13  André Pönitz <poenitz@gmx.net>
8574
8575         * funcrequest.h: new constructor
8576
8577         * funcrequest.C: move stuff here from .h
8578
8579         * Makefile.am:
8580         * BufferView_pimpl.C:
8581         * LyXAction.C:
8582         * toc.C:
8583         * lyxfunc.C: subsequent changes
8584
8585         * lyxfunc.h: new view() member function
8586
8587         * lyxfunc.C: subsequent changes
8588
8589 2002-08-13  Angus Leeming  <leeming@lyx.org>
8590
8591         * BufferView2.C:
8592         * BufferView_pimpl.C:
8593         * buffer.C:
8594         * converter.C:
8595         * importer.C:
8596         * lyxfunc.C:
8597         * lyxvc.C:
8598         * toc.C:
8599         * vc-backend.C:
8600         changes due to the changed LyXView interface that now returns references
8601         to member variables not pointers.
8602
8603 2002-08-13  Angus Leeming  <leeming@lyx.org>
8604
8605         * WordLangTuple (word, lang_code): return references to strings,
8606         not strings.
8607
8608         * BufferView.h:
8609         * SpellBase.h:
8610         * lyxtext.h: forward-declare WordLangTuple.
8611
8612         * BufferView2.C:
8613         * ispell.C:
8614         * pspell.C:
8615         * text.C: #include "WordLangTuple.h".
8616
8617         * lyxtext.h:
8618         * text.C: (selectNextWordToSpellcheck): constify return type.
8619
8620 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8621
8622         * buffer.C:
8623         * buffer.h:
8624         * lyxtext.h:
8625         * paragraph.C:
8626         * paragraph_pimpl.h:
8627         * text.C:
8628         * text2.C:
8629         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8630         suggested by Angus.
8631         Made updateCounter always count from start of buffer, and removed
8632         second argument (par).
8633         Reverted floats number display to '#'. Perhaps I'll try again when the
8634         code base is sanitized a bit.
8635
8636 2002-08-12  Angus Leeming  <leeming@lyx.org>
8637
8638         * buffer.[Ch] (getLabelList): constify.
8639
8640 2002-08-07  André Pönitz <poenitz@gmx.net>
8641
8642         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8643
8644         * funcrequest.h: extension to keep mouse (x,y) position
8645
8646 2002-08-12  Juergen Vigna  <jug@sad.it>
8647
8648         * BufferView2.C (insertErrors): forbid undo when inserting error
8649         insets.
8650
8651         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8652
8653 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8654
8655         * ParagraphList.[Ch]: new files
8656
8657         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8658
8659         * BufferView2.C (lockInset): ParagraphList changes
8660         * toc.C: ditto
8661         * text2.C: ditto
8662         * bufferlist.C: ditto
8663         * buffer.h: ditto
8664         * buffer.C: ditto
8665
8666 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8667
8668         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8669         unused class variable counter_,
8670
8671         * paragraph.[Ch] (getFirstCounter): delete unused function
8672
8673         * counters.C: include LAssert.h
8674         (reset): add a new function with no arg, change other version to
8675         not have def. arg and to not allow empty arg.
8676
8677         * text2.C (setCounter): remove empty arg from call to Counters::reset
8678
8679 2002-08-11  John Levon  <levon@movementarian.org>
8680
8681         * Makefile.am: add WordLangTuple.h
8682
8683 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8684
8685         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8686         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8687
8688         * insets/insettext.C: InsetList changes
8689
8690         * graphics/GraphicsSupport.C (operator()): InsetList changes
8691
8692         * toc.C (getTocList): InsetList changes
8693
8694         * paragraph_pimpl.[Ch]: InsetList changes
8695
8696         * paragraph.[Ch]: InsetList changes
8697
8698         * buffer.C (inset_iterator): InsetList changes
8699         (setParagraph): ditto
8700         * buffer.h (inset_iterator): ditto
8701         * iterators.C (operator++): ditto
8702         * iterators.h: ditto
8703
8704         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8705
8706         * InsetList.[Ch]: new files, most InsetList handling moved out of
8707         paragraph.C.
8708
8709         * BufferView2.C (removeAutoInsets): InsetList changes
8710         (lockInset): ditto
8711         (ChangeInsets): ditto
8712
8713 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8714
8715         * paragraph_pimpl.h (empty): new function
8716
8717         * paragraph.[Ch] (empty): new function
8718
8719         * other files: use the new Paragraph::empty function
8720
8721 2002-08-09  John Levon  <levon@movementarian.org>
8722
8723         * lyxtext.h: remove unused refresh_height
8724
8725 2002-08-09  John Levon  <levon@movementarian.org>
8726
8727         * Makefile.am:
8728         * sgml.h:
8729         * sgml.C:
8730         * buffer.C:
8731         * paragraph.h:
8732         * paragraph.C: move sgml char escaping out of paragraph
8733
8734         * paragraph.h:
8735         * paragraph.C: remove id setter
8736
8737         * buffer.C:
8738         * paragraph.C:
8739         * paragraph_pimpl.C: remove dead tex_code_break_column
8740
8741         * bufferview_funcs.C: small cleanup
8742
8743         * lyxfunc.C: remove dead proto
8744
8745         * lyxtext.h: make some stuff private. Remove some dead stuff.
8746
8747         * lyxgluelength.C: make as[LyX]String() readable
8748
8749 2002-08-08  John Levon  <levon@movementarian.org>
8750
8751         * LyXAction.h:
8752         * LyXAction.C:
8753         * MenuBackend.C:
8754         * ToolbarDefaults.C:
8755         * lyxfunc.C:
8756         * lyxrc.C:
8757         * toc.C: lyxaction cleanup
8758
8759 2002-08-08  John Levon  <levon@movementarian.org>
8760
8761         * BufferView2.C: small cleanup
8762
8763         * lyxfind.h:
8764         * lyxfind.C: move unnecessary header into the .C
8765
8766 2002-08-08  John Levon  <levon@movementarian.org>
8767
8768         * funcrequest.h: just tedious nonsense
8769
8770         * lyx_main.h:
8771         * lyx_main.C: cleanups
8772
8773         * buffer.C:
8774         * vspace.C: remove dead header lyx_main.h
8775
8776 2002-08-07  Angus Leeming  <leeming@lyx.org>
8777
8778         * Paragraph.[Ch]:
8779         * paragraph_pimpl.h:
8780         Forward declare class Counters in paragraph.h by moving the ctrs member
8781         variable into Paragraph::Pimpl.
8782         (counters): new method, returning a reference to pimpl_->ctrs.
8783
8784         * text2.C: ensuing changes.
8785
8786 2002-08-07  John Levon  <levon@movementarian.org>
8787
8788         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8789
8790         * BufferView_pimpl.C: announce X selection on double/triple
8791           click
8792
8793         * lyx_main.C: use correct bool in batch dispatch
8794
8795         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8796
8797 2002-08-07  André Pönitz <poenitz@gmx.net>
8798
8799         * funcrequest.h: new class to wrap a kb_action and its argument
8800
8801         * BufferView.[Ch]:
8802         * BufferView_pimpl[Ch]:
8803         * LaTeX.C:
8804         * LyXAction.[Ch]:
8805         * lyxfunc.[Ch]:
8806         * lyxrc.C: subsequent changes
8807
8808
8809 2002-08-07  John Levon  <levon@movementarian.org>
8810
8811         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8812           document options change.
8813
8814 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8815
8816         * counters.[Ch]
8817         * text2.C
8818         * paragraph.[Ch]
8819         * makefile.am: move counters functionality over from
8820         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8821
8822 2002-08-06  John Levon  <levon@movementarian.org>
8823
8824         * WordLangTuple.h: new file for word + language code tuple
8825
8826         * SpellBase.h:
8827         * pspell.h:
8828         * pspell.C:
8829         * ispell.h:
8830         * ispell.C:
8831         * lyxtext.h:
8832         * text.C:
8833         * text2.C:
8834         * BufferView.h:
8835         * BufferView2.C: use WordLangTuple
8836
8837         * layout.h:
8838         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8839
8840 2002-08-06  John Levon  <levon@movementarian.org>
8841
8842         * lyx_main.C: fix cmdline batch handling
8843
8844 2002-08-06  André Pönitz <poenitz@gmx.net>
8845
8846         * lyxrc.C: set default for show_banner to true
8847
8848 2002-08-06  John Levon  <levon@movementarian.org>
8849
8850         * pspell.C: fix a crash, and allow new aspell to work
8851
8852 2002-08-06  John Levon  <levon@movementarian.org>
8853
8854         * lyxfunc.C:
8855         * kbmap.C: small cleanup
8856
8857         * vspace.h:
8858         * vspace.C: add const
8859
8860 2002-08-05  John Levon  <levon@movementarian.org>
8861
8862         * LyXAction.C: back to tabular-insert
8863
8864 2002-08-04  John Levon  <levon@movementarian.org>
8865
8866         * BufferView.h:
8867         * BufferView.C: cosmetic change
8868
8869         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8870
8871         * bufferlist.C:
8872         * buffer.h:
8873         * buffer.C:
8874         * lyxcb.h:
8875         * lyxcb.C:
8876         * lyxserver.C:
8877         * lyxvc.C:
8878         * vc-backend.C:
8879         * BufferView2.C: purge all "Lyx" not "LyX" strings
8880
8881         * lyxcursor.h:
8882         * lyxcursor.C: attempt to add some documentation
8883
8884         * lyxfunc.C:
8885         * commandtags.h:
8886         * LyXAction.C:
8887         * ToolbarDefaults.C:
8888         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8889           merge with LFUN_TABULAR_INSERT
8890
8891         * Makefile.am:
8892         * SpellBase.h:
8893         * ispell.h:
8894         * ispell.C:
8895         * pspell.h:
8896         * pspell.C: split up i/pspell implementations into separate
8897           files, many cleanups
8898
8899         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8900
8901         * text2.C: some cleanup
8902
8903         * lyxfunc.C: don't check for isp_command == "none" any more, it
8904           didn't make any sense
8905
8906 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8907
8908         * counters.[Ch]
8909         * text2.C
8910         * paragraph.[Ch]
8911         * makefile.am: move counters functionality over
8912         from text2.C/paragraph.[Ch] to counters.[Ch], and
8913         make proper C++.
8914 2002-08-02  John Levon  <levon@movementarian.org>
8915
8916         * buffer.C: s/lyxconvert/lyx2lyx/
8917
8918 2002-08-02  Angus Leeming  <leeming@lyx.org>
8919
8920         * lyxlex.C: revert John's change as it breaks reading of the user
8921         preamble.
8922
8923 2002-08-02  Angus Leeming  <leeming@lyx.org>
8924
8925         * importer.C (Import):
8926         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8927         changes due to LyXView::view() now returning a boost::shared_ptr.
8928
8929 2002-08-02  John Levon  <levon@movementarian.org>
8930
8931         * lyxlex.C: small cleanup
8932
8933 2002-08-02  John Levon  <levon@movementarian.org>
8934
8935         * text2.C (status): small cleanup, no logic change
8936
8937 2002-08-01  John Levon  <levon@movementarian.org>
8938
8939         * buffer.h:
8940         * buffer.C (writeFile): don't output alerts, caller
8941           handles this
8942
8943         * bufferlist.C:
8944         * lyx_cb.C: from above
8945
8946         * lyxfunc.C: allow to open non-existent files
8947
8948 2002-07-31  John Levon  <levon@movementarian.org>
8949
8950         * lyxserver.C: don't let incidental errors get
8951           in the way (errno)
8952
8953 2002-07-30  John Levon  <levon@movementarian.org>
8954
8955         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8956
8957 2002-07-30  John Levon  <levon@movementarian.org>
8958
8959         * lyxserver.h:
8960         * lyxserver.C: remove I/O callback too
8961
8962 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8963
8964         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8965         log.
8966
8967 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8968
8969         * many files: strip,frontStrip -> trim,ltrim,rtrim
8970
8971 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8972
8973         * PrinterParams.h: remove extern containsOnly, and include
8974         support/lstrings.h instead.
8975
8976         * LaTeX.C (scanAuxFile): modify because of strip changes
8977         (deplog): ditto
8978         * buffer.C (makeLaTeXFile): ditto
8979         * bufferparams.C (writeFile): ditt
8980         * lyxfont.C (stateText): ditto
8981         * lyxserver.C (read_ready): ditto
8982         * vc-backend.C (scanMaster): ditto
8983
8984         * BufferView_pimpl.h: ws changes
8985
8986         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8987
8988 2002-07-26  André Pönitz <poenitz@gmx.net>
8989
8990         * kb_sequence.C: remove unnedred usings
8991
8992 2002-07-26  Juergen Vigna  <jug@sad.it>
8993
8994         * lyxfind.C (LyXReplace): we have to check better if the returned
8995         text is not of theLockingInset()->getLockingInset().
8996
8997 2002-07-25  Juergen Vigna  <jug@sad.it>
8998
8999         * lyxfind.C (LyXReplace): don't replace if we don't get the
9000         right LyXText.
9001
9002         * undo_funcs.C (createUndo): remove debugging code.
9003
9004 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9005
9006         * buffer.C (parseSingleLyXformat2Token): Use default placement
9007         when reading old floats.
9008
9009         * FloatList.C (FloatList): Change the default placement of figure
9010         and tables to "tbp".
9011
9012 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9013
9014         * MenuBackend.C: using std::max
9015
9016 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9017
9018         * MenuBackend.C (expandToc):
9019         (expandToc2): code moved from xforms menu frontend. It is now
9020         generic and TOCs are transparent to menu frontends.
9021
9022 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9023
9024         * toc.C (getTocList): protect against buf=0
9025
9026         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9027         Menu as first parameter. Now, this calls itself recursively to
9028         expand a whole tree (this will be useful for TOC handling)
9029         (expandFloatInsert): remove 'wide' version of floats
9030
9031         * MenuBackend.h (submenuname): returns the name of the submenu.
9032         (submenu): returns the submenu itself, provided it has been
9033         created by MenuBackend::expand
9034
9035 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9036
9037         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9038         insets which have noFontChange == true. (bug #172)
9039
9040 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9041
9042         * BufferView_pimpl.C: add connection objects and use them...
9043         (Pimpl): here.
9044
9045 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9046
9047         * MenuBackend.C (expandLastfiles):
9048         (expandDocuments):
9049         (expandFormats):
9050         (expandFloatListInsert):
9051         (expandFloatInsert):
9052         (expand): split expand in parts
9053
9054 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9055
9056         * lyx_gui.C: use lyx_gui::exit()
9057
9058 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9059
9060         * LyXAction.C: show the failing pseudo action
9061
9062 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9063
9064         * buffer.C (readFile): Run the lyxconvert script in order to read
9065         old files.
9066
9067 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9068
9069         * LyXAction.C:
9070         * commandtags.h:
9071         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9072
9073 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9074
9075         * LyXAction.C:
9076         * commandtags.h:
9077         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9078
9079 2002-07-22  Herbert Voss  <voss@lyx.org>
9080
9081         * lengthcommon.C:
9082         * lyxlength.[Ch]: add support for the vertical lengths
9083
9084 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9085
9086         * toc.[Ch]: std:: fixes
9087
9088 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9089
9090         * lyxrc.C: do not include lyx_main.h
9091
9092         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9093         for layouts
9094
9095         * lyxrc.C:
9096         * encoding.C:
9097         * bufferlist.C:
9098         * BufferView2.C: include "lyxlex.h"
9099
9100         * tabular.h:
9101         * bufferparams.h: do not #include "lyxlex.h"
9102
9103         * lyxtextclasslist.C (Add): remove method
9104         (classlist): renamed to classlist_
9105
9106         * paragraph_pimpl.C:
9107         * paragraph.C:
9108         * text2.C:
9109         * CutAndPaste.C:
9110         * bufferview_funcs.C:
9111         * bufferlist.C:
9112         * text.C:
9113         * LaTeXFeatures.C:
9114         * buffer.C:
9115         * toc.C (getTocList): use BufferParams::getLyXTextClass
9116
9117         * toc.C (getTocList): use InsetFloat::addToToc
9118
9119         * toc.[Ch]: new files, containing helper functions to handle table
9120         of contents
9121
9122         * lyxfunc.C (dispatch): no need to remove spaces around command
9123         given as a string
9124         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9125         first command of the sequence; it is not very clever, but I do not
9126         have a better idea, actually
9127
9128         * LyXAction.C (LookupFunc): make sure to remove space at the
9129         beginning and end of the command
9130
9131 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9132
9133         * MenuBackend.C (getMenubar): new method: return the menubar of
9134         this menu set
9135         (read): treat differently reading of menu and menubar (in
9136         particular, the menubar has no name now)
9137         (Menu::menubar): remove
9138
9139         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9140         saving is finished
9141
9142 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9143
9144         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9145         a bibitem inset in a RTL paragraph.
9146
9147 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9148
9149         * paragraph_pimpl.C: constify
9150
9151         * BufferView_pimpl.C:
9152         * LaTeX.C:
9153         * lyxfunc.C: fix dispatch in a nicer way
9154
9155 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9156
9157         * lyxfunc.C (dispatch):
9158         * BufferView_pimpl.C:
9159         * BufferView_pimpl.h:
9160         * BufferView.C:
9161         * BufferView.h: rename Dispatch() to dispatch()
9162
9163         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9164
9165         * lyxlayout.C (Read): honor DependsOn tag
9166
9167         * lyxlayout.[Ch] (depends_on): new method
9168
9169         * version.C.in: update lyx_docversion
9170
9171         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9172
9173         * paragraph.C (validate): remove from here...
9174         * paragraph_pimpl.C (validate): ... and move here
9175         (isTextAt): make it const
9176
9177         * buffer.C (getLists): ws cleanup
9178
9179 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9180
9181         * language.C (read): Use iso8859-1 encoding in latex_lang
9182         (this prevents LyX from crashing when using iso10646-1 encoding).
9183
9184 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9185
9186         * text2.C (toggleInset): if cursor is inside an inset, close the
9187         inset and leave cursor _after_ it
9188
9189 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9190
9191         * lyxfunc.C: move minibuffer completion handling out of here
9192
9193 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9194
9195         * BufferView_pimpl.C:
9196         * LaTeX.C: fix dispatch calls
9197
9198 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9199
9200         * text.C (drawChars): Fix Arabic text rendering.
9201
9202 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9203
9204         * LyXAction.C:
9205         * commandtags.h:
9206         * lyxfunc.C: remove message-push/pop
9207
9208         * lyxserver.C:
9209         * lyxfunc.h:
9210         * lyxfunc.C: rationalise some code by removing verboseDispatch
9211           in favour of a bool argument to dispatch()
9212
9213 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9214
9215         * lyx_main.C (init): make sure to read symlinks as absolute paths
9216
9217 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9218
9219         * lyxfunc.h:
9220         * lyxfunc.C: no need for commandshortcut to be a member
9221
9222 2002-07-15  André Pönitz <poenitz@gmx.net>
9223
9224         * converter.C: add support for $$s (scripts from lib/scripts dir)
9225         * lyx_main.C: white space
9226
9227 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9228
9229         * bufferlist.C:
9230         * lyxrc.h:
9231         * lyxrc.C: remove second exit confirmation
9232
9233 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9234
9235         * BufferView.h:
9236         * BufferView.C:
9237         * BufferView2.C:
9238         * BufferView_pimpl.h:
9239         * BufferView_pimpl.C:
9240         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9241
9242 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9243
9244         * MenuBackend.C (expand): add numeric shortcuts to document menu
9245
9246         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9247
9248 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9249
9250         * lyxfont.C (setLyXFamily):
9251         (setLyXSeries):
9252         (setLyXShape):
9253         (setLyXSize):
9254         (setLyXMisc):
9255         (lyxRead):
9256         * debug.C (value):
9257         * buffer.C (asciiParagraph): use ascii_lowercase
9258
9259 2002-07-15  Mike Fabian  <mfabian@suse.de>
9260
9261         * lyxlex_pimpl.C (search_kw):
9262         * lyxlex.C (getLongString):
9263         * converter.h (operator<):
9264         * converter.C (operator<):
9265         * buffer.C (parseSingleLyXformat2Token):
9266         (asciiParagraph):
9267         * ToolbarDefaults.C (read):
9268         * MenuBackend.C (checkShortcuts):
9269         (read):
9270         * LColor.C (getFromGUIName):
9271         (getFromLyXName): use the compare_ascii_no_case instead of
9272         compare_no_case, because in turkish, 'i' is not the lowercase
9273         version of 'I', and thus turkish locale breaks parsing of tags.
9274
9275 2002-07-16  Angus Leeming  <leeming@lyx.org>
9276
9277         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9278         now takes a Buffer const & argument.
9279
9280 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9281
9282         * BufferView.C (resize): check there's a buffer to resize
9283
9284 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9285
9286         * lyxfunc.C: remove dead code
9287
9288         * lyxserver.h:
9289         * lyxserver.C: use lyx_guii::set_read_callback
9290
9291 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9292
9293         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9294         an inset in a RTL paragraph.
9295
9296 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9297
9298         * lyxfunc.C: repaint after a font size update
9299
9300 2002-07-15  André Pönitz <poenitz@gmx.net>
9301
9302         * lyxlength.C: inBP should be able to return negative values
9303
9304 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9305
9306         * lyxfunc.C: use lyx_gui::update_fonts()
9307
9308 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9309
9310         * lyxfunc.C: use lyx_gui::update_color()
9311
9312 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9313
9314         * bufferlist.C:
9315         * lyxfunc.h:
9316         * lyxfunc.C:
9317         * lyxrc.h:
9318         * lyxrc.C: remove file->new asks for name option, and let
9319           buffer-new take an argument
9320
9321 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9322
9323         * BufferView_pimpl.C: remove unneeded extra repaint()
9324
9325 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9326
9327         * LyXAction.C: allow command-sequence with NoBuffer
9328
9329         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9330
9331 2002-07-10  Angus Leeming  <leeming@lyx.org>
9332
9333         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9334
9335 2002-07-09  Angus Leeming  <leeming@lyx.org>
9336
9337         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9338
9339 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9340
9341         * lengthcommon.h: whitespace
9342
9343         * lyxfunc.C: update scrollbar after goto paragraph
9344
9345         * lyxtext.h: factor out page break drawing, and fix it so
9346           page break/added space paints as selected nicely
9347
9348 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9349
9350         * BufferView_pimpl.C: add FIXMEs, clean up a little
9351
9352 2002-07-09  André Pönitz <poenitz@gmx.net>
9353
9354         * lyxfont.[Ch]: support for wasy symbols
9355
9356 2002-07-08  André Pönitz <poenitz@gmx.net>
9357
9358         * BufferView_pimpl.C: apply John's patch for #93.
9359
9360 2002-07-05  Angus Leeming  <leeming@lyx.org>
9361
9362         * BufferView_pimpl.C (buffer): generate previews if desired.
9363
9364         * LColor.h: add "preview" to the color enum.
9365
9366         * LColor.C (LColor): add a corresponding entry to the items array.
9367
9368         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9369         with this buffer.
9370
9371 2002-07-05  Angus Leeming  <leeming@lyx.org>
9372
9373         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9374         The body of the code is now in the method that is passed an ostream &
9375         rather than a file name.
9376         Pass an additional only_preamble parameter, useful for the forthcoming
9377         preview stuff.
9378
9379 2002-07-03  André Pönitz <poenitz@gmx.net>
9380
9381         * lyxfunc.C: simplify getStatus() a bit for math stuff
9382
9383 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9384
9385         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9386
9387 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9388
9389         * text.C (changeRegionCase): do not change case of all the
9390         document when region ends at paragraph end (bug #461)
9391
9392 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9393
9394         * paragraph.C (startTeXParParams):
9395         (endTeXParParams): add \protect when necessary
9396
9397 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9398
9399         * BufferView_pimpl.C (workAreaExpose): remove warning
9400
9401 2002-06-27  Angus Leeming  <leeming@lyx.org>
9402
9403         * Makefile.am: add lyxlayout_ptr_fwd.h.
9404
9405 2002-06-26  André Pönitz <poenitz@gmx.net>
9406
9407         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9408
9409 2002-06-25  Angus Leeming  <leeming@lyx.org>
9410
9411         * lyxfunc.C (dispatch): Comment out the call to
9412         grfx::GCache::changeDisplay. The method no longer exists now that the
9413         pixmap generation part of the graphics loader has been moved into
9414         InsetGraphics.
9415
9416 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9417
9418         * text2.C: layout as layout
9419
9420         * text.C: layout as layout
9421
9422         * tabular.C (OldFormatRead): layout as layout
9423
9424         * paragraph_pimpl.C (TeXDeeper): layout as layout
9425         (realizeFont): layout as layout
9426
9427         * paragraph.C (writeFile): layout as layout
9428         (validate): layout as layout
9429         (getFont): layout as layout
9430         (getLabelFont): layout as layout
9431         (getLayoutFont): layout as layout
9432         (breakParagraph): layout as layout
9433         (stripLeadingSpaces): layout as layout
9434         (getEndLabel): layout as layout
9435         (getMaxDepthAfter): layout as layout
9436         (applyLayout): layout as layout
9437         (TeXOnePar): layout as layout
9438         (simpleTeXOnePar): layout as layout
9439         (TeXEnvironment): layout as layout
9440         (layout): layout as layout
9441         (layout): layout as layout
9442
9443         * lyxtextclass.C (compare_name): new functor to work with
9444         shared_ptr, layout as layout
9445         (Read): layout as layout
9446         (hasLayout): layout as layout
9447         (operator): layout as layout
9448         (delete_layout): layout as layout
9449         (defaultLayout): layout as layout
9450
9451         * lyxlayout_ptr_fwd.h: new file
9452
9453         * lyxlayout.C (Read): layout as layout
9454
9455         * lyx_cb.C (MenuInsertLabel): layout as layout
9456
9457         * bufferlist.C (newFile): layout as layout
9458
9459         * buffer.C (readLyXformat2): layout as layout
9460         (parseSingleLyXformat2Token): layout as layout
9461         (insertStringAsLines): layout as layout
9462         (asciiParagraph): layout as layout
9463         (latexParagraphs): layout as layout
9464         (makeLinuxDocFile): layout as layout
9465         (simpleLinuxDocOnePar): layout as layout
9466         (makeDocBookFile): layout as layout
9467         (simpleDocBookOnePar): layout as layout
9468         (getLists): layout as layout
9469
9470         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9471
9472         * CutAndPaste.C (cutSelection): layout as layout
9473         (pasteSelection): layout as layout
9474         (SwitchLayoutsBetweenClasses): layout as layout
9475
9476         * BufferView_pimpl.C (Dispatch): layout as layout
9477         (smartQuote): layout as layout
9478
9479         * BufferView2.C (unlockInset): layout as layout
9480
9481 2002-06-24  André Pönitz <poenitz@gmx.net>
9482
9483         * lyxfunc.C: fix #487
9484
9485 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9486
9487         * lyxrc.h:
9488         * lyxrc.C:
9489         * lyxfunc.C: remove display_shortcuts, show_banner
9490
9491 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9492
9493         * Buffer_pimpl.C: oops, update on resize
9494
9495 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9496
9497         * buffer.C:
9498         * converter.C:
9499         * exporter.C:
9500         * lyxfunc.C:
9501         * BufferView.h:
9502         * BufferView.C: use repaint()
9503
9504         * BufferView_pimpl.h:
9505         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9506           as it's a clearer description. Remove superfluous
9507           redraws.
9508
9509 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9510
9511         * text.C: fix bug 488. Not ideal, but getting
9512           getWord() to work properly for the insets that
9513           matter is more difficult ...
9514
9515 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9516
9517         * BufferView_pimpl.C:
9518         * LyXAction.C:
9519         * commandtags.h:
9520         * lyxfunc.C: remove the six million index lyxfuncs to just
9521           one, and DTRT (bug 458)
9522
9523 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9524
9525         * BufferView.h:
9526         * BufferView.C:
9527         * BufferView_pimpl.h:
9528         * BufferView_pimpl.C: clean up resize() stuff,
9529           and unnecessary updateScreen()s
9530
9531 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9532
9533         * BufferView.h:
9534         * BufferView.C:
9535         * BufferView_pimpl.h:
9536         * BufferView_pimpl.C:
9537         * lyxfind.h:
9538         * lyxfind.C:
9539         * minibuffer.C: remove focus management of workarea,
9540           not needed. Use screen's greyOut()
9541
9542 2002-06-17  Herbert Voss  <voss@lyx.org>
9543
9544         * converter.C: (convert) do not post a message, when converting
9545         fails, let the calling function decide what to do in this case
9546
9547 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9548
9549         * lyxfunc.C: tidy up a little
9550
9551 2002-06-16    <alstrup@diku.dk>
9552
9553         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9554         Got rid of FORMS_H_LOCATION include. Now we are
9555         GUII.
9556
9557 2002-06-15  LyX Development team  <lyx@rilke>
9558
9559         * buffer.[Ch] (sgmlOpenTag):
9560         (sgmlCloseTag): Added support for avoiding pernicious mixed
9561         content. Return number of lines written.
9562
9563         (makeLinuxDocFile):
9564         (makeDocBookFile): Fixed calls to sgml*Tag.
9565         Simple white space clean.
9566
9567         (simpleDocBookOnePar): Simple white space clean.
9568
9569         * tabular.[Ch] (docBook): Renamed to docbook and got another
9570         argument to related with the pernicious mixed content.
9571
9572         (docbookRow): Fixed calls for docbook inset method.
9573
9574 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9575
9576         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9577         so it's X11 independent.
9578
9579         * kb*.[Ch]: ditto.
9580
9581         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9582
9583 2002-06-15  Lyx Development team  <lyx@electronia>
9584
9585         * intl.h: Renamed getTrans to getTransManager.
9586
9587 2002-06-14  Angus Leeming  <leeming@lyx.org>
9588
9589         * Makefile.am: nuke forgotten stl_string_fwd.h.
9590
9591 2002-06-12  Angus Leeming  <leeming@lyx.org>
9592
9593         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9594
9595 2002-06-13  Angus Leeming  <leeming@lyx.org>
9596
9597         * LaTeX.C:
9598         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9599
9600 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9601
9602         * kbmap.C (getiso): add support for cyrillic and greek
9603
9604 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9605
9606         * BufferView.h:
9607         * BufferView.C:
9608         * BufferView_pimpl.h:
9609         * BufferView_pimpl.C: move bogus scrolling logic
9610           to xforms
9611
9612 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9613
9614         * lyxfunc.C:
9615         * BufferView_pimpl.C: view->resize() change
9616
9617 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9618
9619         * BufferView_pimpl.C: topCursorVisible
9620           prototype change
9621
9622 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9623
9624         * Makefile.am:
9625         * lyx_gui.h:
9626         * lyx_gui.C: move to frontends/
9627
9628         * main.C:
9629         * lyx_main.h:
9630         * lyx_main.C: changes from above
9631
9632 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9633
9634         * intl.C:
9635         * intl.h:
9636         * kbmap.C:
9637         * kbsequence.C:
9638         * lyx_cb.C:
9639         * lyx_main.C: minor tidy
9640
9641 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9642
9643         * BufferView_pimpl.h:
9644         * BufferView_pimpl.C:
9645         * BufferView.h:
9646         * BufferView.C: make painter() const,
9647           remove dead code
9648
9649         * BufferView2.C: use screen() accessor
9650
9651         * lyx_main.h:
9652         * lyx_main.C: some minor cleanup
9653
9654 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9655
9656         * BufferView_pimpl.h:
9657         * BufferView_pimpl.C: remove enter/leaveView,
9658           use workHeight()
9659
9660 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9661
9662         * BufferView.h:
9663         * BufferView.C:
9664         * BufferView2.C:
9665         * BufferView_pimpl.h:
9666         * BufferView_pimpl.C: only construct screen once,
9667           rename
9668
9669         * lyxrc.C: remove pointless comment
9670
9671 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9672
9673         * BufferView.h:
9674         * BufferView.C: remove active() and belowMouse()
9675
9676         * BufferView_pimpl.h:
9677         * BufferView_pimpl.C: use workarea() not workarea_,
9678           and make it use a scoped_ptr instead
9679
9680 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9681
9682         * lyx_gui.C: add debug message on BadWindow
9683
9684 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9685
9686         * sp_spell.C: fdopen is not part of the C++ standard.
9687
9688         * paragraph.C (InsetIterator): use >= instead of ==
9689
9690 2002-06-07  Angus Leeming  <leeming@lyx.org>
9691
9692         Fixes needed to compile with Compaq cxx 6.5.
9693         * BufferView_pimpl.C:
9694         * DepTable.C:
9695         * buffer.C:
9696         * converter.C:
9697         * encoding.C:
9698         * lyx_gui.C:
9699         * lyx_main.C:
9700         * lyxtextclasslist.C:
9701         * minibuffer.C:
9702         * sp_spell.C:
9703         * tabular_funcs.C:
9704         * vc-backend.C:
9705         all c-library variables have been moved into namespace std. Wrap
9706         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9707
9708         * lyxlength.C:
9709         * tabular-old.C:
9710         * tabular.C:
9711         Add a using std::abs declaration.
9712
9713         * kbmap.h (modifier_pair):
9714         * paragraph.h (InsetTable, InsetList):
9715         * lyxfont.h (FontBits):
9716         type definition made public.
9717
9718         * bufferlist.C (emergencyWriteAll): the compiler complains that
9719         there is more than one possible lyx::class_fun template to choose from.
9720         I re-named the void specialisation as lyx::void_class_fun.
9721
9722         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9723
9724         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9725         the compiler is is unable to find tostr in write_attribute.
9726
9727 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9728
9729         * buffer.C (sgmlError): hide #warning
9730
9731 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9732
9733         * xtl/*: get rid of xtl, which is not in use anyway
9734
9735         * LyXAction.C (init):
9736         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9737         were unimplemented xtl experimentation
9738
9739 2002-06-04  André Pönitz <poenitz@gmx.net>
9740
9741         * lyxfunc.C: disable array operation on simple formulae
9742
9743 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9744
9745         * converter.C: constify a bit
9746
9747 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9748
9749         * lyx_gui.C: check xforms version correctly
9750
9751 2002-04-30  Herbert Voss  <voss@lyx.org>
9752
9753         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9754         "keep" option
9755
9756 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9757
9758         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9759           attempt to register it with a VCS)
9760
9761 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9762
9763         * lyx_main.C (init): honor variables LYX_DIR_13x and
9764         LYX_USERDIR_13x
9765
9766 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9767
9768         * buffer.h:
9769         * buffer.C:
9770         * lyx_main.C: fix a crash on bad command line,
9771           and give a useful exit status on error
9772
9773         * lyxfunc.C (doImport): allow -i lyx to work
9774
9775 2002-03-30  André Pönitz <poenitz@gmx.net>
9776
9777         * lyxfunc.C: mathed font changes
9778
9779 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9780
9781         * LaTeX.C:
9782         * importer.h:
9783         * importer.C:
9784         * lyx_sty.h:
9785         * lyx_sty.C:
9786         * lyxlex.C:
9787         * lyxrow.h:
9788         * lyxtext.h:
9789         * paragraph.h:
9790         * paragraph.C:
9791         * texrow.h:
9792         * texrow.C:
9793         * text.C:
9794         * trans_mgr.h: srcdocs, and some minor cleanups
9795
9796 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9797
9798         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9799         call getFont all the time)
9800
9801 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9802
9803         * switch from SigC signals to boost::signals
9804
9805 2002-05-29  André Pönitz <poenitz@gmx.net>
9806
9807         * paragraph_pimpl.C (getChar): don't call size() too often...
9808
9809 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9810
9811         * paragraph_pimpl.C (insertChar): do not try to update tables when
9812         appending (pos == size())
9813
9814         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9815         in order to reduce drastically the number of comparisons needed to
9816         parse a large document
9817
9818 2002-05-29  André Pönitz <poenitz@gmx.net>
9819
9820         * text.C:
9821         * text2.C:
9822         * lyxtextclass.C:
9823         * sp_pspell.h:
9824         * textclasslist.[Ch]:
9825         * sp_ispell.h: whitespace change
9826
9827 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9828
9829         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9830         lyxaction directly now.
9831
9832 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9833
9834         * trans.C:
9835         * lyxfont.C:
9836         * lyxvc.C: remove unused headers
9837
9838 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9839
9840         * Makefile.am:
9841         * buffer.h:
9842         * undostack.h:
9843         * undostack.C:
9844         * undo_funcs.h:
9845         * undo_funcs.C: some cleanups. Use shared_ptr
9846           and a template for the undo stacks.
9847
9848 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9849
9850         * BufferView_pimpl.h:
9851         * BufferView_pimpl.C:
9852         * kbmap.h:
9853         * kbmap.C:
9854         * kbsequence.h:
9855         * kbsequence.C:
9856         * lyxfunc.h:
9857         * lyxfunc.C:
9858         * text2.C: use key_state/mouse_state
9859
9860 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9861
9862         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9863         and LSubstring
9864
9865         * chset.C: change include order
9866         (loadFile): use boost regex and get rid of LRegex and LSubstring
9867
9868         * Makefile.am (BOOST_LIBS): new variable
9869         (lyx_LDADD): use it
9870
9871         * LaTeX.C: change include order.
9872         (scanAuxFile): use boost regex and get rid of LRegex and
9873         LSubstring
9874         (deplog): ditto
9875
9876 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9877
9878         * ColorHandler.h:
9879         * ColorHandler.C:
9880         * FontInfo.h:
9881         * FontInfo.C: moved to frontends/xforms/
9882
9883         * FontLoader.h:
9884         * FontLoader.C: moved into frontends for GUIIzation
9885
9886         * Makefile.am:
9887         * lyx_gui.C:
9888         * lyxfont.C:
9889         * lyxfunc.C: changes from above
9890
9891 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9892
9893         * LColor.C: remove spurious X include
9894
9895         * BufferView_pimpl.C:
9896         * Makefile.am:
9897         * font.h:
9898         * font.C:
9899         * text.C:
9900         * text2.C: move font metrics to frontends/
9901
9902 2002-05-24  Juergen Vigna  <jug@sad.it>
9903
9904         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9905         setting the undo_cursor.
9906
9907         * ParagraphParameters.h: include local includes first.
9908
9909 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9910
9911         * BufferView_pimpl.C:
9912         * BufferView_pimpl.h:
9913         * Makefile.am:
9914         * WorkArea.h:
9915         * WorkArea.C:
9916         * screen.C: move WorkArea into frontends/
9917
9918         * lyxscreen.h:
9919         * screen.C:
9920         * text.C:
9921         * BufferView.C:
9922         * BufferView2.C: move LyXScreen into frontends/
9923
9924         * lyxlookup.h:
9925         * lyxlookup.C:
9926         * lyx_gui.C: move lyxlookup into frontends/xforms/
9927
9928 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9929
9930         * BufferView2.C:
9931         * BufferView_pimpl.C:
9932         * FontLoader.C:
9933         * LyXView.h:
9934         * LyXView.C:
9935         * Makefile.am:
9936         * WorkArea.C:
9937         * XFormsView.h:
9938         * XFormsView.C:
9939         * buffer.C:
9940         * bufferlist.C:
9941         * bufferview_funcs.C:
9942         * converter.C:
9943         * importer.C:
9944         * lyx_cb.C:
9945         * lyx_gui.C:
9946         * lyx_main.C:
9947         * lyx_find.C:
9948         * lyxfunc.C:
9949         * lyxvc.C:
9950         * minibuffer.C:
9951         * text.C:
9952         * text2.C:
9953         * trans.C:
9954         * vc-backend.C: move LyX/XFormsView into frontends/
9955
9956 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9957
9958         * Makefile.am:
9959         * PainterBase.C:
9960         * PainterBase.h:
9961         * Painter.C:
9962         * Painter.h:
9963         * WorkArea.C:
9964         * WorkArea.h:
9965         * screen.C:
9966         * tabular.C:
9967         * text.C:
9968         * text2.C: move Painter to frontends/
9969
9970 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9971
9972         * buffer.C: comment out some some code that depend upon lyx_format
9973         < 220
9974
9975         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9976         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9977
9978         * buffer.h (NO_COMPABILITY): turn off compability
9979
9980         * ColorHandler.C: include scoped_array.hpp
9981
9982         * font.C: Use more specific smart_ptr header.
9983         * Painter.C: ditto
9984         * gettext.C: ditto
9985         * ShareContainer.h: ditto
9986         * lyx_main.h: ditto
9987         * kbmap.h: ditto
9988         * FontInfo.h: ditto
9989         * BufferView_pimpl.h: ditto
9990         * ColorHandler.h: ditto
9991
9992         * kbmap.C (defkey): change call to shared_ptr::reset
9993
9994 2002-05-21  Juergen Vigna  <jug@sad.it>
9995
9996         * buffer.C (insertErtContents): fix to insert ert asis if it is
9997         non empty. Skip it completely if it contains only whitespaces.
9998
9999 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10000
10001         * BufferView_pimpl.C:
10002         * BufferView2.C: clear selection on paste (bug 393)
10003
10004 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10005
10006         * DepTable.C: include ctime
10007
10008 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10009
10010         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10011
10012 2002-05-14  Juergen Vigna  <jug@sad.it>
10013
10014         * text.C (breakParagraph): fixed function to honor the keepempty
10015         layout in the right maner and also to permit the right breaking
10016         algorithm on empty or non empyt keepempty paragraphs.
10017
10018         * paragraph.C (breakParagraph): we have to check also if the par
10019         is really empty (!size()) for isempty otherwise we do the wrong
10020         paragraph break.
10021
10022 2002-05-10  Juergen Vigna  <jug@sad.it>
10023
10024         * buffer.[Ch] : The following are only changes to the ert
10025         compatibility read reading old LaTeX layout and font stuff and
10026         convert it to ERTInsets.
10027
10028         * buffer.h: added isErtInset().
10029
10030         * buffer.C (struct ErtComp): add a fromlayout bool to check
10031         if we're inside a LaTeX layout.
10032         (isErtInset): new helper function.
10033         (insertErtContents): look for other ert insets before this one
10034         and insert the contents there, so that we don't have subsequent
10035         ERT insets with nothing between them. This way we create only one
10036         inset with multiple paragraphs. Also check if we don't insert only
10037         spaces ' ' as they are ignored anyway afterwards in the .tex file
10038         so if we have only spaces we will ignore this latex part in the
10039         new file.
10040         (parseSingleLyXformat2Token \\layout): better compatibility when
10041         reading layout-latex stuff.
10042         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10043         language tag.
10044         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10045         stuff after reading the inset only get the information back from
10046         the stack.
10047
10048 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10049
10050         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10051
10052         * LaTeXFeatures.C (getBabelOptions): New method.
10053
10054 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10055
10056         * BufferView_pimpl.C (Dispatch): work around missing argument for
10057         'layout'
10058
10059 2002-05-08  Juergen Vigna  <jug@sad.it>
10060
10061         * text.C (leftMargin): handle paragraph leftindent.
10062
10063         * paragraph.C (writeFile): write the new \\leftindent tag.
10064         (validate): handle leftindent code.
10065         (TeXEnvironment): handle paragraphleftindent code again.
10066
10067         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10068
10069         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10070         for paragrap_extra indent code and new token \\leftindent.
10071         (latexParagraphs): handle the leftindent as environment.
10072
10073         * ParameterStruct.h: added leftindent support.
10074
10075         * ParagraphParameters.C (leftIndent): added support functions for
10076         the paragraph left indent.
10077
10078         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10079         more appropriate.
10080
10081 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10082
10083         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10084         inside insetERT.
10085
10086         * text.C (computeBidiTables): No bidi in insetERT.
10087
10088         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10089         in RTL documents.
10090
10091 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10092
10093         * version.C.in: pre 5
10094
10095 2002-05-02  José Matos  <jamatos@fep.up.pt>
10096         * buffer.C (makeDocBookFile): white space changes, add newline to
10097         command styles.
10098         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10099
10100         * tabular.C (docBook): fix typo.
10101
10102 2002-05-03  Juergen Vigna  <jug@sad.it>
10103
10104         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10105         change in LyXText as we can not be sure it was not freed.
10106         (drawOneRow): remove unused code.
10107
10108         * text.C (drawInset): redo the calculation of the need_break_row as
10109         it could have a row which was already freed.
10110         (draw): look at the return value of drawInset and return false if
10111         it also returned false.
10112         (paintRowText): look at the return value of draw and return false if
10113         it also returned false.
10114
10115         * lyxtext.h: added bool return type to drawInset() and draw() so that
10116         if we have a change in the row so that the rowbreak has to be redone
10117         we abort drawing as it will be called again.
10118
10119 2002-05-02  Juergen Vigna  <jug@sad.it>
10120
10121         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10122         a change in the maintext also if we're inside an inset.
10123         (Dispatch): set the cursor again after a break line and after the
10124         screen has been updated as it could be we're in a different row.
10125
10126         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10127         to set the cursor behind the pargraph with > size().
10128         (setCursor): check also for the same paragraph when checking where
10129         to put the cursor if we have a NFR inset.
10130
10131         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10132         parts of layout read further up as it still was in the wrong
10133         position.
10134
10135 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10136
10137         * screen.C (drawFromTo): change sine fullRebreak always return
10138         true.
10139
10140         * buffer.C (parseSingleLyXformat2Token): reindent some
10141
10142         * BufferView_pimpl.C (update): change since fullRebreak always
10143         return true.
10144         (Dispatch): git rid of the last hardcoded "Standard"s.
10145
10146 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10147
10148         * text2.[Ch] (fullRebreak): make it return void now that we always
10149         returned true.
10150
10151 2002-04-30  Juergen Vigna  <jug@sad.it>
10152
10153         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10154         ert compatibility check for "latex" layout.
10155
10156 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10157
10158         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10159         minipages: use col% instead of p%, and also use the current font.
10160         (makeLaTeXFile): Fix use babel condition.
10161         (parseSingleLyXformat2Token): Correct font when reading old floats.
10162
10163 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10164
10165         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10166         inserting list of floats.
10167
10168 2002-04-25  Herbert Voss  <voss@lyx.org>
10169
10170         * MenuBackend.C (expand): don't add the graphics extensions to the
10171         export menu
10172
10173 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10174
10175         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10176         non-existing layout, do not complain if it was the default layout
10177         of the original class (bug #342)
10178
10179 2002-04-24  Juergen Vigna  <jug@sad.it>
10180
10181         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10182         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10183
10184 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10185
10186         * buffer.C (getBibkeyList): If using \bibliography, return the
10187         option field with the reference itself. Enables us to provide natbib
10188         support when using \bibliography.
10189
10190 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10191
10192         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10193
10194         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10195         natbib is provided by the LaTeX class.
10196
10197 2002-04-23  Juergen Vigna  <jug@sad.it>
10198
10199         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10200         Wakeup functions.
10201
10202         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10203
10204 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10205
10206         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10207
10208         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10209         ensuremath around textordmasculine, textordfeminine and
10210         textdegree.
10211
10212 2002-04-19  Juergen Vigna  <jug@sad.it>
10213
10214         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10215         reinitializing the buffer otherwise row-dimensions may be wrong.
10216         (update): reset also the selection cursors if they do exits otherwise
10217         their x/y positions may be wrong.
10218
10219         * text2.C (cursorDown): don't enter the inset if we came from a row
10220         above and are one row over the inset.
10221
10222         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10223         really leaving an inset.
10224
10225 2002-04-18  Juergen Vigna  <jug@sad.it>
10226
10227         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10228         of the selected paragraph does not have the selected layout also if
10229         the last one had!
10230
10231         * text2.C (setLayout): fixed bug which did not change last selected
10232         paragraph.
10233
10234         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10235         changed the read and substituted \\end_float with \\end_inset!
10236
10237         * BufferView_pimpl.C (cursorPrevious):
10238         (cursorNext): fixed to make it work with rows heigher than the work
10239         area without moving the cursor only the draw of the row.
10240         (workAreaMotionNotify): fix jumping over high rows.
10241
10242 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10243
10244         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10245         Ressler.
10246
10247 2002-04-16  Juergen Vigna  <jug@sad.it>
10248
10249         * text2.C (setCursor): set also the irow().
10250         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10251         (cursorUp):
10252         (cursorDown): support for locking an inset if the x_fix value goes
10253         inside it. That way I can transverse insets too with cursor up/down.
10254
10255         * lyxrow.h: added irow helper function same as other (i) functions.
10256
10257         * BufferView_pimpl.C (cursorPrevious):
10258         (cursorNext): fixed for insets!
10259
10260 2002-04-15  Juergen Vigna  <jug@sad.it>
10261
10262         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10263         position otherwise it is wrong in some cases.
10264
10265         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10266         inside the inset before the call.
10267
10268 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10269
10270         * buffer.[Ch] (getBibkeyList): make it const.
10271
10272 2002-04-12  Juergen Vigna  <jug@sad.it>
10273
10274         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10275
10276         * text2.C (getCursorX): new helper function
10277         (setCursor): compute also ix_
10278         (setCursorFromCoordinates): set also ix.
10279
10280         * lyxcursor.h: added ix_ and helper functions.
10281
10282         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10283
10284         * buffer.C (insertStringAsLines): dont break paragraph if the this
10285         paragraph is inside an inset which does not permit it!
10286
10287         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10288         also with no chars on this paragraph.
10289         (paintRowText): only paint stuff if it's inside the workarea!
10290
10291         * paragraph.C (breakParagraph): honor keepempty flag and break the
10292         paragraph always below not above.
10293
10294         * BufferView2.C (unlockInset): update the paragraph layout on inset
10295         unlock as we changed paragraph in such a case.
10296
10297         * lyxfind.C (LyXFind): clear the former selection if not found!
10298
10299         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10300         again called in insertChar().
10301
10302         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10303         an inset which uses the whole row!
10304         (rightMargin): ditto.
10305         (insertChar): force a rebreak if we inserted an inset!
10306
10307 2002-03-28  Herbert Voss  <voss@lyx.org>
10308
10309         * lyxlength.[Ch]: add inBP() to get the right PS-point
10310         units (BigPoint). With inPixels we have rounding errors
10311
10312 2002-04-11  Juergen Vigna  <jug@sad.it>
10313
10314         * text2.C (setCursorFromCoordinates): set iy to the right value.
10315         (setCursor): add check if row->previous exists!
10316
10317         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10318         an old float_type as this was the case in the old code!
10319
10320         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10321
10322         * BufferView2.C (showLockedInsetCursor): use iy
10323         (fitLockedInsetCursor): ditto
10324
10325         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10326         locked insets as there we have the right value now.
10327
10328         * lyxcursor.C: added iy_ variable and iy functions to set to the
10329         baseline of cursor-y of the locked inset.
10330
10331         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10332         (setCursor): fixed for insets which need a full row.
10333
10334         * text.C (rowLastPrintable): don't ignore the last space when before
10335         an inset which needs a full row.
10336         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10337         as last character of a row when before a inset which needs a full row.
10338
10339 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10340
10341         * version.C.in: update date
10342
10343         * text2.C (fullRebreak): try to always return true and see what
10344         happens...
10345
10346 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10347
10348         * MenuBackend.C (expand): use Floating::listName
10349
10350         * FloatList.C (FloatList): add listName argument to the built-in
10351         floats
10352
10353         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10354         text associated with the float.
10355
10356 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10357
10358         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10359
10360 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10361
10362         * ShareContainer.h: add a couple of missing typenames.
10363
10364 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10365
10366         * lyxrc.C (getDescription): use _() correctly rather than N_().
10367
10368 2002-03-28  Herbert Voss  <voss@lyx.org>
10369
10370         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10371         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10372
10373 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10374
10375         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10376         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10377
10378 2002-03-29  Juergen Vigna  <jug@sad.it>
10379
10380         * lyxfunc.C (dispatch): add a missing fitCursor call.
10381
10382         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10383         it was scrolled by a cursor move, so return the bool status.
10384
10385         * BufferView.C (fitCursor): return the bool flag also to the outside
10386         world as this is needed.
10387
10388         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10389
10390         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10391         call the edit() as it is not needed (and wrong) IMO.
10392         (workAreaButtonPress): set the screen_first variable before evt.
10393         unlock the inset as this may change screen_first and then we have
10394         a wrong y position for the click!
10395
10396 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10397
10398         * MenuBackend.C (expand): another translation that I missed
10399
10400 2002-03-28  Juergen Vigna  <jug@sad.it>
10401
10402         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10403
10404         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10405
10406 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10407
10408         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10409
10410         * MenuBackend.C (expand): fix export/view/update when there is no
10411         document open.
10412
10413 2002-03-27  Herbert Voss  <voss@lyx.org>
10414
10415         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10416         and text%
10417
10418 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10419
10420         * bufferview_funcs.C (currentState): only show paragraph number
10421         for is DEVEL_VERSION is set.
10422
10423         * lyxfunc.C (dispatch): put warning in INFO channel
10424
10425         * MenuBackend.C (expand): translate the name of floats
10426
10427         * FloatList.C (FloatList): mark the float names for translation
10428
10429         * converter.C (convert): use LibScriptSearch
10430
10431 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10432
10433         * MenuBackend.C (defaults): fix default menu (we might as well get
10434         rid of it...)
10435
10436 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10437
10438         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10439         directory.
10440
10441 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10442
10443         * lyxvc.C: reorder includes.
10444
10445 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10446
10447         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10448           properly
10449
10450 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10451
10452         * CutAndPaste.C: change layouts earlier on paste
10453           to avoid crashing when calling getFont()
10454
10455 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10456
10457         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10458         irritating #error.
10459
10460 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10461
10462         * WorkArea.C: remove 'Pending' debug message.
10463
10464         * most files: ws cleanup
10465
10466         * buffer.[Ch]: ws changes
10467
10468         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10469
10470 2002-03-21  Juergen Vigna  <jug@sad.it>
10471
10472         * tabular.C (SetMultiColumn): collapse also the contents of the
10473         cells and set the last border right. Added a Buffer const * param.
10474
10475 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10476
10477         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10478         linking or not.
10479
10480 2002-03-19  Juergen Vigna  <jug@sad.it>
10481
10482         * text2.C (clearSelection): reset also xsel_cache.
10483
10484         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10485         where it needs to be called (John tells us to do so too :)
10486         (selectionLost): reset sel_cache.
10487
10488         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10489
10490 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10491
10492         * text2.C (setCursorIntern): put debuging code in INSETS channel
10493
10494 2002-03-19  André Pönitz <poenitz@gmx.net>
10495
10496         * lyxfunc.C: tiny whitespace change
10497
10498 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10499
10500         * ToolbarDefaults.C (init):
10501         * LyXAction.C (init):
10502         * commandtags.h:
10503         * BufferView_pimpl.C (Dispatch):
10504         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10505
10506 2002-03-19  Allan Rae  <rae@lyx.org>
10507
10508         * exporter.C (Export): removeAutoInsets before doing anything else.
10509         While I've just introduced a dependency on BufferView this really is
10510         the best place to clean the buffer otherwise you need to cleanup in
10511         a dozen places before calling export or cleanup in a dozen functions
10512         that export calls.
10513
10514         * converter.C (runLaTeX):
10515         (scanLog): Better handling of removeAutoInsets and screen updates.
10516
10517         * lyxfunc.C (dispatch): small whitespace changes
10518
10519 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10520
10521         * WorkArea.C (C_WorkAreaEvent): return a value.
10522         (event_cb): return 1 if we handled the event, 0 otherwise.
10523
10524         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10525
10526 2002-03-18  Juergen Vigna  <jug@sad.it>
10527
10528         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10529         (GetAdditionalWidth): ditto.
10530         (RightLine): ditto.
10531         (LeftLine): ditto.
10532
10533         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10534         inset if we're there actually (probably not used right now but this
10535         is the direction to go for unifying code).
10536         (paste): disable code to clear the selection.
10537
10538         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10539         inside an InsetText and move the check further up as it is in the
10540         wrong place.
10541
10542         * text2.C (pasteSelection): set a selection over the pasted text.
10543
10544 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10545
10546         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10547         and libgraphics to build on Cygwin.
10548
10549 2002-03-15  Juergen Vigna  <jug@sad.it>
10550
10551         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10552         inserting an Inset into the paragraph. I know this is not the best
10553         fix but we already use current_view in CutAndPaste so we will remove
10554         all of it's using at the same time.
10555
10556         * buffer.C (sgmlError): deactivated function till it is rewritten in
10557         the right mode, now it can create problems.
10558
10559         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10560         before accessing it.
10561
10562 2002-03-14  Juergen Vigna  <jug@sad.it>
10563
10564         * undo_funcs.C (textHandleUndo): do the right thing when updating
10565         the inset after the undo/redo.
10566
10567         * text2.C (setCursor): just some testcode for #44 not ready yet.
10568
10569         * undo_funcs.C (textHandleUndo): set the next() and previous()
10570         pointers of the paragraph to 0 before deleting otherwise we have
10571         problems with the Paragraph::[destructor].
10572
10573         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10574         on a paragraph insertion.
10575
10576 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10577
10578         * buffer.C (asciiParagraph): use += operator for char append to
10579         string.
10580
10581         * paragraph.C (getFontSettings): compare >= not just >
10582         (highestFontInRange): ditto
10583         (setFont): ditto
10584
10585 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10586
10587         * paragraph.C: change several algorithm to be more appripriate for
10588         the problem domain. This is lookip in FontList and in the InsetList.
10589
10590 2002-03-13  André Pönitz <poenitz@gmx.net>
10591
10592         * commandtags.h:
10593         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10594
10595 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10596
10597         * commandtags.h:
10598         * LyXAction.C:
10599         * lyxfunc.C:
10600         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10601
10602 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10603
10604         * Painter.C (display): anon helper function, adjust code for this
10605         change.
10606         (pixmap): remove function.
10607
10608         * Painter.h: remove private display variable.
10609
10610         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10611
10612 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10613
10614         * WorkArea.[Ch]: remove figinset_canvas cruft.
10615
10616 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10617
10618         * lyxtextclass.C (operator): add one item cache optimization.
10619
10620         * bufferlist.h: doxy changes
10621
10622         * bufferlist.C: ws changes
10623
10624         * DepTable.[Ch] (ext_exist): place const in the right spot.
10625
10626         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10627         call resizeInsets.
10628         (workAreaExpose): call resizeInsets when the with BufferView changes.
10629         (Dispatch): adjust for protectedBlank removal
10630         (specialChar): call updateInset if the insert went ok.
10631
10632         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10633         specialChar instead.
10634
10635         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10636
10637         * BufferView.h: doxy change
10638
10639         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10640
10641         * lyxtextclass.C (operator[]): remove non-const version
10642         (defaultLayout): remove non-const version
10643
10644 2002-03-12  Juergen Vigna  <jug@sad.it>
10645
10646         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10647         did resize the LyXText too.
10648
10649         * buffer.C (readLyXformat2): set layout information on newly allocated
10650         paragraphs.
10651
10652         * tabular.C (OldFormatRead): set layout information on the paragraph.
10653
10654 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10655
10656         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10657
10658 2002-03-11  Juergen Vigna  <jug@sad.it>
10659
10660         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10661         plainly wrong.
10662         (resizeCurrentBuffer): force also the insets to resize themselfes.
10663         (moveCursorUpdate): fixed up for InsetText.
10664
10665 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10666
10667         * commandtags.h:
10668         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10669         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10670         value of Dialogs::tooltipsEnabled().
10671         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10672
10673 2002-03-08  Juergen Vigna  <jug@sad.it>
10674
10675         * BufferView_pimpl.C (updateInset): update inset inside inset also
10676         if it isn't inside theLockingInset().
10677
10678 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10679
10680         * buffer.C (asciiParagraph): redo some of the word and line length
10681         handling.
10682         (getLists): look for Caption instead of caption.
10683
10684 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10685
10686         * buffer.C (Buffer): initialize niceFile to true
10687         (makeLaTeXFile):
10688         (makeLinuxDocFile):
10689         (makeDocBookFile): make sure niceFile is true on exit
10690
10691 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10692
10693         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10694
10695 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10696
10697         * LyXSendto.C: remove.
10698         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10699         * lyx_gui.C: remove now-redundant comment.
10700         * ColorHandler.h: remove forward declaration of class WorkArea.
10701         * lyxfunc.C: remove #include "WorkArea.h".
10702
10703 2002-03-07  Juergen Vigna  <jug@sad.it>
10704
10705         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10706         got moved away with the DEPM and also set the inset_owner always
10707         right which before could have been omitted.
10708
10709 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10710
10711         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10712         wanted layout is not found.
10713
10714 2002-03-07  Juergen Vigna  <jug@sad.it>
10715
10716         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10717
10718 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10719
10720         * paragraph.C (breakParagraph): use default layout not layout of
10721         prev paragraph.
10722         (Paragraph): clear ParagraphParameters.
10723
10724 2002-03-06  Juergen Vigna  <jug@sad.it>
10725
10726         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10727         otherwise it would not be a valid lenght. Fixed a special case in
10728         the minipage compatibility read where we end the document with a
10729         minipage.
10730
10731         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10732         was set as it could be 0 for InsetTexts first entry.
10733
10734 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10735
10736         * paragraph.C (writeFile): if layout is empty write out
10737         defaultLayoutName().
10738
10739         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10740         file without named layout we set layout to defaultLayoutName().
10741
10742 2002-03-06  Juergen Vigna  <jug@sad.it>
10743
10744         * CutAndPaste.C (copySelection): set layout for new paragraph.
10745
10746         * text.C (prepareToPrint): leave ERT inset left aligned
10747         (leftMargin): don't indent paragraphs inside ERT insets
10748
10749 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10750
10751         * paragraph.C (breakParagraph): dont call clear do the work manually
10752
10753         * paragraph.[Ch] (clear): remove function
10754
10755 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10756
10757         * paragraph.C (Paragraph): dont call clear, the work has already
10758         been done.
10759
10760         * lyxtextclass.C (operator): assert if n is empty
10761
10762         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10763         work manually instead.
10764
10765 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10766
10767         * BufferView_pimpl.C: protect selectionLost against text == 0
10768
10769 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10770
10771         * text.C (breakParagraph): fix a setting layout to '0' problem.
10772
10773 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10774
10775         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10776         final location of file, for the included files, and graphics.
10777
10778 2002-03-05  Juergen Vigna  <jug@sad.it>
10779
10780         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10781
10782 2002-03-04  Juergen Vigna  <jug@sad.it>
10783
10784         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10785
10786         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10787         last column of multicolumn cells.
10788         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10789
10790 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10791
10792         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10793         file if it doesn't go to a temporary file.
10794
10795         * buffer.C (sgmlOpenTag):
10796         (sgmlCloseTag):  remove extra newline insertion.
10797
10798 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10799
10800         * text.C (getRowNearY): comment out debug msg
10801
10802 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10803
10804         * text2.C: first -> first_y
10805
10806         * text.C (getRowNearY): add some attemts at a possible
10807         optimization, not working.
10808
10809         * tabular.[Ch]: add BufferParams to several function so that newly
10810         created paragraph can be initialized to he default layotu for the
10811         buffers textclass.
10812
10813         * tabular-old.C (ReadOld): add buf->params to call of Init
10814
10815         * screen.C: rename text->first to text->first_y
10816
10817         * paragraph.C (breakParagraph): always set layout in the broken
10818         paragraph
10819
10820         * lyxtextclass.C (Read): remove lowercase
10821         (hasLayout): ditto
10822         (operator): ditto
10823         (delete_layout): ditto
10824
10825         * lyxtext.h: rename first -> first_y
10826
10827         * lyxlayout.C (Read): remove lowercase
10828         (name): ditto
10829         (setName): ditto
10830         (obsoleted_by): ditto
10831
10832         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10833
10834         * buffer.C (insertErtContents): add params are to InsetERT
10835         (parseSingleLyXformat2Token): add code to check if a paragraphs
10836         layout really exist.
10837         (parseSingleLyXformat2Token): add params to several inset
10838         constructors
10839         (asciiParagraph): remove lowercase, do the layout comparisons with
10840         no_case
10841
10842         * BufferView_pimpl.C (cursorNext): first -> first_y
10843         (resizeCurrentBuffer): first -> first_y
10844         (updateScrollbar): first -> first_y
10845         (scrollCB): first -> first_y
10846         (workAreaMotionNotify): first -> first_y
10847         (workAreaButtonPress): first -> first_y
10848         (checkInsetHit): first -> first_y
10849         (cursorPrevious): first -> first_y
10850         (cursorNext): first -> first_y
10851         (Dispatch): add buffer_->params to severl inset contructors
10852
10853 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10854
10855         * lyxlayout.C (Read): remove some debug info that I forgot.
10856
10857         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10858         clean up the code slightly.
10859         (makeLinuxDocFile): ditto
10860         (makeDocBookFile): ditto
10861
10862         * text2.C: layout as string
10863
10864         * text.C: layout as string
10865
10866         * paragraph_pimpl.C: layout as string
10867
10868         * paragraph.[Ch]: layout as string
10869
10870         * lyxtextclasslist.[Ch]: layout as string
10871
10872         * lyxtextclass.[Ch]: layout as string
10873
10874         * lyxtext.h: layout as string
10875
10876         * lyxlayout.[Ch]: layout as string
10877
10878         * lyx_cb.C: layout as string
10879
10880         * bufferview_funcs.C: layout as string
10881
10882         * bufferparams.C: layout as string
10883
10884         * buffer.C: layout as string
10885
10886         * LyXView.[Ch]: layout as string
10887
10888         * LaTeXFeatures.[Ch]: layout as string
10889
10890         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10891
10892         * BufferView_pimpl.C: change current_layout to string, remove
10893         lyx::layout_type.
10894         (Dispatch):
10895         (smartQuote):
10896         (insertInset):
10897         (workAreaButtonRelease): layout as string
10898
10899         * BufferView2.C (unlockInset): adjust
10900
10901         * vspace.C (asLatexCommand): use an explict temp variable.
10902
10903 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10904
10905         * Makefile.am: use FRONTEND_*
10906
10907 2002-03-01  Juergen Vigna  <jug@sad.it>
10908
10909         * tabular.C (SetWidthOfMulticolCell): changed to something better
10910         I hope but still work in progress.
10911         (recalculateMulticolumnsOfColumn): renamed function from
10912         recalculateMulticolCells as it is more appropriate now.
10913         (SetWidthOfCell): calculate multicols better.
10914
10915 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10916
10917         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10918
10919         * lyxfunc.C (processKeySym): print sequence also if it is
10920         `deleted' (complete)
10921
10922         * kbsequence.C (print): print sequence even if it is deleted
10923         (complete would be a better word, actually).
10924
10925         * lyxfunc.C (dispatch): print complete options after a prefix key
10926
10927         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10928
10929 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10930
10931         * text2.C (setCharFont): eliminate setCharFont code duplication.
10932
10933 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10934
10935         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10936         LFUN_TABULAR_FEATURE (bug #177)
10937
10938 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10939
10940         * Makefile.am: remove figure.h
10941
10942 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10943
10944         * Bufferview_pimpl.C:
10945         * CutAndPasteC:
10946         * LaTeX.C:
10947         * LyXSendto.C:
10948         * buffer.C:
10949         * bufferlist.C:
10950         * converter.C:
10951         * language.C:
10952         * lyxfunc.C:
10953         * lyxvc.C:
10954         * paragraph.C:
10955         * text.C:
10956         * text2.C: remove #include "lyx_gui_misc.h".
10957
10958         * LaTeX.C: added #include <cstdio>
10959
10960 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10961
10962         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10963         that the paragraph following this one can have.
10964
10965         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10966
10967         * vspace.C (asLatexCommand): fix bogus gcc warning
10968
10969         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10970
10971 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10972
10973         * text2.C (setLayout): get rid of redundant code
10974
10975 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10976
10977         * text2.C (incDepth): make sure depth cannot be increased beyond
10978         reasonable values.
10979
10980 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10981
10982         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10983         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10984
10985         * PainterBase.h (image):
10986         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10987         a LyXImage const *.
10988
10989 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10990
10991         * BufferView.C:
10992         * BufferView.h:
10993         * BufferView_pimpl.C:
10994         * BufferView_pimpl.h:
10995         * LaTeXFeatures.C:
10996         * LyXAction.C:
10997         * LyXView.C:
10998         * Makefile.am:
10999         * UpdateList.h:
11000         * UpdateList.C:
11001         * buffer.C:
11002         * figure.h:
11003         * figureForm.C:
11004         * figureForm.h:
11005         * figure_form.C:
11006         * figure_form.h:
11007         * lyx_cb.C:
11008         * lyx_gui.C:
11009         * lyx_gui_misc.C:
11010         * lyxfunc.C:
11011         * sp_base.h:
11012         * sp_ispell.h:
11013         * sp_pspell.h:
11014         * sp_spell.C: remove fig inset, and the crap house of
11015           cards that follows it
11016
11017 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11018
11019         * Makefile.am:
11020         * lyxserver.C:
11021         * os2_defines.h:
11022         * os2_errortable.h:
11023         * nt_defines.h: move .h into support/
11024
11025         * vms_defines.h: remove
11026
11027         * WorkArea.C: add space in debug output
11028
11029         * text2.C:
11030         * paragraph.C:
11031         * buffer.C: add WITH_WARNINGS
11032
11033         * vc-backend.h:
11034         * vc-backend.C:
11035         * bufferlist.C: s/retrive/retrieve/, add docs
11036
11037         * vspace.h:
11038         * vspace.C:
11039         * kbmap.h:
11040         * lyxlength.h:
11041         * lyxgluelength.h:
11042         * length_common.h:
11043         * chset.h:
11044         * chset.C: add docs
11045
11046         * lyxgui.C: add ID to X error handler
11047
11048         * lyxtestclass.c: fix typo
11049
11050 2002-02-26  Juergen Vigna  <jug@sad.it>
11051
11052         * tabular_funcs.C (write_attribute): changed so that some default
11053         attributes are not written at all.
11054         (getTokenValue): set default values before trying to read the
11055         value so we have the return value always set as default if we don't
11056         find the token we search for.
11057
11058         * tabular.C (Write): write bools as bools not as strings!
11059
11060 2002-02-22  Juergen Vigna  <jug@sad.it>
11061
11062         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11063         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11064
11065         * text.C (leftMargin): don't add an indent for paragraphs inside
11066         tabular cells (fix #208).
11067
11068 2002-02-21  José Matos  <jamatos@fep.up.pt>
11069
11070         * tabular.C (docBook): fixed support for long tables.
11071
11072 2002-02-20  Juergen Vigna  <jug@sad.it>
11073
11074         * text2.C (getFont): get the drawing font of the Inset if this
11075         paragraph is inside an inset (only important for InsetERT for now).
11076
11077         * buffer.C (insertErtContents): use new lanugage params in ERT
11078         constructor.
11079
11080         * CutAndPaste.C: commenting out seemingly uneeded code.
11081
11082 2002-02-19  Allan Rae  <rae@lyx.org>
11083
11084         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11085         Iterators might be simple to use but they also get invalidated.
11086         (removeAutoInsets): renamed saved cursor tracking variables and added
11087         some comments to clarify what everything does.
11088
11089 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11090
11091         * Chktex.C:
11092         * LaTeX.C:
11093         * LyXSendto.C:
11094         * converter.C:
11095         * lyx_cb.C:
11096         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11097         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11098
11099         * lyxfunc.C:
11100         * vc-backend.h: remove #include "support/syscall.h"
11101
11102         * LaTeX.C:
11103         * LyXSendto.C:
11104         * converter.C: rearrange #includes in Lars' approved fashion.
11105
11106         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11107         forward declare class Timeout in the header file.
11108
11109         * XFormsView.C: changes due to the above.
11110
11111         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11112         similar to LyXView.
11113
11114         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11115         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11116
11117 2002-02-18  José Matos  <jamatos@fep.up.pt>
11118
11119         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11120         insets contents.
11121
11122 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11123
11124         * a lot of small ws changes
11125         * add a lot of using std::XXX
11126         * use std construcs some places where approp.
11127         * use some exisint stuff from lyxfunctional where approp.
11128         * Make file changes to use partial linking (lets test this now...)
11129
11130 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11131
11132         * Chktex.C:
11133         * buffer.C:
11134         remove #include "support/syscontr.h" as it's redundant. Always has been.
11135
11136         * Chktex.C:
11137         * LaTeX.C:
11138         * LyXSendto.C:
11139         * converter.C:
11140         * lyx_cb.C:
11141         * vc-backend.C:
11142         change Systemcalls::System to Systemcalls::Wait and
11143         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11144         No change of functionality, just reflects the stripped down Systemcalls
11145         class.
11146
11147 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11148
11149         * debug.[Ch]: add a GRAPHICS type to the enum.
11150
11151 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11152
11153         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11154
11155         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11156         there is an inset.
11157
11158 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11159
11160         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11161         match the changes below.
11162
11163         * text2.C (toggleInset): if there is not editable inset at cursor
11164         position, try to see if cursor is _inside_ a collapsable inset
11165         and close it.
11166
11167 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11168
11169         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11170         document menu has a nice checkbox
11171
11172 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11173
11174         * lyxlength.C (asLatexString): change PW to output as percent of
11175         \textwidth.
11176
11177         * lengthcommon.C: change '%' to 't%'
11178
11179         * lyxfunc.C (dispatch): a few comments from Martin
11180
11181 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11182
11183         * WorkArea.h:
11184         * WorkArea.C:
11185         * BufferView_pimpl.h:
11186         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11187           the X selection.
11188
11189 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11190
11191         * vspace.C (inPixels): fix compiler warning
11192
11193 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11194
11195         * lyxfunc.C (getStatus): fix status message for disabled commands.
11196
11197 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11198
11199         * BufferView_pimpl.C: fix crash on close buffer
11200         during selection (#227)
11201
11202 2002-01-27  Herbert Voss  <voss@lyx.org>
11203
11204         * buffer.C: link old Figure to new graphic inset
11205
11206 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11207
11208         * FontLoader.C (getFontinfo): Change the latex font names in order
11209         to match the names of type1inst.
11210
11211 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11212
11213         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11214
11215         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11216         (extchanged): ditto
11217         (ext_exist): ditto
11218         (remove_files_with_extension): ditto
11219         (remove_file): ditto
11220         (write): ditto
11221
11222         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11223         document is smaller than the work area height. Do not initialize
11224         static variables to 0.
11225
11226 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11227
11228         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11229
11230         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11231         LFUN_LAYOUT_PARAGRAPHS.
11232
11233         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11234         tabular. It is possible to provide a possible cell, which will
11235         typically be the actcell from the corresponding insettabular
11236
11237         * lyxfunc.C (getStatus): small cleanup; disable
11238         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11239         true
11240
11241 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11242
11243         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11244
11245         * paragraph.C (startTeXParParams):
11246         (endTeXParParams): new methods. The LaTeX code to
11247         start/end paragraph formatting
11248         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11249         empty (fixes bug #200)
11250
11251         * vspace.C (inPixels): adapt to the change below
11252         (inPixels): [later] more cleanups (remove unused variables)
11253
11254         * lyxlength.C (inPixels): change to use a width and a height as
11255         parameter.
11256
11257 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11258
11259         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11260         Replaced with \paperwidth
11261
11262         * DepTable.C (insert): add std:: qualifier
11263
11264 2002-01-18  Allan Rae  <rae@lyx.org>
11265
11266         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11267         updated also?
11268
11269         * text.C (drawInset): Turned out I didn't know enough about how
11270         rebreaking worked.  This fixes most of the redraw problems.  I see
11271         an occasional cursor trail when a line is broken now and the cursor
11272         placement can seem out by a few pixels also after a rebreak.
11273
11274 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11275
11276         * buffer.C (parseSingleLyXformat2Token): update because minipage
11277         width is now a LyXLength
11278
11279         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11280
11281         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11282         math insets
11283
11284 2002-01-17  Juergen Vigna  <jug@sad.it>
11285
11286         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11287
11288         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11289         is set correctly and the inset is updated correctly.
11290
11291 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11292
11293         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11294         the beginning of the loop.
11295
11296 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11297
11298         * lyxrc.C: improve help for use_scalable_fonts
11299
11300 2002-01-17  Allan Rae  <rae@lyx.org>
11301
11302         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11303
11304 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11305
11306         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11307         make sure to set their inset_owner to the right value (bug #171)
11308
11309 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11310
11311         * DepTable.h
11312         * DepTable.C: Implement mtime checking to reduce time spent doing
11313         CRCs.
11314
11315 2002-01-16  Juergen Vigna  <jug@sad.it>
11316
11317         * tabular.C (GetAdditionalHeight): one of error fixed.
11318
11319         * lyxrc.C (output): small fix in writing use_pspell.
11320
11321 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11322
11323         * sp_base.h: #include LString.h
11324
11325 2002-01-16  Allan Rae  <rae@lyx.org>
11326
11327         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11328         Can someone check this please?
11329
11330         * text.C (drawInset): It was possible that p.row would be removed by
11331         breakAgainOneRow upsetting a few other settings.  There may be another
11332         small tweak possible by setting need_break_row = 0 when p.row has been
11333         removed but I don't know enough about the logic here.
11334
11335 2002-01-15  Allan Rae  <rae@lyx.org>
11336
11337         * text.C (insertChar): removed conditional truism.
11338
11339         * BufferView2.C (removeAutoInsets): More tweaks.
11340         cur_par_prev could be a stray pointer.  Check for trailing empty line
11341         in case last line was cur_par and only had an error inset on it.
11342
11343 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11344
11345         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11346         absolute
11347
11348         * vc-backend.C (most methods):
11349         * exporter.C (Export):
11350         * converter.C (convert):
11351         (runLaTeX):
11352         * LyXSendto.C (SendtoApplyCB):
11353         * lyxfunc.C (dispatch):
11354         (menuNew):
11355         (open):
11356         (doImport):
11357         * lyx_cb.C (AutoSave):
11358         (InsertAsciiFile):
11359         * BufferView_pimpl.C (MenuInsertLyXFile):
11360         * buffer.C (runChktex): use Buffer::filePath().
11361
11362         * buffer.h: rename filename to filename_; rename filepath to
11363         filepath_ and make it private
11364         (filePath): new method
11365
11366         * buffer.C (writeFile): use fileName()
11367         (getLatexName):
11368
11369         * lyx_main.C (init): fix starting  of LyX when the binary is a
11370         link from so,ewhere else.
11371
11372         * minibuffer.C: include <cctype> for isprint
11373
11374 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11375
11376         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11377         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11378         name clash with InsetCollapsable's width function.
11379
11380 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11381
11382         * lastfiles.C: include <iterator>
11383
11384 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11385
11386         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11387         std::count.
11388
11389         * buffer.C (makeLaTeXFile): ditto.
11390         Also make loop operation more transparent.
11391
11392 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11393
11394         * ToolbarDefaults.C: remove trailing comma closing namespace.
11395
11396         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11397
11398         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11399         as in WorkArea.
11400
11401         * trans.C (Load): comment out unused variable, allowed.
11402
11403 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11404
11405         * minibuffer.[Ch] (append_char): new method to recieve input from the
11406         drop-down completion browser. If a key was pressed, then recieve this
11407         char and append it to the existing string.
11408         (peek_event): modify the positioning data passed to the completion
11409         browser so that it can be placed above the minibuffer rather than below.
11410 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11411
11412         * LyXAction.C (init): alloe error-next for readonly documents.
11413
11414         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11415         count.
11416
11417 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11418
11419         * bufferlist.C (readFile): create the buffer _after_ checking that
11420         the file exists.
11421
11422         * lyxfunc.C (verboseDispatch): fix handling of arguments
11423
11424         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11425
11426         * lyxrc.C: use string::erase() instead of initializing to "".
11427
11428
11429 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11430
11431         * BufferView_pimpl.h:
11432         * BufferView_pimpl.C:
11433         * WorkArea.h:
11434         * WorkArea.C:
11435         * text2.C: tell X when we have made a selection for copying
11436
11437 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11438
11439         * BufferView_pimpl.C (MenuInsertLyXFile):
11440         * lyxfunc.C (menuNew):
11441         (open):
11442         (doImport): add shortcuts to directory buttons
11443
11444         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11445         open a float)
11446
11447         * lyxfunc.C (setStatusMessage):
11448         (getStatusMessage): new methods
11449         (getStatus):use setStatusMessage instead of setErrorMessage
11450         (dispatch): when function is disabled, set error message here
11451         [instead of in getStatus previously]
11452
11453         * BufferView_pimpl.C (workAreaButtonRelease): update
11454         toolbar/menubar here too.
11455
11456 2002-01-13  Allan Rae  <rae@lyx.org>
11457
11458         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11459         Now seems indestructible.  Remaining task is to audit all other
11460         code affected by deleteEmptyParagraphMechanism.  One small quirk
11461         left is that an empty document with an error in the preamble can
11462         be made to report an error but no error box appears.  I don't know
11463         where it goes.
11464         (removeAutoInsets): Improved comments.
11465
11466 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11467
11468         * Thesaurus.h:
11469         * Thesaurus.C: update for Aiksaurus 0.14
11470
11471 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11472
11473         * text2.C (firstParagraph): removed member function, all uses
11474         replaces with ownerParagraph
11475         (redoParagraphs): here
11476         (updateInset): here
11477         (toggleAppendix): here
11478         * BufferView2.C (insertErrors): here
11479         (setCursorFromRow): here
11480
11481 2002-01-13  Allan Rae  <rae@lyx.org>
11482
11483         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11484         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11485         There is still a way to segfault this although you may have to do this
11486         multiple times: Have an InsetERT with an unknown command in it.
11487         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11488         <down-arrow>, <Enter> again, View->DVI, BANG!
11489
11490         * text2.C (setCursor):
11491         (deleteEmptyParagraphMechanism):
11492         * lyxtext.h (setCursor):
11493         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11494         Making use of the return value may help fix other bugs.
11495
11496 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11497
11498         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11499
11500         * LyXView.C (updateMenubar): call MenuBar::update here
11501         (updateToolbar): but not here
11502         (showState): do not update toolbar/menubar
11503
11504         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11505         should need to care about that.
11506
11507         * lyxfunc.C (verboseDispatch): simplify a bit
11508         (getStatus): have a version which takes a pseudoaction, and
11509         another which requires a (kb_action,string).
11510
11511         * LyXAction.C (retrieveActionArg): make it work also when action
11512         is not a pseudo-action.
11513         (getActionName): simplify a bit
11514         (helpText):
11515
11516 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11517
11518         * lyxfunc.C (verboseDispatch): new families of methods with
11519         several ways to specify a command and a bool to indicate whether
11520         the command name and shortcut should be displayed in minibuffer
11521         (eventually, we could extend that to a finer bitmask like
11522         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11523         (dispatch): the pristine dispatch command which just, well,
11524         dispatchs! Note it still sets its result to minibuffer; I'm not
11525         sure we want that.
11526
11527         * lyxfunc.h: remove setHintMessage
11528
11529         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11530
11531 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11532
11533         * BufferView_pimpl.C (specialChar): delete new inset if we have
11534         not been able to insert it.
11535
11536         * kbmap.C: revert to using int instead of kb_action, since all we
11537         are dealing with is pseudo-actions.
11538
11539         * LyXAction.C (searchActionArg): change to return int instead of
11540         kb_action, since the result is a pseudoaction.
11541
11542 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11543
11544         * buffer.C (insertErtContents): Fix (partially) the font bug.
11545
11546 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11547
11548         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11549         as the other one is broken on my machine!
11550
11551 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11552
11553         * commandtags.h:
11554         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11555
11556 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11557
11558         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11559         reflect their actual use. Provide compatibility code for older lyxrc
11560         files.
11561
11562         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11563         FL_NORMAL_STYLE.
11564         change names of popup font variables in line with the changes to lyxrc.C
11565
11566 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11567
11568         * buffer.C (asciiParagraph): avoid outputing a word twice after
11569         an inset.
11570
11571         * lyxrc.C (getDescription): document that document_path and
11572         template_path can be empty.
11573
11574 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11575
11576         * LaTeXFeatures.C (getMacros):
11577         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11578
11579         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11580
11581         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11582         getPackages.
11583         (getPackages): rename feature "floats" to "float". Use an array to
11584         iterate over 'simple' features (i.e. just a \usepackage). Add
11585         handling of "amsmath" (renamed from "amsstyle").
11586
11587 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11588
11589         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11590         features list.
11591
11592 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11593
11594         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11595         FuncStaus::FuncStatus & FuncStaus::some_method().
11596
11597 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11598
11599         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11600         of the func_satus stuff. Edited and massaged in various ways by
11601         JMarc.
11602
11603         * lyxfunc.C (getStatus): use FuncStatus
11604
11605 2002-01-08  Juergen Vigna  <jug@sad.it>
11606
11607         * text.C (nextBreakPoint): use function Inset::isChar().
11608
11609         * paragraph.C (TeXOnePar): use function
11610         Inset::forceDefaultParagraphs.
11611
11612         * buffer.C (latexParagraphs): use function
11613         Inset::forceDefaultParagraphs.
11614
11615 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11616
11617         * lyx_gui.C (init): set the style of the menu popups to
11618         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11619
11620 2002-01-07  Juergen Vigna  <jug@sad.it>
11621
11622         * text.C (setHeightOfRow): small fix
11623         (prepareToPrint): don't look at alignment if we don't have the place
11624         for doing it.
11625
11626 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11627
11628         * box.C: New file. Move the Box methods and functions out of box.h,
11629         following Lars' suggestion.
11630
11631 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11632
11633         * box.h: #include "support/LOstream.h", needed for inlined function.
11634
11635         * lyxtextclass.C:
11636         * lyxtextclasslist.C: added some using std declarations.
11637
11638 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11639
11640         * box.h: make signed dimensions to allow insets wider than
11641           the screen (bug #162)
11642
11643         * BufferView_pimpl.C: add some insetHit debug
11644
11645 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11646
11647         * vc-backend.C: add FIXME
11648
11649 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11650
11651         * lyxfunc.C (getStatus): enable code for showing math font status
11652         in toolbar/menu.
11653
11654 2002-01-07  Juergen Vigna  <jug@sad.it>
11655
11656         * text.C (nextBreakPoint): removed debug output not needed anymore.
11657
11658 2002-01-06  Juergen Vigna  <jug@sad.it>
11659
11660         * text.C (nextBreakPoint): fixed up this function we had this bug
11661         since ever but now hopefully we break row better.
11662         (insertChar): we have to check if an inset is the next char as it
11663         could now happen that a large inset is causing a break.
11664
11665 2002-01-05  Juergen Vigna  <jug@sad.it>
11666
11667         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11668         if it doesn't like to be drawed.
11669
11670 2002-01-04  Juergen Vigna  <jug@sad.it>
11671
11672         * BufferView2.C (lockInset): forgot to set a cursor.
11673
11674         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11675
11676 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11677
11678         * FormMathsPanel.C:
11679         * FormMathsPanel.h
11680         * MathsSymbols.C:
11681         * form_maths_panel.C:
11682         * form_maths_panel.h:
11683         * form_maths_panel.fd: implemented sub- and super- buttons in math
11684         panel.
11685
11686         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11687         (or ^ space) to be used as in TeX (req'd by André).
11688
11689         * lyxfunc.C: Allow ^ and _ again to be used both as
11690         super/subscript (mathed) and as themselves (in text).
11691
11692 2002-01-03  Allan Rae  <rae@lyx.org>
11693
11694         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11695         "LyX" or the filename of the current buffer if it has one.  This is a
11696         modified form of John Levon's patch.
11697
11698         * XFormsView.C (setWindowTitle): also set icon title.
11699
11700         * LyXView.h (setWindowTitle): signature changed.
11701         * XFormsView.h (setWindowTitle): ditto.
11702
11703 2002-01-02  Juergen Vigna  <jug@sad.it>
11704
11705         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11706
11707 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11708
11709         * screen.C (topCursorVisible): introduce a temp var for
11710         text->cursor.row(), handle the case where this row is null. (kindo
11711         hachish)
11712
11713         * text2.C (setCursor): add a couple of asserts.
11714
11715         * paragraph.h (inset_iterator): add -> operator
11716
11717         * paragraph.[Ch] (autoDeleteInsets): remove member function
11718
11719         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11720         cursor pos correctly and handle inset deletion by itself.
11721         (insertErrors): move iterator declaration out of for expression
11722
11723         * lyxtextclass.C: add <algorithm>
11724
11725         * Makefile.am: added the new files to sources, removed layout.C
11726
11727         * layout.C: removed file
11728
11729         * layout.h: remove LYX_DUMMY_LAYOUT
11730
11731         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11732         layout.
11733
11734         * lyxlayout.[Ch]:
11735         * lyxtextclass.[Ch]:
11736         * lyxtextclasslist.[Ch]: new files
11737
11738         * include order changes to a lot of files, also changes because of
11739         the six new files.
11740
11741 2001-12-27  Juergen Vigna  <jug@sad.it>
11742
11743         * buffer.C (asciiParagraph): more fixes.
11744
11745         * tabular.C (ascii): make ascii export support export of only the
11746         data separated by a column-delimiter.
11747         (ascii): better support for ascii export.
11748
11749         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11750
11751 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11752
11753         * tabular_funcs.C: use a "using std::getline" instead of the
11754         previous fix from Angus (necessary for cxx + lyxstring)
11755
11756 2001-12-24  Juergen Vigna  <jug@sad.it>
11757
11758         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11759
11760         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11761         problems. First check a minipage also if we have some ert-contents
11762         (not only on par->size(), second set the right depth of the paragraph
11763         on the relink to the root-paragraph-list!
11764
11765         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11766         which then did not anymore update the main paragraphs on undo/redo!
11767
11768 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11769
11770         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11771         code. Support all font-changing funcs (even those which are not in
11772         menu currently). Support for reporting font settings in
11773         mathed (disabled until Andre provides a function on mathed's side).
11774
11775         * func_status.h (toggle): small helper function to set toggle
11776         state on a flag.
11777
11778 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11779
11780         * tabular_funcs.C: getline -> std::getline
11781
11782 2001-12-21  Juergen Vigna  <jug@sad.it>
11783
11784         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11785         accessed and could be 0 (I couldn't generate this but it seems
11786         Michael could!).
11787
11788 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11789
11790         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11791         * tabular_funcs.h: here and include iosfwd
11792
11793 2001-12-20  Juergen Vigna  <jug@sad.it>
11794
11795         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11796         inside inset but undo_par was.
11797
11798 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11799
11800         * Thesaurus.C: always include <config.h> in sources.
11801
11802         * Painter.h:
11803         * lyxlookup.h:
11804         * box.h: do not include <config.h> in header files
11805
11806         * text.C (paintLastRow): remove unused variable
11807
11808         * text.C (transformChar):
11809         (insertChar):
11810         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11811
11812         * Painter.C (text):
11813         * font.C (width): rewrite to use uppercase() instead of
11814         islower/toupper.
11815
11816         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11817
11818 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11819
11820         * lyxfind.C: clean up of find failure position change
11821
11822 2001-12-20  Juergen Vigna  <jug@sad.it>
11823
11824         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11825
11826         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11827         (TeXRow): added to LaTeX a single tabular row.
11828         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11829         (Latex): simplified and finally good LT-h/f support.
11830         (various_functions): just small adaptions for LT-h/f support.
11831
11832         * tabular_funcs.[hC]: added and moved here all not classfunctions
11833         of LyXTabular.
11834
11835 2001-12-19  Juergen Vigna  <jug@sad.it>
11836
11837         * tabular.[Ch]: better support for longtabular options (not finished
11838         yet!)
11839
11840 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11841
11842         * text.C (paintLastRow): use the label font instead of the font of
11843         the last character to compute the size of *_BOX. This makes more
11844         sense and avoids a crash with empty paragraphs.
11845         Use Painter::rectangle to draw EMPTY_BOX.
11846
11847 2001-12-19  Juergen Vigna  <jug@sad.it>
11848
11849         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11850         the paragraphs if the replaced paragraph is not the first one!
11851         Tried to delete not used paragraphs but does not work yet so for
11852         now it's inside #ifdef's and by default off!
11853
11854 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11855
11856         * MenuBackend.C: include "lyx_main.h" instead of declaring
11857         lastfiles (actually was declared as LastFiles* instead of a
11858         scoped_ptr).
11859
11860 2001-12-17  Juergen Vigna  <jug@sad.it>
11861
11862         * tabular.C (AppendColumn): applied John's fix
11863
11864 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11865
11866         * BufferView.h:
11867         * BufferView.C:
11868         * BufferView_pimpl.h:
11869         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11870
11871         * Makefile.am:
11872         * box.h: new start of class for above
11873
11874         * lyxfunc.C: ignore space-only minibuffer dispatches.
11875           Show the command name when it doesn't exist
11876
11877         * minibuffer.C: don't add empty lines to the history
11878
11879         * minibuffer.C: add a space on dropdown completion
11880
11881 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11882
11883         * text.C: fix line above/below drawing in insets
11884
11885 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11886
11887         * lyxlength.C (LyXLength): Initialize private variables.
11888
11889 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11890
11891         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11892         when inserting error insets.
11893
11894 2001-12-13  Juergen Vigna  <jug@sad.it>
11895
11896         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11897         actually sometimes the before-paragraph.
11898         (setUndo): don't clear the redostack if we're not actually undoing!
11899
11900 2001-12-06  Juergen Vigna  <jug@sad.it>
11901
11902         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11903         and fixed redoing of main paragraph, so we can use it now ;)
11904
11905         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11906
11907 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11908
11909         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11910         Juergen's request
11911
11912 2001-12-13  André Pönitz <poenitz@gmx.net>
11913
11914         * undostack.[Ch]:
11915         * undo_func.C: minor cleanup
11916
11917 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11918
11919         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11920         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11921         font in urw-fonts package which is marked as -urw-fontspecific and
11922         does not work (incidentally, changing the encoding in the
11923         fonts.dir of this package to -adobe-fontspecific fixes the
11924         problem).
11925
11926         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11927         is a crash when undoing first paragraph (Juergen, please take a
11928         look). THis does not mean the undo fix is wrong, just that it
11929         uncovers problems.
11930
11931         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11932         the (Paragraph*) version when needed instead of duplicating the
11933         code.
11934
11935         * text.C (workWidth): use Inset::parOwner to find out where the
11936         inset has been inserted. This is a huge performance gain for large
11937         documents with lots of insets. If Inset::parOwner is not set, fall
11938         back on the brute force method
11939
11940         * paragraph_pimpl.C (insertInset):
11941         * paragraph.C (Paragraph):
11942         (cutIntoMinibuffer): set parOwner of insets when
11943         inserting/removing them
11944
11945         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11946
11947 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11948
11949         * commandtags.h:
11950         * LyXAction.C:
11951         * lyx_main.C:
11952         * lyxfunc.C:
11953         * mathed/formulabase.C:
11954         * mathed/math_cursor.[Ch]:
11955         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11956
11957
11958 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11959
11960         * lyxlength.[Ch] (operator!=): new function
11961
11962 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11963
11964         * text.C (workWidth): use Inset::parOwner to find out where the
11965         inset has been inserted. This is a huge performance gain for large
11966         documents with lots of insets. If Inset::parOwner is not set, fall
11967         back on the brute force method
11968
11969         * paragraph_pimpl.C (insertInset):
11970         * paragraph.C (Paragraph):
11971         (cutIntoMinibuffer): set parOwner of insets when
11972         inserting/removing them
11973
11974         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11975
11976 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11977
11978         * tabular-old.C (getTokenValue):
11979         * tabular.C (getTokenValue):
11980         (write_attribute): new versions for LyXLength
11981         (everywhere): adjust the use of widths
11982
11983         * tabular.h: change the type of widths from string to LyXLength
11984
11985 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11986
11987         * paragraph.C: fixed missing line number count when exporting
11988         Environments to LaTeX file
11989
11990         * buffer.C: added informational message for checking line numbers.
11991
11992 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11993
11994         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11995         paragraph, do the 'double space' part, but not the 'empty
11996         paragraph' one.
11997
11998         * text.C (workWidth): small optimization
11999         (getLengthMarkerHeight): use minimal size for negative lengths.
12000
12001 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12002
12003         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12004
12005         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12006
12007 2001-12-11  André Pönitz <poenitz@gmx.net>
12008
12009         * FontLoader.C:
12010         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12011
12012 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12013
12014         * text2.C: keep selection on a setFont()
12015
12016 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12017
12018         * lyx_cb.C: another bv->text misuse, from insert label
12019
12020 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12021
12022         * kbsequence.h:
12023         * kbsequence.C: re-instate nmodifier mask
12024
12025 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12026
12027         * lyx_main.h: make lyxGUI private.
12028
12029 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12030
12031         * lyxfind.C: place the cursor correctly on failed search
12032
12033 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12034
12035         * text.C (getLengthMarkerHeight): for small heights, the arrows
12036         are not always on top/bottom of the text
12037         (drawLengthMarker): smaller arrows; take the left margin in
12038         account; draw also vfills.
12039         (paintFirstRow):
12040         (paintLastRow): remove special code for vfill and standard spaces,
12041         since everything is handled in drawLengthMarker now.
12042
12043 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12044
12045         * buffer.C (insertErtContents): try to handle font and language
12046         interaction a bit better.g
12047
12048         * ColorHandler.C (updateColor): change the hash to cover the whole
12049         LColor enum, ws cleanup
12050         (getGCLinepars): ditto
12051         (getGCLinepars): only lookup in the linecache once.
12052
12053 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12054
12055         * iterators.C (operator++): Make the iterator more robust
12056
12057         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12058         (John's patch)
12059         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12060
12061 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12062
12063         * lyxtext.h:
12064         * text.C: better added space drawing
12065
12066 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12067
12068         * LyXView.C:
12069         * BufferView2.C: fix layout combo update on inset unlock
12070
12071 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12072
12073         * Makefile.am: don't compile unused files
12074
12075 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12076
12077         * lyxfunc.C:
12078         * commandtags.h:
12079         * LyXAction.C: remove old LFUN_LAYOUTNO
12080
12081 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12082
12083         * paragraph_pimpl.h:
12084         * paragraph_pimpl.C: isTextAt() doesn't need font param
12085
12086 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12087
12088         * lyxlex.h:
12089         * lyxlex.C: little cleanup
12090
12091 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12092
12093         * BufferView_pimpl.C: fix insertAscii for insets
12094
12095 2001-12-05  Juergen Vigna  <jug@sad.it>
12096
12097         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12098         set the right font on the "multi" paragraph paste!
12099
12100 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12101
12102         * trans_decl.h:
12103         * trans_mgr.[Ch]:
12104         * trans.[Ch]:
12105         * lyxgluelength.C:
12106         * lyxlength.C: remove out-commented code.
12107
12108         * BufferView_pimpl:
12109         * CutAndPaste.C:
12110         * DepTable.C:
12111         * buffer.C:
12112         * chset.C:
12113         * lastfiles.C:
12114         * lyxlex.C:
12115         * lyxlex_pimpl.C:
12116         * lyxserver.C:
12117         * screen.C:
12118         * tabular-old.C:
12119         * tabular.C:
12120         * text.C:
12121         * trans_mgr.C:
12122         * vc-backend.C: change "while(" to "while ("
12123
12124         * lyxlength.[Ch]: add zero function to check if length is zero or
12125         not
12126         * lyxgluelength.C: use it
12127
12128 2001-12-05  Allan Rae  <rae@lyx.org>
12129
12130         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12131         Works for 2.95.3, from what I understand of Garst's reports this should
12132         work for other g++ versions.  We're screwed if the abs(int) definition
12133         changed between bugfix releases of gcc.
12134
12135 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12136
12137         * text.C: fix chapter label offset !
12138
12139 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12140
12141         * lyxtext.h:
12142         * text.C: fix hfill at end of line, clean up
12143
12144 2001-12-04  Juergen Vigna  <jug@sad.it>
12145
12146         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12147         that we force an update of the inset and it's owners if neccessary.
12148
12149 2001-12-03  Juergen Vigna  <jug@sad.it>
12150
12151         * text.C (rowLast): simplified code
12152
12153 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12154
12155         * lyxfunc.C: fix show options on timeout
12156
12157 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12158
12159         * screen.C (topCursorVisible): scroll half a page when the cursor
12160         reached top of bottom of screen
12161
12162 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12163
12164         * minibuffer.C: deactivate on loss of focus
12165
12166 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12167
12168         * vspace.[Ch] (operator!=): add operator.
12169
12170 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12171
12172         * BufferView_pimpl.C: refuse to open an inset when
12173         there's a selection.
12174
12175 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12176
12177         * BufferView_pimpl.C: allow to click on RHS of full row insets
12178
12179 2001-11-30  Juergen Vigna  <jug@sad.it>
12180
12181         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12182         insets for undo reasons.
12183
12184 2001-11-28  André Pönitz <poenitz@gmx.net>
12185
12186         * vspace.[Ch]: cosmetical changes
12187
12188 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12189
12190         * LyXAction.h:
12191         * LyXAction.C:
12192         * lyxfunc.h:
12193         * lyxfunc.C:
12194         * kbmap.h:
12195         * kbmap.C:
12196         * lyxrc.C:
12197         * kbsequence.h:
12198         * kbsequence.C: part re-write of old kb code
12199
12200         * Painter.C:
12201         * WorkArea.C: remove Lgb_bug_find_hack
12202
12203 2001-11-30  José Matos <jamatos@fep.up.pt>
12204
12205         * buffer.C (makeDocBookFile): add a comment to point a hack.
12206         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12207         Fixed a double write of labels.
12208
12209 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12210
12211         * LaTeX.C:
12212         * LaTeX.h Fixed bug in LaTeX class where it would not
12213         re-run latex if no depfiles were changed, but the .dvi was removed.
12214
12215 2001-11-28  André Pönitz <poenitz@gmx.net>
12216
12217         * all the files from the change on 2001/11/26:
12218         use lyx::layout_type instead of LyXTextClass::size_type
12219         use lyx::textclass_type instead of LyXTextClassList::size_type
12220
12221 2001-11-29  Juergen Vigna  <jug@sad.it>
12222
12223         * text.C: added support for paragraph::isFreeSpacing()
12224
12225         * buffer.C: same as above
12226
12227         * paragraph.h: inserted isFreeSpacing() function to enable
12228         FreeSpacing inside InsetERT.
12229
12230         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12231         of the paragraph's in the cut/copy buffer to 0!
12232
12233         * text2.C (removeRow): remove the assert as it can!
12234
12235         * lyxtext.h: added helper function firstRow returning firstrow and
12236         made firstrow private again.
12237
12238         * BufferView2.C (lockInset): don't relock if we're already locked!
12239
12240         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12241         the only paragraph.
12242         (removeRow): added Assert::(firstrow)
12243
12244         * debug.C: forgot to add INSETTEXT here.
12245
12246 2001-11-28  Juergen Vigna  <jug@sad.it>
12247
12248         * sp_spell.C (initialize): changed error text to more general
12249         spellchecker command use (not only ispell!)
12250
12251         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12252
12253         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12254
12255 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12256
12257         * vspace.C: initialise lyxgluelength on failure
12258
12259 2001-11-28  Allan Rae  <rae@lyx.org>
12260
12261         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12262         declaration & definition that looks like a function declaration.
12263
12264 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12265
12266         * BufferView2.C (copy):
12267         (copyEnvironment): do not clear the selection when doing a copy.
12268
12269         * text.C (paintFirstRow): compilation fix
12270
12271 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12272
12273         * tabular.C (Latex): correct line count when writing latex.
12274
12275 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12276
12277         * paragraph_pimpl.h:
12278         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12279           bug a bit
12280
12281 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12282
12283         * text.C:
12284         * LColor.h:
12285         * LColor.C: change vfillline->added_space
12286
12287         * text.C: add markers and text for added space
12288
12289         * vspace.C: fix comment
12290
12291 2001-11-28  André Pönitz <poenitz@gmx.net>
12292
12293         * paragraph.C: whitespace changes
12294         * all the other files from the change on 2001/11/26:
12295         change *::pos_type into lyx::pos_type
12296
12297 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12298
12299         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12300         language of the document when inserting error insets.
12301
12302 2001-11-26  André Pönitz <poenitz@gmx.net>
12303
12304         * BufferView_pimpl.[Ch]:
12305         *       CutAndPaste.C:
12306         * buffer.[Ch]:
12307         * lyxcursor.[Ch]:
12308         * lyxfind.C:
12309         * lyxfunc.C:
12310         * lyxrow.[Ch]:
12311         * paragraph.[Ch]:
12312         * paragraph_pimpl.[Ch]:
12313         * sp_spell.C:
12314         * text.C:
12315         * text2.C: reduce header dependencies, introduce type for positions
12316
12317 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12318
12319         * <various>: change to use Alert.h
12320
12321 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12322
12323         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12324         when encountering an unknown token.
12325         (readLyXformat2): Show an error message if there were unknown tokens.
12326
12327 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12328
12329         * BufferView2.C:
12330         * BufferView_pimpl.C:
12331         * buffer.C:
12332         * paragraph.h:
12333         * text.C:
12334         * text2.C: use par->isInset()
12335
12336 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12337
12338         * paragraph_pimpl.h:
12339         * paragraph_pimpl.C: cleanup
12340
12341 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12342
12343         * text2.C (removeRow):
12344         * text.C (setHeightOfRow): remove useless (and costly) call to
12345         getRow.
12346
12347 2001-11-20  Allan Rae  <rae@lyx.org>
12348
12349         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12350         Now need Inset*::checkInsertChar() to return true for appropriate
12351         cases so that the characters in the minibuffer will actually be
12352         inserted.
12353
12354 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12355
12356         * text.C: change the order of the includes.
12357         (workWidth): initialize it at once.
12358         (workWidth): make maxw unsigned
12359         (setHeightOfRow): remove unused variable (inset)
12360         (selectSelectedWord): remove unused variable (inset)
12361         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12362
12363 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12364
12365         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12366         server is not running.
12367         (openConnection):
12368         (closeConnection): add debug info when server is disabled.
12369
12370         * ColorHandler.C (getGCForeground): send debug message to GUI
12371         channel.
12372
12373         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12374
12375         * kbmap.C (bind): modify because return conventions of
12376         kb_sequence::parse have changed.
12377
12378         * kbsequence.C (parse): only ignore spaces and not any stupid
12379         control character. This avoids tests like s[i] <= ' ', which are
12380         guaranteed to fail with 8bit characters and signed chars.
12381         Change return code to string::npos when there have been no error
12382         (0 was a bad idea when error is at first character)
12383
12384 2001-11-14  José Matos  <jamatos@fep.up.pt>
12385
12386         * buffer.h:
12387         * buffer.C (simpleDocBookOnePar): removed unused argument.
12388
12389 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12390
12391         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12392         insets which are part of a word. Paragraph::isLetter takes care of
12393         that now. Use Paragraph::isInset to identify insets.
12394         (selectSelectedWord): do not test for hyphenation break.
12395
12396         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12397         that protected spaces are considered as spaces.
12398
12399         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12400         Inset::isLetter.
12401
12402 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12403
12404         * lyxserver.h:
12405         * lyxserver.C: fix it. and small cleanup.
12406
12407 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12408
12409         * BufferView_pimpl.C: use inline helpers
12410
12411         * LaTeXFeatures.h:
12412         * LaTeXFeatures.C: fix typos
12413
12414         * Spacing.h:
12415         * Spacing.C: move spacing_string into class
12416
12417         * ToolbarDefaults.C: move stuff into namespace anon
12418
12419         * layout.h: update enum
12420
12421         * lyxfunc.C: use better debug
12422
12423         * minibuffer.h: fix typo
12424
12425         * debug.h:
12426         * debug.C:
12427         * WorkArea.C: add and use Debug::WORKAREA
12428
12429         * lyxtext.h:
12430         * text.C:
12431         * text2.C: code re-organisation, inline helpers
12432
12433 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12434
12435         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12436         std::vector.empty().
12437
12438 2001-11-09  Allan Rae  <rae@lyx.org>
12439
12440         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12441         '\n's after tables.  Tabular and ERT inset work now makes this no
12442         longer necessary.
12443
12444 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12445
12446         * minibuffer.h:
12447         * minibuffer.C: fix crash, improve drop-down completion
12448
12449 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12450
12451         * lyxserver.h:
12452         * lyxserver.C: invalidate fd's when doing endPipe()
12453
12454 2001-11-08  José Matos  <jamatos@fep.up.pt>
12455
12456         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12457         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12458
12459         * paragraph.h:
12460         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12461
12462 2001-11-07  José Matos  <jamatos@fep.up.pt>
12463
12464         * buffer.h:
12465         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12466         const qualifier.
12467
12468         * buffer.C (sgmlOpenTag):
12469         * buffer.C (sgmlCloseTag): removed debug info.
12470
12471         * buffer.h (sgmlOpenTag):
12472         * buffer.h (sgmlCloseTag): made public.
12473
12474 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12475
12476         * buffer.C (saveParamsAsDefaults):
12477         * lyx_cb.C (MenuLayoutSave): remove
12478
12479         * LyXAction.C (init):
12480         * commandtags.h:
12481         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12482
12483 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12484
12485         * buffer.C (setPaperStuff): removed from here...
12486
12487         * bufferparams.C (setPaperStuff): ... and moved there.
12488
12489 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12490
12491         * minibuffer.h:
12492         * minibuffer.C:
12493         * XFormsView.C: add support for drop-down completion
12494
12495 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12496
12497         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12498         commands.
12499
12500 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12501
12502         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12503         disabled.
12504
12505 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12506
12507         * lyx_main.C: change ref to known bugs
12508
12509 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12510
12511         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12512         to work around older babel problems.
12513
12514 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12515
12516         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12517
12518 2001-10-24  Juergen Vigna  <jug@sad.it>
12519
12520         * tabular-old.C (ReadOld): below variable changes reflected.
12521
12522         * tabular.[Ch]: added ltType struct for longtable header/footer
12523         defines and changed all instances where they are used. Added
12524         future support for double top/bottom rows.
12525
12526 2001-10-24  José Matos  <jamatos@fep.up.pt>
12527
12528         * buffer.h (docbookHandleCaption):
12529         * buffer.C (docbookHandleCaption): removed unused function.
12530         (makeDocBookFile): moved docbook supported version to v4.1.
12531
12532 2001-10-24  José Matos  <jamatos@fep.up.pt>
12533
12534         * tabular.h:
12535         * tabular.C (docbookRow): new function to export docbook code of a row.
12536         (DocBook): now honors the longtable flags.
12537
12538 2001-10-23  José Matos  <jamatos@fep.up.pt>
12539
12540         * LaTeXFeatures.h:
12541         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12542         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12543
12544         * buffer.C (makeLinuxDocFile):
12545         (makeDocBookFile): reworked the preamble, more clean, and with
12546         support for lyx defined entities. Changed the document declaration
12547         to be more XML friendly.
12548
12549         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12550         if we need to output XML that should be done with a filter.
12551
12552 2001-10-22  Juergen Vigna  <jug@sad.it>
12553
12554         * sp_pspell.h (class PSpell): add alive function needed in the
12555         controller to see if the spellchecker could be started.
12556
12557 2001-10-22  Juergen Vigna  <jug@sad.it>
12558
12559         * buffer.C (insertStringAsLines): modify the font for inserting
12560         chars in certain conditions by calling checkInsertChar(font).
12561
12562 2001-10-19  Juergen Vigna  <jug@sad.it>
12563
12564         * text.C (workWidth): use getRow instead of wrong algorithm.
12565         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12566
12567 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12568
12569         * lyxserver.h:
12570         * lyxserver.C:
12571         * lyx_main.h:
12572         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12573
12574 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12575
12576         * text.C (workWidth): do not search for the exact row when
12577         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12578         optimization for big documents.
12579
12580 2001-10-18  Juergen Vigna  <jug@sad.it>
12581
12582         * text.C (workWidth): new function with added Inset * parameter.
12583
12584 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12585
12586         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12587
12588         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12589         change return type of getColumnNearX.
12590
12591
12592         * text.C (changeRegionCase): use uppercase/lowercase instead of
12593         toupper/tolower.
12594         (leftMargin):
12595         (rightMargin): simplify code by factoring out the uses of
12596         textclasslist.
12597         (labelFill):
12598         (numberOfHfills):
12599         (setHeightOfRow):
12600         (appendParagraph): use Paragraph::size_type
12601
12602 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12603
12604         * vspace.C (asLatexString): add a missing break
12605
12606 2001-10-15  Herbert Voss  <voss@perce.de>
12607
12608         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12609
12610 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12611
12612         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12613         is not available.
12614
12615 2001-10-10  André Pönitz <poenitz@gmx.net>
12616
12617         * lyxfunc.C: removed greek_kb_flag.
12618
12619 2001-10-10  Herbert Voss  <voss@perce.de>
12620
12621         * lyx_main.C: delete global string help_lyxdir.
12622
12623 2001-10-09  Herbert Voss  <voss@perce.de>
12624
12625         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12626
12627         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12628
12629         * lyx_main.C: added global string help_lyxdir.
12630
12631         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12632
12633 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12634
12635         * lyxrc.C (set_font_norm_type): support iso8859-4
12636
12637 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12638
12639         * LaTeX.C (deplog): add another regex for MikTeX
12640
12641 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12642
12643         * lyxrc.C (set_font_norm_type): support iso8859-3
12644
12645 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12646
12647         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12648
12649         * LaTeXFeatures.C: remove special case of french and index
12650
12651         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12652         before \begin{document}). This solves several incompatibilities.
12653
12654 2001-10-03  Garst Reese  <reese@isn.net>
12655
12656         * lyx_cb.C: change CheckTex error msg.
12657
12658 2001-10-03  José Matos  <jamatos@fep.up.pt>
12659
12660         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12661
12662 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12663
12664         * .cvsignore: update
12665
12666         * lyx_main.C (commandLineVersionInfo): use new style version info.
12667
12668         * buffer.C (writeFile):
12669         (makeLaTeXFile):
12670         (makeLinuxDocFile):
12671         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12672
12673         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12674
12675         * version.h: update to use stuff in version.C
12676
12677         * version.C.in: new file. Contains version information determined
12678         at compile time. This is a merging of version.h and
12679         version_info.h.in.
12680
12681 2001-10-03  Juergen Vigna  <jug@sad.it>
12682
12683         * BufferView_pimpl.C (update): don't change "dirty" status in
12684         updateInset call.
12685
12686 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12687
12688         * WorkArea.C (c-tor): re-position version string slightly.
12689
12690 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12691
12692         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12693         revert to previous code.
12694
12695         WorkArea.[Ch]: (show, destroySplash): methods removed.
12696
12697         WorkArea.C: rework code so that it's an amalgam of the codes before and
12698         after the splash screen was moved to WorkArea.
12699
12700 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12701
12702         * lyxrc.C (read):
12703         * vspace.C (inPixels):
12704         (lyx_advance):
12705         * kbmap.C (bind):
12706         * buffer.C (insertStringAsLines):
12707         (asciiParagraph): fix types to be large enough
12708
12709         * lyxlex_pimpl.h: change member status from short to int
12710
12711         * layout.h: fix type of endlabeltype
12712
12713         * kbmap.C (bind):
12714         * kbsequence.C (parse): change return type to string::size_type
12715
12716         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12717         variable
12718
12719         * Bullet.C (bulletSize):
12720         (bulletEntry): do not use short ints as parameters
12721
12722         * BufferView2.C (insertLyXFile): change a char to an int.
12723
12724         * WorkArea.C (WorkArea): remove unneeded floats in computation
12725
12726 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12727
12728         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12729
12730         * paragraph.C (asString): Do not ignore newline/hfill chars when
12731         copying to the clipboard.
12732
12733 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12734
12735         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12736         after a multi-line inset.
12737
12738 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12739
12740         * paragraph.C (validate): Set NeedLyXFootnoteCode
12741
12742 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12743
12744         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12745         and decrease-error to decrease.
12746
12747 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12748
12749         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12750         it more readable (should be equivalent)
12751
12752 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12753
12754         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12755
12756 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12757
12758         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12759         of a cursor (row, etc.) after a character has been deleted
12760         (deleteEmptyParagraphMechanism): call the method above on _all_
12761         cursors held by the LyXText when a double space has been
12762         detected/deleted.
12763
12764 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12765
12766         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12767         pixmap.
12768         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12769
12770         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12771         background. Use greyOut() and the new show() methods to toggle between
12772         the foreground and background. Add code to remove the splash after
12773         its initial showing.
12774
12775         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12776         (create_forms): no longer call Dialogs::showSplash.
12777
12778 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12779
12780         * .cvsignore: add version_info.h
12781
12782 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12783
12784         * version_info.h.in: new file
12785
12786         * Makefile.am: add version_info.h.in
12787
12788         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12789         version_info.h instead of VERSION_INFO
12790
12791 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12792
12793         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12794         The ERT inset now returns string().
12795
12796 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12797
12798         * lyxtext.h, text.C (selectNextWord): renamed as
12799         selectNextWordToSpellcheck.
12800
12801         * text.C (selectNextWordToSpellcheck): Modified to not select
12802         words inside an ERT inset.
12803
12804 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12805
12806         * lyx_cb.C (MenuLayoutSave): change a bit the question
12807
12808         * sp_base.h: include <sys/types.h>
12809
12810 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12811
12812         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12813
12814 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12815
12816         * several files: fix typos in user-visible strings
12817
12818 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12819
12820         * text2.C (pasteSelection): do not set the selection, since it
12821         will be cleared later. Actually, the intent was to fix the way the
12822         selection was set, but I figured rmoving the code was just as good.
12823
12824 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12825
12826         * FontLoader.C (available): Check if font is available without
12827         loading the font.
12828
12829 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12830
12831         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12832
12833 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12834
12835         * lyxrc.[Ch]: added display_graphics variable and associated code.
12836
12837 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12838
12839         * bufferparams.C (hasClassDefaults): new method. Returns true if
12840         the buffer parameters correspond to known class defaults
12841
12842 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12843
12844         * XFormsView.C (show): set minimum size to the main window.
12845
12846 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12847
12848         * text2.C (copySelection):
12849         (cutSelection):
12850         * lyxfind.C (LyXReplace):
12851         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12852         LyXText::selectionAsString.
12853
12854         * paragraph.C (asString): add "label" argument to the second form
12855
12856         * text2.C (selectionAsString): add "label" argument and pass it to
12857         Paragraph::asString.
12858
12859 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12860
12861         * lyx_main.C (commandLineHelp): remove version information
12862
12863 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12864
12865         * lyx_main.C: add -version commandline option
12866
12867 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12868
12869         * paragraph.h: make the optional constructor arg required instead.
12870         some modifications to other files because of this.
12871
12872         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12873
12874         * lyxserver.C (C_LyXComm_callback): make it static
12875
12876         * lyx_main.C (error_handler): make it static
12877
12878         * lyx_gui.C (LyX_XErrHandler): make it static
12879
12880         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12881
12882         * WorkArea.C: make the extern "C" methods static.
12883
12884         * Makefile.am (lyx_LDADD): simplify
12885
12886 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12887
12888         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12889         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12890
12891         * LyXAction.C (init):
12892         * lyxfunc.C (dispatch): associated code removal.
12893
12894 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12895
12896         * lyxfont.h (isSymbolFont): shut off warning
12897
12898         * text.C (setHeightOfRow):
12899         (getVisibleRow): fix crash with empty paragraphs which have a
12900         bottom line
12901
12902 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12903
12904         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12905         code.
12906
12907 2001-09-04  José Matos  <jamatos@fep.up.pt>
12908         * buffer.C
12909         * buffer.h
12910         * tabular.C (docbook): rename docBook method to docbook.
12911
12912 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12913
12914         * Makefile.am: add dependencies to main.o.
12915
12916 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12917
12918         * FontLoader.C (available): Return false if !lyxrc.use_gui
12919
12920 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12921
12922         * FontInfo.C (query):
12923         * converter.C (view):
12924         * importer.C (Import):
12925         * exporter.C (Export): Can not -> cannot.
12926
12927 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12928
12929         * BufferView_pimpl.C: allow to create index inset even if
12930           string is empty
12931
12932 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12933
12934         * buffer.C (getLists): replace boost::tie code with an explicit pair
12935         as boost::tie can break some compilers.
12936
12937         * iterators.h: Added a std:: declaration to the return type of
12938         ParIterator::size.
12939
12940 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12941
12942         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12943           case.
12944
12945 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12946
12947         * iterators.[Ch]: New files. Provide paragraph iterators.
12948
12949         * buffer.C (changeLanguage): Use paragraph iterators.
12950         (isMultiLingual): ditto
12951
12952         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12953
12954 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12955
12956         * FontLoader.C: Support for cmr font.
12957
12958 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12959
12960         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12961         (available): New method.
12962
12963         * FontInfo.C (getFontname): Use scalable fonts even when
12964         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12965         found.
12966
12967 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12968
12969         * converter.C (Formats::view): reverted! Incorrect fix.
12970
12971 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12972
12973         * converter.C (Formats::view): only output the -paper option
12974         if the dvi viewer is xdvi, thereby fixing bug #233429.
12975
12976 2001-08-23  Herbert Voss  <voss@perce>
12977
12978         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12979
12980 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12981
12982         * Spacing.h (Spacing): Set space to Default on in the default
12983         constructor.
12984
12985 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12986
12987         * vc-backend.h (RCS::versionString): add RCS to version
12988         (CVS::versionString): add CVS to version
12989
12990         * vc-backend.C (scanMaster): do not add CVS to version.
12991         (scanMaster): do not add RCS to version
12992
12993         * lyxvc.C (versionString): new method
12994
12995         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12996
12997 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12998
12999         * Spacing.C (set): initialize fval
13000
13001 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13002
13003         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13004         " or \.
13005
13006 2001-08-16  Juergen Vigna  <jug@sad.it>
13007
13008         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13009
13010 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13011
13012         * BufferView_pimpl.C:
13013         * figureForm.C:
13014         * lyxtext.h:
13015         * text2.C: setParagraph takes linespacing now
13016
13017 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13018
13019         * LyxAction.C: add internal LFUN_CITATION_INSERT
13020
13021         * LyXView.C: actually apply fix
13022
13023         * bufferlist.C: fix open non-existent file
13024
13025         * lyxfind.C: fix indentation
13026
13027         * lyxfunc.C: remove unneeded assert, fix typo
13028
13029 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13030
13031         * MenuBackend.C: use "Floatname List"
13032
13033 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13034
13035         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13036         when converting LaTeX layout to insetERT.
13037         Generate a non-collapsed float when reading old float
13038
13039 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13040
13041         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13042         ERT insets.
13043
13044 2001-08-13  Juergen Vigna  <jug@sad.it>
13045
13046         * text.C (fill): return 0 instead of 20 as this seems to be the more
13047         correct value.
13048
13049 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13050
13051         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13052         lyxrc.font_norm.
13053
13054 2001-08-13  Juergen Vigna  <jug@sad.it>
13055
13056         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13057         casesensitive off.
13058         (SearchBackward): comment out the unlocking of the inset_owner this
13059         should not be needed!
13060
13061 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13062
13063         * Many files: Remove inherit_language, and add latex_language
13064
13065         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13066         collapsible insets.
13067
13068 2001-08-10  Juergen Vigna  <jug@sad.it>
13069
13070         * text.C (prepareToPrint): fixed hfill-width in draw!
13071
13072         * BufferView2.C (selectLastWord): save the selection cursor as this
13073         now is cleared in the function LyXText::clearSelection!
13074
13075 2001-08-08  Juergen Vigna  <jug@sad.it>
13076
13077         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13078         BACKSPACE type functions.
13079
13080         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13081         is only cutted from the document but not put in the cut-buffer, where
13082         still the old stuff should be.
13083
13084         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13085
13086         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13087
13088         * tabular.C (SetWidthOfCell): fixed special case where the width
13089         was not updated!
13090         (LeftLine): handle '|' in align_special.
13091         (RightLine): ditto
13092         (LeftAlreadyDrawed): ditto
13093         (SetWidthOfCell): ditto
13094
13095 2001-08-07  Juergen Vigna  <jug@sad.it>
13096
13097         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13098
13099 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13100
13101         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13102         * lyxlex.[hC]: ditto
13103
13104 2001-08-06  Juergen Vigna  <jug@sad.it>
13105
13106         * text.C (getVisibleRow): fix up row clearing a bit.
13107
13108 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13109
13110         * minibuffer.C: make sure the X server sees the changes in the input.
13111
13112 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13113
13114         * paragraph.C (getFont): split into...
13115         (getLabelFont): this
13116         (getLayoutFont): and this
13117         * paragraph_pimpl.C (realizeFont): calling this
13118
13119         * text2.C (getFont): split into...
13120         (getLayoutFont): this
13121         (getLabelFont): and this
13122         (realizeFont): all three calling this
13123
13124         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13125         files where used.
13126
13127 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13128
13129         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13130
13131 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13132
13133         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13134         layouts from the Quote inset insertion.
13135
13136 2001-08-03  Juergen Vigna  <jug@sad.it>
13137
13138         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13139
13140         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13141         only if status not is already CHANGED_IN_DRAW (second level).
13142
13143         * text.C (draw): don't set the need_break_row when inside an
13144         InsetText LyXText.
13145
13146 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13147
13148         * buffer.C (parseSingleLyXformat2Token): handle more latex
13149         conversion cases.
13150
13151         * bufferview_funcs.[hC]: change function names to
13152         begin with small char, adjust other files.
13153
13154 2001-08-02  André Pönitz <poenitz@gmx.net>
13155
13156         * lyxfunc.C:
13157         BufferView_pimpl.C: remove broken special code for math-greek
13158
13159 2001-08-02  Juergen Vigna  <jug@sad.it>
13160
13161         * BufferView_pimpl.C (update): redone this function so that we
13162         update the text again if there was a CHANGE_IN_DRAW.
13163
13164         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13165         (drawFromTo): added a new internal bool which is used by draw() and
13166         redraw() function.
13167         (general): some cursor drawing problems fixed.
13168
13169 2001-08-01  Juergen Vigna  <jug@sad.it>
13170
13171         * lyxfind.C (LyXFind): fixed
13172         (SearchForward): ditto
13173         (SearchBackward): ditto
13174
13175         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13176         spurius drawing of the cursor in the main area.
13177
13178         * text2.C (status): small fix which could lead to a segfault!
13179         (clearSelection): remove unneeded BufferView param.
13180
13181 2001-08-01  André Pönitz <poenitz@gmx.net>
13182
13183         * lyxfunc.C: small change due to changed mathed interface
13184
13185 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13186
13187         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13188
13189 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13190
13191         * lyxfunc.c: fail gracefully if file doesn't exist
13192
13193         * LyXSendto.C:
13194         * buffer.C:
13195         * lyxfunc.C:
13196         * BufferView_pimpl.C: IsDirWriteable() proto changed
13197
13198         * LyXView.C: fix updateWindowTitle() to store the last title
13199
13200 2001-07-31  Juergen Vigna  <jug@sad.it>
13201
13202         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13203         the font (wrong since using of Paragraph::highestFontInRange).
13204
13205         * paragraph.C (highestFontInRange): added a default_size parameter.
13206
13207         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13208         (setHeightOfRow): reformat
13209
13210 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13211
13212         * converter.[hC] + affected files: move to (inital-char)lowercase
13213         function names.
13214
13215         * ParagraphParameters.C (ParagraphParameters): remove commented code
13216
13217         * PainterBase.[Ch]: remove commented code
13218
13219         * LaTeXFeatures.h: add "bool floats" for float.sty
13220
13221         * LaTeXFeatures.C (LaTeXFeatures): init floats
13222         (require): handle float
13223         (getPackages): do it with floats
13224
13225 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13226
13227         * BufferView_pimpl.C (Dispatch): improve handling of
13228         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13229
13230         * commandtags.h: #include lyxfont.h here temporarily to avoid
13231         keybinding bug.
13232
13233         * bufferlist.h: include LString.h here.
13234
13235 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13236
13237         * text2.C (getStringToIndex): new method.
13238
13239 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13240
13241         * *: Reduced header file dependencies all over.
13242
13243 2001-07-30  Baruch Even  <baruch@lyx.org>
13244
13245         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13246
13247 2001-07-29  Baruch Even  <baruch@lyx.org>
13248
13249         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13250
13251 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13252
13253         * ParameterStruct.h (endif): add a default constructor to make
13254         sure that all variables is initialized.
13255
13256         * ParagraphParameters.C (ParagraphParameters): adjust
13257
13258 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13259
13260         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13261         index; also, check that there is something to index, and that it
13262         does not span over several paragraphs.
13263         (doubleClick): use WHOLE_WORD_STRICT for double click.
13264
13265         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13266
13267         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13268         scheme.
13269
13270 2001-07-26  Baruch Even  <baruch@lyx.org>
13271
13272         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13273         an InsetFig figure, backwards compatible reading of old figure code.
13274
13275 2001-07-27  Juergen Vigna  <jug@sad.it>
13276
13277         * text2.C: font.realize function adaption.
13278
13279         * text.C (draw): add a warnings lyxerr text if needed.
13280
13281         * layout.C: font.realize function adaption.
13282
13283         * language.C: add inherit_language and implement it's handlings
13284
13285         * bufferview_funcs.C (StyleReset): remove language parameter from
13286         font creation (should be language_inherit now).
13287
13288         * bufferparams.C (writeFile): handle ignore_language.
13289
13290         * paragraph.C (getFontSettings): the language has to be resolved
13291         otherwise we have problems in LyXFont!
13292
13293         * lyxfont.C (lyxWriteChanges): added document_language parameter
13294         (update): removed unneeded language parameter
13295
13296         * paragraph.C (validate): fixed wrong output of color-package when
13297         using interface colors for certain fonts in certain environments,
13298         which should not seen as that on the final output.
13299
13300 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13301
13302         * BufferView_pimpl.C:
13303         * Thesaurus.h:
13304         * Thesaurus.C:
13305         * Makefile.am:
13306         * commandtags.h:
13307         * LyXAction.C: add thesaurus support
13308
13309         * lyxfind.h:
13310         * lyxfind.C: add "once" parameter, for thesaurus, to not
13311           move to the next match
13312
13313 2001-07-26  Juergen Vigna  <jug@sad.it>
13314
13315         * lyxfont.C (realize): honor ignore_language too!
13316         (resolved): ditto.
13317
13318         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13319
13320         * text.C (draw): one place more for ignore_language to not draw
13321         itself!
13322
13323 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13324
13325         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13326
13327 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13328
13329         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13330         the minipage conversion problem.
13331
13332 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13333
13334         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13335         insert an inset.
13336
13337 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13338
13339         * BufferView.h: don't forward declare WorkArea
13340
13341         * BufferView.C: don't include WorkArea.h
13342
13343 2001-07-25  André Pönitz <poenitz@gmx.net>
13344
13345         * commandtags.h:
13346         * LyXAction.C:
13347         * lyxfunc.C:  new LFUN 'math-space'
13348
13349         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13350
13351 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13352
13353         * text2.C (toggleInset): call open/close
13354
13355 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13356
13357         * lyxfunc.C (dispatch): add debug for the disabled case
13358
13359         * font.C (buttonText): make similar to rectText
13360
13361         * buffer.C (readInset): comment out parsing of insetlist and
13362         insttheorem
13363
13364         * PainterBase.C (rectText): small correction
13365
13366         * BufferView_pimpl.C: comment out insettheorem and insetlist
13367         * LyXAction.C: ditto
13368         * commandtags.h: ditto
13369
13370 2001-07-24  Juergen Vigna  <jug@sad.it>
13371
13372         * text.C (draw): honor the ignore_language.
13373
13374         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13375
13376 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13377
13378         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13379         char inset.
13380
13381 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13382
13383         * lyxtext.h: remove unused (and unimplemented) methods
13384
13385 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13386
13387         * text.C (getVisibleRow): honor background color
13388
13389         * PainterBase.h:
13390         * Painter.h: remove default color argument for fillRectangle
13391
13392         * text.C (backgroundColor): new method
13393
13394 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13395
13396         * text.C (getVisibleRow): adjust
13397
13398         * font.[Ch] (rectText): new method, metrics
13399         (buttonText): new method, metrics
13400
13401         * PainterBase.[hC]: make rectText and buttonText always draw and take
13402         fewer paramteres.
13403
13404 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13405
13406         * ToolbarDefaults.C (read):
13407         * MenuBackend.C (read): allow escaping in all strings
13408
13409         * BufferView_pimpl.C (insertAndEditInset): new method.
13410         (Dispatch): use insertAndEditInset whenever appropriate.
13411
13412         * BufferView_pimpl.C (insertNote): removed
13413
13414         * BufferView_pimpl.C (smartQuote): new method, moved from
13415         BufferView; if an insetquote cannot be inserted, insert a '"'
13416         character instead.
13417
13418         * BufferView2.C: remove insertCorrectQuote();
13419
13420         * lyxfunc.C (getStatus): Add support for all remaingin
13421         inset-insert lfuns.
13422
13423         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13424
13425         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13426         command (necessary to pass " as parameter of self-insert.
13427
13428         * text.C (selectWordWhenUnderCursor):
13429         (selectWord): add word_location parameter
13430         (selectWordWhenUnderCursor): same + remove special code for word
13431         boundary.
13432         (selectNextWord): use kind() to guess type of insetspecialchar,
13433         not latex().
13434
13435         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13436         (insertErtContents): create ert insets as collapsed.
13437         (readInset): better compatibility code for Info inset.
13438
13439 2001-07-20  Juergen Vigna  <jug@sad.it>
13440
13441         * lyxfunc.C (dispatch): use always LyXFind now!
13442
13443         * text2.C (init): add a reinit flag so that the LyXText can be
13444         reinited instead of deleted and reallocated (used in InsetText).
13445
13446         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13447
13448         * text.C: ditto
13449
13450         * text2.C: ditto
13451
13452 2001-07-18  Juergen Vigna  <jug@sad.it>
13453
13454         * text.C (selectNextWord): handle insets inside inset by calling
13455         always the bv->text functions so that we can go up the_locking_inset!
13456
13457         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13458         in strange locations when inside an inset!
13459
13460         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13461         handling to include insets.
13462
13463         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13464
13465 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13466
13467         * LyXAction.C (init):
13468         * commandtags.h:
13469         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13470         LIGATURE_BREAK, since the name is so stupid.
13471
13472 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13473
13474         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13475         InsetInfos.
13476
13477         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13478
13479         * sp_form.[Ch]: remove.
13480
13481         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13482
13483         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13484         InsetInfo.
13485
13486         * src/buffer.C (readInset): ditto.
13487
13488 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13489
13490         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13491         menuSeparator(), endOfSentenceDot(), ldots() and
13492         hyphenationPoint(), which are therefore removed.
13493         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13494
13495         * LyXAction.C (init):
13496         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13497
13498         * paragraph.C (getWord): removed.
13499
13500         * BufferView_pimpl.C (Dispatch): use last word or selection for
13501         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13502
13503         * lyx_main.C (queryUserLyXDir): do not ask before creating
13504         user_dir, except if it has been named explicitely.
13505
13506 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13507
13508         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13509         a document of zero size.
13510
13511 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13512
13513         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13514         approriately in the c-tor and in require().
13515         (getPackages): output the appropriate LaTeX for natbib support.
13516
13517         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13518         variables "use_natbib" and "use_numerical_citations" when reading the
13519         LyX file.
13520         (readInset): read the various natbib cite commands.
13521         (validate): white-space change.
13522
13523         * bufferparams.[Ch]: new variables "bool use_natbib" and
13524         "bool use_numerical_citations".
13525         (writeFile): output them in the LyX file.
13526
13527 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13528
13529         * lyxfunc.C (getStatus): add support for all the inset insertion
13530         commands.
13531
13532         * text2.C (insertInset):
13533         * paragraph.C (insetAllowed):
13534         * BufferView_pimpl.C (insertInset): update to take in account the
13535         renaming of insertInsetAllowed
13536
13537         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13538
13539         * text2.C (getInset): new method. returns inset at cursor position.
13540
13541         * BufferView_pimpl.C (Dispatch): changes because of this.
13542
13543         * LyXAction.C (init): rename open-stuff to inset-toggle.
13544
13545         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13546
13547         * text2.C (toggleInset): renamed from openStuff; use
13548         Inset::open().
13549
13550 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13551
13552         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13553
13554         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13555
13556 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13557
13558         * buffer.C (readLyXformat2): Add filename to the error dialog
13559
13560 2001-07-18  Juergen Vigna  <jug@sad.it>
13561
13562         * tabular.C (GetCellNumber): put an assert here instead of the check!
13563
13564 2001-07-17  Juergen Vigna  <jug@sad.it>
13565
13566         * BufferView_pimpl.C (toggleSelection): adapted too.
13567
13568         * text.C (selectNextWord): adapted for use with insets.
13569         (selectSelectedWord): ditto
13570
13571 2001-07-17  Juergen Vigna  <jug@sad.it>
13572
13573         * sp_spell.C (PSpell): fix initialitation order.
13574
13575 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13576
13577         * paragraph.C: spacing
13578
13579 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13580
13581         * sp_spell.C: repair language selection for pspell
13582
13583 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13584
13585         * lyxfunc.h: change more methods to begin with lower char.
13586
13587 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13588
13589         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13590         for unknown layouts.
13591
13592 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13593
13594         * buffer.C (readLyXformat2): Generate an error dialog if there are
13595         unknown layouts.
13596
13597 2001-07-16  Juergen Vigna  <jug@sad.it>
13598
13599         * sp_spell.C: always compile ISpell part.
13600
13601         * lyxrc.C: added use_pspell entry and it's handling.
13602
13603 2001-07-13  Juergen Vigna  <jug@sad.it>
13604
13605         * sp_spell.C: removed double includes.
13606
13607 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13608
13609         Consistent use of Lsstream.h:
13610         * Lsstream.h: added using std::stringstream for consistencies sake.
13611
13612         * buffer.C: removed using std::stringstream
13613
13614         * lyxfont.C (stateText):
13615         * paragraph.C (asString):
13616         * text.C (selectNextWord, selectSelectedWord):
13617         * text2.C (setCounter):
13618         * vspace.C (asString, asLatexString):
13619         std::ostringstream -> ostringstream.
13620
13621 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13622
13623         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13624         * commandtags.h: add LFUN_HELP_ABOUTLYX
13625         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13626
13627 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13628
13629         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13630         cursorToggle()
13631         * lyx_gui_misc.C: remove spellchecker
13632         * lyxfunc.C: showSpellchecker
13633         * sp_base.h: added
13634         * sp_ispell.h: added
13635         * sp_pspell.h: added
13636         * sp_spell.C: added
13637         * sp_form.[Ch]: removed
13638         * spellchecker.[Ch]: removed
13639
13640 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13641
13642         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13643         is set.
13644         (simpleTeXSpecialChars): Simply print the input character without
13645         any special translation if pass_thru is set.
13646
13647         * layout.h: Added bool pass_thru to layout class for being able to
13648         implement pass through of a paragraph for Literate Programming.
13649
13650         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13651         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13652         * layout.C (Read): add "passthru" to list of layout tags and add
13653         code to set the pass_thru boolean when it is read.
13654
13655 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13656
13657         * trans_decl.h: remove allowed from KmodInfo
13658
13659         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13660         remove allowed code
13661         (Load): adjust
13662
13663         * paragraph_pimpl.C (erase): use boost::prior
13664
13665         * Painter.C (text): use data() instead of c_str() when length is
13666         also provided.
13667         * WorkArea.C (putClipboard): ditto
13668         * font.h (width): ditto
13669
13670         * BufferView2.C: use it-> instead of (*it). for iterators
13671         * texrow.C: ditto
13672         * paragraph_pimpl.C: ditto
13673         * paragraph.C: ditto
13674         * minibuffer.C: ditto
13675         * language.C: ditto
13676         * kbmap.C: ditto
13677         * encoding.C: ditto
13678         * counters.C: ditto
13679         * converter.C: ditto
13680         * chset.C: ditto
13681         * Variables.C: ditto
13682         * TextCache.C: ditto
13683         * MenuBackend.C: ditto
13684         * LyXAction.C: ditto
13685         * LColor.C: ditto
13686         * FloatList.C: ditto
13687         * DepTable.C: ditto
13688         * ColorHandler.C (LyXColorHandler): ditto
13689
13690 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13691
13692         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13693
13694         * text2.C (openStuff): reintroduce this method (which had been
13695         nuked in NEW_INSETS frenzy).
13696
13697         * lyxfunc.C (Dispatch): when an action has not been handled, use
13698         its name in the error message, not its number.
13699
13700         * paragraph.C (inInset): change method name to begin with lowercase.
13701
13702         * undo_funcs.C:
13703         * text2.C: updates because of this.
13704
13705 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13706
13707         * ToolbarDefaults.C (add): add spaces in error message
13708
13709 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13710
13711         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13712         (readLyXformat2): rename return_par to first_par, use lyxlex's
13713         pushToken and remove the manual push handling.
13714         (parseSingleLyXformat2Token): add another ert comp. variable:
13715         in_tabular, rename return_par to first_par. handle newlines better
13716
13717 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13718
13719         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13720
13721 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13722
13723         * text2.C (getParFromID): removed
13724
13725         * buffer.C (getParFromID): new method moved form lyxtext.
13726         * BufferView2.C (insertErrors): adjust
13727         (setCursorFromRow): adjust
13728         * BufferView_pimpl.C (restorePosition): adjust
13729         * lyxfunc.C (Dispatch): adjust
13730         * undo_funcs.C (textUndo): adjust
13731         (textRedo): adjust
13732         (textHandleUndo): adjust
13733         (textHandleUndo): adjust
13734
13735 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13736
13737         * buffer.C: up' the LYX_FORMAT
13738
13739         * lyxfont.h: turn NO_LATEX on as default
13740
13741         * buffer.C (insertErtContents): new methods of tex style compability.
13742         (parseSingleLyXformat2Token): use it several places.
13743         * tabular.C (OldFormatRead): and here
13744
13745 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13746
13747         * text2.C: remove some commented code.
13748         reindent file.
13749
13750         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13751         * trans.C: changes because of the above.
13752
13753 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13754
13755         * text2.C (setCounter): Fix counters bug with bibliography layout.
13756
13757 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13758
13759         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13760         own member functions
13761         (simpleTeXSpecialChars): ditto
13762
13763 2001-07-06  Juergen Vigna  <jug@sad.it>
13764
13765         * a lot of files: changed the access to LyXText::status and the
13766         call of undo-functions.
13767
13768         * undo.[Ch]: added a inset_id to the undo informations.
13769
13770         * undo_funcs.[Ch]: added and moved here all undo functions.
13771
13772         * lyxtext.h: give the status enum a weight, made status_ a private
13773         variable and made accessor functions for it, removed the whole bunch
13774         of undo-functions as they are now in their own file, make some
13775         functions publically available. Added function ownerParagraph with
13776         int parameter.
13777
13778         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13779         made InInset() a const function, added getParFromID() function.
13780
13781         * buffer.[Ch]: added const version for inset_iterator functions,
13782         added getInsetFromID() function.
13783
13784         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13785         changed undo functions for new version.
13786
13787 2001-07-05  Juergen Vigna  <jug@sad.it>
13788
13789         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13790         unknow mechanism does not call the proper constructor but only this
13791         one also if I request the other!?
13792
13793 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13794
13795         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13796
13797         * text2.C (LyXText): use initialization lists.
13798
13799         * lyxtext.h (Selection): initialize set_ and mark_
13800         (init): remove method
13801
13802 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13803
13804         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13805
13806 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13807
13808         * screen.[Ch]: change method names to begin with lowercase
13809
13810         * BufferView_pimpl.C (updateScrollbar): simplify further and
13811         hopefully make it a bit faster.
13812
13813 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13814
13815         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13816         calling directly xforms functions.
13817
13818         * Painter.C (Painter):
13819         * lyx_cb.C (MenuWrite):
13820         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13821         fl_display.
13822
13823         * lyx_gui.C: remove bogus guiruntime extern declaration.
13824
13825 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13826
13827         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13828         in NEW_INSETS
13829         (redoDrawingOfParagraph): ditto
13830         (redoParagraphs): ditto
13831         (cutSelection): don't create a object for CutAndPaste use the
13832         static method directly
13833         (pasteSelection): ditto
13834
13835         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13836         LyXview (+ rename)
13837
13838 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13839
13840         * modifications to some other files because of this.
13841
13842         * Makefile.am (lyx_SOURCES): add XFormsView
13843
13844         * XFormsView.[Ch]: new files
13845
13846         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13847         the main window. Move the gui dependent stuff to XFormsView
13848
13849 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13850
13851         * tabular.C (GetCellInset): update cur_cell also in the row/col
13852         version of this function.
13853
13854         * lyxfunc.C: no need to include figure_form.h here.
13855
13856         * FontLoader.h:
13857         * lyxfunc.h:
13858         * lyxscreen.h:
13859         * text2.C:
13860         * lyxvc.C: no need to include forms.h here.
13861
13862 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13863
13864         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13865
13866         * lyxfunc.C (Dispatch):
13867         * Spacing.C (set):
13868         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13869         constructor argument.
13870
13871 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13872
13873         * paragraph.C (Paragraph): dont't clear, and just set layout.
13874         (makeSameLayout): use params's copy contructor.
13875
13876         * ParagraphParameters.[Ch] (makeSame): delete method
13877
13878 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13879
13880         * Variables.[Ch]: fix indentation, rename set to isSet
13881
13882 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13883
13884         * lyxfunc.C (Dispatch): fix typo
13885
13886 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13887
13888         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13889         upper_bound.
13890
13891         * bufferlist.C: include assert.h for emergencyWrite().
13892
13893 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13894
13895         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13896           give up at last (bug #425202) !
13897
13898 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13899
13900         * lyx_gui_misc.C:
13901         * sp_form.h:
13902         * sp_form.C:
13903         * spellchecker.h:
13904         * spellchecker.C: strip spellchecker options and bring up
13905           preferences tab instead
13906
13907 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13908
13909         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13910         the istringstream constructor
13911
13912 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13913
13914         * paragraph.C (getLayout): fix return value
13915
13916         * paragraph.h: do not declare getLayout as inline.
13917
13918         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13919
13920 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13921
13922         * lyxcursor.h (operator<): new func
13923         (operator>): new func
13924         (operator>=): new func
13925         (operator<=): new func
13926
13927         * text.C (changeCase): use selection.start and selection.end
13928         (changeRegionCase): require from to be <= to. Require par to be a
13929         valid paragraph.
13930
13931         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13932
13933 2001-06-27  Juergen Vigna  <jug@sad.it>
13934
13935         * text.C (cursorLeftOneWord): changed to return the cursor and added
13936         overlay with BufferView * parameter which calls this one.
13937         (getWord): added
13938         (selectWord): use new getWord function.
13939         (changeCase): renamed from changeWordCase as and extended to work
13940         also on selections.
13941
13942         * lyxtext.h: added enum word_location
13943
13944         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13945         changeCase as this operates now also on selections.
13946
13947 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13948
13949         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13950
13951         * many files: send debug output to Debug::INFO instead of
13952         Debug::ANY.
13953
13954         * converter.C (View):
13955         (Convert):
13956         (Move): send debug output to Debug::FILES instead of console.
13957
13958 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13959
13960         * lyxfunc.C (getStatus): use func_status
13961
13962         * func_status.h: new header, describing the results of
13963         LyXFunc::getStatus;
13964
13965         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13966         LFUN_MATH_HALIGN.
13967
13968 2001-06-25  The LyX Project  <jug@sad.it>
13969
13970         * buffer.C (sgmlOpenTag):
13971         (sgmlCloseTag):
13972         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13973
13974 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13975
13976         * text2.C: remove some dead code
13977
13978         * tabular.C (GetCellInset): store the last cell checked (gotten)
13979
13980         * tabular.h: add the helper for the speedup
13981
13982         * lyxtext.h: remove some dead code
13983
13984 2001-06-26  The LyX Project  <Asger>
13985
13986         * paragraph.C: Change export to LaTeX of alignment to
13987         \begin{center} and family for better roundtrip work with reLyX.
13988
13989         * Tune the math drawing a bit.
13990
13991 2001-06-25  The LyX Project  <Asger>
13992
13993         * LColor.C (LColor): New color for math background. New color
13994         for buttons.
13995
13996 2001-06-25  The LyX Project  <jug@sad.it>
13997
13998         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13999
14000         * lyxfunc.C (Open):
14001         * bufferlist.C (newFile): do not restrict to files ending with
14002         .lyx
14003
14004         * BufferView_pimpl.C (MenuInsertLyXFile):
14005
14006 2001-06-24  The LyX Project  <jug@sad.it>
14007
14008         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14009         of compare_no_case
14010
14011 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14012
14013         * lyxtext.h: rename most methods to begin with a small char.
14014         Lots of changes because of this.
14015
14016         * paragraph.C (Paragraph): do not call fitToSize
14017         (erase): call Pimpl::erase
14018         (insertChar): call Pimpl::insertChar
14019         (insertInset): call Pipl::insertInset
14020         (breakParagraph): do not call fitToSize
14021         (breakParagraphConservative): do not call fitToSize
14022         (fitToSize): remove method
14023
14024         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14025
14026 2001-06-24  The LyX Project  <Asger>
14027
14028         * Fix Qt compilation^2
14029
14030 2001-06-24  The LyX Project  <jug@sad.it>
14031
14032         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14033         depthHook(getDepth()-1).
14034
14035         * paragraph.h:
14036         * ParagraphParameters.h:
14037         * ParameterStruct.h: change type of depth to unsigned int ==
14038         depth_type. Many adaptations to other files before of that.
14039
14040 2001-06-24  The LyX Project  <Asger>
14041
14042         * Fix Qt compilation.
14043
14044 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14045
14046         * paragraph.h: renamed several methods to begin with small letter.
14047         several changes to many parts of the code because of this.
14048
14049 2001-06-23  The LyX Project  <jug@sad.it>
14050
14051         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14052         rewritten to discard all double spaces when KeepEmpty is off
14053         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14054         to only handle newlines but not fiddle with spaces and friends.
14055
14056         * lyxfunc.C (MenuNew): when doing 'new from template', use
14057         template_path as default directory
14058
14059 2001-06-23  The LyX Project  <Asger>
14060
14061         * Clean-up of header file includes all over
14062         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14063
14064 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14065
14066         * paragraph.h: renamed from lyxparagraph.h
14067
14068 2001-06-23  Asger  <lyx@violet.home.sad.it>
14069
14070         * Buffer.h: Removed Buffer::resize
14071         * BufferList.h: Removed BufferList::resize
14072         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14073         the document lazily when we change the width, or the font settings.
14074
14075 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14076
14077         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14078
14079 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14080
14081         * buffer.h: remove out of date comment
14082
14083 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14084
14085         * lyxscreen.h:
14086         * screen.C: fix "theoretical" GC leak
14087
14088 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14089
14090         * LaTeX.C (scanAuxFile):
14091         (deplog): remove trailing \r when reading stream (useful under
14092         win32)
14093
14094 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14095
14096         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14097         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14098         and BufferView::theLockingInset(Inset*), so should use them and not
14099         access bv_->text->the_locking_inset directly.
14100
14101         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14102
14103 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14104
14105         * Makefile.am:
14106         * tex-defs.h: remove old unused file
14107
14108 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14109
14110         * BufferView_pimpl.C: fix typo, remove minibuffer message
14111           when buffer has loaded
14112
14113 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14114
14115         * lyxfunc.C (Dispatch): use stringstream
14116         (MenuNew): use stringstream
14117         (Open): use stringstream
14118
14119         * importer.C (Import): use stringstream
14120
14121         * bufferview_funcs.C (CurrentState): use stringstream
14122
14123         * LaTeX.C (run): use stringstream
14124
14125         * BufferView_pimpl.C (savePosition): use stringstream
14126         (restorePosition): use stringstream
14127         (MenuInsertLyXFile): use stringstream
14128
14129 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14130
14131         * BufferView.C:
14132         * Bullet.C:
14133         * ColorHandler.C:
14134         * FontInfo.C:
14135         * FontLoader.C:
14136         * LColor.C:
14137         * LaTeXFeatures.C:
14138         * Painter.C:
14139         * gettext.C:
14140         * lyx_gui_misc.C:
14141         * lyxserver.C:
14142         * vspace.C: removed // -*- C++ -*- as first line.
14143
14144         * lyxfind.h:
14145         * version.h: added // -*- C++ -*- as first line.
14146
14147 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14148
14149         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14150
14151         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14152         of string
14153
14154 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14155
14156         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14157         of floats.
14158
14159 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14160
14161         * gettext.C: include LString.h even when --disable-nls is on.
14162
14163 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14164
14165         * converter.h (Get): changed argument type from int to
14166         FormatList::size_type to avoid unnecessary conversion.
14167
14168         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14169         before using it.
14170
14171 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14172
14173         * gettext.h: include LString.h even when --disable-nls is on.
14174
14175 2001-06-07  Juergen Vigna  <jug@sad.it>
14176
14177         * text.C (BreakAgain): subst spaces with tabs.
14178
14179         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14180         (resizeInsetsLyXText): set force on resizeLyXText.
14181
14182 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14183
14184         * gettext.h (gettext_init):
14185         (locale_init): use a real definition instead of a macro
14186
14187 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14188
14189         * Bufferview_pimpl.C:
14190         * LColor.h:
14191         * LColor.C: further lcolor tidies
14192
14193 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14194
14195         * BufferView_pimpl.C (updateScrollbar): simplify.
14196
14197         * BufferView2.C: don't include insets/insetinfo.h, change
14198         prototype for insertInset and call the Pimpl version. let
14199         updateInset call Pimpl version.
14200
14201         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14202         gotoInset to BufferView::Pimpl
14203
14204 2001-06-01  Juergen Vigna  <jug@sad.it>
14205
14206         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14207         inside a LockingInset (is the update needed at all?).
14208
14209 2001-05-31  Juergen Vigna  <jug@sad.it>
14210
14211         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14212         here not the old one otherwise how should we compare it afterwards
14213         if it's the same!
14214
14215 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14216
14217         * lyxfont.C:
14218         * tabular.C:
14219         * tabular-old.C:
14220         * FontInfo.C: bring C functions into global namespace when
14221         necessary
14222
14223 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14224
14225         * LString.h: make sure config.h has been loaded before LString.h.
14226
14227         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14228         (one for each char read by EatLine!).
14229
14230         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14231         variables.
14232
14233 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14234
14235         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14236         to the same as the par we break from
14237
14238 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14239
14240         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14241
14242         * MenuBackend.C (expand): also create menu entries for wide
14243         versions of the floats.
14244
14245         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14246
14247         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14248
14249         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14250         frontends/Makefile.am
14251
14252         * text2.C: adjust
14253         * text.C: adjust
14254
14255
14256         * tabular.C (getTokenValue): add std::
14257
14258         * tabular-old.C (getTokenValue): add std::
14259         (getTokenValue): ditto
14260         (getTokenValue): ditto
14261
14262         * screen.C (ToggleSelection): adjust
14263
14264         * lyxtext.h: put selection cursors inside a Selection struct.
14265
14266         * lyxfunc.C (moveCursorUpdate): adjust
14267
14268         * lyxfont.C (latexWriteStartChanges): add std::
14269
14270         * lyxfind.C: adjust
14271
14272         * font.h: delete with(char const *, LyXFont const &)
14273
14274         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14275
14276         * FontInfo.C (getFontname): add std::
14277
14278         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14279         (workAreaButtonPress): adjust
14280         (tripleClick): adjust
14281         (update): adjust
14282         (moveCursorUpdate): adjust
14283         (Dispatch): adjust
14284
14285         * BufferView2.C (gotoInset): adjust
14286
14287 2001-05-30  Juergen Vigna  <jug@sad.it>
14288
14289         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14290         to check pspell I add this as default as I now have new pspell
14291         libraries and they seem to use this.
14292
14293 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14294
14295         * text2.C (CutSelection): make the cursor valid before the call to
14296         ClearSelection.
14297
14298 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14299
14300         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14301         relied on 0 terminated strings and other horrors. Bug found due to
14302         the new assert in lyxstring!
14303
14304         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14305         KP_ keys.
14306
14307 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14308
14309         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14310         to latinkeys.bind.
14311
14312         * lyxfunc.C (processKeySym): change method of getting to the
14313         self-insert char.
14314
14315         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14316         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14317         * BufferView_pimpl.[Ch]: here as private methods.
14318
14319 2001-05-28  Juergen Vigna  <jug@sad.it>
14320
14321         * text.C (SetHeightOfRow): added the update() call again as it is
14322         needed to initialize inset dimensions!
14323
14324 2001-05-16  Juergen Vigna  <jug@sad.it>
14325
14326         * text2.C (SetCharFont): Add new function with BufferView * and
14327         bool toggleall parameters for setting insets internal fonts.
14328         (SetFont): Freeze the undo as we may change fonts in Insets and
14329         all this change should be inside only one Undo!
14330
14331         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14332         setting font's in insets as for them we have the SetFont function!
14333
14334 2001-05-15  Juergen Vigna  <jug@sad.it>
14335
14336         * text2.C (ClearSelection): to be sure we REALLY don't have any
14337         selection anymore!
14338
14339         * tabular.C (TeXCellPreamble): fixed the left border problem for
14340         multicolumn cells.
14341
14342 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14343
14344         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14345         dependancy file
14346
14347 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14348
14349         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14350         LFUN_BREAKPARAGRAPH.
14351
14352         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14353         help test to "internal only", similar for LFUN_INSERT_URL
14354
14355         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14356         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14357         auto_region_delete and deadkeys.
14358
14359 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14360
14361         * LColor.h:
14362         * LColor.C: remove some dead entries, tidy a little
14363
14364 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14365
14366         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14367         commented code.
14368         (Dispatch): implement LFUN_ESCAPE
14369
14370         * commandtags.h: add LFUN_ESCAPE
14371
14372         * LyXAction.C (init): add entry for LFUN_ESCAPE
14373
14374         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14375         Remove commented code.
14376         (insertNote): moved here
14377         (open_new_inset): moved here
14378
14379         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14380         BufferView_pimpl
14381
14382 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14383
14384         * kbmap.C (findbinding): clean it up and make it work correctly.
14385
14386         * lyx_main.C (init): do not pass argc and argv as parameters
14387
14388 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14389
14390         * buffer.C: fix path for OS/2 & Win32
14391
14392         * lyx_gui.C:
14393         * lyx_main:
14394         * lyx_main.C: Added os:: class.
14395
14396         * os2_defines.h: update
14397
14398 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14399
14400         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14401         better by trying again with reduced state.
14402
14403 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14404
14405         * lyxrc.C (read): print error about invalid key sequence only when
14406         debugging (because not all latinX keysyms are known to some X
14407         servers)
14408
14409         * kbsequence.C (getiso): add a few std:: qualifiers
14410         (getiso): comment out extra return statement.
14411
14412 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14413
14414         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14415         handling.
14416         (Dispatch): enhance the accent inset a bit. (not perfect)
14417
14418 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14419
14420         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14421
14422 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14423
14424         * bufferlist.C (emergencyWrite): fix assert() call
14425
14426 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14427
14428         * text.C (InsertChar): Added trivial patch to only send the "you
14429         can not do multiple spaces this way" message once during a
14430         session.
14431
14432 2001-05-08  Baruch Even  <baruch@lyx.org>
14433
14434         * Makefile.am: Changed order of libraries to get LyX to link properly
14435         with the gnome frontend.
14436
14437 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14438
14439         * LaTeXFeatures.h: add a std:: qualifier
14440
14441 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14442
14443         * paragraph.C (String): use stringstream
14444
14445 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14446
14447         * paragraph.C (writeFile): remove footflag arg
14448
14449         * buffer.C (makeLaTeXFile): use stringstream
14450         (latexParagraphs): remove footnot gurba
14451
14452         * LaTeXFeatures.C (getPackages): use stringstream
14453         (getMacros): likewise
14454         (getTClassPreamble): likewise
14455         (getFloatDefinitions): new method
14456
14457         * paragraph.C (writeFile): reindent
14458         (Erase): reindent
14459
14460         * WorkArea.h: revert the xpos + etc changes.
14461
14462         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14463
14464         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14465
14466         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14467         (pasteSelection): likewise
14468         * text2.C (CreateUndo): likewise
14469
14470 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14471
14472         * minibuffer.C (peek_event): temporarily reduce the functionality
14473         of the minibuffer (to allow args on lfuns)
14474
14475         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14476         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14477
14478         * buffer.C (readInset): add compability reading of old float
14479         lists, add reading of new style float list.
14480         (readInset): avoid reevaluation of inscmd.getCmdName()
14481         (getLists): reindent
14482
14483         * MenuBackend.C (MenuItem): implement parsing of
14484         md_floatlistinsert and md_floatinsert.
14485         (expand::LastFiles): move initalizaton of iterators out of loop,
14486         avoid reevaluation.
14487         (expand::Documents): introduce typdedef vector<string> Strings,
14488         and use it.
14489         (expand::ExportFormats): introduce typedef vector<Format const *>
14490         Formats, and use it.
14491         (expand): implement FloatListInsert and FloatInsert.
14492
14493         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14494         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14495         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14496
14497         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14498         handling.
14499         (Dispatch::LFUN_FLOAT_LIST): implement
14500
14501 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14502
14503         * LaTeX.C (run): Fix problem with --export code.
14504
14505 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14506
14507         * BufferView.[Ch] (workarea): removed.
14508         (getClipboard) new method; wrapper for workarea()->getClipboard()
14509
14510         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14511         bug.
14512
14513         * WorkArea.h (width, height, xpos, ypos): These methods all
14514         returned the dimensions of the work_area sub-area of WorkArea,
14515         resulting in a position error if the WorkArea were resized. Now
14516         return the dimensions of the entire WorkArea.
14517
14518         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14519
14520 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14521
14522         * LaTeX.C (deplog): correct the syntax of regex reg1
14523
14524 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14525
14526         * undo.C: remove !NEW_INSETS cruft
14527
14528 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14529
14530         * text2.C: remove !NEW_INSETS cruft
14531
14532         * text.C: remove !NEW_INSETS cruft
14533
14534         * tabular.C: remove !NEW_INSETS cruft
14535
14536         * spellchecker.C: remove !NEW_INSETS cruft
14537
14538         * lyxtext.h: remove !NEW_INSETS cruft
14539
14540         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14541
14542         * lyxfunc.C: remove !NEW_INSETS cruft
14543
14544         * lyxfind.C: remove !NEW_INSETS cruft
14545
14546         * lyx_cb.C: remove !NEW_INSETS cruft
14547
14548         * figureForm.C: remove  !NEW_INSETS cruft
14549
14550         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14551
14552         * buffer.[Ch]: remove !NEW_INSETS cruft
14553
14554         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14555
14556         * CutAndPaste.C: remove !NEW_INSETS cruft
14557
14558         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14559
14560         * BufferView2.C: remove !NEW_INSETS cruft
14561
14562         * BufferView.h: remove !NEW_INSETS cruft
14563
14564 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14565
14566         * Lsstream.h: include LString.h before the sstream headers to
14567         fix problem with gcc 2.95.3 and lyxstring
14568
14569 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14570
14571         * lyx_main.C: add using directives when needed for C functions
14572         declared in std:: namespace.
14573
14574 2001-04-27  Juergen Vigna  <jug@sad.it>
14575
14576         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14577         (SetHeightOfRow): comment out the update call should not be needed!
14578
14579 2001-04-13  Juergen Vigna  <jug@sad.it>
14580
14581         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14582         (LyXTabular): tried to minimize operator= operations (and realized
14583         hopfully Lars wish).
14584
14585 2001-04-27  Juergen Vigna  <jug@sad.it>
14586
14587         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14588
14589 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14590
14591         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14592
14593         * buffer.C (readInset): hack to make listof algorithm work
14594
14595         * BufferView_pimpl.C: hack to make listof algorithm work
14596
14597 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14598
14599         * LyXAction.C: removed all !NEW_INSETS cruft
14600         (init): moved lfun_item in method
14601
14602         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14603
14604 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14605
14606         * BufferView2.C (theLockingInset): white space.
14607
14608 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14609
14610         * minibuffer.C: include <iostream>
14611
14612         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14613
14614         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14615
14616         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14617
14618         * text.[Ch] (TransposeChars): new method
14619
14620 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14621
14622         * call message directly through LyXView instead of through LyXFunc
14623         * BufferView2.C: adjust
14624         * BufferView_pimpl.C: adjust
14625         * FontLoader.C: adjust
14626         * buffer.C: adjust
14627         * bufferview_funcs.C: adjust
14628         * converter.C: adjust
14629         * figureForm.C: adjust
14630         * importer.C: adjust
14631         * lyx_cb.C: adjust
14632         * lyx_gui_misc.C: adjust
14633         * lyxfunc.C: adjust
14634         * lyxvc.C: adjust
14635         * text2.C: adjust
14636         + more files in subdirs
14637
14638         * lyxparagraph.h (size): move up int file
14639         (GetLayout): ditto
14640
14641         * adjust all uses of Assert to lyx::Assert.
14642
14643         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14644         lyxfunctional in namespace lyx
14645         * layout.C (hasLayout): ditto
14646         (GetLayout): ditto
14647         (GetLayout): ditto
14648         (delete_layout): ditto
14649         (NumberOfClass): ditto
14650         * converter.C (GetFormat): ditto
14651         (GetNumber): ditto
14652         (Add): ditto
14653         (Delete): ditto
14654         (SetViewer): ditto
14655         * bufferlist.C (getFileNames): ditto
14656         (emergencyWriteAll): ditto
14657         (exists): ditto
14658         (getBuffer): ditto
14659         * MenuBackend.C (hasSubmenu): ditto
14660         (hasMenu): ditto
14661         (getMenu): ditto
14662         * BufferView_pimpl.C (getInsetByCode): ditto
14663
14664 2001-04-18  Juergen Vigna  <jug@sad.it>
14665
14666         * vspace.C (asLatexString): fixed the 100% problem.
14667
14668 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14669
14670         * lyxfunc.C (Dispatch):
14671         * minibuffer.C:
14672         * minibuffer.h: add a few std:: qualifiers
14673
14674 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14675
14676         * minibuffer.[Ch]: reimplement so that commands is initiated and
14677         run from lyxfunc, simplified som handling, and made the completion
14678         and history code for complete. wip.
14679
14680         * lyxfunc.C (processKeySym): call message
14681         (miniDispatch): new temporary method
14682         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14683         (LFUN_MESSAGE): implement
14684         (LFUN_MESSAGE_PUSH): implement
14685         (LFUN_MESSAGE_POP): implement
14686         (initMiniBuffer): the initial/defualt minibuffer message.
14687
14688         * lyxfont.[Ch]: inline some more getters
14689
14690         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14691
14692         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14693
14694         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14695         (AutoSave): use LFUN_MESSAGE
14696         (Reconfigure): ditto
14697
14698         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14699
14700         * figureForm.C: use LFUN_MESSAGE
14701
14702         * converter.C (runLaTeX): use LFUN_MESSAGE
14703
14704         * bufferview_funcs.C: use LFUN_MESSAGE
14705         (Melt): ditto
14706         (changeDepth): ditto
14707
14708         * bufferparams.h: use boost::
14709
14710         * bufferlist.h: inherit privately from noncopyable
14711
14712         * bufferlist.C (loadLyXFile): remove some commented code.
14713
14714         * buffer.C (runChktex): use LFUN_MESSAGE
14715
14716         * ShareContainer.h: inherit privately from noncopyable
14717
14718         * ParagraphParameters.[hC] (depth): inline it.
14719
14720         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14721         methods.
14722         (message): new method
14723         (messagePush): ditto
14724         (messagePop): ditto
14725         (show): init minibuffer
14726         (showState): direct call
14727
14728         * LaTeX.[Ch]: inherit privately from noncopyable
14729         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14730         instead of WriteStatus.
14731
14732         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14733
14734         * BufferView_pimpl.C (buffer): don't init minibuffer
14735         (workAreaButtonPress): use LFUN_MESSAGE
14736         (workAreaButtonRelease): ditto
14737         (savePosition): ditto
14738         (restorePosition): ditto
14739         (MenuInsertLyXFile): ditto
14740         (workAreaExpose): don't init minibuffer
14741         (update): remove commented code, simplify
14742
14743         * BufferView2.C (openStuff): use LFUN_MESSAGE
14744         (toggleFloat): ditto
14745         (menuUndo): ditto
14746         (menuRedo): ditto
14747         (copyEnvironment): ditto
14748         (pasteEnvironment): ditto
14749         (copy): ditto
14750         (cut): ditto
14751         (paste): ditto
14752         (gotoInset): ditto
14753         (updateInset): remove some commented code
14754
14755         * lastfiles.h: inherit privately from noncopyable
14756         * layout.h: ditto
14757         * lyx_gui.h: ditto
14758         * lyx_main.h: ditto
14759         * lyxlex.h: ditto
14760         * lyxlex_pimpl.h: ditto
14761
14762         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14763         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14764         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14765
14766         * LyXAction.h: inherit privately from noncopyable, add methods
14767         func_begin, func_end, returning iterators to the func map.
14768
14769         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14770         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14771         (func_begin): new method
14772         (func_end): new method
14773
14774         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14775         and not)
14776         (copySelection): ditto
14777         (pasteSelection): ditto
14778
14779         * BufferView.C: whitespace change
14780         * BufferView.h: inherit privately from noncopyable
14781
14782 2001-04-16  Allan Rae  <rae@lyx.org>
14783
14784         * tabular-old.C (l_getline):
14785         * spellchecker.C (sc_check_word):
14786         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14787         an unrecognised preprocessor directive.  So ensure they're wrapped.
14788
14789 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14790
14791         * src/exporter.C (Export): Give an error message when path to file
14792         contains spaces.
14793
14794 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14795
14796         * LaTeX.C (deplog): Always check that foundfile exists.
14797
14798 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14799
14800         * lyx_main.h:
14801         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14802
14803 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14804
14805         * tabular.[Ch] (getLabelList): implement new method
14806
14807         * minibuffer.h: comment ouf setTiimer
14808
14809         * minibuffer.C (ExecutingCB): constify res
14810         (peek_event): constify s
14811         (Set): constify ntext
14812         (Init): constify nicename
14813
14814         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14815
14816         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14817         (savePosition): use two params to Minibuffer::Set
14818         (restorePosition): ditto
14819
14820 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14821
14822         * lyx_main.C: include language.h
14823
14824         * Makefile.am (lyx_main.o): add language.h
14825
14826 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14827
14828         * exporter.C:
14829         * paragraph.C:
14830         * screen.C:
14831         * tabular.C:
14832         * CutAndPaste.C: include gettext.h
14833
14834         * lyxfont.h: remove old hack with ON and OFF.
14835
14836         * lyxparagraph.h:
14837         * lyxfont.h: do not include language.h...
14838
14839         * BufferView2.C:
14840         * LaTeXFeatures.C:
14841         * Painter.C:
14842         * bufferview_funcs.C:
14843         * font.C:
14844         * lyxfont.C:
14845         * text.C:
14846         * text2.C:
14847         * trans_mgr.C:
14848         * paragraph.C: ... but do it here instead
14849
14850 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14851
14852         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14853
14854         * tabular.C: small reformat
14855
14856         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14857         NEW_INSETS version
14858         (GetChar): ditto
14859         (BreakParagraph): ditto
14860         (SetOnlyLayout): ditto
14861         (SetLayout): ditto
14862
14863         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14864         with one arg less.
14865
14866         * lastfiles.C: removed most using decl, add std:: where needed
14867
14868         * buffer.C: ws changes
14869
14870         * MenuBackend.C (class compare_format): put into anon namespace
14871         (expand): constify label, names, action, action2
14872         (expand):
14873
14874         * text.C (SingleWidth): constify font
14875         (IsBoundary): constify rtl2
14876         (GetVisibleRow): constify ww
14877
14878         * LaTeX.C (deplog): constify logfile
14879
14880         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14881         start_x, end_x
14882         (workAreaExpose): constify widthChange, heightChange
14883
14884         * lyxrow.C (par): moved
14885         (height): moved
14886         (next): moved
14887         * lyxrow.h: as inlines here
14888
14889         * lyxfont.h (shape): moved from lyxfont.C
14890         (emph): moved from lyxfont.C
14891
14892         * lyxfont.C (LyXFont): use initialization list for all
14893         constructors
14894         (shape): move to lyxfont.h as inline
14895         (emph): move to lyxfont.h as inline
14896
14897
14898 2001-04-04  Juergen Vigna  <jug@sad.it>
14899
14900         * vspace.C: had to include stdio.h for use of sscanf
14901
14902 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14903
14904         * BufferView.h:
14905         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14906         independent of xforms.
14907
14908 2001-04-02  Juergen Vigna  <jug@sad.it>
14909
14910         * spellchecker.C: fixed namespace placing!
14911
14912 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14913
14914         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14915         the LyXParagraph * is 0.
14916
14917 2001-03-29  Juergen Vigna  <jug@sad.it>
14918
14919         * vspace.C: added support for %, c%, p%, l%.
14920         (stringFromUnit): added helper function.
14921         (asLatexString): changed to give right results for the %-values.
14922
14923         * buffer.C: convert the widthp in a width%.
14924
14925 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14926
14927         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14928         figureForm.[Ch].
14929
14930         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14931         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14932
14933         * lyx_cb.[Ch]: see above.
14934
14935         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14936         form1.[Ch].
14937
14938         * form1.[Ch]:
14939         * lyx.[Ch]: replaced by figure_form.[Ch].
14940
14941         * lyx_gui.C:
14942         * lyx_gui_misc.C:
14943         * lyxfunc.C: changed headers associated with above changes.
14944
14945 2001-03-27  Juergen Vigna  <jug@sad.it>
14946
14947         * BufferView_pimpl.C: set the temporary cursor right!
14948
14949 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14950
14951         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14952
14953 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14954
14955         * LString.h: removed "using std::getline"!
14956
14957         * BufferView_pimpl.C (Dispatch): changes due to changes in
14958         InsetInclude::Params.
14959
14960         * buffer.C (tag_name): removed redundant break statements as they were
14961         producing lots of warnings with my compiler.
14962
14963 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14964
14965         * LString.h: add "using std::getline" when using the real <string>.
14966
14967 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14968
14969         * buffer.C: removed bitset usage.
14970         PAR_TAG moved to an anonymous name space.
14971         (tag_name): new funtion, also in the anonymous namespace.
14972         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14973         (makeDocBookFile): clean code. Completed transition from string arrays
14974         to string vectors.
14975         (SimpleDocBookOnePar): code clean.
14976
14977 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14978
14979         * tabular.C: add some comments.
14980
14981 2001-03-22  Juergen Vigna  <jug@sad.it>
14982
14983         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14984         compatibility read a bit and fixed bug with minipage in different
14985         depth.
14986
14987 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14988
14989         * buffer.C (pop_tag): removed.
14990         (push_tag): removed.
14991         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14992         array replaced with vector. Added support for CDATA sections.
14993         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14994         at any nest level.
14995         (makeDocBookFile): XML conformant declaration of CDATA section,
14996         fixed bug related to <emphasis> in the first paragraph char.
14997         (sgmlOpenTag): exclude empty tags.
14998         (sgmlCloseTag): ditto.
14999
15000         * buffer.h (pop_tag): removed.
15001         (push_tag): removed.
15002
15003 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15004
15005         * language.h (Languages): added size_type and size().
15006
15007 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15008
15009         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15010         response on compability reading of minipages. One probliem is that
15011         the old usage of minipages was «flertydig»
15012
15013         * several files here and in subdirs: don't use static at file
15014         scope use anon namespaces instead.
15015
15016 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15017
15018         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15019         LaTeX output. This is necessary for Literate document
15020         processing.
15021
15022 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15023
15024         * buffer.C: insert hfill when needed.
15025
15026         * tabular.C (l_getline): use string::erase, small whitespace change.
15027
15028         * BufferView_pimpl.C: try the anon namespace.
15029         * WorkArea.C: ditto
15030
15031 2001-03-16  Juergen Vigna  <jug@sad.it>
15032
15033         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15034         otherwise it won't open options-dialogs.
15035
15036         * buffer.C: honor pextraWidth(p) on converting minipages.
15037
15038         * tabular.C (l_getline): changed the functions to strip trailing \r.
15039
15040 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15041
15042         * BufferView_pimpl.C:
15043         * minibuffer..C: added "using SigC::slot" declaration.
15044
15045 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15046
15047         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15048
15049         * text2.C: ditto
15050
15051         * text.C: ditto
15052
15053         * paragraph.C: ditto
15054
15055         * lyxtext.h: NO_PEXTRA
15056
15057         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15058
15059         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15060         * ParameterStruct.h: ditto
15061         * ParagraphParameters.h: ditto
15062         * lyxparagraph.h: ditto
15063
15064 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15065
15066         * buffer.C: add compability for minipage alignment.
15067         (latexParagraphs): remove unwanted pextra check.
15068
15069         * several files: remove CXX_WORKING_NAMESPACES
15070
15071         * buffer.C (pop_tag): tie is in namespace boost
15072
15073         * BufferView.h: noncopyable is in namespace boost
15074         * lyxlex.h: ditto
15075         * lyx_main.h: ditto
15076         * lyx_gui.h: ditto
15077         * layout.h: ditto
15078         * lastfiles.h: ditto
15079         * bufferlist.h: ditto
15080         * ShareContainer.h: ditto
15081         * LyXView.h: ditto
15082         * LyXAction.h: ditto
15083         * LaTeX.h: ditto
15084
15085 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15086
15087         * Merging changes from BRANCH_MVC back into HEAD.
15088
15089         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15090
15091 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15092
15093         * BufferView_pimpl.C: change from intl.C
15094
15095         * combox.h:
15096         * combox.C:
15097         * Makefile.am: move combox.*
15098
15099         * form1.h:
15100         * form1.C:
15101         * lyx_gui.C:
15102         * intl.h:
15103         * intl.C: remove dialog (covered by prefs)
15104
15105 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15106
15107         * lyxfunc.C (Dispatch): removed redundant break statement.
15108
15109 2001-03-14  Juergen Vigna  <jug@sad.it>
15110
15111         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15112
15113 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15114
15115         * buffer.C: add hack to fix compability reading of minipages.
15116
15117 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15118
15119         * buffer.C (getLists): Cleanup.
15120
15121 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15122
15123         * lyxfont.C (update): don't honor toggleall on font size.
15124
15125 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15126
15127         * bmtable.c:
15128         * bmtable.h:
15129         * Makefile.am: moved to frontends/xforms/
15130
15131         * lyx_gui_misc.C:
15132         * lyxfunc.C:
15133         * BufferView_pimpl.C: changes for moved mathpanel
15134
15135 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15136
15137         * gettext.h: fix gettext_init() in --disable-nls
15138
15139 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15140
15141         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15142
15143 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15144
15145         * lyx.C:
15146         * lyx.h: strip external form
15147
15148 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15149
15150         * BufferView_pimpl.C: add comment, destroySplash()
15151
15152 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15153
15154         * BufferView_pimpl.C:
15155         * LyXAction.C:
15156         * buffer.C:
15157         * commandtags.h:
15158         * lyxfunc.C: use re-worked insetinclude
15159
15160 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15161
15162         * buffer.C: add using std::stringstream.
15163
15164         * lyx_cb.C: readd using std::ios.
15165
15166         * buffer.C: add using std::map.
15167
15168         * BufferView_pimpl.C: add using std::vector.
15169
15170         * ShareContainer.h: add std:: to swap.
15171
15172         * buffer.h: add some typedefs
15173         * buffer.C (getLists): use them
15174         (getLists): renamed from getTocList.
15175         add a counter for the different float types and use it in the
15176         generated string.
15177         (getLists): use the same counter for the NEW_INSETS and the "non"
15178         NEW_INSETS
15179
15180         * lyx_cb.h: remove unused items, includes, using etc.
15181
15182         * ShareContainer.h: remove some commented code, add more comments
15183         and "documentation".
15184
15185 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15186
15187         * buffer.C (getTocList): make the list also when NEW_INSETS is
15188         defined.
15189
15190         * buffer.h: remove TocType
15191
15192         * buffer.C (getTocList): change to return a map<string,
15193         vector<TocItem> >, implement for dynamic number of list.
15194
15195         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15196         * text2.C (PasteSelection): adjust
15197         * CutAndPaste.C (pasteSelection): adjust
15198
15199         * FloatList.C (FloatList): update from the new_insets branch.
15200         * Floating.[Ch]: ditto
15201         * LaTeXFeatures.C: ditto
15202         * buffer.C: ditto
15203         * lyxlex_pimpl.C: ditto
15204
15205         * paragraph.C (Last): remove when NEW_INSETS is defined.
15206
15207         * other file: changes because of the above.
15208
15209 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15210
15211         * lyxparagraph.h: rename next to next_, previous to previous_,
15212         make them private for NEW_INSETS. Rename Next() to next(),
15213         Previous() to previous().
15214
15215         * other files: changes because of the above.
15216
15217 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15218
15219         * BufferView.h:
15220         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15221         problem.
15222
15223 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15224
15225         * main.C (main): pass lyx_localedir to gettext_init().
15226
15227         * gettext.h: remove locale_init and gettext_init macros
15228
15229         * gettext.C (locale_init): new function
15230         (gettext_init): new function
15231
15232         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15233         setlocale().
15234
15235 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15236
15237         * Moved credits to frontends:
15238         * credits.[Ch]: removed
15239         * credits_form.[Ch]: removed
15240         * lyx_gui_misc.C: remove credits stuff
15241         * Makefile.am:
15242
15243 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15244
15245         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15246
15247         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15248         unneeded destructor.
15249
15250         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15251         a standalone pointer again.
15252
15253         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15254
15255 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15256
15257         * Makefile.am:
15258         * filedlg.h:
15259         * filedlg.C:
15260         * LyXAction.C:
15261         * ToolbarDefaults.C:
15262         * bufferlist.C:
15263         * commandtags.h:
15264         * form1.C:
15265         * form1.h:
15266         * lyx_cb.C:
15267         * lyx_cb.h:
15268         * lyxfunc.h:
15269         * lyxfunc.C:
15270         * BufferView_pimpl.C: use new file dialog in GUII
15271
15272         * lyx_cb.h:
15273         * lyx_cb.C: remove LayoutsCB to Toolbar
15274
15275 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15276
15277         * ShareContainer.h (get): add std:: qualifier
15278
15279 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15280
15281         * ShareContainer.h: define a proper ShareContainer::value_type
15282         type (and use typename to please compaq cxx)
15283
15284 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15285
15286         * lyxparagraph.h: move serveral local vars to
15287         ParameterStruct/ParagraphParameters., use ShareContainer in
15288         FontTable., make vars in FontTable private and add getter and
15289         setter.
15290
15291         * paragraph.C: changes because of the above.
15292
15293         * lyxfont.h: remove copy constructor and copy assignment. (the
15294         default ones is ok), move number inside FontBits. move inlines to
15295         lyxfont.C
15296
15297         * lyxfont.C: add number to initializaton of statics, move several
15298         inlines here. constify several local vars. some whitespace
15299         cleanup. Dont hide outerscope variables.
15300
15301         * Spacing.h: add two new constructors to match the set methods.
15302
15303         * ShareContainer.h: new file, will perhaps be moved to support
15304
15305         * ParameterStruct.h: new file
15306
15307         * ParagraphParameters.h: new file
15308
15309         * ParagraphParameters.C: new file
15310
15311         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15312         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15313
15314         * BufferView_pimpl.C: ParagraphParameter changes.
15315         * buffer.C: Likewise.
15316         * bufferview_funcs.C: Likewise.
15317         * text.C: Likewise.
15318         * text2.C: Likewise.
15319
15320 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15321
15322         * lyxfind.C (LyXReplace): do not redefine default argument in
15323         implementation.
15324         (IsStringInText): ditto
15325         (SearchForward): ditto
15326         (SearchBackward): ditto
15327
15328 2001-03-06  Juergen Vigna  <jug@sad.it>
15329
15330         * lyxfind.C (IsStringInText): put parentes around expressions.
15331
15332 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15333
15334         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15335
15336 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15337
15338         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15339
15340         * stl_string_fwd.h: add comment
15341
15342         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15343
15344         * tabular.h:
15345         * tabular.C: remove unused DocBook methods
15346
15347         * intl.C:
15348         * language.C:
15349         * paragraph.C:
15350         * buffer.C:
15351         killed DO_USE_DEFAULT_LANGUAGE
15352
15353 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15354
15355         * lyx_gui.C: do not include language.h.
15356
15357         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15358         arguments in function implementation.
15359
15360 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15361
15362         * BufferView_pimpl.C: add <ctime>
15363
15364 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15365
15366         * BufferView_pimpl.C: add using std::find_if
15367
15368 2001-02-27  José Matos  <jamatos@fep.up.pt>
15369
15370         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15371         by OnlyPath.
15372
15373 2001-02-11  José Matos  <jamatos@fep.up.pt>
15374
15375         * buffer.C (makeDocBookFile): command styles now have a parameter as
15376         "title" by default.
15377
15378 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15379
15380         * layout_forms.[Ch]: removed
15381         * lyx_cb.[Ch]: out character
15382         * lyx_gui.C: out character
15383         * lyx_gui_misc.C: out character
15384         * bufferview_funcs.C: : out character,
15385         added toggleall as parameter in ToggleAndShow
15386
15387 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15388
15389         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15390
15391         * text2.C (SetCurrentFont): Disable number property at boundary.
15392
15393 2001-02-26  Juergen Vigna  <jug@sad.it>
15394
15395         * lyxfunc.C (getStatus): added a string argument override function so
15396         that this is correctly called from LyXFunc::Dispatch if it contains a
15397         do_not_use_argument which is used!
15398         (Dispatch): added check for "custom" export and call appropriate func.
15399
15400 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15401
15402         * lyxrc.C: Add language_command_local, language_use_babel and
15403         language_global_options.
15404
15405         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15406
15407         * buffer.C (makeLaTeXFile): Use language_use_babel and
15408         language_global_options.
15409
15410 2001-02-23  Juergen Vigna  <jug@sad.it>
15411
15412         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15413         which works with LyXText and putted it inside BufferView. Here now we
15414         only call for that part the BufferView::Dispatch() function.
15415
15416         * BufferView.C (Dispatch): added.
15417
15418         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15419         functions which needs to use a LyXText over from LyXFunc.
15420         (MenuInsertLyXFile): added
15421         (getInsetByCode): added
15422         (moveCursorUpdate): added
15423         (static TEXT): added
15424
15425 2001-02-22  Juergen Vigna  <jug@sad.it>
15426
15427         * BufferView_pimpl.C (update): call a status update to see if LyXText
15428         needs it.
15429
15430 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15431
15432         * vc-backend.C (revert): implement for CVS
15433         (getLog): implement for CVS
15434
15435 2001-02-20  Juergen Vigna  <jug@sad.it>
15436
15437         * text2.C (ClearSelection): added BufferView param for inset_owner call
15438
15439         * lyxfunc.C (TEXT): added this function and use it instead of
15440         directly owner->view()-text of getLyXText().
15441
15442 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15443
15444         * src/layout_forms.C: out preamble
15445         * src/layout_forms.h: out preamble
15446         * src/lyx_cb.C: out preamble
15447         * src/lyx_cb.h: out preamble
15448         * src/lyx_gui.C: out preamble
15449         * src/lyx_gui_misc.C: out preamble
15450         * src/lyxfunc.C: connect with guii preamble
15451
15452 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15453
15454         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15455
15456 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15457
15458         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15459         whether to run bibtex.
15460
15461 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15462
15463         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15464
15465 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15466
15467         * Makefile.am (lyx_SOURCES): removed bibforms.h
15468
15469         * vspace.h: doxygen
15470
15471         * text.C (GetVisibleRow): make several local vars const
15472
15473         * tabular.C: small cleanup.
15474
15475         * lyxserver.C (callback): use compare instead of strncmp
15476
15477         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15478         inlines to after class or to paragraph.C
15479
15480         * lyxfont.h: remove friend operator!=
15481
15482         * converter.h: move friend bool operator< to non friend and after
15483         class def.
15484
15485         * combox.h: small cleanup
15486
15487         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15488         to inlines after class def.
15489
15490         * buffer.C (pop_tag): use string operations instead of strcmp
15491
15492         * bmtable.c: doxygen, small cleanup
15493
15494         * LaTeX.h: remove friend operator==
15495
15496 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15497
15498         * screen.C:
15499         * lyxrc.[Ch]:
15500         * lyxfunc.C:
15501         * lyxfont.[Ch]:
15502         * lyx_cb.C:
15503         * intl.[Ch]:
15504         * commandtags.h:
15505         * buffer.C:
15506         * WorkArea.[Ch]:
15507         * LyXAction.C:
15508         * BufferView_pimpl.C:
15509         * BufferView.[Ch]: remove cruft
15510
15511 2001-02-14  Juergen Vigna  <jug@sad.it>
15512
15513         * lyxfunc.C: removed #if 0 unused code
15514
15515         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15516
15517         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15518
15519         * text2.C (SetSelection): added a BufferView * parameter
15520
15521 2001-02-13  Juergen Vigna  <jug@sad.it>
15522
15523         * lyxfunc.C (Dispatch): fixed protected blank problem.
15524         * BufferView2.C (protectedBlank): added LyxText * parameter.
15525
15526         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15527         (AppendColumn): same as above for column_info.
15528
15529         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15530         (moveCursorUpdate): use a LyXText param for support of InsetText.
15531
15532         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15533         (tripleClick): ditto
15534
15535         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15536
15537         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15538
15539         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15540
15541         * text2.C (SetSelection): set correct update status if inset_owner
15542         (ToggleFree): ditto
15543
15544 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15545
15546         * tabular.C: remove some commented code.
15547
15548 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15549
15550         * BufferView_pimpl.C: call hideSplash()
15551
15552         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15553
15554         * include_form.h:
15555         * bibforms.h: remove
15556
15557         * lyxfunc.C:
15558         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15559           add LFUN_CHILD_CREATE
15560
15561         * counters.h: fix tiny typo
15562
15563         * lyx_cb.C:
15564         * lyx.h:
15565         * lyx_gui.C:
15566         * lyx.C: move splash to frontends/xforms/
15567
15568         * lyx_gui_misc.C: move Include and Bibform to frontends
15569
15570         * lyxvc.h: clarify comment
15571
15572         * vspace.C: tiny housekeeping
15573
15574 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15575
15576         * text.C (PrepareToPrint): RTL Fix.
15577
15578         * paragraph.C (GetUChar): New method.
15579         (String):  Use GetUChar.
15580
15581         * buffer.C (asciiParagraph): Use GetUChar.
15582
15583 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15584
15585         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15586
15587 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15588
15589         * buffer.h:
15590         * buffer.C: rename to getLogName(), handle
15591           build log / latex log nicely
15592
15593 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15594
15595         * MenuBackend.C:
15596         * MenuBackend.h: remove support for reference menuitem type.
15597
15598 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15599
15600         * BufferView_pimpl.C: housekeeping
15601         * BufferView_pimpl.h:
15602         * LyXView.h:
15603         * Makefile.am:
15604         * Timeout.C:
15605         * Timeout.h:
15606         * minibuffer.h: move Timeout GUI-I
15607
15608 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15609
15610         * lyxrc.C (read): Update converters data-structures.
15611
15612 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15613
15614         * LaTeX.h (operator!=): add operator != for Aux_Info
15615
15616 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15617
15618         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15619
15620         * LaTeXLog.C: deleted, useful code moved to Buffer
15621
15622         * buffer.h:
15623         * buffer.C: new function getLatexLogName()
15624
15625         * lyx_gui_misc.C:
15626         * lyx_gui.C:
15627         * lyxvc.C:
15628         * lyxvc.h:
15629         * lyxfunc.C: use frontends for LaTeX and VC logs
15630
15631 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15632
15633         * LaTeX.h: yet another std:: that Allan forgot.
15634
15635         * Variables.C (set): renamed from isset(), because this clashes
15636         with some HP-UX macros (grr).
15637
15638 2001-02-06  Allan Rae  <rae@lyx.org>
15639
15640         * LaTeX.h: Another bug fix.  Missing std:: this time.
15641
15642 2001-02-04  Allan Rae  <rae@lyx.org>
15643
15644         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15645         floats problem. I've left it commented out because it's not quite
15646         correct.  It should also test that the current object is a table or
15647         figure inset.  But I haven't gotten around to figuring out how to do
15648         that.  I *think* it'll be something like: "table" == inset.type()
15649
15650         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15651         bool.
15652
15653 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15654
15655         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15656         all the citation/databases/styles in the auxilary file.
15657         (run): Rerun latex if there was a babel language error.
15658
15659 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15660
15661         * text.C (Backspace): Preserve the font when changing newline char
15662         with a space.
15663         (BreakParagraph): If the cursor is before a space, delete the space.
15664
15665         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15666
15667 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15668
15669         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15670         new argument (code).
15671         (ChangeCitationsIfUnique): New method.
15672
15673         * paragraph.C (GetPositionOfInset): Handle bibkey.
15674
15675 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15676
15677         * BufferView_pimpl.h: change type of Position::par_pos to
15678         LyXParagraph::size_type.
15679
15680 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15681
15682         * BufferView_pimpl.C (savePosition, restorePosition): Write
15683         messages to minibuffer.
15684
15685 2001-01-28  José Matos  <jamatos@fep.up.pt>
15686
15687         * buffer.C (makeDocBookFile): adds support for document language.
15688         A silly restriction on the name of LatexCommand types where removed.
15689         Added support for CDATA sections, allows to chars unescaped, used
15690         among others in code, to avoid escape < and >.
15691
15692 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15693
15694         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15695         saved positions instrad of a stack. Furthermore, a position is
15696         stored using paragraph id/paragraph position.
15697
15698         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15699         Remove LFUN_REF_BACK.
15700
15701 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15702
15703         * converter.C (dvipdfm_options): New method.
15704
15705 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15706
15707         * vspace.C (isValidLength): Fix for empty input string.
15708
15709 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15710
15711         * LyXAction.C (init): change description of LFUN_FIGURE to
15712         "Insert Graphics"
15713
15714 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15715
15716         * LaTeX.C: add using directive
15717
15718 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15719
15720         * MenuBackend.C (expand): Fix the sorting of the formats.
15721
15722 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15723
15724         * lyx_main.C: tiny error message fix
15725
15726 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15727
15728         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15729         calling fl_initialize(). This fixes the problem with ',' as
15730         decimal separator in text files.
15731
15732 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15733
15734         * trans.C (process): Fix the keymap bug.
15735
15736 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15737
15738         * LaTeX.C (scanAuxFiles): New method. Provides support for
15739         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15740         (scanLogFile) Scan for "run BibTeX" messages.
15741
15742         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15743         OT1 font encoding. Also, load the aecompl package if the ae
15744         package is loaded.
15745
15746         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15747
15748 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15749
15750         * texrow.C (increasePos): turn two error messages into debug
15751         messages.
15752
15753 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15754
15755         * LaTeX.C (scanAux): Handle the \@input macro.
15756         (runBibTeX): Use scanAux().
15757
15758         * language.C (latex_options_): New field.
15759
15760         * LaTeXFeatures.C (getMacros): Add language macros.
15761
15762         * buffer.C (makeLaTeXFile): Small fix.
15763
15764 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15765
15766         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15767
15768         * text2.C: add a using directive.
15769
15770 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15771
15772         * BufferView2.C:
15773         * lyx_gui_misc.h:
15774         * lyxfr1.C:
15775         * lyxfunc.C: kill LyXBell.
15776
15777 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15778
15779         * text.C (IsBoundary): Remove the error message
15780
15781         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15782
15783         * lyxrc.C (setDefaults): Correct initialization value for
15784         font_norm_type.
15785
15786 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15787
15788         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15789         gotoError().
15790
15791         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15792         and GotoNextNote().
15793
15794         * src/LyXAction.C: Added reference-next.
15795
15796         * text.C (InsertChar): Use contains instead of strchr.
15797
15798         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15799
15800 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15801
15802         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15803         alignment commands (when needed).
15804
15805         * text.C (InsertChar): Add ':' to number separator chars.