]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
29a0121abf60c79f47fd5f3b2342bf3cb59e93e2
[lyx.git] / src / ChangeLog
1 2004-08-14  André Pönitz  <poenitz@gmx.net>
2
3         * coordcache.[Ch]:
4         * Makefile.am: new files to accomodate an 'external' (x,y)-position
5     cache for all insets in (at least partially) visible (top-level)
6           paragraphs.
7         
8   * BufferView_pimpl.C: reset external coord cache before every update.
9           This means the coord cache only contains valid entries.
10
11 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
12
13         bug 1096
14         * BufferView_pimpl.C (getInsetByCode): move function out of class
15         and change in to a template in anon namespace. Also fix to do what
16         suits us better.
17
18 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
19
20         bug 1305
21         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
22         of char
23         (breakParagraph): rename par to par_offset and use a local
24         reference. Add code to keep the language over a rebreak.
25         (breakParagraphConservative): rename par to par_offset, use a
26         local reference
27         (mergeParagraph): ditto
28         (outerHook): ditto
29         (isFirstInSequence): ditto
30         (outerFont): rename pit to par_offset
31
32         * paragraph.C: ws change
33         * paragraph.h: ditto
34         * text3.C: ditto
35         * text.C: ditto
36
37 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
38
39         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
40         treatment for ']'
41
42         * paragraph.C (simpleTeXOnePar): when we have a \item with
43         optional argument, enclose the argument with curly brackets (in
44         case it contains a closing square bracket)
45
46         * text2.C (editXY):
47         * text2.C (editXY):
48         * text3.C (checkInsetHit): constify
49
50 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
51
52         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
53         documents (bug 1629)
54
55 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
56
57         Fix toggling of collapsable insets with the mouse (bug 1558)
58
59         * lyxfunc.C (dispatch): adapt to LCursor changes
60
61         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
62         make sure that dispatch is not invoked twice
63
64         * cursor.C (needsUpdate): new method
65         (dispatch): return void
66         (result): new method, to access the DispatchResult of the cursor.
67
68 2004-08-13  José Matos  <jamatos@lyx.org>
69
70         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
71
72 2004-08-13  André Pönitz  <poenitz@gmx.net>
73
74         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
75
76         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
77           multiple cells
78
79 2004-08-12  André Pönitz  <poenitz@gmx.net>
80
81         * text3.C: take out the 'cursor right' form insertInset and only
82         do it in those places when it is really needed. Fixes crash on
83         C-m...
84
85 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
86
87         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
88
89         * BufferView_pimpl.C (setBuffer): initialize the current font of
90         the underlying LyXText
91
92 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
93
94         * kbsequence.C (print): use UI native formatting for menu
95         shortcuts
96
97         * text.C (insertChar): call Paragraph::insertChar with a font
98         argument (cosmetic)
99
100         * paragraph.C (insertInset, insertChar): the version that takes a
101         LyXFont argument is now a wrapper around the other one (the
102         opposite used to be true).
103
104         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
105         argument. Font setting is done in Paragraph now.
106
107 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
108
109         * outputparams.h: add new members intitle and lang.
110
111         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
112         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
113
114 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
115
116         * text3.C (dispatch): remove special handling of button 4 and 5,
117         it is now taken care of in the frontend code.
118
119 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
120
121         * Spacing.h: add <string> (STLPort compile fix)
122
123 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
124
125         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
126
127 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
128
129         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
130         to bool.
131
132         * converter.C (showMessage): inherit from unary_function, make
133         operator() const.
134
135         * buffer.C (writeFile): initialize retval
136
137         * InsetList.h: rename private variable list to list_
138         * InsetList.[Ch]: adjust accordingly.
139
140 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
141
142         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
143         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
144         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
145         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
146         * ParagraphParameters.C, LaTeXFeatures.C: replace
147         "support/std_sstream.h" with <sstream>
148
149 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
150
151         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
152         * lyxsocket.C (LyXServerSocket): ditto
153         (serverCallback): ditto
154
155 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
156
157         * LaTeXFeatures.C: check release date when loading jurabib.
158
159 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
160
161         * lyxserver.C (startPipe): call register_socket_callback
162         (endPipe): call unregister_socket_callback
163
164 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
165
166         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
167         (LyXServerSocket): register the callback
168         (LyXServerSocket): unregister the callback
169         (fd): delete function
170         (serverCallback): improve error checking and setup the callbacks.
171         (dataCallback): change arg to fd.
172         (writeln): new func (copied fro the client socket) used for server
173         write to client.
174         (LyXDataSocket): simplify
175         (~LyXDataSocket): close ann unregiser callback
176         (server): delete function
177         (fd): delete function
178         (readln): small changes, improve some std::string usage
179         (writeln): constify a bit
180
181 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
182
183         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
184         Qt frontend
185
186 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
187
188         * BufferView_pimpl.C (setBuffer): set the layout combox value only
189         after it has been populated
190
191 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
192
193         * text2.C (insertInset): move cursor when inserting inset.
194
195 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
196
197         * kbmap.C (findbindings): a couple of new methods. returns a
198         container of kb_sequence objects. The real work is done by the
199         private recursive version
200         (printbindings): uses findbindings to print out a bracketed list
201         of bindings (renamed from findbinding).
202
203         * MenuBackend.C (binding): use kb_keymap::findbindings
204
205         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
206
207 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
208
209         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
210
211 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
212
213         * paragraph.C (isWord): return true on insets that report
214         isLetter().
215
216         * text.C (getWord): use Paragraph::isWord to decide what is in a
217         word and what is not; fix bug 1609.
218
219 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
220
221         * tex-strings.C: add "none" to string_paperpackages[], fixes
222         off-by-one-error in the paperpackage selection.
223
224         * lyxlex.[Ch]:
225         * tex-strings.[Ch]: char const * string[n]
226         -> char const * const string[]
227
228 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
229
230         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
231         command, return early.
232
233 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
234
235         * debug.h: add DEBUG to enum and fix size of ANY.
236
237         * debug.C: add support for Debug::DEBUG
238         (showTags): cast errorTags.level to unsigned int
239
240         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
241         (redoCurrentBuffer): ditto
242         (updateScrollbar): ditto
243         * cursor.C (dispatch): ditto
244         * text2.C (setLayout): ditto
245         (setFont): ditto
246         (updateCounters): ditto
247         (editXY): ditto
248         (deleteEmptyParagraphMechanism): ditto
249
250 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
251
252         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
253         annotations to cleanup the Makefile slightly.
254
255 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
256
257         * lyxrc.C: do not set user_email to a default value but use empty
258         instead. The entry used to be translated, which does not work
259         since at the point where lyxrc is constructed there is no
260         translation service available
261
262         * messages.C (getLocaleDir): remove and use directly
263         lyx_localedir() instead
264
265 2004-06-02  Angus Leeming  <leeming@lyx.org>
266
267         Fix crash caused by dereferencing null pointer 'exportdata' in
268         OutputParams by creating a new ExportData variable on the heap,
269         storing it in a boost::shared_ptr.
270         The crash was triggered when generating an Instant Preview
271         of an external inset.
272
273         * Makefile.am: add outputparams.C
274
275         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
276         (c-tor): allocate memory to it.
277
278         * exporter.C (c-tor): associated changes.
279
280 2004-06-01  Angus Leeming  <leeming@lyx.org>
281
282         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
283         contains data before calling isInset(0). (Bug 1513.)
284
285 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
286
287         * exporter.C (checkOverwrite): new method
288         * exporter.C (copyFile): new method
289         * exporter.C (Export): copy referenced files to the document dir
290         * exporter.[Ch]: new class ExportedFile
291         * exporter.[Ch]: new class ExportData. Contains currently the
292         names of referenced external files
293         * outputparams.h: add exportdata member.
294
295 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
296
297         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
298         version.C-tmp
299
300 2004-05-19  Angus Leeming  <leeming@lyx.org>
301
302         * LaTeXFeatures.C:
303         * ToolbarBackend.C:
304         * bufferparams.C:
305         * lyxfunc.C: small changes due to the introduction of namespace
306         lyx::frontend and the moving of namespace biblio to lyx::biblio.
307
308 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
309
310         * text3.C (dispatch): supress update when only moving the cursor
311         * cursor.C (selHandle): remove commented code
312
313 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
314
315         * paragraph.C (startTeXParParams): correct column count
316         * CutAndPaste.C (pasteSelection): remove const_cast
317         * output_docbook.C (docbookParagraphs): remove const_cast
318         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
319         const_cast and return ParagraphList::const_iterator
320         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
321         * output_plaintext.C (writeFileAscii): remove const_cast
322         * paragraph.[Ch] (simpleTeXOnePar): make const
323         * paragraph_funcs.C (outerPar): use const iterators
324         * paragraph_pimpl.C (validate): use const iterators
325         * text.C (setHeightOfRow): use const iterators
326
327 2004-05-17  Angus Leeming  <leeming@lyx.org>
328
329         * lfuns.h:
330         * LyXAction.C (init): new LFUN_INSET_REFRESH.
331
332         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
333         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
334         if the citation engine has changed.
335
336 2004-05-14  José Matos  <jamatos@lyx.org>
337
338         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
339         if the textclass does not provide it. Have it different for sgml and
340         xml.
341         support the language of document.
342         * output_docbook.C (docbookParagraphs):
343         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
344         first anchor as the id of the paragraph, remove special case code.
345         * sgml.C (escapeChar): escape only < & >.
346
347 2004-05-14  Angus Leeming  <leeming@lyx.org>
348
349         * bufferparams.h: move biblio::CiteEngine enum here to minimize
350         dependencies on src/frontends/controllers/biblio.h. Define a
351         CiteEngine_enum wrapper class to enable the enum to be forward
352         declared.
353
354 2004-05-12  Angus Leeming  <leeming@lyx.org>
355
356         * buffer.C: up LYX_FORMAT to 234.
357         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
358         use_numerical_citations with a single biblio::CiteEngine cite_engine
359         variable.
360         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
361
362 2004-05-13  José Matos  <jamatos@lyx.org>
363
364         * converter.h:
365         * converter.C (Converter, readFlags): add xml member.
366         * outputparams.h: add XML flavor.
367         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
368
369 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
370
371         * lyxfunc.C (dispatch):
372         (getStatus): fix handling of LFUN_SEQUENCE
373
374 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
375
376         * debug.C (showLevel): do not forget the end-of-line marker
377
378 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
379
380         * kbmap.C (read): do not stop parsing a bind file when an error
381         occurs (bug 1575)
382
383 2004-04-29  Angus Leeming  <leeming@lyx.org>
384
385         * cursor.C:
386         * factory.C:
387         * pariterator.C:
388         * text2.C: wrap a bunch of #warning statements
389         inside #ifdef WITH_WARNINGS blocks.
390
391 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
392
393         * buffer.C: increment format to 233.
394
395 2004-04-28  Angus Leeming  <leeming@lyx.org>
396
397         * BufferView_pimpl.C:
398         * lyxfunc.C:
399         * text3.C:
400         s/updateToolbar()/updateToolbars()/
401         s/Toolbar.h/Toolbars.h/
402
403 2004-04-28  Angus Leeming  <leeming@lyx.org>
404
405         * BufferView.[Ch] (c-tor):
406         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
407         No longer passes these data to the WorkArea generator.
408
409 2004-04-28  Angus Leeming  <leeming@lyx.org>
410
411         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
412
413 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
414
415         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
416
417 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
418
419         * output_latex.C (TeXEnvironment): make sure that there is a line
420         break before \end{foo} for the last paragraph of a document
421         (TeXOnePar): if the paragraph is at the end of the document (or
422         inset) and the language has to be reset, then make sure that the
423         line break is _before_ the language command, not after (fixes bug
424         1225); also make sure that the language reset command is the first
425         thing after the paragraph (to ensure proper nesting of
426         environments and thus fix bug 1404)
427
428 2004-04-21  John Levon  <levon@movementarian.org>
429
430         * ToolbarBackend.h:
431         * ToolbarBackend.C: make "name" be a programmatic name
432         and a gui_name field.
433
434         * lyxfunc.C: display the minibuffer on M-x
435
436 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
437
438         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
439         (bug 1526)
440
441 2004-04-19  Angus Leeming  <leeming@lyx.org>
442
443         * BufferView_pimpl.C (setBuffer): changed preview interface.
444
445         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
446         possible values.
447
448 2004-04-19  John Levon  <levon@movementarian.org>
449
450         * BufferView_pimpl.C:
451         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
452
453 2004-04-05  Angus Leeming  <leeming@lyx.org>
454
455         * text.C (redoParagraphs): add call to updateCounters(), thereby
456         fixing the missing "Figure #:" label from the caption of a
457         figure float.
458
459 2004-04-13  Angus Leeming  <leeming@lyx.org>
460
461         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
462         cursor is clicked out of an inset.
463
464 2004-04-13  Angus Leeming  <leeming@lyx.org>
465
466         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
467         than an InsetOld one.
468
469 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
470
471         * format.[Ch]: add editor to Format
472         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
473         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
474
475 2004-04-08  André Pönitz  <poenitz@gmx.net>
476
477         * metricsinfo.h: remove PainterInfo::width member
478
479 2004-04-08  Angus Leeming  <leeming@lyx.org>
480
481         * lyx_sty.C (boldsymbol_def): modify so that it outputs
482         "\providecommand" rather than "\newcommand", thereby preventing
483         clashes with packages that define "\boldsymbol" themselves.
484         Eg, beamer.
485
486 2004-04-08  Angus Leeming  <leeming@lyx.org>
487
488         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
489         thereby squashing an unnecessary warning.
490
491 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
492
493         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
494         setBuffer()
495
496 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
497
498         * BufferView.C (setCursor): call redoParagraph (some insets could
499         have been opened)
500         (putSelectionAt): remove the 'double update' trick
501
502         * BufferView_pimpl.C (fitCursor): call refreshPar
503         (workAreaDispatch): remove an uneeded update call
504         (dispatch): remove some manual update calls
505
506         * cursor.[Ch]: remove cached_y_, updatePos
507         (selHandle): set noUpdate when appropriate
508
509         * lyxfunc.C (dispatch): track if we need an update
510
511         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
512
513         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
514         (paintSelection): cheap optimization, do not call cursorX when not
515         needed
516         (paintPars): change signature
517         (refreshPar): add
518         (paintText): adjust
519         (paintTextInset): adjust
520
521         * text.C: adjust
522
523 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
524
525         * lengthcommon.C: compilation fix: remove explicit array size from
526         unit_name[] and friends
527
528 2004-04-05  Angus Leeming  <leeming@lyx.org>
529
530         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
531
532         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
533         present only for the preferences dialog.
534         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
535
536 2004-04-05  Angus Leeming  <leeming@lyx.org>
537
538         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
539         to enable the frontends to export changes to lyxrc correctly.
540
541         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
542
543 2004-04-07  André Pönitz  <poenitz@gmx.net>
544
545         * cursor.[Ch] (selClear, adjust): remove math
546
547         * cursor_slice.C: more agressive assert
548
549         * lyxfunc.C:
550         * BufferView_pimpl.C: rework mouse event dispatch
551
552         * dociterator.C:
553         * paragraph.C:
554         * text2.C:
555         * text3.C: adjust
556
557 2004-04-05  André Pönitz  <poenitz@gmx.net>
558
559         * cursor.[Ch] (valign, halign...): remove unneeded functions
560
561 2004-04-05  Angus Leeming  <leeming@lyx.org>
562
563         * lyxlength.[Ch] (unit_name et al.): const-correct.
564
565 2004-04-05  Angus Leeming  <leeming@lyx.org>
566
567         * BufferView_pimpl.C:
568         * buffer.C:
569         * counters.C:
570         * cursor.C:
571         * lyxfunc.C
572         * paragraph.C:
573         * pariterator.C:
574         * text.C:
575         * text2.C:
576         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
577
578 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
579
580         * text3.C (getStatus): add LFUN_BEGINNINGBUF
581
582 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
583
584         * lyxfind.C: add a couple of inTexted() tests + other small fixes
585         * BufferView_pimpl.[Ch] (getStatus)
586         * BufferView.[Ch] (getStatus): add
587         * lyxfunc.C (getStatus): move lfuns handled in
588         BufferView::dispatch to te function above
589         * Cursor.C (setSelection): set selection() = true
590
591 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
592
593         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
594
595 2004-03-31  Angus Leeming  <leeming@lyx.org>
596
597         * lyxfunc.C (dispatch): Fall through to the generic
598         Dialogs::show("preamble").
599
600 2004-03-31  Angus Leeming  <leeming@lyx.org>
601
602         * lyxfunc.C (dispatch): Fall through to the generic
603         Dialogs::show("spellchecker").
604
605 2004-03-31  Angus Leeming  <leeming@lyx.org>
606
607         * lyxfunc.C (getStatus, dispatch): changed invocation of the
608         preferences dialog.
609
610 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
611
612         * BufferView.C
613         * cursor.[Ch]
614         * dociterator.[Ch]:
615         * insetiterator.[Ch]:
616         * lyxfind.C:
617         * lyxfunc.C:
618         * pariterator.[Ch]:
619         * text2.C:
620         * undo.[Ch]: s/DocumentIterator/DocIterator/g
621
622 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
623
624         * BufferView.C (setCursor, putSelectionAt): call edit to open the
625         insets where we are putting the cursor.
626
627 2004-03-31  Angus Leeming  <leeming@lyx.org>
628
629         * lfuns.h:
630         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
631
632         * lyxrc.[Ch] (read, write): overloaded member functions taking
633         a std::[io]stream arguments.
634
635         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
636
637 2004-03-31  Angus Leeming  <leeming@lyx.org>
638
639         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
640         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
641
642         * lyxtextclass.C (load): if the text class couldn't be loaded, then
643         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
644
645 2004-03-31  Angus Leeming  <leeming@lyx.org>
646
647         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
648         the LFUN_ALL_INSETS_TOGGLE code.
649
650 2004-03-30  Angus Leeming  <leeming@lyx.org>
651
652         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
653         has died. Fall through to the generic Dialogs::show("document").
654
655 2004-03-30  Angus Leeming  <leeming@lyx.org>
656
657         * lfuns.h:
658         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
659         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
660
661         * lyxfunc.C (getStatus, dispatch): define the actions for these
662         lfuns. Little more than a cut and pste job from ControlDocument.C
663
664         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
665
666 2004-03-30  Angus Leeming  <leeming@lyx.org>
667
668         * lfuns.h:
669         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
670         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
671
672         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
673         open/closed state of ollapsable insets. Usage:
674
675         all-inset-toggle <state> <name>, where
676         <state> == "open" || "closed" || "toggle" and
677         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
678
679         * lyxtext.h, text2.C (toggleInset): removed.
680
681         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
682         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
683         now passes LFUN_INSET_TOGGLE to the found inset.
684
685         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
686         is now invoked as "all-insets-toggle toggle branch".
687
688 2004-03-30  Angus Leeming  <leeming@lyx.org>
689
690         * dociterator.C:
691         * insetiterator.C:
692         * pariterator.[Ch]: added/corrected header blurb.
693
694 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
695
696         * dociterator.[Ch]: add an inset_ member
697         (backwardPos): implemented
698         (backwardPos, forwardPos): use inset_ when the stack is empty.
699         (doc_iterator_begin, doc_iterator_end): implemented
700         * pariterator.[Ch]: adjust, add begin, end
701         * insetiterator.[Ch]: adjust, add begin, end
702         * cursor.C:
703         * document.C:
704         * BufferView.C:
705         * BufferView_pimpl.C:
706         * CutAndPaste.C: adjust
707
708 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
709
710         * buffer.C: increment file format to 232.
711         * LaTeXFeatures.C: add bibtopic package.
712         * bufferparams.[Ch]: param \use_bibtopic.
713
714         * lyxrc.[Ch]: add lyxrc bibtex_command
715         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
716
717         * buffer.C: increment file format to 231.
718
719 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
720
721         * dociterator.C: implement forwardPar
722         * iterators.[Ch]: remove, replaced by
723         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
724         * BufferView.C:
725         * BufferView_pimpl.C:
726         * CutAndPaste.C:
727         * buffer.C:
728         * bufferview_funcs.C:
729         * cursor.C:
730         * lyxfind.C
731         * lyxfunc.C
732         * paragraph_funcs.C
733         * toc.C:
734         * Makefile.am: adjust
735
736 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
737
738         * CutAndPaste.C (pasteSelection): fix 2 crashes
739         (eraseSelection): fix a crash
740         * paragraph_funcs.C: remove a warning
741
742 2004-03-28  Angus Leeming  <leeming@lyx.org>
743
744         * lfuns.h:
745         * LyXAction.C (init): new LFUN_PRINT.
746
747         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
748
749 2004-03-27  Angus Leeming  <leeming@lyx.org>
750
751         * lfuns.h:
752         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
753
754         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
755
756 2004-03-27  Angus Leeming  <leeming@lyx.org>
757
758         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
759         insetlist always contains non-null pointers to insets.
760
761 2004-03-26  Angus Leeming  <leeming@lyx.org>
762
763         * src/BufferView_pimpl.C:
764         * src/CutAndPaste.C:
765         * src/buffer.C:
766         * src/iterators.C:
767         * src/output_plaintext.C:
768         * src/outputparams.h:
769         * src/paragraph_funcs.C:
770         * src/rowpainter.C:
771         * src/text.C:
772         * src/text2.C:
773         * src/frontends/controllers/ControlErrorList.C:
774         * src/frontends/gtk/FileDialogPrivate.C:
775         * src/frontends/gtk/GPainter.C:
776         * src/frontends/gtk/GToolbar.C:
777         * src/frontends/qt2/QRef.C:
778         * src/mathed/math_scriptinset.C: squash compiler warnings.
779
780 2004-03-26  Angus Leeming  <leeming@lyx.org>
781
782         * ispell.C (LaunchIspell::start):
783         * lyx_cb.C (AutoSaveBuffer::start):
784         invoke run(DontWait) rather than runNonBlocking().
785
786 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
787
788         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
789
790 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
791
792         * kbsequence.C (print): adjust
793
794         * kbmap.C (printKeySym): rename and change signature
795         (printKey): use LyXKeySym::print()
796
797 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
798
799         * undo.C: add using std::advance to compile for stlport
800
801 2004-03-24  Angus Leeming  <leeming@lyx.org>
802
803         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
804         it leads to a crash when no buffer is present.
805
806 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
807             Martin Vermeer  <martin.vermeer@hut.fi>
808
809         * lyxfunc.C (dispatch):
810         * bufferparams.C (readToken): use the new LColor::setColor
811
812         * LColor.[Ch] (setColor): new version that takes two strings as
813         argument and creates a new color entry if necessary
814
815 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
816
817         * buffer.C (makeLaTeXFile): if the main latex file that is
818         processed is usually a subdocument of some master, then pretend
819         for a while that it is actually the master
820
821 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
822
823         * buffer.C (getLabelList):
824         (getBibkeyList): use getMasterBuffer()
825         (getMasterBuffer): new method. Returns the main document in the
826         case where one is using included documents.
827
828 2004-03-25  André Pönitz  <poenitz@gmx.net>
829
830         * Makefile.am:
831         * iterators.[Ch]:
832         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
833
834         * ParagraphList_fwd.h: change ParagraphList to a std::vector
835
836         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
837         text*.C over here. Rename namespace CutAndPaste to lyx::cap
838
839         * ParameterStruct.h: merge with ParagraphParameters
840
841         * lyxtext.h: remove LyXText::parOffset() and getPar()
842
843         * text3.C: Remove all 'manual' update calls. We do now one per user
844         interaction which is completely sufficient.
845
846         * Bidi.C:
847         * BufferView.[Ch]:
848         * BufferView_pimpl.C:
849         * FontIterator.[Ch]:
850         * MenuBackend.C:
851         * ParagraphParameters.[Ch]:
852         * buffer.C:
853         * buffer.h:
854         * bufferlist.C:
855         * cursor.[Ch]:
856         * cursor_slice.[Ch]:
857         * dociterator.[Ch]:
858         * errorlist.[Ch]:
859         * factory.C:
860         * lfuns.h:
861         * lyxfind.C:
862         * lyxfunc.C:
863         * output_docbook.[Ch]:
864         * output_latex.[Ch]:
865         * output_linuxdoc.[Ch]:
866         * output_plaintext.[Ch]:
867         * paragraph.[Ch]:
868         * paragraph_funcs.[Ch]:
869         * paragraph_pimpl.[Ch]:
870         * rowpainter.C:
871         * tabular.[Ch]:
872         * text.C:
873         * text2.C:
874         * toc.C:
875         * undo.[Ch]: adjust
876
877         * frontends/controllers/ControlDocument.C:
878         * frontends/controllers/ControlErrorList.C:
879         * frontends/controllers/ControlSpellchecker.C:
880         * insets/inset.C:
881         * insets/inset.h:
882         * insets/insetbase.h:
883         * insets/insetbibitem.C:
884         * insets/insetbox.C:
885         * insets/insetbranch.C:
886         * insets/insetcaption.C:
887         * insets/insetcharstyle.C:
888         * insets/insetcharstyle.h:
889         * insets/insetcollapsable.C:
890         * insets/insetcollapsable.h:
891         * insets/insetert.C:
892         * insets/insetfloat.C:
893         * insets/insetfoot.C:
894         * insets/insetmarginal.C:
895         * insets/insetnote.C:
896         * insets/insetoptarg.C:
897         * insets/insettabular.C:
898         * insets/insettext.C:
899         * insets/insettext.h:
900         * insets/insetwrap.C:
901         * mathed/math_mboxinset.C:
902         * mathed/math_nestinset.C:
903         * mathed/math_scriptinset.C:
904         * mathed/math_scriptinset.h:
905         * support/types.h:
906
907 2004-03-24  Angus Leeming  <leeming@lyx.org>
908
909         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
910         deal with any child processes that have finished but are waiting to
911         communicate this fact to the rest of LyX.
912
913 2004-03-24  Angus Leeming  <leeming@lyx.org>
914
915         64-bit compile fixes.
916
917         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
918         (c-tor): pass lyx::pos_types rather than ints.
919
920         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
921         lyx::pos_type.
922
923         * text.C (Delete): compile fix.
924         (getPar): ensure that function declaration is the same as that in
925         the header file.
926
927 2004-03-23  Angus Leeming  <leeming@lyx.org>
928
929         * ispell.C (LaunchIspell):
930         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
931         a boost::shred_ptr rather than a std::auto_ptr.
932
933 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
934
935         * lyxfunc.C (getStatus): handle read-only buffers correctly;
936         handle LFUN_FILE_INSERT_*
937
938         * lyxrc.C (setDefaults, getDescription, output, read):
939         * lyxrc.h: remove ps_command
940
941 2004-03-22  Angus Leeming  <leeming@lyx.org>
942
943         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
944         Ensure that error_handler is processed once only and that all data
945         is saved before attempting to output any warning messages.
946
947         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
948
949 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
950
951         * tabular.C (TeXRow): crash fix (from Kayvan and André)
952
953 2004-03-19  André Pönitz  <poenitz@gmx.net>
954
955         * cursor.[Ch] (reset): take main text inset as argument
956
957         * BufferView: adjust
958         * BufferView_pimpl.C: adjust
959
960         * paragraph.[Ch]: fix completely broken operator=()
961
962 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
963
964         * LColor.C (getFromLyXName): make sure that the color name is used
965         as lowercase.
966
967 2004-03-17  Angus Leeming  <leeming@lyx.org>
968
969         * lfuns.h:
970         * LyXAction.C (init): remove LFUN_FORKS_KILL.
971
972         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
973         dialog and to kill a forked process.
974
975 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
976
977         * text2.C (setCursorFromCoordinates): fix font problem
978
979 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
980
981         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
982         bogus "rebuild cursor" code
983
984 2004-03-11  André Pönitz  <poenitz@gmx.net>
985
986         * buffer.[Ch]: use InsetText instead of LyXText as container for
987         the main lyx text.
988
989         * dociterator.[Ch]: drop the BufferView * member which is not needed
990         anymore after the change to buffer.C
991
992         * paragraph_funcs.C:
993         * text.C:
994         * text2.C:
995         * BufferView.[Ch]:
996         * BufferView_pimpl.[Ch]:
997         * cursor.[Ch]:
998         * cursor_slice.[Ch]: adjust
999
1000         * text3.C: fix bug in mathDispatch
1001
1002 2004-03-08  André Pönitz  <poenitz@gmx.net>
1003
1004         * undo.[Ch]: use 'StableDocumentIterator' as base for
1005         the Undo struct.
1006
1007 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1008
1009         * LaTeXFeatures.C:
1010         * bufferparams.[Ch]: add jurabib support and param.
1011
1012         * LaTeX.C: add FIXME/comment.
1013
1014 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1015
1016         * buffer.C: increment file format to 230.
1017
1018 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1019
1020         * cursor.C (dispatch): avoid infinite loops
1021
1022 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1023
1024         * rowpainter.C (paintSelection): fix x coordinates
1025
1026 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1027
1028         * text.C (rowBreakPoint): fix breaking before displayed insets
1029
1030 2004-03-01  André Pönitz  <poenitz@gmx.net>
1031
1032         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1033
1034         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1035
1036         * Makefile.am:
1037         * BufferView.C:
1038         * BufferView_pimpl.C:
1039         * buffer.C:
1040         * lyxfind.C:
1041         * lyxfunc.C:
1042         * text.C:
1043         * text2.C:
1044         * text3.C: adjust
1045
1046 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1047
1048         * lyxtext.h:
1049         * text.C:
1050         * text2.C:
1051         * rowpainter.C:
1052         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1053         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1054
1055 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1056
1057         * Bidi.[Ch] (computeTables): const correctness
1058         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1059         fill_hfill, fill_label_hfill and x from Row
1060         * lyxtext.h: prepareToPrint returns a RowMetrics
1061         * rowPainter.C: adjust
1062         * text.C (prepareToPrint): use width, not textWidth. adjust
1063         (redoParagraphInternal, cursorX): adjust
1064         * text2.C (getColumnNearX): adjust
1065         (init): put a default value to the top LyXText::width
1066
1067 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1068
1069         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1070
1071 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1072
1073         * lyxtext.h: add FontIterator class
1074
1075         * text.C (FontIterator, operator*, operator->, operator++): add
1076         (rowBreakPoint, setRowWidth): adjust (fixing a
1077         rebreaking bug)
1078
1079 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1080
1081         * BufferView_pimpl.C (workAreaDispatch): allow also
1082         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1083
1084 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1085
1086         * text.C (rowBreakPoint): fix a bug showing with very large insets
1087
1088 2004-02-25  André Pönitz  <poenitz@gmx.net>
1089
1090         * text3.C:
1091         * cursor.[Ch]: move some mathed specific code to mathed
1092
1093 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1094
1095         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1096         use_tempdir in preferences
1097         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1098         tempfile creation
1099         * lyx_main.C: ensure that tempdir is valid
1100         * lyxlex.h: correct typo
1101         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1102         * paragraph.[Ch] (isMultiLingual): make const
1103         * cursor.[Ch] (openable): make const
1104
1105 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1106
1107         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1108
1109 2004-02-20  André Pönitz  <poenitz@gmx.net>
1110
1111         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1112
1113         * cursor.[Ch]: prepare for localized getStatus()
1114
1115         * lyxtext.h:
1116         * tabular.C:
1117         * text.C:
1118         * text2.C:
1119         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1120
1121 2004-02-20  André Pönitz  <poenitz@gmx.net>
1122
1123         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1124
1125 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1126
1127         * text2.C (setCursorFromCoordinates): switch to absolute coords
1128         (cursorUp): adjust
1129         (cursorDown): adjust
1130         * text3.C (dispatch): adjust
1131
1132 2004-02-16  André Pönitz  <poenitz@gmx.net>
1133
1134         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1135           insets/ChangeLog)
1136
1137         * cursor_slice.[Ch]: remove unneeded acessor function
1138
1139         * lyxtext.h: rename rtl() to isRTL()
1140
1141         * rowpainter.C:
1142         * tabular.C:
1143         * text.C:
1144         * text2.C:
1145         * text3.C: adjust
1146
1147 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1148
1149         * rowpainter.C (paintSelection): coord fix
1150
1151 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1152
1153         * Spacing.C: compile fix
1154
1155 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1156
1157         * cursor.C (dispatch): restore current_ before returning
1158
1159 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1160
1161         * text2.C (cursorUp, cursorDown): fix coords
1162         (moveUp): fix crash
1163
1164 2004-02-12  André Pönitz  <poenitz@gmx.net>
1165
1166         * lyxtext.h:
1167         * text.C:
1168         * text2.C:
1169         * text3.C: add LCursor & parameter to most cursor movement functions
1170           remove usage of LyXText::cursorRow() and cursorPar()
1171
1172         * cursor.[Ch]: add textRow() needed members
1173
1174         * BufferView.C:
1175         * BufferView_pimpl.C:
1176         * paragraph.[Ch]:
1177         * BufferView.C:
1178         * BufferView_pimpl.C: adjust
1179
1180 2004-02-11  André Pönitz  <poenitz@gmx.net>
1181
1182         * lyxfunc.C:
1183         * BufferView.[Ch]:
1184         * BufferView_pimpl.C: shift undo/redo handling
1185
1186         * cursor.[Ch]: fix mathed crash
1187
1188         * lyxfind.C:
1189         * lyxtext.h: move selectionAsText to LCursor
1190
1191         * output_latex.C:
1192         * paragraph.C:
1193         * text.C:
1194         * text2.C:
1195         * text3.C: adjust
1196
1197         * rowpainter.C: fix excessive drawing
1198
1199 2004-02-06  André Pönitz  <poenitz@gmx.net>
1200
1201         * BufferView.[Ch]:
1202         * BufferView_pimpl.[Ch]:
1203         * text3.C: move some text specific LFUN handling
1204
1205 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1206
1207         * text3.C (checkInsetHit): adjust coords
1208         * text2.C (getColumnNearX): adjust coords
1209         (edit): adjust coords
1210         * text.C (getRowNearY): add two asserts
1211
1212 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1213
1214         * converter.C:
1215         * format.C: add using std::distance to compile on gcc 2.95/stlport
1216
1217 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1218
1219         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1220
1221 2004-02-04  André Pönitz  <poenitz@gmx.net>
1222
1223         * BufferView.[Ch] (insertInset):
1224         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1225
1226         * text2.C:
1227         * text3.C: adjust
1228
1229 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1230
1231         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1232         on the default clause of the switch
1233         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1234         wasn't catched by LCursor::dispatch
1235
1236 2004-02-03  André Pönitz  <poenitz@gmx.net>
1237
1238         * BufferView.C:
1239         * cursor.[Ch]: some additional asserts
1240
1241         * undo.[Ch]: remove LyXText dependency in interface
1242
1243         * lyxfunc.C: adjust
1244
1245         * lyxtext.h (firstPar, lastPar): remove dead functions
1246
1247         * text.C:
1248         * text2.C:
1249         * text3.C:
1250         * paragraph.[Ch]: adjust
1251
1252 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1253
1254         * lyxfind.C (find): fix argument order in call to ::find
1255
1256 2004-02-02  André Pönitz  <poenitz@gmx.net>
1257
1258         * cursor.[Ch]: remove direct access to anchor
1259
1260         * text.C: remove findText() hack
1261
1262 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1263
1264         * iterators.[Ch] (lockPath): remove in favour of...
1265         * BufferView.[Ch] (setCursor): this addition
1266         * BufferView.C (putSelectionAt): adjust
1267         * undo.C (performUndoOrRedo): adjust
1268         * lyxfunc.C (dispatch): adjust
1269
1270 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1271
1272         * iterators.C (lockPath): add a missing slice
1273         * undo.C (performUndoOrRedo): remove redundant positioning code
1274
1275 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1276
1277         * vc-backend.C (scanMaster): ";" -> ';'
1278
1279 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1280
1281         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1282         std::binary_function
1283
1284         * lyxtextclass.C (compare_name): rename to...
1285         (LayoutNamesEqual): ...this
1286
1287         * lyxlex_pimpl.C (compare_tags): inherit from
1288         std::binary_function, put back into anon namespace
1289
1290         * lyxfind.C (MatchString): inherig from std::binary_function
1291         (findChange): use empty() istead of !size()
1292
1293         * format.C (FormatNamesEqual): new functor
1294         (getFormat): use it
1295         (getNumber): use it
1296         (add): use it
1297         (erase): use it
1298         (setViewer): use it
1299
1300         * converter.C (compare_Converter): rename to...
1301         (ConverterEqual): ...this, and fixup a bit.
1302         (getConverter): use it, and make function const
1303         (getNumber): use it, and make function const
1304         (add): use it
1305         (erase): use it:
1306
1307         * bufferlist.C: add using boost::bind
1308
1309         * MenuBackend.C (MenuNamesEqual): new functor
1310         (hasMenu): use it, and make function const
1311         (hasSubmenu): use nested bind to get rid of compare_memfun.
1312
1313 2004-01-30  André Pönitz  <poenitz@gmx.net>
1314
1315         * BufferView_pimpl.C:
1316         * cursor.C:
1317         * cursor.h:
1318         * cursor_slice.[Ch]:
1319         * lyxfunc.C:
1320         * lyxtext.h:
1321         * paragraph_funcs.C:
1322         * paragraph_funcs.h:
1323         * rowpainter.C:
1324         * text.C:
1325         * text2.C:
1326         * text3.C: move some of the edit(x,y) handling to the insets
1327         some coordinate changes.
1328
1329 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1330
1331         * text.C: add using statements for std::advance and std::distance
1332
1333         * paragraph.C: add using statement for std::distance
1334
1335         * lyxfind.C: add using statement for std::advance
1336
1337         * cursor.C (region): remove std:: from swap
1338         (openable): use nucleus in stead of operator->
1339
1340         * BufferView.C: add using statements for std::distance and std::swap
1341
1342 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1343
1344         * iterators.C: Remove the pimple, move the needed structures to
1345         the header file. Create accessor for the positions stack.
1346         (asPosIterator): remove function
1347
1348         * PosIterator.C (PosIterator): move constructors to top of file
1349         (PosIterator): reimplement the constructor taking a ParIterator in
1350         terms of setFrom.
1351         (setFrom): new function
1352         (operator!=): inline it
1353
1354 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1355
1356         * lyxfind.C (replaceAll): use std::advance
1357
1358         * iterators.h: inherit from std::iterator.
1359
1360         * PosIterator.C (advance, distance): remove
1361         * PosIterator.h: interit from std::iterator.
1362
1363 2004-01-26  André Pönitz  <poenitz@gmx.net>
1364
1365         * BufferView.[Ch]:
1366         * BufferView_pimpl.[Ch]:
1367         * InsetList.[Ch]:
1368         * PosIterator.[Ch]:
1369         * buffer.h:
1370         * bufferview_funcs.C:
1371         * cursor.[Ch]:
1372         * cursor_slice.h:
1373         * factory.[Ch]:
1374         * iterators.[Ch]:
1375         * lyxfind.C:
1376         * lyxfunc.C:
1377         * lyxtext.h:
1378         * output_docbook.C:
1379         * output_latex.C:
1380         * output_linuxdoc.C:
1381         * output_plaintext.C:
1382         * paragraph.[Ch]:
1383         * paragraph_funcs.[Ch]:
1384         * paragraph_pimpl.[Ch]:
1385         * rowpainter.C:
1386         * tabular.C:
1387         * tabular.h:
1388         * text.C:
1389         * text2.C:
1390         * text3.C: more IU:  dumps most of the rest of the mathcursor
1391     implementation into cursor.[Ch]; "globalize" a bit of it.
1392
1393 2004-01-25  Angus Leeming  <leeming@lyx.org>
1394
1395         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1396
1397 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1398
1399         * LaTeXFeatures.h: add nice_ and nice() const
1400         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1401
1402 2004-01-20  André Pönitz  <poenitz@gmx.net>
1403
1404         * BufferView.[Ch]:
1405         * BufferView_pimpl.C:
1406         * PosIterator.C:
1407         * bufferview_funcs.C:
1408         * cursor.[Ch]:
1409         * cursor_slice.[Ch]:
1410         * factory.C:
1411         * iterators.C:
1412         * lyx_cb.C:
1413         * lyxfind.C:
1414         * lyxfunc.C:
1415         * lyxtext.h:
1416         * rowpainter.C:
1417         * text.C:
1418         * text2.C:
1419         * text3.C:
1420         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1421           LCursor and mathcursor parts to LCursor and InsetBase.
1422
1423 2004-01-15  André Pönitz  <poenitz@gmx.net>
1424
1425         * cursor_slice.[Ch]: add a few covienience functions
1426
1427         * funcrequest.[Ch]: remove BufferView * member
1428
1429         * BufferView_pimpl.C:
1430         * cursor.C:
1431         * factory.[Ch]:
1432         * lyxfind.[Ch]:
1433         * lyxfunc.C:
1434         * lyxtext.h:
1435         * text3.C:
1436         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1437
1438 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1439
1440         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1441         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1442
1443 2004-01-13  André Pönitz  <poenitz@gmx.net>
1444
1445         * textcursor.[Ch]:
1446         * lyxtext.h: hide cursor and selection anchor behind accessor function
1447
1448         * BufferView.C:
1449         * BufferView_pimpl.[Ch]:
1450         * PosIterator.C:
1451         * bufferview_funcs.C:
1452         * cursor.h:
1453         * lyxfind.C:
1454         * lyxfunc.C:
1455         * text.C:
1456         * text2.C:
1457         * text3.C:
1458         * undo.C: adjust
1459
1460         * cursor.h:
1461         * cursor_slice.[Ch]: some integer type changes for inset unification
1462
1463         * lyxcursor.[hC]: remove, it's CursorSlice now.
1464
1465         * Makefile.am:
1466         * BufferView_pimpl.[Ch]:
1467         * bufferview_funcs.C:
1468         * cursor_slice.C:
1469         * lyxtext.h:
1470         * text.C:
1471         * text2.C:
1472         * text3.C:
1473         * textcursor.[Ch]: adjust
1474
1475 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1476
1477         * text2.C (undoSpan): add and use
1478         * text.C (breakParagraph): use undoSpan (fix bug 578)
1479         * lyxtext.h: adjust
1480
1481 2004-01-08  Angus Leeming  <leeming@lyx.org>
1482
1483         * BufferView_pimpl.C (MenuInsertLyXFile):
1484         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1485         * lyxfunc.C (menuNew, open, doImport):
1486         FileFilterList change to the FileDialog open and save functions.
1487
1488 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1489
1490         * ShareContainer.h: make isEqual and isUnique adaptable
1491
1492         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1493
1494 2004-01-07  Angus Leeming  <leeming@lyx.org>
1495
1496         * LyXAction.C:
1497         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1498
1499         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1500
1501         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1502         functions replacing find, replace and replaceAll.
1503
1504         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1505         LFUN_WORDFIND(FORWARD|BACKWARD).
1506
1507 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1508
1509         * text.C (breakParagraph): remove an outdated #warning
1510
1511 2004-01-07  André Pönitz  <poenitz@gmx.net>
1512
1513         * lyxfind.C: somewhat clearer logic
1514
1515         * text.C: prevent crash in cursorX on unitialized row cache
1516
1517 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1518
1519         * lyxcursor.[Ch] (operator>): add
1520         * textcursor.C (selStart, selEnd): use std::min and std::max
1521
1522 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1523
1524         * Chktex.C: include boost/format.hpp
1525
1526 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1527
1528         * InsetList.C: replace functor MathcIt with adaptable functor
1529         InsetTablePosLess
1530         (insetIterator): modify accordingly
1531
1532         * BranchList.h: move the BranchNamesEqual functor here from...
1533         * BranchList.C: ... to here
1534
1535         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1536         SameName and match.
1537         (add): replace a finding loop with std::find_if.
1538
1539 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1540
1541         * output_docbook.C: moving LatexParam functionality into
1542         .layout files
1543
1544 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1545
1546         * buffer.C: increment format to 229.
1547
1548 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1549
1550         * LaTeXFeatures.C:
1551         * lyx_sty.[Ch]: remove minipageindent_def
1552
1553         * LyXAction.C:
1554         * factory.C:
1555         * lfuns.h:
1556         * lyxfunc.C:
1557         * text3.C: remove LFUN_INSET_MINIPAGE
1558
1559 2003-12-28  Angus Leeming  <leeming@lyx.org>
1560
1561         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1562
1563 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1564
1565         * text2.C (setParagraph): fix off-by-one crash
1566
1567 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1568
1569         * output_docbook.C: header stuff for AGU
1570
1571 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1572
1573         * text2.C (redoCursor): remove
1574         * text.C:
1575         * text3.C:
1576         * BufferView_pimpl.C: remove calls to redoCursor and
1577         setCursor(cursor.par(), cursor.pos()) all around
1578
1579 2003-12-15  Angus Leeming  <leeming@lyx.org>
1580
1581         * buffer.C: up the format to 228.
1582
1583 2003-12-15  André Pönitz  <poenitz@gmx.net>
1584
1585         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1586         slices
1587
1588         * Makefile.am:
1589
1590         * BufferView_pimpl.C:
1591         * cursor.[Ch]:
1592         * lyxcursor.[Ch]:
1593         * rowpainter.[Ch]:
1594         * lyxtext.h:
1595         * text.C:
1596         * text2.C:
1597         * text3.C: adjust
1598
1599 2003-12-15  Angus Leeming  <leeming@lyx.org>
1600
1601         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1602         than getFromGUIName to manipulate the color.
1603
1604 2003-12-14  Angus Leeming  <leeming@lyx.org>
1605
1606         * BranchList.[Ch]: minimize the API.
1607         (Branch::getBranch, getColor): now return a 'const &'.
1608         (Branch::setSelected) now returns a bool set to true if the
1609         selection status changes.
1610         (BranchList::clear, size, getColor, setColor, setSelected,
1611         allBranches, allSelected, separator): removed.
1612         (BranchList::find): new functions, returning the Branch with
1613         the given name.
1614         (BranchList::add, remove): return a bool indicating that
1615         the operation was successful.
1616
1617         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1618         new InsetBranch::isBranchSlected member function.
1619
1620         * LColor.[Ch]: mimimize the API.
1621         (fill): renamed as addColor and made private.
1622         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1623         versions of these functions taking a string arg have been removed.
1624
1625         * bufferparams.C (readToken):
1626         * lyxfunc.C (dispatch):
1627         * lyxrc.C (read): changes due to the altered BranchList and
1628         LColor APIs.
1629
1630         * factory.C (createInset, readInset): changes due to altered
1631         InsetBranch c-tor.
1632
1633 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1634
1635         * factory.C:
1636         * lyxfunc.C: remove insetminipage. "minipage-insert"
1637         now produces a frameless minipage box inset.
1638
1639 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1640
1641         * textcursor.[Ch] (selStart,selEnd): add new methods
1642         remove selection::start, end, use LyXCursor::operator<
1643         * lyxcursor.[Ch] (operator<): add
1644         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1645         * BufferView.[Ch] (unsetXSel): add
1646         * text2.C (clearSelection): use unsetXSel,adjust
1647         * text.C: adjust
1648         * text3.C: adjust
1649         * rowpainter.C: adjust
1650         * bufferview_funcs.C (put_selection_at): adjust
1651
1652 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1653
1654         * BufferView_pimpl.C: small coord. correction
1655
1656 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1657
1658         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1659         dragging over the splash screen.
1660
1661 2003-12-11  Angus Leeming  <leeming@lyx.org>
1662
1663         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1664         as it is now handled in LyXText::dispatch.
1665
1666         * text3.C (doInsertInset): remove a level of nesting.
1667
1668 2003-12-11  Angus Leeming  <leeming@lyx.org>
1669
1670         * factory.C (createInset): changes due to the changed interface to
1671         InsetCommandMailer::string2params.
1672
1673 2003-12-10  Angus Leeming  <leeming@lyx.org>
1674
1675         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1676         'dialog-show-new-inset <inset name>'
1677
1678 2003-12-10  Angus Leeming  <leeming@lyx.org>
1679
1680         * buffer.C: up the format to 227.
1681
1682         * factory.C: the box inset is now identified simply by 'Box'.
1683
1684 2003-12-10  Angus Leeming  <leeming@lyx.org>
1685
1686         * buffer.C: up the format to 226.
1687
1688         * factory.C: the note inset is now identified simply by 'Note'.
1689
1690 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1691
1692         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1693         when a pit is enough. Standarize a couple of loops.
1694
1695 2003-12-05  Angus Leeming  <leeming@lyx.org>
1696
1697         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1698         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1699         data to the re-worked "log" dialog.
1700
1701 2003-12-03  André Pönitz  <poenitz@gmx.net>
1702
1703         * PosIterator.C:
1704         * iterators.C:
1705         * lyxtext.h:
1706         * output_latex.C:
1707         * paragraph_funcs.C:
1708         * text.C:
1709         * text2.C: use Inset::getText instead of Inset::getParagraph
1710
1711 2003-12-03  André Pönitz  <poenitz@gmx.net>
1712
1713         * buffer.[Ch]:
1714         * lyxtext.h:
1715         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1716         InsetText::read() as LyXText::read()
1717
1718 2003-12-02  Angus Leeming  <leeming@lyx.org>
1719
1720         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1721         type. Add a comment in the implementation that the function uses
1722         the stream's bad() function rather than fail() as the std::streams
1723         would do.
1724
1725 2003-12-02  André Pönitz  <poenitz@gmx.net>
1726
1727         * lyxlex.[Ch]: make interface more similar to std::stream
1728
1729         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1730
1731 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1732
1733         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1734
1735 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1736
1737         * vspace.[Ch]: remove VSpace::NONE
1738
1739 2003-12-01  André Pönitz  <poenitz@gmx.net>
1740
1741         * buffer.[Ch]:
1742         * lyxtext.h: move ParagraphList member to LyXText
1743         rename LyXText::ownerParagraphs to LyXText::paragraph
1744
1745         * CutAndPaste.C:
1746         * bufferview_funcs.C:
1747         * iterators.[Ch]:
1748         * lyx_cb.C:
1749         * paragraph.C:
1750         * rowpainter.C:
1751         * tabular.C:
1752         * text.C:
1753         * text2.C:
1754         * text3.C: adjust
1755
1756         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1757
1758         * undo.C: fix cursor positioning
1759
1760 2003-12-01  John Levon  <levon@movementarian.org>
1761
1762         * BufferView_pimpl.C: fix a crash on exit with
1763         a buffer open
1764
1765 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1766
1767         * BranchList.C: fix setSelected() method.
1768
1769 2003-11-28  André Pönitz  <poenitz@gmx.net>
1770
1771         * ParagraphParameters.[Ch]:
1772         * ParameterStruct.h: remove space above/below from Paragraph to
1773          InsetVSpace
1774
1775         * BufferView_pimpl.C:
1776         * factory.C:
1777         * lyxfunc.C:
1778         * lyxtext.h:
1779         * output_latex.C:
1780         * paragraph.C:
1781         * paragraph_funcs.C:
1782         * rowpainter.[Ch]:
1783         * text.C:
1784         * text2.C:
1785         * text3.C: adjust
1786
1787 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1788
1789         * factory.C: Syntax change for CharStyles
1790
1791 2003-11-28  André Pönitz  <poenitz@gmx.net>
1792
1793         * BufferView.[Ch]:
1794         * BufferView.[Ch]:
1795         * buffer.[Ch]:
1796         * buffer.[Ch]: move LyXText member
1797
1798 2003-11-28  André Pönitz  <poenitz@gmx.net>
1799
1800         * BufferView.[Ch]: make LyXText * text a private member
1801
1802         * BufferView_pimpl.C:
1803         * cursor.C:
1804         * iterators.C:
1805         * lyx_cb.C:
1806         * lyxfind.C:
1807         * lyxtext.h:
1808         * rowpainter.[Ch]:
1809         * text.C:
1810         * text2.C:
1811         * undo.C: adjust
1812
1813         * output_plaintext.C: cleanup
1814
1815 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1816
1817         * buffer.C:
1818         * lyxtextclass.[Ch]: parametrize SGML document header
1819
1820 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1821
1822         * converter.[Ch]:
1823         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1824         getFlavor().
1825
1826 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1827
1828         * text2.C (setFont): rework using PosIterator (no more recursive)
1829         (setCharFont): no more needed
1830         (setLayout): no more selection cursors fiddling (done by redoCursor)
1831         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1832         destroy remaining ones)
1833
1834 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1835
1836         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1837         * lyxtext.h: ditto
1838         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1839         selection cursors
1840         * lyxfunc.C: adjust
1841         * text3.C: adjust + re-allow multi par depth changes
1842         * textcursor.C: simplify a bit
1843
1844 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1845
1846         * src/buffer.C:
1847         * src/lyxlayout.C:
1848         * src/lyxlayout.h:
1849         * src/lyxtext.h:
1850         * src/output_docbook.C:
1851         * src/output_latex.C:
1852         * src/paragraph.C:
1853         * src/paragraph.h:
1854         * src/sgml.C:
1855         * src/sgml.h:
1856         * src/text2.C: Introducing a number of tags parametrizing various
1857         XML formats that we may want to support
1858
1859 2003-11-25  André Pönitz  <poenitz@gmx.net>
1860
1861         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1862
1863         * lyxtext.h (leftMargin/rightMargin): simplify interface
1864
1865         * rowpainter.C:
1866         * text.C:
1867         * text2.C:
1868         * text3.C: adjust
1869
1870 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1871
1872         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1873         master file to any child files. Fixes bug 546.
1874
1875 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1876
1877         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1878
1879 2003-11-24  André Pönitz  <poenitz@gmx.net>
1880
1881         * rowpainter.C: simplification
1882
1883         * text2.C (updateCounters): remove call to redoParagraph on
1884         changed labels as this is far too expensive.
1885
1886 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1887
1888         * converter.C (convert): fix a crash: this function gets
1889         called with buffer == 0 from importer code.
1890
1891 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1892
1893         * text3.C (cursorPrevious): make sure that we do not compare
1894         iterators form different containers.
1895         (cursorNext): ditto
1896
1897         * rowpainter.C (paintSelection): make sure that we do not compare
1898         iterators from different containers.
1899
1900         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1901         iterators from different ParagraphList containers.
1902         [NEXT] ditto
1903
1904         * text2.C (LyXText): change order of initialization slightly
1905         (operator=): new function. copy all variables except cache_par_
1906         (moveUp): make sure that we do not compare iterators from
1907         different ParagraphList constainers.
1908         (moveDown): ditto
1909
1910         * text.C (firstPar): new function
1911         (lastPar): new function
1912         (endPar): new function
1913
1914         * lyxtext.h: move things around and group public functions, public
1915         variables, private functions, private variables
1916
1917 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1918
1919         * factory.C: change call to InsetERT constructor to avoid
1920         additional invocation of method status
1921         * text2.C (toggleInset): remove redundant update() call
1922         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1923         instead of a Bufferview pointer
1924
1925 2003-11-21  André Pönitz  <poenitz@gmx.net>
1926
1927         * rowpainter.C: simplification
1928
1929 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1930
1931         * text3.C (dispatch): make possible to extend a word/row selection
1932         with the mouse
1933
1934 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1935
1936         * lyxtext.h: x0_,y0_ -> xo_,yo_
1937         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1938         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1939         * rowpainter.C (paintRows): paint full paragraphs
1940
1941 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1942
1943         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1944         screen coordinates)
1945
1946 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1947
1948         * lyxtext.h: add x0_, y0_
1949         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1950         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1951
1952 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1953
1954         * text2.C (setCursorIntern): move the x_target update here *
1955         * text3.C: change some bv() to true/false in calls to
1956         cursorUp/Down/Right/Left
1957         * cursor.C: use helper function.
1958
1959 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1960
1961         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1962         * paragraph_funcs.[Ch]: correct comment
1963         * rowpainter.C: do not paint selections away from bv->cursor()
1964         Fix a long standing selection painting bug.
1965         * text3.C: generalize mouse-selection code to LyXTexts other that
1966         top one
1967         * textcursor.C: do not use y coords if we can use par offsets
1968
1969 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1970
1971         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1972         cursor position after e.g. inset insert)
1973
1974 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1975
1976         * lyxfind.C (replace): adjust to locking removal + some
1977         code simplification
1978
1979 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1980
1981         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1982         of the path
1983
1984 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1985
1986         * lyxlayout.[Ch]:
1987         * output_docbook.C: XML sanitation: new layout
1988         parameters InnerTag and CommandDepth
1989
1990 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1991
1992         * BufferView_pimpl.C:
1993         * factory.C:
1994         * text3.C: Fix the insertion and modification of button-style
1995         insets
1996
1997 2003-11-13  André Pönitz  <poenitz@gmx.net>
1998
1999         * InsetList.[Ch]: remove deleteLyXText
2000
2001         * paragraph.[Ch]: cache beginOfBody position
2002
2003         * Bidi.C:
2004         * text.C:
2005         * text2.C:
2006         * text3.C: remove superfluous update() calls
2007
2008         * vspace.C: cleanup
2009
2010 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2011
2012         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2013         * BufferView.C (fitLockedInsetCursor): remove
2014         * cursor.[Ch] (getDim): add
2015         * text.C (getRowNearY): add faster version
2016         * text3.C: remove some update calls
2017
2018 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2019
2020         * LaTeXFeatures.C:
2021         * LyXAction.C:
2022         * MenuBackend.C:
2023         * MenuBackend.h:
2024         * dispatchresult.h:
2025         * factory.C:
2026         * lfuns.h:
2027         * lyxfunc.C:
2028         * lyxtextclass.C:
2029         * lyxtextclass.h:
2030         * text3.C: The Character Style /XML short element patch.
2031
2032 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2033
2034         * text3.C:
2035         * factory.C: Small step to solving 'unable to insert some insets'
2036         problem
2037
2038 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2039
2040         * cursor.[Ch] (updatePos): new function for updating the y
2041         position of the tip inset
2042         * bufferview_funcs.C (put_selection_at):
2043         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2044
2045 2003-11-11  André Pönitz  <poenitz@gmx.net>
2046
2047         * text.C: remove big comment on invalid Paragraph pointers as it is
2048         not valid anymore
2049
2050 2003-11-11  André Pönitz  <poenitz@gmx.net>
2051
2052         * text_funcs.[Ch]: merge with ...
2053
2054         * text.C: ... this
2055
2056         * lyxtext.h:
2057         * text2.C:
2058         * text3.C: adjust
2059
2060         * Makefile.am: remove text_funcs.[Ch]
2061
2062 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2063
2064         * cursor.C (getPos): return absolute cached y coord
2065
2066         * BufferView_pimpl.C (fitCursor): new simplistic code
2067         (workAreaDispatch): add a fitCursor call
2068
2069 2003-11-10  André Pönitz  <poenitz@gmx.net>
2070
2071         * BufferView.[Ch]:
2072         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2073
2074 2003-11-10  André Pönitz  <poenitz@gmx.net>
2075
2076         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2077         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2078         indicate that the cursor needs to leave an inset
2079
2080         * lyxtext.h: remove inset locking
2081
2082         * cursor.[Ch]: re-implement functionality provided by inset locking
2083
2084         * BufferView.[Ch]:
2085         * BufferView_pimpl.[Ch]:
2086         * LyXAction.C:
2087         * bufferview_funcs.[Ch]:
2088         * factory.C:
2089         * funcrequest.[Ch]:
2090         * iterators.C:
2091         * lyx_cb.C:
2092         * lyxfind.C:
2093         * lyxfunc.C:
2094         * text.C:
2095         * text2.C:
2096         * text3.C:
2097         * undo.C: adjust
2098
2099 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2100
2101         * PosIterator.[Ch]: replace the stack with a vector, add inset
2102         accesor
2103         * iterators.[C]: adjust
2104
2105 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2106
2107         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2108         replaced
2109         * paragraph_funcs.C (readParToken): put the correct id in the
2110         error item, not the id of the top paragraph
2111
2112 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2113
2114         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2115         * bufferview_funcs.C (put_selection_at): use the above
2116
2117 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2118
2119         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2120
2121 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2122
2123         * output_linuxdoc.h:
2124         * output_plaintext.h:
2125         * output.h:
2126         * output_docbook.h: add #include statements
2127
2128 2003-11-05  José Matos  <jamatos@lyx.org>
2129
2130         * output_docbook.[Ch]:
2131         * output_latex.[Ch]:
2132         * output_linuxdoc.[Ch]:
2133         * output_plaintext.[Ch]: New files for output formats.
2134         * output.[Ch]: New file for helper functions.
2135
2136         * buffer.[Ch]:
2137         * paragraph_funcs.[Ch]: output functions moved to new files.
2138
2139         * outputparams.h: rename of latexrunparams.h
2140
2141         * LaTeX.[Ch]:
2142         * buffer.[Ch]:
2143         * bufferlist.[Ch]:
2144         * converter.[Ch]:
2145         * exporter.C:
2146         * paragraph.[Ch]:
2147         * paragraph_funcs.[Ch]:
2148         * paragraph_pimpl.[Ch]:
2149         * tabular.[Ch]: rename ascii to plaintext
2150         and LatexRunParams to OutputParams.
2151
2152 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2153
2154         * iterators.[Ch] (text): require bv argument
2155         * undo.C (recordUndo):
2156         * lyxfunc.C (dispatch):
2157         * bufferview_funcs.C (put_selection_at): adjust
2158
2159 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2160
2161         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2162
2163 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2164
2165         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2166         nestings
2167
2168 2003-11-04  André Pönitz  <poenitz@gmx.net>
2169
2170         * cursor.[Ch]: restructure
2171
2172         * BufferView.[Ch]:
2173         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2174
2175         * iterators.[Ch] (asCursor): remove
2176
2177         * lfuns.h: remove LFUN_INSET_EDIT
2178
2179         * lyxfunc.C:
2180         * tabular.C:
2181         * text.C:
2182         * text2.C:
2183         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2184
2185 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2186
2187         * lyxfind.[Ch]: complete overhaul
2188         * BufferView_pimpl.C:
2189         * lyxfunc.C: adjust
2190         * paragraph.[Ch] (insert): add
2191
2192 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2193
2194         * BufferView.[Ch]:
2195         * lyxtext.h:
2196         * text.C: remove dead spellcheck code
2197
2198 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2199
2200         * dispatchresult.h: add a val setter
2201
2202         * cursor.C (dispatch): use a tempvar for data_[i]
2203
2204 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2205
2206         * PosIterator.[Ch]: compile fix
2207
2208 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2209
2210         * text.C (cursorPar): deactivate the cursor cache
2211
2212 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2213
2214         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2215
2216 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2217
2218         * text3.C (dispatch): adjust for new DisptchResult semantics.
2219
2220         * lyxfunc.C (dispatch): handle update when return from
2221         Cursor::dispatch, adjust for new DispatchResult semantics.
2222
2223         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2224         DispatchResult(true) mean to not update. Add class functions for
2225         setting dispatched and update, as well as reading.
2226
2227         * cursor.C (dispatch): don't handle update here
2228
2229 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2230
2231         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2232         * trans_mgr.C: adjust
2233
2234         * paragraph_funcs.C (readParToken): exception safety
2235
2236         * lyxvc.h: store the vcs pointer in a scoped_ptr
2237         * lyxvc.C: adjust
2238
2239         * lyxsocket.C (serverCallback): exception safety
2240
2241         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2242
2243         * ispell.C (clone): make it return a auto_ptr
2244
2245         * factory.C (createInset): exception safety
2246         (readInset): exception safety
2247
2248         * bufferlist.C (newBuffer): exception safety
2249
2250         * Thesaurus.C (Thesaurus): use initialization for aik_
2251
2252         * MenuBackend.C (expandToc): exception safety.
2253
2254 2003-11-03  André Pönitz  <poenitz@gmx.net>
2255
2256         * buffer.C:
2257         * buffer.h:
2258         * bufferview_funcs.C: remove getInsetFromId()
2259
2260         * lyxcursor.[Ch]:
2261         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2262
2263         * lyxfunc.C:
2264         * text2.C:
2265         * text3.C: adjust
2266
2267 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2268
2269         * PosIterator.C (distance, advance): new
2270         * bufferview_funcs.[Ch] (put_selection_at): new
2271         * iterators.[Ch] (lockPath): new
2272
2273 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2274
2275         * iterators.[Ch] (asPosIterator): added
2276         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2277         * PosIterator.[Ch]: added
2278
2279 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2280
2281         * text3.C:
2282         * lyxfunc.C:
2283         * cursor.C (dispatch):
2284         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2285
2286         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2287         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2288         contructor, add a class function dispatched. Remove operator>=
2289
2290 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2291
2292         * debug.C: only use the default constructor for debugstream
2293         (lyxerr) here.
2294
2295         * main.C (main): include debug.h and setup the lyxerr streambuf
2296         here.
2297
2298 2003-10-31  José Matos  <jamatos@lyx.org>
2299
2300         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2301
2302         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2303         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2304         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2305         * paragraph_pimpl.C (simpleTeXSpecialC):
2306         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2307         add LatexRunParams argument.
2308
2309         * exporter.C (Export): change call accordingly.
2310
2311         * latexrunparams.h: add new member to take care of the other backends.
2312 2003-10-30  José Matos  <jamatos@lyx.org>
2313
2314         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2315         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2316         factorise code for paragraph output.
2317         * buffer.[Ch]:
2318         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2319         move functions.
2320
2321 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2322
2323         * text3.C (dispatch):
2324         * lyxfunc.C (dispatch):
2325         * cursor.C (dispatch):
2326         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2327
2328         * dispatchresult.h: make the dispatch_result_t ctor explicit
2329
2330 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2331
2332         * sgml.[Ch]:
2333         * buffer.C: small refactoring of docbook stuff
2334
2335 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2336
2337         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2338         meaning.
2339
2340 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2341
2342         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2343         operator dispatch_result_t, and operators for == != and >=
2344
2345         * cursor.C (dispatch): adjust for operator dispatch_result_t
2346         removal. comment out call to update
2347
2348         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2349
2350 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2351
2352         * text3.C:
2353         * text2.C:
2354         * text.C:
2355         * lyxtext.h:
2356         * lyxfunc.C:
2357         * cursor.C:
2358         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2359         (dispatch):
2360
2361         * dispatchresult.h: new file, DispatchResult broken out of
2362         insets/insetbase.h
2363
2364         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2365
2366 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2367
2368         * text.C (rowBreakPoint): put a hack inside #if 0
2369
2370 2003-10-28  André Pönitz  <poenitz@gmx.net>
2371
2372         * lyxtext.h:
2373         * metricsinfo.C:
2374         * paragraph_funcs.C:
2375         * rowpainter.C:
2376         * text.C:
2377         * text2.C: general cleanup (lots of small stuff)
2378
2379 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2380
2381         * text2.C (cursorEnd): simple fix to the "end key goes to one
2382         before the end on last row" bug
2383
2384 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2385
2386         * text.C (backspace): fix the "zombie characters"
2387
2388 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2389
2390         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2391
2392 2003-10-27  André Pönitz  <poenitz@gmx.net>
2393
2394         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2395
2396         * factory.C: handle new InsetPagebreak, InsetLine
2397
2398         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2399         and move handling into new InsetPagebreak, InsetLine
2400
2401         * BufferView_pimpl.C:
2402         * LyXAction.C:
2403         * ParagraphParameters.C:
2404         * ParameterStruct.h:
2405         * lyxfunc.C:
2406         * lyxtext.h:
2407         * paragraph.C:
2408         * paragraph.h:
2409         * paragraph_funcs.C:
2410         * paragraph_pimpl.C:
2411         * rowpainter.C:
2412         * text.C:
2413         * text2.C:
2414         * text3.C: adjust
2415
2416 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2417
2418         * text.C:
2419         * lyxrow_funcs.[Ch]:
2420         * Bidi.C:
2421         * paragraph.C:
2422         * lyxtext.h:
2423         * rowpainter.C:
2424         * text2.C:
2425         * text3.C: remove lastPos uses in favour of Row::endpos
2426
2427 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2428
2429         * undo.C (performUndoOrRedo): fix two crashes by setting a
2430         cursor by hand and reordering some calls. Use bv->lockInset instead
2431         of inset->edit because the latter loses cursor information
2432
2433 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2434
2435         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2436         by Martin
2437         (rowBreakPoint): fix width. change point to point + 1.
2438         Add a missing check.
2439
2440 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2441
2442         * MenuBackend.C:
2443         * lyxfunc.C: fix (at least partly) the problems
2444         with the Nav menu and headers inside branch insets
2445         reported by Kayvan
2446
2447 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2448
2449         * paragraph.C (getChar): add strong asserts
2450
2451         * lyxrow_funcs.C (lastPos): remove hideous hack
2452
2453         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2454         (fill): adjust to that (avoid an infinite loop)
2455
2456 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2457
2458         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2459
2460 2003-10-23  André Pönitz  <poenitz@gmx.net>
2461
2462         * RowList_fwd.h: change list<> to vector<> to gain speed
2463         after suggestion from Alfredo
2464
2465 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2466
2467         * lyxtext.h: move the bidi stuff from here...
2468         * text.C: and here
2469         * text2.C: and here
2470         * Bidi.[Ch]: ... to here
2471
2472 2003-10-23  André Pönitz  <poenitz@gmx.net>
2473
2474         * lyxtext.h:
2475         * text.C (isLastRow, isFirstRow): new functions
2476
2477         * paragraph.h: new width cache member
2478
2479         * rowpainter.C: replace RowList::iterator with Row & where possible
2480
2481         * lyxfunc.C: replace several view()->text with a single call
2482
2483         * toc.C: fix 'unused' warning
2484
2485 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2486
2487         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2488         when woring with stream::pos_type
2489         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2490
2491 2003-10-22  André Pönitz  <poenitz@gmx.net>
2492
2493         * lyxtext.h:
2494         * text.C: use Row & instead of RowList::iterator
2495
2496         * lyxrow.h: rename end() to endpos()
2497
2498         * rowpainter.C:
2499         * text.C:
2500         * text2.C: adjust
2501
2502 2003-10-22  Angus Leeming  <leeming@lyx.org>
2503
2504         * buffer.[Ch] (fully_loaded): new member function, returning true
2505         only when the file has been loaded fully.
2506         Used to prevent the premature generation of previews and by the
2507         citation inset to prevent computation of the natbib-style label.
2508
2509         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2510         templates are all set up.
2511
2512         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2513
2514 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2515
2516         * text.C: fixed an "oops" in the "is a bit silly"
2517         bug fix
2518
2519 2003-10-21  André Pönitz  <poenitz@gmx.net>
2520
2521         * FuncStatus.[Ch]: small stuff, whitespace
2522
2523         * lyxfont.[Ch]: operator<<() for debug reasons
2524
2525         * lyxfunc.C:
2526         * lyxrow_funcs.C:
2527         * lyxtext.h: whitespace, spelling
2528
2529         * paragraph.C: naming of variables
2530
2531         * text.C:
2532         * text2.C: small stuff
2533
2534
2535 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2536
2537         * text.C: (1) finish off the inset display() work;
2538         (2) fix the "is a bit silly" bug (accessing char
2539         past end of par).
2540
2541 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2542
2543         * text.C: re-introduce display() for insets, fixing the
2544         various bugs (stretch of line above, math inset
2545         positioning, ...)
2546
2547 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2548
2549         * text.C (rightMargin): remove spurious semicolon
2550
2551         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2552         1415)
2553
2554 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2555
2556         * text3.C: fix one crash due to wrong cursor def
2557
2558 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2559
2560         * vc-backend.C (scanMaster): make the regex static
2561
2562         * LaTeX.C (scanAuxFile): make the regexs static
2563
2564         * text3.C (doInsertInset, dispatch, dispatch):
2565         * text2.C (cursorUp, cursorDown):
2566         * text.C (selectNextWordToSpellcheck):
2567         * BufferView_pimpl.C (dispatch):
2568         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2569
2570 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2571
2572         * lyxsocket.C: include <cerrno>
2573
2574 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2575
2576         * lyxfunc.C (dispatch): remove textcache stuff
2577
2578         * bufferlist.C (release): remove textcache stuff
2579         (closeAll): ditto
2580
2581         * TextCache.C: delete file
2582         * TextCache.h: delete file
2583
2584         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2585
2586         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2587         delete of the bv_->text.
2588         (resizeCurrentBuffer): remove texcache stuff
2589         (workAreaResize): ditto
2590
2591 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2592
2593         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2594         action.
2595
2596 2003-10-16  André Pönitz  <poenitz@gmx.net>
2597
2598         * lyxrow.[Ch]:
2599         * paragraph.h:
2600         * rowpainter.C:
2601         * text.C:
2602         * text2.C:
2603         * text3.C: speed up by storing y positions per paragraph plus per-row
2604         offset instead of having a 'full' y position in the row.
2605
2606 2003-10-15  André Pönitz  <poenitz@gmx.net>
2607
2608         * iterators.[Ch]:
2609         * iterators.[Ch]:
2610         * undo.[Ch]: make undo aware of inner insets
2611
2612 2003-10-14  Angus Leeming  <leeming@lyx.org>
2613
2614         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2615         static member functions LyX::ref() and LyX::cref.
2616         (lastfiles): new accessor functions for the new lastfiles_ member var.
2617         (addLyXView, views_): add a new LyXView to the list of views_.
2618         (updateInset): loop over all LyXViews to call their own updateInset
2619         member function, returning a pointer to the Buffer owning the inset.
2620
2621         * BufferView_pimpl.C (loadLyXFile):
2622         * MenuBackend.C (expandLastfiles):
2623         * bufferlist.C (MenuWrite, QuitLyX):
2624         lastfiles is no longer a global variable.
2625         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2626
2627         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2628         static function. Access through LyX::cref().emergencyCleanup().
2629
2630 2003-10-14  André Pönitz  <poenitz@gmx.net>
2631
2632         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2633
2634         * undo.[Ch]: restoring part of 'undo in insets'
2635
2636         * Makefile.am:
2637         * undo_funcs.[Ch]: merge with undo.[Ch]
2638
2639         * tabular.C: small cleansing stuff
2640
2641 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2642
2643         * paragraph_funcs.C (readParToken): report unknown insets as error
2644         boxes. Use the outer paragraph as location (also for unknown
2645         tokens).
2646
2647         * factory.C (readInset): do not abort on reading an unknown inset.
2648         Eat it and return 0.
2649
2650 2003-10-13  Angus Leeming  <leeming@lyx.org>
2651
2652         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2653
2654         * lyxrc.C: displayTranslator is now a function,
2655         declared in GraphicsTypes.h.
2656
2657 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2658
2659         * format.C: new placeholder $$a to pass the socket address.
2660
2661         * bufferlist.[Ch]: new function getBufferFromTmp.
2662
2663         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2664           files in the temporary dir.
2665
2666 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2667
2668         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2669
2670         * Makefile.am: add lyxsocket.[Ch].
2671
2672         * lyx_main.C (error_handler): handle SIGPIPE.
2673
2674 2003-10-13  André Pönitz  <poenitz@gmx.net>
2675
2676         * BufferView_pimpl.C:
2677         * lyxtext.h:
2678         * text.C:
2679         * text2.C:
2680         * text3.C:
2681         * undo_funcs.[Ch]: use paroffset_type instead of
2682           ParagraphList::iterators to prevent multiple conversion
2683           (and get a more robust interface)
2684
2685 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2686
2687         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2688         * lyxtext.h: ditto
2689         * text3.C (dispatch): ditto
2690
2691 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2692
2693         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2694         move the onlyfile, use onlyfile instead of foundfile in a couple
2695         of places.
2696
2697         * DepTable.C (update): flush the error stream a bit more
2698
2699 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2700
2701         * lyxserver.C (callback): adjust
2702
2703         * lyxfunc.C (getStatus): add a missing brace in commented code
2704         (ensureBufferClean): reindent
2705         (dispatch): delete version taking a string
2706
2707 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2708
2709         * LaTeX.C (deplog): move found file handlig from here...
2710         (handleFoundFile): .. to new function here.
2711         (deplog): make sure to discover several files mentioned on the
2712         same log line.
2713
2714 2003-10-10  André Pönitz  <poenitz@gmx.net>
2715
2716         * lyxfunc.C:
2717         * lyxtext.h:
2718         * tabular.C:
2719         * text.C:
2720         * text2.C:
2721         * text3.C: fix some of the tabular crashes
2722
2723 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2724
2725         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2726
2727         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2728
2729 2003-10-09  André Pönitz  <poenitz@gmx.net>
2730
2731         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2732
2733         * BufferView.C:
2734         * BufferView_pimpl.C:
2735         * bufferview_funcs.C:
2736         * lyx_cb.C:
2737         * lyxcursor.C:
2738         * lyxfind.C:
2739         * lyxfunc.C:
2740         * lyxtext.h:
2741         * text.C:
2742         * text2.C:
2743         * text3.C:
2744         * text_funcs.[Ch]:
2745         * textcursor.[Ch]:
2746         * undo_funcs.C: adjust
2747
2748 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2749
2750         * text2.C (incrementItemDepth): new function, use a backtracking
2751         algorithm to discover the correct item depth.
2752         (resetEnumCounterIfNeeded): new function, use a backtracking
2753         algorithm to discover if counter reset is needed.
2754         (setCounter): use them. Simplify a bit. Add different labels for
2755         different item depths for itemize.
2756
2757         * paragraph.C (Paragraph): remove initialization of enumdepth
2758         (operator=): ditto
2759
2760         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2761         enumerate and itemize. Change the type of itemdepth to signed char.
2762
2763 2003-10-08  André Pönitz  <poenitz@gmx.net>
2764
2765         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2766           thing assignable.
2767         * text.C:
2768         * text2.C: adjust
2769
2770         * tabular.[Ch]: fix crash after 'row-insert'
2771
2772 2003-10-08  Angus Leeming  <leeming@lyx.org>
2773
2774         Fix doxygen warnings.
2775
2776         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2777         Remove CutAndPaste:: prefix from header file declaration.
2778
2779         * LColor.h (fill): remove LColor:: prefix from declaration.
2780
2781         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2782         use lyx::depth_type rather than Paragraph::depth_type so that
2783         header file and .C file match.
2784
2785         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2786
2787         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2788         * aspell.C: \file aspell_local.C -> \file aspell.C
2789         * gettext.C: \file gettext.C -> \file src/gettext.C
2790         * gettext.h: \file gettext.h -> \file src/gettext.h
2791         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2792         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2793         * text.C: \file text.C -> \file src/text.C
2794
2795         * toc.C: move comment so that doxygen is not confused.
2796
2797 2003-10-07  Angus Leeming  <leeming@lyx.org>
2798
2799         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2800
2801 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2802
2803         * aspell.C:
2804         * aspell_local.h: add forgotten std::string's.
2805
2806 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2807
2808         * LaTeXFeatures.C:
2809         * LyXAction.C:
2810         * factory.C:
2811         * lfuns.h:
2812         * lyxfunc.C:
2813         * text3.C: The Box patch. Fancybox support, minipage, parbox
2814
2815 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2816
2817         * CutAndPaste.h:
2818         * DepTable.h:
2819         * FloatList.h:
2820         * LaTeXFeatures.h:
2821         * ParagraphParameters.h:
2822         * TextCache.h:
2823         * Thesaurus.h:
2824         * bufferlist.h:
2825         * exporter.h:
2826         * importer.h:
2827         * lastfiles.h:
2828         * lyxfind.h:
2829         * lyxfont.h:
2830         * lyxlex.h:
2831         * lyxtextclasslist.h:
2832         * messages.h:
2833         * paragraph.h:
2834         * paragraph_pimpl.C:
2835         * textcursor.h: add <string> and other small fixes to make Lars'
2836         std::string patch compile with STLport.
2837
2838 2003-10-06  Angus Leeming  <leeming@lyx.org>
2839
2840         * LColor.h: Add missing #include <string>.
2841
2842 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2843
2844         * All most all file in all subdirs: Make <string> be the prefered
2845         way of getting to std::string, add using declarations.
2846
2847 2003-10-06  André Pönitz  <poenitz@gmx.net>
2848
2849         * metricsinfo.C: initialize LyXFont before changing attribute.
2850         (fixes the 'math in \emph is upright' bug)
2851
2852 2003-10-06  André Pönitz  <poenitz@gmx.net>
2853
2854         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2855
2856 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2857
2858         * graph.C:
2859         * paragraph_pimpl.C: Small fixes to build using STLport
2860
2861 2003-10-02  André Pönitz  <poenitz@gmx.net>
2862
2863         * lyxfunc.C:
2864         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2865
2866 2003-10-01  André Pönitz  <poenitz@gmx.net>
2867
2868         * factory.C: assert early
2869
2870 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2871
2872         * lyx_main.C: remove the global debug object
2873
2874         * debug.h: adjust for new debugstream
2875
2876         * debug.C: adjust for new debugstream and keep the global debug
2877         object here.
2878
2879 2003-09-22  Angus Leeming  <leeming@lyx.org>
2880
2881         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2882         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2883         an incomplete class LyXFont.
2884
2885 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2886
2887         * factory.C: bug fix in branches
2888
2889 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2890
2891         * lyxfunc.C (processKeySym): adjust
2892         (dispatch): adjust
2893         (dispatch): change arg name from ev to func, adjust
2894         (sendDispatchMessage): ditto
2895
2896         * lyx_main.C (defaultKeyBindings): adjust keybindings
2897         (deadKeyBindings): ditto
2898
2899         * kbsequence.C (addkey): return a FuncRequest
2900
2901         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2902
2903         * kbmap.C (bind): take a FuncRequest as arg, adjust
2904         (read): adjust
2905         (lookup): adjust
2906         (defkey): change to take a FuncRequest as arg, adjust
2907         (findbinding): take a FuncRequest as arg, adjust.
2908
2909         * funcrequest.h (operator=): added
2910
2911         * funcrequest.C (FuncRequest): default kb_action changed from
2912         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2913
2914         * buffer.C (dispatch): simplify
2915         (dispatch): adjust to take a FuncRequest as arg, adjust
2916
2917         * boost.C (assertion_failed): change assertion message slightly
2918
2919         * ToolbarBackend.C (read): simplify
2920
2921         * MenuBackend.C (binding): adjust call to findbinding, add a
2922         message if no binding is found.
2923         (read): simplify
2924         (expandToc): correct by adding a empty FuncRequest
2925
2926         * LyXAction.C: include <boost/assert.hpp>
2927         (isPseudoAction): delete function
2928         (LookupFunc): change name to...
2929         (lookupFunc): this. change return type to FuncRequest.
2930         (getActionName): take kb_action as arg, simplify
2931         (funcHasFlag): add an assert, simplify.
2932
2933 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2934
2935         * toc.C (action): return a FuncRequest, simplify
2936
2937         * lyxfunc.C (processKeySym): adjust
2938         (getStatus): delete version that takes an int.
2939         (getStatus): adjust
2940         (dispatch): delete version that takes action as int
2941         (dispatch): adjust
2942         (sendDispatchMessage): simplify and adjust
2943
2944         * funcrequest.C (getArg): take unsigned int as arg
2945
2946         * ToolbarBackend.C (read): adjust
2947         (add): delete version that takes func as a string.
2948         (getIton): take a FuncRequest as arg
2949
2950         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2951         action.
2952
2953         * MenuBackend.C (MenuItem): add a new construct that only takes a
2954         Kind, simplify the constructor use for submenus.
2955         (add): adjust
2956         (expandLastfiles): adjust
2957         (expandDocuments): adjust
2958         (expandFormats): adjust
2959         (expandFloatListInsert): adjust
2960         (expandFloatInsert): adjust
2961         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2962
2963         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2964         Remove class variables lyx_pseudo_map and lyx_arg_map
2965
2966         * LyXAction.C (searchActionArg): delete function
2967         (getPseudoAction): delete function
2968         (retrieveActionArg): delete function
2969         (LookupFunc): make it return kb_action, simplify.
2970         (getActionName): simplify
2971
2972         * factory.C (createInset): fix new bug
2973
2974 2003-09-19  Angus Leeming  <leeming@lyx.org>
2975
2976         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2977         masterFilename_ parameter in the include inset.
2978
2979         * factory.C (createInset): changes due to the changes to InsetInclude.
2980
2981 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2982
2983         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2984
2985 2003-09-18  Angus Leeming  <leeming@lyx.org>
2986
2987         * buffer.C:
2988         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2989         Inset::fillWithBibKeys.
2990         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2991
2992 2003-09-18  Angus Leeming  <leeming@lyx.org>
2993
2994         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2995         variables.
2996         (ctor): pass and store a 'Buffer const &'
2997         (buffer): new member function.
2998
2999         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3000         '*this' to the LaTeXFeatures ctor.
3001
3002 2003-09-18  Angus Leeming  <leeming@lyx.org>
3003
3004         * LColor.h:
3005         * lyxfont.C:
3006         * lyxfont.h:
3007         * lyxtext.h:
3008         * text.C: rename EnumLColor as LColor_color.
3009
3010 2003-09-18  Angus Leeming  <leeming@lyx.org>
3011
3012         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3013         remove #include "insets/insetbase.h" from cursor.h.
3014
3015 2003-09-18  Angus Leeming  <leeming@lyx.org>
3016
3017         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3018         InsetOld_code to remove #include "inset.h".
3019
3020         * iterators.C: add #include "insets/inset.h"
3021
3022 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3023
3024         * BufferView.C: remove more locking stuff that apparently doesn't
3025         do anything sensible.
3026
3027 2003-09-16  André Pönitz  <poenitz@gmx.net>
3028
3029         * paragraph.[Ch]:
3030         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3031           performance boost.
3032
3033 2003-09-16  Angus Leeming  <leeming@lyx.org>
3034
3035         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3036
3037         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3038         arg/return type.
3039
3040         * paragraph.h: remove #include "lyxfont.h". Forward declare
3041         LyXFont_size.
3042
3043 2003-09-16  Angus Leeming  <leeming@lyx.org>
3044
3045         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3046         of support/textutils.h.
3047         (isWord): move the contents of support/textutils.h's IsWordChar here.
3048
3049         * buffer.C:
3050         * lyxfind.C:
3051         * rowpainter.C:
3052         * text.C:
3053         * text2.C: add #include "paragraph.h".
3054
3055         * rowpainter.C:
3056         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3057
3058 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3059
3060         * main.C:
3061         * lyx_main.C:
3062         * lyx_cb.C:
3063         * buffer.C:
3064         * LaTeX.C: use namespace alias for lyx::support::os
3065
3066 2003-09-16  Angus Leeming  <leeming@lyx.org>
3067
3068         * bufferparams.C:
3069         * bufferview_funcs.C:
3070         * factory.C:
3071         * lyxfunc.C:
3072         * paragraph_pimpl.C:
3073         * rowpainter.C:
3074         * text.C: add #include "LColor.h".
3075
3076 2003-09-16  Angus Leeming  <leeming@lyx.org>
3077
3078         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3079         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3080         return LyXFont &.
3081         Store the FontBits::color variable as an int rather than as an
3082         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3083         file.
3084
3085         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3086         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3087         string calls together.
3088
3089         * lyxrc.C: add #include "LColor.h".
3090
3091 2003-09-15  Angus Leeming  <leeming@lyx.org>
3092
3093         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3094         a cow_ptr.
3095
3096 2003-09-15  Angus Leeming  <leeming@lyx.org>
3097
3098         * LColor.h: add an EnumLColor wrapper for LColor::color.
3099
3100         * lyxfont.[Ch] (color, setColor, realColor):
3101         * lyxtext.h, text.C (backgroundColor):
3102         pass EnumLColor args to/from the functions, rather than LColor::color
3103         ones.
3104
3105         * lyxfont.h:
3106         * lyxtext.h: forward declare EnumLColor.
3107
3108         * lyx_main.C: add #include "LColor.h".
3109
3110 2003-09-15  Angus Leeming  <leeming@lyx.org>
3111
3112         * .cvsignore: add lyx-gtk.
3113
3114 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3115
3116         * Chktex.C
3117         * LaTeX.C
3118         * LaTeXFeatures.C
3119         * ParagraphParameters.C
3120         * Spacing.C
3121         * buffer.C
3122         * bufferparams.C
3123         * bufferview_funcs.C
3124         * chset.C
3125         * counters.C
3126         * funcrequest.C
3127         * lyxfont.C
3128         * lyxgluelength.C
3129         * lyxlength.C
3130         * paragraph.C
3131         * paragraph_funcs.C
3132         * text3.C
3133         * vc-backend.C: remove usage of STRCONV
3134
3135 2003-09-15  Angus Leeming  <leeming@lyx.org>
3136
3137         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3138         explicitly define the color passed to the painter.
3139
3140 2003-09-15  Angus Leeming  <leeming@lyx.org>
3141
3142         * bufferparams.C (BufferParams): reorder member initializers to avoid
3143         compiler warning.
3144
3145 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3146
3147         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3148         * text.C (updateRowPositions): remove an unusual nop
3149
3150 2003-09-12  André Pönitz  <poenitz@gmx.net>
3151
3152         * BufferView_pimpl.C:
3153         * Bullet.C:
3154         * layout.h:
3155         * lyxfunc.C:
3156         * lyxlayout.[Ch]:
3157         * lyxtextclass.C:
3158         * rowpainter.C:
3159         * text.C:
3160         * text2.C:
3161         * Counters.[Ch]: finish the 'automatic counters' job
3162
3163 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3164
3165         * aspell.C: include <boost/assert.cpp> (compile fix)
3166
3167 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3168
3169         * boost.C (assertion_failed): use lyx::support::abort instead of
3170         assert.
3171
3172 2003-09-10  Angus Leeming  <leeming@lyx.org>
3173
3174         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3175         with their _fwd progeny.
3176
3177 2003-09-09  Angus Leeming  <leeming@lyx.org>
3178
3179         134 files throughtout the source tree: replace 'using namespace abc;'
3180         directives with the appropriate 'using abc::xyz;' declarations.
3181
3182 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3183
3184         * boost.C (emergencyCleanup): moved here from LAssert.c
3185         (assertion_failed): new function, called by BOOST_ASSERT
3186
3187         * several files: change Assert to BOOST_ASSERT
3188
3189 2003-09-09  Angus Leeming  <leeming@lyx.org>
3190
3191         * buffer.[Ch]: Add an Impl class and move Buffer's member
3192         variables into it. As a result move several header files out of
3193         buffer.h.
3194
3195         Add header files to lots of .C files all over the tree as a result.
3196
3197 2003-09-09  Angus Leeming  <leeming@lyx.org>
3198
3199         * buffer.[Ch]: make Buffer's member variables private. Add
3200         accessor functions.
3201
3202         Lots of changes all over the tree as a result.
3203
3204 2003-09-08  Angus Leeming  <leeming@lyx.org>
3205
3206         * graph.C: #include <config.h>.
3207
3208 2003-09-08  Angus Leeming  <leeming@lyx.org>
3209
3210         * BranchList.C:
3211         * BufferView.C:
3212         * BufferView_pimpl.C:
3213         * CutAndPaste.C:
3214         * DepTable.C:
3215         * LaTeX.C:
3216         * LaTeXFeatures.C:
3217         * LyXAction.C:
3218         * MenuBackend.C:
3219         * TextCache.C:
3220         * aspell.C:
3221         * buffer.C:
3222         * bufferlist.C:
3223         * changes.C:
3224         * chset.C:
3225         * converter.C:
3226         * counters.C:
3227         * debug.C:
3228         * graph.C:
3229         * ispell.C:
3230         * lyx_cb.C:
3231         * lyxfind.C:
3232         * lyxfunc.C:
3233         * lyxlex_pimpl.C:
3234         * lyxrc.C:
3235         * lyxrow.C:
3236         * paragraph.C:
3237         * rowpainter.C:
3238         * texrow.C:
3239         * text.C:
3240         * text2.C:
3241         * toc.C: remove redundant using directives.
3242
3243 2003-09-07  Angus Leeming  <leeming@lyx.org>
3244
3245         * LaTeXFeatures.h: remove #include "support/types.h".
3246         * ToolbarBackend.h: remove #include <algorithm>.
3247         * changes.h: remove #include <ctime>.
3248         * debug.h: remove #include <iosfwd>.
3249         * graph.h: remove #include "support/std_string.h".
3250         * lyx_main.h: remove #include <csignal>.
3251         * lyxlex_pimpl.h: remove #include <fstream>.
3252         * sgml.h: remove #include <algorithm>, <utility>.
3253         * toc.h: remove #include "support/std_ostream.h".
3254         Add #include <iosfwd>.
3255
3256 2003-09-07  Angus Leeming  <leeming@lyx.org>
3257
3258         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3259
3260         * converter.h: forward declare LatexRunParams.
3261         * encoding.h: remove #include "lyxrc.h".
3262         * lyxtext.h: remove #include "LColor.h".
3263         * lyxtextclass.h: remove #include "support/types.h".
3264         * trans.h: remove #include "tex-accent.h".
3265         * trans_mgr.h: remove #include "tex-accent.h".
3266         * insets/inset.h: remove #include "support/types.h", <vector>.
3267         * insets/insetcollapsable.h: remove #include "LColor.h".
3268         * insets/insetinclude.h: remove #include "dimension.h".
3269         * insets/insetlatexaccent.h: remove #include "dimension.h".
3270         * insets/insetoptarg.h:: remove #include "insettext.h".
3271         * insets/insettext.h: remove #include "dimension.h",
3272         <boost/shared_ptr.hpp>
3273
3274         * insets/renderers.h: add #include "dimension.h".
3275         * insets/updatableinset.h: add #include "support/types.h".
3276
3277         * many .C files: Associated changes.
3278
3279 2003-09-06  Angus Leeming  <leeming@lyx.org>
3280
3281         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3282         one, inside testInvariant.
3283
3284         * PrinterParams.C: new file.
3285         * PrinterParams.[Ch]: move the function bodies out of line.
3286
3287 2003-09-06  Angus Leeming  <leeming@lyx.org>
3288
3289         * ParagraphParameters.h: forward declare ParameterStruct rather than
3290         including its header file.
3291         (depth): moved out-of-line.
3292
3293 2003-09-06  Angus Leeming  <leeming@lyx.org>
3294
3295         * BufferView_pimpl.h:
3296         * kbmap.h:
3297         * kbsequence.h:
3298         * lyxfunc.h: forward declare LyXKeySym rather than
3299         #include "frontends/LyXKeySym.h".
3300
3301         * BufferView_pimpl.C:
3302         * kbmap.C:
3303         * kbsequence.C:
3304         * lyxfunc.C: associated changes.
3305
3306 2003-09-06  Angus Leeming  <leeming@lyx.org>
3307
3308         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3309         As a result, can remove the #include "insets/inset.h" from BufferView.h
3310
3311 2003-09-06  Angus Leeming  <leeming@lyx.org>
3312
3313         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3314         As a result, can remove the #include "insets/inset.h" from BufferView.h
3315
3316 2003-09-06  Angus Leeming  <leeming@lyx.org>
3317
3318         * buffer_funcs.C:
3319         * buffer.h:
3320         * bufferlist.C:
3321         * BufferView.C:
3322         * bufferview_funcs.C:
3323         * BufferView_pimpl.C:
3324         * CutAndPaste.C:
3325         * lyx_cb.C:
3326         * lyxfunc.C:
3327         * paragraph.h:
3328         * ParagraphParameters.C:
3329         * tabular.C:
3330         * text3.C:
3331         * toc.C:
3332         * undo_funcs.C:
3333         * frontends/controllers/ControlDocument.C:
3334         * insets/insetcaption.C: rearrange the #includes into some sort of
3335         coherent order.
3336
3337         * buffer.h: remove #includes ErrorList.h, undo.h
3338
3339 2003-09-06  Angus Leeming  <leeming@lyx.org>
3340
3341         * support/types.h: add a 'depth_type' typedef, used to store the
3342         nesting depth of a paragraph.
3343
3344         * paragraph.h:
3345         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3346         defining explicitly.
3347
3348         * buffer.h:
3349         * paragraph_funcs.h:
3350         * ParagraphParameters.h:
3351         * sgml.h: use lyx::depth_type rather than Paragraph or
3352         ParameterStruct's depth_type.
3353
3354         * buffer.h
3355         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3356
3357         * BufferView.C:
3358         * BufferView_pimpl.C:
3359         * CutAndPaste.C:
3360         * ParagraphParameters.C:
3361         * buffer_funcs.C:
3362         * bufferlist.C:
3363         * bufferview_funcs.C:
3364         * lyx_cb.C:
3365         * lyxfunc.C:
3366         * tabular.C:
3367         * text3.C:
3368         * toc.C:
3369         * undo_funcs.C:
3370         * frontends/LyXView.C:
3371         * frontends/controllers/ControlDocument.C:
3372         * frontends/controllers/ControlErrorList.C:
3373         * insets/insetbibitem.C:
3374         * insets/insetbranch.C:
3375         * insets/insetcaption.C:
3376         * insets/insetcollapsable.C:
3377         * insets/insetenv.C:
3378         * insets/insetert.C:
3379         * insets/insetfloat.C:
3380         * insets/insetfoot.C:
3381         * insets/insetfootlike.C:
3382         * insets/insetnewline.C:
3383         * insets/insetquotes.C:
3384         * insets/insettabular.C:
3385         * insets/insettext.C:
3386         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3387
3388         * frontends/controllers/ControlChanges.C: #include "changes.h".
3389
3390 2003-09-06  Angus Leeming  <leeming@lyx.org>
3391
3392         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3393         than #including paragraph.h.
3394
3395         * ParagraphList.h:
3396         * RowList.h: deleted. Superfluous.
3397
3398         * CutAndPaste.h:
3399         * iterators.h:
3400         * lyxcursor.h:
3401         * lyxtext.h:
3402         * text_funcs.h:
3403         * undo.h:
3404         * undo_funcs.h:
3405         * insets/inset.h:
3406         * insets/insettext.h: use ParagraphList_fwd.h rather than
3407         ParagraphList.h.
3408
3409         * paragraph.h: don't forward declare ParagraphList.
3410
3411         * buffer.h:
3412         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3413         rather than ParagraphList.h. paragraph.h is still needed for the
3414         Paragraph::depth_type parameters.
3415
3416         * textcursor.h: enable it to compile stand-alone in light of the
3417         above changes.
3418
3419         * bufferview_funcs.C:
3420         * iterators.C:
3421         * lyxfunc.C:
3422         * lyxrow_funcs.C:
3423         * paragraph.C:
3424         * rowpainter.C:
3425         * text.C:
3426         * text2.C:
3427         * text3.C:
3428         * text_funcs.C:
3429         * textcursor.C:
3430         * undo.C:
3431         * frontends/controllers/ControlParagraph.C:
3432         * frontends/controllers/ControlTabular.C:
3433         * insets/insetmarginal.C:
3434         * insets/insetminipage.C:
3435         * insets/insetnote.C:
3436         * insets/insetoptarg.C: add header files needed to compile again.
3437
3438 2003-09-06  Angus Leeming  <leeming@lyx.org>
3439
3440         * RowList_fwd.h: new file, forward-declaring Row rather than
3441         #including lyxrow.h.
3442
3443         * lyxrow_funcs.h:
3444         * lyxtext.h:
3445         * paragraph.h:
3446         * insets/insettext.h: use it instead of RowList.h
3447
3448         * bufferview_funcs.C:
3449         * lyxfunc.C:
3450         * lyxrow_funcs.C:
3451         * paragraph.C:
3452         * rowpainter.C:
3453         * text.C:
3454         * text2.C:
3455         * text3.C: #include "RowList.h".
3456
3457 2003-09-05  Angus Leeming  <leeming@lyx.org>
3458
3459         * factory.C (createInset):
3460         * vspace.C (c-tor): replace sscanf call with an istringstream.
3461         * ispell.C: re-add missing HP/UX headers.
3462         * lyxserver.C: re-add missing  os2 headers.
3463
3464 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3465
3466         * BranchList.C:
3467         * graph.C:
3468         * ispell.C:
3469         * lastfiles.C:
3470         * lyx_cb.C:
3471         * lyxserver.C:
3472         * texrow.C:
3473         * text3.C: re-add missing system headers, needed for 2.95.2.
3474
3475 2003-09-05  Angus Leeming  <leeming@lyx.org>
3476
3477         Changes most place everywhere due to the removal of using directives
3478         from support/std_sstream.h.
3479
3480 2003-09-05  Angus Leeming  <leeming@lyx.org>
3481
3482         Replace LString.h with support/std_string.h,
3483         Lsstream.h with support/std_sstream.h,
3484         support/LIstream.h with support/std_istream.h,
3485         support/LOstream.h with support/std_ostream.h.
3486
3487         Changes resulting throughout the tree.
3488
3489 2003-09-05  Angus Leeming  <leeming@lyx.org>
3490
3491         * sgml.h: ensure that the header file can be compiled stand-alone.
3492         * *.C: strip out redundant #includes. (320 in total.)
3493
3494 2003-09-04  Angus Leeming  <leeming@lyx.org>
3495
3496         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3497         here (from getPackages).
3498
3499         * debug.[Ch]: add a new EXTERNAL tag.
3500
3501 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3502
3503         * text2.C (cursorEnd): simplify
3504         (setCursor): adjust
3505         (getColumnNearX): adjust
3506
3507         * text.C (computeBidiTables): adjust
3508         (fill): adjust
3509
3510         * rowpainter.C (paintChars): adjust
3511         (paintSelection): adjust
3512         (paintChangeBar): adjust
3513         (paintText): adjust
3514
3515         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3516         lastPos instead.
3517         (numberOfSeparators): adjust
3518
3519 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3520
3521         * LyXAction.C:
3522         * box.[Ch]:
3523         * lfuns.h:
3524         * lyxfunc.C:
3525         * text3.C: Restricts the mouse click functionality
3526         of insets like bibtex, include, toc and floatlist to the visible
3527         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3528         up the dialogs. Cursor has to be in front of the inset (i.e.
3529         start of row) for this to function.
3530
3531 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3532
3533         * bufferview_funcs.C (currentState): output row information
3534
3535 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3536
3537         * bufferview_funcs.C (currentState): output paragraph position
3538
3539 2003-09-04  Angus Leeming  <leeming@lyx.org>
3540
3541         * FloatList.h: move out #include "Floating.h".
3542         * LaTeX.h: move out #include "DepTable.h".
3543         * LyXAction.h: move out #include "funcrequest.h".
3544         * buffer.h: move out #include "author.h", "iterators.h".
3545         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3546         * lyx_main.h: move out #include "errorlist.h".
3547         * lyxfunc.h: move out #include "FuncStatus.h".
3548         * lyxtext: move out #include "lyxcursor.h".
3549         * paragraph_pimpl.h: move out #include "counters.h".
3550
3551 2003-09-03  Angus Leeming  <leeming@lyx.org>
3552
3553         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3554         preamble_snippets list, enabling us to add snippets to the preamble
3555         only if the snippet was not there already.
3556
3557 2003-09-04  Angus Leeming  <leeming@lyx.org>
3558
3559         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3560
3561 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3562
3563         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3564         update
3565
3566 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3567
3568         * BranchList.C: point fix, earlier forgotten
3569
3570 2003-09-02  Angus Leeming  <leeming@lyx.org>
3571
3572         * box.C (contains): renamed from 'contained' after a fantastic
3573         amount of hot air.
3574
3575 2003-09-02  John Levon  <levon@movementarian.org>
3576
3577         * BufferView.C:
3578         * lyxcursor.h:
3579         * lyxcursor.C:
3580         * lyxfunc.C:
3581         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3582
3583 2003-09-02  John Levon  <levon@movementarian.org>
3584
3585         * text2.C: simplification of cursorEnd(), including partial
3586         fix for bug 1376
3587
3588 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3589
3590         * buffer.C (readFile): add a space
3591
3592 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3593
3594         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3595
3596 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3597
3598         * buffer.C (readFile): new function, take a filename and a
3599         ParagraphList::iterator
3600         (readFile): adjust
3601         (readFile): adjust, make it private. don't use setStream, make
3602         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3603         always contain the filename.
3604
3605         * BufferView.C (insertLyXFile): simplify and make it work for
3606         gzipped files.
3607
3608 2003-08-30  John Levon  <levon@movementarian.org>
3609
3610         * Makefile.am: fix dist (from Kayvan)
3611
3612 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3613
3614         * most files: change to use const Buffer refs
3615
3616 2003-08-27  André Pönitz  <poenitz@gmx.net>
3617
3618         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3619         on top of ownerPar().
3620
3621 2003-08-27  John Levon  <levon@movementarian.org>
3622
3623         * funcrequest.C: properly initialise POD members
3624
3625 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3626
3627         * lyxtext.h (top_y): move top_y from here
3628         * text.C:
3629         * text2.C:
3630         * text3.C:
3631         * BufferView.[Ch]:
3632         * BufferView_pimpl.[Ch]: to here
3633         * frontends/screen.C:
3634         * insets/insettabular.C:
3635         * insets/insettext.C: adjust
3636         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3637
3638 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3639
3640         * BufferView.[Ch]:
3641         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3642
3643 2003-08-26  André Pönitz  <poenitz@gmx.net>
3644
3645         * paragraph_func.[Ch] (outerPar): new function
3646
3647         * paragraph.C:
3648         * paragraph_funcs.C:
3649         * paragraph_funcs.h:
3650         * paragraph_pimpl.C:
3651         * text2.C: remove Inset::par_owner
3652
3653 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3654
3655         * lyxrow_funcs.C:
3656         * lyxtext.h:
3657         * text.C:
3658         * text2.C: eliminates the needFullRow/display() stuff
3659         altogether, putting the logic in metrics/draw in the insets.
3660
3661 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3662
3663         * text2.C (redoParagraphInternal, redoParagraphs):
3664         * text.C (redoParagraph): add a call to updateRowPositions at the
3665         end of each 'metrics-like' call. Remove all others.
3666         (getRow): remove the 'y-computing' version.
3667         (getRowNearY): do not compute nor return the real y. Solve the
3668         'y < 0' problem and simplify.
3669
3670 2003-08-22  Angus Leeming  <leeming@lyx.org>
3671
3672         * *.[Ch]: clean-up of licence and author blurbs.
3673         Also move config.h out of a few .h files and into a few .C files.
3674
3675 2003-08-22  André Pönitz  <poenitz@gmx.net>
3676
3677         * lyxrow.[Ch]: add x_ and *fill_ members
3678
3679         * lyxtext.h:
3680         * text.C:
3681         * rowpainter.C:
3682         * text2.C: adjust/remove prepareToPrint() calls
3683
3684 2003-08-22  André Pönitz  <poenitz@gmx.net>
3685
3686         * lyxrow.[Ch]: add  end_ member
3687
3688         * lyxrow_funcs.C: use LyXRow::end_
3689
3690         * lyxtext.h (singleWidth): add LyXFont parameter
3691
3692         * rowpainter.C:
3693         * text2.C: adjust LyXText::singleWidth() calls
3694
3695         * text.C (redoParagraph): simplify row breaking logic
3696
3697
3698 2003-08-19  André Pönitz  <poenitz@gmx.net>
3699
3700         * funcrequest.C: initialize button_ member
3701
3702         * text3.C:
3703         * rowpainter.[Ch]: interface consolidation
3704
3705 2003-08-18  André Pönitz  <poenitz@gmx.net>
3706
3707         * BufferView.C:
3708         * BufferView_pimpl.C:
3709         * lyxfind.C:
3710         * paragraph_funcs.C:
3711         * rowpainter.C:
3712         * text3.C: remove LyXScreen::draw() and fitCursor calls
3713
3714         * BranchList.h: remove spurious semicolons
3715
3716         * MenuBackend.C: fix branchlist related crash
3717
3718 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3719
3720         * BranchList.[Ch]:
3721         * InsetList.[Ch]:
3722         * LColor.[Ch]:
3723         * LyXAction.C:
3724         * Makefile.am:
3725         * MenuBackend.[Ch]:
3726         * bufferparams.[Ch]:
3727         * factory.C:
3728         * lfuns.h:
3729         * lyxfunc.C:
3730         * text3.C: implements the 'branch inset'
3731         idea. This allows the output of various versions of a document
3732         from a single source version, selectively outputing or suppressing
3733         output of parts of the text.
3734         This implementation contains a 'branch list editor' in a separate
3735         tab of the document settings dialog. Branches are user definable
3736         and have a "display colour" to distinguish them on-screen.
3737
3738         ColorHandler was somewhat cleaned up.
3739         (1) make possible a dynamically growing LColor list by allowing
3740         the graphic context cache to grow along (vector);
3741         (2) eliminate an IMHO unnecessary step in colour allocation.
3742
3743 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3744
3745         * BufferView_pimpl.C: compile fix
3746
3747 2003-08-15  André Pönitz  <poenitz@gmx.net>
3748
3749         * rowpainter.C: remove extra metrics calls
3750
3751         * lyxtext.h: merge the two constructors into a single one,
3752           pass reference to owner's par list
3753
3754         * BufferView_pimpl.C:
3755         * text.C:
3756         * text2.C: adjust
3757
3758 2003-08-15  André Pönitz  <poenitz@gmx.net>
3759
3760         * lyxrow_funcs.[Ch]:
3761         * lyxtext.h:
3762         * paragraph.h:
3763         * paragraph_funcs.C:
3764         * rowpainter.C:
3765         * text.C:
3766         * text2.C:
3767         * text3.C:
3768         * text_funcs.C: split LyXText::rowlist_ into individual
3769         Paragraph::rows_ chunks
3770
3771         * BufferView.[Ch]:
3772         * BufferView_pimpl.[Ch]:
3773         * lyxfind.C:
3774         * lyxtext.h:
3775         * text3.C: remove toggleSelection()
3776
3777 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3778
3779         * bufferlist.C: beautify two alerts (shorter text of buttons)
3780         * buffer.C: Remove redundant ' ' from message
3781         * tabular.h:
3782         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3783         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3784         rename VALIGN_CENTER to VALIGN_MIDDLE
3785
3786 2003-08-11  André Pönitz  <poenitz@gmx.net>
3787
3788         * lyxtext.h (getPar):
3789         * text.C: new function
3790
3791 2003-08-11  André Pönitz  <poenitz@gmx.net>
3792
3793         * Makefile.am:
3794         * tracer.[Ch]: remove unneeded files
3795
3796         * InsetList.[Ch]: remove resizeInsetsLyXText()
3797
3798         * lyxtext.h:
3799         * text.C:
3800         * text2.C:
3801         * text3.C: merge insertParagraphs() and appendParagraph()
3802         remove breakAgain(), update()
3803
3804         * BufferView_pimpl.[Ch]:
3805         * bufferview_funcs.[Ch]:
3806         * lyxfunc.C:
3807         * paragraph.[Ch]:
3808         * rowpainter.C:
3809         * tabular.C: adjust after text & InsetList changes.
3810
3811 2003-08-08  André Pönitz  <poenitz@gmx.net>
3812
3813         * text.C (insertChar, backspace): replace rowlist fiddling
3814         with rebreak of full par
3815
3816         * lyxtext.h:
3817         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3818         checkParagraph, updateInset): removed
3819
3820 2003-08-07  André Pönitz  <poenitz@gmx.net>
3821
3822         * paragraph.C:
3823         * text3.C: merge some LFUN handlers, remove dead code
3824
3825 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3826
3827         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3828
3829 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3830
3831         * text2.C (DEPM): fix part of bug 1255 and 1256
3832
3833 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3834
3835         * BufferView_pimpl.C (workAreaDispatch): change to use
3836         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3837         that are no mouse related.
3838
3839 2003-08-05  André Pönitz  <poenitz@gmx.net>
3840
3841         * BufferView.[Ch]:
3842         * BufferView_pimpl.[Ch]:
3843         * bufferview_funcs.C:
3844         * text2.C:
3845         * text3.C: rip out "deep update"
3846
3847         * textcursor.[Ch] (last_sel_cursor): remove unused member
3848
3849 2003-08-04  André Pönitz  <poenitz@gmx.net>
3850
3851         * BufferView.[Ch]:
3852         * BufferView_pimpl.[Ch]:
3853         * ParagraphParameters.C:
3854         * bufferview_funcs.C:
3855         * lyx_cb.C:
3856         * lyxfind.C:
3857         * lyxfunc.C:
3858         * text.C:
3859         * text2.C:
3860         * text3.C: replace "complicated" BufferView::update(...) calls with
3861         simpler ones.
3862
3863         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3864
3865 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3866
3867         * Makefile.am (lyx_SOURCES): add paper.h
3868
3869 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3870
3871         * Makefile.am: move things around so that both lyx-qt and
3872         lyx-xforms can be built (according to --with-frontend). Then lyx
3873         is a symbolic link to lyx-[firstfrontend]
3874
3875 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3876
3877         * Always use std::endl with lyxerr
3878
3879 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3880
3881         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3882
3883 2003-08-01  André Pönitz  <poenitz@gmx.net>
3884
3885         * BufferView.[Ch]:
3886         * BufferView_pimpl.[Ch]:
3887         * lyxfunc.C:
3888         * text3.C: merge BufferView::repaint() and BufferView::update()
3889
3890 2003-08-01  José Matos  <jamatos@lyx.org>
3891
3892         * buffer.[Ch]: file_format is no longer a buffer data element.
3893
3894 2003-08-01  André Pönitz  <poenitz@gmx.net>
3895
3896         * BufferView.C:
3897         * lyxtext.h:
3898         * text.C:
3899         * text2.C: make redoParagraph more independent of current cursor
3900
3901         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3902         * text.C:
3903         * text2.C: remove unneeded members
3904
3905 2003-07-30  André Pönitz  <poenitz@gmx.net>
3906
3907         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3908
3909         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3910           create a single function...
3911
3912         * paragraph_funcs.C (moveItem): ... here.
3913
3914         * text.C:
3915           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3916
3917 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3918
3919         * LColor.[Ch]: Add comment and greyedout logical colors.
3920
3921 2003-07-30  André Pönitz  <poenitz@gmx.net>
3922
3923         * tabular.C: don't use Assert too heavily. This crashes where it
3924           shouldn't
3925
3926 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3927
3928         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3929         is disabled (bug 1232)
3930
3931 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3932
3933         * factory.C: limited 'arg' scope
3934
3935 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3936
3937         * factory.C: fixed Note submenu issues
3938
3939 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3940
3941         * factory.C: submenu for Note/Comment/Greyedout
3942
3943 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3944
3945         * lyx_main.C (LyX):
3946         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3947
3948 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3949
3950         * LaTeXFeatures.C:
3951         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3952         greyedout. Patch provided by Jürgen Spitzmüller.
3953
3954 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3955
3956         * kbmap.C (read): fix error message when reading bind files
3957
3958 2003-07-29  Angus Leeming  <leeming@lyx.org>
3959
3960         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3961         certainly does not do what it purports to do. I am doing it, and
3962         us, a favour by killing it.
3963
3964 2003-07-28  José Matos  <jamatos@lyx.org>
3965
3966         * buffer.C (readBody, do_writeFile):
3967         * paragraph.C(readParagraph): \end_document replaces \the_end.
3968
3969 2003-07-29  André Pönitz  <poenitz@gmx.net>
3970
3971         * BufferView.[Ch]:
3972         * BufferView_pimpl.[Ch]:
3973         * lyxfunc.C:
3974         * text2.C:
3975         * text3.C:
3976         * textcursor.[Ch]: remove toggleToggle & Co
3977
3978 2003-07-28  José Matos  <jamatos@fep.up.pt>
3979
3980         * buffer.C (readParagraph):
3981         * params_func (readParToken, readParagraph):
3982         * paragraph.C (write): \layout -> \begin_layout.
3983
3984 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3985
3986         * lyxlex_pimpl.C (setFile): clean up slightly.
3987
3988         * bufferparams.h: add compressed var
3989
3990         * buffer_funcs.C (readFile): adjust for LyXLex change
3991         (newFile): ditto + simplify
3992
3993         * buffer.C (writeFile): handle writing of compressed files
3994
3995         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3996         Check if the file is compressed and set a bufferparm if so.
3997
3998         * Makefile.am (lyx_LDADD): remove explicit -lz
3999
4000 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4001
4002         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4003         makeDocBookFile): put the real LyX version in the first line of
4004         the file
4005
4006         * version.h:
4007         * version.C.in: remove lyx_docversion
4008
4009         * tabular.C (write_attribute): add a template-based version to
4010         write enums properly
4011
4012 2003-07-28  André Pönitz  <poenitz@gmx.net>
4013
4014         * lyxtext.h:
4015         * text.C:
4016         * text2.C:
4017         * text3.C: use doubles again for x-coordinates. They are needed.
4018
4019 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4020
4021         * messages.C (getLocaleDir): use lyx_localedir()
4022
4023         * lyxlex_pimpl.C (setFile): compress stuff
4024
4025         * buffer.C (writeFile): add some compression stuff
4026         (do_writeFile): new func, dont call expliti close... will this
4027         breake anything?
4028
4029         * Makefile.am (lyx_LDADD): add -lz
4030
4031 2003-07-28  José Matos  <jamatos@fep.up.pt>
4032
4033         * buffer.C: increment file format.
4034         * paragraph_funcs (readParagraph, readParToken):
4035         * paragraph.C (readParagraph): add \end_layout.
4036
4037 2003-07-27  Angus Leeming  <leeming@lyx.org>
4038
4039         * Makefile.am: remove special casing for configure-time setting of
4040         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4041
4042         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4043         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4044
4045 2003-07-26  André Pönitz  <poenitz@gmx.net>
4046
4047         * paragraph_func.[Ch]:
4048         * paragraph.C (realizeFont): inline it whereever it is used
4049
4050         * rowpainter.C:
4051         * text.C:
4052         * text2.C:
4053         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4054
4055
4056 2003-07-26  André Pönitz  <poenitz@gmx.net>
4057
4058         *       lyxtext.h:
4059         * text.C:
4060         * text2.C: get rid of LyXText::need_break_row
4061
4062 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4063
4064         * toc.[Ch]: put namespace toc inside namespace lyx
4065
4066         * MenuBackend.C (expandToc2): adjust for lyx::toc
4067         (expandToc): ditto
4068
4069         * lyxfunc.C (dispatch): adjust for lyx::find
4070
4071         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4072         lyx::find instead. Reorganize a bit.
4073         (LyXReplace): rename to replace
4074         (LyXFind): rename to find
4075
4076         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4077         (dispatch): ditto
4078
4079 2003-07-26  André Pönitz  <poenitz@gmx.net>
4080
4081         * text.C (setHeightOfRow): restrict scope of temporary variable
4082
4083         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4084           code (never has been used?)
4085
4086 2003-07-27  Asger Alstrup  <alstrup@local>
4087
4088         * text.C (fill): Optimise algorithm to exploit that we can reuse
4089         the LyXFont for many characters.
4090         (setHeightOfRow): Same thing.
4091         (rowBreakPoint): Same thing.
4092
4093 2003-07-26  Asger Alstrup  <alstrup@local>
4094
4095         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4096
4097         * text.C (singleWidth): Spurious font copying in hot-spot
4098         singleWidth avoided. Reorder tests for arabic for efficiency.
4099
4100         * text.C (fill): handle empty paragraphs better.
4101
4102 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4103
4104         * ispell.C:
4105         * encoding.h: add includes
4106
4107         * lyxrc.C: remove reading of bind files
4108
4109         * lyx_main.C (init): setup bindings and menus only if we have a
4110         gui.
4111
4112         * kbmap.C (read): new method. Do the actual reading of bind
4113         files.
4114
4115         * converter.C (dvipdfm_options):
4116         * bufferparams.C:
4117         * lyxrc.C (read):
4118         (output): adapt PAPER_* enums.
4119
4120         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4121
4122         * bufferparams.h: remove paper-related enums from there
4123
4124         * paper.h: New file. A trivial header file to hold paper-related
4125         enums. It should later expand to contain many paper-related
4126         horrors access.
4127
4128         * lyxrc.C: declare extern displayTranslator
4129
4130 2003-07-27  José Matos  <jamatos@fep.up.pt>
4131
4132         * tabular.[Ch] (linuxdoc): add support for tables and figures
4133         (linuxdoc).
4134
4135 2003-07-27  José Matos  <jamatos@fep.up.pt>
4136
4137         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4138         consistency in both functions.
4139         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4140
4141 2003-07-26  Asger Alstrup  <alstrup@local>
4142
4143         * rowpainter.C (paintRows): Change algorithm to work directly on
4144         the insets rather than asking every character in the document
4145         whether its an inset.
4146
4147 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4148
4149         * buffer.C (openFileWrite): factorize some code
4150
4151 2003-07-26  Angus Leeming  <leeming@lyx.org>
4152
4153         * lyx_cb.C:
4154         * lyx_main.[Ch]: replace occurances of system_tempdir with
4155         os::getTmpDir().
4156
4157 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4158
4159         * rename Inset to InsetOld
4160
4161 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4162
4163         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4164         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4165         which I think is a bit clearer. EDIT is gone, since it was
4166         premature optimisation, and broken for mathed anyway.
4167         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4168         with cursor positioning in insets as well (math insets still do not
4169         work, but that's a different story anyway.) It mysteriously
4170         crashes sometimes with undo in the first paragraph, but I'm fairly
4171         confident that this is a compiler bug.
4172
4173 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4174
4175         * paragraph.C (Paragraph): adjust for new clone return type
4176         (operator==): ditto
4177         (copyIntoMinibuffer): ditto
4178
4179 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4180
4181         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4182         by not having a special case, and always doing a full rebreak of
4183         the document after undo.
4184
4185 2003-07-23  Angus Leeming  <leeming@lyx.org>
4186
4187         * factory.C (createInset): InsetExternal::setParams now takes a
4188         Buffer const * arg.
4189
4190 2003-07-23  Angus Leeming  <leeming@lyx.org>
4191
4192         * factory.C (createInset): changed interface to the external and
4193         graphics mailers' string2params functions.
4194
4195 2003-07-23  Angus Leeming  <leeming@lyx.org>
4196
4197         * factory.C (createInset): pass a
4198         Buffer const * parameter to InsetExternalMailer's string2params.
4199
4200 2003-07-22  John Levon  <levon@movementarian.org>
4201
4202         * Thesaurus.h: include the right aiksaurus header
4203
4204 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4205
4206         * MenuBackend.C (expand): check menu shortcuts unconditionally
4207
4208 2003-07-21  Angus Leeming  <leeming@lyx.org>
4209
4210         * factory.C (createInset): pass a
4211         buffer_path parameter to InsetGraphicsMailer's string2params.
4212
4213 2003-07-21  Angus Leeming  <leeming@lyx.org>
4214
4215         * BufferView_pimpl.C (buffer):
4216         * buffer.C (d-tor):
4217         * lyx_main.C (LyX):
4218         * lyxfunc.C (dispatch):
4219         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4220         rather than the grfx shortcut.
4221
4222 2003-07-21  André Pönitz  <poenitz@gmx.net>
4223
4224         * rowpainter.C: remove unused variables
4225
4226         * tabular_funcs.C:
4227         * tabular_funcs.h: move to tabular.C
4228         * Makefile.am: adjust
4229
4230         * tabular.[Ch]: basic optical cleaning
4231
4232         * author.h: pass references, not values
4233
4234 2003-07-18  André Pönitz  <poenitz@gmx.net>
4235
4236         * lyxtext.h:
4237         * metricsinfo.C:
4238         * metricsinfo.h:
4239         * rowpainter.C:
4240         * text.C:
4241         * text2.C:
4242         * text3.C: two-phase drawing for InsetText and InsetTabular
4243         some float -> int changes.
4244
4245 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4246
4247         * lyx_main.C: fix the fix
4248
4249 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4250
4251         * lyx_main.C: fix a crash in batch mode if no files specified
4252         * converter.C: ws
4253
4254 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4255
4256         * format.[Ch] (papersize): moved to BufferParams
4257         * converter.[Ch] (dvips_options): moved to BufferParams
4258         (dvipdfm_options): moved to anon namespace
4259         * bufferparams.[Ch]: added above functions.
4260
4261 2003-07-17  André Pönitz  <poenitz@gmx.net>
4262
4263         * lyxtext.h:
4264         * rowpainter.C:
4265         * text2.C: don't call inset->update() anymore
4266
4267         * metricsinfo.[Ch]: add convenience constructor
4268
4269 2003-07-16  André Pönitz  <poenitz@gmx.net>
4270
4271         * lyxcursor.[Ch]:
4272         * lyxfunc.[Ch]:
4273         * text.C:
4274         * text2.C: replace the LyXCursor::irow_ member with
4275          on-demand computation of the value
4276
4277 2003-07-16  John Levon  <levon@movementarian.org>
4278
4279         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4280
4281 2003-07-15  André Pönitz  <poenitz@gmx.net>
4282
4283         * text.C:
4284         * text2.C: remove no more needed refresh_row
4285
4286 2003-07-15  André Pönitz  <poenitz@gmx.net>
4287
4288         * lyxtext.h:
4289         * rowpainter.C:
4290         * text2.C:
4291         * text3.C: refresh_status tristate -> need_update bool
4292
4293 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4294
4295         * lyxtext.h (init): remove reinit argument (act as if always true)
4296         * text2.C: adjust to that
4297
4298 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4299
4300         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4301         * text3.C: use it to delete selections in some cases
4302         (bugs 441, 673, 702, 954).
4303
4304 2003-07-14  André Pönitz  <poenitz@gmx.net>
4305
4306         * rowpainter.[Ch]: reduce interface
4307
4308 2003-07-14  André Pönitz  <poenitz@gmx.net>
4309
4310         * BufferView_pimpl.C:
4311         * text2.C: adjust after removing unused BufferView * argument
4312
4313 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4314
4315         * text2.C (init): fix a crash fired on resize
4316
4317 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4318
4319         * buffer.[Ch]: added new closing signal
4320         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4321         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4322         BufferView::Pimpl via the closing the signal
4323
4324 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4325
4326         * buffer.[Ch]: take out all bv-related from buffer
4327         * BufferView.C:
4328         * BufferView_pimpl.[Ch]: connect to new signals
4329         * CutAndPaste.C: removed useless asserts
4330         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4331         * lyxvc.[Ch]:
4332         * vc-backend.[Ch]:
4333         * lyxfunc.C: moved view-related funciontality from vc here
4334         * paragraph.C: removed outdated comments
4335         * text.C: ws
4336
4337 2003-07-10  André Pönitz  <poenitz@gmx.net>
4338
4339         * BufferView_pimpl.C:
4340         * tabular.h:
4341         * tabular_funcs.C:
4342         * text.C:
4343         * text2.C: remove InsetText::InnerCache, clean up consequences
4344
4345 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4346
4347         * ispell.C: fix two typos in error messages
4348
4349 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4350
4351         * Extend Note inset to other forms of annotation like Comment
4352         and Greyedout. Right button click gives dialog.
4353
4354         Files modified or added (+):
4355
4356         * insetnote.[Ch]
4357         * FormNote.[Ch]      +
4358         * ControlNote.[Ch]   +
4359         * form_note.fd       +
4360         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4361         frontends/controllers
4362         * xforms/Dialogs.C
4363         * factory.C
4364
4365 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4366
4367         * aspell.C: add missing namespace lyx::support
4368
4369 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4370
4371         * BufferView.[Ch] (newFile): Add
4372         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4373         * LaTeX.[Ch] (message): added this signal and use it
4374         * buffer.[Ch] (busy, message): added these signals and use them
4375         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4376         * converter.C:
4377         * exporter.C:
4378         * format.C:
4379         * importer.C: use buffer signals instead of direct bv calling
4380         * lyx_cb.[Ch] (ShowMessage): removed
4381         * lyx_main.C:
4382         * lyxfunc.C:
4383         * paragraph_funcs.C:
4384         * text2.C: use buffer signals
4385
4386 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4387
4388         * introduce namespace lyx::graphics
4389
4390 2003-07-02  André Pönitz  <poenitz@gmx.net>
4391
4392         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4393
4394 2003-07-01  André Pönitz  <poenitz@gmx.net>
4395
4396         * text.C:
4397         * text2.C:
4398         * text3.C:
4399         * text_funcs.[Ch]:
4400         * textcursor.h:
4401         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4402           text*.C to text_func.C
4403
4404 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4405
4406         * introduce namespace lyx::support
4407
4408 2003-06-30  André Pönitz  <poenitz@gmx.net>
4409
4410         * Chktex.C:
4411         * funcrequest.C:
4412         * lyxtext.h:
4413         * text.C: re-enable --with-included-string
4414
4415 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4416
4417         * textcursor.C: add <config.h>
4418
4419         * text.C (getWord): remove const from word_location arg
4420
4421         * lyxvc.C (getLogFile): fix const type order
4422
4423         * lyxtext.h: remove const from word_location arg, add arg name
4424
4425         * lyxlayout.h: currect type on labeltype.
4426
4427         * importer.C: correct \file
4428
4429         * converter.C (intToFormat): use std:: on ret val, ws changes
4430
4431         * bufferlist.h: correct \file
4432
4433         * buffer.C (makeLinuxDocFile): fix const type order
4434         (makeDocBookFile): ditto
4435         (fillWithBibKeys): use std:: on stdlib args.
4436
4437         * CutAndPaste.C: fix authors.
4438         (availableSelections): use std:: on return vector
4439
4440 2003-06-27  André Pönitz  <poenitz@gmx.net>
4441
4442         * BufferView_pimpl.C:
4443         * bufferview_funcs.C:
4444         * lyxcursor.C:
4445         * lyxcursor.h:
4446         * lyxfunc.C:
4447         * lyxtext.h:
4448         * rowpainter.C:
4449         * text.C:
4450         * text2.C:
4451         * text3.C: remove LyXCursor::row_ member
4452
4453         * lyxtext.h:
4454         * text.C: rename fullRebreak() to partialRebreak() and implement
4455           a fullRebreak() that really bereks fully
4456
4457         * textcursor.h: new struct for cursor-related data
4458
4459 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4460
4461         * lyx_main.C (LyX): get full path of document loaded on the
4462         command line
4463
4464 2003-06-26  André Pönitz  <poenitz@gmx.net>
4465
4466         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4467           remove unused/broken operator>,<,>=.
4468
4469         *       text.C: remove only use of broken operator<= in an Assert().
4470
4471 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4472
4473         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4474         moved errorlist_.clear to showErrorList
4475
4476 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4477
4478         * converter.C (scanLog, runLaTeX):
4479         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4480         move the bv->showErrorList call to the callers
4481         * lyxfunc.C: i.e. here...
4482         * text2.C: and here
4483         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4484         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4485         namespace, the second to...
4486         * buffer_funcs (BufferFormat, parseErrors): added
4487         * errorlist.C (ErrorList(TeXErrors const &)): removed
4488
4489 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4490
4491         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4492
4493 2003-06-24  "Garst R. Reese" <reese@isn.net>
4494
4495         * debug.C: fix typo
4496
4497 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4498
4499         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4500
4501         * version.C.in: change docversion to 1.4
4502
4503 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4504
4505         * buffer.C: fix a bug just introduced
4506
4507 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4508
4509         * buffer.[Ch]: added the parseError signal and use it, removed
4510         sgmlError
4511         * BufferView.[Ch] (addError): moved to ...
4512         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4513         to the Buffer::parseError signal to catch (guess what) parse errors
4514         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4515
4516 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4517
4518         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4519         ability to create a buffer and to return an existing one from
4520         the list. Moved these functions to...
4521         * buffer_funcs.[Ch]: added
4522         * BufferView.[Ch] (loadLyXFile): added
4523         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4524         job removed from bufferlist::loadLyXFile.
4525         * buffer.C (setReadOnly): make it work without view
4526         (i.e added an if (users))
4527
4528 2003-06-19  Angus Leeming  <leeming@lyx.org>
4529
4530         * lfuns.h:
4531         * LyXAction.C (init):
4532         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4533         with LFUN_DIALOG_SHOW <name> <data>.
4534
4535 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4536
4537         * CutAndPaste.C (availableSelections): small compilation fix for
4538         ancient (gcc 2.9x) compilers
4539
4540 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4541
4542         * text3.C (cursorNext): add tmp var
4543
4544         * text2.C (updateCounters): for function calling out of for clause
4545         (replaceSelectionWithString): ditto
4546         (insertStringAsParagraphs): ditto
4547         (getColumnNearX): add tmp var
4548         (setCursorFromCoordinates): add tmp var
4549         (cursorDownParagraph): add tmp var
4550         (deleteEmptyParagraphMechanism): add tmp var
4551
4552         * text.C (insertChar): add tmp var
4553
4554         * rowpainter.C (paintDepthBar): add tmp var
4555
4556         * CutAndPaste.C (availableSelections): potentially check all
4557         paragraphs in a cut to fill the shown strings.
4558
4559 2003-06-18  André Pönitz  <poenitz@gmx.net>
4560
4561         * kbmap.[Ch]: use vector<> instead of list<>
4562
4563 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4564
4565         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4566         pasteSelection with index
4567
4568         * text2.C (pasteSelection): modify, call pasteSelection with index
4569
4570         * paragraph.C (asString): reimplement version with no interval to
4571         call the one with interval.
4572
4573         * lyxtext.h: add index arg to pasteSelection
4574
4575         * MenuBackend.C (MenuItem): handle PasteRecent
4576         (Menu::read::Menutags): add md_pasterecent
4577         (read): handle it
4578         (expandPasteRecent): new function
4579         (expand): use it
4580
4581         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4582
4583         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4584         the limited stack
4585         (availableSelections): new function
4586
4587 2003-06-17  Angus Leeming  <leeming@lyx.org>
4588
4589         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4590
4591 2003-06-17  Angus Leeming  <leeming@lyx.org>
4592
4593         * lfuns.h:
4594         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4595
4596         * lyxfunc.C (dispatch): invoke it.
4597
4598 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4599
4600         * iterators.C (operator++, ParPosition): reintroduce some
4601         const_cast for the benefit of older compilers.
4602
4603 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4604
4605         * text3.C (dispatch): do not modify clipboard when doing
4606         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4607         LFUN_DELETE_SKIP on a selection selection
4608
4609 2003-06-16  André Pönitz  <poenitz@gmx.net>
4610
4611         * BufferView.C:
4612         * buffer.C:
4613         * buffer.h:
4614         * paragraph.C:
4615         * tabular.[Ch]: IU of clone() and getLabelList();
4616
4617 2003-06-13  André Pönitz  <poenitz@gmx.net>
4618
4619         * tabular.h: compactification
4620
4621 2003-06-12  André Pönitz  <poenitz@gmx.net>
4622
4623         * tabular.C:
4624         * tabular.h:
4625         * tabular_funcs.h: some renaming plus whitespace
4626
4627 2003-06-12  André Pönitz  <poenitz@gmx.net>
4628
4629         * BufferView.C:
4630         * BufferView_pimpl.C:
4631         * CutAndPaste.C:
4632         * buffer.C:
4633         * iterators.[Ch]:
4634         * lyxfunc.C:
4635         * text.C:
4636         * toc.C: Return a Paragraph & for ParIterator::operator*()
4637
4638 2003-06-11  John Levon  <levon@movementarian.org>
4639
4640         * lyx_main.C:
4641         * ToolbarBackend.h:
4642         * ToolbarBackend.C: add "Toolbars" section and
4643         put the flags there
4644
4645 2003-06-10  Angus Leeming  <leeming@lyx.org>
4646
4647         * lfuns.h:
4648         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4649
4650         * lyxfunc.C (dispatch): invoke it.
4651
4652 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4653
4654         * main.C: protect <ios> with HAVE_IOS
4655         (main): protect sync_with_stdio with HAVE_IOS
4656
4657 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4658
4659         * text2.C (cutSelection): adjust
4660         (pasteSelection): adjust
4661
4662         * messages.C: handle get of empty string
4663
4664         * main.C (main): use sync_with_stdio(false)
4665
4666         * lyxfunc.C (dispatch): adjust
4667
4668         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4669         (WriteAs): remove unneeded BufferView arg.
4670
4671         * bufferparams.h: use correct types on papersize, papersize2 and
4672         paperpackage.
4673
4674         * bufferparams.C (readToken): adjust for type
4675         (writeLaTeX): add missing cases to switch.
4676
4677         * bufferlist.C (quitWriteBuffer): adjust
4678         (close): adjust
4679
4680         * buffer.C (asciiParagraph): remove some commented code.
4681
4682         * CutAndPaste.C: remove current_view extern variable.
4683         (cutSelection): add BufferParams arg.
4684         (eraseSelection): add BufferParams arg.
4685         (pasteSelection): add Buffer const & arg
4686
4687 2003-06-07  John Levon  <levon@movementarian.org>
4688
4689         * buffer.C:
4690         * paragraph_funcs.C:
4691         * paragraph_pimpl.C:
4692         * text.C:
4693         * text2.C:
4694         * paragraph.h:
4695         * paragraph.C: allow InsetERT to freely space lines,
4696         and some consolidation of code
4697
4698 2003-06-06  José Matos  <jamatos@fep.up.pt>
4699
4700         * buffer.C (makeDocBookFile): fix bug #821
4701
4702 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4703
4704         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4705
4706 2003-06-04  Angus Leeming  <leeming@lyx.org>
4707
4708         * buffer.C: bump format to 224.
4709
4710 2003-06-05  André Pönitz  <poenitz@gmx.net>
4711
4712         * text2.C (redoParagraphs): remove two const_cast<>
4713
4714 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4715
4716         * ParagraphList.h: remove last remnants of NO_STD_LIST
4717
4718 2003-06-03  Angus Leeming  <leeming@lyx.org>
4719
4720         * factory.C (createInset): small change to the way InsetExternal's params
4721         are set.
4722
4723 2003-06-04  André Pönitz  <poenitz@gmx.net>
4724
4725         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4726
4727         * paragraph_pimpl.h:
4728         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4729
4730         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4731
4732         * undo_funcs.C: make some simple cases of undo work again
4733
4734 2003-06-03  John Levon  <levon@movementarian.org>
4735
4736         * ispell.C: HPUX doesn't have sys/select.h
4737         (from Albert Chin)
4738
4739 2003-06-03  John Levon  <levon@movementarian.org>
4740
4741         * CutAndPaste.C: update tabular and include inset
4742         buffer references
4743
4744         * buffer.h:
4745         * paragraph.h:
4746         * paragraph.C: remove owningBuffer(), don't pass Buffer
4747         to clone()
4748
4749         * factory.C: insetGraphicsParams changed
4750
4751 2003-06-02  John Levon  <levon@movementarian.org>
4752
4753         * LyXAction.C:
4754         * factory.C:
4755         * lfuns.h:
4756         * lyxfunc.C:
4757         * text3.C: remove insetparent
4758
4759 2003-06-02  John Levon  <levon@movementarian.org>
4760
4761         * buffer.h:
4762         * buffer.C: fix inset_iterator.end(), move out of line
4763         (bug 1149)
4764
4765 2003-06-01  John Levon  <levon@movementarian.org>
4766
4767         * text3.C: use a proper cut/paste when doing inset
4768         insert (from Jürgen Spitzmüller)
4769
4770 2003-06-01  John Levon  <levon@movementarian.org>
4771
4772         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4773
4774 2003-05-30  André Pönitz  <poenitz@gmx.net>
4775
4776         * rowpainter.C: unify second drawing phase
4777
4778 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4779
4780         * trans_mgr.C: remove one case of current_view
4781
4782         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4783
4784         * paragraph_funcs.h: remove paragraph.h include
4785
4786         * paragraph.h: delete NO_STD_LIST stuff
4787
4788         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4789
4790         * buffer.h: remove paragraph.h include
4791
4792         * ParagraphList.C: delete file
4793
4794         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4795
4796         * toc.C (getTocList): adjust
4797
4798         * paragraph_pimpl.C (validate): adjust
4799
4800         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4801
4802         * paragraph.C (Paragraph): adjust
4803         (getPositionOfInset): use const_iterator, adjust
4804         (bibitem): use const_iterator, adjust
4805         (setInsetOwner): adjust
4806
4807         * iterators.C (operator++): adjust
4808
4809         * InsetList.[Ch]: Replace selfmade iterator with standard
4810         vector::iterator also introduce const_iterator. Remove getPos,
4811         getInset and setInset from InsetTable. Adjust accordingly.
4812
4813         * BufferView.C (lockInset): adjust
4814         (ChangeInsets): adjust
4815
4816         * tabular.[Ch]: delete commented same_id functions
4817
4818 2003-05-28  John Levon  <levon@movementarian.org>
4819
4820         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4821
4822 2003-05-28  André Pönitz  <poenitz@gmx.net>
4823
4824         * metricsinfo.[Ch]: remove 'fullredraw' member
4825
4826 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4827
4828         * lyxtextclass.C (operator): remove caching.
4829
4830 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4831
4832         * text3.C: adjust
4833
4834         * text2.C (cursorBottom): adjust
4835         (setCounter): use ParagraphList::find, adjust
4836
4837         * text.C (workWidth): use ParagraphList::find, adjust
4838
4839         * lyxcursor.C (LyXCursor): adjust
4840
4841         * buffer.C (inset_iterator): adjust
4842
4843         * ParagraphList.h: make iterator(value_type) private, make
4844         ParagraphList a friend of iterator.
4845
4846         * ParagraphList.C (find): new function
4847
4848         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4849
4850 2003-05-27  André Pönitz  <poenitz@gmx.net>
4851
4852         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4853
4854 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4855
4856         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4857
4858 2003-05-26  John Levon  <levon@movementarian.org>
4859
4860         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4861
4862 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4863
4864         * remove same_id from function signatures, adjust.
4865
4866 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4867
4868         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4869
4870         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4871
4872         * paragraph.C (Paragraph): get rid of same_ids parameter
4873
4874         * ParagraphList.C (insert): adjust
4875         (push_back): adjust
4876
4877 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4878
4879         * paragraph_funcs.C (breakParagraph): adjust
4880         (breakParagraphConservative): adjust
4881
4882         * buffer.C (readParagraph): adjust
4883
4884         * ParagraphList.C (insert): take a reference instead of a pointer
4885         (insert): adjust
4886
4887         * paragraph.[Ch] (id): new function
4888
4889         * bufferlist.C (newFile): adjust
4890
4891         * ParagraphList.C (ParagraphList): adjust
4892         (assign): adjust
4893         (push_back): take a reference instead of a pointer.
4894
4895         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4896
4897         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4898         instead.
4899
4900         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4901         set else use old code.
4902
4903         * ParagraphList.C: remove all NO_NEXT code and only compile this
4904         code of NO_STD_LIST is set.
4905
4906 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4907
4908         * BufferView_pimpl.C:
4909         * TextCache.C:
4910         * TextCache.h:
4911         * bufferlist.C:
4912         * errorlist.h:
4913         * format.C:
4914         * format.h:
4915         * graph.C:
4916         * lyxfunc.C:
4917         * lyxrc.C:
4918         * graphics/GraphicsConverter.C:
4919         * graphics/PreviewLoader.C: header adjustment
4920
4921 2003-05-23  Angus Leeming  <leeming@lyx.org>
4922
4923         * LaTeXFeatures.[Ch] (useBabel): new method.
4924         * bufferparams.C (writeLaTeX): use it.
4925
4926 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4927
4928         * ParagraphList.h (set): remove unused function.
4929
4930 2003-05-23  André Pönitz  <poenitz@gmx.net>
4931
4932         * BufferView.C:
4933         * BufferView_pimpl.C:
4934         * buffer.C:
4935         * buffer.h:
4936         * lyxfunc.C:
4937         * undo_funcs.C: setUndo reworked
4938
4939         * iterators.[Ch]: add access to topmost ParagraphList
4940
4941         * lyxtext.[Ch] (workWidth): add a const
4942
4943 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4944
4945         * texrow.[Ch] (increasePos): remove function
4946         * exporter.C (export): removed unused var and outdated comment
4947
4948 2003-05-23  Angus Leeming  <leeming@lyx.org>
4949
4950         * latexrunparams.h: rename fragile as moving_arg.
4951         * paragraph.C (simpleTeXOnePar): ditto.
4952         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4953
4954 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4955
4956         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4957         (createUndo): ditto
4958         (textUndoOrRedo): comment out a currently unused var.
4959
4960         * paragraph.h (NO_NEXT): enable NO_NEXT
4961
4962         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4963
4964         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4965
4966         * exporter.C (Export): adjust for removeAutoInsets removal.
4967
4968         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4969
4970         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4971
4972         * BufferView.[Ch] (removeAutoInsets): delete function
4973
4974 2003-05-22  Angus Leeming  <leeming@lyx.org>
4975
4976         * latexrunparams.h: add a free_spacing variable.
4977
4978         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4979         to pass moving_arg, as the data is stored in runparams.fragile.
4980
4981         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4982         to Inset::latexOptional or to simpleTeXOnePar.
4983
4984         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4985         free_spacing arg to Inset::latexOptional.
4986
4987         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4988         free_spacing arg.
4989
4990 2003-05-22  Angus Leeming  <leeming@lyx.org>
4991
4992         * latexrunparams.h: add fragile and use_babel variables.
4993
4994         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4995         * buffer.C (makeLaTeXFile): store this returned value in
4996         runparams.use_babel, thus passing it to the inset::latex methods.
4997
4998         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4999         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5000
5001         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5002         longer has a fragile arg, as it is stored in runparams.fragile.
5003
5004         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5005         moving_arg parameter as the data is stored in runparams.fragile.
5006
5007         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5008         a fragile parameter as the data is stored in runparams.fragile.
5009
5010 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5011
5012         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5013
5014 2003-05-22  Angus Leeming  <leeming@lyx.org>
5015
5016         * latexrunparams.h: add a 'bool nice' which defaults to false.
5017
5018         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5019         now encapsulated within runparams.
5020
5021         * bufferlist.C (updateIncludedTeXfiles):
5022         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5023
5024 2003-05-22  Angus Leeming  <leeming@lyx.org>
5025
5026         * latexrunparams.h: new file containing struct LatexRunParams.
5027         * Makefile.am: add new file.
5028
5029         * LaTeX.[Ch] (c-tor, run):
5030         * buffer.[Ch] (makeLaTeXFile):
5031         * bufferlist.[Ch] (updateIncludedTeXfiles):
5032         * converter.C (convert, scanLog):
5033         * converter.[Ch] (runLaTeX):
5034         * exporter.C (Export):
5035         * paragraph.[Ch] (simpleTeXOnePar):
5036         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5037         * paragraph_funcs.[Ch] (latexParagraphs):
5038         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5039         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5040         pass around a LatexRunParams parameter.
5041
5042 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5043
5044         * paragraph.[Ch]: remove unused constructor
5045
5046         * ParagraphList.C (erase): new function, taking two iterators
5047
5048 2003-05-22  André Pönitz  <poenitz@gmx.net>
5049
5050         * undo_funcs.C: remove duplicated code
5051
5052         * iterator.[Ch]: operator=
5053
5054 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5055
5056         * tabular.C (SetMultiColumn): ws changes
5057
5058         * rowpainter.C (paintFirst): get rid of a ->previous
5059
5060         * lyx_cb.C (getPossibleLabel): parlist simplification
5061
5062         * BufferView.C (ChangeInsets): simplify slightly.
5063
5064 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5065
5066         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5067         * lfuns.h: new LFUN_SPACE
5068         * lyxfunc.C: protected space has a new lfun
5069         * paragraph_funcs.C: read new space insets
5070         * text3.C:
5071         * factory.C: handle new space insets
5072
5073 2003-05-22  André Pönitz  <poenitz@gmx.net>
5074
5075         * BufferView.C:
5076         * BufferView_pimpl.C:
5077         * buffer.[Ch]:
5078         * lyxfunc.C:
5079         * undo_funcs.C: return a ParIterator from getParFromID.
5080
5081         * iterators.[Ch]: add two const's
5082
5083 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5084
5085         * toc.C (getTocList): adjust
5086
5087         * iterators.[Ch]: rework for parlist
5088
5089         * buffer.C (par_iterator_begin): adjust
5090         (par_iterator_end): adjust
5091
5092         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5093
5094         * BufferView.C (removeAutoInsets): adjust
5095         (ChangeInsets): adjust
5096
5097 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5098
5099         * text.C (top_y): fix bug 1110
5100
5101 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5102
5103         * errorlist.[Ch]: added
5104         * buffer.C:
5105         * BufferView.[Ch]:
5106         * BufferView_pimpl.C:
5107         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5108         instead
5109
5110 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5111
5112         * Makefile.am: ensure that lyx is relinked upon changes to the
5113         various "convenience" libs.
5114
5115 2003-05-20  Angus Leeming  <leeming@lyx.org>
5116
5117         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5118         files are compiled in alphabetical order again.
5119
5120         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5121
5122 2003-05-19  Angus Leeming  <leeming@lyx.org>
5123
5124         * gettext.[Ch]: remove "char const * _(char const *)".
5125
5126 2003-05-19  André Pönitz  <poenitz@gmx.net>
5127
5128         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5129
5130         * Makefile.am:
5131         * BufferView.C:
5132         * DepTable.h:
5133         * LaTeXFeatures.C:
5134         * buffer.C:
5135         * lyxfont.C:
5136         * lyxlex.h:
5137         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5138
5139 2003-05-19  André Pönitz  <poenitz@gmx.net>
5140
5141         * buffer.C:
5142         * lyxlayout.[Ch]:
5143         * lyxtextclass.[Ch]:
5144         * paragraph.C:
5145         * paragraph_funcs.[Ch]:
5146         * text2.C:
5147         * text3.C: more insetenv work
5148
5149 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5150
5151         * ParagraphParameters.C (params2string): small bug fixed
5152
5153 2003-05-16  André Pönitz  <poenitz@gmx.net>
5154
5155         * debug.C:
5156         * bufferview_funcs.C: patch from Kornel Benko to prevent
5157           crash when _(...) is called twice in a statement
5158
5159 2003-05-16  André Pönitz  <poenitz@gmx.net>
5160
5161         * BufferView.C:
5162         * lyxfunc.C:
5163         * text.C:
5164         * text2.C:
5165         * text3.C:
5166         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5167
5168 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5169
5170         * lyx_main.C (init): remove spurious static_cast
5171
5172 2003-05-14  André Pönitz  <poenitz@gmx.net>
5173
5174         * BufferView.C: fix format string
5175
5176 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5177
5178         * BufferView.[Ch] (insertErrors): removed
5179         * BufferView.[Ch] (showErrorList): added
5180         * buffer.C (runChkTeX):
5181         * converter.C (scanLog): call showErrorList instead of inserterrors
5182
5183 2003-05-13  André Pönitz  <poenitz@gmx.net>
5184
5185         * BufferView_pimpl.C:
5186         * buffer.C:
5187         * bufferview_func.C:
5188         * MenuBackend.C:
5189         * lyxfunc.C:
5190         * lyxrc.C:
5191         * tex-accent.C:
5192         * text3.C:
5193         * toc.C:
5194         * tabular_funcs.h: tostr() from its own header
5195
5196         * ParagraphParameters.C:
5197         * ToolbarBackend.C:
5198         * bufferparams.C:
5199         * format.C:
5200         * lyxlex_pimpl.C:
5201         * text3.C: STRCONV()
5202
5203 2003-05-12  André Pönitz  <poenitz@gmx.net>
5204
5205         * BufferView.C:
5206         * BufferView_pimpl.C:
5207         * CutAndPaste.C:
5208         * LaTeX.C:
5209         * LaTeXFeatures.C:
5210         * ParagraphParameters.C:
5211         * buffer.C:
5212         * bufferlist.C:
5213         * bufferparams.C:
5214         * bufferview_funcs.C:
5215         * converter.C:
5216         * counters.C:
5217         * debug.C:
5218         * exporter.C:
5219         * format.C:
5220         * importer.C:
5221         * lyx_cb.C:
5222         * lyx_main.C:
5223         * lyxfont.C:
5224         * lyxfunc.C:
5225         * lyxvc.C:
5226         * paragraph.C:
5227         * paragraph_funcs.C:
5228         * tabular.C:
5229         * tabular_funcs.C:
5230         * text2.C:
5231         * text3.C:  boost::format -> bformat  all over the place
5232
5233
5234 2003-05-09  André Pönitz  <poenitz@gmx.net>
5235
5236         * LColor.[Ch]: Pimpl the #include <map> away
5237
5238 2003-05-09  John Levon  <levon@movementarian.org>
5239
5240         * bufferlist.C: never remove emergency saves
5241
5242 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5243
5244         * Makefile.am: better lib building
5245
5246 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5247
5248         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5249         instead.
5250         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5251         (simpleTeXSpecialChars): adjust
5252         (simpleTeXSpecialChars): adjust
5253         * paragraph.C (simpleTeXOnePar): adjust
5254         * buffer.C (makeLaTeXFile): adjust
5255
5256         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5257
5258         * text2.C (changeDepth): parlist cleanup
5259         (getColumnNearX): ditto
5260
5261         * rowpainter.C (getLabelFont): parlist cleanup
5262
5263         * bufferlist.C (newFile): parlist cleanup
5264
5265         * CutAndPaste.C (eraseSelection): parlist cleanup
5266
5267         * BufferView_pimpl.C (trackChanges): parlist cleanup
5268         (dispatch): ditto
5269
5270         * BufferView.C (lockInset): parlist cleanup.
5271         (ChangeInsets): ditto
5272
5273 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5274
5275         * CutAndPaste.h: Update file header.
5276
5277         * CutAndPaste.C: Update file header.
5278         Store the parts cut out of the Document in a limited_stack.
5279         (copySelection): adjust
5280         (pasteSelection): new function, takes the index in the limited stack.
5281         (nrOfParagraphs): adjust
5282         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5283         simplify error inset insertion.
5284         (checkPastePossible): adjust
5285
5286 2003-05-06  John Levon  <levon@movementarian.org>
5287
5288         * text2.C: don't cast wrap inset to float
5289
5290 2003-05-05  André Pönitz  <poenitz@gmx.net>
5291
5292         * iterator.C:
5293         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5294
5295         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5296           few naked Paragraph *.
5297
5298 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5299
5300         * bufferparams.C: Output warning if a document with missing
5301         TeX document class is loaded
5302         * exporter.C: Disable TeX exports if the document class is missing
5303         * lyxtextclass.C:
5304         * lyxtextclass.h:
5305         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5306         isTeXClassAvailable()
5307
5308 2003-05-03  John Levon  <levon@movementarian.org>
5309
5310         * BufferView.h:
5311         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5312         explicit cursor show/hide
5313
5314         * BufferView_pimpl.h:
5315         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5316         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5317
5318         * lyxfunc.C: hide cursor before dispatching.
5319
5320         * lyx_cb.C:
5321         * lyxfind.C:
5322         * text.C:
5323         * text3.C: remove explicit cursor hides
5324
5325 2003-05-02  André Pönitz  <poenitz@gmx.net>
5326
5327         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5328
5329         * undo_funcs.C:
5330         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5331           linked lists
5332
5333         * text2.C: tiny whitespace
5334
5335 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5336
5337         * undo_funcs.C: almost only ws changes.
5338
5339         * ParagraphList.C (splice): just return if pl is empty.
5340
5341 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5342
5343         * ParagraphList.C (splice): new function.
5344
5345         * CutAndPaste.C (pasteSelection): use it
5346
5347 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5348
5349         * CutAndPaste.C (pasteSelection): remove the last next and
5350         previous from this file.
5351
5352 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5353
5354         * CutAndPaste.C (pasteSelection): more clean up, user proper
5355         ParagraphList functions for pasteing.
5356
5357         * ParagraphList.C (insert): new function, three arg insert
5358
5359 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5360
5361         * ParagraphList.C (insert): new function, three arg insert
5362
5363         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5364         not on paragraphs.
5365
5366 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5367
5368         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5369
5370 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5371
5372         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5373
5374 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5375
5376         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5377         (copySelection): clean up a bit.
5378         (pasteSelection): use make_pair
5379
5380         * ParagraphList.C (ParagraphList): implement copy constructor
5381         (operator=): implement, base on copy constructor.
5382         (assign): new func
5383
5384         * paragraph.C (erase): return a bool
5385
5386         * paragraph_pimpl.C (erasePos): remove function, move contents...
5387         (erase): ... here. Return a bool.
5388         (erase): call erase instead of erasePos.
5389
5390 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5391
5392         * ParagraphList.h: define PitPosPair
5393         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5394         ParagraphList, fix a bug on pasting multiple pars
5395         * text2.C: change interface to C&P
5396
5397 2003-04-30  André Pönitz  <poenitz@gmx.net>
5398
5399         * undo_func.C: revert part of yesterday's patch 2
5400
5401 2003-04-30  John Levon  <levon@movementarian.org>
5402
5403         * LColor.C: s/tabular/table/
5404
5405 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5406
5407         * text3.C (dispatch): do not convert iterator -> pointer
5408         * undo_funcs.C (setCursorParUndo): ditto
5409         * text_funcs.C (transposeChars): ditto
5410
5411         * text2.C (setLayout): ws changes only
5412
5413         * text.C (breakParagraph): do not convert iterator -> pointer
5414         (insertChar): ditto
5415         (acceptChange): ditto
5416         (rejectChange): ditto
5417         (changeCase): ditto
5418         (Delete): ditto
5419         (backspace): ditto
5420
5421         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5422         pointer
5423
5424 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5425
5426         * text3.C (gotoInset): YABG (yet another bad getChar)
5427
5428 2003-04-29  André Pönitz  <poenitz@gmx.net>
5429
5430         * paragraph.h: make operator= private unimplemented as long as
5431           it is unusable
5432
5433         * ParagraphList.C: whitespace
5434
5435         * paragraph.[Ch]:
5436         * paragraph_pimpl.[Ch]:
5437         * paragraph_funcs.C:
5438         * CutAndPaste.C:
5439         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5440
5441         * text2.C:
5442           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5443
5444 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5445
5446         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5447         * paragraph.[Ch] (erase):
5448         * paragraph_pimpl.[Ch] (erase): change return type and value
5449         * text2.C (cutSelection): some rework
5450
5451 2003-04-28  John Levon  <levon@movementarian.org>
5452
5453         * bufferlist.C: changes for unsaved changes dialog
5454
5455 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5456
5457         * bufferlist.C (newFile): set language (messages_) for new
5458         documents also.
5459
5460         * buffer.C (readFile): ws changes only.
5461
5462 2003-04-28  André Pönitz  <poenitz@gmx.net>
5463
5464         * undo_funcs.C:
5465         * lyxfunc.C:
5466         * buffer.[Ch]:
5467         * BufferView_pimpl.C:
5468         * BufferView.C: getParFromID related ParagraphList::iterator changes
5469
5470 2003-04-28  André Pönitz  <poenitz@gmx.net>
5471
5472         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5473           Changes
5474
5475 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5476
5477         * messages.C: remove one more localedir class variable.
5478
5479 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5480
5481         * messages.C (getLocaleDir): singleton generation function
5482         (Pimpl): use it.
5483         (Messages): add a default constructor.
5484
5485         * main.C (main): do not setup localedir here, do not call
5486         gettext_init.
5487
5488         * gettext.C (_): use it.
5489         (gettext_init): delete funciton
5490
5491 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5492
5493         * gettext.C (getLyXMessages): new singleton generating function.
5494
5495         * buffer.C (updateDocLang): adjust
5496
5497         * Makefile.am (messages.o): add target
5498         (main.o): remove target
5499
5500 2003-04-27  John Levon  <levon@movementarian.org>
5501
5502         * bufferlist.C:
5503         * lyx_cb.C:
5504         * lyxfunc.C:
5505         * lyxvc.C: specify cancel button in Alert::prompt
5506
5507 2003-04-26  John Levon  <levon@movementarian.org>
5508
5509         * text3.C:
5510         * lyxfunc.C:
5511         * lfuns.h:
5512         * LyXAction.C: add LFUN_INSET_SETTINGS
5513
5514         * lyxfunc.C: don't enable tabular-feature when there's
5515         just any locking inset
5516
5517 2003-04-26  John Levon  <levon@movementarian.org>
5518
5519         * bufferlist.C: re-add Cancel to buffer close question
5520
5521         * lyxfunc.C: fix import UI a bit
5522
5523 2003-04-25  John Levon  <levon@movementarian.org>
5524
5525         * gettext.C: remove the broken asserts for now
5526
5527 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5528
5529         * messages.C: make case where setlocale cannot comply work better.
5530
5531         * buffer.C (updateDocLang): new function
5532         (changeLanguage): use it
5533         (readFile): use it
5534
5535         * text2.C (setCounter): use B_ a bit.
5536
5537         * lyxlayout.C (Read): be sure to trim the label strings.
5538
5539         * messages.C (Messages): fix typo in comment
5540
5541         * buffer.C (readFile): set message_ after file is loaded.
5542         (makeDocBookFile): remove double return
5543         (changeLanguage): reset message_ upon language change.
5544         (B_): new func, use this to get translated buffer strings.
5545
5546         * main.C: add myself and Jean Marc as authors.
5547
5548 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5549
5550         * messages.[hC]: pimplify Messages, and three different pimpls to be
5551         used in different circumstances.
5552
5553         * gettext.[Ch]: change for use with new message code.
5554
5555 2003-04-24 André Pönitz <poenitz@gmx.net>
5556
5557         * factory.C: support for eqref
5558
5559 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5560
5561         * messages.[Ch]: add missing char
5562
5563         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5564
5565         * messages.[Ch]: New files
5566
5567 2003-04-18  John Levon  <levon@movementarian.org>
5568
5569         * BufferView.h:
5570         * BufferView.C:
5571         * BufferView_pimpl.C:
5572         * lfuns.h:
5573         * LyXAction.C:
5574         * lyxtext.h:
5575         * text2.C: remove layout-copy/paste (bug 778)
5576
5577 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5578
5579         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5580
5581 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5582
5583         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5584         if they succeed. Act accordingly.
5585
5586 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5587
5588         * text2.C (setCharFont): adjust
5589         (setCounter): adjust
5590         (insertStringAsLines): adjust
5591
5592         * text.C (leftMargin): adjust
5593         (setHeightOfRow): adjust
5594
5595         * rowpainter.C (paintFirst): adjust
5596         (paintLast): adjust
5597
5598         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5599         (outerHook): ditto
5600         (isFirstInSequence): ditto
5601         (getEndLabel): ditto
5602         (outerFont): adjust
5603
5604         * paragraph.C (getParLanguage): comment out some hard stuff.
5605
5606         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5607         (sgmlError): ditto
5608         (simpleDocBookOnePar): ditto
5609         (makeDocBookFile): use ParagraphList::iterator
5610
5611         * CutAndPaste.C (pasteSelection): adjust
5612
5613 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5614
5615         * text2.C (getFont): adjust
5616         (getLayoutFont): adjust
5617         (getLabelFont): adjust
5618
5619         * paragraph_funcs.C (TeXOnePar): adjust
5620
5621         * buffer.C (simpleLinuxDocOnePar): adjust
5622         (simpleDocBookOnePar): adjust
5623
5624         * CutAndPaste.C (pasteSelection): adjust
5625
5626         * BufferView.C (getEncoding): adjust
5627
5628         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5629
5630 2003-04-16  John Levon  <levon@movementarian.org>
5631
5632         * lyxfind.C: use parlist stuff for search/changes
5633
5634 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5635
5636         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5637
5638         * text2.C (deleteEmptyParagraphMechanism): adjust
5639
5640         * text2.[Ch] (ownerParagraph): delete func (both of them
5641
5642 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5643
5644         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5645
5646 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5647
5648         * ParagraphList.C: prepare for NO_NEXT
5649
5650 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5651
5652         * text2.C (getFont): adjust
5653         (getLayoutFont): adjust
5654         (getLabelFont): adjust
5655
5656         * paragraph.C (getFont): adjust
5657         (getLabelFont): adjust
5658         (getLayoutFont): adjust
5659
5660         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5661
5662 2003-04-15  John Levon  <levon@movementarian.org>
5663
5664         From Angus Leeming
5665
5666         * lyx_main.C: handle Include in .ui files
5667
5668 2003-04-15  John Levon  <levon@movementarian.org>
5669
5670         * MenuBackend.C: make the doc files length shorter
5671
5672         * ToolbarBackend.h:
5673         * ToolbarBackend.C: handle toolbar placement flags,
5674         Minibuffer
5675
5676 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5677
5678         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5679         adjust
5680
5681         * paragraph_funcs.C (TeXOnePar): adjust
5682
5683         * paragraph.C (getLabelFont): add outerfont arg, adjust
5684         (getLayoutFont): ditto
5685         (simpleTeXOnePar): adjust
5686
5687         * paragraph_pimpl.C (realizeFont): delete func
5688
5689 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5690
5691         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5692         row argument, constify cur argument.
5693
5694 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5695
5696         * text2.C (getFont): adjust
5697         (getLayoutFont): adjust
5698         (getLabelFont): adjust
5699
5700         * paragraph_funcs.C (TeXOnePar): adjust
5701         (outerFont): new func...
5702         (realizeFont): ...moved out from here, changed this to facilitate
5703         transition
5704
5705         * paragraph.C (getFont): take outerfont as arg, adjust
5706         (simpleTeXOnePar): add outerfont arg, adjust
5707
5708         * buffer.C (simpleLinuxDocOnePar): adjust
5709         (simpleDocBookOnePar): adjust
5710
5711         * CutAndPaste.C (pasteSelection): adjust
5712
5713         * BufferView.C (getEncoding): adjust
5714
5715 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5716
5717         * text2.C (setCharFont): adjust
5718         (setCounter): adjust
5719
5720         * text.C (leftMargin): adjust
5721         (setHeightOfRow): adjust
5722
5723         * rowpainter.C (paintFirst): adjust
5724         (paintLast): adjust
5725
5726         * paragraph_pimpl.C (realizeFont): adjust
5727
5728         * paragraph.C (isFirstInSequence): move from here...
5729         * paragraph_funcs.C (isFirstInSequence): ...to here
5730
5731         * paragraph.C (outerHook): move from here...
5732         * paragraph_funcs.C (outerHook): ...to here
5733
5734         * paragraph.C (depthHook): move from here...
5735         * paragraph_funcs.C (depthHook): ...to here
5736
5737         * paragraph.C (getEndLabel): move from here...
5738         * paragraph_funcs.C (getEndLabel): ...to here
5739
5740         * text2.C (realizeFont): move from here...
5741         * paragraph_funcs.C (realizeFont): ...to here
5742
5743 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5744
5745         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5746
5747 2003-04-14  Angus Leeming  <leeming@lyx.org>
5748
5749         * LColor.[Ch]: scrap LColor mathcursor.
5750
5751 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5752
5753         * lyxlex.[Ch] (text): delete function
5754         * trans.C (Load): adjust
5755         * paragraph_funcs.C (readParToken): adjust
5756
5757 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5758
5759         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5760         vector<char> instead of a char[].
5761
5762         * lyxlex_pimpl.C (getString): adjust
5763         (next): adjust
5764         (lex): use getString
5765         (eatLine): adjust
5766         (nextToken): adjust
5767
5768         * lyxlex.C (text): use pimpl_->getString()
5769         (getBool): ditto
5770         (findToken): ditto
5771
5772 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5773
5774         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5775         (makeFontEntriesLayoutSpecific): temp var for par.size()
5776         (setLayout): temp var for ownerParagraphs().end()
5777         (fullRebreak): temp var for rows().end()
5778         (selectionAsString): temp var for boost::next(startpit), realize
5779         that the while really is a regular for loop.
5780         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5781         setCursor in one place.
5782         (setParagraph): temp vr for ownerParagraphs().end()
5783         (updateCounters): make the while loop a for loop
5784         (cutSelection): temp var for ownerParagraphs().end()
5785         (updateInset): make the do {} while() a regular for loop
5786         (getCursorX): use temp vars
5787         (setCurrentFont): use temp vars
5788         (getColumnNearX): use temp vars
5789
5790 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5791
5792         * text.C (transformChar): use temp var for getChar
5793         (computeBidiTables): use temp var for row->par()
5794         (fill): move temp vars for row->par() and pit->layout() earlier in
5795         the function.
5796         (labelFill): use temp var for row->par()
5797         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5798         asc and desc, realize that pit never changes and that firstpit is
5799         just a duplicate and not needed. Exchange rit->par() with pit in a
5800         lot of places.
5801         (breakAgain): use a temp var for boost::next(rit)
5802         (breakAgainOneRow): ditto
5803         (breakParagraph): use a temp var for rows().begin()
5804         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5805         (cursorRightOneWord): use temp var for cursor.par() and
5806         cursor.pos(), remove usage of tmpcursor.
5807         (cursorLeftOneWord): use temp var for cursor.par() and
5808         cursor.pos() only set cur at end of function.
5809
5810 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5811
5812         * text.C, text2.C: exchange all usage of Paragraph::next with
5813         boost::next(ParagraphList::iterator)
5814
5815         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5816
5817         * text2.C (cursorTop): simplify implementation
5818         (cursorBottom): ditto
5819         (setParagraph): use ParagraphList::iterator
5820         (setCurrentFont): adjust
5821         (getColumnNearX): adjust
5822         (cursorRight): adjust
5823         (cursorLeft): remove usage of Paragraph::previous
5824         (cursorUpParagraph): ditto
5825         (deleteEmptyParagraphMechanism): slight cleanup
5826
5827         * text.C (isBoundary): take a Paragraph const & instead of a
5828         pointer as arg.
5829         (addressBreakPoint): ditto
5830         (leftMargin): remove usage of Paragraph::previous.
5831         (setHeightOfRow): ditto
5832         (cursorLeftOneWord): ditto
5833         (selectNextWordToSpellcheck): ditto
5834         (Delete): ditto
5835         (backspace): ditto
5836         (breakParagraph): remove one usage of Paragraph::next
5837         (redoParagraph): ditto
5838         (acceptChange): ditto
5839         (insertChar): adjust
5840         (rowBreakPoint): adjust
5841
5842         * bufferview_funcs.C (toggleAndShow): adjust
5843
5844 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5845
5846         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5847         methods to access it.
5848         * lyxtext.h:
5849         * text.C: Added updateRowPositions to compute all row positions.
5850         Make top_y and getRowNearY() to use the cached y position
5851
5852 2003-04-11  John Levon  <levon@movementarian.org>
5853
5854         * text.C (rowBreakPoint): reintroduce the labelEnd
5855         checks, code copied from the row fill stuff. Deep voodoo.
5856
5857         * text.C (fill): add a comment and debugging for the
5858         next poor soul.
5859
5860 2003-04-11  John Levon  <levon@movementarian.org>
5861
5862         * text.C: make sure fullrow insets get wrapped to the next line,
5863         even when they're in a manual label
5864
5865 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5866
5867         * text2.C (insertParagraph): make it take ParagraphList::iterator
5868         as arg.
5869         (setLayout): make it return ParagraphList::iterator
5870         (redoParagraphs): ditto
5871         (setCounter): ditto
5872         (checkParagraph): ditto
5873
5874         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5875
5876         * text2.C: adjust several funcs.
5877         (realizeFont): take a ParagraphList::iterator as arg.
5878         (getLayoutFont): ditto
5879         (getLabelFont): ditto
5880         (setCharFont): ditto
5881
5882         * text.C: adjust several funcs.
5883
5884 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5885
5886         * text.C (selectNextWordToSpellcheck): don't accidentally
5887         skip insets
5888
5889 2003-04-10  John Levon  <levon@movementarian.org>
5890
5891         * ToolbarBackend.C (getIcon): special handling for
5892         LFUN_MATH_DELIM
5893
5894 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5895
5896         * text2.C (cursorRight): a getChar assert fixed
5897
5898 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5899
5900         * text2.C (getFont): change to take a ParagraphList::iterator
5901         instead of Paragraph*
5902         Adjust several functions.
5903
5904         * text.C (transformChar): change to take a ParagraphList::iterator
5905         instead of Paragraph*
5906         (singleWidth): ditto
5907         Adjust several functions.
5908
5909         * rowpainter.C: adjust several functions
5910         * rowpainter.h:store a ParagraphList::iterator and not a
5911         Paragraph&.
5912
5913
5914 2003-04-09  John Levon  <levon@movementarian.org>
5915
5916         * lyxfunc.C:
5917         * lfuns.h:
5918         * LyXAction.h:
5919         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5920         and the "help" bits as well
5921
5922 2003-04-09  John Levon  <levon@movementarian.org>
5923
5924         * ToolbarBackend.h:
5925         * ToolbarBackend.C: allow multiple toolbars
5926
5927 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5928
5929         * undo_funcs.C (setCursorParUndo): adjust
5930
5931         * text_funcs.C (transposeChars): adjust
5932
5933         * text3.C (gotoNextInset): adjust
5934         (dispatch): adjust
5935
5936         * text2.C (setLayout): adjust
5937         (changeDepth): adjust
5938         (setFont): adjust
5939         (redoParagraphs): adjust
5940         (selectionAsString): adjust
5941         (setParagraph): adjust
5942         (insertInset): adjust
5943         (cutSelection): adjust
5944         (copySelection): adjust
5945         (pasteSelection): adjust
5946         (insertStringAsLines): adjust
5947         (updateInset): adjust
5948         (setCursor): change to take a ParagraphList::iterator parameter
5949         (setCursorIntern): change to take a ParagraphList::iterator parameter
5950         (setCurrentFont): adjust
5951         (cursorLeft): adjust
5952         (cursorRight): adjust
5953         (deleteEmptyParagraphMechanism): adjust
5954
5955         * text.C (breakParagraph): adjust
5956         (insertChar): adjust
5957         (acceptChange): adjust
5958         (rejectChange): adjust
5959         (selectNextWordToSpellcheck): adjust
5960         (changeCase): adjust
5961         (Delete): adjust
5962         (backspace): adjust
5963
5964         * lyxfind.C (SearchForward): adjust
5965         (SearchBackward): adjust
5966         (nextChange): adjust
5967
5968         * lyxcursor.C (par): adjust
5969
5970         * lyxcursor.h: store a ParagraphList::iterator instead of a
5971         Paragraph*
5972
5973         * lyx_cb.C (getPossibleLabel): adjust
5974
5975         * bufferview_funcs.C (toggleAndShow): adjust
5976
5977         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5978         (dispatch): adjust
5979
5980         * BufferView.C (removeAutoInsets): adjust
5981         (lockedInsetStoreUndo): adjust
5982
5983 2003-04-09  John Levon  <levon@movementarian.org>
5984
5985         * ToolbarBackend.C: try icon without argument
5986         if with argument fails
5987
5988 2003-04-08  John Levon  <levon@movementarian.org>
5989
5990         * ToolbarBackend.h:
5991         * ToolbarBackend.C: add getIcon(), handle tooltip,
5992         and change from "Icon" to "Item".
5993
5994 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5995
5996         * BufferView.C (lockInset): another bad getchar crunched
5997
5998 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5999
6000         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6001         again)
6002
6003 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6004
6005         * lyxfind.C (searchForward, searchBackwards): bug 782
6006
6007 2003-04-07  John Levon  <levon@movementarian.org>
6008
6009         * paragraph.C: remove dead comment
6010
6011         * text.C: remove troublesome depth-fiddling code
6012         in leftMargin() and rightMargin() (bug 1017)
6013
6014         * text.C: fix breaking of rows in nested lists
6015         (bug 1004)
6016
6017         * text2.C (updateCounters): fix up depth values
6018         (bug 1013)
6019
6020 2003-04-07  John Levon  <levon@movementarian.org>
6021
6022         * BufferView_pimpl.C: clear message when doc finishes resizing,
6023         and after a mouse event
6024
6025         * lyxfunc.C: clear message after exiting inset
6026
6027 2003-04-07  John Levon  <levon@movementarian.org>
6028
6029         * bufferview_funcs.C: show math status not outside
6030         status in the statusbar
6031
6032 2003-04-07  John Levon  <levon@movementarian.org>
6033
6034         * lyxfunc.C: note status changed after a depth change
6035
6036 2003-04-04  Angus Leeming  <leeming@lyx.org>
6037
6038         * LaTeX.h: move AuxInfo operator==, != out of line.
6039         Remove LaTeX virtual destructor; nothing derives from it.
6040         Move operator()() out of public area and rename it startscript().
6041         Change protected for private.
6042
6043 2003-04-04  Angus Leeming  <leeming@lyx.org>
6044
6045         * lyxfunc.C:
6046         * text2.C: remove unneeded #includes.
6047
6048 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6049
6050         * text2.C (dEPM): fix the heigth of the next row
6051
6052 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6053
6054         * text.C: squashed an invalid getChar requester + some ws changes
6055
6056 2003-04-03  John Levon  <levon@movementarian.org>
6057
6058         * bufferview_funcs.h:
6059         * bufferview_funcs.C:
6060         * lyxfunc.C:
6061         * lyxtext.h:
6062         * text2.C: make getStatus work for the env depth lfuns
6063
6064 2003-04-03  John Levon  <levon@movementarian.org>
6065
6066         * bufferview_funcs.h:
6067         * bufferview_funcs.C:
6068         * lyxfunc.C:
6069         * lyxtext.h:
6070         * text2.C: parlistize decDepth(), by merging it with incDepth()
6071
6072 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6073
6074         * lyxrow.h: store a ParagraphList::iterator instead of a
6075         Paragraph* and adjust other class functions to suit.
6076
6077         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6078         above.
6079
6080 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6081
6082         * text2.C (setCursor): do not anchor to cursor row for the time being
6083
6084 2003-04-02  John Levon  <levon@movementarian.org>
6085
6086         * LyXAction.C:
6087         * lfuns.h:
6088         * lyx_main.C:
6089         * lyxtext.h:
6090         * text.C:
6091         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6092
6093 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6094
6095         * paragraph.h: make ParagraphList and ParagraphList::iterator
6096         friends of Paragraph.
6097
6098         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6099
6100         * ParagraphList.C: Use the private next_ and previous_ from
6101         Paragraph.
6102
6103 2003-04-01  John Levon  <levon@movementarian.org>
6104
6105         * ToolbarBackend.h:
6106         * ToolbarBackend.C:
6107         * Makefile.am: rename, remove defaults gunk
6108
6109         * MenuBackend.h:
6110         * MenuBackend.C: remove defaults gunk
6111
6112         * Languages.h:
6113         * Languages.C: remove defaults gunk
6114
6115         * lyx_main.h:
6116         * lyx_main.C: error out if files couldn't be found.
6117
6118 2003-04-02  John Levon  <levon@movementarian.org>
6119
6120         * text2.C: make incDepth() use parlist
6121
6122 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6123
6124         * undo_funcs.C (firstUndoParagraph): adjust
6125
6126         * text3.C (gotoInset): adjust
6127         (dispatch): adjust, and rewrite loop.
6128
6129         * text2.C (init): adjust, and rewrite loop.
6130         (redoParagraphs): adjust
6131         (updateInset): adjust, and rewrite loop.
6132         (deleteEmptyParagraphMechanism): adjust
6133
6134         * tabular.C (LyXTabular): adjust
6135         (SetMultiColumn): adjust
6136         (TeXRow): adjust
6137
6138         * lyxtext.[Ch] (ownerParagraph): delete function
6139         (ownerParagraphs): new function returns a ParagraphList.
6140
6141         * BufferView.C (removeAutoInsets): adjust
6142         (insertErrors): adjust
6143         (setCursorFromRow): adjust
6144
6145 2003-04-01  Angus Leeming  <leeming@lyx.org>
6146
6147         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6148         in the frontends.
6149
6150 2003-04-02  John Levon  <levon@movementarian.org>
6151
6152         * lyxtext.h:
6153         * text.C:
6154         * Makefile.am:
6155         * text_funcs.h:
6156         * text_funcs.C: make transposeChars a free function
6157
6158         * lyxrow_funcs.C: remove wrong comment
6159
6160 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6161
6162         * lyxtext.h: adjust
6163         * rowpainter.C: adjust
6164         * text.C: adjust
6165         * text2.C: adjust
6166         * text3.C: adjust
6167
6168         * lyxrow_funcs. [Ch]: new files
6169
6170         * lyxrow.[Ch]: remove next and previous pointers
6171         (next,previous): remove accessor functions
6172         (isParEnd): move to lyxrow_funcs
6173         (lastPos): move to lyxrow_funcs
6174         (nextRowIsAllInset): move to lyxrow_funcs
6175         (lastPrintablePos): move to lyxrow_funcs
6176         (numberOfSeparators): move to lyxrow_funcs
6177         (numberOfHfills): move to lyxrow_funcs
6178         (numberOfLabelHfills): move to lyxrow_funcs
6179         (hfillExpansion): move to lyxrow_funcs
6180
6181         * lyxfunc.C: adjust
6182
6183         * bufferview_funcs.C (toggleAndShow): adjust
6184
6185         * RowList.h: Remove class RowList from file leave just a
6186         std::list<Row>.
6187
6188         * RowList.C: delete file
6189
6190         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6191         and lyxrow_funcs.h
6192
6193 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6194
6195         * text3.C (cursorPrevious): adjust
6196         (cursorNext): adjust
6197         (dispatch): adjust
6198
6199         * text2.C (redoHeightOfParagraph): adjust
6200         (redoDrawingOfParagraph): adjust
6201         (setCursor): adjust
6202
6203         * text.C (breakParagraph): adjust
6204         (insertChar): adjust
6205         (backspace): adjust
6206
6207         * rowpainter.C (RowPainter): adjust
6208         (leftMargin): simplify and adjust
6209         (most rowpainter functions): adjust.
6210
6211         * rowpainter.h: store the row as RowList::iterator not as Row*
6212
6213         * lyxcursor.C (row): taka RowList::iterator as arg
6214         (irow): ditto
6215
6216         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6217         of Row*.
6218
6219 2003-04-01  Angus Leeming  <leeming@lyx.org>
6220
6221         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6222         stuff like bool Bool.
6223
6224 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6225
6226         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6227         rewrite a loop
6228
6229 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6230
6231         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6232         RowList::iterator.
6233
6234         * lyxtext.h (rows): drop one version and leve a const variant that
6235         returns a RowList::iterator.
6236
6237 2003-03-31  Angus Leeming  <leeming@lyx.org>
6238
6239         * text.C (fill): ensure that the signature is the same as that in the
6240         header file.
6241
6242 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6243
6244         * text2.C (redoParagraphs): adjust
6245         (updateCounters): adjust
6246         (checkParagraph): adjust
6247         (getColumnNearX): adjust and reformat a bit.
6248
6249         * text.C (top_y): adjust
6250         (workWidth): adjust
6251         (leftMargin): adjust
6252         (prepareToPrint): adjust
6253         (getRow): adjust
6254         (getRowNearY): adjust
6255
6256         * lyxtext.h: make rowlist_ mutable.
6257
6258         * RowList.h: add const_iterator
6259         * RowList.C: adjust for RowList::const_iterator.
6260
6261         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6262         adjust.
6263
6264 2003-03-31  John Levon  <levon@movementarian.org>
6265
6266         * lyxrc.h:
6267         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6268
6269         * lyx_main.C: set default fonts from using lyx_gui funcs
6270
6271         * exporter.C: pdf_mode moved from lyxrc
6272
6273         * lyx_cb.C:
6274         * lyxfunc.C: changes from above
6275
6276 2003-03-31  John Levon  <levon@movementarian.org>
6277
6278         * lyx_main.C: fix to the last fix
6279
6280 2003-03-31  John Levon  <levon@movementarian.org>
6281
6282         * bufferlist.C: "Load original" -> "Load Original"
6283
6284         * converter.C:
6285         * exporter.C:
6286         * importer.C:
6287         * lyx_main.C:
6288         * format.C: more Alert cleanups
6289
6290 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6291
6292         * text2.C (removeParagraph): make it take a RowList::iterator as
6293         arg, adjust.
6294         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6295         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6296
6297         * text.C (anchor_row): make it take a RowList::iterator as arg,
6298         adjust.
6299         (computeBidiTables): make it take a const reference to Row instead
6300         of Row pointer, adjust.
6301         (leftMargin): make it take a RowList::iterator as arg, adjust.
6302         (rowBreakPoint): adjust
6303         (breakAgainOneRow): make it take a RowList::iterator as arg,
6304         adjust.
6305         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6306
6307         * bufferview_funcs.C (toggleAndShow): adjust
6308
6309 2003-03-30  John Levon  <levon@movementarian.org>
6310
6311         * Makefile.am:
6312         * BoostFormat.h:
6313         * boost-inst.C: moved to support
6314
6315         * several files: changes as a result
6316
6317 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6318
6319         * text2.C (LyXText): adjust.
6320         (init): adjust
6321         (removeRow): make it take a RowList::iterator as arg, adjust.
6322         (fullRebreak): adjust
6323         (deleteEmptyParagraphMechanism): adjust
6324         (clearPaint): adjust
6325         (postPaint): adjust
6326
6327         * text.C (top_y): adjust
6328         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6329         (breakAgain): make it take a RowList::iterator as arg, adjust.
6330         (breakParagraph): adjust
6331         (insertChar): adjust
6332         (backspace): adjust
6333
6334         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6335         need_break_row, and refresh_row.
6336
6337         * text3.C (dispatch): adjust
6338
6339         * text2.C (checkParagraph): adjust
6340         (setCursor): adjust
6341         (setCursorFromCoordinates): adjust
6342
6343         * text.C (top_y): adjust
6344         (workWidth): adjust
6345         (getRow): make it return a RowList::iterator, adjust
6346         (getRowNearY): make it return a RowList::iterator, adjust
6347
6348         * text2.C (init): adjust
6349         (insertRow): remove function
6350         (insertParagraph): adjust
6351         (redoParagraphs): adjust
6352         (fullRebreak): adjust
6353         (updateCounters): adjust
6354
6355         * text.C (top_y): rewrite to use RowList iterators.
6356         (top_y): adjust
6357         (setHeightOfRow): rewrite to sue RowList iterators.
6358         (appendParagraph): adjust
6359         (breakAgain): adjust
6360         (breakAgainOneRow): adjust
6361         (breakParagraph): adjust
6362         (getRow): adjust
6363         (getRowNearY): adjust, and remove commented code.
6364
6365         * lyxtext.h (firstRow): delete function
6366         (lastRow): delete function
6367         (rows): new function (const and non-const versions.)
6368         (insertRow): delete function
6369
6370         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6371
6372 2003-03-29  John Levon  <levon@movementarian.org>
6373
6374         * BufferView_pimpl.C: always update scrollbar top
6375         because pasting text when we're anchored could mean we
6376         miss an update altogether
6377
6378 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6379
6380         * text2.C (init): use rowlist_.end() and not 0.
6381         (insertRow): change to take a RowList::iterator as arg, adjust
6382         for this.
6383         (insertParagraph): change to take a RowList::iterator as arg,
6384         adjust for this.
6385         (redoParagraphs): remove some debug msgs.
6386
6387         * text.C (appendParagraph): change to take a RowList::iterator
6388         arg, adjust for this.
6389         (breakAgain): add an assert
6390         (breakAgainOneRow): ditto
6391
6392 2003-03-29  John Levon  <levon@movementarian.org>
6393
6394         * text2.C: do not clear selection after inc/decDepth
6395         (bug 550)
6396
6397 2003-03-29  John Levon  <levon@movementarian.org>
6398
6399         * BufferView.C:
6400         * buffer.C: fix broken strerrors according to Lars
6401
6402 2003-03-29  John Levon  <levon@movementarian.org>
6403
6404         * converters.C: more Alert cleanups
6405
6406 2003-03-29  John Levon  <levon@movementarian.org>
6407
6408         * bufferview_funcs.C: remove pointless Alert
6409
6410         * buffer.C: fix confusing error message when
6411         a template is chmoded 000
6412
6413 2003-03-29  John Levon  <levon@movementarian.org>
6414
6415         * BufferView.C:
6416         * BufferView.h:
6417         * BufferView_pimpl.C: Alert fixes
6418
6419         * Makefile.am:
6420         * tabular.C:
6421         * tabular-old.C: remove unused table compat reading
6422
6423 2003-03-29  John Levon  <levon@movementarian.org>
6424
6425         * BufferView.C:
6426         * buffer.C:
6427         * lyx_cb.h:
6428         * lyx_cb.C: more Alert cleanups
6429
6430         * lyxfunc.C: don't allow chktex if not latex document
6431
6432 2003-03-29  John Levon  <levon@movementarian.org>
6433
6434         * lyx_cb.C:
6435         * BufferView.C:
6436         * buffer.C: warnings pushed down from support/,
6437         kill err_alert
6438
6439 2003-03-29  John Levon  <levon@movementarian.org>
6440
6441         * lyxfunc.C: safety check for C-r (revert)
6442
6443 2003-03-29  John Levon  <levon@movementarian.org>
6444
6445         * bufferlist.h:
6446         * bufferlist.C: several UI fixes using Alert::prompt.
6447         Fix the pointless looping quit code. Fix stupid revert
6448         behaviour (bug 938)
6449
6450         * lyxvc.h:
6451         * lyxvc.C:
6452         * lyx_cb.C: use Alert::prompt
6453
6454         * lyx_main.C: remove a silly question
6455
6456         * lyxfunc.C: remove a couple of silly questions,
6457         use Alert::prompt
6458
6459 2003-03-28  John Levon  <levon@movementarian.org>
6460
6461         * text2.C: fix bug 974 (End on empty par)
6462
6463 2003-03-28  John Levon  <levon@movementarian.org>
6464
6465         * BufferView_pimpl.C:
6466         * LyXAction.C:
6467         * lfuns.h: remove do-nothing math greek lfuns
6468
6469 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6470
6471         * lyxgluelength.h (isValidGlueLength): add default arg on
6472         parameter 2. Remove default arg from friend in class.
6473
6474         * lyxlength.h (isValidLength): add default arg on parameter 2.
6475         Remove default arg from friend in class.
6476
6477         * text2.C (LyXText): adjust, initialize refresh_row.
6478         (init): adjust
6479         (removeRow): adjust
6480         (insertRow): adjust
6481         (insertParagraph): adjst
6482         (redoParagraphs): adjust
6483         (fullRebreak): adjust
6484         (updateCounters): adjust
6485         (deleteEmptyParagraphMechanism): first attempt at fixing a
6486         crashing bug.
6487
6488         * text.C (top_y): adjust
6489         (setHeightOfRow): adjust
6490         (getRow): adjust
6491         (getRowNearY): adjust
6492
6493         * lyxtext.h: include RowList.h
6494         (~LyXText): not needed anymore, deleted.
6495         (firstRow): modify for RowList
6496         (lastRow): new function
6497         Delete firstrow and lastrow class variables, add a Rowlist
6498         rowlist_ class variable.
6499
6500         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6501         paragraph is empty.
6502
6503         * RowList.C (insert): fix case where it == begin().
6504
6505 2003-03-26  Angus Leeming  <leeming@lyx.org>
6506
6507         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6508         the thesaurus dialog.
6509
6510 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6511
6512         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6513
6514         * RowList.[Ch]: new files
6515
6516         * ParagraphList.C (erase): handle the case where it == begin
6517         correctly.
6518
6519 2003-03-25  John Levon  <levon@movementarian.org>
6520
6521         * Makefile.am:
6522         * aspell_local.h:
6523         * aspell.C: add new aspell support
6524
6525         * lyxrc.h:
6526         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6527         have it accessible.
6528
6529 2003-03-25  Angus Leeming  <leeming@lyx.org>
6530
6531         * lfuns.h:
6532         * LyXAction.C (init): new LFUN_INSET_INSERT.
6533
6534         * BufferView_pimpl.C (dispatch): split out part of the
6535         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6536
6537         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6538         LFUN_INSET_APPLY.
6539
6540 2003-03-25  Angus Leeming  <leeming@lyx.org>
6541
6542         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6543
6544 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6545
6546         * text2.C:
6547         * text3.C: remove useless row->height(0)
6548
6549 2003-03-25  John Levon  <levon@movementarian.org>
6550
6551         * lyxtext.h:
6552         * text2.C:
6553         * text3.C: rename the refreshing stuff to better names
6554
6555 2003-03-24  John Levon  <levon@movementarian.org>
6556
6557         * BufferView_pimpl.h:
6558         * BufferView_pimpl.C: update layout choice on a mouse
6559         press/release
6560
6561 2003-03-23  John Levon  <levon@movementarian.org>
6562
6563         * Makefile.am: fix commandtags.h reference
6564
6565 2003-03-22  John Levon  <levon@movementarian.org>
6566
6567         * BufferView_pimpl.C:
6568         * lyxtext.h:
6569         * rowpainter.C:
6570         * rowpainter.h:
6571         * text.C:
6572         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6573
6574 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6575
6576         * lyxtext.h:
6577         * text.C: take the rtl methods out of line
6578
6579 2003-03-21 André Pönitz <poenitz@gmx.net>
6580
6581         * metricsinfo.[Ch]: new files containing structures to be passed around
6582         during the two-phase-drawing...
6583
6584 2003-03-21 André Pönitz <poenitz@gmx.net>
6585
6586         * lyxtextclass.C: read 'environment' tag.
6587
6588 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6589
6590         * text2.C (removeRow): fix bug 964
6591
6592 2003-03-20  John Levon  <levon@movementarian.org>
6593
6594         * rowpainter.C:
6595         * text.C:
6596         * text2.C: paint cleanups. Inset::update() dropped font
6597         parameter
6598
6599 2003-03-19  John Levon  <levon@movementarian.org>
6600
6601         * lyxfunc.C: only fitcursor/markDirty if available()
6602
6603 2003-03-19  John Levon  <levon@movementarian.org>
6604
6605         * commandtags.h: rename to ...
6606
6607         * lfuns.h: ... this, and renumber / cleanup
6608
6609 2003-03-19  John Levon  <levon@movementarian.org>
6610
6611         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6612         fit the cursor after an lfun
6613
6614         * BufferView.h:
6615         * BufferView.C:
6616         * BufferView_pimpl.h:
6617         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6618
6619         * LyXAction.C: layout-character should have ReadOnly
6620
6621         * ParagraphParameters.C:
6622         * buffer.C:
6623         * bufferview_funcs.C:
6624         * lyx_cb.C:
6625         * lyxfind.C:
6626         * lyxtext.h:
6627         * text.C:
6628         * text2.C:
6629         * text3.C:
6630         * undo_funcs.C: changes from above
6631
6632 2003-03-18  John Levon  <levon@movementarian.org>
6633
6634         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6635         remove it from update()
6636
6637         * lyxfunc.C: update layout choice after an lfun
6638
6639         * text3.C: remove extra updateLayoutChoice()s
6640
6641 2003-03-18  John Levon  <levon@movementarian.org>
6642
6643         * text.C: top_y change means full repaint, fix
6644         a drawing bug with cursor movement
6645
6646 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6647
6648         * lyxtext.h:
6649         * text.C:
6650         * text2.C: anchor row on setCursor
6651
6652 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6653
6654         * lyxtext.h: remove almost all mutable keywords
6655         * text.C:
6656         * text2.C:
6657         * text3.C: remove const keywords accordingly
6658
6659 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6660
6661         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6662         anon namespace
6663         (TeXEnvironment): ditto
6664         (TeXOnePar): ditto
6665
6666 2003-03-17  John Levon  <levon@movementarian.org>
6667
6668         * text.C (rowBreakPoint): remove attempt to fix displayed
6669         math insets inside a manual label
6670
6671 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6672
6673         * lyxtext.h: remove BufferView* as first arg from almost all class
6674         functions.
6675         * other files: adjust.
6676
6677 2003-03-17  John Levon  <levon@movementarian.org>
6678
6679         * lyxtext.h:
6680         * undo_funcs.C:
6681         * text2.C: more paint cleanups
6682
6683         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6684
6685         * rowpainter.h:
6686         * rowpainter.C: remove "smart" background painting code
6687
6688 2003-03-16  John Levon  <levon@movementarian.org>
6689
6690         * lyxtext.h:
6691         * text.C:
6692         * text2.C:
6693         * text3.C: add helper functions for setting refresh_row/y
6694
6695 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6696
6697         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6698         newline inset which *can* get inserted in the pass_thru layouts.
6699         This is primarily for literate documents.
6700
6701 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6702
6703         * buffer.C: increment LYX_FORMAT to 223
6704
6705 2003-03-14 André Pönitz <poenitz@gmx.net>
6706
6707         * textclass.h: prepare for environment handling, ws changes
6708         * lyxlayout.C: read latexheader and latexfooter tags
6709
6710 2003-03-14  John Levon  <levon@movementarian.org>
6711
6712         * text2.C: rewrite ::status() a bit
6713
6714 2003-03-13  John Levon  <levon@movementarian.org>
6715
6716         * lyxtext.h: add some docs
6717
6718 2003-03-13  John Levon  <levon@movementarian.org>
6719
6720         * lyxtext.h:
6721         * text.C:
6722         * text2.C:
6723         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6724
6725 2003-03-13  John Levon  <levon@movementarian.org>
6726
6727         * text3.C: fix appendix redrawing
6728
6729 2003-03-13  John Levon  <levon@movementarian.org>
6730
6731         * text.C (setHeightOfRow):
6732         * rowpainter.h:
6733         * rowpainter.C: make appendix mark have the text
6734           "Appendix" so the user knows what it is
6735
6736         * LColor.h:
6737         * LColor.C: s/appendixline/appendix/ from above
6738
6739 2003-03-13  John Levon  <levon@movementarian.org>
6740
6741         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6742
6743         * text.C: fix a getChar(pos) bug properly
6744
6745 2003-03-13  Angus Leeming  <leeming@lyx.org>
6746
6747         * commandtags.h:
6748         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6749         Probably only temporary. Let's see how things pan out.
6750
6751         * BufferView.C (unlockInset):
6752         * BufferView_pimpl.C (fitCursor):
6753         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6754
6755         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6756         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6757
6758         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6759         new functions that convert ParagraphParameters to and from a string.
6760
6761         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6762         BufferView::Pimpl's dispatch.
6763         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6764
6765 2003-03-13 André Pönitz <poenitz@gmx.net>
6766
6767         * lyxfunc.C:
6768         * text3.C:
6769         * factory.C: make it aware of InsetEnv
6770
6771 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6772
6773         * text2.C (setCursor): never ask for one past last
6774         (setCursor): add some debugging messages.
6775
6776         * text.C (singleWidth): never ask for one past last
6777         (singleWidth): ditto
6778         (leftMargin): ditto
6779         (rightMargin): ditto
6780         (rowBreakPoint): ditto
6781         (setHeightOfRow): ditto
6782         (prepareToPrint): ditto
6783
6784         * rowpainter.C (paintBackground): never ask for one past last
6785         (paintText): never ask for one past last
6786
6787         * paragraph_pimpl.C (getChar): make the assert stricter, never
6788         allow the one past last pos to be taken
6789
6790         * paragraph.C (getChar): ws changes only
6791
6792         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6793         (numberOfSeparators): ditto
6794         (numberOfHfills): ditto
6795
6796 2003-03-12  John Levon  <levon@movementarian.org>
6797
6798         * author.h:
6799         * author.C:
6800         * bufferparams.h:
6801         * bufferparams.C:
6802         * paragraph_funcs.C: fix per-buffer authorlists
6803
6804 2003-03-12  John Levon  <levon@movementarian.org>
6805
6806         * text.C: fix newline in right address
6807
6808 2003-03-12  Angus Leeming  <leeming@lyx.org>
6809
6810         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6811         duplicate those in LyXFunc::dispatch.
6812
6813         * commandtags.h:
6814         * LyXAction.C:
6815         * ToolbarDefaults.C:
6816         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6817         Add LFUN_FONTFREE_UPDATE.
6818
6819         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6820         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6821
6822         * bufferview_func.[Ch]: several new functions to facilliate
6823         transfer of data to and from the character dialog.
6824
6825 2003-03-12  John Levon  <levon@movementarian.org>
6826
6827         * buffer.C:
6828         * paragraph.h:
6829         * paragraph.C:
6830         * paragraph_funcs.C:
6831         * paragraph_pimpl.C:
6832         * sgml.C:
6833         * tabular.C:
6834         * text.C:
6835         * text3.C: remove META_NEWLINE in favour of an inset
6836
6837         * rowpainter.h:
6838         * rowpainter.C: remove paintNewline (done by inset)
6839
6840 2003-03-12  John Levon  <levon@movementarian.org>
6841
6842         * paragraph_pimpl.C: complain about bad getChar()s
6843         for a while at least
6844
6845 2003-03-12  John Levon  <levon@movementarian.org>
6846
6847         * buffer.h:
6848         * buffer.C: move paragraph read into a separate function,
6849         a little renaming to reflect that.
6850
6851         * bufferparams.h:
6852         * bufferparams.C: remove the author_ids map, not necessary now
6853
6854         * factory.h:
6855         * factory.C: moved Buffer::readInset to here
6856
6857         * paragraph_funcs.h:
6858         * paragraph_funcs.C: readParagraph free function moved from
6859         buffer.C
6860
6861         * tabular.C: name change
6862
6863 2003-03-12  John Levon  <levon@movementarian.org>
6864
6865         * buffer.C:
6866         * ParagraphParameters.C: move par params input to
6867         a read() method
6868
6869         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6870         behave like a normal read from the stream wrt reading
6871         a line vs. a \\token
6872
6873 2003-03-12  John Levon  <levon@movementarian.org>
6874
6875         * paragraph.C:
6876         * ParagraphParameters.h:
6877         * ParagraphParameters.C: move output code to a
6878         ::write() method
6879
6880 2003-03-12  John Levon  <levon@movementarian.org>
6881
6882         * BufferView.C (insertLyXFile):
6883         * buffer.h:
6884         * buffer.C:
6885         * tabular.C: use a parlist iterator for creating the
6886           document.
6887
6888 2003-03-12  John Levon  <levon@movementarian.org>
6889
6890         * buffer.C: make current_change static local not
6891           static file-scope
6892
6893 2003-03-12  John Levon  <levon@movementarian.org>
6894
6895         * buffer.C: fix insertStringAsLines for change tracking
6896
6897 2003-03-12  John Levon  <levon@movementarian.org>
6898
6899         * BufferView.C:
6900         * tabular.C:
6901         * buffer.h:
6902         * buffer.C:
6903         * bufferparams.h:
6904         * bufferparams.C: move author list into params. Rename some
6905           functions. Move the header reading into a separate token
6906           loop. Move the header token reading into BufferParams.
6907
6908 2003-03-12  John Levon  <levon@movementarian.org>
6909
6910         * changes.C: put debug inside lyxerr.debugging() checks
6911
6912 2003-03-11 André Pönitz <poenitz@gmx.net>
6913
6914         * factory.C: make it aware of InsetHFill
6915
6916 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6917
6918         * buffer.C (latexParagraphs): move function from here...
6919         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6920         args.
6921
6922 2003-03-10  Angus Leeming  <leeming@lyx.org>
6923
6924         * LyXAction.C (init): fix bug in poplating array with multiple entries
6925         with the same LFUN (spotted by JMarc).
6926
6927 2003-03-10  John Levon  <levon@movementarian.org>
6928
6929         * text.C:
6930         * text2.C: move getColumnNearX() near its
6931         only call site
6932
6933 2003-03-10  John Levon  <levon@movementarian.org>
6934
6935         * text.C: fix break before a minipage
6936
6937 2003-03-10  John Levon  <levon@movementarian.org>
6938
6939         * text.C: fix the last commit
6940
6941 2003-03-09  John Levon  <levon@movementarian.org>
6942
6943         * lyxtext.h:
6944         * text.C:
6945         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6946         bug 365 (don't break before insets unless needed). Don't
6947         return a value > last under any circumstances.
6948
6949 2003-03-09  Angus Leeming  <leeming@lyx.org>
6950
6951         * BufferView_pimpl.C (trackChanges, dispatch): call
6952         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6953
6954 2003-03-09  Angus Leeming  <leeming@lyx.org>
6955
6956         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6957         than Dialogs::showAboutlyx().
6958
6959 2003-03-09  Angus Leeming  <leeming@lyx.org>
6960
6961         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6962         than Dialogs::showTabularCreate().
6963
6964 2003-03-09  John Levon  <levon@movementarian.org>
6965
6966         * lyxtext.h:
6967         * text.C:
6968         * text2.C: 3rd arg to nextBreakPoint was always the same.
6969           Use references.
6970
6971 2003-03-08  John Levon  <levon@movementarian.org>
6972
6973         * lyxrow.C:
6974         * paragraph.C:
6975         * paragraph.h:
6976         * rowpainter.C:
6977         * text.C:
6978         * text2.C: Remove the "main" bit from the "main body"
6979           notion.
6980
6981 2003-03-08  John Levon  <levon@movementarian.org>
6982
6983         * text.C (leftMargin): The left margin of an empty
6984         manual label paragraph should not include the label width
6985         string length.
6986
6987         * text.C (prepareToPrint): don't attempt to measure hfills
6988         for empty manual label paragraphs - the answer should be 0
6989
6990 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6991
6992         * CutAndPaste.C: remove commented code and reindent.
6993
6994 2003-03-08  John Levon  <levon@movementarian.org>
6995
6996         * lyxfunc.h:
6997         * lyxfunc.C: move reloadBuffer()
6998
6999         * BufferView.h:
7000         * BufferView.C: to here
7001
7002         * lyxvc.C: add comment
7003
7004         * vc-backend.h:
7005         * vc-backend.C: call bv->reload() to avoid
7006           getStatus() check on MENURELOAD
7007
7008 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7009
7010         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7011         to an old format .dep file.
7012
7013 2003-03-07  Angus Leeming  <leeming@lyx.org>
7014
7015         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7016         when the LFUN_MOUSE_RELEASE should have been handled by
7017         inset->localDispatch.
7018
7019 2003-03-07  Angus Leeming  <leeming@lyx.org>
7020
7021         * BufferView_pimpl.C (dispatch):
7022         * LyXAction.C (init):
7023         * ToolbarDefaults.C (init):
7024         * commandtags.h:
7025         * lyxfunc.C (getStatus):
7026         remove LFUN_INSET_GRAPHICS.
7027
7028         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7029
7030 2003-03-07  Angus Leeming  <leeming@lyx.org>
7031
7032         * commandtags.h:
7033         * LyXAction.C (init):
7034         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7035
7036         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7037
7038         * commandtags.h:
7039         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7040
7041         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7042         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7043
7044 2003-03-07  Angus Leeming  <leeming@lyx.org>
7045
7046         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7047         remove "ert".
7048
7049 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7050
7051         * ParagraphList.C (front): new function
7052         (back): implement
7053
7054 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7055
7056         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7057         and top_row_offset_. removed var first_y.
7058         * text.C (top_y):
7059         * text2.C (LyXText, removeRow):
7060         * text3.C:
7061         * BufferView_pimpl.C:
7062         use these methods instead of using first_y
7063
7064 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7065
7066         * text2.C (pasteSelection): adjust for checkPastePossible
7067
7068         * CutAndPaste.C: remove Paragraph * buf and replace with
7069         ParagraphList paragraphs.
7070         (DeleteBuffer): delete
7071         (cutSelection): change the tc type to textclass_type
7072         (copySelection): change the tc type to textclass_type
7073         (copySelection): adjust for ParagraphList
7074         (pasteSelection): change the tc type to textclass_type
7075         (pasteSelection): adjust for Paragraphlist
7076         (nrOfParagraphs): simplify for ParagraphList
7077         (checkPastePossible): simplify for ParagraphList
7078         (checkPastePossible): remove unused arg
7079
7080         * ParagraphList.C (insert): handle the case where there are no
7081         paragraphs yet.
7082
7083         * CutAndPaste.h: make CutAndPaste a namespace.
7084
7085         * text3.C (dispatch): adjust
7086
7087         * text.C (breakParagraph): add a ParagraphList as arg
7088
7089         * paragraph_funcs.C (breakParagraph): change to take a
7090         BufferParams and a ParagraphList as args.
7091         (breakParagraphConservative): ditto
7092         (mergeParagraph): ditto
7093         (TeXDeeper): add a ParagraphList arg
7094         (TeXEnvironment): ditto
7095         (TeXOnePar): ditto
7096
7097         * buffer.C (readLyXformat2): adjust
7098         (insertStringAsLines): adjust
7099         (latexParagraphs): adjust
7100
7101         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7102         (cutSelection): adjust
7103         (pasteSelection): adjust
7104
7105         * BufferView_pimpl.C (insertInset): adjust
7106
7107 2003-03-05  Angus Leeming  <leeming@lyx.org>
7108
7109         * commandtags.h:
7110         * LyXAction.C (init):
7111         * BufferView_pimpl.C (dispatch):
7112         * lyxfunc.C (getStatus):
7113         remove LFUN_CHILD_INSERT.
7114
7115         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7116
7117 2003-03-05  Angus Leeming  <leeming@lyx.org>
7118
7119         * commandtags.h:
7120         * LyXAction.C (init):
7121         * src/factory.C (createInset):
7122         * lyxfunc.C (getStatus):
7123         * text3.C (dispatch):
7124         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7125
7126         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7127
7128 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7129
7130         * ParagraphList.C (insert): handle insert right before end()
7131         (erase): fix cases where it can be first or last paragraph.
7132
7133 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7134
7135         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7136         Paragraph::next and Paragraph::previous
7137         (TeXOnePar): ditto
7138
7139         * text.C (breakParagraph): adjust
7140
7141         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7142         BufferParams& as arg.
7143         (breakParagraph): use ParagraphList::insert
7144         (breakParagraphConservative): take a Buffer* instead of a
7145         BufferParams& as arg.
7146         (breakParagraphConservative): use ParagraphList::insert.
7147
7148         * buffer.C (insertStringAsLines): un-const it
7149         (insertStringAsLines): adjust
7150
7151         * ParagraphList.C (insert): new function
7152
7153         * CutAndPaste.C (pasteSelection): adjust
7154
7155         * text.C (backspace): adjust
7156
7157         * tabular.C (SetMultiColumn): adjust
7158
7159         * CutAndPaste.C (cutSelection): adjust
7160         (pasteSelection): adjust
7161
7162         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7163         Buffer const * as arg
7164
7165         * ParagraphList.C (erase): new function
7166         * paragraph_funcs.C (mergeParagraph): use it
7167         (mergeParagraph): make it take a Buffer* instead of a
7168         BufferParams* as arg
7169
7170         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7171         as arg
7172         (breakParagraphConservative): ditto
7173
7174         * paragraph.h: remove the breakParagraph friend
7175
7176         * paragraph.C (eraseIntern): new function
7177         (setChange): new function
7178
7179         * paragraph_funcs.C (mergeParagraph): make it take a
7180         ParagraphList::iterator instead of a Paragraph *, adjust
7181         accordingly.
7182
7183         * paragraph.h: move an #endif so that the change tracking stuff
7184         also works in the NO_NEXT case.
7185
7186 2003-03-04  Angus Leeming  <leeming@lyx.org>
7187
7188         * commandtags.h:
7189         * LyXAction.C: new LFUN_INSET_MODIFY.
7190
7191         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7192         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7193
7194 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7195
7196         * several files: ws changes only
7197
7198         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7199         (TeXEnvironment): ditto
7200         (TeXDeeper): ditto
7201
7202         * buffer.C (makeLaTeXFile): adjust
7203         (latexParagraphs): make it take ParagraphList::iterator as args
7204
7205 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7206
7207         * buffer.C (latexParagraphs): adjust
7208
7209         * paragraph.C (TeXOnePar): move function...
7210         (optArgInset): move function...
7211         (TeXEnvironment): move function...
7212         * paragraph_pimpl.C (TeXDeeper): move function...
7213         * paragraph_funcs.C: ...here
7214
7215         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7216
7217 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7218
7219         * buffer.C (readInset): remove compability code for old Figure and
7220         InsetInfo insets
7221
7222 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7223
7224         * buffer.C: ws changes
7225         (readInset):
7226
7227         * BufferView_pimpl.C: ditto
7228         * author.C: ditto
7229         * buffer.h: ditto
7230         * bufferlist.h: ditto
7231         * changes.h: ditto
7232         * lyxfunc.C: ditto
7233
7234 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7235
7236         * converter.[Ch]: split into itself +
7237         * graph.[Ch]
7238         * format.[Ch]
7239         * Makefile.am: += graph.[Ch] + format.[Ch]
7240         * MenuBackend.C
7241         * buffer.C
7242         * exporter.C
7243         * importer.C
7244         * lyx_main.C
7245         * lyxfunc.C
7246         * lyxrc.C: added #include "format.h"
7247
7248 2003-02-27  Angus Leeming  <leeming@lyx.org>
7249
7250         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7251           a label.
7252
7253         * factory.C (createInset): add "label" to the factory.
7254
7255         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7256           string and do no more.
7257
7258 2003-02-27  Angus Leeming  <leeming@lyx.org>
7259
7260         * commandtags.h:
7261         * LyXAction.C (init):
7262         * factory.C (createInset):
7263         * BufferView_pimpl.C (dispatch):
7264           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7265
7266         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7267
7268         * lyxfunc.C (dispatch):
7269         * text3.C (dispatch): pass name to params2string.
7270
7271 2003-02-26  Angus Leeming  <leeming@lyx.org>
7272
7273         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7274           blocks together.
7275           Rearrange the ~includes. Strip out the unnecessary ones.
7276
7277         * factory.C (createInset): reformat.
7278           create new insets for the various LFUN_XYZ_APPLY lfuns.
7279
7280 2003-02-26  John Levon  <levon@movementarian.org>
7281
7282         * lyxrow.h:
7283         * lyxrow.C: add isParStart,isParEnd helpers
7284
7285         * paragraph.h: make isInserted/DeletedText take refs
7286
7287         * paragraph_funcs.h:
7288         * paragraph_funcs.C: remove #if 0'd code
7289
7290         * lyxtext.h:
7291         * text3.C:
7292         * text2.C:
7293         * text.C: use lyxrow helpers above.
7294           Move draw and paint routines to RowPainter.
7295           Make several methods use refs not pointers.
7296           Make backgroundColor() const.
7297           Add markChangeInDraw(), isInInset().
7298           Merge changeRegionCase into changeCase.
7299           Make workWidth() shouldn't-happen code into an Assert.
7300
7301         * rowpainter.h:
7302         * rowpainter.C: new class for painting a row.
7303
7304         * vspace.h:
7305         * vspace.C: make inPixels take a ref
7306
7307 2003-02-26  Angus Leeming  <leeming@lyx.org>
7308
7309         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7310         LFUN_REF_APPLY.
7311
7312 2003-02-25  John Levon  <levon@movementarian.org>
7313
7314         * ispell.C: give the forked command a more accurate name
7315
7316 2003-02-22  John Levon  <levon@movementarian.org>
7317
7318         * toc.h:
7319         * toc.C: make TocItem store an id not a Paragraph *
7320           (bug #913)
7321
7322 2003-02-21  Angus Leeming  <leeming@lyx.org>
7323
7324         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7325           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7326           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7327           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7328           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7329           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7330
7331         * BufferView_pimpl.C (dispatch):
7332         * LyXAction.C (init):
7333         * factory.C (createInset):
7334         * lyxfunc.C (getStatus, dispatch):
7335         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7336
7337 2003-02-21  Angus Leeming  <leeming@lyx.org>
7338
7339         * BufferView_pimpl.C (MenuInsertLyXFile):
7340         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7341         * lyxfunc.C (menuNew, open, doImport):
7342           no longer pass a LyXView & to fileDlg.
7343
7344 2003-02-21  Angus Leeming  <leeming@lyx.org>
7345
7346         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7347         * LyXAction.C: change, BIBKEY to BIBITEM.
7348         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7349         Change InsetBibKey to InsetBibitem.
7350         Change BIBKEY_CODE to BIBITEM_CODE.
7351         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7352         * factory.C: replace insetbib.h with insetbibitem.h.
7353         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7354         * paragraph.C: replace insetbib.h with insetbibitem.h.
7355         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7356         Change bibkey() to bibitem().
7357         * text.C: remove insetbib.h.
7358         * text2.C: replace insetbib.h with insetbibitem.h.
7359         change bibkey() to bibitem().
7360         * text3.C: remove insetbib.h.
7361         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7362
7363 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7364
7365         * lyxrc.C (output): enclose user email in quotes (in case there are
7366         several words)
7367
7368 2003-02-18  John Levon  <levon@movementarian.org>
7369
7370         * buffer.h: add std::
7371
7372 2003-02-17  John Levon  <levon@movementarian.org>
7373
7374         * SpellBase.h:
7375         * ispell.h:
7376         * ispell.C:
7377         * pspell.h:
7378         * pspell.C: reworking. Especially in ispell, a large
7379           number of clean ups and bug fixes.
7380
7381         * lyxfunc.C: fix revert to behave sensibly
7382
7383 2003-02-17 André Pönitz <poenitz@gmx.net>
7384
7385         * LyXAction.C:
7386         * commandtags.h: new LFUN_INSERT_BIBKEY
7387
7388         * layout.h:
7389         * lyxlayout.C:
7390         * buffer.C:
7391         * factory.C:
7392         * text.C:
7393         * text2.C:
7394         * text3.C:
7395         * paragraph.[Ch]:
7396         * paragraph_func.C: remove special bibkey handling
7397
7398 2003-02-17  John Levon  <levon@movementarian.org>
7399
7400         * text.C (Delete): fix case where delete at the end of
7401           the very first paragraph would not merge the pars
7402
7403 2003-02-17  John Levon  <levon@movementarian.org>
7404
7405         * lyxrow.C: fix lastPrintablePos()
7406
7407 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7408
7409         * bufferparams.C (writeLaTeX): add a std:here
7410
7411         * buffer.C: and remove a using directive there
7412
7413 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7414
7415         * buffer.C (makeLaTeXFile): move the code that generates the
7416           preamble...
7417
7418         * bufferparams.C (writeLaTeX): ... in this new method
7419
7420         * LaTeXFeatures.C (getEncodingSet): make const
7421           (getLanguages): make const
7422
7423         * MenuBackend.C (binding): returns the binding associated to this
7424           action
7425           (add): sets the status of each item by calling getStatus. Adds
7426           some intelligence.
7427           (read): add support for OptSubMenu
7428           (expand): remove extra separator at the end of expanded menu
7429
7430 2003-02-15  John Levon  <levon@movementarian.org>
7431
7432         * BufferView.C:
7433         * BufferView_pimpl.C:
7434         * bufferlist.h:
7435         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7436           inset code that had no actual effect. Remove unneeded status
7437           code.
7438
7439 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7440
7441         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7442           in preamble
7443
7444 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7445
7446         * text.C (drawLengthMarker): also draw an arrow marker for
7447           symbolic lengths (medskip...)
7448
7449 2003-02-14  John Levon  <levon@movementarian.org>
7450
7451         * tabular.h:
7452         * tabular.C: better method names
7453
7454 2003-02-14  John Levon  <levon@movementarian.org>
7455
7456         * BufferView_pimpl.C:
7457         * bufferlist.C:
7458         * buffer.C:
7459         * converter.C:
7460         * lyx_cb.C:
7461         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7462           it's a more accurate name. Remove some pointless uses.
7463
7464 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7465
7466         * text2.C (LyXText): change order of initilizers to shut off
7467           warnings
7468
7469 2003-02-14  John Levon  <levon@movementarian.org>
7470
7471         * buffer.C: use ParIterator for getParFromID()
7472
7473         * paragraph.h:
7474         * paragraph.C:
7475         * paragraph_pimpl.h:
7476         * paragraph_pimpl.C: remove unused getParFromID()
7477
7478 2003-02-14  John Levon  <levon@movementarian.org>
7479
7480         * buffer.C: remove some very old #if 0'd parse code
7481
7482 2003-02-13  John Levon  <levon@movementarian.org>
7483
7484         * text.h:
7485         * text.C:
7486         * text2.C: move hfillExpansion(), numberOfSeparators(),
7487           rowLast(), rowLastPrintable(), numberofHfills(),
7488           numberOfLabelHfills() ...
7489
7490         * lyxrow.h:
7491         * lyxrow.C: ... to member functions here.
7492
7493         * paragraph.h:
7494         * paragraph.C:
7495         * lyxtext.h:
7496         * text.C: remove LyXText::beginningOfMainBody(), and call
7497           p->beginningOfMainBody() directly. Move the check for
7498           LABEL_MANUAL into the latter.
7499
7500         * text.h:
7501         * text.C:
7502         * text2.C:
7503         * vspace.C:
7504         * BufferView.h:
7505         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7506
7507         * text.h:
7508         * text.C:
7509         * text2.C:
7510         * text3.C:
7511         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7512           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7513
7514 2003-02-13  John Levon  <levon@movementarian.org>
7515
7516         * CutAndPaste.C: remove debug
7517
7518 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7519
7520         * paragraph.C (asString): remove two unused variables
7521
7522         * lyxtextclass.C (readTitleType):
7523           (Read):
7524           (LyXTextClass): handle new members titletype_ and titlename_
7525
7526         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7527
7528 2003-02-09  John Levon  <levon@movementarian.org>
7529
7530         * buffer.h:
7531         * buffer.C: replace hand-coded list with a map for the dep clean
7532
7533 2003-02-08  John Levon  <levon@movementarian.org>
7534
7535         * LaTeX.C: consolidate code into showRunMessage() helper
7536
7537 2003-02-08  John Levon  <levon@movementarian.org>
7538
7539         * lyxfind.C:
7540         * lyxtext.h:
7541         * text2.C:
7542         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7543           and pass the size in explicitly
7544
7545         * BufferView_pimpl.h:
7546         * BufferView_pimpl.C:
7547         * BufferView.h:
7548         * BufferView.C: add getCurrentChange()
7549
7550         * BufferView_pimpl.h:
7551         * BufferView_pimpl.C: handle change lfuns
7552
7553         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7554           for changes. Mark pasted paragraphs as new.
7555
7556         * support/lyxtime.h:
7557         * support/lyxtime.C:
7558         * DepTable.C: abstract time_t as lyx::time_type
7559
7560         * LColor.h:
7561         * LColor.C: add colours for new text, deleted text, changebars
7562
7563         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7564           package use "usenames" option.
7565
7566         * commandtags.h:
7567         * lyxfunc.C:
7568         * LyXAction.C: add change lfuns
7569
7570         * Makefile.am:
7571         * author.h:
7572         * author.C: author handling
7573
7574         * buffer.h:
7575         * buffer.C: add a per-buffer author list, with first entry as
7576           current author. Handle new .lyx tokens for change tracking. Output
7577           author list to .lyx file. Output dvipost stuff to .tex preamble.
7578           Bump lyx format to 222.
7579
7580         * bufferlist.h:
7581         * bufferlist.C: add setCurrentAuthor() to reset current author details
7582           in all buffers.
7583
7584         * bufferparams.h:
7585         * bufferparams.C: add param for tracking
7586
7587         * bufferview_funcs.C: output change info in minibuffer
7588
7589         * Makefile.am:
7590         * changes.h:
7591         * changes.C: add change-tracking structure
7592
7593         * debug.h:
7594         * debug.C: add CHANGES debug flag
7595
7596         * lyxfind.h:
7597         * lyxfind.C: add code for finding the next change piece
7598
7599         * lyxrc.h:
7600         * lyxrc.C: add user_name and user_email
7601
7602         * lyxrow.h:
7603         * lyxrow.C: add a metric for the top of the text line
7604
7605         * lyxtext.h:
7606         * text.C: implement accept/rejectChange()
7607
7608         * lyxtext.h:
7609         * text.C: paint changebars. Paint new/deleted text in the chosen
7610         colours. Strike through deleted text.
7611
7612         * paragraph.h:
7613         * paragraph.C:
7614         * paragraph_pimpl.h:
7615         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7616           in the current change to the insert functions. Rework erase to
7617           mark text as deleted, adding an eraseIntern() and a range-based
7618           erase(). Implement per-paragraph change lookup and
7619           accept/reject.
7620
7621         * paragraph_funcs.C: Fixup paste for change tracking.
7622
7623         * tabular.C: mark added row/columns as new.
7624
7625         * text.C: fix rowLast() to never return -1. Don't allow
7626           spellchecking of deleted text. Track transpose changes. Don't
7627           allow paragraph break or merge where appropriate.
7628
7629         * text2.C: leave cursor at end of selection after a cut.
7630
7631 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7632
7633         * text.C (getLengthMarkerHeight):
7634         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7635         visible on screen too.
7636
7637 2003-02-07  John Levon  <levon@movementarian.org>
7638
7639         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7640
7641 2003-02-05  Angus Leeming  <leeming@lyx.org>
7642
7643         * lyxserver.C (read_ready): revert my patch of 11 September last year
7644         as it sends PC cpu through the roof. Presumably this means that
7645         the lyxserver will no longer run on an Alpha...
7646
7647 2003-01-30  Angus Leeming  <leeming@lyx.org>
7648
7649         * factory.C (createInset): create an InsetCommandParam of type "index"
7650         and use it to 'do the right thing'.
7651
7652         * text2.C (getStringToIndex): ensure that cursor position is always
7653         reset to the reset_cursor position.
7654
7655 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7656
7657         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7658         disabled.
7659
7660 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7661
7662         * bufferview.C:
7663         * lyxcb.C:
7664         * lyxfunc.C: Output messages with identical spelling, punctuation,
7665         and spaces
7666
7667 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7668
7669         * MenuBackend.C (expandFormats): List only viewable export formats
7670         in "View" menu
7671
7672         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7673         message
7674
7675         * lyxfunc.C (getStatus): Make sure that formats other than
7676         "fax" can also be disabled
7677
7678 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7679
7680         * text3.C (dispatch): put the lfuns that insert insets in 3
7681         groups, and call doInsertInset with appropriate arguments.
7682         (doInsertInset): new function, that creates an inset and inserts
7683         it according to some boolean parameters.
7684
7685 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7686
7687         * buffer.C (readFile): remember to pass on 'par' when calling
7688         readFile recursively.
7689
7690 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7691
7692         * MenuBackend.C (expandFormats): add "..." to import formats.
7693
7694 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7695
7696         * paragraph.C (asString): Remove XForms RTL hacks.
7697
7698 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7699         * buffer.C: fix typo
7700
7701 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7702
7703         * Makefile.am (LIBS): delete var
7704         (lyx_LDADD): add @LIBS@ here instead.
7705
7706 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7707
7708         * Clarify the meaning of "wheel mouse jump"
7709
7710 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7711
7712         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7713         tabular in a float
7714
7715 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7716
7717         * importer.C (Loaders): do not preallocate 3 elements in the
7718         vector, since one ends up with 6 elements otherwise
7719
7720 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7721
7722         * DepTable.C (write): write the file name as last element of the
7723         .dep file (because it may contain spaces)
7724         (read): read info in the right order
7725
7726 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7727
7728         * paragraph_pimpl.C (simpleTeXBlanks):
7729         (simpleTeXSpecialChars):
7730         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7731
7732         * tabular.C (latex): add some missing case statements. Reindent.
7733
7734         * MenuBackend.C (expandToc): remove unused variable.
7735
7736 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7737
7738         * LColor.C:
7739         * LaTeX.C:
7740         * LyXAction.C:
7741         * MenuBackend.C:
7742         * buffer.C:
7743         * exporter.C:
7744         * lyxfunc.C:
7745         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7746         and the like.
7747
7748 2003-01-05  John Levon  <levon@movementarian.org>
7749
7750         * BufferView.h:
7751         * BufferView.C: add getEncoding()
7752
7753         * kbsequence.h:
7754         * kbsequence.C: do not store last keypress
7755
7756         * lyxfunc.h:
7757         * lyxfunc.C: store last keypress here instead. Pass encoding
7758           to getISOEncoded()
7759
7760 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7761
7762         * lyx_main.C (init): remove annoying error message when following
7763         symbolic links (bug #780)
7764
7765 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7766
7767         * text.C (insertChar):
7768         * lyxrc.C (getDescription): remove extra spaces
7769
7770 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7771
7772         * lyxrc.C (getDescription): remove extra spaces
7773
7774 2002-12-20  John Levon  <levon@movementarian.org>
7775
7776         * text3.C: hack fix for page up/down across tall rows
7777
7778 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7779
7780         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7781         not been invoked
7782
7783 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7784
7785         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7786         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7787         thesaurus is not compiled in
7788
7789 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7790
7791         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7792
7793 2002-12-16  Angus Leeming  <leeming@lyx.org>
7794
7795         * lyxrc.[Ch]:
7796         * lyx_main.C (init): remove override_x_deadkeys stuff.
7797
7798 2002-12-12  John Levon  <levon@movementarian.org>
7799
7800         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7801           insert. Only remove shift modifier under strict
7802           circumstances.
7803
7804 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7805
7806         * MenuBackend.C (expandToc): fix crash.
7807
7808 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7809
7810         * MenuBackend.C (expandToc): gettext on float names.
7811
7812 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7813
7814         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7815         implement bool empty() [bug 490]
7816
7817 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7818
7819         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7820
7821 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7822
7823         * several files: ws changes
7824
7825 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7826
7827         * text2.C (setCounter): clean up a bit, use boost.format.
7828         (updateCounters): initialize par upon declaration.
7829
7830         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7831         if the layout exists. We do not just store the layout any more.
7832         (SwitchLayoutsBetweenClasses): use boost.format
7833
7834 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7835
7836         * converter.C (convert): if from and to files are the same, use a
7837         temporary files as intermediary
7838
7839 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7840
7841         * commandtags.h:
7842         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7843
7844 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7845
7846         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7847
7848 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7849
7850         * tabular.C (asciiPrintCell): use string(size, char) instead of
7851         explicit loop.
7852
7853         * sgml.C (openTag): fix order of arguments to string constructor
7854         (closeTag): ditto
7855
7856         * lyxfunc.C (dispatch): use boost.format
7857
7858         * lots of files: change "c" -> 'c'
7859
7860 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7861
7862         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7863
7864 2002-11-25  Angus Leeming  <leeming@lyx.org>
7865
7866         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7867
7868         * lyx_main.C (init): compile fix.
7869
7870 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7871
7872         * lyx_cb.C (start): boost.formatify
7873         do not include <iostream>
7874
7875         * lengthcommon.C: ws only
7876
7877         * boost-inst.C,BoostFormat.h: add more explict instantations
7878
7879 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7880
7881         * lots of files: handle USE_BOOST_FORMAT
7882
7883 2002-11-21  John Levon  <levon@movementarian.org>
7884
7885         * pspell.C: fix compile
7886
7887 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7888
7889         * lyxfunc.C (dispatch): use boost::format
7890         (open): ditto
7891         (doImport): ditto
7892
7893         * lyxfont.C (stateText): use boost::format
7894
7895         * lyx_main.C (LyX): use boost::format
7896         (init): ditto
7897         (queryUserLyXDir): ditto
7898         (readRcFile): ditto
7899         (parse_dbg): ditto
7900         (typedef boost::function): use the recommened syntax.
7901
7902         * importer.C (Import): use boost::format
7903
7904         * debug.C (showLevel): use boost::format
7905
7906         * converter.C (view): use boost::format
7907         (convert): ditto
7908         (move): ditto
7909         (scanLog): ditto
7910
7911         * bufferview_funcs.C (currentState): use boost::format
7912
7913         * bufferlist.C (emergencyWrite): use boost::format
7914
7915         * buffer.C (readLyXformat2): use boost::format
7916         (parseSingleLyXformat2Token): ditto
7917
7918         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7919
7920         * LaTeX.C (run): use boost::format
7921
7922         * Chktex.C (scanLogFile): use boost::format
7923
7924         * BufferView_pimpl.C (savePosition): use boost::format
7925         (restorePosition): ditto
7926         (MenuInsertLyXFile): ditto
7927
7928         * BoostFormat.h: help file for explicit instation.
7929
7930 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7931
7932         * tabular.C (latex): Support for block alignment in fixed width
7933         columns.
7934
7935 2002-11-17  John Levon  <levon@movementarian.org>
7936
7937         * BufferView_pimpl.C:
7938         * lyx_cb.C:
7939         * lyxfunc.C: split filedialog into open/save
7940
7941 2002-11-08  Juergen Vigna  <jug@sad.it>
7942
7943         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7944         by my last patch (hopefully).
7945
7946 2002-11-08  John Levon  <levon@movementarian.org>
7947
7948         * iterators.h:
7949         * iterators.C:
7950         * buffer.h:
7951         * buffer.C:
7952         * paragraph.h:
7953         * paragraph.C:
7954         * toc.h:
7955         * toc.C: ParConstIterator, and use it (from Lars)
7956
7957 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7958
7959         * lyxtextclass.[Ch]: revise and add doxygen comments
7960
7961 2002-11-07  John Levon  <levon@movementarian.org>
7962
7963         * text.C: fix progress value for spellchecker
7964
7965         * toc.C: fix navigate menu for insetwrap inside minipage
7966
7967         * paragraph_funcs.C: added FIXME for suspect code
7968
7969 2002-11-07  John Levon  <levon@movementarian.org>
7970
7971         * BufferView_pimpl.C: fix redrawing of insets
7972           on buffer switch
7973
7974 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7975
7976         * text2.C (updateCounters): fix bug 668
7977
7978 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7979
7980         * text3.C (dispatch): Do not make the buffer dirty when moving the
7981         cursor.
7982
7983 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7984
7985         * vc-backend.C: STRCONV
7986         (scanMaster): ditto
7987
7988         * text2.C (setCounter): STRCONV
7989
7990         * paragraph.C (asString): STRCONV
7991
7992         * lyxlength.C (asString): STRCONV
7993         (asLatexString): ditto
7994
7995         * lyxgluelength.C (asString): STRCONV
7996         (asLatexString): ditto
7997
7998         * lyxfunc.C (dispatch): STRCONV
7999         (open): ditto
8000
8001         * lyxfont.C (stateText): STRCONV
8002
8003         * importer.C (Import): STRCONV
8004
8005         * counters.C (labelItem): STRCONV
8006         (numberLabel): ditto
8007         (numberLabel): remove unused ostringstream o
8008
8009         * chset.C: STRCONV
8010         (loadFile): ditto
8011
8012         * bufferview_funcs.C (currentState): STRCONV
8013
8014         * buffer.C (readFile): STRCONV
8015         (asciiParagraph): ditto
8016         (makeLaTeXFile): ditto
8017
8018         * Spacing.C (writeEnvirBegin): STRCONV
8019
8020         * LaTeXFeatures.C (getLanguages): STRCONV
8021         (getPackages): ditto
8022         (getMacros): ditto
8023         (getBabelOptions): ditto
8024         (getTClassPreamble): ditto
8025         (getLyXSGMLEntities): ditto
8026         (getIncludedFiles): ditto
8027
8028         * LaTeX.C: STRCONV
8029         (run): ditto
8030         (scanAuxFile): ditto
8031         (deplog): ditto
8032
8033         * LString.h: add the STRCONV macros
8034
8035         * BufferView_pimpl.C (savePosition): STRCONV
8036         (restorePosition): ditto
8037         (MenuInsertLyXFile): ditto
8038
8039         * vc-backend.C (scanMaster): change from submatch[...] to
8040         submatch.str(...)
8041
8042         * funcrequest.C: include config.h
8043
8044         * factory.C: include config.h
8045
8046         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8047
8048         * box.C: include config.h
8049
8050         * LaTeX.C (scanAuxFile): change from submatch[...] to
8051         submatch.str(...)
8052         (deplog): ditto
8053
8054 2002-10-25  Angus Leeming  <leeming@lyx.org>
8055
8056         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8057
8058         * ispell.[Ch] (setError): new method.
8059         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8060         Use setError() insetead of goto END.
8061
8062         * lyx_cb.C (AutoSave): move out child process into new class
8063         AutoSaveBuffer.
8064
8065 2002-10-30  John Levon  <levon@movementarian.org>
8066
8067         * text3.C: make start appendix undoable
8068
8069 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8070
8071         * lyxlength.C (inPixels): Fix returned value.
8072
8073         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8074         environment.
8075
8076 2002-10-24  Angus Leeming  <leeming@lyx.org>
8077
8078         * lyxgluelength.h: no need to forward declare BufferParams
8079         or BufferView, so don't.
8080
8081 2002-10-21  John Levon  <levon@movementarian.org>
8082
8083         * BufferView.C: menuUndo ->undo, redo
8084
8085         * BufferView.h: document, remove dead, make some methods private
8086
8087         * paragraph_funcs.h:
8088         * paragraph_funcs.C:
8089         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8090
8091         * buffer.h:
8092         * buffer.C:
8093         * sgml.h:
8094         * sgml.C: move sgml open/close tag into sgml.C
8095
8096         * bufferview_funcs.h: unused prototype
8097
8098         * lyxfunc.h:
8099         * lyxfunc.C: remove unused
8100
8101         * lyxtext.h:
8102         * text.C: remove unused
8103
8104 2002-10-21  John Levon  <levon@movementarian.org>
8105
8106         * BufferView.h:
8107         * BufferView.C:
8108         * BufferView_pimpl.h:
8109         * BufferView_pimpl.C: fix mouse wheel handling based on
8110           patch from Darren Freeman
8111
8112 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8113
8114         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8115
8116 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8117
8118         * lyxlength.C (inPixels): Fix hanfling of negative length.
8119         Fix LyXLength::MU case.
8120
8121 2002-10-16  John Levon  <levon@movementarian.org>
8122
8123         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8124
8125 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8126
8127         * converter.C (view): add support for $$i (file name) and $$p
8128         (file path) for the viewer command. If $$i is not specified, then
8129         it is appended to the command (for compatibility with old syntax)
8130
8131 2002-10-14  Juergen Vigna  <jug@sad.it>
8132
8133         * undo_funcs.C (textHandleUndo): alter the order in which the
8134         new undopar is added to the LyXText, as we have to set first
8135         the right prev/next and then add it as otherwise the rebuild of
8136         LyXText is not correct. Also reset the cursor to the right paragraph,
8137         with this IMO we could remove the hack in "redoParagraphs()".
8138
8139 2002-10-09  Angus Leeming  <leeming@lyx.org>
8140
8141         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8142         to turn off an optimisation if a new inset is to be inserted.
8143
8144 2002-10-11 André Pönitz <poenitz@gmx.net>
8145
8146         * lyxtext.h: make some functions public to allow access
8147         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8148
8149 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8150
8151         * text3.C (dispatch): when changing layout, avoid an infinite loop
8152         [bug #652]
8153
8154 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8155
8156         * lyxrc.C (read): treat a viewer or converter command of "none" as
8157         if it were empty.
8158
8159         * MenuBackend.C (expandFormats): for an update, also allow the
8160         formats that are not viewable
8161
8162         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8163         script if it is newer than the lyxrc.defaults in user directory
8164
8165 2002-10-07 André Pönitz <poenitz@gmx.net>
8166
8167         * text.C: Vitaly Lipatov's small i18n fix
8168
8169 2002-09-25  Angus Leeming  <leeming@lyx.org>
8170
8171         * ispell.h: doxygen fix.
8172
8173 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8174
8175         * buffer.h (readFile): Add a new argument to the method, to allow
8176         reading of old-format templates.
8177
8178 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8179
8180         * toc.C (getTocList): Get TOC from InsetWrap.
8181
8182 2002-09-16  John Levon  <levon@movementarian.org>
8183
8184         * lyxfunc.C: check tabular for cut/copy too
8185
8186 2002-09-12  John Levon  <levon@movementarian.org>
8187
8188         * LyXAction.C: tidy
8189
8190         * factory.h:
8191         * factory.C: add header
8192
8193         * paragraph_funcs.h:
8194         * paragraph_funcs.C: cleanup
8195
8196 2002-09-11  John Levon  <levon@movementarian.org>
8197
8198         * PrinterParams.h: odd/even default to true
8199
8200 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8201
8202         * PrinterParams.h: update printer parameters for new xforms dialog
8203
8204 2002-09-11  Angus Leeming  <leeming@lyx.org>
8205
8206         * lyxserver.C (read_ready): re-write to make it more transparent
8207         and to make it work in coherent fashion under Tru64 Unix.
8208
8209 2002-09-11  André Pönitz <poenitz@gmx.net>
8210
8211         * commandtags.h:
8212         * LyXAction.C:
8213         * text3.C: implement LFUN_WORDSEL
8214
8215 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8216
8217         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8218         make floatlist_ a boost::shared_ptr<FloatList>
8219
8220         * lyxtextclass.C: include FloatList.h
8221         (LyXTextClass): initialize floatlist_
8222         (TextClassTags): add TC_NOFLOAT
8223         (Read): match "nofloat" to TC_NOFLOAT and use it.
8224         (readFloat): modify call to floatlist_
8225         (floats): ditto
8226         (floats): ditto
8227
8228         * FloatList.[Ch] (FloatList): remove commented out float
8229         initialization.
8230         (erase): new function
8231
8232 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8233
8234         * MenuBackend.C (expandToc): fix crash when there is no document
8235         open
8236
8237 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8238
8239         * many files: Add insetwrap.
8240
8241 2002-09-09  John Levon  <levon@movementarian.org>
8242
8243         * text2.C: remove confusing and awkward depth wraparound
8244
8245 2002-09-09  John Levon  <levon@movementarian.org>
8246
8247         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8248
8249         * buffer.h:
8250         * buffer.C: remove getIncludeonlyList()
8251
8252         * paragraph.C:
8253         * lyxfunc.C: remove headers
8254
8255 2002-09-09  Juergen Vigna  <jug@sad.it>
8256
8257         * text.C (getColumnNearX): fix form Michael this is most
8258         probably a cut&paste bug.
8259
8260 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8261
8262         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8263
8264         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8265         references, ws changes.
8266
8267         * text2.C (init): update counters after init
8268         (insertParagraph): no need to set counter on idividual paragraphs.
8269         (setCounter): access the counters object in the textclass object
8270         on in the buffer object.
8271         (updateCounters): ditto
8272
8273         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8274         shared_ptr<Counters> to avoid loading counters.h in all
8275         compilation units.
8276         (LyXTextClass): initialize ctrs_
8277         (TextClassTags): add TC_COUNTER, and ...
8278         (Read): use it here.
8279         (CounterTags): new tags
8280         (readCounter): new function
8281         (counters): new funtion
8282         (defaultLayoutName): return a const reference
8283
8284         * counters.C (Counters): remove contructor
8285         (newCounter): remove a couple of unneeded statements.
8286         (newCounter): simplify a bit.
8287         (numberLabel): some small formatting changes.
8288
8289         * buffer.[Ch]: remove all traces of counters, move the Counters
8290         object to the LyXTextClass.
8291
8292 2002-09-06  Alain Castera  <castera@in2p3.fr>
8293
8294         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8295         package to set the horizontal alignment on fixed width columns.
8296
8297         * lyx_sty.C:
8298         * lyx_sty.h: added tabularnewline macro def.
8299
8300         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8301
8302 2002-09-06  John Levon  <levon@movementarian.org>
8303
8304         * LyXAction.C: tooltips for sub/superscript
8305
8306         * MenuBackend.C: a bit more verbose
8307
8308         * lyxfunc.C: tiny clean
8309
8310         * undo_funcs.C: document undo_frozen
8311
8312 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8313
8314         * counters.C (Counters): add missing algorithm counter.
8315
8316         * text2.C (setCounter): lookup the counter with layouts latexname
8317         instead of by section number.
8318         (setCounter): use a hackish way to lookup the correct enum
8319         counter.
8320         a float name->type change
8321         reset enum couners with counter name directly instead of depth value.
8322
8323         * counters.C (Counters): remove the push_backs, change to use the
8324         float type not the float name.
8325         (labelItem): remove unused string, float name->type change
8326
8327         * counters.h: don't include vector, loose the enums and sects vectors
8328
8329 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8330
8331         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8332         (Read): add float->TC_FLOAT to textclassTags
8333         (Read): and handle it in the switch
8334         (readFloat): new function
8335
8336         * FloatList.C (FloatList): comment out the hardcoded float
8337         definitions.
8338
8339         * lyxlayout.h: ws change.
8340
8341 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8342
8343         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8344
8345 2002-09-03  Angus Leeming  <leeming@lyx.org>
8346
8347         * BufferView_pimpl.h: qualified name is not allowed in member
8348         declaration: WorkArea & Pimpl::workarea() const;
8349
8350         * factory.C: added using std::endl directive.
8351
8352         * text3.C: added using std::find and std::vector directives.
8353
8354 2002-08-29  André Pönitz <poenitz@gmx.net>
8355
8356         * lyxtext.h:
8357         * text2.C: remove unused member number_of_rows
8358
8359         * Makefile.am:
8360         * BufferView2.C: remove file, move contents to...
8361         * BufferView.C: ... here
8362
8363         * BufferView_pimpl.C:
8364         * factory.C: move more inset creation to factory
8365
8366         * vspace.C: avoid direct usage of LyXText, ws changes
8367
8368         * BufferView.[Ch]:
8369                 don't provide direct access to WorkArea, use two simple
8370                 acessors haveSelction() and workHeight() instead
8371
8372
8373 2002-08-29  John Levon  <levon@movementarian.org>
8374
8375         * BufferView_pimpl.C (dispatch): do not continue when
8376           no buffer
8377
8378 2002-08-28  André Pönitz <poenitz@gmx.net>
8379
8380         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8381
8382         * BufferView.h:
8383         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8384
8385 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8386
8387         * buffer.C: increment LYX_FORMAT to 221
8388
8389         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8390         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8391
8392         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8393
8394         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8395
8396 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8397
8398         * factory.C (createInset): use LyXTextClass::floats
8399
8400         * MenuBackend.C (expandFloatListInsert):
8401         (expandFloatInsert):
8402         (expandToc):
8403
8404         * text2.C (setCounter):
8405
8406         * LaTeXFeatures.C (useFloat):
8407         (getFloatDefinitions):
8408
8409         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8410
8411         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8412         floatlist_, with accessor floats().
8413
8414         * FloatList.h: remove global FloatList
8415
8416 2002-08-26  André Pönitz <poenitz@gmx.net>
8417
8418         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8419
8420         * BufferView.h:
8421         * BufferView2.C:
8422         * BufferView_pimpl.C:
8423         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8424
8425 2002-08-25  John Levon  <levon@movementarian.org>
8426
8427         * LyXAction.C: fix margin note description
8428
8429 2002-08-24  John Levon  <levon@movementarian.org>
8430
8431         * buffer.C:
8432         * bufferlist.C:
8433         * bufferview_funcs.C:
8434         * lyxfont.C:
8435         * undo_funcs.C: cleanups
8436
8437         * lyxfunc.C: disable CUT/COPY when no selection
8438
8439 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8440
8441         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8442         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8443
8444         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8445         Add backward compatibility to "mono", "gray" and "no".
8446
8447 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8448
8449         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8450         (and file_format >= 200).
8451
8452 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8453
8454         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8455
8456 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8457
8458         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8459
8460 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8461
8462         * BufferView_pimpl.C:
8463         * LyXAction.C:
8464         * buffer.C:
8465         * commandtags.h:
8466         * lyxfunc.C:
8467         * paragraph.[Ch]:
8468         * text2.C:
8469         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8470         inset and code to make it  work with the paragraph code. The inset
8471         can be anywhere in the paragraph, but will only do the expected
8472         thing in LaTeX if the layout file contains the parameter line
8473                         OptionalArgs    1
8474         (or more generally, a nonzero value) for that layout.
8475
8476 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8477
8478         * paragraph.h: remove the declaration of undefined counters class
8479         function.
8480
8481 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8482
8483         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8484         Dr. Richard Hawkins.
8485
8486 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8487
8488         * paragraph_funcs.h: remove some unneeded includes
8489
8490         * text.C (backspace): pasteParagraph now in global scipe
8491
8492         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8493         (pasteSelection): ditto
8494
8495         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8496         * paragraph_funcs.C (pasteParagraph): ... here
8497
8498 2002-08-20  André Pönitz <poenitz@gmx.net>
8499
8500         * commandtags.h: new LFUNs for swapping/copying table row/colums
8501
8502         * LyXAction.C:
8503         * lyxfunc.C: support for new lfuns
8504
8505 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8506
8507         * tabular.C:
8508         * buffer.[Ch]: remove NO_COMPABILITY stuff
8509
8510 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8511
8512         * boost.C (throw_exception): new file, with helper function for
8513         boost compiled without exceptions.
8514
8515         * paragraph.h:
8516         * lyxlength.C:
8517         * buffer.C:
8518         * ParameterStruct.h:
8519         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8520
8521         * bufferlist.C (emergencyWriteAll): use boost bind
8522
8523         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8524
8525         * text.C: include paragraph_funcs.h
8526         (breakParagraph): breakParagraph is now in global scope
8527
8528         * paragraph_funcs.[Ch]: new files
8529
8530         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8531         global scope
8532
8533         * buffer.C: include paragraph_funcs.h
8534         (insertStringAsLines): breakParagraph is now in global scope
8535
8536         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8537         paragraph_funcs.C
8538
8539         * CutAndPaste.C: include paragraph_funcs.h
8540         (cutSelection): breakParagraphConservative is now in global scope
8541         (pasteSelection): ditto
8542
8543         * buffer.h: declare oprator== and operator!= for
8544         Buffer::inset_iterator
8545
8546         * bufferlist.C (emergencyWrite): don't use fmt(...)
8547
8548         * text3.C: add using std::endl
8549
8550         * BufferView.C (moveCursorUpdate): remove default arg
8551
8552 2002-08-20  André Pönitz <poenitz@gmx.net>
8553
8554         * buffer.[Ch]: move inline functions to .C
8555
8556         * BufferView2.C:
8557         * BufferView_pimpl.C:
8558         * text.C:
8559         * buffer.[Ch]: use improved inset_iterator
8560
8561         * buffer.C:
8562         * paragraph.[Ch]: write one paragraph at a time
8563
8564 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8565
8566         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8567         style if style is not specified.
8568
8569 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8570
8571         * text2.C (setCounter): when searching for right label for a
8572         caption, make sure to recurse to parent insets (so that a caption
8573         in a minipage in a figure float works) (bug #568)
8574
8575 2002-08-20  André Pönitz <poenitz@gmx.net>
8576
8577         * text3.C: new file for LyXText::dispatch() and helpers
8578
8579         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8580
8581         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8582
8583 2002-08-19  André Pönitz <poenitz@gmx.net>
8584
8585         * lyxtext.h:
8586         * text.C: new LyXText::dispatch()
8587
8588         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8589
8590 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8591
8592         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8593
8594         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8595         Hebrew text.
8596
8597 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8598
8599         * Makefile.am: use $(variables) instead of @substitutions@
8600
8601 2002-08-15  André Pönitz <poenitz@gmx.net>
8602
8603         * lyxfunc.C:
8604         * BufferView_pimpl.C: streamlining mathed <-> outer world
8605         interaction
8606
8607         * commandtags.h:
8608         * LyXAction.C: remove unused LFUN_MATH
8609
8610 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8611
8612         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8613
8614 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8615
8616         * paragraph.C (Paragraph): reformat a bit
8617         (cutIntoMinibuffer): use builtin InsetList function instad of
8618         doing it manually.
8619         (getInset): ditto
8620
8621         * buffer.C: include boost/bind.hpp, add using std::for_each
8622         (writeFileAscii): use ParagraphList iterators
8623         (validate): use for_each for validate traversal of paragraphs
8624         (getBibkeyList): use ParagraphList iterators
8625         (resizeInsets): use for_each to resizeInsetsLyXText for all
8626         paragraphs.
8627         (getParFromID): use ParagraphList iterators
8628
8629         * BufferView2.C (lockInset): use paragraph list and iterators
8630
8631 2002-08-14  John Levon  <levon@movementarian.org>
8632
8633         * lyxserver.C: remove spurious xforms include
8634
8635 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8636
8637         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8638
8639 2002-08-13  André Pönitz <poenitz@gmx.net>
8640
8641         * LyXAction.[Ch]:
8642         * lyxfunc.C: further cleaning
8643
8644 2002-08-13  André Pönitz <poenitz@gmx.net>
8645
8646         * funcrequest.h: new constructor
8647
8648         * funcrequest.C: move stuff here from .h
8649
8650         * Makefile.am:
8651         * BufferView_pimpl.C:
8652         * LyXAction.C:
8653         * toc.C:
8654         * lyxfunc.C: subsequent changes
8655
8656         * lyxfunc.h: new view() member function
8657
8658         * lyxfunc.C: subsequent changes
8659
8660 2002-08-13  Angus Leeming  <leeming@lyx.org>
8661
8662         * BufferView2.C:
8663         * BufferView_pimpl.C:
8664         * buffer.C:
8665         * converter.C:
8666         * importer.C:
8667         * lyxfunc.C:
8668         * lyxvc.C:
8669         * toc.C:
8670         * vc-backend.C:
8671         changes due to the changed LyXView interface that now returns references
8672         to member variables not pointers.
8673
8674 2002-08-13  Angus Leeming  <leeming@lyx.org>
8675
8676         * WordLangTuple (word, lang_code): return references to strings,
8677         not strings.
8678
8679         * BufferView.h:
8680         * SpellBase.h:
8681         * lyxtext.h: forward-declare WordLangTuple.
8682
8683         * BufferView2.C:
8684         * ispell.C:
8685         * pspell.C:
8686         * text.C: #include "WordLangTuple.h".
8687
8688         * lyxtext.h:
8689         * text.C: (selectNextWordToSpellcheck): constify return type.
8690
8691 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8692
8693         * buffer.C:
8694         * buffer.h:
8695         * lyxtext.h:
8696         * paragraph.C:
8697         * paragraph_pimpl.h:
8698         * text.C:
8699         * text2.C:
8700         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8701         suggested by Angus.
8702         Made updateCounter always count from start of buffer, and removed
8703         second argument (par).
8704         Reverted floats number display to '#'. Perhaps I'll try again when the
8705         code base is sanitized a bit.
8706
8707 2002-08-12  Angus Leeming  <leeming@lyx.org>
8708
8709         * buffer.[Ch] (getLabelList): constify.
8710
8711 2002-08-07  André Pönitz <poenitz@gmx.net>
8712
8713         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8714
8715         * funcrequest.h: extension to keep mouse (x,y) position
8716
8717 2002-08-12  Juergen Vigna  <jug@sad.it>
8718
8719         * BufferView2.C (insertErrors): forbid undo when inserting error
8720         insets.
8721
8722         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8723
8724 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8725
8726         * ParagraphList.[Ch]: new files
8727
8728         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8729
8730         * BufferView2.C (lockInset): ParagraphList changes
8731         * toc.C: ditto
8732         * text2.C: ditto
8733         * bufferlist.C: ditto
8734         * buffer.h: ditto
8735         * buffer.C: ditto
8736
8737 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8738
8739         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8740         unused class variable counter_,
8741
8742         * paragraph.[Ch] (getFirstCounter): delete unused function
8743
8744         * counters.C: include LAssert.h
8745         (reset): add a new function with no arg, change other version to
8746         not have def. arg and to not allow empty arg.
8747
8748         * text2.C (setCounter): remove empty arg from call to Counters::reset
8749
8750 2002-08-11  John Levon  <levon@movementarian.org>
8751
8752         * Makefile.am: add WordLangTuple.h
8753
8754 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8755
8756         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8757         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8758
8759         * insets/insettext.C: InsetList changes
8760
8761         * graphics/GraphicsSupport.C (operator()): InsetList changes
8762
8763         * toc.C (getTocList): InsetList changes
8764
8765         * paragraph_pimpl.[Ch]: InsetList changes
8766
8767         * paragraph.[Ch]: InsetList changes
8768
8769         * buffer.C (inset_iterator): InsetList changes
8770         (setParagraph): ditto
8771         * buffer.h (inset_iterator): ditto
8772         * iterators.C (operator++): ditto
8773         * iterators.h: ditto
8774
8775         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8776
8777         * InsetList.[Ch]: new files, most InsetList handling moved out of
8778         paragraph.C.
8779
8780         * BufferView2.C (removeAutoInsets): InsetList changes
8781         (lockInset): ditto
8782         (ChangeInsets): ditto
8783
8784 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8785
8786         * paragraph_pimpl.h (empty): new function
8787
8788         * paragraph.[Ch] (empty): new function
8789
8790         * other files: use the new Paragraph::empty function
8791
8792 2002-08-09  John Levon  <levon@movementarian.org>
8793
8794         * lyxtext.h: remove unused refresh_height
8795
8796 2002-08-09  John Levon  <levon@movementarian.org>
8797
8798         * Makefile.am:
8799         * sgml.h:
8800         * sgml.C:
8801         * buffer.C:
8802         * paragraph.h:
8803         * paragraph.C: move sgml char escaping out of paragraph
8804
8805         * paragraph.h:
8806         * paragraph.C: remove id setter
8807
8808         * buffer.C:
8809         * paragraph.C:
8810         * paragraph_pimpl.C: remove dead tex_code_break_column
8811
8812         * bufferview_funcs.C: small cleanup
8813
8814         * lyxfunc.C: remove dead proto
8815
8816         * lyxtext.h: make some stuff private. Remove some dead stuff.
8817
8818         * lyxgluelength.C: make as[LyX]String() readable
8819
8820 2002-08-08  John Levon  <levon@movementarian.org>
8821
8822         * LyXAction.h:
8823         * LyXAction.C:
8824         * MenuBackend.C:
8825         * ToolbarDefaults.C:
8826         * lyxfunc.C:
8827         * lyxrc.C:
8828         * toc.C: lyxaction cleanup
8829
8830 2002-08-08  John Levon  <levon@movementarian.org>
8831
8832         * BufferView2.C: small cleanup
8833
8834         * lyxfind.h:
8835         * lyxfind.C: move unnecessary header into the .C
8836
8837 2002-08-08  John Levon  <levon@movementarian.org>
8838
8839         * funcrequest.h: just tedious nonsense
8840
8841         * lyx_main.h:
8842         * lyx_main.C: cleanups
8843
8844         * buffer.C:
8845         * vspace.C: remove dead header lyx_main.h
8846
8847 2002-08-07  Angus Leeming  <leeming@lyx.org>
8848
8849         * Paragraph.[Ch]:
8850         * paragraph_pimpl.h:
8851         Forward declare class Counters in paragraph.h by moving the ctrs member
8852         variable into Paragraph::Pimpl.
8853         (counters): new method, returning a reference to pimpl_->ctrs.
8854
8855         * text2.C: ensuing changes.
8856
8857 2002-08-07  John Levon  <levon@movementarian.org>
8858
8859         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8860
8861         * BufferView_pimpl.C: announce X selection on double/triple
8862           click
8863
8864         * lyx_main.C: use correct bool in batch dispatch
8865
8866         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8867
8868 2002-08-07  André Pönitz <poenitz@gmx.net>
8869
8870         * funcrequest.h: new class to wrap a kb_action and its argument
8871
8872         * BufferView.[Ch]:
8873         * BufferView_pimpl[Ch]:
8874         * LaTeX.C:
8875         * LyXAction.[Ch]:
8876         * lyxfunc.[Ch]:
8877         * lyxrc.C: subsequent changes
8878
8879
8880 2002-08-07  John Levon  <levon@movementarian.org>
8881
8882         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8883           document options change.
8884
8885 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8886
8887         * counters.[Ch]
8888         * text2.C
8889         * paragraph.[Ch]
8890         * makefile.am: move counters functionality over from
8891         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8892
8893 2002-08-06  John Levon  <levon@movementarian.org>
8894
8895         * WordLangTuple.h: new file for word + language code tuple
8896
8897         * SpellBase.h:
8898         * pspell.h:
8899         * pspell.C:
8900         * ispell.h:
8901         * ispell.C:
8902         * lyxtext.h:
8903         * text.C:
8904         * text2.C:
8905         * BufferView.h:
8906         * BufferView2.C: use WordLangTuple
8907
8908         * layout.h:
8909         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8910
8911 2002-08-06  John Levon  <levon@movementarian.org>
8912
8913         * lyx_main.C: fix cmdline batch handling
8914
8915 2002-08-06  André Pönitz <poenitz@gmx.net>
8916
8917         * lyxrc.C: set default for show_banner to true
8918
8919 2002-08-06  John Levon  <levon@movementarian.org>
8920
8921         * pspell.C: fix a crash, and allow new aspell to work
8922
8923 2002-08-06  John Levon  <levon@movementarian.org>
8924
8925         * lyxfunc.C:
8926         * kbmap.C: small cleanup
8927
8928         * vspace.h:
8929         * vspace.C: add const
8930
8931 2002-08-05  John Levon  <levon@movementarian.org>
8932
8933         * LyXAction.C: back to tabular-insert
8934
8935 2002-08-04  John Levon  <levon@movementarian.org>
8936
8937         * BufferView.h:
8938         * BufferView.C: cosmetic change
8939
8940         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8941
8942         * bufferlist.C:
8943         * buffer.h:
8944         * buffer.C:
8945         * lyxcb.h:
8946         * lyxcb.C:
8947         * lyxserver.C:
8948         * lyxvc.C:
8949         * vc-backend.C:
8950         * BufferView2.C: purge all "Lyx" not "LyX" strings
8951
8952         * lyxcursor.h:
8953         * lyxcursor.C: attempt to add some documentation
8954
8955         * lyxfunc.C:
8956         * commandtags.h:
8957         * LyXAction.C:
8958         * ToolbarDefaults.C:
8959         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8960           merge with LFUN_TABULAR_INSERT
8961
8962         * Makefile.am:
8963         * SpellBase.h:
8964         * ispell.h:
8965         * ispell.C:
8966         * pspell.h:
8967         * pspell.C: split up i/pspell implementations into separate
8968           files, many cleanups
8969
8970         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8971
8972         * text2.C: some cleanup
8973
8974         * lyxfunc.C: don't check for isp_command == "none" any more, it
8975           didn't make any sense
8976
8977 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8978
8979         * counters.[Ch]
8980         * text2.C
8981         * paragraph.[Ch]
8982         * makefile.am: move counters functionality over
8983         from text2.C/paragraph.[Ch] to counters.[Ch], and
8984         make proper C++.
8985 2002-08-02  John Levon  <levon@movementarian.org>
8986
8987         * buffer.C: s/lyxconvert/lyx2lyx/
8988
8989 2002-08-02  Angus Leeming  <leeming@lyx.org>
8990
8991         * lyxlex.C: revert John's change as it breaks reading of the user
8992         preamble.
8993
8994 2002-08-02  Angus Leeming  <leeming@lyx.org>
8995
8996         * importer.C (Import):
8997         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8998         changes due to LyXView::view() now returning a boost::shared_ptr.
8999
9000 2002-08-02  John Levon  <levon@movementarian.org>
9001
9002         * lyxlex.C: small cleanup
9003
9004 2002-08-02  John Levon  <levon@movementarian.org>
9005
9006         * text2.C (status): small cleanup, no logic change
9007
9008 2002-08-01  John Levon  <levon@movementarian.org>
9009
9010         * buffer.h:
9011         * buffer.C (writeFile): don't output alerts, caller
9012           handles this
9013
9014         * bufferlist.C:
9015         * lyx_cb.C: from above
9016
9017         * lyxfunc.C: allow to open non-existent files
9018
9019 2002-07-31  John Levon  <levon@movementarian.org>
9020
9021         * lyxserver.C: don't let incidental errors get
9022           in the way (errno)
9023
9024 2002-07-30  John Levon  <levon@movementarian.org>
9025
9026         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9027
9028 2002-07-30  John Levon  <levon@movementarian.org>
9029
9030         * lyxserver.h:
9031         * lyxserver.C: remove I/O callback too
9032
9033 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9034
9035         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9036         log.
9037
9038 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9039
9040         * many files: strip,frontStrip -> trim,ltrim,rtrim
9041
9042 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9043
9044         * PrinterParams.h: remove extern containsOnly, and include
9045         support/lstrings.h instead.
9046
9047         * LaTeX.C (scanAuxFile): modify because of strip changes
9048         (deplog): ditto
9049         * buffer.C (makeLaTeXFile): ditto
9050         * bufferparams.C (writeFile): ditt
9051         * lyxfont.C (stateText): ditto
9052         * lyxserver.C (read_ready): ditto
9053         * vc-backend.C (scanMaster): ditto
9054
9055         * BufferView_pimpl.h: ws changes
9056
9057         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9058
9059 2002-07-26  André Pönitz <poenitz@gmx.net>
9060
9061         * kb_sequence.C: remove unnedred usings
9062
9063 2002-07-26  Juergen Vigna  <jug@sad.it>
9064
9065         * lyxfind.C (LyXReplace): we have to check better if the returned
9066         text is not of theLockingInset()->getLockingInset().
9067
9068 2002-07-25  Juergen Vigna  <jug@sad.it>
9069
9070         * lyxfind.C (LyXReplace): don't replace if we don't get the
9071         right LyXText.
9072
9073         * undo_funcs.C (createUndo): remove debugging code.
9074
9075 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9076
9077         * buffer.C (parseSingleLyXformat2Token): Use default placement
9078         when reading old floats.
9079
9080         * FloatList.C (FloatList): Change the default placement of figure
9081         and tables to "tbp".
9082
9083 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9084
9085         * MenuBackend.C: using std::max
9086
9087 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9088
9089         * MenuBackend.C (expandToc):
9090         (expandToc2): code moved from xforms menu frontend. It is now
9091         generic and TOCs are transparent to menu frontends.
9092
9093 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9094
9095         * toc.C (getTocList): protect against buf=0
9096
9097         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9098         Menu as first parameter. Now, this calls itself recursively to
9099         expand a whole tree (this will be useful for TOC handling)
9100         (expandFloatInsert): remove 'wide' version of floats
9101
9102         * MenuBackend.h (submenuname): returns the name of the submenu.
9103         (submenu): returns the submenu itself, provided it has been
9104         created by MenuBackend::expand
9105
9106 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9107
9108         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9109         insets which have noFontChange == true. (bug #172)
9110
9111 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9112
9113         * BufferView_pimpl.C: add connection objects and use them...
9114         (Pimpl): here.
9115
9116 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9117
9118         * MenuBackend.C (expandLastfiles):
9119         (expandDocuments):
9120         (expandFormats):
9121         (expandFloatListInsert):
9122         (expandFloatInsert):
9123         (expand): split expand in parts
9124
9125 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9126
9127         * lyx_gui.C: use lyx_gui::exit()
9128
9129 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9130
9131         * LyXAction.C: show the failing pseudo action
9132
9133 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9134
9135         * buffer.C (readFile): Run the lyxconvert script in order to read
9136         old files.
9137
9138 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9139
9140         * LyXAction.C:
9141         * commandtags.h:
9142         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9143
9144 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9145
9146         * LyXAction.C:
9147         * commandtags.h:
9148         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9149
9150 2002-07-22  Herbert Voss  <voss@lyx.org>
9151
9152         * lengthcommon.C:
9153         * lyxlength.[Ch]: add support for the vertical lengths
9154
9155 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9156
9157         * toc.[Ch]: std:: fixes
9158
9159 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9160
9161         * lyxrc.C: do not include lyx_main.h
9162
9163         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9164         for layouts
9165
9166         * lyxrc.C:
9167         * encoding.C:
9168         * bufferlist.C:
9169         * BufferView2.C: include "lyxlex.h"
9170
9171         * tabular.h:
9172         * bufferparams.h: do not #include "lyxlex.h"
9173
9174         * lyxtextclasslist.C (Add): remove method
9175         (classlist): renamed to classlist_
9176
9177         * paragraph_pimpl.C:
9178         * paragraph.C:
9179         * text2.C:
9180         * CutAndPaste.C:
9181         * bufferview_funcs.C:
9182         * bufferlist.C:
9183         * text.C:
9184         * LaTeXFeatures.C:
9185         * buffer.C:
9186         * toc.C (getTocList): use BufferParams::getLyXTextClass
9187
9188         * toc.C (getTocList): use InsetFloat::addToToc
9189
9190         * toc.[Ch]: new files, containing helper functions to handle table
9191         of contents
9192
9193         * lyxfunc.C (dispatch): no need to remove spaces around command
9194         given as a string
9195         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9196         first command of the sequence; it is not very clever, but I do not
9197         have a better idea, actually
9198
9199         * LyXAction.C (LookupFunc): make sure to remove space at the
9200         beginning and end of the command
9201
9202 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9203
9204         * MenuBackend.C (getMenubar): new method: return the menubar of
9205         this menu set
9206         (read): treat differently reading of menu and menubar (in
9207         particular, the menubar has no name now)
9208         (Menu::menubar): remove
9209
9210         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9211         saving is finished
9212
9213 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9214
9215         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9216         a bibitem inset in a RTL paragraph.
9217
9218 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9219
9220         * paragraph_pimpl.C: constify
9221
9222         * BufferView_pimpl.C:
9223         * LaTeX.C:
9224         * lyxfunc.C: fix dispatch in a nicer way
9225
9226 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9227
9228         * lyxfunc.C (dispatch):
9229         * BufferView_pimpl.C:
9230         * BufferView_pimpl.h:
9231         * BufferView.C:
9232         * BufferView.h: rename Dispatch() to dispatch()
9233
9234         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9235
9236         * lyxlayout.C (Read): honor DependsOn tag
9237
9238         * lyxlayout.[Ch] (depends_on): new method
9239
9240         * version.C.in: update lyx_docversion
9241
9242         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9243
9244         * paragraph.C (validate): remove from here...
9245         * paragraph_pimpl.C (validate): ... and move here
9246         (isTextAt): make it const
9247
9248         * buffer.C (getLists): ws cleanup
9249
9250 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9251
9252         * language.C (read): Use iso8859-1 encoding in latex_lang
9253         (this prevents LyX from crashing when using iso10646-1 encoding).
9254
9255 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9256
9257         * text2.C (toggleInset): if cursor is inside an inset, close the
9258         inset and leave cursor _after_ it
9259
9260 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9261
9262         * lyxfunc.C: move minibuffer completion handling out of here
9263
9264 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9265
9266         * BufferView_pimpl.C:
9267         * LaTeX.C: fix dispatch calls
9268
9269 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9270
9271         * text.C (drawChars): Fix Arabic text rendering.
9272
9273 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9274
9275         * LyXAction.C:
9276         * commandtags.h:
9277         * lyxfunc.C: remove message-push/pop
9278
9279         * lyxserver.C:
9280         * lyxfunc.h:
9281         * lyxfunc.C: rationalise some code by removing verboseDispatch
9282           in favour of a bool argument to dispatch()
9283
9284 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9285
9286         * lyx_main.C (init): make sure to read symlinks as absolute paths
9287
9288 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9289
9290         * lyxfunc.h:
9291         * lyxfunc.C: no need for commandshortcut to be a member
9292
9293 2002-07-15  André Pönitz <poenitz@gmx.net>
9294
9295         * converter.C: add support for $$s (scripts from lib/scripts dir)
9296         * lyx_main.C: white space
9297
9298 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9299
9300         * bufferlist.C:
9301         * lyxrc.h:
9302         * lyxrc.C: remove second exit confirmation
9303
9304 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9305
9306         * BufferView.h:
9307         * BufferView.C:
9308         * BufferView2.C:
9309         * BufferView_pimpl.h:
9310         * BufferView_pimpl.C:
9311         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9312
9313 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9314
9315         * MenuBackend.C (expand): add numeric shortcuts to document menu
9316
9317         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9318
9319 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9320
9321         * lyxfont.C (setLyXFamily):
9322         (setLyXSeries):
9323         (setLyXShape):
9324         (setLyXSize):
9325         (setLyXMisc):
9326         (lyxRead):
9327         * debug.C (value):
9328         * buffer.C (asciiParagraph): use ascii_lowercase
9329
9330 2002-07-15  Mike Fabian  <mfabian@suse.de>
9331
9332         * lyxlex_pimpl.C (search_kw):
9333         * lyxlex.C (getLongString):
9334         * converter.h (operator<):
9335         * converter.C (operator<):
9336         * buffer.C (parseSingleLyXformat2Token):
9337         (asciiParagraph):
9338         * ToolbarDefaults.C (read):
9339         * MenuBackend.C (checkShortcuts):
9340         (read):
9341         * LColor.C (getFromGUIName):
9342         (getFromLyXName): use the compare_ascii_no_case instead of
9343         compare_no_case, because in turkish, 'i' is not the lowercase
9344         version of 'I', and thus turkish locale breaks parsing of tags.
9345
9346 2002-07-16  Angus Leeming  <leeming@lyx.org>
9347
9348         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9349         now takes a Buffer const & argument.
9350
9351 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9352
9353         * BufferView.C (resize): check there's a buffer to resize
9354
9355 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9356
9357         * lyxfunc.C: remove dead code
9358
9359         * lyxserver.h:
9360         * lyxserver.C: use lyx_guii::set_read_callback
9361
9362 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9363
9364         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9365         an inset in a RTL paragraph.
9366
9367 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9368
9369         * lyxfunc.C: repaint after a font size update
9370
9371 2002-07-15  André Pönitz <poenitz@gmx.net>
9372
9373         * lyxlength.C: inBP should be able to return negative values
9374
9375 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9376
9377         * lyxfunc.C: use lyx_gui::update_fonts()
9378
9379 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9380
9381         * lyxfunc.C: use lyx_gui::update_color()
9382
9383 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9384
9385         * bufferlist.C:
9386         * lyxfunc.h:
9387         * lyxfunc.C:
9388         * lyxrc.h:
9389         * lyxrc.C: remove file->new asks for name option, and let
9390           buffer-new take an argument
9391
9392 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9393
9394         * BufferView_pimpl.C: remove unneeded extra repaint()
9395
9396 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9397
9398         * LyXAction.C: allow command-sequence with NoBuffer
9399
9400         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9401
9402 2002-07-10  Angus Leeming  <leeming@lyx.org>
9403
9404         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9405
9406 2002-07-09  Angus Leeming  <leeming@lyx.org>
9407
9408         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9409
9410 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9411
9412         * lengthcommon.h: whitespace
9413
9414         * lyxfunc.C: update scrollbar after goto paragraph
9415
9416         * lyxtext.h: factor out page break drawing, and fix it so
9417           page break/added space paints as selected nicely
9418
9419 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9420
9421         * BufferView_pimpl.C: add FIXMEs, clean up a little
9422
9423 2002-07-09  André Pönitz <poenitz@gmx.net>
9424
9425         * lyxfont.[Ch]: support for wasy symbols
9426
9427 2002-07-08  André Pönitz <poenitz@gmx.net>
9428
9429         * BufferView_pimpl.C: apply John's patch for #93.
9430
9431 2002-07-05  Angus Leeming  <leeming@lyx.org>
9432
9433         * BufferView_pimpl.C (buffer): generate previews if desired.
9434
9435         * LColor.h: add "preview" to the color enum.
9436
9437         * LColor.C (LColor): add a corresponding entry to the items array.
9438
9439         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9440         with this buffer.
9441
9442 2002-07-05  Angus Leeming  <leeming@lyx.org>
9443
9444         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9445         The body of the code is now in the method that is passed an ostream &
9446         rather than a file name.
9447         Pass an additional only_preamble parameter, useful for the forthcoming
9448         preview stuff.
9449
9450 2002-07-03  André Pönitz <poenitz@gmx.net>
9451
9452         * lyxfunc.C: simplify getStatus() a bit for math stuff
9453
9454 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9455
9456         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9457
9458 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9459
9460         * text.C (changeRegionCase): do not change case of all the
9461         document when region ends at paragraph end (bug #461)
9462
9463 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9464
9465         * paragraph.C (startTeXParParams):
9466         (endTeXParParams): add \protect when necessary
9467
9468 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9469
9470         * BufferView_pimpl.C (workAreaExpose): remove warning
9471
9472 2002-06-27  Angus Leeming  <leeming@lyx.org>
9473
9474         * Makefile.am: add lyxlayout_ptr_fwd.h.
9475
9476 2002-06-26  André Pönitz <poenitz@gmx.net>
9477
9478         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9479
9480 2002-06-25  Angus Leeming  <leeming@lyx.org>
9481
9482         * lyxfunc.C (dispatch): Comment out the call to
9483         grfx::GCache::changeDisplay. The method no longer exists now that the
9484         pixmap generation part of the graphics loader has been moved into
9485         InsetGraphics.
9486
9487 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9488
9489         * text2.C: layout as layout
9490
9491         * text.C: layout as layout
9492
9493         * tabular.C (OldFormatRead): layout as layout
9494
9495         * paragraph_pimpl.C (TeXDeeper): layout as layout
9496         (realizeFont): layout as layout
9497
9498         * paragraph.C (writeFile): layout as layout
9499         (validate): layout as layout
9500         (getFont): layout as layout
9501         (getLabelFont): layout as layout
9502         (getLayoutFont): layout as layout
9503         (breakParagraph): layout as layout
9504         (stripLeadingSpaces): layout as layout
9505         (getEndLabel): layout as layout
9506         (getMaxDepthAfter): layout as layout
9507         (applyLayout): layout as layout
9508         (TeXOnePar): layout as layout
9509         (simpleTeXOnePar): layout as layout
9510         (TeXEnvironment): layout as layout
9511         (layout): layout as layout
9512         (layout): layout as layout
9513
9514         * lyxtextclass.C (compare_name): new functor to work with
9515         shared_ptr, layout as layout
9516         (Read): layout as layout
9517         (hasLayout): layout as layout
9518         (operator): layout as layout
9519         (delete_layout): layout as layout
9520         (defaultLayout): layout as layout
9521
9522         * lyxlayout_ptr_fwd.h: new file
9523
9524         * lyxlayout.C (Read): layout as layout
9525
9526         * lyx_cb.C (MenuInsertLabel): layout as layout
9527
9528         * bufferlist.C (newFile): layout as layout
9529
9530         * buffer.C (readLyXformat2): layout as layout
9531         (parseSingleLyXformat2Token): layout as layout
9532         (insertStringAsLines): layout as layout
9533         (asciiParagraph): layout as layout
9534         (latexParagraphs): layout as layout
9535         (makeLinuxDocFile): layout as layout
9536         (simpleLinuxDocOnePar): layout as layout
9537         (makeDocBookFile): layout as layout
9538         (simpleDocBookOnePar): layout as layout
9539         (getLists): layout as layout
9540
9541         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9542
9543         * CutAndPaste.C (cutSelection): layout as layout
9544         (pasteSelection): layout as layout
9545         (SwitchLayoutsBetweenClasses): layout as layout
9546
9547         * BufferView_pimpl.C (Dispatch): layout as layout
9548         (smartQuote): layout as layout
9549
9550         * BufferView2.C (unlockInset): layout as layout
9551
9552 2002-06-24  André Pönitz <poenitz@gmx.net>
9553
9554         * lyxfunc.C: fix #487
9555
9556 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9557
9558         * lyxrc.h:
9559         * lyxrc.C:
9560         * lyxfunc.C: remove display_shortcuts, show_banner
9561
9562 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9563
9564         * Buffer_pimpl.C: oops, update on resize
9565
9566 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9567
9568         * buffer.C:
9569         * converter.C:
9570         * exporter.C:
9571         * lyxfunc.C:
9572         * BufferView.h:
9573         * BufferView.C: use repaint()
9574
9575         * BufferView_pimpl.h:
9576         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9577           as it's a clearer description. Remove superfluous
9578           redraws.
9579
9580 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9581
9582         * text.C: fix bug 488. Not ideal, but getting
9583           getWord() to work properly for the insets that
9584           matter is more difficult ...
9585
9586 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9587
9588         * BufferView_pimpl.C:
9589         * LyXAction.C:
9590         * commandtags.h:
9591         * lyxfunc.C: remove the six million index lyxfuncs to just
9592           one, and DTRT (bug 458)
9593
9594 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9595
9596         * BufferView.h:
9597         * BufferView.C:
9598         * BufferView_pimpl.h:
9599         * BufferView_pimpl.C: clean up resize() stuff,
9600           and unnecessary updateScreen()s
9601
9602 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9603
9604         * BufferView.h:
9605         * BufferView.C:
9606         * BufferView_pimpl.h:
9607         * BufferView_pimpl.C:
9608         * lyxfind.h:
9609         * lyxfind.C:
9610         * minibuffer.C: remove focus management of workarea,
9611           not needed. Use screen's greyOut()
9612
9613 2002-06-17  Herbert Voss  <voss@lyx.org>
9614
9615         * converter.C: (convert) do not post a message, when converting
9616         fails, let the calling function decide what to do in this case
9617
9618 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9619
9620         * lyxfunc.C: tidy up a little
9621
9622 2002-06-16    <alstrup@diku.dk>
9623
9624         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9625         Got rid of FORMS_H_LOCATION include. Now we are
9626         GUII.
9627
9628 2002-06-15  LyX Development team  <lyx@rilke>
9629
9630         * buffer.[Ch] (sgmlOpenTag):
9631         (sgmlCloseTag): Added support for avoiding pernicious mixed
9632         content. Return number of lines written.
9633
9634         (makeLinuxDocFile):
9635         (makeDocBookFile): Fixed calls to sgml*Tag.
9636         Simple white space clean.
9637
9638         (simpleDocBookOnePar): Simple white space clean.
9639
9640         * tabular.[Ch] (docBook): Renamed to docbook and got another
9641         argument to related with the pernicious mixed content.
9642
9643         (docbookRow): Fixed calls for docbook inset method.
9644
9645 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9646
9647         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9648         so it's X11 independent.
9649
9650         * kb*.[Ch]: ditto.
9651
9652         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9653
9654 2002-06-15  Lyx Development team  <lyx@electronia>
9655
9656         * intl.h: Renamed getTrans to getTransManager.
9657
9658 2002-06-14  Angus Leeming  <leeming@lyx.org>
9659
9660         * Makefile.am: nuke forgotten stl_string_fwd.h.
9661
9662 2002-06-12  Angus Leeming  <leeming@lyx.org>
9663
9664         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9665
9666 2002-06-13  Angus Leeming  <leeming@lyx.org>
9667
9668         * LaTeX.C:
9669         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9670
9671 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9672
9673         * kbmap.C (getiso): add support for cyrillic and greek
9674
9675 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9676
9677         * BufferView.h:
9678         * BufferView.C:
9679         * BufferView_pimpl.h:
9680         * BufferView_pimpl.C: move bogus scrolling logic
9681           to xforms
9682
9683 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9684
9685         * lyxfunc.C:
9686         * BufferView_pimpl.C: view->resize() change
9687
9688 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9689
9690         * BufferView_pimpl.C: topCursorVisible
9691           prototype change
9692
9693 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9694
9695         * Makefile.am:
9696         * lyx_gui.h:
9697         * lyx_gui.C: move to frontends/
9698
9699         * main.C:
9700         * lyx_main.h:
9701         * lyx_main.C: changes from above
9702
9703 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9704
9705         * intl.C:
9706         * intl.h:
9707         * kbmap.C:
9708         * kbsequence.C:
9709         * lyx_cb.C:
9710         * lyx_main.C: minor tidy
9711
9712 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9713
9714         * BufferView_pimpl.h:
9715         * BufferView_pimpl.C:
9716         * BufferView.h:
9717         * BufferView.C: make painter() const,
9718           remove dead code
9719
9720         * BufferView2.C: use screen() accessor
9721
9722         * lyx_main.h:
9723         * lyx_main.C: some minor cleanup
9724
9725 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9726
9727         * BufferView_pimpl.h:
9728         * BufferView_pimpl.C: remove enter/leaveView,
9729           use workHeight()
9730
9731 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9732
9733         * BufferView.h:
9734         * BufferView.C:
9735         * BufferView2.C:
9736         * BufferView_pimpl.h:
9737         * BufferView_pimpl.C: only construct screen once,
9738           rename
9739
9740         * lyxrc.C: remove pointless comment
9741
9742 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9743
9744         * BufferView.h:
9745         * BufferView.C: remove active() and belowMouse()
9746
9747         * BufferView_pimpl.h:
9748         * BufferView_pimpl.C: use workarea() not workarea_,
9749           and make it use a scoped_ptr instead
9750
9751 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9752
9753         * lyx_gui.C: add debug message on BadWindow
9754
9755 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9756
9757         * sp_spell.C: fdopen is not part of the C++ standard.
9758
9759         * paragraph.C (InsetIterator): use >= instead of ==
9760
9761 2002-06-07  Angus Leeming  <leeming@lyx.org>
9762
9763         Fixes needed to compile with Compaq cxx 6.5.
9764         * BufferView_pimpl.C:
9765         * DepTable.C:
9766         * buffer.C:
9767         * converter.C:
9768         * encoding.C:
9769         * lyx_gui.C:
9770         * lyx_main.C:
9771         * lyxtextclasslist.C:
9772         * minibuffer.C:
9773         * sp_spell.C:
9774         * tabular_funcs.C:
9775         * vc-backend.C:
9776         all c-library variables have been moved into namespace std. Wrap
9777         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9778
9779         * lyxlength.C:
9780         * tabular-old.C:
9781         * tabular.C:
9782         Add a using std::abs declaration.
9783
9784         * kbmap.h (modifier_pair):
9785         * paragraph.h (InsetTable, InsetList):
9786         * lyxfont.h (FontBits):
9787         type definition made public.
9788
9789         * bufferlist.C (emergencyWriteAll): the compiler complains that
9790         there is more than one possible lyx::class_fun template to choose from.
9791         I re-named the void specialisation as lyx::void_class_fun.
9792
9793         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9794
9795         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9796         the compiler is is unable to find tostr in write_attribute.
9797
9798 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9799
9800         * buffer.C (sgmlError): hide #warning
9801
9802 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9803
9804         * xtl/*: get rid of xtl, which is not in use anyway
9805
9806         * LyXAction.C (init):
9807         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9808         were unimplemented xtl experimentation
9809
9810 2002-06-04  André Pönitz <poenitz@gmx.net>
9811
9812         * lyxfunc.C: disable array operation on simple formulae
9813
9814 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9815
9816         * converter.C: constify a bit
9817
9818 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9819
9820         * lyx_gui.C: check xforms version correctly
9821
9822 2002-04-30  Herbert Voss  <voss@lyx.org>
9823
9824         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9825         "keep" option
9826
9827 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9828
9829         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9830           attempt to register it with a VCS)
9831
9832 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9833
9834         * lyx_main.C (init): honor variables LYX_DIR_13x and
9835         LYX_USERDIR_13x
9836
9837 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9838
9839         * buffer.h:
9840         * buffer.C:
9841         * lyx_main.C: fix a crash on bad command line,
9842           and give a useful exit status on error
9843
9844         * lyxfunc.C (doImport): allow -i lyx to work
9845
9846 2002-03-30  André Pönitz <poenitz@gmx.net>
9847
9848         * lyxfunc.C: mathed font changes
9849
9850 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9851
9852         * LaTeX.C:
9853         * importer.h:
9854         * importer.C:
9855         * lyx_sty.h:
9856         * lyx_sty.C:
9857         * lyxlex.C:
9858         * lyxrow.h:
9859         * lyxtext.h:
9860         * paragraph.h:
9861         * paragraph.C:
9862         * texrow.h:
9863         * texrow.C:
9864         * text.C:
9865         * trans_mgr.h: srcdocs, and some minor cleanups
9866
9867 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9868
9869         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9870         call getFont all the time)
9871
9872 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9873
9874         * switch from SigC signals to boost::signals
9875
9876 2002-05-29  André Pönitz <poenitz@gmx.net>
9877
9878         * paragraph_pimpl.C (getChar): don't call size() too often...
9879
9880 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9881
9882         * paragraph_pimpl.C (insertChar): do not try to update tables when
9883         appending (pos == size())
9884
9885         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9886         in order to reduce drastically the number of comparisons needed to
9887         parse a large document
9888
9889 2002-05-29  André Pönitz <poenitz@gmx.net>
9890
9891         * text.C:
9892         * text2.C:
9893         * lyxtextclass.C:
9894         * sp_pspell.h:
9895         * textclasslist.[Ch]:
9896         * sp_ispell.h: whitespace change
9897
9898 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9899
9900         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9901         lyxaction directly now.
9902
9903 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9904
9905         * trans.C:
9906         * lyxfont.C:
9907         * lyxvc.C: remove unused headers
9908
9909 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9910
9911         * Makefile.am:
9912         * buffer.h:
9913         * undostack.h:
9914         * undostack.C:
9915         * undo_funcs.h:
9916         * undo_funcs.C: some cleanups. Use shared_ptr
9917           and a template for the undo stacks.
9918
9919 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9920
9921         * BufferView_pimpl.h:
9922         * BufferView_pimpl.C:
9923         * kbmap.h:
9924         * kbmap.C:
9925         * kbsequence.h:
9926         * kbsequence.C:
9927         * lyxfunc.h:
9928         * lyxfunc.C:
9929         * text2.C: use key_state/mouse_state
9930
9931 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9932
9933         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9934         and LSubstring
9935
9936         * chset.C: change include order
9937         (loadFile): use boost regex and get rid of LRegex and LSubstring
9938
9939         * Makefile.am (BOOST_LIBS): new variable
9940         (lyx_LDADD): use it
9941
9942         * LaTeX.C: change include order.
9943         (scanAuxFile): use boost regex and get rid of LRegex and
9944         LSubstring
9945         (deplog): ditto
9946
9947 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9948
9949         * ColorHandler.h:
9950         * ColorHandler.C:
9951         * FontInfo.h:
9952         * FontInfo.C: moved to frontends/xforms/
9953
9954         * FontLoader.h:
9955         * FontLoader.C: moved into frontends for GUIIzation
9956
9957         * Makefile.am:
9958         * lyx_gui.C:
9959         * lyxfont.C:
9960         * lyxfunc.C: changes from above
9961
9962 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9963
9964         * LColor.C: remove spurious X include
9965
9966         * BufferView_pimpl.C:
9967         * Makefile.am:
9968         * font.h:
9969         * font.C:
9970         * text.C:
9971         * text2.C: move font metrics to frontends/
9972
9973 2002-05-24  Juergen Vigna  <jug@sad.it>
9974
9975         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9976         setting the undo_cursor.
9977
9978         * ParagraphParameters.h: include local includes first.
9979
9980 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9981
9982         * BufferView_pimpl.C:
9983         * BufferView_pimpl.h:
9984         * Makefile.am:
9985         * WorkArea.h:
9986         * WorkArea.C:
9987         * screen.C: move WorkArea into frontends/
9988
9989         * lyxscreen.h:
9990         * screen.C:
9991         * text.C:
9992         * BufferView.C:
9993         * BufferView2.C: move LyXScreen into frontends/
9994
9995         * lyxlookup.h:
9996         * lyxlookup.C:
9997         * lyx_gui.C: move lyxlookup into frontends/xforms/
9998
9999 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10000
10001         * BufferView2.C:
10002         * BufferView_pimpl.C:
10003         * FontLoader.C:
10004         * LyXView.h:
10005         * LyXView.C:
10006         * Makefile.am:
10007         * WorkArea.C:
10008         * XFormsView.h:
10009         * XFormsView.C:
10010         * buffer.C:
10011         * bufferlist.C:
10012         * bufferview_funcs.C:
10013         * converter.C:
10014         * importer.C:
10015         * lyx_cb.C:
10016         * lyx_gui.C:
10017         * lyx_main.C:
10018         * lyx_find.C:
10019         * lyxfunc.C:
10020         * lyxvc.C:
10021         * minibuffer.C:
10022         * text.C:
10023         * text2.C:
10024         * trans.C:
10025         * vc-backend.C: move LyX/XFormsView into frontends/
10026
10027 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10028
10029         * Makefile.am:
10030         * PainterBase.C:
10031         * PainterBase.h:
10032         * Painter.C:
10033         * Painter.h:
10034         * WorkArea.C:
10035         * WorkArea.h:
10036         * screen.C:
10037         * tabular.C:
10038         * text.C:
10039         * text2.C: move Painter to frontends/
10040
10041 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10042
10043         * buffer.C: comment out some some code that depend upon lyx_format
10044         < 220
10045
10046         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10047         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10048
10049         * buffer.h (NO_COMPABILITY): turn off compability
10050
10051         * ColorHandler.C: include scoped_array.hpp
10052
10053         * font.C: Use more specific smart_ptr header.
10054         * Painter.C: ditto
10055         * gettext.C: ditto
10056         * ShareContainer.h: ditto
10057         * lyx_main.h: ditto
10058         * kbmap.h: ditto
10059         * FontInfo.h: ditto
10060         * BufferView_pimpl.h: ditto
10061         * ColorHandler.h: ditto
10062
10063         * kbmap.C (defkey): change call to shared_ptr::reset
10064
10065 2002-05-21  Juergen Vigna  <jug@sad.it>
10066
10067         * buffer.C (insertErtContents): fix to insert ert asis if it is
10068         non empty. Skip it completely if it contains only whitespaces.
10069
10070 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10071
10072         * BufferView_pimpl.C:
10073         * BufferView2.C: clear selection on paste (bug 393)
10074
10075 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10076
10077         * DepTable.C: include ctime
10078
10079 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10080
10081         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10082
10083 2002-05-14  Juergen Vigna  <jug@sad.it>
10084
10085         * text.C (breakParagraph): fixed function to honor the keepempty
10086         layout in the right maner and also to permit the right breaking
10087         algorithm on empty or non empyt keepempty paragraphs.
10088
10089         * paragraph.C (breakParagraph): we have to check also if the par
10090         is really empty (!size()) for isempty otherwise we do the wrong
10091         paragraph break.
10092
10093 2002-05-10  Juergen Vigna  <jug@sad.it>
10094
10095         * buffer.[Ch] : The following are only changes to the ert
10096         compatibility read reading old LaTeX layout and font stuff and
10097         convert it to ERTInsets.
10098
10099         * buffer.h: added isErtInset().
10100
10101         * buffer.C (struct ErtComp): add a fromlayout bool to check
10102         if we're inside a LaTeX layout.
10103         (isErtInset): new helper function.
10104         (insertErtContents): look for other ert insets before this one
10105         and insert the contents there, so that we don't have subsequent
10106         ERT insets with nothing between them. This way we create only one
10107         inset with multiple paragraphs. Also check if we don't insert only
10108         spaces ' ' as they are ignored anyway afterwards in the .tex file
10109         so if we have only spaces we will ignore this latex part in the
10110         new file.
10111         (parseSingleLyXformat2Token \\layout): better compatibility when
10112         reading layout-latex stuff.
10113         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10114         language tag.
10115         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10116         stuff after reading the inset only get the information back from
10117         the stack.
10118
10119 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10120
10121         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10122
10123         * LaTeXFeatures.C (getBabelOptions): New method.
10124
10125 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10126
10127         * BufferView_pimpl.C (Dispatch): work around missing argument for
10128         'layout'
10129
10130 2002-05-08  Juergen Vigna  <jug@sad.it>
10131
10132         * text.C (leftMargin): handle paragraph leftindent.
10133
10134         * paragraph.C (writeFile): write the new \\leftindent tag.
10135         (validate): handle leftindent code.
10136         (TeXEnvironment): handle paragraphleftindent code again.
10137
10138         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10139
10140         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10141         for paragrap_extra indent code and new token \\leftindent.
10142         (latexParagraphs): handle the leftindent as environment.
10143
10144         * ParameterStruct.h: added leftindent support.
10145
10146         * ParagraphParameters.C (leftIndent): added support functions for
10147         the paragraph left indent.
10148
10149         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10150         more appropriate.
10151
10152 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10153
10154         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10155         inside insetERT.
10156
10157         * text.C (computeBidiTables): No bidi in insetERT.
10158
10159         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10160         in RTL documents.
10161
10162 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10163
10164         * version.C.in: pre 5
10165
10166 2002-05-02  José Matos  <jamatos@fep.up.pt>
10167         * buffer.C (makeDocBookFile): white space changes, add newline to
10168         command styles.
10169         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10170
10171         * tabular.C (docBook): fix typo.
10172
10173 2002-05-03  Juergen Vigna  <jug@sad.it>
10174
10175         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10176         change in LyXText as we can not be sure it was not freed.
10177         (drawOneRow): remove unused code.
10178
10179         * text.C (drawInset): redo the calculation of the need_break_row as
10180         it could have a row which was already freed.
10181         (draw): look at the return value of drawInset and return false if
10182         it also returned false.
10183         (paintRowText): look at the return value of draw and return false if
10184         it also returned false.
10185
10186         * lyxtext.h: added bool return type to drawInset() and draw() so that
10187         if we have a change in the row so that the rowbreak has to be redone
10188         we abort drawing as it will be called again.
10189
10190 2002-05-02  Juergen Vigna  <jug@sad.it>
10191
10192         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10193         a change in the maintext also if we're inside an inset.
10194         (Dispatch): set the cursor again after a break line and after the
10195         screen has been updated as it could be we're in a different row.
10196
10197         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10198         to set the cursor behind the pargraph with > size().
10199         (setCursor): check also for the same paragraph when checking where
10200         to put the cursor if we have a NFR inset.
10201
10202         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10203         parts of layout read further up as it still was in the wrong
10204         position.
10205
10206 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10207
10208         * screen.C (drawFromTo): change sine fullRebreak always return
10209         true.
10210
10211         * buffer.C (parseSingleLyXformat2Token): reindent some
10212
10213         * BufferView_pimpl.C (update): change since fullRebreak always
10214         return true.
10215         (Dispatch): git rid of the last hardcoded "Standard"s.
10216
10217 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10218
10219         * text2.[Ch] (fullRebreak): make it return void now that we always
10220         returned true.
10221
10222 2002-04-30  Juergen Vigna  <jug@sad.it>
10223
10224         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10225         ert compatibility check for "latex" layout.
10226
10227 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10228
10229         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10230         minipages: use col% instead of p%, and also use the current font.
10231         (makeLaTeXFile): Fix use babel condition.
10232         (parseSingleLyXformat2Token): Correct font when reading old floats.
10233
10234 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10235
10236         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10237         inserting list of floats.
10238
10239 2002-04-25  Herbert Voss  <voss@lyx.org>
10240
10241         * MenuBackend.C (expand): don't add the graphics extensions to the
10242         export menu
10243
10244 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10245
10246         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10247         non-existing layout, do not complain if it was the default layout
10248         of the original class (bug #342)
10249
10250 2002-04-24  Juergen Vigna  <jug@sad.it>
10251
10252         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10253         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10254
10255 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10256
10257         * buffer.C (getBibkeyList): If using \bibliography, return the
10258         option field with the reference itself. Enables us to provide natbib
10259         support when using \bibliography.
10260
10261 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10262
10263         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10264
10265         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10266         natbib is provided by the LaTeX class.
10267
10268 2002-04-23  Juergen Vigna  <jug@sad.it>
10269
10270         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10271         Wakeup functions.
10272
10273         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10274
10275 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10276
10277         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10278
10279         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10280         ensuremath around textordmasculine, textordfeminine and
10281         textdegree.
10282
10283 2002-04-19  Juergen Vigna  <jug@sad.it>
10284
10285         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10286         reinitializing the buffer otherwise row-dimensions may be wrong.
10287         (update): reset also the selection cursors if they do exits otherwise
10288         their x/y positions may be wrong.
10289
10290         * text2.C (cursorDown): don't enter the inset if we came from a row
10291         above and are one row over the inset.
10292
10293         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10294         really leaving an inset.
10295
10296 2002-04-18  Juergen Vigna  <jug@sad.it>
10297
10298         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10299         of the selected paragraph does not have the selected layout also if
10300         the last one had!
10301
10302         * text2.C (setLayout): fixed bug which did not change last selected
10303         paragraph.
10304
10305         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10306         changed the read and substituted \\end_float with \\end_inset!
10307
10308         * BufferView_pimpl.C (cursorPrevious):
10309         (cursorNext): fixed to make it work with rows heigher than the work
10310         area without moving the cursor only the draw of the row.
10311         (workAreaMotionNotify): fix jumping over high rows.
10312
10313 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10314
10315         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10316         Ressler.
10317
10318 2002-04-16  Juergen Vigna  <jug@sad.it>
10319
10320         * text2.C (setCursor): set also the irow().
10321         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10322         (cursorUp):
10323         (cursorDown): support for locking an inset if the x_fix value goes
10324         inside it. That way I can transverse insets too with cursor up/down.
10325
10326         * lyxrow.h: added irow helper function same as other (i) functions.
10327
10328         * BufferView_pimpl.C (cursorPrevious):
10329         (cursorNext): fixed for insets!
10330
10331 2002-04-15  Juergen Vigna  <jug@sad.it>
10332
10333         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10334         position otherwise it is wrong in some cases.
10335
10336         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10337         inside the inset before the call.
10338
10339 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10340
10341         * buffer.[Ch] (getBibkeyList): make it const.
10342
10343 2002-04-12  Juergen Vigna  <jug@sad.it>
10344
10345         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10346
10347         * text2.C (getCursorX): new helper function
10348         (setCursor): compute also ix_
10349         (setCursorFromCoordinates): set also ix.
10350
10351         * lyxcursor.h: added ix_ and helper functions.
10352
10353         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10354
10355         * buffer.C (insertStringAsLines): dont break paragraph if the this
10356         paragraph is inside an inset which does not permit it!
10357
10358         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10359         also with no chars on this paragraph.
10360         (paintRowText): only paint stuff if it's inside the workarea!
10361
10362         * paragraph.C (breakParagraph): honor keepempty flag and break the
10363         paragraph always below not above.
10364
10365         * BufferView2.C (unlockInset): update the paragraph layout on inset
10366         unlock as we changed paragraph in such a case.
10367
10368         * lyxfind.C (LyXFind): clear the former selection if not found!
10369
10370         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10371         again called in insertChar().
10372
10373         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10374         an inset which uses the whole row!
10375         (rightMargin): ditto.
10376         (insertChar): force a rebreak if we inserted an inset!
10377
10378 2002-03-28  Herbert Voss  <voss@lyx.org>
10379
10380         * lyxlength.[Ch]: add inBP() to get the right PS-point
10381         units (BigPoint). With inPixels we have rounding errors
10382
10383 2002-04-11  Juergen Vigna  <jug@sad.it>
10384
10385         * text2.C (setCursorFromCoordinates): set iy to the right value.
10386         (setCursor): add check if row->previous exists!
10387
10388         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10389         an old float_type as this was the case in the old code!
10390
10391         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10392
10393         * BufferView2.C (showLockedInsetCursor): use iy
10394         (fitLockedInsetCursor): ditto
10395
10396         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10397         locked insets as there we have the right value now.
10398
10399         * lyxcursor.C: added iy_ variable and iy functions to set to the
10400         baseline of cursor-y of the locked inset.
10401
10402         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10403         (setCursor): fixed for insets which need a full row.
10404
10405         * text.C (rowLastPrintable): don't ignore the last space when before
10406         an inset which needs a full row.
10407         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10408         as last character of a row when before a inset which needs a full row.
10409
10410 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10411
10412         * version.C.in: update date
10413
10414         * text2.C (fullRebreak): try to always return true and see what
10415         happens...
10416
10417 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10418
10419         * MenuBackend.C (expand): use Floating::listName
10420
10421         * FloatList.C (FloatList): add listName argument to the built-in
10422         floats
10423
10424         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10425         text associated with the float.
10426
10427 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10428
10429         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10430
10431 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10432
10433         * ShareContainer.h: add a couple of missing typenames.
10434
10435 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10436
10437         * lyxrc.C (getDescription): use _() correctly rather than N_().
10438
10439 2002-03-28  Herbert Voss  <voss@lyx.org>
10440
10441         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10442         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10443
10444 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10445
10446         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10447         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10448
10449 2002-03-29  Juergen Vigna  <jug@sad.it>
10450
10451         * lyxfunc.C (dispatch): add a missing fitCursor call.
10452
10453         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10454         it was scrolled by a cursor move, so return the bool status.
10455
10456         * BufferView.C (fitCursor): return the bool flag also to the outside
10457         world as this is needed.
10458
10459         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10460
10461         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10462         call the edit() as it is not needed (and wrong) IMO.
10463         (workAreaButtonPress): set the screen_first variable before evt.
10464         unlock the inset as this may change screen_first and then we have
10465         a wrong y position for the click!
10466
10467 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10468
10469         * MenuBackend.C (expand): another translation that I missed
10470
10471 2002-03-28  Juergen Vigna  <jug@sad.it>
10472
10473         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10474
10475         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10476
10477 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10478
10479         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10480
10481         * MenuBackend.C (expand): fix export/view/update when there is no
10482         document open.
10483
10484 2002-03-27  Herbert Voss  <voss@lyx.org>
10485
10486         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10487         and text%
10488
10489 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10490
10491         * bufferview_funcs.C (currentState): only show paragraph number
10492         for is DEVEL_VERSION is set.
10493
10494         * lyxfunc.C (dispatch): put warning in INFO channel
10495
10496         * MenuBackend.C (expand): translate the name of floats
10497
10498         * FloatList.C (FloatList): mark the float names for translation
10499
10500         * converter.C (convert): use LibScriptSearch
10501
10502 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10503
10504         * MenuBackend.C (defaults): fix default menu (we might as well get
10505         rid of it...)
10506
10507 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10508
10509         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10510         directory.
10511
10512 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10513
10514         * lyxvc.C: reorder includes.
10515
10516 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10517
10518         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10519           properly
10520
10521 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10522
10523         * CutAndPaste.C: change layouts earlier on paste
10524           to avoid crashing when calling getFont()
10525
10526 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10527
10528         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10529         irritating #error.
10530
10531 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10532
10533         * WorkArea.C: remove 'Pending' debug message.
10534
10535         * most files: ws cleanup
10536
10537         * buffer.[Ch]: ws changes
10538
10539         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10540
10541 2002-03-21  Juergen Vigna  <jug@sad.it>
10542
10543         * tabular.C (SetMultiColumn): collapse also the contents of the
10544         cells and set the last border right. Added a Buffer const * param.
10545
10546 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10547
10548         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10549         linking or not.
10550
10551 2002-03-19  Juergen Vigna  <jug@sad.it>
10552
10553         * text2.C (clearSelection): reset also xsel_cache.
10554
10555         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10556         where it needs to be called (John tells us to do so too :)
10557         (selectionLost): reset sel_cache.
10558
10559         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10560
10561 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10562
10563         * text2.C (setCursorIntern): put debuging code in INSETS channel
10564
10565 2002-03-19  André Pönitz <poenitz@gmx.net>
10566
10567         * lyxfunc.C: tiny whitespace change
10568
10569 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10570
10571         * ToolbarDefaults.C (init):
10572         * LyXAction.C (init):
10573         * commandtags.h:
10574         * BufferView_pimpl.C (Dispatch):
10575         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10576
10577 2002-03-19  Allan Rae  <rae@lyx.org>
10578
10579         * exporter.C (Export): removeAutoInsets before doing anything else.
10580         While I've just introduced a dependency on BufferView this really is
10581         the best place to clean the buffer otherwise you need to cleanup in
10582         a dozen places before calling export or cleanup in a dozen functions
10583         that export calls.
10584
10585         * converter.C (runLaTeX):
10586         (scanLog): Better handling of removeAutoInsets and screen updates.
10587
10588         * lyxfunc.C (dispatch): small whitespace changes
10589
10590 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10591
10592         * WorkArea.C (C_WorkAreaEvent): return a value.
10593         (event_cb): return 1 if we handled the event, 0 otherwise.
10594
10595         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10596
10597 2002-03-18  Juergen Vigna  <jug@sad.it>
10598
10599         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10600         (GetAdditionalWidth): ditto.
10601         (RightLine): ditto.
10602         (LeftLine): ditto.
10603
10604         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10605         inset if we're there actually (probably not used right now but this
10606         is the direction to go for unifying code).
10607         (paste): disable code to clear the selection.
10608
10609         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10610         inside an InsetText and move the check further up as it is in the
10611         wrong place.
10612
10613         * text2.C (pasteSelection): set a selection over the pasted text.
10614
10615 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10616
10617         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10618         and libgraphics to build on Cygwin.
10619
10620 2002-03-15  Juergen Vigna  <jug@sad.it>
10621
10622         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10623         inserting an Inset into the paragraph. I know this is not the best
10624         fix but we already use current_view in CutAndPaste so we will remove
10625         all of it's using at the same time.
10626
10627         * buffer.C (sgmlError): deactivated function till it is rewritten in
10628         the right mode, now it can create problems.
10629
10630         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10631         before accessing it.
10632
10633 2002-03-14  Juergen Vigna  <jug@sad.it>
10634
10635         * undo_funcs.C (textHandleUndo): do the right thing when updating
10636         the inset after the undo/redo.
10637
10638         * text2.C (setCursor): just some testcode for #44 not ready yet.
10639
10640         * undo_funcs.C (textHandleUndo): set the next() and previous()
10641         pointers of the paragraph to 0 before deleting otherwise we have
10642         problems with the Paragraph::[destructor].
10643
10644         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10645         on a paragraph insertion.
10646
10647 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10648
10649         * buffer.C (asciiParagraph): use += operator for char append to
10650         string.
10651
10652         * paragraph.C (getFontSettings): compare >= not just >
10653         (highestFontInRange): ditto
10654         (setFont): ditto
10655
10656 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10657
10658         * paragraph.C: change several algorithm to be more appripriate for
10659         the problem domain. This is lookip in FontList and in the InsetList.
10660
10661 2002-03-13  André Pönitz <poenitz@gmx.net>
10662
10663         * commandtags.h:
10664         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10665
10666 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10667
10668         * commandtags.h:
10669         * LyXAction.C:
10670         * lyxfunc.C:
10671         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10672
10673 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10674
10675         * Painter.C (display): anon helper function, adjust code for this
10676         change.
10677         (pixmap): remove function.
10678
10679         * Painter.h: remove private display variable.
10680
10681         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10682
10683 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10684
10685         * WorkArea.[Ch]: remove figinset_canvas cruft.
10686
10687 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10688
10689         * lyxtextclass.C (operator): add one item cache optimization.
10690
10691         * bufferlist.h: doxy changes
10692
10693         * bufferlist.C: ws changes
10694
10695         * DepTable.[Ch] (ext_exist): place const in the right spot.
10696
10697         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10698         call resizeInsets.
10699         (workAreaExpose): call resizeInsets when the with BufferView changes.
10700         (Dispatch): adjust for protectedBlank removal
10701         (specialChar): call updateInset if the insert went ok.
10702
10703         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10704         specialChar instead.
10705
10706         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10707
10708         * BufferView.h: doxy change
10709
10710         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10711
10712         * lyxtextclass.C (operator[]): remove non-const version
10713         (defaultLayout): remove non-const version
10714
10715 2002-03-12  Juergen Vigna  <jug@sad.it>
10716
10717         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10718         did resize the LyXText too.
10719
10720         * buffer.C (readLyXformat2): set layout information on newly allocated
10721         paragraphs.
10722
10723         * tabular.C (OldFormatRead): set layout information on the paragraph.
10724
10725 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10726
10727         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10728
10729 2002-03-11  Juergen Vigna  <jug@sad.it>
10730
10731         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10732         plainly wrong.
10733         (resizeCurrentBuffer): force also the insets to resize themselfes.
10734         (moveCursorUpdate): fixed up for InsetText.
10735
10736 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10737
10738         * commandtags.h:
10739         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10740         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10741         value of Dialogs::tooltipsEnabled().
10742         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10743
10744 2002-03-08  Juergen Vigna  <jug@sad.it>
10745
10746         * BufferView_pimpl.C (updateInset): update inset inside inset also
10747         if it isn't inside theLockingInset().
10748
10749 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10750
10751         * buffer.C (asciiParagraph): redo some of the word and line length
10752         handling.
10753         (getLists): look for Caption instead of caption.
10754
10755 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10756
10757         * buffer.C (Buffer): initialize niceFile to true
10758         (makeLaTeXFile):
10759         (makeLinuxDocFile):
10760         (makeDocBookFile): make sure niceFile is true on exit
10761
10762 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10763
10764         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10765
10766 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10767
10768         * LyXSendto.C: remove.
10769         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10770         * lyx_gui.C: remove now-redundant comment.
10771         * ColorHandler.h: remove forward declaration of class WorkArea.
10772         * lyxfunc.C: remove #include "WorkArea.h".
10773
10774 2002-03-07  Juergen Vigna  <jug@sad.it>
10775
10776         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10777         got moved away with the DEPM and also set the inset_owner always
10778         right which before could have been omitted.
10779
10780 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10781
10782         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10783         wanted layout is not found.
10784
10785 2002-03-07  Juergen Vigna  <jug@sad.it>
10786
10787         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10788
10789 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10790
10791         * paragraph.C (breakParagraph): use default layout not layout of
10792         prev paragraph.
10793         (Paragraph): clear ParagraphParameters.
10794
10795 2002-03-06  Juergen Vigna  <jug@sad.it>
10796
10797         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10798         otherwise it would not be a valid lenght. Fixed a special case in
10799         the minipage compatibility read where we end the document with a
10800         minipage.
10801
10802         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10803         was set as it could be 0 for InsetTexts first entry.
10804
10805 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10806
10807         * paragraph.C (writeFile): if layout is empty write out
10808         defaultLayoutName().
10809
10810         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10811         file without named layout we set layout to defaultLayoutName().
10812
10813 2002-03-06  Juergen Vigna  <jug@sad.it>
10814
10815         * CutAndPaste.C (copySelection): set layout for new paragraph.
10816
10817         * text.C (prepareToPrint): leave ERT inset left aligned
10818         (leftMargin): don't indent paragraphs inside ERT insets
10819
10820 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10821
10822         * paragraph.C (breakParagraph): dont call clear do the work manually
10823
10824         * paragraph.[Ch] (clear): remove function
10825
10826 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10827
10828         * paragraph.C (Paragraph): dont call clear, the work has already
10829         been done.
10830
10831         * lyxtextclass.C (operator): assert if n is empty
10832
10833         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10834         work manually instead.
10835
10836 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10837
10838         * BufferView_pimpl.C: protect selectionLost against text == 0
10839
10840 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10841
10842         * text.C (breakParagraph): fix a setting layout to '0' problem.
10843
10844 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10845
10846         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10847         final location of file, for the included files, and graphics.
10848
10849 2002-03-05  Juergen Vigna  <jug@sad.it>
10850
10851         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10852
10853 2002-03-04  Juergen Vigna  <jug@sad.it>
10854
10855         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10856
10857         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10858         last column of multicolumn cells.
10859         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10860
10861 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10862
10863         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10864         file if it doesn't go to a temporary file.
10865
10866         * buffer.C (sgmlOpenTag):
10867         (sgmlCloseTag):  remove extra newline insertion.
10868
10869 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10870
10871         * text.C (getRowNearY): comment out debug msg
10872
10873 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10874
10875         * text2.C: first -> first_y
10876
10877         * text.C (getRowNearY): add some attemts at a possible
10878         optimization, not working.
10879
10880         * tabular.[Ch]: add BufferParams to several function so that newly
10881         created paragraph can be initialized to he default layotu for the
10882         buffers textclass.
10883
10884         * tabular-old.C (ReadOld): add buf->params to call of Init
10885
10886         * screen.C: rename text->first to text->first_y
10887
10888         * paragraph.C (breakParagraph): always set layout in the broken
10889         paragraph
10890
10891         * lyxtextclass.C (Read): remove lowercase
10892         (hasLayout): ditto
10893         (operator): ditto
10894         (delete_layout): ditto
10895
10896         * lyxtext.h: rename first -> first_y
10897
10898         * lyxlayout.C (Read): remove lowercase
10899         (name): ditto
10900         (setName): ditto
10901         (obsoleted_by): ditto
10902
10903         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10904
10905         * buffer.C (insertErtContents): add params are to InsetERT
10906         (parseSingleLyXformat2Token): add code to check if a paragraphs
10907         layout really exist.
10908         (parseSingleLyXformat2Token): add params to several inset
10909         constructors
10910         (asciiParagraph): remove lowercase, do the layout comparisons with
10911         no_case
10912
10913         * BufferView_pimpl.C (cursorNext): first -> first_y
10914         (resizeCurrentBuffer): first -> first_y
10915         (updateScrollbar): first -> first_y
10916         (scrollCB): first -> first_y
10917         (workAreaMotionNotify): first -> first_y
10918         (workAreaButtonPress): first -> first_y
10919         (checkInsetHit): first -> first_y
10920         (cursorPrevious): first -> first_y
10921         (cursorNext): first -> first_y
10922         (Dispatch): add buffer_->params to severl inset contructors
10923
10924 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10925
10926         * lyxlayout.C (Read): remove some debug info that I forgot.
10927
10928         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10929         clean up the code slightly.
10930         (makeLinuxDocFile): ditto
10931         (makeDocBookFile): ditto
10932
10933         * text2.C: layout as string
10934
10935         * text.C: layout as string
10936
10937         * paragraph_pimpl.C: layout as string
10938
10939         * paragraph.[Ch]: layout as string
10940
10941         * lyxtextclasslist.[Ch]: layout as string
10942
10943         * lyxtextclass.[Ch]: layout as string
10944
10945         * lyxtext.h: layout as string
10946
10947         * lyxlayout.[Ch]: layout as string
10948
10949         * lyx_cb.C: layout as string
10950
10951         * bufferview_funcs.C: layout as string
10952
10953         * bufferparams.C: layout as string
10954
10955         * buffer.C: layout as string
10956
10957         * LyXView.[Ch]: layout as string
10958
10959         * LaTeXFeatures.[Ch]: layout as string
10960
10961         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10962
10963         * BufferView_pimpl.C: change current_layout to string, remove
10964         lyx::layout_type.
10965         (Dispatch):
10966         (smartQuote):
10967         (insertInset):
10968         (workAreaButtonRelease): layout as string
10969
10970         * BufferView2.C (unlockInset): adjust
10971
10972         * vspace.C (asLatexCommand): use an explict temp variable.
10973
10974 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10975
10976         * Makefile.am: use FRONTEND_*
10977
10978 2002-03-01  Juergen Vigna  <jug@sad.it>
10979
10980         * tabular.C (SetWidthOfMulticolCell): changed to something better
10981         I hope but still work in progress.
10982         (recalculateMulticolumnsOfColumn): renamed function from
10983         recalculateMulticolCells as it is more appropriate now.
10984         (SetWidthOfCell): calculate multicols better.
10985
10986 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10987
10988         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10989
10990         * lyxfunc.C (processKeySym): print sequence also if it is
10991         `deleted' (complete)
10992
10993         * kbsequence.C (print): print sequence even if it is deleted
10994         (complete would be a better word, actually).
10995
10996         * lyxfunc.C (dispatch): print complete options after a prefix key
10997
10998         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10999
11000 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11001
11002         * text2.C (setCharFont): eliminate setCharFont code duplication.
11003
11004 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11005
11006         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11007         LFUN_TABULAR_FEATURE (bug #177)
11008
11009 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11010
11011         * Makefile.am: remove figure.h
11012
11013 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11014
11015         * Bufferview_pimpl.C:
11016         * CutAndPasteC:
11017         * LaTeX.C:
11018         * LyXSendto.C:
11019         * buffer.C:
11020         * bufferlist.C:
11021         * converter.C:
11022         * language.C:
11023         * lyxfunc.C:
11024         * lyxvc.C:
11025         * paragraph.C:
11026         * text.C:
11027         * text2.C: remove #include "lyx_gui_misc.h".
11028
11029         * LaTeX.C: added #include <cstdio>
11030
11031 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11032
11033         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11034         that the paragraph following this one can have.
11035
11036         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11037
11038         * vspace.C (asLatexCommand): fix bogus gcc warning
11039
11040         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11041
11042 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11043
11044         * text2.C (setLayout): get rid of redundant code
11045
11046 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11047
11048         * text2.C (incDepth): make sure depth cannot be increased beyond
11049         reasonable values.
11050
11051 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11052
11053         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11054         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11055
11056         * PainterBase.h (image):
11057         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11058         a LyXImage const *.
11059
11060 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11061
11062         * BufferView.C:
11063         * BufferView.h:
11064         * BufferView_pimpl.C:
11065         * BufferView_pimpl.h:
11066         * LaTeXFeatures.C:
11067         * LyXAction.C:
11068         * LyXView.C:
11069         * Makefile.am:
11070         * UpdateList.h:
11071         * UpdateList.C:
11072         * buffer.C:
11073         * figure.h:
11074         * figureForm.C:
11075         * figureForm.h:
11076         * figure_form.C:
11077         * figure_form.h:
11078         * lyx_cb.C:
11079         * lyx_gui.C:
11080         * lyx_gui_misc.C:
11081         * lyxfunc.C:
11082         * sp_base.h:
11083         * sp_ispell.h:
11084         * sp_pspell.h:
11085         * sp_spell.C: remove fig inset, and the crap house of
11086           cards that follows it
11087
11088 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11089
11090         * Makefile.am:
11091         * lyxserver.C:
11092         * os2_defines.h:
11093         * os2_errortable.h:
11094         * nt_defines.h: move .h into support/
11095
11096         * vms_defines.h: remove
11097
11098         * WorkArea.C: add space in debug output
11099
11100         * text2.C:
11101         * paragraph.C:
11102         * buffer.C: add WITH_WARNINGS
11103
11104         * vc-backend.h:
11105         * vc-backend.C:
11106         * bufferlist.C: s/retrive/retrieve/, add docs
11107
11108         * vspace.h:
11109         * vspace.C:
11110         * kbmap.h:
11111         * lyxlength.h:
11112         * lyxgluelength.h:
11113         * length_common.h:
11114         * chset.h:
11115         * chset.C: add docs
11116
11117         * lyxgui.C: add ID to X error handler
11118
11119         * lyxtestclass.c: fix typo
11120
11121 2002-02-26  Juergen Vigna  <jug@sad.it>
11122
11123         * tabular_funcs.C (write_attribute): changed so that some default
11124         attributes are not written at all.
11125         (getTokenValue): set default values before trying to read the
11126         value so we have the return value always set as default if we don't
11127         find the token we search for.
11128
11129         * tabular.C (Write): write bools as bools not as strings!
11130
11131 2002-02-22  Juergen Vigna  <jug@sad.it>
11132
11133         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11134         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11135
11136         * text.C (leftMargin): don't add an indent for paragraphs inside
11137         tabular cells (fix #208).
11138
11139 2002-02-21  José Matos  <jamatos@fep.up.pt>
11140
11141         * tabular.C (docBook): fixed support for long tables.
11142
11143 2002-02-20  Juergen Vigna  <jug@sad.it>
11144
11145         * text2.C (getFont): get the drawing font of the Inset if this
11146         paragraph is inside an inset (only important for InsetERT for now).
11147
11148         * buffer.C (insertErtContents): use new lanugage params in ERT
11149         constructor.
11150
11151         * CutAndPaste.C: commenting out seemingly uneeded code.
11152
11153 2002-02-19  Allan Rae  <rae@lyx.org>
11154
11155         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11156         Iterators might be simple to use but they also get invalidated.
11157         (removeAutoInsets): renamed saved cursor tracking variables and added
11158         some comments to clarify what everything does.
11159
11160 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11161
11162         * Chktex.C:
11163         * LaTeX.C:
11164         * LyXSendto.C:
11165         * converter.C:
11166         * lyx_cb.C:
11167         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11168         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11169
11170         * lyxfunc.C:
11171         * vc-backend.h: remove #include "support/syscall.h"
11172
11173         * LaTeX.C:
11174         * LyXSendto.C:
11175         * converter.C: rearrange #includes in Lars' approved fashion.
11176
11177         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11178         forward declare class Timeout in the header file.
11179
11180         * XFormsView.C: changes due to the above.
11181
11182         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11183         similar to LyXView.
11184
11185         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11186         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11187
11188 2002-02-18  José Matos  <jamatos@fep.up.pt>
11189
11190         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11191         insets contents.
11192
11193 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11194
11195         * a lot of small ws changes
11196         * add a lot of using std::XXX
11197         * use std construcs some places where approp.
11198         * use some exisint stuff from lyxfunctional where approp.
11199         * Make file changes to use partial linking (lets test this now...)
11200
11201 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11202
11203         * Chktex.C:
11204         * buffer.C:
11205         remove #include "support/syscontr.h" as it's redundant. Always has been.
11206
11207         * Chktex.C:
11208         * LaTeX.C:
11209         * LyXSendto.C:
11210         * converter.C:
11211         * lyx_cb.C:
11212         * vc-backend.C:
11213         change Systemcalls::System to Systemcalls::Wait and
11214         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11215         No change of functionality, just reflects the stripped down Systemcalls
11216         class.
11217
11218 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11219
11220         * debug.[Ch]: add a GRAPHICS type to the enum.
11221
11222 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11223
11224         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11225
11226         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11227         there is an inset.
11228
11229 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11230
11231         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11232         match the changes below.
11233
11234         * text2.C (toggleInset): if there is not editable inset at cursor
11235         position, try to see if cursor is _inside_ a collapsable inset
11236         and close it.
11237
11238 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11239
11240         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11241         document menu has a nice checkbox
11242
11243 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11244
11245         * lyxlength.C (asLatexString): change PW to output as percent of
11246         \textwidth.
11247
11248         * lengthcommon.C: change '%' to 't%'
11249
11250         * lyxfunc.C (dispatch): a few comments from Martin
11251
11252 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11253
11254         * WorkArea.h:
11255         * WorkArea.C:
11256         * BufferView_pimpl.h:
11257         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11258           the X selection.
11259
11260 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11261
11262         * vspace.C (inPixels): fix compiler warning
11263
11264 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11265
11266         * lyxfunc.C (getStatus): fix status message for disabled commands.
11267
11268 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11269
11270         * BufferView_pimpl.C: fix crash on close buffer
11271         during selection (#227)
11272
11273 2002-01-27  Herbert Voss  <voss@lyx.org>
11274
11275         * buffer.C: link old Figure to new graphic inset
11276
11277 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11278
11279         * FontLoader.C (getFontinfo): Change the latex font names in order
11280         to match the names of type1inst.
11281
11282 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11283
11284         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11285
11286         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11287         (extchanged): ditto
11288         (ext_exist): ditto
11289         (remove_files_with_extension): ditto
11290         (remove_file): ditto
11291         (write): ditto
11292
11293         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11294         document is smaller than the work area height. Do not initialize
11295         static variables to 0.
11296
11297 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11298
11299         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11300
11301         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11302         LFUN_LAYOUT_PARAGRAPHS.
11303
11304         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11305         tabular. It is possible to provide a possible cell, which will
11306         typically be the actcell from the corresponding insettabular
11307
11308         * lyxfunc.C (getStatus): small cleanup; disable
11309         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11310         true
11311
11312 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11313
11314         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11315
11316         * paragraph.C (startTeXParParams):
11317         (endTeXParParams): new methods. The LaTeX code to
11318         start/end paragraph formatting
11319         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11320         empty (fixes bug #200)
11321
11322         * vspace.C (inPixels): adapt to the change below
11323         (inPixels): [later] more cleanups (remove unused variables)
11324
11325         * lyxlength.C (inPixels): change to use a width and a height as
11326         parameter.
11327
11328 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11329
11330         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11331         Replaced with \paperwidth
11332
11333         * DepTable.C (insert): add std:: qualifier
11334
11335 2002-01-18  Allan Rae  <rae@lyx.org>
11336
11337         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11338         updated also?
11339
11340         * text.C (drawInset): Turned out I didn't know enough about how
11341         rebreaking worked.  This fixes most of the redraw problems.  I see
11342         an occasional cursor trail when a line is broken now and the cursor
11343         placement can seem out by a few pixels also after a rebreak.
11344
11345 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11346
11347         * buffer.C (parseSingleLyXformat2Token): update because minipage
11348         width is now a LyXLength
11349
11350         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11351
11352         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11353         math insets
11354
11355 2002-01-17  Juergen Vigna  <jug@sad.it>
11356
11357         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11358
11359         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11360         is set correctly and the inset is updated correctly.
11361
11362 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11363
11364         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11365         the beginning of the loop.
11366
11367 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11368
11369         * lyxrc.C: improve help for use_scalable_fonts
11370
11371 2002-01-17  Allan Rae  <rae@lyx.org>
11372
11373         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11374
11375 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11376
11377         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11378         make sure to set their inset_owner to the right value (bug #171)
11379
11380 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11381
11382         * DepTable.h
11383         * DepTable.C: Implement mtime checking to reduce time spent doing
11384         CRCs.
11385
11386 2002-01-16  Juergen Vigna  <jug@sad.it>
11387
11388         * tabular.C (GetAdditionalHeight): one of error fixed.
11389
11390         * lyxrc.C (output): small fix in writing use_pspell.
11391
11392 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11393
11394         * sp_base.h: #include LString.h
11395
11396 2002-01-16  Allan Rae  <rae@lyx.org>
11397
11398         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11399         Can someone check this please?
11400
11401         * text.C (drawInset): It was possible that p.row would be removed by
11402         breakAgainOneRow upsetting a few other settings.  There may be another
11403         small tweak possible by setting need_break_row = 0 when p.row has been
11404         removed but I don't know enough about the logic here.
11405
11406 2002-01-15  Allan Rae  <rae@lyx.org>
11407
11408         * text.C (insertChar): removed conditional truism.
11409
11410         * BufferView2.C (removeAutoInsets): More tweaks.
11411         cur_par_prev could be a stray pointer.  Check for trailing empty line
11412         in case last line was cur_par and only had an error inset on it.
11413
11414 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11415
11416         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11417         absolute
11418
11419         * vc-backend.C (most methods):
11420         * exporter.C (Export):
11421         * converter.C (convert):
11422         (runLaTeX):
11423         * LyXSendto.C (SendtoApplyCB):
11424         * lyxfunc.C (dispatch):
11425         (menuNew):
11426         (open):
11427         (doImport):
11428         * lyx_cb.C (AutoSave):
11429         (InsertAsciiFile):
11430         * BufferView_pimpl.C (MenuInsertLyXFile):
11431         * buffer.C (runChktex): use Buffer::filePath().
11432
11433         * buffer.h: rename filename to filename_; rename filepath to
11434         filepath_ and make it private
11435         (filePath): new method
11436
11437         * buffer.C (writeFile): use fileName()
11438         (getLatexName):
11439
11440         * lyx_main.C (init): fix starting  of LyX when the binary is a
11441         link from so,ewhere else.
11442
11443         * minibuffer.C: include <cctype> for isprint
11444
11445 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11446
11447         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11448         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11449         name clash with InsetCollapsable's width function.
11450
11451 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11452
11453         * lastfiles.C: include <iterator>
11454
11455 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11456
11457         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11458         std::count.
11459
11460         * buffer.C (makeLaTeXFile): ditto.
11461         Also make loop operation more transparent.
11462
11463 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11464
11465         * ToolbarDefaults.C: remove trailing comma closing namespace.
11466
11467         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11468
11469         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11470         as in WorkArea.
11471
11472         * trans.C (Load): comment out unused variable, allowed.
11473
11474 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11475
11476         * minibuffer.[Ch] (append_char): new method to recieve input from the
11477         drop-down completion browser. If a key was pressed, then recieve this
11478         char and append it to the existing string.
11479         (peek_event): modify the positioning data passed to the completion
11480         browser so that it can be placed above the minibuffer rather than below.
11481 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11482
11483         * LyXAction.C (init): alloe error-next for readonly documents.
11484
11485         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11486         count.
11487
11488 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11489
11490         * bufferlist.C (readFile): create the buffer _after_ checking that
11491         the file exists.
11492
11493         * lyxfunc.C (verboseDispatch): fix handling of arguments
11494
11495         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11496
11497         * lyxrc.C: use string::erase() instead of initializing to "".
11498
11499
11500 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11501
11502         * BufferView_pimpl.h:
11503         * BufferView_pimpl.C:
11504         * WorkArea.h:
11505         * WorkArea.C:
11506         * text2.C: tell X when we have made a selection for copying
11507
11508 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11509
11510         * BufferView_pimpl.C (MenuInsertLyXFile):
11511         * lyxfunc.C (menuNew):
11512         (open):
11513         (doImport): add shortcuts to directory buttons
11514
11515         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11516         open a float)
11517
11518         * lyxfunc.C (setStatusMessage):
11519         (getStatusMessage): new methods
11520         (getStatus):use setStatusMessage instead of setErrorMessage
11521         (dispatch): when function is disabled, set error message here
11522         [instead of in getStatus previously]
11523
11524         * BufferView_pimpl.C (workAreaButtonRelease): update
11525         toolbar/menubar here too.
11526
11527 2002-01-13  Allan Rae  <rae@lyx.org>
11528
11529         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11530         Now seems indestructible.  Remaining task is to audit all other
11531         code affected by deleteEmptyParagraphMechanism.  One small quirk
11532         left is that an empty document with an error in the preamble can
11533         be made to report an error but no error box appears.  I don't know
11534         where it goes.
11535         (removeAutoInsets): Improved comments.
11536
11537 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11538
11539         * Thesaurus.h:
11540         * Thesaurus.C: update for Aiksaurus 0.14
11541
11542 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11543
11544         * text2.C (firstParagraph): removed member function, all uses
11545         replaces with ownerParagraph
11546         (redoParagraphs): here
11547         (updateInset): here
11548         (toggleAppendix): here
11549         * BufferView2.C (insertErrors): here
11550         (setCursorFromRow): here
11551
11552 2002-01-13  Allan Rae  <rae@lyx.org>
11553
11554         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11555         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11556         There is still a way to segfault this although you may have to do this
11557         multiple times: Have an InsetERT with an unknown command in it.
11558         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11559         <down-arrow>, <Enter> again, View->DVI, BANG!
11560
11561         * text2.C (setCursor):
11562         (deleteEmptyParagraphMechanism):
11563         * lyxtext.h (setCursor):
11564         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11565         Making use of the return value may help fix other bugs.
11566
11567 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11568
11569         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11570
11571         * LyXView.C (updateMenubar): call MenuBar::update here
11572         (updateToolbar): but not here
11573         (showState): do not update toolbar/menubar
11574
11575         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11576         should need to care about that.
11577
11578         * lyxfunc.C (verboseDispatch): simplify a bit
11579         (getStatus): have a version which takes a pseudoaction, and
11580         another which requires a (kb_action,string).
11581
11582         * LyXAction.C (retrieveActionArg): make it work also when action
11583         is not a pseudo-action.
11584         (getActionName): simplify a bit
11585         (helpText):
11586
11587 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11588
11589         * lyxfunc.C (verboseDispatch): new families of methods with
11590         several ways to specify a command and a bool to indicate whether
11591         the command name and shortcut should be displayed in minibuffer
11592         (eventually, we could extend that to a finer bitmask like
11593         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11594         (dispatch): the pristine dispatch command which just, well,
11595         dispatchs! Note it still sets its result to minibuffer; I'm not
11596         sure we want that.
11597
11598         * lyxfunc.h: remove setHintMessage
11599
11600         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11601
11602 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11603
11604         * BufferView_pimpl.C (specialChar): delete new inset if we have
11605         not been able to insert it.
11606
11607         * kbmap.C: revert to using int instead of kb_action, since all we
11608         are dealing with is pseudo-actions.
11609
11610         * LyXAction.C (searchActionArg): change to return int instead of
11611         kb_action, since the result is a pseudoaction.
11612
11613 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11614
11615         * buffer.C (insertErtContents): Fix (partially) the font bug.
11616
11617 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11618
11619         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11620         as the other one is broken on my machine!
11621
11622 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11623
11624         * commandtags.h:
11625         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11626
11627 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11628
11629         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11630         reflect their actual use. Provide compatibility code for older lyxrc
11631         files.
11632
11633         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11634         FL_NORMAL_STYLE.
11635         change names of popup font variables in line with the changes to lyxrc.C
11636
11637 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11638
11639         * buffer.C (asciiParagraph): avoid outputing a word twice after
11640         an inset.
11641
11642         * lyxrc.C (getDescription): document that document_path and
11643         template_path can be empty.
11644
11645 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11646
11647         * LaTeXFeatures.C (getMacros):
11648         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11649
11650         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11651
11652         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11653         getPackages.
11654         (getPackages): rename feature "floats" to "float". Use an array to
11655         iterate over 'simple' features (i.e. just a \usepackage). Add
11656         handling of "amsmath" (renamed from "amsstyle").
11657
11658 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11659
11660         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11661         features list.
11662
11663 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11664
11665         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11666         FuncStaus::FuncStatus & FuncStaus::some_method().
11667
11668 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11669
11670         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11671         of the func_satus stuff. Edited and massaged in various ways by
11672         JMarc.
11673
11674         * lyxfunc.C (getStatus): use FuncStatus
11675
11676 2002-01-08  Juergen Vigna  <jug@sad.it>
11677
11678         * text.C (nextBreakPoint): use function Inset::isChar().
11679
11680         * paragraph.C (TeXOnePar): use function
11681         Inset::forceDefaultParagraphs.
11682
11683         * buffer.C (latexParagraphs): use function
11684         Inset::forceDefaultParagraphs.
11685
11686 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11687
11688         * lyx_gui.C (init): set the style of the menu popups to
11689         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11690
11691 2002-01-07  Juergen Vigna  <jug@sad.it>
11692
11693         * text.C (setHeightOfRow): small fix
11694         (prepareToPrint): don't look at alignment if we don't have the place
11695         for doing it.
11696
11697 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11698
11699         * box.C: New file. Move the Box methods and functions out of box.h,
11700         following Lars' suggestion.
11701
11702 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11703
11704         * box.h: #include "support/LOstream.h", needed for inlined function.
11705
11706         * lyxtextclass.C:
11707         * lyxtextclasslist.C: added some using std declarations.
11708
11709 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11710
11711         * box.h: make signed dimensions to allow insets wider than
11712           the screen (bug #162)
11713
11714         * BufferView_pimpl.C: add some insetHit debug
11715
11716 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11717
11718         * vc-backend.C: add FIXME
11719
11720 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11721
11722         * lyxfunc.C (getStatus): enable code for showing math font status
11723         in toolbar/menu.
11724
11725 2002-01-07  Juergen Vigna  <jug@sad.it>
11726
11727         * text.C (nextBreakPoint): removed debug output not needed anymore.
11728
11729 2002-01-06  Juergen Vigna  <jug@sad.it>
11730
11731         * text.C (nextBreakPoint): fixed up this function we had this bug
11732         since ever but now hopefully we break row better.
11733         (insertChar): we have to check if an inset is the next char as it
11734         could now happen that a large inset is causing a break.
11735
11736 2002-01-05  Juergen Vigna  <jug@sad.it>
11737
11738         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11739         if it doesn't like to be drawed.
11740
11741 2002-01-04  Juergen Vigna  <jug@sad.it>
11742
11743         * BufferView2.C (lockInset): forgot to set a cursor.
11744
11745         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11746
11747 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11748
11749         * FormMathsPanel.C:
11750         * FormMathsPanel.h
11751         * MathsSymbols.C:
11752         * form_maths_panel.C:
11753         * form_maths_panel.h:
11754         * form_maths_panel.fd: implemented sub- and super- buttons in math
11755         panel.
11756
11757         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11758         (or ^ space) to be used as in TeX (req'd by André).
11759
11760         * lyxfunc.C: Allow ^ and _ again to be used both as
11761         super/subscript (mathed) and as themselves (in text).
11762
11763 2002-01-03  Allan Rae  <rae@lyx.org>
11764
11765         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11766         "LyX" or the filename of the current buffer if it has one.  This is a
11767         modified form of John Levon's patch.
11768
11769         * XFormsView.C (setWindowTitle): also set icon title.
11770
11771         * LyXView.h (setWindowTitle): signature changed.
11772         * XFormsView.h (setWindowTitle): ditto.
11773
11774 2002-01-02  Juergen Vigna  <jug@sad.it>
11775
11776         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11777
11778 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11779
11780         * screen.C (topCursorVisible): introduce a temp var for
11781         text->cursor.row(), handle the case where this row is null. (kindo
11782         hachish)
11783
11784         * text2.C (setCursor): add a couple of asserts.
11785
11786         * paragraph.h (inset_iterator): add -> operator
11787
11788         * paragraph.[Ch] (autoDeleteInsets): remove member function
11789
11790         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11791         cursor pos correctly and handle inset deletion by itself.
11792         (insertErrors): move iterator declaration out of for expression
11793
11794         * lyxtextclass.C: add <algorithm>
11795
11796         * Makefile.am: added the new files to sources, removed layout.C
11797
11798         * layout.C: removed file
11799
11800         * layout.h: remove LYX_DUMMY_LAYOUT
11801
11802         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11803         layout.
11804
11805         * lyxlayout.[Ch]:
11806         * lyxtextclass.[Ch]:
11807         * lyxtextclasslist.[Ch]: new files
11808
11809         * include order changes to a lot of files, also changes because of
11810         the six new files.
11811
11812 2001-12-27  Juergen Vigna  <jug@sad.it>
11813
11814         * buffer.C (asciiParagraph): more fixes.
11815
11816         * tabular.C (ascii): make ascii export support export of only the
11817         data separated by a column-delimiter.
11818         (ascii): better support for ascii export.
11819
11820         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11821
11822 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11823
11824         * tabular_funcs.C: use a "using std::getline" instead of the
11825         previous fix from Angus (necessary for cxx + lyxstring)
11826
11827 2001-12-24  Juergen Vigna  <jug@sad.it>
11828
11829         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11830
11831         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11832         problems. First check a minipage also if we have some ert-contents
11833         (not only on par->size(), second set the right depth of the paragraph
11834         on the relink to the root-paragraph-list!
11835
11836         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11837         which then did not anymore update the main paragraphs on undo/redo!
11838
11839 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11840
11841         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11842         code. Support all font-changing funcs (even those which are not in
11843         menu currently). Support for reporting font settings in
11844         mathed (disabled until Andre provides a function on mathed's side).
11845
11846         * func_status.h (toggle): small helper function to set toggle
11847         state on a flag.
11848
11849 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11850
11851         * tabular_funcs.C: getline -> std::getline
11852
11853 2001-12-21  Juergen Vigna  <jug@sad.it>
11854
11855         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11856         accessed and could be 0 (I couldn't generate this but it seems
11857         Michael could!).
11858
11859 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11860
11861         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11862         * tabular_funcs.h: here and include iosfwd
11863
11864 2001-12-20  Juergen Vigna  <jug@sad.it>
11865
11866         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11867         inside inset but undo_par was.
11868
11869 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11870
11871         * Thesaurus.C: always include <config.h> in sources.
11872
11873         * Painter.h:
11874         * lyxlookup.h:
11875         * box.h: do not include <config.h> in header files
11876
11877         * text.C (paintLastRow): remove unused variable
11878
11879         * text.C (transformChar):
11880         (insertChar):
11881         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11882
11883         * Painter.C (text):
11884         * font.C (width): rewrite to use uppercase() instead of
11885         islower/toupper.
11886
11887         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11888
11889 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11890
11891         * lyxfind.C: clean up of find failure position change
11892
11893 2001-12-20  Juergen Vigna  <jug@sad.it>
11894
11895         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11896
11897         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11898         (TeXRow): added to LaTeX a single tabular row.
11899         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11900         (Latex): simplified and finally good LT-h/f support.
11901         (various_functions): just small adaptions for LT-h/f support.
11902
11903         * tabular_funcs.[hC]: added and moved here all not classfunctions
11904         of LyXTabular.
11905
11906 2001-12-19  Juergen Vigna  <jug@sad.it>
11907
11908         * tabular.[Ch]: better support for longtabular options (not finished
11909         yet!)
11910
11911 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11912
11913         * text.C (paintLastRow): use the label font instead of the font of
11914         the last character to compute the size of *_BOX. This makes more
11915         sense and avoids a crash with empty paragraphs.
11916         Use Painter::rectangle to draw EMPTY_BOX.
11917
11918 2001-12-19  Juergen Vigna  <jug@sad.it>
11919
11920         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11921         the paragraphs if the replaced paragraph is not the first one!
11922         Tried to delete not used paragraphs but does not work yet so for
11923         now it's inside #ifdef's and by default off!
11924
11925 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11926
11927         * MenuBackend.C: include "lyx_main.h" instead of declaring
11928         lastfiles (actually was declared as LastFiles* instead of a
11929         scoped_ptr).
11930
11931 2001-12-17  Juergen Vigna  <jug@sad.it>
11932
11933         * tabular.C (AppendColumn): applied John's fix
11934
11935 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11936
11937         * BufferView.h:
11938         * BufferView.C:
11939         * BufferView_pimpl.h:
11940         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11941
11942         * Makefile.am:
11943         * box.h: new start of class for above
11944
11945         * lyxfunc.C: ignore space-only minibuffer dispatches.
11946           Show the command name when it doesn't exist
11947
11948         * minibuffer.C: don't add empty lines to the history
11949
11950         * minibuffer.C: add a space on dropdown completion
11951
11952 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11953
11954         * text.C: fix line above/below drawing in insets
11955
11956 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11957
11958         * lyxlength.C (LyXLength): Initialize private variables.
11959
11960 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11961
11962         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11963         when inserting error insets.
11964
11965 2001-12-13  Juergen Vigna  <jug@sad.it>
11966
11967         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11968         actually sometimes the before-paragraph.
11969         (setUndo): don't clear the redostack if we're not actually undoing!
11970
11971 2001-12-06  Juergen Vigna  <jug@sad.it>
11972
11973         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11974         and fixed redoing of main paragraph, so we can use it now ;)
11975
11976         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11977
11978 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11979
11980         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11981         Juergen's request
11982
11983 2001-12-13  André Pönitz <poenitz@gmx.net>
11984
11985         * undostack.[Ch]:
11986         * undo_func.C: minor cleanup
11987
11988 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11989
11990         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11991         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11992         font in urw-fonts package which is marked as -urw-fontspecific and
11993         does not work (incidentally, changing the encoding in the
11994         fonts.dir of this package to -adobe-fontspecific fixes the
11995         problem).
11996
11997         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11998         is a crash when undoing first paragraph (Juergen, please take a
11999         look). THis does not mean the undo fix is wrong, just that it
12000         uncovers problems.
12001
12002         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12003         the (Paragraph*) version when needed instead of duplicating the
12004         code.
12005
12006         * text.C (workWidth): use Inset::parOwner to find out where the
12007         inset has been inserted. This is a huge performance gain for large
12008         documents with lots of insets. If Inset::parOwner is not set, fall
12009         back on the brute force method
12010
12011         * paragraph_pimpl.C (insertInset):
12012         * paragraph.C (Paragraph):
12013         (cutIntoMinibuffer): set parOwner of insets when
12014         inserting/removing them
12015
12016         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12017
12018 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12019
12020         * commandtags.h:
12021         * LyXAction.C:
12022         * lyx_main.C:
12023         * lyxfunc.C:
12024         * mathed/formulabase.C:
12025         * mathed/math_cursor.[Ch]:
12026         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12027
12028
12029 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12030
12031         * lyxlength.[Ch] (operator!=): new function
12032
12033 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12034
12035         * text.C (workWidth): use Inset::parOwner to find out where the
12036         inset has been inserted. This is a huge performance gain for large
12037         documents with lots of insets. If Inset::parOwner is not set, fall
12038         back on the brute force method
12039
12040         * paragraph_pimpl.C (insertInset):
12041         * paragraph.C (Paragraph):
12042         (cutIntoMinibuffer): set parOwner of insets when
12043         inserting/removing them
12044
12045         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12046
12047 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12048
12049         * tabular-old.C (getTokenValue):
12050         * tabular.C (getTokenValue):
12051         (write_attribute): new versions for LyXLength
12052         (everywhere): adjust the use of widths
12053
12054         * tabular.h: change the type of widths from string to LyXLength
12055
12056 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12057
12058         * paragraph.C: fixed missing line number count when exporting
12059         Environments to LaTeX file
12060
12061         * buffer.C: added informational message for checking line numbers.
12062
12063 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12064
12065         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12066         paragraph, do the 'double space' part, but not the 'empty
12067         paragraph' one.
12068
12069         * text.C (workWidth): small optimization
12070         (getLengthMarkerHeight): use minimal size for negative lengths.
12071
12072 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12073
12074         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12075
12076         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12077
12078 2001-12-11  André Pönitz <poenitz@gmx.net>
12079
12080         * FontLoader.C:
12081         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12082
12083 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12084
12085         * text2.C: keep selection on a setFont()
12086
12087 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12088
12089         * lyx_cb.C: another bv->text misuse, from insert label
12090
12091 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12092
12093         * kbsequence.h:
12094         * kbsequence.C: re-instate nmodifier mask
12095
12096 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12097
12098         * lyx_main.h: make lyxGUI private.
12099
12100 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12101
12102         * lyxfind.C: place the cursor correctly on failed search
12103
12104 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12105
12106         * text.C (getLengthMarkerHeight): for small heights, the arrows
12107         are not always on top/bottom of the text
12108         (drawLengthMarker): smaller arrows; take the left margin in
12109         account; draw also vfills.
12110         (paintFirstRow):
12111         (paintLastRow): remove special code for vfill and standard spaces,
12112         since everything is handled in drawLengthMarker now.
12113
12114 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12115
12116         * buffer.C (insertErtContents): try to handle font and language
12117         interaction a bit better.g
12118
12119         * ColorHandler.C (updateColor): change the hash to cover the whole
12120         LColor enum, ws cleanup
12121         (getGCLinepars): ditto
12122         (getGCLinepars): only lookup in the linecache once.
12123
12124 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12125
12126         * iterators.C (operator++): Make the iterator more robust
12127
12128         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12129         (John's patch)
12130         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12131
12132 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12133
12134         * lyxtext.h:
12135         * text.C: better added space drawing
12136
12137 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12138
12139         * LyXView.C:
12140         * BufferView2.C: fix layout combo update on inset unlock
12141
12142 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12143
12144         * Makefile.am: don't compile unused files
12145
12146 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12147
12148         * lyxfunc.C:
12149         * commandtags.h:
12150         * LyXAction.C: remove old LFUN_LAYOUTNO
12151
12152 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12153
12154         * paragraph_pimpl.h:
12155         * paragraph_pimpl.C: isTextAt() doesn't need font param
12156
12157 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12158
12159         * lyxlex.h:
12160         * lyxlex.C: little cleanup
12161
12162 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12163
12164         * BufferView_pimpl.C: fix insertAscii for insets
12165
12166 2001-12-05  Juergen Vigna  <jug@sad.it>
12167
12168         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12169         set the right font on the "multi" paragraph paste!
12170
12171 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12172
12173         * trans_decl.h:
12174         * trans_mgr.[Ch]:
12175         * trans.[Ch]:
12176         * lyxgluelength.C:
12177         * lyxlength.C: remove out-commented code.
12178
12179         * BufferView_pimpl:
12180         * CutAndPaste.C:
12181         * DepTable.C:
12182         * buffer.C:
12183         * chset.C:
12184         * lastfiles.C:
12185         * lyxlex.C:
12186         * lyxlex_pimpl.C:
12187         * lyxserver.C:
12188         * screen.C:
12189         * tabular-old.C:
12190         * tabular.C:
12191         * text.C:
12192         * trans_mgr.C:
12193         * vc-backend.C: change "while(" to "while ("
12194
12195         * lyxlength.[Ch]: add zero function to check if length is zero or
12196         not
12197         * lyxgluelength.C: use it
12198
12199 2001-12-05  Allan Rae  <rae@lyx.org>
12200
12201         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12202         Works for 2.95.3, from what I understand of Garst's reports this should
12203         work for other g++ versions.  We're screwed if the abs(int) definition
12204         changed between bugfix releases of gcc.
12205
12206 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12207
12208         * text.C: fix chapter label offset !
12209
12210 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12211
12212         * lyxtext.h:
12213         * text.C: fix hfill at end of line, clean up
12214
12215 2001-12-04  Juergen Vigna  <jug@sad.it>
12216
12217         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12218         that we force an update of the inset and it's owners if neccessary.
12219
12220 2001-12-03  Juergen Vigna  <jug@sad.it>
12221
12222         * text.C (rowLast): simplified code
12223
12224 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12225
12226         * lyxfunc.C: fix show options on timeout
12227
12228 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12229
12230         * screen.C (topCursorVisible): scroll half a page when the cursor
12231         reached top of bottom of screen
12232
12233 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12234
12235         * minibuffer.C: deactivate on loss of focus
12236
12237 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12238
12239         * vspace.[Ch] (operator!=): add operator.
12240
12241 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12242
12243         * BufferView_pimpl.C: refuse to open an inset when
12244         there's a selection.
12245
12246 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12247
12248         * BufferView_pimpl.C: allow to click on RHS of full row insets
12249
12250 2001-11-30  Juergen Vigna  <jug@sad.it>
12251
12252         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12253         insets for undo reasons.
12254
12255 2001-11-28  André Pönitz <poenitz@gmx.net>
12256
12257         * vspace.[Ch]: cosmetical changes
12258
12259 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12260
12261         * LyXAction.h:
12262         * LyXAction.C:
12263         * lyxfunc.h:
12264         * lyxfunc.C:
12265         * kbmap.h:
12266         * kbmap.C:
12267         * lyxrc.C:
12268         * kbsequence.h:
12269         * kbsequence.C: part re-write of old kb code
12270
12271         * Painter.C:
12272         * WorkArea.C: remove Lgb_bug_find_hack
12273
12274 2001-11-30  José Matos <jamatos@fep.up.pt>
12275
12276         * buffer.C (makeDocBookFile): add a comment to point a hack.
12277         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12278         Fixed a double write of labels.
12279
12280 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12281
12282         * LaTeX.C:
12283         * LaTeX.h Fixed bug in LaTeX class where it would not
12284         re-run latex if no depfiles were changed, but the .dvi was removed.
12285
12286 2001-11-28  André Pönitz <poenitz@gmx.net>
12287
12288         * all the files from the change on 2001/11/26:
12289         use lyx::layout_type instead of LyXTextClass::size_type
12290         use lyx::textclass_type instead of LyXTextClassList::size_type
12291
12292 2001-11-29  Juergen Vigna  <jug@sad.it>
12293
12294         * text.C: added support for paragraph::isFreeSpacing()
12295
12296         * buffer.C: same as above
12297
12298         * paragraph.h: inserted isFreeSpacing() function to enable
12299         FreeSpacing inside InsetERT.
12300
12301         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12302         of the paragraph's in the cut/copy buffer to 0!
12303
12304         * text2.C (removeRow): remove the assert as it can!
12305
12306         * lyxtext.h: added helper function firstRow returning firstrow and
12307         made firstrow private again.
12308
12309         * BufferView2.C (lockInset): don't relock if we're already locked!
12310
12311         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12312         the only paragraph.
12313         (removeRow): added Assert::(firstrow)
12314
12315         * debug.C: forgot to add INSETTEXT here.
12316
12317 2001-11-28  Juergen Vigna  <jug@sad.it>
12318
12319         * sp_spell.C (initialize): changed error text to more general
12320         spellchecker command use (not only ispell!)
12321
12322         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12323
12324         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12325
12326 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12327
12328         * vspace.C: initialise lyxgluelength on failure
12329
12330 2001-11-28  Allan Rae  <rae@lyx.org>
12331
12332         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12333         declaration & definition that looks like a function declaration.
12334
12335 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12336
12337         * BufferView2.C (copy):
12338         (copyEnvironment): do not clear the selection when doing a copy.
12339
12340         * text.C (paintFirstRow): compilation fix
12341
12342 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12343
12344         * tabular.C (Latex): correct line count when writing latex.
12345
12346 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12347
12348         * paragraph_pimpl.h:
12349         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12350           bug a bit
12351
12352 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12353
12354         * text.C:
12355         * LColor.h:
12356         * LColor.C: change vfillline->added_space
12357
12358         * text.C: add markers and text for added space
12359
12360         * vspace.C: fix comment
12361
12362 2001-11-28  André Pönitz <poenitz@gmx.net>
12363
12364         * paragraph.C: whitespace changes
12365         * all the other files from the change on 2001/11/26:
12366         change *::pos_type into lyx::pos_type
12367
12368 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12369
12370         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12371         language of the document when inserting error insets.
12372
12373 2001-11-26  André Pönitz <poenitz@gmx.net>
12374
12375         * BufferView_pimpl.[Ch]:
12376         *       CutAndPaste.C:
12377         * buffer.[Ch]:
12378         * lyxcursor.[Ch]:
12379         * lyxfind.C:
12380         * lyxfunc.C:
12381         * lyxrow.[Ch]:
12382         * paragraph.[Ch]:
12383         * paragraph_pimpl.[Ch]:
12384         * sp_spell.C:
12385         * text.C:
12386         * text2.C: reduce header dependencies, introduce type for positions
12387
12388 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12389
12390         * <various>: change to use Alert.h
12391
12392 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12393
12394         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12395         when encountering an unknown token.
12396         (readLyXformat2): Show an error message if there were unknown tokens.
12397
12398 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12399
12400         * BufferView2.C:
12401         * BufferView_pimpl.C:
12402         * buffer.C:
12403         * paragraph.h:
12404         * text.C:
12405         * text2.C: use par->isInset()
12406
12407 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12408
12409         * paragraph_pimpl.h:
12410         * paragraph_pimpl.C: cleanup
12411
12412 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12413
12414         * text2.C (removeRow):
12415         * text.C (setHeightOfRow): remove useless (and costly) call to
12416         getRow.
12417
12418 2001-11-20  Allan Rae  <rae@lyx.org>
12419
12420         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12421         Now need Inset*::checkInsertChar() to return true for appropriate
12422         cases so that the characters in the minibuffer will actually be
12423         inserted.
12424
12425 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12426
12427         * text.C: change the order of the includes.
12428         (workWidth): initialize it at once.
12429         (workWidth): make maxw unsigned
12430         (setHeightOfRow): remove unused variable (inset)
12431         (selectSelectedWord): remove unused variable (inset)
12432         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12433
12434 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12435
12436         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12437         server is not running.
12438         (openConnection):
12439         (closeConnection): add debug info when server is disabled.
12440
12441         * ColorHandler.C (getGCForeground): send debug message to GUI
12442         channel.
12443
12444         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12445
12446         * kbmap.C (bind): modify because return conventions of
12447         kb_sequence::parse have changed.
12448
12449         * kbsequence.C (parse): only ignore spaces and not any stupid
12450         control character. This avoids tests like s[i] <= ' ', which are
12451         guaranteed to fail with 8bit characters and signed chars.
12452         Change return code to string::npos when there have been no error
12453         (0 was a bad idea when error is at first character)
12454
12455 2001-11-14  José Matos  <jamatos@fep.up.pt>
12456
12457         * buffer.h:
12458         * buffer.C (simpleDocBookOnePar): removed unused argument.
12459
12460 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12461
12462         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12463         insets which are part of a word. Paragraph::isLetter takes care of
12464         that now. Use Paragraph::isInset to identify insets.
12465         (selectSelectedWord): do not test for hyphenation break.
12466
12467         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12468         that protected spaces are considered as spaces.
12469
12470         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12471         Inset::isLetter.
12472
12473 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12474
12475         * lyxserver.h:
12476         * lyxserver.C: fix it. and small cleanup.
12477
12478 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12479
12480         * BufferView_pimpl.C: use inline helpers
12481
12482         * LaTeXFeatures.h:
12483         * LaTeXFeatures.C: fix typos
12484
12485         * Spacing.h:
12486         * Spacing.C: move spacing_string into class
12487
12488         * ToolbarDefaults.C: move stuff into namespace anon
12489
12490         * layout.h: update enum
12491
12492         * lyxfunc.C: use better debug
12493
12494         * minibuffer.h: fix typo
12495
12496         * debug.h:
12497         * debug.C:
12498         * WorkArea.C: add and use Debug::WORKAREA
12499
12500         * lyxtext.h:
12501         * text.C:
12502         * text2.C: code re-organisation, inline helpers
12503
12504 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12505
12506         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12507         std::vector.empty().
12508
12509 2001-11-09  Allan Rae  <rae@lyx.org>
12510
12511         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12512         '\n's after tables.  Tabular and ERT inset work now makes this no
12513         longer necessary.
12514
12515 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12516
12517         * minibuffer.h:
12518         * minibuffer.C: fix crash, improve drop-down completion
12519
12520 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12521
12522         * lyxserver.h:
12523         * lyxserver.C: invalidate fd's when doing endPipe()
12524
12525 2001-11-08  José Matos  <jamatos@fep.up.pt>
12526
12527         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12528         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12529
12530         * paragraph.h:
12531         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12532
12533 2001-11-07  José Matos  <jamatos@fep.up.pt>
12534
12535         * buffer.h:
12536         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12537         const qualifier.
12538
12539         * buffer.C (sgmlOpenTag):
12540         * buffer.C (sgmlCloseTag): removed debug info.
12541
12542         * buffer.h (sgmlOpenTag):
12543         * buffer.h (sgmlCloseTag): made public.
12544
12545 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12546
12547         * buffer.C (saveParamsAsDefaults):
12548         * lyx_cb.C (MenuLayoutSave): remove
12549
12550         * LyXAction.C (init):
12551         * commandtags.h:
12552         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12553
12554 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12555
12556         * buffer.C (setPaperStuff): removed from here...
12557
12558         * bufferparams.C (setPaperStuff): ... and moved there.
12559
12560 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12561
12562         * minibuffer.h:
12563         * minibuffer.C:
12564         * XFormsView.C: add support for drop-down completion
12565
12566 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12567
12568         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12569         commands.
12570
12571 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12572
12573         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12574         disabled.
12575
12576 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12577
12578         * lyx_main.C: change ref to known bugs
12579
12580 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12581
12582         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12583         to work around older babel problems.
12584
12585 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12586
12587         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12588
12589 2001-10-24  Juergen Vigna  <jug@sad.it>
12590
12591         * tabular-old.C (ReadOld): below variable changes reflected.
12592
12593         * tabular.[Ch]: added ltType struct for longtable header/footer
12594         defines and changed all instances where they are used. Added
12595         future support for double top/bottom rows.
12596
12597 2001-10-24  José Matos  <jamatos@fep.up.pt>
12598
12599         * buffer.h (docbookHandleCaption):
12600         * buffer.C (docbookHandleCaption): removed unused function.
12601         (makeDocBookFile): moved docbook supported version to v4.1.
12602
12603 2001-10-24  José Matos  <jamatos@fep.up.pt>
12604
12605         * tabular.h:
12606         * tabular.C (docbookRow): new function to export docbook code of a row.
12607         (DocBook): now honors the longtable flags.
12608
12609 2001-10-23  José Matos  <jamatos@fep.up.pt>
12610
12611         * LaTeXFeatures.h:
12612         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12613         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12614
12615         * buffer.C (makeLinuxDocFile):
12616         (makeDocBookFile): reworked the preamble, more clean, and with
12617         support for lyx defined entities. Changed the document declaration
12618         to be more XML friendly.
12619
12620         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12621         if we need to output XML that should be done with a filter.
12622
12623 2001-10-22  Juergen Vigna  <jug@sad.it>
12624
12625         * sp_pspell.h (class PSpell): add alive function needed in the
12626         controller to see if the spellchecker could be started.
12627
12628 2001-10-22  Juergen Vigna  <jug@sad.it>
12629
12630         * buffer.C (insertStringAsLines): modify the font for inserting
12631         chars in certain conditions by calling checkInsertChar(font).
12632
12633 2001-10-19  Juergen Vigna  <jug@sad.it>
12634
12635         * text.C (workWidth): use getRow instead of wrong algorithm.
12636         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12637
12638 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12639
12640         * lyxserver.h:
12641         * lyxserver.C:
12642         * lyx_main.h:
12643         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12644
12645 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12646
12647         * text.C (workWidth): do not search for the exact row when
12648         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12649         optimization for big documents.
12650
12651 2001-10-18  Juergen Vigna  <jug@sad.it>
12652
12653         * text.C (workWidth): new function with added Inset * parameter.
12654
12655 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12656
12657         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12658
12659         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12660         change return type of getColumnNearX.
12661
12662
12663         * text.C (changeRegionCase): use uppercase/lowercase instead of
12664         toupper/tolower.
12665         (leftMargin):
12666         (rightMargin): simplify code by factoring out the uses of
12667         textclasslist.
12668         (labelFill):
12669         (numberOfHfills):
12670         (setHeightOfRow):
12671         (appendParagraph): use Paragraph::size_type
12672
12673 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12674
12675         * vspace.C (asLatexString): add a missing break
12676
12677 2001-10-15  Herbert Voss  <voss@perce.de>
12678
12679         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12680
12681 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12682
12683         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12684         is not available.
12685
12686 2001-10-10  André Pönitz <poenitz@gmx.net>
12687
12688         * lyxfunc.C: removed greek_kb_flag.
12689
12690 2001-10-10  Herbert Voss  <voss@perce.de>
12691
12692         * lyx_main.C: delete global string help_lyxdir.
12693
12694 2001-10-09  Herbert Voss  <voss@perce.de>
12695
12696         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12697
12698         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12699
12700         * lyx_main.C: added global string help_lyxdir.
12701
12702         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12703
12704 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12705
12706         * lyxrc.C (set_font_norm_type): support iso8859-4
12707
12708 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12709
12710         * LaTeX.C (deplog): add another regex for MikTeX
12711
12712 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12713
12714         * lyxrc.C (set_font_norm_type): support iso8859-3
12715
12716 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12717
12718         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12719
12720         * LaTeXFeatures.C: remove special case of french and index
12721
12722         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12723         before \begin{document}). This solves several incompatibilities.
12724
12725 2001-10-03  Garst Reese  <reese@isn.net>
12726
12727         * lyx_cb.C: change CheckTex error msg.
12728
12729 2001-10-03  José Matos  <jamatos@fep.up.pt>
12730
12731         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12732
12733 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12734
12735         * .cvsignore: update
12736
12737         * lyx_main.C (commandLineVersionInfo): use new style version info.
12738
12739         * buffer.C (writeFile):
12740         (makeLaTeXFile):
12741         (makeLinuxDocFile):
12742         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12743
12744         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12745
12746         * version.h: update to use stuff in version.C
12747
12748         * version.C.in: new file. Contains version information determined
12749         at compile time. This is a merging of version.h and
12750         version_info.h.in.
12751
12752 2001-10-03  Juergen Vigna  <jug@sad.it>
12753
12754         * BufferView_pimpl.C (update): don't change "dirty" status in
12755         updateInset call.
12756
12757 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12758
12759         * WorkArea.C (c-tor): re-position version string slightly.
12760
12761 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12762
12763         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12764         revert to previous code.
12765
12766         WorkArea.[Ch]: (show, destroySplash): methods removed.
12767
12768         WorkArea.C: rework code so that it's an amalgam of the codes before and
12769         after the splash screen was moved to WorkArea.
12770
12771 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12772
12773         * lyxrc.C (read):
12774         * vspace.C (inPixels):
12775         (lyx_advance):
12776         * kbmap.C (bind):
12777         * buffer.C (insertStringAsLines):
12778         (asciiParagraph): fix types to be large enough
12779
12780         * lyxlex_pimpl.h: change member status from short to int
12781
12782         * layout.h: fix type of endlabeltype
12783
12784         * kbmap.C (bind):
12785         * kbsequence.C (parse): change return type to string::size_type
12786
12787         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12788         variable
12789
12790         * Bullet.C (bulletSize):
12791         (bulletEntry): do not use short ints as parameters
12792
12793         * BufferView2.C (insertLyXFile): change a char to an int.
12794
12795         * WorkArea.C (WorkArea): remove unneeded floats in computation
12796
12797 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12798
12799         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12800
12801         * paragraph.C (asString): Do not ignore newline/hfill chars when
12802         copying to the clipboard.
12803
12804 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12805
12806         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12807         after a multi-line inset.
12808
12809 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12810
12811         * paragraph.C (validate): Set NeedLyXFootnoteCode
12812
12813 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12814
12815         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12816         and decrease-error to decrease.
12817
12818 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12819
12820         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12821         it more readable (should be equivalent)
12822
12823 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12824
12825         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12826
12827 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12828
12829         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12830         of a cursor (row, etc.) after a character has been deleted
12831         (deleteEmptyParagraphMechanism): call the method above on _all_
12832         cursors held by the LyXText when a double space has been
12833         detected/deleted.
12834
12835 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12836
12837         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12838         pixmap.
12839         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12840
12841         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12842         background. Use greyOut() and the new show() methods to toggle between
12843         the foreground and background. Add code to remove the splash after
12844         its initial showing.
12845
12846         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12847         (create_forms): no longer call Dialogs::showSplash.
12848
12849 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12850
12851         * .cvsignore: add version_info.h
12852
12853 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12854
12855         * version_info.h.in: new file
12856
12857         * Makefile.am: add version_info.h.in
12858
12859         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12860         version_info.h instead of VERSION_INFO
12861
12862 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12863
12864         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12865         The ERT inset now returns string().
12866
12867 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12868
12869         * lyxtext.h, text.C (selectNextWord): renamed as
12870         selectNextWordToSpellcheck.
12871
12872         * text.C (selectNextWordToSpellcheck): Modified to not select
12873         words inside an ERT inset.
12874
12875 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12876
12877         * lyx_cb.C (MenuLayoutSave): change a bit the question
12878
12879         * sp_base.h: include <sys/types.h>
12880
12881 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12882
12883         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12884
12885 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12886
12887         * several files: fix typos in user-visible strings
12888
12889 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12890
12891         * text2.C (pasteSelection): do not set the selection, since it
12892         will be cleared later. Actually, the intent was to fix the way the
12893         selection was set, but I figured rmoving the code was just as good.
12894
12895 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12896
12897         * FontLoader.C (available): Check if font is available without
12898         loading the font.
12899
12900 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12901
12902         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12903
12904 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12905
12906         * lyxrc.[Ch]: added display_graphics variable and associated code.
12907
12908 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12909
12910         * bufferparams.C (hasClassDefaults): new method. Returns true if
12911         the buffer parameters correspond to known class defaults
12912
12913 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12914
12915         * XFormsView.C (show): set minimum size to the main window.
12916
12917 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12918
12919         * text2.C (copySelection):
12920         (cutSelection):
12921         * lyxfind.C (LyXReplace):
12922         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12923         LyXText::selectionAsString.
12924
12925         * paragraph.C (asString): add "label" argument to the second form
12926
12927         * text2.C (selectionAsString): add "label" argument and pass it to
12928         Paragraph::asString.
12929
12930 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12931
12932         * lyx_main.C (commandLineHelp): remove version information
12933
12934 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12935
12936         * lyx_main.C: add -version commandline option
12937
12938 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12939
12940         * paragraph.h: make the optional constructor arg required instead.
12941         some modifications to other files because of this.
12942
12943         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12944
12945         * lyxserver.C (C_LyXComm_callback): make it static
12946
12947         * lyx_main.C (error_handler): make it static
12948
12949         * lyx_gui.C (LyX_XErrHandler): make it static
12950
12951         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12952
12953         * WorkArea.C: make the extern "C" methods static.
12954
12955         * Makefile.am (lyx_LDADD): simplify
12956
12957 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12958
12959         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12960         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12961
12962         * LyXAction.C (init):
12963         * lyxfunc.C (dispatch): associated code removal.
12964
12965 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12966
12967         * lyxfont.h (isSymbolFont): shut off warning
12968
12969         * text.C (setHeightOfRow):
12970         (getVisibleRow): fix crash with empty paragraphs which have a
12971         bottom line
12972
12973 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12974
12975         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12976         code.
12977
12978 2001-09-04  José Matos  <jamatos@fep.up.pt>
12979         * buffer.C
12980         * buffer.h
12981         * tabular.C (docbook): rename docBook method to docbook.
12982
12983 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12984
12985         * Makefile.am: add dependencies to main.o.
12986
12987 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12988
12989         * FontLoader.C (available): Return false if !lyxrc.use_gui
12990
12991 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12992
12993         * FontInfo.C (query):
12994         * converter.C (view):
12995         * importer.C (Import):
12996         * exporter.C (Export): Can not -> cannot.
12997
12998 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12999
13000         * BufferView_pimpl.C: allow to create index inset even if
13001           string is empty
13002
13003 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13004
13005         * buffer.C (getLists): replace boost::tie code with an explicit pair
13006         as boost::tie can break some compilers.
13007
13008         * iterators.h: Added a std:: declaration to the return type of
13009         ParIterator::size.
13010
13011 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13012
13013         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13014           case.
13015
13016 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13017
13018         * iterators.[Ch]: New files. Provide paragraph iterators.
13019
13020         * buffer.C (changeLanguage): Use paragraph iterators.
13021         (isMultiLingual): ditto
13022
13023         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13024
13025 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13026
13027         * FontLoader.C: Support for cmr font.
13028
13029 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13030
13031         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13032         (available): New method.
13033
13034         * FontInfo.C (getFontname): Use scalable fonts even when
13035         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13036         found.
13037
13038 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13039
13040         * converter.C (Formats::view): reverted! Incorrect fix.
13041
13042 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13043
13044         * converter.C (Formats::view): only output the -paper option
13045         if the dvi viewer is xdvi, thereby fixing bug #233429.
13046
13047 2001-08-23  Herbert Voss  <voss@perce>
13048
13049         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13050
13051 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13052
13053         * Spacing.h (Spacing): Set space to Default on in the default
13054         constructor.
13055
13056 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13057
13058         * vc-backend.h (RCS::versionString): add RCS to version
13059         (CVS::versionString): add CVS to version
13060
13061         * vc-backend.C (scanMaster): do not add CVS to version.
13062         (scanMaster): do not add RCS to version
13063
13064         * lyxvc.C (versionString): new method
13065
13066         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13067
13068 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13069
13070         * Spacing.C (set): initialize fval
13071
13072 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13073
13074         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13075         " or \.
13076
13077 2001-08-16  Juergen Vigna  <jug@sad.it>
13078
13079         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13080
13081 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13082
13083         * BufferView_pimpl.C:
13084         * figureForm.C:
13085         * lyxtext.h:
13086         * text2.C: setParagraph takes linespacing now
13087
13088 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13089
13090         * LyxAction.C: add internal LFUN_CITATION_INSERT
13091
13092         * LyXView.C: actually apply fix
13093
13094         * bufferlist.C: fix open non-existent file
13095
13096         * lyxfind.C: fix indentation
13097
13098         * lyxfunc.C: remove unneeded assert, fix typo
13099
13100 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13101
13102         * MenuBackend.C: use "Floatname List"
13103
13104 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13105
13106         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13107         when converting LaTeX layout to insetERT.
13108         Generate a non-collapsed float when reading old float
13109
13110 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13111
13112         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13113         ERT insets.
13114
13115 2001-08-13  Juergen Vigna  <jug@sad.it>
13116
13117         * text.C (fill): return 0 instead of 20 as this seems to be the more
13118         correct value.
13119
13120 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13121
13122         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13123         lyxrc.font_norm.
13124
13125 2001-08-13  Juergen Vigna  <jug@sad.it>
13126
13127         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13128         casesensitive off.
13129         (SearchBackward): comment out the unlocking of the inset_owner this
13130         should not be needed!
13131
13132 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13133
13134         * Many files: Remove inherit_language, and add latex_language
13135
13136         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13137         collapsible insets.
13138
13139 2001-08-10  Juergen Vigna  <jug@sad.it>
13140
13141         * text.C (prepareToPrint): fixed hfill-width in draw!
13142
13143         * BufferView2.C (selectLastWord): save the selection cursor as this
13144         now is cleared in the function LyXText::clearSelection!
13145
13146 2001-08-08  Juergen Vigna  <jug@sad.it>
13147
13148         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13149         BACKSPACE type functions.
13150
13151         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13152         is only cutted from the document but not put in the cut-buffer, where
13153         still the old stuff should be.
13154
13155         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13156
13157         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13158
13159         * tabular.C (SetWidthOfCell): fixed special case where the width
13160         was not updated!
13161         (LeftLine): handle '|' in align_special.
13162         (RightLine): ditto
13163         (LeftAlreadyDrawed): ditto
13164         (SetWidthOfCell): ditto
13165
13166 2001-08-07  Juergen Vigna  <jug@sad.it>
13167
13168         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13169
13170 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13171
13172         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13173         * lyxlex.[hC]: ditto
13174
13175 2001-08-06  Juergen Vigna  <jug@sad.it>
13176
13177         * text.C (getVisibleRow): fix up row clearing a bit.
13178
13179 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13180
13181         * minibuffer.C: make sure the X server sees the changes in the input.
13182
13183 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13184
13185         * paragraph.C (getFont): split into...
13186         (getLabelFont): this
13187         (getLayoutFont): and this
13188         * paragraph_pimpl.C (realizeFont): calling this
13189
13190         * text2.C (getFont): split into...
13191         (getLayoutFont): this
13192         (getLabelFont): and this
13193         (realizeFont): all three calling this
13194
13195         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13196         files where used.
13197
13198 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13199
13200         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13201
13202 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13203
13204         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13205         layouts from the Quote inset insertion.
13206
13207 2001-08-03  Juergen Vigna  <jug@sad.it>
13208
13209         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13210
13211         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13212         only if status not is already CHANGED_IN_DRAW (second level).
13213
13214         * text.C (draw): don't set the need_break_row when inside an
13215         InsetText LyXText.
13216
13217 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13218
13219         * buffer.C (parseSingleLyXformat2Token): handle more latex
13220         conversion cases.
13221
13222         * bufferview_funcs.[hC]: change function names to
13223         begin with small char, adjust other files.
13224
13225 2001-08-02  André Pönitz <poenitz@gmx.net>
13226
13227         * lyxfunc.C:
13228         BufferView_pimpl.C: remove broken special code for math-greek
13229
13230 2001-08-02  Juergen Vigna  <jug@sad.it>
13231
13232         * BufferView_pimpl.C (update): redone this function so that we
13233         update the text again if there was a CHANGE_IN_DRAW.
13234
13235         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13236         (drawFromTo): added a new internal bool which is used by draw() and
13237         redraw() function.
13238         (general): some cursor drawing problems fixed.
13239
13240 2001-08-01  Juergen Vigna  <jug@sad.it>
13241
13242         * lyxfind.C (LyXFind): fixed
13243         (SearchForward): ditto
13244         (SearchBackward): ditto
13245
13246         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13247         spurius drawing of the cursor in the main area.
13248
13249         * text2.C (status): small fix which could lead to a segfault!
13250         (clearSelection): remove unneeded BufferView param.
13251
13252 2001-08-01  André Pönitz <poenitz@gmx.net>
13253
13254         * lyxfunc.C: small change due to changed mathed interface
13255
13256 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13257
13258         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13259
13260 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13261
13262         * lyxfunc.c: fail gracefully if file doesn't exist
13263
13264         * LyXSendto.C:
13265         * buffer.C:
13266         * lyxfunc.C:
13267         * BufferView_pimpl.C: IsDirWriteable() proto changed
13268
13269         * LyXView.C: fix updateWindowTitle() to store the last title
13270
13271 2001-07-31  Juergen Vigna  <jug@sad.it>
13272
13273         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13274         the font (wrong since using of Paragraph::highestFontInRange).
13275
13276         * paragraph.C (highestFontInRange): added a default_size parameter.
13277
13278         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13279         (setHeightOfRow): reformat
13280
13281 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13282
13283         * converter.[hC] + affected files: move to (inital-char)lowercase
13284         function names.
13285
13286         * ParagraphParameters.C (ParagraphParameters): remove commented code
13287
13288         * PainterBase.[Ch]: remove commented code
13289
13290         * LaTeXFeatures.h: add "bool floats" for float.sty
13291
13292         * LaTeXFeatures.C (LaTeXFeatures): init floats
13293         (require): handle float
13294         (getPackages): do it with floats
13295
13296 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13297
13298         * BufferView_pimpl.C (Dispatch): improve handling of
13299         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13300
13301         * commandtags.h: #include lyxfont.h here temporarily to avoid
13302         keybinding bug.
13303
13304         * bufferlist.h: include LString.h here.
13305
13306 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13307
13308         * text2.C (getStringToIndex): new method.
13309
13310 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13311
13312         * *: Reduced header file dependencies all over.
13313
13314 2001-07-30  Baruch Even  <baruch@lyx.org>
13315
13316         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13317
13318 2001-07-29  Baruch Even  <baruch@lyx.org>
13319
13320         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13321
13322 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13323
13324         * ParameterStruct.h (endif): add a default constructor to make
13325         sure that all variables is initialized.
13326
13327         * ParagraphParameters.C (ParagraphParameters): adjust
13328
13329 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13330
13331         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13332         index; also, check that there is something to index, and that it
13333         does not span over several paragraphs.
13334         (doubleClick): use WHOLE_WORD_STRICT for double click.
13335
13336         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13337
13338         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13339         scheme.
13340
13341 2001-07-26  Baruch Even  <baruch@lyx.org>
13342
13343         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13344         an InsetFig figure, backwards compatible reading of old figure code.
13345
13346 2001-07-27  Juergen Vigna  <jug@sad.it>
13347
13348         * text2.C: font.realize function adaption.
13349
13350         * text.C (draw): add a warnings lyxerr text if needed.
13351
13352         * layout.C: font.realize function adaption.
13353
13354         * language.C: add inherit_language and implement it's handlings
13355
13356         * bufferview_funcs.C (StyleReset): remove language parameter from
13357         font creation (should be language_inherit now).
13358
13359         * bufferparams.C (writeFile): handle ignore_language.
13360
13361         * paragraph.C (getFontSettings): the language has to be resolved
13362         otherwise we have problems in LyXFont!
13363
13364         * lyxfont.C (lyxWriteChanges): added document_language parameter
13365         (update): removed unneeded language parameter
13366
13367         * paragraph.C (validate): fixed wrong output of color-package when
13368         using interface colors for certain fonts in certain environments,
13369         which should not seen as that on the final output.
13370
13371 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13372
13373         * BufferView_pimpl.C:
13374         * Thesaurus.h:
13375         * Thesaurus.C:
13376         * Makefile.am:
13377         * commandtags.h:
13378         * LyXAction.C: add thesaurus support
13379
13380         * lyxfind.h:
13381         * lyxfind.C: add "once" parameter, for thesaurus, to not
13382           move to the next match
13383
13384 2001-07-26  Juergen Vigna  <jug@sad.it>
13385
13386         * lyxfont.C (realize): honor ignore_language too!
13387         (resolved): ditto.
13388
13389         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13390
13391         * text.C (draw): one place more for ignore_language to not draw
13392         itself!
13393
13394 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13395
13396         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13397
13398 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13399
13400         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13401         the minipage conversion problem.
13402
13403 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13404
13405         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13406         insert an inset.
13407
13408 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13409
13410         * BufferView.h: don't forward declare WorkArea
13411
13412         * BufferView.C: don't include WorkArea.h
13413
13414 2001-07-25  André Pönitz <poenitz@gmx.net>
13415
13416         * commandtags.h:
13417         * LyXAction.C:
13418         * lyxfunc.C:  new LFUN 'math-space'
13419
13420         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13421
13422 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13423
13424         * text2.C (toggleInset): call open/close
13425
13426 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13427
13428         * lyxfunc.C (dispatch): add debug for the disabled case
13429
13430         * font.C (buttonText): make similar to rectText
13431
13432         * buffer.C (readInset): comment out parsing of insetlist and
13433         insttheorem
13434
13435         * PainterBase.C (rectText): small correction
13436
13437         * BufferView_pimpl.C: comment out insettheorem and insetlist
13438         * LyXAction.C: ditto
13439         * commandtags.h: ditto
13440
13441 2001-07-24  Juergen Vigna  <jug@sad.it>
13442
13443         * text.C (draw): honor the ignore_language.
13444
13445         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13446
13447 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13448
13449         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13450         char inset.
13451
13452 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13453
13454         * lyxtext.h: remove unused (and unimplemented) methods
13455
13456 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13457
13458         * text.C (getVisibleRow): honor background color
13459
13460         * PainterBase.h:
13461         * Painter.h: remove default color argument for fillRectangle
13462
13463         * text.C (backgroundColor): new method
13464
13465 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13466
13467         * text.C (getVisibleRow): adjust
13468
13469         * font.[Ch] (rectText): new method, metrics
13470         (buttonText): new method, metrics
13471
13472         * PainterBase.[hC]: make rectText and buttonText always draw and take
13473         fewer paramteres.
13474
13475 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13476
13477         * ToolbarDefaults.C (read):
13478         * MenuBackend.C (read): allow escaping in all strings
13479
13480         * BufferView_pimpl.C (insertAndEditInset): new method.
13481         (Dispatch): use insertAndEditInset whenever appropriate.
13482
13483         * BufferView_pimpl.C (insertNote): removed
13484
13485         * BufferView_pimpl.C (smartQuote): new method, moved from
13486         BufferView; if an insetquote cannot be inserted, insert a '"'
13487         character instead.
13488
13489         * BufferView2.C: remove insertCorrectQuote();
13490
13491         * lyxfunc.C (getStatus): Add support for all remaingin
13492         inset-insert lfuns.
13493
13494         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13495
13496         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13497         command (necessary to pass " as parameter of self-insert.
13498
13499         * text.C (selectWordWhenUnderCursor):
13500         (selectWord): add word_location parameter
13501         (selectWordWhenUnderCursor): same + remove special code for word
13502         boundary.
13503         (selectNextWord): use kind() to guess type of insetspecialchar,
13504         not latex().
13505
13506         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13507         (insertErtContents): create ert insets as collapsed.
13508         (readInset): better compatibility code for Info inset.
13509
13510 2001-07-20  Juergen Vigna  <jug@sad.it>
13511
13512         * lyxfunc.C (dispatch): use always LyXFind now!
13513
13514         * text2.C (init): add a reinit flag so that the LyXText can be
13515         reinited instead of deleted and reallocated (used in InsetText).
13516
13517         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13518
13519         * text.C: ditto
13520
13521         * text2.C: ditto
13522
13523 2001-07-18  Juergen Vigna  <jug@sad.it>
13524
13525         * text.C (selectNextWord): handle insets inside inset by calling
13526         always the bv->text functions so that we can go up the_locking_inset!
13527
13528         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13529         in strange locations when inside an inset!
13530
13531         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13532         handling to include insets.
13533
13534         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13535
13536 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13537
13538         * LyXAction.C (init):
13539         * commandtags.h:
13540         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13541         LIGATURE_BREAK, since the name is so stupid.
13542
13543 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13544
13545         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13546         InsetInfos.
13547
13548         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13549
13550         * sp_form.[Ch]: remove.
13551
13552         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13553
13554         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13555         InsetInfo.
13556
13557         * src/buffer.C (readInset): ditto.
13558
13559 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13560
13561         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13562         menuSeparator(), endOfSentenceDot(), ldots() and
13563         hyphenationPoint(), which are therefore removed.
13564         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13565
13566         * LyXAction.C (init):
13567         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13568
13569         * paragraph.C (getWord): removed.
13570
13571         * BufferView_pimpl.C (Dispatch): use last word or selection for
13572         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13573
13574         * lyx_main.C (queryUserLyXDir): do not ask before creating
13575         user_dir, except if it has been named explicitely.
13576
13577 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13578
13579         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13580         a document of zero size.
13581
13582 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13583
13584         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13585         approriately in the c-tor and in require().
13586         (getPackages): output the appropriate LaTeX for natbib support.
13587
13588         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13589         variables "use_natbib" and "use_numerical_citations" when reading the
13590         LyX file.
13591         (readInset): read the various natbib cite commands.
13592         (validate): white-space change.
13593
13594         * bufferparams.[Ch]: new variables "bool use_natbib" and
13595         "bool use_numerical_citations".
13596         (writeFile): output them in the LyX file.
13597
13598 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13599
13600         * lyxfunc.C (getStatus): add support for all the inset insertion
13601         commands.
13602
13603         * text2.C (insertInset):
13604         * paragraph.C (insetAllowed):
13605         * BufferView_pimpl.C (insertInset): update to take in account the
13606         renaming of insertInsetAllowed
13607
13608         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13609
13610         * text2.C (getInset): new method. returns inset at cursor position.
13611
13612         * BufferView_pimpl.C (Dispatch): changes because of this.
13613
13614         * LyXAction.C (init): rename open-stuff to inset-toggle.
13615
13616         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13617
13618         * text2.C (toggleInset): renamed from openStuff; use
13619         Inset::open().
13620
13621 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13622
13623         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13624
13625         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13626
13627 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13628
13629         * buffer.C (readLyXformat2): Add filename to the error dialog
13630
13631 2001-07-18  Juergen Vigna  <jug@sad.it>
13632
13633         * tabular.C (GetCellNumber): put an assert here instead of the check!
13634
13635 2001-07-17  Juergen Vigna  <jug@sad.it>
13636
13637         * BufferView_pimpl.C (toggleSelection): adapted too.
13638
13639         * text.C (selectNextWord): adapted for use with insets.
13640         (selectSelectedWord): ditto
13641
13642 2001-07-17  Juergen Vigna  <jug@sad.it>
13643
13644         * sp_spell.C (PSpell): fix initialitation order.
13645
13646 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13647
13648         * paragraph.C: spacing
13649
13650 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13651
13652         * sp_spell.C: repair language selection for pspell
13653
13654 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13655
13656         * lyxfunc.h: change more methods to begin with lower char.
13657
13658 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13659
13660         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13661         for unknown layouts.
13662
13663 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13664
13665         * buffer.C (readLyXformat2): Generate an error dialog if there are
13666         unknown layouts.
13667
13668 2001-07-16  Juergen Vigna  <jug@sad.it>
13669
13670         * sp_spell.C: always compile ISpell part.
13671
13672         * lyxrc.C: added use_pspell entry and it's handling.
13673
13674 2001-07-13  Juergen Vigna  <jug@sad.it>
13675
13676         * sp_spell.C: removed double includes.
13677
13678 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13679
13680         Consistent use of Lsstream.h:
13681         * Lsstream.h: added using std::stringstream for consistencies sake.
13682
13683         * buffer.C: removed using std::stringstream
13684
13685         * lyxfont.C (stateText):
13686         * paragraph.C (asString):
13687         * text.C (selectNextWord, selectSelectedWord):
13688         * text2.C (setCounter):
13689         * vspace.C (asString, asLatexString):
13690         std::ostringstream -> ostringstream.
13691
13692 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13693
13694         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13695         * commandtags.h: add LFUN_HELP_ABOUTLYX
13696         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13697
13698 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13699
13700         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13701         cursorToggle()
13702         * lyx_gui_misc.C: remove spellchecker
13703         * lyxfunc.C: showSpellchecker
13704         * sp_base.h: added
13705         * sp_ispell.h: added
13706         * sp_pspell.h: added
13707         * sp_spell.C: added
13708         * sp_form.[Ch]: removed
13709         * spellchecker.[Ch]: removed
13710
13711 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13712
13713         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13714         is set.
13715         (simpleTeXSpecialChars): Simply print the input character without
13716         any special translation if pass_thru is set.
13717
13718         * layout.h: Added bool pass_thru to layout class for being able to
13719         implement pass through of a paragraph for Literate Programming.
13720
13721         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13722         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13723         * layout.C (Read): add "passthru" to list of layout tags and add
13724         code to set the pass_thru boolean when it is read.
13725
13726 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13727
13728         * trans_decl.h: remove allowed from KmodInfo
13729
13730         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13731         remove allowed code
13732         (Load): adjust
13733
13734         * paragraph_pimpl.C (erase): use boost::prior
13735
13736         * Painter.C (text): use data() instead of c_str() when length is
13737         also provided.
13738         * WorkArea.C (putClipboard): ditto
13739         * font.h (width): ditto
13740
13741         * BufferView2.C: use it-> instead of (*it). for iterators
13742         * texrow.C: ditto
13743         * paragraph_pimpl.C: ditto
13744         * paragraph.C: ditto
13745         * minibuffer.C: ditto
13746         * language.C: ditto
13747         * kbmap.C: ditto
13748         * encoding.C: ditto
13749         * counters.C: ditto
13750         * converter.C: ditto
13751         * chset.C: ditto
13752         * Variables.C: ditto
13753         * TextCache.C: ditto
13754         * MenuBackend.C: ditto
13755         * LyXAction.C: ditto
13756         * LColor.C: ditto
13757         * FloatList.C: ditto
13758         * DepTable.C: ditto
13759         * ColorHandler.C (LyXColorHandler): ditto
13760
13761 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13762
13763         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13764
13765         * text2.C (openStuff): reintroduce this method (which had been
13766         nuked in NEW_INSETS frenzy).
13767
13768         * lyxfunc.C (Dispatch): when an action has not been handled, use
13769         its name in the error message, not its number.
13770
13771         * paragraph.C (inInset): change method name to begin with lowercase.
13772
13773         * undo_funcs.C:
13774         * text2.C: updates because of this.
13775
13776 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13777
13778         * ToolbarDefaults.C (add): add spaces in error message
13779
13780 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13781
13782         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13783         (readLyXformat2): rename return_par to first_par, use lyxlex's
13784         pushToken and remove the manual push handling.
13785         (parseSingleLyXformat2Token): add another ert comp. variable:
13786         in_tabular, rename return_par to first_par. handle newlines better
13787
13788 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13789
13790         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13791
13792 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13793
13794         * text2.C (getParFromID): removed
13795
13796         * buffer.C (getParFromID): new method moved form lyxtext.
13797         * BufferView2.C (insertErrors): adjust
13798         (setCursorFromRow): adjust
13799         * BufferView_pimpl.C (restorePosition): adjust
13800         * lyxfunc.C (Dispatch): adjust
13801         * undo_funcs.C (textUndo): adjust
13802         (textRedo): adjust
13803         (textHandleUndo): adjust
13804         (textHandleUndo): adjust
13805
13806 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13807
13808         * buffer.C: up' the LYX_FORMAT
13809
13810         * lyxfont.h: turn NO_LATEX on as default
13811
13812         * buffer.C (insertErtContents): new methods of tex style compability.
13813         (parseSingleLyXformat2Token): use it several places.
13814         * tabular.C (OldFormatRead): and here
13815
13816 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13817
13818         * text2.C: remove some commented code.
13819         reindent file.
13820
13821         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13822         * trans.C: changes because of the above.
13823
13824 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13825
13826         * text2.C (setCounter): Fix counters bug with bibliography layout.
13827
13828 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13829
13830         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13831         own member functions
13832         (simpleTeXSpecialChars): ditto
13833
13834 2001-07-06  Juergen Vigna  <jug@sad.it>
13835
13836         * a lot of files: changed the access to LyXText::status and the
13837         call of undo-functions.
13838
13839         * undo.[Ch]: added a inset_id to the undo informations.
13840
13841         * undo_funcs.[Ch]: added and moved here all undo functions.
13842
13843         * lyxtext.h: give the status enum a weight, made status_ a private
13844         variable and made accessor functions for it, removed the whole bunch
13845         of undo-functions as they are now in their own file, make some
13846         functions publically available. Added function ownerParagraph with
13847         int parameter.
13848
13849         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13850         made InInset() a const function, added getParFromID() function.
13851
13852         * buffer.[Ch]: added const version for inset_iterator functions,
13853         added getInsetFromID() function.
13854
13855         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13856         changed undo functions for new version.
13857
13858 2001-07-05  Juergen Vigna  <jug@sad.it>
13859
13860         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13861         unknow mechanism does not call the proper constructor but only this
13862         one also if I request the other!?
13863
13864 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13865
13866         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13867
13868         * text2.C (LyXText): use initialization lists.
13869
13870         * lyxtext.h (Selection): initialize set_ and mark_
13871         (init): remove method
13872
13873 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13874
13875         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13876
13877 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13878
13879         * screen.[Ch]: change method names to begin with lowercase
13880
13881         * BufferView_pimpl.C (updateScrollbar): simplify further and
13882         hopefully make it a bit faster.
13883
13884 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13885
13886         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13887         calling directly xforms functions.
13888
13889         * Painter.C (Painter):
13890         * lyx_cb.C (MenuWrite):
13891         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13892         fl_display.
13893
13894         * lyx_gui.C: remove bogus guiruntime extern declaration.
13895
13896 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13897
13898         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13899         in NEW_INSETS
13900         (redoDrawingOfParagraph): ditto
13901         (redoParagraphs): ditto
13902         (cutSelection): don't create a object for CutAndPaste use the
13903         static method directly
13904         (pasteSelection): ditto
13905
13906         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13907         LyXview (+ rename)
13908
13909 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13910
13911         * modifications to some other files because of this.
13912
13913         * Makefile.am (lyx_SOURCES): add XFormsView
13914
13915         * XFormsView.[Ch]: new files
13916
13917         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13918         the main window. Move the gui dependent stuff to XFormsView
13919
13920 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13921
13922         * tabular.C (GetCellInset): update cur_cell also in the row/col
13923         version of this function.
13924
13925         * lyxfunc.C: no need to include figure_form.h here.
13926
13927         * FontLoader.h:
13928         * lyxfunc.h:
13929         * lyxscreen.h:
13930         * text2.C:
13931         * lyxvc.C: no need to include forms.h here.
13932
13933 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13934
13935         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13936
13937         * lyxfunc.C (Dispatch):
13938         * Spacing.C (set):
13939         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13940         constructor argument.
13941
13942 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13943
13944         * paragraph.C (Paragraph): dont't clear, and just set layout.
13945         (makeSameLayout): use params's copy contructor.
13946
13947         * ParagraphParameters.[Ch] (makeSame): delete method
13948
13949 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13950
13951         * Variables.[Ch]: fix indentation, rename set to isSet
13952
13953 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13954
13955         * lyxfunc.C (Dispatch): fix typo
13956
13957 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13958
13959         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13960         upper_bound.
13961
13962         * bufferlist.C: include assert.h for emergencyWrite().
13963
13964 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13965
13966         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13967           give up at last (bug #425202) !
13968
13969 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13970
13971         * lyx_gui_misc.C:
13972         * sp_form.h:
13973         * sp_form.C:
13974         * spellchecker.h:
13975         * spellchecker.C: strip spellchecker options and bring up
13976           preferences tab instead
13977
13978 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13979
13980         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13981         the istringstream constructor
13982
13983 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13984
13985         * paragraph.C (getLayout): fix return value
13986
13987         * paragraph.h: do not declare getLayout as inline.
13988
13989         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13990
13991 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13992
13993         * lyxcursor.h (operator<): new func
13994         (operator>): new func
13995         (operator>=): new func
13996         (operator<=): new func
13997
13998         * text.C (changeCase): use selection.start and selection.end
13999         (changeRegionCase): require from to be <= to. Require par to be a
14000         valid paragraph.
14001
14002         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14003
14004 2001-06-27  Juergen Vigna  <jug@sad.it>
14005
14006         * text.C (cursorLeftOneWord): changed to return the cursor and added
14007         overlay with BufferView * parameter which calls this one.
14008         (getWord): added
14009         (selectWord): use new getWord function.
14010         (changeCase): renamed from changeWordCase as and extended to work
14011         also on selections.
14012
14013         * lyxtext.h: added enum word_location
14014
14015         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14016         changeCase as this operates now also on selections.
14017
14018 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14019
14020         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14021
14022         * many files: send debug output to Debug::INFO instead of
14023         Debug::ANY.
14024
14025         * converter.C (View):
14026         (Convert):
14027         (Move): send debug output to Debug::FILES instead of console.
14028
14029 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14030
14031         * lyxfunc.C (getStatus): use func_status
14032
14033         * func_status.h: new header, describing the results of
14034         LyXFunc::getStatus;
14035
14036         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14037         LFUN_MATH_HALIGN.
14038
14039 2001-06-25  The LyX Project  <jug@sad.it>
14040
14041         * buffer.C (sgmlOpenTag):
14042         (sgmlCloseTag):
14043         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14044
14045 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14046
14047         * text2.C: remove some dead code
14048
14049         * tabular.C (GetCellInset): store the last cell checked (gotten)
14050
14051         * tabular.h: add the helper for the speedup
14052
14053         * lyxtext.h: remove some dead code
14054
14055 2001-06-26  The LyX Project  <Asger>
14056
14057         * paragraph.C: Change export to LaTeX of alignment to
14058         \begin{center} and family for better roundtrip work with reLyX.
14059
14060         * Tune the math drawing a bit.
14061
14062 2001-06-25  The LyX Project  <Asger>
14063
14064         * LColor.C (LColor): New color for math background. New color
14065         for buttons.
14066
14067 2001-06-25  The LyX Project  <jug@sad.it>
14068
14069         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14070
14071         * lyxfunc.C (Open):
14072         * bufferlist.C (newFile): do not restrict to files ending with
14073         .lyx
14074
14075         * BufferView_pimpl.C (MenuInsertLyXFile):
14076
14077 2001-06-24  The LyX Project  <jug@sad.it>
14078
14079         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14080         of compare_no_case
14081
14082 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14083
14084         * lyxtext.h: rename most methods to begin with a small char.
14085         Lots of changes because of this.
14086
14087         * paragraph.C (Paragraph): do not call fitToSize
14088         (erase): call Pimpl::erase
14089         (insertChar): call Pimpl::insertChar
14090         (insertInset): call Pipl::insertInset
14091         (breakParagraph): do not call fitToSize
14092         (breakParagraphConservative): do not call fitToSize
14093         (fitToSize): remove method
14094
14095         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14096
14097 2001-06-24  The LyX Project  <Asger>
14098
14099         * Fix Qt compilation^2
14100
14101 2001-06-24  The LyX Project  <jug@sad.it>
14102
14103         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14104         depthHook(getDepth()-1).
14105
14106         * paragraph.h:
14107         * ParagraphParameters.h:
14108         * ParameterStruct.h: change type of depth to unsigned int ==
14109         depth_type. Many adaptations to other files before of that.
14110
14111 2001-06-24  The LyX Project  <Asger>
14112
14113         * Fix Qt compilation.
14114
14115 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14116
14117         * paragraph.h: renamed several methods to begin with small letter.
14118         several changes to many parts of the code because of this.
14119
14120 2001-06-23  The LyX Project  <jug@sad.it>
14121
14122         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14123         rewritten to discard all double spaces when KeepEmpty is off
14124         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14125         to only handle newlines but not fiddle with spaces and friends.
14126
14127         * lyxfunc.C (MenuNew): when doing 'new from template', use
14128         template_path as default directory
14129
14130 2001-06-23  The LyX Project  <Asger>
14131
14132         * Clean-up of header file includes all over
14133         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14134
14135 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14136
14137         * paragraph.h: renamed from lyxparagraph.h
14138
14139 2001-06-23  Asger  <lyx@violet.home.sad.it>
14140
14141         * Buffer.h: Removed Buffer::resize
14142         * BufferList.h: Removed BufferList::resize
14143         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14144         the document lazily when we change the width, or the font settings.
14145
14146 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14147
14148         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14149
14150 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14151
14152         * buffer.h: remove out of date comment
14153
14154 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14155
14156         * lyxscreen.h:
14157         * screen.C: fix "theoretical" GC leak
14158
14159 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14160
14161         * LaTeX.C (scanAuxFile):
14162         (deplog): remove trailing \r when reading stream (useful under
14163         win32)
14164
14165 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14166
14167         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14168         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14169         and BufferView::theLockingInset(Inset*), so should use them and not
14170         access bv_->text->the_locking_inset directly.
14171
14172         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14173
14174 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14175
14176         * Makefile.am:
14177         * tex-defs.h: remove old unused file
14178
14179 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14180
14181         * BufferView_pimpl.C: fix typo, remove minibuffer message
14182           when buffer has loaded
14183
14184 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14185
14186         * lyxfunc.C (Dispatch): use stringstream
14187         (MenuNew): use stringstream
14188         (Open): use stringstream
14189
14190         * importer.C (Import): use stringstream
14191
14192         * bufferview_funcs.C (CurrentState): use stringstream
14193
14194         * LaTeX.C (run): use stringstream
14195
14196         * BufferView_pimpl.C (savePosition): use stringstream
14197         (restorePosition): use stringstream
14198         (MenuInsertLyXFile): use stringstream
14199
14200 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14201
14202         * BufferView.C:
14203         * Bullet.C:
14204         * ColorHandler.C:
14205         * FontInfo.C:
14206         * FontLoader.C:
14207         * LColor.C:
14208         * LaTeXFeatures.C:
14209         * Painter.C:
14210         * gettext.C:
14211         * lyx_gui_misc.C:
14212         * lyxserver.C:
14213         * vspace.C: removed // -*- C++ -*- as first line.
14214
14215         * lyxfind.h:
14216         * version.h: added // -*- C++ -*- as first line.
14217
14218 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14219
14220         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14221
14222         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14223         of string
14224
14225 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14226
14227         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14228         of floats.
14229
14230 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14231
14232         * gettext.C: include LString.h even when --disable-nls is on.
14233
14234 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14235
14236         * converter.h (Get): changed argument type from int to
14237         FormatList::size_type to avoid unnecessary conversion.
14238
14239         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14240         before using it.
14241
14242 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14243
14244         * gettext.h: include LString.h even when --disable-nls is on.
14245
14246 2001-06-07  Juergen Vigna  <jug@sad.it>
14247
14248         * text.C (BreakAgain): subst spaces with tabs.
14249
14250         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14251         (resizeInsetsLyXText): set force on resizeLyXText.
14252
14253 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14254
14255         * gettext.h (gettext_init):
14256         (locale_init): use a real definition instead of a macro
14257
14258 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14259
14260         * Bufferview_pimpl.C:
14261         * LColor.h:
14262         * LColor.C: further lcolor tidies
14263
14264 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14265
14266         * BufferView_pimpl.C (updateScrollbar): simplify.
14267
14268         * BufferView2.C: don't include insets/insetinfo.h, change
14269         prototype for insertInset and call the Pimpl version. let
14270         updateInset call Pimpl version.
14271
14272         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14273         gotoInset to BufferView::Pimpl
14274
14275 2001-06-01  Juergen Vigna  <jug@sad.it>
14276
14277         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14278         inside a LockingInset (is the update needed at all?).
14279
14280 2001-05-31  Juergen Vigna  <jug@sad.it>
14281
14282         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14283         here not the old one otherwise how should we compare it afterwards
14284         if it's the same!
14285
14286 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14287
14288         * lyxfont.C:
14289         * tabular.C:
14290         * tabular-old.C:
14291         * FontInfo.C: bring C functions into global namespace when
14292         necessary
14293
14294 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14295
14296         * LString.h: make sure config.h has been loaded before LString.h.
14297
14298         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14299         (one for each char read by EatLine!).
14300
14301         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14302         variables.
14303
14304 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14305
14306         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14307         to the same as the par we break from
14308
14309 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14310
14311         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14312
14313         * MenuBackend.C (expand): also create menu entries for wide
14314         versions of the floats.
14315
14316         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14317
14318         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14319
14320         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14321         frontends/Makefile.am
14322
14323         * text2.C: adjust
14324         * text.C: adjust
14325
14326
14327         * tabular.C (getTokenValue): add std::
14328
14329         * tabular-old.C (getTokenValue): add std::
14330         (getTokenValue): ditto
14331         (getTokenValue): ditto
14332
14333         * screen.C (ToggleSelection): adjust
14334
14335         * lyxtext.h: put selection cursors inside a Selection struct.
14336
14337         * lyxfunc.C (moveCursorUpdate): adjust
14338
14339         * lyxfont.C (latexWriteStartChanges): add std::
14340
14341         * lyxfind.C: adjust
14342
14343         * font.h: delete with(char const *, LyXFont const &)
14344
14345         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14346
14347         * FontInfo.C (getFontname): add std::
14348
14349         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14350         (workAreaButtonPress): adjust
14351         (tripleClick): adjust
14352         (update): adjust
14353         (moveCursorUpdate): adjust
14354         (Dispatch): adjust
14355
14356         * BufferView2.C (gotoInset): adjust
14357
14358 2001-05-30  Juergen Vigna  <jug@sad.it>
14359
14360         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14361         to check pspell I add this as default as I now have new pspell
14362         libraries and they seem to use this.
14363
14364 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14365
14366         * text2.C (CutSelection): make the cursor valid before the call to
14367         ClearSelection.
14368
14369 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14370
14371         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14372         relied on 0 terminated strings and other horrors. Bug found due to
14373         the new assert in lyxstring!
14374
14375         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14376         KP_ keys.
14377
14378 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14379
14380         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14381         to latinkeys.bind.
14382
14383         * lyxfunc.C (processKeySym): change method of getting to the
14384         self-insert char.
14385
14386         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14387         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14388         * BufferView_pimpl.[Ch]: here as private methods.
14389
14390 2001-05-28  Juergen Vigna  <jug@sad.it>
14391
14392         * text.C (SetHeightOfRow): added the update() call again as it is
14393         needed to initialize inset dimensions!
14394
14395 2001-05-16  Juergen Vigna  <jug@sad.it>
14396
14397         * text2.C (SetCharFont): Add new function with BufferView * and
14398         bool toggleall parameters for setting insets internal fonts.
14399         (SetFont): Freeze the undo as we may change fonts in Insets and
14400         all this change should be inside only one Undo!
14401
14402         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14403         setting font's in insets as for them we have the SetFont function!
14404
14405 2001-05-15  Juergen Vigna  <jug@sad.it>
14406
14407         * text2.C (ClearSelection): to be sure we REALLY don't have any
14408         selection anymore!
14409
14410         * tabular.C (TeXCellPreamble): fixed the left border problem for
14411         multicolumn cells.
14412
14413 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14414
14415         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14416         dependancy file
14417
14418 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14419
14420         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14421         LFUN_BREAKPARAGRAPH.
14422
14423         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14424         help test to "internal only", similar for LFUN_INSERT_URL
14425
14426         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14427         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14428         auto_region_delete and deadkeys.
14429
14430 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14431
14432         * LColor.h:
14433         * LColor.C: remove some dead entries, tidy a little
14434
14435 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14436
14437         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14438         commented code.
14439         (Dispatch): implement LFUN_ESCAPE
14440
14441         * commandtags.h: add LFUN_ESCAPE
14442
14443         * LyXAction.C (init): add entry for LFUN_ESCAPE
14444
14445         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14446         Remove commented code.
14447         (insertNote): moved here
14448         (open_new_inset): moved here
14449
14450         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14451         BufferView_pimpl
14452
14453 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14454
14455         * kbmap.C (findbinding): clean it up and make it work correctly.
14456
14457         * lyx_main.C (init): do not pass argc and argv as parameters
14458
14459 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14460
14461         * buffer.C: fix path for OS/2 & Win32
14462
14463         * lyx_gui.C:
14464         * lyx_main:
14465         * lyx_main.C: Added os:: class.
14466
14467         * os2_defines.h: update
14468
14469 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14470
14471         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14472         better by trying again with reduced state.
14473
14474 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14475
14476         * lyxrc.C (read): print error about invalid key sequence only when
14477         debugging (because not all latinX keysyms are known to some X
14478         servers)
14479
14480         * kbsequence.C (getiso): add a few std:: qualifiers
14481         (getiso): comment out extra return statement.
14482
14483 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14484
14485         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14486         handling.
14487         (Dispatch): enhance the accent inset a bit. (not perfect)
14488
14489 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14490
14491         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14492
14493 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14494
14495         * bufferlist.C (emergencyWrite): fix assert() call
14496
14497 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14498
14499         * text.C (InsertChar): Added trivial patch to only send the "you
14500         can not do multiple spaces this way" message once during a
14501         session.
14502
14503 2001-05-08  Baruch Even  <baruch@lyx.org>
14504
14505         * Makefile.am: Changed order of libraries to get LyX to link properly
14506         with the gnome frontend.
14507
14508 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14509
14510         * LaTeXFeatures.h: add a std:: qualifier
14511
14512 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14513
14514         * paragraph.C (String): use stringstream
14515
14516 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14517
14518         * paragraph.C (writeFile): remove footflag arg
14519
14520         * buffer.C (makeLaTeXFile): use stringstream
14521         (latexParagraphs): remove footnot gurba
14522
14523         * LaTeXFeatures.C (getPackages): use stringstream
14524         (getMacros): likewise
14525         (getTClassPreamble): likewise
14526         (getFloatDefinitions): new method
14527
14528         * paragraph.C (writeFile): reindent
14529         (Erase): reindent
14530
14531         * WorkArea.h: revert the xpos + etc changes.
14532
14533         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14534
14535         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14536
14537         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14538         (pasteSelection): likewise
14539         * text2.C (CreateUndo): likewise
14540
14541 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14542
14543         * minibuffer.C (peek_event): temporarily reduce the functionality
14544         of the minibuffer (to allow args on lfuns)
14545
14546         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14547         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14548
14549         * buffer.C (readInset): add compability reading of old float
14550         lists, add reading of new style float list.
14551         (readInset): avoid reevaluation of inscmd.getCmdName()
14552         (getLists): reindent
14553
14554         * MenuBackend.C (MenuItem): implement parsing of
14555         md_floatlistinsert and md_floatinsert.
14556         (expand::LastFiles): move initalizaton of iterators out of loop,
14557         avoid reevaluation.
14558         (expand::Documents): introduce typdedef vector<string> Strings,
14559         and use it.
14560         (expand::ExportFormats): introduce typedef vector<Format const *>
14561         Formats, and use it.
14562         (expand): implement FloatListInsert and FloatInsert.
14563
14564         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14565         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14566         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14567
14568         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14569         handling.
14570         (Dispatch::LFUN_FLOAT_LIST): implement
14571
14572 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14573
14574         * LaTeX.C (run): Fix problem with --export code.
14575
14576 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14577
14578         * BufferView.[Ch] (workarea): removed.
14579         (getClipboard) new method; wrapper for workarea()->getClipboard()
14580
14581         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14582         bug.
14583
14584         * WorkArea.h (width, height, xpos, ypos): These methods all
14585         returned the dimensions of the work_area sub-area of WorkArea,
14586         resulting in a position error if the WorkArea were resized. Now
14587         return the dimensions of the entire WorkArea.
14588
14589         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14590
14591 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14592
14593         * LaTeX.C (deplog): correct the syntax of regex reg1
14594
14595 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14596
14597         * undo.C: remove !NEW_INSETS cruft
14598
14599 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14600
14601         * text2.C: remove !NEW_INSETS cruft
14602
14603         * text.C: remove !NEW_INSETS cruft
14604
14605         * tabular.C: remove !NEW_INSETS cruft
14606
14607         * spellchecker.C: remove !NEW_INSETS cruft
14608
14609         * lyxtext.h: remove !NEW_INSETS cruft
14610
14611         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14612
14613         * lyxfunc.C: remove !NEW_INSETS cruft
14614
14615         * lyxfind.C: remove !NEW_INSETS cruft
14616
14617         * lyx_cb.C: remove !NEW_INSETS cruft
14618
14619         * figureForm.C: remove  !NEW_INSETS cruft
14620
14621         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14622
14623         * buffer.[Ch]: remove !NEW_INSETS cruft
14624
14625         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14626
14627         * CutAndPaste.C: remove !NEW_INSETS cruft
14628
14629         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14630
14631         * BufferView2.C: remove !NEW_INSETS cruft
14632
14633         * BufferView.h: remove !NEW_INSETS cruft
14634
14635 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14636
14637         * Lsstream.h: include LString.h before the sstream headers to
14638         fix problem with gcc 2.95.3 and lyxstring
14639
14640 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14641
14642         * lyx_main.C: add using directives when needed for C functions
14643         declared in std:: namespace.
14644
14645 2001-04-27  Juergen Vigna  <jug@sad.it>
14646
14647         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14648         (SetHeightOfRow): comment out the update call should not be needed!
14649
14650 2001-04-13  Juergen Vigna  <jug@sad.it>
14651
14652         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14653         (LyXTabular): tried to minimize operator= operations (and realized
14654         hopfully Lars wish).
14655
14656 2001-04-27  Juergen Vigna  <jug@sad.it>
14657
14658         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14659
14660 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14661
14662         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14663
14664         * buffer.C (readInset): hack to make listof algorithm work
14665
14666         * BufferView_pimpl.C: hack to make listof algorithm work
14667
14668 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14669
14670         * LyXAction.C: removed all !NEW_INSETS cruft
14671         (init): moved lfun_item in method
14672
14673         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14674
14675 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14676
14677         * BufferView2.C (theLockingInset): white space.
14678
14679 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14680
14681         * minibuffer.C: include <iostream>
14682
14683         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14684
14685         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14686
14687         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14688
14689         * text.[Ch] (TransposeChars): new method
14690
14691 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14692
14693         * call message directly through LyXView instead of through LyXFunc
14694         * BufferView2.C: adjust
14695         * BufferView_pimpl.C: adjust
14696         * FontLoader.C: adjust
14697         * buffer.C: adjust
14698         * bufferview_funcs.C: adjust
14699         * converter.C: adjust
14700         * figureForm.C: adjust
14701         * importer.C: adjust
14702         * lyx_cb.C: adjust
14703         * lyx_gui_misc.C: adjust
14704         * lyxfunc.C: adjust
14705         * lyxvc.C: adjust
14706         * text2.C: adjust
14707         + more files in subdirs
14708
14709         * lyxparagraph.h (size): move up int file
14710         (GetLayout): ditto
14711
14712         * adjust all uses of Assert to lyx::Assert.
14713
14714         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14715         lyxfunctional in namespace lyx
14716         * layout.C (hasLayout): ditto
14717         (GetLayout): ditto
14718         (GetLayout): ditto
14719         (delete_layout): ditto
14720         (NumberOfClass): ditto
14721         * converter.C (GetFormat): ditto
14722         (GetNumber): ditto
14723         (Add): ditto
14724         (Delete): ditto
14725         (SetViewer): ditto
14726         * bufferlist.C (getFileNames): ditto
14727         (emergencyWriteAll): ditto
14728         (exists): ditto
14729         (getBuffer): ditto
14730         * MenuBackend.C (hasSubmenu): ditto
14731         (hasMenu): ditto
14732         (getMenu): ditto
14733         * BufferView_pimpl.C (getInsetByCode): ditto
14734
14735 2001-04-18  Juergen Vigna  <jug@sad.it>
14736
14737         * vspace.C (asLatexString): fixed the 100% problem.
14738
14739 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14740
14741         * lyxfunc.C (Dispatch):
14742         * minibuffer.C:
14743         * minibuffer.h: add a few std:: qualifiers
14744
14745 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14746
14747         * minibuffer.[Ch]: reimplement so that commands is initiated and
14748         run from lyxfunc, simplified som handling, and made the completion
14749         and history code for complete. wip.
14750
14751         * lyxfunc.C (processKeySym): call message
14752         (miniDispatch): new temporary method
14753         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14754         (LFUN_MESSAGE): implement
14755         (LFUN_MESSAGE_PUSH): implement
14756         (LFUN_MESSAGE_POP): implement
14757         (initMiniBuffer): the initial/defualt minibuffer message.
14758
14759         * lyxfont.[Ch]: inline some more getters
14760
14761         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14762
14763         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14764
14765         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14766         (AutoSave): use LFUN_MESSAGE
14767         (Reconfigure): ditto
14768
14769         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14770
14771         * figureForm.C: use LFUN_MESSAGE
14772
14773         * converter.C (runLaTeX): use LFUN_MESSAGE
14774
14775         * bufferview_funcs.C: use LFUN_MESSAGE
14776         (Melt): ditto
14777         (changeDepth): ditto
14778
14779         * bufferparams.h: use boost::
14780
14781         * bufferlist.h: inherit privately from noncopyable
14782
14783         * bufferlist.C (loadLyXFile): remove some commented code.
14784
14785         * buffer.C (runChktex): use LFUN_MESSAGE
14786
14787         * ShareContainer.h: inherit privately from noncopyable
14788
14789         * ParagraphParameters.[hC] (depth): inline it.
14790
14791         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14792         methods.
14793         (message): new method
14794         (messagePush): ditto
14795         (messagePop): ditto
14796         (show): init minibuffer
14797         (showState): direct call
14798
14799         * LaTeX.[Ch]: inherit privately from noncopyable
14800         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14801         instead of WriteStatus.
14802
14803         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14804
14805         * BufferView_pimpl.C (buffer): don't init minibuffer
14806         (workAreaButtonPress): use LFUN_MESSAGE
14807         (workAreaButtonRelease): ditto
14808         (savePosition): ditto
14809         (restorePosition): ditto
14810         (MenuInsertLyXFile): ditto
14811         (workAreaExpose): don't init minibuffer
14812         (update): remove commented code, simplify
14813
14814         * BufferView2.C (openStuff): use LFUN_MESSAGE
14815         (toggleFloat): ditto
14816         (menuUndo): ditto
14817         (menuRedo): ditto
14818         (copyEnvironment): ditto
14819         (pasteEnvironment): ditto
14820         (copy): ditto
14821         (cut): ditto
14822         (paste): ditto
14823         (gotoInset): ditto
14824         (updateInset): remove some commented code
14825
14826         * lastfiles.h: inherit privately from noncopyable
14827         * layout.h: ditto
14828         * lyx_gui.h: ditto
14829         * lyx_main.h: ditto
14830         * lyxlex.h: ditto
14831         * lyxlex_pimpl.h: ditto
14832
14833         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14834         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14835         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14836
14837         * LyXAction.h: inherit privately from noncopyable, add methods
14838         func_begin, func_end, returning iterators to the func map.
14839
14840         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14841         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14842         (func_begin): new method
14843         (func_end): new method
14844
14845         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14846         and not)
14847         (copySelection): ditto
14848         (pasteSelection): ditto
14849
14850         * BufferView.C: whitespace change
14851         * BufferView.h: inherit privately from noncopyable
14852
14853 2001-04-16  Allan Rae  <rae@lyx.org>
14854
14855         * tabular-old.C (l_getline):
14856         * spellchecker.C (sc_check_word):
14857         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14858         an unrecognised preprocessor directive.  So ensure they're wrapped.
14859
14860 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14861
14862         * src/exporter.C (Export): Give an error message when path to file
14863         contains spaces.
14864
14865 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14866
14867         * LaTeX.C (deplog): Always check that foundfile exists.
14868
14869 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14870
14871         * lyx_main.h:
14872         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14873
14874 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14875
14876         * tabular.[Ch] (getLabelList): implement new method
14877
14878         * minibuffer.h: comment ouf setTiimer
14879
14880         * minibuffer.C (ExecutingCB): constify res
14881         (peek_event): constify s
14882         (Set): constify ntext
14883         (Init): constify nicename
14884
14885         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14886
14887         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14888         (savePosition): use two params to Minibuffer::Set
14889         (restorePosition): ditto
14890
14891 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14892
14893         * lyx_main.C: include language.h
14894
14895         * Makefile.am (lyx_main.o): add language.h
14896
14897 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14898
14899         * exporter.C:
14900         * paragraph.C:
14901         * screen.C:
14902         * tabular.C:
14903         * CutAndPaste.C: include gettext.h
14904
14905         * lyxfont.h: remove old hack with ON and OFF.
14906
14907         * lyxparagraph.h:
14908         * lyxfont.h: do not include language.h...
14909
14910         * BufferView2.C:
14911         * LaTeXFeatures.C:
14912         * Painter.C:
14913         * bufferview_funcs.C:
14914         * font.C:
14915         * lyxfont.C:
14916         * text.C:
14917         * text2.C:
14918         * trans_mgr.C:
14919         * paragraph.C: ... but do it here instead
14920
14921 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14922
14923         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14924
14925         * tabular.C: small reformat
14926
14927         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14928         NEW_INSETS version
14929         (GetChar): ditto
14930         (BreakParagraph): ditto
14931         (SetOnlyLayout): ditto
14932         (SetLayout): ditto
14933
14934         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14935         with one arg less.
14936
14937         * lastfiles.C: removed most using decl, add std:: where needed
14938
14939         * buffer.C: ws changes
14940
14941         * MenuBackend.C (class compare_format): put into anon namespace
14942         (expand): constify label, names, action, action2
14943         (expand):
14944
14945         * text.C (SingleWidth): constify font
14946         (IsBoundary): constify rtl2
14947         (GetVisibleRow): constify ww
14948
14949         * LaTeX.C (deplog): constify logfile
14950
14951         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14952         start_x, end_x
14953         (workAreaExpose): constify widthChange, heightChange
14954
14955         * lyxrow.C (par): moved
14956         (height): moved
14957         (next): moved
14958         * lyxrow.h: as inlines here
14959
14960         * lyxfont.h (shape): moved from lyxfont.C
14961         (emph): moved from lyxfont.C
14962
14963         * lyxfont.C (LyXFont): use initialization list for all
14964         constructors
14965         (shape): move to lyxfont.h as inline
14966         (emph): move to lyxfont.h as inline
14967
14968
14969 2001-04-04  Juergen Vigna  <jug@sad.it>
14970
14971         * vspace.C: had to include stdio.h for use of sscanf
14972
14973 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14974
14975         * BufferView.h:
14976         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14977         independent of xforms.
14978
14979 2001-04-02  Juergen Vigna  <jug@sad.it>
14980
14981         * spellchecker.C: fixed namespace placing!
14982
14983 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14984
14985         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14986         the LyXParagraph * is 0.
14987
14988 2001-03-29  Juergen Vigna  <jug@sad.it>
14989
14990         * vspace.C: added support for %, c%, p%, l%.
14991         (stringFromUnit): added helper function.
14992         (asLatexString): changed to give right results for the %-values.
14993
14994         * buffer.C: convert the widthp in a width%.
14995
14996 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14997
14998         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14999         figureForm.[Ch].
15000
15001         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15002         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15003
15004         * lyx_cb.[Ch]: see above.
15005
15006         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15007         form1.[Ch].
15008
15009         * form1.[Ch]:
15010         * lyx.[Ch]: replaced by figure_form.[Ch].
15011
15012         * lyx_gui.C:
15013         * lyx_gui_misc.C:
15014         * lyxfunc.C: changed headers associated with above changes.
15015
15016 2001-03-27  Juergen Vigna  <jug@sad.it>
15017
15018         * BufferView_pimpl.C: set the temporary cursor right!
15019
15020 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15021
15022         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15023
15024 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15025
15026         * LString.h: removed "using std::getline"!
15027
15028         * BufferView_pimpl.C (Dispatch): changes due to changes in
15029         InsetInclude::Params.
15030
15031         * buffer.C (tag_name): removed redundant break statements as they were
15032         producing lots of warnings with my compiler.
15033
15034 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15035
15036         * LString.h: add "using std::getline" when using the real <string>.
15037
15038 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15039
15040         * buffer.C: removed bitset usage.
15041         PAR_TAG moved to an anonymous name space.
15042         (tag_name): new funtion, also in the anonymous namespace.
15043         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15044         (makeDocBookFile): clean code. Completed transition from string arrays
15045         to string vectors.
15046         (SimpleDocBookOnePar): code clean.
15047
15048 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15049
15050         * tabular.C: add some comments.
15051
15052 2001-03-22  Juergen Vigna  <jug@sad.it>
15053
15054         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15055         compatibility read a bit and fixed bug with minipage in different
15056         depth.
15057
15058 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15059
15060         * buffer.C (pop_tag): removed.
15061         (push_tag): removed.
15062         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15063         array replaced with vector. Added support for CDATA sections.
15064         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15065         at any nest level.
15066         (makeDocBookFile): XML conformant declaration of CDATA section,
15067         fixed bug related to <emphasis> in the first paragraph char.
15068         (sgmlOpenTag): exclude empty tags.
15069         (sgmlCloseTag): ditto.
15070
15071         * buffer.h (pop_tag): removed.
15072         (push_tag): removed.
15073
15074 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15075
15076         * language.h (Languages): added size_type and size().
15077
15078 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15079
15080         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15081         response on compability reading of minipages. One probliem is that
15082         the old usage of minipages was «flertydig»
15083
15084         * several files here and in subdirs: don't use static at file
15085         scope use anon namespaces instead.
15086
15087 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15088
15089         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15090         LaTeX output. This is necessary for Literate document
15091         processing.
15092
15093 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15094
15095         * buffer.C: insert hfill when needed.
15096
15097         * tabular.C (l_getline): use string::erase, small whitespace change.
15098
15099         * BufferView_pimpl.C: try the anon namespace.
15100         * WorkArea.C: ditto
15101
15102 2001-03-16  Juergen Vigna  <jug@sad.it>
15103
15104         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15105         otherwise it won't open options-dialogs.
15106
15107         * buffer.C: honor pextraWidth(p) on converting minipages.
15108
15109         * tabular.C (l_getline): changed the functions to strip trailing \r.
15110
15111 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15112
15113         * BufferView_pimpl.C:
15114         * minibuffer..C: added "using SigC::slot" declaration.
15115
15116 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15117
15118         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15119
15120         * text2.C: ditto
15121
15122         * text.C: ditto
15123
15124         * paragraph.C: ditto
15125
15126         * lyxtext.h: NO_PEXTRA
15127
15128         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15129
15130         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15131         * ParameterStruct.h: ditto
15132         * ParagraphParameters.h: ditto
15133         * lyxparagraph.h: ditto
15134
15135 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15136
15137         * buffer.C: add compability for minipage alignment.
15138         (latexParagraphs): remove unwanted pextra check.
15139
15140         * several files: remove CXX_WORKING_NAMESPACES
15141
15142         * buffer.C (pop_tag): tie is in namespace boost
15143
15144         * BufferView.h: noncopyable is in namespace boost
15145         * lyxlex.h: ditto
15146         * lyx_main.h: ditto
15147         * lyx_gui.h: ditto
15148         * layout.h: ditto
15149         * lastfiles.h: ditto
15150         * bufferlist.h: ditto
15151         * ShareContainer.h: ditto
15152         * LyXView.h: ditto
15153         * LyXAction.h: ditto
15154         * LaTeX.h: ditto
15155
15156 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15157
15158         * Merging changes from BRANCH_MVC back into HEAD.
15159
15160         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15161
15162 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15163
15164         * BufferView_pimpl.C: change from intl.C
15165
15166         * combox.h:
15167         * combox.C:
15168         * Makefile.am: move combox.*
15169
15170         * form1.h:
15171         * form1.C:
15172         * lyx_gui.C:
15173         * intl.h:
15174         * intl.C: remove dialog (covered by prefs)
15175
15176 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15177
15178         * lyxfunc.C (Dispatch): removed redundant break statement.
15179
15180 2001-03-14  Juergen Vigna  <jug@sad.it>
15181
15182         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15183
15184 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15185
15186         * buffer.C: add hack to fix compability reading of minipages.
15187
15188 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15189
15190         * buffer.C (getLists): Cleanup.
15191
15192 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15193
15194         * lyxfont.C (update): don't honor toggleall on font size.
15195
15196 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15197
15198         * bmtable.c:
15199         * bmtable.h:
15200         * Makefile.am: moved to frontends/xforms/
15201
15202         * lyx_gui_misc.C:
15203         * lyxfunc.C:
15204         * BufferView_pimpl.C: changes for moved mathpanel
15205
15206 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15207
15208         * gettext.h: fix gettext_init() in --disable-nls
15209
15210 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15211
15212         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15213
15214 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15215
15216         * lyx.C:
15217         * lyx.h: strip external form
15218
15219 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15220
15221         * BufferView_pimpl.C: add comment, destroySplash()
15222
15223 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15224
15225         * BufferView_pimpl.C:
15226         * LyXAction.C:
15227         * buffer.C:
15228         * commandtags.h:
15229         * lyxfunc.C: use re-worked insetinclude
15230
15231 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15232
15233         * buffer.C: add using std::stringstream.
15234
15235         * lyx_cb.C: readd using std::ios.
15236
15237         * buffer.C: add using std::map.
15238
15239         * BufferView_pimpl.C: add using std::vector.
15240
15241         * ShareContainer.h: add std:: to swap.
15242
15243         * buffer.h: add some typedefs
15244         * buffer.C (getLists): use them
15245         (getLists): renamed from getTocList.
15246         add a counter for the different float types and use it in the
15247         generated string.
15248         (getLists): use the same counter for the NEW_INSETS and the "non"
15249         NEW_INSETS
15250
15251         * lyx_cb.h: remove unused items, includes, using etc.
15252
15253         * ShareContainer.h: remove some commented code, add more comments
15254         and "documentation".
15255
15256 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15257
15258         * buffer.C (getTocList): make the list also when NEW_INSETS is
15259         defined.
15260
15261         * buffer.h: remove TocType
15262
15263         * buffer.C (getTocList): change to return a map<string,
15264         vector<TocItem> >, implement for dynamic number of list.
15265
15266         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15267         * text2.C (PasteSelection): adjust
15268         * CutAndPaste.C (pasteSelection): adjust
15269
15270         * FloatList.C (FloatList): update from the new_insets branch.
15271         * Floating.[Ch]: ditto
15272         * LaTeXFeatures.C: ditto
15273         * buffer.C: ditto
15274         * lyxlex_pimpl.C: ditto
15275
15276         * paragraph.C (Last): remove when NEW_INSETS is defined.
15277
15278         * other file: changes because of the above.
15279
15280 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15281
15282         * lyxparagraph.h: rename next to next_, previous to previous_,
15283         make them private for NEW_INSETS. Rename Next() to next(),
15284         Previous() to previous().
15285
15286         * other files: changes because of the above.
15287
15288 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15289
15290         * BufferView.h:
15291         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15292         problem.
15293
15294 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15295
15296         * main.C (main): pass lyx_localedir to gettext_init().
15297
15298         * gettext.h: remove locale_init and gettext_init macros
15299
15300         * gettext.C (locale_init): new function
15301         (gettext_init): new function
15302
15303         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15304         setlocale().
15305
15306 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15307
15308         * Moved credits to frontends:
15309         * credits.[Ch]: removed
15310         * credits_form.[Ch]: removed
15311         * lyx_gui_misc.C: remove credits stuff
15312         * Makefile.am:
15313
15314 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15315
15316         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15317
15318         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15319         unneeded destructor.
15320
15321         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15322         a standalone pointer again.
15323
15324         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15325
15326 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15327
15328         * Makefile.am:
15329         * filedlg.h:
15330         * filedlg.C:
15331         * LyXAction.C:
15332         * ToolbarDefaults.C:
15333         * bufferlist.C:
15334         * commandtags.h:
15335         * form1.C:
15336         * form1.h:
15337         * lyx_cb.C:
15338         * lyx_cb.h:
15339         * lyxfunc.h:
15340         * lyxfunc.C:
15341         * BufferView_pimpl.C: use new file dialog in GUII
15342
15343         * lyx_cb.h:
15344         * lyx_cb.C: remove LayoutsCB to Toolbar
15345
15346 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15347
15348         * ShareContainer.h (get): add std:: qualifier
15349
15350 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15351
15352         * ShareContainer.h: define a proper ShareContainer::value_type
15353         type (and use typename to please compaq cxx)
15354
15355 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15356
15357         * lyxparagraph.h: move serveral local vars to
15358         ParameterStruct/ParagraphParameters., use ShareContainer in
15359         FontTable., make vars in FontTable private and add getter and
15360         setter.
15361
15362         * paragraph.C: changes because of the above.
15363
15364         * lyxfont.h: remove copy constructor and copy assignment. (the
15365         default ones is ok), move number inside FontBits. move inlines to
15366         lyxfont.C
15367
15368         * lyxfont.C: add number to initializaton of statics, move several
15369         inlines here. constify several local vars. some whitespace
15370         cleanup. Dont hide outerscope variables.
15371
15372         * Spacing.h: add two new constructors to match the set methods.
15373
15374         * ShareContainer.h: new file, will perhaps be moved to support
15375
15376         * ParameterStruct.h: new file
15377
15378         * ParagraphParameters.h: new file
15379
15380         * ParagraphParameters.C: new file
15381
15382         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15383         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15384
15385         * BufferView_pimpl.C: ParagraphParameter changes.
15386         * buffer.C: Likewise.
15387         * bufferview_funcs.C: Likewise.
15388         * text.C: Likewise.
15389         * text2.C: Likewise.
15390
15391 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15392
15393         * lyxfind.C (LyXReplace): do not redefine default argument in
15394         implementation.
15395         (IsStringInText): ditto
15396         (SearchForward): ditto
15397         (SearchBackward): ditto
15398
15399 2001-03-06  Juergen Vigna  <jug@sad.it>
15400
15401         * lyxfind.C (IsStringInText): put parentes around expressions.
15402
15403 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15404
15405         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15406
15407 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15408
15409         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15410
15411         * stl_string_fwd.h: add comment
15412
15413         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15414
15415         * tabular.h:
15416         * tabular.C: remove unused DocBook methods
15417
15418         * intl.C:
15419         * language.C:
15420         * paragraph.C:
15421         * buffer.C:
15422         killed DO_USE_DEFAULT_LANGUAGE
15423
15424 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15425
15426         * lyx_gui.C: do not include language.h.
15427
15428         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15429         arguments in function implementation.
15430
15431 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15432
15433         * BufferView_pimpl.C: add <ctime>
15434
15435 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15436
15437         * BufferView_pimpl.C: add using std::find_if
15438
15439 2001-02-27  José Matos  <jamatos@fep.up.pt>
15440
15441         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15442         by OnlyPath.
15443
15444 2001-02-11  José Matos  <jamatos@fep.up.pt>
15445
15446         * buffer.C (makeDocBookFile): command styles now have a parameter as
15447         "title" by default.
15448
15449 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15450
15451         * layout_forms.[Ch]: removed
15452         * lyx_cb.[Ch]: out character
15453         * lyx_gui.C: out character
15454         * lyx_gui_misc.C: out character
15455         * bufferview_funcs.C: : out character,
15456         added toggleall as parameter in ToggleAndShow
15457
15458 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15459
15460         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15461
15462         * text2.C (SetCurrentFont): Disable number property at boundary.
15463
15464 2001-02-26  Juergen Vigna  <jug@sad.it>
15465
15466         * lyxfunc.C (getStatus): added a string argument override function so
15467         that this is correctly called from LyXFunc::Dispatch if it contains a
15468         do_not_use_argument which is used!
15469         (Dispatch): added check for "custom" export and call appropriate func.
15470
15471 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15472
15473         * lyxrc.C: Add language_command_local, language_use_babel and
15474         language_global_options.
15475
15476         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15477
15478         * buffer.C (makeLaTeXFile): Use language_use_babel and
15479         language_global_options.
15480
15481 2001-02-23  Juergen Vigna  <jug@sad.it>
15482
15483         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15484         which works with LyXText and putted it inside BufferView. Here now we
15485         only call for that part the BufferView::Dispatch() function.
15486
15487         * BufferView.C (Dispatch): added.
15488
15489         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15490         functions which needs to use a LyXText over from LyXFunc.
15491         (MenuInsertLyXFile): added
15492         (getInsetByCode): added
15493         (moveCursorUpdate): added
15494         (static TEXT): added
15495
15496 2001-02-22  Juergen Vigna  <jug@sad.it>
15497
15498         * BufferView_pimpl.C (update): call a status update to see if LyXText
15499         needs it.
15500
15501 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15502
15503         * vc-backend.C (revert): implement for CVS
15504         (getLog): implement for CVS
15505
15506 2001-02-20  Juergen Vigna  <jug@sad.it>
15507
15508         * text2.C (ClearSelection): added BufferView param for inset_owner call
15509
15510         * lyxfunc.C (TEXT): added this function and use it instead of
15511         directly owner->view()-text of getLyXText().
15512
15513 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15514
15515         * src/layout_forms.C: out preamble
15516         * src/layout_forms.h: out preamble
15517         * src/lyx_cb.C: out preamble
15518         * src/lyx_cb.h: out preamble
15519         * src/lyx_gui.C: out preamble
15520         * src/lyx_gui_misc.C: out preamble
15521         * src/lyxfunc.C: connect with guii preamble
15522
15523 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15524
15525         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15526
15527 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15528
15529         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15530         whether to run bibtex.
15531
15532 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15533
15534         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15535
15536 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15537
15538         * Makefile.am (lyx_SOURCES): removed bibforms.h
15539
15540         * vspace.h: doxygen
15541
15542         * text.C (GetVisibleRow): make several local vars const
15543
15544         * tabular.C: small cleanup.
15545
15546         * lyxserver.C (callback): use compare instead of strncmp
15547
15548         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15549         inlines to after class or to paragraph.C
15550
15551         * lyxfont.h: remove friend operator!=
15552
15553         * converter.h: move friend bool operator< to non friend and after
15554         class def.
15555
15556         * combox.h: small cleanup
15557
15558         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15559         to inlines after class def.
15560
15561         * buffer.C (pop_tag): use string operations instead of strcmp
15562
15563         * bmtable.c: doxygen, small cleanup
15564
15565         * LaTeX.h: remove friend operator==
15566
15567 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15568
15569         * screen.C:
15570         * lyxrc.[Ch]:
15571         * lyxfunc.C:
15572         * lyxfont.[Ch]:
15573         * lyx_cb.C:
15574         * intl.[Ch]:
15575         * commandtags.h:
15576         * buffer.C:
15577         * WorkArea.[Ch]:
15578         * LyXAction.C:
15579         * BufferView_pimpl.C:
15580         * BufferView.[Ch]: remove cruft
15581
15582 2001-02-14  Juergen Vigna  <jug@sad.it>
15583
15584         * lyxfunc.C: removed #if 0 unused code
15585
15586         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15587
15588         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15589
15590         * text2.C (SetSelection): added a BufferView * parameter
15591
15592 2001-02-13  Juergen Vigna  <jug@sad.it>
15593
15594         * lyxfunc.C (Dispatch): fixed protected blank problem.
15595         * BufferView2.C (protectedBlank): added LyxText * parameter.
15596
15597         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15598         (AppendColumn): same as above for column_info.
15599
15600         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15601         (moveCursorUpdate): use a LyXText param for support of InsetText.
15602
15603         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15604         (tripleClick): ditto
15605
15606         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15607
15608         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15609
15610         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15611
15612         * text2.C (SetSelection): set correct update status if inset_owner
15613         (ToggleFree): ditto
15614
15615 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15616
15617         * tabular.C: remove some commented code.
15618
15619 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15620
15621         * BufferView_pimpl.C: call hideSplash()
15622
15623         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15624
15625         * include_form.h:
15626         * bibforms.h: remove
15627
15628         * lyxfunc.C:
15629         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15630           add LFUN_CHILD_CREATE
15631
15632         * counters.h: fix tiny typo
15633
15634         * lyx_cb.C:
15635         * lyx.h:
15636         * lyx_gui.C:
15637         * lyx.C: move splash to frontends/xforms/
15638
15639         * lyx_gui_misc.C: move Include and Bibform to frontends
15640
15641         * lyxvc.h: clarify comment
15642
15643         * vspace.C: tiny housekeeping
15644
15645 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15646
15647         * text.C (PrepareToPrint): RTL Fix.
15648
15649         * paragraph.C (GetUChar): New method.
15650         (String):  Use GetUChar.
15651
15652         * buffer.C (asciiParagraph): Use GetUChar.
15653
15654 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15655
15656         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15657
15658 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15659
15660         * buffer.h:
15661         * buffer.C: rename to getLogName(), handle
15662           build log / latex log nicely
15663
15664 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15665
15666         * MenuBackend.C:
15667         * MenuBackend.h: remove support for reference menuitem type.
15668
15669 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15670
15671         * BufferView_pimpl.C: housekeeping
15672         * BufferView_pimpl.h:
15673         * LyXView.h:
15674         * Makefile.am:
15675         * Timeout.C:
15676         * Timeout.h:
15677         * minibuffer.h: move Timeout GUI-I
15678
15679 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15680
15681         * lyxrc.C (read): Update converters data-structures.
15682
15683 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15684
15685         * LaTeX.h (operator!=): add operator != for Aux_Info
15686
15687 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15688
15689         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15690
15691         * LaTeXLog.C: deleted, useful code moved to Buffer
15692
15693         * buffer.h:
15694         * buffer.C: new function getLatexLogName()
15695
15696         * lyx_gui_misc.C:
15697         * lyx_gui.C:
15698         * lyxvc.C:
15699         * lyxvc.h:
15700         * lyxfunc.C: use frontends for LaTeX and VC logs
15701
15702 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15703
15704         * LaTeX.h: yet another std:: that Allan forgot.
15705
15706         * Variables.C (set): renamed from isset(), because this clashes
15707         with some HP-UX macros (grr).
15708
15709 2001-02-06  Allan Rae  <rae@lyx.org>
15710
15711         * LaTeX.h: Another bug fix.  Missing std:: this time.
15712
15713 2001-02-04  Allan Rae  <rae@lyx.org>
15714
15715         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15716         floats problem. I've left it commented out because it's not quite
15717         correct.  It should also test that the current object is a table or
15718         figure inset.  But I haven't gotten around to figuring out how to do
15719         that.  I *think* it'll be something like: "table" == inset.type()
15720
15721         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15722         bool.
15723
15724 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15725
15726         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15727         all the citation/databases/styles in the auxilary file.
15728         (run): Rerun latex if there was a babel language error.
15729
15730 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15731
15732         * text.C (Backspace): Preserve the font when changing newline char
15733         with a space.
15734         (BreakParagraph): If the cursor is before a space, delete the space.
15735
15736         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15737
15738 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15739
15740         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15741         new argument (code).
15742         (ChangeCitationsIfUnique): New method.
15743
15744         * paragraph.C (GetPositionOfInset): Handle bibkey.
15745
15746 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15747
15748         * BufferView_pimpl.h: change type of Position::par_pos to
15749         LyXParagraph::size_type.
15750
15751 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15752
15753         * BufferView_pimpl.C (savePosition, restorePosition): Write
15754         messages to minibuffer.
15755
15756 2001-01-28  José Matos  <jamatos@fep.up.pt>
15757
15758         * buffer.C (makeDocBookFile): adds support for document language.
15759         A silly restriction on the name of LatexCommand types where removed.
15760         Added support for CDATA sections, allows to chars unescaped, used
15761         among others in code, to avoid escape < and >.
15762
15763 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15764
15765         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15766         saved positions instrad of a stack. Furthermore, a position is
15767         stored using paragraph id/paragraph position.
15768
15769         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15770         Remove LFUN_REF_BACK.
15771
15772 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15773
15774         * converter.C (dvipdfm_options): New method.
15775
15776 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15777
15778         * vspace.C (isValidLength): Fix for empty input string.
15779
15780 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15781
15782         * LyXAction.C (init): change description of LFUN_FIGURE to
15783         "Insert Graphics"
15784
15785 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15786
15787         * LaTeX.C: add using directive
15788
15789 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15790
15791         * MenuBackend.C (expand): Fix the sorting of the formats.
15792
15793 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15794
15795         * lyx_main.C: tiny error message fix
15796
15797 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15798
15799         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15800         calling fl_initialize(). This fixes the problem with ',' as
15801         decimal separator in text files.
15802
15803 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15804
15805         * trans.C (process): Fix the keymap bug.
15806
15807 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15808
15809         * LaTeX.C (scanAuxFiles): New method. Provides support for
15810         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15811         (scanLogFile) Scan for "run BibTeX" messages.
15812
15813         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15814         OT1 font encoding. Also, load the aecompl package if the ae
15815         package is loaded.
15816
15817         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15818
15819 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15820
15821         * texrow.C (increasePos): turn two error messages into debug
15822         messages.
15823
15824 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15825
15826         * LaTeX.C (scanAux): Handle the \@input macro.
15827         (runBibTeX): Use scanAux().
15828
15829         * language.C (latex_options_): New field.
15830
15831         * LaTeXFeatures.C (getMacros): Add language macros.
15832
15833         * buffer.C (makeLaTeXFile): Small fix.
15834
15835 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15836
15837         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15838
15839         * text2.C: add a using directive.
15840
15841 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15842
15843         * BufferView2.C:
15844         * lyx_gui_misc.h:
15845         * lyxfr1.C:
15846         * lyxfunc.C: kill LyXBell.
15847
15848 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15849
15850         * text.C (IsBoundary): Remove the error message
15851
15852         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15853
15854         * lyxrc.C (setDefaults): Correct initialization value for
15855         font_norm_type.
15856
15857 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15858
15859         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15860         gotoError().
15861
15862         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15863         and GotoNextNote().
15864
15865         * src/LyXAction.C: Added reference-next.
15866
15867         * text.C (InsertChar): Use contains instead of strchr.
15868
15869         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15870
15871 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15872
15873         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15874         alignment commands (when needed).
15875
15876         * text.C (InsertChar): Add ':' to number separator chars.