]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
9449533a900845bbb2a07748c9d51f0ed1175678
[lyx.git] / src / ChangeLog
1 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2
3         * text3.C: use Debug::DEBUG a bit more
4
5         * text.C (leftMargin): try to simplify a tiny bit change var x to
6         l_margin. Dont output the wide margins always.
7         (rightMargin): no margin in inner texts
8
9         * rowpainter.h (nestMargin): new func
10         (changebarMargin): new func
11         (rightMargin): new func
12
13         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
14         now functions.
15         (paintLast): ditto
16
17         * factory.C (createInset): modify setDrawFrame
18
19         * cursor.C: use Debug::DEBUG a bit more
20
21 2004-08-14  André Pönitz  <poenitz@gmx.net>
22
23         * coordcache.[Ch]:
24         * Makefile.am: new files to accomodate an 'external' (x,y)-position
25     cache for all insets in (at least partially) visible (top-level)
26           paragraphs.
27
28   * BufferView_pimpl.C: reset external coord cache before every update.
29           This means the coord cache only contains valid entries.
30
31 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
32
33         bug 1096
34         * BufferView_pimpl.C (getInsetByCode): move function out of class
35         and change in to a template in anon namespace. Also fix to do what
36         suits us better.
37
38 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
39
40         bug 1305
41         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
42         of char
43         (breakParagraph): rename par to par_offset and use a local
44         reference. Add code to keep the language over a rebreak.
45         (breakParagraphConservative): rename par to par_offset, use a
46         local reference
47         (mergeParagraph): ditto
48         (outerHook): ditto
49         (isFirstInSequence): ditto
50         (outerFont): rename pit to par_offset
51
52         * paragraph.C: ws change
53         * paragraph.h: ditto
54         * text3.C: ditto
55         * text.C: ditto
56
57 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
58
59         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
60         treatment for ']'
61
62         * paragraph.C (simpleTeXOnePar): when we have a \item with
63         optional argument, enclose the argument with curly brackets (in
64         case it contains a closing square bracket)
65
66         * text2.C (editXY):
67         * text2.C (editXY):
68         * text3.C (checkInsetHit): constify
69
70 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
71
72         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
73         documents (bug 1629)
74
75 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
76
77         Fix toggling of collapsable insets with the mouse (bug 1558)
78
79         * lyxfunc.C (dispatch): adapt to LCursor changes
80
81         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
82         make sure that dispatch is not invoked twice
83
84         * cursor.C (needsUpdate): new method
85         (dispatch): return void
86         (result): new method, to access the DispatchResult of the cursor.
87
88 2004-08-13  José Matos  <jamatos@lyx.org>
89
90         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
91
92 2004-08-13  André Pönitz  <poenitz@gmx.net>
93
94         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
95
96         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
97           multiple cells
98
99 2004-08-12  André Pönitz  <poenitz@gmx.net>
100
101         * text3.C: take out the 'cursor right' form insertInset and only
102         do it in those places when it is really needed. Fixes crash on
103         C-m...
104
105 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
106
107         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
108
109         * BufferView_pimpl.C (setBuffer): initialize the current font of
110         the underlying LyXText
111
112 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
113
114         * kbsequence.C (print): use UI native formatting for menu
115         shortcuts
116
117         * text.C (insertChar): call Paragraph::insertChar with a font
118         argument (cosmetic)
119
120         * paragraph.C (insertInset, insertChar): the version that takes a
121         LyXFont argument is now a wrapper around the other one (the
122         opposite used to be true).
123
124         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
125         argument. Font setting is done in Paragraph now.
126
127 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
128
129         * outputparams.h: add new members intitle and lang.
130
131         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
132         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
133
134 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
135
136         * text3.C (dispatch): remove special handling of button 4 and 5,
137         it is now taken care of in the frontend code.
138
139 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
140
141         * Spacing.h: add <string> (STLPort compile fix)
142
143 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
144
145         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
146
147 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
148
149         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
150         to bool.
151
152         * converter.C (showMessage): inherit from unary_function, make
153         operator() const.
154
155         * buffer.C (writeFile): initialize retval
156
157         * InsetList.h: rename private variable list to list_
158         * InsetList.[Ch]: adjust accordingly.
159
160 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
161
162         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
163         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
164         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
165         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
166         * ParagraphParameters.C, LaTeXFeatures.C: replace
167         "support/std_sstream.h" with <sstream>
168
169 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
170
171         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
172         * lyxsocket.C (LyXServerSocket): ditto
173         (serverCallback): ditto
174
175 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
176
177         * LaTeXFeatures.C: check release date when loading jurabib.
178
179 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
180
181         * lyxserver.C (startPipe): call register_socket_callback
182         (endPipe): call unregister_socket_callback
183
184 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
185
186         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
187         (LyXServerSocket): register the callback
188         (LyXServerSocket): unregister the callback
189         (fd): delete function
190         (serverCallback): improve error checking and setup the callbacks.
191         (dataCallback): change arg to fd.
192         (writeln): new func (copied fro the client socket) used for server
193         write to client.
194         (LyXDataSocket): simplify
195         (~LyXDataSocket): close ann unregiser callback
196         (server): delete function
197         (fd): delete function
198         (readln): small changes, improve some std::string usage
199         (writeln): constify a bit
200
201 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
202
203         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
204         Qt frontend
205
206 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
207
208         * BufferView_pimpl.C (setBuffer): set the layout combox value only
209         after it has been populated
210
211 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
212
213         * text2.C (insertInset): move cursor when inserting inset.
214
215 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
216
217         * kbmap.C (findbindings): a couple of new methods. returns a
218         container of kb_sequence objects. The real work is done by the
219         private recursive version
220         (printbindings): uses findbindings to print out a bracketed list
221         of bindings (renamed from findbinding).
222
223         * MenuBackend.C (binding): use kb_keymap::findbindings
224
225         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
226
227 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
228
229         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
230
231 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
232
233         * paragraph.C (isWord): return true on insets that report
234         isLetter().
235
236         * text.C (getWord): use Paragraph::isWord to decide what is in a
237         word and what is not; fix bug 1609.
238
239 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
240
241         * tex-strings.C: add "none" to string_paperpackages[], fixes
242         off-by-one-error in the paperpackage selection.
243
244         * lyxlex.[Ch]:
245         * tex-strings.[Ch]: char const * string[n]
246         -> char const * const string[]
247
248 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
249
250         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
251         command, return early.
252
253 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
254
255         * debug.h: add DEBUG to enum and fix size of ANY.
256
257         * debug.C: add support for Debug::DEBUG
258         (showTags): cast errorTags.level to unsigned int
259
260         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
261         (redoCurrentBuffer): ditto
262         (updateScrollbar): ditto
263         * cursor.C (dispatch): ditto
264         * text2.C (setLayout): ditto
265         (setFont): ditto
266         (updateCounters): ditto
267         (editXY): ditto
268         (deleteEmptyParagraphMechanism): ditto
269
270 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
271
272         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
273         annotations to cleanup the Makefile slightly.
274
275 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
276
277         * lyxrc.C: do not set user_email to a default value but use empty
278         instead. The entry used to be translated, which does not work
279         since at the point where lyxrc is constructed there is no
280         translation service available
281
282         * messages.C (getLocaleDir): remove and use directly
283         lyx_localedir() instead
284
285 2004-06-02  Angus Leeming  <leeming@lyx.org>
286
287         Fix crash caused by dereferencing null pointer 'exportdata' in
288         OutputParams by creating a new ExportData variable on the heap,
289         storing it in a boost::shared_ptr.
290         The crash was triggered when generating an Instant Preview
291         of an external inset.
292
293         * Makefile.am: add outputparams.C
294
295         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
296         (c-tor): allocate memory to it.
297
298         * exporter.C (c-tor): associated changes.
299
300 2004-06-01  Angus Leeming  <leeming@lyx.org>
301
302         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
303         contains data before calling isInset(0). (Bug 1513.)
304
305 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
306
307         * exporter.C (checkOverwrite): new method
308         * exporter.C (copyFile): new method
309         * exporter.C (Export): copy referenced files to the document dir
310         * exporter.[Ch]: new class ExportedFile
311         * exporter.[Ch]: new class ExportData. Contains currently the
312         names of referenced external files
313         * outputparams.h: add exportdata member.
314
315 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
316
317         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
318         version.C-tmp
319
320 2004-05-19  Angus Leeming  <leeming@lyx.org>
321
322         * LaTeXFeatures.C:
323         * ToolbarBackend.C:
324         * bufferparams.C:
325         * lyxfunc.C: small changes due to the introduction of namespace
326         lyx::frontend and the moving of namespace biblio to lyx::biblio.
327
328 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
329
330         * text3.C (dispatch): supress update when only moving the cursor
331         * cursor.C (selHandle): remove commented code
332
333 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
334
335         * paragraph.C (startTeXParParams): correct column count
336         * CutAndPaste.C (pasteSelection): remove const_cast
337         * output_docbook.C (docbookParagraphs): remove const_cast
338         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
339         const_cast and return ParagraphList::const_iterator
340         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
341         * output_plaintext.C (writeFileAscii): remove const_cast
342         * paragraph.[Ch] (simpleTeXOnePar): make const
343         * paragraph_funcs.C (outerPar): use const iterators
344         * paragraph_pimpl.C (validate): use const iterators
345         * text.C (setHeightOfRow): use const iterators
346
347 2004-05-17  Angus Leeming  <leeming@lyx.org>
348
349         * lfuns.h:
350         * LyXAction.C (init): new LFUN_INSET_REFRESH.
351
352         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
353         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
354         if the citation engine has changed.
355
356 2004-05-14  José Matos  <jamatos@lyx.org>
357
358         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
359         if the textclass does not provide it. Have it different for sgml and
360         xml.
361         support the language of document.
362         * output_docbook.C (docbookParagraphs):
363         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
364         first anchor as the id of the paragraph, remove special case code.
365         * sgml.C (escapeChar): escape only < & >.
366
367 2004-05-14  Angus Leeming  <leeming@lyx.org>
368
369         * bufferparams.h: move biblio::CiteEngine enum here to minimize
370         dependencies on src/frontends/controllers/biblio.h. Define a
371         CiteEngine_enum wrapper class to enable the enum to be forward
372         declared.
373
374 2004-05-12  Angus Leeming  <leeming@lyx.org>
375
376         * buffer.C: up LYX_FORMAT to 234.
377         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
378         use_numerical_citations with a single biblio::CiteEngine cite_engine
379         variable.
380         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
381
382 2004-05-13  José Matos  <jamatos@lyx.org>
383
384         * converter.h:
385         * converter.C (Converter, readFlags): add xml member.
386         * outputparams.h: add XML flavor.
387         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
388
389 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
390
391         * lyxfunc.C (dispatch):
392         (getStatus): fix handling of LFUN_SEQUENCE
393
394 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
395
396         * debug.C (showLevel): do not forget the end-of-line marker
397
398 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
399
400         * kbmap.C (read): do not stop parsing a bind file when an error
401         occurs (bug 1575)
402
403 2004-04-29  Angus Leeming  <leeming@lyx.org>
404
405         * cursor.C:
406         * factory.C:
407         * pariterator.C:
408         * text2.C: wrap a bunch of #warning statements
409         inside #ifdef WITH_WARNINGS blocks.
410
411 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
412
413         * buffer.C: increment format to 233.
414
415 2004-04-28  Angus Leeming  <leeming@lyx.org>
416
417         * BufferView_pimpl.C:
418         * lyxfunc.C:
419         * text3.C:
420         s/updateToolbar()/updateToolbars()/
421         s/Toolbar.h/Toolbars.h/
422
423 2004-04-28  Angus Leeming  <leeming@lyx.org>
424
425         * BufferView.[Ch] (c-tor):
426         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
427         No longer passes these data to the WorkArea generator.
428
429 2004-04-28  Angus Leeming  <leeming@lyx.org>
430
431         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
432
433 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
434
435         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
436
437 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
438
439         * output_latex.C (TeXEnvironment): make sure that there is a line
440         break before \end{foo} for the last paragraph of a document
441         (TeXOnePar): if the paragraph is at the end of the document (or
442         inset) and the language has to be reset, then make sure that the
443         line break is _before_ the language command, not after (fixes bug
444         1225); also make sure that the language reset command is the first
445         thing after the paragraph (to ensure proper nesting of
446         environments and thus fix bug 1404)
447
448 2004-04-21  John Levon  <levon@movementarian.org>
449
450         * ToolbarBackend.h:
451         * ToolbarBackend.C: make "name" be a programmatic name
452         and a gui_name field.
453
454         * lyxfunc.C: display the minibuffer on M-x
455
456 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
457
458         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
459         (bug 1526)
460
461 2004-04-19  Angus Leeming  <leeming@lyx.org>
462
463         * BufferView_pimpl.C (setBuffer): changed preview interface.
464
465         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
466         possible values.
467
468 2004-04-19  John Levon  <levon@movementarian.org>
469
470         * BufferView_pimpl.C:
471         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
472
473 2004-04-05  Angus Leeming  <leeming@lyx.org>
474
475         * text.C (redoParagraphs): add call to updateCounters(), thereby
476         fixing the missing "Figure #:" label from the caption of a
477         figure float.
478
479 2004-04-13  Angus Leeming  <leeming@lyx.org>
480
481         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
482         cursor is clicked out of an inset.
483
484 2004-04-13  Angus Leeming  <leeming@lyx.org>
485
486         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
487         than an InsetOld one.
488
489 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
490
491         * format.[Ch]: add editor to Format
492         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
493         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
494
495 2004-04-08  André Pönitz  <poenitz@gmx.net>
496
497         * metricsinfo.h: remove PainterInfo::width member
498
499 2004-04-08  Angus Leeming  <leeming@lyx.org>
500
501         * lyx_sty.C (boldsymbol_def): modify so that it outputs
502         "\providecommand" rather than "\newcommand", thereby preventing
503         clashes with packages that define "\boldsymbol" themselves.
504         Eg, beamer.
505
506 2004-04-08  Angus Leeming  <leeming@lyx.org>
507
508         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
509         thereby squashing an unnecessary warning.
510
511 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
512
513         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
514         setBuffer()
515
516 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
517
518         * BufferView.C (setCursor): call redoParagraph (some insets could
519         have been opened)
520         (putSelectionAt): remove the 'double update' trick
521
522         * BufferView_pimpl.C (fitCursor): call refreshPar
523         (workAreaDispatch): remove an uneeded update call
524         (dispatch): remove some manual update calls
525
526         * cursor.[Ch]: remove cached_y_, updatePos
527         (selHandle): set noUpdate when appropriate
528
529         * lyxfunc.C (dispatch): track if we need an update
530
531         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
532
533         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
534         (paintSelection): cheap optimization, do not call cursorX when not
535         needed
536         (paintPars): change signature
537         (refreshPar): add
538         (paintText): adjust
539         (paintTextInset): adjust
540
541         * text.C: adjust
542
543 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
544
545         * lengthcommon.C: compilation fix: remove explicit array size from
546         unit_name[] and friends
547
548 2004-04-05  Angus Leeming  <leeming@lyx.org>
549
550         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
551
552         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
553         present only for the preferences dialog.
554         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
555
556 2004-04-05  Angus Leeming  <leeming@lyx.org>
557
558         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
559         to enable the frontends to export changes to lyxrc correctly.
560
561         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
562
563 2004-04-07  André Pönitz  <poenitz@gmx.net>
564
565         * cursor.[Ch] (selClear, adjust): remove math
566
567         * cursor_slice.C: more agressive assert
568
569         * lyxfunc.C:
570         * BufferView_pimpl.C: rework mouse event dispatch
571
572         * dociterator.C:
573         * paragraph.C:
574         * text2.C:
575         * text3.C: adjust
576
577 2004-04-05  André Pönitz  <poenitz@gmx.net>
578
579         * cursor.[Ch] (valign, halign...): remove unneeded functions
580
581 2004-04-05  Angus Leeming  <leeming@lyx.org>
582
583         * lyxlength.[Ch] (unit_name et al.): const-correct.
584
585 2004-04-05  Angus Leeming  <leeming@lyx.org>
586
587         * BufferView_pimpl.C:
588         * buffer.C:
589         * counters.C:
590         * cursor.C:
591         * lyxfunc.C
592         * paragraph.C:
593         * pariterator.C:
594         * text.C:
595         * text2.C:
596         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
597
598 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
599
600         * text3.C (getStatus): add LFUN_BEGINNINGBUF
601
602 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
603
604         * lyxfind.C: add a couple of inTexted() tests + other small fixes
605         * BufferView_pimpl.[Ch] (getStatus)
606         * BufferView.[Ch] (getStatus): add
607         * lyxfunc.C (getStatus): move lfuns handled in
608         BufferView::dispatch to te function above
609         * Cursor.C (setSelection): set selection() = true
610
611 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
612
613         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
614
615 2004-03-31  Angus Leeming  <leeming@lyx.org>
616
617         * lyxfunc.C (dispatch): Fall through to the generic
618         Dialogs::show("preamble").
619
620 2004-03-31  Angus Leeming  <leeming@lyx.org>
621
622         * lyxfunc.C (dispatch): Fall through to the generic
623         Dialogs::show("spellchecker").
624
625 2004-03-31  Angus Leeming  <leeming@lyx.org>
626
627         * lyxfunc.C (getStatus, dispatch): changed invocation of the
628         preferences dialog.
629
630 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
631
632         * BufferView.C
633         * cursor.[Ch]
634         * dociterator.[Ch]:
635         * insetiterator.[Ch]:
636         * lyxfind.C:
637         * lyxfunc.C:
638         * pariterator.[Ch]:
639         * text2.C:
640         * undo.[Ch]: s/DocumentIterator/DocIterator/g
641
642 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
643
644         * BufferView.C (setCursor, putSelectionAt): call edit to open the
645         insets where we are putting the cursor.
646
647 2004-03-31  Angus Leeming  <leeming@lyx.org>
648
649         * lfuns.h:
650         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
651
652         * lyxrc.[Ch] (read, write): overloaded member functions taking
653         a std::[io]stream arguments.
654
655         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
656
657 2004-03-31  Angus Leeming  <leeming@lyx.org>
658
659         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
660         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
661
662         * lyxtextclass.C (load): if the text class couldn't be loaded, then
663         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
664
665 2004-03-31  Angus Leeming  <leeming@lyx.org>
666
667         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
668         the LFUN_ALL_INSETS_TOGGLE code.
669
670 2004-03-30  Angus Leeming  <leeming@lyx.org>
671
672         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
673         has died. Fall through to the generic Dialogs::show("document").
674
675 2004-03-30  Angus Leeming  <leeming@lyx.org>
676
677         * lfuns.h:
678         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
679         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
680
681         * lyxfunc.C (getStatus, dispatch): define the actions for these
682         lfuns. Little more than a cut and pste job from ControlDocument.C
683
684         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
685
686 2004-03-30  Angus Leeming  <leeming@lyx.org>
687
688         * lfuns.h:
689         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
690         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
691
692         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
693         open/closed state of ollapsable insets. Usage:
694
695         all-inset-toggle <state> <name>, where
696         <state> == "open" || "closed" || "toggle" and
697         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
698
699         * lyxtext.h, text2.C (toggleInset): removed.
700
701         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
702         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
703         now passes LFUN_INSET_TOGGLE to the found inset.
704
705         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
706         is now invoked as "all-insets-toggle toggle branch".
707
708 2004-03-30  Angus Leeming  <leeming@lyx.org>
709
710         * dociterator.C:
711         * insetiterator.C:
712         * pariterator.[Ch]: added/corrected header blurb.
713
714 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
715
716         * dociterator.[Ch]: add an inset_ member
717         (backwardPos): implemented
718         (backwardPos, forwardPos): use inset_ when the stack is empty.
719         (doc_iterator_begin, doc_iterator_end): implemented
720         * pariterator.[Ch]: adjust, add begin, end
721         * insetiterator.[Ch]: adjust, add begin, end
722         * cursor.C:
723         * document.C:
724         * BufferView.C:
725         * BufferView_pimpl.C:
726         * CutAndPaste.C: adjust
727
728 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
729
730         * buffer.C: increment file format to 232.
731         * LaTeXFeatures.C: add bibtopic package.
732         * bufferparams.[Ch]: param \use_bibtopic.
733
734         * lyxrc.[Ch]: add lyxrc bibtex_command
735         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
736
737         * buffer.C: increment file format to 231.
738
739 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
740
741         * dociterator.C: implement forwardPar
742         * iterators.[Ch]: remove, replaced by
743         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
744         * BufferView.C:
745         * BufferView_pimpl.C:
746         * CutAndPaste.C:
747         * buffer.C:
748         * bufferview_funcs.C:
749         * cursor.C:
750         * lyxfind.C
751         * lyxfunc.C
752         * paragraph_funcs.C
753         * toc.C:
754         * Makefile.am: adjust
755
756 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
757
758         * CutAndPaste.C (pasteSelection): fix 2 crashes
759         (eraseSelection): fix a crash
760         * paragraph_funcs.C: remove a warning
761
762 2004-03-28  Angus Leeming  <leeming@lyx.org>
763
764         * lfuns.h:
765         * LyXAction.C (init): new LFUN_PRINT.
766
767         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
768
769 2004-03-27  Angus Leeming  <leeming@lyx.org>
770
771         * lfuns.h:
772         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
773
774         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
775
776 2004-03-27  Angus Leeming  <leeming@lyx.org>
777
778         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
779         insetlist always contains non-null pointers to insets.
780
781 2004-03-26  Angus Leeming  <leeming@lyx.org>
782
783         * src/BufferView_pimpl.C:
784         * src/CutAndPaste.C:
785         * src/buffer.C:
786         * src/iterators.C:
787         * src/output_plaintext.C:
788         * src/outputparams.h:
789         * src/paragraph_funcs.C:
790         * src/rowpainter.C:
791         * src/text.C:
792         * src/text2.C:
793         * src/frontends/controllers/ControlErrorList.C:
794         * src/frontends/gtk/FileDialogPrivate.C:
795         * src/frontends/gtk/GPainter.C:
796         * src/frontends/gtk/GToolbar.C:
797         * src/frontends/qt2/QRef.C:
798         * src/mathed/math_scriptinset.C: squash compiler warnings.
799
800 2004-03-26  Angus Leeming  <leeming@lyx.org>
801
802         * ispell.C (LaunchIspell::start):
803         * lyx_cb.C (AutoSaveBuffer::start):
804         invoke run(DontWait) rather than runNonBlocking().
805
806 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
807
808         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
809
810 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
811
812         * kbsequence.C (print): adjust
813
814         * kbmap.C (printKeySym): rename and change signature
815         (printKey): use LyXKeySym::print()
816
817 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
818
819         * undo.C: add using std::advance to compile for stlport
820
821 2004-03-24  Angus Leeming  <leeming@lyx.org>
822
823         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
824         it leads to a crash when no buffer is present.
825
826 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
827             Martin Vermeer  <martin.vermeer@hut.fi>
828
829         * lyxfunc.C (dispatch):
830         * bufferparams.C (readToken): use the new LColor::setColor
831
832         * LColor.[Ch] (setColor): new version that takes two strings as
833         argument and creates a new color entry if necessary
834
835 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
836
837         * buffer.C (makeLaTeXFile): if the main latex file that is
838         processed is usually a subdocument of some master, then pretend
839         for a while that it is actually the master
840
841 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
842
843         * buffer.C (getLabelList):
844         (getBibkeyList): use getMasterBuffer()
845         (getMasterBuffer): new method. Returns the main document in the
846         case where one is using included documents.
847
848 2004-03-25  André Pönitz  <poenitz@gmx.net>
849
850         * Makefile.am:
851         * iterators.[Ch]:
852         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
853
854         * ParagraphList_fwd.h: change ParagraphList to a std::vector
855
856         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
857         text*.C over here. Rename namespace CutAndPaste to lyx::cap
858
859         * ParameterStruct.h: merge with ParagraphParameters
860
861         * lyxtext.h: remove LyXText::parOffset() and getPar()
862
863         * text3.C: Remove all 'manual' update calls. We do now one per user
864         interaction which is completely sufficient.
865
866         * Bidi.C:
867         * BufferView.[Ch]:
868         * BufferView_pimpl.C:
869         * FontIterator.[Ch]:
870         * MenuBackend.C:
871         * ParagraphParameters.[Ch]:
872         * buffer.C:
873         * buffer.h:
874         * bufferlist.C:
875         * cursor.[Ch]:
876         * cursor_slice.[Ch]:
877         * dociterator.[Ch]:
878         * errorlist.[Ch]:
879         * factory.C:
880         * lfuns.h:
881         * lyxfind.C:
882         * lyxfunc.C:
883         * output_docbook.[Ch]:
884         * output_latex.[Ch]:
885         * output_linuxdoc.[Ch]:
886         * output_plaintext.[Ch]:
887         * paragraph.[Ch]:
888         * paragraph_funcs.[Ch]:
889         * paragraph_pimpl.[Ch]:
890         * rowpainter.C:
891         * tabular.[Ch]:
892         * text.C:
893         * text2.C:
894         * toc.C:
895         * undo.[Ch]: adjust
896
897         * frontends/controllers/ControlDocument.C:
898         * frontends/controllers/ControlErrorList.C:
899         * frontends/controllers/ControlSpellchecker.C:
900         * insets/inset.C:
901         * insets/inset.h:
902         * insets/insetbase.h:
903         * insets/insetbibitem.C:
904         * insets/insetbox.C:
905         * insets/insetbranch.C:
906         * insets/insetcaption.C:
907         * insets/insetcharstyle.C:
908         * insets/insetcharstyle.h:
909         * insets/insetcollapsable.C:
910         * insets/insetcollapsable.h:
911         * insets/insetert.C:
912         * insets/insetfloat.C:
913         * insets/insetfoot.C:
914         * insets/insetmarginal.C:
915         * insets/insetnote.C:
916         * insets/insetoptarg.C:
917         * insets/insettabular.C:
918         * insets/insettext.C:
919         * insets/insettext.h:
920         * insets/insetwrap.C:
921         * mathed/math_mboxinset.C:
922         * mathed/math_nestinset.C:
923         * mathed/math_scriptinset.C:
924         * mathed/math_scriptinset.h:
925         * support/types.h:
926
927 2004-03-24  Angus Leeming  <leeming@lyx.org>
928
929         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
930         deal with any child processes that have finished but are waiting to
931         communicate this fact to the rest of LyX.
932
933 2004-03-24  Angus Leeming  <leeming@lyx.org>
934
935         64-bit compile fixes.
936
937         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
938         (c-tor): pass lyx::pos_types rather than ints.
939
940         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
941         lyx::pos_type.
942
943         * text.C (Delete): compile fix.
944         (getPar): ensure that function declaration is the same as that in
945         the header file.
946
947 2004-03-23  Angus Leeming  <leeming@lyx.org>
948
949         * ispell.C (LaunchIspell):
950         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
951         a boost::shred_ptr rather than a std::auto_ptr.
952
953 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
954
955         * lyxfunc.C (getStatus): handle read-only buffers correctly;
956         handle LFUN_FILE_INSERT_*
957
958         * lyxrc.C (setDefaults, getDescription, output, read):
959         * lyxrc.h: remove ps_command
960
961 2004-03-22  Angus Leeming  <leeming@lyx.org>
962
963         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
964         Ensure that error_handler is processed once only and that all data
965         is saved before attempting to output any warning messages.
966
967         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
968
969 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
970
971         * tabular.C (TeXRow): crash fix (from Kayvan and André)
972
973 2004-03-19  André Pönitz  <poenitz@gmx.net>
974
975         * cursor.[Ch] (reset): take main text inset as argument
976
977         * BufferView: adjust
978         * BufferView_pimpl.C: adjust
979
980         * paragraph.[Ch]: fix completely broken operator=()
981
982 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
983
984         * LColor.C (getFromLyXName): make sure that the color name is used
985         as lowercase.
986
987 2004-03-17  Angus Leeming  <leeming@lyx.org>
988
989         * lfuns.h:
990         * LyXAction.C (init): remove LFUN_FORKS_KILL.
991
992         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
993         dialog and to kill a forked process.
994
995 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
996
997         * text2.C (setCursorFromCoordinates): fix font problem
998
999 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1000
1001         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1002         bogus "rebuild cursor" code
1003
1004 2004-03-11  André Pönitz  <poenitz@gmx.net>
1005
1006         * buffer.[Ch]: use InsetText instead of LyXText as container for
1007         the main lyx text.
1008
1009         * dociterator.[Ch]: drop the BufferView * member which is not needed
1010         anymore after the change to buffer.C
1011
1012         * paragraph_funcs.C:
1013         * text.C:
1014         * text2.C:
1015         * BufferView.[Ch]:
1016         * BufferView_pimpl.[Ch]:
1017         * cursor.[Ch]:
1018         * cursor_slice.[Ch]: adjust
1019
1020         * text3.C: fix bug in mathDispatch
1021
1022 2004-03-08  André Pönitz  <poenitz@gmx.net>
1023
1024         * undo.[Ch]: use 'StableDocumentIterator' as base for
1025         the Undo struct.
1026
1027 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1028
1029         * LaTeXFeatures.C:
1030         * bufferparams.[Ch]: add jurabib support and param.
1031
1032         * LaTeX.C: add FIXME/comment.
1033
1034 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1035
1036         * buffer.C: increment file format to 230.
1037
1038 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1039
1040         * cursor.C (dispatch): avoid infinite loops
1041
1042 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1043
1044         * rowpainter.C (paintSelection): fix x coordinates
1045
1046 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1047
1048         * text.C (rowBreakPoint): fix breaking before displayed insets
1049
1050 2004-03-01  André Pönitz  <poenitz@gmx.net>
1051
1052         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1053
1054         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1055
1056         * Makefile.am:
1057         * BufferView.C:
1058         * BufferView_pimpl.C:
1059         * buffer.C:
1060         * lyxfind.C:
1061         * lyxfunc.C:
1062         * text.C:
1063         * text2.C:
1064         * text3.C: adjust
1065
1066 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1067
1068         * lyxtext.h:
1069         * text.C:
1070         * text2.C:
1071         * rowpainter.C:
1072         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1073         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1074
1075 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1076
1077         * Bidi.[Ch] (computeTables): const correctness
1078         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1079         fill_hfill, fill_label_hfill and x from Row
1080         * lyxtext.h: prepareToPrint returns a RowMetrics
1081         * rowPainter.C: adjust
1082         * text.C (prepareToPrint): use width, not textWidth. adjust
1083         (redoParagraphInternal, cursorX): adjust
1084         * text2.C (getColumnNearX): adjust
1085         (init): put a default value to the top LyXText::width
1086
1087 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1088
1089         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1090
1091 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1092
1093         * lyxtext.h: add FontIterator class
1094
1095         * text.C (FontIterator, operator*, operator->, operator++): add
1096         (rowBreakPoint, setRowWidth): adjust (fixing a
1097         rebreaking bug)
1098
1099 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1100
1101         * BufferView_pimpl.C (workAreaDispatch): allow also
1102         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1103
1104 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1105
1106         * text.C (rowBreakPoint): fix a bug showing with very large insets
1107
1108 2004-02-25  André Pönitz  <poenitz@gmx.net>
1109
1110         * text3.C:
1111         * cursor.[Ch]: move some mathed specific code to mathed
1112
1113 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1114
1115         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1116         use_tempdir in preferences
1117         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1118         tempfile creation
1119         * lyx_main.C: ensure that tempdir is valid
1120         * lyxlex.h: correct typo
1121         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1122         * paragraph.[Ch] (isMultiLingual): make const
1123         * cursor.[Ch] (openable): make const
1124
1125 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1126
1127         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1128
1129 2004-02-20  André Pönitz  <poenitz@gmx.net>
1130
1131         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1132
1133         * cursor.[Ch]: prepare for localized getStatus()
1134
1135         * lyxtext.h:
1136         * tabular.C:
1137         * text.C:
1138         * text2.C:
1139         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1140
1141 2004-02-20  André Pönitz  <poenitz@gmx.net>
1142
1143         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1144
1145 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1146
1147         * text2.C (setCursorFromCoordinates): switch to absolute coords
1148         (cursorUp): adjust
1149         (cursorDown): adjust
1150         * text3.C (dispatch): adjust
1151
1152 2004-02-16  André Pönitz  <poenitz@gmx.net>
1153
1154         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1155           insets/ChangeLog)
1156
1157         * cursor_slice.[Ch]: remove unneeded acessor function
1158
1159         * lyxtext.h: rename rtl() to isRTL()
1160
1161         * rowpainter.C:
1162         * tabular.C:
1163         * text.C:
1164         * text2.C:
1165         * text3.C: adjust
1166
1167 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1168
1169         * rowpainter.C (paintSelection): coord fix
1170
1171 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1172
1173         * Spacing.C: compile fix
1174
1175 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1176
1177         * cursor.C (dispatch): restore current_ before returning
1178
1179 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1180
1181         * text2.C (cursorUp, cursorDown): fix coords
1182         (moveUp): fix crash
1183
1184 2004-02-12  André Pönitz  <poenitz@gmx.net>
1185
1186         * lyxtext.h:
1187         * text.C:
1188         * text2.C:
1189         * text3.C: add LCursor & parameter to most cursor movement functions
1190           remove usage of LyXText::cursorRow() and cursorPar()
1191
1192         * cursor.[Ch]: add textRow() needed members
1193
1194         * BufferView.C:
1195         * BufferView_pimpl.C:
1196         * paragraph.[Ch]:
1197         * BufferView.C:
1198         * BufferView_pimpl.C: adjust
1199
1200 2004-02-11  André Pönitz  <poenitz@gmx.net>
1201
1202         * lyxfunc.C:
1203         * BufferView.[Ch]:
1204         * BufferView_pimpl.C: shift undo/redo handling
1205
1206         * cursor.[Ch]: fix mathed crash
1207
1208         * lyxfind.C:
1209         * lyxtext.h: move selectionAsText to LCursor
1210
1211         * output_latex.C:
1212         * paragraph.C:
1213         * text.C:
1214         * text2.C:
1215         * text3.C: adjust
1216
1217         * rowpainter.C: fix excessive drawing
1218
1219 2004-02-06  André Pönitz  <poenitz@gmx.net>
1220
1221         * BufferView.[Ch]:
1222         * BufferView_pimpl.[Ch]:
1223         * text3.C: move some text specific LFUN handling
1224
1225 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1226
1227         * text3.C (checkInsetHit): adjust coords
1228         * text2.C (getColumnNearX): adjust coords
1229         (edit): adjust coords
1230         * text.C (getRowNearY): add two asserts
1231
1232 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1233
1234         * converter.C:
1235         * format.C: add using std::distance to compile on gcc 2.95/stlport
1236
1237 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1238
1239         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1240
1241 2004-02-04  André Pönitz  <poenitz@gmx.net>
1242
1243         * BufferView.[Ch] (insertInset):
1244         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1245
1246         * text2.C:
1247         * text3.C: adjust
1248
1249 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1250
1251         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1252         on the default clause of the switch
1253         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1254         wasn't catched by LCursor::dispatch
1255
1256 2004-02-03  André Pönitz  <poenitz@gmx.net>
1257
1258         * BufferView.C:
1259         * cursor.[Ch]: some additional asserts
1260
1261         * undo.[Ch]: remove LyXText dependency in interface
1262
1263         * lyxfunc.C: adjust
1264
1265         * lyxtext.h (firstPar, lastPar): remove dead functions
1266
1267         * text.C:
1268         * text2.C:
1269         * text3.C:
1270         * paragraph.[Ch]: adjust
1271
1272 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1273
1274         * lyxfind.C (find): fix argument order in call to ::find
1275
1276 2004-02-02  André Pönitz  <poenitz@gmx.net>
1277
1278         * cursor.[Ch]: remove direct access to anchor
1279
1280         * text.C: remove findText() hack
1281
1282 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1283
1284         * iterators.[Ch] (lockPath): remove in favour of...
1285         * BufferView.[Ch] (setCursor): this addition
1286         * BufferView.C (putSelectionAt): adjust
1287         * undo.C (performUndoOrRedo): adjust
1288         * lyxfunc.C (dispatch): adjust
1289
1290 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1291
1292         * iterators.C (lockPath): add a missing slice
1293         * undo.C (performUndoOrRedo): remove redundant positioning code
1294
1295 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1296
1297         * vc-backend.C (scanMaster): ";" -> ';'
1298
1299 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1300
1301         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1302         std::binary_function
1303
1304         * lyxtextclass.C (compare_name): rename to...
1305         (LayoutNamesEqual): ...this
1306
1307         * lyxlex_pimpl.C (compare_tags): inherit from
1308         std::binary_function, put back into anon namespace
1309
1310         * lyxfind.C (MatchString): inherig from std::binary_function
1311         (findChange): use empty() istead of !size()
1312
1313         * format.C (FormatNamesEqual): new functor
1314         (getFormat): use it
1315         (getNumber): use it
1316         (add): use it
1317         (erase): use it
1318         (setViewer): use it
1319
1320         * converter.C (compare_Converter): rename to...
1321         (ConverterEqual): ...this, and fixup a bit.
1322         (getConverter): use it, and make function const
1323         (getNumber): use it, and make function const
1324         (add): use it
1325         (erase): use it:
1326
1327         * bufferlist.C: add using boost::bind
1328
1329         * MenuBackend.C (MenuNamesEqual): new functor
1330         (hasMenu): use it, and make function const
1331         (hasSubmenu): use nested bind to get rid of compare_memfun.
1332
1333 2004-01-30  André Pönitz  <poenitz@gmx.net>
1334
1335         * BufferView_pimpl.C:
1336         * cursor.C:
1337         * cursor.h:
1338         * cursor_slice.[Ch]:
1339         * lyxfunc.C:
1340         * lyxtext.h:
1341         * paragraph_funcs.C:
1342         * paragraph_funcs.h:
1343         * rowpainter.C:
1344         * text.C:
1345         * text2.C:
1346         * text3.C: move some of the edit(x,y) handling to the insets
1347         some coordinate changes.
1348
1349 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1350
1351         * text.C: add using statements for std::advance and std::distance
1352
1353         * paragraph.C: add using statement for std::distance
1354
1355         * lyxfind.C: add using statement for std::advance
1356
1357         * cursor.C (region): remove std:: from swap
1358         (openable): use nucleus in stead of operator->
1359
1360         * BufferView.C: add using statements for std::distance and std::swap
1361
1362 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1363
1364         * iterators.C: Remove the pimple, move the needed structures to
1365         the header file. Create accessor for the positions stack.
1366         (asPosIterator): remove function
1367
1368         * PosIterator.C (PosIterator): move constructors to top of file
1369         (PosIterator): reimplement the constructor taking a ParIterator in
1370         terms of setFrom.
1371         (setFrom): new function
1372         (operator!=): inline it
1373
1374 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1375
1376         * lyxfind.C (replaceAll): use std::advance
1377
1378         * iterators.h: inherit from std::iterator.
1379
1380         * PosIterator.C (advance, distance): remove
1381         * PosIterator.h: interit from std::iterator.
1382
1383 2004-01-26  André Pönitz  <poenitz@gmx.net>
1384
1385         * BufferView.[Ch]:
1386         * BufferView_pimpl.[Ch]:
1387         * InsetList.[Ch]:
1388         * PosIterator.[Ch]:
1389         * buffer.h:
1390         * bufferview_funcs.C:
1391         * cursor.[Ch]:
1392         * cursor_slice.h:
1393         * factory.[Ch]:
1394         * iterators.[Ch]:
1395         * lyxfind.C:
1396         * lyxfunc.C:
1397         * lyxtext.h:
1398         * output_docbook.C:
1399         * output_latex.C:
1400         * output_linuxdoc.C:
1401         * output_plaintext.C:
1402         * paragraph.[Ch]:
1403         * paragraph_funcs.[Ch]:
1404         * paragraph_pimpl.[Ch]:
1405         * rowpainter.C:
1406         * tabular.C:
1407         * tabular.h:
1408         * text.C:
1409         * text2.C:
1410         * text3.C: more IU:  dumps most of the rest of the mathcursor
1411     implementation into cursor.[Ch]; "globalize" a bit of it.
1412
1413 2004-01-25  Angus Leeming  <leeming@lyx.org>
1414
1415         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1416
1417 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1418
1419         * LaTeXFeatures.h: add nice_ and nice() const
1420         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1421
1422 2004-01-20  André Pönitz  <poenitz@gmx.net>
1423
1424         * BufferView.[Ch]:
1425         * BufferView_pimpl.C:
1426         * PosIterator.C:
1427         * bufferview_funcs.C:
1428         * cursor.[Ch]:
1429         * cursor_slice.[Ch]:
1430         * factory.C:
1431         * iterators.C:
1432         * lyx_cb.C:
1433         * lyxfind.C:
1434         * lyxfunc.C:
1435         * lyxtext.h:
1436         * rowpainter.C:
1437         * text.C:
1438         * text2.C:
1439         * text3.C:
1440         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1441           LCursor and mathcursor parts to LCursor and InsetBase.
1442
1443 2004-01-15  André Pönitz  <poenitz@gmx.net>
1444
1445         * cursor_slice.[Ch]: add a few covienience functions
1446
1447         * funcrequest.[Ch]: remove BufferView * member
1448
1449         * BufferView_pimpl.C:
1450         * cursor.C:
1451         * factory.[Ch]:
1452         * lyxfind.[Ch]:
1453         * lyxfunc.C:
1454         * lyxtext.h:
1455         * text3.C:
1456         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1457
1458 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1459
1460         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1461         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1462
1463 2004-01-13  André Pönitz  <poenitz@gmx.net>
1464
1465         * textcursor.[Ch]:
1466         * lyxtext.h: hide cursor and selection anchor behind accessor function
1467
1468         * BufferView.C:
1469         * BufferView_pimpl.[Ch]:
1470         * PosIterator.C:
1471         * bufferview_funcs.C:
1472         * cursor.h:
1473         * lyxfind.C:
1474         * lyxfunc.C:
1475         * text.C:
1476         * text2.C:
1477         * text3.C:
1478         * undo.C: adjust
1479
1480         * cursor.h:
1481         * cursor_slice.[Ch]: some integer type changes for inset unification
1482
1483         * lyxcursor.[hC]: remove, it's CursorSlice now.
1484
1485         * Makefile.am:
1486         * BufferView_pimpl.[Ch]:
1487         * bufferview_funcs.C:
1488         * cursor_slice.C:
1489         * lyxtext.h:
1490         * text.C:
1491         * text2.C:
1492         * text3.C:
1493         * textcursor.[Ch]: adjust
1494
1495 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1496
1497         * text2.C (undoSpan): add and use
1498         * text.C (breakParagraph): use undoSpan (fix bug 578)
1499         * lyxtext.h: adjust
1500
1501 2004-01-08  Angus Leeming  <leeming@lyx.org>
1502
1503         * BufferView_pimpl.C (MenuInsertLyXFile):
1504         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1505         * lyxfunc.C (menuNew, open, doImport):
1506         FileFilterList change to the FileDialog open and save functions.
1507
1508 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1509
1510         * ShareContainer.h: make isEqual and isUnique adaptable
1511
1512         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1513
1514 2004-01-07  Angus Leeming  <leeming@lyx.org>
1515
1516         * LyXAction.C:
1517         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1518
1519         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1520
1521         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1522         functions replacing find, replace and replaceAll.
1523
1524         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1525         LFUN_WORDFIND(FORWARD|BACKWARD).
1526
1527 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1528
1529         * text.C (breakParagraph): remove an outdated #warning
1530
1531 2004-01-07  André Pönitz  <poenitz@gmx.net>
1532
1533         * lyxfind.C: somewhat clearer logic
1534
1535         * text.C: prevent crash in cursorX on unitialized row cache
1536
1537 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1538
1539         * lyxcursor.[Ch] (operator>): add
1540         * textcursor.C (selStart, selEnd): use std::min and std::max
1541
1542 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1543
1544         * Chktex.C: include boost/format.hpp
1545
1546 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1547
1548         * InsetList.C: replace functor MathcIt with adaptable functor
1549         InsetTablePosLess
1550         (insetIterator): modify accordingly
1551
1552         * BranchList.h: move the BranchNamesEqual functor here from...
1553         * BranchList.C: ... to here
1554
1555         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1556         SameName and match.
1557         (add): replace a finding loop with std::find_if.
1558
1559 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1560
1561         * output_docbook.C: moving LatexParam functionality into
1562         .layout files
1563
1564 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1565
1566         * buffer.C: increment format to 229.
1567
1568 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1569
1570         * LaTeXFeatures.C:
1571         * lyx_sty.[Ch]: remove minipageindent_def
1572
1573         * LyXAction.C:
1574         * factory.C:
1575         * lfuns.h:
1576         * lyxfunc.C:
1577         * text3.C: remove LFUN_INSET_MINIPAGE
1578
1579 2003-12-28  Angus Leeming  <leeming@lyx.org>
1580
1581         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1582
1583 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1584
1585         * text2.C (setParagraph): fix off-by-one crash
1586
1587 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1588
1589         * output_docbook.C: header stuff for AGU
1590
1591 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1592
1593         * text2.C (redoCursor): remove
1594         * text.C:
1595         * text3.C:
1596         * BufferView_pimpl.C: remove calls to redoCursor and
1597         setCursor(cursor.par(), cursor.pos()) all around
1598
1599 2003-12-15  Angus Leeming  <leeming@lyx.org>
1600
1601         * buffer.C: up the format to 228.
1602
1603 2003-12-15  André Pönitz  <poenitz@gmx.net>
1604
1605         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1606         slices
1607
1608         * Makefile.am:
1609
1610         * BufferView_pimpl.C:
1611         * cursor.[Ch]:
1612         * lyxcursor.[Ch]:
1613         * rowpainter.[Ch]:
1614         * lyxtext.h:
1615         * text.C:
1616         * text2.C:
1617         * text3.C: adjust
1618
1619 2003-12-15  Angus Leeming  <leeming@lyx.org>
1620
1621         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1622         than getFromGUIName to manipulate the color.
1623
1624 2003-12-14  Angus Leeming  <leeming@lyx.org>
1625
1626         * BranchList.[Ch]: minimize the API.
1627         (Branch::getBranch, getColor): now return a 'const &'.
1628         (Branch::setSelected) now returns a bool set to true if the
1629         selection status changes.
1630         (BranchList::clear, size, getColor, setColor, setSelected,
1631         allBranches, allSelected, separator): removed.
1632         (BranchList::find): new functions, returning the Branch with
1633         the given name.
1634         (BranchList::add, remove): return a bool indicating that
1635         the operation was successful.
1636
1637         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1638         new InsetBranch::isBranchSlected member function.
1639
1640         * LColor.[Ch]: mimimize the API.
1641         (fill): renamed as addColor and made private.
1642         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1643         versions of these functions taking a string arg have been removed.
1644
1645         * bufferparams.C (readToken):
1646         * lyxfunc.C (dispatch):
1647         * lyxrc.C (read): changes due to the altered BranchList and
1648         LColor APIs.
1649
1650         * factory.C (createInset, readInset): changes due to altered
1651         InsetBranch c-tor.
1652
1653 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1654
1655         * factory.C:
1656         * lyxfunc.C: remove insetminipage. "minipage-insert"
1657         now produces a frameless minipage box inset.
1658
1659 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1660
1661         * textcursor.[Ch] (selStart,selEnd): add new methods
1662         remove selection::start, end, use LyXCursor::operator<
1663         * lyxcursor.[Ch] (operator<): add
1664         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1665         * BufferView.[Ch] (unsetXSel): add
1666         * text2.C (clearSelection): use unsetXSel,adjust
1667         * text.C: adjust
1668         * text3.C: adjust
1669         * rowpainter.C: adjust
1670         * bufferview_funcs.C (put_selection_at): adjust
1671
1672 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1673
1674         * BufferView_pimpl.C: small coord. correction
1675
1676 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1677
1678         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1679         dragging over the splash screen.
1680
1681 2003-12-11  Angus Leeming  <leeming@lyx.org>
1682
1683         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1684         as it is now handled in LyXText::dispatch.
1685
1686         * text3.C (doInsertInset): remove a level of nesting.
1687
1688 2003-12-11  Angus Leeming  <leeming@lyx.org>
1689
1690         * factory.C (createInset): changes due to the changed interface to
1691         InsetCommandMailer::string2params.
1692
1693 2003-12-10  Angus Leeming  <leeming@lyx.org>
1694
1695         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1696         'dialog-show-new-inset <inset name>'
1697
1698 2003-12-10  Angus Leeming  <leeming@lyx.org>
1699
1700         * buffer.C: up the format to 227.
1701
1702         * factory.C: the box inset is now identified simply by 'Box'.
1703
1704 2003-12-10  Angus Leeming  <leeming@lyx.org>
1705
1706         * buffer.C: up the format to 226.
1707
1708         * factory.C: the note inset is now identified simply by 'Note'.
1709
1710 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1711
1712         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1713         when a pit is enough. Standarize a couple of loops.
1714
1715 2003-12-05  Angus Leeming  <leeming@lyx.org>
1716
1717         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1718         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1719         data to the re-worked "log" dialog.
1720
1721 2003-12-03  André Pönitz  <poenitz@gmx.net>
1722
1723         * PosIterator.C:
1724         * iterators.C:
1725         * lyxtext.h:
1726         * output_latex.C:
1727         * paragraph_funcs.C:
1728         * text.C:
1729         * text2.C: use Inset::getText instead of Inset::getParagraph
1730
1731 2003-12-03  André Pönitz  <poenitz@gmx.net>
1732
1733         * buffer.[Ch]:
1734         * lyxtext.h:
1735         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1736         InsetText::read() as LyXText::read()
1737
1738 2003-12-02  Angus Leeming  <leeming@lyx.org>
1739
1740         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1741         type. Add a comment in the implementation that the function uses
1742         the stream's bad() function rather than fail() as the std::streams
1743         would do.
1744
1745 2003-12-02  André Pönitz  <poenitz@gmx.net>
1746
1747         * lyxlex.[Ch]: make interface more similar to std::stream
1748
1749         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1750
1751 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1752
1753         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1754
1755 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1756
1757         * vspace.[Ch]: remove VSpace::NONE
1758
1759 2003-12-01  André Pönitz  <poenitz@gmx.net>
1760
1761         * buffer.[Ch]:
1762         * lyxtext.h: move ParagraphList member to LyXText
1763         rename LyXText::ownerParagraphs to LyXText::paragraph
1764
1765         * CutAndPaste.C:
1766         * bufferview_funcs.C:
1767         * iterators.[Ch]:
1768         * lyx_cb.C:
1769         * paragraph.C:
1770         * rowpainter.C:
1771         * tabular.C:
1772         * text.C:
1773         * text2.C:
1774         * text3.C: adjust
1775
1776         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1777
1778         * undo.C: fix cursor positioning
1779
1780 2003-12-01  John Levon  <levon@movementarian.org>
1781
1782         * BufferView_pimpl.C: fix a crash on exit with
1783         a buffer open
1784
1785 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1786
1787         * BranchList.C: fix setSelected() method.
1788
1789 2003-11-28  André Pönitz  <poenitz@gmx.net>
1790
1791         * ParagraphParameters.[Ch]:
1792         * ParameterStruct.h: remove space above/below from Paragraph to
1793          InsetVSpace
1794
1795         * BufferView_pimpl.C:
1796         * factory.C:
1797         * lyxfunc.C:
1798         * lyxtext.h:
1799         * output_latex.C:
1800         * paragraph.C:
1801         * paragraph_funcs.C:
1802         * rowpainter.[Ch]:
1803         * text.C:
1804         * text2.C:
1805         * text3.C: adjust
1806
1807 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1808
1809         * factory.C: Syntax change for CharStyles
1810
1811 2003-11-28  André Pönitz  <poenitz@gmx.net>
1812
1813         * BufferView.[Ch]:
1814         * BufferView.[Ch]:
1815         * buffer.[Ch]:
1816         * buffer.[Ch]: move LyXText member
1817
1818 2003-11-28  André Pönitz  <poenitz@gmx.net>
1819
1820         * BufferView.[Ch]: make LyXText * text a private member
1821
1822         * BufferView_pimpl.C:
1823         * cursor.C:
1824         * iterators.C:
1825         * lyx_cb.C:
1826         * lyxfind.C:
1827         * lyxtext.h:
1828         * rowpainter.[Ch]:
1829         * text.C:
1830         * text2.C:
1831         * undo.C: adjust
1832
1833         * output_plaintext.C: cleanup
1834
1835 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1836
1837         * buffer.C:
1838         * lyxtextclass.[Ch]: parametrize SGML document header
1839
1840 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1841
1842         * converter.[Ch]:
1843         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1844         getFlavor().
1845
1846 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1847
1848         * text2.C (setFont): rework using PosIterator (no more recursive)
1849         (setCharFont): no more needed
1850         (setLayout): no more selection cursors fiddling (done by redoCursor)
1851         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1852         destroy remaining ones)
1853
1854 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1855
1856         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1857         * lyxtext.h: ditto
1858         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1859         selection cursors
1860         * lyxfunc.C: adjust
1861         * text3.C: adjust + re-allow multi par depth changes
1862         * textcursor.C: simplify a bit
1863
1864 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1865
1866         * src/buffer.C:
1867         * src/lyxlayout.C:
1868         * src/lyxlayout.h:
1869         * src/lyxtext.h:
1870         * src/output_docbook.C:
1871         * src/output_latex.C:
1872         * src/paragraph.C:
1873         * src/paragraph.h:
1874         * src/sgml.C:
1875         * src/sgml.h:
1876         * src/text2.C: Introducing a number of tags parametrizing various
1877         XML formats that we may want to support
1878
1879 2003-11-25  André Pönitz  <poenitz@gmx.net>
1880
1881         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1882
1883         * lyxtext.h (leftMargin/rightMargin): simplify interface
1884
1885         * rowpainter.C:
1886         * text.C:
1887         * text2.C:
1888         * text3.C: adjust
1889
1890 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1891
1892         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1893         master file to any child files. Fixes bug 546.
1894
1895 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1896
1897         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1898
1899 2003-11-24  André Pönitz  <poenitz@gmx.net>
1900
1901         * rowpainter.C: simplification
1902
1903         * text2.C (updateCounters): remove call to redoParagraph on
1904         changed labels as this is far too expensive.
1905
1906 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1907
1908         * converter.C (convert): fix a crash: this function gets
1909         called with buffer == 0 from importer code.
1910
1911 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1912
1913         * text3.C (cursorPrevious): make sure that we do not compare
1914         iterators form different containers.
1915         (cursorNext): ditto
1916
1917         * rowpainter.C (paintSelection): make sure that we do not compare
1918         iterators from different containers.
1919
1920         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1921         iterators from different ParagraphList containers.
1922         [NEXT] ditto
1923
1924         * text2.C (LyXText): change order of initialization slightly
1925         (operator=): new function. copy all variables except cache_par_
1926         (moveUp): make sure that we do not compare iterators from
1927         different ParagraphList constainers.
1928         (moveDown): ditto
1929
1930         * text.C (firstPar): new function
1931         (lastPar): new function
1932         (endPar): new function
1933
1934         * lyxtext.h: move things around and group public functions, public
1935         variables, private functions, private variables
1936
1937 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1938
1939         * factory.C: change call to InsetERT constructor to avoid
1940         additional invocation of method status
1941         * text2.C (toggleInset): remove redundant update() call
1942         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1943         instead of a Bufferview pointer
1944
1945 2003-11-21  André Pönitz  <poenitz@gmx.net>
1946
1947         * rowpainter.C: simplification
1948
1949 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1950
1951         * text3.C (dispatch): make possible to extend a word/row selection
1952         with the mouse
1953
1954 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1955
1956         * lyxtext.h: x0_,y0_ -> xo_,yo_
1957         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1958         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1959         * rowpainter.C (paintRows): paint full paragraphs
1960
1961 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1962
1963         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1964         screen coordinates)
1965
1966 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1967
1968         * lyxtext.h: add x0_, y0_
1969         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1970         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1971
1972 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1973
1974         * text2.C (setCursorIntern): move the x_target update here *
1975         * text3.C: change some bv() to true/false in calls to
1976         cursorUp/Down/Right/Left
1977         * cursor.C: use helper function.
1978
1979 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1980
1981         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1982         * paragraph_funcs.[Ch]: correct comment
1983         * rowpainter.C: do not paint selections away from bv->cursor()
1984         Fix a long standing selection painting bug.
1985         * text3.C: generalize mouse-selection code to LyXTexts other that
1986         top one
1987         * textcursor.C: do not use y coords if we can use par offsets
1988
1989 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1990
1991         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1992         cursor position after e.g. inset insert)
1993
1994 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1995
1996         * lyxfind.C (replace): adjust to locking removal + some
1997         code simplification
1998
1999 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2000
2001         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2002         of the path
2003
2004 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2005
2006         * lyxlayout.[Ch]:
2007         * output_docbook.C: XML sanitation: new layout
2008         parameters InnerTag and CommandDepth
2009
2010 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2011
2012         * BufferView_pimpl.C:
2013         * factory.C:
2014         * text3.C: Fix the insertion and modification of button-style
2015         insets
2016
2017 2003-11-13  André Pönitz  <poenitz@gmx.net>
2018
2019         * InsetList.[Ch]: remove deleteLyXText
2020
2021         * paragraph.[Ch]: cache beginOfBody position
2022
2023         * Bidi.C:
2024         * text.C:
2025         * text2.C:
2026         * text3.C: remove superfluous update() calls
2027
2028         * vspace.C: cleanup
2029
2030 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2031
2032         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2033         * BufferView.C (fitLockedInsetCursor): remove
2034         * cursor.[Ch] (getDim): add
2035         * text.C (getRowNearY): add faster version
2036         * text3.C: remove some update calls
2037
2038 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2039
2040         * LaTeXFeatures.C:
2041         * LyXAction.C:
2042         * MenuBackend.C:
2043         * MenuBackend.h:
2044         * dispatchresult.h:
2045         * factory.C:
2046         * lfuns.h:
2047         * lyxfunc.C:
2048         * lyxtextclass.C:
2049         * lyxtextclass.h:
2050         * text3.C: The Character Style /XML short element patch.
2051
2052 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2053
2054         * text3.C:
2055         * factory.C: Small step to solving 'unable to insert some insets'
2056         problem
2057
2058 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2059
2060         * cursor.[Ch] (updatePos): new function for updating the y
2061         position of the tip inset
2062         * bufferview_funcs.C (put_selection_at):
2063         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2064
2065 2003-11-11  André Pönitz  <poenitz@gmx.net>
2066
2067         * text.C: remove big comment on invalid Paragraph pointers as it is
2068         not valid anymore
2069
2070 2003-11-11  André Pönitz  <poenitz@gmx.net>
2071
2072         * text_funcs.[Ch]: merge with ...
2073
2074         * text.C: ... this
2075
2076         * lyxtext.h:
2077         * text2.C:
2078         * text3.C: adjust
2079
2080         * Makefile.am: remove text_funcs.[Ch]
2081
2082 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2083
2084         * cursor.C (getPos): return absolute cached y coord
2085
2086         * BufferView_pimpl.C (fitCursor): new simplistic code
2087         (workAreaDispatch): add a fitCursor call
2088
2089 2003-11-10  André Pönitz  <poenitz@gmx.net>
2090
2091         * BufferView.[Ch]:
2092         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2093
2094 2003-11-10  André Pönitz  <poenitz@gmx.net>
2095
2096         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2097         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2098         indicate that the cursor needs to leave an inset
2099
2100         * lyxtext.h: remove inset locking
2101
2102         * cursor.[Ch]: re-implement functionality provided by inset locking
2103
2104         * BufferView.[Ch]:
2105         * BufferView_pimpl.[Ch]:
2106         * LyXAction.C:
2107         * bufferview_funcs.[Ch]:
2108         * factory.C:
2109         * funcrequest.[Ch]:
2110         * iterators.C:
2111         * lyx_cb.C:
2112         * lyxfind.C:
2113         * lyxfunc.C:
2114         * text.C:
2115         * text2.C:
2116         * text3.C:
2117         * undo.C: adjust
2118
2119 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2120
2121         * PosIterator.[Ch]: replace the stack with a vector, add inset
2122         accesor
2123         * iterators.[C]: adjust
2124
2125 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2126
2127         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2128         replaced
2129         * paragraph_funcs.C (readParToken): put the correct id in the
2130         error item, not the id of the top paragraph
2131
2132 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2133
2134         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2135         * bufferview_funcs.C (put_selection_at): use the above
2136
2137 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2138
2139         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2140
2141 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2142
2143         * output_linuxdoc.h:
2144         * output_plaintext.h:
2145         * output.h:
2146         * output_docbook.h: add #include statements
2147
2148 2003-11-05  José Matos  <jamatos@lyx.org>
2149
2150         * output_docbook.[Ch]:
2151         * output_latex.[Ch]:
2152         * output_linuxdoc.[Ch]:
2153         * output_plaintext.[Ch]: New files for output formats.
2154         * output.[Ch]: New file for helper functions.
2155
2156         * buffer.[Ch]:
2157         * paragraph_funcs.[Ch]: output functions moved to new files.
2158
2159         * outputparams.h: rename of latexrunparams.h
2160
2161         * LaTeX.[Ch]:
2162         * buffer.[Ch]:
2163         * bufferlist.[Ch]:
2164         * converter.[Ch]:
2165         * exporter.C:
2166         * paragraph.[Ch]:
2167         * paragraph_funcs.[Ch]:
2168         * paragraph_pimpl.[Ch]:
2169         * tabular.[Ch]: rename ascii to plaintext
2170         and LatexRunParams to OutputParams.
2171
2172 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2173
2174         * iterators.[Ch] (text): require bv argument
2175         * undo.C (recordUndo):
2176         * lyxfunc.C (dispatch):
2177         * bufferview_funcs.C (put_selection_at): adjust
2178
2179 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2180
2181         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2182
2183 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2184
2185         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2186         nestings
2187
2188 2003-11-04  André Pönitz  <poenitz@gmx.net>
2189
2190         * cursor.[Ch]: restructure
2191
2192         * BufferView.[Ch]:
2193         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2194
2195         * iterators.[Ch] (asCursor): remove
2196
2197         * lfuns.h: remove LFUN_INSET_EDIT
2198
2199         * lyxfunc.C:
2200         * tabular.C:
2201         * text.C:
2202         * text2.C:
2203         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2204
2205 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2206
2207         * lyxfind.[Ch]: complete overhaul
2208         * BufferView_pimpl.C:
2209         * lyxfunc.C: adjust
2210         * paragraph.[Ch] (insert): add
2211
2212 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2213
2214         * BufferView.[Ch]:
2215         * lyxtext.h:
2216         * text.C: remove dead spellcheck code
2217
2218 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2219
2220         * dispatchresult.h: add a val setter
2221
2222         * cursor.C (dispatch): use a tempvar for data_[i]
2223
2224 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2225
2226         * PosIterator.[Ch]: compile fix
2227
2228 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2229
2230         * text.C (cursorPar): deactivate the cursor cache
2231
2232 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2233
2234         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2235
2236 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2237
2238         * text3.C (dispatch): adjust for new DisptchResult semantics.
2239
2240         * lyxfunc.C (dispatch): handle update when return from
2241         Cursor::dispatch, adjust for new DispatchResult semantics.
2242
2243         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2244         DispatchResult(true) mean to not update. Add class functions for
2245         setting dispatched and update, as well as reading.
2246
2247         * cursor.C (dispatch): don't handle update here
2248
2249 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2250
2251         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2252         * trans_mgr.C: adjust
2253
2254         * paragraph_funcs.C (readParToken): exception safety
2255
2256         * lyxvc.h: store the vcs pointer in a scoped_ptr
2257         * lyxvc.C: adjust
2258
2259         * lyxsocket.C (serverCallback): exception safety
2260
2261         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2262
2263         * ispell.C (clone): make it return a auto_ptr
2264
2265         * factory.C (createInset): exception safety
2266         (readInset): exception safety
2267
2268         * bufferlist.C (newBuffer): exception safety
2269
2270         * Thesaurus.C (Thesaurus): use initialization for aik_
2271
2272         * MenuBackend.C (expandToc): exception safety.
2273
2274 2003-11-03  André Pönitz  <poenitz@gmx.net>
2275
2276         * buffer.C:
2277         * buffer.h:
2278         * bufferview_funcs.C: remove getInsetFromId()
2279
2280         * lyxcursor.[Ch]:
2281         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2282
2283         * lyxfunc.C:
2284         * text2.C:
2285         * text3.C: adjust
2286
2287 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2288
2289         * PosIterator.C (distance, advance): new
2290         * bufferview_funcs.[Ch] (put_selection_at): new
2291         * iterators.[Ch] (lockPath): new
2292
2293 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2294
2295         * iterators.[Ch] (asPosIterator): added
2296         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2297         * PosIterator.[Ch]: added
2298
2299 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2300
2301         * text3.C:
2302         * lyxfunc.C:
2303         * cursor.C (dispatch):
2304         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2305
2306         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2307         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2308         contructor, add a class function dispatched. Remove operator>=
2309
2310 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2311
2312         * debug.C: only use the default constructor for debugstream
2313         (lyxerr) here.
2314
2315         * main.C (main): include debug.h and setup the lyxerr streambuf
2316         here.
2317
2318 2003-10-31  José Matos  <jamatos@lyx.org>
2319
2320         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2321
2322         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2323         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2324         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2325         * paragraph_pimpl.C (simpleTeXSpecialC):
2326         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2327         add LatexRunParams argument.
2328
2329         * exporter.C (Export): change call accordingly.
2330
2331         * latexrunparams.h: add new member to take care of the other backends.
2332 2003-10-30  José Matos  <jamatos@lyx.org>
2333
2334         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2335         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2336         factorise code for paragraph output.
2337         * buffer.[Ch]:
2338         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2339         move functions.
2340
2341 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2342
2343         * text3.C (dispatch):
2344         * lyxfunc.C (dispatch):
2345         * cursor.C (dispatch):
2346         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2347
2348         * dispatchresult.h: make the dispatch_result_t ctor explicit
2349
2350 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2351
2352         * sgml.[Ch]:
2353         * buffer.C: small refactoring of docbook stuff
2354
2355 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2356
2357         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2358         meaning.
2359
2360 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2361
2362         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2363         operator dispatch_result_t, and operators for == != and >=
2364
2365         * cursor.C (dispatch): adjust for operator dispatch_result_t
2366         removal. comment out call to update
2367
2368         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2369
2370 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2371
2372         * text3.C:
2373         * text2.C:
2374         * text.C:
2375         * lyxtext.h:
2376         * lyxfunc.C:
2377         * cursor.C:
2378         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2379         (dispatch):
2380
2381         * dispatchresult.h: new file, DispatchResult broken out of
2382         insets/insetbase.h
2383
2384         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2385
2386 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2387
2388         * text.C (rowBreakPoint): put a hack inside #if 0
2389
2390 2003-10-28  André Pönitz  <poenitz@gmx.net>
2391
2392         * lyxtext.h:
2393         * metricsinfo.C:
2394         * paragraph_funcs.C:
2395         * rowpainter.C:
2396         * text.C:
2397         * text2.C: general cleanup (lots of small stuff)
2398
2399 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2400
2401         * text2.C (cursorEnd): simple fix to the "end key goes to one
2402         before the end on last row" bug
2403
2404 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2405
2406         * text.C (backspace): fix the "zombie characters"
2407
2408 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2409
2410         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2411
2412 2003-10-27  André Pönitz  <poenitz@gmx.net>
2413
2414         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2415
2416         * factory.C: handle new InsetPagebreak, InsetLine
2417
2418         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2419         and move handling into new InsetPagebreak, InsetLine
2420
2421         * BufferView_pimpl.C:
2422         * LyXAction.C:
2423         * ParagraphParameters.C:
2424         * ParameterStruct.h:
2425         * lyxfunc.C:
2426         * lyxtext.h:
2427         * paragraph.C:
2428         * paragraph.h:
2429         * paragraph_funcs.C:
2430         * paragraph_pimpl.C:
2431         * rowpainter.C:
2432         * text.C:
2433         * text2.C:
2434         * text3.C: adjust
2435
2436 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2437
2438         * text.C:
2439         * lyxrow_funcs.[Ch]:
2440         * Bidi.C:
2441         * paragraph.C:
2442         * lyxtext.h:
2443         * rowpainter.C:
2444         * text2.C:
2445         * text3.C: remove lastPos uses in favour of Row::endpos
2446
2447 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2448
2449         * undo.C (performUndoOrRedo): fix two crashes by setting a
2450         cursor by hand and reordering some calls. Use bv->lockInset instead
2451         of inset->edit because the latter loses cursor information
2452
2453 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2454
2455         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2456         by Martin
2457         (rowBreakPoint): fix width. change point to point + 1.
2458         Add a missing check.
2459
2460 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2461
2462         * MenuBackend.C:
2463         * lyxfunc.C: fix (at least partly) the problems
2464         with the Nav menu and headers inside branch insets
2465         reported by Kayvan
2466
2467 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2468
2469         * paragraph.C (getChar): add strong asserts
2470
2471         * lyxrow_funcs.C (lastPos): remove hideous hack
2472
2473         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2474         (fill): adjust to that (avoid an infinite loop)
2475
2476 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2477
2478         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2479
2480 2003-10-23  André Pönitz  <poenitz@gmx.net>
2481
2482         * RowList_fwd.h: change list<> to vector<> to gain speed
2483         after suggestion from Alfredo
2484
2485 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2486
2487         * lyxtext.h: move the bidi stuff from here...
2488         * text.C: and here
2489         * text2.C: and here
2490         * Bidi.[Ch]: ... to here
2491
2492 2003-10-23  André Pönitz  <poenitz@gmx.net>
2493
2494         * lyxtext.h:
2495         * text.C (isLastRow, isFirstRow): new functions
2496
2497         * paragraph.h: new width cache member
2498
2499         * rowpainter.C: replace RowList::iterator with Row & where possible
2500
2501         * lyxfunc.C: replace several view()->text with a single call
2502
2503         * toc.C: fix 'unused' warning
2504
2505 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2506
2507         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2508         when woring with stream::pos_type
2509         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2510
2511 2003-10-22  André Pönitz  <poenitz@gmx.net>
2512
2513         * lyxtext.h:
2514         * text.C: use Row & instead of RowList::iterator
2515
2516         * lyxrow.h: rename end() to endpos()
2517
2518         * rowpainter.C:
2519         * text.C:
2520         * text2.C: adjust
2521
2522 2003-10-22  Angus Leeming  <leeming@lyx.org>
2523
2524         * buffer.[Ch] (fully_loaded): new member function, returning true
2525         only when the file has been loaded fully.
2526         Used to prevent the premature generation of previews and by the
2527         citation inset to prevent computation of the natbib-style label.
2528
2529         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2530         templates are all set up.
2531
2532         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2533
2534 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2535
2536         * text.C: fixed an "oops" in the "is a bit silly"
2537         bug fix
2538
2539 2003-10-21  André Pönitz  <poenitz@gmx.net>
2540
2541         * FuncStatus.[Ch]: small stuff, whitespace
2542
2543         * lyxfont.[Ch]: operator<<() for debug reasons
2544
2545         * lyxfunc.C:
2546         * lyxrow_funcs.C:
2547         * lyxtext.h: whitespace, spelling
2548
2549         * paragraph.C: naming of variables
2550
2551         * text.C:
2552         * text2.C: small stuff
2553
2554
2555 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2556
2557         * text.C: (1) finish off the inset display() work;
2558         (2) fix the "is a bit silly" bug (accessing char
2559         past end of par).
2560
2561 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2562
2563         * text.C: re-introduce display() for insets, fixing the
2564         various bugs (stretch of line above, math inset
2565         positioning, ...)
2566
2567 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2568
2569         * text.C (rightMargin): remove spurious semicolon
2570
2571         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2572         1415)
2573
2574 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2575
2576         * text3.C: fix one crash due to wrong cursor def
2577
2578 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2579
2580         * vc-backend.C (scanMaster): make the regex static
2581
2582         * LaTeX.C (scanAuxFile): make the regexs static
2583
2584         * text3.C (doInsertInset, dispatch, dispatch):
2585         * text2.C (cursorUp, cursorDown):
2586         * text.C (selectNextWordToSpellcheck):
2587         * BufferView_pimpl.C (dispatch):
2588         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2589
2590 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2591
2592         * lyxsocket.C: include <cerrno>
2593
2594 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2595
2596         * lyxfunc.C (dispatch): remove textcache stuff
2597
2598         * bufferlist.C (release): remove textcache stuff
2599         (closeAll): ditto
2600
2601         * TextCache.C: delete file
2602         * TextCache.h: delete file
2603
2604         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2605
2606         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2607         delete of the bv_->text.
2608         (resizeCurrentBuffer): remove texcache stuff
2609         (workAreaResize): ditto
2610
2611 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2612
2613         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2614         action.
2615
2616 2003-10-16  André Pönitz  <poenitz@gmx.net>
2617
2618         * lyxrow.[Ch]:
2619         * paragraph.h:
2620         * rowpainter.C:
2621         * text.C:
2622         * text2.C:
2623         * text3.C: speed up by storing y positions per paragraph plus per-row
2624         offset instead of having a 'full' y position in the row.
2625
2626 2003-10-15  André Pönitz  <poenitz@gmx.net>
2627
2628         * iterators.[Ch]:
2629         * iterators.[Ch]:
2630         * undo.[Ch]: make undo aware of inner insets
2631
2632 2003-10-14  Angus Leeming  <leeming@lyx.org>
2633
2634         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2635         static member functions LyX::ref() and LyX::cref.
2636         (lastfiles): new accessor functions for the new lastfiles_ member var.
2637         (addLyXView, views_): add a new LyXView to the list of views_.
2638         (updateInset): loop over all LyXViews to call their own updateInset
2639         member function, returning a pointer to the Buffer owning the inset.
2640
2641         * BufferView_pimpl.C (loadLyXFile):
2642         * MenuBackend.C (expandLastfiles):
2643         * bufferlist.C (MenuWrite, QuitLyX):
2644         lastfiles is no longer a global variable.
2645         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2646
2647         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2648         static function. Access through LyX::cref().emergencyCleanup().
2649
2650 2003-10-14  André Pönitz  <poenitz@gmx.net>
2651
2652         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2653
2654         * undo.[Ch]: restoring part of 'undo in insets'
2655
2656         * Makefile.am:
2657         * undo_funcs.[Ch]: merge with undo.[Ch]
2658
2659         * tabular.C: small cleansing stuff
2660
2661 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2662
2663         * paragraph_funcs.C (readParToken): report unknown insets as error
2664         boxes. Use the outer paragraph as location (also for unknown
2665         tokens).
2666
2667         * factory.C (readInset): do not abort on reading an unknown inset.
2668         Eat it and return 0.
2669
2670 2003-10-13  Angus Leeming  <leeming@lyx.org>
2671
2672         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2673
2674         * lyxrc.C: displayTranslator is now a function,
2675         declared in GraphicsTypes.h.
2676
2677 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2678
2679         * format.C: new placeholder $$a to pass the socket address.
2680
2681         * bufferlist.[Ch]: new function getBufferFromTmp.
2682
2683         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2684           files in the temporary dir.
2685
2686 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2687
2688         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2689
2690         * Makefile.am: add lyxsocket.[Ch].
2691
2692         * lyx_main.C (error_handler): handle SIGPIPE.
2693
2694 2003-10-13  André Pönitz  <poenitz@gmx.net>
2695
2696         * BufferView_pimpl.C:
2697         * lyxtext.h:
2698         * text.C:
2699         * text2.C:
2700         * text3.C:
2701         * undo_funcs.[Ch]: use paroffset_type instead of
2702           ParagraphList::iterators to prevent multiple conversion
2703           (and get a more robust interface)
2704
2705 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2706
2707         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2708         * lyxtext.h: ditto
2709         * text3.C (dispatch): ditto
2710
2711 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2712
2713         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2714         move the onlyfile, use onlyfile instead of foundfile in a couple
2715         of places.
2716
2717         * DepTable.C (update): flush the error stream a bit more
2718
2719 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2720
2721         * lyxserver.C (callback): adjust
2722
2723         * lyxfunc.C (getStatus): add a missing brace in commented code
2724         (ensureBufferClean): reindent
2725         (dispatch): delete version taking a string
2726
2727 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2728
2729         * LaTeX.C (deplog): move found file handlig from here...
2730         (handleFoundFile): .. to new function here.
2731         (deplog): make sure to discover several files mentioned on the
2732         same log line.
2733
2734 2003-10-10  André Pönitz  <poenitz@gmx.net>
2735
2736         * lyxfunc.C:
2737         * lyxtext.h:
2738         * tabular.C:
2739         * text.C:
2740         * text2.C:
2741         * text3.C: fix some of the tabular crashes
2742
2743 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2744
2745         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2746
2747         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2748
2749 2003-10-09  André Pönitz  <poenitz@gmx.net>
2750
2751         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2752
2753         * BufferView.C:
2754         * BufferView_pimpl.C:
2755         * bufferview_funcs.C:
2756         * lyx_cb.C:
2757         * lyxcursor.C:
2758         * lyxfind.C:
2759         * lyxfunc.C:
2760         * lyxtext.h:
2761         * text.C:
2762         * text2.C:
2763         * text3.C:
2764         * text_funcs.[Ch]:
2765         * textcursor.[Ch]:
2766         * undo_funcs.C: adjust
2767
2768 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2769
2770         * text2.C (incrementItemDepth): new function, use a backtracking
2771         algorithm to discover the correct item depth.
2772         (resetEnumCounterIfNeeded): new function, use a backtracking
2773         algorithm to discover if counter reset is needed.
2774         (setCounter): use them. Simplify a bit. Add different labels for
2775         different item depths for itemize.
2776
2777         * paragraph.C (Paragraph): remove initialization of enumdepth
2778         (operator=): ditto
2779
2780         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2781         enumerate and itemize. Change the type of itemdepth to signed char.
2782
2783 2003-10-08  André Pönitz  <poenitz@gmx.net>
2784
2785         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2786           thing assignable.
2787         * text.C:
2788         * text2.C: adjust
2789
2790         * tabular.[Ch]: fix crash after 'row-insert'
2791
2792 2003-10-08  Angus Leeming  <leeming@lyx.org>
2793
2794         Fix doxygen warnings.
2795
2796         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2797         Remove CutAndPaste:: prefix from header file declaration.
2798
2799         * LColor.h (fill): remove LColor:: prefix from declaration.
2800
2801         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2802         use lyx::depth_type rather than Paragraph::depth_type so that
2803         header file and .C file match.
2804
2805         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2806
2807         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2808         * aspell.C: \file aspell_local.C -> \file aspell.C
2809         * gettext.C: \file gettext.C -> \file src/gettext.C
2810         * gettext.h: \file gettext.h -> \file src/gettext.h
2811         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2812         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2813         * text.C: \file text.C -> \file src/text.C
2814
2815         * toc.C: move comment so that doxygen is not confused.
2816
2817 2003-10-07  Angus Leeming  <leeming@lyx.org>
2818
2819         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2820
2821 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2822
2823         * aspell.C:
2824         * aspell_local.h: add forgotten std::string's.
2825
2826 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2827
2828         * LaTeXFeatures.C:
2829         * LyXAction.C:
2830         * factory.C:
2831         * lfuns.h:
2832         * lyxfunc.C:
2833         * text3.C: The Box patch. Fancybox support, minipage, parbox
2834
2835 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2836
2837         * CutAndPaste.h:
2838         * DepTable.h:
2839         * FloatList.h:
2840         * LaTeXFeatures.h:
2841         * ParagraphParameters.h:
2842         * TextCache.h:
2843         * Thesaurus.h:
2844         * bufferlist.h:
2845         * exporter.h:
2846         * importer.h:
2847         * lastfiles.h:
2848         * lyxfind.h:
2849         * lyxfont.h:
2850         * lyxlex.h:
2851         * lyxtextclasslist.h:
2852         * messages.h:
2853         * paragraph.h:
2854         * paragraph_pimpl.C:
2855         * textcursor.h: add <string> and other small fixes to make Lars'
2856         std::string patch compile with STLport.
2857
2858 2003-10-06  Angus Leeming  <leeming@lyx.org>
2859
2860         * LColor.h: Add missing #include <string>.
2861
2862 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2863
2864         * All most all file in all subdirs: Make <string> be the prefered
2865         way of getting to std::string, add using declarations.
2866
2867 2003-10-06  André Pönitz  <poenitz@gmx.net>
2868
2869         * metricsinfo.C: initialize LyXFont before changing attribute.
2870         (fixes the 'math in \emph is upright' bug)
2871
2872 2003-10-06  André Pönitz  <poenitz@gmx.net>
2873
2874         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2875
2876 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2877
2878         * graph.C:
2879         * paragraph_pimpl.C: Small fixes to build using STLport
2880
2881 2003-10-02  André Pönitz  <poenitz@gmx.net>
2882
2883         * lyxfunc.C:
2884         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2885
2886 2003-10-01  André Pönitz  <poenitz@gmx.net>
2887
2888         * factory.C: assert early
2889
2890 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2891
2892         * lyx_main.C: remove the global debug object
2893
2894         * debug.h: adjust for new debugstream
2895
2896         * debug.C: adjust for new debugstream and keep the global debug
2897         object here.
2898
2899 2003-09-22  Angus Leeming  <leeming@lyx.org>
2900
2901         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2902         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2903         an incomplete class LyXFont.
2904
2905 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2906
2907         * factory.C: bug fix in branches
2908
2909 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2910
2911         * lyxfunc.C (processKeySym): adjust
2912         (dispatch): adjust
2913         (dispatch): change arg name from ev to func, adjust
2914         (sendDispatchMessage): ditto
2915
2916         * lyx_main.C (defaultKeyBindings): adjust keybindings
2917         (deadKeyBindings): ditto
2918
2919         * kbsequence.C (addkey): return a FuncRequest
2920
2921         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2922
2923         * kbmap.C (bind): take a FuncRequest as arg, adjust
2924         (read): adjust
2925         (lookup): adjust
2926         (defkey): change to take a FuncRequest as arg, adjust
2927         (findbinding): take a FuncRequest as arg, adjust.
2928
2929         * funcrequest.h (operator=): added
2930
2931         * funcrequest.C (FuncRequest): default kb_action changed from
2932         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2933
2934         * buffer.C (dispatch): simplify
2935         (dispatch): adjust to take a FuncRequest as arg, adjust
2936
2937         * boost.C (assertion_failed): change assertion message slightly
2938
2939         * ToolbarBackend.C (read): simplify
2940
2941         * MenuBackend.C (binding): adjust call to findbinding, add a
2942         message if no binding is found.
2943         (read): simplify
2944         (expandToc): correct by adding a empty FuncRequest
2945
2946         * LyXAction.C: include <boost/assert.hpp>
2947         (isPseudoAction): delete function
2948         (LookupFunc): change name to...
2949         (lookupFunc): this. change return type to FuncRequest.
2950         (getActionName): take kb_action as arg, simplify
2951         (funcHasFlag): add an assert, simplify.
2952
2953 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2954
2955         * toc.C (action): return a FuncRequest, simplify
2956
2957         * lyxfunc.C (processKeySym): adjust
2958         (getStatus): delete version that takes an int.
2959         (getStatus): adjust
2960         (dispatch): delete version that takes action as int
2961         (dispatch): adjust
2962         (sendDispatchMessage): simplify and adjust
2963
2964         * funcrequest.C (getArg): take unsigned int as arg
2965
2966         * ToolbarBackend.C (read): adjust
2967         (add): delete version that takes func as a string.
2968         (getIton): take a FuncRequest as arg
2969
2970         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2971         action.
2972
2973         * MenuBackend.C (MenuItem): add a new construct that only takes a
2974         Kind, simplify the constructor use for submenus.
2975         (add): adjust
2976         (expandLastfiles): adjust
2977         (expandDocuments): adjust
2978         (expandFormats): adjust
2979         (expandFloatListInsert): adjust
2980         (expandFloatInsert): adjust
2981         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2982
2983         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2984         Remove class variables lyx_pseudo_map and lyx_arg_map
2985
2986         * LyXAction.C (searchActionArg): delete function
2987         (getPseudoAction): delete function
2988         (retrieveActionArg): delete function
2989         (LookupFunc): make it return kb_action, simplify.
2990         (getActionName): simplify
2991
2992         * factory.C (createInset): fix new bug
2993
2994 2003-09-19  Angus Leeming  <leeming@lyx.org>
2995
2996         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2997         masterFilename_ parameter in the include inset.
2998
2999         * factory.C (createInset): changes due to the changes to InsetInclude.
3000
3001 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3002
3003         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3004
3005 2003-09-18  Angus Leeming  <leeming@lyx.org>
3006
3007         * buffer.C:
3008         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3009         Inset::fillWithBibKeys.
3010         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3011
3012 2003-09-18  Angus Leeming  <leeming@lyx.org>
3013
3014         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3015         variables.
3016         (ctor): pass and store a 'Buffer const &'
3017         (buffer): new member function.
3018
3019         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3020         '*this' to the LaTeXFeatures ctor.
3021
3022 2003-09-18  Angus Leeming  <leeming@lyx.org>
3023
3024         * LColor.h:
3025         * lyxfont.C:
3026         * lyxfont.h:
3027         * lyxtext.h:
3028         * text.C: rename EnumLColor as LColor_color.
3029
3030 2003-09-18  Angus Leeming  <leeming@lyx.org>
3031
3032         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3033         remove #include "insets/insetbase.h" from cursor.h.
3034
3035 2003-09-18  Angus Leeming  <leeming@lyx.org>
3036
3037         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3038         InsetOld_code to remove #include "inset.h".
3039
3040         * iterators.C: add #include "insets/inset.h"
3041
3042 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3043
3044         * BufferView.C: remove more locking stuff that apparently doesn't
3045         do anything sensible.
3046
3047 2003-09-16  André Pönitz  <poenitz@gmx.net>
3048
3049         * paragraph.[Ch]:
3050         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3051           performance boost.
3052
3053 2003-09-16  Angus Leeming  <leeming@lyx.org>
3054
3055         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3056
3057         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3058         arg/return type.
3059
3060         * paragraph.h: remove #include "lyxfont.h". Forward declare
3061         LyXFont_size.
3062
3063 2003-09-16  Angus Leeming  <leeming@lyx.org>
3064
3065         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3066         of support/textutils.h.
3067         (isWord): move the contents of support/textutils.h's IsWordChar here.
3068
3069         * buffer.C:
3070         * lyxfind.C:
3071         * rowpainter.C:
3072         * text.C:
3073         * text2.C: add #include "paragraph.h".
3074
3075         * rowpainter.C:
3076         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3077
3078 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3079
3080         * main.C:
3081         * lyx_main.C:
3082         * lyx_cb.C:
3083         * buffer.C:
3084         * LaTeX.C: use namespace alias for lyx::support::os
3085
3086 2003-09-16  Angus Leeming  <leeming@lyx.org>
3087
3088         * bufferparams.C:
3089         * bufferview_funcs.C:
3090         * factory.C:
3091         * lyxfunc.C:
3092         * paragraph_pimpl.C:
3093         * rowpainter.C:
3094         * text.C: add #include "LColor.h".
3095
3096 2003-09-16  Angus Leeming  <leeming@lyx.org>
3097
3098         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3099         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3100         return LyXFont &.
3101         Store the FontBits::color variable as an int rather than as an
3102         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3103         file.
3104
3105         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3106         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3107         string calls together.
3108
3109         * lyxrc.C: add #include "LColor.h".
3110
3111 2003-09-15  Angus Leeming  <leeming@lyx.org>
3112
3113         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3114         a cow_ptr.
3115
3116 2003-09-15  Angus Leeming  <leeming@lyx.org>
3117
3118         * LColor.h: add an EnumLColor wrapper for LColor::color.
3119
3120         * lyxfont.[Ch] (color, setColor, realColor):
3121         * lyxtext.h, text.C (backgroundColor):
3122         pass EnumLColor args to/from the functions, rather than LColor::color
3123         ones.
3124
3125         * lyxfont.h:
3126         * lyxtext.h: forward declare EnumLColor.
3127
3128         * lyx_main.C: add #include "LColor.h".
3129
3130 2003-09-15  Angus Leeming  <leeming@lyx.org>
3131
3132         * .cvsignore: add lyx-gtk.
3133
3134 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3135
3136         * Chktex.C
3137         * LaTeX.C
3138         * LaTeXFeatures.C
3139         * ParagraphParameters.C
3140         * Spacing.C
3141         * buffer.C
3142         * bufferparams.C
3143         * bufferview_funcs.C
3144         * chset.C
3145         * counters.C
3146         * funcrequest.C
3147         * lyxfont.C
3148         * lyxgluelength.C
3149         * lyxlength.C
3150         * paragraph.C
3151         * paragraph_funcs.C
3152         * text3.C
3153         * vc-backend.C: remove usage of STRCONV
3154
3155 2003-09-15  Angus Leeming  <leeming@lyx.org>
3156
3157         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3158         explicitly define the color passed to the painter.
3159
3160 2003-09-15  Angus Leeming  <leeming@lyx.org>
3161
3162         * bufferparams.C (BufferParams): reorder member initializers to avoid
3163         compiler warning.
3164
3165 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3166
3167         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3168         * text.C (updateRowPositions): remove an unusual nop
3169
3170 2003-09-12  André Pönitz  <poenitz@gmx.net>
3171
3172         * BufferView_pimpl.C:
3173         * Bullet.C:
3174         * layout.h:
3175         * lyxfunc.C:
3176         * lyxlayout.[Ch]:
3177         * lyxtextclass.C:
3178         * rowpainter.C:
3179         * text.C:
3180         * text2.C:
3181         * Counters.[Ch]: finish the 'automatic counters' job
3182
3183 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3184
3185         * aspell.C: include <boost/assert.cpp> (compile fix)
3186
3187 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3188
3189         * boost.C (assertion_failed): use lyx::support::abort instead of
3190         assert.
3191
3192 2003-09-10  Angus Leeming  <leeming@lyx.org>
3193
3194         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3195         with their _fwd progeny.
3196
3197 2003-09-09  Angus Leeming  <leeming@lyx.org>
3198
3199         134 files throughtout the source tree: replace 'using namespace abc;'
3200         directives with the appropriate 'using abc::xyz;' declarations.
3201
3202 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3203
3204         * boost.C (emergencyCleanup): moved here from LAssert.c
3205         (assertion_failed): new function, called by BOOST_ASSERT
3206
3207         * several files: change Assert to BOOST_ASSERT
3208
3209 2003-09-09  Angus Leeming  <leeming@lyx.org>
3210
3211         * buffer.[Ch]: Add an Impl class and move Buffer's member
3212         variables into it. As a result move several header files out of
3213         buffer.h.
3214
3215         Add header files to lots of .C files all over the tree as a result.
3216
3217 2003-09-09  Angus Leeming  <leeming@lyx.org>
3218
3219         * buffer.[Ch]: make Buffer's member variables private. Add
3220         accessor functions.
3221
3222         Lots of changes all over the tree as a result.
3223
3224 2003-09-08  Angus Leeming  <leeming@lyx.org>
3225
3226         * graph.C: #include <config.h>.
3227
3228 2003-09-08  Angus Leeming  <leeming@lyx.org>
3229
3230         * BranchList.C:
3231         * BufferView.C:
3232         * BufferView_pimpl.C:
3233         * CutAndPaste.C:
3234         * DepTable.C:
3235         * LaTeX.C:
3236         * LaTeXFeatures.C:
3237         * LyXAction.C:
3238         * MenuBackend.C:
3239         * TextCache.C:
3240         * aspell.C:
3241         * buffer.C:
3242         * bufferlist.C:
3243         * changes.C:
3244         * chset.C:
3245         * converter.C:
3246         * counters.C:
3247         * debug.C:
3248         * graph.C:
3249         * ispell.C:
3250         * lyx_cb.C:
3251         * lyxfind.C:
3252         * lyxfunc.C:
3253         * lyxlex_pimpl.C:
3254         * lyxrc.C:
3255         * lyxrow.C:
3256         * paragraph.C:
3257         * rowpainter.C:
3258         * texrow.C:
3259         * text.C:
3260         * text2.C:
3261         * toc.C: remove redundant using directives.
3262
3263 2003-09-07  Angus Leeming  <leeming@lyx.org>
3264
3265         * LaTeXFeatures.h: remove #include "support/types.h".
3266         * ToolbarBackend.h: remove #include <algorithm>.
3267         * changes.h: remove #include <ctime>.
3268         * debug.h: remove #include <iosfwd>.
3269         * graph.h: remove #include "support/std_string.h".
3270         * lyx_main.h: remove #include <csignal>.
3271         * lyxlex_pimpl.h: remove #include <fstream>.
3272         * sgml.h: remove #include <algorithm>, <utility>.
3273         * toc.h: remove #include "support/std_ostream.h".
3274         Add #include <iosfwd>.
3275
3276 2003-09-07  Angus Leeming  <leeming@lyx.org>
3277
3278         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3279
3280         * converter.h: forward declare LatexRunParams.
3281         * encoding.h: remove #include "lyxrc.h".
3282         * lyxtext.h: remove #include "LColor.h".
3283         * lyxtextclass.h: remove #include "support/types.h".
3284         * trans.h: remove #include "tex-accent.h".
3285         * trans_mgr.h: remove #include "tex-accent.h".
3286         * insets/inset.h: remove #include "support/types.h", <vector>.
3287         * insets/insetcollapsable.h: remove #include "LColor.h".
3288         * insets/insetinclude.h: remove #include "dimension.h".
3289         * insets/insetlatexaccent.h: remove #include "dimension.h".
3290         * insets/insetoptarg.h:: remove #include "insettext.h".
3291         * insets/insettext.h: remove #include "dimension.h",
3292         <boost/shared_ptr.hpp>
3293
3294         * insets/renderers.h: add #include "dimension.h".
3295         * insets/updatableinset.h: add #include "support/types.h".
3296
3297         * many .C files: Associated changes.
3298
3299 2003-09-06  Angus Leeming  <leeming@lyx.org>
3300
3301         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3302         one, inside testInvariant.
3303
3304         * PrinterParams.C: new file.
3305         * PrinterParams.[Ch]: move the function bodies out of line.
3306
3307 2003-09-06  Angus Leeming  <leeming@lyx.org>
3308
3309         * ParagraphParameters.h: forward declare ParameterStruct rather than
3310         including its header file.
3311         (depth): moved out-of-line.
3312
3313 2003-09-06  Angus Leeming  <leeming@lyx.org>
3314
3315         * BufferView_pimpl.h:
3316         * kbmap.h:
3317         * kbsequence.h:
3318         * lyxfunc.h: forward declare LyXKeySym rather than
3319         #include "frontends/LyXKeySym.h".
3320
3321         * BufferView_pimpl.C:
3322         * kbmap.C:
3323         * kbsequence.C:
3324         * lyxfunc.C: associated changes.
3325
3326 2003-09-06  Angus Leeming  <leeming@lyx.org>
3327
3328         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3329         As a result, can remove the #include "insets/inset.h" from BufferView.h
3330
3331 2003-09-06  Angus Leeming  <leeming@lyx.org>
3332
3333         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3334         As a result, can remove the #include "insets/inset.h" from BufferView.h
3335
3336 2003-09-06  Angus Leeming  <leeming@lyx.org>
3337
3338         * buffer_funcs.C:
3339         * buffer.h:
3340         * bufferlist.C:
3341         * BufferView.C:
3342         * bufferview_funcs.C:
3343         * BufferView_pimpl.C:
3344         * CutAndPaste.C:
3345         * lyx_cb.C:
3346         * lyxfunc.C:
3347         * paragraph.h:
3348         * ParagraphParameters.C:
3349         * tabular.C:
3350         * text3.C:
3351         * toc.C:
3352         * undo_funcs.C:
3353         * frontends/controllers/ControlDocument.C:
3354         * insets/insetcaption.C: rearrange the #includes into some sort of
3355         coherent order.
3356
3357         * buffer.h: remove #includes ErrorList.h, undo.h
3358
3359 2003-09-06  Angus Leeming  <leeming@lyx.org>
3360
3361         * support/types.h: add a 'depth_type' typedef, used to store the
3362         nesting depth of a paragraph.
3363
3364         * paragraph.h:
3365         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3366         defining explicitly.
3367
3368         * buffer.h:
3369         * paragraph_funcs.h:
3370         * ParagraphParameters.h:
3371         * sgml.h: use lyx::depth_type rather than Paragraph or
3372         ParameterStruct's depth_type.
3373
3374         * buffer.h
3375         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3376
3377         * BufferView.C:
3378         * BufferView_pimpl.C:
3379         * CutAndPaste.C:
3380         * ParagraphParameters.C:
3381         * buffer_funcs.C:
3382         * bufferlist.C:
3383         * bufferview_funcs.C:
3384         * lyx_cb.C:
3385         * lyxfunc.C:
3386         * tabular.C:
3387         * text3.C:
3388         * toc.C:
3389         * undo_funcs.C:
3390         * frontends/LyXView.C:
3391         * frontends/controllers/ControlDocument.C:
3392         * frontends/controllers/ControlErrorList.C:
3393         * insets/insetbibitem.C:
3394         * insets/insetbranch.C:
3395         * insets/insetcaption.C:
3396         * insets/insetcollapsable.C:
3397         * insets/insetenv.C:
3398         * insets/insetert.C:
3399         * insets/insetfloat.C:
3400         * insets/insetfoot.C:
3401         * insets/insetfootlike.C:
3402         * insets/insetnewline.C:
3403         * insets/insetquotes.C:
3404         * insets/insettabular.C:
3405         * insets/insettext.C:
3406         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3407
3408         * frontends/controllers/ControlChanges.C: #include "changes.h".
3409
3410 2003-09-06  Angus Leeming  <leeming@lyx.org>
3411
3412         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3413         than #including paragraph.h.
3414
3415         * ParagraphList.h:
3416         * RowList.h: deleted. Superfluous.
3417
3418         * CutAndPaste.h:
3419         * iterators.h:
3420         * lyxcursor.h:
3421         * lyxtext.h:
3422         * text_funcs.h:
3423         * undo.h:
3424         * undo_funcs.h:
3425         * insets/inset.h:
3426         * insets/insettext.h: use ParagraphList_fwd.h rather than
3427         ParagraphList.h.
3428
3429         * paragraph.h: don't forward declare ParagraphList.
3430
3431         * buffer.h:
3432         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3433         rather than ParagraphList.h. paragraph.h is still needed for the
3434         Paragraph::depth_type parameters.
3435
3436         * textcursor.h: enable it to compile stand-alone in light of the
3437         above changes.
3438
3439         * bufferview_funcs.C:
3440         * iterators.C:
3441         * lyxfunc.C:
3442         * lyxrow_funcs.C:
3443         * paragraph.C:
3444         * rowpainter.C:
3445         * text.C:
3446         * text2.C:
3447         * text3.C:
3448         * text_funcs.C:
3449         * textcursor.C:
3450         * undo.C:
3451         * frontends/controllers/ControlParagraph.C:
3452         * frontends/controllers/ControlTabular.C:
3453         * insets/insetmarginal.C:
3454         * insets/insetminipage.C:
3455         * insets/insetnote.C:
3456         * insets/insetoptarg.C: add header files needed to compile again.
3457
3458 2003-09-06  Angus Leeming  <leeming@lyx.org>
3459
3460         * RowList_fwd.h: new file, forward-declaring Row rather than
3461         #including lyxrow.h.
3462
3463         * lyxrow_funcs.h:
3464         * lyxtext.h:
3465         * paragraph.h:
3466         * insets/insettext.h: use it instead of RowList.h
3467
3468         * bufferview_funcs.C:
3469         * lyxfunc.C:
3470         * lyxrow_funcs.C:
3471         * paragraph.C:
3472         * rowpainter.C:
3473         * text.C:
3474         * text2.C:
3475         * text3.C: #include "RowList.h".
3476
3477 2003-09-05  Angus Leeming  <leeming@lyx.org>
3478
3479         * factory.C (createInset):
3480         * vspace.C (c-tor): replace sscanf call with an istringstream.
3481         * ispell.C: re-add missing HP/UX headers.
3482         * lyxserver.C: re-add missing  os2 headers.
3483
3484 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3485
3486         * BranchList.C:
3487         * graph.C:
3488         * ispell.C:
3489         * lastfiles.C:
3490         * lyx_cb.C:
3491         * lyxserver.C:
3492         * texrow.C:
3493         * text3.C: re-add missing system headers, needed for 2.95.2.
3494
3495 2003-09-05  Angus Leeming  <leeming@lyx.org>
3496
3497         Changes most place everywhere due to the removal of using directives
3498         from support/std_sstream.h.
3499
3500 2003-09-05  Angus Leeming  <leeming@lyx.org>
3501
3502         Replace LString.h with support/std_string.h,
3503         Lsstream.h with support/std_sstream.h,
3504         support/LIstream.h with support/std_istream.h,
3505         support/LOstream.h with support/std_ostream.h.
3506
3507         Changes resulting throughout the tree.
3508
3509 2003-09-05  Angus Leeming  <leeming@lyx.org>
3510
3511         * sgml.h: ensure that the header file can be compiled stand-alone.
3512         * *.C: strip out redundant #includes. (320 in total.)
3513
3514 2003-09-04  Angus Leeming  <leeming@lyx.org>
3515
3516         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3517         here (from getPackages).
3518
3519         * debug.[Ch]: add a new EXTERNAL tag.
3520
3521 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3522
3523         * text2.C (cursorEnd): simplify
3524         (setCursor): adjust
3525         (getColumnNearX): adjust
3526
3527         * text.C (computeBidiTables): adjust
3528         (fill): adjust
3529
3530         * rowpainter.C (paintChars): adjust
3531         (paintSelection): adjust
3532         (paintChangeBar): adjust
3533         (paintText): adjust
3534
3535         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3536         lastPos instead.
3537         (numberOfSeparators): adjust
3538
3539 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3540
3541         * LyXAction.C:
3542         * box.[Ch]:
3543         * lfuns.h:
3544         * lyxfunc.C:
3545         * text3.C: Restricts the mouse click functionality
3546         of insets like bibtex, include, toc and floatlist to the visible
3547         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3548         up the dialogs. Cursor has to be in front of the inset (i.e.
3549         start of row) for this to function.
3550
3551 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3552
3553         * bufferview_funcs.C (currentState): output row information
3554
3555 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3556
3557         * bufferview_funcs.C (currentState): output paragraph position
3558
3559 2003-09-04  Angus Leeming  <leeming@lyx.org>
3560
3561         * FloatList.h: move out #include "Floating.h".
3562         * LaTeX.h: move out #include "DepTable.h".
3563         * LyXAction.h: move out #include "funcrequest.h".
3564         * buffer.h: move out #include "author.h", "iterators.h".
3565         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3566         * lyx_main.h: move out #include "errorlist.h".
3567         * lyxfunc.h: move out #include "FuncStatus.h".
3568         * lyxtext: move out #include "lyxcursor.h".
3569         * paragraph_pimpl.h: move out #include "counters.h".
3570
3571 2003-09-03  Angus Leeming  <leeming@lyx.org>
3572
3573         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3574         preamble_snippets list, enabling us to add snippets to the preamble
3575         only if the snippet was not there already.
3576
3577 2003-09-04  Angus Leeming  <leeming@lyx.org>
3578
3579         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3580
3581 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3582
3583         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3584         update
3585
3586 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3587
3588         * BranchList.C: point fix, earlier forgotten
3589
3590 2003-09-02  Angus Leeming  <leeming@lyx.org>
3591
3592         * box.C (contains): renamed from 'contained' after a fantastic
3593         amount of hot air.
3594
3595 2003-09-02  John Levon  <levon@movementarian.org>
3596
3597         * BufferView.C:
3598         * lyxcursor.h:
3599         * lyxcursor.C:
3600         * lyxfunc.C:
3601         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3602
3603 2003-09-02  John Levon  <levon@movementarian.org>
3604
3605         * text2.C: simplification of cursorEnd(), including partial
3606         fix for bug 1376
3607
3608 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3609
3610         * buffer.C (readFile): add a space
3611
3612 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3613
3614         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3615
3616 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3617
3618         * buffer.C (readFile): new function, take a filename and a
3619         ParagraphList::iterator
3620         (readFile): adjust
3621         (readFile): adjust, make it private. don't use setStream, make
3622         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3623         always contain the filename.
3624
3625         * BufferView.C (insertLyXFile): simplify and make it work for
3626         gzipped files.
3627
3628 2003-08-30  John Levon  <levon@movementarian.org>
3629
3630         * Makefile.am: fix dist (from Kayvan)
3631
3632 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3633
3634         * most files: change to use const Buffer refs
3635
3636 2003-08-27  André Pönitz  <poenitz@gmx.net>
3637
3638         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3639         on top of ownerPar().
3640
3641 2003-08-27  John Levon  <levon@movementarian.org>
3642
3643         * funcrequest.C: properly initialise POD members
3644
3645 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3646
3647         * lyxtext.h (top_y): move top_y from here
3648         * text.C:
3649         * text2.C:
3650         * text3.C:
3651         * BufferView.[Ch]:
3652         * BufferView_pimpl.[Ch]: to here
3653         * frontends/screen.C:
3654         * insets/insettabular.C:
3655         * insets/insettext.C: adjust
3656         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3657
3658 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3659
3660         * BufferView.[Ch]:
3661         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3662
3663 2003-08-26  André Pönitz  <poenitz@gmx.net>
3664
3665         * paragraph_func.[Ch] (outerPar): new function
3666
3667         * paragraph.C:
3668         * paragraph_funcs.C:
3669         * paragraph_funcs.h:
3670         * paragraph_pimpl.C:
3671         * text2.C: remove Inset::par_owner
3672
3673 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3674
3675         * lyxrow_funcs.C:
3676         * lyxtext.h:
3677         * text.C:
3678         * text2.C: eliminates the needFullRow/display() stuff
3679         altogether, putting the logic in metrics/draw in the insets.
3680
3681 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3682
3683         * text2.C (redoParagraphInternal, redoParagraphs):
3684         * text.C (redoParagraph): add a call to updateRowPositions at the
3685         end of each 'metrics-like' call. Remove all others.
3686         (getRow): remove the 'y-computing' version.
3687         (getRowNearY): do not compute nor return the real y. Solve the
3688         'y < 0' problem and simplify.
3689
3690 2003-08-22  Angus Leeming  <leeming@lyx.org>
3691
3692         * *.[Ch]: clean-up of licence and author blurbs.
3693         Also move config.h out of a few .h files and into a few .C files.
3694
3695 2003-08-22  André Pönitz  <poenitz@gmx.net>
3696
3697         * lyxrow.[Ch]: add x_ and *fill_ members
3698
3699         * lyxtext.h:
3700         * text.C:
3701         * rowpainter.C:
3702         * text2.C: adjust/remove prepareToPrint() calls
3703
3704 2003-08-22  André Pönitz  <poenitz@gmx.net>
3705
3706         * lyxrow.[Ch]: add  end_ member
3707
3708         * lyxrow_funcs.C: use LyXRow::end_
3709
3710         * lyxtext.h (singleWidth): add LyXFont parameter
3711
3712         * rowpainter.C:
3713         * text2.C: adjust LyXText::singleWidth() calls
3714
3715         * text.C (redoParagraph): simplify row breaking logic
3716
3717
3718 2003-08-19  André Pönitz  <poenitz@gmx.net>
3719
3720         * funcrequest.C: initialize button_ member
3721
3722         * text3.C:
3723         * rowpainter.[Ch]: interface consolidation
3724
3725 2003-08-18  André Pönitz  <poenitz@gmx.net>
3726
3727         * BufferView.C:
3728         * BufferView_pimpl.C:
3729         * lyxfind.C:
3730         * paragraph_funcs.C:
3731         * rowpainter.C:
3732         * text3.C: remove LyXScreen::draw() and fitCursor calls
3733
3734         * BranchList.h: remove spurious semicolons
3735
3736         * MenuBackend.C: fix branchlist related crash
3737
3738 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3739
3740         * BranchList.[Ch]:
3741         * InsetList.[Ch]:
3742         * LColor.[Ch]:
3743         * LyXAction.C:
3744         * Makefile.am:
3745         * MenuBackend.[Ch]:
3746         * bufferparams.[Ch]:
3747         * factory.C:
3748         * lfuns.h:
3749         * lyxfunc.C:
3750         * text3.C: implements the 'branch inset'
3751         idea. This allows the output of various versions of a document
3752         from a single source version, selectively outputing or suppressing
3753         output of parts of the text.
3754         This implementation contains a 'branch list editor' in a separate
3755         tab of the document settings dialog. Branches are user definable
3756         and have a "display colour" to distinguish them on-screen.
3757
3758         ColorHandler was somewhat cleaned up.
3759         (1) make possible a dynamically growing LColor list by allowing
3760         the graphic context cache to grow along (vector);
3761         (2) eliminate an IMHO unnecessary step in colour allocation.
3762
3763 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3764
3765         * BufferView_pimpl.C: compile fix
3766
3767 2003-08-15  André Pönitz  <poenitz@gmx.net>
3768
3769         * rowpainter.C: remove extra metrics calls
3770
3771         * lyxtext.h: merge the two constructors into a single one,
3772           pass reference to owner's par list
3773
3774         * BufferView_pimpl.C:
3775         * text.C:
3776         * text2.C: adjust
3777
3778 2003-08-15  André Pönitz  <poenitz@gmx.net>
3779
3780         * lyxrow_funcs.[Ch]:
3781         * lyxtext.h:
3782         * paragraph.h:
3783         * paragraph_funcs.C:
3784         * rowpainter.C:
3785         * text.C:
3786         * text2.C:
3787         * text3.C:
3788         * text_funcs.C: split LyXText::rowlist_ into individual
3789         Paragraph::rows_ chunks
3790
3791         * BufferView.[Ch]:
3792         * BufferView_pimpl.[Ch]:
3793         * lyxfind.C:
3794         * lyxtext.h:
3795         * text3.C: remove toggleSelection()
3796
3797 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3798
3799         * bufferlist.C: beautify two alerts (shorter text of buttons)
3800         * buffer.C: Remove redundant ' ' from message
3801         * tabular.h:
3802         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3803         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3804         rename VALIGN_CENTER to VALIGN_MIDDLE
3805
3806 2003-08-11  André Pönitz  <poenitz@gmx.net>
3807
3808         * lyxtext.h (getPar):
3809         * text.C: new function
3810
3811 2003-08-11  André Pönitz  <poenitz@gmx.net>
3812
3813         * Makefile.am:
3814         * tracer.[Ch]: remove unneeded files
3815
3816         * InsetList.[Ch]: remove resizeInsetsLyXText()
3817
3818         * lyxtext.h:
3819         * text.C:
3820         * text2.C:
3821         * text3.C: merge insertParagraphs() and appendParagraph()
3822         remove breakAgain(), update()
3823
3824         * BufferView_pimpl.[Ch]:
3825         * bufferview_funcs.[Ch]:
3826         * lyxfunc.C:
3827         * paragraph.[Ch]:
3828         * rowpainter.C:
3829         * tabular.C: adjust after text & InsetList changes.
3830
3831 2003-08-08  André Pönitz  <poenitz@gmx.net>
3832
3833         * text.C (insertChar, backspace): replace rowlist fiddling
3834         with rebreak of full par
3835
3836         * lyxtext.h:
3837         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3838         checkParagraph, updateInset): removed
3839
3840 2003-08-07  André Pönitz  <poenitz@gmx.net>
3841
3842         * paragraph.C:
3843         * text3.C: merge some LFUN handlers, remove dead code
3844
3845 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3846
3847         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3848
3849 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3850
3851         * text2.C (DEPM): fix part of bug 1255 and 1256
3852
3853 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3854
3855         * BufferView_pimpl.C (workAreaDispatch): change to use
3856         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3857         that are no mouse related.
3858
3859 2003-08-05  André Pönitz  <poenitz@gmx.net>
3860
3861         * BufferView.[Ch]:
3862         * BufferView_pimpl.[Ch]:
3863         * bufferview_funcs.C:
3864         * text2.C:
3865         * text3.C: rip out "deep update"
3866
3867         * textcursor.[Ch] (last_sel_cursor): remove unused member
3868
3869 2003-08-04  André Pönitz  <poenitz@gmx.net>
3870
3871         * BufferView.[Ch]:
3872         * BufferView_pimpl.[Ch]:
3873         * ParagraphParameters.C:
3874         * bufferview_funcs.C:
3875         * lyx_cb.C:
3876         * lyxfind.C:
3877         * lyxfunc.C:
3878         * text.C:
3879         * text2.C:
3880         * text3.C: replace "complicated" BufferView::update(...) calls with
3881         simpler ones.
3882
3883         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3884
3885 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3886
3887         * Makefile.am (lyx_SOURCES): add paper.h
3888
3889 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3890
3891         * Makefile.am: move things around so that both lyx-qt and
3892         lyx-xforms can be built (according to --with-frontend). Then lyx
3893         is a symbolic link to lyx-[firstfrontend]
3894
3895 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3896
3897         * Always use std::endl with lyxerr
3898
3899 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3900
3901         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3902
3903 2003-08-01  André Pönitz  <poenitz@gmx.net>
3904
3905         * BufferView.[Ch]:
3906         * BufferView_pimpl.[Ch]:
3907         * lyxfunc.C:
3908         * text3.C: merge BufferView::repaint() and BufferView::update()
3909
3910 2003-08-01  José Matos  <jamatos@lyx.org>
3911
3912         * buffer.[Ch]: file_format is no longer a buffer data element.
3913
3914 2003-08-01  André Pönitz  <poenitz@gmx.net>
3915
3916         * BufferView.C:
3917         * lyxtext.h:
3918         * text.C:
3919         * text2.C: make redoParagraph more independent of current cursor
3920
3921         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3922         * text.C:
3923         * text2.C: remove unneeded members
3924
3925 2003-07-30  André Pönitz  <poenitz@gmx.net>
3926
3927         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3928
3929         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3930           create a single function...
3931
3932         * paragraph_funcs.C (moveItem): ... here.
3933
3934         * text.C:
3935           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3936
3937 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3938
3939         * LColor.[Ch]: Add comment and greyedout logical colors.
3940
3941 2003-07-30  André Pönitz  <poenitz@gmx.net>
3942
3943         * tabular.C: don't use Assert too heavily. This crashes where it
3944           shouldn't
3945
3946 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3947
3948         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3949         is disabled (bug 1232)
3950
3951 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3952
3953         * factory.C: limited 'arg' scope
3954
3955 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3956
3957         * factory.C: fixed Note submenu issues
3958
3959 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3960
3961         * factory.C: submenu for Note/Comment/Greyedout
3962
3963 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3964
3965         * lyx_main.C (LyX):
3966         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3967
3968 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3969
3970         * LaTeXFeatures.C:
3971         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3972         greyedout. Patch provided by Jürgen Spitzmüller.
3973
3974 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3975
3976         * kbmap.C (read): fix error message when reading bind files
3977
3978 2003-07-29  Angus Leeming  <leeming@lyx.org>
3979
3980         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3981         certainly does not do what it purports to do. I am doing it, and
3982         us, a favour by killing it.
3983
3984 2003-07-28  José Matos  <jamatos@lyx.org>
3985
3986         * buffer.C (readBody, do_writeFile):
3987         * paragraph.C(readParagraph): \end_document replaces \the_end.
3988
3989 2003-07-29  André Pönitz  <poenitz@gmx.net>
3990
3991         * BufferView.[Ch]:
3992         * BufferView_pimpl.[Ch]:
3993         * lyxfunc.C:
3994         * text2.C:
3995         * text3.C:
3996         * textcursor.[Ch]: remove toggleToggle & Co
3997
3998 2003-07-28  José Matos  <jamatos@fep.up.pt>
3999
4000         * buffer.C (readParagraph):
4001         * params_func (readParToken, readParagraph):
4002         * paragraph.C (write): \layout -> \begin_layout.
4003
4004 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4005
4006         * lyxlex_pimpl.C (setFile): clean up slightly.
4007
4008         * bufferparams.h: add compressed var
4009
4010         * buffer_funcs.C (readFile): adjust for LyXLex change
4011         (newFile): ditto + simplify
4012
4013         * buffer.C (writeFile): handle writing of compressed files
4014
4015         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4016         Check if the file is compressed and set a bufferparm if so.
4017
4018         * Makefile.am (lyx_LDADD): remove explicit -lz
4019
4020 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4021
4022         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4023         makeDocBookFile): put the real LyX version in the first line of
4024         the file
4025
4026         * version.h:
4027         * version.C.in: remove lyx_docversion
4028
4029         * tabular.C (write_attribute): add a template-based version to
4030         write enums properly
4031
4032 2003-07-28  André Pönitz  <poenitz@gmx.net>
4033
4034         * lyxtext.h:
4035         * text.C:
4036         * text2.C:
4037         * text3.C: use doubles again for x-coordinates. They are needed.
4038
4039 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4040
4041         * messages.C (getLocaleDir): use lyx_localedir()
4042
4043         * lyxlex_pimpl.C (setFile): compress stuff
4044
4045         * buffer.C (writeFile): add some compression stuff
4046         (do_writeFile): new func, dont call expliti close... will this
4047         breake anything?
4048
4049         * Makefile.am (lyx_LDADD): add -lz
4050
4051 2003-07-28  José Matos  <jamatos@fep.up.pt>
4052
4053         * buffer.C: increment file format.
4054         * paragraph_funcs (readParagraph, readParToken):
4055         * paragraph.C (readParagraph): add \end_layout.
4056
4057 2003-07-27  Angus Leeming  <leeming@lyx.org>
4058
4059         * Makefile.am: remove special casing for configure-time setting of
4060         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4061
4062         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4063         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4064
4065 2003-07-26  André Pönitz  <poenitz@gmx.net>
4066
4067         * paragraph_func.[Ch]:
4068         * paragraph.C (realizeFont): inline it whereever it is used
4069
4070         * rowpainter.C:
4071         * text.C:
4072         * text2.C:
4073         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4074
4075
4076 2003-07-26  André Pönitz  <poenitz@gmx.net>
4077
4078         *       lyxtext.h:
4079         * text.C:
4080         * text2.C: get rid of LyXText::need_break_row
4081
4082 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4083
4084         * toc.[Ch]: put namespace toc inside namespace lyx
4085
4086         * MenuBackend.C (expandToc2): adjust for lyx::toc
4087         (expandToc): ditto
4088
4089         * lyxfunc.C (dispatch): adjust for lyx::find
4090
4091         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4092         lyx::find instead. Reorganize a bit.
4093         (LyXReplace): rename to replace
4094         (LyXFind): rename to find
4095
4096         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4097         (dispatch): ditto
4098
4099 2003-07-26  André Pönitz  <poenitz@gmx.net>
4100
4101         * text.C (setHeightOfRow): restrict scope of temporary variable
4102
4103         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4104           code (never has been used?)
4105
4106 2003-07-27  Asger Alstrup  <alstrup@local>
4107
4108         * text.C (fill): Optimise algorithm to exploit that we can reuse
4109         the LyXFont for many characters.
4110         (setHeightOfRow): Same thing.
4111         (rowBreakPoint): Same thing.
4112
4113 2003-07-26  Asger Alstrup  <alstrup@local>
4114
4115         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4116
4117         * text.C (singleWidth): Spurious font copying in hot-spot
4118         singleWidth avoided. Reorder tests for arabic for efficiency.
4119
4120         * text.C (fill): handle empty paragraphs better.
4121
4122 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4123
4124         * ispell.C:
4125         * encoding.h: add includes
4126
4127         * lyxrc.C: remove reading of bind files
4128
4129         * lyx_main.C (init): setup bindings and menus only if we have a
4130         gui.
4131
4132         * kbmap.C (read): new method. Do the actual reading of bind
4133         files.
4134
4135         * converter.C (dvipdfm_options):
4136         * bufferparams.C:
4137         * lyxrc.C (read):
4138         (output): adapt PAPER_* enums.
4139
4140         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4141
4142         * bufferparams.h: remove paper-related enums from there
4143
4144         * paper.h: New file. A trivial header file to hold paper-related
4145         enums. It should later expand to contain many paper-related
4146         horrors access.
4147
4148         * lyxrc.C: declare extern displayTranslator
4149
4150 2003-07-27  José Matos  <jamatos@fep.up.pt>
4151
4152         * tabular.[Ch] (linuxdoc): add support for tables and figures
4153         (linuxdoc).
4154
4155 2003-07-27  José Matos  <jamatos@fep.up.pt>
4156
4157         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4158         consistency in both functions.
4159         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4160
4161 2003-07-26  Asger Alstrup  <alstrup@local>
4162
4163         * rowpainter.C (paintRows): Change algorithm to work directly on
4164         the insets rather than asking every character in the document
4165         whether its an inset.
4166
4167 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4168
4169         * buffer.C (openFileWrite): factorize some code
4170
4171 2003-07-26  Angus Leeming  <leeming@lyx.org>
4172
4173         * lyx_cb.C:
4174         * lyx_main.[Ch]: replace occurances of system_tempdir with
4175         os::getTmpDir().
4176
4177 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4178
4179         * rename Inset to InsetOld
4180
4181 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4182
4183         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4184         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4185         which I think is a bit clearer. EDIT is gone, since it was
4186         premature optimisation, and broken for mathed anyway.
4187         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4188         with cursor positioning in insets as well (math insets still do not
4189         work, but that's a different story anyway.) It mysteriously
4190         crashes sometimes with undo in the first paragraph, but I'm fairly
4191         confident that this is a compiler bug.
4192
4193 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4194
4195         * paragraph.C (Paragraph): adjust for new clone return type
4196         (operator==): ditto
4197         (copyIntoMinibuffer): ditto
4198
4199 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4200
4201         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4202         by not having a special case, and always doing a full rebreak of
4203         the document after undo.
4204
4205 2003-07-23  Angus Leeming  <leeming@lyx.org>
4206
4207         * factory.C (createInset): InsetExternal::setParams now takes a
4208         Buffer const * arg.
4209
4210 2003-07-23  Angus Leeming  <leeming@lyx.org>
4211
4212         * factory.C (createInset): changed interface to the external and
4213         graphics mailers' string2params functions.
4214
4215 2003-07-23  Angus Leeming  <leeming@lyx.org>
4216
4217         * factory.C (createInset): pass a
4218         Buffer const * parameter to InsetExternalMailer's string2params.
4219
4220 2003-07-22  John Levon  <levon@movementarian.org>
4221
4222         * Thesaurus.h: include the right aiksaurus header
4223
4224 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4225
4226         * MenuBackend.C (expand): check menu shortcuts unconditionally
4227
4228 2003-07-21  Angus Leeming  <leeming@lyx.org>
4229
4230         * factory.C (createInset): pass a
4231         buffer_path parameter to InsetGraphicsMailer's string2params.
4232
4233 2003-07-21  Angus Leeming  <leeming@lyx.org>
4234
4235         * BufferView_pimpl.C (buffer):
4236         * buffer.C (d-tor):
4237         * lyx_main.C (LyX):
4238         * lyxfunc.C (dispatch):
4239         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4240         rather than the grfx shortcut.
4241
4242 2003-07-21  André Pönitz  <poenitz@gmx.net>
4243
4244         * rowpainter.C: remove unused variables
4245
4246         * tabular_funcs.C:
4247         * tabular_funcs.h: move to tabular.C
4248         * Makefile.am: adjust
4249
4250         * tabular.[Ch]: basic optical cleaning
4251
4252         * author.h: pass references, not values
4253
4254 2003-07-18  André Pönitz  <poenitz@gmx.net>
4255
4256         * lyxtext.h:
4257         * metricsinfo.C:
4258         * metricsinfo.h:
4259         * rowpainter.C:
4260         * text.C:
4261         * text2.C:
4262         * text3.C: two-phase drawing for InsetText and InsetTabular
4263         some float -> int changes.
4264
4265 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4266
4267         * lyx_main.C: fix the fix
4268
4269 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4270
4271         * lyx_main.C: fix a crash in batch mode if no files specified
4272         * converter.C: ws
4273
4274 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4275
4276         * format.[Ch] (papersize): moved to BufferParams
4277         * converter.[Ch] (dvips_options): moved to BufferParams
4278         (dvipdfm_options): moved to anon namespace
4279         * bufferparams.[Ch]: added above functions.
4280
4281 2003-07-17  André Pönitz  <poenitz@gmx.net>
4282
4283         * lyxtext.h:
4284         * rowpainter.C:
4285         * text2.C: don't call inset->update() anymore
4286
4287         * metricsinfo.[Ch]: add convenience constructor
4288
4289 2003-07-16  André Pönitz  <poenitz@gmx.net>
4290
4291         * lyxcursor.[Ch]:
4292         * lyxfunc.[Ch]:
4293         * text.C:
4294         * text2.C: replace the LyXCursor::irow_ member with
4295          on-demand computation of the value
4296
4297 2003-07-16  John Levon  <levon@movementarian.org>
4298
4299         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4300
4301 2003-07-15  André Pönitz  <poenitz@gmx.net>
4302
4303         * text.C:
4304         * text2.C: remove no more needed refresh_row
4305
4306 2003-07-15  André Pönitz  <poenitz@gmx.net>
4307
4308         * lyxtext.h:
4309         * rowpainter.C:
4310         * text2.C:
4311         * text3.C: refresh_status tristate -> need_update bool
4312
4313 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4314
4315         * lyxtext.h (init): remove reinit argument (act as if always true)
4316         * text2.C: adjust to that
4317
4318 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4319
4320         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4321         * text3.C: use it to delete selections in some cases
4322         (bugs 441, 673, 702, 954).
4323
4324 2003-07-14  André Pönitz  <poenitz@gmx.net>
4325
4326         * rowpainter.[Ch]: reduce interface
4327
4328 2003-07-14  André Pönitz  <poenitz@gmx.net>
4329
4330         * BufferView_pimpl.C:
4331         * text2.C: adjust after removing unused BufferView * argument
4332
4333 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4334
4335         * text2.C (init): fix a crash fired on resize
4336
4337 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4338
4339         * buffer.[Ch]: added new closing signal
4340         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4341         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4342         BufferView::Pimpl via the closing the signal
4343
4344 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4345
4346         * buffer.[Ch]: take out all bv-related from buffer
4347         * BufferView.C:
4348         * BufferView_pimpl.[Ch]: connect to new signals
4349         * CutAndPaste.C: removed useless asserts
4350         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4351         * lyxvc.[Ch]:
4352         * vc-backend.[Ch]:
4353         * lyxfunc.C: moved view-related funciontality from vc here
4354         * paragraph.C: removed outdated comments
4355         * text.C: ws
4356
4357 2003-07-10  André Pönitz  <poenitz@gmx.net>
4358
4359         * BufferView_pimpl.C:
4360         * tabular.h:
4361         * tabular_funcs.C:
4362         * text.C:
4363         * text2.C: remove InsetText::InnerCache, clean up consequences
4364
4365 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4366
4367         * ispell.C: fix two typos in error messages
4368
4369 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4370
4371         * Extend Note inset to other forms of annotation like Comment
4372         and Greyedout. Right button click gives dialog.
4373
4374         Files modified or added (+):
4375
4376         * insetnote.[Ch]
4377         * FormNote.[Ch]      +
4378         * ControlNote.[Ch]   +
4379         * form_note.fd       +
4380         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4381         frontends/controllers
4382         * xforms/Dialogs.C
4383         * factory.C
4384
4385 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4386
4387         * aspell.C: add missing namespace lyx::support
4388
4389 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4390
4391         * BufferView.[Ch] (newFile): Add
4392         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4393         * LaTeX.[Ch] (message): added this signal and use it
4394         * buffer.[Ch] (busy, message): added these signals and use them
4395         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4396         * converter.C:
4397         * exporter.C:
4398         * format.C:
4399         * importer.C: use buffer signals instead of direct bv calling
4400         * lyx_cb.[Ch] (ShowMessage): removed
4401         * lyx_main.C:
4402         * lyxfunc.C:
4403         * paragraph_funcs.C:
4404         * text2.C: use buffer signals
4405
4406 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4407
4408         * introduce namespace lyx::graphics
4409
4410 2003-07-02  André Pönitz  <poenitz@gmx.net>
4411
4412         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4413
4414 2003-07-01  André Pönitz  <poenitz@gmx.net>
4415
4416         * text.C:
4417         * text2.C:
4418         * text3.C:
4419         * text_funcs.[Ch]:
4420         * textcursor.h:
4421         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4422           text*.C to text_func.C
4423
4424 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4425
4426         * introduce namespace lyx::support
4427
4428 2003-06-30  André Pönitz  <poenitz@gmx.net>
4429
4430         * Chktex.C:
4431         * funcrequest.C:
4432         * lyxtext.h:
4433         * text.C: re-enable --with-included-string
4434
4435 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4436
4437         * textcursor.C: add <config.h>
4438
4439         * text.C (getWord): remove const from word_location arg
4440
4441         * lyxvc.C (getLogFile): fix const type order
4442
4443         * lyxtext.h: remove const from word_location arg, add arg name
4444
4445         * lyxlayout.h: currect type on labeltype.
4446
4447         * importer.C: correct \file
4448
4449         * converter.C (intToFormat): use std:: on ret val, ws changes
4450
4451         * bufferlist.h: correct \file
4452
4453         * buffer.C (makeLinuxDocFile): fix const type order
4454         (makeDocBookFile): ditto
4455         (fillWithBibKeys): use std:: on stdlib args.
4456
4457         * CutAndPaste.C: fix authors.
4458         (availableSelections): use std:: on return vector
4459
4460 2003-06-27  André Pönitz  <poenitz@gmx.net>
4461
4462         * BufferView_pimpl.C:
4463         * bufferview_funcs.C:
4464         * lyxcursor.C:
4465         * lyxcursor.h:
4466         * lyxfunc.C:
4467         * lyxtext.h:
4468         * rowpainter.C:
4469         * text.C:
4470         * text2.C:
4471         * text3.C: remove LyXCursor::row_ member
4472
4473         * lyxtext.h:
4474         * text.C: rename fullRebreak() to partialRebreak() and implement
4475           a fullRebreak() that really bereks fully
4476
4477         * textcursor.h: new struct for cursor-related data
4478
4479 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4480
4481         * lyx_main.C (LyX): get full path of document loaded on the
4482         command line
4483
4484 2003-06-26  André Pönitz  <poenitz@gmx.net>
4485
4486         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4487           remove unused/broken operator>,<,>=.
4488
4489         *       text.C: remove only use of broken operator<= in an Assert().
4490
4491 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4492
4493         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4494         moved errorlist_.clear to showErrorList
4495
4496 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4497
4498         * converter.C (scanLog, runLaTeX):
4499         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4500         move the bv->showErrorList call to the callers
4501         * lyxfunc.C: i.e. here...
4502         * text2.C: and here
4503         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4504         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4505         namespace, the second to...
4506         * buffer_funcs (BufferFormat, parseErrors): added
4507         * errorlist.C (ErrorList(TeXErrors const &)): removed
4508
4509 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4510
4511         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4512
4513 2003-06-24  "Garst R. Reese" <reese@isn.net>
4514
4515         * debug.C: fix typo
4516
4517 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4518
4519         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4520
4521         * version.C.in: change docversion to 1.4
4522
4523 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4524
4525         * buffer.C: fix a bug just introduced
4526
4527 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4528
4529         * buffer.[Ch]: added the parseError signal and use it, removed
4530         sgmlError
4531         * BufferView.[Ch] (addError): moved to ...
4532         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4533         to the Buffer::parseError signal to catch (guess what) parse errors
4534         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4535
4536 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4537
4538         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4539         ability to create a buffer and to return an existing one from
4540         the list. Moved these functions to...
4541         * buffer_funcs.[Ch]: added
4542         * BufferView.[Ch] (loadLyXFile): added
4543         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4544         job removed from bufferlist::loadLyXFile.
4545         * buffer.C (setReadOnly): make it work without view
4546         (i.e added an if (users))
4547
4548 2003-06-19  Angus Leeming  <leeming@lyx.org>
4549
4550         * lfuns.h:
4551         * LyXAction.C (init):
4552         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4553         with LFUN_DIALOG_SHOW <name> <data>.
4554
4555 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4556
4557         * CutAndPaste.C (availableSelections): small compilation fix for
4558         ancient (gcc 2.9x) compilers
4559
4560 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4561
4562         * text3.C (cursorNext): add tmp var
4563
4564         * text2.C (updateCounters): for function calling out of for clause
4565         (replaceSelectionWithString): ditto
4566         (insertStringAsParagraphs): ditto
4567         (getColumnNearX): add tmp var
4568         (setCursorFromCoordinates): add tmp var
4569         (cursorDownParagraph): add tmp var
4570         (deleteEmptyParagraphMechanism): add tmp var
4571
4572         * text.C (insertChar): add tmp var
4573
4574         * rowpainter.C (paintDepthBar): add tmp var
4575
4576         * CutAndPaste.C (availableSelections): potentially check all
4577         paragraphs in a cut to fill the shown strings.
4578
4579 2003-06-18  André Pönitz  <poenitz@gmx.net>
4580
4581         * kbmap.[Ch]: use vector<> instead of list<>
4582
4583 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4584
4585         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4586         pasteSelection with index
4587
4588         * text2.C (pasteSelection): modify, call pasteSelection with index
4589
4590         * paragraph.C (asString): reimplement version with no interval to
4591         call the one with interval.
4592
4593         * lyxtext.h: add index arg to pasteSelection
4594
4595         * MenuBackend.C (MenuItem): handle PasteRecent
4596         (Menu::read::Menutags): add md_pasterecent
4597         (read): handle it
4598         (expandPasteRecent): new function
4599         (expand): use it
4600
4601         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4602
4603         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4604         the limited stack
4605         (availableSelections): new function
4606
4607 2003-06-17  Angus Leeming  <leeming@lyx.org>
4608
4609         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4610
4611 2003-06-17  Angus Leeming  <leeming@lyx.org>
4612
4613         * lfuns.h:
4614         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4615
4616         * lyxfunc.C (dispatch): invoke it.
4617
4618 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4619
4620         * iterators.C (operator++, ParPosition): reintroduce some
4621         const_cast for the benefit of older compilers.
4622
4623 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4624
4625         * text3.C (dispatch): do not modify clipboard when doing
4626         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4627         LFUN_DELETE_SKIP on a selection selection
4628
4629 2003-06-16  André Pönitz  <poenitz@gmx.net>
4630
4631         * BufferView.C:
4632         * buffer.C:
4633         * buffer.h:
4634         * paragraph.C:
4635         * tabular.[Ch]: IU of clone() and getLabelList();
4636
4637 2003-06-13  André Pönitz  <poenitz@gmx.net>
4638
4639         * tabular.h: compactification
4640
4641 2003-06-12  André Pönitz  <poenitz@gmx.net>
4642
4643         * tabular.C:
4644         * tabular.h:
4645         * tabular_funcs.h: some renaming plus whitespace
4646
4647 2003-06-12  André Pönitz  <poenitz@gmx.net>
4648
4649         * BufferView.C:
4650         * BufferView_pimpl.C:
4651         * CutAndPaste.C:
4652         * buffer.C:
4653         * iterators.[Ch]:
4654         * lyxfunc.C:
4655         * text.C:
4656         * toc.C: Return a Paragraph & for ParIterator::operator*()
4657
4658 2003-06-11  John Levon  <levon@movementarian.org>
4659
4660         * lyx_main.C:
4661         * ToolbarBackend.h:
4662         * ToolbarBackend.C: add "Toolbars" section and
4663         put the flags there
4664
4665 2003-06-10  Angus Leeming  <leeming@lyx.org>
4666
4667         * lfuns.h:
4668         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4669
4670         * lyxfunc.C (dispatch): invoke it.
4671
4672 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4673
4674         * main.C: protect <ios> with HAVE_IOS
4675         (main): protect sync_with_stdio with HAVE_IOS
4676
4677 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4678
4679         * text2.C (cutSelection): adjust
4680         (pasteSelection): adjust
4681
4682         * messages.C: handle get of empty string
4683
4684         * main.C (main): use sync_with_stdio(false)
4685
4686         * lyxfunc.C (dispatch): adjust
4687
4688         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4689         (WriteAs): remove unneeded BufferView arg.
4690
4691         * bufferparams.h: use correct types on papersize, papersize2 and
4692         paperpackage.
4693
4694         * bufferparams.C (readToken): adjust for type
4695         (writeLaTeX): add missing cases to switch.
4696
4697         * bufferlist.C (quitWriteBuffer): adjust
4698         (close): adjust
4699
4700         * buffer.C (asciiParagraph): remove some commented code.
4701
4702         * CutAndPaste.C: remove current_view extern variable.
4703         (cutSelection): add BufferParams arg.
4704         (eraseSelection): add BufferParams arg.
4705         (pasteSelection): add Buffer const & arg
4706
4707 2003-06-07  John Levon  <levon@movementarian.org>
4708
4709         * buffer.C:
4710         * paragraph_funcs.C:
4711         * paragraph_pimpl.C:
4712         * text.C:
4713         * text2.C:
4714         * paragraph.h:
4715         * paragraph.C: allow InsetERT to freely space lines,
4716         and some consolidation of code
4717
4718 2003-06-06  José Matos  <jamatos@fep.up.pt>
4719
4720         * buffer.C (makeDocBookFile): fix bug #821
4721
4722 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4723
4724         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4725
4726 2003-06-04  Angus Leeming  <leeming@lyx.org>
4727
4728         * buffer.C: bump format to 224.
4729
4730 2003-06-05  André Pönitz  <poenitz@gmx.net>
4731
4732         * text2.C (redoParagraphs): remove two const_cast<>
4733
4734 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4735
4736         * ParagraphList.h: remove last remnants of NO_STD_LIST
4737
4738 2003-06-03  Angus Leeming  <leeming@lyx.org>
4739
4740         * factory.C (createInset): small change to the way InsetExternal's params
4741         are set.
4742
4743 2003-06-04  André Pönitz  <poenitz@gmx.net>
4744
4745         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4746
4747         * paragraph_pimpl.h:
4748         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4749
4750         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4751
4752         * undo_funcs.C: make some simple cases of undo work again
4753
4754 2003-06-03  John Levon  <levon@movementarian.org>
4755
4756         * ispell.C: HPUX doesn't have sys/select.h
4757         (from Albert Chin)
4758
4759 2003-06-03  John Levon  <levon@movementarian.org>
4760
4761         * CutAndPaste.C: update tabular and include inset
4762         buffer references
4763
4764         * buffer.h:
4765         * paragraph.h:
4766         * paragraph.C: remove owningBuffer(), don't pass Buffer
4767         to clone()
4768
4769         * factory.C: insetGraphicsParams changed
4770
4771 2003-06-02  John Levon  <levon@movementarian.org>
4772
4773         * LyXAction.C:
4774         * factory.C:
4775         * lfuns.h:
4776         * lyxfunc.C:
4777         * text3.C: remove insetparent
4778
4779 2003-06-02  John Levon  <levon@movementarian.org>
4780
4781         * buffer.h:
4782         * buffer.C: fix inset_iterator.end(), move out of line
4783         (bug 1149)
4784
4785 2003-06-01  John Levon  <levon@movementarian.org>
4786
4787         * text3.C: use a proper cut/paste when doing inset
4788         insert (from Jürgen Spitzmüller)
4789
4790 2003-06-01  John Levon  <levon@movementarian.org>
4791
4792         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4793
4794 2003-05-30  André Pönitz  <poenitz@gmx.net>
4795
4796         * rowpainter.C: unify second drawing phase
4797
4798 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4799
4800         * trans_mgr.C: remove one case of current_view
4801
4802         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4803
4804         * paragraph_funcs.h: remove paragraph.h include
4805
4806         * paragraph.h: delete NO_STD_LIST stuff
4807
4808         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4809
4810         * buffer.h: remove paragraph.h include
4811
4812         * ParagraphList.C: delete file
4813
4814         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4815
4816         * toc.C (getTocList): adjust
4817
4818         * paragraph_pimpl.C (validate): adjust
4819
4820         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4821
4822         * paragraph.C (Paragraph): adjust
4823         (getPositionOfInset): use const_iterator, adjust
4824         (bibitem): use const_iterator, adjust
4825         (setInsetOwner): adjust
4826
4827         * iterators.C (operator++): adjust
4828
4829         * InsetList.[Ch]: Replace selfmade iterator with standard
4830         vector::iterator also introduce const_iterator. Remove getPos,
4831         getInset and setInset from InsetTable. Adjust accordingly.
4832
4833         * BufferView.C (lockInset): adjust
4834         (ChangeInsets): adjust
4835
4836         * tabular.[Ch]: delete commented same_id functions
4837
4838 2003-05-28  John Levon  <levon@movementarian.org>
4839
4840         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4841
4842 2003-05-28  André Pönitz  <poenitz@gmx.net>
4843
4844         * metricsinfo.[Ch]: remove 'fullredraw' member
4845
4846 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4847
4848         * lyxtextclass.C (operator): remove caching.
4849
4850 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4851
4852         * text3.C: adjust
4853
4854         * text2.C (cursorBottom): adjust
4855         (setCounter): use ParagraphList::find, adjust
4856
4857         * text.C (workWidth): use ParagraphList::find, adjust
4858
4859         * lyxcursor.C (LyXCursor): adjust
4860
4861         * buffer.C (inset_iterator): adjust
4862
4863         * ParagraphList.h: make iterator(value_type) private, make
4864         ParagraphList a friend of iterator.
4865
4866         * ParagraphList.C (find): new function
4867
4868         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4869
4870 2003-05-27  André Pönitz  <poenitz@gmx.net>
4871
4872         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4873
4874 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4875
4876         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4877
4878 2003-05-26  John Levon  <levon@movementarian.org>
4879
4880         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4881
4882 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4883
4884         * remove same_id from function signatures, adjust.
4885
4886 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4887
4888         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4889
4890         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4891
4892         * paragraph.C (Paragraph): get rid of same_ids parameter
4893
4894         * ParagraphList.C (insert): adjust
4895         (push_back): adjust
4896
4897 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4898
4899         * paragraph_funcs.C (breakParagraph): adjust
4900         (breakParagraphConservative): adjust
4901
4902         * buffer.C (readParagraph): adjust
4903
4904         * ParagraphList.C (insert): take a reference instead of a pointer
4905         (insert): adjust
4906
4907         * paragraph.[Ch] (id): new function
4908
4909         * bufferlist.C (newFile): adjust
4910
4911         * ParagraphList.C (ParagraphList): adjust
4912         (assign): adjust
4913         (push_back): take a reference instead of a pointer.
4914
4915         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4916
4917         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4918         instead.
4919
4920         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4921         set else use old code.
4922
4923         * ParagraphList.C: remove all NO_NEXT code and only compile this
4924         code of NO_STD_LIST is set.
4925
4926 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4927
4928         * BufferView_pimpl.C:
4929         * TextCache.C:
4930         * TextCache.h:
4931         * bufferlist.C:
4932         * errorlist.h:
4933         * format.C:
4934         * format.h:
4935         * graph.C:
4936         * lyxfunc.C:
4937         * lyxrc.C:
4938         * graphics/GraphicsConverter.C:
4939         * graphics/PreviewLoader.C: header adjustment
4940
4941 2003-05-23  Angus Leeming  <leeming@lyx.org>
4942
4943         * LaTeXFeatures.[Ch] (useBabel): new method.
4944         * bufferparams.C (writeLaTeX): use it.
4945
4946 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4947
4948         * ParagraphList.h (set): remove unused function.
4949
4950 2003-05-23  André Pönitz  <poenitz@gmx.net>
4951
4952         * BufferView.C:
4953         * BufferView_pimpl.C:
4954         * buffer.C:
4955         * buffer.h:
4956         * lyxfunc.C:
4957         * undo_funcs.C: setUndo reworked
4958
4959         * iterators.[Ch]: add access to topmost ParagraphList
4960
4961         * lyxtext.[Ch] (workWidth): add a const
4962
4963 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4964
4965         * texrow.[Ch] (increasePos): remove function
4966         * exporter.C (export): removed unused var and outdated comment
4967
4968 2003-05-23  Angus Leeming  <leeming@lyx.org>
4969
4970         * latexrunparams.h: rename fragile as moving_arg.
4971         * paragraph.C (simpleTeXOnePar): ditto.
4972         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4973
4974 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4975
4976         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4977         (createUndo): ditto
4978         (textUndoOrRedo): comment out a currently unused var.
4979
4980         * paragraph.h (NO_NEXT): enable NO_NEXT
4981
4982         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4983
4984         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4985
4986         * exporter.C (Export): adjust for removeAutoInsets removal.
4987
4988         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4989
4990         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4991
4992         * BufferView.[Ch] (removeAutoInsets): delete function
4993
4994 2003-05-22  Angus Leeming  <leeming@lyx.org>
4995
4996         * latexrunparams.h: add a free_spacing variable.
4997
4998         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4999         to pass moving_arg, as the data is stored in runparams.fragile.
5000
5001         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5002         to Inset::latexOptional or to simpleTeXOnePar.
5003
5004         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5005         free_spacing arg to Inset::latexOptional.
5006
5007         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5008         free_spacing arg.
5009
5010 2003-05-22  Angus Leeming  <leeming@lyx.org>
5011
5012         * latexrunparams.h: add fragile and use_babel variables.
5013
5014         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5015         * buffer.C (makeLaTeXFile): store this returned value in
5016         runparams.use_babel, thus passing it to the inset::latex methods.
5017
5018         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5019         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5020
5021         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5022         longer has a fragile arg, as it is stored in runparams.fragile.
5023
5024         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5025         moving_arg parameter as the data is stored in runparams.fragile.
5026
5027         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5028         a fragile parameter as the data is stored in runparams.fragile.
5029
5030 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5031
5032         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5033
5034 2003-05-22  Angus Leeming  <leeming@lyx.org>
5035
5036         * latexrunparams.h: add a 'bool nice' which defaults to false.
5037
5038         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5039         now encapsulated within runparams.
5040
5041         * bufferlist.C (updateIncludedTeXfiles):
5042         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5043
5044 2003-05-22  Angus Leeming  <leeming@lyx.org>
5045
5046         * latexrunparams.h: new file containing struct LatexRunParams.
5047         * Makefile.am: add new file.
5048
5049         * LaTeX.[Ch] (c-tor, run):
5050         * buffer.[Ch] (makeLaTeXFile):
5051         * bufferlist.[Ch] (updateIncludedTeXfiles):
5052         * converter.C (convert, scanLog):
5053         * converter.[Ch] (runLaTeX):
5054         * exporter.C (Export):
5055         * paragraph.[Ch] (simpleTeXOnePar):
5056         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5057         * paragraph_funcs.[Ch] (latexParagraphs):
5058         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5059         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5060         pass around a LatexRunParams parameter.
5061
5062 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5063
5064         * paragraph.[Ch]: remove unused constructor
5065
5066         * ParagraphList.C (erase): new function, taking two iterators
5067
5068 2003-05-22  André Pönitz  <poenitz@gmx.net>
5069
5070         * undo_funcs.C: remove duplicated code
5071
5072         * iterator.[Ch]: operator=
5073
5074 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5075
5076         * tabular.C (SetMultiColumn): ws changes
5077
5078         * rowpainter.C (paintFirst): get rid of a ->previous
5079
5080         * lyx_cb.C (getPossibleLabel): parlist simplification
5081
5082         * BufferView.C (ChangeInsets): simplify slightly.
5083
5084 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5085
5086         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5087         * lfuns.h: new LFUN_SPACE
5088         * lyxfunc.C: protected space has a new lfun
5089         * paragraph_funcs.C: read new space insets
5090         * text3.C:
5091         * factory.C: handle new space insets
5092
5093 2003-05-22  André Pönitz  <poenitz@gmx.net>
5094
5095         * BufferView.C:
5096         * BufferView_pimpl.C:
5097         * buffer.[Ch]:
5098         * lyxfunc.C:
5099         * undo_funcs.C: return a ParIterator from getParFromID.
5100
5101         * iterators.[Ch]: add two const's
5102
5103 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5104
5105         * toc.C (getTocList): adjust
5106
5107         * iterators.[Ch]: rework for parlist
5108
5109         * buffer.C (par_iterator_begin): adjust
5110         (par_iterator_end): adjust
5111
5112         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5113
5114         * BufferView.C (removeAutoInsets): adjust
5115         (ChangeInsets): adjust
5116
5117 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5118
5119         * text.C (top_y): fix bug 1110
5120
5121 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5122
5123         * errorlist.[Ch]: added
5124         * buffer.C:
5125         * BufferView.[Ch]:
5126         * BufferView_pimpl.C:
5127         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5128         instead
5129
5130 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5131
5132         * Makefile.am: ensure that lyx is relinked upon changes to the
5133         various "convenience" libs.
5134
5135 2003-05-20  Angus Leeming  <leeming@lyx.org>
5136
5137         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5138         files are compiled in alphabetical order again.
5139
5140         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5141
5142 2003-05-19  Angus Leeming  <leeming@lyx.org>
5143
5144         * gettext.[Ch]: remove "char const * _(char const *)".
5145
5146 2003-05-19  André Pönitz  <poenitz@gmx.net>
5147
5148         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5149
5150         * Makefile.am:
5151         * BufferView.C:
5152         * DepTable.h:
5153         * LaTeXFeatures.C:
5154         * buffer.C:
5155         * lyxfont.C:
5156         * lyxlex.h:
5157         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5158
5159 2003-05-19  André Pönitz  <poenitz@gmx.net>
5160
5161         * buffer.C:
5162         * lyxlayout.[Ch]:
5163         * lyxtextclass.[Ch]:
5164         * paragraph.C:
5165         * paragraph_funcs.[Ch]:
5166         * text2.C:
5167         * text3.C: more insetenv work
5168
5169 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5170
5171         * ParagraphParameters.C (params2string): small bug fixed
5172
5173 2003-05-16  André Pönitz  <poenitz@gmx.net>
5174
5175         * debug.C:
5176         * bufferview_funcs.C: patch from Kornel Benko to prevent
5177           crash when _(...) is called twice in a statement
5178
5179 2003-05-16  André Pönitz  <poenitz@gmx.net>
5180
5181         * BufferView.C:
5182         * lyxfunc.C:
5183         * text.C:
5184         * text2.C:
5185         * text3.C:
5186         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5187
5188 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5189
5190         * lyx_main.C (init): remove spurious static_cast
5191
5192 2003-05-14  André Pönitz  <poenitz@gmx.net>
5193
5194         * BufferView.C: fix format string
5195
5196 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5197
5198         * BufferView.[Ch] (insertErrors): removed
5199         * BufferView.[Ch] (showErrorList): added
5200         * buffer.C (runChkTeX):
5201         * converter.C (scanLog): call showErrorList instead of inserterrors
5202
5203 2003-05-13  André Pönitz  <poenitz@gmx.net>
5204
5205         * BufferView_pimpl.C:
5206         * buffer.C:
5207         * bufferview_func.C:
5208         * MenuBackend.C:
5209         * lyxfunc.C:
5210         * lyxrc.C:
5211         * tex-accent.C:
5212         * text3.C:
5213         * toc.C:
5214         * tabular_funcs.h: tostr() from its own header
5215
5216         * ParagraphParameters.C:
5217         * ToolbarBackend.C:
5218         * bufferparams.C:
5219         * format.C:
5220         * lyxlex_pimpl.C:
5221         * text3.C: STRCONV()
5222
5223 2003-05-12  André Pönitz  <poenitz@gmx.net>
5224
5225         * BufferView.C:
5226         * BufferView_pimpl.C:
5227         * CutAndPaste.C:
5228         * LaTeX.C:
5229         * LaTeXFeatures.C:
5230         * ParagraphParameters.C:
5231         * buffer.C:
5232         * bufferlist.C:
5233         * bufferparams.C:
5234         * bufferview_funcs.C:
5235         * converter.C:
5236         * counters.C:
5237         * debug.C:
5238         * exporter.C:
5239         * format.C:
5240         * importer.C:
5241         * lyx_cb.C:
5242         * lyx_main.C:
5243         * lyxfont.C:
5244         * lyxfunc.C:
5245         * lyxvc.C:
5246         * paragraph.C:
5247         * paragraph_funcs.C:
5248         * tabular.C:
5249         * tabular_funcs.C:
5250         * text2.C:
5251         * text3.C:  boost::format -> bformat  all over the place
5252
5253
5254 2003-05-09  André Pönitz  <poenitz@gmx.net>
5255
5256         * LColor.[Ch]: Pimpl the #include <map> away
5257
5258 2003-05-09  John Levon  <levon@movementarian.org>
5259
5260         * bufferlist.C: never remove emergency saves
5261
5262 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5263
5264         * Makefile.am: better lib building
5265
5266 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5267
5268         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5269         instead.
5270         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5271         (simpleTeXSpecialChars): adjust
5272         (simpleTeXSpecialChars): adjust
5273         * paragraph.C (simpleTeXOnePar): adjust
5274         * buffer.C (makeLaTeXFile): adjust
5275
5276         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5277
5278         * text2.C (changeDepth): parlist cleanup
5279         (getColumnNearX): ditto
5280
5281         * rowpainter.C (getLabelFont): parlist cleanup
5282
5283         * bufferlist.C (newFile): parlist cleanup
5284
5285         * CutAndPaste.C (eraseSelection): parlist cleanup
5286
5287         * BufferView_pimpl.C (trackChanges): parlist cleanup
5288         (dispatch): ditto
5289
5290         * BufferView.C (lockInset): parlist cleanup.
5291         (ChangeInsets): ditto
5292
5293 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5294
5295         * CutAndPaste.h: Update file header.
5296
5297         * CutAndPaste.C: Update file header.
5298         Store the parts cut out of the Document in a limited_stack.
5299         (copySelection): adjust
5300         (pasteSelection): new function, takes the index in the limited stack.
5301         (nrOfParagraphs): adjust
5302         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5303         simplify error inset insertion.
5304         (checkPastePossible): adjust
5305
5306 2003-05-06  John Levon  <levon@movementarian.org>
5307
5308         * text2.C: don't cast wrap inset to float
5309
5310 2003-05-05  André Pönitz  <poenitz@gmx.net>
5311
5312         * iterator.C:
5313         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5314
5315         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5316           few naked Paragraph *.
5317
5318 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5319
5320         * bufferparams.C: Output warning if a document with missing
5321         TeX document class is loaded
5322         * exporter.C: Disable TeX exports if the document class is missing
5323         * lyxtextclass.C:
5324         * lyxtextclass.h:
5325         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5326         isTeXClassAvailable()
5327
5328 2003-05-03  John Levon  <levon@movementarian.org>
5329
5330         * BufferView.h:
5331         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5332         explicit cursor show/hide
5333
5334         * BufferView_pimpl.h:
5335         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5336         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5337
5338         * lyxfunc.C: hide cursor before dispatching.
5339
5340         * lyx_cb.C:
5341         * lyxfind.C:
5342         * text.C:
5343         * text3.C: remove explicit cursor hides
5344
5345 2003-05-02  André Pönitz  <poenitz@gmx.net>
5346
5347         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5348
5349         * undo_funcs.C:
5350         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5351           linked lists
5352
5353         * text2.C: tiny whitespace
5354
5355 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5356
5357         * undo_funcs.C: almost only ws changes.
5358
5359         * ParagraphList.C (splice): just return if pl is empty.
5360
5361 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5362
5363         * ParagraphList.C (splice): new function.
5364
5365         * CutAndPaste.C (pasteSelection): use it
5366
5367 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5368
5369         * CutAndPaste.C (pasteSelection): remove the last next and
5370         previous from this file.
5371
5372 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5373
5374         * CutAndPaste.C (pasteSelection): more clean up, user proper
5375         ParagraphList functions for pasteing.
5376
5377         * ParagraphList.C (insert): new function, three arg insert
5378
5379 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5380
5381         * ParagraphList.C (insert): new function, three arg insert
5382
5383         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5384         not on paragraphs.
5385
5386 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5387
5388         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5389
5390 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5391
5392         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5393
5394 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5395
5396         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5397         (copySelection): clean up a bit.
5398         (pasteSelection): use make_pair
5399
5400         * ParagraphList.C (ParagraphList): implement copy constructor
5401         (operator=): implement, base on copy constructor.
5402         (assign): new func
5403
5404         * paragraph.C (erase): return a bool
5405
5406         * paragraph_pimpl.C (erasePos): remove function, move contents...
5407         (erase): ... here. Return a bool.
5408         (erase): call erase instead of erasePos.
5409
5410 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5411
5412         * ParagraphList.h: define PitPosPair
5413         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5414         ParagraphList, fix a bug on pasting multiple pars
5415         * text2.C: change interface to C&P
5416
5417 2003-04-30  André Pönitz  <poenitz@gmx.net>
5418
5419         * undo_func.C: revert part of yesterday's patch 2
5420
5421 2003-04-30  John Levon  <levon@movementarian.org>
5422
5423         * LColor.C: s/tabular/table/
5424
5425 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5426
5427         * text3.C (dispatch): do not convert iterator -> pointer
5428         * undo_funcs.C (setCursorParUndo): ditto
5429         * text_funcs.C (transposeChars): ditto
5430
5431         * text2.C (setLayout): ws changes only
5432
5433         * text.C (breakParagraph): do not convert iterator -> pointer
5434         (insertChar): ditto
5435         (acceptChange): ditto
5436         (rejectChange): ditto
5437         (changeCase): ditto
5438         (Delete): ditto
5439         (backspace): ditto
5440
5441         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5442         pointer
5443
5444 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5445
5446         * text3.C (gotoInset): YABG (yet another bad getChar)
5447
5448 2003-04-29  André Pönitz  <poenitz@gmx.net>
5449
5450         * paragraph.h: make operator= private unimplemented as long as
5451           it is unusable
5452
5453         * ParagraphList.C: whitespace
5454
5455         * paragraph.[Ch]:
5456         * paragraph_pimpl.[Ch]:
5457         * paragraph_funcs.C:
5458         * CutAndPaste.C:
5459         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5460
5461         * text2.C:
5462           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5463
5464 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5465
5466         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5467         * paragraph.[Ch] (erase):
5468         * paragraph_pimpl.[Ch] (erase): change return type and value
5469         * text2.C (cutSelection): some rework
5470
5471 2003-04-28  John Levon  <levon@movementarian.org>
5472
5473         * bufferlist.C: changes for unsaved changes dialog
5474
5475 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5476
5477         * bufferlist.C (newFile): set language (messages_) for new
5478         documents also.
5479
5480         * buffer.C (readFile): ws changes only.
5481
5482 2003-04-28  André Pönitz  <poenitz@gmx.net>
5483
5484         * undo_funcs.C:
5485         * lyxfunc.C:
5486         * buffer.[Ch]:
5487         * BufferView_pimpl.C:
5488         * BufferView.C: getParFromID related ParagraphList::iterator changes
5489
5490 2003-04-28  André Pönitz  <poenitz@gmx.net>
5491
5492         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5493           Changes
5494
5495 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5496
5497         * messages.C: remove one more localedir class variable.
5498
5499 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5500
5501         * messages.C (getLocaleDir): singleton generation function
5502         (Pimpl): use it.
5503         (Messages): add a default constructor.
5504
5505         * main.C (main): do not setup localedir here, do not call
5506         gettext_init.
5507
5508         * gettext.C (_): use it.
5509         (gettext_init): delete funciton
5510
5511 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5512
5513         * gettext.C (getLyXMessages): new singleton generating function.
5514
5515         * buffer.C (updateDocLang): adjust
5516
5517         * Makefile.am (messages.o): add target
5518         (main.o): remove target
5519
5520 2003-04-27  John Levon  <levon@movementarian.org>
5521
5522         * bufferlist.C:
5523         * lyx_cb.C:
5524         * lyxfunc.C:
5525         * lyxvc.C: specify cancel button in Alert::prompt
5526
5527 2003-04-26  John Levon  <levon@movementarian.org>
5528
5529         * text3.C:
5530         * lyxfunc.C:
5531         * lfuns.h:
5532         * LyXAction.C: add LFUN_INSET_SETTINGS
5533
5534         * lyxfunc.C: don't enable tabular-feature when there's
5535         just any locking inset
5536
5537 2003-04-26  John Levon  <levon@movementarian.org>
5538
5539         * bufferlist.C: re-add Cancel to buffer close question
5540
5541         * lyxfunc.C: fix import UI a bit
5542
5543 2003-04-25  John Levon  <levon@movementarian.org>
5544
5545         * gettext.C: remove the broken asserts for now
5546
5547 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5548
5549         * messages.C: make case where setlocale cannot comply work better.
5550
5551         * buffer.C (updateDocLang): new function
5552         (changeLanguage): use it
5553         (readFile): use it
5554
5555         * text2.C (setCounter): use B_ a bit.
5556
5557         * lyxlayout.C (Read): be sure to trim the label strings.
5558
5559         * messages.C (Messages): fix typo in comment
5560
5561         * buffer.C (readFile): set message_ after file is loaded.
5562         (makeDocBookFile): remove double return
5563         (changeLanguage): reset message_ upon language change.
5564         (B_): new func, use this to get translated buffer strings.
5565
5566         * main.C: add myself and Jean Marc as authors.
5567
5568 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5569
5570         * messages.[hC]: pimplify Messages, and three different pimpls to be
5571         used in different circumstances.
5572
5573         * gettext.[Ch]: change for use with new message code.
5574
5575 2003-04-24 André Pönitz <poenitz@gmx.net>
5576
5577         * factory.C: support for eqref
5578
5579 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5580
5581         * messages.[Ch]: add missing char
5582
5583         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5584
5585         * messages.[Ch]: New files
5586
5587 2003-04-18  John Levon  <levon@movementarian.org>
5588
5589         * BufferView.h:
5590         * BufferView.C:
5591         * BufferView_pimpl.C:
5592         * lfuns.h:
5593         * LyXAction.C:
5594         * lyxtext.h:
5595         * text2.C: remove layout-copy/paste (bug 778)
5596
5597 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5598
5599         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5600
5601 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5602
5603         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5604         if they succeed. Act accordingly.
5605
5606 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5607
5608         * text2.C (setCharFont): adjust
5609         (setCounter): adjust
5610         (insertStringAsLines): adjust
5611
5612         * text.C (leftMargin): adjust
5613         (setHeightOfRow): adjust
5614
5615         * rowpainter.C (paintFirst): adjust
5616         (paintLast): adjust
5617
5618         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5619         (outerHook): ditto
5620         (isFirstInSequence): ditto
5621         (getEndLabel): ditto
5622         (outerFont): adjust
5623
5624         * paragraph.C (getParLanguage): comment out some hard stuff.
5625
5626         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5627         (sgmlError): ditto
5628         (simpleDocBookOnePar): ditto
5629         (makeDocBookFile): use ParagraphList::iterator
5630
5631         * CutAndPaste.C (pasteSelection): adjust
5632
5633 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5634
5635         * text2.C (getFont): adjust
5636         (getLayoutFont): adjust
5637         (getLabelFont): adjust
5638
5639         * paragraph_funcs.C (TeXOnePar): adjust
5640
5641         * buffer.C (simpleLinuxDocOnePar): adjust
5642         (simpleDocBookOnePar): adjust
5643
5644         * CutAndPaste.C (pasteSelection): adjust
5645
5646         * BufferView.C (getEncoding): adjust
5647
5648         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5649
5650 2003-04-16  John Levon  <levon@movementarian.org>
5651
5652         * lyxfind.C: use parlist stuff for search/changes
5653
5654 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5655
5656         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5657
5658         * text2.C (deleteEmptyParagraphMechanism): adjust
5659
5660         * text2.[Ch] (ownerParagraph): delete func (both of them
5661
5662 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5663
5664         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5665
5666 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5667
5668         * ParagraphList.C: prepare for NO_NEXT
5669
5670 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5671
5672         * text2.C (getFont): adjust
5673         (getLayoutFont): adjust
5674         (getLabelFont): adjust
5675
5676         * paragraph.C (getFont): adjust
5677         (getLabelFont): adjust
5678         (getLayoutFont): adjust
5679
5680         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5681
5682 2003-04-15  John Levon  <levon@movementarian.org>
5683
5684         From Angus Leeming
5685
5686         * lyx_main.C: handle Include in .ui files
5687
5688 2003-04-15  John Levon  <levon@movementarian.org>
5689
5690         * MenuBackend.C: make the doc files length shorter
5691
5692         * ToolbarBackend.h:
5693         * ToolbarBackend.C: handle toolbar placement flags,
5694         Minibuffer
5695
5696 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5697
5698         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5699         adjust
5700
5701         * paragraph_funcs.C (TeXOnePar): adjust
5702
5703         * paragraph.C (getLabelFont): add outerfont arg, adjust
5704         (getLayoutFont): ditto
5705         (simpleTeXOnePar): adjust
5706
5707         * paragraph_pimpl.C (realizeFont): delete func
5708
5709 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5710
5711         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5712         row argument, constify cur argument.
5713
5714 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5715
5716         * text2.C (getFont): adjust
5717         (getLayoutFont): adjust
5718         (getLabelFont): adjust
5719
5720         * paragraph_funcs.C (TeXOnePar): adjust
5721         (outerFont): new func...
5722         (realizeFont): ...moved out from here, changed this to facilitate
5723         transition
5724
5725         * paragraph.C (getFont): take outerfont as arg, adjust
5726         (simpleTeXOnePar): add outerfont arg, adjust
5727
5728         * buffer.C (simpleLinuxDocOnePar): adjust
5729         (simpleDocBookOnePar): adjust
5730
5731         * CutAndPaste.C (pasteSelection): adjust
5732
5733         * BufferView.C (getEncoding): adjust
5734
5735 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5736
5737         * text2.C (setCharFont): adjust
5738         (setCounter): adjust
5739
5740         * text.C (leftMargin): adjust
5741         (setHeightOfRow): adjust
5742
5743         * rowpainter.C (paintFirst): adjust
5744         (paintLast): adjust
5745
5746         * paragraph_pimpl.C (realizeFont): adjust
5747
5748         * paragraph.C (isFirstInSequence): move from here...
5749         * paragraph_funcs.C (isFirstInSequence): ...to here
5750
5751         * paragraph.C (outerHook): move from here...
5752         * paragraph_funcs.C (outerHook): ...to here
5753
5754         * paragraph.C (depthHook): move from here...
5755         * paragraph_funcs.C (depthHook): ...to here
5756
5757         * paragraph.C (getEndLabel): move from here...
5758         * paragraph_funcs.C (getEndLabel): ...to here
5759
5760         * text2.C (realizeFont): move from here...
5761         * paragraph_funcs.C (realizeFont): ...to here
5762
5763 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5764
5765         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5766
5767 2003-04-14  Angus Leeming  <leeming@lyx.org>
5768
5769         * LColor.[Ch]: scrap LColor mathcursor.
5770
5771 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5772
5773         * lyxlex.[Ch] (text): delete function
5774         * trans.C (Load): adjust
5775         * paragraph_funcs.C (readParToken): adjust
5776
5777 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5778
5779         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5780         vector<char> instead of a char[].
5781
5782         * lyxlex_pimpl.C (getString): adjust
5783         (next): adjust
5784         (lex): use getString
5785         (eatLine): adjust
5786         (nextToken): adjust
5787
5788         * lyxlex.C (text): use pimpl_->getString()
5789         (getBool): ditto
5790         (findToken): ditto
5791
5792 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5793
5794         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5795         (makeFontEntriesLayoutSpecific): temp var for par.size()
5796         (setLayout): temp var for ownerParagraphs().end()
5797         (fullRebreak): temp var for rows().end()
5798         (selectionAsString): temp var for boost::next(startpit), realize
5799         that the while really is a regular for loop.
5800         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5801         setCursor in one place.
5802         (setParagraph): temp vr for ownerParagraphs().end()
5803         (updateCounters): make the while loop a for loop
5804         (cutSelection): temp var for ownerParagraphs().end()
5805         (updateInset): make the do {} while() a regular for loop
5806         (getCursorX): use temp vars
5807         (setCurrentFont): use temp vars
5808         (getColumnNearX): use temp vars
5809
5810 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5811
5812         * text.C (transformChar): use temp var for getChar
5813         (computeBidiTables): use temp var for row->par()
5814         (fill): move temp vars for row->par() and pit->layout() earlier in
5815         the function.
5816         (labelFill): use temp var for row->par()
5817         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5818         asc and desc, realize that pit never changes and that firstpit is
5819         just a duplicate and not needed. Exchange rit->par() with pit in a
5820         lot of places.
5821         (breakAgain): use a temp var for boost::next(rit)
5822         (breakAgainOneRow): ditto
5823         (breakParagraph): use a temp var for rows().begin()
5824         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5825         (cursorRightOneWord): use temp var for cursor.par() and
5826         cursor.pos(), remove usage of tmpcursor.
5827         (cursorLeftOneWord): use temp var for cursor.par() and
5828         cursor.pos() only set cur at end of function.
5829
5830 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5831
5832         * text.C, text2.C: exchange all usage of Paragraph::next with
5833         boost::next(ParagraphList::iterator)
5834
5835         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5836
5837         * text2.C (cursorTop): simplify implementation
5838         (cursorBottom): ditto
5839         (setParagraph): use ParagraphList::iterator
5840         (setCurrentFont): adjust
5841         (getColumnNearX): adjust
5842         (cursorRight): adjust
5843         (cursorLeft): remove usage of Paragraph::previous
5844         (cursorUpParagraph): ditto
5845         (deleteEmptyParagraphMechanism): slight cleanup
5846
5847         * text.C (isBoundary): take a Paragraph const & instead of a
5848         pointer as arg.
5849         (addressBreakPoint): ditto
5850         (leftMargin): remove usage of Paragraph::previous.
5851         (setHeightOfRow): ditto
5852         (cursorLeftOneWord): ditto
5853         (selectNextWordToSpellcheck): ditto
5854         (Delete): ditto
5855         (backspace): ditto
5856         (breakParagraph): remove one usage of Paragraph::next
5857         (redoParagraph): ditto
5858         (acceptChange): ditto
5859         (insertChar): adjust
5860         (rowBreakPoint): adjust
5861
5862         * bufferview_funcs.C (toggleAndShow): adjust
5863
5864 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5865
5866         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5867         methods to access it.
5868         * lyxtext.h:
5869         * text.C: Added updateRowPositions to compute all row positions.
5870         Make top_y and getRowNearY() to use the cached y position
5871
5872 2003-04-11  John Levon  <levon@movementarian.org>
5873
5874         * text.C (rowBreakPoint): reintroduce the labelEnd
5875         checks, code copied from the row fill stuff. Deep voodoo.
5876
5877         * text.C (fill): add a comment and debugging for the
5878         next poor soul.
5879
5880 2003-04-11  John Levon  <levon@movementarian.org>
5881
5882         * text.C: make sure fullrow insets get wrapped to the next line,
5883         even when they're in a manual label
5884
5885 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5886
5887         * text2.C (insertParagraph): make it take ParagraphList::iterator
5888         as arg.
5889         (setLayout): make it return ParagraphList::iterator
5890         (redoParagraphs): ditto
5891         (setCounter): ditto
5892         (checkParagraph): ditto
5893
5894         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5895
5896         * text2.C: adjust several funcs.
5897         (realizeFont): take a ParagraphList::iterator as arg.
5898         (getLayoutFont): ditto
5899         (getLabelFont): ditto
5900         (setCharFont): ditto
5901
5902         * text.C: adjust several funcs.
5903
5904 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5905
5906         * text.C (selectNextWordToSpellcheck): don't accidentally
5907         skip insets
5908
5909 2003-04-10  John Levon  <levon@movementarian.org>
5910
5911         * ToolbarBackend.C (getIcon): special handling for
5912         LFUN_MATH_DELIM
5913
5914 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5915
5916         * text2.C (cursorRight): a getChar assert fixed
5917
5918 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5919
5920         * text2.C (getFont): change to take a ParagraphList::iterator
5921         instead of Paragraph*
5922         Adjust several functions.
5923
5924         * text.C (transformChar): change to take a ParagraphList::iterator
5925         instead of Paragraph*
5926         (singleWidth): ditto
5927         Adjust several functions.
5928
5929         * rowpainter.C: adjust several functions
5930         * rowpainter.h:store a ParagraphList::iterator and not a
5931         Paragraph&.
5932
5933
5934 2003-04-09  John Levon  <levon@movementarian.org>
5935
5936         * lyxfunc.C:
5937         * lfuns.h:
5938         * LyXAction.h:
5939         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5940         and the "help" bits as well
5941
5942 2003-04-09  John Levon  <levon@movementarian.org>
5943
5944         * ToolbarBackend.h:
5945         * ToolbarBackend.C: allow multiple toolbars
5946
5947 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5948
5949         * undo_funcs.C (setCursorParUndo): adjust
5950
5951         * text_funcs.C (transposeChars): adjust
5952
5953         * text3.C (gotoNextInset): adjust
5954         (dispatch): adjust
5955
5956         * text2.C (setLayout): adjust
5957         (changeDepth): adjust
5958         (setFont): adjust
5959         (redoParagraphs): adjust
5960         (selectionAsString): adjust
5961         (setParagraph): adjust
5962         (insertInset): adjust
5963         (cutSelection): adjust
5964         (copySelection): adjust
5965         (pasteSelection): adjust
5966         (insertStringAsLines): adjust
5967         (updateInset): adjust
5968         (setCursor): change to take a ParagraphList::iterator parameter
5969         (setCursorIntern): change to take a ParagraphList::iterator parameter
5970         (setCurrentFont): adjust
5971         (cursorLeft): adjust
5972         (cursorRight): adjust
5973         (deleteEmptyParagraphMechanism): adjust
5974
5975         * text.C (breakParagraph): adjust
5976         (insertChar): adjust
5977         (acceptChange): adjust
5978         (rejectChange): adjust
5979         (selectNextWordToSpellcheck): adjust
5980         (changeCase): adjust
5981         (Delete): adjust
5982         (backspace): adjust
5983
5984         * lyxfind.C (SearchForward): adjust
5985         (SearchBackward): adjust
5986         (nextChange): adjust
5987
5988         * lyxcursor.C (par): adjust
5989
5990         * lyxcursor.h: store a ParagraphList::iterator instead of a
5991         Paragraph*
5992
5993         * lyx_cb.C (getPossibleLabel): adjust
5994
5995         * bufferview_funcs.C (toggleAndShow): adjust
5996
5997         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5998         (dispatch): adjust
5999
6000         * BufferView.C (removeAutoInsets): adjust
6001         (lockedInsetStoreUndo): adjust
6002
6003 2003-04-09  John Levon  <levon@movementarian.org>
6004
6005         * ToolbarBackend.C: try icon without argument
6006         if with argument fails
6007
6008 2003-04-08  John Levon  <levon@movementarian.org>
6009
6010         * ToolbarBackend.h:
6011         * ToolbarBackend.C: add getIcon(), handle tooltip,
6012         and change from "Icon" to "Item".
6013
6014 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6015
6016         * BufferView.C (lockInset): another bad getchar crunched
6017
6018 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6019
6020         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6021         again)
6022
6023 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6024
6025         * lyxfind.C (searchForward, searchBackwards): bug 782
6026
6027 2003-04-07  John Levon  <levon@movementarian.org>
6028
6029         * paragraph.C: remove dead comment
6030
6031         * text.C: remove troublesome depth-fiddling code
6032         in leftMargin() and rightMargin() (bug 1017)
6033
6034         * text.C: fix breaking of rows in nested lists
6035         (bug 1004)
6036
6037         * text2.C (updateCounters): fix up depth values
6038         (bug 1013)
6039
6040 2003-04-07  John Levon  <levon@movementarian.org>
6041
6042         * BufferView_pimpl.C: clear message when doc finishes resizing,
6043         and after a mouse event
6044
6045         * lyxfunc.C: clear message after exiting inset
6046
6047 2003-04-07  John Levon  <levon@movementarian.org>
6048
6049         * bufferview_funcs.C: show math status not outside
6050         status in the statusbar
6051
6052 2003-04-07  John Levon  <levon@movementarian.org>
6053
6054         * lyxfunc.C: note status changed after a depth change
6055
6056 2003-04-04  Angus Leeming  <leeming@lyx.org>
6057
6058         * LaTeX.h: move AuxInfo operator==, != out of line.
6059         Remove LaTeX virtual destructor; nothing derives from it.
6060         Move operator()() out of public area and rename it startscript().
6061         Change protected for private.
6062
6063 2003-04-04  Angus Leeming  <leeming@lyx.org>
6064
6065         * lyxfunc.C:
6066         * text2.C: remove unneeded #includes.
6067
6068 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6069
6070         * text2.C (dEPM): fix the heigth of the next row
6071
6072 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6073
6074         * text.C: squashed an invalid getChar requester + some ws changes
6075
6076 2003-04-03  John Levon  <levon@movementarian.org>
6077
6078         * bufferview_funcs.h:
6079         * bufferview_funcs.C:
6080         * lyxfunc.C:
6081         * lyxtext.h:
6082         * text2.C: make getStatus work for the env depth lfuns
6083
6084 2003-04-03  John Levon  <levon@movementarian.org>
6085
6086         * bufferview_funcs.h:
6087         * bufferview_funcs.C:
6088         * lyxfunc.C:
6089         * lyxtext.h:
6090         * text2.C: parlistize decDepth(), by merging it with incDepth()
6091
6092 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6093
6094         * lyxrow.h: store a ParagraphList::iterator instead of a
6095         Paragraph* and adjust other class functions to suit.
6096
6097         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6098         above.
6099
6100 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6101
6102         * text2.C (setCursor): do not anchor to cursor row for the time being
6103
6104 2003-04-02  John Levon  <levon@movementarian.org>
6105
6106         * LyXAction.C:
6107         * lfuns.h:
6108         * lyx_main.C:
6109         * lyxtext.h:
6110         * text.C:
6111         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6112
6113 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6114
6115         * paragraph.h: make ParagraphList and ParagraphList::iterator
6116         friends of Paragraph.
6117
6118         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6119
6120         * ParagraphList.C: Use the private next_ and previous_ from
6121         Paragraph.
6122
6123 2003-04-01  John Levon  <levon@movementarian.org>
6124
6125         * ToolbarBackend.h:
6126         * ToolbarBackend.C:
6127         * Makefile.am: rename, remove defaults gunk
6128
6129         * MenuBackend.h:
6130         * MenuBackend.C: remove defaults gunk
6131
6132         * Languages.h:
6133         * Languages.C: remove defaults gunk
6134
6135         * lyx_main.h:
6136         * lyx_main.C: error out if files couldn't be found.
6137
6138 2003-04-02  John Levon  <levon@movementarian.org>
6139
6140         * text2.C: make incDepth() use parlist
6141
6142 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6143
6144         * undo_funcs.C (firstUndoParagraph): adjust
6145
6146         * text3.C (gotoInset): adjust
6147         (dispatch): adjust, and rewrite loop.
6148
6149         * text2.C (init): adjust, and rewrite loop.
6150         (redoParagraphs): adjust
6151         (updateInset): adjust, and rewrite loop.
6152         (deleteEmptyParagraphMechanism): adjust
6153
6154         * tabular.C (LyXTabular): adjust
6155         (SetMultiColumn): adjust
6156         (TeXRow): adjust
6157
6158         * lyxtext.[Ch] (ownerParagraph): delete function
6159         (ownerParagraphs): new function returns a ParagraphList.
6160
6161         * BufferView.C (removeAutoInsets): adjust
6162         (insertErrors): adjust
6163         (setCursorFromRow): adjust
6164
6165 2003-04-01  Angus Leeming  <leeming@lyx.org>
6166
6167         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6168         in the frontends.
6169
6170 2003-04-02  John Levon  <levon@movementarian.org>
6171
6172         * lyxtext.h:
6173         * text.C:
6174         * Makefile.am:
6175         * text_funcs.h:
6176         * text_funcs.C: make transposeChars a free function
6177
6178         * lyxrow_funcs.C: remove wrong comment
6179
6180 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6181
6182         * lyxtext.h: adjust
6183         * rowpainter.C: adjust
6184         * text.C: adjust
6185         * text2.C: adjust
6186         * text3.C: adjust
6187
6188         * lyxrow_funcs. [Ch]: new files
6189
6190         * lyxrow.[Ch]: remove next and previous pointers
6191         (next,previous): remove accessor functions
6192         (isParEnd): move to lyxrow_funcs
6193         (lastPos): move to lyxrow_funcs
6194         (nextRowIsAllInset): move to lyxrow_funcs
6195         (lastPrintablePos): move to lyxrow_funcs
6196         (numberOfSeparators): move to lyxrow_funcs
6197         (numberOfHfills): move to lyxrow_funcs
6198         (numberOfLabelHfills): move to lyxrow_funcs
6199         (hfillExpansion): move to lyxrow_funcs
6200
6201         * lyxfunc.C: adjust
6202
6203         * bufferview_funcs.C (toggleAndShow): adjust
6204
6205         * RowList.h: Remove class RowList from file leave just a
6206         std::list<Row>.
6207
6208         * RowList.C: delete file
6209
6210         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6211         and lyxrow_funcs.h
6212
6213 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6214
6215         * text3.C (cursorPrevious): adjust
6216         (cursorNext): adjust
6217         (dispatch): adjust
6218
6219         * text2.C (redoHeightOfParagraph): adjust
6220         (redoDrawingOfParagraph): adjust
6221         (setCursor): adjust
6222
6223         * text.C (breakParagraph): adjust
6224         (insertChar): adjust
6225         (backspace): adjust
6226
6227         * rowpainter.C (RowPainter): adjust
6228         (leftMargin): simplify and adjust
6229         (most rowpainter functions): adjust.
6230
6231         * rowpainter.h: store the row as RowList::iterator not as Row*
6232
6233         * lyxcursor.C (row): taka RowList::iterator as arg
6234         (irow): ditto
6235
6236         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6237         of Row*.
6238
6239 2003-04-01  Angus Leeming  <leeming@lyx.org>
6240
6241         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6242         stuff like bool Bool.
6243
6244 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6245
6246         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6247         rewrite a loop
6248
6249 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6250
6251         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6252         RowList::iterator.
6253
6254         * lyxtext.h (rows): drop one version and leve a const variant that
6255         returns a RowList::iterator.
6256
6257 2003-03-31  Angus Leeming  <leeming@lyx.org>
6258
6259         * text.C (fill): ensure that the signature is the same as that in the
6260         header file.
6261
6262 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6263
6264         * text2.C (redoParagraphs): adjust
6265         (updateCounters): adjust
6266         (checkParagraph): adjust
6267         (getColumnNearX): adjust and reformat a bit.
6268
6269         * text.C (top_y): adjust
6270         (workWidth): adjust
6271         (leftMargin): adjust
6272         (prepareToPrint): adjust
6273         (getRow): adjust
6274         (getRowNearY): adjust
6275
6276         * lyxtext.h: make rowlist_ mutable.
6277
6278         * RowList.h: add const_iterator
6279         * RowList.C: adjust for RowList::const_iterator.
6280
6281         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6282         adjust.
6283
6284 2003-03-31  John Levon  <levon@movementarian.org>
6285
6286         * lyxrc.h:
6287         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6288
6289         * lyx_main.C: set default fonts from using lyx_gui funcs
6290
6291         * exporter.C: pdf_mode moved from lyxrc
6292
6293         * lyx_cb.C:
6294         * lyxfunc.C: changes from above
6295
6296 2003-03-31  John Levon  <levon@movementarian.org>
6297
6298         * lyx_main.C: fix to the last fix
6299
6300 2003-03-31  John Levon  <levon@movementarian.org>
6301
6302         * bufferlist.C: "Load original" -> "Load Original"
6303
6304         * converter.C:
6305         * exporter.C:
6306         * importer.C:
6307         * lyx_main.C:
6308         * format.C: more Alert cleanups
6309
6310 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6311
6312         * text2.C (removeParagraph): make it take a RowList::iterator as
6313         arg, adjust.
6314         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6315         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6316
6317         * text.C (anchor_row): make it take a RowList::iterator as arg,
6318         adjust.
6319         (computeBidiTables): make it take a const reference to Row instead
6320         of Row pointer, adjust.
6321         (leftMargin): make it take a RowList::iterator as arg, adjust.
6322         (rowBreakPoint): adjust
6323         (breakAgainOneRow): make it take a RowList::iterator as arg,
6324         adjust.
6325         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6326
6327         * bufferview_funcs.C (toggleAndShow): adjust
6328
6329 2003-03-30  John Levon  <levon@movementarian.org>
6330
6331         * Makefile.am:
6332         * BoostFormat.h:
6333         * boost-inst.C: moved to support
6334
6335         * several files: changes as a result
6336
6337 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6338
6339         * text2.C (LyXText): adjust.
6340         (init): adjust
6341         (removeRow): make it take a RowList::iterator as arg, adjust.
6342         (fullRebreak): adjust
6343         (deleteEmptyParagraphMechanism): adjust
6344         (clearPaint): adjust
6345         (postPaint): adjust
6346
6347         * text.C (top_y): adjust
6348         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6349         (breakAgain): make it take a RowList::iterator as arg, adjust.
6350         (breakParagraph): adjust
6351         (insertChar): adjust
6352         (backspace): adjust
6353
6354         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6355         need_break_row, and refresh_row.
6356
6357         * text3.C (dispatch): adjust
6358
6359         * text2.C (checkParagraph): adjust
6360         (setCursor): adjust
6361         (setCursorFromCoordinates): adjust
6362
6363         * text.C (top_y): adjust
6364         (workWidth): adjust
6365         (getRow): make it return a RowList::iterator, adjust
6366         (getRowNearY): make it return a RowList::iterator, adjust
6367
6368         * text2.C (init): adjust
6369         (insertRow): remove function
6370         (insertParagraph): adjust
6371         (redoParagraphs): adjust
6372         (fullRebreak): adjust
6373         (updateCounters): adjust
6374
6375         * text.C (top_y): rewrite to use RowList iterators.
6376         (top_y): adjust
6377         (setHeightOfRow): rewrite to sue RowList iterators.
6378         (appendParagraph): adjust
6379         (breakAgain): adjust
6380         (breakAgainOneRow): adjust
6381         (breakParagraph): adjust
6382         (getRow): adjust
6383         (getRowNearY): adjust, and remove commented code.
6384
6385         * lyxtext.h (firstRow): delete function
6386         (lastRow): delete function
6387         (rows): new function (const and non-const versions.)
6388         (insertRow): delete function
6389
6390         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6391
6392 2003-03-29  John Levon  <levon@movementarian.org>
6393
6394         * BufferView_pimpl.C: always update scrollbar top
6395         because pasting text when we're anchored could mean we
6396         miss an update altogether
6397
6398 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6399
6400         * text2.C (init): use rowlist_.end() and not 0.
6401         (insertRow): change to take a RowList::iterator as arg, adjust
6402         for this.
6403         (insertParagraph): change to take a RowList::iterator as arg,
6404         adjust for this.
6405         (redoParagraphs): remove some debug msgs.
6406
6407         * text.C (appendParagraph): change to take a RowList::iterator
6408         arg, adjust for this.
6409         (breakAgain): add an assert
6410         (breakAgainOneRow): ditto
6411
6412 2003-03-29  John Levon  <levon@movementarian.org>
6413
6414         * text2.C: do not clear selection after inc/decDepth
6415         (bug 550)
6416
6417 2003-03-29  John Levon  <levon@movementarian.org>
6418
6419         * BufferView.C:
6420         * buffer.C: fix broken strerrors according to Lars
6421
6422 2003-03-29  John Levon  <levon@movementarian.org>
6423
6424         * converters.C: more Alert cleanups
6425
6426 2003-03-29  John Levon  <levon@movementarian.org>
6427
6428         * bufferview_funcs.C: remove pointless Alert
6429
6430         * buffer.C: fix confusing error message when
6431         a template is chmoded 000
6432
6433 2003-03-29  John Levon  <levon@movementarian.org>
6434
6435         * BufferView.C:
6436         * BufferView.h:
6437         * BufferView_pimpl.C: Alert fixes
6438
6439         * Makefile.am:
6440         * tabular.C:
6441         * tabular-old.C: remove unused table compat reading
6442
6443 2003-03-29  John Levon  <levon@movementarian.org>
6444
6445         * BufferView.C:
6446         * buffer.C:
6447         * lyx_cb.h:
6448         * lyx_cb.C: more Alert cleanups
6449
6450         * lyxfunc.C: don't allow chktex if not latex document
6451
6452 2003-03-29  John Levon  <levon@movementarian.org>
6453
6454         * lyx_cb.C:
6455         * BufferView.C:
6456         * buffer.C: warnings pushed down from support/,
6457         kill err_alert
6458
6459 2003-03-29  John Levon  <levon@movementarian.org>
6460
6461         * lyxfunc.C: safety check for C-r (revert)
6462
6463 2003-03-29  John Levon  <levon@movementarian.org>
6464
6465         * bufferlist.h:
6466         * bufferlist.C: several UI fixes using Alert::prompt.
6467         Fix the pointless looping quit code. Fix stupid revert
6468         behaviour (bug 938)
6469
6470         * lyxvc.h:
6471         * lyxvc.C:
6472         * lyx_cb.C: use Alert::prompt
6473
6474         * lyx_main.C: remove a silly question
6475
6476         * lyxfunc.C: remove a couple of silly questions,
6477         use Alert::prompt
6478
6479 2003-03-28  John Levon  <levon@movementarian.org>
6480
6481         * text2.C: fix bug 974 (End on empty par)
6482
6483 2003-03-28  John Levon  <levon@movementarian.org>
6484
6485         * BufferView_pimpl.C:
6486         * LyXAction.C:
6487         * lfuns.h: remove do-nothing math greek lfuns
6488
6489 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6490
6491         * lyxgluelength.h (isValidGlueLength): add default arg on
6492         parameter 2. Remove default arg from friend in class.
6493
6494         * lyxlength.h (isValidLength): add default arg on parameter 2.
6495         Remove default arg from friend in class.
6496
6497         * text2.C (LyXText): adjust, initialize refresh_row.
6498         (init): adjust
6499         (removeRow): adjust
6500         (insertRow): adjust
6501         (insertParagraph): adjst
6502         (redoParagraphs): adjust
6503         (fullRebreak): adjust
6504         (updateCounters): adjust
6505         (deleteEmptyParagraphMechanism): first attempt at fixing a
6506         crashing bug.
6507
6508         * text.C (top_y): adjust
6509         (setHeightOfRow): adjust
6510         (getRow): adjust
6511         (getRowNearY): adjust
6512
6513         * lyxtext.h: include RowList.h
6514         (~LyXText): not needed anymore, deleted.
6515         (firstRow): modify for RowList
6516         (lastRow): new function
6517         Delete firstrow and lastrow class variables, add a Rowlist
6518         rowlist_ class variable.
6519
6520         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6521         paragraph is empty.
6522
6523         * RowList.C (insert): fix case where it == begin().
6524
6525 2003-03-26  Angus Leeming  <leeming@lyx.org>
6526
6527         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6528         the thesaurus dialog.
6529
6530 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6531
6532         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6533
6534         * RowList.[Ch]: new files
6535
6536         * ParagraphList.C (erase): handle the case where it == begin
6537         correctly.
6538
6539 2003-03-25  John Levon  <levon@movementarian.org>
6540
6541         * Makefile.am:
6542         * aspell_local.h:
6543         * aspell.C: add new aspell support
6544
6545         * lyxrc.h:
6546         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6547         have it accessible.
6548
6549 2003-03-25  Angus Leeming  <leeming@lyx.org>
6550
6551         * lfuns.h:
6552         * LyXAction.C (init): new LFUN_INSET_INSERT.
6553
6554         * BufferView_pimpl.C (dispatch): split out part of the
6555         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6556
6557         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6558         LFUN_INSET_APPLY.
6559
6560 2003-03-25  Angus Leeming  <leeming@lyx.org>
6561
6562         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6563
6564 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6565
6566         * text2.C:
6567         * text3.C: remove useless row->height(0)
6568
6569 2003-03-25  John Levon  <levon@movementarian.org>
6570
6571         * lyxtext.h:
6572         * text2.C:
6573         * text3.C: rename the refreshing stuff to better names
6574
6575 2003-03-24  John Levon  <levon@movementarian.org>
6576
6577         * BufferView_pimpl.h:
6578         * BufferView_pimpl.C: update layout choice on a mouse
6579         press/release
6580
6581 2003-03-23  John Levon  <levon@movementarian.org>
6582
6583         * Makefile.am: fix commandtags.h reference
6584
6585 2003-03-22  John Levon  <levon@movementarian.org>
6586
6587         * BufferView_pimpl.C:
6588         * lyxtext.h:
6589         * rowpainter.C:
6590         * rowpainter.h:
6591         * text.C:
6592         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6593
6594 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6595
6596         * lyxtext.h:
6597         * text.C: take the rtl methods out of line
6598
6599 2003-03-21 André Pönitz <poenitz@gmx.net>
6600
6601         * metricsinfo.[Ch]: new files containing structures to be passed around
6602         during the two-phase-drawing...
6603
6604 2003-03-21 André Pönitz <poenitz@gmx.net>
6605
6606         * lyxtextclass.C: read 'environment' tag.
6607
6608 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6609
6610         * text2.C (removeRow): fix bug 964
6611
6612 2003-03-20  John Levon  <levon@movementarian.org>
6613
6614         * rowpainter.C:
6615         * text.C:
6616         * text2.C: paint cleanups. Inset::update() dropped font
6617         parameter
6618
6619 2003-03-19  John Levon  <levon@movementarian.org>
6620
6621         * lyxfunc.C: only fitcursor/markDirty if available()
6622
6623 2003-03-19  John Levon  <levon@movementarian.org>
6624
6625         * commandtags.h: rename to ...
6626
6627         * lfuns.h: ... this, and renumber / cleanup
6628
6629 2003-03-19  John Levon  <levon@movementarian.org>
6630
6631         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6632         fit the cursor after an lfun
6633
6634         * BufferView.h:
6635         * BufferView.C:
6636         * BufferView_pimpl.h:
6637         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6638
6639         * LyXAction.C: layout-character should have ReadOnly
6640
6641         * ParagraphParameters.C:
6642         * buffer.C:
6643         * bufferview_funcs.C:
6644         * lyx_cb.C:
6645         * lyxfind.C:
6646         * lyxtext.h:
6647         * text.C:
6648         * text2.C:
6649         * text3.C:
6650         * undo_funcs.C: changes from above
6651
6652 2003-03-18  John Levon  <levon@movementarian.org>
6653
6654         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6655         remove it from update()
6656
6657         * lyxfunc.C: update layout choice after an lfun
6658
6659         * text3.C: remove extra updateLayoutChoice()s
6660
6661 2003-03-18  John Levon  <levon@movementarian.org>
6662
6663         * text.C: top_y change means full repaint, fix
6664         a drawing bug with cursor movement
6665
6666 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6667
6668         * lyxtext.h:
6669         * text.C:
6670         * text2.C: anchor row on setCursor
6671
6672 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6673
6674         * lyxtext.h: remove almost all mutable keywords
6675         * text.C:
6676         * text2.C:
6677         * text3.C: remove const keywords accordingly
6678
6679 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6680
6681         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6682         anon namespace
6683         (TeXEnvironment): ditto
6684         (TeXOnePar): ditto
6685
6686 2003-03-17  John Levon  <levon@movementarian.org>
6687
6688         * text.C (rowBreakPoint): remove attempt to fix displayed
6689         math insets inside a manual label
6690
6691 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6692
6693         * lyxtext.h: remove BufferView* as first arg from almost all class
6694         functions.
6695         * other files: adjust.
6696
6697 2003-03-17  John Levon  <levon@movementarian.org>
6698
6699         * lyxtext.h:
6700         * undo_funcs.C:
6701         * text2.C: more paint cleanups
6702
6703         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6704
6705         * rowpainter.h:
6706         * rowpainter.C: remove "smart" background painting code
6707
6708 2003-03-16  John Levon  <levon@movementarian.org>
6709
6710         * lyxtext.h:
6711         * text.C:
6712         * text2.C:
6713         * text3.C: add helper functions for setting refresh_row/y
6714
6715 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6716
6717         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6718         newline inset which *can* get inserted in the pass_thru layouts.
6719         This is primarily for literate documents.
6720
6721 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6722
6723         * buffer.C: increment LYX_FORMAT to 223
6724
6725 2003-03-14 André Pönitz <poenitz@gmx.net>
6726
6727         * textclass.h: prepare for environment handling, ws changes
6728         * lyxlayout.C: read latexheader and latexfooter tags
6729
6730 2003-03-14  John Levon  <levon@movementarian.org>
6731
6732         * text2.C: rewrite ::status() a bit
6733
6734 2003-03-13  John Levon  <levon@movementarian.org>
6735
6736         * lyxtext.h: add some docs
6737
6738 2003-03-13  John Levon  <levon@movementarian.org>
6739
6740         * lyxtext.h:
6741         * text.C:
6742         * text2.C:
6743         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6744
6745 2003-03-13  John Levon  <levon@movementarian.org>
6746
6747         * text3.C: fix appendix redrawing
6748
6749 2003-03-13  John Levon  <levon@movementarian.org>
6750
6751         * text.C (setHeightOfRow):
6752         * rowpainter.h:
6753         * rowpainter.C: make appendix mark have the text
6754           "Appendix" so the user knows what it is
6755
6756         * LColor.h:
6757         * LColor.C: s/appendixline/appendix/ from above
6758
6759 2003-03-13  John Levon  <levon@movementarian.org>
6760
6761         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6762
6763         * text.C: fix a getChar(pos) bug properly
6764
6765 2003-03-13  Angus Leeming  <leeming@lyx.org>
6766
6767         * commandtags.h:
6768         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6769         Probably only temporary. Let's see how things pan out.
6770
6771         * BufferView.C (unlockInset):
6772         * BufferView_pimpl.C (fitCursor):
6773         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6774
6775         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6776         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6777
6778         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6779         new functions that convert ParagraphParameters to and from a string.
6780
6781         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6782         BufferView::Pimpl's dispatch.
6783         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6784
6785 2003-03-13 André Pönitz <poenitz@gmx.net>
6786
6787         * lyxfunc.C:
6788         * text3.C:
6789         * factory.C: make it aware of InsetEnv
6790
6791 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6792
6793         * text2.C (setCursor): never ask for one past last
6794         (setCursor): add some debugging messages.
6795
6796         * text.C (singleWidth): never ask for one past last
6797         (singleWidth): ditto
6798         (leftMargin): ditto
6799         (rightMargin): ditto
6800         (rowBreakPoint): ditto
6801         (setHeightOfRow): ditto
6802         (prepareToPrint): ditto
6803
6804         * rowpainter.C (paintBackground): never ask for one past last
6805         (paintText): never ask for one past last
6806
6807         * paragraph_pimpl.C (getChar): make the assert stricter, never
6808         allow the one past last pos to be taken
6809
6810         * paragraph.C (getChar): ws changes only
6811
6812         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6813         (numberOfSeparators): ditto
6814         (numberOfHfills): ditto
6815
6816 2003-03-12  John Levon  <levon@movementarian.org>
6817
6818         * author.h:
6819         * author.C:
6820         * bufferparams.h:
6821         * bufferparams.C:
6822         * paragraph_funcs.C: fix per-buffer authorlists
6823
6824 2003-03-12  John Levon  <levon@movementarian.org>
6825
6826         * text.C: fix newline in right address
6827
6828 2003-03-12  Angus Leeming  <leeming@lyx.org>
6829
6830         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6831         duplicate those in LyXFunc::dispatch.
6832
6833         * commandtags.h:
6834         * LyXAction.C:
6835         * ToolbarDefaults.C:
6836         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6837         Add LFUN_FONTFREE_UPDATE.
6838
6839         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6840         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6841
6842         * bufferview_func.[Ch]: several new functions to facilliate
6843         transfer of data to and from the character dialog.
6844
6845 2003-03-12  John Levon  <levon@movementarian.org>
6846
6847         * buffer.C:
6848         * paragraph.h:
6849         * paragraph.C:
6850         * paragraph_funcs.C:
6851         * paragraph_pimpl.C:
6852         * sgml.C:
6853         * tabular.C:
6854         * text.C:
6855         * text3.C: remove META_NEWLINE in favour of an inset
6856
6857         * rowpainter.h:
6858         * rowpainter.C: remove paintNewline (done by inset)
6859
6860 2003-03-12  John Levon  <levon@movementarian.org>
6861
6862         * paragraph_pimpl.C: complain about bad getChar()s
6863         for a while at least
6864
6865 2003-03-12  John Levon  <levon@movementarian.org>
6866
6867         * buffer.h:
6868         * buffer.C: move paragraph read into a separate function,
6869         a little renaming to reflect that.
6870
6871         * bufferparams.h:
6872         * bufferparams.C: remove the author_ids map, not necessary now
6873
6874         * factory.h:
6875         * factory.C: moved Buffer::readInset to here
6876
6877         * paragraph_funcs.h:
6878         * paragraph_funcs.C: readParagraph free function moved from
6879         buffer.C
6880
6881         * tabular.C: name change
6882
6883 2003-03-12  John Levon  <levon@movementarian.org>
6884
6885         * buffer.C:
6886         * ParagraphParameters.C: move par params input to
6887         a read() method
6888
6889         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6890         behave like a normal read from the stream wrt reading
6891         a line vs. a \\token
6892
6893 2003-03-12  John Levon  <levon@movementarian.org>
6894
6895         * paragraph.C:
6896         * ParagraphParameters.h:
6897         * ParagraphParameters.C: move output code to a
6898         ::write() method
6899
6900 2003-03-12  John Levon  <levon@movementarian.org>
6901
6902         * BufferView.C (insertLyXFile):
6903         * buffer.h:
6904         * buffer.C:
6905         * tabular.C: use a parlist iterator for creating the
6906           document.
6907
6908 2003-03-12  John Levon  <levon@movementarian.org>
6909
6910         * buffer.C: make current_change static local not
6911           static file-scope
6912
6913 2003-03-12  John Levon  <levon@movementarian.org>
6914
6915         * buffer.C: fix insertStringAsLines for change tracking
6916
6917 2003-03-12  John Levon  <levon@movementarian.org>
6918
6919         * BufferView.C:
6920         * tabular.C:
6921         * buffer.h:
6922         * buffer.C:
6923         * bufferparams.h:
6924         * bufferparams.C: move author list into params. Rename some
6925           functions. Move the header reading into a separate token
6926           loop. Move the header token reading into BufferParams.
6927
6928 2003-03-12  John Levon  <levon@movementarian.org>
6929
6930         * changes.C: put debug inside lyxerr.debugging() checks
6931
6932 2003-03-11 André Pönitz <poenitz@gmx.net>
6933
6934         * factory.C: make it aware of InsetHFill
6935
6936 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6937
6938         * buffer.C (latexParagraphs): move function from here...
6939         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6940         args.
6941
6942 2003-03-10  Angus Leeming  <leeming@lyx.org>
6943
6944         * LyXAction.C (init): fix bug in poplating array with multiple entries
6945         with the same LFUN (spotted by JMarc).
6946
6947 2003-03-10  John Levon  <levon@movementarian.org>
6948
6949         * text.C:
6950         * text2.C: move getColumnNearX() near its
6951         only call site
6952
6953 2003-03-10  John Levon  <levon@movementarian.org>
6954
6955         * text.C: fix break before a minipage
6956
6957 2003-03-10  John Levon  <levon@movementarian.org>
6958
6959         * text.C: fix the last commit
6960
6961 2003-03-09  John Levon  <levon@movementarian.org>
6962
6963         * lyxtext.h:
6964         * text.C:
6965         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6966         bug 365 (don't break before insets unless needed). Don't
6967         return a value > last under any circumstances.
6968
6969 2003-03-09  Angus Leeming  <leeming@lyx.org>
6970
6971         * BufferView_pimpl.C (trackChanges, dispatch): call
6972         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6973
6974 2003-03-09  Angus Leeming  <leeming@lyx.org>
6975
6976         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6977         than Dialogs::showAboutlyx().
6978
6979 2003-03-09  Angus Leeming  <leeming@lyx.org>
6980
6981         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6982         than Dialogs::showTabularCreate().
6983
6984 2003-03-09  John Levon  <levon@movementarian.org>
6985
6986         * lyxtext.h:
6987         * text.C:
6988         * text2.C: 3rd arg to nextBreakPoint was always the same.
6989           Use references.
6990
6991 2003-03-08  John Levon  <levon@movementarian.org>
6992
6993         * lyxrow.C:
6994         * paragraph.C:
6995         * paragraph.h:
6996         * rowpainter.C:
6997         * text.C:
6998         * text2.C: Remove the "main" bit from the "main body"
6999           notion.
7000
7001 2003-03-08  John Levon  <levon@movementarian.org>
7002
7003         * text.C (leftMargin): The left margin of an empty
7004         manual label paragraph should not include the label width
7005         string length.
7006
7007         * text.C (prepareToPrint): don't attempt to measure hfills
7008         for empty manual label paragraphs - the answer should be 0
7009
7010 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7011
7012         * CutAndPaste.C: remove commented code and reindent.
7013
7014 2003-03-08  John Levon  <levon@movementarian.org>
7015
7016         * lyxfunc.h:
7017         * lyxfunc.C: move reloadBuffer()
7018
7019         * BufferView.h:
7020         * BufferView.C: to here
7021
7022         * lyxvc.C: add comment
7023
7024         * vc-backend.h:
7025         * vc-backend.C: call bv->reload() to avoid
7026           getStatus() check on MENURELOAD
7027
7028 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7029
7030         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7031         to an old format .dep file.
7032
7033 2003-03-07  Angus Leeming  <leeming@lyx.org>
7034
7035         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7036         when the LFUN_MOUSE_RELEASE should have been handled by
7037         inset->localDispatch.
7038
7039 2003-03-07  Angus Leeming  <leeming@lyx.org>
7040
7041         * BufferView_pimpl.C (dispatch):
7042         * LyXAction.C (init):
7043         * ToolbarDefaults.C (init):
7044         * commandtags.h:
7045         * lyxfunc.C (getStatus):
7046         remove LFUN_INSET_GRAPHICS.
7047
7048         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7049
7050 2003-03-07  Angus Leeming  <leeming@lyx.org>
7051
7052         * commandtags.h:
7053         * LyXAction.C (init):
7054         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7055
7056         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7057
7058         * commandtags.h:
7059         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7060
7061         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7062         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7063
7064 2003-03-07  Angus Leeming  <leeming@lyx.org>
7065
7066         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7067         remove "ert".
7068
7069 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7070
7071         * ParagraphList.C (front): new function
7072         (back): implement
7073
7074 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7075
7076         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7077         and top_row_offset_. removed var first_y.
7078         * text.C (top_y):
7079         * text2.C (LyXText, removeRow):
7080         * text3.C:
7081         * BufferView_pimpl.C:
7082         use these methods instead of using first_y
7083
7084 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7085
7086         * text2.C (pasteSelection): adjust for checkPastePossible
7087
7088         * CutAndPaste.C: remove Paragraph * buf and replace with
7089         ParagraphList paragraphs.
7090         (DeleteBuffer): delete
7091         (cutSelection): change the tc type to textclass_type
7092         (copySelection): change the tc type to textclass_type
7093         (copySelection): adjust for ParagraphList
7094         (pasteSelection): change the tc type to textclass_type
7095         (pasteSelection): adjust for Paragraphlist
7096         (nrOfParagraphs): simplify for ParagraphList
7097         (checkPastePossible): simplify for ParagraphList
7098         (checkPastePossible): remove unused arg
7099
7100         * ParagraphList.C (insert): handle the case where there are no
7101         paragraphs yet.
7102
7103         * CutAndPaste.h: make CutAndPaste a namespace.
7104
7105         * text3.C (dispatch): adjust
7106
7107         * text.C (breakParagraph): add a ParagraphList as arg
7108
7109         * paragraph_funcs.C (breakParagraph): change to take a
7110         BufferParams and a ParagraphList as args.
7111         (breakParagraphConservative): ditto
7112         (mergeParagraph): ditto
7113         (TeXDeeper): add a ParagraphList arg
7114         (TeXEnvironment): ditto
7115         (TeXOnePar): ditto
7116
7117         * buffer.C (readLyXformat2): adjust
7118         (insertStringAsLines): adjust
7119         (latexParagraphs): adjust
7120
7121         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7122         (cutSelection): adjust
7123         (pasteSelection): adjust
7124
7125         * BufferView_pimpl.C (insertInset): adjust
7126
7127 2003-03-05  Angus Leeming  <leeming@lyx.org>
7128
7129         * commandtags.h:
7130         * LyXAction.C (init):
7131         * BufferView_pimpl.C (dispatch):
7132         * lyxfunc.C (getStatus):
7133         remove LFUN_CHILD_INSERT.
7134
7135         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7136
7137 2003-03-05  Angus Leeming  <leeming@lyx.org>
7138
7139         * commandtags.h:
7140         * LyXAction.C (init):
7141         * src/factory.C (createInset):
7142         * lyxfunc.C (getStatus):
7143         * text3.C (dispatch):
7144         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7145
7146         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7147
7148 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7149
7150         * ParagraphList.C (insert): handle insert right before end()
7151         (erase): fix cases where it can be first or last paragraph.
7152
7153 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7154
7155         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7156         Paragraph::next and Paragraph::previous
7157         (TeXOnePar): ditto
7158
7159         * text.C (breakParagraph): adjust
7160
7161         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7162         BufferParams& as arg.
7163         (breakParagraph): use ParagraphList::insert
7164         (breakParagraphConservative): take a Buffer* instead of a
7165         BufferParams& as arg.
7166         (breakParagraphConservative): use ParagraphList::insert.
7167
7168         * buffer.C (insertStringAsLines): un-const it
7169         (insertStringAsLines): adjust
7170
7171         * ParagraphList.C (insert): new function
7172
7173         * CutAndPaste.C (pasteSelection): adjust
7174
7175         * text.C (backspace): adjust
7176
7177         * tabular.C (SetMultiColumn): adjust
7178
7179         * CutAndPaste.C (cutSelection): adjust
7180         (pasteSelection): adjust
7181
7182         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7183         Buffer const * as arg
7184
7185         * ParagraphList.C (erase): new function
7186         * paragraph_funcs.C (mergeParagraph): use it
7187         (mergeParagraph): make it take a Buffer* instead of a
7188         BufferParams* as arg
7189
7190         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7191         as arg
7192         (breakParagraphConservative): ditto
7193
7194         * paragraph.h: remove the breakParagraph friend
7195
7196         * paragraph.C (eraseIntern): new function
7197         (setChange): new function
7198
7199         * paragraph_funcs.C (mergeParagraph): make it take a
7200         ParagraphList::iterator instead of a Paragraph *, adjust
7201         accordingly.
7202
7203         * paragraph.h: move an #endif so that the change tracking stuff
7204         also works in the NO_NEXT case.
7205
7206 2003-03-04  Angus Leeming  <leeming@lyx.org>
7207
7208         * commandtags.h:
7209         * LyXAction.C: new LFUN_INSET_MODIFY.
7210
7211         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7212         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7213
7214 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7215
7216         * several files: ws changes only
7217
7218         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7219         (TeXEnvironment): ditto
7220         (TeXDeeper): ditto
7221
7222         * buffer.C (makeLaTeXFile): adjust
7223         (latexParagraphs): make it take ParagraphList::iterator as args
7224
7225 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7226
7227         * buffer.C (latexParagraphs): adjust
7228
7229         * paragraph.C (TeXOnePar): move function...
7230         (optArgInset): move function...
7231         (TeXEnvironment): move function...
7232         * paragraph_pimpl.C (TeXDeeper): move function...
7233         * paragraph_funcs.C: ...here
7234
7235         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7236
7237 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7238
7239         * buffer.C (readInset): remove compability code for old Figure and
7240         InsetInfo insets
7241
7242 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7243
7244         * buffer.C: ws changes
7245         (readInset):
7246
7247         * BufferView_pimpl.C: ditto
7248         * author.C: ditto
7249         * buffer.h: ditto
7250         * bufferlist.h: ditto
7251         * changes.h: ditto
7252         * lyxfunc.C: ditto
7253
7254 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7255
7256         * converter.[Ch]: split into itself +
7257         * graph.[Ch]
7258         * format.[Ch]
7259         * Makefile.am: += graph.[Ch] + format.[Ch]
7260         * MenuBackend.C
7261         * buffer.C
7262         * exporter.C
7263         * importer.C
7264         * lyx_main.C
7265         * lyxfunc.C
7266         * lyxrc.C: added #include "format.h"
7267
7268 2003-02-27  Angus Leeming  <leeming@lyx.org>
7269
7270         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7271           a label.
7272
7273         * factory.C (createInset): add "label" to the factory.
7274
7275         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7276           string and do no more.
7277
7278 2003-02-27  Angus Leeming  <leeming@lyx.org>
7279
7280         * commandtags.h:
7281         * LyXAction.C (init):
7282         * factory.C (createInset):
7283         * BufferView_pimpl.C (dispatch):
7284           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7285
7286         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7287
7288         * lyxfunc.C (dispatch):
7289         * text3.C (dispatch): pass name to params2string.
7290
7291 2003-02-26  Angus Leeming  <leeming@lyx.org>
7292
7293         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7294           blocks together.
7295           Rearrange the ~includes. Strip out the unnecessary ones.
7296
7297         * factory.C (createInset): reformat.
7298           create new insets for the various LFUN_XYZ_APPLY lfuns.
7299
7300 2003-02-26  John Levon  <levon@movementarian.org>
7301
7302         * lyxrow.h:
7303         * lyxrow.C: add isParStart,isParEnd helpers
7304
7305         * paragraph.h: make isInserted/DeletedText take refs
7306
7307         * paragraph_funcs.h:
7308         * paragraph_funcs.C: remove #if 0'd code
7309
7310         * lyxtext.h:
7311         * text3.C:
7312         * text2.C:
7313         * text.C: use lyxrow helpers above.
7314           Move draw and paint routines to RowPainter.
7315           Make several methods use refs not pointers.
7316           Make backgroundColor() const.
7317           Add markChangeInDraw(), isInInset().
7318           Merge changeRegionCase into changeCase.
7319           Make workWidth() shouldn't-happen code into an Assert.
7320
7321         * rowpainter.h:
7322         * rowpainter.C: new class for painting a row.
7323
7324         * vspace.h:
7325         * vspace.C: make inPixels take a ref
7326
7327 2003-02-26  Angus Leeming  <leeming@lyx.org>
7328
7329         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7330         LFUN_REF_APPLY.
7331
7332 2003-02-25  John Levon  <levon@movementarian.org>
7333
7334         * ispell.C: give the forked command a more accurate name
7335
7336 2003-02-22  John Levon  <levon@movementarian.org>
7337
7338         * toc.h:
7339         * toc.C: make TocItem store an id not a Paragraph *
7340           (bug #913)
7341
7342 2003-02-21  Angus Leeming  <leeming@lyx.org>
7343
7344         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7345           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7346           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7347           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7348           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7349           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7350
7351         * BufferView_pimpl.C (dispatch):
7352         * LyXAction.C (init):
7353         * factory.C (createInset):
7354         * lyxfunc.C (getStatus, dispatch):
7355         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7356
7357 2003-02-21  Angus Leeming  <leeming@lyx.org>
7358
7359         * BufferView_pimpl.C (MenuInsertLyXFile):
7360         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7361         * lyxfunc.C (menuNew, open, doImport):
7362           no longer pass a LyXView & to fileDlg.
7363
7364 2003-02-21  Angus Leeming  <leeming@lyx.org>
7365
7366         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7367         * LyXAction.C: change, BIBKEY to BIBITEM.
7368         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7369         Change InsetBibKey to InsetBibitem.
7370         Change BIBKEY_CODE to BIBITEM_CODE.
7371         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7372         * factory.C: replace insetbib.h with insetbibitem.h.
7373         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7374         * paragraph.C: replace insetbib.h with insetbibitem.h.
7375         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7376         Change bibkey() to bibitem().
7377         * text.C: remove insetbib.h.
7378         * text2.C: replace insetbib.h with insetbibitem.h.
7379         change bibkey() to bibitem().
7380         * text3.C: remove insetbib.h.
7381         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7382
7383 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7384
7385         * lyxrc.C (output): enclose user email in quotes (in case there are
7386         several words)
7387
7388 2003-02-18  John Levon  <levon@movementarian.org>
7389
7390         * buffer.h: add std::
7391
7392 2003-02-17  John Levon  <levon@movementarian.org>
7393
7394         * SpellBase.h:
7395         * ispell.h:
7396         * ispell.C:
7397         * pspell.h:
7398         * pspell.C: reworking. Especially in ispell, a large
7399           number of clean ups and bug fixes.
7400
7401         * lyxfunc.C: fix revert to behave sensibly
7402
7403 2003-02-17 André Pönitz <poenitz@gmx.net>
7404
7405         * LyXAction.C:
7406         * commandtags.h: new LFUN_INSERT_BIBKEY
7407
7408         * layout.h:
7409         * lyxlayout.C:
7410         * buffer.C:
7411         * factory.C:
7412         * text.C:
7413         * text2.C:
7414         * text3.C:
7415         * paragraph.[Ch]:
7416         * paragraph_func.C: remove special bibkey handling
7417
7418 2003-02-17  John Levon  <levon@movementarian.org>
7419
7420         * text.C (Delete): fix case where delete at the end of
7421           the very first paragraph would not merge the pars
7422
7423 2003-02-17  John Levon  <levon@movementarian.org>
7424
7425         * lyxrow.C: fix lastPrintablePos()
7426
7427 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7428
7429         * bufferparams.C (writeLaTeX): add a std:here
7430
7431         * buffer.C: and remove a using directive there
7432
7433 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7434
7435         * buffer.C (makeLaTeXFile): move the code that generates the
7436           preamble...
7437
7438         * bufferparams.C (writeLaTeX): ... in this new method
7439
7440         * LaTeXFeatures.C (getEncodingSet): make const
7441           (getLanguages): make const
7442
7443         * MenuBackend.C (binding): returns the binding associated to this
7444           action
7445           (add): sets the status of each item by calling getStatus. Adds
7446           some intelligence.
7447           (read): add support for OptSubMenu
7448           (expand): remove extra separator at the end of expanded menu
7449
7450 2003-02-15  John Levon  <levon@movementarian.org>
7451
7452         * BufferView.C:
7453         * BufferView_pimpl.C:
7454         * bufferlist.h:
7455         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7456           inset code that had no actual effect. Remove unneeded status
7457           code.
7458
7459 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7460
7461         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7462           in preamble
7463
7464 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7465
7466         * text.C (drawLengthMarker): also draw an arrow marker for
7467           symbolic lengths (medskip...)
7468
7469 2003-02-14  John Levon  <levon@movementarian.org>
7470
7471         * tabular.h:
7472         * tabular.C: better method names
7473
7474 2003-02-14  John Levon  <levon@movementarian.org>
7475
7476         * BufferView_pimpl.C:
7477         * bufferlist.C:
7478         * buffer.C:
7479         * converter.C:
7480         * lyx_cb.C:
7481         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7482           it's a more accurate name. Remove some pointless uses.
7483
7484 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7485
7486         * text2.C (LyXText): change order of initilizers to shut off
7487           warnings
7488
7489 2003-02-14  John Levon  <levon@movementarian.org>
7490
7491         * buffer.C: use ParIterator for getParFromID()
7492
7493         * paragraph.h:
7494         * paragraph.C:
7495         * paragraph_pimpl.h:
7496         * paragraph_pimpl.C: remove unused getParFromID()
7497
7498 2003-02-14  John Levon  <levon@movementarian.org>
7499
7500         * buffer.C: remove some very old #if 0'd parse code
7501
7502 2003-02-13  John Levon  <levon@movementarian.org>
7503
7504         * text.h:
7505         * text.C:
7506         * text2.C: move hfillExpansion(), numberOfSeparators(),
7507           rowLast(), rowLastPrintable(), numberofHfills(),
7508           numberOfLabelHfills() ...
7509
7510         * lyxrow.h:
7511         * lyxrow.C: ... to member functions here.
7512
7513         * paragraph.h:
7514         * paragraph.C:
7515         * lyxtext.h:
7516         * text.C: remove LyXText::beginningOfMainBody(), and call
7517           p->beginningOfMainBody() directly. Move the check for
7518           LABEL_MANUAL into the latter.
7519
7520         * text.h:
7521         * text.C:
7522         * text2.C:
7523         * vspace.C:
7524         * BufferView.h:
7525         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7526
7527         * text.h:
7528         * text.C:
7529         * text2.C:
7530         * text3.C:
7531         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7532           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7533
7534 2003-02-13  John Levon  <levon@movementarian.org>
7535
7536         * CutAndPaste.C: remove debug
7537
7538 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7539
7540         * paragraph.C (asString): remove two unused variables
7541
7542         * lyxtextclass.C (readTitleType):
7543           (Read):
7544           (LyXTextClass): handle new members titletype_ and titlename_
7545
7546         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7547
7548 2003-02-09  John Levon  <levon@movementarian.org>
7549
7550         * buffer.h:
7551         * buffer.C: replace hand-coded list with a map for the dep clean
7552
7553 2003-02-08  John Levon  <levon@movementarian.org>
7554
7555         * LaTeX.C: consolidate code into showRunMessage() helper
7556
7557 2003-02-08  John Levon  <levon@movementarian.org>
7558
7559         * lyxfind.C:
7560         * lyxtext.h:
7561         * text2.C:
7562         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7563           and pass the size in explicitly
7564
7565         * BufferView_pimpl.h:
7566         * BufferView_pimpl.C:
7567         * BufferView.h:
7568         * BufferView.C: add getCurrentChange()
7569
7570         * BufferView_pimpl.h:
7571         * BufferView_pimpl.C: handle change lfuns
7572
7573         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7574           for changes. Mark pasted paragraphs as new.
7575
7576         * support/lyxtime.h:
7577         * support/lyxtime.C:
7578         * DepTable.C: abstract time_t as lyx::time_type
7579
7580         * LColor.h:
7581         * LColor.C: add colours for new text, deleted text, changebars
7582
7583         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7584           package use "usenames" option.
7585
7586         * commandtags.h:
7587         * lyxfunc.C:
7588         * LyXAction.C: add change lfuns
7589
7590         * Makefile.am:
7591         * author.h:
7592         * author.C: author handling
7593
7594         * buffer.h:
7595         * buffer.C: add a per-buffer author list, with first entry as
7596           current author. Handle new .lyx tokens for change tracking. Output
7597           author list to .lyx file. Output dvipost stuff to .tex preamble.
7598           Bump lyx format to 222.
7599
7600         * bufferlist.h:
7601         * bufferlist.C: add setCurrentAuthor() to reset current author details
7602           in all buffers.
7603
7604         * bufferparams.h:
7605         * bufferparams.C: add param for tracking
7606
7607         * bufferview_funcs.C: output change info in minibuffer
7608
7609         * Makefile.am:
7610         * changes.h:
7611         * changes.C: add change-tracking structure
7612
7613         * debug.h:
7614         * debug.C: add CHANGES debug flag
7615
7616         * lyxfind.h:
7617         * lyxfind.C: add code for finding the next change piece
7618
7619         * lyxrc.h:
7620         * lyxrc.C: add user_name and user_email
7621
7622         * lyxrow.h:
7623         * lyxrow.C: add a metric for the top of the text line
7624
7625         * lyxtext.h:
7626         * text.C: implement accept/rejectChange()
7627
7628         * lyxtext.h:
7629         * text.C: paint changebars. Paint new/deleted text in the chosen
7630         colours. Strike through deleted text.
7631
7632         * paragraph.h:
7633         * paragraph.C:
7634         * paragraph_pimpl.h:
7635         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7636           in the current change to the insert functions. Rework erase to
7637           mark text as deleted, adding an eraseIntern() and a range-based
7638           erase(). Implement per-paragraph change lookup and
7639           accept/reject.
7640
7641         * paragraph_funcs.C: Fixup paste for change tracking.
7642
7643         * tabular.C: mark added row/columns as new.
7644
7645         * text.C: fix rowLast() to never return -1. Don't allow
7646           spellchecking of deleted text. Track transpose changes. Don't
7647           allow paragraph break or merge where appropriate.
7648
7649         * text2.C: leave cursor at end of selection after a cut.
7650
7651 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7652
7653         * text.C (getLengthMarkerHeight):
7654         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7655         visible on screen too.
7656
7657 2003-02-07  John Levon  <levon@movementarian.org>
7658
7659         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7660
7661 2003-02-05  Angus Leeming  <leeming@lyx.org>
7662
7663         * lyxserver.C (read_ready): revert my patch of 11 September last year
7664         as it sends PC cpu through the roof. Presumably this means that
7665         the lyxserver will no longer run on an Alpha...
7666
7667 2003-01-30  Angus Leeming  <leeming@lyx.org>
7668
7669         * factory.C (createInset): create an InsetCommandParam of type "index"
7670         and use it to 'do the right thing'.
7671
7672         * text2.C (getStringToIndex): ensure that cursor position is always
7673         reset to the reset_cursor position.
7674
7675 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7676
7677         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7678         disabled.
7679
7680 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7681
7682         * bufferview.C:
7683         * lyxcb.C:
7684         * lyxfunc.C: Output messages with identical spelling, punctuation,
7685         and spaces
7686
7687 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7688
7689         * MenuBackend.C (expandFormats): List only viewable export formats
7690         in "View" menu
7691
7692         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7693         message
7694
7695         * lyxfunc.C (getStatus): Make sure that formats other than
7696         "fax" can also be disabled
7697
7698 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7699
7700         * text3.C (dispatch): put the lfuns that insert insets in 3
7701         groups, and call doInsertInset with appropriate arguments.
7702         (doInsertInset): new function, that creates an inset and inserts
7703         it according to some boolean parameters.
7704
7705 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7706
7707         * buffer.C (readFile): remember to pass on 'par' when calling
7708         readFile recursively.
7709
7710 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7711
7712         * MenuBackend.C (expandFormats): add "..." to import formats.
7713
7714 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7715
7716         * paragraph.C (asString): Remove XForms RTL hacks.
7717
7718 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7719         * buffer.C: fix typo
7720
7721 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7722
7723         * Makefile.am (LIBS): delete var
7724         (lyx_LDADD): add @LIBS@ here instead.
7725
7726 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7727
7728         * Clarify the meaning of "wheel mouse jump"
7729
7730 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7731
7732         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7733         tabular in a float
7734
7735 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7736
7737         * importer.C (Loaders): do not preallocate 3 elements in the
7738         vector, since one ends up with 6 elements otherwise
7739
7740 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7741
7742         * DepTable.C (write): write the file name as last element of the
7743         .dep file (because it may contain spaces)
7744         (read): read info in the right order
7745
7746 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7747
7748         * paragraph_pimpl.C (simpleTeXBlanks):
7749         (simpleTeXSpecialChars):
7750         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7751
7752         * tabular.C (latex): add some missing case statements. Reindent.
7753
7754         * MenuBackend.C (expandToc): remove unused variable.
7755
7756 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7757
7758         * LColor.C:
7759         * LaTeX.C:
7760         * LyXAction.C:
7761         * MenuBackend.C:
7762         * buffer.C:
7763         * exporter.C:
7764         * lyxfunc.C:
7765         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7766         and the like.
7767
7768 2003-01-05  John Levon  <levon@movementarian.org>
7769
7770         * BufferView.h:
7771         * BufferView.C: add getEncoding()
7772
7773         * kbsequence.h:
7774         * kbsequence.C: do not store last keypress
7775
7776         * lyxfunc.h:
7777         * lyxfunc.C: store last keypress here instead. Pass encoding
7778           to getISOEncoded()
7779
7780 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7781
7782         * lyx_main.C (init): remove annoying error message when following
7783         symbolic links (bug #780)
7784
7785 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7786
7787         * text.C (insertChar):
7788         * lyxrc.C (getDescription): remove extra spaces
7789
7790 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7791
7792         * lyxrc.C (getDescription): remove extra spaces
7793
7794 2002-12-20  John Levon  <levon@movementarian.org>
7795
7796         * text3.C: hack fix for page up/down across tall rows
7797
7798 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7799
7800         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7801         not been invoked
7802
7803 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7804
7805         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7806         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7807         thesaurus is not compiled in
7808
7809 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7810
7811         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7812
7813 2002-12-16  Angus Leeming  <leeming@lyx.org>
7814
7815         * lyxrc.[Ch]:
7816         * lyx_main.C (init): remove override_x_deadkeys stuff.
7817
7818 2002-12-12  John Levon  <levon@movementarian.org>
7819
7820         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7821           insert. Only remove shift modifier under strict
7822           circumstances.
7823
7824 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7825
7826         * MenuBackend.C (expandToc): fix crash.
7827
7828 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7829
7830         * MenuBackend.C (expandToc): gettext on float names.
7831
7832 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7833
7834         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7835         implement bool empty() [bug 490]
7836
7837 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7838
7839         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7840
7841 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7842
7843         * several files: ws changes
7844
7845 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7846
7847         * text2.C (setCounter): clean up a bit, use boost.format.
7848         (updateCounters): initialize par upon declaration.
7849
7850         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7851         if the layout exists. We do not just store the layout any more.
7852         (SwitchLayoutsBetweenClasses): use boost.format
7853
7854 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7855
7856         * converter.C (convert): if from and to files are the same, use a
7857         temporary files as intermediary
7858
7859 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7860
7861         * commandtags.h:
7862         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7863
7864 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7865
7866         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7867
7868 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7869
7870         * tabular.C (asciiPrintCell): use string(size, char) instead of
7871         explicit loop.
7872
7873         * sgml.C (openTag): fix order of arguments to string constructor
7874         (closeTag): ditto
7875
7876         * lyxfunc.C (dispatch): use boost.format
7877
7878         * lots of files: change "c" -> 'c'
7879
7880 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7881
7882         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7883
7884 2002-11-25  Angus Leeming  <leeming@lyx.org>
7885
7886         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7887
7888         * lyx_main.C (init): compile fix.
7889
7890 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7891
7892         * lyx_cb.C (start): boost.formatify
7893         do not include <iostream>
7894
7895         * lengthcommon.C: ws only
7896
7897         * boost-inst.C,BoostFormat.h: add more explict instantations
7898
7899 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7900
7901         * lots of files: handle USE_BOOST_FORMAT
7902
7903 2002-11-21  John Levon  <levon@movementarian.org>
7904
7905         * pspell.C: fix compile
7906
7907 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7908
7909         * lyxfunc.C (dispatch): use boost::format
7910         (open): ditto
7911         (doImport): ditto
7912
7913         * lyxfont.C (stateText): use boost::format
7914
7915         * lyx_main.C (LyX): use boost::format
7916         (init): ditto
7917         (queryUserLyXDir): ditto
7918         (readRcFile): ditto
7919         (parse_dbg): ditto
7920         (typedef boost::function): use the recommened syntax.
7921
7922         * importer.C (Import): use boost::format
7923
7924         * debug.C (showLevel): use boost::format
7925
7926         * converter.C (view): use boost::format
7927         (convert): ditto
7928         (move): ditto
7929         (scanLog): ditto
7930
7931         * bufferview_funcs.C (currentState): use boost::format
7932
7933         * bufferlist.C (emergencyWrite): use boost::format
7934
7935         * buffer.C (readLyXformat2): use boost::format
7936         (parseSingleLyXformat2Token): ditto
7937
7938         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7939
7940         * LaTeX.C (run): use boost::format
7941
7942         * Chktex.C (scanLogFile): use boost::format
7943
7944         * BufferView_pimpl.C (savePosition): use boost::format
7945         (restorePosition): ditto
7946         (MenuInsertLyXFile): ditto
7947
7948         * BoostFormat.h: help file for explicit instation.
7949
7950 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7951
7952         * tabular.C (latex): Support for block alignment in fixed width
7953         columns.
7954
7955 2002-11-17  John Levon  <levon@movementarian.org>
7956
7957         * BufferView_pimpl.C:
7958         * lyx_cb.C:
7959         * lyxfunc.C: split filedialog into open/save
7960
7961 2002-11-08  Juergen Vigna  <jug@sad.it>
7962
7963         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7964         by my last patch (hopefully).
7965
7966 2002-11-08  John Levon  <levon@movementarian.org>
7967
7968         * iterators.h:
7969         * iterators.C:
7970         * buffer.h:
7971         * buffer.C:
7972         * paragraph.h:
7973         * paragraph.C:
7974         * toc.h:
7975         * toc.C: ParConstIterator, and use it (from Lars)
7976
7977 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7978
7979         * lyxtextclass.[Ch]: revise and add doxygen comments
7980
7981 2002-11-07  John Levon  <levon@movementarian.org>
7982
7983         * text.C: fix progress value for spellchecker
7984
7985         * toc.C: fix navigate menu for insetwrap inside minipage
7986
7987         * paragraph_funcs.C: added FIXME for suspect code
7988
7989 2002-11-07  John Levon  <levon@movementarian.org>
7990
7991         * BufferView_pimpl.C: fix redrawing of insets
7992           on buffer switch
7993
7994 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7995
7996         * text2.C (updateCounters): fix bug 668
7997
7998 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7999
8000         * text3.C (dispatch): Do not make the buffer dirty when moving the
8001         cursor.
8002
8003 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8004
8005         * vc-backend.C: STRCONV
8006         (scanMaster): ditto
8007
8008         * text2.C (setCounter): STRCONV
8009
8010         * paragraph.C (asString): STRCONV
8011
8012         * lyxlength.C (asString): STRCONV
8013         (asLatexString): ditto
8014
8015         * lyxgluelength.C (asString): STRCONV
8016         (asLatexString): ditto
8017
8018         * lyxfunc.C (dispatch): STRCONV
8019         (open): ditto
8020
8021         * lyxfont.C (stateText): STRCONV
8022
8023         * importer.C (Import): STRCONV
8024
8025         * counters.C (labelItem): STRCONV
8026         (numberLabel): ditto
8027         (numberLabel): remove unused ostringstream o
8028
8029         * chset.C: STRCONV
8030         (loadFile): ditto
8031
8032         * bufferview_funcs.C (currentState): STRCONV
8033
8034         * buffer.C (readFile): STRCONV
8035         (asciiParagraph): ditto
8036         (makeLaTeXFile): ditto
8037
8038         * Spacing.C (writeEnvirBegin): STRCONV
8039
8040         * LaTeXFeatures.C (getLanguages): STRCONV
8041         (getPackages): ditto
8042         (getMacros): ditto
8043         (getBabelOptions): ditto
8044         (getTClassPreamble): ditto
8045         (getLyXSGMLEntities): ditto
8046         (getIncludedFiles): ditto
8047
8048         * LaTeX.C: STRCONV
8049         (run): ditto
8050         (scanAuxFile): ditto
8051         (deplog): ditto
8052
8053         * LString.h: add the STRCONV macros
8054
8055         * BufferView_pimpl.C (savePosition): STRCONV
8056         (restorePosition): ditto
8057         (MenuInsertLyXFile): ditto
8058
8059         * vc-backend.C (scanMaster): change from submatch[...] to
8060         submatch.str(...)
8061
8062         * funcrequest.C: include config.h
8063
8064         * factory.C: include config.h
8065
8066         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8067
8068         * box.C: include config.h
8069
8070         * LaTeX.C (scanAuxFile): change from submatch[...] to
8071         submatch.str(...)
8072         (deplog): ditto
8073
8074 2002-10-25  Angus Leeming  <leeming@lyx.org>
8075
8076         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8077
8078         * ispell.[Ch] (setError): new method.
8079         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8080         Use setError() insetead of goto END.
8081
8082         * lyx_cb.C (AutoSave): move out child process into new class
8083         AutoSaveBuffer.
8084
8085 2002-10-30  John Levon  <levon@movementarian.org>
8086
8087         * text3.C: make start appendix undoable
8088
8089 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8090
8091         * lyxlength.C (inPixels): Fix returned value.
8092
8093         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8094         environment.
8095
8096 2002-10-24  Angus Leeming  <leeming@lyx.org>
8097
8098         * lyxgluelength.h: no need to forward declare BufferParams
8099         or BufferView, so don't.
8100
8101 2002-10-21  John Levon  <levon@movementarian.org>
8102
8103         * BufferView.C: menuUndo ->undo, redo
8104
8105         * BufferView.h: document, remove dead, make some methods private
8106
8107         * paragraph_funcs.h:
8108         * paragraph_funcs.C:
8109         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8110
8111         * buffer.h:
8112         * buffer.C:
8113         * sgml.h:
8114         * sgml.C: move sgml open/close tag into sgml.C
8115
8116         * bufferview_funcs.h: unused prototype
8117
8118         * lyxfunc.h:
8119         * lyxfunc.C: remove unused
8120
8121         * lyxtext.h:
8122         * text.C: remove unused
8123
8124 2002-10-21  John Levon  <levon@movementarian.org>
8125
8126         * BufferView.h:
8127         * BufferView.C:
8128         * BufferView_pimpl.h:
8129         * BufferView_pimpl.C: fix mouse wheel handling based on
8130           patch from Darren Freeman
8131
8132 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8133
8134         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8135
8136 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8137
8138         * lyxlength.C (inPixels): Fix hanfling of negative length.
8139         Fix LyXLength::MU case.
8140
8141 2002-10-16  John Levon  <levon@movementarian.org>
8142
8143         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8144
8145 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8146
8147         * converter.C (view): add support for $$i (file name) and $$p
8148         (file path) for the viewer command. If $$i is not specified, then
8149         it is appended to the command (for compatibility with old syntax)
8150
8151 2002-10-14  Juergen Vigna  <jug@sad.it>
8152
8153         * undo_funcs.C (textHandleUndo): alter the order in which the
8154         new undopar is added to the LyXText, as we have to set first
8155         the right prev/next and then add it as otherwise the rebuild of
8156         LyXText is not correct. Also reset the cursor to the right paragraph,
8157         with this IMO we could remove the hack in "redoParagraphs()".
8158
8159 2002-10-09  Angus Leeming  <leeming@lyx.org>
8160
8161         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8162         to turn off an optimisation if a new inset is to be inserted.
8163
8164 2002-10-11 André Pönitz <poenitz@gmx.net>
8165
8166         * lyxtext.h: make some functions public to allow access
8167         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8168
8169 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8170
8171         * text3.C (dispatch): when changing layout, avoid an infinite loop
8172         [bug #652]
8173
8174 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8175
8176         * lyxrc.C (read): treat a viewer or converter command of "none" as
8177         if it were empty.
8178
8179         * MenuBackend.C (expandFormats): for an update, also allow the
8180         formats that are not viewable
8181
8182         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8183         script if it is newer than the lyxrc.defaults in user directory
8184
8185 2002-10-07 André Pönitz <poenitz@gmx.net>
8186
8187         * text.C: Vitaly Lipatov's small i18n fix
8188
8189 2002-09-25  Angus Leeming  <leeming@lyx.org>
8190
8191         * ispell.h: doxygen fix.
8192
8193 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8194
8195         * buffer.h (readFile): Add a new argument to the method, to allow
8196         reading of old-format templates.
8197
8198 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8199
8200         * toc.C (getTocList): Get TOC from InsetWrap.
8201
8202 2002-09-16  John Levon  <levon@movementarian.org>
8203
8204         * lyxfunc.C: check tabular for cut/copy too
8205
8206 2002-09-12  John Levon  <levon@movementarian.org>
8207
8208         * LyXAction.C: tidy
8209
8210         * factory.h:
8211         * factory.C: add header
8212
8213         * paragraph_funcs.h:
8214         * paragraph_funcs.C: cleanup
8215
8216 2002-09-11  John Levon  <levon@movementarian.org>
8217
8218         * PrinterParams.h: odd/even default to true
8219
8220 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8221
8222         * PrinterParams.h: update printer parameters for new xforms dialog
8223
8224 2002-09-11  Angus Leeming  <leeming@lyx.org>
8225
8226         * lyxserver.C (read_ready): re-write to make it more transparent
8227         and to make it work in coherent fashion under Tru64 Unix.
8228
8229 2002-09-11  André Pönitz <poenitz@gmx.net>
8230
8231         * commandtags.h:
8232         * LyXAction.C:
8233         * text3.C: implement LFUN_WORDSEL
8234
8235 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8236
8237         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8238         make floatlist_ a boost::shared_ptr<FloatList>
8239
8240         * lyxtextclass.C: include FloatList.h
8241         (LyXTextClass): initialize floatlist_
8242         (TextClassTags): add TC_NOFLOAT
8243         (Read): match "nofloat" to TC_NOFLOAT and use it.
8244         (readFloat): modify call to floatlist_
8245         (floats): ditto
8246         (floats): ditto
8247
8248         * FloatList.[Ch] (FloatList): remove commented out float
8249         initialization.
8250         (erase): new function
8251
8252 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8253
8254         * MenuBackend.C (expandToc): fix crash when there is no document
8255         open
8256
8257 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8258
8259         * many files: Add insetwrap.
8260
8261 2002-09-09  John Levon  <levon@movementarian.org>
8262
8263         * text2.C: remove confusing and awkward depth wraparound
8264
8265 2002-09-09  John Levon  <levon@movementarian.org>
8266
8267         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8268
8269         * buffer.h:
8270         * buffer.C: remove getIncludeonlyList()
8271
8272         * paragraph.C:
8273         * lyxfunc.C: remove headers
8274
8275 2002-09-09  Juergen Vigna  <jug@sad.it>
8276
8277         * text.C (getColumnNearX): fix form Michael this is most
8278         probably a cut&paste bug.
8279
8280 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8281
8282         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8283
8284         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8285         references, ws changes.
8286
8287         * text2.C (init): update counters after init
8288         (insertParagraph): no need to set counter on idividual paragraphs.
8289         (setCounter): access the counters object in the textclass object
8290         on in the buffer object.
8291         (updateCounters): ditto
8292
8293         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8294         shared_ptr<Counters> to avoid loading counters.h in all
8295         compilation units.
8296         (LyXTextClass): initialize ctrs_
8297         (TextClassTags): add TC_COUNTER, and ...
8298         (Read): use it here.
8299         (CounterTags): new tags
8300         (readCounter): new function
8301         (counters): new funtion
8302         (defaultLayoutName): return a const reference
8303
8304         * counters.C (Counters): remove contructor
8305         (newCounter): remove a couple of unneeded statements.
8306         (newCounter): simplify a bit.
8307         (numberLabel): some small formatting changes.
8308
8309         * buffer.[Ch]: remove all traces of counters, move the Counters
8310         object to the LyXTextClass.
8311
8312 2002-09-06  Alain Castera  <castera@in2p3.fr>
8313
8314         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8315         package to set the horizontal alignment on fixed width columns.
8316
8317         * lyx_sty.C:
8318         * lyx_sty.h: added tabularnewline macro def.
8319
8320         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8321
8322 2002-09-06  John Levon  <levon@movementarian.org>
8323
8324         * LyXAction.C: tooltips for sub/superscript
8325
8326         * MenuBackend.C: a bit more verbose
8327
8328         * lyxfunc.C: tiny clean
8329
8330         * undo_funcs.C: document undo_frozen
8331
8332 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8333
8334         * counters.C (Counters): add missing algorithm counter.
8335
8336         * text2.C (setCounter): lookup the counter with layouts latexname
8337         instead of by section number.
8338         (setCounter): use a hackish way to lookup the correct enum
8339         counter.
8340         a float name->type change
8341         reset enum couners with counter name directly instead of depth value.
8342
8343         * counters.C (Counters): remove the push_backs, change to use the
8344         float type not the float name.
8345         (labelItem): remove unused string, float name->type change
8346
8347         * counters.h: don't include vector, loose the enums and sects vectors
8348
8349 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8350
8351         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8352         (Read): add float->TC_FLOAT to textclassTags
8353         (Read): and handle it in the switch
8354         (readFloat): new function
8355
8356         * FloatList.C (FloatList): comment out the hardcoded float
8357         definitions.
8358
8359         * lyxlayout.h: ws change.
8360
8361 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8362
8363         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8364
8365 2002-09-03  Angus Leeming  <leeming@lyx.org>
8366
8367         * BufferView_pimpl.h: qualified name is not allowed in member
8368         declaration: WorkArea & Pimpl::workarea() const;
8369
8370         * factory.C: added using std::endl directive.
8371
8372         * text3.C: added using std::find and std::vector directives.
8373
8374 2002-08-29  André Pönitz <poenitz@gmx.net>
8375
8376         * lyxtext.h:
8377         * text2.C: remove unused member number_of_rows
8378
8379         * Makefile.am:
8380         * BufferView2.C: remove file, move contents to...
8381         * BufferView.C: ... here
8382
8383         * BufferView_pimpl.C:
8384         * factory.C: move more inset creation to factory
8385
8386         * vspace.C: avoid direct usage of LyXText, ws changes
8387
8388         * BufferView.[Ch]:
8389                 don't provide direct access to WorkArea, use two simple
8390                 acessors haveSelction() and workHeight() instead
8391
8392
8393 2002-08-29  John Levon  <levon@movementarian.org>
8394
8395         * BufferView_pimpl.C (dispatch): do not continue when
8396           no buffer
8397
8398 2002-08-28  André Pönitz <poenitz@gmx.net>
8399
8400         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8401
8402         * BufferView.h:
8403         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8404
8405 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8406
8407         * buffer.C: increment LYX_FORMAT to 221
8408
8409         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8410         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8411
8412         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8413
8414         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8415
8416 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8417
8418         * factory.C (createInset): use LyXTextClass::floats
8419
8420         * MenuBackend.C (expandFloatListInsert):
8421         (expandFloatInsert):
8422         (expandToc):
8423
8424         * text2.C (setCounter):
8425
8426         * LaTeXFeatures.C (useFloat):
8427         (getFloatDefinitions):
8428
8429         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8430
8431         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8432         floatlist_, with accessor floats().
8433
8434         * FloatList.h: remove global FloatList
8435
8436 2002-08-26  André Pönitz <poenitz@gmx.net>
8437
8438         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8439
8440         * BufferView.h:
8441         * BufferView2.C:
8442         * BufferView_pimpl.C:
8443         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8444
8445 2002-08-25  John Levon  <levon@movementarian.org>
8446
8447         * LyXAction.C: fix margin note description
8448
8449 2002-08-24  John Levon  <levon@movementarian.org>
8450
8451         * buffer.C:
8452         * bufferlist.C:
8453         * bufferview_funcs.C:
8454         * lyxfont.C:
8455         * undo_funcs.C: cleanups
8456
8457         * lyxfunc.C: disable CUT/COPY when no selection
8458
8459 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8460
8461         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8462         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8463
8464         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8465         Add backward compatibility to "mono", "gray" and "no".
8466
8467 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8468
8469         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8470         (and file_format >= 200).
8471
8472 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8473
8474         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8475
8476 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8477
8478         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8479
8480 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8481
8482         * BufferView_pimpl.C:
8483         * LyXAction.C:
8484         * buffer.C:
8485         * commandtags.h:
8486         * lyxfunc.C:
8487         * paragraph.[Ch]:
8488         * text2.C:
8489         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8490         inset and code to make it  work with the paragraph code. The inset
8491         can be anywhere in the paragraph, but will only do the expected
8492         thing in LaTeX if the layout file contains the parameter line
8493                         OptionalArgs    1
8494         (or more generally, a nonzero value) for that layout.
8495
8496 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8497
8498         * paragraph.h: remove the declaration of undefined counters class
8499         function.
8500
8501 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8502
8503         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8504         Dr. Richard Hawkins.
8505
8506 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8507
8508         * paragraph_funcs.h: remove some unneeded includes
8509
8510         * text.C (backspace): pasteParagraph now in global scipe
8511
8512         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8513         (pasteSelection): ditto
8514
8515         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8516         * paragraph_funcs.C (pasteParagraph): ... here
8517
8518 2002-08-20  André Pönitz <poenitz@gmx.net>
8519
8520         * commandtags.h: new LFUNs for swapping/copying table row/colums
8521
8522         * LyXAction.C:
8523         * lyxfunc.C: support for new lfuns
8524
8525 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8526
8527         * tabular.C:
8528         * buffer.[Ch]: remove NO_COMPABILITY stuff
8529
8530 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8531
8532         * boost.C (throw_exception): new file, with helper function for
8533         boost compiled without exceptions.
8534
8535         * paragraph.h:
8536         * lyxlength.C:
8537         * buffer.C:
8538         * ParameterStruct.h:
8539         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8540
8541         * bufferlist.C (emergencyWriteAll): use boost bind
8542
8543         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8544
8545         * text.C: include paragraph_funcs.h
8546         (breakParagraph): breakParagraph is now in global scope
8547
8548         * paragraph_funcs.[Ch]: new files
8549
8550         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8551         global scope
8552
8553         * buffer.C: include paragraph_funcs.h
8554         (insertStringAsLines): breakParagraph is now in global scope
8555
8556         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8557         paragraph_funcs.C
8558
8559         * CutAndPaste.C: include paragraph_funcs.h
8560         (cutSelection): breakParagraphConservative is now in global scope
8561         (pasteSelection): ditto
8562
8563         * buffer.h: declare oprator== and operator!= for
8564         Buffer::inset_iterator
8565
8566         * bufferlist.C (emergencyWrite): don't use fmt(...)
8567
8568         * text3.C: add using std::endl
8569
8570         * BufferView.C (moveCursorUpdate): remove default arg
8571
8572 2002-08-20  André Pönitz <poenitz@gmx.net>
8573
8574         * buffer.[Ch]: move inline functions to .C
8575
8576         * BufferView2.C:
8577         * BufferView_pimpl.C:
8578         * text.C:
8579         * buffer.[Ch]: use improved inset_iterator
8580
8581         * buffer.C:
8582         * paragraph.[Ch]: write one paragraph at a time
8583
8584 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8585
8586         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8587         style if style is not specified.
8588
8589 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8590
8591         * text2.C (setCounter): when searching for right label for a
8592         caption, make sure to recurse to parent insets (so that a caption
8593         in a minipage in a figure float works) (bug #568)
8594
8595 2002-08-20  André Pönitz <poenitz@gmx.net>
8596
8597         * text3.C: new file for LyXText::dispatch() and helpers
8598
8599         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8600
8601         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8602
8603 2002-08-19  André Pönitz <poenitz@gmx.net>
8604
8605         * lyxtext.h:
8606         * text.C: new LyXText::dispatch()
8607
8608         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8609
8610 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8611
8612         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8613
8614         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8615         Hebrew text.
8616
8617 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8618
8619         * Makefile.am: use $(variables) instead of @substitutions@
8620
8621 2002-08-15  André Pönitz <poenitz@gmx.net>
8622
8623         * lyxfunc.C:
8624         * BufferView_pimpl.C: streamlining mathed <-> outer world
8625         interaction
8626
8627         * commandtags.h:
8628         * LyXAction.C: remove unused LFUN_MATH
8629
8630 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8631
8632         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8633
8634 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8635
8636         * paragraph.C (Paragraph): reformat a bit
8637         (cutIntoMinibuffer): use builtin InsetList function instad of
8638         doing it manually.
8639         (getInset): ditto
8640
8641         * buffer.C: include boost/bind.hpp, add using std::for_each
8642         (writeFileAscii): use ParagraphList iterators
8643         (validate): use for_each for validate traversal of paragraphs
8644         (getBibkeyList): use ParagraphList iterators
8645         (resizeInsets): use for_each to resizeInsetsLyXText for all
8646         paragraphs.
8647         (getParFromID): use ParagraphList iterators
8648
8649         * BufferView2.C (lockInset): use paragraph list and iterators
8650
8651 2002-08-14  John Levon  <levon@movementarian.org>
8652
8653         * lyxserver.C: remove spurious xforms include
8654
8655 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8656
8657         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8658
8659 2002-08-13  André Pönitz <poenitz@gmx.net>
8660
8661         * LyXAction.[Ch]:
8662         * lyxfunc.C: further cleaning
8663
8664 2002-08-13  André Pönitz <poenitz@gmx.net>
8665
8666         * funcrequest.h: new constructor
8667
8668         * funcrequest.C: move stuff here from .h
8669
8670         * Makefile.am:
8671         * BufferView_pimpl.C:
8672         * LyXAction.C:
8673         * toc.C:
8674         * lyxfunc.C: subsequent changes
8675
8676         * lyxfunc.h: new view() member function
8677
8678         * lyxfunc.C: subsequent changes
8679
8680 2002-08-13  Angus Leeming  <leeming@lyx.org>
8681
8682         * BufferView2.C:
8683         * BufferView_pimpl.C:
8684         * buffer.C:
8685         * converter.C:
8686         * importer.C:
8687         * lyxfunc.C:
8688         * lyxvc.C:
8689         * toc.C:
8690         * vc-backend.C:
8691         changes due to the changed LyXView interface that now returns references
8692         to member variables not pointers.
8693
8694 2002-08-13  Angus Leeming  <leeming@lyx.org>
8695
8696         * WordLangTuple (word, lang_code): return references to strings,
8697         not strings.
8698
8699         * BufferView.h:
8700         * SpellBase.h:
8701         * lyxtext.h: forward-declare WordLangTuple.
8702
8703         * BufferView2.C:
8704         * ispell.C:
8705         * pspell.C:
8706         * text.C: #include "WordLangTuple.h".
8707
8708         * lyxtext.h:
8709         * text.C: (selectNextWordToSpellcheck): constify return type.
8710
8711 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8712
8713         * buffer.C:
8714         * buffer.h:
8715         * lyxtext.h:
8716         * paragraph.C:
8717         * paragraph_pimpl.h:
8718         * text.C:
8719         * text2.C:
8720         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8721         suggested by Angus.
8722         Made updateCounter always count from start of buffer, and removed
8723         second argument (par).
8724         Reverted floats number display to '#'. Perhaps I'll try again when the
8725         code base is sanitized a bit.
8726
8727 2002-08-12  Angus Leeming  <leeming@lyx.org>
8728
8729         * buffer.[Ch] (getLabelList): constify.
8730
8731 2002-08-07  André Pönitz <poenitz@gmx.net>
8732
8733         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8734
8735         * funcrequest.h: extension to keep mouse (x,y) position
8736
8737 2002-08-12  Juergen Vigna  <jug@sad.it>
8738
8739         * BufferView2.C (insertErrors): forbid undo when inserting error
8740         insets.
8741
8742         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8743
8744 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8745
8746         * ParagraphList.[Ch]: new files
8747
8748         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8749
8750         * BufferView2.C (lockInset): ParagraphList changes
8751         * toc.C: ditto
8752         * text2.C: ditto
8753         * bufferlist.C: ditto
8754         * buffer.h: ditto
8755         * buffer.C: ditto
8756
8757 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8758
8759         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8760         unused class variable counter_,
8761
8762         * paragraph.[Ch] (getFirstCounter): delete unused function
8763
8764         * counters.C: include LAssert.h
8765         (reset): add a new function with no arg, change other version to
8766         not have def. arg and to not allow empty arg.
8767
8768         * text2.C (setCounter): remove empty arg from call to Counters::reset
8769
8770 2002-08-11  John Levon  <levon@movementarian.org>
8771
8772         * Makefile.am: add WordLangTuple.h
8773
8774 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8775
8776         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8777         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8778
8779         * insets/insettext.C: InsetList changes
8780
8781         * graphics/GraphicsSupport.C (operator()): InsetList changes
8782
8783         * toc.C (getTocList): InsetList changes
8784
8785         * paragraph_pimpl.[Ch]: InsetList changes
8786
8787         * paragraph.[Ch]: InsetList changes
8788
8789         * buffer.C (inset_iterator): InsetList changes
8790         (setParagraph): ditto
8791         * buffer.h (inset_iterator): ditto
8792         * iterators.C (operator++): ditto
8793         * iterators.h: ditto
8794
8795         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8796
8797         * InsetList.[Ch]: new files, most InsetList handling moved out of
8798         paragraph.C.
8799
8800         * BufferView2.C (removeAutoInsets): InsetList changes
8801         (lockInset): ditto
8802         (ChangeInsets): ditto
8803
8804 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8805
8806         * paragraph_pimpl.h (empty): new function
8807
8808         * paragraph.[Ch] (empty): new function
8809
8810         * other files: use the new Paragraph::empty function
8811
8812 2002-08-09  John Levon  <levon@movementarian.org>
8813
8814         * lyxtext.h: remove unused refresh_height
8815
8816 2002-08-09  John Levon  <levon@movementarian.org>
8817
8818         * Makefile.am:
8819         * sgml.h:
8820         * sgml.C:
8821         * buffer.C:
8822         * paragraph.h:
8823         * paragraph.C: move sgml char escaping out of paragraph
8824
8825         * paragraph.h:
8826         * paragraph.C: remove id setter
8827
8828         * buffer.C:
8829         * paragraph.C:
8830         * paragraph_pimpl.C: remove dead tex_code_break_column
8831
8832         * bufferview_funcs.C: small cleanup
8833
8834         * lyxfunc.C: remove dead proto
8835
8836         * lyxtext.h: make some stuff private. Remove some dead stuff.
8837
8838         * lyxgluelength.C: make as[LyX]String() readable
8839
8840 2002-08-08  John Levon  <levon@movementarian.org>
8841
8842         * LyXAction.h:
8843         * LyXAction.C:
8844         * MenuBackend.C:
8845         * ToolbarDefaults.C:
8846         * lyxfunc.C:
8847         * lyxrc.C:
8848         * toc.C: lyxaction cleanup
8849
8850 2002-08-08  John Levon  <levon@movementarian.org>
8851
8852         * BufferView2.C: small cleanup
8853
8854         * lyxfind.h:
8855         * lyxfind.C: move unnecessary header into the .C
8856
8857 2002-08-08  John Levon  <levon@movementarian.org>
8858
8859         * funcrequest.h: just tedious nonsense
8860
8861         * lyx_main.h:
8862         * lyx_main.C: cleanups
8863
8864         * buffer.C:
8865         * vspace.C: remove dead header lyx_main.h
8866
8867 2002-08-07  Angus Leeming  <leeming@lyx.org>
8868
8869         * Paragraph.[Ch]:
8870         * paragraph_pimpl.h:
8871         Forward declare class Counters in paragraph.h by moving the ctrs member
8872         variable into Paragraph::Pimpl.
8873         (counters): new method, returning a reference to pimpl_->ctrs.
8874
8875         * text2.C: ensuing changes.
8876
8877 2002-08-07  John Levon  <levon@movementarian.org>
8878
8879         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8880
8881         * BufferView_pimpl.C: announce X selection on double/triple
8882           click
8883
8884         * lyx_main.C: use correct bool in batch dispatch
8885
8886         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8887
8888 2002-08-07  André Pönitz <poenitz@gmx.net>
8889
8890         * funcrequest.h: new class to wrap a kb_action and its argument
8891
8892         * BufferView.[Ch]:
8893         * BufferView_pimpl[Ch]:
8894         * LaTeX.C:
8895         * LyXAction.[Ch]:
8896         * lyxfunc.[Ch]:
8897         * lyxrc.C: subsequent changes
8898
8899
8900 2002-08-07  John Levon  <levon@movementarian.org>
8901
8902         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8903           document options change.
8904
8905 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8906
8907         * counters.[Ch]
8908         * text2.C
8909         * paragraph.[Ch]
8910         * makefile.am: move counters functionality over from
8911         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8912
8913 2002-08-06  John Levon  <levon@movementarian.org>
8914
8915         * WordLangTuple.h: new file for word + language code tuple
8916
8917         * SpellBase.h:
8918         * pspell.h:
8919         * pspell.C:
8920         * ispell.h:
8921         * ispell.C:
8922         * lyxtext.h:
8923         * text.C:
8924         * text2.C:
8925         * BufferView.h:
8926         * BufferView2.C: use WordLangTuple
8927
8928         * layout.h:
8929         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8930
8931 2002-08-06  John Levon  <levon@movementarian.org>
8932
8933         * lyx_main.C: fix cmdline batch handling
8934
8935 2002-08-06  André Pönitz <poenitz@gmx.net>
8936
8937         * lyxrc.C: set default for show_banner to true
8938
8939 2002-08-06  John Levon  <levon@movementarian.org>
8940
8941         * pspell.C: fix a crash, and allow new aspell to work
8942
8943 2002-08-06  John Levon  <levon@movementarian.org>
8944
8945         * lyxfunc.C:
8946         * kbmap.C: small cleanup
8947
8948         * vspace.h:
8949         * vspace.C: add const
8950
8951 2002-08-05  John Levon  <levon@movementarian.org>
8952
8953         * LyXAction.C: back to tabular-insert
8954
8955 2002-08-04  John Levon  <levon@movementarian.org>
8956
8957         * BufferView.h:
8958         * BufferView.C: cosmetic change
8959
8960         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8961
8962         * bufferlist.C:
8963         * buffer.h:
8964         * buffer.C:
8965         * lyxcb.h:
8966         * lyxcb.C:
8967         * lyxserver.C:
8968         * lyxvc.C:
8969         * vc-backend.C:
8970         * BufferView2.C: purge all "Lyx" not "LyX" strings
8971
8972         * lyxcursor.h:
8973         * lyxcursor.C: attempt to add some documentation
8974
8975         * lyxfunc.C:
8976         * commandtags.h:
8977         * LyXAction.C:
8978         * ToolbarDefaults.C:
8979         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8980           merge with LFUN_TABULAR_INSERT
8981
8982         * Makefile.am:
8983         * SpellBase.h:
8984         * ispell.h:
8985         * ispell.C:
8986         * pspell.h:
8987         * pspell.C: split up i/pspell implementations into separate
8988           files, many cleanups
8989
8990         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8991
8992         * text2.C: some cleanup
8993
8994         * lyxfunc.C: don't check for isp_command == "none" any more, it
8995           didn't make any sense
8996
8997 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8998
8999         * counters.[Ch]
9000         * text2.C
9001         * paragraph.[Ch]
9002         * makefile.am: move counters functionality over
9003         from text2.C/paragraph.[Ch] to counters.[Ch], and
9004         make proper C++.
9005 2002-08-02  John Levon  <levon@movementarian.org>
9006
9007         * buffer.C: s/lyxconvert/lyx2lyx/
9008
9009 2002-08-02  Angus Leeming  <leeming@lyx.org>
9010
9011         * lyxlex.C: revert John's change as it breaks reading of the user
9012         preamble.
9013
9014 2002-08-02  Angus Leeming  <leeming@lyx.org>
9015
9016         * importer.C (Import):
9017         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9018         changes due to LyXView::view() now returning a boost::shared_ptr.
9019
9020 2002-08-02  John Levon  <levon@movementarian.org>
9021
9022         * lyxlex.C: small cleanup
9023
9024 2002-08-02  John Levon  <levon@movementarian.org>
9025
9026         * text2.C (status): small cleanup, no logic change
9027
9028 2002-08-01  John Levon  <levon@movementarian.org>
9029
9030         * buffer.h:
9031         * buffer.C (writeFile): don't output alerts, caller
9032           handles this
9033
9034         * bufferlist.C:
9035         * lyx_cb.C: from above
9036
9037         * lyxfunc.C: allow to open non-existent files
9038
9039 2002-07-31  John Levon  <levon@movementarian.org>
9040
9041         * lyxserver.C: don't let incidental errors get
9042           in the way (errno)
9043
9044 2002-07-30  John Levon  <levon@movementarian.org>
9045
9046         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9047
9048 2002-07-30  John Levon  <levon@movementarian.org>
9049
9050         * lyxserver.h:
9051         * lyxserver.C: remove I/O callback too
9052
9053 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9054
9055         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9056         log.
9057
9058 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9059
9060         * many files: strip,frontStrip -> trim,ltrim,rtrim
9061
9062 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9063
9064         * PrinterParams.h: remove extern containsOnly, and include
9065         support/lstrings.h instead.
9066
9067         * LaTeX.C (scanAuxFile): modify because of strip changes
9068         (deplog): ditto
9069         * buffer.C (makeLaTeXFile): ditto
9070         * bufferparams.C (writeFile): ditt
9071         * lyxfont.C (stateText): ditto
9072         * lyxserver.C (read_ready): ditto
9073         * vc-backend.C (scanMaster): ditto
9074
9075         * BufferView_pimpl.h: ws changes
9076
9077         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9078
9079 2002-07-26  André Pönitz <poenitz@gmx.net>
9080
9081         * kb_sequence.C: remove unnedred usings
9082
9083 2002-07-26  Juergen Vigna  <jug@sad.it>
9084
9085         * lyxfind.C (LyXReplace): we have to check better if the returned
9086         text is not of theLockingInset()->getLockingInset().
9087
9088 2002-07-25  Juergen Vigna  <jug@sad.it>
9089
9090         * lyxfind.C (LyXReplace): don't replace if we don't get the
9091         right LyXText.
9092
9093         * undo_funcs.C (createUndo): remove debugging code.
9094
9095 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9096
9097         * buffer.C (parseSingleLyXformat2Token): Use default placement
9098         when reading old floats.
9099
9100         * FloatList.C (FloatList): Change the default placement of figure
9101         and tables to "tbp".
9102
9103 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9104
9105         * MenuBackend.C: using std::max
9106
9107 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9108
9109         * MenuBackend.C (expandToc):
9110         (expandToc2): code moved from xforms menu frontend. It is now
9111         generic and TOCs are transparent to menu frontends.
9112
9113 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9114
9115         * toc.C (getTocList): protect against buf=0
9116
9117         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9118         Menu as first parameter. Now, this calls itself recursively to
9119         expand a whole tree (this will be useful for TOC handling)
9120         (expandFloatInsert): remove 'wide' version of floats
9121
9122         * MenuBackend.h (submenuname): returns the name of the submenu.
9123         (submenu): returns the submenu itself, provided it has been
9124         created by MenuBackend::expand
9125
9126 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9127
9128         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9129         insets which have noFontChange == true. (bug #172)
9130
9131 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9132
9133         * BufferView_pimpl.C: add connection objects and use them...
9134         (Pimpl): here.
9135
9136 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9137
9138         * MenuBackend.C (expandLastfiles):
9139         (expandDocuments):
9140         (expandFormats):
9141         (expandFloatListInsert):
9142         (expandFloatInsert):
9143         (expand): split expand in parts
9144
9145 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9146
9147         * lyx_gui.C: use lyx_gui::exit()
9148
9149 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9150
9151         * LyXAction.C: show the failing pseudo action
9152
9153 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9154
9155         * buffer.C (readFile): Run the lyxconvert script in order to read
9156         old files.
9157
9158 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9159
9160         * LyXAction.C:
9161         * commandtags.h:
9162         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9163
9164 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9165
9166         * LyXAction.C:
9167         * commandtags.h:
9168         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9169
9170 2002-07-22  Herbert Voss  <voss@lyx.org>
9171
9172         * lengthcommon.C:
9173         * lyxlength.[Ch]: add support for the vertical lengths
9174
9175 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9176
9177         * toc.[Ch]: std:: fixes
9178
9179 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9180
9181         * lyxrc.C: do not include lyx_main.h
9182
9183         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9184         for layouts
9185
9186         * lyxrc.C:
9187         * encoding.C:
9188         * bufferlist.C:
9189         * BufferView2.C: include "lyxlex.h"
9190
9191         * tabular.h:
9192         * bufferparams.h: do not #include "lyxlex.h"
9193
9194         * lyxtextclasslist.C (Add): remove method
9195         (classlist): renamed to classlist_
9196
9197         * paragraph_pimpl.C:
9198         * paragraph.C:
9199         * text2.C:
9200         * CutAndPaste.C:
9201         * bufferview_funcs.C:
9202         * bufferlist.C:
9203         * text.C:
9204         * LaTeXFeatures.C:
9205         * buffer.C:
9206         * toc.C (getTocList): use BufferParams::getLyXTextClass
9207
9208         * toc.C (getTocList): use InsetFloat::addToToc
9209
9210         * toc.[Ch]: new files, containing helper functions to handle table
9211         of contents
9212
9213         * lyxfunc.C (dispatch): no need to remove spaces around command
9214         given as a string
9215         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9216         first command of the sequence; it is not very clever, but I do not
9217         have a better idea, actually
9218
9219         * LyXAction.C (LookupFunc): make sure to remove space at the
9220         beginning and end of the command
9221
9222 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9223
9224         * MenuBackend.C (getMenubar): new method: return the menubar of
9225         this menu set
9226         (read): treat differently reading of menu and menubar (in
9227         particular, the menubar has no name now)
9228         (Menu::menubar): remove
9229
9230         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9231         saving is finished
9232
9233 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9234
9235         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9236         a bibitem inset in a RTL paragraph.
9237
9238 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9239
9240         * paragraph_pimpl.C: constify
9241
9242         * BufferView_pimpl.C:
9243         * LaTeX.C:
9244         * lyxfunc.C: fix dispatch in a nicer way
9245
9246 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9247
9248         * lyxfunc.C (dispatch):
9249         * BufferView_pimpl.C:
9250         * BufferView_pimpl.h:
9251         * BufferView.C:
9252         * BufferView.h: rename Dispatch() to dispatch()
9253
9254         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9255
9256         * lyxlayout.C (Read): honor DependsOn tag
9257
9258         * lyxlayout.[Ch] (depends_on): new method
9259
9260         * version.C.in: update lyx_docversion
9261
9262         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9263
9264         * paragraph.C (validate): remove from here...
9265         * paragraph_pimpl.C (validate): ... and move here
9266         (isTextAt): make it const
9267
9268         * buffer.C (getLists): ws cleanup
9269
9270 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9271
9272         * language.C (read): Use iso8859-1 encoding in latex_lang
9273         (this prevents LyX from crashing when using iso10646-1 encoding).
9274
9275 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9276
9277         * text2.C (toggleInset): if cursor is inside an inset, close the
9278         inset and leave cursor _after_ it
9279
9280 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9281
9282         * lyxfunc.C: move minibuffer completion handling out of here
9283
9284 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9285
9286         * BufferView_pimpl.C:
9287         * LaTeX.C: fix dispatch calls
9288
9289 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9290
9291         * text.C (drawChars): Fix Arabic text rendering.
9292
9293 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9294
9295         * LyXAction.C:
9296         * commandtags.h:
9297         * lyxfunc.C: remove message-push/pop
9298
9299         * lyxserver.C:
9300         * lyxfunc.h:
9301         * lyxfunc.C: rationalise some code by removing verboseDispatch
9302           in favour of a bool argument to dispatch()
9303
9304 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9305
9306         * lyx_main.C (init): make sure to read symlinks as absolute paths
9307
9308 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9309
9310         * lyxfunc.h:
9311         * lyxfunc.C: no need for commandshortcut to be a member
9312
9313 2002-07-15  André Pönitz <poenitz@gmx.net>
9314
9315         * converter.C: add support for $$s (scripts from lib/scripts dir)
9316         * lyx_main.C: white space
9317
9318 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9319
9320         * bufferlist.C:
9321         * lyxrc.h:
9322         * lyxrc.C: remove second exit confirmation
9323
9324 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9325
9326         * BufferView.h:
9327         * BufferView.C:
9328         * BufferView2.C:
9329         * BufferView_pimpl.h:
9330         * BufferView_pimpl.C:
9331         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9332
9333 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9334
9335         * MenuBackend.C (expand): add numeric shortcuts to document menu
9336
9337         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9338
9339 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9340
9341         * lyxfont.C (setLyXFamily):
9342         (setLyXSeries):
9343         (setLyXShape):
9344         (setLyXSize):
9345         (setLyXMisc):
9346         (lyxRead):
9347         * debug.C (value):
9348         * buffer.C (asciiParagraph): use ascii_lowercase
9349
9350 2002-07-15  Mike Fabian  <mfabian@suse.de>
9351
9352         * lyxlex_pimpl.C (search_kw):
9353         * lyxlex.C (getLongString):
9354         * converter.h (operator<):
9355         * converter.C (operator<):
9356         * buffer.C (parseSingleLyXformat2Token):
9357         (asciiParagraph):
9358         * ToolbarDefaults.C (read):
9359         * MenuBackend.C (checkShortcuts):
9360         (read):
9361         * LColor.C (getFromGUIName):
9362         (getFromLyXName): use the compare_ascii_no_case instead of
9363         compare_no_case, because in turkish, 'i' is not the lowercase
9364         version of 'I', and thus turkish locale breaks parsing of tags.
9365
9366 2002-07-16  Angus Leeming  <leeming@lyx.org>
9367
9368         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9369         now takes a Buffer const & argument.
9370
9371 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9372
9373         * BufferView.C (resize): check there's a buffer to resize
9374
9375 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9376
9377         * lyxfunc.C: remove dead code
9378
9379         * lyxserver.h:
9380         * lyxserver.C: use lyx_guii::set_read_callback
9381
9382 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9383
9384         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9385         an inset in a RTL paragraph.
9386
9387 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9388
9389         * lyxfunc.C: repaint after a font size update
9390
9391 2002-07-15  André Pönitz <poenitz@gmx.net>
9392
9393         * lyxlength.C: inBP should be able to return negative values
9394
9395 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9396
9397         * lyxfunc.C: use lyx_gui::update_fonts()
9398
9399 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9400
9401         * lyxfunc.C: use lyx_gui::update_color()
9402
9403 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9404
9405         * bufferlist.C:
9406         * lyxfunc.h:
9407         * lyxfunc.C:
9408         * lyxrc.h:
9409         * lyxrc.C: remove file->new asks for name option, and let
9410           buffer-new take an argument
9411
9412 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9413
9414         * BufferView_pimpl.C: remove unneeded extra repaint()
9415
9416 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9417
9418         * LyXAction.C: allow command-sequence with NoBuffer
9419
9420         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9421
9422 2002-07-10  Angus Leeming  <leeming@lyx.org>
9423
9424         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9425
9426 2002-07-09  Angus Leeming  <leeming@lyx.org>
9427
9428         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9429
9430 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9431
9432         * lengthcommon.h: whitespace
9433
9434         * lyxfunc.C: update scrollbar after goto paragraph
9435
9436         * lyxtext.h: factor out page break drawing, and fix it so
9437           page break/added space paints as selected nicely
9438
9439 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9440
9441         * BufferView_pimpl.C: add FIXMEs, clean up a little
9442
9443 2002-07-09  André Pönitz <poenitz@gmx.net>
9444
9445         * lyxfont.[Ch]: support for wasy symbols
9446
9447 2002-07-08  André Pönitz <poenitz@gmx.net>
9448
9449         * BufferView_pimpl.C: apply John's patch for #93.
9450
9451 2002-07-05  Angus Leeming  <leeming@lyx.org>
9452
9453         * BufferView_pimpl.C (buffer): generate previews if desired.
9454
9455         * LColor.h: add "preview" to the color enum.
9456
9457         * LColor.C (LColor): add a corresponding entry to the items array.
9458
9459         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9460         with this buffer.
9461
9462 2002-07-05  Angus Leeming  <leeming@lyx.org>
9463
9464         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9465         The body of the code is now in the method that is passed an ostream &
9466         rather than a file name.
9467         Pass an additional only_preamble parameter, useful for the forthcoming
9468         preview stuff.
9469
9470 2002-07-03  André Pönitz <poenitz@gmx.net>
9471
9472         * lyxfunc.C: simplify getStatus() a bit for math stuff
9473
9474 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9475
9476         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9477
9478 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9479
9480         * text.C (changeRegionCase): do not change case of all the
9481         document when region ends at paragraph end (bug #461)
9482
9483 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9484
9485         * paragraph.C (startTeXParParams):
9486         (endTeXParParams): add \protect when necessary
9487
9488 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9489
9490         * BufferView_pimpl.C (workAreaExpose): remove warning
9491
9492 2002-06-27  Angus Leeming  <leeming@lyx.org>
9493
9494         * Makefile.am: add lyxlayout_ptr_fwd.h.
9495
9496 2002-06-26  André Pönitz <poenitz@gmx.net>
9497
9498         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9499
9500 2002-06-25  Angus Leeming  <leeming@lyx.org>
9501
9502         * lyxfunc.C (dispatch): Comment out the call to
9503         grfx::GCache::changeDisplay. The method no longer exists now that the
9504         pixmap generation part of the graphics loader has been moved into
9505         InsetGraphics.
9506
9507 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9508
9509         * text2.C: layout as layout
9510
9511         * text.C: layout as layout
9512
9513         * tabular.C (OldFormatRead): layout as layout
9514
9515         * paragraph_pimpl.C (TeXDeeper): layout as layout
9516         (realizeFont): layout as layout
9517
9518         * paragraph.C (writeFile): layout as layout
9519         (validate): layout as layout
9520         (getFont): layout as layout
9521         (getLabelFont): layout as layout
9522         (getLayoutFont): layout as layout
9523         (breakParagraph): layout as layout
9524         (stripLeadingSpaces): layout as layout
9525         (getEndLabel): layout as layout
9526         (getMaxDepthAfter): layout as layout
9527         (applyLayout): layout as layout
9528         (TeXOnePar): layout as layout
9529         (simpleTeXOnePar): layout as layout
9530         (TeXEnvironment): layout as layout
9531         (layout): layout as layout
9532         (layout): layout as layout
9533
9534         * lyxtextclass.C (compare_name): new functor to work with
9535         shared_ptr, layout as layout
9536         (Read): layout as layout
9537         (hasLayout): layout as layout
9538         (operator): layout as layout
9539         (delete_layout): layout as layout
9540         (defaultLayout): layout as layout
9541
9542         * lyxlayout_ptr_fwd.h: new file
9543
9544         * lyxlayout.C (Read): layout as layout
9545
9546         * lyx_cb.C (MenuInsertLabel): layout as layout
9547
9548         * bufferlist.C (newFile): layout as layout
9549
9550         * buffer.C (readLyXformat2): layout as layout
9551         (parseSingleLyXformat2Token): layout as layout
9552         (insertStringAsLines): layout as layout
9553         (asciiParagraph): layout as layout
9554         (latexParagraphs): layout as layout
9555         (makeLinuxDocFile): layout as layout
9556         (simpleLinuxDocOnePar): layout as layout
9557         (makeDocBookFile): layout as layout
9558         (simpleDocBookOnePar): layout as layout
9559         (getLists): layout as layout
9560
9561         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9562
9563         * CutAndPaste.C (cutSelection): layout as layout
9564         (pasteSelection): layout as layout
9565         (SwitchLayoutsBetweenClasses): layout as layout
9566
9567         * BufferView_pimpl.C (Dispatch): layout as layout
9568         (smartQuote): layout as layout
9569
9570         * BufferView2.C (unlockInset): layout as layout
9571
9572 2002-06-24  André Pönitz <poenitz@gmx.net>
9573
9574         * lyxfunc.C: fix #487
9575
9576 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9577
9578         * lyxrc.h:
9579         * lyxrc.C:
9580         * lyxfunc.C: remove display_shortcuts, show_banner
9581
9582 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9583
9584         * Buffer_pimpl.C: oops, update on resize
9585
9586 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9587
9588         * buffer.C:
9589         * converter.C:
9590         * exporter.C:
9591         * lyxfunc.C:
9592         * BufferView.h:
9593         * BufferView.C: use repaint()
9594
9595         * BufferView_pimpl.h:
9596         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9597           as it's a clearer description. Remove superfluous
9598           redraws.
9599
9600 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9601
9602         * text.C: fix bug 488. Not ideal, but getting
9603           getWord() to work properly for the insets that
9604           matter is more difficult ...
9605
9606 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9607
9608         * BufferView_pimpl.C:
9609         * LyXAction.C:
9610         * commandtags.h:
9611         * lyxfunc.C: remove the six million index lyxfuncs to just
9612           one, and DTRT (bug 458)
9613
9614 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9615
9616         * BufferView.h:
9617         * BufferView.C:
9618         * BufferView_pimpl.h:
9619         * BufferView_pimpl.C: clean up resize() stuff,
9620           and unnecessary updateScreen()s
9621
9622 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9623
9624         * BufferView.h:
9625         * BufferView.C:
9626         * BufferView_pimpl.h:
9627         * BufferView_pimpl.C:
9628         * lyxfind.h:
9629         * lyxfind.C:
9630         * minibuffer.C: remove focus management of workarea,
9631           not needed. Use screen's greyOut()
9632
9633 2002-06-17  Herbert Voss  <voss@lyx.org>
9634
9635         * converter.C: (convert) do not post a message, when converting
9636         fails, let the calling function decide what to do in this case
9637
9638 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9639
9640         * lyxfunc.C: tidy up a little
9641
9642 2002-06-16    <alstrup@diku.dk>
9643
9644         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9645         Got rid of FORMS_H_LOCATION include. Now we are
9646         GUII.
9647
9648 2002-06-15  LyX Development team  <lyx@rilke>
9649
9650         * buffer.[Ch] (sgmlOpenTag):
9651         (sgmlCloseTag): Added support for avoiding pernicious mixed
9652         content. Return number of lines written.
9653
9654         (makeLinuxDocFile):
9655         (makeDocBookFile): Fixed calls to sgml*Tag.
9656         Simple white space clean.
9657
9658         (simpleDocBookOnePar): Simple white space clean.
9659
9660         * tabular.[Ch] (docBook): Renamed to docbook and got another
9661         argument to related with the pernicious mixed content.
9662
9663         (docbookRow): Fixed calls for docbook inset method.
9664
9665 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9666
9667         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9668         so it's X11 independent.
9669
9670         * kb*.[Ch]: ditto.
9671
9672         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9673
9674 2002-06-15  Lyx Development team  <lyx@electronia>
9675
9676         * intl.h: Renamed getTrans to getTransManager.
9677
9678 2002-06-14  Angus Leeming  <leeming@lyx.org>
9679
9680         * Makefile.am: nuke forgotten stl_string_fwd.h.
9681
9682 2002-06-12  Angus Leeming  <leeming@lyx.org>
9683
9684         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9685
9686 2002-06-13  Angus Leeming  <leeming@lyx.org>
9687
9688         * LaTeX.C:
9689         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9690
9691 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9692
9693         * kbmap.C (getiso): add support for cyrillic and greek
9694
9695 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9696
9697         * BufferView.h:
9698         * BufferView.C:
9699         * BufferView_pimpl.h:
9700         * BufferView_pimpl.C: move bogus scrolling logic
9701           to xforms
9702
9703 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9704
9705         * lyxfunc.C:
9706         * BufferView_pimpl.C: view->resize() change
9707
9708 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9709
9710         * BufferView_pimpl.C: topCursorVisible
9711           prototype change
9712
9713 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9714
9715         * Makefile.am:
9716         * lyx_gui.h:
9717         * lyx_gui.C: move to frontends/
9718
9719         * main.C:
9720         * lyx_main.h:
9721         * lyx_main.C: changes from above
9722
9723 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9724
9725         * intl.C:
9726         * intl.h:
9727         * kbmap.C:
9728         * kbsequence.C:
9729         * lyx_cb.C:
9730         * lyx_main.C: minor tidy
9731
9732 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9733
9734         * BufferView_pimpl.h:
9735         * BufferView_pimpl.C:
9736         * BufferView.h:
9737         * BufferView.C: make painter() const,
9738           remove dead code
9739
9740         * BufferView2.C: use screen() accessor
9741
9742         * lyx_main.h:
9743         * lyx_main.C: some minor cleanup
9744
9745 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9746
9747         * BufferView_pimpl.h:
9748         * BufferView_pimpl.C: remove enter/leaveView,
9749           use workHeight()
9750
9751 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9752
9753         * BufferView.h:
9754         * BufferView.C:
9755         * BufferView2.C:
9756         * BufferView_pimpl.h:
9757         * BufferView_pimpl.C: only construct screen once,
9758           rename
9759
9760         * lyxrc.C: remove pointless comment
9761
9762 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9763
9764         * BufferView.h:
9765         * BufferView.C: remove active() and belowMouse()
9766
9767         * BufferView_pimpl.h:
9768         * BufferView_pimpl.C: use workarea() not workarea_,
9769           and make it use a scoped_ptr instead
9770
9771 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9772
9773         * lyx_gui.C: add debug message on BadWindow
9774
9775 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9776
9777         * sp_spell.C: fdopen is not part of the C++ standard.
9778
9779         * paragraph.C (InsetIterator): use >= instead of ==
9780
9781 2002-06-07  Angus Leeming  <leeming@lyx.org>
9782
9783         Fixes needed to compile with Compaq cxx 6.5.
9784         * BufferView_pimpl.C:
9785         * DepTable.C:
9786         * buffer.C:
9787         * converter.C:
9788         * encoding.C:
9789         * lyx_gui.C:
9790         * lyx_main.C:
9791         * lyxtextclasslist.C:
9792         * minibuffer.C:
9793         * sp_spell.C:
9794         * tabular_funcs.C:
9795         * vc-backend.C:
9796         all c-library variables have been moved into namespace std. Wrap
9797         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9798
9799         * lyxlength.C:
9800         * tabular-old.C:
9801         * tabular.C:
9802         Add a using std::abs declaration.
9803
9804         * kbmap.h (modifier_pair):
9805         * paragraph.h (InsetTable, InsetList):
9806         * lyxfont.h (FontBits):
9807         type definition made public.
9808
9809         * bufferlist.C (emergencyWriteAll): the compiler complains that
9810         there is more than one possible lyx::class_fun template to choose from.
9811         I re-named the void specialisation as lyx::void_class_fun.
9812
9813         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9814
9815         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9816         the compiler is is unable to find tostr in write_attribute.
9817
9818 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9819
9820         * buffer.C (sgmlError): hide #warning
9821
9822 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9823
9824         * xtl/*: get rid of xtl, which is not in use anyway
9825
9826         * LyXAction.C (init):
9827         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9828         were unimplemented xtl experimentation
9829
9830 2002-06-04  André Pönitz <poenitz@gmx.net>
9831
9832         * lyxfunc.C: disable array operation on simple formulae
9833
9834 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9835
9836         * converter.C: constify a bit
9837
9838 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9839
9840         * lyx_gui.C: check xforms version correctly
9841
9842 2002-04-30  Herbert Voss  <voss@lyx.org>
9843
9844         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9845         "keep" option
9846
9847 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9848
9849         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9850           attempt to register it with a VCS)
9851
9852 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9853
9854         * lyx_main.C (init): honor variables LYX_DIR_13x and
9855         LYX_USERDIR_13x
9856
9857 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9858
9859         * buffer.h:
9860         * buffer.C:
9861         * lyx_main.C: fix a crash on bad command line,
9862           and give a useful exit status on error
9863
9864         * lyxfunc.C (doImport): allow -i lyx to work
9865
9866 2002-03-30  André Pönitz <poenitz@gmx.net>
9867
9868         * lyxfunc.C: mathed font changes
9869
9870 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9871
9872         * LaTeX.C:
9873         * importer.h:
9874         * importer.C:
9875         * lyx_sty.h:
9876         * lyx_sty.C:
9877         * lyxlex.C:
9878         * lyxrow.h:
9879         * lyxtext.h:
9880         * paragraph.h:
9881         * paragraph.C:
9882         * texrow.h:
9883         * texrow.C:
9884         * text.C:
9885         * trans_mgr.h: srcdocs, and some minor cleanups
9886
9887 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9888
9889         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9890         call getFont all the time)
9891
9892 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9893
9894         * switch from SigC signals to boost::signals
9895
9896 2002-05-29  André Pönitz <poenitz@gmx.net>
9897
9898         * paragraph_pimpl.C (getChar): don't call size() too often...
9899
9900 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9901
9902         * paragraph_pimpl.C (insertChar): do not try to update tables when
9903         appending (pos == size())
9904
9905         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9906         in order to reduce drastically the number of comparisons needed to
9907         parse a large document
9908
9909 2002-05-29  André Pönitz <poenitz@gmx.net>
9910
9911         * text.C:
9912         * text2.C:
9913         * lyxtextclass.C:
9914         * sp_pspell.h:
9915         * textclasslist.[Ch]:
9916         * sp_ispell.h: whitespace change
9917
9918 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9919
9920         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9921         lyxaction directly now.
9922
9923 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9924
9925         * trans.C:
9926         * lyxfont.C:
9927         * lyxvc.C: remove unused headers
9928
9929 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9930
9931         * Makefile.am:
9932         * buffer.h:
9933         * undostack.h:
9934         * undostack.C:
9935         * undo_funcs.h:
9936         * undo_funcs.C: some cleanups. Use shared_ptr
9937           and a template for the undo stacks.
9938
9939 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9940
9941         * BufferView_pimpl.h:
9942         * BufferView_pimpl.C:
9943         * kbmap.h:
9944         * kbmap.C:
9945         * kbsequence.h:
9946         * kbsequence.C:
9947         * lyxfunc.h:
9948         * lyxfunc.C:
9949         * text2.C: use key_state/mouse_state
9950
9951 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9952
9953         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9954         and LSubstring
9955
9956         * chset.C: change include order
9957         (loadFile): use boost regex and get rid of LRegex and LSubstring
9958
9959         * Makefile.am (BOOST_LIBS): new variable
9960         (lyx_LDADD): use it
9961
9962         * LaTeX.C: change include order.
9963         (scanAuxFile): use boost regex and get rid of LRegex and
9964         LSubstring
9965         (deplog): ditto
9966
9967 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9968
9969         * ColorHandler.h:
9970         * ColorHandler.C:
9971         * FontInfo.h:
9972         * FontInfo.C: moved to frontends/xforms/
9973
9974         * FontLoader.h:
9975         * FontLoader.C: moved into frontends for GUIIzation
9976
9977         * Makefile.am:
9978         * lyx_gui.C:
9979         * lyxfont.C:
9980         * lyxfunc.C: changes from above
9981
9982 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9983
9984         * LColor.C: remove spurious X include
9985
9986         * BufferView_pimpl.C:
9987         * Makefile.am:
9988         * font.h:
9989         * font.C:
9990         * text.C:
9991         * text2.C: move font metrics to frontends/
9992
9993 2002-05-24  Juergen Vigna  <jug@sad.it>
9994
9995         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9996         setting the undo_cursor.
9997
9998         * ParagraphParameters.h: include local includes first.
9999
10000 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10001
10002         * BufferView_pimpl.C:
10003         * BufferView_pimpl.h:
10004         * Makefile.am:
10005         * WorkArea.h:
10006         * WorkArea.C:
10007         * screen.C: move WorkArea into frontends/
10008
10009         * lyxscreen.h:
10010         * screen.C:
10011         * text.C:
10012         * BufferView.C:
10013         * BufferView2.C: move LyXScreen into frontends/
10014
10015         * lyxlookup.h:
10016         * lyxlookup.C:
10017         * lyx_gui.C: move lyxlookup into frontends/xforms/
10018
10019 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10020
10021         * BufferView2.C:
10022         * BufferView_pimpl.C:
10023         * FontLoader.C:
10024         * LyXView.h:
10025         * LyXView.C:
10026         * Makefile.am:
10027         * WorkArea.C:
10028         * XFormsView.h:
10029         * XFormsView.C:
10030         * buffer.C:
10031         * bufferlist.C:
10032         * bufferview_funcs.C:
10033         * converter.C:
10034         * importer.C:
10035         * lyx_cb.C:
10036         * lyx_gui.C:
10037         * lyx_main.C:
10038         * lyx_find.C:
10039         * lyxfunc.C:
10040         * lyxvc.C:
10041         * minibuffer.C:
10042         * text.C:
10043         * text2.C:
10044         * trans.C:
10045         * vc-backend.C: move LyX/XFormsView into frontends/
10046
10047 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10048
10049         * Makefile.am:
10050         * PainterBase.C:
10051         * PainterBase.h:
10052         * Painter.C:
10053         * Painter.h:
10054         * WorkArea.C:
10055         * WorkArea.h:
10056         * screen.C:
10057         * tabular.C:
10058         * text.C:
10059         * text2.C: move Painter to frontends/
10060
10061 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10062
10063         * buffer.C: comment out some some code that depend upon lyx_format
10064         < 220
10065
10066         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10067         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10068
10069         * buffer.h (NO_COMPABILITY): turn off compability
10070
10071         * ColorHandler.C: include scoped_array.hpp
10072
10073         * font.C: Use more specific smart_ptr header.
10074         * Painter.C: ditto
10075         * gettext.C: ditto
10076         * ShareContainer.h: ditto
10077         * lyx_main.h: ditto
10078         * kbmap.h: ditto
10079         * FontInfo.h: ditto
10080         * BufferView_pimpl.h: ditto
10081         * ColorHandler.h: ditto
10082
10083         * kbmap.C (defkey): change call to shared_ptr::reset
10084
10085 2002-05-21  Juergen Vigna  <jug@sad.it>
10086
10087         * buffer.C (insertErtContents): fix to insert ert asis if it is
10088         non empty. Skip it completely if it contains only whitespaces.
10089
10090 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10091
10092         * BufferView_pimpl.C:
10093         * BufferView2.C: clear selection on paste (bug 393)
10094
10095 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10096
10097         * DepTable.C: include ctime
10098
10099 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10100
10101         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10102
10103 2002-05-14  Juergen Vigna  <jug@sad.it>
10104
10105         * text.C (breakParagraph): fixed function to honor the keepempty
10106         layout in the right maner and also to permit the right breaking
10107         algorithm on empty or non empyt keepempty paragraphs.
10108
10109         * paragraph.C (breakParagraph): we have to check also if the par
10110         is really empty (!size()) for isempty otherwise we do the wrong
10111         paragraph break.
10112
10113 2002-05-10  Juergen Vigna  <jug@sad.it>
10114
10115         * buffer.[Ch] : The following are only changes to the ert
10116         compatibility read reading old LaTeX layout and font stuff and
10117         convert it to ERTInsets.
10118
10119         * buffer.h: added isErtInset().
10120
10121         * buffer.C (struct ErtComp): add a fromlayout bool to check
10122         if we're inside a LaTeX layout.
10123         (isErtInset): new helper function.
10124         (insertErtContents): look for other ert insets before this one
10125         and insert the contents there, so that we don't have subsequent
10126         ERT insets with nothing between them. This way we create only one
10127         inset with multiple paragraphs. Also check if we don't insert only
10128         spaces ' ' as they are ignored anyway afterwards in the .tex file
10129         so if we have only spaces we will ignore this latex part in the
10130         new file.
10131         (parseSingleLyXformat2Token \\layout): better compatibility when
10132         reading layout-latex stuff.
10133         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10134         language tag.
10135         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10136         stuff after reading the inset only get the information back from
10137         the stack.
10138
10139 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10140
10141         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10142
10143         * LaTeXFeatures.C (getBabelOptions): New method.
10144
10145 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10146
10147         * BufferView_pimpl.C (Dispatch): work around missing argument for
10148         'layout'
10149
10150 2002-05-08  Juergen Vigna  <jug@sad.it>
10151
10152         * text.C (leftMargin): handle paragraph leftindent.
10153
10154         * paragraph.C (writeFile): write the new \\leftindent tag.
10155         (validate): handle leftindent code.
10156         (TeXEnvironment): handle paragraphleftindent code again.
10157
10158         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10159
10160         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10161         for paragrap_extra indent code and new token \\leftindent.
10162         (latexParagraphs): handle the leftindent as environment.
10163
10164         * ParameterStruct.h: added leftindent support.
10165
10166         * ParagraphParameters.C (leftIndent): added support functions for
10167         the paragraph left indent.
10168
10169         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10170         more appropriate.
10171
10172 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10173
10174         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10175         inside insetERT.
10176
10177         * text.C (computeBidiTables): No bidi in insetERT.
10178
10179         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10180         in RTL documents.
10181
10182 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10183
10184         * version.C.in: pre 5
10185
10186 2002-05-02  José Matos  <jamatos@fep.up.pt>
10187         * buffer.C (makeDocBookFile): white space changes, add newline to
10188         command styles.
10189         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10190
10191         * tabular.C (docBook): fix typo.
10192
10193 2002-05-03  Juergen Vigna  <jug@sad.it>
10194
10195         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10196         change in LyXText as we can not be sure it was not freed.
10197         (drawOneRow): remove unused code.
10198
10199         * text.C (drawInset): redo the calculation of the need_break_row as
10200         it could have a row which was already freed.
10201         (draw): look at the return value of drawInset and return false if
10202         it also returned false.
10203         (paintRowText): look at the return value of draw and return false if
10204         it also returned false.
10205
10206         * lyxtext.h: added bool return type to drawInset() and draw() so that
10207         if we have a change in the row so that the rowbreak has to be redone
10208         we abort drawing as it will be called again.
10209
10210 2002-05-02  Juergen Vigna  <jug@sad.it>
10211
10212         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10213         a change in the maintext also if we're inside an inset.
10214         (Dispatch): set the cursor again after a break line and after the
10215         screen has been updated as it could be we're in a different row.
10216
10217         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10218         to set the cursor behind the pargraph with > size().
10219         (setCursor): check also for the same paragraph when checking where
10220         to put the cursor if we have a NFR inset.
10221
10222         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10223         parts of layout read further up as it still was in the wrong
10224         position.
10225
10226 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10227
10228         * screen.C (drawFromTo): change sine fullRebreak always return
10229         true.
10230
10231         * buffer.C (parseSingleLyXformat2Token): reindent some
10232
10233         * BufferView_pimpl.C (update): change since fullRebreak always
10234         return true.
10235         (Dispatch): git rid of the last hardcoded "Standard"s.
10236
10237 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10238
10239         * text2.[Ch] (fullRebreak): make it return void now that we always
10240         returned true.
10241
10242 2002-04-30  Juergen Vigna  <jug@sad.it>
10243
10244         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10245         ert compatibility check for "latex" layout.
10246
10247 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10248
10249         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10250         minipages: use col% instead of p%, and also use the current font.
10251         (makeLaTeXFile): Fix use babel condition.
10252         (parseSingleLyXformat2Token): Correct font when reading old floats.
10253
10254 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10255
10256         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10257         inserting list of floats.
10258
10259 2002-04-25  Herbert Voss  <voss@lyx.org>
10260
10261         * MenuBackend.C (expand): don't add the graphics extensions to the
10262         export menu
10263
10264 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10265
10266         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10267         non-existing layout, do not complain if it was the default layout
10268         of the original class (bug #342)
10269
10270 2002-04-24  Juergen Vigna  <jug@sad.it>
10271
10272         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10273         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10274
10275 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10276
10277         * buffer.C (getBibkeyList): If using \bibliography, return the
10278         option field with the reference itself. Enables us to provide natbib
10279         support when using \bibliography.
10280
10281 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10282
10283         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10284
10285         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10286         natbib is provided by the LaTeX class.
10287
10288 2002-04-23  Juergen Vigna  <jug@sad.it>
10289
10290         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10291         Wakeup functions.
10292
10293         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10294
10295 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10296
10297         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10298
10299         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10300         ensuremath around textordmasculine, textordfeminine and
10301         textdegree.
10302
10303 2002-04-19  Juergen Vigna  <jug@sad.it>
10304
10305         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10306         reinitializing the buffer otherwise row-dimensions may be wrong.
10307         (update): reset also the selection cursors if they do exits otherwise
10308         their x/y positions may be wrong.
10309
10310         * text2.C (cursorDown): don't enter the inset if we came from a row
10311         above and are one row over the inset.
10312
10313         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10314         really leaving an inset.
10315
10316 2002-04-18  Juergen Vigna  <jug@sad.it>
10317
10318         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10319         of the selected paragraph does not have the selected layout also if
10320         the last one had!
10321
10322         * text2.C (setLayout): fixed bug which did not change last selected
10323         paragraph.
10324
10325         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10326         changed the read and substituted \\end_float with \\end_inset!
10327
10328         * BufferView_pimpl.C (cursorPrevious):
10329         (cursorNext): fixed to make it work with rows heigher than the work
10330         area without moving the cursor only the draw of the row.
10331         (workAreaMotionNotify): fix jumping over high rows.
10332
10333 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10334
10335         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10336         Ressler.
10337
10338 2002-04-16  Juergen Vigna  <jug@sad.it>
10339
10340         * text2.C (setCursor): set also the irow().
10341         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10342         (cursorUp):
10343         (cursorDown): support for locking an inset if the x_fix value goes
10344         inside it. That way I can transverse insets too with cursor up/down.
10345
10346         * lyxrow.h: added irow helper function same as other (i) functions.
10347
10348         * BufferView_pimpl.C (cursorPrevious):
10349         (cursorNext): fixed for insets!
10350
10351 2002-04-15  Juergen Vigna  <jug@sad.it>
10352
10353         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10354         position otherwise it is wrong in some cases.
10355
10356         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10357         inside the inset before the call.
10358
10359 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10360
10361         * buffer.[Ch] (getBibkeyList): make it const.
10362
10363 2002-04-12  Juergen Vigna  <jug@sad.it>
10364
10365         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10366
10367         * text2.C (getCursorX): new helper function
10368         (setCursor): compute also ix_
10369         (setCursorFromCoordinates): set also ix.
10370
10371         * lyxcursor.h: added ix_ and helper functions.
10372
10373         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10374
10375         * buffer.C (insertStringAsLines): dont break paragraph if the this
10376         paragraph is inside an inset which does not permit it!
10377
10378         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10379         also with no chars on this paragraph.
10380         (paintRowText): only paint stuff if it's inside the workarea!
10381
10382         * paragraph.C (breakParagraph): honor keepempty flag and break the
10383         paragraph always below not above.
10384
10385         * BufferView2.C (unlockInset): update the paragraph layout on inset
10386         unlock as we changed paragraph in such a case.
10387
10388         * lyxfind.C (LyXFind): clear the former selection if not found!
10389
10390         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10391         again called in insertChar().
10392
10393         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10394         an inset which uses the whole row!
10395         (rightMargin): ditto.
10396         (insertChar): force a rebreak if we inserted an inset!
10397
10398 2002-03-28  Herbert Voss  <voss@lyx.org>
10399
10400         * lyxlength.[Ch]: add inBP() to get the right PS-point
10401         units (BigPoint). With inPixels we have rounding errors
10402
10403 2002-04-11  Juergen Vigna  <jug@sad.it>
10404
10405         * text2.C (setCursorFromCoordinates): set iy to the right value.
10406         (setCursor): add check if row->previous exists!
10407
10408         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10409         an old float_type as this was the case in the old code!
10410
10411         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10412
10413         * BufferView2.C (showLockedInsetCursor): use iy
10414         (fitLockedInsetCursor): ditto
10415
10416         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10417         locked insets as there we have the right value now.
10418
10419         * lyxcursor.C: added iy_ variable and iy functions to set to the
10420         baseline of cursor-y of the locked inset.
10421
10422         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10423         (setCursor): fixed for insets which need a full row.
10424
10425         * text.C (rowLastPrintable): don't ignore the last space when before
10426         an inset which needs a full row.
10427         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10428         as last character of a row when before a inset which needs a full row.
10429
10430 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10431
10432         * version.C.in: update date
10433
10434         * text2.C (fullRebreak): try to always return true and see what
10435         happens...
10436
10437 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10438
10439         * MenuBackend.C (expand): use Floating::listName
10440
10441         * FloatList.C (FloatList): add listName argument to the built-in
10442         floats
10443
10444         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10445         text associated with the float.
10446
10447 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10448
10449         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10450
10451 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10452
10453         * ShareContainer.h: add a couple of missing typenames.
10454
10455 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10456
10457         * lyxrc.C (getDescription): use _() correctly rather than N_().
10458
10459 2002-03-28  Herbert Voss  <voss@lyx.org>
10460
10461         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10462         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10463
10464 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10465
10466         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10467         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10468
10469 2002-03-29  Juergen Vigna  <jug@sad.it>
10470
10471         * lyxfunc.C (dispatch): add a missing fitCursor call.
10472
10473         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10474         it was scrolled by a cursor move, so return the bool status.
10475
10476         * BufferView.C (fitCursor): return the bool flag also to the outside
10477         world as this is needed.
10478
10479         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10480
10481         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10482         call the edit() as it is not needed (and wrong) IMO.
10483         (workAreaButtonPress): set the screen_first variable before evt.
10484         unlock the inset as this may change screen_first and then we have
10485         a wrong y position for the click!
10486
10487 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10488
10489         * MenuBackend.C (expand): another translation that I missed
10490
10491 2002-03-28  Juergen Vigna  <jug@sad.it>
10492
10493         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10494
10495         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10496
10497 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10498
10499         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10500
10501         * MenuBackend.C (expand): fix export/view/update when there is no
10502         document open.
10503
10504 2002-03-27  Herbert Voss  <voss@lyx.org>
10505
10506         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10507         and text%
10508
10509 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10510
10511         * bufferview_funcs.C (currentState): only show paragraph number
10512         for is DEVEL_VERSION is set.
10513
10514         * lyxfunc.C (dispatch): put warning in INFO channel
10515
10516         * MenuBackend.C (expand): translate the name of floats
10517
10518         * FloatList.C (FloatList): mark the float names for translation
10519
10520         * converter.C (convert): use LibScriptSearch
10521
10522 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10523
10524         * MenuBackend.C (defaults): fix default menu (we might as well get
10525         rid of it...)
10526
10527 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10528
10529         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10530         directory.
10531
10532 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10533
10534         * lyxvc.C: reorder includes.
10535
10536 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10537
10538         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10539           properly
10540
10541 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10542
10543         * CutAndPaste.C: change layouts earlier on paste
10544           to avoid crashing when calling getFont()
10545
10546 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10547
10548         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10549         irritating #error.
10550
10551 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10552
10553         * WorkArea.C: remove 'Pending' debug message.
10554
10555         * most files: ws cleanup
10556
10557         * buffer.[Ch]: ws changes
10558
10559         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10560
10561 2002-03-21  Juergen Vigna  <jug@sad.it>
10562
10563         * tabular.C (SetMultiColumn): collapse also the contents of the
10564         cells and set the last border right. Added a Buffer const * param.
10565
10566 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10567
10568         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10569         linking or not.
10570
10571 2002-03-19  Juergen Vigna  <jug@sad.it>
10572
10573         * text2.C (clearSelection): reset also xsel_cache.
10574
10575         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10576         where it needs to be called (John tells us to do so too :)
10577         (selectionLost): reset sel_cache.
10578
10579         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10580
10581 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10582
10583         * text2.C (setCursorIntern): put debuging code in INSETS channel
10584
10585 2002-03-19  André Pönitz <poenitz@gmx.net>
10586
10587         * lyxfunc.C: tiny whitespace change
10588
10589 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10590
10591         * ToolbarDefaults.C (init):
10592         * LyXAction.C (init):
10593         * commandtags.h:
10594         * BufferView_pimpl.C (Dispatch):
10595         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10596
10597 2002-03-19  Allan Rae  <rae@lyx.org>
10598
10599         * exporter.C (Export): removeAutoInsets before doing anything else.
10600         While I've just introduced a dependency on BufferView this really is
10601         the best place to clean the buffer otherwise you need to cleanup in
10602         a dozen places before calling export or cleanup in a dozen functions
10603         that export calls.
10604
10605         * converter.C (runLaTeX):
10606         (scanLog): Better handling of removeAutoInsets and screen updates.
10607
10608         * lyxfunc.C (dispatch): small whitespace changes
10609
10610 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10611
10612         * WorkArea.C (C_WorkAreaEvent): return a value.
10613         (event_cb): return 1 if we handled the event, 0 otherwise.
10614
10615         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10616
10617 2002-03-18  Juergen Vigna  <jug@sad.it>
10618
10619         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10620         (GetAdditionalWidth): ditto.
10621         (RightLine): ditto.
10622         (LeftLine): ditto.
10623
10624         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10625         inset if we're there actually (probably not used right now but this
10626         is the direction to go for unifying code).
10627         (paste): disable code to clear the selection.
10628
10629         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10630         inside an InsetText and move the check further up as it is in the
10631         wrong place.
10632
10633         * text2.C (pasteSelection): set a selection over the pasted text.
10634
10635 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10636
10637         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10638         and libgraphics to build on Cygwin.
10639
10640 2002-03-15  Juergen Vigna  <jug@sad.it>
10641
10642         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10643         inserting an Inset into the paragraph. I know this is not the best
10644         fix but we already use current_view in CutAndPaste so we will remove
10645         all of it's using at the same time.
10646
10647         * buffer.C (sgmlError): deactivated function till it is rewritten in
10648         the right mode, now it can create problems.
10649
10650         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10651         before accessing it.
10652
10653 2002-03-14  Juergen Vigna  <jug@sad.it>
10654
10655         * undo_funcs.C (textHandleUndo): do the right thing when updating
10656         the inset after the undo/redo.
10657
10658         * text2.C (setCursor): just some testcode for #44 not ready yet.
10659
10660         * undo_funcs.C (textHandleUndo): set the next() and previous()
10661         pointers of the paragraph to 0 before deleting otherwise we have
10662         problems with the Paragraph::[destructor].
10663
10664         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10665         on a paragraph insertion.
10666
10667 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10668
10669         * buffer.C (asciiParagraph): use += operator for char append to
10670         string.
10671
10672         * paragraph.C (getFontSettings): compare >= not just >
10673         (highestFontInRange): ditto
10674         (setFont): ditto
10675
10676 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10677
10678         * paragraph.C: change several algorithm to be more appripriate for
10679         the problem domain. This is lookip in FontList and in the InsetList.
10680
10681 2002-03-13  André Pönitz <poenitz@gmx.net>
10682
10683         * commandtags.h:
10684         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10685
10686 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10687
10688         * commandtags.h:
10689         * LyXAction.C:
10690         * lyxfunc.C:
10691         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10692
10693 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10694
10695         * Painter.C (display): anon helper function, adjust code for this
10696         change.
10697         (pixmap): remove function.
10698
10699         * Painter.h: remove private display variable.
10700
10701         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10702
10703 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10704
10705         * WorkArea.[Ch]: remove figinset_canvas cruft.
10706
10707 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10708
10709         * lyxtextclass.C (operator): add one item cache optimization.
10710
10711         * bufferlist.h: doxy changes
10712
10713         * bufferlist.C: ws changes
10714
10715         * DepTable.[Ch] (ext_exist): place const in the right spot.
10716
10717         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10718         call resizeInsets.
10719         (workAreaExpose): call resizeInsets when the with BufferView changes.
10720         (Dispatch): adjust for protectedBlank removal
10721         (specialChar): call updateInset if the insert went ok.
10722
10723         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10724         specialChar instead.
10725
10726         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10727
10728         * BufferView.h: doxy change
10729
10730         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10731
10732         * lyxtextclass.C (operator[]): remove non-const version
10733         (defaultLayout): remove non-const version
10734
10735 2002-03-12  Juergen Vigna  <jug@sad.it>
10736
10737         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10738         did resize the LyXText too.
10739
10740         * buffer.C (readLyXformat2): set layout information on newly allocated
10741         paragraphs.
10742
10743         * tabular.C (OldFormatRead): set layout information on the paragraph.
10744
10745 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10746
10747         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10748
10749 2002-03-11  Juergen Vigna  <jug@sad.it>
10750
10751         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10752         plainly wrong.
10753         (resizeCurrentBuffer): force also the insets to resize themselfes.
10754         (moveCursorUpdate): fixed up for InsetText.
10755
10756 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10757
10758         * commandtags.h:
10759         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10760         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10761         value of Dialogs::tooltipsEnabled().
10762         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10763
10764 2002-03-08  Juergen Vigna  <jug@sad.it>
10765
10766         * BufferView_pimpl.C (updateInset): update inset inside inset also
10767         if it isn't inside theLockingInset().
10768
10769 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10770
10771         * buffer.C (asciiParagraph): redo some of the word and line length
10772         handling.
10773         (getLists): look for Caption instead of caption.
10774
10775 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10776
10777         * buffer.C (Buffer): initialize niceFile to true
10778         (makeLaTeXFile):
10779         (makeLinuxDocFile):
10780         (makeDocBookFile): make sure niceFile is true on exit
10781
10782 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10783
10784         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10785
10786 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10787
10788         * LyXSendto.C: remove.
10789         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10790         * lyx_gui.C: remove now-redundant comment.
10791         * ColorHandler.h: remove forward declaration of class WorkArea.
10792         * lyxfunc.C: remove #include "WorkArea.h".
10793
10794 2002-03-07  Juergen Vigna  <jug@sad.it>
10795
10796         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10797         got moved away with the DEPM and also set the inset_owner always
10798         right which before could have been omitted.
10799
10800 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10801
10802         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10803         wanted layout is not found.
10804
10805 2002-03-07  Juergen Vigna  <jug@sad.it>
10806
10807         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10808
10809 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10810
10811         * paragraph.C (breakParagraph): use default layout not layout of
10812         prev paragraph.
10813         (Paragraph): clear ParagraphParameters.
10814
10815 2002-03-06  Juergen Vigna  <jug@sad.it>
10816
10817         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10818         otherwise it would not be a valid lenght. Fixed a special case in
10819         the minipage compatibility read where we end the document with a
10820         minipage.
10821
10822         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10823         was set as it could be 0 for InsetTexts first entry.
10824
10825 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10826
10827         * paragraph.C (writeFile): if layout is empty write out
10828         defaultLayoutName().
10829
10830         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10831         file without named layout we set layout to defaultLayoutName().
10832
10833 2002-03-06  Juergen Vigna  <jug@sad.it>
10834
10835         * CutAndPaste.C (copySelection): set layout for new paragraph.
10836
10837         * text.C (prepareToPrint): leave ERT inset left aligned
10838         (leftMargin): don't indent paragraphs inside ERT insets
10839
10840 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10841
10842         * paragraph.C (breakParagraph): dont call clear do the work manually
10843
10844         * paragraph.[Ch] (clear): remove function
10845
10846 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10847
10848         * paragraph.C (Paragraph): dont call clear, the work has already
10849         been done.
10850
10851         * lyxtextclass.C (operator): assert if n is empty
10852
10853         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10854         work manually instead.
10855
10856 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10857
10858         * BufferView_pimpl.C: protect selectionLost against text == 0
10859
10860 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10861
10862         * text.C (breakParagraph): fix a setting layout to '0' problem.
10863
10864 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10865
10866         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10867         final location of file, for the included files, and graphics.
10868
10869 2002-03-05  Juergen Vigna  <jug@sad.it>
10870
10871         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10872
10873 2002-03-04  Juergen Vigna  <jug@sad.it>
10874
10875         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10876
10877         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10878         last column of multicolumn cells.
10879         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10880
10881 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10882
10883         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10884         file if it doesn't go to a temporary file.
10885
10886         * buffer.C (sgmlOpenTag):
10887         (sgmlCloseTag):  remove extra newline insertion.
10888
10889 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10890
10891         * text.C (getRowNearY): comment out debug msg
10892
10893 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10894
10895         * text2.C: first -> first_y
10896
10897         * text.C (getRowNearY): add some attemts at a possible
10898         optimization, not working.
10899
10900         * tabular.[Ch]: add BufferParams to several function so that newly
10901         created paragraph can be initialized to he default layotu for the
10902         buffers textclass.
10903
10904         * tabular-old.C (ReadOld): add buf->params to call of Init
10905
10906         * screen.C: rename text->first to text->first_y
10907
10908         * paragraph.C (breakParagraph): always set layout in the broken
10909         paragraph
10910
10911         * lyxtextclass.C (Read): remove lowercase
10912         (hasLayout): ditto
10913         (operator): ditto
10914         (delete_layout): ditto
10915
10916         * lyxtext.h: rename first -> first_y
10917
10918         * lyxlayout.C (Read): remove lowercase
10919         (name): ditto
10920         (setName): ditto
10921         (obsoleted_by): ditto
10922
10923         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10924
10925         * buffer.C (insertErtContents): add params are to InsetERT
10926         (parseSingleLyXformat2Token): add code to check if a paragraphs
10927         layout really exist.
10928         (parseSingleLyXformat2Token): add params to several inset
10929         constructors
10930         (asciiParagraph): remove lowercase, do the layout comparisons with
10931         no_case
10932
10933         * BufferView_pimpl.C (cursorNext): first -> first_y
10934         (resizeCurrentBuffer): first -> first_y
10935         (updateScrollbar): first -> first_y
10936         (scrollCB): first -> first_y
10937         (workAreaMotionNotify): first -> first_y
10938         (workAreaButtonPress): first -> first_y
10939         (checkInsetHit): first -> first_y
10940         (cursorPrevious): first -> first_y
10941         (cursorNext): first -> first_y
10942         (Dispatch): add buffer_->params to severl inset contructors
10943
10944 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10945
10946         * lyxlayout.C (Read): remove some debug info that I forgot.
10947
10948         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10949         clean up the code slightly.
10950         (makeLinuxDocFile): ditto
10951         (makeDocBookFile): ditto
10952
10953         * text2.C: layout as string
10954
10955         * text.C: layout as string
10956
10957         * paragraph_pimpl.C: layout as string
10958
10959         * paragraph.[Ch]: layout as string
10960
10961         * lyxtextclasslist.[Ch]: layout as string
10962
10963         * lyxtextclass.[Ch]: layout as string
10964
10965         * lyxtext.h: layout as string
10966
10967         * lyxlayout.[Ch]: layout as string
10968
10969         * lyx_cb.C: layout as string
10970
10971         * bufferview_funcs.C: layout as string
10972
10973         * bufferparams.C: layout as string
10974
10975         * buffer.C: layout as string
10976
10977         * LyXView.[Ch]: layout as string
10978
10979         * LaTeXFeatures.[Ch]: layout as string
10980
10981         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10982
10983         * BufferView_pimpl.C: change current_layout to string, remove
10984         lyx::layout_type.
10985         (Dispatch):
10986         (smartQuote):
10987         (insertInset):
10988         (workAreaButtonRelease): layout as string
10989
10990         * BufferView2.C (unlockInset): adjust
10991
10992         * vspace.C (asLatexCommand): use an explict temp variable.
10993
10994 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10995
10996         * Makefile.am: use FRONTEND_*
10997
10998 2002-03-01  Juergen Vigna  <jug@sad.it>
10999
11000         * tabular.C (SetWidthOfMulticolCell): changed to something better
11001         I hope but still work in progress.
11002         (recalculateMulticolumnsOfColumn): renamed function from
11003         recalculateMulticolCells as it is more appropriate now.
11004         (SetWidthOfCell): calculate multicols better.
11005
11006 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11007
11008         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11009
11010         * lyxfunc.C (processKeySym): print sequence also if it is
11011         `deleted' (complete)
11012
11013         * kbsequence.C (print): print sequence even if it is deleted
11014         (complete would be a better word, actually).
11015
11016         * lyxfunc.C (dispatch): print complete options after a prefix key
11017
11018         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11019
11020 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11021
11022         * text2.C (setCharFont): eliminate setCharFont code duplication.
11023
11024 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11025
11026         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11027         LFUN_TABULAR_FEATURE (bug #177)
11028
11029 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11030
11031         * Makefile.am: remove figure.h
11032
11033 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11034
11035         * Bufferview_pimpl.C:
11036         * CutAndPasteC:
11037         * LaTeX.C:
11038         * LyXSendto.C:
11039         * buffer.C:
11040         * bufferlist.C:
11041         * converter.C:
11042         * language.C:
11043         * lyxfunc.C:
11044         * lyxvc.C:
11045         * paragraph.C:
11046         * text.C:
11047         * text2.C: remove #include "lyx_gui_misc.h".
11048
11049         * LaTeX.C: added #include <cstdio>
11050
11051 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11052
11053         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11054         that the paragraph following this one can have.
11055
11056         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11057
11058         * vspace.C (asLatexCommand): fix bogus gcc warning
11059
11060         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11061
11062 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11063
11064         * text2.C (setLayout): get rid of redundant code
11065
11066 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11067
11068         * text2.C (incDepth): make sure depth cannot be increased beyond
11069         reasonable values.
11070
11071 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11072
11073         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11074         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11075
11076         * PainterBase.h (image):
11077         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11078         a LyXImage const *.
11079
11080 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11081
11082         * BufferView.C:
11083         * BufferView.h:
11084         * BufferView_pimpl.C:
11085         * BufferView_pimpl.h:
11086         * LaTeXFeatures.C:
11087         * LyXAction.C:
11088         * LyXView.C:
11089         * Makefile.am:
11090         * UpdateList.h:
11091         * UpdateList.C:
11092         * buffer.C:
11093         * figure.h:
11094         * figureForm.C:
11095         * figureForm.h:
11096         * figure_form.C:
11097         * figure_form.h:
11098         * lyx_cb.C:
11099         * lyx_gui.C:
11100         * lyx_gui_misc.C:
11101         * lyxfunc.C:
11102         * sp_base.h:
11103         * sp_ispell.h:
11104         * sp_pspell.h:
11105         * sp_spell.C: remove fig inset, and the crap house of
11106           cards that follows it
11107
11108 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11109
11110         * Makefile.am:
11111         * lyxserver.C:
11112         * os2_defines.h:
11113         * os2_errortable.h:
11114         * nt_defines.h: move .h into support/
11115
11116         * vms_defines.h: remove
11117
11118         * WorkArea.C: add space in debug output
11119
11120         * text2.C:
11121         * paragraph.C:
11122         * buffer.C: add WITH_WARNINGS
11123
11124         * vc-backend.h:
11125         * vc-backend.C:
11126         * bufferlist.C: s/retrive/retrieve/, add docs
11127
11128         * vspace.h:
11129         * vspace.C:
11130         * kbmap.h:
11131         * lyxlength.h:
11132         * lyxgluelength.h:
11133         * length_common.h:
11134         * chset.h:
11135         * chset.C: add docs
11136
11137         * lyxgui.C: add ID to X error handler
11138
11139         * lyxtestclass.c: fix typo
11140
11141 2002-02-26  Juergen Vigna  <jug@sad.it>
11142
11143         * tabular_funcs.C (write_attribute): changed so that some default
11144         attributes are not written at all.
11145         (getTokenValue): set default values before trying to read the
11146         value so we have the return value always set as default if we don't
11147         find the token we search for.
11148
11149         * tabular.C (Write): write bools as bools not as strings!
11150
11151 2002-02-22  Juergen Vigna  <jug@sad.it>
11152
11153         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11154         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11155
11156         * text.C (leftMargin): don't add an indent for paragraphs inside
11157         tabular cells (fix #208).
11158
11159 2002-02-21  José Matos  <jamatos@fep.up.pt>
11160
11161         * tabular.C (docBook): fixed support for long tables.
11162
11163 2002-02-20  Juergen Vigna  <jug@sad.it>
11164
11165         * text2.C (getFont): get the drawing font of the Inset if this
11166         paragraph is inside an inset (only important for InsetERT for now).
11167
11168         * buffer.C (insertErtContents): use new lanugage params in ERT
11169         constructor.
11170
11171         * CutAndPaste.C: commenting out seemingly uneeded code.
11172
11173 2002-02-19  Allan Rae  <rae@lyx.org>
11174
11175         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11176         Iterators might be simple to use but they also get invalidated.
11177         (removeAutoInsets): renamed saved cursor tracking variables and added
11178         some comments to clarify what everything does.
11179
11180 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11181
11182         * Chktex.C:
11183         * LaTeX.C:
11184         * LyXSendto.C:
11185         * converter.C:
11186         * lyx_cb.C:
11187         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11188         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11189
11190         * lyxfunc.C:
11191         * vc-backend.h: remove #include "support/syscall.h"
11192
11193         * LaTeX.C:
11194         * LyXSendto.C:
11195         * converter.C: rearrange #includes in Lars' approved fashion.
11196
11197         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11198         forward declare class Timeout in the header file.
11199
11200         * XFormsView.C: changes due to the above.
11201
11202         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11203         similar to LyXView.
11204
11205         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11206         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11207
11208 2002-02-18  José Matos  <jamatos@fep.up.pt>
11209
11210         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11211         insets contents.
11212
11213 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11214
11215         * a lot of small ws changes
11216         * add a lot of using std::XXX
11217         * use std construcs some places where approp.
11218         * use some exisint stuff from lyxfunctional where approp.
11219         * Make file changes to use partial linking (lets test this now...)
11220
11221 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11222
11223         * Chktex.C:
11224         * buffer.C:
11225         remove #include "support/syscontr.h" as it's redundant. Always has been.
11226
11227         * Chktex.C:
11228         * LaTeX.C:
11229         * LyXSendto.C:
11230         * converter.C:
11231         * lyx_cb.C:
11232         * vc-backend.C:
11233         change Systemcalls::System to Systemcalls::Wait and
11234         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11235         No change of functionality, just reflects the stripped down Systemcalls
11236         class.
11237
11238 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11239
11240         * debug.[Ch]: add a GRAPHICS type to the enum.
11241
11242 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11243
11244         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11245
11246         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11247         there is an inset.
11248
11249 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11250
11251         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11252         match the changes below.
11253
11254         * text2.C (toggleInset): if there is not editable inset at cursor
11255         position, try to see if cursor is _inside_ a collapsable inset
11256         and close it.
11257
11258 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11259
11260         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11261         document menu has a nice checkbox
11262
11263 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11264
11265         * lyxlength.C (asLatexString): change PW to output as percent of
11266         \textwidth.
11267
11268         * lengthcommon.C: change '%' to 't%'
11269
11270         * lyxfunc.C (dispatch): a few comments from Martin
11271
11272 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11273
11274         * WorkArea.h:
11275         * WorkArea.C:
11276         * BufferView_pimpl.h:
11277         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11278           the X selection.
11279
11280 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11281
11282         * vspace.C (inPixels): fix compiler warning
11283
11284 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11285
11286         * lyxfunc.C (getStatus): fix status message for disabled commands.
11287
11288 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11289
11290         * BufferView_pimpl.C: fix crash on close buffer
11291         during selection (#227)
11292
11293 2002-01-27  Herbert Voss  <voss@lyx.org>
11294
11295         * buffer.C: link old Figure to new graphic inset
11296
11297 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11298
11299         * FontLoader.C (getFontinfo): Change the latex font names in order
11300         to match the names of type1inst.
11301
11302 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11303
11304         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11305
11306         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11307         (extchanged): ditto
11308         (ext_exist): ditto
11309         (remove_files_with_extension): ditto
11310         (remove_file): ditto
11311         (write): ditto
11312
11313         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11314         document is smaller than the work area height. Do not initialize
11315         static variables to 0.
11316
11317 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11318
11319         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11320
11321         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11322         LFUN_LAYOUT_PARAGRAPHS.
11323
11324         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11325         tabular. It is possible to provide a possible cell, which will
11326         typically be the actcell from the corresponding insettabular
11327
11328         * lyxfunc.C (getStatus): small cleanup; disable
11329         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11330         true
11331
11332 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11333
11334         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11335
11336         * paragraph.C (startTeXParParams):
11337         (endTeXParParams): new methods. The LaTeX code to
11338         start/end paragraph formatting
11339         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11340         empty (fixes bug #200)
11341
11342         * vspace.C (inPixels): adapt to the change below
11343         (inPixels): [later] more cleanups (remove unused variables)
11344
11345         * lyxlength.C (inPixels): change to use a width and a height as
11346         parameter.
11347
11348 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11349
11350         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11351         Replaced with \paperwidth
11352
11353         * DepTable.C (insert): add std:: qualifier
11354
11355 2002-01-18  Allan Rae  <rae@lyx.org>
11356
11357         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11358         updated also?
11359
11360         * text.C (drawInset): Turned out I didn't know enough about how
11361         rebreaking worked.  This fixes most of the redraw problems.  I see
11362         an occasional cursor trail when a line is broken now and the cursor
11363         placement can seem out by a few pixels also after a rebreak.
11364
11365 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11366
11367         * buffer.C (parseSingleLyXformat2Token): update because minipage
11368         width is now a LyXLength
11369
11370         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11371
11372         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11373         math insets
11374
11375 2002-01-17  Juergen Vigna  <jug@sad.it>
11376
11377         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11378
11379         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11380         is set correctly and the inset is updated correctly.
11381
11382 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11383
11384         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11385         the beginning of the loop.
11386
11387 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11388
11389         * lyxrc.C: improve help for use_scalable_fonts
11390
11391 2002-01-17  Allan Rae  <rae@lyx.org>
11392
11393         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11394
11395 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11396
11397         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11398         make sure to set their inset_owner to the right value (bug #171)
11399
11400 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11401
11402         * DepTable.h
11403         * DepTable.C: Implement mtime checking to reduce time spent doing
11404         CRCs.
11405
11406 2002-01-16  Juergen Vigna  <jug@sad.it>
11407
11408         * tabular.C (GetAdditionalHeight): one of error fixed.
11409
11410         * lyxrc.C (output): small fix in writing use_pspell.
11411
11412 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11413
11414         * sp_base.h: #include LString.h
11415
11416 2002-01-16  Allan Rae  <rae@lyx.org>
11417
11418         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11419         Can someone check this please?
11420
11421         * text.C (drawInset): It was possible that p.row would be removed by
11422         breakAgainOneRow upsetting a few other settings.  There may be another
11423         small tweak possible by setting need_break_row = 0 when p.row has been
11424         removed but I don't know enough about the logic here.
11425
11426 2002-01-15  Allan Rae  <rae@lyx.org>
11427
11428         * text.C (insertChar): removed conditional truism.
11429
11430         * BufferView2.C (removeAutoInsets): More tweaks.
11431         cur_par_prev could be a stray pointer.  Check for trailing empty line
11432         in case last line was cur_par and only had an error inset on it.
11433
11434 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11435
11436         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11437         absolute
11438
11439         * vc-backend.C (most methods):
11440         * exporter.C (Export):
11441         * converter.C (convert):
11442         (runLaTeX):
11443         * LyXSendto.C (SendtoApplyCB):
11444         * lyxfunc.C (dispatch):
11445         (menuNew):
11446         (open):
11447         (doImport):
11448         * lyx_cb.C (AutoSave):
11449         (InsertAsciiFile):
11450         * BufferView_pimpl.C (MenuInsertLyXFile):
11451         * buffer.C (runChktex): use Buffer::filePath().
11452
11453         * buffer.h: rename filename to filename_; rename filepath to
11454         filepath_ and make it private
11455         (filePath): new method
11456
11457         * buffer.C (writeFile): use fileName()
11458         (getLatexName):
11459
11460         * lyx_main.C (init): fix starting  of LyX when the binary is a
11461         link from so,ewhere else.
11462
11463         * minibuffer.C: include <cctype> for isprint
11464
11465 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11466
11467         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11468         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11469         name clash with InsetCollapsable's width function.
11470
11471 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11472
11473         * lastfiles.C: include <iterator>
11474
11475 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11476
11477         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11478         std::count.
11479
11480         * buffer.C (makeLaTeXFile): ditto.
11481         Also make loop operation more transparent.
11482
11483 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11484
11485         * ToolbarDefaults.C: remove trailing comma closing namespace.
11486
11487         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11488
11489         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11490         as in WorkArea.
11491
11492         * trans.C (Load): comment out unused variable, allowed.
11493
11494 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11495
11496         * minibuffer.[Ch] (append_char): new method to recieve input from the
11497         drop-down completion browser. If a key was pressed, then recieve this
11498         char and append it to the existing string.
11499         (peek_event): modify the positioning data passed to the completion
11500         browser so that it can be placed above the minibuffer rather than below.
11501 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11502
11503         * LyXAction.C (init): alloe error-next for readonly documents.
11504
11505         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11506         count.
11507
11508 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11509
11510         * bufferlist.C (readFile): create the buffer _after_ checking that
11511         the file exists.
11512
11513         * lyxfunc.C (verboseDispatch): fix handling of arguments
11514
11515         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11516
11517         * lyxrc.C: use string::erase() instead of initializing to "".
11518
11519
11520 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11521
11522         * BufferView_pimpl.h:
11523         * BufferView_pimpl.C:
11524         * WorkArea.h:
11525         * WorkArea.C:
11526         * text2.C: tell X when we have made a selection for copying
11527
11528 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11529
11530         * BufferView_pimpl.C (MenuInsertLyXFile):
11531         * lyxfunc.C (menuNew):
11532         (open):
11533         (doImport): add shortcuts to directory buttons
11534
11535         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11536         open a float)
11537
11538         * lyxfunc.C (setStatusMessage):
11539         (getStatusMessage): new methods
11540         (getStatus):use setStatusMessage instead of setErrorMessage
11541         (dispatch): when function is disabled, set error message here
11542         [instead of in getStatus previously]
11543
11544         * BufferView_pimpl.C (workAreaButtonRelease): update
11545         toolbar/menubar here too.
11546
11547 2002-01-13  Allan Rae  <rae@lyx.org>
11548
11549         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11550         Now seems indestructible.  Remaining task is to audit all other
11551         code affected by deleteEmptyParagraphMechanism.  One small quirk
11552         left is that an empty document with an error in the preamble can
11553         be made to report an error but no error box appears.  I don't know
11554         where it goes.
11555         (removeAutoInsets): Improved comments.
11556
11557 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11558
11559         * Thesaurus.h:
11560         * Thesaurus.C: update for Aiksaurus 0.14
11561
11562 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11563
11564         * text2.C (firstParagraph): removed member function, all uses
11565         replaces with ownerParagraph
11566         (redoParagraphs): here
11567         (updateInset): here
11568         (toggleAppendix): here
11569         * BufferView2.C (insertErrors): here
11570         (setCursorFromRow): here
11571
11572 2002-01-13  Allan Rae  <rae@lyx.org>
11573
11574         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11575         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11576         There is still a way to segfault this although you may have to do this
11577         multiple times: Have an InsetERT with an unknown command in it.
11578         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11579         <down-arrow>, <Enter> again, View->DVI, BANG!
11580
11581         * text2.C (setCursor):
11582         (deleteEmptyParagraphMechanism):
11583         * lyxtext.h (setCursor):
11584         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11585         Making use of the return value may help fix other bugs.
11586
11587 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11588
11589         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11590
11591         * LyXView.C (updateMenubar): call MenuBar::update here
11592         (updateToolbar): but not here
11593         (showState): do not update toolbar/menubar
11594
11595         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11596         should need to care about that.
11597
11598         * lyxfunc.C (verboseDispatch): simplify a bit
11599         (getStatus): have a version which takes a pseudoaction, and
11600         another which requires a (kb_action,string).
11601
11602         * LyXAction.C (retrieveActionArg): make it work also when action
11603         is not a pseudo-action.
11604         (getActionName): simplify a bit
11605         (helpText):
11606
11607 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11608
11609         * lyxfunc.C (verboseDispatch): new families of methods with
11610         several ways to specify a command and a bool to indicate whether
11611         the command name and shortcut should be displayed in minibuffer
11612         (eventually, we could extend that to a finer bitmask like
11613         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11614         (dispatch): the pristine dispatch command which just, well,
11615         dispatchs! Note it still sets its result to minibuffer; I'm not
11616         sure we want that.
11617
11618         * lyxfunc.h: remove setHintMessage
11619
11620         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11621
11622 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11623
11624         * BufferView_pimpl.C (specialChar): delete new inset if we have
11625         not been able to insert it.
11626
11627         * kbmap.C: revert to using int instead of kb_action, since all we
11628         are dealing with is pseudo-actions.
11629
11630         * LyXAction.C (searchActionArg): change to return int instead of
11631         kb_action, since the result is a pseudoaction.
11632
11633 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11634
11635         * buffer.C (insertErtContents): Fix (partially) the font bug.
11636
11637 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11638
11639         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11640         as the other one is broken on my machine!
11641
11642 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11643
11644         * commandtags.h:
11645         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11646
11647 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11648
11649         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11650         reflect their actual use. Provide compatibility code for older lyxrc
11651         files.
11652
11653         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11654         FL_NORMAL_STYLE.
11655         change names of popup font variables in line with the changes to lyxrc.C
11656
11657 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11658
11659         * buffer.C (asciiParagraph): avoid outputing a word twice after
11660         an inset.
11661
11662         * lyxrc.C (getDescription): document that document_path and
11663         template_path can be empty.
11664
11665 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11666
11667         * LaTeXFeatures.C (getMacros):
11668         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11669
11670         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11671
11672         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11673         getPackages.
11674         (getPackages): rename feature "floats" to "float". Use an array to
11675         iterate over 'simple' features (i.e. just a \usepackage). Add
11676         handling of "amsmath" (renamed from "amsstyle").
11677
11678 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11679
11680         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11681         features list.
11682
11683 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11684
11685         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11686         FuncStaus::FuncStatus & FuncStaus::some_method().
11687
11688 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11689
11690         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11691         of the func_satus stuff. Edited and massaged in various ways by
11692         JMarc.
11693
11694         * lyxfunc.C (getStatus): use FuncStatus
11695
11696 2002-01-08  Juergen Vigna  <jug@sad.it>
11697
11698         * text.C (nextBreakPoint): use function Inset::isChar().
11699
11700         * paragraph.C (TeXOnePar): use function
11701         Inset::forceDefaultParagraphs.
11702
11703         * buffer.C (latexParagraphs): use function
11704         Inset::forceDefaultParagraphs.
11705
11706 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11707
11708         * lyx_gui.C (init): set the style of the menu popups to
11709         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11710
11711 2002-01-07  Juergen Vigna  <jug@sad.it>
11712
11713         * text.C (setHeightOfRow): small fix
11714         (prepareToPrint): don't look at alignment if we don't have the place
11715         for doing it.
11716
11717 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11718
11719         * box.C: New file. Move the Box methods and functions out of box.h,
11720         following Lars' suggestion.
11721
11722 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11723
11724         * box.h: #include "support/LOstream.h", needed for inlined function.
11725
11726         * lyxtextclass.C:
11727         * lyxtextclasslist.C: added some using std declarations.
11728
11729 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11730
11731         * box.h: make signed dimensions to allow insets wider than
11732           the screen (bug #162)
11733
11734         * BufferView_pimpl.C: add some insetHit debug
11735
11736 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11737
11738         * vc-backend.C: add FIXME
11739
11740 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11741
11742         * lyxfunc.C (getStatus): enable code for showing math font status
11743         in toolbar/menu.
11744
11745 2002-01-07  Juergen Vigna  <jug@sad.it>
11746
11747         * text.C (nextBreakPoint): removed debug output not needed anymore.
11748
11749 2002-01-06  Juergen Vigna  <jug@sad.it>
11750
11751         * text.C (nextBreakPoint): fixed up this function we had this bug
11752         since ever but now hopefully we break row better.
11753         (insertChar): we have to check if an inset is the next char as it
11754         could now happen that a large inset is causing a break.
11755
11756 2002-01-05  Juergen Vigna  <jug@sad.it>
11757
11758         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11759         if it doesn't like to be drawed.
11760
11761 2002-01-04  Juergen Vigna  <jug@sad.it>
11762
11763         * BufferView2.C (lockInset): forgot to set a cursor.
11764
11765         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11766
11767 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11768
11769         * FormMathsPanel.C:
11770         * FormMathsPanel.h
11771         * MathsSymbols.C:
11772         * form_maths_panel.C:
11773         * form_maths_panel.h:
11774         * form_maths_panel.fd: implemented sub- and super- buttons in math
11775         panel.
11776
11777         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11778         (or ^ space) to be used as in TeX (req'd by André).
11779
11780         * lyxfunc.C: Allow ^ and _ again to be used both as
11781         super/subscript (mathed) and as themselves (in text).
11782
11783 2002-01-03  Allan Rae  <rae@lyx.org>
11784
11785         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11786         "LyX" or the filename of the current buffer if it has one.  This is a
11787         modified form of John Levon's patch.
11788
11789         * XFormsView.C (setWindowTitle): also set icon title.
11790
11791         * LyXView.h (setWindowTitle): signature changed.
11792         * XFormsView.h (setWindowTitle): ditto.
11793
11794 2002-01-02  Juergen Vigna  <jug@sad.it>
11795
11796         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11797
11798 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11799
11800         * screen.C (topCursorVisible): introduce a temp var for
11801         text->cursor.row(), handle the case where this row is null. (kindo
11802         hachish)
11803
11804         * text2.C (setCursor): add a couple of asserts.
11805
11806         * paragraph.h (inset_iterator): add -> operator
11807
11808         * paragraph.[Ch] (autoDeleteInsets): remove member function
11809
11810         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11811         cursor pos correctly and handle inset deletion by itself.
11812         (insertErrors): move iterator declaration out of for expression
11813
11814         * lyxtextclass.C: add <algorithm>
11815
11816         * Makefile.am: added the new files to sources, removed layout.C
11817
11818         * layout.C: removed file
11819
11820         * layout.h: remove LYX_DUMMY_LAYOUT
11821
11822         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11823         layout.
11824
11825         * lyxlayout.[Ch]:
11826         * lyxtextclass.[Ch]:
11827         * lyxtextclasslist.[Ch]: new files
11828
11829         * include order changes to a lot of files, also changes because of
11830         the six new files.
11831
11832 2001-12-27  Juergen Vigna  <jug@sad.it>
11833
11834         * buffer.C (asciiParagraph): more fixes.
11835
11836         * tabular.C (ascii): make ascii export support export of only the
11837         data separated by a column-delimiter.
11838         (ascii): better support for ascii export.
11839
11840         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11841
11842 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11843
11844         * tabular_funcs.C: use a "using std::getline" instead of the
11845         previous fix from Angus (necessary for cxx + lyxstring)
11846
11847 2001-12-24  Juergen Vigna  <jug@sad.it>
11848
11849         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11850
11851         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11852         problems. First check a minipage also if we have some ert-contents
11853         (not only on par->size(), second set the right depth of the paragraph
11854         on the relink to the root-paragraph-list!
11855
11856         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11857         which then did not anymore update the main paragraphs on undo/redo!
11858
11859 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11860
11861         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11862         code. Support all font-changing funcs (even those which are not in
11863         menu currently). Support for reporting font settings in
11864         mathed (disabled until Andre provides a function on mathed's side).
11865
11866         * func_status.h (toggle): small helper function to set toggle
11867         state on a flag.
11868
11869 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11870
11871         * tabular_funcs.C: getline -> std::getline
11872
11873 2001-12-21  Juergen Vigna  <jug@sad.it>
11874
11875         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11876         accessed and could be 0 (I couldn't generate this but it seems
11877         Michael could!).
11878
11879 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11880
11881         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11882         * tabular_funcs.h: here and include iosfwd
11883
11884 2001-12-20  Juergen Vigna  <jug@sad.it>
11885
11886         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11887         inside inset but undo_par was.
11888
11889 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11890
11891         * Thesaurus.C: always include <config.h> in sources.
11892
11893         * Painter.h:
11894         * lyxlookup.h:
11895         * box.h: do not include <config.h> in header files
11896
11897         * text.C (paintLastRow): remove unused variable
11898
11899         * text.C (transformChar):
11900         (insertChar):
11901         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11902
11903         * Painter.C (text):
11904         * font.C (width): rewrite to use uppercase() instead of
11905         islower/toupper.
11906
11907         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11908
11909 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11910
11911         * lyxfind.C: clean up of find failure position change
11912
11913 2001-12-20  Juergen Vigna  <jug@sad.it>
11914
11915         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11916
11917         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11918         (TeXRow): added to LaTeX a single tabular row.
11919         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11920         (Latex): simplified and finally good LT-h/f support.
11921         (various_functions): just small adaptions for LT-h/f support.
11922
11923         * tabular_funcs.[hC]: added and moved here all not classfunctions
11924         of LyXTabular.
11925
11926 2001-12-19  Juergen Vigna  <jug@sad.it>
11927
11928         * tabular.[Ch]: better support for longtabular options (not finished
11929         yet!)
11930
11931 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11932
11933         * text.C (paintLastRow): use the label font instead of the font of
11934         the last character to compute the size of *_BOX. This makes more
11935         sense and avoids a crash with empty paragraphs.
11936         Use Painter::rectangle to draw EMPTY_BOX.
11937
11938 2001-12-19  Juergen Vigna  <jug@sad.it>
11939
11940         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11941         the paragraphs if the replaced paragraph is not the first one!
11942         Tried to delete not used paragraphs but does not work yet so for
11943         now it's inside #ifdef's and by default off!
11944
11945 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11946
11947         * MenuBackend.C: include "lyx_main.h" instead of declaring
11948         lastfiles (actually was declared as LastFiles* instead of a
11949         scoped_ptr).
11950
11951 2001-12-17  Juergen Vigna  <jug@sad.it>
11952
11953         * tabular.C (AppendColumn): applied John's fix
11954
11955 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11956
11957         * BufferView.h:
11958         * BufferView.C:
11959         * BufferView_pimpl.h:
11960         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11961
11962         * Makefile.am:
11963         * box.h: new start of class for above
11964
11965         * lyxfunc.C: ignore space-only minibuffer dispatches.
11966           Show the command name when it doesn't exist
11967
11968         * minibuffer.C: don't add empty lines to the history
11969
11970         * minibuffer.C: add a space on dropdown completion
11971
11972 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11973
11974         * text.C: fix line above/below drawing in insets
11975
11976 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11977
11978         * lyxlength.C (LyXLength): Initialize private variables.
11979
11980 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11981
11982         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11983         when inserting error insets.
11984
11985 2001-12-13  Juergen Vigna  <jug@sad.it>
11986
11987         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11988         actually sometimes the before-paragraph.
11989         (setUndo): don't clear the redostack if we're not actually undoing!
11990
11991 2001-12-06  Juergen Vigna  <jug@sad.it>
11992
11993         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11994         and fixed redoing of main paragraph, so we can use it now ;)
11995
11996         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11997
11998 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11999
12000         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12001         Juergen's request
12002
12003 2001-12-13  André Pönitz <poenitz@gmx.net>
12004
12005         * undostack.[Ch]:
12006         * undo_func.C: minor cleanup
12007
12008 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12009
12010         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12011         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12012         font in urw-fonts package which is marked as -urw-fontspecific and
12013         does not work (incidentally, changing the encoding in the
12014         fonts.dir of this package to -adobe-fontspecific fixes the
12015         problem).
12016
12017         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12018         is a crash when undoing first paragraph (Juergen, please take a
12019         look). THis does not mean the undo fix is wrong, just that it
12020         uncovers problems.
12021
12022         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12023         the (Paragraph*) version when needed instead of duplicating the
12024         code.
12025
12026         * text.C (workWidth): use Inset::parOwner to find out where the
12027         inset has been inserted. This is a huge performance gain for large
12028         documents with lots of insets. If Inset::parOwner is not set, fall
12029         back on the brute force method
12030
12031         * paragraph_pimpl.C (insertInset):
12032         * paragraph.C (Paragraph):
12033         (cutIntoMinibuffer): set parOwner of insets when
12034         inserting/removing them
12035
12036         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12037
12038 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12039
12040         * commandtags.h:
12041         * LyXAction.C:
12042         * lyx_main.C:
12043         * lyxfunc.C:
12044         * mathed/formulabase.C:
12045         * mathed/math_cursor.[Ch]:
12046         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12047
12048
12049 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12050
12051         * lyxlength.[Ch] (operator!=): new function
12052
12053 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12054
12055         * text.C (workWidth): use Inset::parOwner to find out where the
12056         inset has been inserted. This is a huge performance gain for large
12057         documents with lots of insets. If Inset::parOwner is not set, fall
12058         back on the brute force method
12059
12060         * paragraph_pimpl.C (insertInset):
12061         * paragraph.C (Paragraph):
12062         (cutIntoMinibuffer): set parOwner of insets when
12063         inserting/removing them
12064
12065         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12066
12067 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12068
12069         * tabular-old.C (getTokenValue):
12070         * tabular.C (getTokenValue):
12071         (write_attribute): new versions for LyXLength
12072         (everywhere): adjust the use of widths
12073
12074         * tabular.h: change the type of widths from string to LyXLength
12075
12076 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12077
12078         * paragraph.C: fixed missing line number count when exporting
12079         Environments to LaTeX file
12080
12081         * buffer.C: added informational message for checking line numbers.
12082
12083 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12084
12085         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12086         paragraph, do the 'double space' part, but not the 'empty
12087         paragraph' one.
12088
12089         * text.C (workWidth): small optimization
12090         (getLengthMarkerHeight): use minimal size for negative lengths.
12091
12092 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12093
12094         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12095
12096         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12097
12098 2001-12-11  André Pönitz <poenitz@gmx.net>
12099
12100         * FontLoader.C:
12101         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12102
12103 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12104
12105         * text2.C: keep selection on a setFont()
12106
12107 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12108
12109         * lyx_cb.C: another bv->text misuse, from insert label
12110
12111 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12112
12113         * kbsequence.h:
12114         * kbsequence.C: re-instate nmodifier mask
12115
12116 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12117
12118         * lyx_main.h: make lyxGUI private.
12119
12120 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12121
12122         * lyxfind.C: place the cursor correctly on failed search
12123
12124 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12125
12126         * text.C (getLengthMarkerHeight): for small heights, the arrows
12127         are not always on top/bottom of the text
12128         (drawLengthMarker): smaller arrows; take the left margin in
12129         account; draw also vfills.
12130         (paintFirstRow):
12131         (paintLastRow): remove special code for vfill and standard spaces,
12132         since everything is handled in drawLengthMarker now.
12133
12134 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12135
12136         * buffer.C (insertErtContents): try to handle font and language
12137         interaction a bit better.g
12138
12139         * ColorHandler.C (updateColor): change the hash to cover the whole
12140         LColor enum, ws cleanup
12141         (getGCLinepars): ditto
12142         (getGCLinepars): only lookup in the linecache once.
12143
12144 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12145
12146         * iterators.C (operator++): Make the iterator more robust
12147
12148         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12149         (John's patch)
12150         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12151
12152 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12153
12154         * lyxtext.h:
12155         * text.C: better added space drawing
12156
12157 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12158
12159         * LyXView.C:
12160         * BufferView2.C: fix layout combo update on inset unlock
12161
12162 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12163
12164         * Makefile.am: don't compile unused files
12165
12166 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12167
12168         * lyxfunc.C:
12169         * commandtags.h:
12170         * LyXAction.C: remove old LFUN_LAYOUTNO
12171
12172 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12173
12174         * paragraph_pimpl.h:
12175         * paragraph_pimpl.C: isTextAt() doesn't need font param
12176
12177 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12178
12179         * lyxlex.h:
12180         * lyxlex.C: little cleanup
12181
12182 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12183
12184         * BufferView_pimpl.C: fix insertAscii for insets
12185
12186 2001-12-05  Juergen Vigna  <jug@sad.it>
12187
12188         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12189         set the right font on the "multi" paragraph paste!
12190
12191 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12192
12193         * trans_decl.h:
12194         * trans_mgr.[Ch]:
12195         * trans.[Ch]:
12196         * lyxgluelength.C:
12197         * lyxlength.C: remove out-commented code.
12198
12199         * BufferView_pimpl:
12200         * CutAndPaste.C:
12201         * DepTable.C:
12202         * buffer.C:
12203         * chset.C:
12204         * lastfiles.C:
12205         * lyxlex.C:
12206         * lyxlex_pimpl.C:
12207         * lyxserver.C:
12208         * screen.C:
12209         * tabular-old.C:
12210         * tabular.C:
12211         * text.C:
12212         * trans_mgr.C:
12213         * vc-backend.C: change "while(" to "while ("
12214
12215         * lyxlength.[Ch]: add zero function to check if length is zero or
12216         not
12217         * lyxgluelength.C: use it
12218
12219 2001-12-05  Allan Rae  <rae@lyx.org>
12220
12221         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12222         Works for 2.95.3, from what I understand of Garst's reports this should
12223         work for other g++ versions.  We're screwed if the abs(int) definition
12224         changed between bugfix releases of gcc.
12225
12226 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12227
12228         * text.C: fix chapter label offset !
12229
12230 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12231
12232         * lyxtext.h:
12233         * text.C: fix hfill at end of line, clean up
12234
12235 2001-12-04  Juergen Vigna  <jug@sad.it>
12236
12237         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12238         that we force an update of the inset and it's owners if neccessary.
12239
12240 2001-12-03  Juergen Vigna  <jug@sad.it>
12241
12242         * text.C (rowLast): simplified code
12243
12244 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12245
12246         * lyxfunc.C: fix show options on timeout
12247
12248 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12249
12250         * screen.C (topCursorVisible): scroll half a page when the cursor
12251         reached top of bottom of screen
12252
12253 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12254
12255         * minibuffer.C: deactivate on loss of focus
12256
12257 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12258
12259         * vspace.[Ch] (operator!=): add operator.
12260
12261 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12262
12263         * BufferView_pimpl.C: refuse to open an inset when
12264         there's a selection.
12265
12266 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12267
12268         * BufferView_pimpl.C: allow to click on RHS of full row insets
12269
12270 2001-11-30  Juergen Vigna  <jug@sad.it>
12271
12272         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12273         insets for undo reasons.
12274
12275 2001-11-28  André Pönitz <poenitz@gmx.net>
12276
12277         * vspace.[Ch]: cosmetical changes
12278
12279 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12280
12281         * LyXAction.h:
12282         * LyXAction.C:
12283         * lyxfunc.h:
12284         * lyxfunc.C:
12285         * kbmap.h:
12286         * kbmap.C:
12287         * lyxrc.C:
12288         * kbsequence.h:
12289         * kbsequence.C: part re-write of old kb code
12290
12291         * Painter.C:
12292         * WorkArea.C: remove Lgb_bug_find_hack
12293
12294 2001-11-30  José Matos <jamatos@fep.up.pt>
12295
12296         * buffer.C (makeDocBookFile): add a comment to point a hack.
12297         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12298         Fixed a double write of labels.
12299
12300 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12301
12302         * LaTeX.C:
12303         * LaTeX.h Fixed bug in LaTeX class where it would not
12304         re-run latex if no depfiles were changed, but the .dvi was removed.
12305
12306 2001-11-28  André Pönitz <poenitz@gmx.net>
12307
12308         * all the files from the change on 2001/11/26:
12309         use lyx::layout_type instead of LyXTextClass::size_type
12310         use lyx::textclass_type instead of LyXTextClassList::size_type
12311
12312 2001-11-29  Juergen Vigna  <jug@sad.it>
12313
12314         * text.C: added support for paragraph::isFreeSpacing()
12315
12316         * buffer.C: same as above
12317
12318         * paragraph.h: inserted isFreeSpacing() function to enable
12319         FreeSpacing inside InsetERT.
12320
12321         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12322         of the paragraph's in the cut/copy buffer to 0!
12323
12324         * text2.C (removeRow): remove the assert as it can!
12325
12326         * lyxtext.h: added helper function firstRow returning firstrow and
12327         made firstrow private again.
12328
12329         * BufferView2.C (lockInset): don't relock if we're already locked!
12330
12331         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12332         the only paragraph.
12333         (removeRow): added Assert::(firstrow)
12334
12335         * debug.C: forgot to add INSETTEXT here.
12336
12337 2001-11-28  Juergen Vigna  <jug@sad.it>
12338
12339         * sp_spell.C (initialize): changed error text to more general
12340         spellchecker command use (not only ispell!)
12341
12342         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12343
12344         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12345
12346 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12347
12348         * vspace.C: initialise lyxgluelength on failure
12349
12350 2001-11-28  Allan Rae  <rae@lyx.org>
12351
12352         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12353         declaration & definition that looks like a function declaration.
12354
12355 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12356
12357         * BufferView2.C (copy):
12358         (copyEnvironment): do not clear the selection when doing a copy.
12359
12360         * text.C (paintFirstRow): compilation fix
12361
12362 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12363
12364         * tabular.C (Latex): correct line count when writing latex.
12365
12366 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12367
12368         * paragraph_pimpl.h:
12369         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12370           bug a bit
12371
12372 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12373
12374         * text.C:
12375         * LColor.h:
12376         * LColor.C: change vfillline->added_space
12377
12378         * text.C: add markers and text for added space
12379
12380         * vspace.C: fix comment
12381
12382 2001-11-28  André Pönitz <poenitz@gmx.net>
12383
12384         * paragraph.C: whitespace changes
12385         * all the other files from the change on 2001/11/26:
12386         change *::pos_type into lyx::pos_type
12387
12388 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12389
12390         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12391         language of the document when inserting error insets.
12392
12393 2001-11-26  André Pönitz <poenitz@gmx.net>
12394
12395         * BufferView_pimpl.[Ch]:
12396         *       CutAndPaste.C:
12397         * buffer.[Ch]:
12398         * lyxcursor.[Ch]:
12399         * lyxfind.C:
12400         * lyxfunc.C:
12401         * lyxrow.[Ch]:
12402         * paragraph.[Ch]:
12403         * paragraph_pimpl.[Ch]:
12404         * sp_spell.C:
12405         * text.C:
12406         * text2.C: reduce header dependencies, introduce type for positions
12407
12408 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12409
12410         * <various>: change to use Alert.h
12411
12412 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12413
12414         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12415         when encountering an unknown token.
12416         (readLyXformat2): Show an error message if there were unknown tokens.
12417
12418 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12419
12420         * BufferView2.C:
12421         * BufferView_pimpl.C:
12422         * buffer.C:
12423         * paragraph.h:
12424         * text.C:
12425         * text2.C: use par->isInset()
12426
12427 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12428
12429         * paragraph_pimpl.h:
12430         * paragraph_pimpl.C: cleanup
12431
12432 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12433
12434         * text2.C (removeRow):
12435         * text.C (setHeightOfRow): remove useless (and costly) call to
12436         getRow.
12437
12438 2001-11-20  Allan Rae  <rae@lyx.org>
12439
12440         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12441         Now need Inset*::checkInsertChar() to return true for appropriate
12442         cases so that the characters in the minibuffer will actually be
12443         inserted.
12444
12445 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12446
12447         * text.C: change the order of the includes.
12448         (workWidth): initialize it at once.
12449         (workWidth): make maxw unsigned
12450         (setHeightOfRow): remove unused variable (inset)
12451         (selectSelectedWord): remove unused variable (inset)
12452         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12453
12454 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12455
12456         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12457         server is not running.
12458         (openConnection):
12459         (closeConnection): add debug info when server is disabled.
12460
12461         * ColorHandler.C (getGCForeground): send debug message to GUI
12462         channel.
12463
12464         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12465
12466         * kbmap.C (bind): modify because return conventions of
12467         kb_sequence::parse have changed.
12468
12469         * kbsequence.C (parse): only ignore spaces and not any stupid
12470         control character. This avoids tests like s[i] <= ' ', which are
12471         guaranteed to fail with 8bit characters and signed chars.
12472         Change return code to string::npos when there have been no error
12473         (0 was a bad idea when error is at first character)
12474
12475 2001-11-14  José Matos  <jamatos@fep.up.pt>
12476
12477         * buffer.h:
12478         * buffer.C (simpleDocBookOnePar): removed unused argument.
12479
12480 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12481
12482         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12483         insets which are part of a word. Paragraph::isLetter takes care of
12484         that now. Use Paragraph::isInset to identify insets.
12485         (selectSelectedWord): do not test for hyphenation break.
12486
12487         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12488         that protected spaces are considered as spaces.
12489
12490         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12491         Inset::isLetter.
12492
12493 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12494
12495         * lyxserver.h:
12496         * lyxserver.C: fix it. and small cleanup.
12497
12498 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12499
12500         * BufferView_pimpl.C: use inline helpers
12501
12502         * LaTeXFeatures.h:
12503         * LaTeXFeatures.C: fix typos
12504
12505         * Spacing.h:
12506         * Spacing.C: move spacing_string into class
12507
12508         * ToolbarDefaults.C: move stuff into namespace anon
12509
12510         * layout.h: update enum
12511
12512         * lyxfunc.C: use better debug
12513
12514         * minibuffer.h: fix typo
12515
12516         * debug.h:
12517         * debug.C:
12518         * WorkArea.C: add and use Debug::WORKAREA
12519
12520         * lyxtext.h:
12521         * text.C:
12522         * text2.C: code re-organisation, inline helpers
12523
12524 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12525
12526         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12527         std::vector.empty().
12528
12529 2001-11-09  Allan Rae  <rae@lyx.org>
12530
12531         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12532         '\n's after tables.  Tabular and ERT inset work now makes this no
12533         longer necessary.
12534
12535 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12536
12537         * minibuffer.h:
12538         * minibuffer.C: fix crash, improve drop-down completion
12539
12540 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12541
12542         * lyxserver.h:
12543         * lyxserver.C: invalidate fd's when doing endPipe()
12544
12545 2001-11-08  José Matos  <jamatos@fep.up.pt>
12546
12547         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12548         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12549
12550         * paragraph.h:
12551         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12552
12553 2001-11-07  José Matos  <jamatos@fep.up.pt>
12554
12555         * buffer.h:
12556         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12557         const qualifier.
12558
12559         * buffer.C (sgmlOpenTag):
12560         * buffer.C (sgmlCloseTag): removed debug info.
12561
12562         * buffer.h (sgmlOpenTag):
12563         * buffer.h (sgmlCloseTag): made public.
12564
12565 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12566
12567         * buffer.C (saveParamsAsDefaults):
12568         * lyx_cb.C (MenuLayoutSave): remove
12569
12570         * LyXAction.C (init):
12571         * commandtags.h:
12572         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12573
12574 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12575
12576         * buffer.C (setPaperStuff): removed from here...
12577
12578         * bufferparams.C (setPaperStuff): ... and moved there.
12579
12580 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12581
12582         * minibuffer.h:
12583         * minibuffer.C:
12584         * XFormsView.C: add support for drop-down completion
12585
12586 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12587
12588         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12589         commands.
12590
12591 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12592
12593         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12594         disabled.
12595
12596 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12597
12598         * lyx_main.C: change ref to known bugs
12599
12600 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12601
12602         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12603         to work around older babel problems.
12604
12605 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12606
12607         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12608
12609 2001-10-24  Juergen Vigna  <jug@sad.it>
12610
12611         * tabular-old.C (ReadOld): below variable changes reflected.
12612
12613         * tabular.[Ch]: added ltType struct for longtable header/footer
12614         defines and changed all instances where they are used. Added
12615         future support for double top/bottom rows.
12616
12617 2001-10-24  José Matos  <jamatos@fep.up.pt>
12618
12619         * buffer.h (docbookHandleCaption):
12620         * buffer.C (docbookHandleCaption): removed unused function.
12621         (makeDocBookFile): moved docbook supported version to v4.1.
12622
12623 2001-10-24  José Matos  <jamatos@fep.up.pt>
12624
12625         * tabular.h:
12626         * tabular.C (docbookRow): new function to export docbook code of a row.
12627         (DocBook): now honors the longtable flags.
12628
12629 2001-10-23  José Matos  <jamatos@fep.up.pt>
12630
12631         * LaTeXFeatures.h:
12632         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12633         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12634
12635         * buffer.C (makeLinuxDocFile):
12636         (makeDocBookFile): reworked the preamble, more clean, and with
12637         support for lyx defined entities. Changed the document declaration
12638         to be more XML friendly.
12639
12640         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12641         if we need to output XML that should be done with a filter.
12642
12643 2001-10-22  Juergen Vigna  <jug@sad.it>
12644
12645         * sp_pspell.h (class PSpell): add alive function needed in the
12646         controller to see if the spellchecker could be started.
12647
12648 2001-10-22  Juergen Vigna  <jug@sad.it>
12649
12650         * buffer.C (insertStringAsLines): modify the font for inserting
12651         chars in certain conditions by calling checkInsertChar(font).
12652
12653 2001-10-19  Juergen Vigna  <jug@sad.it>
12654
12655         * text.C (workWidth): use getRow instead of wrong algorithm.
12656         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12657
12658 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12659
12660         * lyxserver.h:
12661         * lyxserver.C:
12662         * lyx_main.h:
12663         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12664
12665 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12666
12667         * text.C (workWidth): do not search for the exact row when
12668         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12669         optimization for big documents.
12670
12671 2001-10-18  Juergen Vigna  <jug@sad.it>
12672
12673         * text.C (workWidth): new function with added Inset * parameter.
12674
12675 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12676
12677         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12678
12679         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12680         change return type of getColumnNearX.
12681
12682
12683         * text.C (changeRegionCase): use uppercase/lowercase instead of
12684         toupper/tolower.
12685         (leftMargin):
12686         (rightMargin): simplify code by factoring out the uses of
12687         textclasslist.
12688         (labelFill):
12689         (numberOfHfills):
12690         (setHeightOfRow):
12691         (appendParagraph): use Paragraph::size_type
12692
12693 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12694
12695         * vspace.C (asLatexString): add a missing break
12696
12697 2001-10-15  Herbert Voss  <voss@perce.de>
12698
12699         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12700
12701 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12702
12703         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12704         is not available.
12705
12706 2001-10-10  André Pönitz <poenitz@gmx.net>
12707
12708         * lyxfunc.C: removed greek_kb_flag.
12709
12710 2001-10-10  Herbert Voss  <voss@perce.de>
12711
12712         * lyx_main.C: delete global string help_lyxdir.
12713
12714 2001-10-09  Herbert Voss  <voss@perce.de>
12715
12716         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12717
12718         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12719
12720         * lyx_main.C: added global string help_lyxdir.
12721
12722         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12723
12724 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12725
12726         * lyxrc.C (set_font_norm_type): support iso8859-4
12727
12728 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12729
12730         * LaTeX.C (deplog): add another regex for MikTeX
12731
12732 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12733
12734         * lyxrc.C (set_font_norm_type): support iso8859-3
12735
12736 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12737
12738         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12739
12740         * LaTeXFeatures.C: remove special case of french and index
12741
12742         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12743         before \begin{document}). This solves several incompatibilities.
12744
12745 2001-10-03  Garst Reese  <reese@isn.net>
12746
12747         * lyx_cb.C: change CheckTex error msg.
12748
12749 2001-10-03  José Matos  <jamatos@fep.up.pt>
12750
12751         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12752
12753 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12754
12755         * .cvsignore: update
12756
12757         * lyx_main.C (commandLineVersionInfo): use new style version info.
12758
12759         * buffer.C (writeFile):
12760         (makeLaTeXFile):
12761         (makeLinuxDocFile):
12762         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12763
12764         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12765
12766         * version.h: update to use stuff in version.C
12767
12768         * version.C.in: new file. Contains version information determined
12769         at compile time. This is a merging of version.h and
12770         version_info.h.in.
12771
12772 2001-10-03  Juergen Vigna  <jug@sad.it>
12773
12774         * BufferView_pimpl.C (update): don't change "dirty" status in
12775         updateInset call.
12776
12777 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12778
12779         * WorkArea.C (c-tor): re-position version string slightly.
12780
12781 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12782
12783         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12784         revert to previous code.
12785
12786         WorkArea.[Ch]: (show, destroySplash): methods removed.
12787
12788         WorkArea.C: rework code so that it's an amalgam of the codes before and
12789         after the splash screen was moved to WorkArea.
12790
12791 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12792
12793         * lyxrc.C (read):
12794         * vspace.C (inPixels):
12795         (lyx_advance):
12796         * kbmap.C (bind):
12797         * buffer.C (insertStringAsLines):
12798         (asciiParagraph): fix types to be large enough
12799
12800         * lyxlex_pimpl.h: change member status from short to int
12801
12802         * layout.h: fix type of endlabeltype
12803
12804         * kbmap.C (bind):
12805         * kbsequence.C (parse): change return type to string::size_type
12806
12807         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12808         variable
12809
12810         * Bullet.C (bulletSize):
12811         (bulletEntry): do not use short ints as parameters
12812
12813         * BufferView2.C (insertLyXFile): change a char to an int.
12814
12815         * WorkArea.C (WorkArea): remove unneeded floats in computation
12816
12817 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12818
12819         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12820
12821         * paragraph.C (asString): Do not ignore newline/hfill chars when
12822         copying to the clipboard.
12823
12824 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12825
12826         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12827         after a multi-line inset.
12828
12829 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12830
12831         * paragraph.C (validate): Set NeedLyXFootnoteCode
12832
12833 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12834
12835         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12836         and decrease-error to decrease.
12837
12838 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12839
12840         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12841         it more readable (should be equivalent)
12842
12843 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12844
12845         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12846
12847 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12848
12849         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12850         of a cursor (row, etc.) after a character has been deleted
12851         (deleteEmptyParagraphMechanism): call the method above on _all_
12852         cursors held by the LyXText when a double space has been
12853         detected/deleted.
12854
12855 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12856
12857         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12858         pixmap.
12859         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12860
12861         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12862         background. Use greyOut() and the new show() methods to toggle between
12863         the foreground and background. Add code to remove the splash after
12864         its initial showing.
12865
12866         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12867         (create_forms): no longer call Dialogs::showSplash.
12868
12869 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12870
12871         * .cvsignore: add version_info.h
12872
12873 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12874
12875         * version_info.h.in: new file
12876
12877         * Makefile.am: add version_info.h.in
12878
12879         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12880         version_info.h instead of VERSION_INFO
12881
12882 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12883
12884         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12885         The ERT inset now returns string().
12886
12887 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12888
12889         * lyxtext.h, text.C (selectNextWord): renamed as
12890         selectNextWordToSpellcheck.
12891
12892         * text.C (selectNextWordToSpellcheck): Modified to not select
12893         words inside an ERT inset.
12894
12895 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12896
12897         * lyx_cb.C (MenuLayoutSave): change a bit the question
12898
12899         * sp_base.h: include <sys/types.h>
12900
12901 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12902
12903         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12904
12905 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12906
12907         * several files: fix typos in user-visible strings
12908
12909 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12910
12911         * text2.C (pasteSelection): do not set the selection, since it
12912         will be cleared later. Actually, the intent was to fix the way the
12913         selection was set, but I figured rmoving the code was just as good.
12914
12915 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12916
12917         * FontLoader.C (available): Check if font is available without
12918         loading the font.
12919
12920 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12921
12922         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12923
12924 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12925
12926         * lyxrc.[Ch]: added display_graphics variable and associated code.
12927
12928 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12929
12930         * bufferparams.C (hasClassDefaults): new method. Returns true if
12931         the buffer parameters correspond to known class defaults
12932
12933 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12934
12935         * XFormsView.C (show): set minimum size to the main window.
12936
12937 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12938
12939         * text2.C (copySelection):
12940         (cutSelection):
12941         * lyxfind.C (LyXReplace):
12942         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12943         LyXText::selectionAsString.
12944
12945         * paragraph.C (asString): add "label" argument to the second form
12946
12947         * text2.C (selectionAsString): add "label" argument and pass it to
12948         Paragraph::asString.
12949
12950 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12951
12952         * lyx_main.C (commandLineHelp): remove version information
12953
12954 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12955
12956         * lyx_main.C: add -version commandline option
12957
12958 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12959
12960         * paragraph.h: make the optional constructor arg required instead.
12961         some modifications to other files because of this.
12962
12963         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12964
12965         * lyxserver.C (C_LyXComm_callback): make it static
12966
12967         * lyx_main.C (error_handler): make it static
12968
12969         * lyx_gui.C (LyX_XErrHandler): make it static
12970
12971         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12972
12973         * WorkArea.C: make the extern "C" methods static.
12974
12975         * Makefile.am (lyx_LDADD): simplify
12976
12977 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12978
12979         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12980         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12981
12982         * LyXAction.C (init):
12983         * lyxfunc.C (dispatch): associated code removal.
12984
12985 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12986
12987         * lyxfont.h (isSymbolFont): shut off warning
12988
12989         * text.C (setHeightOfRow):
12990         (getVisibleRow): fix crash with empty paragraphs which have a
12991         bottom line
12992
12993 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12994
12995         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12996         code.
12997
12998 2001-09-04  José Matos  <jamatos@fep.up.pt>
12999         * buffer.C
13000         * buffer.h
13001         * tabular.C (docbook): rename docBook method to docbook.
13002
13003 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13004
13005         * Makefile.am: add dependencies to main.o.
13006
13007 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13008
13009         * FontLoader.C (available): Return false if !lyxrc.use_gui
13010
13011 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13012
13013         * FontInfo.C (query):
13014         * converter.C (view):
13015         * importer.C (Import):
13016         * exporter.C (Export): Can not -> cannot.
13017
13018 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13019
13020         * BufferView_pimpl.C: allow to create index inset even if
13021           string is empty
13022
13023 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13024
13025         * buffer.C (getLists): replace boost::tie code with an explicit pair
13026         as boost::tie can break some compilers.
13027
13028         * iterators.h: Added a std:: declaration to the return type of
13029         ParIterator::size.
13030
13031 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13032
13033         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13034           case.
13035
13036 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13037
13038         * iterators.[Ch]: New files. Provide paragraph iterators.
13039
13040         * buffer.C (changeLanguage): Use paragraph iterators.
13041         (isMultiLingual): ditto
13042
13043         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13044
13045 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13046
13047         * FontLoader.C: Support for cmr font.
13048
13049 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13050
13051         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13052         (available): New method.
13053
13054         * FontInfo.C (getFontname): Use scalable fonts even when
13055         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13056         found.
13057
13058 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13059
13060         * converter.C (Formats::view): reverted! Incorrect fix.
13061
13062 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13063
13064         * converter.C (Formats::view): only output the -paper option
13065         if the dvi viewer is xdvi, thereby fixing bug #233429.
13066
13067 2001-08-23  Herbert Voss  <voss@perce>
13068
13069         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13070
13071 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13072
13073         * Spacing.h (Spacing): Set space to Default on in the default
13074         constructor.
13075
13076 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13077
13078         * vc-backend.h (RCS::versionString): add RCS to version
13079         (CVS::versionString): add CVS to version
13080
13081         * vc-backend.C (scanMaster): do not add CVS to version.
13082         (scanMaster): do not add RCS to version
13083
13084         * lyxvc.C (versionString): new method
13085
13086         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13087
13088 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13089
13090         * Spacing.C (set): initialize fval
13091
13092 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13093
13094         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13095         " or \.
13096
13097 2001-08-16  Juergen Vigna  <jug@sad.it>
13098
13099         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13100
13101 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13102
13103         * BufferView_pimpl.C:
13104         * figureForm.C:
13105         * lyxtext.h:
13106         * text2.C: setParagraph takes linespacing now
13107
13108 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13109
13110         * LyxAction.C: add internal LFUN_CITATION_INSERT
13111
13112         * LyXView.C: actually apply fix
13113
13114         * bufferlist.C: fix open non-existent file
13115
13116         * lyxfind.C: fix indentation
13117
13118         * lyxfunc.C: remove unneeded assert, fix typo
13119
13120 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13121
13122         * MenuBackend.C: use "Floatname List"
13123
13124 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13125
13126         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13127         when converting LaTeX layout to insetERT.
13128         Generate a non-collapsed float when reading old float
13129
13130 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13131
13132         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13133         ERT insets.
13134
13135 2001-08-13  Juergen Vigna  <jug@sad.it>
13136
13137         * text.C (fill): return 0 instead of 20 as this seems to be the more
13138         correct value.
13139
13140 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13141
13142         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13143         lyxrc.font_norm.
13144
13145 2001-08-13  Juergen Vigna  <jug@sad.it>
13146
13147         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13148         casesensitive off.
13149         (SearchBackward): comment out the unlocking of the inset_owner this
13150         should not be needed!
13151
13152 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13153
13154         * Many files: Remove inherit_language, and add latex_language
13155
13156         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13157         collapsible insets.
13158
13159 2001-08-10  Juergen Vigna  <jug@sad.it>
13160
13161         * text.C (prepareToPrint): fixed hfill-width in draw!
13162
13163         * BufferView2.C (selectLastWord): save the selection cursor as this
13164         now is cleared in the function LyXText::clearSelection!
13165
13166 2001-08-08  Juergen Vigna  <jug@sad.it>
13167
13168         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13169         BACKSPACE type functions.
13170
13171         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13172         is only cutted from the document but not put in the cut-buffer, where
13173         still the old stuff should be.
13174
13175         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13176
13177         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13178
13179         * tabular.C (SetWidthOfCell): fixed special case where the width
13180         was not updated!
13181         (LeftLine): handle '|' in align_special.
13182         (RightLine): ditto
13183         (LeftAlreadyDrawed): ditto
13184         (SetWidthOfCell): ditto
13185
13186 2001-08-07  Juergen Vigna  <jug@sad.it>
13187
13188         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13189
13190 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13191
13192         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13193         * lyxlex.[hC]: ditto
13194
13195 2001-08-06  Juergen Vigna  <jug@sad.it>
13196
13197         * text.C (getVisibleRow): fix up row clearing a bit.
13198
13199 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13200
13201         * minibuffer.C: make sure the X server sees the changes in the input.
13202
13203 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13204
13205         * paragraph.C (getFont): split into...
13206         (getLabelFont): this
13207         (getLayoutFont): and this
13208         * paragraph_pimpl.C (realizeFont): calling this
13209
13210         * text2.C (getFont): split into...
13211         (getLayoutFont): this
13212         (getLabelFont): and this
13213         (realizeFont): all three calling this
13214
13215         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13216         files where used.
13217
13218 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13219
13220         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13221
13222 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13223
13224         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13225         layouts from the Quote inset insertion.
13226
13227 2001-08-03  Juergen Vigna  <jug@sad.it>
13228
13229         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13230
13231         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13232         only if status not is already CHANGED_IN_DRAW (second level).
13233
13234         * text.C (draw): don't set the need_break_row when inside an
13235         InsetText LyXText.
13236
13237 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13238
13239         * buffer.C (parseSingleLyXformat2Token): handle more latex
13240         conversion cases.
13241
13242         * bufferview_funcs.[hC]: change function names to
13243         begin with small char, adjust other files.
13244
13245 2001-08-02  André Pönitz <poenitz@gmx.net>
13246
13247         * lyxfunc.C:
13248         BufferView_pimpl.C: remove broken special code for math-greek
13249
13250 2001-08-02  Juergen Vigna  <jug@sad.it>
13251
13252         * BufferView_pimpl.C (update): redone this function so that we
13253         update the text again if there was a CHANGE_IN_DRAW.
13254
13255         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13256         (drawFromTo): added a new internal bool which is used by draw() and
13257         redraw() function.
13258         (general): some cursor drawing problems fixed.
13259
13260 2001-08-01  Juergen Vigna  <jug@sad.it>
13261
13262         * lyxfind.C (LyXFind): fixed
13263         (SearchForward): ditto
13264         (SearchBackward): ditto
13265
13266         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13267         spurius drawing of the cursor in the main area.
13268
13269         * text2.C (status): small fix which could lead to a segfault!
13270         (clearSelection): remove unneeded BufferView param.
13271
13272 2001-08-01  André Pönitz <poenitz@gmx.net>
13273
13274         * lyxfunc.C: small change due to changed mathed interface
13275
13276 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13277
13278         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13279
13280 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13281
13282         * lyxfunc.c: fail gracefully if file doesn't exist
13283
13284         * LyXSendto.C:
13285         * buffer.C:
13286         * lyxfunc.C:
13287         * BufferView_pimpl.C: IsDirWriteable() proto changed
13288
13289         * LyXView.C: fix updateWindowTitle() to store the last title
13290
13291 2001-07-31  Juergen Vigna  <jug@sad.it>
13292
13293         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13294         the font (wrong since using of Paragraph::highestFontInRange).
13295
13296         * paragraph.C (highestFontInRange): added a default_size parameter.
13297
13298         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13299         (setHeightOfRow): reformat
13300
13301 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13302
13303         * converter.[hC] + affected files: move to (inital-char)lowercase
13304         function names.
13305
13306         * ParagraphParameters.C (ParagraphParameters): remove commented code
13307
13308         * PainterBase.[Ch]: remove commented code
13309
13310         * LaTeXFeatures.h: add "bool floats" for float.sty
13311
13312         * LaTeXFeatures.C (LaTeXFeatures): init floats
13313         (require): handle float
13314         (getPackages): do it with floats
13315
13316 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13317
13318         * BufferView_pimpl.C (Dispatch): improve handling of
13319         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13320
13321         * commandtags.h: #include lyxfont.h here temporarily to avoid
13322         keybinding bug.
13323
13324         * bufferlist.h: include LString.h here.
13325
13326 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13327
13328         * text2.C (getStringToIndex): new method.
13329
13330 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13331
13332         * *: Reduced header file dependencies all over.
13333
13334 2001-07-30  Baruch Even  <baruch@lyx.org>
13335
13336         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13337
13338 2001-07-29  Baruch Even  <baruch@lyx.org>
13339
13340         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13341
13342 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13343
13344         * ParameterStruct.h (endif): add a default constructor to make
13345         sure that all variables is initialized.
13346
13347         * ParagraphParameters.C (ParagraphParameters): adjust
13348
13349 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13350
13351         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13352         index; also, check that there is something to index, and that it
13353         does not span over several paragraphs.
13354         (doubleClick): use WHOLE_WORD_STRICT for double click.
13355
13356         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13357
13358         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13359         scheme.
13360
13361 2001-07-26  Baruch Even  <baruch@lyx.org>
13362
13363         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13364         an InsetFig figure, backwards compatible reading of old figure code.
13365
13366 2001-07-27  Juergen Vigna  <jug@sad.it>
13367
13368         * text2.C: font.realize function adaption.
13369
13370         * text.C (draw): add a warnings lyxerr text if needed.
13371
13372         * layout.C: font.realize function adaption.
13373
13374         * language.C: add inherit_language and implement it's handlings
13375
13376         * bufferview_funcs.C (StyleReset): remove language parameter from
13377         font creation (should be language_inherit now).
13378
13379         * bufferparams.C (writeFile): handle ignore_language.
13380
13381         * paragraph.C (getFontSettings): the language has to be resolved
13382         otherwise we have problems in LyXFont!
13383
13384         * lyxfont.C (lyxWriteChanges): added document_language parameter
13385         (update): removed unneeded language parameter
13386
13387         * paragraph.C (validate): fixed wrong output of color-package when
13388         using interface colors for certain fonts in certain environments,
13389         which should not seen as that on the final output.
13390
13391 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13392
13393         * BufferView_pimpl.C:
13394         * Thesaurus.h:
13395         * Thesaurus.C:
13396         * Makefile.am:
13397         * commandtags.h:
13398         * LyXAction.C: add thesaurus support
13399
13400         * lyxfind.h:
13401         * lyxfind.C: add "once" parameter, for thesaurus, to not
13402           move to the next match
13403
13404 2001-07-26  Juergen Vigna  <jug@sad.it>
13405
13406         * lyxfont.C (realize): honor ignore_language too!
13407         (resolved): ditto.
13408
13409         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13410
13411         * text.C (draw): one place more for ignore_language to not draw
13412         itself!
13413
13414 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13415
13416         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13417
13418 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13419
13420         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13421         the minipage conversion problem.
13422
13423 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13424
13425         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13426         insert an inset.
13427
13428 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13429
13430         * BufferView.h: don't forward declare WorkArea
13431
13432         * BufferView.C: don't include WorkArea.h
13433
13434 2001-07-25  André Pönitz <poenitz@gmx.net>
13435
13436         * commandtags.h:
13437         * LyXAction.C:
13438         * lyxfunc.C:  new LFUN 'math-space'
13439
13440         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13441
13442 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13443
13444         * text2.C (toggleInset): call open/close
13445
13446 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13447
13448         * lyxfunc.C (dispatch): add debug for the disabled case
13449
13450         * font.C (buttonText): make similar to rectText
13451
13452         * buffer.C (readInset): comment out parsing of insetlist and
13453         insttheorem
13454
13455         * PainterBase.C (rectText): small correction
13456
13457         * BufferView_pimpl.C: comment out insettheorem and insetlist
13458         * LyXAction.C: ditto
13459         * commandtags.h: ditto
13460
13461 2001-07-24  Juergen Vigna  <jug@sad.it>
13462
13463         * text.C (draw): honor the ignore_language.
13464
13465         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13466
13467 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13468
13469         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13470         char inset.
13471
13472 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13473
13474         * lyxtext.h: remove unused (and unimplemented) methods
13475
13476 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13477
13478         * text.C (getVisibleRow): honor background color
13479
13480         * PainterBase.h:
13481         * Painter.h: remove default color argument for fillRectangle
13482
13483         * text.C (backgroundColor): new method
13484
13485 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13486
13487         * text.C (getVisibleRow): adjust
13488
13489         * font.[Ch] (rectText): new method, metrics
13490         (buttonText): new method, metrics
13491
13492         * PainterBase.[hC]: make rectText and buttonText always draw and take
13493         fewer paramteres.
13494
13495 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13496
13497         * ToolbarDefaults.C (read):
13498         * MenuBackend.C (read): allow escaping in all strings
13499
13500         * BufferView_pimpl.C (insertAndEditInset): new method.
13501         (Dispatch): use insertAndEditInset whenever appropriate.
13502
13503         * BufferView_pimpl.C (insertNote): removed
13504
13505         * BufferView_pimpl.C (smartQuote): new method, moved from
13506         BufferView; if an insetquote cannot be inserted, insert a '"'
13507         character instead.
13508
13509         * BufferView2.C: remove insertCorrectQuote();
13510
13511         * lyxfunc.C (getStatus): Add support for all remaingin
13512         inset-insert lfuns.
13513
13514         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13515
13516         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13517         command (necessary to pass " as parameter of self-insert.
13518
13519         * text.C (selectWordWhenUnderCursor):
13520         (selectWord): add word_location parameter
13521         (selectWordWhenUnderCursor): same + remove special code for word
13522         boundary.
13523         (selectNextWord): use kind() to guess type of insetspecialchar,
13524         not latex().
13525
13526         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13527         (insertErtContents): create ert insets as collapsed.
13528         (readInset): better compatibility code for Info inset.
13529
13530 2001-07-20  Juergen Vigna  <jug@sad.it>
13531
13532         * lyxfunc.C (dispatch): use always LyXFind now!
13533
13534         * text2.C (init): add a reinit flag so that the LyXText can be
13535         reinited instead of deleted and reallocated (used in InsetText).
13536
13537         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13538
13539         * text.C: ditto
13540
13541         * text2.C: ditto
13542
13543 2001-07-18  Juergen Vigna  <jug@sad.it>
13544
13545         * text.C (selectNextWord): handle insets inside inset by calling
13546         always the bv->text functions so that we can go up the_locking_inset!
13547
13548         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13549         in strange locations when inside an inset!
13550
13551         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13552         handling to include insets.
13553
13554         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13555
13556 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13557
13558         * LyXAction.C (init):
13559         * commandtags.h:
13560         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13561         LIGATURE_BREAK, since the name is so stupid.
13562
13563 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13564
13565         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13566         InsetInfos.
13567
13568         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13569
13570         * sp_form.[Ch]: remove.
13571
13572         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13573
13574         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13575         InsetInfo.
13576
13577         * src/buffer.C (readInset): ditto.
13578
13579 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13580
13581         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13582         menuSeparator(), endOfSentenceDot(), ldots() and
13583         hyphenationPoint(), which are therefore removed.
13584         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13585
13586         * LyXAction.C (init):
13587         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13588
13589         * paragraph.C (getWord): removed.
13590
13591         * BufferView_pimpl.C (Dispatch): use last word or selection for
13592         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13593
13594         * lyx_main.C (queryUserLyXDir): do not ask before creating
13595         user_dir, except if it has been named explicitely.
13596
13597 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13598
13599         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13600         a document of zero size.
13601
13602 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13603
13604         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13605         approriately in the c-tor and in require().
13606         (getPackages): output the appropriate LaTeX for natbib support.
13607
13608         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13609         variables "use_natbib" and "use_numerical_citations" when reading the
13610         LyX file.
13611         (readInset): read the various natbib cite commands.
13612         (validate): white-space change.
13613
13614         * bufferparams.[Ch]: new variables "bool use_natbib" and
13615         "bool use_numerical_citations".
13616         (writeFile): output them in the LyX file.
13617
13618 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13619
13620         * lyxfunc.C (getStatus): add support for all the inset insertion
13621         commands.
13622
13623         * text2.C (insertInset):
13624         * paragraph.C (insetAllowed):
13625         * BufferView_pimpl.C (insertInset): update to take in account the
13626         renaming of insertInsetAllowed
13627
13628         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13629
13630         * text2.C (getInset): new method. returns inset at cursor position.
13631
13632         * BufferView_pimpl.C (Dispatch): changes because of this.
13633
13634         * LyXAction.C (init): rename open-stuff to inset-toggle.
13635
13636         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13637
13638         * text2.C (toggleInset): renamed from openStuff; use
13639         Inset::open().
13640
13641 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13642
13643         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13644
13645         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13646
13647 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13648
13649         * buffer.C (readLyXformat2): Add filename to the error dialog
13650
13651 2001-07-18  Juergen Vigna  <jug@sad.it>
13652
13653         * tabular.C (GetCellNumber): put an assert here instead of the check!
13654
13655 2001-07-17  Juergen Vigna  <jug@sad.it>
13656
13657         * BufferView_pimpl.C (toggleSelection): adapted too.
13658
13659         * text.C (selectNextWord): adapted for use with insets.
13660         (selectSelectedWord): ditto
13661
13662 2001-07-17  Juergen Vigna  <jug@sad.it>
13663
13664         * sp_spell.C (PSpell): fix initialitation order.
13665
13666 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13667
13668         * paragraph.C: spacing
13669
13670 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13671
13672         * sp_spell.C: repair language selection for pspell
13673
13674 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13675
13676         * lyxfunc.h: change more methods to begin with lower char.
13677
13678 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13679
13680         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13681         for unknown layouts.
13682
13683 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13684
13685         * buffer.C (readLyXformat2): Generate an error dialog if there are
13686         unknown layouts.
13687
13688 2001-07-16  Juergen Vigna  <jug@sad.it>
13689
13690         * sp_spell.C: always compile ISpell part.
13691
13692         * lyxrc.C: added use_pspell entry and it's handling.
13693
13694 2001-07-13  Juergen Vigna  <jug@sad.it>
13695
13696         * sp_spell.C: removed double includes.
13697
13698 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13699
13700         Consistent use of Lsstream.h:
13701         * Lsstream.h: added using std::stringstream for consistencies sake.
13702
13703         * buffer.C: removed using std::stringstream
13704
13705         * lyxfont.C (stateText):
13706         * paragraph.C (asString):
13707         * text.C (selectNextWord, selectSelectedWord):
13708         * text2.C (setCounter):
13709         * vspace.C (asString, asLatexString):
13710         std::ostringstream -> ostringstream.
13711
13712 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13713
13714         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13715         * commandtags.h: add LFUN_HELP_ABOUTLYX
13716         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13717
13718 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13719
13720         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13721         cursorToggle()
13722         * lyx_gui_misc.C: remove spellchecker
13723         * lyxfunc.C: showSpellchecker
13724         * sp_base.h: added
13725         * sp_ispell.h: added
13726         * sp_pspell.h: added
13727         * sp_spell.C: added
13728         * sp_form.[Ch]: removed
13729         * spellchecker.[Ch]: removed
13730
13731 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13732
13733         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13734         is set.
13735         (simpleTeXSpecialChars): Simply print the input character without
13736         any special translation if pass_thru is set.
13737
13738         * layout.h: Added bool pass_thru to layout class for being able to
13739         implement pass through of a paragraph for Literate Programming.
13740
13741         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13742         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13743         * layout.C (Read): add "passthru" to list of layout tags and add
13744         code to set the pass_thru boolean when it is read.
13745
13746 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13747
13748         * trans_decl.h: remove allowed from KmodInfo
13749
13750         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13751         remove allowed code
13752         (Load): adjust
13753
13754         * paragraph_pimpl.C (erase): use boost::prior
13755
13756         * Painter.C (text): use data() instead of c_str() when length is
13757         also provided.
13758         * WorkArea.C (putClipboard): ditto
13759         * font.h (width): ditto
13760
13761         * BufferView2.C: use it-> instead of (*it). for iterators
13762         * texrow.C: ditto
13763         * paragraph_pimpl.C: ditto
13764         * paragraph.C: ditto
13765         * minibuffer.C: ditto
13766         * language.C: ditto
13767         * kbmap.C: ditto
13768         * encoding.C: ditto
13769         * counters.C: ditto
13770         * converter.C: ditto
13771         * chset.C: ditto
13772         * Variables.C: ditto
13773         * TextCache.C: ditto
13774         * MenuBackend.C: ditto
13775         * LyXAction.C: ditto
13776         * LColor.C: ditto
13777         * FloatList.C: ditto
13778         * DepTable.C: ditto
13779         * ColorHandler.C (LyXColorHandler): ditto
13780
13781 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13782
13783         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13784
13785         * text2.C (openStuff): reintroduce this method (which had been
13786         nuked in NEW_INSETS frenzy).
13787
13788         * lyxfunc.C (Dispatch): when an action has not been handled, use
13789         its name in the error message, not its number.
13790
13791         * paragraph.C (inInset): change method name to begin with lowercase.
13792
13793         * undo_funcs.C:
13794         * text2.C: updates because of this.
13795
13796 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13797
13798         * ToolbarDefaults.C (add): add spaces in error message
13799
13800 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13801
13802         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13803         (readLyXformat2): rename return_par to first_par, use lyxlex's
13804         pushToken and remove the manual push handling.
13805         (parseSingleLyXformat2Token): add another ert comp. variable:
13806         in_tabular, rename return_par to first_par. handle newlines better
13807
13808 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13809
13810         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13811
13812 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13813
13814         * text2.C (getParFromID): removed
13815
13816         * buffer.C (getParFromID): new method moved form lyxtext.
13817         * BufferView2.C (insertErrors): adjust
13818         (setCursorFromRow): adjust
13819         * BufferView_pimpl.C (restorePosition): adjust
13820         * lyxfunc.C (Dispatch): adjust
13821         * undo_funcs.C (textUndo): adjust
13822         (textRedo): adjust
13823         (textHandleUndo): adjust
13824         (textHandleUndo): adjust
13825
13826 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13827
13828         * buffer.C: up' the LYX_FORMAT
13829
13830         * lyxfont.h: turn NO_LATEX on as default
13831
13832         * buffer.C (insertErtContents): new methods of tex style compability.
13833         (parseSingleLyXformat2Token): use it several places.
13834         * tabular.C (OldFormatRead): and here
13835
13836 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13837
13838         * text2.C: remove some commented code.
13839         reindent file.
13840
13841         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13842         * trans.C: changes because of the above.
13843
13844 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13845
13846         * text2.C (setCounter): Fix counters bug with bibliography layout.
13847
13848 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13849
13850         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13851         own member functions
13852         (simpleTeXSpecialChars): ditto
13853
13854 2001-07-06  Juergen Vigna  <jug@sad.it>
13855
13856         * a lot of files: changed the access to LyXText::status and the
13857         call of undo-functions.
13858
13859         * undo.[Ch]: added a inset_id to the undo informations.
13860
13861         * undo_funcs.[Ch]: added and moved here all undo functions.
13862
13863         * lyxtext.h: give the status enum a weight, made status_ a private
13864         variable and made accessor functions for it, removed the whole bunch
13865         of undo-functions as they are now in their own file, make some
13866         functions publically available. Added function ownerParagraph with
13867         int parameter.
13868
13869         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13870         made InInset() a const function, added getParFromID() function.
13871
13872         * buffer.[Ch]: added const version for inset_iterator functions,
13873         added getInsetFromID() function.
13874
13875         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13876         changed undo functions for new version.
13877
13878 2001-07-05  Juergen Vigna  <jug@sad.it>
13879
13880         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13881         unknow mechanism does not call the proper constructor but only this
13882         one also if I request the other!?
13883
13884 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13885
13886         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13887
13888         * text2.C (LyXText): use initialization lists.
13889
13890         * lyxtext.h (Selection): initialize set_ and mark_
13891         (init): remove method
13892
13893 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13894
13895         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13896
13897 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13898
13899         * screen.[Ch]: change method names to begin with lowercase
13900
13901         * BufferView_pimpl.C (updateScrollbar): simplify further and
13902         hopefully make it a bit faster.
13903
13904 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13905
13906         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13907         calling directly xforms functions.
13908
13909         * Painter.C (Painter):
13910         * lyx_cb.C (MenuWrite):
13911         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13912         fl_display.
13913
13914         * lyx_gui.C: remove bogus guiruntime extern declaration.
13915
13916 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13917
13918         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13919         in NEW_INSETS
13920         (redoDrawingOfParagraph): ditto
13921         (redoParagraphs): ditto
13922         (cutSelection): don't create a object for CutAndPaste use the
13923         static method directly
13924         (pasteSelection): ditto
13925
13926         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13927         LyXview (+ rename)
13928
13929 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13930
13931         * modifications to some other files because of this.
13932
13933         * Makefile.am (lyx_SOURCES): add XFormsView
13934
13935         * XFormsView.[Ch]: new files
13936
13937         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13938         the main window. Move the gui dependent stuff to XFormsView
13939
13940 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13941
13942         * tabular.C (GetCellInset): update cur_cell also in the row/col
13943         version of this function.
13944
13945         * lyxfunc.C: no need to include figure_form.h here.
13946
13947         * FontLoader.h:
13948         * lyxfunc.h:
13949         * lyxscreen.h:
13950         * text2.C:
13951         * lyxvc.C: no need to include forms.h here.
13952
13953 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13954
13955         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13956
13957         * lyxfunc.C (Dispatch):
13958         * Spacing.C (set):
13959         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13960         constructor argument.
13961
13962 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13963
13964         * paragraph.C (Paragraph): dont't clear, and just set layout.
13965         (makeSameLayout): use params's copy contructor.
13966
13967         * ParagraphParameters.[Ch] (makeSame): delete method
13968
13969 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13970
13971         * Variables.[Ch]: fix indentation, rename set to isSet
13972
13973 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13974
13975         * lyxfunc.C (Dispatch): fix typo
13976
13977 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13978
13979         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13980         upper_bound.
13981
13982         * bufferlist.C: include assert.h for emergencyWrite().
13983
13984 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13985
13986         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13987           give up at last (bug #425202) !
13988
13989 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13990
13991         * lyx_gui_misc.C:
13992         * sp_form.h:
13993         * sp_form.C:
13994         * spellchecker.h:
13995         * spellchecker.C: strip spellchecker options and bring up
13996           preferences tab instead
13997
13998 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13999
14000         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14001         the istringstream constructor
14002
14003 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14004
14005         * paragraph.C (getLayout): fix return value
14006
14007         * paragraph.h: do not declare getLayout as inline.
14008
14009         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14010
14011 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14012
14013         * lyxcursor.h (operator<): new func
14014         (operator>): new func
14015         (operator>=): new func
14016         (operator<=): new func
14017
14018         * text.C (changeCase): use selection.start and selection.end
14019         (changeRegionCase): require from to be <= to. Require par to be a
14020         valid paragraph.
14021
14022         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14023
14024 2001-06-27  Juergen Vigna  <jug@sad.it>
14025
14026         * text.C (cursorLeftOneWord): changed to return the cursor and added
14027         overlay with BufferView * parameter which calls this one.
14028         (getWord): added
14029         (selectWord): use new getWord function.
14030         (changeCase): renamed from changeWordCase as and extended to work
14031         also on selections.
14032
14033         * lyxtext.h: added enum word_location
14034
14035         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14036         changeCase as this operates now also on selections.
14037
14038 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14039
14040         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14041
14042         * many files: send debug output to Debug::INFO instead of
14043         Debug::ANY.
14044
14045         * converter.C (View):
14046         (Convert):
14047         (Move): send debug output to Debug::FILES instead of console.
14048
14049 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14050
14051         * lyxfunc.C (getStatus): use func_status
14052
14053         * func_status.h: new header, describing the results of
14054         LyXFunc::getStatus;
14055
14056         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14057         LFUN_MATH_HALIGN.
14058
14059 2001-06-25  The LyX Project  <jug@sad.it>
14060
14061         * buffer.C (sgmlOpenTag):
14062         (sgmlCloseTag):
14063         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14064
14065 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14066
14067         * text2.C: remove some dead code
14068
14069         * tabular.C (GetCellInset): store the last cell checked (gotten)
14070
14071         * tabular.h: add the helper for the speedup
14072
14073         * lyxtext.h: remove some dead code
14074
14075 2001-06-26  The LyX Project  <Asger>
14076
14077         * paragraph.C: Change export to LaTeX of alignment to
14078         \begin{center} and family for better roundtrip work with reLyX.
14079
14080         * Tune the math drawing a bit.
14081
14082 2001-06-25  The LyX Project  <Asger>
14083
14084         * LColor.C (LColor): New color for math background. New color
14085         for buttons.
14086
14087 2001-06-25  The LyX Project  <jug@sad.it>
14088
14089         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14090
14091         * lyxfunc.C (Open):
14092         * bufferlist.C (newFile): do not restrict to files ending with
14093         .lyx
14094
14095         * BufferView_pimpl.C (MenuInsertLyXFile):
14096
14097 2001-06-24  The LyX Project  <jug@sad.it>
14098
14099         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14100         of compare_no_case
14101
14102 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14103
14104         * lyxtext.h: rename most methods to begin with a small char.
14105         Lots of changes because of this.
14106
14107         * paragraph.C (Paragraph): do not call fitToSize
14108         (erase): call Pimpl::erase
14109         (insertChar): call Pimpl::insertChar
14110         (insertInset): call Pipl::insertInset
14111         (breakParagraph): do not call fitToSize
14112         (breakParagraphConservative): do not call fitToSize
14113         (fitToSize): remove method
14114
14115         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14116
14117 2001-06-24  The LyX Project  <Asger>
14118
14119         * Fix Qt compilation^2
14120
14121 2001-06-24  The LyX Project  <jug@sad.it>
14122
14123         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14124         depthHook(getDepth()-1).
14125
14126         * paragraph.h:
14127         * ParagraphParameters.h:
14128         * ParameterStruct.h: change type of depth to unsigned int ==
14129         depth_type. Many adaptations to other files before of that.
14130
14131 2001-06-24  The LyX Project  <Asger>
14132
14133         * Fix Qt compilation.
14134
14135 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14136
14137         * paragraph.h: renamed several methods to begin with small letter.
14138         several changes to many parts of the code because of this.
14139
14140 2001-06-23  The LyX Project  <jug@sad.it>
14141
14142         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14143         rewritten to discard all double spaces when KeepEmpty is off
14144         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14145         to only handle newlines but not fiddle with spaces and friends.
14146
14147         * lyxfunc.C (MenuNew): when doing 'new from template', use
14148         template_path as default directory
14149
14150 2001-06-23  The LyX Project  <Asger>
14151
14152         * Clean-up of header file includes all over
14153         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14154
14155 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14156
14157         * paragraph.h: renamed from lyxparagraph.h
14158
14159 2001-06-23  Asger  <lyx@violet.home.sad.it>
14160
14161         * Buffer.h: Removed Buffer::resize
14162         * BufferList.h: Removed BufferList::resize
14163         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14164         the document lazily when we change the width, or the font settings.
14165
14166 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14167
14168         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14169
14170 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14171
14172         * buffer.h: remove out of date comment
14173
14174 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14175
14176         * lyxscreen.h:
14177         * screen.C: fix "theoretical" GC leak
14178
14179 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14180
14181         * LaTeX.C (scanAuxFile):
14182         (deplog): remove trailing \r when reading stream (useful under
14183         win32)
14184
14185 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14186
14187         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14188         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14189         and BufferView::theLockingInset(Inset*), so should use them and not
14190         access bv_->text->the_locking_inset directly.
14191
14192         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14193
14194 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14195
14196         * Makefile.am:
14197         * tex-defs.h: remove old unused file
14198
14199 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14200
14201         * BufferView_pimpl.C: fix typo, remove minibuffer message
14202           when buffer has loaded
14203
14204 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14205
14206         * lyxfunc.C (Dispatch): use stringstream
14207         (MenuNew): use stringstream
14208         (Open): use stringstream
14209
14210         * importer.C (Import): use stringstream
14211
14212         * bufferview_funcs.C (CurrentState): use stringstream
14213
14214         * LaTeX.C (run): use stringstream
14215
14216         * BufferView_pimpl.C (savePosition): use stringstream
14217         (restorePosition): use stringstream
14218         (MenuInsertLyXFile): use stringstream
14219
14220 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14221
14222         * BufferView.C:
14223         * Bullet.C:
14224         * ColorHandler.C:
14225         * FontInfo.C:
14226         * FontLoader.C:
14227         * LColor.C:
14228         * LaTeXFeatures.C:
14229         * Painter.C:
14230         * gettext.C:
14231         * lyx_gui_misc.C:
14232         * lyxserver.C:
14233         * vspace.C: removed // -*- C++ -*- as first line.
14234
14235         * lyxfind.h:
14236         * version.h: added // -*- C++ -*- as first line.
14237
14238 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14239
14240         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14241
14242         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14243         of string
14244
14245 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14246
14247         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14248         of floats.
14249
14250 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14251
14252         * gettext.C: include LString.h even when --disable-nls is on.
14253
14254 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14255
14256         * converter.h (Get): changed argument type from int to
14257         FormatList::size_type to avoid unnecessary conversion.
14258
14259         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14260         before using it.
14261
14262 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14263
14264         * gettext.h: include LString.h even when --disable-nls is on.
14265
14266 2001-06-07  Juergen Vigna  <jug@sad.it>
14267
14268         * text.C (BreakAgain): subst spaces with tabs.
14269
14270         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14271         (resizeInsetsLyXText): set force on resizeLyXText.
14272
14273 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14274
14275         * gettext.h (gettext_init):
14276         (locale_init): use a real definition instead of a macro
14277
14278 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14279
14280         * Bufferview_pimpl.C:
14281         * LColor.h:
14282         * LColor.C: further lcolor tidies
14283
14284 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14285
14286         * BufferView_pimpl.C (updateScrollbar): simplify.
14287
14288         * BufferView2.C: don't include insets/insetinfo.h, change
14289         prototype for insertInset and call the Pimpl version. let
14290         updateInset call Pimpl version.
14291
14292         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14293         gotoInset to BufferView::Pimpl
14294
14295 2001-06-01  Juergen Vigna  <jug@sad.it>
14296
14297         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14298         inside a LockingInset (is the update needed at all?).
14299
14300 2001-05-31  Juergen Vigna  <jug@sad.it>
14301
14302         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14303         here not the old one otherwise how should we compare it afterwards
14304         if it's the same!
14305
14306 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14307
14308         * lyxfont.C:
14309         * tabular.C:
14310         * tabular-old.C:
14311         * FontInfo.C: bring C functions into global namespace when
14312         necessary
14313
14314 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14315
14316         * LString.h: make sure config.h has been loaded before LString.h.
14317
14318         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14319         (one for each char read by EatLine!).
14320
14321         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14322         variables.
14323
14324 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14325
14326         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14327         to the same as the par we break from
14328
14329 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14330
14331         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14332
14333         * MenuBackend.C (expand): also create menu entries for wide
14334         versions of the floats.
14335
14336         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14337
14338         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14339
14340         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14341         frontends/Makefile.am
14342
14343         * text2.C: adjust
14344         * text.C: adjust
14345
14346
14347         * tabular.C (getTokenValue): add std::
14348
14349         * tabular-old.C (getTokenValue): add std::
14350         (getTokenValue): ditto
14351         (getTokenValue): ditto
14352
14353         * screen.C (ToggleSelection): adjust
14354
14355         * lyxtext.h: put selection cursors inside a Selection struct.
14356
14357         * lyxfunc.C (moveCursorUpdate): adjust
14358
14359         * lyxfont.C (latexWriteStartChanges): add std::
14360
14361         * lyxfind.C: adjust
14362
14363         * font.h: delete with(char const *, LyXFont const &)
14364
14365         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14366
14367         * FontInfo.C (getFontname): add std::
14368
14369         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14370         (workAreaButtonPress): adjust
14371         (tripleClick): adjust
14372         (update): adjust
14373         (moveCursorUpdate): adjust
14374         (Dispatch): adjust
14375
14376         * BufferView2.C (gotoInset): adjust
14377
14378 2001-05-30  Juergen Vigna  <jug@sad.it>
14379
14380         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14381         to check pspell I add this as default as I now have new pspell
14382         libraries and they seem to use this.
14383
14384 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14385
14386         * text2.C (CutSelection): make the cursor valid before the call to
14387         ClearSelection.
14388
14389 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14390
14391         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14392         relied on 0 terminated strings and other horrors. Bug found due to
14393         the new assert in lyxstring!
14394
14395         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14396         KP_ keys.
14397
14398 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14399
14400         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14401         to latinkeys.bind.
14402
14403         * lyxfunc.C (processKeySym): change method of getting to the
14404         self-insert char.
14405
14406         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14407         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14408         * BufferView_pimpl.[Ch]: here as private methods.
14409
14410 2001-05-28  Juergen Vigna  <jug@sad.it>
14411
14412         * text.C (SetHeightOfRow): added the update() call again as it is
14413         needed to initialize inset dimensions!
14414
14415 2001-05-16  Juergen Vigna  <jug@sad.it>
14416
14417         * text2.C (SetCharFont): Add new function with BufferView * and
14418         bool toggleall parameters for setting insets internal fonts.
14419         (SetFont): Freeze the undo as we may change fonts in Insets and
14420         all this change should be inside only one Undo!
14421
14422         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14423         setting font's in insets as for them we have the SetFont function!
14424
14425 2001-05-15  Juergen Vigna  <jug@sad.it>
14426
14427         * text2.C (ClearSelection): to be sure we REALLY don't have any
14428         selection anymore!
14429
14430         * tabular.C (TeXCellPreamble): fixed the left border problem for
14431         multicolumn cells.
14432
14433 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14434
14435         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14436         dependancy file
14437
14438 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14439
14440         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14441         LFUN_BREAKPARAGRAPH.
14442
14443         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14444         help test to "internal only", similar for LFUN_INSERT_URL
14445
14446         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14447         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14448         auto_region_delete and deadkeys.
14449
14450 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14451
14452         * LColor.h:
14453         * LColor.C: remove some dead entries, tidy a little
14454
14455 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14456
14457         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14458         commented code.
14459         (Dispatch): implement LFUN_ESCAPE
14460
14461         * commandtags.h: add LFUN_ESCAPE
14462
14463         * LyXAction.C (init): add entry for LFUN_ESCAPE
14464
14465         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14466         Remove commented code.
14467         (insertNote): moved here
14468         (open_new_inset): moved here
14469
14470         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14471         BufferView_pimpl
14472
14473 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14474
14475         * kbmap.C (findbinding): clean it up and make it work correctly.
14476
14477         * lyx_main.C (init): do not pass argc and argv as parameters
14478
14479 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14480
14481         * buffer.C: fix path for OS/2 & Win32
14482
14483         * lyx_gui.C:
14484         * lyx_main:
14485         * lyx_main.C: Added os:: class.
14486
14487         * os2_defines.h: update
14488
14489 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14490
14491         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14492         better by trying again with reduced state.
14493
14494 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14495
14496         * lyxrc.C (read): print error about invalid key sequence only when
14497         debugging (because not all latinX keysyms are known to some X
14498         servers)
14499
14500         * kbsequence.C (getiso): add a few std:: qualifiers
14501         (getiso): comment out extra return statement.
14502
14503 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14504
14505         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14506         handling.
14507         (Dispatch): enhance the accent inset a bit. (not perfect)
14508
14509 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14510
14511         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14512
14513 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14514
14515         * bufferlist.C (emergencyWrite): fix assert() call
14516
14517 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14518
14519         * text.C (InsertChar): Added trivial patch to only send the "you
14520         can not do multiple spaces this way" message once during a
14521         session.
14522
14523 2001-05-08  Baruch Even  <baruch@lyx.org>
14524
14525         * Makefile.am: Changed order of libraries to get LyX to link properly
14526         with the gnome frontend.
14527
14528 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14529
14530         * LaTeXFeatures.h: add a std:: qualifier
14531
14532 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14533
14534         * paragraph.C (String): use stringstream
14535
14536 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14537
14538         * paragraph.C (writeFile): remove footflag arg
14539
14540         * buffer.C (makeLaTeXFile): use stringstream
14541         (latexParagraphs): remove footnot gurba
14542
14543         * LaTeXFeatures.C (getPackages): use stringstream
14544         (getMacros): likewise
14545         (getTClassPreamble): likewise
14546         (getFloatDefinitions): new method
14547
14548         * paragraph.C (writeFile): reindent
14549         (Erase): reindent
14550
14551         * WorkArea.h: revert the xpos + etc changes.
14552
14553         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14554
14555         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14556
14557         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14558         (pasteSelection): likewise
14559         * text2.C (CreateUndo): likewise
14560
14561 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14562
14563         * minibuffer.C (peek_event): temporarily reduce the functionality
14564         of the minibuffer (to allow args on lfuns)
14565
14566         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14567         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14568
14569         * buffer.C (readInset): add compability reading of old float
14570         lists, add reading of new style float list.
14571         (readInset): avoid reevaluation of inscmd.getCmdName()
14572         (getLists): reindent
14573
14574         * MenuBackend.C (MenuItem): implement parsing of
14575         md_floatlistinsert and md_floatinsert.
14576         (expand::LastFiles): move initalizaton of iterators out of loop,
14577         avoid reevaluation.
14578         (expand::Documents): introduce typdedef vector<string> Strings,
14579         and use it.
14580         (expand::ExportFormats): introduce typedef vector<Format const *>
14581         Formats, and use it.
14582         (expand): implement FloatListInsert and FloatInsert.
14583
14584         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14585         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14586         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14587
14588         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14589         handling.
14590         (Dispatch::LFUN_FLOAT_LIST): implement
14591
14592 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14593
14594         * LaTeX.C (run): Fix problem with --export code.
14595
14596 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14597
14598         * BufferView.[Ch] (workarea): removed.
14599         (getClipboard) new method; wrapper for workarea()->getClipboard()
14600
14601         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14602         bug.
14603
14604         * WorkArea.h (width, height, xpos, ypos): These methods all
14605         returned the dimensions of the work_area sub-area of WorkArea,
14606         resulting in a position error if the WorkArea were resized. Now
14607         return the dimensions of the entire WorkArea.
14608
14609         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14610
14611 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14612
14613         * LaTeX.C (deplog): correct the syntax of regex reg1
14614
14615 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14616
14617         * undo.C: remove !NEW_INSETS cruft
14618
14619 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14620
14621         * text2.C: remove !NEW_INSETS cruft
14622
14623         * text.C: remove !NEW_INSETS cruft
14624
14625         * tabular.C: remove !NEW_INSETS cruft
14626
14627         * spellchecker.C: remove !NEW_INSETS cruft
14628
14629         * lyxtext.h: remove !NEW_INSETS cruft
14630
14631         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14632
14633         * lyxfunc.C: remove !NEW_INSETS cruft
14634
14635         * lyxfind.C: remove !NEW_INSETS cruft
14636
14637         * lyx_cb.C: remove !NEW_INSETS cruft
14638
14639         * figureForm.C: remove  !NEW_INSETS cruft
14640
14641         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14642
14643         * buffer.[Ch]: remove !NEW_INSETS cruft
14644
14645         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14646
14647         * CutAndPaste.C: remove !NEW_INSETS cruft
14648
14649         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14650
14651         * BufferView2.C: remove !NEW_INSETS cruft
14652
14653         * BufferView.h: remove !NEW_INSETS cruft
14654
14655 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14656
14657         * Lsstream.h: include LString.h before the sstream headers to
14658         fix problem with gcc 2.95.3 and lyxstring
14659
14660 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14661
14662         * lyx_main.C: add using directives when needed for C functions
14663         declared in std:: namespace.
14664
14665 2001-04-27  Juergen Vigna  <jug@sad.it>
14666
14667         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14668         (SetHeightOfRow): comment out the update call should not be needed!
14669
14670 2001-04-13  Juergen Vigna  <jug@sad.it>
14671
14672         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14673         (LyXTabular): tried to minimize operator= operations (and realized
14674         hopfully Lars wish).
14675
14676 2001-04-27  Juergen Vigna  <jug@sad.it>
14677
14678         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14679
14680 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14681
14682         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14683
14684         * buffer.C (readInset): hack to make listof algorithm work
14685
14686         * BufferView_pimpl.C: hack to make listof algorithm work
14687
14688 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14689
14690         * LyXAction.C: removed all !NEW_INSETS cruft
14691         (init): moved lfun_item in method
14692
14693         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14694
14695 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14696
14697         * BufferView2.C (theLockingInset): white space.
14698
14699 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14700
14701         * minibuffer.C: include <iostream>
14702
14703         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14704
14705         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14706
14707         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14708
14709         * text.[Ch] (TransposeChars): new method
14710
14711 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14712
14713         * call message directly through LyXView instead of through LyXFunc
14714         * BufferView2.C: adjust
14715         * BufferView_pimpl.C: adjust
14716         * FontLoader.C: adjust
14717         * buffer.C: adjust
14718         * bufferview_funcs.C: adjust
14719         * converter.C: adjust
14720         * figureForm.C: adjust
14721         * importer.C: adjust
14722         * lyx_cb.C: adjust
14723         * lyx_gui_misc.C: adjust
14724         * lyxfunc.C: adjust
14725         * lyxvc.C: adjust
14726         * text2.C: adjust
14727         + more files in subdirs
14728
14729         * lyxparagraph.h (size): move up int file
14730         (GetLayout): ditto
14731
14732         * adjust all uses of Assert to lyx::Assert.
14733
14734         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14735         lyxfunctional in namespace lyx
14736         * layout.C (hasLayout): ditto
14737         (GetLayout): ditto
14738         (GetLayout): ditto
14739         (delete_layout): ditto
14740         (NumberOfClass): ditto
14741         * converter.C (GetFormat): ditto
14742         (GetNumber): ditto
14743         (Add): ditto
14744         (Delete): ditto
14745         (SetViewer): ditto
14746         * bufferlist.C (getFileNames): ditto
14747         (emergencyWriteAll): ditto
14748         (exists): ditto
14749         (getBuffer): ditto
14750         * MenuBackend.C (hasSubmenu): ditto
14751         (hasMenu): ditto
14752         (getMenu): ditto
14753         * BufferView_pimpl.C (getInsetByCode): ditto
14754
14755 2001-04-18  Juergen Vigna  <jug@sad.it>
14756
14757         * vspace.C (asLatexString): fixed the 100% problem.
14758
14759 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14760
14761         * lyxfunc.C (Dispatch):
14762         * minibuffer.C:
14763         * minibuffer.h: add a few std:: qualifiers
14764
14765 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14766
14767         * minibuffer.[Ch]: reimplement so that commands is initiated and
14768         run from lyxfunc, simplified som handling, and made the completion
14769         and history code for complete. wip.
14770
14771         * lyxfunc.C (processKeySym): call message
14772         (miniDispatch): new temporary method
14773         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14774         (LFUN_MESSAGE): implement
14775         (LFUN_MESSAGE_PUSH): implement
14776         (LFUN_MESSAGE_POP): implement
14777         (initMiniBuffer): the initial/defualt minibuffer message.
14778
14779         * lyxfont.[Ch]: inline some more getters
14780
14781         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14782
14783         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14784
14785         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14786         (AutoSave): use LFUN_MESSAGE
14787         (Reconfigure): ditto
14788
14789         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14790
14791         * figureForm.C: use LFUN_MESSAGE
14792
14793         * converter.C (runLaTeX): use LFUN_MESSAGE
14794
14795         * bufferview_funcs.C: use LFUN_MESSAGE
14796         (Melt): ditto
14797         (changeDepth): ditto
14798
14799         * bufferparams.h: use boost::
14800
14801         * bufferlist.h: inherit privately from noncopyable
14802
14803         * bufferlist.C (loadLyXFile): remove some commented code.
14804
14805         * buffer.C (runChktex): use LFUN_MESSAGE
14806
14807         * ShareContainer.h: inherit privately from noncopyable
14808
14809         * ParagraphParameters.[hC] (depth): inline it.
14810
14811         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14812         methods.
14813         (message): new method
14814         (messagePush): ditto
14815         (messagePop): ditto
14816         (show): init minibuffer
14817         (showState): direct call
14818
14819         * LaTeX.[Ch]: inherit privately from noncopyable
14820         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14821         instead of WriteStatus.
14822
14823         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14824
14825         * BufferView_pimpl.C (buffer): don't init minibuffer
14826         (workAreaButtonPress): use LFUN_MESSAGE
14827         (workAreaButtonRelease): ditto
14828         (savePosition): ditto
14829         (restorePosition): ditto
14830         (MenuInsertLyXFile): ditto
14831         (workAreaExpose): don't init minibuffer
14832         (update): remove commented code, simplify
14833
14834         * BufferView2.C (openStuff): use LFUN_MESSAGE
14835         (toggleFloat): ditto
14836         (menuUndo): ditto
14837         (menuRedo): ditto
14838         (copyEnvironment): ditto
14839         (pasteEnvironment): ditto
14840         (copy): ditto
14841         (cut): ditto
14842         (paste): ditto
14843         (gotoInset): ditto
14844         (updateInset): remove some commented code
14845
14846         * lastfiles.h: inherit privately from noncopyable
14847         * layout.h: ditto
14848         * lyx_gui.h: ditto
14849         * lyx_main.h: ditto
14850         * lyxlex.h: ditto
14851         * lyxlex_pimpl.h: ditto
14852
14853         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14854         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14855         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14856
14857         * LyXAction.h: inherit privately from noncopyable, add methods
14858         func_begin, func_end, returning iterators to the func map.
14859
14860         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14861         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14862         (func_begin): new method
14863         (func_end): new method
14864
14865         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14866         and not)
14867         (copySelection): ditto
14868         (pasteSelection): ditto
14869
14870         * BufferView.C: whitespace change
14871         * BufferView.h: inherit privately from noncopyable
14872
14873 2001-04-16  Allan Rae  <rae@lyx.org>
14874
14875         * tabular-old.C (l_getline):
14876         * spellchecker.C (sc_check_word):
14877         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14878         an unrecognised preprocessor directive.  So ensure they're wrapped.
14879
14880 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14881
14882         * src/exporter.C (Export): Give an error message when path to file
14883         contains spaces.
14884
14885 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14886
14887         * LaTeX.C (deplog): Always check that foundfile exists.
14888
14889 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14890
14891         * lyx_main.h:
14892         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14893
14894 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14895
14896         * tabular.[Ch] (getLabelList): implement new method
14897
14898         * minibuffer.h: comment ouf setTiimer
14899
14900         * minibuffer.C (ExecutingCB): constify res
14901         (peek_event): constify s
14902         (Set): constify ntext
14903         (Init): constify nicename
14904
14905         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14906
14907         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14908         (savePosition): use two params to Minibuffer::Set
14909         (restorePosition): ditto
14910
14911 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14912
14913         * lyx_main.C: include language.h
14914
14915         * Makefile.am (lyx_main.o): add language.h
14916
14917 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14918
14919         * exporter.C:
14920         * paragraph.C:
14921         * screen.C:
14922         * tabular.C:
14923         * CutAndPaste.C: include gettext.h
14924
14925         * lyxfont.h: remove old hack with ON and OFF.
14926
14927         * lyxparagraph.h:
14928         * lyxfont.h: do not include language.h...
14929
14930         * BufferView2.C:
14931         * LaTeXFeatures.C:
14932         * Painter.C:
14933         * bufferview_funcs.C:
14934         * font.C:
14935         * lyxfont.C:
14936         * text.C:
14937         * text2.C:
14938         * trans_mgr.C:
14939         * paragraph.C: ... but do it here instead
14940
14941 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14942
14943         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14944
14945         * tabular.C: small reformat
14946
14947         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14948         NEW_INSETS version
14949         (GetChar): ditto
14950         (BreakParagraph): ditto
14951         (SetOnlyLayout): ditto
14952         (SetLayout): ditto
14953
14954         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14955         with one arg less.
14956
14957         * lastfiles.C: removed most using decl, add std:: where needed
14958
14959         * buffer.C: ws changes
14960
14961         * MenuBackend.C (class compare_format): put into anon namespace
14962         (expand): constify label, names, action, action2
14963         (expand):
14964
14965         * text.C (SingleWidth): constify font
14966         (IsBoundary): constify rtl2
14967         (GetVisibleRow): constify ww
14968
14969         * LaTeX.C (deplog): constify logfile
14970
14971         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14972         start_x, end_x
14973         (workAreaExpose): constify widthChange, heightChange
14974
14975         * lyxrow.C (par): moved
14976         (height): moved
14977         (next): moved
14978         * lyxrow.h: as inlines here
14979
14980         * lyxfont.h (shape): moved from lyxfont.C
14981         (emph): moved from lyxfont.C
14982
14983         * lyxfont.C (LyXFont): use initialization list for all
14984         constructors
14985         (shape): move to lyxfont.h as inline
14986         (emph): move to lyxfont.h as inline
14987
14988
14989 2001-04-04  Juergen Vigna  <jug@sad.it>
14990
14991         * vspace.C: had to include stdio.h for use of sscanf
14992
14993 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14994
14995         * BufferView.h:
14996         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14997         independent of xforms.
14998
14999 2001-04-02  Juergen Vigna  <jug@sad.it>
15000
15001         * spellchecker.C: fixed namespace placing!
15002
15003 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15004
15005         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15006         the LyXParagraph * is 0.
15007
15008 2001-03-29  Juergen Vigna  <jug@sad.it>
15009
15010         * vspace.C: added support for %, c%, p%, l%.
15011         (stringFromUnit): added helper function.
15012         (asLatexString): changed to give right results for the %-values.
15013
15014         * buffer.C: convert the widthp in a width%.
15015
15016 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15017
15018         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15019         figureForm.[Ch].
15020
15021         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15022         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15023
15024         * lyx_cb.[Ch]: see above.
15025
15026         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15027         form1.[Ch].
15028
15029         * form1.[Ch]:
15030         * lyx.[Ch]: replaced by figure_form.[Ch].
15031
15032         * lyx_gui.C:
15033         * lyx_gui_misc.C:
15034         * lyxfunc.C: changed headers associated with above changes.
15035
15036 2001-03-27  Juergen Vigna  <jug@sad.it>
15037
15038         * BufferView_pimpl.C: set the temporary cursor right!
15039
15040 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15041
15042         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15043
15044 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15045
15046         * LString.h: removed "using std::getline"!
15047
15048         * BufferView_pimpl.C (Dispatch): changes due to changes in
15049         InsetInclude::Params.
15050
15051         * buffer.C (tag_name): removed redundant break statements as they were
15052         producing lots of warnings with my compiler.
15053
15054 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15055
15056         * LString.h: add "using std::getline" when using the real <string>.
15057
15058 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15059
15060         * buffer.C: removed bitset usage.
15061         PAR_TAG moved to an anonymous name space.
15062         (tag_name): new funtion, also in the anonymous namespace.
15063         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15064         (makeDocBookFile): clean code. Completed transition from string arrays
15065         to string vectors.
15066         (SimpleDocBookOnePar): code clean.
15067
15068 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15069
15070         * tabular.C: add some comments.
15071
15072 2001-03-22  Juergen Vigna  <jug@sad.it>
15073
15074         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15075         compatibility read a bit and fixed bug with minipage in different
15076         depth.
15077
15078 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15079
15080         * buffer.C (pop_tag): removed.
15081         (push_tag): removed.
15082         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15083         array replaced with vector. Added support for CDATA sections.
15084         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15085         at any nest level.
15086         (makeDocBookFile): XML conformant declaration of CDATA section,
15087         fixed bug related to <emphasis> in the first paragraph char.
15088         (sgmlOpenTag): exclude empty tags.
15089         (sgmlCloseTag): ditto.
15090
15091         * buffer.h (pop_tag): removed.
15092         (push_tag): removed.
15093
15094 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15095
15096         * language.h (Languages): added size_type and size().
15097
15098 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15099
15100         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15101         response on compability reading of minipages. One probliem is that
15102         the old usage of minipages was «flertydig»
15103
15104         * several files here and in subdirs: don't use static at file
15105         scope use anon namespaces instead.
15106
15107 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15108
15109         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15110         LaTeX output. This is necessary for Literate document
15111         processing.
15112
15113 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15114
15115         * buffer.C: insert hfill when needed.
15116
15117         * tabular.C (l_getline): use string::erase, small whitespace change.
15118
15119         * BufferView_pimpl.C: try the anon namespace.
15120         * WorkArea.C: ditto
15121
15122 2001-03-16  Juergen Vigna  <jug@sad.it>
15123
15124         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15125         otherwise it won't open options-dialogs.
15126
15127         * buffer.C: honor pextraWidth(p) on converting minipages.
15128
15129         * tabular.C (l_getline): changed the functions to strip trailing \r.
15130
15131 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15132
15133         * BufferView_pimpl.C:
15134         * minibuffer..C: added "using SigC::slot" declaration.
15135
15136 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15137
15138         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15139
15140         * text2.C: ditto
15141
15142         * text.C: ditto
15143
15144         * paragraph.C: ditto
15145
15146         * lyxtext.h: NO_PEXTRA
15147
15148         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15149
15150         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15151         * ParameterStruct.h: ditto
15152         * ParagraphParameters.h: ditto
15153         * lyxparagraph.h: ditto
15154
15155 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15156
15157         * buffer.C: add compability for minipage alignment.
15158         (latexParagraphs): remove unwanted pextra check.
15159
15160         * several files: remove CXX_WORKING_NAMESPACES
15161
15162         * buffer.C (pop_tag): tie is in namespace boost
15163
15164         * BufferView.h: noncopyable is in namespace boost
15165         * lyxlex.h: ditto
15166         * lyx_main.h: ditto
15167         * lyx_gui.h: ditto
15168         * layout.h: ditto
15169         * lastfiles.h: ditto
15170         * bufferlist.h: ditto
15171         * ShareContainer.h: ditto
15172         * LyXView.h: ditto
15173         * LyXAction.h: ditto
15174         * LaTeX.h: ditto
15175
15176 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15177
15178         * Merging changes from BRANCH_MVC back into HEAD.
15179
15180         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15181
15182 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15183
15184         * BufferView_pimpl.C: change from intl.C
15185
15186         * combox.h:
15187         * combox.C:
15188         * Makefile.am: move combox.*
15189
15190         * form1.h:
15191         * form1.C:
15192         * lyx_gui.C:
15193         * intl.h:
15194         * intl.C: remove dialog (covered by prefs)
15195
15196 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15197
15198         * lyxfunc.C (Dispatch): removed redundant break statement.
15199
15200 2001-03-14  Juergen Vigna  <jug@sad.it>
15201
15202         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15203
15204 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15205
15206         * buffer.C: add hack to fix compability reading of minipages.
15207
15208 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15209
15210         * buffer.C (getLists): Cleanup.
15211
15212 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15213
15214         * lyxfont.C (update): don't honor toggleall on font size.
15215
15216 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15217
15218         * bmtable.c:
15219         * bmtable.h:
15220         * Makefile.am: moved to frontends/xforms/
15221
15222         * lyx_gui_misc.C:
15223         * lyxfunc.C:
15224         * BufferView_pimpl.C: changes for moved mathpanel
15225
15226 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15227
15228         * gettext.h: fix gettext_init() in --disable-nls
15229
15230 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15231
15232         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15233
15234 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15235
15236         * lyx.C:
15237         * lyx.h: strip external form
15238
15239 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15240
15241         * BufferView_pimpl.C: add comment, destroySplash()
15242
15243 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15244
15245         * BufferView_pimpl.C:
15246         * LyXAction.C:
15247         * buffer.C:
15248         * commandtags.h:
15249         * lyxfunc.C: use re-worked insetinclude
15250
15251 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15252
15253         * buffer.C: add using std::stringstream.
15254
15255         * lyx_cb.C: readd using std::ios.
15256
15257         * buffer.C: add using std::map.
15258
15259         * BufferView_pimpl.C: add using std::vector.
15260
15261         * ShareContainer.h: add std:: to swap.
15262
15263         * buffer.h: add some typedefs
15264         * buffer.C (getLists): use them
15265         (getLists): renamed from getTocList.
15266         add a counter for the different float types and use it in the
15267         generated string.
15268         (getLists): use the same counter for the NEW_INSETS and the "non"
15269         NEW_INSETS
15270
15271         * lyx_cb.h: remove unused items, includes, using etc.
15272
15273         * ShareContainer.h: remove some commented code, add more comments
15274         and "documentation".
15275
15276 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15277
15278         * buffer.C (getTocList): make the list also when NEW_INSETS is
15279         defined.
15280
15281         * buffer.h: remove TocType
15282
15283         * buffer.C (getTocList): change to return a map<string,
15284         vector<TocItem> >, implement for dynamic number of list.
15285
15286         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15287         * text2.C (PasteSelection): adjust
15288         * CutAndPaste.C (pasteSelection): adjust
15289
15290         * FloatList.C (FloatList): update from the new_insets branch.
15291         * Floating.[Ch]: ditto
15292         * LaTeXFeatures.C: ditto
15293         * buffer.C: ditto
15294         * lyxlex_pimpl.C: ditto
15295
15296         * paragraph.C (Last): remove when NEW_INSETS is defined.
15297
15298         * other file: changes because of the above.
15299
15300 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15301
15302         * lyxparagraph.h: rename next to next_, previous to previous_,
15303         make them private for NEW_INSETS. Rename Next() to next(),
15304         Previous() to previous().
15305
15306         * other files: changes because of the above.
15307
15308 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15309
15310         * BufferView.h:
15311         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15312         problem.
15313
15314 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15315
15316         * main.C (main): pass lyx_localedir to gettext_init().
15317
15318         * gettext.h: remove locale_init and gettext_init macros
15319
15320         * gettext.C (locale_init): new function
15321         (gettext_init): new function
15322
15323         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15324         setlocale().
15325
15326 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15327
15328         * Moved credits to frontends:
15329         * credits.[Ch]: removed
15330         * credits_form.[Ch]: removed
15331         * lyx_gui_misc.C: remove credits stuff
15332         * Makefile.am:
15333
15334 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15335
15336         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15337
15338         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15339         unneeded destructor.
15340
15341         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15342         a standalone pointer again.
15343
15344         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15345
15346 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15347
15348         * Makefile.am:
15349         * filedlg.h:
15350         * filedlg.C:
15351         * LyXAction.C:
15352         * ToolbarDefaults.C:
15353         * bufferlist.C:
15354         * commandtags.h:
15355         * form1.C:
15356         * form1.h:
15357         * lyx_cb.C:
15358         * lyx_cb.h:
15359         * lyxfunc.h:
15360         * lyxfunc.C:
15361         * BufferView_pimpl.C: use new file dialog in GUII
15362
15363         * lyx_cb.h:
15364         * lyx_cb.C: remove LayoutsCB to Toolbar
15365
15366 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15367
15368         * ShareContainer.h (get): add std:: qualifier
15369
15370 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15371
15372         * ShareContainer.h: define a proper ShareContainer::value_type
15373         type (and use typename to please compaq cxx)
15374
15375 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15376
15377         * lyxparagraph.h: move serveral local vars to
15378         ParameterStruct/ParagraphParameters., use ShareContainer in
15379         FontTable., make vars in FontTable private and add getter and
15380         setter.
15381
15382         * paragraph.C: changes because of the above.
15383
15384         * lyxfont.h: remove copy constructor and copy assignment. (the
15385         default ones is ok), move number inside FontBits. move inlines to
15386         lyxfont.C
15387
15388         * lyxfont.C: add number to initializaton of statics, move several
15389         inlines here. constify several local vars. some whitespace
15390         cleanup. Dont hide outerscope variables.
15391
15392         * Spacing.h: add two new constructors to match the set methods.
15393
15394         * ShareContainer.h: new file, will perhaps be moved to support
15395
15396         * ParameterStruct.h: new file
15397
15398         * ParagraphParameters.h: new file
15399
15400         * ParagraphParameters.C: new file
15401
15402         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15403         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15404
15405         * BufferView_pimpl.C: ParagraphParameter changes.
15406         * buffer.C: Likewise.
15407         * bufferview_funcs.C: Likewise.
15408         * text.C: Likewise.
15409         * text2.C: Likewise.
15410
15411 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15412
15413         * lyxfind.C (LyXReplace): do not redefine default argument in
15414         implementation.
15415         (IsStringInText): ditto
15416         (SearchForward): ditto
15417         (SearchBackward): ditto
15418
15419 2001-03-06  Juergen Vigna  <jug@sad.it>
15420
15421         * lyxfind.C (IsStringInText): put parentes around expressions.
15422
15423 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15424
15425         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15426
15427 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15428
15429         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15430
15431         * stl_string_fwd.h: add comment
15432
15433         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15434
15435         * tabular.h:
15436         * tabular.C: remove unused DocBook methods
15437
15438         * intl.C:
15439         * language.C:
15440         * paragraph.C:
15441         * buffer.C:
15442         killed DO_USE_DEFAULT_LANGUAGE
15443
15444 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15445
15446         * lyx_gui.C: do not include language.h.
15447
15448         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15449         arguments in function implementation.
15450
15451 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15452
15453         * BufferView_pimpl.C: add <ctime>
15454
15455 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15456
15457         * BufferView_pimpl.C: add using std::find_if
15458
15459 2001-02-27  José Matos  <jamatos@fep.up.pt>
15460
15461         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15462         by OnlyPath.
15463
15464 2001-02-11  José Matos  <jamatos@fep.up.pt>
15465
15466         * buffer.C (makeDocBookFile): command styles now have a parameter as
15467         "title" by default.
15468
15469 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15470
15471         * layout_forms.[Ch]: removed
15472         * lyx_cb.[Ch]: out character
15473         * lyx_gui.C: out character
15474         * lyx_gui_misc.C: out character
15475         * bufferview_funcs.C: : out character,
15476         added toggleall as parameter in ToggleAndShow
15477
15478 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15479
15480         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15481
15482         * text2.C (SetCurrentFont): Disable number property at boundary.
15483
15484 2001-02-26  Juergen Vigna  <jug@sad.it>
15485
15486         * lyxfunc.C (getStatus): added a string argument override function so
15487         that this is correctly called from LyXFunc::Dispatch if it contains a
15488         do_not_use_argument which is used!
15489         (Dispatch): added check for "custom" export and call appropriate func.
15490
15491 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15492
15493         * lyxrc.C: Add language_command_local, language_use_babel and
15494         language_global_options.
15495
15496         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15497
15498         * buffer.C (makeLaTeXFile): Use language_use_babel and
15499         language_global_options.
15500
15501 2001-02-23  Juergen Vigna  <jug@sad.it>
15502
15503         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15504         which works with LyXText and putted it inside BufferView. Here now we
15505         only call for that part the BufferView::Dispatch() function.
15506
15507         * BufferView.C (Dispatch): added.
15508
15509         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15510         functions which needs to use a LyXText over from LyXFunc.
15511         (MenuInsertLyXFile): added
15512         (getInsetByCode): added
15513         (moveCursorUpdate): added
15514         (static TEXT): added
15515
15516 2001-02-22  Juergen Vigna  <jug@sad.it>
15517
15518         * BufferView_pimpl.C (update): call a status update to see if LyXText
15519         needs it.
15520
15521 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15522
15523         * vc-backend.C (revert): implement for CVS
15524         (getLog): implement for CVS
15525
15526 2001-02-20  Juergen Vigna  <jug@sad.it>
15527
15528         * text2.C (ClearSelection): added BufferView param for inset_owner call
15529
15530         * lyxfunc.C (TEXT): added this function and use it instead of
15531         directly owner->view()-text of getLyXText().
15532
15533 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15534
15535         * src/layout_forms.C: out preamble
15536         * src/layout_forms.h: out preamble
15537         * src/lyx_cb.C: out preamble
15538         * src/lyx_cb.h: out preamble
15539         * src/lyx_gui.C: out preamble
15540         * src/lyx_gui_misc.C: out preamble
15541         * src/lyxfunc.C: connect with guii preamble
15542
15543 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15544
15545         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15546
15547 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15548
15549         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15550         whether to run bibtex.
15551
15552 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15553
15554         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15555
15556 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15557
15558         * Makefile.am (lyx_SOURCES): removed bibforms.h
15559
15560         * vspace.h: doxygen
15561
15562         * text.C (GetVisibleRow): make several local vars const
15563
15564         * tabular.C: small cleanup.
15565
15566         * lyxserver.C (callback): use compare instead of strncmp
15567
15568         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15569         inlines to after class or to paragraph.C
15570
15571         * lyxfont.h: remove friend operator!=
15572
15573         * converter.h: move friend bool operator< to non friend and after
15574         class def.
15575
15576         * combox.h: small cleanup
15577
15578         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15579         to inlines after class def.
15580
15581         * buffer.C (pop_tag): use string operations instead of strcmp
15582
15583         * bmtable.c: doxygen, small cleanup
15584
15585         * LaTeX.h: remove friend operator==
15586
15587 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15588
15589         * screen.C:
15590         * lyxrc.[Ch]:
15591         * lyxfunc.C:
15592         * lyxfont.[Ch]:
15593         * lyx_cb.C:
15594         * intl.[Ch]:
15595         * commandtags.h:
15596         * buffer.C:
15597         * WorkArea.[Ch]:
15598         * LyXAction.C:
15599         * BufferView_pimpl.C:
15600         * BufferView.[Ch]: remove cruft
15601
15602 2001-02-14  Juergen Vigna  <jug@sad.it>
15603
15604         * lyxfunc.C: removed #if 0 unused code
15605
15606         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15607
15608         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15609
15610         * text2.C (SetSelection): added a BufferView * parameter
15611
15612 2001-02-13  Juergen Vigna  <jug@sad.it>
15613
15614         * lyxfunc.C (Dispatch): fixed protected blank problem.
15615         * BufferView2.C (protectedBlank): added LyxText * parameter.
15616
15617         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15618         (AppendColumn): same as above for column_info.
15619
15620         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15621         (moveCursorUpdate): use a LyXText param for support of InsetText.
15622
15623         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15624         (tripleClick): ditto
15625
15626         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15627
15628         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15629
15630         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15631
15632         * text2.C (SetSelection): set correct update status if inset_owner
15633         (ToggleFree): ditto
15634
15635 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15636
15637         * tabular.C: remove some commented code.
15638
15639 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15640
15641         * BufferView_pimpl.C: call hideSplash()
15642
15643         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15644
15645         * include_form.h:
15646         * bibforms.h: remove
15647
15648         * lyxfunc.C:
15649         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15650           add LFUN_CHILD_CREATE
15651
15652         * counters.h: fix tiny typo
15653
15654         * lyx_cb.C:
15655         * lyx.h:
15656         * lyx_gui.C:
15657         * lyx.C: move splash to frontends/xforms/
15658
15659         * lyx_gui_misc.C: move Include and Bibform to frontends
15660
15661         * lyxvc.h: clarify comment
15662
15663         * vspace.C: tiny housekeeping
15664
15665 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15666
15667         * text.C (PrepareToPrint): RTL Fix.
15668
15669         * paragraph.C (GetUChar): New method.
15670         (String):  Use GetUChar.
15671
15672         * buffer.C (asciiParagraph): Use GetUChar.
15673
15674 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15675
15676         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15677
15678 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15679
15680         * buffer.h:
15681         * buffer.C: rename to getLogName(), handle
15682           build log / latex log nicely
15683
15684 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15685
15686         * MenuBackend.C:
15687         * MenuBackend.h: remove support for reference menuitem type.
15688
15689 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15690
15691         * BufferView_pimpl.C: housekeeping
15692         * BufferView_pimpl.h:
15693         * LyXView.h:
15694         * Makefile.am:
15695         * Timeout.C:
15696         * Timeout.h:
15697         * minibuffer.h: move Timeout GUI-I
15698
15699 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15700
15701         * lyxrc.C (read): Update converters data-structures.
15702
15703 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15704
15705         * LaTeX.h (operator!=): add operator != for Aux_Info
15706
15707 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15708
15709         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15710
15711         * LaTeXLog.C: deleted, useful code moved to Buffer
15712
15713         * buffer.h:
15714         * buffer.C: new function getLatexLogName()
15715
15716         * lyx_gui_misc.C:
15717         * lyx_gui.C:
15718         * lyxvc.C:
15719         * lyxvc.h:
15720         * lyxfunc.C: use frontends for LaTeX and VC logs
15721
15722 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15723
15724         * LaTeX.h: yet another std:: that Allan forgot.
15725
15726         * Variables.C (set): renamed from isset(), because this clashes
15727         with some HP-UX macros (grr).
15728
15729 2001-02-06  Allan Rae  <rae@lyx.org>
15730
15731         * LaTeX.h: Another bug fix.  Missing std:: this time.
15732
15733 2001-02-04  Allan Rae  <rae@lyx.org>
15734
15735         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15736         floats problem. I've left it commented out because it's not quite
15737         correct.  It should also test that the current object is a table or
15738         figure inset.  But I haven't gotten around to figuring out how to do
15739         that.  I *think* it'll be something like: "table" == inset.type()
15740
15741         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15742         bool.
15743
15744 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15745
15746         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15747         all the citation/databases/styles in the auxilary file.
15748         (run): Rerun latex if there was a babel language error.
15749
15750 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15751
15752         * text.C (Backspace): Preserve the font when changing newline char
15753         with a space.
15754         (BreakParagraph): If the cursor is before a space, delete the space.
15755
15756         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15757
15758 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15759
15760         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15761         new argument (code).
15762         (ChangeCitationsIfUnique): New method.
15763
15764         * paragraph.C (GetPositionOfInset): Handle bibkey.
15765
15766 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15767
15768         * BufferView_pimpl.h: change type of Position::par_pos to
15769         LyXParagraph::size_type.
15770
15771 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15772
15773         * BufferView_pimpl.C (savePosition, restorePosition): Write
15774         messages to minibuffer.
15775
15776 2001-01-28  José Matos  <jamatos@fep.up.pt>
15777
15778         * buffer.C (makeDocBookFile): adds support for document language.
15779         A silly restriction on the name of LatexCommand types where removed.
15780         Added support for CDATA sections, allows to chars unescaped, used
15781         among others in code, to avoid escape < and >.
15782
15783 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15784
15785         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15786         saved positions instrad of a stack. Furthermore, a position is
15787         stored using paragraph id/paragraph position.
15788
15789         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15790         Remove LFUN_REF_BACK.
15791
15792 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15793
15794         * converter.C (dvipdfm_options): New method.
15795
15796 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15797
15798         * vspace.C (isValidLength): Fix for empty input string.
15799
15800 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15801
15802         * LyXAction.C (init): change description of LFUN_FIGURE to
15803         "Insert Graphics"
15804
15805 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15806
15807         * LaTeX.C: add using directive
15808
15809 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15810
15811         * MenuBackend.C (expand): Fix the sorting of the formats.
15812
15813 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15814
15815         * lyx_main.C: tiny error message fix
15816
15817 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15818
15819         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15820         calling fl_initialize(). This fixes the problem with ',' as
15821         decimal separator in text files.
15822
15823 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15824
15825         * trans.C (process): Fix the keymap bug.
15826
15827 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15828
15829         * LaTeX.C (scanAuxFiles): New method. Provides support for
15830         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15831         (scanLogFile) Scan for "run BibTeX" messages.
15832
15833         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15834         OT1 font encoding. Also, load the aecompl package if the ae
15835         package is loaded.
15836
15837         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15838
15839 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15840
15841         * texrow.C (increasePos): turn two error messages into debug
15842         messages.
15843
15844 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15845
15846         * LaTeX.C (scanAux): Handle the \@input macro.
15847         (runBibTeX): Use scanAux().
15848
15849         * language.C (latex_options_): New field.
15850
15851         * LaTeXFeatures.C (getMacros): Add language macros.
15852
15853         * buffer.C (makeLaTeXFile): Small fix.
15854
15855 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15856
15857         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15858
15859         * text2.C: add a using directive.
15860
15861 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15862
15863         * BufferView2.C:
15864         * lyx_gui_misc.h:
15865         * lyxfr1.C:
15866         * lyxfunc.C: kill LyXBell.
15867
15868 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15869
15870         * text.C (IsBoundary): Remove the error message
15871
15872         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15873
15874         * lyxrc.C (setDefaults): Correct initialization value for
15875         font_norm_type.
15876
15877 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15878
15879         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15880         gotoError().
15881
15882         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15883         and GotoNextNote().
15884
15885         * src/LyXAction.C: Added reference-next.
15886
15887         * text.C (InsertChar): Use contains instead of strchr.
15888
15889         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15890
15891 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15892
15893         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15894         alignment commands (when needed).
15895
15896         * text.C (InsertChar): Add ':' to number separator chars.