]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
64aab4179c6ade307b17a47da2a227d2b2f940aa
[lyx.git] / src / ChangeLog
1 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
2
3         bug 1305
4         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
5         of char
6         (breakParagraph): rename par to par_offset and use a local
7         reference. Add code to keep the language over a rebreak.
8         (breakParagraphConservative): rename par to par_offset, use a
9         local reference
10         (mergeParagraph): ditto
11         (outerHook): ditto
12         (isFirstInSequence): ditto
13         (outerFont): rename pit to par_offset
14
15         * paragraph.C: ws change
16         * paragraph.h: ditto
17         * text3.C: ditto
18         * text.C: ditto
19
20 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
21
22         * text2.C (editXY):
23         * text3.C (checkInsetHit): constify
24
25 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
26
27         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
28         documents (bug 1629)
29
30 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
31
32         Fix toggling of collapsable insets with the mouse (bug 1558)
33
34         * lyxfunc.C (dispatch): adapt to LCursor changes
35
36         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
37         make sure that dispatch is not invoked twice
38
39         * cursor.C (needsUpdate): new method
40         (dispatch): return void
41         (result): new method, to access the DispatchResult of the cursor.
42
43 2004-08-13  José Matos  <jamatos@lyx.org>
44
45         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
46
47 2004-08-13  André Pönitz  <poenitz@gmx.net>
48
49         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
50
51         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
52           multiple cells
53
54 2004-08-12  André Pönitz  <poenitz@gmx.net>
55
56         * text3.C: take out the 'cursor right' form insertInset and only
57         do it in those places when it is really needed. Fixes crash on
58         C-m...
59
60 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
61
62         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
63
64         * BufferView_pimpl.C (setBuffer): initialize the current font of
65         the underlying LyXText
66
67 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
68
69         * kbsequence.C (print): use UI native formatting for menu
70         shortcuts
71
72         * text.C (insertChar): call Paragraph::insertChar with a font
73         argument (cosmetic)
74
75         * paragraph.C (insertInset, insertChar): the version that takes a
76         LyXFont argument is now a wrapper around the other one (the
77         opposite used to be true).
78
79         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
80         argument. Font setting is done in Paragraph now.
81
82 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
83
84         * outputparams.h: add new members intitle and lang.
85
86         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
87         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
88
89 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
90
91         * text3.C (dispatch): remove special handling of button 4 and 5,
92         it is now taken care of in the frontend code.
93
94 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
95
96         * Spacing.h: add <string> (STLPort compile fix)
97
98 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
99
100         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
101
102 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
103
104         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
105         to bool.
106
107         * converter.C (showMessage): inherit from unary_function, make
108         operator() const.
109
110         * buffer.C (writeFile): initialize retval
111
112         * InsetList.h: rename private variable list to list_
113         * InsetList.[Ch]: adjust accordingly.
114
115 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
116
117         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
118         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
119         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
120         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
121         * ParagraphParameters.C, LaTeXFeatures.C: replace
122         "support/std_sstream.h" with <sstream>
123
124 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
125
126         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
127         * lyxsocket.C (LyXServerSocket): ditto
128         (serverCallback): ditto
129
130 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
131
132         * LaTeXFeatures.C: check release date when loading jurabib.
133
134 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
135
136         * lyxserver.C (startPipe): call register_socket_callback
137         (endPipe): call unregister_socket_callback
138
139 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
140
141         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
142         (LyXServerSocket): register the callback
143         (LyXServerSocket): unregister the callback
144         (fd): delete function
145         (serverCallback): improve error checking and setup the callbacks.
146         (dataCallback): change arg to fd.
147         (writeln): new func (copied fro the client socket) used for server
148         write to client.
149         (LyXDataSocket): simplify
150         (~LyXDataSocket): close ann unregiser callback
151         (server): delete function
152         (fd): delete function
153         (readln): small changes, improve some std::string usage
154         (writeln): constify a bit
155
156 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
157
158         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
159         Qt frontend
160
161 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
162
163         * BufferView_pimpl.C (setBuffer): set the layout combox value only
164         after it has been populated
165
166 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
167
168         * text2.C (insertInset): move cursor when inserting inset.
169
170 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
171
172         * kbmap.C (findbindings): a couple of new methods. returns a
173         container of kb_sequence objects. The real work is done by the
174         private recursive version
175         (printbindings): uses findbindings to print out a bracketed list
176         of bindings (renamed from findbinding).
177
178         * MenuBackend.C (binding): use kb_keymap::findbindings
179
180         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
181
182 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
183
184         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
185
186 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
187
188         * paragraph.C (isWord): return true on insets that report
189         isLetter().
190
191         * text.C (getWord): use Paragraph::isWord to decide what is in a
192         word and what is not; fix bug 1609.
193
194 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
195
196         * tex-strings.C: add "none" to string_paperpackages[], fixes
197         off-by-one-error in the paperpackage selection.
198
199         * lyxlex.[Ch]:
200         * tex-strings.[Ch]: char const * string[n]
201         -> char const * const string[]
202
203 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
204
205         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
206         command, return early.
207
208 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
209
210         * debug.h: add DEBUG to enum and fix size of ANY.
211
212         * debug.C: add support for Debug::DEBUG
213         (showTags): cast errorTags.level to unsigned int
214
215         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
216         (redoCurrentBuffer): ditto
217         (updateScrollbar): ditto
218         * cursor.C (dispatch): ditto
219         * text2.C (setLayout): ditto
220         (setFont): ditto
221         (updateCounters): ditto
222         (editXY): ditto
223         (deleteEmptyParagraphMechanism): ditto
224
225 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
226
227         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
228         annotations to cleanup the Makefile slightly.
229
230 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
231
232         * lyxrc.C: do not set user_email to a default value but use empty
233         instead. The entry used to be translated, which does not work
234         since at the point where lyxrc is constructed there is no
235         translation service available
236
237         * messages.C (getLocaleDir): remove and use directly
238         lyx_localedir() instead
239
240 2004-06-02  Angus Leeming  <leeming@lyx.org>
241
242         Fix crash caused by dereferencing null pointer 'exportdata' in
243         OutputParams by creating a new ExportData variable on the heap,
244         storing it in a boost::shared_ptr.
245         The crash was triggered when generating an Instant Preview
246         of an external inset.
247
248         * Makefile.am: add outputparams.C
249
250         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
251         (c-tor): allocate memory to it.
252
253         * exporter.C (c-tor): associated changes.
254
255 2004-06-01  Angus Leeming  <leeming@lyx.org>
256
257         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
258         contains data before calling isInset(0). (Bug 1513.)
259
260 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
261
262         * exporter.C (checkOverwrite): new method
263         * exporter.C (copyFile): new method
264         * exporter.C (Export): copy referenced files to the document dir
265         * exporter.[Ch]: new class ExportedFile
266         * exporter.[Ch]: new class ExportData. Contains currently the
267         names of referenced external files
268         * outputparams.h: add exportdata member.
269
270 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
271
272         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
273         version.C-tmp
274
275 2004-05-19  Angus Leeming  <leeming@lyx.org>
276
277         * LaTeXFeatures.C:
278         * ToolbarBackend.C:
279         * bufferparams.C:
280         * lyxfunc.C: small changes due to the introduction of namespace
281         lyx::frontend and the moving of namespace biblio to lyx::biblio.
282
283 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
284
285         * text3.C (dispatch): supress update when only moving the cursor
286         * cursor.C (selHandle): remove commented code
287
288 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
289
290         * paragraph.C (startTeXParParams): correct column count
291         * CutAndPaste.C (pasteSelection): remove const_cast
292         * output_docbook.C (docbookParagraphs): remove const_cast
293         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
294         const_cast and return ParagraphList::const_iterator
295         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
296         * output_plaintext.C (writeFileAscii): remove const_cast
297         * paragraph.[Ch] (simpleTeXOnePar): make const
298         * paragraph_funcs.C (outerPar): use const iterators
299         * paragraph_pimpl.C (validate): use const iterators
300         * text.C (setHeightOfRow): use const iterators
301
302 2004-05-17  Angus Leeming  <leeming@lyx.org>
303
304         * lfuns.h:
305         * LyXAction.C (init): new LFUN_INSET_REFRESH.
306
307         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
308         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
309         if the citation engine has changed.
310
311 2004-05-14  José Matos  <jamatos@lyx.org>
312
313         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
314         if the textclass does not provide it. Have it different for sgml and
315         xml.
316         support the language of document.
317         * output_docbook.C (docbookParagraphs):
318         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
319         first anchor as the id of the paragraph, remove special case code.
320         * sgml.C (escapeChar): escape only < & >.
321
322 2004-05-14  Angus Leeming  <leeming@lyx.org>
323
324         * bufferparams.h: move biblio::CiteEngine enum here to minimize
325         dependencies on src/frontends/controllers/biblio.h. Define a
326         CiteEngine_enum wrapper class to enable the enum to be forward
327         declared.
328
329 2004-05-12  Angus Leeming  <leeming@lyx.org>
330
331         * buffer.C: up LYX_FORMAT to 234.
332         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
333         use_numerical_citations with a single biblio::CiteEngine cite_engine
334         variable.
335         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
336
337 2004-05-13  José Matos  <jamatos@lyx.org>
338
339         * converter.h:
340         * converter.C (Converter, readFlags): add xml member.
341         * outputparams.h: add XML flavor.
342         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
343
344 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
345
346         * lyxfunc.C (dispatch):
347         (getStatus): fix handling of LFUN_SEQUENCE
348
349 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
350
351         * debug.C (showLevel): do not forget the end-of-line marker
352
353 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
354
355         * kbmap.C (read): do not stop parsing a bind file when an error
356         occurs (bug 1575)
357
358 2004-04-29  Angus Leeming  <leeming@lyx.org>
359
360         * cursor.C:
361         * factory.C:
362         * pariterator.C:
363         * text2.C: wrap a bunch of #warning statements
364         inside #ifdef WITH_WARNINGS blocks.
365
366 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
367
368         * buffer.C: increment format to 233.
369
370 2004-04-28  Angus Leeming  <leeming@lyx.org>
371
372         * BufferView_pimpl.C:
373         * lyxfunc.C:
374         * text3.C:
375         s/updateToolbar()/updateToolbars()/
376         s/Toolbar.h/Toolbars.h/
377
378 2004-04-28  Angus Leeming  <leeming@lyx.org>
379
380         * BufferView.[Ch] (c-tor):
381         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
382         No longer passes these data to the WorkArea generator.
383
384 2004-04-28  Angus Leeming  <leeming@lyx.org>
385
386         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
387
388 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
389
390         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
391
392 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
393
394         * output_latex.C (TeXEnvironment): make sure that there is a line
395         break before \end{foo} for the last paragraph of a document
396         (TeXOnePar): if the paragraph is at the end of the document (or
397         inset) and the language has to be reset, then make sure that the
398         line break is _before_ the language command, not after (fixes bug
399         1225); also make sure that the language reset command is the first
400         thing after the paragraph (to ensure proper nesting of
401         environments and thus fix bug 1404)
402
403 2004-04-21  John Levon  <levon@movementarian.org>
404
405         * ToolbarBackend.h:
406         * ToolbarBackend.C: make "name" be a programmatic name
407         and a gui_name field.
408
409         * lyxfunc.C: display the minibuffer on M-x
410
411 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
412
413         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
414         (bug 1526)
415
416 2004-04-19  Angus Leeming  <leeming@lyx.org>
417
418         * BufferView_pimpl.C (setBuffer): changed preview interface.
419
420         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
421         possible values.
422
423 2004-04-19  John Levon  <levon@movementarian.org>
424
425         * BufferView_pimpl.C:
426         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
427
428 2004-04-05  Angus Leeming  <leeming@lyx.org>
429
430         * text.C (redoParagraphs): add call to updateCounters(), thereby
431         fixing the missing "Figure #:" label from the caption of a
432         figure float.
433
434 2004-04-13  Angus Leeming  <leeming@lyx.org>
435
436         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
437         cursor is clicked out of an inset.
438
439 2004-04-13  Angus Leeming  <leeming@lyx.org>
440
441         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
442         than an InsetOld one.
443
444 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
445
446         * format.[Ch]: add editor to Format
447         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
448         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
449
450 2004-04-08  André Pönitz  <poenitz@gmx.net>
451
452         * metricsinfo.h: remove PainterInfo::width member
453
454 2004-04-08  Angus Leeming  <leeming@lyx.org>
455
456         * lyx_sty.C (boldsymbol_def): modify so that it outputs
457         "\providecommand" rather than "\newcommand", thereby preventing
458         clashes with packages that define "\boldsymbol" themselves.
459         Eg, beamer.
460
461 2004-04-08  Angus Leeming  <leeming@lyx.org>
462
463         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
464         thereby squashing an unnecessary warning.
465
466 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
467
468         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
469         setBuffer()
470
471 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
472
473         * BufferView.C (setCursor): call redoParagraph (some insets could
474         have been opened)
475         (putSelectionAt): remove the 'double update' trick
476
477         * BufferView_pimpl.C (fitCursor): call refreshPar
478         (workAreaDispatch): remove an uneeded update call
479         (dispatch): remove some manual update calls
480
481         * cursor.[Ch]: remove cached_y_, updatePos
482         (selHandle): set noUpdate when appropriate
483
484         * lyxfunc.C (dispatch): track if we need an update
485
486         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
487
488         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
489         (paintSelection): cheap optimization, do not call cursorX when not
490         needed
491         (paintPars): change signature
492         (refreshPar): add
493         (paintText): adjust
494         (paintTextInset): adjust
495
496         * text.C: adjust
497
498 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
499
500         * lengthcommon.C: compilation fix: remove explicit array size from
501         unit_name[] and friends
502
503 2004-04-05  Angus Leeming  <leeming@lyx.org>
504
505         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
506
507         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
508         present only for the preferences dialog.
509         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
510
511 2004-04-05  Angus Leeming  <leeming@lyx.org>
512
513         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
514         to enable the frontends to export changes to lyxrc correctly.
515
516         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
517
518 2004-04-07  André Pönitz  <poenitz@gmx.net>
519
520         * cursor.[Ch] (selClear, adjust): remove math
521
522         * cursor_slice.C: more agressive assert
523
524         * lyxfunc.C:
525         * BufferView_pimpl.C: rework mouse event dispatch
526
527         * dociterator.C:
528         * paragraph.C:
529         * text2.C:
530         * text3.C: adjust
531
532 2004-04-05  André Pönitz  <poenitz@gmx.net>
533
534         * cursor.[Ch] (valign, halign...): remove unneeded functions
535
536 2004-04-05  Angus Leeming  <leeming@lyx.org>
537
538         * lyxlength.[Ch] (unit_name et al.): const-correct.
539
540 2004-04-05  Angus Leeming  <leeming@lyx.org>
541
542         * BufferView_pimpl.C:
543         * buffer.C:
544         * counters.C:
545         * cursor.C:
546         * lyxfunc.C
547         * paragraph.C:
548         * pariterator.C:
549         * text.C:
550         * text2.C:
551         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
552
553 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
554
555         * text3.C (getStatus): add LFUN_BEGINNINGBUF
556
557 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
558
559         * lyxfind.C: add a couple of inTexted() tests + other small fixes
560         * BufferView_pimpl.[Ch] (getStatus)
561         * BufferView.[Ch] (getStatus): add
562         * lyxfunc.C (getStatus): move lfuns handled in
563         BufferView::dispatch to te function above
564         * Cursor.C (setSelection): set selection() = true
565
566 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
567
568         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
569
570 2004-03-31  Angus Leeming  <leeming@lyx.org>
571
572         * lyxfunc.C (dispatch): Fall through to the generic
573         Dialogs::show("preamble").
574
575 2004-03-31  Angus Leeming  <leeming@lyx.org>
576
577         * lyxfunc.C (dispatch): Fall through to the generic
578         Dialogs::show("spellchecker").
579
580 2004-03-31  Angus Leeming  <leeming@lyx.org>
581
582         * lyxfunc.C (getStatus, dispatch): changed invocation of the
583         preferences dialog.
584
585 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
586
587         * BufferView.C
588         * cursor.[Ch]
589         * dociterator.[Ch]:
590         * insetiterator.[Ch]:
591         * lyxfind.C:
592         * lyxfunc.C:
593         * pariterator.[Ch]:
594         * text2.C:
595         * undo.[Ch]: s/DocumentIterator/DocIterator/g
596
597 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
598
599         * BufferView.C (setCursor, putSelectionAt): call edit to open the
600         insets where we are putting the cursor.
601
602 2004-03-31  Angus Leeming  <leeming@lyx.org>
603
604         * lfuns.h:
605         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
606
607         * lyxrc.[Ch] (read, write): overloaded member functions taking
608         a std::[io]stream arguments.
609
610         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
611
612 2004-03-31  Angus Leeming  <leeming@lyx.org>
613
614         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
615         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
616
617         * lyxtextclass.C (load): if the text class couldn't be loaded, then
618         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
619
620 2004-03-31  Angus Leeming  <leeming@lyx.org>
621
622         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
623         the LFUN_ALL_INSETS_TOGGLE code.
624
625 2004-03-30  Angus Leeming  <leeming@lyx.org>
626
627         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
628         has died. Fall through to the generic Dialogs::show("document").
629
630 2004-03-30  Angus Leeming  <leeming@lyx.org>
631
632         * lfuns.h:
633         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
634         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
635
636         * lyxfunc.C (getStatus, dispatch): define the actions for these
637         lfuns. Little more than a cut and pste job from ControlDocument.C
638
639         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
640
641 2004-03-30  Angus Leeming  <leeming@lyx.org>
642
643         * lfuns.h:
644         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
645         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
646
647         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
648         open/closed state of ollapsable insets. Usage:
649
650         all-inset-toggle <state> <name>, where
651         <state> == "open" || "closed" || "toggle" and
652         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
653
654         * lyxtext.h, text2.C (toggleInset): removed.
655
656         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
657         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
658         now passes LFUN_INSET_TOGGLE to the found inset.
659
660         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
661         is now invoked as "all-insets-toggle toggle branch".
662
663 2004-03-30  Angus Leeming  <leeming@lyx.org>
664
665         * dociterator.C:
666         * insetiterator.C:
667         * pariterator.[Ch]: added/corrected header blurb.
668
669 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
670
671         * dociterator.[Ch]: add an inset_ member
672         (backwardPos): implemented
673         (backwardPos, forwardPos): use inset_ when the stack is empty.
674         (doc_iterator_begin, doc_iterator_end): implemented
675         * pariterator.[Ch]: adjust, add begin, end
676         * insetiterator.[Ch]: adjust, add begin, end
677         * cursor.C:
678         * document.C:
679         * BufferView.C:
680         * BufferView_pimpl.C:
681         * CutAndPaste.C: adjust
682
683 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
684
685         * buffer.C: increment file format to 232.
686         * LaTeXFeatures.C: add bibtopic package.
687         * bufferparams.[Ch]: param \use_bibtopic.
688
689         * lyxrc.[Ch]: add lyxrc bibtex_command
690         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
691
692         * buffer.C: increment file format to 231.
693
694 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
695
696         * dociterator.C: implement forwardPar
697         * iterators.[Ch]: remove, replaced by
698         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
699         * BufferView.C:
700         * BufferView_pimpl.C:
701         * CutAndPaste.C:
702         * buffer.C:
703         * bufferview_funcs.C:
704         * cursor.C:
705         * lyxfind.C
706         * lyxfunc.C
707         * paragraph_funcs.C
708         * toc.C:
709         * Makefile.am: adjust
710
711 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
712
713         * CutAndPaste.C (pasteSelection): fix 2 crashes
714         (eraseSelection): fix a crash
715         * paragraph_funcs.C: remove a warning
716
717 2004-03-28  Angus Leeming  <leeming@lyx.org>
718
719         * lfuns.h:
720         * LyXAction.C (init): new LFUN_PRINT.
721
722         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
723
724 2004-03-27  Angus Leeming  <leeming@lyx.org>
725
726         * lfuns.h:
727         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
728
729         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
730
731 2004-03-27  Angus Leeming  <leeming@lyx.org>
732
733         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
734         insetlist always contains non-null pointers to insets.
735
736 2004-03-26  Angus Leeming  <leeming@lyx.org>
737
738         * src/BufferView_pimpl.C:
739         * src/CutAndPaste.C:
740         * src/buffer.C:
741         * src/iterators.C:
742         * src/output_plaintext.C:
743         * src/outputparams.h:
744         * src/paragraph_funcs.C:
745         * src/rowpainter.C:
746         * src/text.C:
747         * src/text2.C:
748         * src/frontends/controllers/ControlErrorList.C:
749         * src/frontends/gtk/FileDialogPrivate.C:
750         * src/frontends/gtk/GPainter.C:
751         * src/frontends/gtk/GToolbar.C:
752         * src/frontends/qt2/QRef.C:
753         * src/mathed/math_scriptinset.C: squash compiler warnings.
754
755 2004-03-26  Angus Leeming  <leeming@lyx.org>
756
757         * ispell.C (LaunchIspell::start):
758         * lyx_cb.C (AutoSaveBuffer::start):
759         invoke run(DontWait) rather than runNonBlocking().
760
761 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
762
763         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
764
765 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
766
767         * kbsequence.C (print): adjust
768
769         * kbmap.C (printKeySym): rename and change signature
770         (printKey): use LyXKeySym::print()
771
772 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
773
774         * undo.C: add using std::advance to compile for stlport
775
776 2004-03-24  Angus Leeming  <leeming@lyx.org>
777
778         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
779         it leads to a crash when no buffer is present.
780
781 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
782             Martin Vermeer  <martin.vermeer@hut.fi>
783
784         * lyxfunc.C (dispatch):
785         * bufferparams.C (readToken): use the new LColor::setColor
786
787         * LColor.[Ch] (setColor): new version that takes two strings as
788         argument and creates a new color entry if necessary
789
790 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
791
792         * buffer.C (makeLaTeXFile): if the main latex file that is
793         processed is usually a subdocument of some master, then pretend
794         for a while that it is actually the master
795
796 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
797
798         * buffer.C (getLabelList):
799         (getBibkeyList): use getMasterBuffer()
800         (getMasterBuffer): new method. Returns the main document in the
801         case where one is using included documents.
802
803 2004-03-25  André Pönitz  <poenitz@gmx.net>
804
805         * Makefile.am:
806         * iterators.[Ch]:
807         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
808
809         * ParagraphList_fwd.h: change ParagraphList to a std::vector
810
811         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
812         text*.C over here. Rename namespace CutAndPaste to lyx::cap
813
814         * ParameterStruct.h: merge with ParagraphParameters
815
816         * lyxtext.h: remove LyXText::parOffset() and getPar()
817
818         * text3.C: Remove all 'manual' update calls. We do now one per user
819         interaction which is completely sufficient.
820
821         * Bidi.C:
822         * BufferView.[Ch]:
823         * BufferView_pimpl.C:
824         * FontIterator.[Ch]:
825         * MenuBackend.C:
826         * ParagraphParameters.[Ch]:
827         * buffer.C:
828         * buffer.h:
829         * bufferlist.C:
830         * cursor.[Ch]:
831         * cursor_slice.[Ch]:
832         * dociterator.[Ch]:
833         * errorlist.[Ch]:
834         * factory.C:
835         * lfuns.h:
836         * lyxfind.C:
837         * lyxfunc.C:
838         * output_docbook.[Ch]:
839         * output_latex.[Ch]:
840         * output_linuxdoc.[Ch]:
841         * output_plaintext.[Ch]:
842         * paragraph.[Ch]:
843         * paragraph_funcs.[Ch]:
844         * paragraph_pimpl.[Ch]:
845         * rowpainter.C:
846         * tabular.[Ch]:
847         * text.C:
848         * text2.C:
849         * toc.C:
850         * undo.[Ch]: adjust
851
852         * frontends/controllers/ControlDocument.C:
853         * frontends/controllers/ControlErrorList.C:
854         * frontends/controllers/ControlSpellchecker.C:
855         * insets/inset.C:
856         * insets/inset.h:
857         * insets/insetbase.h:
858         * insets/insetbibitem.C:
859         * insets/insetbox.C:
860         * insets/insetbranch.C:
861         * insets/insetcaption.C:
862         * insets/insetcharstyle.C:
863         * insets/insetcharstyle.h:
864         * insets/insetcollapsable.C:
865         * insets/insetcollapsable.h:
866         * insets/insetert.C:
867         * insets/insetfloat.C:
868         * insets/insetfoot.C:
869         * insets/insetmarginal.C:
870         * insets/insetnote.C:
871         * insets/insetoptarg.C:
872         * insets/insettabular.C:
873         * insets/insettext.C:
874         * insets/insettext.h:
875         * insets/insetwrap.C:
876         * mathed/math_mboxinset.C:
877         * mathed/math_nestinset.C:
878         * mathed/math_scriptinset.C:
879         * mathed/math_scriptinset.h:
880         * support/types.h:
881
882 2004-03-24  Angus Leeming  <leeming@lyx.org>
883
884         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
885         deal with any child processes that have finished but are waiting to
886         communicate this fact to the rest of LyX.
887
888 2004-03-24  Angus Leeming  <leeming@lyx.org>
889
890         64-bit compile fixes.
891
892         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
893         (c-tor): pass lyx::pos_types rather than ints.
894
895         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
896         lyx::pos_type.
897
898         * text.C (Delete): compile fix.
899         (getPar): ensure that function declaration is the same as that in
900         the header file.
901
902 2004-03-23  Angus Leeming  <leeming@lyx.org>
903
904         * ispell.C (LaunchIspell):
905         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
906         a boost::shred_ptr rather than a std::auto_ptr.
907
908 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
909
910         * lyxfunc.C (getStatus): handle read-only buffers correctly;
911         handle LFUN_FILE_INSERT_*
912
913         * lyxrc.C (setDefaults, getDescription, output, read):
914         * lyxrc.h: remove ps_command
915
916 2004-03-22  Angus Leeming  <leeming@lyx.org>
917
918         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
919         Ensure that error_handler is processed once only and that all data
920         is saved before attempting to output any warning messages.
921
922         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
923
924 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
925
926         * tabular.C (TeXRow): crash fix (from Kayvan and André)
927
928 2004-03-19  André Pönitz  <poenitz@gmx.net>
929
930         * cursor.[Ch] (reset): take main text inset as argument
931
932         * BufferView: adjust
933         * BufferView_pimpl.C: adjust
934
935         * paragraph.[Ch]: fix completely broken operator=()
936
937 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
938
939         * LColor.C (getFromLyXName): make sure that the color name is used
940         as lowercase.
941
942 2004-03-17  Angus Leeming  <leeming@lyx.org>
943
944         * lfuns.h:
945         * LyXAction.C (init): remove LFUN_FORKS_KILL.
946
947         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
948         dialog and to kill a forked process.
949
950 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
951
952         * text2.C (setCursorFromCoordinates): fix font problem
953
954 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
955
956         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
957         bogus "rebuild cursor" code
958
959 2004-03-11  André Pönitz  <poenitz@gmx.net>
960
961         * buffer.[Ch]: use InsetText instead of LyXText as container for
962         the main lyx text.
963
964         * dociterator.[Ch]: drop the BufferView * member which is not needed
965         anymore after the change to buffer.C
966
967         * paragraph_funcs.C:
968         * text.C:
969         * text2.C:
970         * BufferView.[Ch]:
971         * BufferView_pimpl.[Ch]:
972         * cursor.[Ch]:
973         * cursor_slice.[Ch]: adjust
974
975         * text3.C: fix bug in mathDispatch
976
977 2004-03-08  André Pönitz  <poenitz@gmx.net>
978
979         * undo.[Ch]: use 'StableDocumentIterator' as base for
980         the Undo struct.
981
982 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
983
984         * LaTeXFeatures.C:
985         * bufferparams.[Ch]: add jurabib support and param.
986
987         * LaTeX.C: add FIXME/comment.
988
989 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
990
991         * buffer.C: increment file format to 230.
992
993 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
994
995         * cursor.C (dispatch): avoid infinite loops
996
997 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
998
999         * rowpainter.C (paintSelection): fix x coordinates
1000
1001 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1002
1003         * text.C (rowBreakPoint): fix breaking before displayed insets
1004
1005 2004-03-01  André Pönitz  <poenitz@gmx.net>
1006
1007         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1008
1009         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1010
1011         * Makefile.am:
1012         * BufferView.C:
1013         * BufferView_pimpl.C:
1014         * buffer.C:
1015         * lyxfind.C:
1016         * lyxfunc.C:
1017         * text.C:
1018         * text2.C:
1019         * text3.C: adjust
1020
1021 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1022
1023         * lyxtext.h:
1024         * text.C:
1025         * text2.C:
1026         * rowpainter.C:
1027         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1028         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1029
1030 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1031
1032         * Bidi.[Ch] (computeTables): const correctness
1033         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1034         fill_hfill, fill_label_hfill and x from Row
1035         * lyxtext.h: prepareToPrint returns a RowMetrics
1036         * rowPainter.C: adjust
1037         * text.C (prepareToPrint): use width, not textWidth. adjust
1038         (redoParagraphInternal, cursorX): adjust
1039         * text2.C (getColumnNearX): adjust
1040         (init): put a default value to the top LyXText::width
1041
1042 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1043
1044         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1045
1046 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1047
1048         * lyxtext.h: add FontIterator class
1049
1050         * text.C (FontIterator, operator*, operator->, operator++): add
1051         (rowBreakPoint, setRowWidth): adjust (fixing a
1052         rebreaking bug)
1053
1054 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1055
1056         * BufferView_pimpl.C (workAreaDispatch): allow also
1057         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1058
1059 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1060
1061         * text.C (rowBreakPoint): fix a bug showing with very large insets
1062
1063 2004-02-25  André Pönitz  <poenitz@gmx.net>
1064
1065         * text3.C:
1066         * cursor.[Ch]: move some mathed specific code to mathed
1067
1068 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1069
1070         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1071         use_tempdir in preferences
1072         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1073         tempfile creation
1074         * lyx_main.C: ensure that tempdir is valid
1075         * lyxlex.h: correct typo
1076         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1077         * paragraph.[Ch] (isMultiLingual): make const
1078         * cursor.[Ch] (openable): make const
1079
1080 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1081
1082         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1083
1084 2004-02-20  André Pönitz  <poenitz@gmx.net>
1085
1086         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1087
1088         * cursor.[Ch]: prepare for localized getStatus()
1089
1090         * lyxtext.h:
1091         * tabular.C:
1092         * text.C:
1093         * text2.C:
1094         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1095
1096 2004-02-20  André Pönitz  <poenitz@gmx.net>
1097
1098         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1099
1100 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1101
1102         * text2.C (setCursorFromCoordinates): switch to absolute coords
1103         (cursorUp): adjust
1104         (cursorDown): adjust
1105         * text3.C (dispatch): adjust
1106
1107 2004-02-16  André Pönitz  <poenitz@gmx.net>
1108
1109         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1110           insets/ChangeLog)
1111
1112         * cursor_slice.[Ch]: remove unneeded acessor function
1113
1114         * lyxtext.h: rename rtl() to isRTL()
1115
1116         * rowpainter.C:
1117         * tabular.C:
1118         * text.C:
1119         * text2.C:
1120         * text3.C: adjust
1121
1122 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1123
1124         * rowpainter.C (paintSelection): coord fix
1125
1126 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1127
1128         * Spacing.C: compile fix
1129
1130 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1131
1132         * cursor.C (dispatch): restore current_ before returning
1133
1134 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1135
1136         * text2.C (cursorUp, cursorDown): fix coords
1137         (moveUp): fix crash
1138
1139 2004-02-12  André Pönitz  <poenitz@gmx.net>
1140
1141         * lyxtext.h:
1142         * text.C:
1143         * text2.C:
1144         * text3.C: add LCursor & parameter to most cursor movement functions
1145           remove usage of LyXText::cursorRow() and cursorPar()
1146
1147         * cursor.[Ch]: add textRow() needed members
1148
1149         * BufferView.C:
1150         * BufferView_pimpl.C:
1151         * paragraph.[Ch]:
1152         * BufferView.C:
1153         * BufferView_pimpl.C: adjust
1154
1155 2004-02-11  André Pönitz  <poenitz@gmx.net>
1156
1157         * lyxfunc.C:
1158         * BufferView.[Ch]:
1159         * BufferView_pimpl.C: shift undo/redo handling
1160
1161         * cursor.[Ch]: fix mathed crash
1162
1163         * lyxfind.C:
1164         * lyxtext.h: move selectionAsText to LCursor
1165
1166         * output_latex.C:
1167         * paragraph.C:
1168         * text.C:
1169         * text2.C:
1170         * text3.C: adjust
1171
1172         * rowpainter.C: fix excessive drawing
1173
1174 2004-02-06  André Pönitz  <poenitz@gmx.net>
1175
1176         * BufferView.[Ch]:
1177         * BufferView_pimpl.[Ch]:
1178         * text3.C: move some text specific LFUN handling
1179
1180 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1181
1182         * text3.C (checkInsetHit): adjust coords
1183         * text2.C (getColumnNearX): adjust coords
1184         (edit): adjust coords
1185         * text.C (getRowNearY): add two asserts
1186
1187 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1188
1189         * converter.C:
1190         * format.C: add using std::distance to compile on gcc 2.95/stlport
1191
1192 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1193
1194         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1195
1196 2004-02-04  André Pönitz  <poenitz@gmx.net>
1197
1198         * BufferView.[Ch] (insertInset):
1199         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1200
1201         * text2.C:
1202         * text3.C: adjust
1203
1204 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1205
1206         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1207         on the default clause of the switch
1208         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1209         wasn't catched by LCursor::dispatch
1210
1211 2004-02-03  André Pönitz  <poenitz@gmx.net>
1212
1213         * BufferView.C:
1214         * cursor.[Ch]: some additional asserts
1215
1216         * undo.[Ch]: remove LyXText dependency in interface
1217
1218         * lyxfunc.C: adjust
1219
1220         * lyxtext.h (firstPar, lastPar): remove dead functions
1221
1222         * text.C:
1223         * text2.C:
1224         * text3.C:
1225         * paragraph.[Ch]: adjust
1226
1227 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1228
1229         * lyxfind.C (find): fix argument order in call to ::find
1230
1231 2004-02-02  André Pönitz  <poenitz@gmx.net>
1232
1233         * cursor.[Ch]: remove direct access to anchor
1234
1235         * text.C: remove findText() hack
1236
1237 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1238
1239         * iterators.[Ch] (lockPath): remove in favour of...
1240         * BufferView.[Ch] (setCursor): this addition
1241         * BufferView.C (putSelectionAt): adjust
1242         * undo.C (performUndoOrRedo): adjust
1243         * lyxfunc.C (dispatch): adjust
1244
1245 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1246
1247         * iterators.C (lockPath): add a missing slice
1248         * undo.C (performUndoOrRedo): remove redundant positioning code
1249
1250 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1251
1252         * vc-backend.C (scanMaster): ";" -> ';'
1253
1254 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1255
1256         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1257         std::binary_function
1258
1259         * lyxtextclass.C (compare_name): rename to...
1260         (LayoutNamesEqual): ...this
1261
1262         * lyxlex_pimpl.C (compare_tags): inherit from
1263         std::binary_function, put back into anon namespace
1264
1265         * lyxfind.C (MatchString): inherig from std::binary_function
1266         (findChange): use empty() istead of !size()
1267
1268         * format.C (FormatNamesEqual): new functor
1269         (getFormat): use it
1270         (getNumber): use it
1271         (add): use it
1272         (erase): use it
1273         (setViewer): use it
1274
1275         * converter.C (compare_Converter): rename to...
1276         (ConverterEqual): ...this, and fixup a bit.
1277         (getConverter): use it, and make function const
1278         (getNumber): use it, and make function const
1279         (add): use it
1280         (erase): use it:
1281
1282         * bufferlist.C: add using boost::bind
1283
1284         * MenuBackend.C (MenuNamesEqual): new functor
1285         (hasMenu): use it, and make function const
1286         (hasSubmenu): use nested bind to get rid of compare_memfun.
1287
1288 2004-01-30  André Pönitz  <poenitz@gmx.net>
1289
1290         * BufferView_pimpl.C:
1291         * cursor.C:
1292         * cursor.h:
1293         * cursor_slice.[Ch]:
1294         * lyxfunc.C:
1295         * lyxtext.h:
1296         * paragraph_funcs.C:
1297         * paragraph_funcs.h:
1298         * rowpainter.C:
1299         * text.C:
1300         * text2.C:
1301         * text3.C: move some of the edit(x,y) handling to the insets
1302         some coordinate changes.
1303
1304 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1305
1306         * text.C: add using statements for std::advance and std::distance
1307
1308         * paragraph.C: add using statement for std::distance
1309
1310         * lyxfind.C: add using statement for std::advance
1311
1312         * cursor.C (region): remove std:: from swap
1313         (openable): use nucleus in stead of operator->
1314
1315         * BufferView.C: add using statements for std::distance and std::swap
1316
1317 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1318
1319         * iterators.C: Remove the pimple, move the needed structures to
1320         the header file. Create accessor for the positions stack.
1321         (asPosIterator): remove function
1322
1323         * PosIterator.C (PosIterator): move constructors to top of file
1324         (PosIterator): reimplement the constructor taking a ParIterator in
1325         terms of setFrom.
1326         (setFrom): new function
1327         (operator!=): inline it
1328
1329 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1330
1331         * lyxfind.C (replaceAll): use std::advance
1332
1333         * iterators.h: inherit from std::iterator.
1334
1335         * PosIterator.C (advance, distance): remove
1336         * PosIterator.h: interit from std::iterator.
1337
1338 2004-01-26  André Pönitz  <poenitz@gmx.net>
1339
1340         * BufferView.[Ch]:
1341         * BufferView_pimpl.[Ch]:
1342         * InsetList.[Ch]:
1343         * PosIterator.[Ch]:
1344         * buffer.h:
1345         * bufferview_funcs.C:
1346         * cursor.[Ch]:
1347         * cursor_slice.h:
1348         * factory.[Ch]:
1349         * iterators.[Ch]:
1350         * lyxfind.C:
1351         * lyxfunc.C:
1352         * lyxtext.h:
1353         * output_docbook.C:
1354         * output_latex.C:
1355         * output_linuxdoc.C:
1356         * output_plaintext.C:
1357         * paragraph.[Ch]:
1358         * paragraph_funcs.[Ch]:
1359         * paragraph_pimpl.[Ch]:
1360         * rowpainter.C:
1361         * tabular.C:
1362         * tabular.h:
1363         * text.C:
1364         * text2.C:
1365         * text3.C: more IU:  dumps most of the rest of the mathcursor
1366     implementation into cursor.[Ch]; "globalize" a bit of it.
1367
1368 2004-01-25  Angus Leeming  <leeming@lyx.org>
1369
1370         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1371
1372 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1373
1374         * LaTeXFeatures.h: add nice_ and nice() const
1375         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1376
1377 2004-01-20  André Pönitz  <poenitz@gmx.net>
1378
1379         * BufferView.[Ch]:
1380         * BufferView_pimpl.C:
1381         * PosIterator.C:
1382         * bufferview_funcs.C:
1383         * cursor.[Ch]:
1384         * cursor_slice.[Ch]:
1385         * factory.C:
1386         * iterators.C:
1387         * lyx_cb.C:
1388         * lyxfind.C:
1389         * lyxfunc.C:
1390         * lyxtext.h:
1391         * rowpainter.C:
1392         * text.C:
1393         * text2.C:
1394         * text3.C:
1395         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1396           LCursor and mathcursor parts to LCursor and InsetBase.
1397
1398 2004-01-15  André Pönitz  <poenitz@gmx.net>
1399
1400         * cursor_slice.[Ch]: add a few covienience functions
1401
1402         * funcrequest.[Ch]: remove BufferView * member
1403
1404         * BufferView_pimpl.C:
1405         * cursor.C:
1406         * factory.[Ch]:
1407         * lyxfind.[Ch]:
1408         * lyxfunc.C:
1409         * lyxtext.h:
1410         * text3.C:
1411         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1412
1413 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1414
1415         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1416         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1417
1418 2004-01-13  André Pönitz  <poenitz@gmx.net>
1419
1420         * textcursor.[Ch]:
1421         * lyxtext.h: hide cursor and selection anchor behind accessor function
1422
1423         * BufferView.C:
1424         * BufferView_pimpl.[Ch]:
1425         * PosIterator.C:
1426         * bufferview_funcs.C:
1427         * cursor.h:
1428         * lyxfind.C:
1429         * lyxfunc.C:
1430         * text.C:
1431         * text2.C:
1432         * text3.C:
1433         * undo.C: adjust
1434
1435         * cursor.h:
1436         * cursor_slice.[Ch]: some integer type changes for inset unification
1437
1438         * lyxcursor.[hC]: remove, it's CursorSlice now.
1439
1440         * Makefile.am:
1441         * BufferView_pimpl.[Ch]:
1442         * bufferview_funcs.C:
1443         * cursor_slice.C:
1444         * lyxtext.h:
1445         * text.C:
1446         * text2.C:
1447         * text3.C:
1448         * textcursor.[Ch]: adjust
1449
1450 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1451
1452         * text2.C (undoSpan): add and use
1453         * text.C (breakParagraph): use undoSpan (fix bug 578)
1454         * lyxtext.h: adjust
1455
1456 2004-01-08  Angus Leeming  <leeming@lyx.org>
1457
1458         * BufferView_pimpl.C (MenuInsertLyXFile):
1459         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1460         * lyxfunc.C (menuNew, open, doImport):
1461         FileFilterList change to the FileDialog open and save functions.
1462
1463 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1464
1465         * ShareContainer.h: make isEqual and isUnique adaptable
1466
1467         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1468
1469 2004-01-07  Angus Leeming  <leeming@lyx.org>
1470
1471         * LyXAction.C:
1472         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1473
1474         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1475
1476         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1477         functions replacing find, replace and replaceAll.
1478
1479         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1480         LFUN_WORDFIND(FORWARD|BACKWARD).
1481
1482 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1483
1484         * text.C (breakParagraph): remove an outdated #warning
1485
1486 2004-01-07  André Pönitz  <poenitz@gmx.net>
1487
1488         * lyxfind.C: somewhat clearer logic
1489
1490         * text.C: prevent crash in cursorX on unitialized row cache
1491
1492 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1493
1494         * lyxcursor.[Ch] (operator>): add
1495         * textcursor.C (selStart, selEnd): use std::min and std::max
1496
1497 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1498
1499         * Chktex.C: include boost/format.hpp
1500
1501 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1502
1503         * InsetList.C: replace functor MathcIt with adaptable functor
1504         InsetTablePosLess
1505         (insetIterator): modify accordingly
1506
1507         * BranchList.h: move the BranchNamesEqual functor here from...
1508         * BranchList.C: ... to here
1509
1510         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1511         SameName and match.
1512         (add): replace a finding loop with std::find_if.
1513
1514 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1515
1516         * output_docbook.C: moving LatexParam functionality into
1517         .layout files
1518
1519 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1520
1521         * buffer.C: increment format to 229.
1522
1523 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1524
1525         * LaTeXFeatures.C:
1526         * lyx_sty.[Ch]: remove minipageindent_def
1527
1528         * LyXAction.C:
1529         * factory.C:
1530         * lfuns.h:
1531         * lyxfunc.C:
1532         * text3.C: remove LFUN_INSET_MINIPAGE
1533
1534 2003-12-28  Angus Leeming  <leeming@lyx.org>
1535
1536         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1537
1538 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1539
1540         * text2.C (setParagraph): fix off-by-one crash
1541
1542 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1543
1544         * output_docbook.C: header stuff for AGU
1545
1546 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1547
1548         * text2.C (redoCursor): remove
1549         * text.C:
1550         * text3.C:
1551         * BufferView_pimpl.C: remove calls to redoCursor and
1552         setCursor(cursor.par(), cursor.pos()) all around
1553
1554 2003-12-15  Angus Leeming  <leeming@lyx.org>
1555
1556         * buffer.C: up the format to 228.
1557
1558 2003-12-15  André Pönitz  <poenitz@gmx.net>
1559
1560         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1561         slices
1562
1563         * Makefile.am:
1564
1565         * BufferView_pimpl.C:
1566         * cursor.[Ch]:
1567         * lyxcursor.[Ch]:
1568         * rowpainter.[Ch]:
1569         * lyxtext.h:
1570         * text.C:
1571         * text2.C:
1572         * text3.C: adjust
1573
1574 2003-12-15  Angus Leeming  <leeming@lyx.org>
1575
1576         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1577         than getFromGUIName to manipulate the color.
1578
1579 2003-12-14  Angus Leeming  <leeming@lyx.org>
1580
1581         * BranchList.[Ch]: minimize the API.
1582         (Branch::getBranch, getColor): now return a 'const &'.
1583         (Branch::setSelected) now returns a bool set to true if the
1584         selection status changes.
1585         (BranchList::clear, size, getColor, setColor, setSelected,
1586         allBranches, allSelected, separator): removed.
1587         (BranchList::find): new functions, returning the Branch with
1588         the given name.
1589         (BranchList::add, remove): return a bool indicating that
1590         the operation was successful.
1591
1592         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1593         new InsetBranch::isBranchSlected member function.
1594
1595         * LColor.[Ch]: mimimize the API.
1596         (fill): renamed as addColor and made private.
1597         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1598         versions of these functions taking a string arg have been removed.
1599
1600         * bufferparams.C (readToken):
1601         * lyxfunc.C (dispatch):
1602         * lyxrc.C (read): changes due to the altered BranchList and
1603         LColor APIs.
1604
1605         * factory.C (createInset, readInset): changes due to altered
1606         InsetBranch c-tor.
1607
1608 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1609
1610         * factory.C:
1611         * lyxfunc.C: remove insetminipage. "minipage-insert"
1612         now produces a frameless minipage box inset.
1613
1614 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1615
1616         * textcursor.[Ch] (selStart,selEnd): add new methods
1617         remove selection::start, end, use LyXCursor::operator<
1618         * lyxcursor.[Ch] (operator<): add
1619         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1620         * BufferView.[Ch] (unsetXSel): add
1621         * text2.C (clearSelection): use unsetXSel,adjust
1622         * text.C: adjust
1623         * text3.C: adjust
1624         * rowpainter.C: adjust
1625         * bufferview_funcs.C (put_selection_at): adjust
1626
1627 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1628
1629         * BufferView_pimpl.C: small coord. correction
1630
1631 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1632
1633         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1634         dragging over the splash screen.
1635
1636 2003-12-11  Angus Leeming  <leeming@lyx.org>
1637
1638         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1639         as it is now handled in LyXText::dispatch.
1640
1641         * text3.C (doInsertInset): remove a level of nesting.
1642
1643 2003-12-11  Angus Leeming  <leeming@lyx.org>
1644
1645         * factory.C (createInset): changes due to the changed interface to
1646         InsetCommandMailer::string2params.
1647
1648 2003-12-10  Angus Leeming  <leeming@lyx.org>
1649
1650         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1651         'dialog-show-new-inset <inset name>'
1652
1653 2003-12-10  Angus Leeming  <leeming@lyx.org>
1654
1655         * buffer.C: up the format to 227.
1656
1657         * factory.C: the box inset is now identified simply by 'Box'.
1658
1659 2003-12-10  Angus Leeming  <leeming@lyx.org>
1660
1661         * buffer.C: up the format to 226.
1662
1663         * factory.C: the note inset is now identified simply by 'Note'.
1664
1665 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1666
1667         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1668         when a pit is enough. Standarize a couple of loops.
1669
1670 2003-12-05  Angus Leeming  <leeming@lyx.org>
1671
1672         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1673         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1674         data to the re-worked "log" dialog.
1675
1676 2003-12-03  André Pönitz  <poenitz@gmx.net>
1677
1678         * PosIterator.C:
1679         * iterators.C:
1680         * lyxtext.h:
1681         * output_latex.C:
1682         * paragraph_funcs.C:
1683         * text.C:
1684         * text2.C: use Inset::getText instead of Inset::getParagraph
1685
1686 2003-12-03  André Pönitz  <poenitz@gmx.net>
1687
1688         * buffer.[Ch]:
1689         * lyxtext.h:
1690         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1691         InsetText::read() as LyXText::read()
1692
1693 2003-12-02  Angus Leeming  <leeming@lyx.org>
1694
1695         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1696         type. Add a comment in the implementation that the function uses
1697         the stream's bad() function rather than fail() as the std::streams
1698         would do.
1699
1700 2003-12-02  André Pönitz  <poenitz@gmx.net>
1701
1702         * lyxlex.[Ch]: make interface more similar to std::stream
1703
1704         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1705
1706 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1707
1708         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1709
1710 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1711
1712         * vspace.[Ch]: remove VSpace::NONE
1713
1714 2003-12-01  André Pönitz  <poenitz@gmx.net>
1715
1716         * buffer.[Ch]:
1717         * lyxtext.h: move ParagraphList member to LyXText
1718         rename LyXText::ownerParagraphs to LyXText::paragraph
1719
1720         * CutAndPaste.C:
1721         * bufferview_funcs.C:
1722         * iterators.[Ch]:
1723         * lyx_cb.C:
1724         * paragraph.C:
1725         * rowpainter.C:
1726         * tabular.C:
1727         * text.C:
1728         * text2.C:
1729         * text3.C: adjust
1730
1731         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1732
1733         * undo.C: fix cursor positioning
1734
1735 2003-12-01  John Levon  <levon@movementarian.org>
1736
1737         * BufferView_pimpl.C: fix a crash on exit with
1738         a buffer open
1739
1740 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1741
1742         * BranchList.C: fix setSelected() method.
1743
1744 2003-11-28  André Pönitz  <poenitz@gmx.net>
1745
1746         * ParagraphParameters.[Ch]:
1747         * ParameterStruct.h: remove space above/below from Paragraph to
1748          InsetVSpace
1749
1750         * BufferView_pimpl.C:
1751         * factory.C:
1752         * lyxfunc.C:
1753         * lyxtext.h:
1754         * output_latex.C:
1755         * paragraph.C:
1756         * paragraph_funcs.C:
1757         * rowpainter.[Ch]:
1758         * text.C:
1759         * text2.C:
1760         * text3.C: adjust
1761
1762 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1763
1764         * factory.C: Syntax change for CharStyles
1765
1766 2003-11-28  André Pönitz  <poenitz@gmx.net>
1767
1768         * BufferView.[Ch]:
1769         * BufferView.[Ch]:
1770         * buffer.[Ch]:
1771         * buffer.[Ch]: move LyXText member
1772
1773 2003-11-28  André Pönitz  <poenitz@gmx.net>
1774
1775         * BufferView.[Ch]: make LyXText * text a private member
1776
1777         * BufferView_pimpl.C:
1778         * cursor.C:
1779         * iterators.C:
1780         * lyx_cb.C:
1781         * lyxfind.C:
1782         * lyxtext.h:
1783         * rowpainter.[Ch]:
1784         * text.C:
1785         * text2.C:
1786         * undo.C: adjust
1787
1788         * output_plaintext.C: cleanup
1789
1790 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1791
1792         * buffer.C:
1793         * lyxtextclass.[Ch]: parametrize SGML document header
1794
1795 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1796
1797         * converter.[Ch]:
1798         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1799         getFlavor().
1800
1801 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1802
1803         * text2.C (setFont): rework using PosIterator (no more recursive)
1804         (setCharFont): no more needed
1805         (setLayout): no more selection cursors fiddling (done by redoCursor)
1806         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1807         destroy remaining ones)
1808
1809 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1810
1811         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1812         * lyxtext.h: ditto
1813         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1814         selection cursors
1815         * lyxfunc.C: adjust
1816         * text3.C: adjust + re-allow multi par depth changes
1817         * textcursor.C: simplify a bit
1818
1819 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1820
1821         * src/buffer.C:
1822         * src/lyxlayout.C:
1823         * src/lyxlayout.h:
1824         * src/lyxtext.h:
1825         * src/output_docbook.C:
1826         * src/output_latex.C:
1827         * src/paragraph.C:
1828         * src/paragraph.h:
1829         * src/sgml.C:
1830         * src/sgml.h:
1831         * src/text2.C: Introducing a number of tags parametrizing various
1832         XML formats that we may want to support
1833
1834 2003-11-25  André Pönitz  <poenitz@gmx.net>
1835
1836         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1837
1838         * lyxtext.h (leftMargin/rightMargin): simplify interface
1839
1840         * rowpainter.C:
1841         * text.C:
1842         * text2.C:
1843         * text3.C: adjust
1844
1845 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1846
1847         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1848         master file to any child files. Fixes bug 546.
1849
1850 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1851
1852         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1853
1854 2003-11-24  André Pönitz  <poenitz@gmx.net>
1855
1856         * rowpainter.C: simplification
1857
1858         * text2.C (updateCounters): remove call to redoParagraph on
1859         changed labels as this is far too expensive.
1860
1861 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1862
1863         * converter.C (convert): fix a crash: this function gets
1864         called with buffer == 0 from importer code.
1865
1866 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1867
1868         * text3.C (cursorPrevious): make sure that we do not compare
1869         iterators form different containers.
1870         (cursorNext): ditto
1871
1872         * rowpainter.C (paintSelection): make sure that we do not compare
1873         iterators from different containers.
1874
1875         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1876         iterators from different ParagraphList containers.
1877         [NEXT] ditto
1878
1879         * text2.C (LyXText): change order of initialization slightly
1880         (operator=): new function. copy all variables except cache_par_
1881         (moveUp): make sure that we do not compare iterators from
1882         different ParagraphList constainers.
1883         (moveDown): ditto
1884
1885         * text.C (firstPar): new function
1886         (lastPar): new function
1887         (endPar): new function
1888
1889         * lyxtext.h: move things around and group public functions, public
1890         variables, private functions, private variables
1891
1892 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1893
1894         * factory.C: change call to InsetERT constructor to avoid
1895         additional invocation of method status
1896         * text2.C (toggleInset): remove redundant update() call
1897         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1898         instead of a Bufferview pointer
1899
1900 2003-11-21  André Pönitz  <poenitz@gmx.net>
1901
1902         * rowpainter.C: simplification
1903
1904 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1905
1906         * text3.C (dispatch): make possible to extend a word/row selection
1907         with the mouse
1908
1909 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1910
1911         * lyxtext.h: x0_,y0_ -> xo_,yo_
1912         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1913         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1914         * rowpainter.C (paintRows): paint full paragraphs
1915
1916 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1917
1918         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1919         screen coordinates)
1920
1921 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1922
1923         * lyxtext.h: add x0_, y0_
1924         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1925         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1926
1927 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1928
1929         * text2.C (setCursorIntern): move the x_target update here *
1930         * text3.C: change some bv() to true/false in calls to
1931         cursorUp/Down/Right/Left
1932         * cursor.C: use helper function.
1933
1934 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1935
1936         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1937         * paragraph_funcs.[Ch]: correct comment
1938         * rowpainter.C: do not paint selections away from bv->cursor()
1939         Fix a long standing selection painting bug.
1940         * text3.C: generalize mouse-selection code to LyXTexts other that
1941         top one
1942         * textcursor.C: do not use y coords if we can use par offsets
1943
1944 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1945
1946         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1947         cursor position after e.g. inset insert)
1948
1949 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1950
1951         * lyxfind.C (replace): adjust to locking removal + some
1952         code simplification
1953
1954 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1955
1956         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1957         of the path
1958
1959 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1960
1961         * lyxlayout.[Ch]:
1962         * output_docbook.C: XML sanitation: new layout
1963         parameters InnerTag and CommandDepth
1964
1965 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1966
1967         * BufferView_pimpl.C:
1968         * factory.C:
1969         * text3.C: Fix the insertion and modification of button-style
1970         insets
1971
1972 2003-11-13  André Pönitz  <poenitz@gmx.net>
1973
1974         * InsetList.[Ch]: remove deleteLyXText
1975
1976         * paragraph.[Ch]: cache beginOfBody position
1977
1978         * Bidi.C:
1979         * text.C:
1980         * text2.C:
1981         * text3.C: remove superfluous update() calls
1982
1983         * vspace.C: cleanup
1984
1985 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1986
1987         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1988         * BufferView.C (fitLockedInsetCursor): remove
1989         * cursor.[Ch] (getDim): add
1990         * text.C (getRowNearY): add faster version
1991         * text3.C: remove some update calls
1992
1993 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1994
1995         * LaTeXFeatures.C:
1996         * LyXAction.C:
1997         * MenuBackend.C:
1998         * MenuBackend.h:
1999         * dispatchresult.h:
2000         * factory.C:
2001         * lfuns.h:
2002         * lyxfunc.C:
2003         * lyxtextclass.C:
2004         * lyxtextclass.h:
2005         * text3.C: The Character Style /XML short element patch.
2006
2007 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2008
2009         * text3.C:
2010         * factory.C: Small step to solving 'unable to insert some insets'
2011         problem
2012
2013 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2014
2015         * cursor.[Ch] (updatePos): new function for updating the y
2016         position of the tip inset
2017         * bufferview_funcs.C (put_selection_at):
2018         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2019
2020 2003-11-11  André Pönitz  <poenitz@gmx.net>
2021
2022         * text.C: remove big comment on invalid Paragraph pointers as it is
2023         not valid anymore
2024
2025 2003-11-11  André Pönitz  <poenitz@gmx.net>
2026
2027         * text_funcs.[Ch]: merge with ...
2028
2029         * text.C: ... this
2030
2031         * lyxtext.h:
2032         * text2.C:
2033         * text3.C: adjust
2034
2035         * Makefile.am: remove text_funcs.[Ch]
2036
2037 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2038
2039         * cursor.C (getPos): return absolute cached y coord
2040
2041         * BufferView_pimpl.C (fitCursor): new simplistic code
2042         (workAreaDispatch): add a fitCursor call
2043
2044 2003-11-10  André Pönitz  <poenitz@gmx.net>
2045
2046         * BufferView.[Ch]:
2047         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2048
2049 2003-11-10  André Pönitz  <poenitz@gmx.net>
2050
2051         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2052         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2053         indicate that the cursor needs to leave an inset
2054
2055         * lyxtext.h: remove inset locking
2056
2057         * cursor.[Ch]: re-implement functionality provided by inset locking
2058
2059         * BufferView.[Ch]:
2060         * BufferView_pimpl.[Ch]:
2061         * LyXAction.C:
2062         * bufferview_funcs.[Ch]:
2063         * factory.C:
2064         * funcrequest.[Ch]:
2065         * iterators.C:
2066         * lyx_cb.C:
2067         * lyxfind.C:
2068         * lyxfunc.C:
2069         * text.C:
2070         * text2.C:
2071         * text3.C:
2072         * undo.C: adjust
2073
2074 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2075
2076         * PosIterator.[Ch]: replace the stack with a vector, add inset
2077         accesor
2078         * iterators.[C]: adjust
2079
2080 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2081
2082         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2083         replaced
2084         * paragraph_funcs.C (readParToken): put the correct id in the
2085         error item, not the id of the top paragraph
2086
2087 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2088
2089         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2090         * bufferview_funcs.C (put_selection_at): use the above
2091
2092 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2093
2094         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2095
2096 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2097
2098         * output_linuxdoc.h:
2099         * output_plaintext.h:
2100         * output.h:
2101         * output_docbook.h: add #include statements
2102
2103 2003-11-05  José Matos  <jamatos@lyx.org>
2104
2105         * output_docbook.[Ch]:
2106         * output_latex.[Ch]:
2107         * output_linuxdoc.[Ch]:
2108         * output_plaintext.[Ch]: New files for output formats.
2109         * output.[Ch]: New file for helper functions.
2110
2111         * buffer.[Ch]:
2112         * paragraph_funcs.[Ch]: output functions moved to new files.
2113
2114         * outputparams.h: rename of latexrunparams.h
2115
2116         * LaTeX.[Ch]:
2117         * buffer.[Ch]:
2118         * bufferlist.[Ch]:
2119         * converter.[Ch]:
2120         * exporter.C:
2121         * paragraph.[Ch]:
2122         * paragraph_funcs.[Ch]:
2123         * paragraph_pimpl.[Ch]:
2124         * tabular.[Ch]: rename ascii to plaintext
2125         and LatexRunParams to OutputParams.
2126
2127 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2128
2129         * iterators.[Ch] (text): require bv argument
2130         * undo.C (recordUndo):
2131         * lyxfunc.C (dispatch):
2132         * bufferview_funcs.C (put_selection_at): adjust
2133
2134 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2135
2136         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2137
2138 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2139
2140         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2141         nestings
2142
2143 2003-11-04  André Pönitz  <poenitz@gmx.net>
2144
2145         * cursor.[Ch]: restructure
2146
2147         * BufferView.[Ch]:
2148         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2149
2150         * iterators.[Ch] (asCursor): remove
2151
2152         * lfuns.h: remove LFUN_INSET_EDIT
2153
2154         * lyxfunc.C:
2155         * tabular.C:
2156         * text.C:
2157         * text2.C:
2158         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2159
2160 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2161
2162         * lyxfind.[Ch]: complete overhaul
2163         * BufferView_pimpl.C:
2164         * lyxfunc.C: adjust
2165         * paragraph.[Ch] (insert): add
2166
2167 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2168
2169         * BufferView.[Ch]:
2170         * lyxtext.h:
2171         * text.C: remove dead spellcheck code
2172
2173 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2174
2175         * dispatchresult.h: add a val setter
2176
2177         * cursor.C (dispatch): use a tempvar for data_[i]
2178
2179 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2180
2181         * PosIterator.[Ch]: compile fix
2182
2183 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2184
2185         * text.C (cursorPar): deactivate the cursor cache
2186
2187 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2188
2189         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2190
2191 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2192
2193         * text3.C (dispatch): adjust for new DisptchResult semantics.
2194
2195         * lyxfunc.C (dispatch): handle update when return from
2196         Cursor::dispatch, adjust for new DispatchResult semantics.
2197
2198         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2199         DispatchResult(true) mean to not update. Add class functions for
2200         setting dispatched and update, as well as reading.
2201
2202         * cursor.C (dispatch): don't handle update here
2203
2204 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2205
2206         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2207         * trans_mgr.C: adjust
2208
2209         * paragraph_funcs.C (readParToken): exception safety
2210
2211         * lyxvc.h: store the vcs pointer in a scoped_ptr
2212         * lyxvc.C: adjust
2213
2214         * lyxsocket.C (serverCallback): exception safety
2215
2216         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2217
2218         * ispell.C (clone): make it return a auto_ptr
2219
2220         * factory.C (createInset): exception safety
2221         (readInset): exception safety
2222
2223         * bufferlist.C (newBuffer): exception safety
2224
2225         * Thesaurus.C (Thesaurus): use initialization for aik_
2226
2227         * MenuBackend.C (expandToc): exception safety.
2228
2229 2003-11-03  André Pönitz  <poenitz@gmx.net>
2230
2231         * buffer.C:
2232         * buffer.h:
2233         * bufferview_funcs.C: remove getInsetFromId()
2234
2235         * lyxcursor.[Ch]:
2236         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2237
2238         * lyxfunc.C:
2239         * text2.C:
2240         * text3.C: adjust
2241
2242 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2243
2244         * PosIterator.C (distance, advance): new
2245         * bufferview_funcs.[Ch] (put_selection_at): new
2246         * iterators.[Ch] (lockPath): new
2247
2248 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2249
2250         * iterators.[Ch] (asPosIterator): added
2251         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2252         * PosIterator.[Ch]: added
2253
2254 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2255
2256         * text3.C:
2257         * lyxfunc.C:
2258         * cursor.C (dispatch):
2259         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2260
2261         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2262         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2263         contructor, add a class function dispatched. Remove operator>=
2264
2265 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2266
2267         * debug.C: only use the default constructor for debugstream
2268         (lyxerr) here.
2269
2270         * main.C (main): include debug.h and setup the lyxerr streambuf
2271         here.
2272
2273 2003-10-31  José Matos  <jamatos@lyx.org>
2274
2275         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2276
2277         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2278         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2279         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2280         * paragraph_pimpl.C (simpleTeXSpecialC):
2281         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2282         add LatexRunParams argument.
2283
2284         * exporter.C (Export): change call accordingly.
2285
2286         * latexrunparams.h: add new member to take care of the other backends.
2287 2003-10-30  José Matos  <jamatos@lyx.org>
2288
2289         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2290         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2291         factorise code for paragraph output.
2292         * buffer.[Ch]:
2293         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2294         move functions.
2295
2296 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2297
2298         * text3.C (dispatch):
2299         * lyxfunc.C (dispatch):
2300         * cursor.C (dispatch):
2301         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2302
2303         * dispatchresult.h: make the dispatch_result_t ctor explicit
2304
2305 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2306
2307         * sgml.[Ch]:
2308         * buffer.C: small refactoring of docbook stuff
2309
2310 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2311
2312         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2313         meaning.
2314
2315 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2316
2317         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2318         operator dispatch_result_t, and operators for == != and >=
2319
2320         * cursor.C (dispatch): adjust for operator dispatch_result_t
2321         removal. comment out call to update
2322
2323         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2324
2325 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2326
2327         * text3.C:
2328         * text2.C:
2329         * text.C:
2330         * lyxtext.h:
2331         * lyxfunc.C:
2332         * cursor.C:
2333         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2334         (dispatch):
2335
2336         * dispatchresult.h: new file, DispatchResult broken out of
2337         insets/insetbase.h
2338
2339         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2340
2341 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2342
2343         * text.C (rowBreakPoint): put a hack inside #if 0
2344
2345 2003-10-28  André Pönitz  <poenitz@gmx.net>
2346
2347         * lyxtext.h:
2348         * metricsinfo.C:
2349         * paragraph_funcs.C:
2350         * rowpainter.C:
2351         * text.C:
2352         * text2.C: general cleanup (lots of small stuff)
2353
2354 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2355
2356         * text2.C (cursorEnd): simple fix to the "end key goes to one
2357         before the end on last row" bug
2358
2359 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2360
2361         * text.C (backspace): fix the "zombie characters"
2362
2363 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2364
2365         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2366
2367 2003-10-27  André Pönitz  <poenitz@gmx.net>
2368
2369         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2370
2371         * factory.C: handle new InsetPagebreak, InsetLine
2372
2373         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2374         and move handling into new InsetPagebreak, InsetLine
2375
2376         * BufferView_pimpl.C:
2377         * LyXAction.C:
2378         * ParagraphParameters.C:
2379         * ParameterStruct.h:
2380         * lyxfunc.C:
2381         * lyxtext.h:
2382         * paragraph.C:
2383         * paragraph.h:
2384         * paragraph_funcs.C:
2385         * paragraph_pimpl.C:
2386         * rowpainter.C:
2387         * text.C:
2388         * text2.C:
2389         * text3.C: adjust
2390
2391 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2392
2393         * text.C:
2394         * lyxrow_funcs.[Ch]:
2395         * Bidi.C:
2396         * paragraph.C:
2397         * lyxtext.h:
2398         * rowpainter.C:
2399         * text2.C:
2400         * text3.C: remove lastPos uses in favour of Row::endpos
2401
2402 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2403
2404         * undo.C (performUndoOrRedo): fix two crashes by setting a
2405         cursor by hand and reordering some calls. Use bv->lockInset instead
2406         of inset->edit because the latter loses cursor information
2407
2408 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2409
2410         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2411         by Martin
2412         (rowBreakPoint): fix width. change point to point + 1.
2413         Add a missing check.
2414
2415 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2416
2417         * MenuBackend.C:
2418         * lyxfunc.C: fix (at least partly) the problems
2419         with the Nav menu and headers inside branch insets
2420         reported by Kayvan
2421
2422 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2423
2424         * paragraph.C (getChar): add strong asserts
2425
2426         * lyxrow_funcs.C (lastPos): remove hideous hack
2427
2428         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2429         (fill): adjust to that (avoid an infinite loop)
2430
2431 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2432
2433         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2434
2435 2003-10-23  André Pönitz  <poenitz@gmx.net>
2436
2437         * RowList_fwd.h: change list<> to vector<> to gain speed
2438         after suggestion from Alfredo
2439
2440 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2441
2442         * lyxtext.h: move the bidi stuff from here...
2443         * text.C: and here
2444         * text2.C: and here
2445         * Bidi.[Ch]: ... to here
2446
2447 2003-10-23  André Pönitz  <poenitz@gmx.net>
2448
2449         * lyxtext.h:
2450         * text.C (isLastRow, isFirstRow): new functions
2451
2452         * paragraph.h: new width cache member
2453
2454         * rowpainter.C: replace RowList::iterator with Row & where possible
2455
2456         * lyxfunc.C: replace several view()->text with a single call
2457
2458         * toc.C: fix 'unused' warning
2459
2460 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2461
2462         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2463         when woring with stream::pos_type
2464         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2465
2466 2003-10-22  André Pönitz  <poenitz@gmx.net>
2467
2468         * lyxtext.h:
2469         * text.C: use Row & instead of RowList::iterator
2470
2471         * lyxrow.h: rename end() to endpos()
2472
2473         * rowpainter.C:
2474         * text.C:
2475         * text2.C: adjust
2476
2477 2003-10-22  Angus Leeming  <leeming@lyx.org>
2478
2479         * buffer.[Ch] (fully_loaded): new member function, returning true
2480         only when the file has been loaded fully.
2481         Used to prevent the premature generation of previews and by the
2482         citation inset to prevent computation of the natbib-style label.
2483
2484         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2485         templates are all set up.
2486
2487         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2488
2489 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2490
2491         * text.C: fixed an "oops" in the "is a bit silly"
2492         bug fix
2493
2494 2003-10-21  André Pönitz  <poenitz@gmx.net>
2495
2496         * FuncStatus.[Ch]: small stuff, whitespace
2497
2498         * lyxfont.[Ch]: operator<<() for debug reasons
2499
2500         * lyxfunc.C:
2501         * lyxrow_funcs.C:
2502         * lyxtext.h: whitespace, spelling
2503
2504         * paragraph.C: naming of variables
2505
2506         * text.C:
2507         * text2.C: small stuff
2508
2509
2510 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2511
2512         * text.C: (1) finish off the inset display() work;
2513         (2) fix the "is a bit silly" bug (accessing char
2514         past end of par).
2515
2516 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2517
2518         * text.C: re-introduce display() for insets, fixing the
2519         various bugs (stretch of line above, math inset
2520         positioning, ...)
2521
2522 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2523
2524         * text.C (rightMargin): remove spurious semicolon
2525
2526         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2527         1415)
2528
2529 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2530
2531         * text3.C: fix one crash due to wrong cursor def
2532
2533 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2534
2535         * vc-backend.C (scanMaster): make the regex static
2536
2537         * LaTeX.C (scanAuxFile): make the regexs static
2538
2539         * text3.C (doInsertInset, dispatch, dispatch):
2540         * text2.C (cursorUp, cursorDown):
2541         * text.C (selectNextWordToSpellcheck):
2542         * BufferView_pimpl.C (dispatch):
2543         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2544
2545 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2546
2547         * lyxsocket.C: include <cerrno>
2548
2549 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2550
2551         * lyxfunc.C (dispatch): remove textcache stuff
2552
2553         * bufferlist.C (release): remove textcache stuff
2554         (closeAll): ditto
2555
2556         * TextCache.C: delete file
2557         * TextCache.h: delete file
2558
2559         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2560
2561         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2562         delete of the bv_->text.
2563         (resizeCurrentBuffer): remove texcache stuff
2564         (workAreaResize): ditto
2565
2566 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2567
2568         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2569         action.
2570
2571 2003-10-16  André Pönitz  <poenitz@gmx.net>
2572
2573         * lyxrow.[Ch]:
2574         * paragraph.h:
2575         * rowpainter.C:
2576         * text.C:
2577         * text2.C:
2578         * text3.C: speed up by storing y positions per paragraph plus per-row
2579         offset instead of having a 'full' y position in the row.
2580
2581 2003-10-15  André Pönitz  <poenitz@gmx.net>
2582
2583         * iterators.[Ch]:
2584         * iterators.[Ch]:
2585         * undo.[Ch]: make undo aware of inner insets
2586
2587 2003-10-14  Angus Leeming  <leeming@lyx.org>
2588
2589         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2590         static member functions LyX::ref() and LyX::cref.
2591         (lastfiles): new accessor functions for the new lastfiles_ member var.
2592         (addLyXView, views_): add a new LyXView to the list of views_.
2593         (updateInset): loop over all LyXViews to call their own updateInset
2594         member function, returning a pointer to the Buffer owning the inset.
2595
2596         * BufferView_pimpl.C (loadLyXFile):
2597         * MenuBackend.C (expandLastfiles):
2598         * bufferlist.C (MenuWrite, QuitLyX):
2599         lastfiles is no longer a global variable.
2600         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2601
2602         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2603         static function. Access through LyX::cref().emergencyCleanup().
2604
2605 2003-10-14  André Pönitz  <poenitz@gmx.net>
2606
2607         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2608
2609         * undo.[Ch]: restoring part of 'undo in insets'
2610
2611         * Makefile.am:
2612         * undo_funcs.[Ch]: merge with undo.[Ch]
2613
2614         * tabular.C: small cleansing stuff
2615
2616 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2617
2618         * paragraph_funcs.C (readParToken): report unknown insets as error
2619         boxes. Use the outer paragraph as location (also for unknown
2620         tokens).
2621
2622         * factory.C (readInset): do not abort on reading an unknown inset.
2623         Eat it and return 0.
2624
2625 2003-10-13  Angus Leeming  <leeming@lyx.org>
2626
2627         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2628
2629         * lyxrc.C: displayTranslator is now a function,
2630         declared in GraphicsTypes.h.
2631
2632 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2633
2634         * format.C: new placeholder $$a to pass the socket address.
2635
2636         * bufferlist.[Ch]: new function getBufferFromTmp.
2637
2638         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2639           files in the temporary dir.
2640
2641 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2642
2643         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2644
2645         * Makefile.am: add lyxsocket.[Ch].
2646
2647         * lyx_main.C (error_handler): handle SIGPIPE.
2648
2649 2003-10-13  André Pönitz  <poenitz@gmx.net>
2650
2651         * BufferView_pimpl.C:
2652         * lyxtext.h:
2653         * text.C:
2654         * text2.C:
2655         * text3.C:
2656         * undo_funcs.[Ch]: use paroffset_type instead of
2657           ParagraphList::iterators to prevent multiple conversion
2658           (and get a more robust interface)
2659
2660 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2661
2662         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2663         * lyxtext.h: ditto
2664         * text3.C (dispatch): ditto
2665
2666 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2667
2668         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2669         move the onlyfile, use onlyfile instead of foundfile in a couple
2670         of places.
2671
2672         * DepTable.C (update): flush the error stream a bit more
2673
2674 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2675
2676         * lyxserver.C (callback): adjust
2677
2678         * lyxfunc.C (getStatus): add a missing brace in commented code
2679         (ensureBufferClean): reindent
2680         (dispatch): delete version taking a string
2681
2682 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2683
2684         * LaTeX.C (deplog): move found file handlig from here...
2685         (handleFoundFile): .. to new function here.
2686         (deplog): make sure to discover several files mentioned on the
2687         same log line.
2688
2689 2003-10-10  André Pönitz  <poenitz@gmx.net>
2690
2691         * lyxfunc.C:
2692         * lyxtext.h:
2693         * tabular.C:
2694         * text.C:
2695         * text2.C:
2696         * text3.C: fix some of the tabular crashes
2697
2698 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2699
2700         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2701
2702         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2703
2704 2003-10-09  André Pönitz  <poenitz@gmx.net>
2705
2706         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2707
2708         * BufferView.C:
2709         * BufferView_pimpl.C:
2710         * bufferview_funcs.C:
2711         * lyx_cb.C:
2712         * lyxcursor.C:
2713         * lyxfind.C:
2714         * lyxfunc.C:
2715         * lyxtext.h:
2716         * text.C:
2717         * text2.C:
2718         * text3.C:
2719         * text_funcs.[Ch]:
2720         * textcursor.[Ch]:
2721         * undo_funcs.C: adjust
2722
2723 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2724
2725         * text2.C (incrementItemDepth): new function, use a backtracking
2726         algorithm to discover the correct item depth.
2727         (resetEnumCounterIfNeeded): new function, use a backtracking
2728         algorithm to discover if counter reset is needed.
2729         (setCounter): use them. Simplify a bit. Add different labels for
2730         different item depths for itemize.
2731
2732         * paragraph.C (Paragraph): remove initialization of enumdepth
2733         (operator=): ditto
2734
2735         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2736         enumerate and itemize. Change the type of itemdepth to signed char.
2737
2738 2003-10-08  André Pönitz  <poenitz@gmx.net>
2739
2740         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2741           thing assignable.
2742         * text.C:
2743         * text2.C: adjust
2744
2745         * tabular.[Ch]: fix crash after 'row-insert'
2746
2747 2003-10-08  Angus Leeming  <leeming@lyx.org>
2748
2749         Fix doxygen warnings.
2750
2751         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2752         Remove CutAndPaste:: prefix from header file declaration.
2753
2754         * LColor.h (fill): remove LColor:: prefix from declaration.
2755
2756         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2757         use lyx::depth_type rather than Paragraph::depth_type so that
2758         header file and .C file match.
2759
2760         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2761
2762         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2763         * aspell.C: \file aspell_local.C -> \file aspell.C
2764         * gettext.C: \file gettext.C -> \file src/gettext.C
2765         * gettext.h: \file gettext.h -> \file src/gettext.h
2766         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2767         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2768         * text.C: \file text.C -> \file src/text.C
2769
2770         * toc.C: move comment so that doxygen is not confused.
2771
2772 2003-10-07  Angus Leeming  <leeming@lyx.org>
2773
2774         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2775
2776 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2777
2778         * aspell.C:
2779         * aspell_local.h: add forgotten std::string's.
2780
2781 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2782
2783         * LaTeXFeatures.C:
2784         * LyXAction.C:
2785         * factory.C:
2786         * lfuns.h:
2787         * lyxfunc.C:
2788         * text3.C: The Box patch. Fancybox support, minipage, parbox
2789
2790 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2791
2792         * CutAndPaste.h:
2793         * DepTable.h:
2794         * FloatList.h:
2795         * LaTeXFeatures.h:
2796         * ParagraphParameters.h:
2797         * TextCache.h:
2798         * Thesaurus.h:
2799         * bufferlist.h:
2800         * exporter.h:
2801         * importer.h:
2802         * lastfiles.h:
2803         * lyxfind.h:
2804         * lyxfont.h:
2805         * lyxlex.h:
2806         * lyxtextclasslist.h:
2807         * messages.h:
2808         * paragraph.h:
2809         * paragraph_pimpl.C:
2810         * textcursor.h: add <string> and other small fixes to make Lars'
2811         std::string patch compile with STLport.
2812
2813 2003-10-06  Angus Leeming  <leeming@lyx.org>
2814
2815         * LColor.h: Add missing #include <string>.
2816
2817 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2818
2819         * All most all file in all subdirs: Make <string> be the prefered
2820         way of getting to std::string, add using declarations.
2821
2822 2003-10-06  André Pönitz  <poenitz@gmx.net>
2823
2824         * metricsinfo.C: initialize LyXFont before changing attribute.
2825         (fixes the 'math in \emph is upright' bug)
2826
2827 2003-10-06  André Pönitz  <poenitz@gmx.net>
2828
2829         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2830
2831 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2832
2833         * graph.C:
2834         * paragraph_pimpl.C: Small fixes to build using STLport
2835
2836 2003-10-02  André Pönitz  <poenitz@gmx.net>
2837
2838         * lyxfunc.C:
2839         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2840
2841 2003-10-01  André Pönitz  <poenitz@gmx.net>
2842
2843         * factory.C: assert early
2844
2845 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2846
2847         * lyx_main.C: remove the global debug object
2848
2849         * debug.h: adjust for new debugstream
2850
2851         * debug.C: adjust for new debugstream and keep the global debug
2852         object here.
2853
2854 2003-09-22  Angus Leeming  <leeming@lyx.org>
2855
2856         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2857         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2858         an incomplete class LyXFont.
2859
2860 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2861
2862         * factory.C: bug fix in branches
2863
2864 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2865
2866         * lyxfunc.C (processKeySym): adjust
2867         (dispatch): adjust
2868         (dispatch): change arg name from ev to func, adjust
2869         (sendDispatchMessage): ditto
2870
2871         * lyx_main.C (defaultKeyBindings): adjust keybindings
2872         (deadKeyBindings): ditto
2873
2874         * kbsequence.C (addkey): return a FuncRequest
2875
2876         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2877
2878         * kbmap.C (bind): take a FuncRequest as arg, adjust
2879         (read): adjust
2880         (lookup): adjust
2881         (defkey): change to take a FuncRequest as arg, adjust
2882         (findbinding): take a FuncRequest as arg, adjust.
2883
2884         * funcrequest.h (operator=): added
2885
2886         * funcrequest.C (FuncRequest): default kb_action changed from
2887         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2888
2889         * buffer.C (dispatch): simplify
2890         (dispatch): adjust to take a FuncRequest as arg, adjust
2891
2892         * boost.C (assertion_failed): change assertion message slightly
2893
2894         * ToolbarBackend.C (read): simplify
2895
2896         * MenuBackend.C (binding): adjust call to findbinding, add a
2897         message if no binding is found.
2898         (read): simplify
2899         (expandToc): correct by adding a empty FuncRequest
2900
2901         * LyXAction.C: include <boost/assert.hpp>
2902         (isPseudoAction): delete function
2903         (LookupFunc): change name to...
2904         (lookupFunc): this. change return type to FuncRequest.
2905         (getActionName): take kb_action as arg, simplify
2906         (funcHasFlag): add an assert, simplify.
2907
2908 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2909
2910         * toc.C (action): return a FuncRequest, simplify
2911
2912         * lyxfunc.C (processKeySym): adjust
2913         (getStatus): delete version that takes an int.
2914         (getStatus): adjust
2915         (dispatch): delete version that takes action as int
2916         (dispatch): adjust
2917         (sendDispatchMessage): simplify and adjust
2918
2919         * funcrequest.C (getArg): take unsigned int as arg
2920
2921         * ToolbarBackend.C (read): adjust
2922         (add): delete version that takes func as a string.
2923         (getIton): take a FuncRequest as arg
2924
2925         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2926         action.
2927
2928         * MenuBackend.C (MenuItem): add a new construct that only takes a
2929         Kind, simplify the constructor use for submenus.
2930         (add): adjust
2931         (expandLastfiles): adjust
2932         (expandDocuments): adjust
2933         (expandFormats): adjust
2934         (expandFloatListInsert): adjust
2935         (expandFloatInsert): adjust
2936         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2937
2938         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2939         Remove class variables lyx_pseudo_map and lyx_arg_map
2940
2941         * LyXAction.C (searchActionArg): delete function
2942         (getPseudoAction): delete function
2943         (retrieveActionArg): delete function
2944         (LookupFunc): make it return kb_action, simplify.
2945         (getActionName): simplify
2946
2947         * factory.C (createInset): fix new bug
2948
2949 2003-09-19  Angus Leeming  <leeming@lyx.org>
2950
2951         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2952         masterFilename_ parameter in the include inset.
2953
2954         * factory.C (createInset): changes due to the changes to InsetInclude.
2955
2956 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2957
2958         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2959
2960 2003-09-18  Angus Leeming  <leeming@lyx.org>
2961
2962         * buffer.C:
2963         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2964         Inset::fillWithBibKeys.
2965         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2966
2967 2003-09-18  Angus Leeming  <leeming@lyx.org>
2968
2969         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2970         variables.
2971         (ctor): pass and store a 'Buffer const &'
2972         (buffer): new member function.
2973
2974         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2975         '*this' to the LaTeXFeatures ctor.
2976
2977 2003-09-18  Angus Leeming  <leeming@lyx.org>
2978
2979         * LColor.h:
2980         * lyxfont.C:
2981         * lyxfont.h:
2982         * lyxtext.h:
2983         * text.C: rename EnumLColor as LColor_color.
2984
2985 2003-09-18  Angus Leeming  <leeming@lyx.org>
2986
2987         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2988         remove #include "insets/insetbase.h" from cursor.h.
2989
2990 2003-09-18  Angus Leeming  <leeming@lyx.org>
2991
2992         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2993         InsetOld_code to remove #include "inset.h".
2994
2995         * iterators.C: add #include "insets/inset.h"
2996
2997 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2998
2999         * BufferView.C: remove more locking stuff that apparently doesn't
3000         do anything sensible.
3001
3002 2003-09-16  André Pönitz  <poenitz@gmx.net>
3003
3004         * paragraph.[Ch]:
3005         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3006           performance boost.
3007
3008 2003-09-16  Angus Leeming  <leeming@lyx.org>
3009
3010         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3011
3012         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3013         arg/return type.
3014
3015         * paragraph.h: remove #include "lyxfont.h". Forward declare
3016         LyXFont_size.
3017
3018 2003-09-16  Angus Leeming  <leeming@lyx.org>
3019
3020         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3021         of support/textutils.h.
3022         (isWord): move the contents of support/textutils.h's IsWordChar here.
3023
3024         * buffer.C:
3025         * lyxfind.C:
3026         * rowpainter.C:
3027         * text.C:
3028         * text2.C: add #include "paragraph.h".
3029
3030         * rowpainter.C:
3031         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3032
3033 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3034
3035         * main.C:
3036         * lyx_main.C:
3037         * lyx_cb.C:
3038         * buffer.C:
3039         * LaTeX.C: use namespace alias for lyx::support::os
3040
3041 2003-09-16  Angus Leeming  <leeming@lyx.org>
3042
3043         * bufferparams.C:
3044         * bufferview_funcs.C:
3045         * factory.C:
3046         * lyxfunc.C:
3047         * paragraph_pimpl.C:
3048         * rowpainter.C:
3049         * text.C: add #include "LColor.h".
3050
3051 2003-09-16  Angus Leeming  <leeming@lyx.org>
3052
3053         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3054         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3055         return LyXFont &.
3056         Store the FontBits::color variable as an int rather than as an
3057         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3058         file.
3059
3060         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3061         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3062         string calls together.
3063
3064         * lyxrc.C: add #include "LColor.h".
3065
3066 2003-09-15  Angus Leeming  <leeming@lyx.org>
3067
3068         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3069         a cow_ptr.
3070
3071 2003-09-15  Angus Leeming  <leeming@lyx.org>
3072
3073         * LColor.h: add an EnumLColor wrapper for LColor::color.
3074
3075         * lyxfont.[Ch] (color, setColor, realColor):
3076         * lyxtext.h, text.C (backgroundColor):
3077         pass EnumLColor args to/from the functions, rather than LColor::color
3078         ones.
3079
3080         * lyxfont.h:
3081         * lyxtext.h: forward declare EnumLColor.
3082
3083         * lyx_main.C: add #include "LColor.h".
3084
3085 2003-09-15  Angus Leeming  <leeming@lyx.org>
3086
3087         * .cvsignore: add lyx-gtk.
3088
3089 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3090
3091         * Chktex.C
3092         * LaTeX.C
3093         * LaTeXFeatures.C
3094         * ParagraphParameters.C
3095         * Spacing.C
3096         * buffer.C
3097         * bufferparams.C
3098         * bufferview_funcs.C
3099         * chset.C
3100         * counters.C
3101         * funcrequest.C
3102         * lyxfont.C
3103         * lyxgluelength.C
3104         * lyxlength.C
3105         * paragraph.C
3106         * paragraph_funcs.C
3107         * text3.C
3108         * vc-backend.C: remove usage of STRCONV
3109
3110 2003-09-15  Angus Leeming  <leeming@lyx.org>
3111
3112         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3113         explicitly define the color passed to the painter.
3114
3115 2003-09-15  Angus Leeming  <leeming@lyx.org>
3116
3117         * bufferparams.C (BufferParams): reorder member initializers to avoid
3118         compiler warning.
3119
3120 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3121
3122         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3123         * text.C (updateRowPositions): remove an unusual nop
3124
3125 2003-09-12  André Pönitz  <poenitz@gmx.net>
3126
3127         * BufferView_pimpl.C:
3128         * Bullet.C:
3129         * layout.h:
3130         * lyxfunc.C:
3131         * lyxlayout.[Ch]:
3132         * lyxtextclass.C:
3133         * rowpainter.C:
3134         * text.C:
3135         * text2.C:
3136         * Counters.[Ch]: finish the 'automatic counters' job
3137
3138 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3139
3140         * aspell.C: include <boost/assert.cpp> (compile fix)
3141
3142 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3143
3144         * boost.C (assertion_failed): use lyx::support::abort instead of
3145         assert.
3146
3147 2003-09-10  Angus Leeming  <leeming@lyx.org>
3148
3149         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3150         with their _fwd progeny.
3151
3152 2003-09-09  Angus Leeming  <leeming@lyx.org>
3153
3154         134 files throughtout the source tree: replace 'using namespace abc;'
3155         directives with the appropriate 'using abc::xyz;' declarations.
3156
3157 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3158
3159         * boost.C (emergencyCleanup): moved here from LAssert.c
3160         (assertion_failed): new function, called by BOOST_ASSERT
3161
3162         * several files: change Assert to BOOST_ASSERT
3163
3164 2003-09-09  Angus Leeming  <leeming@lyx.org>
3165
3166         * buffer.[Ch]: Add an Impl class and move Buffer's member
3167         variables into it. As a result move several header files out of
3168         buffer.h.
3169
3170         Add header files to lots of .C files all over the tree as a result.
3171
3172 2003-09-09  Angus Leeming  <leeming@lyx.org>
3173
3174         * buffer.[Ch]: make Buffer's member variables private. Add
3175         accessor functions.
3176
3177         Lots of changes all over the tree as a result.
3178
3179 2003-09-08  Angus Leeming  <leeming@lyx.org>
3180
3181         * graph.C: #include <config.h>.
3182
3183 2003-09-08  Angus Leeming  <leeming@lyx.org>
3184
3185         * BranchList.C:
3186         * BufferView.C:
3187         * BufferView_pimpl.C:
3188         * CutAndPaste.C:
3189         * DepTable.C:
3190         * LaTeX.C:
3191         * LaTeXFeatures.C:
3192         * LyXAction.C:
3193         * MenuBackend.C:
3194         * TextCache.C:
3195         * aspell.C:
3196         * buffer.C:
3197         * bufferlist.C:
3198         * changes.C:
3199         * chset.C:
3200         * converter.C:
3201         * counters.C:
3202         * debug.C:
3203         * graph.C:
3204         * ispell.C:
3205         * lyx_cb.C:
3206         * lyxfind.C:
3207         * lyxfunc.C:
3208         * lyxlex_pimpl.C:
3209         * lyxrc.C:
3210         * lyxrow.C:
3211         * paragraph.C:
3212         * rowpainter.C:
3213         * texrow.C:
3214         * text.C:
3215         * text2.C:
3216         * toc.C: remove redundant using directives.
3217
3218 2003-09-07  Angus Leeming  <leeming@lyx.org>
3219
3220         * LaTeXFeatures.h: remove #include "support/types.h".
3221         * ToolbarBackend.h: remove #include <algorithm>.
3222         * changes.h: remove #include <ctime>.
3223         * debug.h: remove #include <iosfwd>.
3224         * graph.h: remove #include "support/std_string.h".
3225         * lyx_main.h: remove #include <csignal>.
3226         * lyxlex_pimpl.h: remove #include <fstream>.
3227         * sgml.h: remove #include <algorithm>, <utility>.
3228         * toc.h: remove #include "support/std_ostream.h".
3229         Add #include <iosfwd>.
3230
3231 2003-09-07  Angus Leeming  <leeming@lyx.org>
3232
3233         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3234
3235         * converter.h: forward declare LatexRunParams.
3236         * encoding.h: remove #include "lyxrc.h".
3237         * lyxtext.h: remove #include "LColor.h".
3238         * lyxtextclass.h: remove #include "support/types.h".
3239         * trans.h: remove #include "tex-accent.h".
3240         * trans_mgr.h: remove #include "tex-accent.h".
3241         * insets/inset.h: remove #include "support/types.h", <vector>.
3242         * insets/insetcollapsable.h: remove #include "LColor.h".
3243         * insets/insetinclude.h: remove #include "dimension.h".
3244         * insets/insetlatexaccent.h: remove #include "dimension.h".
3245         * insets/insetoptarg.h:: remove #include "insettext.h".
3246         * insets/insettext.h: remove #include "dimension.h",
3247         <boost/shared_ptr.hpp>
3248
3249         * insets/renderers.h: add #include "dimension.h".
3250         * insets/updatableinset.h: add #include "support/types.h".
3251
3252         * many .C files: Associated changes.
3253
3254 2003-09-06  Angus Leeming  <leeming@lyx.org>
3255
3256         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3257         one, inside testInvariant.
3258
3259         * PrinterParams.C: new file.
3260         * PrinterParams.[Ch]: move the function bodies out of line.
3261
3262 2003-09-06  Angus Leeming  <leeming@lyx.org>
3263
3264         * ParagraphParameters.h: forward declare ParameterStruct rather than
3265         including its header file.
3266         (depth): moved out-of-line.
3267
3268 2003-09-06  Angus Leeming  <leeming@lyx.org>
3269
3270         * BufferView_pimpl.h:
3271         * kbmap.h:
3272         * kbsequence.h:
3273         * lyxfunc.h: forward declare LyXKeySym rather than
3274         #include "frontends/LyXKeySym.h".
3275
3276         * BufferView_pimpl.C:
3277         * kbmap.C:
3278         * kbsequence.C:
3279         * lyxfunc.C: associated changes.
3280
3281 2003-09-06  Angus Leeming  <leeming@lyx.org>
3282
3283         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3284         As a result, can remove the #include "insets/inset.h" from BufferView.h
3285
3286 2003-09-06  Angus Leeming  <leeming@lyx.org>
3287
3288         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3289         As a result, can remove the #include "insets/inset.h" from BufferView.h
3290
3291 2003-09-06  Angus Leeming  <leeming@lyx.org>
3292
3293         * buffer_funcs.C:
3294         * buffer.h:
3295         * bufferlist.C:
3296         * BufferView.C:
3297         * bufferview_funcs.C:
3298         * BufferView_pimpl.C:
3299         * CutAndPaste.C:
3300         * lyx_cb.C:
3301         * lyxfunc.C:
3302         * paragraph.h:
3303         * ParagraphParameters.C:
3304         * tabular.C:
3305         * text3.C:
3306         * toc.C:
3307         * undo_funcs.C:
3308         * frontends/controllers/ControlDocument.C:
3309         * insets/insetcaption.C: rearrange the #includes into some sort of
3310         coherent order.
3311
3312         * buffer.h: remove #includes ErrorList.h, undo.h
3313
3314 2003-09-06  Angus Leeming  <leeming@lyx.org>
3315
3316         * support/types.h: add a 'depth_type' typedef, used to store the
3317         nesting depth of a paragraph.
3318
3319         * paragraph.h:
3320         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3321         defining explicitly.
3322
3323         * buffer.h:
3324         * paragraph_funcs.h:
3325         * ParagraphParameters.h:
3326         * sgml.h: use lyx::depth_type rather than Paragraph or
3327         ParameterStruct's depth_type.
3328
3329         * buffer.h
3330         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3331
3332         * BufferView.C:
3333         * BufferView_pimpl.C:
3334         * CutAndPaste.C:
3335         * ParagraphParameters.C:
3336         * buffer_funcs.C:
3337         * bufferlist.C:
3338         * bufferview_funcs.C:
3339         * lyx_cb.C:
3340         * lyxfunc.C:
3341         * tabular.C:
3342         * text3.C:
3343         * toc.C:
3344         * undo_funcs.C:
3345         * frontends/LyXView.C:
3346         * frontends/controllers/ControlDocument.C:
3347         * frontends/controllers/ControlErrorList.C:
3348         * insets/insetbibitem.C:
3349         * insets/insetbranch.C:
3350         * insets/insetcaption.C:
3351         * insets/insetcollapsable.C:
3352         * insets/insetenv.C:
3353         * insets/insetert.C:
3354         * insets/insetfloat.C:
3355         * insets/insetfoot.C:
3356         * insets/insetfootlike.C:
3357         * insets/insetnewline.C:
3358         * insets/insetquotes.C:
3359         * insets/insettabular.C:
3360         * insets/insettext.C:
3361         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3362
3363         * frontends/controllers/ControlChanges.C: #include "changes.h".
3364
3365 2003-09-06  Angus Leeming  <leeming@lyx.org>
3366
3367         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3368         than #including paragraph.h.
3369
3370         * ParagraphList.h:
3371         * RowList.h: deleted. Superfluous.
3372
3373         * CutAndPaste.h:
3374         * iterators.h:
3375         * lyxcursor.h:
3376         * lyxtext.h:
3377         * text_funcs.h:
3378         * undo.h:
3379         * undo_funcs.h:
3380         * insets/inset.h:
3381         * insets/insettext.h: use ParagraphList_fwd.h rather than
3382         ParagraphList.h.
3383
3384         * paragraph.h: don't forward declare ParagraphList.
3385
3386         * buffer.h:
3387         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3388         rather than ParagraphList.h. paragraph.h is still needed for the
3389         Paragraph::depth_type parameters.
3390
3391         * textcursor.h: enable it to compile stand-alone in light of the
3392         above changes.
3393
3394         * bufferview_funcs.C:
3395         * iterators.C:
3396         * lyxfunc.C:
3397         * lyxrow_funcs.C:
3398         * paragraph.C:
3399         * rowpainter.C:
3400         * text.C:
3401         * text2.C:
3402         * text3.C:
3403         * text_funcs.C:
3404         * textcursor.C:
3405         * undo.C:
3406         * frontends/controllers/ControlParagraph.C:
3407         * frontends/controllers/ControlTabular.C:
3408         * insets/insetmarginal.C:
3409         * insets/insetminipage.C:
3410         * insets/insetnote.C:
3411         * insets/insetoptarg.C: add header files needed to compile again.
3412
3413 2003-09-06  Angus Leeming  <leeming@lyx.org>
3414
3415         * RowList_fwd.h: new file, forward-declaring Row rather than
3416         #including lyxrow.h.
3417
3418         * lyxrow_funcs.h:
3419         * lyxtext.h:
3420         * paragraph.h:
3421         * insets/insettext.h: use it instead of RowList.h
3422
3423         * bufferview_funcs.C:
3424         * lyxfunc.C:
3425         * lyxrow_funcs.C:
3426         * paragraph.C:
3427         * rowpainter.C:
3428         * text.C:
3429         * text2.C:
3430         * text3.C: #include "RowList.h".
3431
3432 2003-09-05  Angus Leeming  <leeming@lyx.org>
3433
3434         * factory.C (createInset):
3435         * vspace.C (c-tor): replace sscanf call with an istringstream.
3436         * ispell.C: re-add missing HP/UX headers.
3437         * lyxserver.C: re-add missing  os2 headers.
3438
3439 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3440
3441         * BranchList.C:
3442         * graph.C:
3443         * ispell.C:
3444         * lastfiles.C:
3445         * lyx_cb.C:
3446         * lyxserver.C:
3447         * texrow.C:
3448         * text3.C: re-add missing system headers, needed for 2.95.2.
3449
3450 2003-09-05  Angus Leeming  <leeming@lyx.org>
3451
3452         Changes most place everywhere due to the removal of using directives
3453         from support/std_sstream.h.
3454
3455 2003-09-05  Angus Leeming  <leeming@lyx.org>
3456
3457         Replace LString.h with support/std_string.h,
3458         Lsstream.h with support/std_sstream.h,
3459         support/LIstream.h with support/std_istream.h,
3460         support/LOstream.h with support/std_ostream.h.
3461
3462         Changes resulting throughout the tree.
3463
3464 2003-09-05  Angus Leeming  <leeming@lyx.org>
3465
3466         * sgml.h: ensure that the header file can be compiled stand-alone.
3467         * *.C: strip out redundant #includes. (320 in total.)
3468
3469 2003-09-04  Angus Leeming  <leeming@lyx.org>
3470
3471         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3472         here (from getPackages).
3473
3474         * debug.[Ch]: add a new EXTERNAL tag.
3475
3476 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3477
3478         * text2.C (cursorEnd): simplify
3479         (setCursor): adjust
3480         (getColumnNearX): adjust
3481
3482         * text.C (computeBidiTables): adjust
3483         (fill): adjust
3484
3485         * rowpainter.C (paintChars): adjust
3486         (paintSelection): adjust
3487         (paintChangeBar): adjust
3488         (paintText): adjust
3489
3490         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3491         lastPos instead.
3492         (numberOfSeparators): adjust
3493
3494 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3495
3496         * LyXAction.C:
3497         * box.[Ch]:
3498         * lfuns.h:
3499         * lyxfunc.C:
3500         * text3.C: Restricts the mouse click functionality
3501         of insets like bibtex, include, toc and floatlist to the visible
3502         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3503         up the dialogs. Cursor has to be in front of the inset (i.e.
3504         start of row) for this to function.
3505
3506 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3507
3508         * bufferview_funcs.C (currentState): output row information
3509
3510 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3511
3512         * bufferview_funcs.C (currentState): output paragraph position
3513
3514 2003-09-04  Angus Leeming  <leeming@lyx.org>
3515
3516         * FloatList.h: move out #include "Floating.h".
3517         * LaTeX.h: move out #include "DepTable.h".
3518         * LyXAction.h: move out #include "funcrequest.h".
3519         * buffer.h: move out #include "author.h", "iterators.h".
3520         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3521         * lyx_main.h: move out #include "errorlist.h".
3522         * lyxfunc.h: move out #include "FuncStatus.h".
3523         * lyxtext: move out #include "lyxcursor.h".
3524         * paragraph_pimpl.h: move out #include "counters.h".
3525
3526 2003-09-03  Angus Leeming  <leeming@lyx.org>
3527
3528         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3529         preamble_snippets list, enabling us to add snippets to the preamble
3530         only if the snippet was not there already.
3531
3532 2003-09-04  Angus Leeming  <leeming@lyx.org>
3533
3534         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3535
3536 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3537
3538         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3539         update
3540
3541 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3542
3543         * BranchList.C: point fix, earlier forgotten
3544
3545 2003-09-02  Angus Leeming  <leeming@lyx.org>
3546
3547         * box.C (contains): renamed from 'contained' after a fantastic
3548         amount of hot air.
3549
3550 2003-09-02  John Levon  <levon@movementarian.org>
3551
3552         * BufferView.C:
3553         * lyxcursor.h:
3554         * lyxcursor.C:
3555         * lyxfunc.C:
3556         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3557
3558 2003-09-02  John Levon  <levon@movementarian.org>
3559
3560         * text2.C: simplification of cursorEnd(), including partial
3561         fix for bug 1376
3562
3563 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3564
3565         * buffer.C (readFile): add a space
3566
3567 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3568
3569         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3570
3571 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3572
3573         * buffer.C (readFile): new function, take a filename and a
3574         ParagraphList::iterator
3575         (readFile): adjust
3576         (readFile): adjust, make it private. don't use setStream, make
3577         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3578         always contain the filename.
3579
3580         * BufferView.C (insertLyXFile): simplify and make it work for
3581         gzipped files.
3582
3583 2003-08-30  John Levon  <levon@movementarian.org>
3584
3585         * Makefile.am: fix dist (from Kayvan)
3586
3587 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3588
3589         * most files: change to use const Buffer refs
3590
3591 2003-08-27  André Pönitz  <poenitz@gmx.net>
3592
3593         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3594         on top of ownerPar().
3595
3596 2003-08-27  John Levon  <levon@movementarian.org>
3597
3598         * funcrequest.C: properly initialise POD members
3599
3600 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3601
3602         * lyxtext.h (top_y): move top_y from here
3603         * text.C:
3604         * text2.C:
3605         * text3.C:
3606         * BufferView.[Ch]:
3607         * BufferView_pimpl.[Ch]: to here
3608         * frontends/screen.C:
3609         * insets/insettabular.C:
3610         * insets/insettext.C: adjust
3611         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3612
3613 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3614
3615         * BufferView.[Ch]:
3616         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3617
3618 2003-08-26  André Pönitz  <poenitz@gmx.net>
3619
3620         * paragraph_func.[Ch] (outerPar): new function
3621
3622         * paragraph.C:
3623         * paragraph_funcs.C:
3624         * paragraph_funcs.h:
3625         * paragraph_pimpl.C:
3626         * text2.C: remove Inset::par_owner
3627
3628 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3629
3630         * lyxrow_funcs.C:
3631         * lyxtext.h:
3632         * text.C:
3633         * text2.C: eliminates the needFullRow/display() stuff
3634         altogether, putting the logic in metrics/draw in the insets.
3635
3636 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3637
3638         * text2.C (redoParagraphInternal, redoParagraphs):
3639         * text.C (redoParagraph): add a call to updateRowPositions at the
3640         end of each 'metrics-like' call. Remove all others.
3641         (getRow): remove the 'y-computing' version.
3642         (getRowNearY): do not compute nor return the real y. Solve the
3643         'y < 0' problem and simplify.
3644
3645 2003-08-22  Angus Leeming  <leeming@lyx.org>
3646
3647         * *.[Ch]: clean-up of licence and author blurbs.
3648         Also move config.h out of a few .h files and into a few .C files.
3649
3650 2003-08-22  André Pönitz  <poenitz@gmx.net>
3651
3652         * lyxrow.[Ch]: add x_ and *fill_ members
3653
3654         * lyxtext.h:
3655         * text.C:
3656         * rowpainter.C:
3657         * text2.C: adjust/remove prepareToPrint() calls
3658
3659 2003-08-22  André Pönitz  <poenitz@gmx.net>
3660
3661         * lyxrow.[Ch]: add  end_ member
3662
3663         * lyxrow_funcs.C: use LyXRow::end_
3664
3665         * lyxtext.h (singleWidth): add LyXFont parameter
3666
3667         * rowpainter.C:
3668         * text2.C: adjust LyXText::singleWidth() calls
3669
3670         * text.C (redoParagraph): simplify row breaking logic
3671
3672
3673 2003-08-19  André Pönitz  <poenitz@gmx.net>
3674
3675         * funcrequest.C: initialize button_ member
3676
3677         * text3.C:
3678         * rowpainter.[Ch]: interface consolidation
3679
3680 2003-08-18  André Pönitz  <poenitz@gmx.net>
3681
3682         * BufferView.C:
3683         * BufferView_pimpl.C:
3684         * lyxfind.C:
3685         * paragraph_funcs.C:
3686         * rowpainter.C:
3687         * text3.C: remove LyXScreen::draw() and fitCursor calls
3688
3689         * BranchList.h: remove spurious semicolons
3690
3691         * MenuBackend.C: fix branchlist related crash
3692
3693 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3694
3695         * BranchList.[Ch]:
3696         * InsetList.[Ch]:
3697         * LColor.[Ch]:
3698         * LyXAction.C:
3699         * Makefile.am:
3700         * MenuBackend.[Ch]:
3701         * bufferparams.[Ch]:
3702         * factory.C:
3703         * lfuns.h:
3704         * lyxfunc.C:
3705         * text3.C: implements the 'branch inset'
3706         idea. This allows the output of various versions of a document
3707         from a single source version, selectively outputing or suppressing
3708         output of parts of the text.
3709         This implementation contains a 'branch list editor' in a separate
3710         tab of the document settings dialog. Branches are user definable
3711         and have a "display colour" to distinguish them on-screen.
3712
3713         ColorHandler was somewhat cleaned up.
3714         (1) make possible a dynamically growing LColor list by allowing
3715         the graphic context cache to grow along (vector);
3716         (2) eliminate an IMHO unnecessary step in colour allocation.
3717
3718 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3719
3720         * BufferView_pimpl.C: compile fix
3721
3722 2003-08-15  André Pönitz  <poenitz@gmx.net>
3723
3724         * rowpainter.C: remove extra metrics calls
3725
3726         * lyxtext.h: merge the two constructors into a single one,
3727           pass reference to owner's par list
3728
3729         * BufferView_pimpl.C:
3730         * text.C:
3731         * text2.C: adjust
3732
3733 2003-08-15  André Pönitz  <poenitz@gmx.net>
3734
3735         * lyxrow_funcs.[Ch]:
3736         * lyxtext.h:
3737         * paragraph.h:
3738         * paragraph_funcs.C:
3739         * rowpainter.C:
3740         * text.C:
3741         * text2.C:
3742         * text3.C:
3743         * text_funcs.C: split LyXText::rowlist_ into individual
3744         Paragraph::rows_ chunks
3745
3746         * BufferView.[Ch]:
3747         * BufferView_pimpl.[Ch]:
3748         * lyxfind.C:
3749         * lyxtext.h:
3750         * text3.C: remove toggleSelection()
3751
3752 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3753
3754         * bufferlist.C: beautify two alerts (shorter text of buttons)
3755         * buffer.C: Remove redundant ' ' from message
3756         * tabular.h:
3757         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3758         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3759         rename VALIGN_CENTER to VALIGN_MIDDLE
3760
3761 2003-08-11  André Pönitz  <poenitz@gmx.net>
3762
3763         * lyxtext.h (getPar):
3764         * text.C: new function
3765
3766 2003-08-11  André Pönitz  <poenitz@gmx.net>
3767
3768         * Makefile.am:
3769         * tracer.[Ch]: remove unneeded files
3770
3771         * InsetList.[Ch]: remove resizeInsetsLyXText()
3772
3773         * lyxtext.h:
3774         * text.C:
3775         * text2.C:
3776         * text3.C: merge insertParagraphs() and appendParagraph()
3777         remove breakAgain(), update()
3778
3779         * BufferView_pimpl.[Ch]:
3780         * bufferview_funcs.[Ch]:
3781         * lyxfunc.C:
3782         * paragraph.[Ch]:
3783         * rowpainter.C:
3784         * tabular.C: adjust after text & InsetList changes.
3785
3786 2003-08-08  André Pönitz  <poenitz@gmx.net>
3787
3788         * text.C (insertChar, backspace): replace rowlist fiddling
3789         with rebreak of full par
3790
3791         * lyxtext.h:
3792         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3793         checkParagraph, updateInset): removed
3794
3795 2003-08-07  André Pönitz  <poenitz@gmx.net>
3796
3797         * paragraph.C:
3798         * text3.C: merge some LFUN handlers, remove dead code
3799
3800 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3801
3802         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3803
3804 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3805
3806         * text2.C (DEPM): fix part of bug 1255 and 1256
3807
3808 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3809
3810         * BufferView_pimpl.C (workAreaDispatch): change to use
3811         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3812         that are no mouse related.
3813
3814 2003-08-05  André Pönitz  <poenitz@gmx.net>
3815
3816         * BufferView.[Ch]:
3817         * BufferView_pimpl.[Ch]:
3818         * bufferview_funcs.C:
3819         * text2.C:
3820         * text3.C: rip out "deep update"
3821
3822         * textcursor.[Ch] (last_sel_cursor): remove unused member
3823
3824 2003-08-04  André Pönitz  <poenitz@gmx.net>
3825
3826         * BufferView.[Ch]:
3827         * BufferView_pimpl.[Ch]:
3828         * ParagraphParameters.C:
3829         * bufferview_funcs.C:
3830         * lyx_cb.C:
3831         * lyxfind.C:
3832         * lyxfunc.C:
3833         * text.C:
3834         * text2.C:
3835         * text3.C: replace "complicated" BufferView::update(...) calls with
3836         simpler ones.
3837
3838         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3839
3840 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3841
3842         * Makefile.am (lyx_SOURCES): add paper.h
3843
3844 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3845
3846         * Makefile.am: move things around so that both lyx-qt and
3847         lyx-xforms can be built (according to --with-frontend). Then lyx
3848         is a symbolic link to lyx-[firstfrontend]
3849
3850 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3851
3852         * Always use std::endl with lyxerr
3853
3854 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3855
3856         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3857
3858 2003-08-01  André Pönitz  <poenitz@gmx.net>
3859
3860         * BufferView.[Ch]:
3861         * BufferView_pimpl.[Ch]:
3862         * lyxfunc.C:
3863         * text3.C: merge BufferView::repaint() and BufferView::update()
3864
3865 2003-08-01  José Matos  <jamatos@lyx.org>
3866
3867         * buffer.[Ch]: file_format is no longer a buffer data element.
3868
3869 2003-08-01  André Pönitz  <poenitz@gmx.net>
3870
3871         * BufferView.C:
3872         * lyxtext.h:
3873         * text.C:
3874         * text2.C: make redoParagraph more independent of current cursor
3875
3876         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3877         * text.C:
3878         * text2.C: remove unneeded members
3879
3880 2003-07-30  André Pönitz  <poenitz@gmx.net>
3881
3882         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3883
3884         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3885           create a single function...
3886
3887         * paragraph_funcs.C (moveItem): ... here.
3888
3889         * text.C:
3890           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3891
3892 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3893
3894         * LColor.[Ch]: Add comment and greyedout logical colors.
3895
3896 2003-07-30  André Pönitz  <poenitz@gmx.net>
3897
3898         * tabular.C: don't use Assert too heavily. This crashes where it
3899           shouldn't
3900
3901 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3902
3903         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3904         is disabled (bug 1232)
3905
3906 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3907
3908         * factory.C: limited 'arg' scope
3909
3910 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3911
3912         * factory.C: fixed Note submenu issues
3913
3914 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3915
3916         * factory.C: submenu for Note/Comment/Greyedout
3917
3918 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3919
3920         * lyx_main.C (LyX):
3921         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3922
3923 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3924
3925         * LaTeXFeatures.C:
3926         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3927         greyedout. Patch provided by Jürgen Spitzmüller.
3928
3929 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3930
3931         * kbmap.C (read): fix error message when reading bind files
3932
3933 2003-07-29  Angus Leeming  <leeming@lyx.org>
3934
3935         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3936         certainly does not do what it purports to do. I am doing it, and
3937         us, a favour by killing it.
3938
3939 2003-07-28  José Matos  <jamatos@lyx.org>
3940
3941         * buffer.C (readBody, do_writeFile):
3942         * paragraph.C(readParagraph): \end_document replaces \the_end.
3943
3944 2003-07-29  André Pönitz  <poenitz@gmx.net>
3945
3946         * BufferView.[Ch]:
3947         * BufferView_pimpl.[Ch]:
3948         * lyxfunc.C:
3949         * text2.C:
3950         * text3.C:
3951         * textcursor.[Ch]: remove toggleToggle & Co
3952
3953 2003-07-28  José Matos  <jamatos@fep.up.pt>
3954
3955         * buffer.C (readParagraph):
3956         * params_func (readParToken, readParagraph):
3957         * paragraph.C (write): \layout -> \begin_layout.
3958
3959 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3960
3961         * lyxlex_pimpl.C (setFile): clean up slightly.
3962
3963         * bufferparams.h: add compressed var
3964
3965         * buffer_funcs.C (readFile): adjust for LyXLex change
3966         (newFile): ditto + simplify
3967
3968         * buffer.C (writeFile): handle writing of compressed files
3969
3970         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3971         Check if the file is compressed and set a bufferparm if so.
3972
3973         * Makefile.am (lyx_LDADD): remove explicit -lz
3974
3975 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3976
3977         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3978         makeDocBookFile): put the real LyX version in the first line of
3979         the file
3980
3981         * version.h:
3982         * version.C.in: remove lyx_docversion
3983
3984         * tabular.C (write_attribute): add a template-based version to
3985         write enums properly
3986
3987 2003-07-28  André Pönitz  <poenitz@gmx.net>
3988
3989         * lyxtext.h:
3990         * text.C:
3991         * text2.C:
3992         * text3.C: use doubles again for x-coordinates. They are needed.
3993
3994 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3995
3996         * messages.C (getLocaleDir): use lyx_localedir()
3997
3998         * lyxlex_pimpl.C (setFile): compress stuff
3999
4000         * buffer.C (writeFile): add some compression stuff
4001         (do_writeFile): new func, dont call expliti close... will this
4002         breake anything?
4003
4004         * Makefile.am (lyx_LDADD): add -lz
4005
4006 2003-07-28  José Matos  <jamatos@fep.up.pt>
4007
4008         * buffer.C: increment file format.
4009         * paragraph_funcs (readParagraph, readParToken):
4010         * paragraph.C (readParagraph): add \end_layout.
4011
4012 2003-07-27  Angus Leeming  <leeming@lyx.org>
4013
4014         * Makefile.am: remove special casing for configure-time setting of
4015         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4016
4017         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4018         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4019
4020 2003-07-26  André Pönitz  <poenitz@gmx.net>
4021
4022         * paragraph_func.[Ch]:
4023         * paragraph.C (realizeFont): inline it whereever it is used
4024
4025         * rowpainter.C:
4026         * text.C:
4027         * text2.C:
4028         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4029
4030
4031 2003-07-26  André Pönitz  <poenitz@gmx.net>
4032
4033         *       lyxtext.h:
4034         * text.C:
4035         * text2.C: get rid of LyXText::need_break_row
4036
4037 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4038
4039         * toc.[Ch]: put namespace toc inside namespace lyx
4040
4041         * MenuBackend.C (expandToc2): adjust for lyx::toc
4042         (expandToc): ditto
4043
4044         * lyxfunc.C (dispatch): adjust for lyx::find
4045
4046         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4047         lyx::find instead. Reorganize a bit.
4048         (LyXReplace): rename to replace
4049         (LyXFind): rename to find
4050
4051         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4052         (dispatch): ditto
4053
4054 2003-07-26  André Pönitz  <poenitz@gmx.net>
4055
4056         * text.C (setHeightOfRow): restrict scope of temporary variable
4057
4058         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4059           code (never has been used?)
4060
4061 2003-07-27  Asger Alstrup  <alstrup@local>
4062
4063         * text.C (fill): Optimise algorithm to exploit that we can reuse
4064         the LyXFont for many characters.
4065         (setHeightOfRow): Same thing.
4066         (rowBreakPoint): Same thing.
4067
4068 2003-07-26  Asger Alstrup  <alstrup@local>
4069
4070         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4071
4072         * text.C (singleWidth): Spurious font copying in hot-spot
4073         singleWidth avoided. Reorder tests for arabic for efficiency.
4074
4075         * text.C (fill): handle empty paragraphs better.
4076
4077 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4078
4079         * ispell.C:
4080         * encoding.h: add includes
4081
4082         * lyxrc.C: remove reading of bind files
4083
4084         * lyx_main.C (init): setup bindings and menus only if we have a
4085         gui.
4086
4087         * kbmap.C (read): new method. Do the actual reading of bind
4088         files.
4089
4090         * converter.C (dvipdfm_options):
4091         * bufferparams.C:
4092         * lyxrc.C (read):
4093         (output): adapt PAPER_* enums.
4094
4095         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4096
4097         * bufferparams.h: remove paper-related enums from there
4098
4099         * paper.h: New file. A trivial header file to hold paper-related
4100         enums. It should later expand to contain many paper-related
4101         horrors access.
4102
4103         * lyxrc.C: declare extern displayTranslator
4104
4105 2003-07-27  José Matos  <jamatos@fep.up.pt>
4106
4107         * tabular.[Ch] (linuxdoc): add support for tables and figures
4108         (linuxdoc).
4109
4110 2003-07-27  José Matos  <jamatos@fep.up.pt>
4111
4112         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4113         consistency in both functions.
4114         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4115
4116 2003-07-26  Asger Alstrup  <alstrup@local>
4117
4118         * rowpainter.C (paintRows): Change algorithm to work directly on
4119         the insets rather than asking every character in the document
4120         whether its an inset.
4121
4122 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4123
4124         * buffer.C (openFileWrite): factorize some code
4125
4126 2003-07-26  Angus Leeming  <leeming@lyx.org>
4127
4128         * lyx_cb.C:
4129         * lyx_main.[Ch]: replace occurances of system_tempdir with
4130         os::getTmpDir().
4131
4132 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4133
4134         * rename Inset to InsetOld
4135
4136 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4137
4138         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4139         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4140         which I think is a bit clearer. EDIT is gone, since it was
4141         premature optimisation, and broken for mathed anyway.
4142         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4143         with cursor positioning in insets as well (math insets still do not
4144         work, but that's a different story anyway.) It mysteriously
4145         crashes sometimes with undo in the first paragraph, but I'm fairly
4146         confident that this is a compiler bug.
4147
4148 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4149
4150         * paragraph.C (Paragraph): adjust for new clone return type
4151         (operator==): ditto
4152         (copyIntoMinibuffer): ditto
4153
4154 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4155
4156         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4157         by not having a special case, and always doing a full rebreak of
4158         the document after undo.
4159
4160 2003-07-23  Angus Leeming  <leeming@lyx.org>
4161
4162         * factory.C (createInset): InsetExternal::setParams now takes a
4163         Buffer const * arg.
4164
4165 2003-07-23  Angus Leeming  <leeming@lyx.org>
4166
4167         * factory.C (createInset): changed interface to the external and
4168         graphics mailers' string2params functions.
4169
4170 2003-07-23  Angus Leeming  <leeming@lyx.org>
4171
4172         * factory.C (createInset): pass a
4173         Buffer const * parameter to InsetExternalMailer's string2params.
4174
4175 2003-07-22  John Levon  <levon@movementarian.org>
4176
4177         * Thesaurus.h: include the right aiksaurus header
4178
4179 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4180
4181         * MenuBackend.C (expand): check menu shortcuts unconditionally
4182
4183 2003-07-21  Angus Leeming  <leeming@lyx.org>
4184
4185         * factory.C (createInset): pass a
4186         buffer_path parameter to InsetGraphicsMailer's string2params.
4187
4188 2003-07-21  Angus Leeming  <leeming@lyx.org>
4189
4190         * BufferView_pimpl.C (buffer):
4191         * buffer.C (d-tor):
4192         * lyx_main.C (LyX):
4193         * lyxfunc.C (dispatch):
4194         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4195         rather than the grfx shortcut.
4196
4197 2003-07-21  André Pönitz  <poenitz@gmx.net>
4198
4199         * rowpainter.C: remove unused variables
4200
4201         * tabular_funcs.C:
4202         * tabular_funcs.h: move to tabular.C
4203         * Makefile.am: adjust
4204
4205         * tabular.[Ch]: basic optical cleaning
4206
4207         * author.h: pass references, not values
4208
4209 2003-07-18  André Pönitz  <poenitz@gmx.net>
4210
4211         * lyxtext.h:
4212         * metricsinfo.C:
4213         * metricsinfo.h:
4214         * rowpainter.C:
4215         * text.C:
4216         * text2.C:
4217         * text3.C: two-phase drawing for InsetText and InsetTabular
4218         some float -> int changes.
4219
4220 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4221
4222         * lyx_main.C: fix the fix
4223
4224 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4225
4226         * lyx_main.C: fix a crash in batch mode if no files specified
4227         * converter.C: ws
4228
4229 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4230
4231         * format.[Ch] (papersize): moved to BufferParams
4232         * converter.[Ch] (dvips_options): moved to BufferParams
4233         (dvipdfm_options): moved to anon namespace
4234         * bufferparams.[Ch]: added above functions.
4235
4236 2003-07-17  André Pönitz  <poenitz@gmx.net>
4237
4238         * lyxtext.h:
4239         * rowpainter.C:
4240         * text2.C: don't call inset->update() anymore
4241
4242         * metricsinfo.[Ch]: add convenience constructor
4243
4244 2003-07-16  André Pönitz  <poenitz@gmx.net>
4245
4246         * lyxcursor.[Ch]:
4247         * lyxfunc.[Ch]:
4248         * text.C:
4249         * text2.C: replace the LyXCursor::irow_ member with
4250          on-demand computation of the value
4251
4252 2003-07-16  John Levon  <levon@movementarian.org>
4253
4254         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4255
4256 2003-07-15  André Pönitz  <poenitz@gmx.net>
4257
4258         * text.C:
4259         * text2.C: remove no more needed refresh_row
4260
4261 2003-07-15  André Pönitz  <poenitz@gmx.net>
4262
4263         * lyxtext.h:
4264         * rowpainter.C:
4265         * text2.C:
4266         * text3.C: refresh_status tristate -> need_update bool
4267
4268 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4269
4270         * lyxtext.h (init): remove reinit argument (act as if always true)
4271         * text2.C: adjust to that
4272
4273 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4274
4275         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4276         * text3.C: use it to delete selections in some cases
4277         (bugs 441, 673, 702, 954).
4278
4279 2003-07-14  André Pönitz  <poenitz@gmx.net>
4280
4281         * rowpainter.[Ch]: reduce interface
4282
4283 2003-07-14  André Pönitz  <poenitz@gmx.net>
4284
4285         * BufferView_pimpl.C:
4286         * text2.C: adjust after removing unused BufferView * argument
4287
4288 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4289
4290         * text2.C (init): fix a crash fired on resize
4291
4292 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4293
4294         * buffer.[Ch]: added new closing signal
4295         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4296         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4297         BufferView::Pimpl via the closing the signal
4298
4299 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4300
4301         * buffer.[Ch]: take out all bv-related from buffer
4302         * BufferView.C:
4303         * BufferView_pimpl.[Ch]: connect to new signals
4304         * CutAndPaste.C: removed useless asserts
4305         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4306         * lyxvc.[Ch]:
4307         * vc-backend.[Ch]:
4308         * lyxfunc.C: moved view-related funciontality from vc here
4309         * paragraph.C: removed outdated comments
4310         * text.C: ws
4311
4312 2003-07-10  André Pönitz  <poenitz@gmx.net>
4313
4314         * BufferView_pimpl.C:
4315         * tabular.h:
4316         * tabular_funcs.C:
4317         * text.C:
4318         * text2.C: remove InsetText::InnerCache, clean up consequences
4319
4320 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4321
4322         * ispell.C: fix two typos in error messages
4323
4324 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4325
4326         * Extend Note inset to other forms of annotation like Comment
4327         and Greyedout. Right button click gives dialog.
4328
4329         Files modified or added (+):
4330
4331         * insetnote.[Ch]
4332         * FormNote.[Ch]      +
4333         * ControlNote.[Ch]   +
4334         * form_note.fd       +
4335         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4336         frontends/controllers
4337         * xforms/Dialogs.C
4338         * factory.C
4339
4340 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4341
4342         * aspell.C: add missing namespace lyx::support
4343
4344 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4345
4346         * BufferView.[Ch] (newFile): Add
4347         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4348         * LaTeX.[Ch] (message): added this signal and use it
4349         * buffer.[Ch] (busy, message): added these signals and use them
4350         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4351         * converter.C:
4352         * exporter.C:
4353         * format.C:
4354         * importer.C: use buffer signals instead of direct bv calling
4355         * lyx_cb.[Ch] (ShowMessage): removed
4356         * lyx_main.C:
4357         * lyxfunc.C:
4358         * paragraph_funcs.C:
4359         * text2.C: use buffer signals
4360
4361 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4362
4363         * introduce namespace lyx::graphics
4364
4365 2003-07-02  André Pönitz  <poenitz@gmx.net>
4366
4367         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4368
4369 2003-07-01  André Pönitz  <poenitz@gmx.net>
4370
4371         * text.C:
4372         * text2.C:
4373         * text3.C:
4374         * text_funcs.[Ch]:
4375         * textcursor.h:
4376         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4377           text*.C to text_func.C
4378
4379 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4380
4381         * introduce namespace lyx::support
4382
4383 2003-06-30  André Pönitz  <poenitz@gmx.net>
4384
4385         * Chktex.C:
4386         * funcrequest.C:
4387         * lyxtext.h:
4388         * text.C: re-enable --with-included-string
4389
4390 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4391
4392         * textcursor.C: add <config.h>
4393
4394         * text.C (getWord): remove const from word_location arg
4395
4396         * lyxvc.C (getLogFile): fix const type order
4397
4398         * lyxtext.h: remove const from word_location arg, add arg name
4399
4400         * lyxlayout.h: currect type on labeltype.
4401
4402         * importer.C: correct \file
4403
4404         * converter.C (intToFormat): use std:: on ret val, ws changes
4405
4406         * bufferlist.h: correct \file
4407
4408         * buffer.C (makeLinuxDocFile): fix const type order
4409         (makeDocBookFile): ditto
4410         (fillWithBibKeys): use std:: on stdlib args.
4411
4412         * CutAndPaste.C: fix authors.
4413         (availableSelections): use std:: on return vector
4414
4415 2003-06-27  André Pönitz  <poenitz@gmx.net>
4416
4417         * BufferView_pimpl.C:
4418         * bufferview_funcs.C:
4419         * lyxcursor.C:
4420         * lyxcursor.h:
4421         * lyxfunc.C:
4422         * lyxtext.h:
4423         * rowpainter.C:
4424         * text.C:
4425         * text2.C:
4426         * text3.C: remove LyXCursor::row_ member
4427
4428         * lyxtext.h:
4429         * text.C: rename fullRebreak() to partialRebreak() and implement
4430           a fullRebreak() that really bereks fully
4431
4432         * textcursor.h: new struct for cursor-related data
4433
4434 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4435
4436         * lyx_main.C (LyX): get full path of document loaded on the
4437         command line
4438
4439 2003-06-26  André Pönitz  <poenitz@gmx.net>
4440
4441         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4442           remove unused/broken operator>,<,>=.
4443
4444         *       text.C: remove only use of broken operator<= in an Assert().
4445
4446 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4447
4448         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4449         moved errorlist_.clear to showErrorList
4450
4451 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4452
4453         * converter.C (scanLog, runLaTeX):
4454         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4455         move the bv->showErrorList call to the callers
4456         * lyxfunc.C: i.e. here...
4457         * text2.C: and here
4458         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4459         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4460         namespace, the second to...
4461         * buffer_funcs (BufferFormat, parseErrors): added
4462         * errorlist.C (ErrorList(TeXErrors const &)): removed
4463
4464 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4465
4466         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4467
4468 2003-06-24  "Garst R. Reese" <reese@isn.net>
4469
4470         * debug.C: fix typo
4471
4472 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4473
4474         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4475
4476         * version.C.in: change docversion to 1.4
4477
4478 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4479
4480         * buffer.C: fix a bug just introduced
4481
4482 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4483
4484         * buffer.[Ch]: added the parseError signal and use it, removed
4485         sgmlError
4486         * BufferView.[Ch] (addError): moved to ...
4487         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4488         to the Buffer::parseError signal to catch (guess what) parse errors
4489         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4490
4491 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4492
4493         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4494         ability to create a buffer and to return an existing one from
4495         the list. Moved these functions to...
4496         * buffer_funcs.[Ch]: added
4497         * BufferView.[Ch] (loadLyXFile): added
4498         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4499         job removed from bufferlist::loadLyXFile.
4500         * buffer.C (setReadOnly): make it work without view
4501         (i.e added an if (users))
4502
4503 2003-06-19  Angus Leeming  <leeming@lyx.org>
4504
4505         * lfuns.h:
4506         * LyXAction.C (init):
4507         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4508         with LFUN_DIALOG_SHOW <name> <data>.
4509
4510 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4511
4512         * CutAndPaste.C (availableSelections): small compilation fix for
4513         ancient (gcc 2.9x) compilers
4514
4515 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4516
4517         * text3.C (cursorNext): add tmp var
4518
4519         * text2.C (updateCounters): for function calling out of for clause
4520         (replaceSelectionWithString): ditto
4521         (insertStringAsParagraphs): ditto
4522         (getColumnNearX): add tmp var
4523         (setCursorFromCoordinates): add tmp var
4524         (cursorDownParagraph): add tmp var
4525         (deleteEmptyParagraphMechanism): add tmp var
4526
4527         * text.C (insertChar): add tmp var
4528
4529         * rowpainter.C (paintDepthBar): add tmp var
4530
4531         * CutAndPaste.C (availableSelections): potentially check all
4532         paragraphs in a cut to fill the shown strings.
4533
4534 2003-06-18  André Pönitz  <poenitz@gmx.net>
4535
4536         * kbmap.[Ch]: use vector<> instead of list<>
4537
4538 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4539
4540         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4541         pasteSelection with index
4542
4543         * text2.C (pasteSelection): modify, call pasteSelection with index
4544
4545         * paragraph.C (asString): reimplement version with no interval to
4546         call the one with interval.
4547
4548         * lyxtext.h: add index arg to pasteSelection
4549
4550         * MenuBackend.C (MenuItem): handle PasteRecent
4551         (Menu::read::Menutags): add md_pasterecent
4552         (read): handle it
4553         (expandPasteRecent): new function
4554         (expand): use it
4555
4556         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4557
4558         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4559         the limited stack
4560         (availableSelections): new function
4561
4562 2003-06-17  Angus Leeming  <leeming@lyx.org>
4563
4564         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4565
4566 2003-06-17  Angus Leeming  <leeming@lyx.org>
4567
4568         * lfuns.h:
4569         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4570
4571         * lyxfunc.C (dispatch): invoke it.
4572
4573 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4574
4575         * iterators.C (operator++, ParPosition): reintroduce some
4576         const_cast for the benefit of older compilers.
4577
4578 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4579
4580         * text3.C (dispatch): do not modify clipboard when doing
4581         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4582         LFUN_DELETE_SKIP on a selection selection
4583
4584 2003-06-16  André Pönitz  <poenitz@gmx.net>
4585
4586         * BufferView.C:
4587         * buffer.C:
4588         * buffer.h:
4589         * paragraph.C:
4590         * tabular.[Ch]: IU of clone() and getLabelList();
4591
4592 2003-06-13  André Pönitz  <poenitz@gmx.net>
4593
4594         * tabular.h: compactification
4595
4596 2003-06-12  André Pönitz  <poenitz@gmx.net>
4597
4598         * tabular.C:
4599         * tabular.h:
4600         * tabular_funcs.h: some renaming plus whitespace
4601
4602 2003-06-12  André Pönitz  <poenitz@gmx.net>
4603
4604         * BufferView.C:
4605         * BufferView_pimpl.C:
4606         * CutAndPaste.C:
4607         * buffer.C:
4608         * iterators.[Ch]:
4609         * lyxfunc.C:
4610         * text.C:
4611         * toc.C: Return a Paragraph & for ParIterator::operator*()
4612
4613 2003-06-11  John Levon  <levon@movementarian.org>
4614
4615         * lyx_main.C:
4616         * ToolbarBackend.h:
4617         * ToolbarBackend.C: add "Toolbars" section and
4618         put the flags there
4619
4620 2003-06-10  Angus Leeming  <leeming@lyx.org>
4621
4622         * lfuns.h:
4623         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4624
4625         * lyxfunc.C (dispatch): invoke it.
4626
4627 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4628
4629         * main.C: protect <ios> with HAVE_IOS
4630         (main): protect sync_with_stdio with HAVE_IOS
4631
4632 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4633
4634         * text2.C (cutSelection): adjust
4635         (pasteSelection): adjust
4636
4637         * messages.C: handle get of empty string
4638
4639         * main.C (main): use sync_with_stdio(false)
4640
4641         * lyxfunc.C (dispatch): adjust
4642
4643         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4644         (WriteAs): remove unneeded BufferView arg.
4645
4646         * bufferparams.h: use correct types on papersize, papersize2 and
4647         paperpackage.
4648
4649         * bufferparams.C (readToken): adjust for type
4650         (writeLaTeX): add missing cases to switch.
4651
4652         * bufferlist.C (quitWriteBuffer): adjust
4653         (close): adjust
4654
4655         * buffer.C (asciiParagraph): remove some commented code.
4656
4657         * CutAndPaste.C: remove current_view extern variable.
4658         (cutSelection): add BufferParams arg.
4659         (eraseSelection): add BufferParams arg.
4660         (pasteSelection): add Buffer const & arg
4661
4662 2003-06-07  John Levon  <levon@movementarian.org>
4663
4664         * buffer.C:
4665         * paragraph_funcs.C:
4666         * paragraph_pimpl.C:
4667         * text.C:
4668         * text2.C:
4669         * paragraph.h:
4670         * paragraph.C: allow InsetERT to freely space lines,
4671         and some consolidation of code
4672
4673 2003-06-06  José Matos  <jamatos@fep.up.pt>
4674
4675         * buffer.C (makeDocBookFile): fix bug #821
4676
4677 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4678
4679         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4680
4681 2003-06-04  Angus Leeming  <leeming@lyx.org>
4682
4683         * buffer.C: bump format to 224.
4684
4685 2003-06-05  André Pönitz  <poenitz@gmx.net>
4686
4687         * text2.C (redoParagraphs): remove two const_cast<>
4688
4689 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4690
4691         * ParagraphList.h: remove last remnants of NO_STD_LIST
4692
4693 2003-06-03  Angus Leeming  <leeming@lyx.org>
4694
4695         * factory.C (createInset): small change to the way InsetExternal's params
4696         are set.
4697
4698 2003-06-04  André Pönitz  <poenitz@gmx.net>
4699
4700         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4701
4702         * paragraph_pimpl.h:
4703         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4704
4705         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4706
4707         * undo_funcs.C: make some simple cases of undo work again
4708
4709 2003-06-03  John Levon  <levon@movementarian.org>
4710
4711         * ispell.C: HPUX doesn't have sys/select.h
4712         (from Albert Chin)
4713
4714 2003-06-03  John Levon  <levon@movementarian.org>
4715
4716         * CutAndPaste.C: update tabular and include inset
4717         buffer references
4718
4719         * buffer.h:
4720         * paragraph.h:
4721         * paragraph.C: remove owningBuffer(), don't pass Buffer
4722         to clone()
4723
4724         * factory.C: insetGraphicsParams changed
4725
4726 2003-06-02  John Levon  <levon@movementarian.org>
4727
4728         * LyXAction.C:
4729         * factory.C:
4730         * lfuns.h:
4731         * lyxfunc.C:
4732         * text3.C: remove insetparent
4733
4734 2003-06-02  John Levon  <levon@movementarian.org>
4735
4736         * buffer.h:
4737         * buffer.C: fix inset_iterator.end(), move out of line
4738         (bug 1149)
4739
4740 2003-06-01  John Levon  <levon@movementarian.org>
4741
4742         * text3.C: use a proper cut/paste when doing inset
4743         insert (from Jürgen Spitzmüller)
4744
4745 2003-06-01  John Levon  <levon@movementarian.org>
4746
4747         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4748
4749 2003-05-30  André Pönitz  <poenitz@gmx.net>
4750
4751         * rowpainter.C: unify second drawing phase
4752
4753 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4754
4755         * trans_mgr.C: remove one case of current_view
4756
4757         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4758
4759         * paragraph_funcs.h: remove paragraph.h include
4760
4761         * paragraph.h: delete NO_STD_LIST stuff
4762
4763         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4764
4765         * buffer.h: remove paragraph.h include
4766
4767         * ParagraphList.C: delete file
4768
4769         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4770
4771         * toc.C (getTocList): adjust
4772
4773         * paragraph_pimpl.C (validate): adjust
4774
4775         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4776
4777         * paragraph.C (Paragraph): adjust
4778         (getPositionOfInset): use const_iterator, adjust
4779         (bibitem): use const_iterator, adjust
4780         (setInsetOwner): adjust
4781
4782         * iterators.C (operator++): adjust
4783
4784         * InsetList.[Ch]: Replace selfmade iterator with standard
4785         vector::iterator also introduce const_iterator. Remove getPos,
4786         getInset and setInset from InsetTable. Adjust accordingly.
4787
4788         * BufferView.C (lockInset): adjust
4789         (ChangeInsets): adjust
4790
4791         * tabular.[Ch]: delete commented same_id functions
4792
4793 2003-05-28  John Levon  <levon@movementarian.org>
4794
4795         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4796
4797 2003-05-28  André Pönitz  <poenitz@gmx.net>
4798
4799         * metricsinfo.[Ch]: remove 'fullredraw' member
4800
4801 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4802
4803         * lyxtextclass.C (operator): remove caching.
4804
4805 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4806
4807         * text3.C: adjust
4808
4809         * text2.C (cursorBottom): adjust
4810         (setCounter): use ParagraphList::find, adjust
4811
4812         * text.C (workWidth): use ParagraphList::find, adjust
4813
4814         * lyxcursor.C (LyXCursor): adjust
4815
4816         * buffer.C (inset_iterator): adjust
4817
4818         * ParagraphList.h: make iterator(value_type) private, make
4819         ParagraphList a friend of iterator.
4820
4821         * ParagraphList.C (find): new function
4822
4823         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4824
4825 2003-05-27  André Pönitz  <poenitz@gmx.net>
4826
4827         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4828
4829 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4830
4831         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4832
4833 2003-05-26  John Levon  <levon@movementarian.org>
4834
4835         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4836
4837 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4838
4839         * remove same_id from function signatures, adjust.
4840
4841 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4842
4843         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4844
4845         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4846
4847         * paragraph.C (Paragraph): get rid of same_ids parameter
4848
4849         * ParagraphList.C (insert): adjust
4850         (push_back): adjust
4851
4852 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4853
4854         * paragraph_funcs.C (breakParagraph): adjust
4855         (breakParagraphConservative): adjust
4856
4857         * buffer.C (readParagraph): adjust
4858
4859         * ParagraphList.C (insert): take a reference instead of a pointer
4860         (insert): adjust
4861
4862         * paragraph.[Ch] (id): new function
4863
4864         * bufferlist.C (newFile): adjust
4865
4866         * ParagraphList.C (ParagraphList): adjust
4867         (assign): adjust
4868         (push_back): take a reference instead of a pointer.
4869
4870         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4871
4872         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4873         instead.
4874
4875         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4876         set else use old code.
4877
4878         * ParagraphList.C: remove all NO_NEXT code and only compile this
4879         code of NO_STD_LIST is set.
4880
4881 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4882
4883         * BufferView_pimpl.C:
4884         * TextCache.C:
4885         * TextCache.h:
4886         * bufferlist.C:
4887         * errorlist.h:
4888         * format.C:
4889         * format.h:
4890         * graph.C:
4891         * lyxfunc.C:
4892         * lyxrc.C:
4893         * graphics/GraphicsConverter.C:
4894         * graphics/PreviewLoader.C: header adjustment
4895
4896 2003-05-23  Angus Leeming  <leeming@lyx.org>
4897
4898         * LaTeXFeatures.[Ch] (useBabel): new method.
4899         * bufferparams.C (writeLaTeX): use it.
4900
4901 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4902
4903         * ParagraphList.h (set): remove unused function.
4904
4905 2003-05-23  André Pönitz  <poenitz@gmx.net>
4906
4907         * BufferView.C:
4908         * BufferView_pimpl.C:
4909         * buffer.C:
4910         * buffer.h:
4911         * lyxfunc.C:
4912         * undo_funcs.C: setUndo reworked
4913
4914         * iterators.[Ch]: add access to topmost ParagraphList
4915
4916         * lyxtext.[Ch] (workWidth): add a const
4917
4918 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4919
4920         * texrow.[Ch] (increasePos): remove function
4921         * exporter.C (export): removed unused var and outdated comment
4922
4923 2003-05-23  Angus Leeming  <leeming@lyx.org>
4924
4925         * latexrunparams.h: rename fragile as moving_arg.
4926         * paragraph.C (simpleTeXOnePar): ditto.
4927         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4928
4929 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4930
4931         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4932         (createUndo): ditto
4933         (textUndoOrRedo): comment out a currently unused var.
4934
4935         * paragraph.h (NO_NEXT): enable NO_NEXT
4936
4937         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4938
4939         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4940
4941         * exporter.C (Export): adjust for removeAutoInsets removal.
4942
4943         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4944
4945         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4946
4947         * BufferView.[Ch] (removeAutoInsets): delete function
4948
4949 2003-05-22  Angus Leeming  <leeming@lyx.org>
4950
4951         * latexrunparams.h: add a free_spacing variable.
4952
4953         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4954         to pass moving_arg, as the data is stored in runparams.fragile.
4955
4956         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4957         to Inset::latexOptional or to simpleTeXOnePar.
4958
4959         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4960         free_spacing arg to Inset::latexOptional.
4961
4962         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4963         free_spacing arg.
4964
4965 2003-05-22  Angus Leeming  <leeming@lyx.org>
4966
4967         * latexrunparams.h: add fragile and use_babel variables.
4968
4969         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4970         * buffer.C (makeLaTeXFile): store this returned value in
4971         runparams.use_babel, thus passing it to the inset::latex methods.
4972
4973         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4974         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4975
4976         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4977         longer has a fragile arg, as it is stored in runparams.fragile.
4978
4979         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4980         moving_arg parameter as the data is stored in runparams.fragile.
4981
4982         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4983         a fragile parameter as the data is stored in runparams.fragile.
4984
4985 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4986
4987         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4988
4989 2003-05-22  Angus Leeming  <leeming@lyx.org>
4990
4991         * latexrunparams.h: add a 'bool nice' which defaults to false.
4992
4993         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4994         now encapsulated within runparams.
4995
4996         * bufferlist.C (updateIncludedTeXfiles):
4997         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4998
4999 2003-05-22  Angus Leeming  <leeming@lyx.org>
5000
5001         * latexrunparams.h: new file containing struct LatexRunParams.
5002         * Makefile.am: add new file.
5003
5004         * LaTeX.[Ch] (c-tor, run):
5005         * buffer.[Ch] (makeLaTeXFile):
5006         * bufferlist.[Ch] (updateIncludedTeXfiles):
5007         * converter.C (convert, scanLog):
5008         * converter.[Ch] (runLaTeX):
5009         * exporter.C (Export):
5010         * paragraph.[Ch] (simpleTeXOnePar):
5011         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5012         * paragraph_funcs.[Ch] (latexParagraphs):
5013         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5014         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5015         pass around a LatexRunParams parameter.
5016
5017 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5018
5019         * paragraph.[Ch]: remove unused constructor
5020
5021         * ParagraphList.C (erase): new function, taking two iterators
5022
5023 2003-05-22  André Pönitz  <poenitz@gmx.net>
5024
5025         * undo_funcs.C: remove duplicated code
5026
5027         * iterator.[Ch]: operator=
5028
5029 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5030
5031         * tabular.C (SetMultiColumn): ws changes
5032
5033         * rowpainter.C (paintFirst): get rid of a ->previous
5034
5035         * lyx_cb.C (getPossibleLabel): parlist simplification
5036
5037         * BufferView.C (ChangeInsets): simplify slightly.
5038
5039 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5040
5041         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5042         * lfuns.h: new LFUN_SPACE
5043         * lyxfunc.C: protected space has a new lfun
5044         * paragraph_funcs.C: read new space insets
5045         * text3.C:
5046         * factory.C: handle new space insets
5047
5048 2003-05-22  André Pönitz  <poenitz@gmx.net>
5049
5050         * BufferView.C:
5051         * BufferView_pimpl.C:
5052         * buffer.[Ch]:
5053         * lyxfunc.C:
5054         * undo_funcs.C: return a ParIterator from getParFromID.
5055
5056         * iterators.[Ch]: add two const's
5057
5058 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5059
5060         * toc.C (getTocList): adjust
5061
5062         * iterators.[Ch]: rework for parlist
5063
5064         * buffer.C (par_iterator_begin): adjust
5065         (par_iterator_end): adjust
5066
5067         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5068
5069         * BufferView.C (removeAutoInsets): adjust
5070         (ChangeInsets): adjust
5071
5072 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5073
5074         * text.C (top_y): fix bug 1110
5075
5076 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5077
5078         * errorlist.[Ch]: added
5079         * buffer.C:
5080         * BufferView.[Ch]:
5081         * BufferView_pimpl.C:
5082         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5083         instead
5084
5085 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5086
5087         * Makefile.am: ensure that lyx is relinked upon changes to the
5088         various "convenience" libs.
5089
5090 2003-05-20  Angus Leeming  <leeming@lyx.org>
5091
5092         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5093         files are compiled in alphabetical order again.
5094
5095         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5096
5097 2003-05-19  Angus Leeming  <leeming@lyx.org>
5098
5099         * gettext.[Ch]: remove "char const * _(char const *)".
5100
5101 2003-05-19  André Pönitz  <poenitz@gmx.net>
5102
5103         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5104
5105         * Makefile.am:
5106         * BufferView.C:
5107         * DepTable.h:
5108         * LaTeXFeatures.C:
5109         * buffer.C:
5110         * lyxfont.C:
5111         * lyxlex.h:
5112         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5113
5114 2003-05-19  André Pönitz  <poenitz@gmx.net>
5115
5116         * buffer.C:
5117         * lyxlayout.[Ch]:
5118         * lyxtextclass.[Ch]:
5119         * paragraph.C:
5120         * paragraph_funcs.[Ch]:
5121         * text2.C:
5122         * text3.C: more insetenv work
5123
5124 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5125
5126         * ParagraphParameters.C (params2string): small bug fixed
5127
5128 2003-05-16  André Pönitz  <poenitz@gmx.net>
5129
5130         * debug.C:
5131         * bufferview_funcs.C: patch from Kornel Benko to prevent
5132           crash when _(...) is called twice in a statement
5133
5134 2003-05-16  André Pönitz  <poenitz@gmx.net>
5135
5136         * BufferView.C:
5137         * lyxfunc.C:
5138         * text.C:
5139         * text2.C:
5140         * text3.C:
5141         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5142
5143 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5144
5145         * lyx_main.C (init): remove spurious static_cast
5146
5147 2003-05-14  André Pönitz  <poenitz@gmx.net>
5148
5149         * BufferView.C: fix format string
5150
5151 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5152
5153         * BufferView.[Ch] (insertErrors): removed
5154         * BufferView.[Ch] (showErrorList): added
5155         * buffer.C (runChkTeX):
5156         * converter.C (scanLog): call showErrorList instead of inserterrors
5157
5158 2003-05-13  André Pönitz  <poenitz@gmx.net>
5159
5160         * BufferView_pimpl.C:
5161         * buffer.C:
5162         * bufferview_func.C:
5163         * MenuBackend.C:
5164         * lyxfunc.C:
5165         * lyxrc.C:
5166         * tex-accent.C:
5167         * text3.C:
5168         * toc.C:
5169         * tabular_funcs.h: tostr() from its own header
5170
5171         * ParagraphParameters.C:
5172         * ToolbarBackend.C:
5173         * bufferparams.C:
5174         * format.C:
5175         * lyxlex_pimpl.C:
5176         * text3.C: STRCONV()
5177
5178 2003-05-12  André Pönitz  <poenitz@gmx.net>
5179
5180         * BufferView.C:
5181         * BufferView_pimpl.C:
5182         * CutAndPaste.C:
5183         * LaTeX.C:
5184         * LaTeXFeatures.C:
5185         * ParagraphParameters.C:
5186         * buffer.C:
5187         * bufferlist.C:
5188         * bufferparams.C:
5189         * bufferview_funcs.C:
5190         * converter.C:
5191         * counters.C:
5192         * debug.C:
5193         * exporter.C:
5194         * format.C:
5195         * importer.C:
5196         * lyx_cb.C:
5197         * lyx_main.C:
5198         * lyxfont.C:
5199         * lyxfunc.C:
5200         * lyxvc.C:
5201         * paragraph.C:
5202         * paragraph_funcs.C:
5203         * tabular.C:
5204         * tabular_funcs.C:
5205         * text2.C:
5206         * text3.C:  boost::format -> bformat  all over the place
5207
5208
5209 2003-05-09  André Pönitz  <poenitz@gmx.net>
5210
5211         * LColor.[Ch]: Pimpl the #include <map> away
5212
5213 2003-05-09  John Levon  <levon@movementarian.org>
5214
5215         * bufferlist.C: never remove emergency saves
5216
5217 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5218
5219         * Makefile.am: better lib building
5220
5221 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5222
5223         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5224         instead.
5225         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5226         (simpleTeXSpecialChars): adjust
5227         (simpleTeXSpecialChars): adjust
5228         * paragraph.C (simpleTeXOnePar): adjust
5229         * buffer.C (makeLaTeXFile): adjust
5230
5231         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5232
5233         * text2.C (changeDepth): parlist cleanup
5234         (getColumnNearX): ditto
5235
5236         * rowpainter.C (getLabelFont): parlist cleanup
5237
5238         * bufferlist.C (newFile): parlist cleanup
5239
5240         * CutAndPaste.C (eraseSelection): parlist cleanup
5241
5242         * BufferView_pimpl.C (trackChanges): parlist cleanup
5243         (dispatch): ditto
5244
5245         * BufferView.C (lockInset): parlist cleanup.
5246         (ChangeInsets): ditto
5247
5248 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5249
5250         * CutAndPaste.h: Update file header.
5251
5252         * CutAndPaste.C: Update file header.
5253         Store the parts cut out of the Document in a limited_stack.
5254         (copySelection): adjust
5255         (pasteSelection): new function, takes the index in the limited stack.
5256         (nrOfParagraphs): adjust
5257         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5258         simplify error inset insertion.
5259         (checkPastePossible): adjust
5260
5261 2003-05-06  John Levon  <levon@movementarian.org>
5262
5263         * text2.C: don't cast wrap inset to float
5264
5265 2003-05-05  André Pönitz  <poenitz@gmx.net>
5266
5267         * iterator.C:
5268         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5269
5270         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5271           few naked Paragraph *.
5272
5273 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5274
5275         * bufferparams.C: Output warning if a document with missing
5276         TeX document class is loaded
5277         * exporter.C: Disable TeX exports if the document class is missing
5278         * lyxtextclass.C:
5279         * lyxtextclass.h:
5280         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5281         isTeXClassAvailable()
5282
5283 2003-05-03  John Levon  <levon@movementarian.org>
5284
5285         * BufferView.h:
5286         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5287         explicit cursor show/hide
5288
5289         * BufferView_pimpl.h:
5290         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5291         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5292
5293         * lyxfunc.C: hide cursor before dispatching.
5294
5295         * lyx_cb.C:
5296         * lyxfind.C:
5297         * text.C:
5298         * text3.C: remove explicit cursor hides
5299
5300 2003-05-02  André Pönitz  <poenitz@gmx.net>
5301
5302         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5303
5304         * undo_funcs.C:
5305         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5306           linked lists
5307
5308         * text2.C: tiny whitespace
5309
5310 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5311
5312         * undo_funcs.C: almost only ws changes.
5313
5314         * ParagraphList.C (splice): just return if pl is empty.
5315
5316 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5317
5318         * ParagraphList.C (splice): new function.
5319
5320         * CutAndPaste.C (pasteSelection): use it
5321
5322 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5323
5324         * CutAndPaste.C (pasteSelection): remove the last next and
5325         previous from this file.
5326
5327 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5328
5329         * CutAndPaste.C (pasteSelection): more clean up, user proper
5330         ParagraphList functions for pasteing.
5331
5332         * ParagraphList.C (insert): new function, three arg insert
5333
5334 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5335
5336         * ParagraphList.C (insert): new function, three arg insert
5337
5338         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5339         not on paragraphs.
5340
5341 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5342
5343         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5344
5345 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5346
5347         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5348
5349 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5350
5351         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5352         (copySelection): clean up a bit.
5353         (pasteSelection): use make_pair
5354
5355         * ParagraphList.C (ParagraphList): implement copy constructor
5356         (operator=): implement, base on copy constructor.
5357         (assign): new func
5358
5359         * paragraph.C (erase): return a bool
5360
5361         * paragraph_pimpl.C (erasePos): remove function, move contents...
5362         (erase): ... here. Return a bool.
5363         (erase): call erase instead of erasePos.
5364
5365 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5366
5367         * ParagraphList.h: define PitPosPair
5368         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5369         ParagraphList, fix a bug on pasting multiple pars
5370         * text2.C: change interface to C&P
5371
5372 2003-04-30  André Pönitz  <poenitz@gmx.net>
5373
5374         * undo_func.C: revert part of yesterday's patch 2
5375
5376 2003-04-30  John Levon  <levon@movementarian.org>
5377
5378         * LColor.C: s/tabular/table/
5379
5380 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5381
5382         * text3.C (dispatch): do not convert iterator -> pointer
5383         * undo_funcs.C (setCursorParUndo): ditto
5384         * text_funcs.C (transposeChars): ditto
5385
5386         * text2.C (setLayout): ws changes only
5387
5388         * text.C (breakParagraph): do not convert iterator -> pointer
5389         (insertChar): ditto
5390         (acceptChange): ditto
5391         (rejectChange): ditto
5392         (changeCase): ditto
5393         (Delete): ditto
5394         (backspace): ditto
5395
5396         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5397         pointer
5398
5399 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5400
5401         * text3.C (gotoInset): YABG (yet another bad getChar)
5402
5403 2003-04-29  André Pönitz  <poenitz@gmx.net>
5404
5405         * paragraph.h: make operator= private unimplemented as long as
5406           it is unusable
5407
5408         * ParagraphList.C: whitespace
5409
5410         * paragraph.[Ch]:
5411         * paragraph_pimpl.[Ch]:
5412         * paragraph_funcs.C:
5413         * CutAndPaste.C:
5414         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5415
5416         * text2.C:
5417           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5418
5419 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5420
5421         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5422         * paragraph.[Ch] (erase):
5423         * paragraph_pimpl.[Ch] (erase): change return type and value
5424         * text2.C (cutSelection): some rework
5425
5426 2003-04-28  John Levon  <levon@movementarian.org>
5427
5428         * bufferlist.C: changes for unsaved changes dialog
5429
5430 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5431
5432         * bufferlist.C (newFile): set language (messages_) for new
5433         documents also.
5434
5435         * buffer.C (readFile): ws changes only.
5436
5437 2003-04-28  André Pönitz  <poenitz@gmx.net>
5438
5439         * undo_funcs.C:
5440         * lyxfunc.C:
5441         * buffer.[Ch]:
5442         * BufferView_pimpl.C:
5443         * BufferView.C: getParFromID related ParagraphList::iterator changes
5444
5445 2003-04-28  André Pönitz  <poenitz@gmx.net>
5446
5447         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5448           Changes
5449
5450 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5451
5452         * messages.C: remove one more localedir class variable.
5453
5454 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5455
5456         * messages.C (getLocaleDir): singleton generation function
5457         (Pimpl): use it.
5458         (Messages): add a default constructor.
5459
5460         * main.C (main): do not setup localedir here, do not call
5461         gettext_init.
5462
5463         * gettext.C (_): use it.
5464         (gettext_init): delete funciton
5465
5466 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5467
5468         * gettext.C (getLyXMessages): new singleton generating function.
5469
5470         * buffer.C (updateDocLang): adjust
5471
5472         * Makefile.am (messages.o): add target
5473         (main.o): remove target
5474
5475 2003-04-27  John Levon  <levon@movementarian.org>
5476
5477         * bufferlist.C:
5478         * lyx_cb.C:
5479         * lyxfunc.C:
5480         * lyxvc.C: specify cancel button in Alert::prompt
5481
5482 2003-04-26  John Levon  <levon@movementarian.org>
5483
5484         * text3.C:
5485         * lyxfunc.C:
5486         * lfuns.h:
5487         * LyXAction.C: add LFUN_INSET_SETTINGS
5488
5489         * lyxfunc.C: don't enable tabular-feature when there's
5490         just any locking inset
5491
5492 2003-04-26  John Levon  <levon@movementarian.org>
5493
5494         * bufferlist.C: re-add Cancel to buffer close question
5495
5496         * lyxfunc.C: fix import UI a bit
5497
5498 2003-04-25  John Levon  <levon@movementarian.org>
5499
5500         * gettext.C: remove the broken asserts for now
5501
5502 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5503
5504         * messages.C: make case where setlocale cannot comply work better.
5505
5506         * buffer.C (updateDocLang): new function
5507         (changeLanguage): use it
5508         (readFile): use it
5509
5510         * text2.C (setCounter): use B_ a bit.
5511
5512         * lyxlayout.C (Read): be sure to trim the label strings.
5513
5514         * messages.C (Messages): fix typo in comment
5515
5516         * buffer.C (readFile): set message_ after file is loaded.
5517         (makeDocBookFile): remove double return
5518         (changeLanguage): reset message_ upon language change.
5519         (B_): new func, use this to get translated buffer strings.
5520
5521         * main.C: add myself and Jean Marc as authors.
5522
5523 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5524
5525         * messages.[hC]: pimplify Messages, and three different pimpls to be
5526         used in different circumstances.
5527
5528         * gettext.[Ch]: change for use with new message code.
5529
5530 2003-04-24 André Pönitz <poenitz@gmx.net>
5531
5532         * factory.C: support for eqref
5533
5534 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5535
5536         * messages.[Ch]: add missing char
5537
5538         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5539
5540         * messages.[Ch]: New files
5541
5542 2003-04-18  John Levon  <levon@movementarian.org>
5543
5544         * BufferView.h:
5545         * BufferView.C:
5546         * BufferView_pimpl.C:
5547         * lfuns.h:
5548         * LyXAction.C:
5549         * lyxtext.h:
5550         * text2.C: remove layout-copy/paste (bug 778)
5551
5552 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5553
5554         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5555
5556 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5557
5558         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5559         if they succeed. Act accordingly.
5560
5561 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5562
5563         * text2.C (setCharFont): adjust
5564         (setCounter): adjust
5565         (insertStringAsLines): adjust
5566
5567         * text.C (leftMargin): adjust
5568         (setHeightOfRow): adjust
5569
5570         * rowpainter.C (paintFirst): adjust
5571         (paintLast): adjust
5572
5573         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5574         (outerHook): ditto
5575         (isFirstInSequence): ditto
5576         (getEndLabel): ditto
5577         (outerFont): adjust
5578
5579         * paragraph.C (getParLanguage): comment out some hard stuff.
5580
5581         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5582         (sgmlError): ditto
5583         (simpleDocBookOnePar): ditto
5584         (makeDocBookFile): use ParagraphList::iterator
5585
5586         * CutAndPaste.C (pasteSelection): adjust
5587
5588 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5589
5590         * text2.C (getFont): adjust
5591         (getLayoutFont): adjust
5592         (getLabelFont): adjust
5593
5594         * paragraph_funcs.C (TeXOnePar): adjust
5595
5596         * buffer.C (simpleLinuxDocOnePar): adjust
5597         (simpleDocBookOnePar): adjust
5598
5599         * CutAndPaste.C (pasteSelection): adjust
5600
5601         * BufferView.C (getEncoding): adjust
5602
5603         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5604
5605 2003-04-16  John Levon  <levon@movementarian.org>
5606
5607         * lyxfind.C: use parlist stuff for search/changes
5608
5609 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5610
5611         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5612
5613         * text2.C (deleteEmptyParagraphMechanism): adjust
5614
5615         * text2.[Ch] (ownerParagraph): delete func (both of them
5616
5617 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5618
5619         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5620
5621 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5622
5623         * ParagraphList.C: prepare for NO_NEXT
5624
5625 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5626
5627         * text2.C (getFont): adjust
5628         (getLayoutFont): adjust
5629         (getLabelFont): adjust
5630
5631         * paragraph.C (getFont): adjust
5632         (getLabelFont): adjust
5633         (getLayoutFont): adjust
5634
5635         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5636
5637 2003-04-15  John Levon  <levon@movementarian.org>
5638
5639         From Angus Leeming
5640
5641         * lyx_main.C: handle Include in .ui files
5642
5643 2003-04-15  John Levon  <levon@movementarian.org>
5644
5645         * MenuBackend.C: make the doc files length shorter
5646
5647         * ToolbarBackend.h:
5648         * ToolbarBackend.C: handle toolbar placement flags,
5649         Minibuffer
5650
5651 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5652
5653         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5654         adjust
5655
5656         * paragraph_funcs.C (TeXOnePar): adjust
5657
5658         * paragraph.C (getLabelFont): add outerfont arg, adjust
5659         (getLayoutFont): ditto
5660         (simpleTeXOnePar): adjust
5661
5662         * paragraph_pimpl.C (realizeFont): delete func
5663
5664 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5665
5666         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5667         row argument, constify cur argument.
5668
5669 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5670
5671         * text2.C (getFont): adjust
5672         (getLayoutFont): adjust
5673         (getLabelFont): adjust
5674
5675         * paragraph_funcs.C (TeXOnePar): adjust
5676         (outerFont): new func...
5677         (realizeFont): ...moved out from here, changed this to facilitate
5678         transition
5679
5680         * paragraph.C (getFont): take outerfont as arg, adjust
5681         (simpleTeXOnePar): add outerfont arg, adjust
5682
5683         * buffer.C (simpleLinuxDocOnePar): adjust
5684         (simpleDocBookOnePar): adjust
5685
5686         * CutAndPaste.C (pasteSelection): adjust
5687
5688         * BufferView.C (getEncoding): adjust
5689
5690 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5691
5692         * text2.C (setCharFont): adjust
5693         (setCounter): adjust
5694
5695         * text.C (leftMargin): adjust
5696         (setHeightOfRow): adjust
5697
5698         * rowpainter.C (paintFirst): adjust
5699         (paintLast): adjust
5700
5701         * paragraph_pimpl.C (realizeFont): adjust
5702
5703         * paragraph.C (isFirstInSequence): move from here...
5704         * paragraph_funcs.C (isFirstInSequence): ...to here
5705
5706         * paragraph.C (outerHook): move from here...
5707         * paragraph_funcs.C (outerHook): ...to here
5708
5709         * paragraph.C (depthHook): move from here...
5710         * paragraph_funcs.C (depthHook): ...to here
5711
5712         * paragraph.C (getEndLabel): move from here...
5713         * paragraph_funcs.C (getEndLabel): ...to here
5714
5715         * text2.C (realizeFont): move from here...
5716         * paragraph_funcs.C (realizeFont): ...to here
5717
5718 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5719
5720         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5721
5722 2003-04-14  Angus Leeming  <leeming@lyx.org>
5723
5724         * LColor.[Ch]: scrap LColor mathcursor.
5725
5726 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5727
5728         * lyxlex.[Ch] (text): delete function
5729         * trans.C (Load): adjust
5730         * paragraph_funcs.C (readParToken): adjust
5731
5732 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5733
5734         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5735         vector<char> instead of a char[].
5736
5737         * lyxlex_pimpl.C (getString): adjust
5738         (next): adjust
5739         (lex): use getString
5740         (eatLine): adjust
5741         (nextToken): adjust
5742
5743         * lyxlex.C (text): use pimpl_->getString()
5744         (getBool): ditto
5745         (findToken): ditto
5746
5747 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5748
5749         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5750         (makeFontEntriesLayoutSpecific): temp var for par.size()
5751         (setLayout): temp var for ownerParagraphs().end()
5752         (fullRebreak): temp var for rows().end()
5753         (selectionAsString): temp var for boost::next(startpit), realize
5754         that the while really is a regular for loop.
5755         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5756         setCursor in one place.
5757         (setParagraph): temp vr for ownerParagraphs().end()
5758         (updateCounters): make the while loop a for loop
5759         (cutSelection): temp var for ownerParagraphs().end()
5760         (updateInset): make the do {} while() a regular for loop
5761         (getCursorX): use temp vars
5762         (setCurrentFont): use temp vars
5763         (getColumnNearX): use temp vars
5764
5765 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5766
5767         * text.C (transformChar): use temp var for getChar
5768         (computeBidiTables): use temp var for row->par()
5769         (fill): move temp vars for row->par() and pit->layout() earlier in
5770         the function.
5771         (labelFill): use temp var for row->par()
5772         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5773         asc and desc, realize that pit never changes and that firstpit is
5774         just a duplicate and not needed. Exchange rit->par() with pit in a
5775         lot of places.
5776         (breakAgain): use a temp var for boost::next(rit)
5777         (breakAgainOneRow): ditto
5778         (breakParagraph): use a temp var for rows().begin()
5779         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5780         (cursorRightOneWord): use temp var for cursor.par() and
5781         cursor.pos(), remove usage of tmpcursor.
5782         (cursorLeftOneWord): use temp var for cursor.par() and
5783         cursor.pos() only set cur at end of function.
5784
5785 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5786
5787         * text.C, text2.C: exchange all usage of Paragraph::next with
5788         boost::next(ParagraphList::iterator)
5789
5790         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5791
5792         * text2.C (cursorTop): simplify implementation
5793         (cursorBottom): ditto
5794         (setParagraph): use ParagraphList::iterator
5795         (setCurrentFont): adjust
5796         (getColumnNearX): adjust
5797         (cursorRight): adjust
5798         (cursorLeft): remove usage of Paragraph::previous
5799         (cursorUpParagraph): ditto
5800         (deleteEmptyParagraphMechanism): slight cleanup
5801
5802         * text.C (isBoundary): take a Paragraph const & instead of a
5803         pointer as arg.
5804         (addressBreakPoint): ditto
5805         (leftMargin): remove usage of Paragraph::previous.
5806         (setHeightOfRow): ditto
5807         (cursorLeftOneWord): ditto
5808         (selectNextWordToSpellcheck): ditto
5809         (Delete): ditto
5810         (backspace): ditto
5811         (breakParagraph): remove one usage of Paragraph::next
5812         (redoParagraph): ditto
5813         (acceptChange): ditto
5814         (insertChar): adjust
5815         (rowBreakPoint): adjust
5816
5817         * bufferview_funcs.C (toggleAndShow): adjust
5818
5819 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5820
5821         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5822         methods to access it.
5823         * lyxtext.h:
5824         * text.C: Added updateRowPositions to compute all row positions.
5825         Make top_y and getRowNearY() to use the cached y position
5826
5827 2003-04-11  John Levon  <levon@movementarian.org>
5828
5829         * text.C (rowBreakPoint): reintroduce the labelEnd
5830         checks, code copied from the row fill stuff. Deep voodoo.
5831
5832         * text.C (fill): add a comment and debugging for the
5833         next poor soul.
5834
5835 2003-04-11  John Levon  <levon@movementarian.org>
5836
5837         * text.C: make sure fullrow insets get wrapped to the next line,
5838         even when they're in a manual label
5839
5840 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5841
5842         * text2.C (insertParagraph): make it take ParagraphList::iterator
5843         as arg.
5844         (setLayout): make it return ParagraphList::iterator
5845         (redoParagraphs): ditto
5846         (setCounter): ditto
5847         (checkParagraph): ditto
5848
5849         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5850
5851         * text2.C: adjust several funcs.
5852         (realizeFont): take a ParagraphList::iterator as arg.
5853         (getLayoutFont): ditto
5854         (getLabelFont): ditto
5855         (setCharFont): ditto
5856
5857         * text.C: adjust several funcs.
5858
5859 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5860
5861         * text.C (selectNextWordToSpellcheck): don't accidentally
5862         skip insets
5863
5864 2003-04-10  John Levon  <levon@movementarian.org>
5865
5866         * ToolbarBackend.C (getIcon): special handling for
5867         LFUN_MATH_DELIM
5868
5869 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5870
5871         * text2.C (cursorRight): a getChar assert fixed
5872
5873 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5874
5875         * text2.C (getFont): change to take a ParagraphList::iterator
5876         instead of Paragraph*
5877         Adjust several functions.
5878
5879         * text.C (transformChar): change to take a ParagraphList::iterator
5880         instead of Paragraph*
5881         (singleWidth): ditto
5882         Adjust several functions.
5883
5884         * rowpainter.C: adjust several functions
5885         * rowpainter.h:store a ParagraphList::iterator and not a
5886         Paragraph&.
5887
5888
5889 2003-04-09  John Levon  <levon@movementarian.org>
5890
5891         * lyxfunc.C:
5892         * lfuns.h:
5893         * LyXAction.h:
5894         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5895         and the "help" bits as well
5896
5897 2003-04-09  John Levon  <levon@movementarian.org>
5898
5899         * ToolbarBackend.h:
5900         * ToolbarBackend.C: allow multiple toolbars
5901
5902 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5903
5904         * undo_funcs.C (setCursorParUndo): adjust
5905
5906         * text_funcs.C (transposeChars): adjust
5907
5908         * text3.C (gotoNextInset): adjust
5909         (dispatch): adjust
5910
5911         * text2.C (setLayout): adjust
5912         (changeDepth): adjust
5913         (setFont): adjust
5914         (redoParagraphs): adjust
5915         (selectionAsString): adjust
5916         (setParagraph): adjust
5917         (insertInset): adjust
5918         (cutSelection): adjust
5919         (copySelection): adjust
5920         (pasteSelection): adjust
5921         (insertStringAsLines): adjust
5922         (updateInset): adjust
5923         (setCursor): change to take a ParagraphList::iterator parameter
5924         (setCursorIntern): change to take a ParagraphList::iterator parameter
5925         (setCurrentFont): adjust
5926         (cursorLeft): adjust
5927         (cursorRight): adjust
5928         (deleteEmptyParagraphMechanism): adjust
5929
5930         * text.C (breakParagraph): adjust
5931         (insertChar): adjust
5932         (acceptChange): adjust
5933         (rejectChange): adjust
5934         (selectNextWordToSpellcheck): adjust
5935         (changeCase): adjust
5936         (Delete): adjust
5937         (backspace): adjust
5938
5939         * lyxfind.C (SearchForward): adjust
5940         (SearchBackward): adjust
5941         (nextChange): adjust
5942
5943         * lyxcursor.C (par): adjust
5944
5945         * lyxcursor.h: store a ParagraphList::iterator instead of a
5946         Paragraph*
5947
5948         * lyx_cb.C (getPossibleLabel): adjust
5949
5950         * bufferview_funcs.C (toggleAndShow): adjust
5951
5952         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5953         (dispatch): adjust
5954
5955         * BufferView.C (removeAutoInsets): adjust
5956         (lockedInsetStoreUndo): adjust
5957
5958 2003-04-09  John Levon  <levon@movementarian.org>
5959
5960         * ToolbarBackend.C: try icon without argument
5961         if with argument fails
5962
5963 2003-04-08  John Levon  <levon@movementarian.org>
5964
5965         * ToolbarBackend.h:
5966         * ToolbarBackend.C: add getIcon(), handle tooltip,
5967         and change from "Icon" to "Item".
5968
5969 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5970
5971         * BufferView.C (lockInset): another bad getchar crunched
5972
5973 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5974
5975         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5976         again)
5977
5978 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5979
5980         * lyxfind.C (searchForward, searchBackwards): bug 782
5981
5982 2003-04-07  John Levon  <levon@movementarian.org>
5983
5984         * paragraph.C: remove dead comment
5985
5986         * text.C: remove troublesome depth-fiddling code
5987         in leftMargin() and rightMargin() (bug 1017)
5988
5989         * text.C: fix breaking of rows in nested lists
5990         (bug 1004)
5991
5992         * text2.C (updateCounters): fix up depth values
5993         (bug 1013)
5994
5995 2003-04-07  John Levon  <levon@movementarian.org>
5996
5997         * BufferView_pimpl.C: clear message when doc finishes resizing,
5998         and after a mouse event
5999
6000         * lyxfunc.C: clear message after exiting inset
6001
6002 2003-04-07  John Levon  <levon@movementarian.org>
6003
6004         * bufferview_funcs.C: show math status not outside
6005         status in the statusbar
6006
6007 2003-04-07  John Levon  <levon@movementarian.org>
6008
6009         * lyxfunc.C: note status changed after a depth change
6010
6011 2003-04-04  Angus Leeming  <leeming@lyx.org>
6012
6013         * LaTeX.h: move AuxInfo operator==, != out of line.
6014         Remove LaTeX virtual destructor; nothing derives from it.
6015         Move operator()() out of public area and rename it startscript().
6016         Change protected for private.
6017
6018 2003-04-04  Angus Leeming  <leeming@lyx.org>
6019
6020         * lyxfunc.C:
6021         * text2.C: remove unneeded #includes.
6022
6023 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6024
6025         * text2.C (dEPM): fix the heigth of the next row
6026
6027 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6028
6029         * text.C: squashed an invalid getChar requester + some ws changes
6030
6031 2003-04-03  John Levon  <levon@movementarian.org>
6032
6033         * bufferview_funcs.h:
6034         * bufferview_funcs.C:
6035         * lyxfunc.C:
6036         * lyxtext.h:
6037         * text2.C: make getStatus work for the env depth lfuns
6038
6039 2003-04-03  John Levon  <levon@movementarian.org>
6040
6041         * bufferview_funcs.h:
6042         * bufferview_funcs.C:
6043         * lyxfunc.C:
6044         * lyxtext.h:
6045         * text2.C: parlistize decDepth(), by merging it with incDepth()
6046
6047 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6048
6049         * lyxrow.h: store a ParagraphList::iterator instead of a
6050         Paragraph* and adjust other class functions to suit.
6051
6052         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6053         above.
6054
6055 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6056
6057         * text2.C (setCursor): do not anchor to cursor row for the time being
6058
6059 2003-04-02  John Levon  <levon@movementarian.org>
6060
6061         * LyXAction.C:
6062         * lfuns.h:
6063         * lyx_main.C:
6064         * lyxtext.h:
6065         * text.C:
6066         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6067
6068 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6069
6070         * paragraph.h: make ParagraphList and ParagraphList::iterator
6071         friends of Paragraph.
6072
6073         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6074
6075         * ParagraphList.C: Use the private next_ and previous_ from
6076         Paragraph.
6077
6078 2003-04-01  John Levon  <levon@movementarian.org>
6079
6080         * ToolbarBackend.h:
6081         * ToolbarBackend.C:
6082         * Makefile.am: rename, remove defaults gunk
6083
6084         * MenuBackend.h:
6085         * MenuBackend.C: remove defaults gunk
6086
6087         * Languages.h:
6088         * Languages.C: remove defaults gunk
6089
6090         * lyx_main.h:
6091         * lyx_main.C: error out if files couldn't be found.
6092
6093 2003-04-02  John Levon  <levon@movementarian.org>
6094
6095         * text2.C: make incDepth() use parlist
6096
6097 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6098
6099         * undo_funcs.C (firstUndoParagraph): adjust
6100
6101         * text3.C (gotoInset): adjust
6102         (dispatch): adjust, and rewrite loop.
6103
6104         * text2.C (init): adjust, and rewrite loop.
6105         (redoParagraphs): adjust
6106         (updateInset): adjust, and rewrite loop.
6107         (deleteEmptyParagraphMechanism): adjust
6108
6109         * tabular.C (LyXTabular): adjust
6110         (SetMultiColumn): adjust
6111         (TeXRow): adjust
6112
6113         * lyxtext.[Ch] (ownerParagraph): delete function
6114         (ownerParagraphs): new function returns a ParagraphList.
6115
6116         * BufferView.C (removeAutoInsets): adjust
6117         (insertErrors): adjust
6118         (setCursorFromRow): adjust
6119
6120 2003-04-01  Angus Leeming  <leeming@lyx.org>
6121
6122         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6123         in the frontends.
6124
6125 2003-04-02  John Levon  <levon@movementarian.org>
6126
6127         * lyxtext.h:
6128         * text.C:
6129         * Makefile.am:
6130         * text_funcs.h:
6131         * text_funcs.C: make transposeChars a free function
6132
6133         * lyxrow_funcs.C: remove wrong comment
6134
6135 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6136
6137         * lyxtext.h: adjust
6138         * rowpainter.C: adjust
6139         * text.C: adjust
6140         * text2.C: adjust
6141         * text3.C: adjust
6142
6143         * lyxrow_funcs. [Ch]: new files
6144
6145         * lyxrow.[Ch]: remove next and previous pointers
6146         (next,previous): remove accessor functions
6147         (isParEnd): move to lyxrow_funcs
6148         (lastPos): move to lyxrow_funcs
6149         (nextRowIsAllInset): move to lyxrow_funcs
6150         (lastPrintablePos): move to lyxrow_funcs
6151         (numberOfSeparators): move to lyxrow_funcs
6152         (numberOfHfills): move to lyxrow_funcs
6153         (numberOfLabelHfills): move to lyxrow_funcs
6154         (hfillExpansion): move to lyxrow_funcs
6155
6156         * lyxfunc.C: adjust
6157
6158         * bufferview_funcs.C (toggleAndShow): adjust
6159
6160         * RowList.h: Remove class RowList from file leave just a
6161         std::list<Row>.
6162
6163         * RowList.C: delete file
6164
6165         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6166         and lyxrow_funcs.h
6167
6168 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6169
6170         * text3.C (cursorPrevious): adjust
6171         (cursorNext): adjust
6172         (dispatch): adjust
6173
6174         * text2.C (redoHeightOfParagraph): adjust
6175         (redoDrawingOfParagraph): adjust
6176         (setCursor): adjust
6177
6178         * text.C (breakParagraph): adjust
6179         (insertChar): adjust
6180         (backspace): adjust
6181
6182         * rowpainter.C (RowPainter): adjust
6183         (leftMargin): simplify and adjust
6184         (most rowpainter functions): adjust.
6185
6186         * rowpainter.h: store the row as RowList::iterator not as Row*
6187
6188         * lyxcursor.C (row): taka RowList::iterator as arg
6189         (irow): ditto
6190
6191         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6192         of Row*.
6193
6194 2003-04-01  Angus Leeming  <leeming@lyx.org>
6195
6196         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6197         stuff like bool Bool.
6198
6199 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6200
6201         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6202         rewrite a loop
6203
6204 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6205
6206         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6207         RowList::iterator.
6208
6209         * lyxtext.h (rows): drop one version and leve a const variant that
6210         returns a RowList::iterator.
6211
6212 2003-03-31  Angus Leeming  <leeming@lyx.org>
6213
6214         * text.C (fill): ensure that the signature is the same as that in the
6215         header file.
6216
6217 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6218
6219         * text2.C (redoParagraphs): adjust
6220         (updateCounters): adjust
6221         (checkParagraph): adjust
6222         (getColumnNearX): adjust and reformat a bit.
6223
6224         * text.C (top_y): adjust
6225         (workWidth): adjust
6226         (leftMargin): adjust
6227         (prepareToPrint): adjust
6228         (getRow): adjust
6229         (getRowNearY): adjust
6230
6231         * lyxtext.h: make rowlist_ mutable.
6232
6233         * RowList.h: add const_iterator
6234         * RowList.C: adjust for RowList::const_iterator.
6235
6236         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6237         adjust.
6238
6239 2003-03-31  John Levon  <levon@movementarian.org>
6240
6241         * lyxrc.h:
6242         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6243
6244         * lyx_main.C: set default fonts from using lyx_gui funcs
6245
6246         * exporter.C: pdf_mode moved from lyxrc
6247
6248         * lyx_cb.C:
6249         * lyxfunc.C: changes from above
6250
6251 2003-03-31  John Levon  <levon@movementarian.org>
6252
6253         * lyx_main.C: fix to the last fix
6254
6255 2003-03-31  John Levon  <levon@movementarian.org>
6256
6257         * bufferlist.C: "Load original" -> "Load Original"
6258
6259         * converter.C:
6260         * exporter.C:
6261         * importer.C:
6262         * lyx_main.C:
6263         * format.C: more Alert cleanups
6264
6265 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6266
6267         * text2.C (removeParagraph): make it take a RowList::iterator as
6268         arg, adjust.
6269         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6270         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6271
6272         * text.C (anchor_row): make it take a RowList::iterator as arg,
6273         adjust.
6274         (computeBidiTables): make it take a const reference to Row instead
6275         of Row pointer, adjust.
6276         (leftMargin): make it take a RowList::iterator as arg, adjust.
6277         (rowBreakPoint): adjust
6278         (breakAgainOneRow): make it take a RowList::iterator as arg,
6279         adjust.
6280         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6281
6282         * bufferview_funcs.C (toggleAndShow): adjust
6283
6284 2003-03-30  John Levon  <levon@movementarian.org>
6285
6286         * Makefile.am:
6287         * BoostFormat.h:
6288         * boost-inst.C: moved to support
6289
6290         * several files: changes as a result
6291
6292 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6293
6294         * text2.C (LyXText): adjust.
6295         (init): adjust
6296         (removeRow): make it take a RowList::iterator as arg, adjust.
6297         (fullRebreak): adjust
6298         (deleteEmptyParagraphMechanism): adjust
6299         (clearPaint): adjust
6300         (postPaint): adjust
6301
6302         * text.C (top_y): adjust
6303         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6304         (breakAgain): make it take a RowList::iterator as arg, adjust.
6305         (breakParagraph): adjust
6306         (insertChar): adjust
6307         (backspace): adjust
6308
6309         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6310         need_break_row, and refresh_row.
6311
6312         * text3.C (dispatch): adjust
6313
6314         * text2.C (checkParagraph): adjust
6315         (setCursor): adjust
6316         (setCursorFromCoordinates): adjust
6317
6318         * text.C (top_y): adjust
6319         (workWidth): adjust
6320         (getRow): make it return a RowList::iterator, adjust
6321         (getRowNearY): make it return a RowList::iterator, adjust
6322
6323         * text2.C (init): adjust
6324         (insertRow): remove function
6325         (insertParagraph): adjust
6326         (redoParagraphs): adjust
6327         (fullRebreak): adjust
6328         (updateCounters): adjust
6329
6330         * text.C (top_y): rewrite to use RowList iterators.
6331         (top_y): adjust
6332         (setHeightOfRow): rewrite to sue RowList iterators.
6333         (appendParagraph): adjust
6334         (breakAgain): adjust
6335         (breakAgainOneRow): adjust
6336         (breakParagraph): adjust
6337         (getRow): adjust
6338         (getRowNearY): adjust, and remove commented code.
6339
6340         * lyxtext.h (firstRow): delete function
6341         (lastRow): delete function
6342         (rows): new function (const and non-const versions.)
6343         (insertRow): delete function
6344
6345         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6346
6347 2003-03-29  John Levon  <levon@movementarian.org>
6348
6349         * BufferView_pimpl.C: always update scrollbar top
6350         because pasting text when we're anchored could mean we
6351         miss an update altogether
6352
6353 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6354
6355         * text2.C (init): use rowlist_.end() and not 0.
6356         (insertRow): change to take a RowList::iterator as arg, adjust
6357         for this.
6358         (insertParagraph): change to take a RowList::iterator as arg,
6359         adjust for this.
6360         (redoParagraphs): remove some debug msgs.
6361
6362         * text.C (appendParagraph): change to take a RowList::iterator
6363         arg, adjust for this.
6364         (breakAgain): add an assert
6365         (breakAgainOneRow): ditto
6366
6367 2003-03-29  John Levon  <levon@movementarian.org>
6368
6369         * text2.C: do not clear selection after inc/decDepth
6370         (bug 550)
6371
6372 2003-03-29  John Levon  <levon@movementarian.org>
6373
6374         * BufferView.C:
6375         * buffer.C: fix broken strerrors according to Lars
6376
6377 2003-03-29  John Levon  <levon@movementarian.org>
6378
6379         * converters.C: more Alert cleanups
6380
6381 2003-03-29  John Levon  <levon@movementarian.org>
6382
6383         * bufferview_funcs.C: remove pointless Alert
6384
6385         * buffer.C: fix confusing error message when
6386         a template is chmoded 000
6387
6388 2003-03-29  John Levon  <levon@movementarian.org>
6389
6390         * BufferView.C:
6391         * BufferView.h:
6392         * BufferView_pimpl.C: Alert fixes
6393
6394         * Makefile.am:
6395         * tabular.C:
6396         * tabular-old.C: remove unused table compat reading
6397
6398 2003-03-29  John Levon  <levon@movementarian.org>
6399
6400         * BufferView.C:
6401         * buffer.C:
6402         * lyx_cb.h:
6403         * lyx_cb.C: more Alert cleanups
6404
6405         * lyxfunc.C: don't allow chktex if not latex document
6406
6407 2003-03-29  John Levon  <levon@movementarian.org>
6408
6409         * lyx_cb.C:
6410         * BufferView.C:
6411         * buffer.C: warnings pushed down from support/,
6412         kill err_alert
6413
6414 2003-03-29  John Levon  <levon@movementarian.org>
6415
6416         * lyxfunc.C: safety check for C-r (revert)
6417
6418 2003-03-29  John Levon  <levon@movementarian.org>
6419
6420         * bufferlist.h:
6421         * bufferlist.C: several UI fixes using Alert::prompt.
6422         Fix the pointless looping quit code. Fix stupid revert
6423         behaviour (bug 938)
6424
6425         * lyxvc.h:
6426         * lyxvc.C:
6427         * lyx_cb.C: use Alert::prompt
6428
6429         * lyx_main.C: remove a silly question
6430
6431         * lyxfunc.C: remove a couple of silly questions,
6432         use Alert::prompt
6433
6434 2003-03-28  John Levon  <levon@movementarian.org>
6435
6436         * text2.C: fix bug 974 (End on empty par)
6437
6438 2003-03-28  John Levon  <levon@movementarian.org>
6439
6440         * BufferView_pimpl.C:
6441         * LyXAction.C:
6442         * lfuns.h: remove do-nothing math greek lfuns
6443
6444 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6445
6446         * lyxgluelength.h (isValidGlueLength): add default arg on
6447         parameter 2. Remove default arg from friend in class.
6448
6449         * lyxlength.h (isValidLength): add default arg on parameter 2.
6450         Remove default arg from friend in class.
6451
6452         * text2.C (LyXText): adjust, initialize refresh_row.
6453         (init): adjust
6454         (removeRow): adjust
6455         (insertRow): adjust
6456         (insertParagraph): adjst
6457         (redoParagraphs): adjust
6458         (fullRebreak): adjust
6459         (updateCounters): adjust
6460         (deleteEmptyParagraphMechanism): first attempt at fixing a
6461         crashing bug.
6462
6463         * text.C (top_y): adjust
6464         (setHeightOfRow): adjust
6465         (getRow): adjust
6466         (getRowNearY): adjust
6467
6468         * lyxtext.h: include RowList.h
6469         (~LyXText): not needed anymore, deleted.
6470         (firstRow): modify for RowList
6471         (lastRow): new function
6472         Delete firstrow and lastrow class variables, add a Rowlist
6473         rowlist_ class variable.
6474
6475         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6476         paragraph is empty.
6477
6478         * RowList.C (insert): fix case where it == begin().
6479
6480 2003-03-26  Angus Leeming  <leeming@lyx.org>
6481
6482         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6483         the thesaurus dialog.
6484
6485 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6486
6487         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6488
6489         * RowList.[Ch]: new files
6490
6491         * ParagraphList.C (erase): handle the case where it == begin
6492         correctly.
6493
6494 2003-03-25  John Levon  <levon@movementarian.org>
6495
6496         * Makefile.am:
6497         * aspell_local.h:
6498         * aspell.C: add new aspell support
6499
6500         * lyxrc.h:
6501         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6502         have it accessible.
6503
6504 2003-03-25  Angus Leeming  <leeming@lyx.org>
6505
6506         * lfuns.h:
6507         * LyXAction.C (init): new LFUN_INSET_INSERT.
6508
6509         * BufferView_pimpl.C (dispatch): split out part of the
6510         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6511
6512         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6513         LFUN_INSET_APPLY.
6514
6515 2003-03-25  Angus Leeming  <leeming@lyx.org>
6516
6517         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6518
6519 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6520
6521         * text2.C:
6522         * text3.C: remove useless row->height(0)
6523
6524 2003-03-25  John Levon  <levon@movementarian.org>
6525
6526         * lyxtext.h:
6527         * text2.C:
6528         * text3.C: rename the refreshing stuff to better names
6529
6530 2003-03-24  John Levon  <levon@movementarian.org>
6531
6532         * BufferView_pimpl.h:
6533         * BufferView_pimpl.C: update layout choice on a mouse
6534         press/release
6535
6536 2003-03-23  John Levon  <levon@movementarian.org>
6537
6538         * Makefile.am: fix commandtags.h reference
6539
6540 2003-03-22  John Levon  <levon@movementarian.org>
6541
6542         * BufferView_pimpl.C:
6543         * lyxtext.h:
6544         * rowpainter.C:
6545         * rowpainter.h:
6546         * text.C:
6547         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6548
6549 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6550
6551         * lyxtext.h:
6552         * text.C: take the rtl methods out of line
6553
6554 2003-03-21 André Pönitz <poenitz@gmx.net>
6555
6556         * metricsinfo.[Ch]: new files containing structures to be passed around
6557         during the two-phase-drawing...
6558
6559 2003-03-21 André Pönitz <poenitz@gmx.net>
6560
6561         * lyxtextclass.C: read 'environment' tag.
6562
6563 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6564
6565         * text2.C (removeRow): fix bug 964
6566
6567 2003-03-20  John Levon  <levon@movementarian.org>
6568
6569         * rowpainter.C:
6570         * text.C:
6571         * text2.C: paint cleanups. Inset::update() dropped font
6572         parameter
6573
6574 2003-03-19  John Levon  <levon@movementarian.org>
6575
6576         * lyxfunc.C: only fitcursor/markDirty if available()
6577
6578 2003-03-19  John Levon  <levon@movementarian.org>
6579
6580         * commandtags.h: rename to ...
6581
6582         * lfuns.h: ... this, and renumber / cleanup
6583
6584 2003-03-19  John Levon  <levon@movementarian.org>
6585
6586         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6587         fit the cursor after an lfun
6588
6589         * BufferView.h:
6590         * BufferView.C:
6591         * BufferView_pimpl.h:
6592         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6593
6594         * LyXAction.C: layout-character should have ReadOnly
6595
6596         * ParagraphParameters.C:
6597         * buffer.C:
6598         * bufferview_funcs.C:
6599         * lyx_cb.C:
6600         * lyxfind.C:
6601         * lyxtext.h:
6602         * text.C:
6603         * text2.C:
6604         * text3.C:
6605         * undo_funcs.C: changes from above
6606
6607 2003-03-18  John Levon  <levon@movementarian.org>
6608
6609         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6610         remove it from update()
6611
6612         * lyxfunc.C: update layout choice after an lfun
6613
6614         * text3.C: remove extra updateLayoutChoice()s
6615
6616 2003-03-18  John Levon  <levon@movementarian.org>
6617
6618         * text.C: top_y change means full repaint, fix
6619         a drawing bug with cursor movement
6620
6621 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6622
6623         * lyxtext.h:
6624         * text.C:
6625         * text2.C: anchor row on setCursor
6626
6627 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6628
6629         * lyxtext.h: remove almost all mutable keywords
6630         * text.C:
6631         * text2.C:
6632         * text3.C: remove const keywords accordingly
6633
6634 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6635
6636         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6637         anon namespace
6638         (TeXEnvironment): ditto
6639         (TeXOnePar): ditto
6640
6641 2003-03-17  John Levon  <levon@movementarian.org>
6642
6643         * text.C (rowBreakPoint): remove attempt to fix displayed
6644         math insets inside a manual label
6645
6646 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6647
6648         * lyxtext.h: remove BufferView* as first arg from almost all class
6649         functions.
6650         * other files: adjust.
6651
6652 2003-03-17  John Levon  <levon@movementarian.org>
6653
6654         * lyxtext.h:
6655         * undo_funcs.C:
6656         * text2.C: more paint cleanups
6657
6658         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6659
6660         * rowpainter.h:
6661         * rowpainter.C: remove "smart" background painting code
6662
6663 2003-03-16  John Levon  <levon@movementarian.org>
6664
6665         * lyxtext.h:
6666         * text.C:
6667         * text2.C:
6668         * text3.C: add helper functions for setting refresh_row/y
6669
6670 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6671
6672         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6673         newline inset which *can* get inserted in the pass_thru layouts.
6674         This is primarily for literate documents.
6675
6676 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6677
6678         * buffer.C: increment LYX_FORMAT to 223
6679
6680 2003-03-14 André Pönitz <poenitz@gmx.net>
6681
6682         * textclass.h: prepare for environment handling, ws changes
6683         * lyxlayout.C: read latexheader and latexfooter tags
6684
6685 2003-03-14  John Levon  <levon@movementarian.org>
6686
6687         * text2.C: rewrite ::status() a bit
6688
6689 2003-03-13  John Levon  <levon@movementarian.org>
6690
6691         * lyxtext.h: add some docs
6692
6693 2003-03-13  John Levon  <levon@movementarian.org>
6694
6695         * lyxtext.h:
6696         * text.C:
6697         * text2.C:
6698         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6699
6700 2003-03-13  John Levon  <levon@movementarian.org>
6701
6702         * text3.C: fix appendix redrawing
6703
6704 2003-03-13  John Levon  <levon@movementarian.org>
6705
6706         * text.C (setHeightOfRow):
6707         * rowpainter.h:
6708         * rowpainter.C: make appendix mark have the text
6709           "Appendix" so the user knows what it is
6710
6711         * LColor.h:
6712         * LColor.C: s/appendixline/appendix/ from above
6713
6714 2003-03-13  John Levon  <levon@movementarian.org>
6715
6716         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6717
6718         * text.C: fix a getChar(pos) bug properly
6719
6720 2003-03-13  Angus Leeming  <leeming@lyx.org>
6721
6722         * commandtags.h:
6723         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6724         Probably only temporary. Let's see how things pan out.
6725
6726         * BufferView.C (unlockInset):
6727         * BufferView_pimpl.C (fitCursor):
6728         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6729
6730         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6731         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6732
6733         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6734         new functions that convert ParagraphParameters to and from a string.
6735
6736         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6737         BufferView::Pimpl's dispatch.
6738         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6739
6740 2003-03-13 André Pönitz <poenitz@gmx.net>
6741
6742         * lyxfunc.C:
6743         * text3.C:
6744         * factory.C: make it aware of InsetEnv
6745
6746 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6747
6748         * text2.C (setCursor): never ask for one past last
6749         (setCursor): add some debugging messages.
6750
6751         * text.C (singleWidth): never ask for one past last
6752         (singleWidth): ditto
6753         (leftMargin): ditto
6754         (rightMargin): ditto
6755         (rowBreakPoint): ditto
6756         (setHeightOfRow): ditto
6757         (prepareToPrint): ditto
6758
6759         * rowpainter.C (paintBackground): never ask for one past last
6760         (paintText): never ask for one past last
6761
6762         * paragraph_pimpl.C (getChar): make the assert stricter, never
6763         allow the one past last pos to be taken
6764
6765         * paragraph.C (getChar): ws changes only
6766
6767         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6768         (numberOfSeparators): ditto
6769         (numberOfHfills): ditto
6770
6771 2003-03-12  John Levon  <levon@movementarian.org>
6772
6773         * author.h:
6774         * author.C:
6775         * bufferparams.h:
6776         * bufferparams.C:
6777         * paragraph_funcs.C: fix per-buffer authorlists
6778
6779 2003-03-12  John Levon  <levon@movementarian.org>
6780
6781         * text.C: fix newline in right address
6782
6783 2003-03-12  Angus Leeming  <leeming@lyx.org>
6784
6785         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6786         duplicate those in LyXFunc::dispatch.
6787
6788         * commandtags.h:
6789         * LyXAction.C:
6790         * ToolbarDefaults.C:
6791         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6792         Add LFUN_FONTFREE_UPDATE.
6793
6794         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6795         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6796
6797         * bufferview_func.[Ch]: several new functions to facilliate
6798         transfer of data to and from the character dialog.
6799
6800 2003-03-12  John Levon  <levon@movementarian.org>
6801
6802         * buffer.C:
6803         * paragraph.h:
6804         * paragraph.C:
6805         * paragraph_funcs.C:
6806         * paragraph_pimpl.C:
6807         * sgml.C:
6808         * tabular.C:
6809         * text.C:
6810         * text3.C: remove META_NEWLINE in favour of an inset
6811
6812         * rowpainter.h:
6813         * rowpainter.C: remove paintNewline (done by inset)
6814
6815 2003-03-12  John Levon  <levon@movementarian.org>
6816
6817         * paragraph_pimpl.C: complain about bad getChar()s
6818         for a while at least
6819
6820 2003-03-12  John Levon  <levon@movementarian.org>
6821
6822         * buffer.h:
6823         * buffer.C: move paragraph read into a separate function,
6824         a little renaming to reflect that.
6825
6826         * bufferparams.h:
6827         * bufferparams.C: remove the author_ids map, not necessary now
6828
6829         * factory.h:
6830         * factory.C: moved Buffer::readInset to here
6831
6832         * paragraph_funcs.h:
6833         * paragraph_funcs.C: readParagraph free function moved from
6834         buffer.C
6835
6836         * tabular.C: name change
6837
6838 2003-03-12  John Levon  <levon@movementarian.org>
6839
6840         * buffer.C:
6841         * ParagraphParameters.C: move par params input to
6842         a read() method
6843
6844         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6845         behave like a normal read from the stream wrt reading
6846         a line vs. a \\token
6847
6848 2003-03-12  John Levon  <levon@movementarian.org>
6849
6850         * paragraph.C:
6851         * ParagraphParameters.h:
6852         * ParagraphParameters.C: move output code to a
6853         ::write() method
6854
6855 2003-03-12  John Levon  <levon@movementarian.org>
6856
6857         * BufferView.C (insertLyXFile):
6858         * buffer.h:
6859         * buffer.C:
6860         * tabular.C: use a parlist iterator for creating the
6861           document.
6862
6863 2003-03-12  John Levon  <levon@movementarian.org>
6864
6865         * buffer.C: make current_change static local not
6866           static file-scope
6867
6868 2003-03-12  John Levon  <levon@movementarian.org>
6869
6870         * buffer.C: fix insertStringAsLines for change tracking
6871
6872 2003-03-12  John Levon  <levon@movementarian.org>
6873
6874         * BufferView.C:
6875         * tabular.C:
6876         * buffer.h:
6877         * buffer.C:
6878         * bufferparams.h:
6879         * bufferparams.C: move author list into params. Rename some
6880           functions. Move the header reading into a separate token
6881           loop. Move the header token reading into BufferParams.
6882
6883 2003-03-12  John Levon  <levon@movementarian.org>
6884
6885         * changes.C: put debug inside lyxerr.debugging() checks
6886
6887 2003-03-11 André Pönitz <poenitz@gmx.net>
6888
6889         * factory.C: make it aware of InsetHFill
6890
6891 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6892
6893         * buffer.C (latexParagraphs): move function from here...
6894         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6895         args.
6896
6897 2003-03-10  Angus Leeming  <leeming@lyx.org>
6898
6899         * LyXAction.C (init): fix bug in poplating array with multiple entries
6900         with the same LFUN (spotted by JMarc).
6901
6902 2003-03-10  John Levon  <levon@movementarian.org>
6903
6904         * text.C:
6905         * text2.C: move getColumnNearX() near its
6906         only call site
6907
6908 2003-03-10  John Levon  <levon@movementarian.org>
6909
6910         * text.C: fix break before a minipage
6911
6912 2003-03-10  John Levon  <levon@movementarian.org>
6913
6914         * text.C: fix the last commit
6915
6916 2003-03-09  John Levon  <levon@movementarian.org>
6917
6918         * lyxtext.h:
6919         * text.C:
6920         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6921         bug 365 (don't break before insets unless needed). Don't
6922         return a value > last under any circumstances.
6923
6924 2003-03-09  Angus Leeming  <leeming@lyx.org>
6925
6926         * BufferView_pimpl.C (trackChanges, dispatch): call
6927         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6928
6929 2003-03-09  Angus Leeming  <leeming@lyx.org>
6930
6931         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6932         than Dialogs::showAboutlyx().
6933
6934 2003-03-09  Angus Leeming  <leeming@lyx.org>
6935
6936         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6937         than Dialogs::showTabularCreate().
6938
6939 2003-03-09  John Levon  <levon@movementarian.org>
6940
6941         * lyxtext.h:
6942         * text.C:
6943         * text2.C: 3rd arg to nextBreakPoint was always the same.
6944           Use references.
6945
6946 2003-03-08  John Levon  <levon@movementarian.org>
6947
6948         * lyxrow.C:
6949         * paragraph.C:
6950         * paragraph.h:
6951         * rowpainter.C:
6952         * text.C:
6953         * text2.C: Remove the "main" bit from the "main body"
6954           notion.
6955
6956 2003-03-08  John Levon  <levon@movementarian.org>
6957
6958         * text.C (leftMargin): The left margin of an empty
6959         manual label paragraph should not include the label width
6960         string length.
6961
6962         * text.C (prepareToPrint): don't attempt to measure hfills
6963         for empty manual label paragraphs - the answer should be 0
6964
6965 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6966
6967         * CutAndPaste.C: remove commented code and reindent.
6968
6969 2003-03-08  John Levon  <levon@movementarian.org>
6970
6971         * lyxfunc.h:
6972         * lyxfunc.C: move reloadBuffer()
6973
6974         * BufferView.h:
6975         * BufferView.C: to here
6976
6977         * lyxvc.C: add comment
6978
6979         * vc-backend.h:
6980         * vc-backend.C: call bv->reload() to avoid
6981           getStatus() check on MENURELOAD
6982
6983 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6984
6985         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6986         to an old format .dep file.
6987
6988 2003-03-07  Angus Leeming  <leeming@lyx.org>
6989
6990         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6991         when the LFUN_MOUSE_RELEASE should have been handled by
6992         inset->localDispatch.
6993
6994 2003-03-07  Angus Leeming  <leeming@lyx.org>
6995
6996         * BufferView_pimpl.C (dispatch):
6997         * LyXAction.C (init):
6998         * ToolbarDefaults.C (init):
6999         * commandtags.h:
7000         * lyxfunc.C (getStatus):
7001         remove LFUN_INSET_GRAPHICS.
7002
7003         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7004
7005 2003-03-07  Angus Leeming  <leeming@lyx.org>
7006
7007         * commandtags.h:
7008         * LyXAction.C (init):
7009         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7010
7011         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7012
7013         * commandtags.h:
7014         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7015
7016         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7017         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7018
7019 2003-03-07  Angus Leeming  <leeming@lyx.org>
7020
7021         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7022         remove "ert".
7023
7024 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7025
7026         * ParagraphList.C (front): new function
7027         (back): implement
7028
7029 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7030
7031         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7032         and top_row_offset_. removed var first_y.
7033         * text.C (top_y):
7034         * text2.C (LyXText, removeRow):
7035         * text3.C:
7036         * BufferView_pimpl.C:
7037         use these methods instead of using first_y
7038
7039 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7040
7041         * text2.C (pasteSelection): adjust for checkPastePossible
7042
7043         * CutAndPaste.C: remove Paragraph * buf and replace with
7044         ParagraphList paragraphs.
7045         (DeleteBuffer): delete
7046         (cutSelection): change the tc type to textclass_type
7047         (copySelection): change the tc type to textclass_type
7048         (copySelection): adjust for ParagraphList
7049         (pasteSelection): change the tc type to textclass_type
7050         (pasteSelection): adjust for Paragraphlist
7051         (nrOfParagraphs): simplify for ParagraphList
7052         (checkPastePossible): simplify for ParagraphList
7053         (checkPastePossible): remove unused arg
7054
7055         * ParagraphList.C (insert): handle the case where there are no
7056         paragraphs yet.
7057
7058         * CutAndPaste.h: make CutAndPaste a namespace.
7059
7060         * text3.C (dispatch): adjust
7061
7062         * text.C (breakParagraph): add a ParagraphList as arg
7063
7064         * paragraph_funcs.C (breakParagraph): change to take a
7065         BufferParams and a ParagraphList as args.
7066         (breakParagraphConservative): ditto
7067         (mergeParagraph): ditto
7068         (TeXDeeper): add a ParagraphList arg
7069         (TeXEnvironment): ditto
7070         (TeXOnePar): ditto
7071
7072         * buffer.C (readLyXformat2): adjust
7073         (insertStringAsLines): adjust
7074         (latexParagraphs): adjust
7075
7076         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7077         (cutSelection): adjust
7078         (pasteSelection): adjust
7079
7080         * BufferView_pimpl.C (insertInset): adjust
7081
7082 2003-03-05  Angus Leeming  <leeming@lyx.org>
7083
7084         * commandtags.h:
7085         * LyXAction.C (init):
7086         * BufferView_pimpl.C (dispatch):
7087         * lyxfunc.C (getStatus):
7088         remove LFUN_CHILD_INSERT.
7089
7090         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7091
7092 2003-03-05  Angus Leeming  <leeming@lyx.org>
7093
7094         * commandtags.h:
7095         * LyXAction.C (init):
7096         * src/factory.C (createInset):
7097         * lyxfunc.C (getStatus):
7098         * text3.C (dispatch):
7099         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7100
7101         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7102
7103 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7104
7105         * ParagraphList.C (insert): handle insert right before end()
7106         (erase): fix cases where it can be first or last paragraph.
7107
7108 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7109
7110         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7111         Paragraph::next and Paragraph::previous
7112         (TeXOnePar): ditto
7113
7114         * text.C (breakParagraph): adjust
7115
7116         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7117         BufferParams& as arg.
7118         (breakParagraph): use ParagraphList::insert
7119         (breakParagraphConservative): take a Buffer* instead of a
7120         BufferParams& as arg.
7121         (breakParagraphConservative): use ParagraphList::insert.
7122
7123         * buffer.C (insertStringAsLines): un-const it
7124         (insertStringAsLines): adjust
7125
7126         * ParagraphList.C (insert): new function
7127
7128         * CutAndPaste.C (pasteSelection): adjust
7129
7130         * text.C (backspace): adjust
7131
7132         * tabular.C (SetMultiColumn): adjust
7133
7134         * CutAndPaste.C (cutSelection): adjust
7135         (pasteSelection): adjust
7136
7137         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7138         Buffer const * as arg
7139
7140         * ParagraphList.C (erase): new function
7141         * paragraph_funcs.C (mergeParagraph): use it
7142         (mergeParagraph): make it take a Buffer* instead of a
7143         BufferParams* as arg
7144
7145         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7146         as arg
7147         (breakParagraphConservative): ditto
7148
7149         * paragraph.h: remove the breakParagraph friend
7150
7151         * paragraph.C (eraseIntern): new function
7152         (setChange): new function
7153
7154         * paragraph_funcs.C (mergeParagraph): make it take a
7155         ParagraphList::iterator instead of a Paragraph *, adjust
7156         accordingly.
7157
7158         * paragraph.h: move an #endif so that the change tracking stuff
7159         also works in the NO_NEXT case.
7160
7161 2003-03-04  Angus Leeming  <leeming@lyx.org>
7162
7163         * commandtags.h:
7164         * LyXAction.C: new LFUN_INSET_MODIFY.
7165
7166         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7167         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7168
7169 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7170
7171         * several files: ws changes only
7172
7173         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7174         (TeXEnvironment): ditto
7175         (TeXDeeper): ditto
7176
7177         * buffer.C (makeLaTeXFile): adjust
7178         (latexParagraphs): make it take ParagraphList::iterator as args
7179
7180 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7181
7182         * buffer.C (latexParagraphs): adjust
7183
7184         * paragraph.C (TeXOnePar): move function...
7185         (optArgInset): move function...
7186         (TeXEnvironment): move function...
7187         * paragraph_pimpl.C (TeXDeeper): move function...
7188         * paragraph_funcs.C: ...here
7189
7190         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7191
7192 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7193
7194         * buffer.C (readInset): remove compability code for old Figure and
7195         InsetInfo insets
7196
7197 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7198
7199         * buffer.C: ws changes
7200         (readInset):
7201
7202         * BufferView_pimpl.C: ditto
7203         * author.C: ditto
7204         * buffer.h: ditto
7205         * bufferlist.h: ditto
7206         * changes.h: ditto
7207         * lyxfunc.C: ditto
7208
7209 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7210
7211         * converter.[Ch]: split into itself +
7212         * graph.[Ch]
7213         * format.[Ch]
7214         * Makefile.am: += graph.[Ch] + format.[Ch]
7215         * MenuBackend.C
7216         * buffer.C
7217         * exporter.C
7218         * importer.C
7219         * lyx_main.C
7220         * lyxfunc.C
7221         * lyxrc.C: added #include "format.h"
7222
7223 2003-02-27  Angus Leeming  <leeming@lyx.org>
7224
7225         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7226           a label.
7227
7228         * factory.C (createInset): add "label" to the factory.
7229
7230         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7231           string and do no more.
7232
7233 2003-02-27  Angus Leeming  <leeming@lyx.org>
7234
7235         * commandtags.h:
7236         * LyXAction.C (init):
7237         * factory.C (createInset):
7238         * BufferView_pimpl.C (dispatch):
7239           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7240
7241         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7242
7243         * lyxfunc.C (dispatch):
7244         * text3.C (dispatch): pass name to params2string.
7245
7246 2003-02-26  Angus Leeming  <leeming@lyx.org>
7247
7248         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7249           blocks together.
7250           Rearrange the ~includes. Strip out the unnecessary ones.
7251
7252         * factory.C (createInset): reformat.
7253           create new insets for the various LFUN_XYZ_APPLY lfuns.
7254
7255 2003-02-26  John Levon  <levon@movementarian.org>
7256
7257         * lyxrow.h:
7258         * lyxrow.C: add isParStart,isParEnd helpers
7259
7260         * paragraph.h: make isInserted/DeletedText take refs
7261
7262         * paragraph_funcs.h:
7263         * paragraph_funcs.C: remove #if 0'd code
7264
7265         * lyxtext.h:
7266         * text3.C:
7267         * text2.C:
7268         * text.C: use lyxrow helpers above.
7269           Move draw and paint routines to RowPainter.
7270           Make several methods use refs not pointers.
7271           Make backgroundColor() const.
7272           Add markChangeInDraw(), isInInset().
7273           Merge changeRegionCase into changeCase.
7274           Make workWidth() shouldn't-happen code into an Assert.
7275
7276         * rowpainter.h:
7277         * rowpainter.C: new class for painting a row.
7278
7279         * vspace.h:
7280         * vspace.C: make inPixels take a ref
7281
7282 2003-02-26  Angus Leeming  <leeming@lyx.org>
7283
7284         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7285         LFUN_REF_APPLY.
7286
7287 2003-02-25  John Levon  <levon@movementarian.org>
7288
7289         * ispell.C: give the forked command a more accurate name
7290
7291 2003-02-22  John Levon  <levon@movementarian.org>
7292
7293         * toc.h:
7294         * toc.C: make TocItem store an id not a Paragraph *
7295           (bug #913)
7296
7297 2003-02-21  Angus Leeming  <leeming@lyx.org>
7298
7299         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7300           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7301           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7302           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7303           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7304           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7305
7306         * BufferView_pimpl.C (dispatch):
7307         * LyXAction.C (init):
7308         * factory.C (createInset):
7309         * lyxfunc.C (getStatus, dispatch):
7310         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7311
7312 2003-02-21  Angus Leeming  <leeming@lyx.org>
7313
7314         * BufferView_pimpl.C (MenuInsertLyXFile):
7315         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7316         * lyxfunc.C (menuNew, open, doImport):
7317           no longer pass a LyXView & to fileDlg.
7318
7319 2003-02-21  Angus Leeming  <leeming@lyx.org>
7320
7321         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7322         * LyXAction.C: change, BIBKEY to BIBITEM.
7323         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7324         Change InsetBibKey to InsetBibitem.
7325         Change BIBKEY_CODE to BIBITEM_CODE.
7326         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7327         * factory.C: replace insetbib.h with insetbibitem.h.
7328         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7329         * paragraph.C: replace insetbib.h with insetbibitem.h.
7330         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7331         Change bibkey() to bibitem().
7332         * text.C: remove insetbib.h.
7333         * text2.C: replace insetbib.h with insetbibitem.h.
7334         change bibkey() to bibitem().
7335         * text3.C: remove insetbib.h.
7336         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7337
7338 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7339
7340         * lyxrc.C (output): enclose user email in quotes (in case there are
7341         several words)
7342
7343 2003-02-18  John Levon  <levon@movementarian.org>
7344
7345         * buffer.h: add std::
7346
7347 2003-02-17  John Levon  <levon@movementarian.org>
7348
7349         * SpellBase.h:
7350         * ispell.h:
7351         * ispell.C:
7352         * pspell.h:
7353         * pspell.C: reworking. Especially in ispell, a large
7354           number of clean ups and bug fixes.
7355
7356         * lyxfunc.C: fix revert to behave sensibly
7357
7358 2003-02-17 André Pönitz <poenitz@gmx.net>
7359
7360         * LyXAction.C:
7361         * commandtags.h: new LFUN_INSERT_BIBKEY
7362
7363         * layout.h:
7364         * lyxlayout.C:
7365         * buffer.C:
7366         * factory.C:
7367         * text.C:
7368         * text2.C:
7369         * text3.C:
7370         * paragraph.[Ch]:
7371         * paragraph_func.C: remove special bibkey handling
7372
7373 2003-02-17  John Levon  <levon@movementarian.org>
7374
7375         * text.C (Delete): fix case where delete at the end of
7376           the very first paragraph would not merge the pars
7377
7378 2003-02-17  John Levon  <levon@movementarian.org>
7379
7380         * lyxrow.C: fix lastPrintablePos()
7381
7382 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7383
7384         * bufferparams.C (writeLaTeX): add a std:here
7385
7386         * buffer.C: and remove a using directive there
7387
7388 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7389
7390         * buffer.C (makeLaTeXFile): move the code that generates the
7391           preamble...
7392
7393         * bufferparams.C (writeLaTeX): ... in this new method
7394
7395         * LaTeXFeatures.C (getEncodingSet): make const
7396           (getLanguages): make const
7397
7398         * MenuBackend.C (binding): returns the binding associated to this
7399           action
7400           (add): sets the status of each item by calling getStatus. Adds
7401           some intelligence.
7402           (read): add support for OptSubMenu
7403           (expand): remove extra separator at the end of expanded menu
7404
7405 2003-02-15  John Levon  <levon@movementarian.org>
7406
7407         * BufferView.C:
7408         * BufferView_pimpl.C:
7409         * bufferlist.h:
7410         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7411           inset code that had no actual effect. Remove unneeded status
7412           code.
7413
7414 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7415
7416         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7417           in preamble
7418
7419 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7420
7421         * text.C (drawLengthMarker): also draw an arrow marker for
7422           symbolic lengths (medskip...)
7423
7424 2003-02-14  John Levon  <levon@movementarian.org>
7425
7426         * tabular.h:
7427         * tabular.C: better method names
7428
7429 2003-02-14  John Levon  <levon@movementarian.org>
7430
7431         * BufferView_pimpl.C:
7432         * bufferlist.C:
7433         * buffer.C:
7434         * converter.C:
7435         * lyx_cb.C:
7436         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7437           it's a more accurate name. Remove some pointless uses.
7438
7439 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7440
7441         * text2.C (LyXText): change order of initilizers to shut off
7442           warnings
7443
7444 2003-02-14  John Levon  <levon@movementarian.org>
7445
7446         * buffer.C: use ParIterator for getParFromID()
7447
7448         * paragraph.h:
7449         * paragraph.C:
7450         * paragraph_pimpl.h:
7451         * paragraph_pimpl.C: remove unused getParFromID()
7452
7453 2003-02-14  John Levon  <levon@movementarian.org>
7454
7455         * buffer.C: remove some very old #if 0'd parse code
7456
7457 2003-02-13  John Levon  <levon@movementarian.org>
7458
7459         * text.h:
7460         * text.C:
7461         * text2.C: move hfillExpansion(), numberOfSeparators(),
7462           rowLast(), rowLastPrintable(), numberofHfills(),
7463           numberOfLabelHfills() ...
7464
7465         * lyxrow.h:
7466         * lyxrow.C: ... to member functions here.
7467
7468         * paragraph.h:
7469         * paragraph.C:
7470         * lyxtext.h:
7471         * text.C: remove LyXText::beginningOfMainBody(), and call
7472           p->beginningOfMainBody() directly. Move the check for
7473           LABEL_MANUAL into the latter.
7474
7475         * text.h:
7476         * text.C:
7477         * text2.C:
7478         * vspace.C:
7479         * BufferView.h:
7480         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7481
7482         * text.h:
7483         * text.C:
7484         * text2.C:
7485         * text3.C:
7486         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7487           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7488
7489 2003-02-13  John Levon  <levon@movementarian.org>
7490
7491         * CutAndPaste.C: remove debug
7492
7493 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7494
7495         * paragraph.C (asString): remove two unused variables
7496
7497         * lyxtextclass.C (readTitleType):
7498           (Read):
7499           (LyXTextClass): handle new members titletype_ and titlename_
7500
7501         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7502
7503 2003-02-09  John Levon  <levon@movementarian.org>
7504
7505         * buffer.h:
7506         * buffer.C: replace hand-coded list with a map for the dep clean
7507
7508 2003-02-08  John Levon  <levon@movementarian.org>
7509
7510         * LaTeX.C: consolidate code into showRunMessage() helper
7511
7512 2003-02-08  John Levon  <levon@movementarian.org>
7513
7514         * lyxfind.C:
7515         * lyxtext.h:
7516         * text2.C:
7517         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7518           and pass the size in explicitly
7519
7520         * BufferView_pimpl.h:
7521         * BufferView_pimpl.C:
7522         * BufferView.h:
7523         * BufferView.C: add getCurrentChange()
7524
7525         * BufferView_pimpl.h:
7526         * BufferView_pimpl.C: handle change lfuns
7527
7528         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7529           for changes. Mark pasted paragraphs as new.
7530
7531         * support/lyxtime.h:
7532         * support/lyxtime.C:
7533         * DepTable.C: abstract time_t as lyx::time_type
7534
7535         * LColor.h:
7536         * LColor.C: add colours for new text, deleted text, changebars
7537
7538         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7539           package use "usenames" option.
7540
7541         * commandtags.h:
7542         * lyxfunc.C:
7543         * LyXAction.C: add change lfuns
7544
7545         * Makefile.am:
7546         * author.h:
7547         * author.C: author handling
7548
7549         * buffer.h:
7550         * buffer.C: add a per-buffer author list, with first entry as
7551           current author. Handle new .lyx tokens for change tracking. Output
7552           author list to .lyx file. Output dvipost stuff to .tex preamble.
7553           Bump lyx format to 222.
7554
7555         * bufferlist.h:
7556         * bufferlist.C: add setCurrentAuthor() to reset current author details
7557           in all buffers.
7558
7559         * bufferparams.h:
7560         * bufferparams.C: add param for tracking
7561
7562         * bufferview_funcs.C: output change info in minibuffer
7563
7564         * Makefile.am:
7565         * changes.h:
7566         * changes.C: add change-tracking structure
7567
7568         * debug.h:
7569         * debug.C: add CHANGES debug flag
7570
7571         * lyxfind.h:
7572         * lyxfind.C: add code for finding the next change piece
7573
7574         * lyxrc.h:
7575         * lyxrc.C: add user_name and user_email
7576
7577         * lyxrow.h:
7578         * lyxrow.C: add a metric for the top of the text line
7579
7580         * lyxtext.h:
7581         * text.C: implement accept/rejectChange()
7582
7583         * lyxtext.h:
7584         * text.C: paint changebars. Paint new/deleted text in the chosen
7585         colours. Strike through deleted text.
7586
7587         * paragraph.h:
7588         * paragraph.C:
7589         * paragraph_pimpl.h:
7590         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7591           in the current change to the insert functions. Rework erase to
7592           mark text as deleted, adding an eraseIntern() and a range-based
7593           erase(). Implement per-paragraph change lookup and
7594           accept/reject.
7595
7596         * paragraph_funcs.C: Fixup paste for change tracking.
7597
7598         * tabular.C: mark added row/columns as new.
7599
7600         * text.C: fix rowLast() to never return -1. Don't allow
7601           spellchecking of deleted text. Track transpose changes. Don't
7602           allow paragraph break or merge where appropriate.
7603
7604         * text2.C: leave cursor at end of selection after a cut.
7605
7606 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7607
7608         * text.C (getLengthMarkerHeight):
7609         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7610         visible on screen too.
7611
7612 2003-02-07  John Levon  <levon@movementarian.org>
7613
7614         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7615
7616 2003-02-05  Angus Leeming  <leeming@lyx.org>
7617
7618         * lyxserver.C (read_ready): revert my patch of 11 September last year
7619         as it sends PC cpu through the roof. Presumably this means that
7620         the lyxserver will no longer run on an Alpha...
7621
7622 2003-01-30  Angus Leeming  <leeming@lyx.org>
7623
7624         * factory.C (createInset): create an InsetCommandParam of type "index"
7625         and use it to 'do the right thing'.
7626
7627         * text2.C (getStringToIndex): ensure that cursor position is always
7628         reset to the reset_cursor position.
7629
7630 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7631
7632         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7633         disabled.
7634
7635 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7636
7637         * bufferview.C:
7638         * lyxcb.C:
7639         * lyxfunc.C: Output messages with identical spelling, punctuation,
7640         and spaces
7641
7642 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7643
7644         * MenuBackend.C (expandFormats): List only viewable export formats
7645         in "View" menu
7646
7647         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7648         message
7649
7650         * lyxfunc.C (getStatus): Make sure that formats other than
7651         "fax" can also be disabled
7652
7653 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7654
7655         * text3.C (dispatch): put the lfuns that insert insets in 3
7656         groups, and call doInsertInset with appropriate arguments.
7657         (doInsertInset): new function, that creates an inset and inserts
7658         it according to some boolean parameters.
7659
7660 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7661
7662         * buffer.C (readFile): remember to pass on 'par' when calling
7663         readFile recursively.
7664
7665 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7666
7667         * MenuBackend.C (expandFormats): add "..." to import formats.
7668
7669 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7670
7671         * paragraph.C (asString): Remove XForms RTL hacks.
7672
7673 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7674         * buffer.C: fix typo
7675
7676 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7677
7678         * Makefile.am (LIBS): delete var
7679         (lyx_LDADD): add @LIBS@ here instead.
7680
7681 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7682
7683         * Clarify the meaning of "wheel mouse jump"
7684
7685 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7686
7687         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7688         tabular in a float
7689
7690 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7691
7692         * importer.C (Loaders): do not preallocate 3 elements in the
7693         vector, since one ends up with 6 elements otherwise
7694
7695 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7696
7697         * DepTable.C (write): write the file name as last element of the
7698         .dep file (because it may contain spaces)
7699         (read): read info in the right order
7700
7701 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7702
7703         * paragraph_pimpl.C (simpleTeXBlanks):
7704         (simpleTeXSpecialChars):
7705         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7706
7707         * tabular.C (latex): add some missing case statements. Reindent.
7708
7709         * MenuBackend.C (expandToc): remove unused variable.
7710
7711 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7712
7713         * LColor.C:
7714         * LaTeX.C:
7715         * LyXAction.C:
7716         * MenuBackend.C:
7717         * buffer.C:
7718         * exporter.C:
7719         * lyxfunc.C:
7720         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7721         and the like.
7722
7723 2003-01-05  John Levon  <levon@movementarian.org>
7724
7725         * BufferView.h:
7726         * BufferView.C: add getEncoding()
7727
7728         * kbsequence.h:
7729         * kbsequence.C: do not store last keypress
7730
7731         * lyxfunc.h:
7732         * lyxfunc.C: store last keypress here instead. Pass encoding
7733           to getISOEncoded()
7734
7735 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7736
7737         * lyx_main.C (init): remove annoying error message when following
7738         symbolic links (bug #780)
7739
7740 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7741
7742         * text.C (insertChar):
7743         * lyxrc.C (getDescription): remove extra spaces
7744
7745 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7746
7747         * lyxrc.C (getDescription): remove extra spaces
7748
7749 2002-12-20  John Levon  <levon@movementarian.org>
7750
7751         * text3.C: hack fix for page up/down across tall rows
7752
7753 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7754
7755         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7756         not been invoked
7757
7758 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7759
7760         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7761         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7762         thesaurus is not compiled in
7763
7764 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7765
7766         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7767
7768 2002-12-16  Angus Leeming  <leeming@lyx.org>
7769
7770         * lyxrc.[Ch]:
7771         * lyx_main.C (init): remove override_x_deadkeys stuff.
7772
7773 2002-12-12  John Levon  <levon@movementarian.org>
7774
7775         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7776           insert. Only remove shift modifier under strict
7777           circumstances.
7778
7779 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7780
7781         * MenuBackend.C (expandToc): fix crash.
7782
7783 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7784
7785         * MenuBackend.C (expandToc): gettext on float names.
7786
7787 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7788
7789         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7790         implement bool empty() [bug 490]
7791
7792 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7793
7794         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7795
7796 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7797
7798         * several files: ws changes
7799
7800 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7801
7802         * text2.C (setCounter): clean up a bit, use boost.format.
7803         (updateCounters): initialize par upon declaration.
7804
7805         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7806         if the layout exists. We do not just store the layout any more.
7807         (SwitchLayoutsBetweenClasses): use boost.format
7808
7809 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7810
7811         * converter.C (convert): if from and to files are the same, use a
7812         temporary files as intermediary
7813
7814 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7815
7816         * commandtags.h:
7817         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7818
7819 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7820
7821         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7822
7823 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7824
7825         * tabular.C (asciiPrintCell): use string(size, char) instead of
7826         explicit loop.
7827
7828         * sgml.C (openTag): fix order of arguments to string constructor
7829         (closeTag): ditto
7830
7831         * lyxfunc.C (dispatch): use boost.format
7832
7833         * lots of files: change "c" -> 'c'
7834
7835 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7836
7837         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7838
7839 2002-11-25  Angus Leeming  <leeming@lyx.org>
7840
7841         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7842
7843         * lyx_main.C (init): compile fix.
7844
7845 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7846
7847         * lyx_cb.C (start): boost.formatify
7848         do not include <iostream>
7849
7850         * lengthcommon.C: ws only
7851
7852         * boost-inst.C,BoostFormat.h: add more explict instantations
7853
7854 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7855
7856         * lots of files: handle USE_BOOST_FORMAT
7857
7858 2002-11-21  John Levon  <levon@movementarian.org>
7859
7860         * pspell.C: fix compile
7861
7862 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7863
7864         * lyxfunc.C (dispatch): use boost::format
7865         (open): ditto
7866         (doImport): ditto
7867
7868         * lyxfont.C (stateText): use boost::format
7869
7870         * lyx_main.C (LyX): use boost::format
7871         (init): ditto
7872         (queryUserLyXDir): ditto
7873         (readRcFile): ditto
7874         (parse_dbg): ditto
7875         (typedef boost::function): use the recommened syntax.
7876
7877         * importer.C (Import): use boost::format
7878
7879         * debug.C (showLevel): use boost::format
7880
7881         * converter.C (view): use boost::format
7882         (convert): ditto
7883         (move): ditto
7884         (scanLog): ditto
7885
7886         * bufferview_funcs.C (currentState): use boost::format
7887
7888         * bufferlist.C (emergencyWrite): use boost::format
7889
7890         * buffer.C (readLyXformat2): use boost::format
7891         (parseSingleLyXformat2Token): ditto
7892
7893         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7894
7895         * LaTeX.C (run): use boost::format
7896
7897         * Chktex.C (scanLogFile): use boost::format
7898
7899         * BufferView_pimpl.C (savePosition): use boost::format
7900         (restorePosition): ditto
7901         (MenuInsertLyXFile): ditto
7902
7903         * BoostFormat.h: help file for explicit instation.
7904
7905 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7906
7907         * tabular.C (latex): Support for block alignment in fixed width
7908         columns.
7909
7910 2002-11-17  John Levon  <levon@movementarian.org>
7911
7912         * BufferView_pimpl.C:
7913         * lyx_cb.C:
7914         * lyxfunc.C: split filedialog into open/save
7915
7916 2002-11-08  Juergen Vigna  <jug@sad.it>
7917
7918         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7919         by my last patch (hopefully).
7920
7921 2002-11-08  John Levon  <levon@movementarian.org>
7922
7923         * iterators.h:
7924         * iterators.C:
7925         * buffer.h:
7926         * buffer.C:
7927         * paragraph.h:
7928         * paragraph.C:
7929         * toc.h:
7930         * toc.C: ParConstIterator, and use it (from Lars)
7931
7932 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7933
7934         * lyxtextclass.[Ch]: revise and add doxygen comments
7935
7936 2002-11-07  John Levon  <levon@movementarian.org>
7937
7938         * text.C: fix progress value for spellchecker
7939
7940         * toc.C: fix navigate menu for insetwrap inside minipage
7941
7942         * paragraph_funcs.C: added FIXME for suspect code
7943
7944 2002-11-07  John Levon  <levon@movementarian.org>
7945
7946         * BufferView_pimpl.C: fix redrawing of insets
7947           on buffer switch
7948
7949 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7950
7951         * text2.C (updateCounters): fix bug 668
7952
7953 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7954
7955         * text3.C (dispatch): Do not make the buffer dirty when moving the
7956         cursor.
7957
7958 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7959
7960         * vc-backend.C: STRCONV
7961         (scanMaster): ditto
7962
7963         * text2.C (setCounter): STRCONV
7964
7965         * paragraph.C (asString): STRCONV
7966
7967         * lyxlength.C (asString): STRCONV
7968         (asLatexString): ditto
7969
7970         * lyxgluelength.C (asString): STRCONV
7971         (asLatexString): ditto
7972
7973         * lyxfunc.C (dispatch): STRCONV
7974         (open): ditto
7975
7976         * lyxfont.C (stateText): STRCONV
7977
7978         * importer.C (Import): STRCONV
7979
7980         * counters.C (labelItem): STRCONV
7981         (numberLabel): ditto
7982         (numberLabel): remove unused ostringstream o
7983
7984         * chset.C: STRCONV
7985         (loadFile): ditto
7986
7987         * bufferview_funcs.C (currentState): STRCONV
7988
7989         * buffer.C (readFile): STRCONV
7990         (asciiParagraph): ditto
7991         (makeLaTeXFile): ditto
7992
7993         * Spacing.C (writeEnvirBegin): STRCONV
7994
7995         * LaTeXFeatures.C (getLanguages): STRCONV
7996         (getPackages): ditto
7997         (getMacros): ditto
7998         (getBabelOptions): ditto
7999         (getTClassPreamble): ditto
8000         (getLyXSGMLEntities): ditto
8001         (getIncludedFiles): ditto
8002
8003         * LaTeX.C: STRCONV
8004         (run): ditto
8005         (scanAuxFile): ditto
8006         (deplog): ditto
8007
8008         * LString.h: add the STRCONV macros
8009
8010         * BufferView_pimpl.C (savePosition): STRCONV
8011         (restorePosition): ditto
8012         (MenuInsertLyXFile): ditto
8013
8014         * vc-backend.C (scanMaster): change from submatch[...] to
8015         submatch.str(...)
8016
8017         * funcrequest.C: include config.h
8018
8019         * factory.C: include config.h
8020
8021         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8022
8023         * box.C: include config.h
8024
8025         * LaTeX.C (scanAuxFile): change from submatch[...] to
8026         submatch.str(...)
8027         (deplog): ditto
8028
8029 2002-10-25  Angus Leeming  <leeming@lyx.org>
8030
8031         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8032
8033         * ispell.[Ch] (setError): new method.
8034         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8035         Use setError() insetead of goto END.
8036
8037         * lyx_cb.C (AutoSave): move out child process into new class
8038         AutoSaveBuffer.
8039
8040 2002-10-30  John Levon  <levon@movementarian.org>
8041
8042         * text3.C: make start appendix undoable
8043
8044 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8045
8046         * lyxlength.C (inPixels): Fix returned value.
8047
8048         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8049         environment.
8050
8051 2002-10-24  Angus Leeming  <leeming@lyx.org>
8052
8053         * lyxgluelength.h: no need to forward declare BufferParams
8054         or BufferView, so don't.
8055
8056 2002-10-21  John Levon  <levon@movementarian.org>
8057
8058         * BufferView.C: menuUndo ->undo, redo
8059
8060         * BufferView.h: document, remove dead, make some methods private
8061
8062         * paragraph_funcs.h:
8063         * paragraph_funcs.C:
8064         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8065
8066         * buffer.h:
8067         * buffer.C:
8068         * sgml.h:
8069         * sgml.C: move sgml open/close tag into sgml.C
8070
8071         * bufferview_funcs.h: unused prototype
8072
8073         * lyxfunc.h:
8074         * lyxfunc.C: remove unused
8075
8076         * lyxtext.h:
8077         * text.C: remove unused
8078
8079 2002-10-21  John Levon  <levon@movementarian.org>
8080
8081         * BufferView.h:
8082         * BufferView.C:
8083         * BufferView_pimpl.h:
8084         * BufferView_pimpl.C: fix mouse wheel handling based on
8085           patch from Darren Freeman
8086
8087 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8088
8089         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8090
8091 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8092
8093         * lyxlength.C (inPixels): Fix hanfling of negative length.
8094         Fix LyXLength::MU case.
8095
8096 2002-10-16  John Levon  <levon@movementarian.org>
8097
8098         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8099
8100 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8101
8102         * converter.C (view): add support for $$i (file name) and $$p
8103         (file path) for the viewer command. If $$i is not specified, then
8104         it is appended to the command (for compatibility with old syntax)
8105
8106 2002-10-14  Juergen Vigna  <jug@sad.it>
8107
8108         * undo_funcs.C (textHandleUndo): alter the order in which the
8109         new undopar is added to the LyXText, as we have to set first
8110         the right prev/next and then add it as otherwise the rebuild of
8111         LyXText is not correct. Also reset the cursor to the right paragraph,
8112         with this IMO we could remove the hack in "redoParagraphs()".
8113
8114 2002-10-09  Angus Leeming  <leeming@lyx.org>
8115
8116         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8117         to turn off an optimisation if a new inset is to be inserted.
8118
8119 2002-10-11 André Pönitz <poenitz@gmx.net>
8120
8121         * lyxtext.h: make some functions public to allow access
8122         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8123
8124 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8125
8126         * text3.C (dispatch): when changing layout, avoid an infinite loop
8127         [bug #652]
8128
8129 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8130
8131         * lyxrc.C (read): treat a viewer or converter command of "none" as
8132         if it were empty.
8133
8134         * MenuBackend.C (expandFormats): for an update, also allow the
8135         formats that are not viewable
8136
8137         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8138         script if it is newer than the lyxrc.defaults in user directory
8139
8140 2002-10-07 André Pönitz <poenitz@gmx.net>
8141
8142         * text.C: Vitaly Lipatov's small i18n fix
8143
8144 2002-09-25  Angus Leeming  <leeming@lyx.org>
8145
8146         * ispell.h: doxygen fix.
8147
8148 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8149
8150         * buffer.h (readFile): Add a new argument to the method, to allow
8151         reading of old-format templates.
8152
8153 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8154
8155         * toc.C (getTocList): Get TOC from InsetWrap.
8156
8157 2002-09-16  John Levon  <levon@movementarian.org>
8158
8159         * lyxfunc.C: check tabular for cut/copy too
8160
8161 2002-09-12  John Levon  <levon@movementarian.org>
8162
8163         * LyXAction.C: tidy
8164
8165         * factory.h:
8166         * factory.C: add header
8167
8168         * paragraph_funcs.h:
8169         * paragraph_funcs.C: cleanup
8170
8171 2002-09-11  John Levon  <levon@movementarian.org>
8172
8173         * PrinterParams.h: odd/even default to true
8174
8175 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8176
8177         * PrinterParams.h: update printer parameters for new xforms dialog
8178
8179 2002-09-11  Angus Leeming  <leeming@lyx.org>
8180
8181         * lyxserver.C (read_ready): re-write to make it more transparent
8182         and to make it work in coherent fashion under Tru64 Unix.
8183
8184 2002-09-11  André Pönitz <poenitz@gmx.net>
8185
8186         * commandtags.h:
8187         * LyXAction.C:
8188         * text3.C: implement LFUN_WORDSEL
8189
8190 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8191
8192         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8193         make floatlist_ a boost::shared_ptr<FloatList>
8194
8195         * lyxtextclass.C: include FloatList.h
8196         (LyXTextClass): initialize floatlist_
8197         (TextClassTags): add TC_NOFLOAT
8198         (Read): match "nofloat" to TC_NOFLOAT and use it.
8199         (readFloat): modify call to floatlist_
8200         (floats): ditto
8201         (floats): ditto
8202
8203         * FloatList.[Ch] (FloatList): remove commented out float
8204         initialization.
8205         (erase): new function
8206
8207 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8208
8209         * MenuBackend.C (expandToc): fix crash when there is no document
8210         open
8211
8212 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8213
8214         * many files: Add insetwrap.
8215
8216 2002-09-09  John Levon  <levon@movementarian.org>
8217
8218         * text2.C: remove confusing and awkward depth wraparound
8219
8220 2002-09-09  John Levon  <levon@movementarian.org>
8221
8222         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8223
8224         * buffer.h:
8225         * buffer.C: remove getIncludeonlyList()
8226
8227         * paragraph.C:
8228         * lyxfunc.C: remove headers
8229
8230 2002-09-09  Juergen Vigna  <jug@sad.it>
8231
8232         * text.C (getColumnNearX): fix form Michael this is most
8233         probably a cut&paste bug.
8234
8235 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8236
8237         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8238
8239         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8240         references, ws changes.
8241
8242         * text2.C (init): update counters after init
8243         (insertParagraph): no need to set counter on idividual paragraphs.
8244         (setCounter): access the counters object in the textclass object
8245         on in the buffer object.
8246         (updateCounters): ditto
8247
8248         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8249         shared_ptr<Counters> to avoid loading counters.h in all
8250         compilation units.
8251         (LyXTextClass): initialize ctrs_
8252         (TextClassTags): add TC_COUNTER, and ...
8253         (Read): use it here.
8254         (CounterTags): new tags
8255         (readCounter): new function
8256         (counters): new funtion
8257         (defaultLayoutName): return a const reference
8258
8259         * counters.C (Counters): remove contructor
8260         (newCounter): remove a couple of unneeded statements.
8261         (newCounter): simplify a bit.
8262         (numberLabel): some small formatting changes.
8263
8264         * buffer.[Ch]: remove all traces of counters, move the Counters
8265         object to the LyXTextClass.
8266
8267 2002-09-06  Alain Castera  <castera@in2p3.fr>
8268
8269         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8270         package to set the horizontal alignment on fixed width columns.
8271
8272         * lyx_sty.C:
8273         * lyx_sty.h: added tabularnewline macro def.
8274
8275         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8276
8277 2002-09-06  John Levon  <levon@movementarian.org>
8278
8279         * LyXAction.C: tooltips for sub/superscript
8280
8281         * MenuBackend.C: a bit more verbose
8282
8283         * lyxfunc.C: tiny clean
8284
8285         * undo_funcs.C: document undo_frozen
8286
8287 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8288
8289         * counters.C (Counters): add missing algorithm counter.
8290
8291         * text2.C (setCounter): lookup the counter with layouts latexname
8292         instead of by section number.
8293         (setCounter): use a hackish way to lookup the correct enum
8294         counter.
8295         a float name->type change
8296         reset enum couners with counter name directly instead of depth value.
8297
8298         * counters.C (Counters): remove the push_backs, change to use the
8299         float type not the float name.
8300         (labelItem): remove unused string, float name->type change
8301
8302         * counters.h: don't include vector, loose the enums and sects vectors
8303
8304 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8305
8306         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8307         (Read): add float->TC_FLOAT to textclassTags
8308         (Read): and handle it in the switch
8309         (readFloat): new function
8310
8311         * FloatList.C (FloatList): comment out the hardcoded float
8312         definitions.
8313
8314         * lyxlayout.h: ws change.
8315
8316 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8317
8318         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8319
8320 2002-09-03  Angus Leeming  <leeming@lyx.org>
8321
8322         * BufferView_pimpl.h: qualified name is not allowed in member
8323         declaration: WorkArea & Pimpl::workarea() const;
8324
8325         * factory.C: added using std::endl directive.
8326
8327         * text3.C: added using std::find and std::vector directives.
8328
8329 2002-08-29  André Pönitz <poenitz@gmx.net>
8330
8331         * lyxtext.h:
8332         * text2.C: remove unused member number_of_rows
8333
8334         * Makefile.am:
8335         * BufferView2.C: remove file, move contents to...
8336         * BufferView.C: ... here
8337
8338         * BufferView_pimpl.C:
8339         * factory.C: move more inset creation to factory
8340
8341         * vspace.C: avoid direct usage of LyXText, ws changes
8342
8343         * BufferView.[Ch]:
8344                 don't provide direct access to WorkArea, use two simple
8345                 acessors haveSelction() and workHeight() instead
8346
8347
8348 2002-08-29  John Levon  <levon@movementarian.org>
8349
8350         * BufferView_pimpl.C (dispatch): do not continue when
8351           no buffer
8352
8353 2002-08-28  André Pönitz <poenitz@gmx.net>
8354
8355         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8356
8357         * BufferView.h:
8358         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8359
8360 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8361
8362         * buffer.C: increment LYX_FORMAT to 221
8363
8364         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8365         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8366
8367         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8368
8369         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8370
8371 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8372
8373         * factory.C (createInset): use LyXTextClass::floats
8374
8375         * MenuBackend.C (expandFloatListInsert):
8376         (expandFloatInsert):
8377         (expandToc):
8378
8379         * text2.C (setCounter):
8380
8381         * LaTeXFeatures.C (useFloat):
8382         (getFloatDefinitions):
8383
8384         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8385
8386         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8387         floatlist_, with accessor floats().
8388
8389         * FloatList.h: remove global FloatList
8390
8391 2002-08-26  André Pönitz <poenitz@gmx.net>
8392
8393         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8394
8395         * BufferView.h:
8396         * BufferView2.C:
8397         * BufferView_pimpl.C:
8398         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8399
8400 2002-08-25  John Levon  <levon@movementarian.org>
8401
8402         * LyXAction.C: fix margin note description
8403
8404 2002-08-24  John Levon  <levon@movementarian.org>
8405
8406         * buffer.C:
8407         * bufferlist.C:
8408         * bufferview_funcs.C:
8409         * lyxfont.C:
8410         * undo_funcs.C: cleanups
8411
8412         * lyxfunc.C: disable CUT/COPY when no selection
8413
8414 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8415
8416         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8417         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8418
8419         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8420         Add backward compatibility to "mono", "gray" and "no".
8421
8422 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8423
8424         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8425         (and file_format >= 200).
8426
8427 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8428
8429         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8430
8431 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8432
8433         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8434
8435 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8436
8437         * BufferView_pimpl.C:
8438         * LyXAction.C:
8439         * buffer.C:
8440         * commandtags.h:
8441         * lyxfunc.C:
8442         * paragraph.[Ch]:
8443         * text2.C:
8444         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8445         inset and code to make it  work with the paragraph code. The inset
8446         can be anywhere in the paragraph, but will only do the expected
8447         thing in LaTeX if the layout file contains the parameter line
8448                         OptionalArgs    1
8449         (or more generally, a nonzero value) for that layout.
8450
8451 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8452
8453         * paragraph.h: remove the declaration of undefined counters class
8454         function.
8455
8456 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8457
8458         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8459         Dr. Richard Hawkins.
8460
8461 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8462
8463         * paragraph_funcs.h: remove some unneeded includes
8464
8465         * text.C (backspace): pasteParagraph now in global scipe
8466
8467         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8468         (pasteSelection): ditto
8469
8470         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8471         * paragraph_funcs.C (pasteParagraph): ... here
8472
8473 2002-08-20  André Pönitz <poenitz@gmx.net>
8474
8475         * commandtags.h: new LFUNs for swapping/copying table row/colums
8476
8477         * LyXAction.C:
8478         * lyxfunc.C: support for new lfuns
8479
8480 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8481
8482         * tabular.C:
8483         * buffer.[Ch]: remove NO_COMPABILITY stuff
8484
8485 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8486
8487         * boost.C (throw_exception): new file, with helper function for
8488         boost compiled without exceptions.
8489
8490         * paragraph.h:
8491         * lyxlength.C:
8492         * buffer.C:
8493         * ParameterStruct.h:
8494         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8495
8496         * bufferlist.C (emergencyWriteAll): use boost bind
8497
8498         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8499
8500         * text.C: include paragraph_funcs.h
8501         (breakParagraph): breakParagraph is now in global scope
8502
8503         * paragraph_funcs.[Ch]: new files
8504
8505         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8506         global scope
8507
8508         * buffer.C: include paragraph_funcs.h
8509         (insertStringAsLines): breakParagraph is now in global scope
8510
8511         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8512         paragraph_funcs.C
8513
8514         * CutAndPaste.C: include paragraph_funcs.h
8515         (cutSelection): breakParagraphConservative is now in global scope
8516         (pasteSelection): ditto
8517
8518         * buffer.h: declare oprator== and operator!= for
8519         Buffer::inset_iterator
8520
8521         * bufferlist.C (emergencyWrite): don't use fmt(...)
8522
8523         * text3.C: add using std::endl
8524
8525         * BufferView.C (moveCursorUpdate): remove default arg
8526
8527 2002-08-20  André Pönitz <poenitz@gmx.net>
8528
8529         * buffer.[Ch]: move inline functions to .C
8530
8531         * BufferView2.C:
8532         * BufferView_pimpl.C:
8533         * text.C:
8534         * buffer.[Ch]: use improved inset_iterator
8535
8536         * buffer.C:
8537         * paragraph.[Ch]: write one paragraph at a time
8538
8539 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8540
8541         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8542         style if style is not specified.
8543
8544 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8545
8546         * text2.C (setCounter): when searching for right label for a
8547         caption, make sure to recurse to parent insets (so that a caption
8548         in a minipage in a figure float works) (bug #568)
8549
8550 2002-08-20  André Pönitz <poenitz@gmx.net>
8551
8552         * text3.C: new file for LyXText::dispatch() and helpers
8553
8554         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8555
8556         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8557
8558 2002-08-19  André Pönitz <poenitz@gmx.net>
8559
8560         * lyxtext.h:
8561         * text.C: new LyXText::dispatch()
8562
8563         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8564
8565 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8566
8567         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8568
8569         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8570         Hebrew text.
8571
8572 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8573
8574         * Makefile.am: use $(variables) instead of @substitutions@
8575
8576 2002-08-15  André Pönitz <poenitz@gmx.net>
8577
8578         * lyxfunc.C:
8579         * BufferView_pimpl.C: streamlining mathed <-> outer world
8580         interaction
8581
8582         * commandtags.h:
8583         * LyXAction.C: remove unused LFUN_MATH
8584
8585 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8586
8587         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8588
8589 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8590
8591         * paragraph.C (Paragraph): reformat a bit
8592         (cutIntoMinibuffer): use builtin InsetList function instad of
8593         doing it manually.
8594         (getInset): ditto
8595
8596         * buffer.C: include boost/bind.hpp, add using std::for_each
8597         (writeFileAscii): use ParagraphList iterators
8598         (validate): use for_each for validate traversal of paragraphs
8599         (getBibkeyList): use ParagraphList iterators
8600         (resizeInsets): use for_each to resizeInsetsLyXText for all
8601         paragraphs.
8602         (getParFromID): use ParagraphList iterators
8603
8604         * BufferView2.C (lockInset): use paragraph list and iterators
8605
8606 2002-08-14  John Levon  <levon@movementarian.org>
8607
8608         * lyxserver.C: remove spurious xforms include
8609
8610 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8611
8612         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8613
8614 2002-08-13  André Pönitz <poenitz@gmx.net>
8615
8616         * LyXAction.[Ch]:
8617         * lyxfunc.C: further cleaning
8618
8619 2002-08-13  André Pönitz <poenitz@gmx.net>
8620
8621         * funcrequest.h: new constructor
8622
8623         * funcrequest.C: move stuff here from .h
8624
8625         * Makefile.am:
8626         * BufferView_pimpl.C:
8627         * LyXAction.C:
8628         * toc.C:
8629         * lyxfunc.C: subsequent changes
8630
8631         * lyxfunc.h: new view() member function
8632
8633         * lyxfunc.C: subsequent changes
8634
8635 2002-08-13  Angus Leeming  <leeming@lyx.org>
8636
8637         * BufferView2.C:
8638         * BufferView_pimpl.C:
8639         * buffer.C:
8640         * converter.C:
8641         * importer.C:
8642         * lyxfunc.C:
8643         * lyxvc.C:
8644         * toc.C:
8645         * vc-backend.C:
8646         changes due to the changed LyXView interface that now returns references
8647         to member variables not pointers.
8648
8649 2002-08-13  Angus Leeming  <leeming@lyx.org>
8650
8651         * WordLangTuple (word, lang_code): return references to strings,
8652         not strings.
8653
8654         * BufferView.h:
8655         * SpellBase.h:
8656         * lyxtext.h: forward-declare WordLangTuple.
8657
8658         * BufferView2.C:
8659         * ispell.C:
8660         * pspell.C:
8661         * text.C: #include "WordLangTuple.h".
8662
8663         * lyxtext.h:
8664         * text.C: (selectNextWordToSpellcheck): constify return type.
8665
8666 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8667
8668         * buffer.C:
8669         * buffer.h:
8670         * lyxtext.h:
8671         * paragraph.C:
8672         * paragraph_pimpl.h:
8673         * text.C:
8674         * text2.C:
8675         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8676         suggested by Angus.
8677         Made updateCounter always count from start of buffer, and removed
8678         second argument (par).
8679         Reverted floats number display to '#'. Perhaps I'll try again when the
8680         code base is sanitized a bit.
8681
8682 2002-08-12  Angus Leeming  <leeming@lyx.org>
8683
8684         * buffer.[Ch] (getLabelList): constify.
8685
8686 2002-08-07  André Pönitz <poenitz@gmx.net>
8687
8688         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8689
8690         * funcrequest.h: extension to keep mouse (x,y) position
8691
8692 2002-08-12  Juergen Vigna  <jug@sad.it>
8693
8694         * BufferView2.C (insertErrors): forbid undo when inserting error
8695         insets.
8696
8697         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8698
8699 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8700
8701         * ParagraphList.[Ch]: new files
8702
8703         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8704
8705         * BufferView2.C (lockInset): ParagraphList changes
8706         * toc.C: ditto
8707         * text2.C: ditto
8708         * bufferlist.C: ditto
8709         * buffer.h: ditto
8710         * buffer.C: ditto
8711
8712 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8713
8714         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8715         unused class variable counter_,
8716
8717         * paragraph.[Ch] (getFirstCounter): delete unused function
8718
8719         * counters.C: include LAssert.h
8720         (reset): add a new function with no arg, change other version to
8721         not have def. arg and to not allow empty arg.
8722
8723         * text2.C (setCounter): remove empty arg from call to Counters::reset
8724
8725 2002-08-11  John Levon  <levon@movementarian.org>
8726
8727         * Makefile.am: add WordLangTuple.h
8728
8729 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8730
8731         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8732         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8733
8734         * insets/insettext.C: InsetList changes
8735
8736         * graphics/GraphicsSupport.C (operator()): InsetList changes
8737
8738         * toc.C (getTocList): InsetList changes
8739
8740         * paragraph_pimpl.[Ch]: InsetList changes
8741
8742         * paragraph.[Ch]: InsetList changes
8743
8744         * buffer.C (inset_iterator): InsetList changes
8745         (setParagraph): ditto
8746         * buffer.h (inset_iterator): ditto
8747         * iterators.C (operator++): ditto
8748         * iterators.h: ditto
8749
8750         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8751
8752         * InsetList.[Ch]: new files, most InsetList handling moved out of
8753         paragraph.C.
8754
8755         * BufferView2.C (removeAutoInsets): InsetList changes
8756         (lockInset): ditto
8757         (ChangeInsets): ditto
8758
8759 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8760
8761         * paragraph_pimpl.h (empty): new function
8762
8763         * paragraph.[Ch] (empty): new function
8764
8765         * other files: use the new Paragraph::empty function
8766
8767 2002-08-09  John Levon  <levon@movementarian.org>
8768
8769         * lyxtext.h: remove unused refresh_height
8770
8771 2002-08-09  John Levon  <levon@movementarian.org>
8772
8773         * Makefile.am:
8774         * sgml.h:
8775         * sgml.C:
8776         * buffer.C:
8777         * paragraph.h:
8778         * paragraph.C: move sgml char escaping out of paragraph
8779
8780         * paragraph.h:
8781         * paragraph.C: remove id setter
8782
8783         * buffer.C:
8784         * paragraph.C:
8785         * paragraph_pimpl.C: remove dead tex_code_break_column
8786
8787         * bufferview_funcs.C: small cleanup
8788
8789         * lyxfunc.C: remove dead proto
8790
8791         * lyxtext.h: make some stuff private. Remove some dead stuff.
8792
8793         * lyxgluelength.C: make as[LyX]String() readable
8794
8795 2002-08-08  John Levon  <levon@movementarian.org>
8796
8797         * LyXAction.h:
8798         * LyXAction.C:
8799         * MenuBackend.C:
8800         * ToolbarDefaults.C:
8801         * lyxfunc.C:
8802         * lyxrc.C:
8803         * toc.C: lyxaction cleanup
8804
8805 2002-08-08  John Levon  <levon@movementarian.org>
8806
8807         * BufferView2.C: small cleanup
8808
8809         * lyxfind.h:
8810         * lyxfind.C: move unnecessary header into the .C
8811
8812 2002-08-08  John Levon  <levon@movementarian.org>
8813
8814         * funcrequest.h: just tedious nonsense
8815
8816         * lyx_main.h:
8817         * lyx_main.C: cleanups
8818
8819         * buffer.C:
8820         * vspace.C: remove dead header lyx_main.h
8821
8822 2002-08-07  Angus Leeming  <leeming@lyx.org>
8823
8824         * Paragraph.[Ch]:
8825         * paragraph_pimpl.h:
8826         Forward declare class Counters in paragraph.h by moving the ctrs member
8827         variable into Paragraph::Pimpl.
8828         (counters): new method, returning a reference to pimpl_->ctrs.
8829
8830         * text2.C: ensuing changes.
8831
8832 2002-08-07  John Levon  <levon@movementarian.org>
8833
8834         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8835
8836         * BufferView_pimpl.C: announce X selection on double/triple
8837           click
8838
8839         * lyx_main.C: use correct bool in batch dispatch
8840
8841         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8842
8843 2002-08-07  André Pönitz <poenitz@gmx.net>
8844
8845         * funcrequest.h: new class to wrap a kb_action and its argument
8846
8847         * BufferView.[Ch]:
8848         * BufferView_pimpl[Ch]:
8849         * LaTeX.C:
8850         * LyXAction.[Ch]:
8851         * lyxfunc.[Ch]:
8852         * lyxrc.C: subsequent changes
8853
8854
8855 2002-08-07  John Levon  <levon@movementarian.org>
8856
8857         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8858           document options change.
8859
8860 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8861
8862         * counters.[Ch]
8863         * text2.C
8864         * paragraph.[Ch]
8865         * makefile.am: move counters functionality over from
8866         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8867
8868 2002-08-06  John Levon  <levon@movementarian.org>
8869
8870         * WordLangTuple.h: new file for word + language code tuple
8871
8872         * SpellBase.h:
8873         * pspell.h:
8874         * pspell.C:
8875         * ispell.h:
8876         * ispell.C:
8877         * lyxtext.h:
8878         * text.C:
8879         * text2.C:
8880         * BufferView.h:
8881         * BufferView2.C: use WordLangTuple
8882
8883         * layout.h:
8884         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8885
8886 2002-08-06  John Levon  <levon@movementarian.org>
8887
8888         * lyx_main.C: fix cmdline batch handling
8889
8890 2002-08-06  André Pönitz <poenitz@gmx.net>
8891
8892         * lyxrc.C: set default for show_banner to true
8893
8894 2002-08-06  John Levon  <levon@movementarian.org>
8895
8896         * pspell.C: fix a crash, and allow new aspell to work
8897
8898 2002-08-06  John Levon  <levon@movementarian.org>
8899
8900         * lyxfunc.C:
8901         * kbmap.C: small cleanup
8902
8903         * vspace.h:
8904         * vspace.C: add const
8905
8906 2002-08-05  John Levon  <levon@movementarian.org>
8907
8908         * LyXAction.C: back to tabular-insert
8909
8910 2002-08-04  John Levon  <levon@movementarian.org>
8911
8912         * BufferView.h:
8913         * BufferView.C: cosmetic change
8914
8915         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8916
8917         * bufferlist.C:
8918         * buffer.h:
8919         * buffer.C:
8920         * lyxcb.h:
8921         * lyxcb.C:
8922         * lyxserver.C:
8923         * lyxvc.C:
8924         * vc-backend.C:
8925         * BufferView2.C: purge all "Lyx" not "LyX" strings
8926
8927         * lyxcursor.h:
8928         * lyxcursor.C: attempt to add some documentation
8929
8930         * lyxfunc.C:
8931         * commandtags.h:
8932         * LyXAction.C:
8933         * ToolbarDefaults.C:
8934         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8935           merge with LFUN_TABULAR_INSERT
8936
8937         * Makefile.am:
8938         * SpellBase.h:
8939         * ispell.h:
8940         * ispell.C:
8941         * pspell.h:
8942         * pspell.C: split up i/pspell implementations into separate
8943           files, many cleanups
8944
8945         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8946
8947         * text2.C: some cleanup
8948
8949         * lyxfunc.C: don't check for isp_command == "none" any more, it
8950           didn't make any sense
8951
8952 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8953
8954         * counters.[Ch]
8955         * text2.C
8956         * paragraph.[Ch]
8957         * makefile.am: move counters functionality over
8958         from text2.C/paragraph.[Ch] to counters.[Ch], and
8959         make proper C++.
8960 2002-08-02  John Levon  <levon@movementarian.org>
8961
8962         * buffer.C: s/lyxconvert/lyx2lyx/
8963
8964 2002-08-02  Angus Leeming  <leeming@lyx.org>
8965
8966         * lyxlex.C: revert John's change as it breaks reading of the user
8967         preamble.
8968
8969 2002-08-02  Angus Leeming  <leeming@lyx.org>
8970
8971         * importer.C (Import):
8972         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8973         changes due to LyXView::view() now returning a boost::shared_ptr.
8974
8975 2002-08-02  John Levon  <levon@movementarian.org>
8976
8977         * lyxlex.C: small cleanup
8978
8979 2002-08-02  John Levon  <levon@movementarian.org>
8980
8981         * text2.C (status): small cleanup, no logic change
8982
8983 2002-08-01  John Levon  <levon@movementarian.org>
8984
8985         * buffer.h:
8986         * buffer.C (writeFile): don't output alerts, caller
8987           handles this
8988
8989         * bufferlist.C:
8990         * lyx_cb.C: from above
8991
8992         * lyxfunc.C: allow to open non-existent files
8993
8994 2002-07-31  John Levon  <levon@movementarian.org>
8995
8996         * lyxserver.C: don't let incidental errors get
8997           in the way (errno)
8998
8999 2002-07-30  John Levon  <levon@movementarian.org>
9000
9001         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9002
9003 2002-07-30  John Levon  <levon@movementarian.org>
9004
9005         * lyxserver.h:
9006         * lyxserver.C: remove I/O callback too
9007
9008 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9009
9010         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9011         log.
9012
9013 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9014
9015         * many files: strip,frontStrip -> trim,ltrim,rtrim
9016
9017 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9018
9019         * PrinterParams.h: remove extern containsOnly, and include
9020         support/lstrings.h instead.
9021
9022         * LaTeX.C (scanAuxFile): modify because of strip changes
9023         (deplog): ditto
9024         * buffer.C (makeLaTeXFile): ditto
9025         * bufferparams.C (writeFile): ditt
9026         * lyxfont.C (stateText): ditto
9027         * lyxserver.C (read_ready): ditto
9028         * vc-backend.C (scanMaster): ditto
9029
9030         * BufferView_pimpl.h: ws changes
9031
9032         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9033
9034 2002-07-26  André Pönitz <poenitz@gmx.net>
9035
9036         * kb_sequence.C: remove unnedred usings
9037
9038 2002-07-26  Juergen Vigna  <jug@sad.it>
9039
9040         * lyxfind.C (LyXReplace): we have to check better if the returned
9041         text is not of theLockingInset()->getLockingInset().
9042
9043 2002-07-25  Juergen Vigna  <jug@sad.it>
9044
9045         * lyxfind.C (LyXReplace): don't replace if we don't get the
9046         right LyXText.
9047
9048         * undo_funcs.C (createUndo): remove debugging code.
9049
9050 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9051
9052         * buffer.C (parseSingleLyXformat2Token): Use default placement
9053         when reading old floats.
9054
9055         * FloatList.C (FloatList): Change the default placement of figure
9056         and tables to "tbp".
9057
9058 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9059
9060         * MenuBackend.C: using std::max
9061
9062 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9063
9064         * MenuBackend.C (expandToc):
9065         (expandToc2): code moved from xforms menu frontend. It is now
9066         generic and TOCs are transparent to menu frontends.
9067
9068 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9069
9070         * toc.C (getTocList): protect against buf=0
9071
9072         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9073         Menu as first parameter. Now, this calls itself recursively to
9074         expand a whole tree (this will be useful for TOC handling)
9075         (expandFloatInsert): remove 'wide' version of floats
9076
9077         * MenuBackend.h (submenuname): returns the name of the submenu.
9078         (submenu): returns the submenu itself, provided it has been
9079         created by MenuBackend::expand
9080
9081 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9082
9083         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9084         insets which have noFontChange == true. (bug #172)
9085
9086 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9087
9088         * BufferView_pimpl.C: add connection objects and use them...
9089         (Pimpl): here.
9090
9091 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9092
9093         * MenuBackend.C (expandLastfiles):
9094         (expandDocuments):
9095         (expandFormats):
9096         (expandFloatListInsert):
9097         (expandFloatInsert):
9098         (expand): split expand in parts
9099
9100 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9101
9102         * lyx_gui.C: use lyx_gui::exit()
9103
9104 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9105
9106         * LyXAction.C: show the failing pseudo action
9107
9108 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9109
9110         * buffer.C (readFile): Run the lyxconvert script in order to read
9111         old files.
9112
9113 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9114
9115         * LyXAction.C:
9116         * commandtags.h:
9117         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9118
9119 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9120
9121         * LyXAction.C:
9122         * commandtags.h:
9123         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9124
9125 2002-07-22  Herbert Voss  <voss@lyx.org>
9126
9127         * lengthcommon.C:
9128         * lyxlength.[Ch]: add support for the vertical lengths
9129
9130 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9131
9132         * toc.[Ch]: std:: fixes
9133
9134 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9135
9136         * lyxrc.C: do not include lyx_main.h
9137
9138         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9139         for layouts
9140
9141         * lyxrc.C:
9142         * encoding.C:
9143         * bufferlist.C:
9144         * BufferView2.C: include "lyxlex.h"
9145
9146         * tabular.h:
9147         * bufferparams.h: do not #include "lyxlex.h"
9148
9149         * lyxtextclasslist.C (Add): remove method
9150         (classlist): renamed to classlist_
9151
9152         * paragraph_pimpl.C:
9153         * paragraph.C:
9154         * text2.C:
9155         * CutAndPaste.C:
9156         * bufferview_funcs.C:
9157         * bufferlist.C:
9158         * text.C:
9159         * LaTeXFeatures.C:
9160         * buffer.C:
9161         * toc.C (getTocList): use BufferParams::getLyXTextClass
9162
9163         * toc.C (getTocList): use InsetFloat::addToToc
9164
9165         * toc.[Ch]: new files, containing helper functions to handle table
9166         of contents
9167
9168         * lyxfunc.C (dispatch): no need to remove spaces around command
9169         given as a string
9170         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9171         first command of the sequence; it is not very clever, but I do not
9172         have a better idea, actually
9173
9174         * LyXAction.C (LookupFunc): make sure to remove space at the
9175         beginning and end of the command
9176
9177 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9178
9179         * MenuBackend.C (getMenubar): new method: return the menubar of
9180         this menu set
9181         (read): treat differently reading of menu and menubar (in
9182         particular, the menubar has no name now)
9183         (Menu::menubar): remove
9184
9185         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9186         saving is finished
9187
9188 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9189
9190         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9191         a bibitem inset in a RTL paragraph.
9192
9193 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9194
9195         * paragraph_pimpl.C: constify
9196
9197         * BufferView_pimpl.C:
9198         * LaTeX.C:
9199         * lyxfunc.C: fix dispatch in a nicer way
9200
9201 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9202
9203         * lyxfunc.C (dispatch):
9204         * BufferView_pimpl.C:
9205         * BufferView_pimpl.h:
9206         * BufferView.C:
9207         * BufferView.h: rename Dispatch() to dispatch()
9208
9209         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9210
9211         * lyxlayout.C (Read): honor DependsOn tag
9212
9213         * lyxlayout.[Ch] (depends_on): new method
9214
9215         * version.C.in: update lyx_docversion
9216
9217         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9218
9219         * paragraph.C (validate): remove from here...
9220         * paragraph_pimpl.C (validate): ... and move here
9221         (isTextAt): make it const
9222
9223         * buffer.C (getLists): ws cleanup
9224
9225 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9226
9227         * language.C (read): Use iso8859-1 encoding in latex_lang
9228         (this prevents LyX from crashing when using iso10646-1 encoding).
9229
9230 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9231
9232         * text2.C (toggleInset): if cursor is inside an inset, close the
9233         inset and leave cursor _after_ it
9234
9235 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9236
9237         * lyxfunc.C: move minibuffer completion handling out of here
9238
9239 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9240
9241         * BufferView_pimpl.C:
9242         * LaTeX.C: fix dispatch calls
9243
9244 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9245
9246         * text.C (drawChars): Fix Arabic text rendering.
9247
9248 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9249
9250         * LyXAction.C:
9251         * commandtags.h:
9252         * lyxfunc.C: remove message-push/pop
9253
9254         * lyxserver.C:
9255         * lyxfunc.h:
9256         * lyxfunc.C: rationalise some code by removing verboseDispatch
9257           in favour of a bool argument to dispatch()
9258
9259 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9260
9261         * lyx_main.C (init): make sure to read symlinks as absolute paths
9262
9263 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9264
9265         * lyxfunc.h:
9266         * lyxfunc.C: no need for commandshortcut to be a member
9267
9268 2002-07-15  André Pönitz <poenitz@gmx.net>
9269
9270         * converter.C: add support for $$s (scripts from lib/scripts dir)
9271         * lyx_main.C: white space
9272
9273 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9274
9275         * bufferlist.C:
9276         * lyxrc.h:
9277         * lyxrc.C: remove second exit confirmation
9278
9279 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9280
9281         * BufferView.h:
9282         * BufferView.C:
9283         * BufferView2.C:
9284         * BufferView_pimpl.h:
9285         * BufferView_pimpl.C:
9286         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9287
9288 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9289
9290         * MenuBackend.C (expand): add numeric shortcuts to document menu
9291
9292         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9293
9294 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9295
9296         * lyxfont.C (setLyXFamily):
9297         (setLyXSeries):
9298         (setLyXShape):
9299         (setLyXSize):
9300         (setLyXMisc):
9301         (lyxRead):
9302         * debug.C (value):
9303         * buffer.C (asciiParagraph): use ascii_lowercase
9304
9305 2002-07-15  Mike Fabian  <mfabian@suse.de>
9306
9307         * lyxlex_pimpl.C (search_kw):
9308         * lyxlex.C (getLongString):
9309         * converter.h (operator<):
9310         * converter.C (operator<):
9311         * buffer.C (parseSingleLyXformat2Token):
9312         (asciiParagraph):
9313         * ToolbarDefaults.C (read):
9314         * MenuBackend.C (checkShortcuts):
9315         (read):
9316         * LColor.C (getFromGUIName):
9317         (getFromLyXName): use the compare_ascii_no_case instead of
9318         compare_no_case, because in turkish, 'i' is not the lowercase
9319         version of 'I', and thus turkish locale breaks parsing of tags.
9320
9321 2002-07-16  Angus Leeming  <leeming@lyx.org>
9322
9323         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9324         now takes a Buffer const & argument.
9325
9326 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9327
9328         * BufferView.C (resize): check there's a buffer to resize
9329
9330 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9331
9332         * lyxfunc.C: remove dead code
9333
9334         * lyxserver.h:
9335         * lyxserver.C: use lyx_guii::set_read_callback
9336
9337 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9338
9339         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9340         an inset in a RTL paragraph.
9341
9342 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9343
9344         * lyxfunc.C: repaint after a font size update
9345
9346 2002-07-15  André Pönitz <poenitz@gmx.net>
9347
9348         * lyxlength.C: inBP should be able to return negative values
9349
9350 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9351
9352         * lyxfunc.C: use lyx_gui::update_fonts()
9353
9354 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9355
9356         * lyxfunc.C: use lyx_gui::update_color()
9357
9358 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9359
9360         * bufferlist.C:
9361         * lyxfunc.h:
9362         * lyxfunc.C:
9363         * lyxrc.h:
9364         * lyxrc.C: remove file->new asks for name option, and let
9365           buffer-new take an argument
9366
9367 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9368
9369         * BufferView_pimpl.C: remove unneeded extra repaint()
9370
9371 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9372
9373         * LyXAction.C: allow command-sequence with NoBuffer
9374
9375         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9376
9377 2002-07-10  Angus Leeming  <leeming@lyx.org>
9378
9379         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9380
9381 2002-07-09  Angus Leeming  <leeming@lyx.org>
9382
9383         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9384
9385 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9386
9387         * lengthcommon.h: whitespace
9388
9389         * lyxfunc.C: update scrollbar after goto paragraph
9390
9391         * lyxtext.h: factor out page break drawing, and fix it so
9392           page break/added space paints as selected nicely
9393
9394 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9395
9396         * BufferView_pimpl.C: add FIXMEs, clean up a little
9397
9398 2002-07-09  André Pönitz <poenitz@gmx.net>
9399
9400         * lyxfont.[Ch]: support for wasy symbols
9401
9402 2002-07-08  André Pönitz <poenitz@gmx.net>
9403
9404         * BufferView_pimpl.C: apply John's patch for #93.
9405
9406 2002-07-05  Angus Leeming  <leeming@lyx.org>
9407
9408         * BufferView_pimpl.C (buffer): generate previews if desired.
9409
9410         * LColor.h: add "preview" to the color enum.
9411
9412         * LColor.C (LColor): add a corresponding entry to the items array.
9413
9414         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9415         with this buffer.
9416
9417 2002-07-05  Angus Leeming  <leeming@lyx.org>
9418
9419         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9420         The body of the code is now in the method that is passed an ostream &
9421         rather than a file name.
9422         Pass an additional only_preamble parameter, useful for the forthcoming
9423         preview stuff.
9424
9425 2002-07-03  André Pönitz <poenitz@gmx.net>
9426
9427         * lyxfunc.C: simplify getStatus() a bit for math stuff
9428
9429 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9430
9431         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9432
9433 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9434
9435         * text.C (changeRegionCase): do not change case of all the
9436         document when region ends at paragraph end (bug #461)
9437
9438 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9439
9440         * paragraph.C (startTeXParParams):
9441         (endTeXParParams): add \protect when necessary
9442
9443 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9444
9445         * BufferView_pimpl.C (workAreaExpose): remove warning
9446
9447 2002-06-27  Angus Leeming  <leeming@lyx.org>
9448
9449         * Makefile.am: add lyxlayout_ptr_fwd.h.
9450
9451 2002-06-26  André Pönitz <poenitz@gmx.net>
9452
9453         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9454
9455 2002-06-25  Angus Leeming  <leeming@lyx.org>
9456
9457         * lyxfunc.C (dispatch): Comment out the call to
9458         grfx::GCache::changeDisplay. The method no longer exists now that the
9459         pixmap generation part of the graphics loader has been moved into
9460         InsetGraphics.
9461
9462 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9463
9464         * text2.C: layout as layout
9465
9466         * text.C: layout as layout
9467
9468         * tabular.C (OldFormatRead): layout as layout
9469
9470         * paragraph_pimpl.C (TeXDeeper): layout as layout
9471         (realizeFont): layout as layout
9472
9473         * paragraph.C (writeFile): layout as layout
9474         (validate): layout as layout
9475         (getFont): layout as layout
9476         (getLabelFont): layout as layout
9477         (getLayoutFont): layout as layout
9478         (breakParagraph): layout as layout
9479         (stripLeadingSpaces): layout as layout
9480         (getEndLabel): layout as layout
9481         (getMaxDepthAfter): layout as layout
9482         (applyLayout): layout as layout
9483         (TeXOnePar): layout as layout
9484         (simpleTeXOnePar): layout as layout
9485         (TeXEnvironment): layout as layout
9486         (layout): layout as layout
9487         (layout): layout as layout
9488
9489         * lyxtextclass.C (compare_name): new functor to work with
9490         shared_ptr, layout as layout
9491         (Read): layout as layout
9492         (hasLayout): layout as layout
9493         (operator): layout as layout
9494         (delete_layout): layout as layout
9495         (defaultLayout): layout as layout
9496
9497         * lyxlayout_ptr_fwd.h: new file
9498
9499         * lyxlayout.C (Read): layout as layout
9500
9501         * lyx_cb.C (MenuInsertLabel): layout as layout
9502
9503         * bufferlist.C (newFile): layout as layout
9504
9505         * buffer.C (readLyXformat2): layout as layout
9506         (parseSingleLyXformat2Token): layout as layout
9507         (insertStringAsLines): layout as layout
9508         (asciiParagraph): layout as layout
9509         (latexParagraphs): layout as layout
9510         (makeLinuxDocFile): layout as layout
9511         (simpleLinuxDocOnePar): layout as layout
9512         (makeDocBookFile): layout as layout
9513         (simpleDocBookOnePar): layout as layout
9514         (getLists): layout as layout
9515
9516         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9517
9518         * CutAndPaste.C (cutSelection): layout as layout
9519         (pasteSelection): layout as layout
9520         (SwitchLayoutsBetweenClasses): layout as layout
9521
9522         * BufferView_pimpl.C (Dispatch): layout as layout
9523         (smartQuote): layout as layout
9524
9525         * BufferView2.C (unlockInset): layout as layout
9526
9527 2002-06-24  André Pönitz <poenitz@gmx.net>
9528
9529         * lyxfunc.C: fix #487
9530
9531 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9532
9533         * lyxrc.h:
9534         * lyxrc.C:
9535         * lyxfunc.C: remove display_shortcuts, show_banner
9536
9537 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9538
9539         * Buffer_pimpl.C: oops, update on resize
9540
9541 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9542
9543         * buffer.C:
9544         * converter.C:
9545         * exporter.C:
9546         * lyxfunc.C:
9547         * BufferView.h:
9548         * BufferView.C: use repaint()
9549
9550         * BufferView_pimpl.h:
9551         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9552           as it's a clearer description. Remove superfluous
9553           redraws.
9554
9555 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9556
9557         * text.C: fix bug 488. Not ideal, but getting
9558           getWord() to work properly for the insets that
9559           matter is more difficult ...
9560
9561 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9562
9563         * BufferView_pimpl.C:
9564         * LyXAction.C:
9565         * commandtags.h:
9566         * lyxfunc.C: remove the six million index lyxfuncs to just
9567           one, and DTRT (bug 458)
9568
9569 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9570
9571         * BufferView.h:
9572         * BufferView.C:
9573         * BufferView_pimpl.h:
9574         * BufferView_pimpl.C: clean up resize() stuff,
9575           and unnecessary updateScreen()s
9576
9577 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9578
9579         * BufferView.h:
9580         * BufferView.C:
9581         * BufferView_pimpl.h:
9582         * BufferView_pimpl.C:
9583         * lyxfind.h:
9584         * lyxfind.C:
9585         * minibuffer.C: remove focus management of workarea,
9586           not needed. Use screen's greyOut()
9587
9588 2002-06-17  Herbert Voss  <voss@lyx.org>
9589
9590         * converter.C: (convert) do not post a message, when converting
9591         fails, let the calling function decide what to do in this case
9592
9593 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9594
9595         * lyxfunc.C: tidy up a little
9596
9597 2002-06-16    <alstrup@diku.dk>
9598
9599         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9600         Got rid of FORMS_H_LOCATION include. Now we are
9601         GUII.
9602
9603 2002-06-15  LyX Development team  <lyx@rilke>
9604
9605         * buffer.[Ch] (sgmlOpenTag):
9606         (sgmlCloseTag): Added support for avoiding pernicious mixed
9607         content. Return number of lines written.
9608
9609         (makeLinuxDocFile):
9610         (makeDocBookFile): Fixed calls to sgml*Tag.
9611         Simple white space clean.
9612
9613         (simpleDocBookOnePar): Simple white space clean.
9614
9615         * tabular.[Ch] (docBook): Renamed to docbook and got another
9616         argument to related with the pernicious mixed content.
9617
9618         (docbookRow): Fixed calls for docbook inset method.
9619
9620 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9621
9622         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9623         so it's X11 independent.
9624
9625         * kb*.[Ch]: ditto.
9626
9627         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9628
9629 2002-06-15  Lyx Development team  <lyx@electronia>
9630
9631         * intl.h: Renamed getTrans to getTransManager.
9632
9633 2002-06-14  Angus Leeming  <leeming@lyx.org>
9634
9635         * Makefile.am: nuke forgotten stl_string_fwd.h.
9636
9637 2002-06-12  Angus Leeming  <leeming@lyx.org>
9638
9639         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9640
9641 2002-06-13  Angus Leeming  <leeming@lyx.org>
9642
9643         * LaTeX.C:
9644         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9645
9646 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9647
9648         * kbmap.C (getiso): add support for cyrillic and greek
9649
9650 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9651
9652         * BufferView.h:
9653         * BufferView.C:
9654         * BufferView_pimpl.h:
9655         * BufferView_pimpl.C: move bogus scrolling logic
9656           to xforms
9657
9658 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9659
9660         * lyxfunc.C:
9661         * BufferView_pimpl.C: view->resize() change
9662
9663 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9664
9665         * BufferView_pimpl.C: topCursorVisible
9666           prototype change
9667
9668 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9669
9670         * Makefile.am:
9671         * lyx_gui.h:
9672         * lyx_gui.C: move to frontends/
9673
9674         * main.C:
9675         * lyx_main.h:
9676         * lyx_main.C: changes from above
9677
9678 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9679
9680         * intl.C:
9681         * intl.h:
9682         * kbmap.C:
9683         * kbsequence.C:
9684         * lyx_cb.C:
9685         * lyx_main.C: minor tidy
9686
9687 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9688
9689         * BufferView_pimpl.h:
9690         * BufferView_pimpl.C:
9691         * BufferView.h:
9692         * BufferView.C: make painter() const,
9693           remove dead code
9694
9695         * BufferView2.C: use screen() accessor
9696
9697         * lyx_main.h:
9698         * lyx_main.C: some minor cleanup
9699
9700 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9701
9702         * BufferView_pimpl.h:
9703         * BufferView_pimpl.C: remove enter/leaveView,
9704           use workHeight()
9705
9706 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9707
9708         * BufferView.h:
9709         * BufferView.C:
9710         * BufferView2.C:
9711         * BufferView_pimpl.h:
9712         * BufferView_pimpl.C: only construct screen once,
9713           rename
9714
9715         * lyxrc.C: remove pointless comment
9716
9717 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9718
9719         * BufferView.h:
9720         * BufferView.C: remove active() and belowMouse()
9721
9722         * BufferView_pimpl.h:
9723         * BufferView_pimpl.C: use workarea() not workarea_,
9724           and make it use a scoped_ptr instead
9725
9726 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9727
9728         * lyx_gui.C: add debug message on BadWindow
9729
9730 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9731
9732         * sp_spell.C: fdopen is not part of the C++ standard.
9733
9734         * paragraph.C (InsetIterator): use >= instead of ==
9735
9736 2002-06-07  Angus Leeming  <leeming@lyx.org>
9737
9738         Fixes needed to compile with Compaq cxx 6.5.
9739         * BufferView_pimpl.C:
9740         * DepTable.C:
9741         * buffer.C:
9742         * converter.C:
9743         * encoding.C:
9744         * lyx_gui.C:
9745         * lyx_main.C:
9746         * lyxtextclasslist.C:
9747         * minibuffer.C:
9748         * sp_spell.C:
9749         * tabular_funcs.C:
9750         * vc-backend.C:
9751         all c-library variables have been moved into namespace std. Wrap
9752         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9753
9754         * lyxlength.C:
9755         * tabular-old.C:
9756         * tabular.C:
9757         Add a using std::abs declaration.
9758
9759         * kbmap.h (modifier_pair):
9760         * paragraph.h (InsetTable, InsetList):
9761         * lyxfont.h (FontBits):
9762         type definition made public.
9763
9764         * bufferlist.C (emergencyWriteAll): the compiler complains that
9765         there is more than one possible lyx::class_fun template to choose from.
9766         I re-named the void specialisation as lyx::void_class_fun.
9767
9768         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9769
9770         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9771         the compiler is is unable to find tostr in write_attribute.
9772
9773 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9774
9775         * buffer.C (sgmlError): hide #warning
9776
9777 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9778
9779         * xtl/*: get rid of xtl, which is not in use anyway
9780
9781         * LyXAction.C (init):
9782         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9783         were unimplemented xtl experimentation
9784
9785 2002-06-04  André Pönitz <poenitz@gmx.net>
9786
9787         * lyxfunc.C: disable array operation on simple formulae
9788
9789 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9790
9791         * converter.C: constify a bit
9792
9793 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9794
9795         * lyx_gui.C: check xforms version correctly
9796
9797 2002-04-30  Herbert Voss  <voss@lyx.org>
9798
9799         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9800         "keep" option
9801
9802 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9803
9804         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9805           attempt to register it with a VCS)
9806
9807 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9808
9809         * lyx_main.C (init): honor variables LYX_DIR_13x and
9810         LYX_USERDIR_13x
9811
9812 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9813
9814         * buffer.h:
9815         * buffer.C:
9816         * lyx_main.C: fix a crash on bad command line,
9817           and give a useful exit status on error
9818
9819         * lyxfunc.C (doImport): allow -i lyx to work
9820
9821 2002-03-30  André Pönitz <poenitz@gmx.net>
9822
9823         * lyxfunc.C: mathed font changes
9824
9825 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9826
9827         * LaTeX.C:
9828         * importer.h:
9829         * importer.C:
9830         * lyx_sty.h:
9831         * lyx_sty.C:
9832         * lyxlex.C:
9833         * lyxrow.h:
9834         * lyxtext.h:
9835         * paragraph.h:
9836         * paragraph.C:
9837         * texrow.h:
9838         * texrow.C:
9839         * text.C:
9840         * trans_mgr.h: srcdocs, and some minor cleanups
9841
9842 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9843
9844         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9845         call getFont all the time)
9846
9847 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9848
9849         * switch from SigC signals to boost::signals
9850
9851 2002-05-29  André Pönitz <poenitz@gmx.net>
9852
9853         * paragraph_pimpl.C (getChar): don't call size() too often...
9854
9855 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9856
9857         * paragraph_pimpl.C (insertChar): do not try to update tables when
9858         appending (pos == size())
9859
9860         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9861         in order to reduce drastically the number of comparisons needed to
9862         parse a large document
9863
9864 2002-05-29  André Pönitz <poenitz@gmx.net>
9865
9866         * text.C:
9867         * text2.C:
9868         * lyxtextclass.C:
9869         * sp_pspell.h:
9870         * textclasslist.[Ch]:
9871         * sp_ispell.h: whitespace change
9872
9873 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9874
9875         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9876         lyxaction directly now.
9877
9878 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9879
9880         * trans.C:
9881         * lyxfont.C:
9882         * lyxvc.C: remove unused headers
9883
9884 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9885
9886         * Makefile.am:
9887         * buffer.h:
9888         * undostack.h:
9889         * undostack.C:
9890         * undo_funcs.h:
9891         * undo_funcs.C: some cleanups. Use shared_ptr
9892           and a template for the undo stacks.
9893
9894 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9895
9896         * BufferView_pimpl.h:
9897         * BufferView_pimpl.C:
9898         * kbmap.h:
9899         * kbmap.C:
9900         * kbsequence.h:
9901         * kbsequence.C:
9902         * lyxfunc.h:
9903         * lyxfunc.C:
9904         * text2.C: use key_state/mouse_state
9905
9906 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9907
9908         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9909         and LSubstring
9910
9911         * chset.C: change include order
9912         (loadFile): use boost regex and get rid of LRegex and LSubstring
9913
9914         * Makefile.am (BOOST_LIBS): new variable
9915         (lyx_LDADD): use it
9916
9917         * LaTeX.C: change include order.
9918         (scanAuxFile): use boost regex and get rid of LRegex and
9919         LSubstring
9920         (deplog): ditto
9921
9922 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9923
9924         * ColorHandler.h:
9925         * ColorHandler.C:
9926         * FontInfo.h:
9927         * FontInfo.C: moved to frontends/xforms/
9928
9929         * FontLoader.h:
9930         * FontLoader.C: moved into frontends for GUIIzation
9931
9932         * Makefile.am:
9933         * lyx_gui.C:
9934         * lyxfont.C:
9935         * lyxfunc.C: changes from above
9936
9937 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9938
9939         * LColor.C: remove spurious X include
9940
9941         * BufferView_pimpl.C:
9942         * Makefile.am:
9943         * font.h:
9944         * font.C:
9945         * text.C:
9946         * text2.C: move font metrics to frontends/
9947
9948 2002-05-24  Juergen Vigna  <jug@sad.it>
9949
9950         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9951         setting the undo_cursor.
9952
9953         * ParagraphParameters.h: include local includes first.
9954
9955 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9956
9957         * BufferView_pimpl.C:
9958         * BufferView_pimpl.h:
9959         * Makefile.am:
9960         * WorkArea.h:
9961         * WorkArea.C:
9962         * screen.C: move WorkArea into frontends/
9963
9964         * lyxscreen.h:
9965         * screen.C:
9966         * text.C:
9967         * BufferView.C:
9968         * BufferView2.C: move LyXScreen into frontends/
9969
9970         * lyxlookup.h:
9971         * lyxlookup.C:
9972         * lyx_gui.C: move lyxlookup into frontends/xforms/
9973
9974 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9975
9976         * BufferView2.C:
9977         * BufferView_pimpl.C:
9978         * FontLoader.C:
9979         * LyXView.h:
9980         * LyXView.C:
9981         * Makefile.am:
9982         * WorkArea.C:
9983         * XFormsView.h:
9984         * XFormsView.C:
9985         * buffer.C:
9986         * bufferlist.C:
9987         * bufferview_funcs.C:
9988         * converter.C:
9989         * importer.C:
9990         * lyx_cb.C:
9991         * lyx_gui.C:
9992         * lyx_main.C:
9993         * lyx_find.C:
9994         * lyxfunc.C:
9995         * lyxvc.C:
9996         * minibuffer.C:
9997         * text.C:
9998         * text2.C:
9999         * trans.C:
10000         * vc-backend.C: move LyX/XFormsView into frontends/
10001
10002 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10003
10004         * Makefile.am:
10005         * PainterBase.C:
10006         * PainterBase.h:
10007         * Painter.C:
10008         * Painter.h:
10009         * WorkArea.C:
10010         * WorkArea.h:
10011         * screen.C:
10012         * tabular.C:
10013         * text.C:
10014         * text2.C: move Painter to frontends/
10015
10016 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10017
10018         * buffer.C: comment out some some code that depend upon lyx_format
10019         < 220
10020
10021         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10022         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10023
10024         * buffer.h (NO_COMPABILITY): turn off compability
10025
10026         * ColorHandler.C: include scoped_array.hpp
10027
10028         * font.C: Use more specific smart_ptr header.
10029         * Painter.C: ditto
10030         * gettext.C: ditto
10031         * ShareContainer.h: ditto
10032         * lyx_main.h: ditto
10033         * kbmap.h: ditto
10034         * FontInfo.h: ditto
10035         * BufferView_pimpl.h: ditto
10036         * ColorHandler.h: ditto
10037
10038         * kbmap.C (defkey): change call to shared_ptr::reset
10039
10040 2002-05-21  Juergen Vigna  <jug@sad.it>
10041
10042         * buffer.C (insertErtContents): fix to insert ert asis if it is
10043         non empty. Skip it completely if it contains only whitespaces.
10044
10045 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10046
10047         * BufferView_pimpl.C:
10048         * BufferView2.C: clear selection on paste (bug 393)
10049
10050 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10051
10052         * DepTable.C: include ctime
10053
10054 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10055
10056         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10057
10058 2002-05-14  Juergen Vigna  <jug@sad.it>
10059
10060         * text.C (breakParagraph): fixed function to honor the keepempty
10061         layout in the right maner and also to permit the right breaking
10062         algorithm on empty or non empyt keepempty paragraphs.
10063
10064         * paragraph.C (breakParagraph): we have to check also if the par
10065         is really empty (!size()) for isempty otherwise we do the wrong
10066         paragraph break.
10067
10068 2002-05-10  Juergen Vigna  <jug@sad.it>
10069
10070         * buffer.[Ch] : The following are only changes to the ert
10071         compatibility read reading old LaTeX layout and font stuff and
10072         convert it to ERTInsets.
10073
10074         * buffer.h: added isErtInset().
10075
10076         * buffer.C (struct ErtComp): add a fromlayout bool to check
10077         if we're inside a LaTeX layout.
10078         (isErtInset): new helper function.
10079         (insertErtContents): look for other ert insets before this one
10080         and insert the contents there, so that we don't have subsequent
10081         ERT insets with nothing between them. This way we create only one
10082         inset with multiple paragraphs. Also check if we don't insert only
10083         spaces ' ' as they are ignored anyway afterwards in the .tex file
10084         so if we have only spaces we will ignore this latex part in the
10085         new file.
10086         (parseSingleLyXformat2Token \\layout): better compatibility when
10087         reading layout-latex stuff.
10088         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10089         language tag.
10090         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10091         stuff after reading the inset only get the information back from
10092         the stack.
10093
10094 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10095
10096         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10097
10098         * LaTeXFeatures.C (getBabelOptions): New method.
10099
10100 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10101
10102         * BufferView_pimpl.C (Dispatch): work around missing argument for
10103         'layout'
10104
10105 2002-05-08  Juergen Vigna  <jug@sad.it>
10106
10107         * text.C (leftMargin): handle paragraph leftindent.
10108
10109         * paragraph.C (writeFile): write the new \\leftindent tag.
10110         (validate): handle leftindent code.
10111         (TeXEnvironment): handle paragraphleftindent code again.
10112
10113         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10114
10115         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10116         for paragrap_extra indent code and new token \\leftindent.
10117         (latexParagraphs): handle the leftindent as environment.
10118
10119         * ParameterStruct.h: added leftindent support.
10120
10121         * ParagraphParameters.C (leftIndent): added support functions for
10122         the paragraph left indent.
10123
10124         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10125         more appropriate.
10126
10127 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10128
10129         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10130         inside insetERT.
10131
10132         * text.C (computeBidiTables): No bidi in insetERT.
10133
10134         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10135         in RTL documents.
10136
10137 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10138
10139         * version.C.in: pre 5
10140
10141 2002-05-02  José Matos  <jamatos@fep.up.pt>
10142         * buffer.C (makeDocBookFile): white space changes, add newline to
10143         command styles.
10144         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10145
10146         * tabular.C (docBook): fix typo.
10147
10148 2002-05-03  Juergen Vigna  <jug@sad.it>
10149
10150         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10151         change in LyXText as we can not be sure it was not freed.
10152         (drawOneRow): remove unused code.
10153
10154         * text.C (drawInset): redo the calculation of the need_break_row as
10155         it could have a row which was already freed.
10156         (draw): look at the return value of drawInset and return false if
10157         it also returned false.
10158         (paintRowText): look at the return value of draw and return false if
10159         it also returned false.
10160
10161         * lyxtext.h: added bool return type to drawInset() and draw() so that
10162         if we have a change in the row so that the rowbreak has to be redone
10163         we abort drawing as it will be called again.
10164
10165 2002-05-02  Juergen Vigna  <jug@sad.it>
10166
10167         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10168         a change in the maintext also if we're inside an inset.
10169         (Dispatch): set the cursor again after a break line and after the
10170         screen has been updated as it could be we're in a different row.
10171
10172         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10173         to set the cursor behind the pargraph with > size().
10174         (setCursor): check also for the same paragraph when checking where
10175         to put the cursor if we have a NFR inset.
10176
10177         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10178         parts of layout read further up as it still was in the wrong
10179         position.
10180
10181 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10182
10183         * screen.C (drawFromTo): change sine fullRebreak always return
10184         true.
10185
10186         * buffer.C (parseSingleLyXformat2Token): reindent some
10187
10188         * BufferView_pimpl.C (update): change since fullRebreak always
10189         return true.
10190         (Dispatch): git rid of the last hardcoded "Standard"s.
10191
10192 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10193
10194         * text2.[Ch] (fullRebreak): make it return void now that we always
10195         returned true.
10196
10197 2002-04-30  Juergen Vigna  <jug@sad.it>
10198
10199         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10200         ert compatibility check for "latex" layout.
10201
10202 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10203
10204         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10205         minipages: use col% instead of p%, and also use the current font.
10206         (makeLaTeXFile): Fix use babel condition.
10207         (parseSingleLyXformat2Token): Correct font when reading old floats.
10208
10209 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10210
10211         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10212         inserting list of floats.
10213
10214 2002-04-25  Herbert Voss  <voss@lyx.org>
10215
10216         * MenuBackend.C (expand): don't add the graphics extensions to the
10217         export menu
10218
10219 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10220
10221         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10222         non-existing layout, do not complain if it was the default layout
10223         of the original class (bug #342)
10224
10225 2002-04-24  Juergen Vigna  <jug@sad.it>
10226
10227         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10228         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10229
10230 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10231
10232         * buffer.C (getBibkeyList): If using \bibliography, return the
10233         option field with the reference itself. Enables us to provide natbib
10234         support when using \bibliography.
10235
10236 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10237
10238         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10239
10240         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10241         natbib is provided by the LaTeX class.
10242
10243 2002-04-23  Juergen Vigna  <jug@sad.it>
10244
10245         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10246         Wakeup functions.
10247
10248         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10249
10250 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10251
10252         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10253
10254         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10255         ensuremath around textordmasculine, textordfeminine and
10256         textdegree.
10257
10258 2002-04-19  Juergen Vigna  <jug@sad.it>
10259
10260         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10261         reinitializing the buffer otherwise row-dimensions may be wrong.
10262         (update): reset also the selection cursors if they do exits otherwise
10263         their x/y positions may be wrong.
10264
10265         * text2.C (cursorDown): don't enter the inset if we came from a row
10266         above and are one row over the inset.
10267
10268         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10269         really leaving an inset.
10270
10271 2002-04-18  Juergen Vigna  <jug@sad.it>
10272
10273         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10274         of the selected paragraph does not have the selected layout also if
10275         the last one had!
10276
10277         * text2.C (setLayout): fixed bug which did not change last selected
10278         paragraph.
10279
10280         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10281         changed the read and substituted \\end_float with \\end_inset!
10282
10283         * BufferView_pimpl.C (cursorPrevious):
10284         (cursorNext): fixed to make it work with rows heigher than the work
10285         area without moving the cursor only the draw of the row.
10286         (workAreaMotionNotify): fix jumping over high rows.
10287
10288 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10289
10290         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10291         Ressler.
10292
10293 2002-04-16  Juergen Vigna  <jug@sad.it>
10294
10295         * text2.C (setCursor): set also the irow().
10296         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10297         (cursorUp):
10298         (cursorDown): support for locking an inset if the x_fix value goes
10299         inside it. That way I can transverse insets too with cursor up/down.
10300
10301         * lyxrow.h: added irow helper function same as other (i) functions.
10302
10303         * BufferView_pimpl.C (cursorPrevious):
10304         (cursorNext): fixed for insets!
10305
10306 2002-04-15  Juergen Vigna  <jug@sad.it>
10307
10308         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10309         position otherwise it is wrong in some cases.
10310
10311         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10312         inside the inset before the call.
10313
10314 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10315
10316         * buffer.[Ch] (getBibkeyList): make it const.
10317
10318 2002-04-12  Juergen Vigna  <jug@sad.it>
10319
10320         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10321
10322         * text2.C (getCursorX): new helper function
10323         (setCursor): compute also ix_
10324         (setCursorFromCoordinates): set also ix.
10325
10326         * lyxcursor.h: added ix_ and helper functions.
10327
10328         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10329
10330         * buffer.C (insertStringAsLines): dont break paragraph if the this
10331         paragraph is inside an inset which does not permit it!
10332
10333         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10334         also with no chars on this paragraph.
10335         (paintRowText): only paint stuff if it's inside the workarea!
10336
10337         * paragraph.C (breakParagraph): honor keepempty flag and break the
10338         paragraph always below not above.
10339
10340         * BufferView2.C (unlockInset): update the paragraph layout on inset
10341         unlock as we changed paragraph in such a case.
10342
10343         * lyxfind.C (LyXFind): clear the former selection if not found!
10344
10345         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10346         again called in insertChar().
10347
10348         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10349         an inset which uses the whole row!
10350         (rightMargin): ditto.
10351         (insertChar): force a rebreak if we inserted an inset!
10352
10353 2002-03-28  Herbert Voss  <voss@lyx.org>
10354
10355         * lyxlength.[Ch]: add inBP() to get the right PS-point
10356         units (BigPoint). With inPixels we have rounding errors
10357
10358 2002-04-11  Juergen Vigna  <jug@sad.it>
10359
10360         * text2.C (setCursorFromCoordinates): set iy to the right value.
10361         (setCursor): add check if row->previous exists!
10362
10363         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10364         an old float_type as this was the case in the old code!
10365
10366         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10367
10368         * BufferView2.C (showLockedInsetCursor): use iy
10369         (fitLockedInsetCursor): ditto
10370
10371         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10372         locked insets as there we have the right value now.
10373
10374         * lyxcursor.C: added iy_ variable and iy functions to set to the
10375         baseline of cursor-y of the locked inset.
10376
10377         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10378         (setCursor): fixed for insets which need a full row.
10379
10380         * text.C (rowLastPrintable): don't ignore the last space when before
10381         an inset which needs a full row.
10382         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10383         as last character of a row when before a inset which needs a full row.
10384
10385 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10386
10387         * version.C.in: update date
10388
10389         * text2.C (fullRebreak): try to always return true and see what
10390         happens...
10391
10392 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10393
10394         * MenuBackend.C (expand): use Floating::listName
10395
10396         * FloatList.C (FloatList): add listName argument to the built-in
10397         floats
10398
10399         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10400         text associated with the float.
10401
10402 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10403
10404         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10405
10406 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10407
10408         * ShareContainer.h: add a couple of missing typenames.
10409
10410 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10411
10412         * lyxrc.C (getDescription): use _() correctly rather than N_().
10413
10414 2002-03-28  Herbert Voss  <voss@lyx.org>
10415
10416         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10417         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10418
10419 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10420
10421         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10422         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10423
10424 2002-03-29  Juergen Vigna  <jug@sad.it>
10425
10426         * lyxfunc.C (dispatch): add a missing fitCursor call.
10427
10428         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10429         it was scrolled by a cursor move, so return the bool status.
10430
10431         * BufferView.C (fitCursor): return the bool flag also to the outside
10432         world as this is needed.
10433
10434         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10435
10436         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10437         call the edit() as it is not needed (and wrong) IMO.
10438         (workAreaButtonPress): set the screen_first variable before evt.
10439         unlock the inset as this may change screen_first and then we have
10440         a wrong y position for the click!
10441
10442 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10443
10444         * MenuBackend.C (expand): another translation that I missed
10445
10446 2002-03-28  Juergen Vigna  <jug@sad.it>
10447
10448         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10449
10450         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10451
10452 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10453
10454         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10455
10456         * MenuBackend.C (expand): fix export/view/update when there is no
10457         document open.
10458
10459 2002-03-27  Herbert Voss  <voss@lyx.org>
10460
10461         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10462         and text%
10463
10464 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10465
10466         * bufferview_funcs.C (currentState): only show paragraph number
10467         for is DEVEL_VERSION is set.
10468
10469         * lyxfunc.C (dispatch): put warning in INFO channel
10470
10471         * MenuBackend.C (expand): translate the name of floats
10472
10473         * FloatList.C (FloatList): mark the float names for translation
10474
10475         * converter.C (convert): use LibScriptSearch
10476
10477 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10478
10479         * MenuBackend.C (defaults): fix default menu (we might as well get
10480         rid of it...)
10481
10482 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10483
10484         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10485         directory.
10486
10487 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10488
10489         * lyxvc.C: reorder includes.
10490
10491 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10492
10493         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10494           properly
10495
10496 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10497
10498         * CutAndPaste.C: change layouts earlier on paste
10499           to avoid crashing when calling getFont()
10500
10501 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10502
10503         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10504         irritating #error.
10505
10506 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10507
10508         * WorkArea.C: remove 'Pending' debug message.
10509
10510         * most files: ws cleanup
10511
10512         * buffer.[Ch]: ws changes
10513
10514         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10515
10516 2002-03-21  Juergen Vigna  <jug@sad.it>
10517
10518         * tabular.C (SetMultiColumn): collapse also the contents of the
10519         cells and set the last border right. Added a Buffer const * param.
10520
10521 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10522
10523         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10524         linking or not.
10525
10526 2002-03-19  Juergen Vigna  <jug@sad.it>
10527
10528         * text2.C (clearSelection): reset also xsel_cache.
10529
10530         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10531         where it needs to be called (John tells us to do so too :)
10532         (selectionLost): reset sel_cache.
10533
10534         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10535
10536 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10537
10538         * text2.C (setCursorIntern): put debuging code in INSETS channel
10539
10540 2002-03-19  André Pönitz <poenitz@gmx.net>
10541
10542         * lyxfunc.C: tiny whitespace change
10543
10544 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10545
10546         * ToolbarDefaults.C (init):
10547         * LyXAction.C (init):
10548         * commandtags.h:
10549         * BufferView_pimpl.C (Dispatch):
10550         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10551
10552 2002-03-19  Allan Rae  <rae@lyx.org>
10553
10554         * exporter.C (Export): removeAutoInsets before doing anything else.
10555         While I've just introduced a dependency on BufferView this really is
10556         the best place to clean the buffer otherwise you need to cleanup in
10557         a dozen places before calling export or cleanup in a dozen functions
10558         that export calls.
10559
10560         * converter.C (runLaTeX):
10561         (scanLog): Better handling of removeAutoInsets and screen updates.
10562
10563         * lyxfunc.C (dispatch): small whitespace changes
10564
10565 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10566
10567         * WorkArea.C (C_WorkAreaEvent): return a value.
10568         (event_cb): return 1 if we handled the event, 0 otherwise.
10569
10570         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10571
10572 2002-03-18  Juergen Vigna  <jug@sad.it>
10573
10574         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10575         (GetAdditionalWidth): ditto.
10576         (RightLine): ditto.
10577         (LeftLine): ditto.
10578
10579         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10580         inset if we're there actually (probably not used right now but this
10581         is the direction to go for unifying code).
10582         (paste): disable code to clear the selection.
10583
10584         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10585         inside an InsetText and move the check further up as it is in the
10586         wrong place.
10587
10588         * text2.C (pasteSelection): set a selection over the pasted text.
10589
10590 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10591
10592         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10593         and libgraphics to build on Cygwin.
10594
10595 2002-03-15  Juergen Vigna  <jug@sad.it>
10596
10597         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10598         inserting an Inset into the paragraph. I know this is not the best
10599         fix but we already use current_view in CutAndPaste so we will remove
10600         all of it's using at the same time.
10601
10602         * buffer.C (sgmlError): deactivated function till it is rewritten in
10603         the right mode, now it can create problems.
10604
10605         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10606         before accessing it.
10607
10608 2002-03-14  Juergen Vigna  <jug@sad.it>
10609
10610         * undo_funcs.C (textHandleUndo): do the right thing when updating
10611         the inset after the undo/redo.
10612
10613         * text2.C (setCursor): just some testcode for #44 not ready yet.
10614
10615         * undo_funcs.C (textHandleUndo): set the next() and previous()
10616         pointers of the paragraph to 0 before deleting otherwise we have
10617         problems with the Paragraph::[destructor].
10618
10619         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10620         on a paragraph insertion.
10621
10622 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10623
10624         * buffer.C (asciiParagraph): use += operator for char append to
10625         string.
10626
10627         * paragraph.C (getFontSettings): compare >= not just >
10628         (highestFontInRange): ditto
10629         (setFont): ditto
10630
10631 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10632
10633         * paragraph.C: change several algorithm to be more appripriate for
10634         the problem domain. This is lookip in FontList and in the InsetList.
10635
10636 2002-03-13  André Pönitz <poenitz@gmx.net>
10637
10638         * commandtags.h:
10639         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10640
10641 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10642
10643         * commandtags.h:
10644         * LyXAction.C:
10645         * lyxfunc.C:
10646         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10647
10648 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10649
10650         * Painter.C (display): anon helper function, adjust code for this
10651         change.
10652         (pixmap): remove function.
10653
10654         * Painter.h: remove private display variable.
10655
10656         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10657
10658 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10659
10660         * WorkArea.[Ch]: remove figinset_canvas cruft.
10661
10662 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10663
10664         * lyxtextclass.C (operator): add one item cache optimization.
10665
10666         * bufferlist.h: doxy changes
10667
10668         * bufferlist.C: ws changes
10669
10670         * DepTable.[Ch] (ext_exist): place const in the right spot.
10671
10672         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10673         call resizeInsets.
10674         (workAreaExpose): call resizeInsets when the with BufferView changes.
10675         (Dispatch): adjust for protectedBlank removal
10676         (specialChar): call updateInset if the insert went ok.
10677
10678         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10679         specialChar instead.
10680
10681         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10682
10683         * BufferView.h: doxy change
10684
10685         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10686
10687         * lyxtextclass.C (operator[]): remove non-const version
10688         (defaultLayout): remove non-const version
10689
10690 2002-03-12  Juergen Vigna  <jug@sad.it>
10691
10692         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10693         did resize the LyXText too.
10694
10695         * buffer.C (readLyXformat2): set layout information on newly allocated
10696         paragraphs.
10697
10698         * tabular.C (OldFormatRead): set layout information on the paragraph.
10699
10700 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10701
10702         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10703
10704 2002-03-11  Juergen Vigna  <jug@sad.it>
10705
10706         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10707         plainly wrong.
10708         (resizeCurrentBuffer): force also the insets to resize themselfes.
10709         (moveCursorUpdate): fixed up for InsetText.
10710
10711 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10712
10713         * commandtags.h:
10714         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10715         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10716         value of Dialogs::tooltipsEnabled().
10717         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10718
10719 2002-03-08  Juergen Vigna  <jug@sad.it>
10720
10721         * BufferView_pimpl.C (updateInset): update inset inside inset also
10722         if it isn't inside theLockingInset().
10723
10724 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10725
10726         * buffer.C (asciiParagraph): redo some of the word and line length
10727         handling.
10728         (getLists): look for Caption instead of caption.
10729
10730 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10731
10732         * buffer.C (Buffer): initialize niceFile to true
10733         (makeLaTeXFile):
10734         (makeLinuxDocFile):
10735         (makeDocBookFile): make sure niceFile is true on exit
10736
10737 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10738
10739         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10740
10741 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10742
10743         * LyXSendto.C: remove.
10744         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10745         * lyx_gui.C: remove now-redundant comment.
10746         * ColorHandler.h: remove forward declaration of class WorkArea.
10747         * lyxfunc.C: remove #include "WorkArea.h".
10748
10749 2002-03-07  Juergen Vigna  <jug@sad.it>
10750
10751         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10752         got moved away with the DEPM and also set the inset_owner always
10753         right which before could have been omitted.
10754
10755 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10756
10757         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10758         wanted layout is not found.
10759
10760 2002-03-07  Juergen Vigna  <jug@sad.it>
10761
10762         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10763
10764 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10765
10766         * paragraph.C (breakParagraph): use default layout not layout of
10767         prev paragraph.
10768         (Paragraph): clear ParagraphParameters.
10769
10770 2002-03-06  Juergen Vigna  <jug@sad.it>
10771
10772         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10773         otherwise it would not be a valid lenght. Fixed a special case in
10774         the minipage compatibility read where we end the document with a
10775         minipage.
10776
10777         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10778         was set as it could be 0 for InsetTexts first entry.
10779
10780 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10781
10782         * paragraph.C (writeFile): if layout is empty write out
10783         defaultLayoutName().
10784
10785         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10786         file without named layout we set layout to defaultLayoutName().
10787
10788 2002-03-06  Juergen Vigna  <jug@sad.it>
10789
10790         * CutAndPaste.C (copySelection): set layout for new paragraph.
10791
10792         * text.C (prepareToPrint): leave ERT inset left aligned
10793         (leftMargin): don't indent paragraphs inside ERT insets
10794
10795 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10796
10797         * paragraph.C (breakParagraph): dont call clear do the work manually
10798
10799         * paragraph.[Ch] (clear): remove function
10800
10801 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10802
10803         * paragraph.C (Paragraph): dont call clear, the work has already
10804         been done.
10805
10806         * lyxtextclass.C (operator): assert if n is empty
10807
10808         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10809         work manually instead.
10810
10811 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10812
10813         * BufferView_pimpl.C: protect selectionLost against text == 0
10814
10815 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10816
10817         * text.C (breakParagraph): fix a setting layout to '0' problem.
10818
10819 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10820
10821         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10822         final location of file, for the included files, and graphics.
10823
10824 2002-03-05  Juergen Vigna  <jug@sad.it>
10825
10826         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10827
10828 2002-03-04  Juergen Vigna  <jug@sad.it>
10829
10830         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10831
10832         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10833         last column of multicolumn cells.
10834         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10835
10836 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10837
10838         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10839         file if it doesn't go to a temporary file.
10840
10841         * buffer.C (sgmlOpenTag):
10842         (sgmlCloseTag):  remove extra newline insertion.
10843
10844 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10845
10846         * text.C (getRowNearY): comment out debug msg
10847
10848 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10849
10850         * text2.C: first -> first_y
10851
10852         * text.C (getRowNearY): add some attemts at a possible
10853         optimization, not working.
10854
10855         * tabular.[Ch]: add BufferParams to several function so that newly
10856         created paragraph can be initialized to he default layotu for the
10857         buffers textclass.
10858
10859         * tabular-old.C (ReadOld): add buf->params to call of Init
10860
10861         * screen.C: rename text->first to text->first_y
10862
10863         * paragraph.C (breakParagraph): always set layout in the broken
10864         paragraph
10865
10866         * lyxtextclass.C (Read): remove lowercase
10867         (hasLayout): ditto
10868         (operator): ditto
10869         (delete_layout): ditto
10870
10871         * lyxtext.h: rename first -> first_y
10872
10873         * lyxlayout.C (Read): remove lowercase
10874         (name): ditto
10875         (setName): ditto
10876         (obsoleted_by): ditto
10877
10878         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10879
10880         * buffer.C (insertErtContents): add params are to InsetERT
10881         (parseSingleLyXformat2Token): add code to check if a paragraphs
10882         layout really exist.
10883         (parseSingleLyXformat2Token): add params to several inset
10884         constructors
10885         (asciiParagraph): remove lowercase, do the layout comparisons with
10886         no_case
10887
10888         * BufferView_pimpl.C (cursorNext): first -> first_y
10889         (resizeCurrentBuffer): first -> first_y
10890         (updateScrollbar): first -> first_y
10891         (scrollCB): first -> first_y
10892         (workAreaMotionNotify): first -> first_y
10893         (workAreaButtonPress): first -> first_y
10894         (checkInsetHit): first -> first_y
10895         (cursorPrevious): first -> first_y
10896         (cursorNext): first -> first_y
10897         (Dispatch): add buffer_->params to severl inset contructors
10898
10899 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10900
10901         * lyxlayout.C (Read): remove some debug info that I forgot.
10902
10903         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10904         clean up the code slightly.
10905         (makeLinuxDocFile): ditto
10906         (makeDocBookFile): ditto
10907
10908         * text2.C: layout as string
10909
10910         * text.C: layout as string
10911
10912         * paragraph_pimpl.C: layout as string
10913
10914         * paragraph.[Ch]: layout as string
10915
10916         * lyxtextclasslist.[Ch]: layout as string
10917
10918         * lyxtextclass.[Ch]: layout as string
10919
10920         * lyxtext.h: layout as string
10921
10922         * lyxlayout.[Ch]: layout as string
10923
10924         * lyx_cb.C: layout as string
10925
10926         * bufferview_funcs.C: layout as string
10927
10928         * bufferparams.C: layout as string
10929
10930         * buffer.C: layout as string
10931
10932         * LyXView.[Ch]: layout as string
10933
10934         * LaTeXFeatures.[Ch]: layout as string
10935
10936         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10937
10938         * BufferView_pimpl.C: change current_layout to string, remove
10939         lyx::layout_type.
10940         (Dispatch):
10941         (smartQuote):
10942         (insertInset):
10943         (workAreaButtonRelease): layout as string
10944
10945         * BufferView2.C (unlockInset): adjust
10946
10947         * vspace.C (asLatexCommand): use an explict temp variable.
10948
10949 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10950
10951         * Makefile.am: use FRONTEND_*
10952
10953 2002-03-01  Juergen Vigna  <jug@sad.it>
10954
10955         * tabular.C (SetWidthOfMulticolCell): changed to something better
10956         I hope but still work in progress.
10957         (recalculateMulticolumnsOfColumn): renamed function from
10958         recalculateMulticolCells as it is more appropriate now.
10959         (SetWidthOfCell): calculate multicols better.
10960
10961 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10962
10963         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10964
10965         * lyxfunc.C (processKeySym): print sequence also if it is
10966         `deleted' (complete)
10967
10968         * kbsequence.C (print): print sequence even if it is deleted
10969         (complete would be a better word, actually).
10970
10971         * lyxfunc.C (dispatch): print complete options after a prefix key
10972
10973         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10974
10975 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10976
10977         * text2.C (setCharFont): eliminate setCharFont code duplication.
10978
10979 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10980
10981         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10982         LFUN_TABULAR_FEATURE (bug #177)
10983
10984 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10985
10986         * Makefile.am: remove figure.h
10987
10988 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10989
10990         * Bufferview_pimpl.C:
10991         * CutAndPasteC:
10992         * LaTeX.C:
10993         * LyXSendto.C:
10994         * buffer.C:
10995         * bufferlist.C:
10996         * converter.C:
10997         * language.C:
10998         * lyxfunc.C:
10999         * lyxvc.C:
11000         * paragraph.C:
11001         * text.C:
11002         * text2.C: remove #include "lyx_gui_misc.h".
11003
11004         * LaTeX.C: added #include <cstdio>
11005
11006 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11007
11008         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11009         that the paragraph following this one can have.
11010
11011         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11012
11013         * vspace.C (asLatexCommand): fix bogus gcc warning
11014
11015         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11016
11017 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11018
11019         * text2.C (setLayout): get rid of redundant code
11020
11021 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11022
11023         * text2.C (incDepth): make sure depth cannot be increased beyond
11024         reasonable values.
11025
11026 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11027
11028         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11029         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11030
11031         * PainterBase.h (image):
11032         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11033         a LyXImage const *.
11034
11035 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11036
11037         * BufferView.C:
11038         * BufferView.h:
11039         * BufferView_pimpl.C:
11040         * BufferView_pimpl.h:
11041         * LaTeXFeatures.C:
11042         * LyXAction.C:
11043         * LyXView.C:
11044         * Makefile.am:
11045         * UpdateList.h:
11046         * UpdateList.C:
11047         * buffer.C:
11048         * figure.h:
11049         * figureForm.C:
11050         * figureForm.h:
11051         * figure_form.C:
11052         * figure_form.h:
11053         * lyx_cb.C:
11054         * lyx_gui.C:
11055         * lyx_gui_misc.C:
11056         * lyxfunc.C:
11057         * sp_base.h:
11058         * sp_ispell.h:
11059         * sp_pspell.h:
11060         * sp_spell.C: remove fig inset, and the crap house of
11061           cards that follows it
11062
11063 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11064
11065         * Makefile.am:
11066         * lyxserver.C:
11067         * os2_defines.h:
11068         * os2_errortable.h:
11069         * nt_defines.h: move .h into support/
11070
11071         * vms_defines.h: remove
11072
11073         * WorkArea.C: add space in debug output
11074
11075         * text2.C:
11076         * paragraph.C:
11077         * buffer.C: add WITH_WARNINGS
11078
11079         * vc-backend.h:
11080         * vc-backend.C:
11081         * bufferlist.C: s/retrive/retrieve/, add docs
11082
11083         * vspace.h:
11084         * vspace.C:
11085         * kbmap.h:
11086         * lyxlength.h:
11087         * lyxgluelength.h:
11088         * length_common.h:
11089         * chset.h:
11090         * chset.C: add docs
11091
11092         * lyxgui.C: add ID to X error handler
11093
11094         * lyxtestclass.c: fix typo
11095
11096 2002-02-26  Juergen Vigna  <jug@sad.it>
11097
11098         * tabular_funcs.C (write_attribute): changed so that some default
11099         attributes are not written at all.
11100         (getTokenValue): set default values before trying to read the
11101         value so we have the return value always set as default if we don't
11102         find the token we search for.
11103
11104         * tabular.C (Write): write bools as bools not as strings!
11105
11106 2002-02-22  Juergen Vigna  <jug@sad.it>
11107
11108         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11109         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11110
11111         * text.C (leftMargin): don't add an indent for paragraphs inside
11112         tabular cells (fix #208).
11113
11114 2002-02-21  José Matos  <jamatos@fep.up.pt>
11115
11116         * tabular.C (docBook): fixed support for long tables.
11117
11118 2002-02-20  Juergen Vigna  <jug@sad.it>
11119
11120         * text2.C (getFont): get the drawing font of the Inset if this
11121         paragraph is inside an inset (only important for InsetERT for now).
11122
11123         * buffer.C (insertErtContents): use new lanugage params in ERT
11124         constructor.
11125
11126         * CutAndPaste.C: commenting out seemingly uneeded code.
11127
11128 2002-02-19  Allan Rae  <rae@lyx.org>
11129
11130         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11131         Iterators might be simple to use but they also get invalidated.
11132         (removeAutoInsets): renamed saved cursor tracking variables and added
11133         some comments to clarify what everything does.
11134
11135 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11136
11137         * Chktex.C:
11138         * LaTeX.C:
11139         * LyXSendto.C:
11140         * converter.C:
11141         * lyx_cb.C:
11142         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11143         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11144
11145         * lyxfunc.C:
11146         * vc-backend.h: remove #include "support/syscall.h"
11147
11148         * LaTeX.C:
11149         * LyXSendto.C:
11150         * converter.C: rearrange #includes in Lars' approved fashion.
11151
11152         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11153         forward declare class Timeout in the header file.
11154
11155         * XFormsView.C: changes due to the above.
11156
11157         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11158         similar to LyXView.
11159
11160         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11161         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11162
11163 2002-02-18  José Matos  <jamatos@fep.up.pt>
11164
11165         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11166         insets contents.
11167
11168 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11169
11170         * a lot of small ws changes
11171         * add a lot of using std::XXX
11172         * use std construcs some places where approp.
11173         * use some exisint stuff from lyxfunctional where approp.
11174         * Make file changes to use partial linking (lets test this now...)
11175
11176 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11177
11178         * Chktex.C:
11179         * buffer.C:
11180         remove #include "support/syscontr.h" as it's redundant. Always has been.
11181
11182         * Chktex.C:
11183         * LaTeX.C:
11184         * LyXSendto.C:
11185         * converter.C:
11186         * lyx_cb.C:
11187         * vc-backend.C:
11188         change Systemcalls::System to Systemcalls::Wait and
11189         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11190         No change of functionality, just reflects the stripped down Systemcalls
11191         class.
11192
11193 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11194
11195         * debug.[Ch]: add a GRAPHICS type to the enum.
11196
11197 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11198
11199         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11200
11201         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11202         there is an inset.
11203
11204 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11205
11206         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11207         match the changes below.
11208
11209         * text2.C (toggleInset): if there is not editable inset at cursor
11210         position, try to see if cursor is _inside_ a collapsable inset
11211         and close it.
11212
11213 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11214
11215         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11216         document menu has a nice checkbox
11217
11218 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11219
11220         * lyxlength.C (asLatexString): change PW to output as percent of
11221         \textwidth.
11222
11223         * lengthcommon.C: change '%' to 't%'
11224
11225         * lyxfunc.C (dispatch): a few comments from Martin
11226
11227 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11228
11229         * WorkArea.h:
11230         * WorkArea.C:
11231         * BufferView_pimpl.h:
11232         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11233           the X selection.
11234
11235 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11236
11237         * vspace.C (inPixels): fix compiler warning
11238
11239 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11240
11241         * lyxfunc.C (getStatus): fix status message for disabled commands.
11242
11243 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11244
11245         * BufferView_pimpl.C: fix crash on close buffer
11246         during selection (#227)
11247
11248 2002-01-27  Herbert Voss  <voss@lyx.org>
11249
11250         * buffer.C: link old Figure to new graphic inset
11251
11252 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11253
11254         * FontLoader.C (getFontinfo): Change the latex font names in order
11255         to match the names of type1inst.
11256
11257 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11258
11259         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11260
11261         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11262         (extchanged): ditto
11263         (ext_exist): ditto
11264         (remove_files_with_extension): ditto
11265         (remove_file): ditto
11266         (write): ditto
11267
11268         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11269         document is smaller than the work area height. Do not initialize
11270         static variables to 0.
11271
11272 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11273
11274         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11275
11276         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11277         LFUN_LAYOUT_PARAGRAPHS.
11278
11279         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11280         tabular. It is possible to provide a possible cell, which will
11281         typically be the actcell from the corresponding insettabular
11282
11283         * lyxfunc.C (getStatus): small cleanup; disable
11284         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11285         true
11286
11287 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11288
11289         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11290
11291         * paragraph.C (startTeXParParams):
11292         (endTeXParParams): new methods. The LaTeX code to
11293         start/end paragraph formatting
11294         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11295         empty (fixes bug #200)
11296
11297         * vspace.C (inPixels): adapt to the change below
11298         (inPixels): [later] more cleanups (remove unused variables)
11299
11300         * lyxlength.C (inPixels): change to use a width and a height as
11301         parameter.
11302
11303 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11304
11305         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11306         Replaced with \paperwidth
11307
11308         * DepTable.C (insert): add std:: qualifier
11309
11310 2002-01-18  Allan Rae  <rae@lyx.org>
11311
11312         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11313         updated also?
11314
11315         * text.C (drawInset): Turned out I didn't know enough about how
11316         rebreaking worked.  This fixes most of the redraw problems.  I see
11317         an occasional cursor trail when a line is broken now and the cursor
11318         placement can seem out by a few pixels also after a rebreak.
11319
11320 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11321
11322         * buffer.C (parseSingleLyXformat2Token): update because minipage
11323         width is now a LyXLength
11324
11325         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11326
11327         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11328         math insets
11329
11330 2002-01-17  Juergen Vigna  <jug@sad.it>
11331
11332         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11333
11334         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11335         is set correctly and the inset is updated correctly.
11336
11337 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11338
11339         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11340         the beginning of the loop.
11341
11342 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11343
11344         * lyxrc.C: improve help for use_scalable_fonts
11345
11346 2002-01-17  Allan Rae  <rae@lyx.org>
11347
11348         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11349
11350 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11351
11352         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11353         make sure to set their inset_owner to the right value (bug #171)
11354
11355 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11356
11357         * DepTable.h
11358         * DepTable.C: Implement mtime checking to reduce time spent doing
11359         CRCs.
11360
11361 2002-01-16  Juergen Vigna  <jug@sad.it>
11362
11363         * tabular.C (GetAdditionalHeight): one of error fixed.
11364
11365         * lyxrc.C (output): small fix in writing use_pspell.
11366
11367 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11368
11369         * sp_base.h: #include LString.h
11370
11371 2002-01-16  Allan Rae  <rae@lyx.org>
11372
11373         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11374         Can someone check this please?
11375
11376         * text.C (drawInset): It was possible that p.row would be removed by
11377         breakAgainOneRow upsetting a few other settings.  There may be another
11378         small tweak possible by setting need_break_row = 0 when p.row has been
11379         removed but I don't know enough about the logic here.
11380
11381 2002-01-15  Allan Rae  <rae@lyx.org>
11382
11383         * text.C (insertChar): removed conditional truism.
11384
11385         * BufferView2.C (removeAutoInsets): More tweaks.
11386         cur_par_prev could be a stray pointer.  Check for trailing empty line
11387         in case last line was cur_par and only had an error inset on it.
11388
11389 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11390
11391         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11392         absolute
11393
11394         * vc-backend.C (most methods):
11395         * exporter.C (Export):
11396         * converter.C (convert):
11397         (runLaTeX):
11398         * LyXSendto.C (SendtoApplyCB):
11399         * lyxfunc.C (dispatch):
11400         (menuNew):
11401         (open):
11402         (doImport):
11403         * lyx_cb.C (AutoSave):
11404         (InsertAsciiFile):
11405         * BufferView_pimpl.C (MenuInsertLyXFile):
11406         * buffer.C (runChktex): use Buffer::filePath().
11407
11408         * buffer.h: rename filename to filename_; rename filepath to
11409         filepath_ and make it private
11410         (filePath): new method
11411
11412         * buffer.C (writeFile): use fileName()
11413         (getLatexName):
11414
11415         * lyx_main.C (init): fix starting  of LyX when the binary is a
11416         link from so,ewhere else.
11417
11418         * minibuffer.C: include <cctype> for isprint
11419
11420 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11421
11422         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11423         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11424         name clash with InsetCollapsable's width function.
11425
11426 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11427
11428         * lastfiles.C: include <iterator>
11429
11430 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11431
11432         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11433         std::count.
11434
11435         * buffer.C (makeLaTeXFile): ditto.
11436         Also make loop operation more transparent.
11437
11438 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11439
11440         * ToolbarDefaults.C: remove trailing comma closing namespace.
11441
11442         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11443
11444         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11445         as in WorkArea.
11446
11447         * trans.C (Load): comment out unused variable, allowed.
11448
11449 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11450
11451         * minibuffer.[Ch] (append_char): new method to recieve input from the
11452         drop-down completion browser. If a key was pressed, then recieve this
11453         char and append it to the existing string.
11454         (peek_event): modify the positioning data passed to the completion
11455         browser so that it can be placed above the minibuffer rather than below.
11456 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11457
11458         * LyXAction.C (init): alloe error-next for readonly documents.
11459
11460         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11461         count.
11462
11463 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11464
11465         * bufferlist.C (readFile): create the buffer _after_ checking that
11466         the file exists.
11467
11468         * lyxfunc.C (verboseDispatch): fix handling of arguments
11469
11470         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11471
11472         * lyxrc.C: use string::erase() instead of initializing to "".
11473
11474
11475 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11476
11477         * BufferView_pimpl.h:
11478         * BufferView_pimpl.C:
11479         * WorkArea.h:
11480         * WorkArea.C:
11481         * text2.C: tell X when we have made a selection for copying
11482
11483 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11484
11485         * BufferView_pimpl.C (MenuInsertLyXFile):
11486         * lyxfunc.C (menuNew):
11487         (open):
11488         (doImport): add shortcuts to directory buttons
11489
11490         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11491         open a float)
11492
11493         * lyxfunc.C (setStatusMessage):
11494         (getStatusMessage): new methods
11495         (getStatus):use setStatusMessage instead of setErrorMessage
11496         (dispatch): when function is disabled, set error message here
11497         [instead of in getStatus previously]
11498
11499         * BufferView_pimpl.C (workAreaButtonRelease): update
11500         toolbar/menubar here too.
11501
11502 2002-01-13  Allan Rae  <rae@lyx.org>
11503
11504         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11505         Now seems indestructible.  Remaining task is to audit all other
11506         code affected by deleteEmptyParagraphMechanism.  One small quirk
11507         left is that an empty document with an error in the preamble can
11508         be made to report an error but no error box appears.  I don't know
11509         where it goes.
11510         (removeAutoInsets): Improved comments.
11511
11512 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11513
11514         * Thesaurus.h:
11515         * Thesaurus.C: update for Aiksaurus 0.14
11516
11517 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11518
11519         * text2.C (firstParagraph): removed member function, all uses
11520         replaces with ownerParagraph
11521         (redoParagraphs): here
11522         (updateInset): here
11523         (toggleAppendix): here
11524         * BufferView2.C (insertErrors): here
11525         (setCursorFromRow): here
11526
11527 2002-01-13  Allan Rae  <rae@lyx.org>
11528
11529         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11530         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11531         There is still a way to segfault this although you may have to do this
11532         multiple times: Have an InsetERT with an unknown command in it.
11533         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11534         <down-arrow>, <Enter> again, View->DVI, BANG!
11535
11536         * text2.C (setCursor):
11537         (deleteEmptyParagraphMechanism):
11538         * lyxtext.h (setCursor):
11539         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11540         Making use of the return value may help fix other bugs.
11541
11542 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11543
11544         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11545
11546         * LyXView.C (updateMenubar): call MenuBar::update here
11547         (updateToolbar): but not here
11548         (showState): do not update toolbar/menubar
11549
11550         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11551         should need to care about that.
11552
11553         * lyxfunc.C (verboseDispatch): simplify a bit
11554         (getStatus): have a version which takes a pseudoaction, and
11555         another which requires a (kb_action,string).
11556
11557         * LyXAction.C (retrieveActionArg): make it work also when action
11558         is not a pseudo-action.
11559         (getActionName): simplify a bit
11560         (helpText):
11561
11562 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11563
11564         * lyxfunc.C (verboseDispatch): new families of methods with
11565         several ways to specify a command and a bool to indicate whether
11566         the command name and shortcut should be displayed in minibuffer
11567         (eventually, we could extend that to a finer bitmask like
11568         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11569         (dispatch): the pristine dispatch command which just, well,
11570         dispatchs! Note it still sets its result to minibuffer; I'm not
11571         sure we want that.
11572
11573         * lyxfunc.h: remove setHintMessage
11574
11575         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11576
11577 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11578
11579         * BufferView_pimpl.C (specialChar): delete new inset if we have
11580         not been able to insert it.
11581
11582         * kbmap.C: revert to using int instead of kb_action, since all we
11583         are dealing with is pseudo-actions.
11584
11585         * LyXAction.C (searchActionArg): change to return int instead of
11586         kb_action, since the result is a pseudoaction.
11587
11588 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11589
11590         * buffer.C (insertErtContents): Fix (partially) the font bug.
11591
11592 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11593
11594         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11595         as the other one is broken on my machine!
11596
11597 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11598
11599         * commandtags.h:
11600         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11601
11602 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11603
11604         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11605         reflect their actual use. Provide compatibility code for older lyxrc
11606         files.
11607
11608         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11609         FL_NORMAL_STYLE.
11610         change names of popup font variables in line with the changes to lyxrc.C
11611
11612 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11613
11614         * buffer.C (asciiParagraph): avoid outputing a word twice after
11615         an inset.
11616
11617         * lyxrc.C (getDescription): document that document_path and
11618         template_path can be empty.
11619
11620 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11621
11622         * LaTeXFeatures.C (getMacros):
11623         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11624
11625         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11626
11627         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11628         getPackages.
11629         (getPackages): rename feature "floats" to "float". Use an array to
11630         iterate over 'simple' features (i.e. just a \usepackage). Add
11631         handling of "amsmath" (renamed from "amsstyle").
11632
11633 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11634
11635         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11636         features list.
11637
11638 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11639
11640         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11641         FuncStaus::FuncStatus & FuncStaus::some_method().
11642
11643 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11644
11645         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11646         of the func_satus stuff. Edited and massaged in various ways by
11647         JMarc.
11648
11649         * lyxfunc.C (getStatus): use FuncStatus
11650
11651 2002-01-08  Juergen Vigna  <jug@sad.it>
11652
11653         * text.C (nextBreakPoint): use function Inset::isChar().
11654
11655         * paragraph.C (TeXOnePar): use function
11656         Inset::forceDefaultParagraphs.
11657
11658         * buffer.C (latexParagraphs): use function
11659         Inset::forceDefaultParagraphs.
11660
11661 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11662
11663         * lyx_gui.C (init): set the style of the menu popups to
11664         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11665
11666 2002-01-07  Juergen Vigna  <jug@sad.it>
11667
11668         * text.C (setHeightOfRow): small fix
11669         (prepareToPrint): don't look at alignment if we don't have the place
11670         for doing it.
11671
11672 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11673
11674         * box.C: New file. Move the Box methods and functions out of box.h,
11675         following Lars' suggestion.
11676
11677 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11678
11679         * box.h: #include "support/LOstream.h", needed for inlined function.
11680
11681         * lyxtextclass.C:
11682         * lyxtextclasslist.C: added some using std declarations.
11683
11684 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11685
11686         * box.h: make signed dimensions to allow insets wider than
11687           the screen (bug #162)
11688
11689         * BufferView_pimpl.C: add some insetHit debug
11690
11691 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11692
11693         * vc-backend.C: add FIXME
11694
11695 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11696
11697         * lyxfunc.C (getStatus): enable code for showing math font status
11698         in toolbar/menu.
11699
11700 2002-01-07  Juergen Vigna  <jug@sad.it>
11701
11702         * text.C (nextBreakPoint): removed debug output not needed anymore.
11703
11704 2002-01-06  Juergen Vigna  <jug@sad.it>
11705
11706         * text.C (nextBreakPoint): fixed up this function we had this bug
11707         since ever but now hopefully we break row better.
11708         (insertChar): we have to check if an inset is the next char as it
11709         could now happen that a large inset is causing a break.
11710
11711 2002-01-05  Juergen Vigna  <jug@sad.it>
11712
11713         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11714         if it doesn't like to be drawed.
11715
11716 2002-01-04  Juergen Vigna  <jug@sad.it>
11717
11718         * BufferView2.C (lockInset): forgot to set a cursor.
11719
11720         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11721
11722 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11723
11724         * FormMathsPanel.C:
11725         * FormMathsPanel.h
11726         * MathsSymbols.C:
11727         * form_maths_panel.C:
11728         * form_maths_panel.h:
11729         * form_maths_panel.fd: implemented sub- and super- buttons in math
11730         panel.
11731
11732         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11733         (or ^ space) to be used as in TeX (req'd by André).
11734
11735         * lyxfunc.C: Allow ^ and _ again to be used both as
11736         super/subscript (mathed) and as themselves (in text).
11737
11738 2002-01-03  Allan Rae  <rae@lyx.org>
11739
11740         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11741         "LyX" or the filename of the current buffer if it has one.  This is a
11742         modified form of John Levon's patch.
11743
11744         * XFormsView.C (setWindowTitle): also set icon title.
11745
11746         * LyXView.h (setWindowTitle): signature changed.
11747         * XFormsView.h (setWindowTitle): ditto.
11748
11749 2002-01-02  Juergen Vigna  <jug@sad.it>
11750
11751         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11752
11753 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11754
11755         * screen.C (topCursorVisible): introduce a temp var for
11756         text->cursor.row(), handle the case where this row is null. (kindo
11757         hachish)
11758
11759         * text2.C (setCursor): add a couple of asserts.
11760
11761         * paragraph.h (inset_iterator): add -> operator
11762
11763         * paragraph.[Ch] (autoDeleteInsets): remove member function
11764
11765         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11766         cursor pos correctly and handle inset deletion by itself.
11767         (insertErrors): move iterator declaration out of for expression
11768
11769         * lyxtextclass.C: add <algorithm>
11770
11771         * Makefile.am: added the new files to sources, removed layout.C
11772
11773         * layout.C: removed file
11774
11775         * layout.h: remove LYX_DUMMY_LAYOUT
11776
11777         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11778         layout.
11779
11780         * lyxlayout.[Ch]:
11781         * lyxtextclass.[Ch]:
11782         * lyxtextclasslist.[Ch]: new files
11783
11784         * include order changes to a lot of files, also changes because of
11785         the six new files.
11786
11787 2001-12-27  Juergen Vigna  <jug@sad.it>
11788
11789         * buffer.C (asciiParagraph): more fixes.
11790
11791         * tabular.C (ascii): make ascii export support export of only the
11792         data separated by a column-delimiter.
11793         (ascii): better support for ascii export.
11794
11795         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11796
11797 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11798
11799         * tabular_funcs.C: use a "using std::getline" instead of the
11800         previous fix from Angus (necessary for cxx + lyxstring)
11801
11802 2001-12-24  Juergen Vigna  <jug@sad.it>
11803
11804         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11805
11806         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11807         problems. First check a minipage also if we have some ert-contents
11808         (not only on par->size(), second set the right depth of the paragraph
11809         on the relink to the root-paragraph-list!
11810
11811         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11812         which then did not anymore update the main paragraphs on undo/redo!
11813
11814 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11815
11816         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11817         code. Support all font-changing funcs (even those which are not in
11818         menu currently). Support for reporting font settings in
11819         mathed (disabled until Andre provides a function on mathed's side).
11820
11821         * func_status.h (toggle): small helper function to set toggle
11822         state on a flag.
11823
11824 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11825
11826         * tabular_funcs.C: getline -> std::getline
11827
11828 2001-12-21  Juergen Vigna  <jug@sad.it>
11829
11830         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11831         accessed and could be 0 (I couldn't generate this but it seems
11832         Michael could!).
11833
11834 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11835
11836         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11837         * tabular_funcs.h: here and include iosfwd
11838
11839 2001-12-20  Juergen Vigna  <jug@sad.it>
11840
11841         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11842         inside inset but undo_par was.
11843
11844 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11845
11846         * Thesaurus.C: always include <config.h> in sources.
11847
11848         * Painter.h:
11849         * lyxlookup.h:
11850         * box.h: do not include <config.h> in header files
11851
11852         * text.C (paintLastRow): remove unused variable
11853
11854         * text.C (transformChar):
11855         (insertChar):
11856         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11857
11858         * Painter.C (text):
11859         * font.C (width): rewrite to use uppercase() instead of
11860         islower/toupper.
11861
11862         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11863
11864 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11865
11866         * lyxfind.C: clean up of find failure position change
11867
11868 2001-12-20  Juergen Vigna  <jug@sad.it>
11869
11870         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11871
11872         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11873         (TeXRow): added to LaTeX a single tabular row.
11874         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11875         (Latex): simplified and finally good LT-h/f support.
11876         (various_functions): just small adaptions for LT-h/f support.
11877
11878         * tabular_funcs.[hC]: added and moved here all not classfunctions
11879         of LyXTabular.
11880
11881 2001-12-19  Juergen Vigna  <jug@sad.it>
11882
11883         * tabular.[Ch]: better support for longtabular options (not finished
11884         yet!)
11885
11886 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11887
11888         * text.C (paintLastRow): use the label font instead of the font of
11889         the last character to compute the size of *_BOX. This makes more
11890         sense and avoids a crash with empty paragraphs.
11891         Use Painter::rectangle to draw EMPTY_BOX.
11892
11893 2001-12-19  Juergen Vigna  <jug@sad.it>
11894
11895         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11896         the paragraphs if the replaced paragraph is not the first one!
11897         Tried to delete not used paragraphs but does not work yet so for
11898         now it's inside #ifdef's and by default off!
11899
11900 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11901
11902         * MenuBackend.C: include "lyx_main.h" instead of declaring
11903         lastfiles (actually was declared as LastFiles* instead of a
11904         scoped_ptr).
11905
11906 2001-12-17  Juergen Vigna  <jug@sad.it>
11907
11908         * tabular.C (AppendColumn): applied John's fix
11909
11910 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11911
11912         * BufferView.h:
11913         * BufferView.C:
11914         * BufferView_pimpl.h:
11915         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11916
11917         * Makefile.am:
11918         * box.h: new start of class for above
11919
11920         * lyxfunc.C: ignore space-only minibuffer dispatches.
11921           Show the command name when it doesn't exist
11922
11923         * minibuffer.C: don't add empty lines to the history
11924
11925         * minibuffer.C: add a space on dropdown completion
11926
11927 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11928
11929         * text.C: fix line above/below drawing in insets
11930
11931 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11932
11933         * lyxlength.C (LyXLength): Initialize private variables.
11934
11935 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11936
11937         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11938         when inserting error insets.
11939
11940 2001-12-13  Juergen Vigna  <jug@sad.it>
11941
11942         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11943         actually sometimes the before-paragraph.
11944         (setUndo): don't clear the redostack if we're not actually undoing!
11945
11946 2001-12-06  Juergen Vigna  <jug@sad.it>
11947
11948         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11949         and fixed redoing of main paragraph, so we can use it now ;)
11950
11951         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11952
11953 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11954
11955         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11956         Juergen's request
11957
11958 2001-12-13  André Pönitz <poenitz@gmx.net>
11959
11960         * undostack.[Ch]:
11961         * undo_func.C: minor cleanup
11962
11963 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11964
11965         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11966         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11967         font in urw-fonts package which is marked as -urw-fontspecific and
11968         does not work (incidentally, changing the encoding in the
11969         fonts.dir of this package to -adobe-fontspecific fixes the
11970         problem).
11971
11972         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11973         is a crash when undoing first paragraph (Juergen, please take a
11974         look). THis does not mean the undo fix is wrong, just that it
11975         uncovers problems.
11976
11977         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11978         the (Paragraph*) version when needed instead of duplicating the
11979         code.
11980
11981         * text.C (workWidth): use Inset::parOwner to find out where the
11982         inset has been inserted. This is a huge performance gain for large
11983         documents with lots of insets. If Inset::parOwner is not set, fall
11984         back on the brute force method
11985
11986         * paragraph_pimpl.C (insertInset):
11987         * paragraph.C (Paragraph):
11988         (cutIntoMinibuffer): set parOwner of insets when
11989         inserting/removing them
11990
11991         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11992
11993 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11994
11995         * commandtags.h:
11996         * LyXAction.C:
11997         * lyx_main.C:
11998         * lyxfunc.C:
11999         * mathed/formulabase.C:
12000         * mathed/math_cursor.[Ch]:
12001         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12002
12003
12004 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12005
12006         * lyxlength.[Ch] (operator!=): new function
12007
12008 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12009
12010         * text.C (workWidth): use Inset::parOwner to find out where the
12011         inset has been inserted. This is a huge performance gain for large
12012         documents with lots of insets. If Inset::parOwner is not set, fall
12013         back on the brute force method
12014
12015         * paragraph_pimpl.C (insertInset):
12016         * paragraph.C (Paragraph):
12017         (cutIntoMinibuffer): set parOwner of insets when
12018         inserting/removing them
12019
12020         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12021
12022 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12023
12024         * tabular-old.C (getTokenValue):
12025         * tabular.C (getTokenValue):
12026         (write_attribute): new versions for LyXLength
12027         (everywhere): adjust the use of widths
12028
12029         * tabular.h: change the type of widths from string to LyXLength
12030
12031 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12032
12033         * paragraph.C: fixed missing line number count when exporting
12034         Environments to LaTeX file
12035
12036         * buffer.C: added informational message for checking line numbers.
12037
12038 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12039
12040         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12041         paragraph, do the 'double space' part, but not the 'empty
12042         paragraph' one.
12043
12044         * text.C (workWidth): small optimization
12045         (getLengthMarkerHeight): use minimal size for negative lengths.
12046
12047 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12048
12049         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12050
12051         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12052
12053 2001-12-11  André Pönitz <poenitz@gmx.net>
12054
12055         * FontLoader.C:
12056         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12057
12058 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12059
12060         * text2.C: keep selection on a setFont()
12061
12062 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12063
12064         * lyx_cb.C: another bv->text misuse, from insert label
12065
12066 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12067
12068         * kbsequence.h:
12069         * kbsequence.C: re-instate nmodifier mask
12070
12071 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12072
12073         * lyx_main.h: make lyxGUI private.
12074
12075 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12076
12077         * lyxfind.C: place the cursor correctly on failed search
12078
12079 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12080
12081         * text.C (getLengthMarkerHeight): for small heights, the arrows
12082         are not always on top/bottom of the text
12083         (drawLengthMarker): smaller arrows; take the left margin in
12084         account; draw also vfills.
12085         (paintFirstRow):
12086         (paintLastRow): remove special code for vfill and standard spaces,
12087         since everything is handled in drawLengthMarker now.
12088
12089 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12090
12091         * buffer.C (insertErtContents): try to handle font and language
12092         interaction a bit better.g
12093
12094         * ColorHandler.C (updateColor): change the hash to cover the whole
12095         LColor enum, ws cleanup
12096         (getGCLinepars): ditto
12097         (getGCLinepars): only lookup in the linecache once.
12098
12099 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12100
12101         * iterators.C (operator++): Make the iterator more robust
12102
12103         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12104         (John's patch)
12105         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12106
12107 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12108
12109         * lyxtext.h:
12110         * text.C: better added space drawing
12111
12112 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12113
12114         * LyXView.C:
12115         * BufferView2.C: fix layout combo update on inset unlock
12116
12117 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12118
12119         * Makefile.am: don't compile unused files
12120
12121 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12122
12123         * lyxfunc.C:
12124         * commandtags.h:
12125         * LyXAction.C: remove old LFUN_LAYOUTNO
12126
12127 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12128
12129         * paragraph_pimpl.h:
12130         * paragraph_pimpl.C: isTextAt() doesn't need font param
12131
12132 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12133
12134         * lyxlex.h:
12135         * lyxlex.C: little cleanup
12136
12137 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12138
12139         * BufferView_pimpl.C: fix insertAscii for insets
12140
12141 2001-12-05  Juergen Vigna  <jug@sad.it>
12142
12143         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12144         set the right font on the "multi" paragraph paste!
12145
12146 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12147
12148         * trans_decl.h:
12149         * trans_mgr.[Ch]:
12150         * trans.[Ch]:
12151         * lyxgluelength.C:
12152         * lyxlength.C: remove out-commented code.
12153
12154         * BufferView_pimpl:
12155         * CutAndPaste.C:
12156         * DepTable.C:
12157         * buffer.C:
12158         * chset.C:
12159         * lastfiles.C:
12160         * lyxlex.C:
12161         * lyxlex_pimpl.C:
12162         * lyxserver.C:
12163         * screen.C:
12164         * tabular-old.C:
12165         * tabular.C:
12166         * text.C:
12167         * trans_mgr.C:
12168         * vc-backend.C: change "while(" to "while ("
12169
12170         * lyxlength.[Ch]: add zero function to check if length is zero or
12171         not
12172         * lyxgluelength.C: use it
12173
12174 2001-12-05  Allan Rae  <rae@lyx.org>
12175
12176         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12177         Works for 2.95.3, from what I understand of Garst's reports this should
12178         work for other g++ versions.  We're screwed if the abs(int) definition
12179         changed between bugfix releases of gcc.
12180
12181 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12182
12183         * text.C: fix chapter label offset !
12184
12185 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12186
12187         * lyxtext.h:
12188         * text.C: fix hfill at end of line, clean up
12189
12190 2001-12-04  Juergen Vigna  <jug@sad.it>
12191
12192         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12193         that we force an update of the inset and it's owners if neccessary.
12194
12195 2001-12-03  Juergen Vigna  <jug@sad.it>
12196
12197         * text.C (rowLast): simplified code
12198
12199 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12200
12201         * lyxfunc.C: fix show options on timeout
12202
12203 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12204
12205         * screen.C (topCursorVisible): scroll half a page when the cursor
12206         reached top of bottom of screen
12207
12208 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12209
12210         * minibuffer.C: deactivate on loss of focus
12211
12212 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12213
12214         * vspace.[Ch] (operator!=): add operator.
12215
12216 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12217
12218         * BufferView_pimpl.C: refuse to open an inset when
12219         there's a selection.
12220
12221 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12222
12223         * BufferView_pimpl.C: allow to click on RHS of full row insets
12224
12225 2001-11-30  Juergen Vigna  <jug@sad.it>
12226
12227         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12228         insets for undo reasons.
12229
12230 2001-11-28  André Pönitz <poenitz@gmx.net>
12231
12232         * vspace.[Ch]: cosmetical changes
12233
12234 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12235
12236         * LyXAction.h:
12237         * LyXAction.C:
12238         * lyxfunc.h:
12239         * lyxfunc.C:
12240         * kbmap.h:
12241         * kbmap.C:
12242         * lyxrc.C:
12243         * kbsequence.h:
12244         * kbsequence.C: part re-write of old kb code
12245
12246         * Painter.C:
12247         * WorkArea.C: remove Lgb_bug_find_hack
12248
12249 2001-11-30  José Matos <jamatos@fep.up.pt>
12250
12251         * buffer.C (makeDocBookFile): add a comment to point a hack.
12252         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12253         Fixed a double write of labels.
12254
12255 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12256
12257         * LaTeX.C:
12258         * LaTeX.h Fixed bug in LaTeX class where it would not
12259         re-run latex if no depfiles were changed, but the .dvi was removed.
12260
12261 2001-11-28  André Pönitz <poenitz@gmx.net>
12262
12263         * all the files from the change on 2001/11/26:
12264         use lyx::layout_type instead of LyXTextClass::size_type
12265         use lyx::textclass_type instead of LyXTextClassList::size_type
12266
12267 2001-11-29  Juergen Vigna  <jug@sad.it>
12268
12269         * text.C: added support for paragraph::isFreeSpacing()
12270
12271         * buffer.C: same as above
12272
12273         * paragraph.h: inserted isFreeSpacing() function to enable
12274         FreeSpacing inside InsetERT.
12275
12276         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12277         of the paragraph's in the cut/copy buffer to 0!
12278
12279         * text2.C (removeRow): remove the assert as it can!
12280
12281         * lyxtext.h: added helper function firstRow returning firstrow and
12282         made firstrow private again.
12283
12284         * BufferView2.C (lockInset): don't relock if we're already locked!
12285
12286         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12287         the only paragraph.
12288         (removeRow): added Assert::(firstrow)
12289
12290         * debug.C: forgot to add INSETTEXT here.
12291
12292 2001-11-28  Juergen Vigna  <jug@sad.it>
12293
12294         * sp_spell.C (initialize): changed error text to more general
12295         spellchecker command use (not only ispell!)
12296
12297         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12298
12299         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12300
12301 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12302
12303         * vspace.C: initialise lyxgluelength on failure
12304
12305 2001-11-28  Allan Rae  <rae@lyx.org>
12306
12307         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12308         declaration & definition that looks like a function declaration.
12309
12310 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12311
12312         * BufferView2.C (copy):
12313         (copyEnvironment): do not clear the selection when doing a copy.
12314
12315         * text.C (paintFirstRow): compilation fix
12316
12317 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12318
12319         * tabular.C (Latex): correct line count when writing latex.
12320
12321 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12322
12323         * paragraph_pimpl.h:
12324         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12325           bug a bit
12326
12327 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12328
12329         * text.C:
12330         * LColor.h:
12331         * LColor.C: change vfillline->added_space
12332
12333         * text.C: add markers and text for added space
12334
12335         * vspace.C: fix comment
12336
12337 2001-11-28  André Pönitz <poenitz@gmx.net>
12338
12339         * paragraph.C: whitespace changes
12340         * all the other files from the change on 2001/11/26:
12341         change *::pos_type into lyx::pos_type
12342
12343 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12344
12345         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12346         language of the document when inserting error insets.
12347
12348 2001-11-26  André Pönitz <poenitz@gmx.net>
12349
12350         * BufferView_pimpl.[Ch]:
12351         *       CutAndPaste.C:
12352         * buffer.[Ch]:
12353         * lyxcursor.[Ch]:
12354         * lyxfind.C:
12355         * lyxfunc.C:
12356         * lyxrow.[Ch]:
12357         * paragraph.[Ch]:
12358         * paragraph_pimpl.[Ch]:
12359         * sp_spell.C:
12360         * text.C:
12361         * text2.C: reduce header dependencies, introduce type for positions
12362
12363 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12364
12365         * <various>: change to use Alert.h
12366
12367 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12368
12369         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12370         when encountering an unknown token.
12371         (readLyXformat2): Show an error message if there were unknown tokens.
12372
12373 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12374
12375         * BufferView2.C:
12376         * BufferView_pimpl.C:
12377         * buffer.C:
12378         * paragraph.h:
12379         * text.C:
12380         * text2.C: use par->isInset()
12381
12382 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12383
12384         * paragraph_pimpl.h:
12385         * paragraph_pimpl.C: cleanup
12386
12387 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12388
12389         * text2.C (removeRow):
12390         * text.C (setHeightOfRow): remove useless (and costly) call to
12391         getRow.
12392
12393 2001-11-20  Allan Rae  <rae@lyx.org>
12394
12395         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12396         Now need Inset*::checkInsertChar() to return true for appropriate
12397         cases so that the characters in the minibuffer will actually be
12398         inserted.
12399
12400 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12401
12402         * text.C: change the order of the includes.
12403         (workWidth): initialize it at once.
12404         (workWidth): make maxw unsigned
12405         (setHeightOfRow): remove unused variable (inset)
12406         (selectSelectedWord): remove unused variable (inset)
12407         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12408
12409 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12410
12411         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12412         server is not running.
12413         (openConnection):
12414         (closeConnection): add debug info when server is disabled.
12415
12416         * ColorHandler.C (getGCForeground): send debug message to GUI
12417         channel.
12418
12419         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12420
12421         * kbmap.C (bind): modify because return conventions of
12422         kb_sequence::parse have changed.
12423
12424         * kbsequence.C (parse): only ignore spaces and not any stupid
12425         control character. This avoids tests like s[i] <= ' ', which are
12426         guaranteed to fail with 8bit characters and signed chars.
12427         Change return code to string::npos when there have been no error
12428         (0 was a bad idea when error is at first character)
12429
12430 2001-11-14  José Matos  <jamatos@fep.up.pt>
12431
12432         * buffer.h:
12433         * buffer.C (simpleDocBookOnePar): removed unused argument.
12434
12435 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12436
12437         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12438         insets which are part of a word. Paragraph::isLetter takes care of
12439         that now. Use Paragraph::isInset to identify insets.
12440         (selectSelectedWord): do not test for hyphenation break.
12441
12442         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12443         that protected spaces are considered as spaces.
12444
12445         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12446         Inset::isLetter.
12447
12448 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12449
12450         * lyxserver.h:
12451         * lyxserver.C: fix it. and small cleanup.
12452
12453 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12454
12455         * BufferView_pimpl.C: use inline helpers
12456
12457         * LaTeXFeatures.h:
12458         * LaTeXFeatures.C: fix typos
12459
12460         * Spacing.h:
12461         * Spacing.C: move spacing_string into class
12462
12463         * ToolbarDefaults.C: move stuff into namespace anon
12464
12465         * layout.h: update enum
12466
12467         * lyxfunc.C: use better debug
12468
12469         * minibuffer.h: fix typo
12470
12471         * debug.h:
12472         * debug.C:
12473         * WorkArea.C: add and use Debug::WORKAREA
12474
12475         * lyxtext.h:
12476         * text.C:
12477         * text2.C: code re-organisation, inline helpers
12478
12479 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12480
12481         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12482         std::vector.empty().
12483
12484 2001-11-09  Allan Rae  <rae@lyx.org>
12485
12486         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12487         '\n's after tables.  Tabular and ERT inset work now makes this no
12488         longer necessary.
12489
12490 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12491
12492         * minibuffer.h:
12493         * minibuffer.C: fix crash, improve drop-down completion
12494
12495 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12496
12497         * lyxserver.h:
12498         * lyxserver.C: invalidate fd's when doing endPipe()
12499
12500 2001-11-08  José Matos  <jamatos@fep.up.pt>
12501
12502         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12503         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12504
12505         * paragraph.h:
12506         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12507
12508 2001-11-07  José Matos  <jamatos@fep.up.pt>
12509
12510         * buffer.h:
12511         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12512         const qualifier.
12513
12514         * buffer.C (sgmlOpenTag):
12515         * buffer.C (sgmlCloseTag): removed debug info.
12516
12517         * buffer.h (sgmlOpenTag):
12518         * buffer.h (sgmlCloseTag): made public.
12519
12520 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12521
12522         * buffer.C (saveParamsAsDefaults):
12523         * lyx_cb.C (MenuLayoutSave): remove
12524
12525         * LyXAction.C (init):
12526         * commandtags.h:
12527         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12528
12529 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12530
12531         * buffer.C (setPaperStuff): removed from here...
12532
12533         * bufferparams.C (setPaperStuff): ... and moved there.
12534
12535 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12536
12537         * minibuffer.h:
12538         * minibuffer.C:
12539         * XFormsView.C: add support for drop-down completion
12540
12541 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12542
12543         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12544         commands.
12545
12546 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12547
12548         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12549         disabled.
12550
12551 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12552
12553         * lyx_main.C: change ref to known bugs
12554
12555 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12556
12557         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12558         to work around older babel problems.
12559
12560 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12561
12562         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12563
12564 2001-10-24  Juergen Vigna  <jug@sad.it>
12565
12566         * tabular-old.C (ReadOld): below variable changes reflected.
12567
12568         * tabular.[Ch]: added ltType struct for longtable header/footer
12569         defines and changed all instances where they are used. Added
12570         future support for double top/bottom rows.
12571
12572 2001-10-24  José Matos  <jamatos@fep.up.pt>
12573
12574         * buffer.h (docbookHandleCaption):
12575         * buffer.C (docbookHandleCaption): removed unused function.
12576         (makeDocBookFile): moved docbook supported version to v4.1.
12577
12578 2001-10-24  José Matos  <jamatos@fep.up.pt>
12579
12580         * tabular.h:
12581         * tabular.C (docbookRow): new function to export docbook code of a row.
12582         (DocBook): now honors the longtable flags.
12583
12584 2001-10-23  José Matos  <jamatos@fep.up.pt>
12585
12586         * LaTeXFeatures.h:
12587         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12588         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12589
12590         * buffer.C (makeLinuxDocFile):
12591         (makeDocBookFile): reworked the preamble, more clean, and with
12592         support for lyx defined entities. Changed the document declaration
12593         to be more XML friendly.
12594
12595         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12596         if we need to output XML that should be done with a filter.
12597
12598 2001-10-22  Juergen Vigna  <jug@sad.it>
12599
12600         * sp_pspell.h (class PSpell): add alive function needed in the
12601         controller to see if the spellchecker could be started.
12602
12603 2001-10-22  Juergen Vigna  <jug@sad.it>
12604
12605         * buffer.C (insertStringAsLines): modify the font for inserting
12606         chars in certain conditions by calling checkInsertChar(font).
12607
12608 2001-10-19  Juergen Vigna  <jug@sad.it>
12609
12610         * text.C (workWidth): use getRow instead of wrong algorithm.
12611         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12612
12613 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12614
12615         * lyxserver.h:
12616         * lyxserver.C:
12617         * lyx_main.h:
12618         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12619
12620 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12621
12622         * text.C (workWidth): do not search for the exact row when
12623         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12624         optimization for big documents.
12625
12626 2001-10-18  Juergen Vigna  <jug@sad.it>
12627
12628         * text.C (workWidth): new function with added Inset * parameter.
12629
12630 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12631
12632         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12633
12634         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12635         change return type of getColumnNearX.
12636
12637
12638         * text.C (changeRegionCase): use uppercase/lowercase instead of
12639         toupper/tolower.
12640         (leftMargin):
12641         (rightMargin): simplify code by factoring out the uses of
12642         textclasslist.
12643         (labelFill):
12644         (numberOfHfills):
12645         (setHeightOfRow):
12646         (appendParagraph): use Paragraph::size_type
12647
12648 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12649
12650         * vspace.C (asLatexString): add a missing break
12651
12652 2001-10-15  Herbert Voss  <voss@perce.de>
12653
12654         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12655
12656 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12657
12658         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12659         is not available.
12660
12661 2001-10-10  André Pönitz <poenitz@gmx.net>
12662
12663         * lyxfunc.C: removed greek_kb_flag.
12664
12665 2001-10-10  Herbert Voss  <voss@perce.de>
12666
12667         * lyx_main.C: delete global string help_lyxdir.
12668
12669 2001-10-09  Herbert Voss  <voss@perce.de>
12670
12671         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12672
12673         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12674
12675         * lyx_main.C: added global string help_lyxdir.
12676
12677         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12678
12679 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12680
12681         * lyxrc.C (set_font_norm_type): support iso8859-4
12682
12683 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12684
12685         * LaTeX.C (deplog): add another regex for MikTeX
12686
12687 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12688
12689         * lyxrc.C (set_font_norm_type): support iso8859-3
12690
12691 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12692
12693         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12694
12695         * LaTeXFeatures.C: remove special case of french and index
12696
12697         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12698         before \begin{document}). This solves several incompatibilities.
12699
12700 2001-10-03  Garst Reese  <reese@isn.net>
12701
12702         * lyx_cb.C: change CheckTex error msg.
12703
12704 2001-10-03  José Matos  <jamatos@fep.up.pt>
12705
12706         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12707
12708 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12709
12710         * .cvsignore: update
12711
12712         * lyx_main.C (commandLineVersionInfo): use new style version info.
12713
12714         * buffer.C (writeFile):
12715         (makeLaTeXFile):
12716         (makeLinuxDocFile):
12717         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12718
12719         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12720
12721         * version.h: update to use stuff in version.C
12722
12723         * version.C.in: new file. Contains version information determined
12724         at compile time. This is a merging of version.h and
12725         version_info.h.in.
12726
12727 2001-10-03  Juergen Vigna  <jug@sad.it>
12728
12729         * BufferView_pimpl.C (update): don't change "dirty" status in
12730         updateInset call.
12731
12732 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12733
12734         * WorkArea.C (c-tor): re-position version string slightly.
12735
12736 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12737
12738         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12739         revert to previous code.
12740
12741         WorkArea.[Ch]: (show, destroySplash): methods removed.
12742
12743         WorkArea.C: rework code so that it's an amalgam of the codes before and
12744         after the splash screen was moved to WorkArea.
12745
12746 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12747
12748         * lyxrc.C (read):
12749         * vspace.C (inPixels):
12750         (lyx_advance):
12751         * kbmap.C (bind):
12752         * buffer.C (insertStringAsLines):
12753         (asciiParagraph): fix types to be large enough
12754
12755         * lyxlex_pimpl.h: change member status from short to int
12756
12757         * layout.h: fix type of endlabeltype
12758
12759         * kbmap.C (bind):
12760         * kbsequence.C (parse): change return type to string::size_type
12761
12762         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12763         variable
12764
12765         * Bullet.C (bulletSize):
12766         (bulletEntry): do not use short ints as parameters
12767
12768         * BufferView2.C (insertLyXFile): change a char to an int.
12769
12770         * WorkArea.C (WorkArea): remove unneeded floats in computation
12771
12772 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12773
12774         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12775
12776         * paragraph.C (asString): Do not ignore newline/hfill chars when
12777         copying to the clipboard.
12778
12779 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12780
12781         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12782         after a multi-line inset.
12783
12784 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12785
12786         * paragraph.C (validate): Set NeedLyXFootnoteCode
12787
12788 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12789
12790         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12791         and decrease-error to decrease.
12792
12793 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12794
12795         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12796         it more readable (should be equivalent)
12797
12798 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12799
12800         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12801
12802 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12803
12804         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12805         of a cursor (row, etc.) after a character has been deleted
12806         (deleteEmptyParagraphMechanism): call the method above on _all_
12807         cursors held by the LyXText when a double space has been
12808         detected/deleted.
12809
12810 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12811
12812         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12813         pixmap.
12814         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12815
12816         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12817         background. Use greyOut() and the new show() methods to toggle between
12818         the foreground and background. Add code to remove the splash after
12819         its initial showing.
12820
12821         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12822         (create_forms): no longer call Dialogs::showSplash.
12823
12824 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12825
12826         * .cvsignore: add version_info.h
12827
12828 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12829
12830         * version_info.h.in: new file
12831
12832         * Makefile.am: add version_info.h.in
12833
12834         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12835         version_info.h instead of VERSION_INFO
12836
12837 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12838
12839         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12840         The ERT inset now returns string().
12841
12842 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12843
12844         * lyxtext.h, text.C (selectNextWord): renamed as
12845         selectNextWordToSpellcheck.
12846
12847         * text.C (selectNextWordToSpellcheck): Modified to not select
12848         words inside an ERT inset.
12849
12850 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12851
12852         * lyx_cb.C (MenuLayoutSave): change a bit the question
12853
12854         * sp_base.h: include <sys/types.h>
12855
12856 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12857
12858         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12859
12860 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12861
12862         * several files: fix typos in user-visible strings
12863
12864 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12865
12866         * text2.C (pasteSelection): do not set the selection, since it
12867         will be cleared later. Actually, the intent was to fix the way the
12868         selection was set, but I figured rmoving the code was just as good.
12869
12870 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12871
12872         * FontLoader.C (available): Check if font is available without
12873         loading the font.
12874
12875 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12876
12877         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12878
12879 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12880
12881         * lyxrc.[Ch]: added display_graphics variable and associated code.
12882
12883 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12884
12885         * bufferparams.C (hasClassDefaults): new method. Returns true if
12886         the buffer parameters correspond to known class defaults
12887
12888 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12889
12890         * XFormsView.C (show): set minimum size to the main window.
12891
12892 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12893
12894         * text2.C (copySelection):
12895         (cutSelection):
12896         * lyxfind.C (LyXReplace):
12897         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12898         LyXText::selectionAsString.
12899
12900         * paragraph.C (asString): add "label" argument to the second form
12901
12902         * text2.C (selectionAsString): add "label" argument and pass it to
12903         Paragraph::asString.
12904
12905 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12906
12907         * lyx_main.C (commandLineHelp): remove version information
12908
12909 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12910
12911         * lyx_main.C: add -version commandline option
12912
12913 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12914
12915         * paragraph.h: make the optional constructor arg required instead.
12916         some modifications to other files because of this.
12917
12918         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12919
12920         * lyxserver.C (C_LyXComm_callback): make it static
12921
12922         * lyx_main.C (error_handler): make it static
12923
12924         * lyx_gui.C (LyX_XErrHandler): make it static
12925
12926         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12927
12928         * WorkArea.C: make the extern "C" methods static.
12929
12930         * Makefile.am (lyx_LDADD): simplify
12931
12932 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12933
12934         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12935         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12936
12937         * LyXAction.C (init):
12938         * lyxfunc.C (dispatch): associated code removal.
12939
12940 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12941
12942         * lyxfont.h (isSymbolFont): shut off warning
12943
12944         * text.C (setHeightOfRow):
12945         (getVisibleRow): fix crash with empty paragraphs which have a
12946         bottom line
12947
12948 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12949
12950         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12951         code.
12952
12953 2001-09-04  José Matos  <jamatos@fep.up.pt>
12954         * buffer.C
12955         * buffer.h
12956         * tabular.C (docbook): rename docBook method to docbook.
12957
12958 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12959
12960         * Makefile.am: add dependencies to main.o.
12961
12962 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12963
12964         * FontLoader.C (available): Return false if !lyxrc.use_gui
12965
12966 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12967
12968         * FontInfo.C (query):
12969         * converter.C (view):
12970         * importer.C (Import):
12971         * exporter.C (Export): Can not -> cannot.
12972
12973 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12974
12975         * BufferView_pimpl.C: allow to create index inset even if
12976           string is empty
12977
12978 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12979
12980         * buffer.C (getLists): replace boost::tie code with an explicit pair
12981         as boost::tie can break some compilers.
12982
12983         * iterators.h: Added a std:: declaration to the return type of
12984         ParIterator::size.
12985
12986 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12987
12988         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12989           case.
12990
12991 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12992
12993         * iterators.[Ch]: New files. Provide paragraph iterators.
12994
12995         * buffer.C (changeLanguage): Use paragraph iterators.
12996         (isMultiLingual): ditto
12997
12998         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12999
13000 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13001
13002         * FontLoader.C: Support for cmr font.
13003
13004 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13005
13006         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13007         (available): New method.
13008
13009         * FontInfo.C (getFontname): Use scalable fonts even when
13010         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13011         found.
13012
13013 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13014
13015         * converter.C (Formats::view): reverted! Incorrect fix.
13016
13017 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13018
13019         * converter.C (Formats::view): only output the -paper option
13020         if the dvi viewer is xdvi, thereby fixing bug #233429.
13021
13022 2001-08-23  Herbert Voss  <voss@perce>
13023
13024         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13025
13026 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13027
13028         * Spacing.h (Spacing): Set space to Default on in the default
13029         constructor.
13030
13031 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13032
13033         * vc-backend.h (RCS::versionString): add RCS to version
13034         (CVS::versionString): add CVS to version
13035
13036         * vc-backend.C (scanMaster): do not add CVS to version.
13037         (scanMaster): do not add RCS to version
13038
13039         * lyxvc.C (versionString): new method
13040
13041         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13042
13043 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13044
13045         * Spacing.C (set): initialize fval
13046
13047 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13048
13049         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13050         " or \.
13051
13052 2001-08-16  Juergen Vigna  <jug@sad.it>
13053
13054         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13055
13056 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13057
13058         * BufferView_pimpl.C:
13059         * figureForm.C:
13060         * lyxtext.h:
13061         * text2.C: setParagraph takes linespacing now
13062
13063 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13064
13065         * LyxAction.C: add internal LFUN_CITATION_INSERT
13066
13067         * LyXView.C: actually apply fix
13068
13069         * bufferlist.C: fix open non-existent file
13070
13071         * lyxfind.C: fix indentation
13072
13073         * lyxfunc.C: remove unneeded assert, fix typo
13074
13075 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13076
13077         * MenuBackend.C: use "Floatname List"
13078
13079 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13080
13081         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13082         when converting LaTeX layout to insetERT.
13083         Generate a non-collapsed float when reading old float
13084
13085 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13086
13087         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13088         ERT insets.
13089
13090 2001-08-13  Juergen Vigna  <jug@sad.it>
13091
13092         * text.C (fill): return 0 instead of 20 as this seems to be the more
13093         correct value.
13094
13095 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13096
13097         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13098         lyxrc.font_norm.
13099
13100 2001-08-13  Juergen Vigna  <jug@sad.it>
13101
13102         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13103         casesensitive off.
13104         (SearchBackward): comment out the unlocking of the inset_owner this
13105         should not be needed!
13106
13107 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13108
13109         * Many files: Remove inherit_language, and add latex_language
13110
13111         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13112         collapsible insets.
13113
13114 2001-08-10  Juergen Vigna  <jug@sad.it>
13115
13116         * text.C (prepareToPrint): fixed hfill-width in draw!
13117
13118         * BufferView2.C (selectLastWord): save the selection cursor as this
13119         now is cleared in the function LyXText::clearSelection!
13120
13121 2001-08-08  Juergen Vigna  <jug@sad.it>
13122
13123         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13124         BACKSPACE type functions.
13125
13126         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13127         is only cutted from the document but not put in the cut-buffer, where
13128         still the old stuff should be.
13129
13130         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13131
13132         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13133
13134         * tabular.C (SetWidthOfCell): fixed special case where the width
13135         was not updated!
13136         (LeftLine): handle '|' in align_special.
13137         (RightLine): ditto
13138         (LeftAlreadyDrawed): ditto
13139         (SetWidthOfCell): ditto
13140
13141 2001-08-07  Juergen Vigna  <jug@sad.it>
13142
13143         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13144
13145 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13146
13147         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13148         * lyxlex.[hC]: ditto
13149
13150 2001-08-06  Juergen Vigna  <jug@sad.it>
13151
13152         * text.C (getVisibleRow): fix up row clearing a bit.
13153
13154 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13155
13156         * minibuffer.C: make sure the X server sees the changes in the input.
13157
13158 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13159
13160         * paragraph.C (getFont): split into...
13161         (getLabelFont): this
13162         (getLayoutFont): and this
13163         * paragraph_pimpl.C (realizeFont): calling this
13164
13165         * text2.C (getFont): split into...
13166         (getLayoutFont): this
13167         (getLabelFont): and this
13168         (realizeFont): all three calling this
13169
13170         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13171         files where used.
13172
13173 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13174
13175         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13176
13177 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13178
13179         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13180         layouts from the Quote inset insertion.
13181
13182 2001-08-03  Juergen Vigna  <jug@sad.it>
13183
13184         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13185
13186         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13187         only if status not is already CHANGED_IN_DRAW (second level).
13188
13189         * text.C (draw): don't set the need_break_row when inside an
13190         InsetText LyXText.
13191
13192 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13193
13194         * buffer.C (parseSingleLyXformat2Token): handle more latex
13195         conversion cases.
13196
13197         * bufferview_funcs.[hC]: change function names to
13198         begin with small char, adjust other files.
13199
13200 2001-08-02  André Pönitz <poenitz@gmx.net>
13201
13202         * lyxfunc.C:
13203         BufferView_pimpl.C: remove broken special code for math-greek
13204
13205 2001-08-02  Juergen Vigna  <jug@sad.it>
13206
13207         * BufferView_pimpl.C (update): redone this function so that we
13208         update the text again if there was a CHANGE_IN_DRAW.
13209
13210         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13211         (drawFromTo): added a new internal bool which is used by draw() and
13212         redraw() function.
13213         (general): some cursor drawing problems fixed.
13214
13215 2001-08-01  Juergen Vigna  <jug@sad.it>
13216
13217         * lyxfind.C (LyXFind): fixed
13218         (SearchForward): ditto
13219         (SearchBackward): ditto
13220
13221         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13222         spurius drawing of the cursor in the main area.
13223
13224         * text2.C (status): small fix which could lead to a segfault!
13225         (clearSelection): remove unneeded BufferView param.
13226
13227 2001-08-01  André Pönitz <poenitz@gmx.net>
13228
13229         * lyxfunc.C: small change due to changed mathed interface
13230
13231 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13232
13233         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13234
13235 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13236
13237         * lyxfunc.c: fail gracefully if file doesn't exist
13238
13239         * LyXSendto.C:
13240         * buffer.C:
13241         * lyxfunc.C:
13242         * BufferView_pimpl.C: IsDirWriteable() proto changed
13243
13244         * LyXView.C: fix updateWindowTitle() to store the last title
13245
13246 2001-07-31  Juergen Vigna  <jug@sad.it>
13247
13248         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13249         the font (wrong since using of Paragraph::highestFontInRange).
13250
13251         * paragraph.C (highestFontInRange): added a default_size parameter.
13252
13253         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13254         (setHeightOfRow): reformat
13255
13256 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13257
13258         * converter.[hC] + affected files: move to (inital-char)lowercase
13259         function names.
13260
13261         * ParagraphParameters.C (ParagraphParameters): remove commented code
13262
13263         * PainterBase.[Ch]: remove commented code
13264
13265         * LaTeXFeatures.h: add "bool floats" for float.sty
13266
13267         * LaTeXFeatures.C (LaTeXFeatures): init floats
13268         (require): handle float
13269         (getPackages): do it with floats
13270
13271 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13272
13273         * BufferView_pimpl.C (Dispatch): improve handling of
13274         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13275
13276         * commandtags.h: #include lyxfont.h here temporarily to avoid
13277         keybinding bug.
13278
13279         * bufferlist.h: include LString.h here.
13280
13281 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13282
13283         * text2.C (getStringToIndex): new method.
13284
13285 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13286
13287         * *: Reduced header file dependencies all over.
13288
13289 2001-07-30  Baruch Even  <baruch@lyx.org>
13290
13291         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13292
13293 2001-07-29  Baruch Even  <baruch@lyx.org>
13294
13295         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13296
13297 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13298
13299         * ParameterStruct.h (endif): add a default constructor to make
13300         sure that all variables is initialized.
13301
13302         * ParagraphParameters.C (ParagraphParameters): adjust
13303
13304 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13305
13306         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13307         index; also, check that there is something to index, and that it
13308         does not span over several paragraphs.
13309         (doubleClick): use WHOLE_WORD_STRICT for double click.
13310
13311         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13312
13313         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13314         scheme.
13315
13316 2001-07-26  Baruch Even  <baruch@lyx.org>
13317
13318         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13319         an InsetFig figure, backwards compatible reading of old figure code.
13320
13321 2001-07-27  Juergen Vigna  <jug@sad.it>
13322
13323         * text2.C: font.realize function adaption.
13324
13325         * text.C (draw): add a warnings lyxerr text if needed.
13326
13327         * layout.C: font.realize function adaption.
13328
13329         * language.C: add inherit_language and implement it's handlings
13330
13331         * bufferview_funcs.C (StyleReset): remove language parameter from
13332         font creation (should be language_inherit now).
13333
13334         * bufferparams.C (writeFile): handle ignore_language.
13335
13336         * paragraph.C (getFontSettings): the language has to be resolved
13337         otherwise we have problems in LyXFont!
13338
13339         * lyxfont.C (lyxWriteChanges): added document_language parameter
13340         (update): removed unneeded language parameter
13341
13342         * paragraph.C (validate): fixed wrong output of color-package when
13343         using interface colors for certain fonts in certain environments,
13344         which should not seen as that on the final output.
13345
13346 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13347
13348         * BufferView_pimpl.C:
13349         * Thesaurus.h:
13350         * Thesaurus.C:
13351         * Makefile.am:
13352         * commandtags.h:
13353         * LyXAction.C: add thesaurus support
13354
13355         * lyxfind.h:
13356         * lyxfind.C: add "once" parameter, for thesaurus, to not
13357           move to the next match
13358
13359 2001-07-26  Juergen Vigna  <jug@sad.it>
13360
13361         * lyxfont.C (realize): honor ignore_language too!
13362         (resolved): ditto.
13363
13364         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13365
13366         * text.C (draw): one place more for ignore_language to not draw
13367         itself!
13368
13369 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13370
13371         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13372
13373 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13374
13375         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13376         the minipage conversion problem.
13377
13378 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13379
13380         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13381         insert an inset.
13382
13383 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13384
13385         * BufferView.h: don't forward declare WorkArea
13386
13387         * BufferView.C: don't include WorkArea.h
13388
13389 2001-07-25  André Pönitz <poenitz@gmx.net>
13390
13391         * commandtags.h:
13392         * LyXAction.C:
13393         * lyxfunc.C:  new LFUN 'math-space'
13394
13395         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13396
13397 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13398
13399         * text2.C (toggleInset): call open/close
13400
13401 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13402
13403         * lyxfunc.C (dispatch): add debug for the disabled case
13404
13405         * font.C (buttonText): make similar to rectText
13406
13407         * buffer.C (readInset): comment out parsing of insetlist and
13408         insttheorem
13409
13410         * PainterBase.C (rectText): small correction
13411
13412         * BufferView_pimpl.C: comment out insettheorem and insetlist
13413         * LyXAction.C: ditto
13414         * commandtags.h: ditto
13415
13416 2001-07-24  Juergen Vigna  <jug@sad.it>
13417
13418         * text.C (draw): honor the ignore_language.
13419
13420         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13421
13422 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13423
13424         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13425         char inset.
13426
13427 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13428
13429         * lyxtext.h: remove unused (and unimplemented) methods
13430
13431 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13432
13433         * text.C (getVisibleRow): honor background color
13434
13435         * PainterBase.h:
13436         * Painter.h: remove default color argument for fillRectangle
13437
13438         * text.C (backgroundColor): new method
13439
13440 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13441
13442         * text.C (getVisibleRow): adjust
13443
13444         * font.[Ch] (rectText): new method, metrics
13445         (buttonText): new method, metrics
13446
13447         * PainterBase.[hC]: make rectText and buttonText always draw and take
13448         fewer paramteres.
13449
13450 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13451
13452         * ToolbarDefaults.C (read):
13453         * MenuBackend.C (read): allow escaping in all strings
13454
13455         * BufferView_pimpl.C (insertAndEditInset): new method.
13456         (Dispatch): use insertAndEditInset whenever appropriate.
13457
13458         * BufferView_pimpl.C (insertNote): removed
13459
13460         * BufferView_pimpl.C (smartQuote): new method, moved from
13461         BufferView; if an insetquote cannot be inserted, insert a '"'
13462         character instead.
13463
13464         * BufferView2.C: remove insertCorrectQuote();
13465
13466         * lyxfunc.C (getStatus): Add support for all remaingin
13467         inset-insert lfuns.
13468
13469         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13470
13471         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13472         command (necessary to pass " as parameter of self-insert.
13473
13474         * text.C (selectWordWhenUnderCursor):
13475         (selectWord): add word_location parameter
13476         (selectWordWhenUnderCursor): same + remove special code for word
13477         boundary.
13478         (selectNextWord): use kind() to guess type of insetspecialchar,
13479         not latex().
13480
13481         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13482         (insertErtContents): create ert insets as collapsed.
13483         (readInset): better compatibility code for Info inset.
13484
13485 2001-07-20  Juergen Vigna  <jug@sad.it>
13486
13487         * lyxfunc.C (dispatch): use always LyXFind now!
13488
13489         * text2.C (init): add a reinit flag so that the LyXText can be
13490         reinited instead of deleted and reallocated (used in InsetText).
13491
13492         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13493
13494         * text.C: ditto
13495
13496         * text2.C: ditto
13497
13498 2001-07-18  Juergen Vigna  <jug@sad.it>
13499
13500         * text.C (selectNextWord): handle insets inside inset by calling
13501         always the bv->text functions so that we can go up the_locking_inset!
13502
13503         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13504         in strange locations when inside an inset!
13505
13506         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13507         handling to include insets.
13508
13509         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13510
13511 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13512
13513         * LyXAction.C (init):
13514         * commandtags.h:
13515         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13516         LIGATURE_BREAK, since the name is so stupid.
13517
13518 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13519
13520         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13521         InsetInfos.
13522
13523         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13524
13525         * sp_form.[Ch]: remove.
13526
13527         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13528
13529         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13530         InsetInfo.
13531
13532         * src/buffer.C (readInset): ditto.
13533
13534 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13535
13536         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13537         menuSeparator(), endOfSentenceDot(), ldots() and
13538         hyphenationPoint(), which are therefore removed.
13539         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13540
13541         * LyXAction.C (init):
13542         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13543
13544         * paragraph.C (getWord): removed.
13545
13546         * BufferView_pimpl.C (Dispatch): use last word or selection for
13547         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13548
13549         * lyx_main.C (queryUserLyXDir): do not ask before creating
13550         user_dir, except if it has been named explicitely.
13551
13552 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13553
13554         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13555         a document of zero size.
13556
13557 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13558
13559         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13560         approriately in the c-tor and in require().
13561         (getPackages): output the appropriate LaTeX for natbib support.
13562
13563         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13564         variables "use_natbib" and "use_numerical_citations" when reading the
13565         LyX file.
13566         (readInset): read the various natbib cite commands.
13567         (validate): white-space change.
13568
13569         * bufferparams.[Ch]: new variables "bool use_natbib" and
13570         "bool use_numerical_citations".
13571         (writeFile): output them in the LyX file.
13572
13573 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13574
13575         * lyxfunc.C (getStatus): add support for all the inset insertion
13576         commands.
13577
13578         * text2.C (insertInset):
13579         * paragraph.C (insetAllowed):
13580         * BufferView_pimpl.C (insertInset): update to take in account the
13581         renaming of insertInsetAllowed
13582
13583         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13584
13585         * text2.C (getInset): new method. returns inset at cursor position.
13586
13587         * BufferView_pimpl.C (Dispatch): changes because of this.
13588
13589         * LyXAction.C (init): rename open-stuff to inset-toggle.
13590
13591         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13592
13593         * text2.C (toggleInset): renamed from openStuff; use
13594         Inset::open().
13595
13596 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13597
13598         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13599
13600         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13601
13602 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13603
13604         * buffer.C (readLyXformat2): Add filename to the error dialog
13605
13606 2001-07-18  Juergen Vigna  <jug@sad.it>
13607
13608         * tabular.C (GetCellNumber): put an assert here instead of the check!
13609
13610 2001-07-17  Juergen Vigna  <jug@sad.it>
13611
13612         * BufferView_pimpl.C (toggleSelection): adapted too.
13613
13614         * text.C (selectNextWord): adapted for use with insets.
13615         (selectSelectedWord): ditto
13616
13617 2001-07-17  Juergen Vigna  <jug@sad.it>
13618
13619         * sp_spell.C (PSpell): fix initialitation order.
13620
13621 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13622
13623         * paragraph.C: spacing
13624
13625 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13626
13627         * sp_spell.C: repair language selection for pspell
13628
13629 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13630
13631         * lyxfunc.h: change more methods to begin with lower char.
13632
13633 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13634
13635         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13636         for unknown layouts.
13637
13638 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13639
13640         * buffer.C (readLyXformat2): Generate an error dialog if there are
13641         unknown layouts.
13642
13643 2001-07-16  Juergen Vigna  <jug@sad.it>
13644
13645         * sp_spell.C: always compile ISpell part.
13646
13647         * lyxrc.C: added use_pspell entry and it's handling.
13648
13649 2001-07-13  Juergen Vigna  <jug@sad.it>
13650
13651         * sp_spell.C: removed double includes.
13652
13653 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13654
13655         Consistent use of Lsstream.h:
13656         * Lsstream.h: added using std::stringstream for consistencies sake.
13657
13658         * buffer.C: removed using std::stringstream
13659
13660         * lyxfont.C (stateText):
13661         * paragraph.C (asString):
13662         * text.C (selectNextWord, selectSelectedWord):
13663         * text2.C (setCounter):
13664         * vspace.C (asString, asLatexString):
13665         std::ostringstream -> ostringstream.
13666
13667 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13668
13669         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13670         * commandtags.h: add LFUN_HELP_ABOUTLYX
13671         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13672
13673 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13674
13675         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13676         cursorToggle()
13677         * lyx_gui_misc.C: remove spellchecker
13678         * lyxfunc.C: showSpellchecker
13679         * sp_base.h: added
13680         * sp_ispell.h: added
13681         * sp_pspell.h: added
13682         * sp_spell.C: added
13683         * sp_form.[Ch]: removed
13684         * spellchecker.[Ch]: removed
13685
13686 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13687
13688         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13689         is set.
13690         (simpleTeXSpecialChars): Simply print the input character without
13691         any special translation if pass_thru is set.
13692
13693         * layout.h: Added bool pass_thru to layout class for being able to
13694         implement pass through of a paragraph for Literate Programming.
13695
13696         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13697         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13698         * layout.C (Read): add "passthru" to list of layout tags and add
13699         code to set the pass_thru boolean when it is read.
13700
13701 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13702
13703         * trans_decl.h: remove allowed from KmodInfo
13704
13705         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13706         remove allowed code
13707         (Load): adjust
13708
13709         * paragraph_pimpl.C (erase): use boost::prior
13710
13711         * Painter.C (text): use data() instead of c_str() when length is
13712         also provided.
13713         * WorkArea.C (putClipboard): ditto
13714         * font.h (width): ditto
13715
13716         * BufferView2.C: use it-> instead of (*it). for iterators
13717         * texrow.C: ditto
13718         * paragraph_pimpl.C: ditto
13719         * paragraph.C: ditto
13720         * minibuffer.C: ditto
13721         * language.C: ditto
13722         * kbmap.C: ditto
13723         * encoding.C: ditto
13724         * counters.C: ditto
13725         * converter.C: ditto
13726         * chset.C: ditto
13727         * Variables.C: ditto
13728         * TextCache.C: ditto
13729         * MenuBackend.C: ditto
13730         * LyXAction.C: ditto
13731         * LColor.C: ditto
13732         * FloatList.C: ditto
13733         * DepTable.C: ditto
13734         * ColorHandler.C (LyXColorHandler): ditto
13735
13736 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13737
13738         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13739
13740         * text2.C (openStuff): reintroduce this method (which had been
13741         nuked in NEW_INSETS frenzy).
13742
13743         * lyxfunc.C (Dispatch): when an action has not been handled, use
13744         its name in the error message, not its number.
13745
13746         * paragraph.C (inInset): change method name to begin with lowercase.
13747
13748         * undo_funcs.C:
13749         * text2.C: updates because of this.
13750
13751 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13752
13753         * ToolbarDefaults.C (add): add spaces in error message
13754
13755 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13756
13757         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13758         (readLyXformat2): rename return_par to first_par, use lyxlex's
13759         pushToken and remove the manual push handling.
13760         (parseSingleLyXformat2Token): add another ert comp. variable:
13761         in_tabular, rename return_par to first_par. handle newlines better
13762
13763 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13764
13765         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13766
13767 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13768
13769         * text2.C (getParFromID): removed
13770
13771         * buffer.C (getParFromID): new method moved form lyxtext.
13772         * BufferView2.C (insertErrors): adjust
13773         (setCursorFromRow): adjust
13774         * BufferView_pimpl.C (restorePosition): adjust
13775         * lyxfunc.C (Dispatch): adjust
13776         * undo_funcs.C (textUndo): adjust
13777         (textRedo): adjust
13778         (textHandleUndo): adjust
13779         (textHandleUndo): adjust
13780
13781 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13782
13783         * buffer.C: up' the LYX_FORMAT
13784
13785         * lyxfont.h: turn NO_LATEX on as default
13786
13787         * buffer.C (insertErtContents): new methods of tex style compability.
13788         (parseSingleLyXformat2Token): use it several places.
13789         * tabular.C (OldFormatRead): and here
13790
13791 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13792
13793         * text2.C: remove some commented code.
13794         reindent file.
13795
13796         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13797         * trans.C: changes because of the above.
13798
13799 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13800
13801         * text2.C (setCounter): Fix counters bug with bibliography layout.
13802
13803 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13804
13805         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13806         own member functions
13807         (simpleTeXSpecialChars): ditto
13808
13809 2001-07-06  Juergen Vigna  <jug@sad.it>
13810
13811         * a lot of files: changed the access to LyXText::status and the
13812         call of undo-functions.
13813
13814         * undo.[Ch]: added a inset_id to the undo informations.
13815
13816         * undo_funcs.[Ch]: added and moved here all undo functions.
13817
13818         * lyxtext.h: give the status enum a weight, made status_ a private
13819         variable and made accessor functions for it, removed the whole bunch
13820         of undo-functions as they are now in their own file, make some
13821         functions publically available. Added function ownerParagraph with
13822         int parameter.
13823
13824         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13825         made InInset() a const function, added getParFromID() function.
13826
13827         * buffer.[Ch]: added const version for inset_iterator functions,
13828         added getInsetFromID() function.
13829
13830         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13831         changed undo functions for new version.
13832
13833 2001-07-05  Juergen Vigna  <jug@sad.it>
13834
13835         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13836         unknow mechanism does not call the proper constructor but only this
13837         one also if I request the other!?
13838
13839 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13840
13841         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13842
13843         * text2.C (LyXText): use initialization lists.
13844
13845         * lyxtext.h (Selection): initialize set_ and mark_
13846         (init): remove method
13847
13848 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13849
13850         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13851
13852 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13853
13854         * screen.[Ch]: change method names to begin with lowercase
13855
13856         * BufferView_pimpl.C (updateScrollbar): simplify further and
13857         hopefully make it a bit faster.
13858
13859 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13860
13861         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13862         calling directly xforms functions.
13863
13864         * Painter.C (Painter):
13865         * lyx_cb.C (MenuWrite):
13866         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13867         fl_display.
13868
13869         * lyx_gui.C: remove bogus guiruntime extern declaration.
13870
13871 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13872
13873         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13874         in NEW_INSETS
13875         (redoDrawingOfParagraph): ditto
13876         (redoParagraphs): ditto
13877         (cutSelection): don't create a object for CutAndPaste use the
13878         static method directly
13879         (pasteSelection): ditto
13880
13881         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13882         LyXview (+ rename)
13883
13884 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13885
13886         * modifications to some other files because of this.
13887
13888         * Makefile.am (lyx_SOURCES): add XFormsView
13889
13890         * XFormsView.[Ch]: new files
13891
13892         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13893         the main window. Move the gui dependent stuff to XFormsView
13894
13895 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13896
13897         * tabular.C (GetCellInset): update cur_cell also in the row/col
13898         version of this function.
13899
13900         * lyxfunc.C: no need to include figure_form.h here.
13901
13902         * FontLoader.h:
13903         * lyxfunc.h:
13904         * lyxscreen.h:
13905         * text2.C:
13906         * lyxvc.C: no need to include forms.h here.
13907
13908 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13909
13910         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13911
13912         * lyxfunc.C (Dispatch):
13913         * Spacing.C (set):
13914         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13915         constructor argument.
13916
13917 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13918
13919         * paragraph.C (Paragraph): dont't clear, and just set layout.
13920         (makeSameLayout): use params's copy contructor.
13921
13922         * ParagraphParameters.[Ch] (makeSame): delete method
13923
13924 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13925
13926         * Variables.[Ch]: fix indentation, rename set to isSet
13927
13928 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13929
13930         * lyxfunc.C (Dispatch): fix typo
13931
13932 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13933
13934         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13935         upper_bound.
13936
13937         * bufferlist.C: include assert.h for emergencyWrite().
13938
13939 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13940
13941         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13942           give up at last (bug #425202) !
13943
13944 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13945
13946         * lyx_gui_misc.C:
13947         * sp_form.h:
13948         * sp_form.C:
13949         * spellchecker.h:
13950         * spellchecker.C: strip spellchecker options and bring up
13951           preferences tab instead
13952
13953 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13954
13955         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13956         the istringstream constructor
13957
13958 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13959
13960         * paragraph.C (getLayout): fix return value
13961
13962         * paragraph.h: do not declare getLayout as inline.
13963
13964         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13965
13966 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13967
13968         * lyxcursor.h (operator<): new func
13969         (operator>): new func
13970         (operator>=): new func
13971         (operator<=): new func
13972
13973         * text.C (changeCase): use selection.start and selection.end
13974         (changeRegionCase): require from to be <= to. Require par to be a
13975         valid paragraph.
13976
13977         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13978
13979 2001-06-27  Juergen Vigna  <jug@sad.it>
13980
13981         * text.C (cursorLeftOneWord): changed to return the cursor and added
13982         overlay with BufferView * parameter which calls this one.
13983         (getWord): added
13984         (selectWord): use new getWord function.
13985         (changeCase): renamed from changeWordCase as and extended to work
13986         also on selections.
13987
13988         * lyxtext.h: added enum word_location
13989
13990         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13991         changeCase as this operates now also on selections.
13992
13993 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13994
13995         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13996
13997         * many files: send debug output to Debug::INFO instead of
13998         Debug::ANY.
13999
14000         * converter.C (View):
14001         (Convert):
14002         (Move): send debug output to Debug::FILES instead of console.
14003
14004 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14005
14006         * lyxfunc.C (getStatus): use func_status
14007
14008         * func_status.h: new header, describing the results of
14009         LyXFunc::getStatus;
14010
14011         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14012         LFUN_MATH_HALIGN.
14013
14014 2001-06-25  The LyX Project  <jug@sad.it>
14015
14016         * buffer.C (sgmlOpenTag):
14017         (sgmlCloseTag):
14018         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14019
14020 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14021
14022         * text2.C: remove some dead code
14023
14024         * tabular.C (GetCellInset): store the last cell checked (gotten)
14025
14026         * tabular.h: add the helper for the speedup
14027
14028         * lyxtext.h: remove some dead code
14029
14030 2001-06-26  The LyX Project  <Asger>
14031
14032         * paragraph.C: Change export to LaTeX of alignment to
14033         \begin{center} and family for better roundtrip work with reLyX.
14034
14035         * Tune the math drawing a bit.
14036
14037 2001-06-25  The LyX Project  <Asger>
14038
14039         * LColor.C (LColor): New color for math background. New color
14040         for buttons.
14041
14042 2001-06-25  The LyX Project  <jug@sad.it>
14043
14044         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14045
14046         * lyxfunc.C (Open):
14047         * bufferlist.C (newFile): do not restrict to files ending with
14048         .lyx
14049
14050         * BufferView_pimpl.C (MenuInsertLyXFile):
14051
14052 2001-06-24  The LyX Project  <jug@sad.it>
14053
14054         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14055         of compare_no_case
14056
14057 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14058
14059         * lyxtext.h: rename most methods to begin with a small char.
14060         Lots of changes because of this.
14061
14062         * paragraph.C (Paragraph): do not call fitToSize
14063         (erase): call Pimpl::erase
14064         (insertChar): call Pimpl::insertChar
14065         (insertInset): call Pipl::insertInset
14066         (breakParagraph): do not call fitToSize
14067         (breakParagraphConservative): do not call fitToSize
14068         (fitToSize): remove method
14069
14070         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14071
14072 2001-06-24  The LyX Project  <Asger>
14073
14074         * Fix Qt compilation^2
14075
14076 2001-06-24  The LyX Project  <jug@sad.it>
14077
14078         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14079         depthHook(getDepth()-1).
14080
14081         * paragraph.h:
14082         * ParagraphParameters.h:
14083         * ParameterStruct.h: change type of depth to unsigned int ==
14084         depth_type. Many adaptations to other files before of that.
14085
14086 2001-06-24  The LyX Project  <Asger>
14087
14088         * Fix Qt compilation.
14089
14090 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14091
14092         * paragraph.h: renamed several methods to begin with small letter.
14093         several changes to many parts of the code because of this.
14094
14095 2001-06-23  The LyX Project  <jug@sad.it>
14096
14097         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14098         rewritten to discard all double spaces when KeepEmpty is off
14099         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14100         to only handle newlines but not fiddle with spaces and friends.
14101
14102         * lyxfunc.C (MenuNew): when doing 'new from template', use
14103         template_path as default directory
14104
14105 2001-06-23  The LyX Project  <Asger>
14106
14107         * Clean-up of header file includes all over
14108         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14109
14110 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14111
14112         * paragraph.h: renamed from lyxparagraph.h
14113
14114 2001-06-23  Asger  <lyx@violet.home.sad.it>
14115
14116         * Buffer.h: Removed Buffer::resize
14117         * BufferList.h: Removed BufferList::resize
14118         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14119         the document lazily when we change the width, or the font settings.
14120
14121 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14122
14123         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14124
14125 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14126
14127         * buffer.h: remove out of date comment
14128
14129 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14130
14131         * lyxscreen.h:
14132         * screen.C: fix "theoretical" GC leak
14133
14134 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14135
14136         * LaTeX.C (scanAuxFile):
14137         (deplog): remove trailing \r when reading stream (useful under
14138         win32)
14139
14140 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14141
14142         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14143         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14144         and BufferView::theLockingInset(Inset*), so should use them and not
14145         access bv_->text->the_locking_inset directly.
14146
14147         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14148
14149 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14150
14151         * Makefile.am:
14152         * tex-defs.h: remove old unused file
14153
14154 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14155
14156         * BufferView_pimpl.C: fix typo, remove minibuffer message
14157           when buffer has loaded
14158
14159 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14160
14161         * lyxfunc.C (Dispatch): use stringstream
14162         (MenuNew): use stringstream
14163         (Open): use stringstream
14164
14165         * importer.C (Import): use stringstream
14166
14167         * bufferview_funcs.C (CurrentState): use stringstream
14168
14169         * LaTeX.C (run): use stringstream
14170
14171         * BufferView_pimpl.C (savePosition): use stringstream
14172         (restorePosition): use stringstream
14173         (MenuInsertLyXFile): use stringstream
14174
14175 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14176
14177         * BufferView.C:
14178         * Bullet.C:
14179         * ColorHandler.C:
14180         * FontInfo.C:
14181         * FontLoader.C:
14182         * LColor.C:
14183         * LaTeXFeatures.C:
14184         * Painter.C:
14185         * gettext.C:
14186         * lyx_gui_misc.C:
14187         * lyxserver.C:
14188         * vspace.C: removed // -*- C++ -*- as first line.
14189
14190         * lyxfind.h:
14191         * version.h: added // -*- C++ -*- as first line.
14192
14193 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14194
14195         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14196
14197         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14198         of string
14199
14200 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14201
14202         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14203         of floats.
14204
14205 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14206
14207         * gettext.C: include LString.h even when --disable-nls is on.
14208
14209 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14210
14211         * converter.h (Get): changed argument type from int to
14212         FormatList::size_type to avoid unnecessary conversion.
14213
14214         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14215         before using it.
14216
14217 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14218
14219         * gettext.h: include LString.h even when --disable-nls is on.
14220
14221 2001-06-07  Juergen Vigna  <jug@sad.it>
14222
14223         * text.C (BreakAgain): subst spaces with tabs.
14224
14225         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14226         (resizeInsetsLyXText): set force on resizeLyXText.
14227
14228 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14229
14230         * gettext.h (gettext_init):
14231         (locale_init): use a real definition instead of a macro
14232
14233 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14234
14235         * Bufferview_pimpl.C:
14236         * LColor.h:
14237         * LColor.C: further lcolor tidies
14238
14239 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14240
14241         * BufferView_pimpl.C (updateScrollbar): simplify.
14242
14243         * BufferView2.C: don't include insets/insetinfo.h, change
14244         prototype for insertInset and call the Pimpl version. let
14245         updateInset call Pimpl version.
14246
14247         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14248         gotoInset to BufferView::Pimpl
14249
14250 2001-06-01  Juergen Vigna  <jug@sad.it>
14251
14252         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14253         inside a LockingInset (is the update needed at all?).
14254
14255 2001-05-31  Juergen Vigna  <jug@sad.it>
14256
14257         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14258         here not the old one otherwise how should we compare it afterwards
14259         if it's the same!
14260
14261 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14262
14263         * lyxfont.C:
14264         * tabular.C:
14265         * tabular-old.C:
14266         * FontInfo.C: bring C functions into global namespace when
14267         necessary
14268
14269 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14270
14271         * LString.h: make sure config.h has been loaded before LString.h.
14272
14273         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14274         (one for each char read by EatLine!).
14275
14276         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14277         variables.
14278
14279 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14280
14281         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14282         to the same as the par we break from
14283
14284 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14285
14286         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14287
14288         * MenuBackend.C (expand): also create menu entries for wide
14289         versions of the floats.
14290
14291         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14292
14293         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14294
14295         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14296         frontends/Makefile.am
14297
14298         * text2.C: adjust
14299         * text.C: adjust
14300
14301
14302         * tabular.C (getTokenValue): add std::
14303
14304         * tabular-old.C (getTokenValue): add std::
14305         (getTokenValue): ditto
14306         (getTokenValue): ditto
14307
14308         * screen.C (ToggleSelection): adjust
14309
14310         * lyxtext.h: put selection cursors inside a Selection struct.
14311
14312         * lyxfunc.C (moveCursorUpdate): adjust
14313
14314         * lyxfont.C (latexWriteStartChanges): add std::
14315
14316         * lyxfind.C: adjust
14317
14318         * font.h: delete with(char const *, LyXFont const &)
14319
14320         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14321
14322         * FontInfo.C (getFontname): add std::
14323
14324         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14325         (workAreaButtonPress): adjust
14326         (tripleClick): adjust
14327         (update): adjust
14328         (moveCursorUpdate): adjust
14329         (Dispatch): adjust
14330
14331         * BufferView2.C (gotoInset): adjust
14332
14333 2001-05-30  Juergen Vigna  <jug@sad.it>
14334
14335         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14336         to check pspell I add this as default as I now have new pspell
14337         libraries and they seem to use this.
14338
14339 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14340
14341         * text2.C (CutSelection): make the cursor valid before the call to
14342         ClearSelection.
14343
14344 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14345
14346         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14347         relied on 0 terminated strings and other horrors. Bug found due to
14348         the new assert in lyxstring!
14349
14350         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14351         KP_ keys.
14352
14353 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14354
14355         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14356         to latinkeys.bind.
14357
14358         * lyxfunc.C (processKeySym): change method of getting to the
14359         self-insert char.
14360
14361         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14362         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14363         * BufferView_pimpl.[Ch]: here as private methods.
14364
14365 2001-05-28  Juergen Vigna  <jug@sad.it>
14366
14367         * text.C (SetHeightOfRow): added the update() call again as it is
14368         needed to initialize inset dimensions!
14369
14370 2001-05-16  Juergen Vigna  <jug@sad.it>
14371
14372         * text2.C (SetCharFont): Add new function with BufferView * and
14373         bool toggleall parameters for setting insets internal fonts.
14374         (SetFont): Freeze the undo as we may change fonts in Insets and
14375         all this change should be inside only one Undo!
14376
14377         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14378         setting font's in insets as for them we have the SetFont function!
14379
14380 2001-05-15  Juergen Vigna  <jug@sad.it>
14381
14382         * text2.C (ClearSelection): to be sure we REALLY don't have any
14383         selection anymore!
14384
14385         * tabular.C (TeXCellPreamble): fixed the left border problem for
14386         multicolumn cells.
14387
14388 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14389
14390         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14391         dependancy file
14392
14393 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14394
14395         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14396         LFUN_BREAKPARAGRAPH.
14397
14398         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14399         help test to "internal only", similar for LFUN_INSERT_URL
14400
14401         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14402         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14403         auto_region_delete and deadkeys.
14404
14405 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14406
14407         * LColor.h:
14408         * LColor.C: remove some dead entries, tidy a little
14409
14410 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14411
14412         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14413         commented code.
14414         (Dispatch): implement LFUN_ESCAPE
14415
14416         * commandtags.h: add LFUN_ESCAPE
14417
14418         * LyXAction.C (init): add entry for LFUN_ESCAPE
14419
14420         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14421         Remove commented code.
14422         (insertNote): moved here
14423         (open_new_inset): moved here
14424
14425         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14426         BufferView_pimpl
14427
14428 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14429
14430         * kbmap.C (findbinding): clean it up and make it work correctly.
14431
14432         * lyx_main.C (init): do not pass argc and argv as parameters
14433
14434 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14435
14436         * buffer.C: fix path for OS/2 & Win32
14437
14438         * lyx_gui.C:
14439         * lyx_main:
14440         * lyx_main.C: Added os:: class.
14441
14442         * os2_defines.h: update
14443
14444 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14445
14446         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14447         better by trying again with reduced state.
14448
14449 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14450
14451         * lyxrc.C (read): print error about invalid key sequence only when
14452         debugging (because not all latinX keysyms are known to some X
14453         servers)
14454
14455         * kbsequence.C (getiso): add a few std:: qualifiers
14456         (getiso): comment out extra return statement.
14457
14458 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14459
14460         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14461         handling.
14462         (Dispatch): enhance the accent inset a bit. (not perfect)
14463
14464 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14465
14466         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14467
14468 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14469
14470         * bufferlist.C (emergencyWrite): fix assert() call
14471
14472 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14473
14474         * text.C (InsertChar): Added trivial patch to only send the "you
14475         can not do multiple spaces this way" message once during a
14476         session.
14477
14478 2001-05-08  Baruch Even  <baruch@lyx.org>
14479
14480         * Makefile.am: Changed order of libraries to get LyX to link properly
14481         with the gnome frontend.
14482
14483 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14484
14485         * LaTeXFeatures.h: add a std:: qualifier
14486
14487 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14488
14489         * paragraph.C (String): use stringstream
14490
14491 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14492
14493         * paragraph.C (writeFile): remove footflag arg
14494
14495         * buffer.C (makeLaTeXFile): use stringstream
14496         (latexParagraphs): remove footnot gurba
14497
14498         * LaTeXFeatures.C (getPackages): use stringstream
14499         (getMacros): likewise
14500         (getTClassPreamble): likewise
14501         (getFloatDefinitions): new method
14502
14503         * paragraph.C (writeFile): reindent
14504         (Erase): reindent
14505
14506         * WorkArea.h: revert the xpos + etc changes.
14507
14508         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14509
14510         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14511
14512         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14513         (pasteSelection): likewise
14514         * text2.C (CreateUndo): likewise
14515
14516 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14517
14518         * minibuffer.C (peek_event): temporarily reduce the functionality
14519         of the minibuffer (to allow args on lfuns)
14520
14521         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14522         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14523
14524         * buffer.C (readInset): add compability reading of old float
14525         lists, add reading of new style float list.
14526         (readInset): avoid reevaluation of inscmd.getCmdName()
14527         (getLists): reindent
14528
14529         * MenuBackend.C (MenuItem): implement parsing of
14530         md_floatlistinsert and md_floatinsert.
14531         (expand::LastFiles): move initalizaton of iterators out of loop,
14532         avoid reevaluation.
14533         (expand::Documents): introduce typdedef vector<string> Strings,
14534         and use it.
14535         (expand::ExportFormats): introduce typedef vector<Format const *>
14536         Formats, and use it.
14537         (expand): implement FloatListInsert and FloatInsert.
14538
14539         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14540         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14541         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14542
14543         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14544         handling.
14545         (Dispatch::LFUN_FLOAT_LIST): implement
14546
14547 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14548
14549         * LaTeX.C (run): Fix problem with --export code.
14550
14551 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14552
14553         * BufferView.[Ch] (workarea): removed.
14554         (getClipboard) new method; wrapper for workarea()->getClipboard()
14555
14556         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14557         bug.
14558
14559         * WorkArea.h (width, height, xpos, ypos): These methods all
14560         returned the dimensions of the work_area sub-area of WorkArea,
14561         resulting in a position error if the WorkArea were resized. Now
14562         return the dimensions of the entire WorkArea.
14563
14564         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14565
14566 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14567
14568         * LaTeX.C (deplog): correct the syntax of regex reg1
14569
14570 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14571
14572         * undo.C: remove !NEW_INSETS cruft
14573
14574 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14575
14576         * text2.C: remove !NEW_INSETS cruft
14577
14578         * text.C: remove !NEW_INSETS cruft
14579
14580         * tabular.C: remove !NEW_INSETS cruft
14581
14582         * spellchecker.C: remove !NEW_INSETS cruft
14583
14584         * lyxtext.h: remove !NEW_INSETS cruft
14585
14586         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14587
14588         * lyxfunc.C: remove !NEW_INSETS cruft
14589
14590         * lyxfind.C: remove !NEW_INSETS cruft
14591
14592         * lyx_cb.C: remove !NEW_INSETS cruft
14593
14594         * figureForm.C: remove  !NEW_INSETS cruft
14595
14596         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14597
14598         * buffer.[Ch]: remove !NEW_INSETS cruft
14599
14600         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14601
14602         * CutAndPaste.C: remove !NEW_INSETS cruft
14603
14604         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14605
14606         * BufferView2.C: remove !NEW_INSETS cruft
14607
14608         * BufferView.h: remove !NEW_INSETS cruft
14609
14610 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14611
14612         * Lsstream.h: include LString.h before the sstream headers to
14613         fix problem with gcc 2.95.3 and lyxstring
14614
14615 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14616
14617         * lyx_main.C: add using directives when needed for C functions
14618         declared in std:: namespace.
14619
14620 2001-04-27  Juergen Vigna  <jug@sad.it>
14621
14622         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14623         (SetHeightOfRow): comment out the update call should not be needed!
14624
14625 2001-04-13  Juergen Vigna  <jug@sad.it>
14626
14627         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14628         (LyXTabular): tried to minimize operator= operations (and realized
14629         hopfully Lars wish).
14630
14631 2001-04-27  Juergen Vigna  <jug@sad.it>
14632
14633         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14634
14635 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14636
14637         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14638
14639         * buffer.C (readInset): hack to make listof algorithm work
14640
14641         * BufferView_pimpl.C: hack to make listof algorithm work
14642
14643 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14644
14645         * LyXAction.C: removed all !NEW_INSETS cruft
14646         (init): moved lfun_item in method
14647
14648         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14649
14650 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14651
14652         * BufferView2.C (theLockingInset): white space.
14653
14654 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14655
14656         * minibuffer.C: include <iostream>
14657
14658         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14659
14660         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14661
14662         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14663
14664         * text.[Ch] (TransposeChars): new method
14665
14666 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14667
14668         * call message directly through LyXView instead of through LyXFunc
14669         * BufferView2.C: adjust
14670         * BufferView_pimpl.C: adjust
14671         * FontLoader.C: adjust
14672         * buffer.C: adjust
14673         * bufferview_funcs.C: adjust
14674         * converter.C: adjust
14675         * figureForm.C: adjust
14676         * importer.C: adjust
14677         * lyx_cb.C: adjust
14678         * lyx_gui_misc.C: adjust
14679         * lyxfunc.C: adjust
14680         * lyxvc.C: adjust
14681         * text2.C: adjust
14682         + more files in subdirs
14683
14684         * lyxparagraph.h (size): move up int file
14685         (GetLayout): ditto
14686
14687         * adjust all uses of Assert to lyx::Assert.
14688
14689         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14690         lyxfunctional in namespace lyx
14691         * layout.C (hasLayout): ditto
14692         (GetLayout): ditto
14693         (GetLayout): ditto
14694         (delete_layout): ditto
14695         (NumberOfClass): ditto
14696         * converter.C (GetFormat): ditto
14697         (GetNumber): ditto
14698         (Add): ditto
14699         (Delete): ditto
14700         (SetViewer): ditto
14701         * bufferlist.C (getFileNames): ditto
14702         (emergencyWriteAll): ditto
14703         (exists): ditto
14704         (getBuffer): ditto
14705         * MenuBackend.C (hasSubmenu): ditto
14706         (hasMenu): ditto
14707         (getMenu): ditto
14708         * BufferView_pimpl.C (getInsetByCode): ditto
14709
14710 2001-04-18  Juergen Vigna  <jug@sad.it>
14711
14712         * vspace.C (asLatexString): fixed the 100% problem.
14713
14714 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14715
14716         * lyxfunc.C (Dispatch):
14717         * minibuffer.C:
14718         * minibuffer.h: add a few std:: qualifiers
14719
14720 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14721
14722         * minibuffer.[Ch]: reimplement so that commands is initiated and
14723         run from lyxfunc, simplified som handling, and made the completion
14724         and history code for complete. wip.
14725
14726         * lyxfunc.C (processKeySym): call message
14727         (miniDispatch): new temporary method
14728         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14729         (LFUN_MESSAGE): implement
14730         (LFUN_MESSAGE_PUSH): implement
14731         (LFUN_MESSAGE_POP): implement
14732         (initMiniBuffer): the initial/defualt minibuffer message.
14733
14734         * lyxfont.[Ch]: inline some more getters
14735
14736         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14737
14738         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14739
14740         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14741         (AutoSave): use LFUN_MESSAGE
14742         (Reconfigure): ditto
14743
14744         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14745
14746         * figureForm.C: use LFUN_MESSAGE
14747
14748         * converter.C (runLaTeX): use LFUN_MESSAGE
14749
14750         * bufferview_funcs.C: use LFUN_MESSAGE
14751         (Melt): ditto
14752         (changeDepth): ditto
14753
14754         * bufferparams.h: use boost::
14755
14756         * bufferlist.h: inherit privately from noncopyable
14757
14758         * bufferlist.C (loadLyXFile): remove some commented code.
14759
14760         * buffer.C (runChktex): use LFUN_MESSAGE
14761
14762         * ShareContainer.h: inherit privately from noncopyable
14763
14764         * ParagraphParameters.[hC] (depth): inline it.
14765
14766         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14767         methods.
14768         (message): new method
14769         (messagePush): ditto
14770         (messagePop): ditto
14771         (show): init minibuffer
14772         (showState): direct call
14773
14774         * LaTeX.[Ch]: inherit privately from noncopyable
14775         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14776         instead of WriteStatus.
14777
14778         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14779
14780         * BufferView_pimpl.C (buffer): don't init minibuffer
14781         (workAreaButtonPress): use LFUN_MESSAGE
14782         (workAreaButtonRelease): ditto
14783         (savePosition): ditto
14784         (restorePosition): ditto
14785         (MenuInsertLyXFile): ditto
14786         (workAreaExpose): don't init minibuffer
14787         (update): remove commented code, simplify
14788
14789         * BufferView2.C (openStuff): use LFUN_MESSAGE
14790         (toggleFloat): ditto
14791         (menuUndo): ditto
14792         (menuRedo): ditto
14793         (copyEnvironment): ditto
14794         (pasteEnvironment): ditto
14795         (copy): ditto
14796         (cut): ditto
14797         (paste): ditto
14798         (gotoInset): ditto
14799         (updateInset): remove some commented code
14800
14801         * lastfiles.h: inherit privately from noncopyable
14802         * layout.h: ditto
14803         * lyx_gui.h: ditto
14804         * lyx_main.h: ditto
14805         * lyxlex.h: ditto
14806         * lyxlex_pimpl.h: ditto
14807
14808         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14809         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14810         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14811
14812         * LyXAction.h: inherit privately from noncopyable, add methods
14813         func_begin, func_end, returning iterators to the func map.
14814
14815         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14816         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14817         (func_begin): new method
14818         (func_end): new method
14819
14820         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14821         and not)
14822         (copySelection): ditto
14823         (pasteSelection): ditto
14824
14825         * BufferView.C: whitespace change
14826         * BufferView.h: inherit privately from noncopyable
14827
14828 2001-04-16  Allan Rae  <rae@lyx.org>
14829
14830         * tabular-old.C (l_getline):
14831         * spellchecker.C (sc_check_word):
14832         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14833         an unrecognised preprocessor directive.  So ensure they're wrapped.
14834
14835 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14836
14837         * src/exporter.C (Export): Give an error message when path to file
14838         contains spaces.
14839
14840 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14841
14842         * LaTeX.C (deplog): Always check that foundfile exists.
14843
14844 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14845
14846         * lyx_main.h:
14847         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14848
14849 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14850
14851         * tabular.[Ch] (getLabelList): implement new method
14852
14853         * minibuffer.h: comment ouf setTiimer
14854
14855         * minibuffer.C (ExecutingCB): constify res
14856         (peek_event): constify s
14857         (Set): constify ntext
14858         (Init): constify nicename
14859
14860         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14861
14862         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14863         (savePosition): use two params to Minibuffer::Set
14864         (restorePosition): ditto
14865
14866 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14867
14868         * lyx_main.C: include language.h
14869
14870         * Makefile.am (lyx_main.o): add language.h
14871
14872 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14873
14874         * exporter.C:
14875         * paragraph.C:
14876         * screen.C:
14877         * tabular.C:
14878         * CutAndPaste.C: include gettext.h
14879
14880         * lyxfont.h: remove old hack with ON and OFF.
14881
14882         * lyxparagraph.h:
14883         * lyxfont.h: do not include language.h...
14884
14885         * BufferView2.C:
14886         * LaTeXFeatures.C:
14887         * Painter.C:
14888         * bufferview_funcs.C:
14889         * font.C:
14890         * lyxfont.C:
14891         * text.C:
14892         * text2.C:
14893         * trans_mgr.C:
14894         * paragraph.C: ... but do it here instead
14895
14896 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14897
14898         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14899
14900         * tabular.C: small reformat
14901
14902         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14903         NEW_INSETS version
14904         (GetChar): ditto
14905         (BreakParagraph): ditto
14906         (SetOnlyLayout): ditto
14907         (SetLayout): ditto
14908
14909         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14910         with one arg less.
14911
14912         * lastfiles.C: removed most using decl, add std:: where needed
14913
14914         * buffer.C: ws changes
14915
14916         * MenuBackend.C (class compare_format): put into anon namespace
14917         (expand): constify label, names, action, action2
14918         (expand):
14919
14920         * text.C (SingleWidth): constify font
14921         (IsBoundary): constify rtl2
14922         (GetVisibleRow): constify ww
14923
14924         * LaTeX.C (deplog): constify logfile
14925
14926         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14927         start_x, end_x
14928         (workAreaExpose): constify widthChange, heightChange
14929
14930         * lyxrow.C (par): moved
14931         (height): moved
14932         (next): moved
14933         * lyxrow.h: as inlines here
14934
14935         * lyxfont.h (shape): moved from lyxfont.C
14936         (emph): moved from lyxfont.C
14937
14938         * lyxfont.C (LyXFont): use initialization list for all
14939         constructors
14940         (shape): move to lyxfont.h as inline
14941         (emph): move to lyxfont.h as inline
14942
14943
14944 2001-04-04  Juergen Vigna  <jug@sad.it>
14945
14946         * vspace.C: had to include stdio.h for use of sscanf
14947
14948 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14949
14950         * BufferView.h:
14951         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14952         independent of xforms.
14953
14954 2001-04-02  Juergen Vigna  <jug@sad.it>
14955
14956         * spellchecker.C: fixed namespace placing!
14957
14958 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14959
14960         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14961         the LyXParagraph * is 0.
14962
14963 2001-03-29  Juergen Vigna  <jug@sad.it>
14964
14965         * vspace.C: added support for %, c%, p%, l%.
14966         (stringFromUnit): added helper function.
14967         (asLatexString): changed to give right results for the %-values.
14968
14969         * buffer.C: convert the widthp in a width%.
14970
14971 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14972
14973         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14974         figureForm.[Ch].
14975
14976         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14977         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14978
14979         * lyx_cb.[Ch]: see above.
14980
14981         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14982         form1.[Ch].
14983
14984         * form1.[Ch]:
14985         * lyx.[Ch]: replaced by figure_form.[Ch].
14986
14987         * lyx_gui.C:
14988         * lyx_gui_misc.C:
14989         * lyxfunc.C: changed headers associated with above changes.
14990
14991 2001-03-27  Juergen Vigna  <jug@sad.it>
14992
14993         * BufferView_pimpl.C: set the temporary cursor right!
14994
14995 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14996
14997         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14998
14999 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15000
15001         * LString.h: removed "using std::getline"!
15002
15003         * BufferView_pimpl.C (Dispatch): changes due to changes in
15004         InsetInclude::Params.
15005
15006         * buffer.C (tag_name): removed redundant break statements as they were
15007         producing lots of warnings with my compiler.
15008
15009 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15010
15011         * LString.h: add "using std::getline" when using the real <string>.
15012
15013 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15014
15015         * buffer.C: removed bitset usage.
15016         PAR_TAG moved to an anonymous name space.
15017         (tag_name): new funtion, also in the anonymous namespace.
15018         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15019         (makeDocBookFile): clean code. Completed transition from string arrays
15020         to string vectors.
15021         (SimpleDocBookOnePar): code clean.
15022
15023 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15024
15025         * tabular.C: add some comments.
15026
15027 2001-03-22  Juergen Vigna  <jug@sad.it>
15028
15029         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15030         compatibility read a bit and fixed bug with minipage in different
15031         depth.
15032
15033 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15034
15035         * buffer.C (pop_tag): removed.
15036         (push_tag): removed.
15037         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15038         array replaced with vector. Added support for CDATA sections.
15039         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15040         at any nest level.
15041         (makeDocBookFile): XML conformant declaration of CDATA section,
15042         fixed bug related to <emphasis> in the first paragraph char.
15043         (sgmlOpenTag): exclude empty tags.
15044         (sgmlCloseTag): ditto.
15045
15046         * buffer.h (pop_tag): removed.
15047         (push_tag): removed.
15048
15049 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15050
15051         * language.h (Languages): added size_type and size().
15052
15053 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15054
15055         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15056         response on compability reading of minipages. One probliem is that
15057         the old usage of minipages was «flertydig»
15058
15059         * several files here and in subdirs: don't use static at file
15060         scope use anon namespaces instead.
15061
15062 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15063
15064         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15065         LaTeX output. This is necessary for Literate document
15066         processing.
15067
15068 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15069
15070         * buffer.C: insert hfill when needed.
15071
15072         * tabular.C (l_getline): use string::erase, small whitespace change.
15073
15074         * BufferView_pimpl.C: try the anon namespace.
15075         * WorkArea.C: ditto
15076
15077 2001-03-16  Juergen Vigna  <jug@sad.it>
15078
15079         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15080         otherwise it won't open options-dialogs.
15081
15082         * buffer.C: honor pextraWidth(p) on converting minipages.
15083
15084         * tabular.C (l_getline): changed the functions to strip trailing \r.
15085
15086 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15087
15088         * BufferView_pimpl.C:
15089         * minibuffer..C: added "using SigC::slot" declaration.
15090
15091 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15092
15093         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15094
15095         * text2.C: ditto
15096
15097         * text.C: ditto
15098
15099         * paragraph.C: ditto
15100
15101         * lyxtext.h: NO_PEXTRA
15102
15103         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15104
15105         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15106         * ParameterStruct.h: ditto
15107         * ParagraphParameters.h: ditto
15108         * lyxparagraph.h: ditto
15109
15110 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15111
15112         * buffer.C: add compability for minipage alignment.
15113         (latexParagraphs): remove unwanted pextra check.
15114
15115         * several files: remove CXX_WORKING_NAMESPACES
15116
15117         * buffer.C (pop_tag): tie is in namespace boost
15118
15119         * BufferView.h: noncopyable is in namespace boost
15120         * lyxlex.h: ditto
15121         * lyx_main.h: ditto
15122         * lyx_gui.h: ditto
15123         * layout.h: ditto
15124         * lastfiles.h: ditto
15125         * bufferlist.h: ditto
15126         * ShareContainer.h: ditto
15127         * LyXView.h: ditto
15128         * LyXAction.h: ditto
15129         * LaTeX.h: ditto
15130
15131 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15132
15133         * Merging changes from BRANCH_MVC back into HEAD.
15134
15135         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15136
15137 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15138
15139         * BufferView_pimpl.C: change from intl.C
15140
15141         * combox.h:
15142         * combox.C:
15143         * Makefile.am: move combox.*
15144
15145         * form1.h:
15146         * form1.C:
15147         * lyx_gui.C:
15148         * intl.h:
15149         * intl.C: remove dialog (covered by prefs)
15150
15151 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15152
15153         * lyxfunc.C (Dispatch): removed redundant break statement.
15154
15155 2001-03-14  Juergen Vigna  <jug@sad.it>
15156
15157         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15158
15159 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15160
15161         * buffer.C: add hack to fix compability reading of minipages.
15162
15163 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15164
15165         * buffer.C (getLists): Cleanup.
15166
15167 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15168
15169         * lyxfont.C (update): don't honor toggleall on font size.
15170
15171 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15172
15173         * bmtable.c:
15174         * bmtable.h:
15175         * Makefile.am: moved to frontends/xforms/
15176
15177         * lyx_gui_misc.C:
15178         * lyxfunc.C:
15179         * BufferView_pimpl.C: changes for moved mathpanel
15180
15181 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15182
15183         * gettext.h: fix gettext_init() in --disable-nls
15184
15185 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15186
15187         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15188
15189 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15190
15191         * lyx.C:
15192         * lyx.h: strip external form
15193
15194 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15195
15196         * BufferView_pimpl.C: add comment, destroySplash()
15197
15198 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15199
15200         * BufferView_pimpl.C:
15201         * LyXAction.C:
15202         * buffer.C:
15203         * commandtags.h:
15204         * lyxfunc.C: use re-worked insetinclude
15205
15206 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15207
15208         * buffer.C: add using std::stringstream.
15209
15210         * lyx_cb.C: readd using std::ios.
15211
15212         * buffer.C: add using std::map.
15213
15214         * BufferView_pimpl.C: add using std::vector.
15215
15216         * ShareContainer.h: add std:: to swap.
15217
15218         * buffer.h: add some typedefs
15219         * buffer.C (getLists): use them
15220         (getLists): renamed from getTocList.
15221         add a counter for the different float types and use it in the
15222         generated string.
15223         (getLists): use the same counter for the NEW_INSETS and the "non"
15224         NEW_INSETS
15225
15226         * lyx_cb.h: remove unused items, includes, using etc.
15227
15228         * ShareContainer.h: remove some commented code, add more comments
15229         and "documentation".
15230
15231 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15232
15233         * buffer.C (getTocList): make the list also when NEW_INSETS is
15234         defined.
15235
15236         * buffer.h: remove TocType
15237
15238         * buffer.C (getTocList): change to return a map<string,
15239         vector<TocItem> >, implement for dynamic number of list.
15240
15241         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15242         * text2.C (PasteSelection): adjust
15243         * CutAndPaste.C (pasteSelection): adjust
15244
15245         * FloatList.C (FloatList): update from the new_insets branch.
15246         * Floating.[Ch]: ditto
15247         * LaTeXFeatures.C: ditto
15248         * buffer.C: ditto
15249         * lyxlex_pimpl.C: ditto
15250
15251         * paragraph.C (Last): remove when NEW_INSETS is defined.
15252
15253         * other file: changes because of the above.
15254
15255 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15256
15257         * lyxparagraph.h: rename next to next_, previous to previous_,
15258         make them private for NEW_INSETS. Rename Next() to next(),
15259         Previous() to previous().
15260
15261         * other files: changes because of the above.
15262
15263 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15264
15265         * BufferView.h:
15266         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15267         problem.
15268
15269 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15270
15271         * main.C (main): pass lyx_localedir to gettext_init().
15272
15273         * gettext.h: remove locale_init and gettext_init macros
15274
15275         * gettext.C (locale_init): new function
15276         (gettext_init): new function
15277
15278         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15279         setlocale().
15280
15281 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15282
15283         * Moved credits to frontends:
15284         * credits.[Ch]: removed
15285         * credits_form.[Ch]: removed
15286         * lyx_gui_misc.C: remove credits stuff
15287         * Makefile.am:
15288
15289 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15290
15291         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15292
15293         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15294         unneeded destructor.
15295
15296         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15297         a standalone pointer again.
15298
15299         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15300
15301 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15302
15303         * Makefile.am:
15304         * filedlg.h:
15305         * filedlg.C:
15306         * LyXAction.C:
15307         * ToolbarDefaults.C:
15308         * bufferlist.C:
15309         * commandtags.h:
15310         * form1.C:
15311         * form1.h:
15312         * lyx_cb.C:
15313         * lyx_cb.h:
15314         * lyxfunc.h:
15315         * lyxfunc.C:
15316         * BufferView_pimpl.C: use new file dialog in GUII
15317
15318         * lyx_cb.h:
15319         * lyx_cb.C: remove LayoutsCB to Toolbar
15320
15321 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15322
15323         * ShareContainer.h (get): add std:: qualifier
15324
15325 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15326
15327         * ShareContainer.h: define a proper ShareContainer::value_type
15328         type (and use typename to please compaq cxx)
15329
15330 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15331
15332         * lyxparagraph.h: move serveral local vars to
15333         ParameterStruct/ParagraphParameters., use ShareContainer in
15334         FontTable., make vars in FontTable private and add getter and
15335         setter.
15336
15337         * paragraph.C: changes because of the above.
15338
15339         * lyxfont.h: remove copy constructor and copy assignment. (the
15340         default ones is ok), move number inside FontBits. move inlines to
15341         lyxfont.C
15342
15343         * lyxfont.C: add number to initializaton of statics, move several
15344         inlines here. constify several local vars. some whitespace
15345         cleanup. Dont hide outerscope variables.
15346
15347         * Spacing.h: add two new constructors to match the set methods.
15348
15349         * ShareContainer.h: new file, will perhaps be moved to support
15350
15351         * ParameterStruct.h: new file
15352
15353         * ParagraphParameters.h: new file
15354
15355         * ParagraphParameters.C: new file
15356
15357         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15358         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15359
15360         * BufferView_pimpl.C: ParagraphParameter changes.
15361         * buffer.C: Likewise.
15362         * bufferview_funcs.C: Likewise.
15363         * text.C: Likewise.
15364         * text2.C: Likewise.
15365
15366 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15367
15368         * lyxfind.C (LyXReplace): do not redefine default argument in
15369         implementation.
15370         (IsStringInText): ditto
15371         (SearchForward): ditto
15372         (SearchBackward): ditto
15373
15374 2001-03-06  Juergen Vigna  <jug@sad.it>
15375
15376         * lyxfind.C (IsStringInText): put parentes around expressions.
15377
15378 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15379
15380         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15381
15382 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15383
15384         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15385
15386         * stl_string_fwd.h: add comment
15387
15388         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15389
15390         * tabular.h:
15391         * tabular.C: remove unused DocBook methods
15392
15393         * intl.C:
15394         * language.C:
15395         * paragraph.C:
15396         * buffer.C:
15397         killed DO_USE_DEFAULT_LANGUAGE
15398
15399 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15400
15401         * lyx_gui.C: do not include language.h.
15402
15403         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15404         arguments in function implementation.
15405
15406 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15407
15408         * BufferView_pimpl.C: add <ctime>
15409
15410 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15411
15412         * BufferView_pimpl.C: add using std::find_if
15413
15414 2001-02-27  José Matos  <jamatos@fep.up.pt>
15415
15416         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15417         by OnlyPath.
15418
15419 2001-02-11  José Matos  <jamatos@fep.up.pt>
15420
15421         * buffer.C (makeDocBookFile): command styles now have a parameter as
15422         "title" by default.
15423
15424 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15425
15426         * layout_forms.[Ch]: removed
15427         * lyx_cb.[Ch]: out character
15428         * lyx_gui.C: out character
15429         * lyx_gui_misc.C: out character
15430         * bufferview_funcs.C: : out character,
15431         added toggleall as parameter in ToggleAndShow
15432
15433 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15434
15435         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15436
15437         * text2.C (SetCurrentFont): Disable number property at boundary.
15438
15439 2001-02-26  Juergen Vigna  <jug@sad.it>
15440
15441         * lyxfunc.C (getStatus): added a string argument override function so
15442         that this is correctly called from LyXFunc::Dispatch if it contains a
15443         do_not_use_argument which is used!
15444         (Dispatch): added check for "custom" export and call appropriate func.
15445
15446 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15447
15448         * lyxrc.C: Add language_command_local, language_use_babel and
15449         language_global_options.
15450
15451         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15452
15453         * buffer.C (makeLaTeXFile): Use language_use_babel and
15454         language_global_options.
15455
15456 2001-02-23  Juergen Vigna  <jug@sad.it>
15457
15458         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15459         which works with LyXText and putted it inside BufferView. Here now we
15460         only call for that part the BufferView::Dispatch() function.
15461
15462         * BufferView.C (Dispatch): added.
15463
15464         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15465         functions which needs to use a LyXText over from LyXFunc.
15466         (MenuInsertLyXFile): added
15467         (getInsetByCode): added
15468         (moveCursorUpdate): added
15469         (static TEXT): added
15470
15471 2001-02-22  Juergen Vigna  <jug@sad.it>
15472
15473         * BufferView_pimpl.C (update): call a status update to see if LyXText
15474         needs it.
15475
15476 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15477
15478         * vc-backend.C (revert): implement for CVS
15479         (getLog): implement for CVS
15480
15481 2001-02-20  Juergen Vigna  <jug@sad.it>
15482
15483         * text2.C (ClearSelection): added BufferView param for inset_owner call
15484
15485         * lyxfunc.C (TEXT): added this function and use it instead of
15486         directly owner->view()-text of getLyXText().
15487
15488 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15489
15490         * src/layout_forms.C: out preamble
15491         * src/layout_forms.h: out preamble
15492         * src/lyx_cb.C: out preamble
15493         * src/lyx_cb.h: out preamble
15494         * src/lyx_gui.C: out preamble
15495         * src/lyx_gui_misc.C: out preamble
15496         * src/lyxfunc.C: connect with guii preamble
15497
15498 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15499
15500         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15501
15502 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15503
15504         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15505         whether to run bibtex.
15506
15507 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15508
15509         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15510
15511 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15512
15513         * Makefile.am (lyx_SOURCES): removed bibforms.h
15514
15515         * vspace.h: doxygen
15516
15517         * text.C (GetVisibleRow): make several local vars const
15518
15519         * tabular.C: small cleanup.
15520
15521         * lyxserver.C (callback): use compare instead of strncmp
15522
15523         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15524         inlines to after class or to paragraph.C
15525
15526         * lyxfont.h: remove friend operator!=
15527
15528         * converter.h: move friend bool operator< to non friend and after
15529         class def.
15530
15531         * combox.h: small cleanup
15532
15533         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15534         to inlines after class def.
15535
15536         * buffer.C (pop_tag): use string operations instead of strcmp
15537
15538         * bmtable.c: doxygen, small cleanup
15539
15540         * LaTeX.h: remove friend operator==
15541
15542 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15543
15544         * screen.C:
15545         * lyxrc.[Ch]:
15546         * lyxfunc.C:
15547         * lyxfont.[Ch]:
15548         * lyx_cb.C:
15549         * intl.[Ch]:
15550         * commandtags.h:
15551         * buffer.C:
15552         * WorkArea.[Ch]:
15553         * LyXAction.C:
15554         * BufferView_pimpl.C:
15555         * BufferView.[Ch]: remove cruft
15556
15557 2001-02-14  Juergen Vigna  <jug@sad.it>
15558
15559         * lyxfunc.C: removed #if 0 unused code
15560
15561         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15562
15563         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15564
15565         * text2.C (SetSelection): added a BufferView * parameter
15566
15567 2001-02-13  Juergen Vigna  <jug@sad.it>
15568
15569         * lyxfunc.C (Dispatch): fixed protected blank problem.
15570         * BufferView2.C (protectedBlank): added LyxText * parameter.
15571
15572         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15573         (AppendColumn): same as above for column_info.
15574
15575         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15576         (moveCursorUpdate): use a LyXText param for support of InsetText.
15577
15578         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15579         (tripleClick): ditto
15580
15581         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15582
15583         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15584
15585         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15586
15587         * text2.C (SetSelection): set correct update status if inset_owner
15588         (ToggleFree): ditto
15589
15590 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15591
15592         * tabular.C: remove some commented code.
15593
15594 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15595
15596         * BufferView_pimpl.C: call hideSplash()
15597
15598         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15599
15600         * include_form.h:
15601         * bibforms.h: remove
15602
15603         * lyxfunc.C:
15604         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15605           add LFUN_CHILD_CREATE
15606
15607         * counters.h: fix tiny typo
15608
15609         * lyx_cb.C:
15610         * lyx.h:
15611         * lyx_gui.C:
15612         * lyx.C: move splash to frontends/xforms/
15613
15614         * lyx_gui_misc.C: move Include and Bibform to frontends
15615
15616         * lyxvc.h: clarify comment
15617
15618         * vspace.C: tiny housekeeping
15619
15620 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15621
15622         * text.C (PrepareToPrint): RTL Fix.
15623
15624         * paragraph.C (GetUChar): New method.
15625         (String):  Use GetUChar.
15626
15627         * buffer.C (asciiParagraph): Use GetUChar.
15628
15629 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15630
15631         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15632
15633 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15634
15635         * buffer.h:
15636         * buffer.C: rename to getLogName(), handle
15637           build log / latex log nicely
15638
15639 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15640
15641         * MenuBackend.C:
15642         * MenuBackend.h: remove support for reference menuitem type.
15643
15644 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15645
15646         * BufferView_pimpl.C: housekeeping
15647         * BufferView_pimpl.h:
15648         * LyXView.h:
15649         * Makefile.am:
15650         * Timeout.C:
15651         * Timeout.h:
15652         * minibuffer.h: move Timeout GUI-I
15653
15654 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15655
15656         * lyxrc.C (read): Update converters data-structures.
15657
15658 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15659
15660         * LaTeX.h (operator!=): add operator != for Aux_Info
15661
15662 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15663
15664         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15665
15666         * LaTeXLog.C: deleted, useful code moved to Buffer
15667
15668         * buffer.h:
15669         * buffer.C: new function getLatexLogName()
15670
15671         * lyx_gui_misc.C:
15672         * lyx_gui.C:
15673         * lyxvc.C:
15674         * lyxvc.h:
15675         * lyxfunc.C: use frontends for LaTeX and VC logs
15676
15677 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15678
15679         * LaTeX.h: yet another std:: that Allan forgot.
15680
15681         * Variables.C (set): renamed from isset(), because this clashes
15682         with some HP-UX macros (grr).
15683
15684 2001-02-06  Allan Rae  <rae@lyx.org>
15685
15686         * LaTeX.h: Another bug fix.  Missing std:: this time.
15687
15688 2001-02-04  Allan Rae  <rae@lyx.org>
15689
15690         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15691         floats problem. I've left it commented out because it's not quite
15692         correct.  It should also test that the current object is a table or
15693         figure inset.  But I haven't gotten around to figuring out how to do
15694         that.  I *think* it'll be something like: "table" == inset.type()
15695
15696         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15697         bool.
15698
15699 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15700
15701         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15702         all the citation/databases/styles in the auxilary file.
15703         (run): Rerun latex if there was a babel language error.
15704
15705 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15706
15707         * text.C (Backspace): Preserve the font when changing newline char
15708         with a space.
15709         (BreakParagraph): If the cursor is before a space, delete the space.
15710
15711         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15712
15713 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15714
15715         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15716         new argument (code).
15717         (ChangeCitationsIfUnique): New method.
15718
15719         * paragraph.C (GetPositionOfInset): Handle bibkey.
15720
15721 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15722
15723         * BufferView_pimpl.h: change type of Position::par_pos to
15724         LyXParagraph::size_type.
15725
15726 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15727
15728         * BufferView_pimpl.C (savePosition, restorePosition): Write
15729         messages to minibuffer.
15730
15731 2001-01-28  José Matos  <jamatos@fep.up.pt>
15732
15733         * buffer.C (makeDocBookFile): adds support for document language.
15734         A silly restriction on the name of LatexCommand types where removed.
15735         Added support for CDATA sections, allows to chars unescaped, used
15736         among others in code, to avoid escape < and >.
15737
15738 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15739
15740         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15741         saved positions instrad of a stack. Furthermore, a position is
15742         stored using paragraph id/paragraph position.
15743
15744         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15745         Remove LFUN_REF_BACK.
15746
15747 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15748
15749         * converter.C (dvipdfm_options): New method.
15750
15751 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15752
15753         * vspace.C (isValidLength): Fix for empty input string.
15754
15755 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15756
15757         * LyXAction.C (init): change description of LFUN_FIGURE to
15758         "Insert Graphics"
15759
15760 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15761
15762         * LaTeX.C: add using directive
15763
15764 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15765
15766         * MenuBackend.C (expand): Fix the sorting of the formats.
15767
15768 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15769
15770         * lyx_main.C: tiny error message fix
15771
15772 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15773
15774         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15775         calling fl_initialize(). This fixes the problem with ',' as
15776         decimal separator in text files.
15777
15778 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15779
15780         * trans.C (process): Fix the keymap bug.
15781
15782 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15783
15784         * LaTeX.C (scanAuxFiles): New method. Provides support for
15785         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15786         (scanLogFile) Scan for "run BibTeX" messages.
15787
15788         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15789         OT1 font encoding. Also, load the aecompl package if the ae
15790         package is loaded.
15791
15792         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15793
15794 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15795
15796         * texrow.C (increasePos): turn two error messages into debug
15797         messages.
15798
15799 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15800
15801         * LaTeX.C (scanAux): Handle the \@input macro.
15802         (runBibTeX): Use scanAux().
15803
15804         * language.C (latex_options_): New field.
15805
15806         * LaTeXFeatures.C (getMacros): Add language macros.
15807
15808         * buffer.C (makeLaTeXFile): Small fix.
15809
15810 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15811
15812         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15813
15814         * text2.C: add a using directive.
15815
15816 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15817
15818         * BufferView2.C:
15819         * lyx_gui_misc.h:
15820         * lyxfr1.C:
15821         * lyxfunc.C: kill LyXBell.
15822
15823 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15824
15825         * text.C (IsBoundary): Remove the error message
15826
15827         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15828
15829         * lyxrc.C (setDefaults): Correct initialization value for
15830         font_norm_type.
15831
15832 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15833
15834         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15835         gotoError().
15836
15837         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15838         and GotoNextNote().
15839
15840         * src/LyXAction.C: Added reference-next.
15841
15842         * text.C (InsertChar): Use contains instead of strchr.
15843
15844         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15845
15846 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15847
15848         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15849         alignment commands (when needed).
15850
15851         * text.C (InsertChar): Add ':' to number separator chars.