]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
210ceb18b6c151c874e0134efdb00223d74fd703
[lyx.git] / src / ChangeLog
1 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * kbsequence.C (print): use UI native formatting for menu
4         shortcuts
5
6         * text.C (insertChar): call Paragraph::insertChar with a font
7         argument (cosmetic)
8
9         * paragraph.C (insertInset, insertChar): the version that takes a
10         LyXFont argument is now a wrapper around the other one (the
11         opposite used to be true). 
12
13         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
14         argument. Font setting is done in Paragraph now.
15
16 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
17
18         * outputparams.h: add new members intitle and lang.
19
20         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
21         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
22
23 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
24
25         * text3.C (dispatch): remove special handling of button 4 and 5,
26         it is now taken care of in the frontend code.
27
28 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
29
30         * Spacing.h: add <string> (STLPort compile fix)
31
32 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
33
34         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
35
36 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
37
38         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
39         to bool.
40
41         * converter.C (showMessage): inherit from unary_function, make
42         operator() const.
43
44         * buffer.C (writeFile): initialize retval
45
46         * InsetList.h: rename private variable list to list_
47         * InsetList.[Ch]: adjust accordingly.
48
49 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
50
51         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
52         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
53         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
54         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
55         * ParagraphParameters.C, LaTeXFeatures.C: replace
56         "support/std_sstream.h" with <sstream>
57
58 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
59
60         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
61         * lyxsocket.C (LyXServerSocket): ditto
62         (serverCallback): ditto
63
64 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
65
66         * LaTeXFeatures.C: check release date when loading jurabib.
67
68 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
69
70         * lyxserver.C (startPipe): call register_socket_callback
71         (endPipe): call unregister_socket_callback
72
73 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
74
75         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
76         (LyXServerSocket): register the callback
77         (LyXServerSocket): unregister the callback
78         (fd): delete function
79         (serverCallback): improve error checking and setup the callbacks.
80         (dataCallback): change arg to fd.
81         (writeln): new func (copied fro the client socket) used for server
82         write to client.
83         (LyXDataSocket): simplify
84         (~LyXDataSocket): close ann unregiser callback
85         (server): delete function
86         (fd): delete function
87         (readln): small changes, improve some std::string usage
88         (writeln): constify a bit
89
90 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
91
92         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
93         Qt frontend
94
95 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
96
97         * BufferView_pimpl.C (setBuffer): set the layout combox value only
98         after it has been populated
99
100 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
101
102         * text2.C (insertInset): move cursor when inserting inset.
103
104 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
105
106         * kbmap.C (findbindings): a couple of new methods. returns a
107         container of kb_sequence objects. The real work is done by the
108         private recursive version
109         (printbindings): uses findbindings to print out a bracketed list
110         of bindings (renamed from findbinding).
111
112         * MenuBackend.C (binding): use kb_keymap::findbindings
113
114         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
115
116 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
117
118         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
119
120 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
121
122         * paragraph.C (isWord): return true on insets that report
123         isLetter().
124
125         * text.C (getWord): use Paragraph::isWord to decide what is in a
126         word and what is not; fix bug 1609.
127
128 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
129
130         * tex-strings.C: add "none" to string_paperpackages[], fixes
131         off-by-one-error in the paperpackage selection.
132
133         * lyxlex.[Ch]:
134         * tex-strings.[Ch]: char const * string[n]
135         -> char const * const string[]
136
137 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
138
139         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
140         command, return early.
141
142 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
143
144         * debug.h: add DEBUG to enum and fix size of ANY.
145
146         * debug.C: add support for Debug::DEBUG
147         (showTags): cast errorTags.level to unsigned int
148
149         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
150         (redoCurrentBuffer): ditto
151         (updateScrollbar): ditto
152         * cursor.C (dispatch): ditto
153         * text2.C (setLayout): ditto
154         (setFont): ditto
155         (updateCounters): ditto
156         (editXY): ditto
157         (deleteEmptyParagraphMechanism): ditto
158
159 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
160
161         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
162         annotations to cleanup the Makefile slightly.
163
164 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
165
166         * lyxrc.C: do not set user_email to a default value but use empty
167         instead. The entry used to be translated, which does not work
168         since at the point where lyxrc is constructed there is no
169         translation service available
170
171         * messages.C (getLocaleDir): remove and use directly
172         lyx_localedir() instead
173
174 2004-06-02  Angus Leeming  <leeming@lyx.org>
175
176         Fix crash caused by dereferencing null pointer 'exportdata' in
177         OutputParams by creating a new ExportData variable on the heap,
178         storing it in a boost::shared_ptr.
179         The crash was triggered when generating an Instant Preview
180         of an external inset.
181
182         * Makefile.am: add outputparams.C
183
184         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
185         (c-tor): allocate memory to it.
186
187         * exporter.C (c-tor): associated changes.
188
189 2004-06-01  Angus Leeming  <leeming@lyx.org>
190
191         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
192         contains data before calling isInset(0). (Bug 1513.)
193
194 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
195
196         * exporter.C (checkOverwrite): new method
197         * exporter.C (copyFile): new method
198         * exporter.C (Export): copy referenced files to the document dir
199         * exporter.[Ch]: new class ExportedFile
200         * exporter.[Ch]: new class ExportData. Contains currently the
201         names of referenced external files
202         * outputparams.h: add exportdata member.
203
204 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
205
206         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
207         version.C-tmp
208
209 2004-05-19  Angus Leeming  <leeming@lyx.org>
210
211         * LaTeXFeatures.C:
212         * ToolbarBackend.C:
213         * bufferparams.C:
214         * lyxfunc.C: small changes due to the introduction of namespace
215         lyx::frontend and the moving of namespace biblio to lyx::biblio.
216
217 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
218
219         * text3.C (dispatch): supress update when only moving the cursor
220         * cursor.C (selHandle): remove commented code
221
222 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
223
224         * paragraph.C (startTeXParParams): correct column count
225         * CutAndPaste.C (pasteSelection): remove const_cast
226         * output_docbook.C (docbookParagraphs): remove const_cast
227         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
228         const_cast and return ParagraphList::const_iterator
229         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
230         * output_plaintext.C (writeFileAscii): remove const_cast
231         * paragraph.[Ch] (simpleTeXOnePar): make const
232         * paragraph_funcs.C (outerPar): use const iterators
233         * paragraph_pimpl.C (validate): use const iterators
234         * text.C (setHeightOfRow): use const iterators
235
236 2004-05-17  Angus Leeming  <leeming@lyx.org>
237
238         * lfuns.h:
239         * LyXAction.C (init): new LFUN_INSET_REFRESH.
240
241         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
242         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
243         if the citation engine has changed.
244
245 2004-05-14  José Matos  <jamatos@lyx.org>
246
247         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
248         if the textclass does not provide it. Have it different for sgml and
249         xml.
250         support the language of document.
251         * output_docbook.C (docbookParagraphs):
252         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
253         first anchor as the id of the paragraph, remove special case code.
254         * sgml.C (escapeChar): escape only < & >.
255
256 2004-05-14  Angus Leeming  <leeming@lyx.org>
257
258         * bufferparams.h: move biblio::CiteEngine enum here to minimize
259         dependencies on src/frontends/controllers/biblio.h. Define a
260         CiteEngine_enum wrapper class to enable the enum to be forward
261         declared.
262
263 2004-05-12  Angus Leeming  <leeming@lyx.org>
264
265         * buffer.C: up LYX_FORMAT to 234.
266         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
267         use_numerical_citations with a single biblio::CiteEngine cite_engine
268         variable.
269         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
270
271 2004-05-13  José Matos  <jamatos@lyx.org>
272
273         * converter.h:
274         * converter.C (Converter, readFlags): add xml member.
275         * outputparams.h: add XML flavor.
276         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
277
278 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
279
280         * lyxfunc.C (dispatch):
281         (getStatus): fix handling of LFUN_SEQUENCE
282
283 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
284
285         * debug.C (showLevel): do not forget the end-of-line marker
286
287 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
288
289         * kbmap.C (read): do not stop parsing a bind file when an error
290         occurs (bug 1575)
291
292 2004-04-29  Angus Leeming  <leeming@lyx.org>
293
294         * cursor.C:
295         * factory.C:
296         * pariterator.C:
297         * text2.C: wrap a bunch of #warning statements
298         inside #ifdef WITH_WARNINGS blocks.
299
300 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
301
302         * buffer.C: increment format to 233.
303
304 2004-04-28  Angus Leeming  <leeming@lyx.org>
305
306         * BufferView_pimpl.C:
307         * lyxfunc.C:
308         * text3.C:
309         s/updateToolbar()/updateToolbars()/
310         s/Toolbar.h/Toolbars.h/
311
312 2004-04-28  Angus Leeming  <leeming@lyx.org>
313
314         * BufferView.[Ch] (c-tor):
315         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
316         No longer passes these data to the WorkArea generator.
317
318 2004-04-28  Angus Leeming  <leeming@lyx.org>
319
320         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
321
322 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
323
324         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
325
326 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
327
328         * output_latex.C (TeXEnvironment): make sure that there is a line
329         break before \end{foo} for the last paragraph of a document
330         (TeXOnePar): if the paragraph is at the end of the document (or
331         inset) and the language has to be reset, then make sure that the
332         line break is _before_ the language command, not after (fixes bug
333         1225); also make sure that the language reset command is the first
334         thing after the paragraph (to ensure proper nesting of
335         environments and thus fix bug 1404)
336
337 2004-04-21  John Levon  <levon@movementarian.org>
338
339         * ToolbarBackend.h:
340         * ToolbarBackend.C: make "name" be a programmatic name
341         and a gui_name field.
342
343         * lyxfunc.C: display the minibuffer on M-x
344
345 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
346
347         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
348         (bug 1526)
349
350 2004-04-19  Angus Leeming  <leeming@lyx.org>
351
352         * BufferView_pimpl.C (setBuffer): changed preview interface.
353
354         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
355         possible values.
356
357 2004-04-19  John Levon  <levon@movementarian.org>
358
359         * BufferView_pimpl.C:
360         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
361
362 2004-04-05  Angus Leeming  <leeming@lyx.org>
363
364         * text.C (redoParagraphs): add call to updateCounters(), thereby
365         fixing the missing "Figure #:" label from the caption of a
366         figure float.
367
368 2004-04-13  Angus Leeming  <leeming@lyx.org>
369
370         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
371         cursor is clicked out of an inset.
372
373 2004-04-13  Angus Leeming  <leeming@lyx.org>
374
375         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
376         than an InsetOld one.
377
378 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
379
380         * format.[Ch]: add editor to Format
381         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
382         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
383
384 2004-04-08  André Pönitz  <poenitz@gmx.net>
385
386         * metricsinfo.h: remove PainterInfo::width member
387
388 2004-04-08  Angus Leeming  <leeming@lyx.org>
389
390         * lyx_sty.C (boldsymbol_def): modify so that it outputs
391         "\providecommand" rather than "\newcommand", thereby preventing
392         clashes with packages that define "\boldsymbol" themselves.
393         Eg, beamer.
394
395 2004-04-08  Angus Leeming  <leeming@lyx.org>
396
397         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
398         thereby squashing an unnecessary warning.
399
400 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
401
402         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
403         setBuffer()
404
405 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
406
407         * BufferView.C (setCursor): call redoParagraph (some insets could
408         have been opened)
409         (putSelectionAt): remove the 'double update' trick
410
411         * BufferView_pimpl.C (fitCursor): call refreshPar
412         (workAreaDispatch): remove an uneeded update call
413         (dispatch): remove some manual update calls
414
415         * cursor.[Ch]: remove cached_y_, updatePos
416         (selHandle): set noUpdate when appropriate
417
418         * lyxfunc.C (dispatch): track if we need an update
419
420         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
421
422         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
423         (paintSelection): cheap optimization, do not call cursorX when not
424         needed
425         (paintPars): change signature
426         (refreshPar): add
427         (paintText): adjust
428         (paintTextInset): adjust
429
430         * text.C: adjust
431
432 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
433
434         * lengthcommon.C: compilation fix: remove explicit array size from
435         unit_name[] and friends
436
437 2004-04-05  Angus Leeming  <leeming@lyx.org>
438
439         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
440
441         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
442         present only for the preferences dialog.
443         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
444
445 2004-04-05  Angus Leeming  <leeming@lyx.org>
446
447         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
448         to enable the frontends to export changes to lyxrc correctly.
449
450         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
451
452 2004-04-07  André Pönitz  <poenitz@gmx.net>
453
454         * cursor.[Ch] (selClear, adjust): remove math
455
456         * cursor_slice.C: more agressive assert
457
458         * lyxfunc.C:
459         * BufferView_pimpl.C: rework mouse event dispatch
460
461         * dociterator.C:
462         * paragraph.C:
463         * text2.C:
464         * text3.C: adjust
465
466 2004-04-05  André Pönitz  <poenitz@gmx.net>
467
468         * cursor.[Ch] (valign, halign...): remove unneeded functions
469
470 2004-04-05  Angus Leeming  <leeming@lyx.org>
471
472         * lyxlength.[Ch] (unit_name et al.): const-correct.
473
474 2004-04-05  Angus Leeming  <leeming@lyx.org>
475
476         * BufferView_pimpl.C:
477         * buffer.C:
478         * counters.C:
479         * cursor.C:
480         * lyxfunc.C
481         * paragraph.C:
482         * pariterator.C:
483         * text.C:
484         * text2.C:
485         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
486
487 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
488
489         * text3.C (getStatus): add LFUN_BEGINNINGBUF
490
491 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
492
493         * lyxfind.C: add a couple of inTexted() tests + other small fixes
494         * BufferView_pimpl.[Ch] (getStatus)
495         * BufferView.[Ch] (getStatus): add
496         * lyxfunc.C (getStatus): move lfuns handled in
497         BufferView::dispatch to te function above
498         * Cursor.C (setSelection): set selection() = true
499
500 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
501
502         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
503
504 2004-03-31  Angus Leeming  <leeming@lyx.org>
505
506         * lyxfunc.C (dispatch): Fall through to the generic
507         Dialogs::show("preamble").
508
509 2004-03-31  Angus Leeming  <leeming@lyx.org>
510
511         * lyxfunc.C (dispatch): Fall through to the generic
512         Dialogs::show("spellchecker").
513
514 2004-03-31  Angus Leeming  <leeming@lyx.org>
515
516         * lyxfunc.C (getStatus, dispatch): changed invocation of the
517         preferences dialog.
518
519 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
520
521         * BufferView.C
522         * cursor.[Ch]
523         * dociterator.[Ch]:
524         * insetiterator.[Ch]:
525         * lyxfind.C:
526         * lyxfunc.C:
527         * pariterator.[Ch]:
528         * text2.C:
529         * undo.[Ch]: s/DocumentIterator/DocIterator/g
530
531 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
532
533         * BufferView.C (setCursor, putSelectionAt): call edit to open the
534         insets where we are putting the cursor.
535
536 2004-03-31  Angus Leeming  <leeming@lyx.org>
537
538         * lfuns.h:
539         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
540
541         * lyxrc.[Ch] (read, write): overloaded member functions taking
542         a std::[io]stream arguments.
543
544         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
545
546 2004-03-31  Angus Leeming  <leeming@lyx.org>
547
548         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
549         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
550
551         * lyxtextclass.C (load): if the text class couldn't be loaded, then
552         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
553
554 2004-03-31  Angus Leeming  <leeming@lyx.org>
555
556         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
557         the LFUN_ALL_INSETS_TOGGLE code.
558
559 2004-03-30  Angus Leeming  <leeming@lyx.org>
560
561         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
562         has died. Fall through to the generic Dialogs::show("document").
563
564 2004-03-30  Angus Leeming  <leeming@lyx.org>
565
566         * lfuns.h:
567         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
568         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
569
570         * lyxfunc.C (getStatus, dispatch): define the actions for these
571         lfuns. Little more than a cut and pste job from ControlDocument.C
572
573         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
574
575 2004-03-30  Angus Leeming  <leeming@lyx.org>
576
577         * lfuns.h:
578         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
579         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
580
581         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
582         open/closed state of ollapsable insets. Usage:
583
584         all-inset-toggle <state> <name>, where
585         <state> == "open" || "closed" || "toggle" and
586         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
587
588         * lyxtext.h, text2.C (toggleInset): removed.
589
590         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
591         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
592         now passes LFUN_INSET_TOGGLE to the found inset.
593
594         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
595         is now invoked as "all-insets-toggle toggle branch".
596
597 2004-03-30  Angus Leeming  <leeming@lyx.org>
598
599         * dociterator.C:
600         * insetiterator.C:
601         * pariterator.[Ch]: added/corrected header blurb.
602
603 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
604
605         * dociterator.[Ch]: add an inset_ member
606         (backwardPos): implemented
607         (backwardPos, forwardPos): use inset_ when the stack is empty.
608         (doc_iterator_begin, doc_iterator_end): implemented
609         * pariterator.[Ch]: adjust, add begin, end
610         * insetiterator.[Ch]: adjust, add begin, end
611         * cursor.C:
612         * document.C:
613         * BufferView.C:
614         * BufferView_pimpl.C:
615         * CutAndPaste.C: adjust
616
617 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
618
619         * buffer.C: increment file format to 232.
620         * LaTeXFeatures.C: add bibtopic package.
621         * bufferparams.[Ch]: param \use_bibtopic.
622
623         * lyxrc.[Ch]: add lyxrc bibtex_command
624         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
625
626         * buffer.C: increment file format to 231.
627
628 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
629
630         * dociterator.C: implement forwardPar
631         * iterators.[Ch]: remove, replaced by
632         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
633         * BufferView.C:
634         * BufferView_pimpl.C:
635         * CutAndPaste.C:
636         * buffer.C:
637         * bufferview_funcs.C:
638         * cursor.C:
639         * lyxfind.C
640         * lyxfunc.C
641         * paragraph_funcs.C
642         * toc.C:
643         * Makefile.am: adjust
644
645 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
646
647         * CutAndPaste.C (pasteSelection): fix 2 crashes
648         (eraseSelection): fix a crash
649         * paragraph_funcs.C: remove a warning
650
651 2004-03-28  Angus Leeming  <leeming@lyx.org>
652
653         * lfuns.h:
654         * LyXAction.C (init): new LFUN_PRINT.
655
656         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
657
658 2004-03-27  Angus Leeming  <leeming@lyx.org>
659
660         * lfuns.h:
661         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
662
663         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
664
665 2004-03-27  Angus Leeming  <leeming@lyx.org>
666
667         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
668         insetlist always contains non-null pointers to insets.
669
670 2004-03-26  Angus Leeming  <leeming@lyx.org>
671
672         * src/BufferView_pimpl.C:
673         * src/CutAndPaste.C:
674         * src/buffer.C:
675         * src/iterators.C:
676         * src/output_plaintext.C:
677         * src/outputparams.h:
678         * src/paragraph_funcs.C:
679         * src/rowpainter.C:
680         * src/text.C:
681         * src/text2.C:
682         * src/frontends/controllers/ControlErrorList.C:
683         * src/frontends/gtk/FileDialogPrivate.C:
684         * src/frontends/gtk/GPainter.C:
685         * src/frontends/gtk/GToolbar.C:
686         * src/frontends/qt2/QRef.C:
687         * src/mathed/math_scriptinset.C: squash compiler warnings.
688
689 2004-03-26  Angus Leeming  <leeming@lyx.org>
690
691         * ispell.C (LaunchIspell::start):
692         * lyx_cb.C (AutoSaveBuffer::start):
693         invoke run(DontWait) rather than runNonBlocking().
694
695 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
696
697         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
698
699 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
700
701         * kbsequence.C (print): adjust
702
703         * kbmap.C (printKeySym): rename and change signature
704         (printKey): use LyXKeySym::print()
705
706 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
707
708         * undo.C: add using std::advance to compile for stlport
709
710 2004-03-24  Angus Leeming  <leeming@lyx.org>
711
712         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
713         it leads to a crash when no buffer is present.
714
715 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
716             Martin Vermeer  <martin.vermeer@hut.fi>
717
718         * lyxfunc.C (dispatch):
719         * bufferparams.C (readToken): use the new LColor::setColor
720
721         * LColor.[Ch] (setColor): new version that takes two strings as
722         argument and creates a new color entry if necessary
723
724 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
725
726         * buffer.C (makeLaTeXFile): if the main latex file that is
727         processed is usually a subdocument of some master, then pretend
728         for a while that it is actually the master
729
730 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
731
732         * buffer.C (getLabelList):
733         (getBibkeyList): use getMasterBuffer()
734         (getMasterBuffer): new method. Returns the main document in the
735         case where one is using included documents.
736
737 2004-03-25  André Pönitz  <poenitz@gmx.net>
738
739         * Makefile.am:
740         * iterators.[Ch]:
741         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
742
743         * ParagraphList_fwd.h: change ParagraphList to a std::vector
744
745         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
746         text*.C over here. Rename namespace CutAndPaste to lyx::cap
747
748         * ParameterStruct.h: merge with ParagraphParameters
749
750         * lyxtext.h: remove LyXText::parOffset() and getPar()
751
752         * text3.C: Remove all 'manual' update calls. We do now one per user
753         interaction which is completely sufficient.
754
755         * Bidi.C:
756         * BufferView.[Ch]:
757         * BufferView_pimpl.C:
758         * FontIterator.[Ch]:
759         * MenuBackend.C:
760         * ParagraphParameters.[Ch]:
761         * buffer.C:
762         * buffer.h:
763         * bufferlist.C:
764         * cursor.[Ch]:
765         * cursor_slice.[Ch]:
766         * dociterator.[Ch]:
767         * errorlist.[Ch]:
768         * factory.C:
769         * lfuns.h:
770         * lyxfind.C:
771         * lyxfunc.C:
772         * output_docbook.[Ch]:
773         * output_latex.[Ch]:
774         * output_linuxdoc.[Ch]:
775         * output_plaintext.[Ch]:
776         * paragraph.[Ch]:
777         * paragraph_funcs.[Ch]:
778         * paragraph_pimpl.[Ch]:
779         * rowpainter.C:
780         * tabular.[Ch]:
781         * text.C:
782         * text2.C:
783         * toc.C:
784         * undo.[Ch]: adjust
785
786         * frontends/controllers/ControlDocument.C:
787         * frontends/controllers/ControlErrorList.C:
788         * frontends/controllers/ControlSpellchecker.C:
789         * insets/inset.C:
790         * insets/inset.h:
791         * insets/insetbase.h:
792         * insets/insetbibitem.C:
793         * insets/insetbox.C:
794         * insets/insetbranch.C:
795         * insets/insetcaption.C:
796         * insets/insetcharstyle.C:
797         * insets/insetcharstyle.h:
798         * insets/insetcollapsable.C:
799         * insets/insetcollapsable.h:
800         * insets/insetert.C:
801         * insets/insetfloat.C:
802         * insets/insetfoot.C:
803         * insets/insetmarginal.C:
804         * insets/insetnote.C:
805         * insets/insetoptarg.C:
806         * insets/insettabular.C:
807         * insets/insettext.C:
808         * insets/insettext.h:
809         * insets/insetwrap.C:
810         * mathed/math_mboxinset.C:
811         * mathed/math_nestinset.C:
812         * mathed/math_scriptinset.C:
813         * mathed/math_scriptinset.h:
814         * support/types.h:
815
816 2004-03-24  Angus Leeming  <leeming@lyx.org>
817
818         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
819         deal with any child processes that have finished but are waiting to
820         communicate this fact to the rest of LyX.
821
822 2004-03-24  Angus Leeming  <leeming@lyx.org>
823
824         64-bit compile fixes.
825
826         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
827         (c-tor): pass lyx::pos_types rather than ints.
828
829         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
830         lyx::pos_type.
831
832         * text.C (Delete): compile fix.
833         (getPar): ensure that function declaration is the same as that in
834         the header file.
835
836 2004-03-23  Angus Leeming  <leeming@lyx.org>
837
838         * ispell.C (LaunchIspell):
839         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
840         a boost::shred_ptr rather than a std::auto_ptr.
841
842 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
843
844         * lyxfunc.C (getStatus): handle read-only buffers correctly;
845         handle LFUN_FILE_INSERT_*
846
847         * lyxrc.C (setDefaults, getDescription, output, read):
848         * lyxrc.h: remove ps_command
849
850 2004-03-22  Angus Leeming  <leeming@lyx.org>
851
852         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
853         Ensure that error_handler is processed once only and that all data
854         is saved before attempting to output any warning messages.
855
856         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
857
858 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
859
860         * tabular.C (TeXRow): crash fix (from Kayvan and André)
861
862 2004-03-19  André Pönitz  <poenitz@gmx.net>
863
864         * cursor.[Ch] (reset): take main text inset as argument
865
866         * BufferView: adjust
867         * BufferView_pimpl.C: adjust
868
869         * paragraph.[Ch]: fix completely broken operator=()
870
871 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
872
873         * LColor.C (getFromLyXName): make sure that the color name is used
874         as lowercase.
875
876 2004-03-17  Angus Leeming  <leeming@lyx.org>
877
878         * lfuns.h:
879         * LyXAction.C (init): remove LFUN_FORKS_KILL.
880
881         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
882         dialog and to kill a forked process.
883
884 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
885
886         * text2.C (setCursorFromCoordinates): fix font problem
887
888 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
889
890         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
891         bogus "rebuild cursor" code
892
893 2004-03-11  André Pönitz  <poenitz@gmx.net>
894
895         * buffer.[Ch]: use InsetText instead of LyXText as container for
896         the main lyx text.
897
898         * dociterator.[Ch]: drop the BufferView * member which is not needed
899         anymore after the change to buffer.C
900
901         * paragraph_funcs.C:
902         * text.C:
903         * text2.C:
904         * BufferView.[Ch]:
905         * BufferView_pimpl.[Ch]:
906         * cursor.[Ch]:
907         * cursor_slice.[Ch]: adjust
908
909         * text3.C: fix bug in mathDispatch
910
911 2004-03-08  André Pönitz  <poenitz@gmx.net>
912
913         * undo.[Ch]: use 'StableDocumentIterator' as base for
914         the Undo struct.
915
916 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
917
918         * LaTeXFeatures.C:
919         * bufferparams.[Ch]: add jurabib support and param.
920
921         * LaTeX.C: add FIXME/comment.
922
923 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
924
925         * buffer.C: increment file format to 230.
926
927 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
928
929         * cursor.C (dispatch): avoid infinite loops
930
931 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
932
933         * rowpainter.C (paintSelection): fix x coordinates
934
935 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
936
937         * text.C (rowBreakPoint): fix breaking before displayed insets
938
939 2004-03-01  André Pönitz  <poenitz@gmx.net>
940
941         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
942
943         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
944
945         * Makefile.am:
946         * BufferView.C:
947         * BufferView_pimpl.C:
948         * buffer.C:
949         * lyxfind.C:
950         * lyxfunc.C:
951         * text.C:
952         * text2.C:
953         * text3.C: adjust
954
955 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
956
957         * lyxtext.h:
958         * text.C:
959         * text2.C:
960         * rowpainter.C:
961         * BufferView_pimpl.C: rename textwidth -> maxwidth,
962         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
963
964 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
965
966         * Bidi.[Ch] (computeTables): const correctness
967         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
968         fill_hfill, fill_label_hfill and x from Row
969         * lyxtext.h: prepareToPrint returns a RowMetrics
970         * rowPainter.C: adjust
971         * text.C (prepareToPrint): use width, not textWidth. adjust
972         (redoParagraphInternal, cursorX): adjust
973         * text2.C (getColumnNearX): adjust
974         (init): put a default value to the top LyXText::width
975
976 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
977
978         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
979
980 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
981
982         * lyxtext.h: add FontIterator class
983
984         * text.C (FontIterator, operator*, operator->, operator++): add
985         (rowBreakPoint, setRowWidth): adjust (fixing a
986         rebreaking bug)
987
988 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
989
990         * BufferView_pimpl.C (workAreaDispatch): allow also
991         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
992
993 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
994
995         * text.C (rowBreakPoint): fix a bug showing with very large insets
996
997 2004-02-25  André Pönitz  <poenitz@gmx.net>
998
999         * text3.C:
1000         * cursor.[Ch]: move some mathed specific code to mathed
1001
1002 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1003
1004         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1005         use_tempdir in preferences
1006         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1007         tempfile creation
1008         * lyx_main.C: ensure that tempdir is valid
1009         * lyxlex.h: correct typo
1010         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1011         * paragraph.[Ch] (isMultiLingual): make const
1012         * cursor.[Ch] (openable): make const
1013
1014 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1015
1016         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1017
1018 2004-02-20  André Pönitz  <poenitz@gmx.net>
1019
1020         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1021
1022         * cursor.[Ch]: prepare for localized getStatus()
1023
1024         * lyxtext.h:
1025         * tabular.C:
1026         * text.C:
1027         * text2.C:
1028         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1029
1030 2004-02-20  André Pönitz  <poenitz@gmx.net>
1031
1032         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1033
1034 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1035
1036         * text2.C (setCursorFromCoordinates): switch to absolute coords
1037         (cursorUp): adjust
1038         (cursorDown): adjust
1039         * text3.C (dispatch): adjust
1040
1041 2004-02-16  André Pönitz  <poenitz@gmx.net>
1042
1043         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1044           insets/ChangeLog)
1045
1046         * cursor_slice.[Ch]: remove unneeded acessor function
1047
1048         * lyxtext.h: rename rtl() to isRTL()
1049
1050         * rowpainter.C:
1051         * tabular.C:
1052         * text.C:
1053         * text2.C:
1054         * text3.C: adjust
1055
1056 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1057
1058         * rowpainter.C (paintSelection): coord fix
1059
1060 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1061
1062         * Spacing.C: compile fix
1063
1064 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1065
1066         * cursor.C (dispatch): restore current_ before returning
1067
1068 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1069
1070         * text2.C (cursorUp, cursorDown): fix coords
1071         (moveUp): fix crash
1072
1073 2004-02-12  André Pönitz  <poenitz@gmx.net>
1074
1075         * lyxtext.h:
1076         * text.C:
1077         * text2.C:
1078         * text3.C: add LCursor & parameter to most cursor movement functions
1079           remove usage of LyXText::cursorRow() and cursorPar()
1080
1081         * cursor.[Ch]: add textRow() needed members
1082
1083         * BufferView.C:
1084         * BufferView_pimpl.C:
1085         * paragraph.[Ch]:
1086         * BufferView.C:
1087         * BufferView_pimpl.C: adjust
1088
1089 2004-02-11  André Pönitz  <poenitz@gmx.net>
1090
1091         * lyxfunc.C:
1092         * BufferView.[Ch]:
1093         * BufferView_pimpl.C: shift undo/redo handling
1094
1095         * cursor.[Ch]: fix mathed crash
1096
1097         * lyxfind.C:
1098         * lyxtext.h: move selectionAsText to LCursor
1099
1100         * output_latex.C:
1101         * paragraph.C:
1102         * text.C:
1103         * text2.C:
1104         * text3.C: adjust
1105
1106         * rowpainter.C: fix excessive drawing
1107
1108 2004-02-06  André Pönitz  <poenitz@gmx.net>
1109
1110         * BufferView.[Ch]:
1111         * BufferView_pimpl.[Ch]:
1112         * text3.C: move some text specific LFUN handling
1113
1114 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1115
1116         * text3.C (checkInsetHit): adjust coords
1117         * text2.C (getColumnNearX): adjust coords
1118         (edit): adjust coords
1119         * text.C (getRowNearY): add two asserts
1120
1121 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1122
1123         * converter.C:
1124         * format.C: add using std::distance to compile on gcc 2.95/stlport
1125
1126 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1127
1128         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1129
1130 2004-02-04  André Pönitz  <poenitz@gmx.net>
1131
1132         * BufferView.[Ch] (insertInset):
1133         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1134
1135         * text2.C:
1136         * text3.C: adjust
1137
1138 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1139
1140         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1141         on the default clause of the switch
1142         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1143         wasn't catched by LCursor::dispatch
1144
1145 2004-02-03  André Pönitz  <poenitz@gmx.net>
1146
1147         * BufferView.C:
1148         * cursor.[Ch]: some additional asserts
1149
1150         * undo.[Ch]: remove LyXText dependency in interface
1151
1152         * lyxfunc.C: adjust
1153
1154         * lyxtext.h (firstPar, lastPar): remove dead functions
1155
1156         * text.C:
1157         * text2.C:
1158         * text3.C:
1159         * paragraph.[Ch]: adjust
1160
1161 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1162
1163         * lyxfind.C (find): fix argument order in call to ::find
1164
1165 2004-02-02  André Pönitz  <poenitz@gmx.net>
1166
1167         * cursor.[Ch]: remove direct access to anchor
1168
1169         * text.C: remove findText() hack
1170
1171 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1172
1173         * iterators.[Ch] (lockPath): remove in favour of...
1174         * BufferView.[Ch] (setCursor): this addition
1175         * BufferView.C (putSelectionAt): adjust
1176         * undo.C (performUndoOrRedo): adjust
1177         * lyxfunc.C (dispatch): adjust
1178
1179 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1180
1181         * iterators.C (lockPath): add a missing slice
1182         * undo.C (performUndoOrRedo): remove redundant positioning code
1183
1184 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1185
1186         * vc-backend.C (scanMaster): ";" -> ';'
1187
1188 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1189
1190         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1191         std::binary_function
1192
1193         * lyxtextclass.C (compare_name): rename to...
1194         (LayoutNamesEqual): ...this
1195
1196         * lyxlex_pimpl.C (compare_tags): inherit from
1197         std::binary_function, put back into anon namespace
1198
1199         * lyxfind.C (MatchString): inherig from std::binary_function
1200         (findChange): use empty() istead of !size()
1201
1202         * format.C (FormatNamesEqual): new functor
1203         (getFormat): use it
1204         (getNumber): use it
1205         (add): use it
1206         (erase): use it
1207         (setViewer): use it
1208
1209         * converter.C (compare_Converter): rename to...
1210         (ConverterEqual): ...this, and fixup a bit.
1211         (getConverter): use it, and make function const
1212         (getNumber): use it, and make function const
1213         (add): use it
1214         (erase): use it:
1215
1216         * bufferlist.C: add using boost::bind
1217
1218         * MenuBackend.C (MenuNamesEqual): new functor
1219         (hasMenu): use it, and make function const
1220         (hasSubmenu): use nested bind to get rid of compare_memfun.
1221
1222 2004-01-30  André Pönitz  <poenitz@gmx.net>
1223
1224         * BufferView_pimpl.C:
1225         * cursor.C:
1226         * cursor.h:
1227         * cursor_slice.[Ch]:
1228         * lyxfunc.C:
1229         * lyxtext.h:
1230         * paragraph_funcs.C:
1231         * paragraph_funcs.h:
1232         * rowpainter.C:
1233         * text.C:
1234         * text2.C:
1235         * text3.C: move some of the edit(x,y) handling to the insets
1236         some coordinate changes.
1237
1238 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1239
1240         * text.C: add using statements for std::advance and std::distance
1241
1242         * paragraph.C: add using statement for std::distance
1243
1244         * lyxfind.C: add using statement for std::advance
1245
1246         * cursor.C (region): remove std:: from swap
1247         (openable): use nucleus in stead of operator->
1248
1249         * BufferView.C: add using statements for std::distance and std::swap
1250
1251 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1252
1253         * iterators.C: Remove the pimple, move the needed structures to
1254         the header file. Create accessor for the positions stack.
1255         (asPosIterator): remove function
1256
1257         * PosIterator.C (PosIterator): move constructors to top of file
1258         (PosIterator): reimplement the constructor taking a ParIterator in
1259         terms of setFrom.
1260         (setFrom): new function
1261         (operator!=): inline it
1262
1263 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1264
1265         * lyxfind.C (replaceAll): use std::advance
1266
1267         * iterators.h: inherit from std::iterator.
1268
1269         * PosIterator.C (advance, distance): remove
1270         * PosIterator.h: interit from std::iterator.
1271
1272 2004-01-26  André Pönitz  <poenitz@gmx.net>
1273
1274         * BufferView.[Ch]:
1275         * BufferView_pimpl.[Ch]:
1276         * InsetList.[Ch]:
1277         * PosIterator.[Ch]:
1278         * buffer.h:
1279         * bufferview_funcs.C:
1280         * cursor.[Ch]:
1281         * cursor_slice.h:
1282         * factory.[Ch]:
1283         * iterators.[Ch]:
1284         * lyxfind.C:
1285         * lyxfunc.C:
1286         * lyxtext.h:
1287         * output_docbook.C:
1288         * output_latex.C:
1289         * output_linuxdoc.C:
1290         * output_plaintext.C:
1291         * paragraph.[Ch]:
1292         * paragraph_funcs.[Ch]:
1293         * paragraph_pimpl.[Ch]:
1294         * rowpainter.C:
1295         * tabular.C:
1296         * tabular.h:
1297         * text.C:
1298         * text2.C:
1299         * text3.C: more IU:  dumps most of the rest of the mathcursor
1300     implementation into cursor.[Ch]; "globalize" a bit of it.
1301
1302 2004-01-25  Angus Leeming  <leeming@lyx.org>
1303
1304         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1305
1306 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1307
1308         * LaTeXFeatures.h: add nice_ and nice() const
1309         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1310
1311 2004-01-20  André Pönitz  <poenitz@gmx.net>
1312
1313         * BufferView.[Ch]:
1314         * BufferView_pimpl.C:
1315         * PosIterator.C:
1316         * bufferview_funcs.C:
1317         * cursor.[Ch]:
1318         * cursor_slice.[Ch]:
1319         * factory.C:
1320         * iterators.C:
1321         * lyx_cb.C:
1322         * lyxfind.C:
1323         * lyxfunc.C:
1324         * lyxtext.h:
1325         * rowpainter.C:
1326         * text.C:
1327         * text2.C:
1328         * text3.C:
1329         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1330           LCursor and mathcursor parts to LCursor and InsetBase.
1331
1332 2004-01-15  André Pönitz  <poenitz@gmx.net>
1333
1334         * cursor_slice.[Ch]: add a few covienience functions
1335
1336         * funcrequest.[Ch]: remove BufferView * member
1337
1338         * BufferView_pimpl.C:
1339         * cursor.C:
1340         * factory.[Ch]:
1341         * lyxfind.[Ch]:
1342         * lyxfunc.C:
1343         * lyxtext.h:
1344         * text3.C:
1345         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1346
1347 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1348
1349         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1350         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1351
1352 2004-01-13  André Pönitz  <poenitz@gmx.net>
1353
1354         * textcursor.[Ch]:
1355         * lyxtext.h: hide cursor and selection anchor behind accessor function
1356
1357         * BufferView.C:
1358         * BufferView_pimpl.[Ch]:
1359         * PosIterator.C:
1360         * bufferview_funcs.C:
1361         * cursor.h:
1362         * lyxfind.C:
1363         * lyxfunc.C:
1364         * text.C:
1365         * text2.C:
1366         * text3.C:
1367         * undo.C: adjust
1368
1369         * cursor.h:
1370         * cursor_slice.[Ch]: some integer type changes for inset unification
1371
1372         * lyxcursor.[hC]: remove, it's CursorSlice now.
1373
1374         * Makefile.am:
1375         * BufferView_pimpl.[Ch]:
1376         * bufferview_funcs.C:
1377         * cursor_slice.C:
1378         * lyxtext.h:
1379         * text.C:
1380         * text2.C:
1381         * text3.C:
1382         * textcursor.[Ch]: adjust
1383
1384 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1385
1386         * text2.C (undoSpan): add and use
1387         * text.C (breakParagraph): use undoSpan (fix bug 578)
1388         * lyxtext.h: adjust
1389
1390 2004-01-08  Angus Leeming  <leeming@lyx.org>
1391
1392         * BufferView_pimpl.C (MenuInsertLyXFile):
1393         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1394         * lyxfunc.C (menuNew, open, doImport):
1395         FileFilterList change to the FileDialog open and save functions.
1396
1397 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1398
1399         * ShareContainer.h: make isEqual and isUnique adaptable
1400
1401         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1402
1403 2004-01-07  Angus Leeming  <leeming@lyx.org>
1404
1405         * LyXAction.C:
1406         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1407
1408         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1409
1410         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1411         functions replacing find, replace and replaceAll.
1412
1413         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1414         LFUN_WORDFIND(FORWARD|BACKWARD).
1415
1416 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1417
1418         * text.C (breakParagraph): remove an outdated #warning
1419
1420 2004-01-07  André Pönitz  <poenitz@gmx.net>
1421
1422         * lyxfind.C: somewhat clearer logic
1423
1424         * text.C: prevent crash in cursorX on unitialized row cache
1425
1426 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1427
1428         * lyxcursor.[Ch] (operator>): add
1429         * textcursor.C (selStart, selEnd): use std::min and std::max
1430
1431 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1432
1433         * Chktex.C: include boost/format.hpp
1434
1435 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1436
1437         * InsetList.C: replace functor MathcIt with adaptable functor
1438         InsetTablePosLess
1439         (insetIterator): modify accordingly
1440
1441         * BranchList.h: move the BranchNamesEqual functor here from...
1442         * BranchList.C: ... to here
1443
1444         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1445         SameName and match.
1446         (add): replace a finding loop with std::find_if.
1447
1448 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1449
1450         * output_docbook.C: moving LatexParam functionality into
1451         .layout files
1452
1453 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1454
1455         * buffer.C: increment format to 229.
1456
1457 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1458
1459         * LaTeXFeatures.C:
1460         * lyx_sty.[Ch]: remove minipageindent_def
1461
1462         * LyXAction.C:
1463         * factory.C:
1464         * lfuns.h:
1465         * lyxfunc.C:
1466         * text3.C: remove LFUN_INSET_MINIPAGE
1467
1468 2003-12-28  Angus Leeming  <leeming@lyx.org>
1469
1470         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1471
1472 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1473
1474         * text2.C (setParagraph): fix off-by-one crash
1475
1476 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1477
1478         * output_docbook.C: header stuff for AGU
1479
1480 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1481
1482         * text2.C (redoCursor): remove
1483         * text.C:
1484         * text3.C:
1485         * BufferView_pimpl.C: remove calls to redoCursor and
1486         setCursor(cursor.par(), cursor.pos()) all around
1487
1488 2003-12-15  Angus Leeming  <leeming@lyx.org>
1489
1490         * buffer.C: up the format to 228.
1491
1492 2003-12-15  André Pönitz  <poenitz@gmx.net>
1493
1494         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1495         slices
1496
1497         * Makefile.am:
1498
1499         * BufferView_pimpl.C:
1500         * cursor.[Ch]:
1501         * lyxcursor.[Ch]:
1502         * rowpainter.[Ch]:
1503         * lyxtext.h:
1504         * text.C:
1505         * text2.C:
1506         * text3.C: adjust
1507
1508 2003-12-15  Angus Leeming  <leeming@lyx.org>
1509
1510         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1511         than getFromGUIName to manipulate the color.
1512
1513 2003-12-14  Angus Leeming  <leeming@lyx.org>
1514
1515         * BranchList.[Ch]: minimize the API.
1516         (Branch::getBranch, getColor): now return a 'const &'.
1517         (Branch::setSelected) now returns a bool set to true if the
1518         selection status changes.
1519         (BranchList::clear, size, getColor, setColor, setSelected,
1520         allBranches, allSelected, separator): removed.
1521         (BranchList::find): new functions, returning the Branch with
1522         the given name.
1523         (BranchList::add, remove): return a bool indicating that
1524         the operation was successful.
1525
1526         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1527         new InsetBranch::isBranchSlected member function.
1528
1529         * LColor.[Ch]: mimimize the API.
1530         (fill): renamed as addColor and made private.
1531         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1532         versions of these functions taking a string arg have been removed.
1533
1534         * bufferparams.C (readToken):
1535         * lyxfunc.C (dispatch):
1536         * lyxrc.C (read): changes due to the altered BranchList and
1537         LColor APIs.
1538
1539         * factory.C (createInset, readInset): changes due to altered
1540         InsetBranch c-tor.
1541
1542 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1543
1544         * factory.C:
1545         * lyxfunc.C: remove insetminipage. "minipage-insert"
1546         now produces a frameless minipage box inset.
1547
1548 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1549
1550         * textcursor.[Ch] (selStart,selEnd): add new methods
1551         remove selection::start, end, use LyXCursor::operator<
1552         * lyxcursor.[Ch] (operator<): add
1553         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1554         * BufferView.[Ch] (unsetXSel): add
1555         * text2.C (clearSelection): use unsetXSel,adjust
1556         * text.C: adjust
1557         * text3.C: adjust
1558         * rowpainter.C: adjust
1559         * bufferview_funcs.C (put_selection_at): adjust
1560
1561 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1562
1563         * BufferView_pimpl.C: small coord. correction
1564
1565 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1566
1567         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1568         dragging over the splash screen.
1569
1570 2003-12-11  Angus Leeming  <leeming@lyx.org>
1571
1572         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1573         as it is now handled in LyXText::dispatch.
1574
1575         * text3.C (doInsertInset): remove a level of nesting.
1576
1577 2003-12-11  Angus Leeming  <leeming@lyx.org>
1578
1579         * factory.C (createInset): changes due to the changed interface to
1580         InsetCommandMailer::string2params.
1581
1582 2003-12-10  Angus Leeming  <leeming@lyx.org>
1583
1584         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1585         'dialog-show-new-inset <inset name>'
1586
1587 2003-12-10  Angus Leeming  <leeming@lyx.org>
1588
1589         * buffer.C: up the format to 227.
1590
1591         * factory.C: the box inset is now identified simply by 'Box'.
1592
1593 2003-12-10  Angus Leeming  <leeming@lyx.org>
1594
1595         * buffer.C: up the format to 226.
1596
1597         * factory.C: the note inset is now identified simply by 'Note'.
1598
1599 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1600
1601         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1602         when a pit is enough. Standarize a couple of loops.
1603
1604 2003-12-05  Angus Leeming  <leeming@lyx.org>
1605
1606         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1607         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1608         data to the re-worked "log" dialog.
1609
1610 2003-12-03  André Pönitz  <poenitz@gmx.net>
1611
1612         * PosIterator.C:
1613         * iterators.C:
1614         * lyxtext.h:
1615         * output_latex.C:
1616         * paragraph_funcs.C:
1617         * text.C:
1618         * text2.C: use Inset::getText instead of Inset::getParagraph
1619
1620 2003-12-03  André Pönitz  <poenitz@gmx.net>
1621
1622         * buffer.[Ch]:
1623         * lyxtext.h:
1624         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1625         InsetText::read() as LyXText::read()
1626
1627 2003-12-02  Angus Leeming  <leeming@lyx.org>
1628
1629         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1630         type. Add a comment in the implementation that the function uses
1631         the stream's bad() function rather than fail() as the std::streams
1632         would do.
1633
1634 2003-12-02  André Pönitz  <poenitz@gmx.net>
1635
1636         * lyxlex.[Ch]: make interface more similar to std::stream
1637
1638         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1639
1640 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1641
1642         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1643
1644 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1645
1646         * vspace.[Ch]: remove VSpace::NONE
1647
1648 2003-12-01  André Pönitz  <poenitz@gmx.net>
1649
1650         * buffer.[Ch]:
1651         * lyxtext.h: move ParagraphList member to LyXText
1652         rename LyXText::ownerParagraphs to LyXText::paragraph
1653
1654         * CutAndPaste.C:
1655         * bufferview_funcs.C:
1656         * iterators.[Ch]:
1657         * lyx_cb.C:
1658         * paragraph.C:
1659         * rowpainter.C:
1660         * tabular.C:
1661         * text.C:
1662         * text2.C:
1663         * text3.C: adjust
1664
1665         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1666
1667         * undo.C: fix cursor positioning
1668
1669 2003-12-01  John Levon  <levon@movementarian.org>
1670
1671         * BufferView_pimpl.C: fix a crash on exit with
1672         a buffer open
1673
1674 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1675
1676         * BranchList.C: fix setSelected() method.
1677
1678 2003-11-28  André Pönitz  <poenitz@gmx.net>
1679
1680         * ParagraphParameters.[Ch]:
1681         * ParameterStruct.h: remove space above/below from Paragraph to
1682          InsetVSpace
1683
1684         * BufferView_pimpl.C:
1685         * factory.C:
1686         * lyxfunc.C:
1687         * lyxtext.h:
1688         * output_latex.C:
1689         * paragraph.C:
1690         * paragraph_funcs.C:
1691         * rowpainter.[Ch]:
1692         * text.C:
1693         * text2.C:
1694         * text3.C: adjust
1695
1696 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1697
1698         * factory.C: Syntax change for CharStyles
1699
1700 2003-11-28  André Pönitz  <poenitz@gmx.net>
1701
1702         * BufferView.[Ch]:
1703         * BufferView.[Ch]:
1704         * buffer.[Ch]:
1705         * buffer.[Ch]: move LyXText member
1706
1707 2003-11-28  André Pönitz  <poenitz@gmx.net>
1708
1709         * BufferView.[Ch]: make LyXText * text a private member
1710
1711         * BufferView_pimpl.C:
1712         * cursor.C:
1713         * iterators.C:
1714         * lyx_cb.C:
1715         * lyxfind.C:
1716         * lyxtext.h:
1717         * rowpainter.[Ch]:
1718         * text.C:
1719         * text2.C:
1720         * undo.C: adjust
1721
1722         * output_plaintext.C: cleanup
1723
1724 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1725
1726         * buffer.C:
1727         * lyxtextclass.[Ch]: parametrize SGML document header
1728
1729 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1730
1731         * converter.[Ch]:
1732         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1733         getFlavor().
1734
1735 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1736
1737         * text2.C (setFont): rework using PosIterator (no more recursive)
1738         (setCharFont): no more needed
1739         (setLayout): no more selection cursors fiddling (done by redoCursor)
1740         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1741         destroy remaining ones)
1742
1743 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1744
1745         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1746         * lyxtext.h: ditto
1747         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1748         selection cursors
1749         * lyxfunc.C: adjust
1750         * text3.C: adjust + re-allow multi par depth changes
1751         * textcursor.C: simplify a bit
1752
1753 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1754
1755         * src/buffer.C:
1756         * src/lyxlayout.C:
1757         * src/lyxlayout.h:
1758         * src/lyxtext.h:
1759         * src/output_docbook.C:
1760         * src/output_latex.C:
1761         * src/paragraph.C:
1762         * src/paragraph.h:
1763         * src/sgml.C:
1764         * src/sgml.h:
1765         * src/text2.C: Introducing a number of tags parametrizing various
1766         XML formats that we may want to support
1767
1768 2003-11-25  André Pönitz  <poenitz@gmx.net>
1769
1770         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1771
1772         * lyxtext.h (leftMargin/rightMargin): simplify interface
1773
1774         * rowpainter.C:
1775         * text.C:
1776         * text2.C:
1777         * text3.C: adjust
1778
1779 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1780
1781         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1782         master file to any child files. Fixes bug 546.
1783
1784 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1785
1786         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1787
1788 2003-11-24  André Pönitz  <poenitz@gmx.net>
1789
1790         * rowpainter.C: simplification
1791
1792         * text2.C (updateCounters): remove call to redoParagraph on
1793         changed labels as this is far too expensive.
1794
1795 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1796
1797         * converter.C (convert): fix a crash: this function gets
1798         called with buffer == 0 from importer code.
1799
1800 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1801
1802         * text3.C (cursorPrevious): make sure that we do not compare
1803         iterators form different containers.
1804         (cursorNext): ditto
1805
1806         * rowpainter.C (paintSelection): make sure that we do not compare
1807         iterators from different containers.
1808
1809         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1810         iterators from different ParagraphList containers.
1811         [NEXT] ditto
1812
1813         * text2.C (LyXText): change order of initialization slightly
1814         (operator=): new function. copy all variables except cache_par_
1815         (moveUp): make sure that we do not compare iterators from
1816         different ParagraphList constainers.
1817         (moveDown): ditto
1818
1819         * text.C (firstPar): new function
1820         (lastPar): new function
1821         (endPar): new function
1822
1823         * lyxtext.h: move things around and group public functions, public
1824         variables, private functions, private variables
1825
1826 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1827
1828         * factory.C: change call to InsetERT constructor to avoid
1829         additional invocation of method status
1830         * text2.C (toggleInset): remove redundant update() call
1831         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1832         instead of a Bufferview pointer
1833
1834 2003-11-21  André Pönitz  <poenitz@gmx.net>
1835
1836         * rowpainter.C: simplification
1837
1838 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1839
1840         * text3.C (dispatch): make possible to extend a word/row selection
1841         with the mouse
1842
1843 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1844
1845         * lyxtext.h: x0_,y0_ -> xo_,yo_
1846         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1847         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1848         * rowpainter.C (paintRows): paint full paragraphs
1849
1850 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1851
1852         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1853         screen coordinates)
1854
1855 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1856
1857         * lyxtext.h: add x0_, y0_
1858         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1859         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1860
1861 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1862
1863         * text2.C (setCursorIntern): move the x_target update here *
1864         * text3.C: change some bv() to true/false in calls to
1865         cursorUp/Down/Right/Left
1866         * cursor.C: use helper function.
1867
1868 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1869
1870         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1871         * paragraph_funcs.[Ch]: correct comment
1872         * rowpainter.C: do not paint selections away from bv->cursor()
1873         Fix a long standing selection painting bug.
1874         * text3.C: generalize mouse-selection code to LyXTexts other that
1875         top one
1876         * textcursor.C: do not use y coords if we can use par offsets
1877
1878 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1879
1880         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1881         cursor position after e.g. inset insert)
1882
1883 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1884
1885         * lyxfind.C (replace): adjust to locking removal + some
1886         code simplification
1887
1888 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1889
1890         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1891         of the path
1892
1893 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1894
1895         * lyxlayout.[Ch]:
1896         * output_docbook.C: XML sanitation: new layout
1897         parameters InnerTag and CommandDepth
1898
1899 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1900
1901         * BufferView_pimpl.C:
1902         * factory.C:
1903         * text3.C: Fix the insertion and modification of button-style
1904         insets
1905
1906 2003-11-13  André Pönitz  <poenitz@gmx.net>
1907
1908         * InsetList.[Ch]: remove deleteLyXText
1909
1910         * paragraph.[Ch]: cache beginOfBody position
1911
1912         * Bidi.C:
1913         * text.C:
1914         * text2.C:
1915         * text3.C: remove superfluous update() calls
1916
1917         * vspace.C: cleanup
1918
1919 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1920
1921         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1922         * BufferView.C (fitLockedInsetCursor): remove
1923         * cursor.[Ch] (getDim): add
1924         * text.C (getRowNearY): add faster version
1925         * text3.C: remove some update calls
1926
1927 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1928
1929         * LaTeXFeatures.C:
1930         * LyXAction.C:
1931         * MenuBackend.C:
1932         * MenuBackend.h:
1933         * dispatchresult.h:
1934         * factory.C:
1935         * lfuns.h:
1936         * lyxfunc.C:
1937         * lyxtextclass.C:
1938         * lyxtextclass.h:
1939         * text3.C: The Character Style /XML short element patch.
1940
1941 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1942
1943         * text3.C:
1944         * factory.C: Small step to solving 'unable to insert some insets'
1945         problem
1946
1947 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1948
1949         * cursor.[Ch] (updatePos): new function for updating the y
1950         position of the tip inset
1951         * bufferview_funcs.C (put_selection_at):
1952         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1953
1954 2003-11-11  André Pönitz  <poenitz@gmx.net>
1955
1956         * text.C: remove big comment on invalid Paragraph pointers as it is
1957         not valid anymore
1958
1959 2003-11-11  André Pönitz  <poenitz@gmx.net>
1960
1961         * text_funcs.[Ch]: merge with ...
1962
1963         * text.C: ... this
1964
1965         * lyxtext.h:
1966         * text2.C:
1967         * text3.C: adjust
1968
1969         * Makefile.am: remove text_funcs.[Ch]
1970
1971 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1972
1973         * cursor.C (getPos): return absolute cached y coord
1974
1975         * BufferView_pimpl.C (fitCursor): new simplistic code
1976         (workAreaDispatch): add a fitCursor call
1977
1978 2003-11-10  André Pönitz  <poenitz@gmx.net>
1979
1980         * BufferView.[Ch]:
1981         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1982
1983 2003-11-10  André Pönitz  <poenitz@gmx.net>
1984
1985         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1986         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1987         indicate that the cursor needs to leave an inset
1988
1989         * lyxtext.h: remove inset locking
1990
1991         * cursor.[Ch]: re-implement functionality provided by inset locking
1992
1993         * BufferView.[Ch]:
1994         * BufferView_pimpl.[Ch]:
1995         * LyXAction.C:
1996         * bufferview_funcs.[Ch]:
1997         * factory.C:
1998         * funcrequest.[Ch]:
1999         * iterators.C:
2000         * lyx_cb.C:
2001         * lyxfind.C:
2002         * lyxfunc.C:
2003         * text.C:
2004         * text2.C:
2005         * text3.C:
2006         * undo.C: adjust
2007
2008 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2009
2010         * PosIterator.[Ch]: replace the stack with a vector, add inset
2011         accesor
2012         * iterators.[C]: adjust
2013
2014 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2015
2016         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2017         replaced
2018         * paragraph_funcs.C (readParToken): put the correct id in the
2019         error item, not the id of the top paragraph
2020
2021 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2022
2023         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2024         * bufferview_funcs.C (put_selection_at): use the above
2025
2026 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2027
2028         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2029
2030 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2031
2032         * output_linuxdoc.h:
2033         * output_plaintext.h:
2034         * output.h:
2035         * output_docbook.h: add #include statements
2036
2037 2003-11-05  José Matos  <jamatos@lyx.org>
2038
2039         * output_docbook.[Ch]:
2040         * output_latex.[Ch]:
2041         * output_linuxdoc.[Ch]:
2042         * output_plaintext.[Ch]: New files for output formats.
2043         * output.[Ch]: New file for helper functions.
2044
2045         * buffer.[Ch]:
2046         * paragraph_funcs.[Ch]: output functions moved to new files.
2047
2048         * outputparams.h: rename of latexrunparams.h
2049
2050         * LaTeX.[Ch]:
2051         * buffer.[Ch]:
2052         * bufferlist.[Ch]:
2053         * converter.[Ch]:
2054         * exporter.C:
2055         * paragraph.[Ch]:
2056         * paragraph_funcs.[Ch]:
2057         * paragraph_pimpl.[Ch]:
2058         * tabular.[Ch]: rename ascii to plaintext
2059         and LatexRunParams to OutputParams.
2060
2061 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2062
2063         * iterators.[Ch] (text): require bv argument
2064         * undo.C (recordUndo):
2065         * lyxfunc.C (dispatch):
2066         * bufferview_funcs.C (put_selection_at): adjust
2067
2068 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2069
2070         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2071
2072 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2073
2074         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2075         nestings
2076
2077 2003-11-04  André Pönitz  <poenitz@gmx.net>
2078
2079         * cursor.[Ch]: restructure
2080
2081         * BufferView.[Ch]:
2082         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2083
2084         * iterators.[Ch] (asCursor): remove
2085
2086         * lfuns.h: remove LFUN_INSET_EDIT
2087
2088         * lyxfunc.C:
2089         * tabular.C:
2090         * text.C:
2091         * text2.C:
2092         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2093
2094 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2095
2096         * lyxfind.[Ch]: complete overhaul
2097         * BufferView_pimpl.C:
2098         * lyxfunc.C: adjust
2099         * paragraph.[Ch] (insert): add
2100
2101 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2102
2103         * BufferView.[Ch]:
2104         * lyxtext.h:
2105         * text.C: remove dead spellcheck code
2106
2107 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2108
2109         * dispatchresult.h: add a val setter
2110
2111         * cursor.C (dispatch): use a tempvar for data_[i]
2112
2113 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2114
2115         * PosIterator.[Ch]: compile fix
2116
2117 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2118
2119         * text.C (cursorPar): deactivate the cursor cache
2120
2121 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2122
2123         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2124
2125 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2126
2127         * text3.C (dispatch): adjust for new DisptchResult semantics.
2128
2129         * lyxfunc.C (dispatch): handle update when return from
2130         Cursor::dispatch, adjust for new DispatchResult semantics.
2131
2132         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2133         DispatchResult(true) mean to not update. Add class functions for
2134         setting dispatched and update, as well as reading.
2135
2136         * cursor.C (dispatch): don't handle update here
2137
2138 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2139
2140         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2141         * trans_mgr.C: adjust
2142
2143         * paragraph_funcs.C (readParToken): exception safety
2144
2145         * lyxvc.h: store the vcs pointer in a scoped_ptr
2146         * lyxvc.C: adjust
2147
2148         * lyxsocket.C (serverCallback): exception safety
2149
2150         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2151
2152         * ispell.C (clone): make it return a auto_ptr
2153
2154         * factory.C (createInset): exception safety
2155         (readInset): exception safety
2156
2157         * bufferlist.C (newBuffer): exception safety
2158
2159         * Thesaurus.C (Thesaurus): use initialization for aik_
2160
2161         * MenuBackend.C (expandToc): exception safety.
2162
2163 2003-11-03  André Pönitz  <poenitz@gmx.net>
2164
2165         * buffer.C:
2166         * buffer.h:
2167         * bufferview_funcs.C: remove getInsetFromId()
2168
2169         * lyxcursor.[Ch]:
2170         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2171
2172         * lyxfunc.C:
2173         * text2.C:
2174         * text3.C: adjust
2175
2176 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2177
2178         * PosIterator.C (distance, advance): new
2179         * bufferview_funcs.[Ch] (put_selection_at): new
2180         * iterators.[Ch] (lockPath): new
2181
2182 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2183
2184         * iterators.[Ch] (asPosIterator): added
2185         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2186         * PosIterator.[Ch]: added
2187
2188 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2189
2190         * text3.C:
2191         * lyxfunc.C:
2192         * cursor.C (dispatch):
2193         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2194
2195         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2196         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2197         contructor, add a class function dispatched. Remove operator>=
2198
2199 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2200
2201         * debug.C: only use the default constructor for debugstream
2202         (lyxerr) here.
2203
2204         * main.C (main): include debug.h and setup the lyxerr streambuf
2205         here.
2206
2207 2003-10-31  José Matos  <jamatos@lyx.org>
2208
2209         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2210
2211         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2212         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2213         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2214         * paragraph_pimpl.C (simpleTeXSpecialC):
2215         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2216         add LatexRunParams argument.
2217
2218         * exporter.C (Export): change call accordingly.
2219
2220         * latexrunparams.h: add new member to take care of the other backends.
2221 2003-10-30  José Matos  <jamatos@lyx.org>
2222
2223         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2224         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2225         factorise code for paragraph output.
2226         * buffer.[Ch]:
2227         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2228         move functions.
2229
2230 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2231
2232         * text3.C (dispatch):
2233         * lyxfunc.C (dispatch):
2234         * cursor.C (dispatch):
2235         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2236
2237         * dispatchresult.h: make the dispatch_result_t ctor explicit
2238
2239 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2240
2241         * sgml.[Ch]:
2242         * buffer.C: small refactoring of docbook stuff
2243
2244 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2245
2246         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2247         meaning.
2248
2249 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2250
2251         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2252         operator dispatch_result_t, and operators for == != and >=
2253
2254         * cursor.C (dispatch): adjust for operator dispatch_result_t
2255         removal. comment out call to update
2256
2257         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2258
2259 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2260
2261         * text3.C:
2262         * text2.C:
2263         * text.C:
2264         * lyxtext.h:
2265         * lyxfunc.C:
2266         * cursor.C:
2267         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2268         (dispatch):
2269
2270         * dispatchresult.h: new file, DispatchResult broken out of
2271         insets/insetbase.h
2272
2273         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2274
2275 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2276
2277         * text.C (rowBreakPoint): put a hack inside #if 0
2278
2279 2003-10-28  André Pönitz  <poenitz@gmx.net>
2280
2281         * lyxtext.h:
2282         * metricsinfo.C:
2283         * paragraph_funcs.C:
2284         * rowpainter.C:
2285         * text.C:
2286         * text2.C: general cleanup (lots of small stuff)
2287
2288 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2289
2290         * text2.C (cursorEnd): simple fix to the "end key goes to one
2291         before the end on last row" bug
2292
2293 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2294
2295         * text.C (backspace): fix the "zombie characters"
2296
2297 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2298
2299         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2300
2301 2003-10-27  André Pönitz  <poenitz@gmx.net>
2302
2303         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2304
2305         * factory.C: handle new InsetPagebreak, InsetLine
2306
2307         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2308         and move handling into new InsetPagebreak, InsetLine
2309
2310         * BufferView_pimpl.C:
2311         * LyXAction.C:
2312         * ParagraphParameters.C:
2313         * ParameterStruct.h:
2314         * lyxfunc.C:
2315         * lyxtext.h:
2316         * paragraph.C:
2317         * paragraph.h:
2318         * paragraph_funcs.C:
2319         * paragraph_pimpl.C:
2320         * rowpainter.C:
2321         * text.C:
2322         * text2.C:
2323         * text3.C: adjust
2324
2325 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2326
2327         * text.C:
2328         * lyxrow_funcs.[Ch]:
2329         * Bidi.C:
2330         * paragraph.C:
2331         * lyxtext.h:
2332         * rowpainter.C:
2333         * text2.C:
2334         * text3.C: remove lastPos uses in favour of Row::endpos
2335
2336 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2337
2338         * undo.C (performUndoOrRedo): fix two crashes by setting a
2339         cursor by hand and reordering some calls. Use bv->lockInset instead
2340         of inset->edit because the latter loses cursor information
2341
2342 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2343
2344         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2345         by Martin
2346         (rowBreakPoint): fix width. change point to point + 1.
2347         Add a missing check.
2348
2349 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2350
2351         * MenuBackend.C:
2352         * lyxfunc.C: fix (at least partly) the problems
2353         with the Nav menu and headers inside branch insets
2354         reported by Kayvan
2355
2356 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2357
2358         * paragraph.C (getChar): add strong asserts
2359
2360         * lyxrow_funcs.C (lastPos): remove hideous hack
2361
2362         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2363         (fill): adjust to that (avoid an infinite loop)
2364
2365 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2366
2367         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2368
2369 2003-10-23  André Pönitz  <poenitz@gmx.net>
2370
2371         * RowList_fwd.h: change list<> to vector<> to gain speed
2372         after suggestion from Alfredo
2373
2374 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2375
2376         * lyxtext.h: move the bidi stuff from here...
2377         * text.C: and here
2378         * text2.C: and here
2379         * Bidi.[Ch]: ... to here
2380
2381 2003-10-23  André Pönitz  <poenitz@gmx.net>
2382
2383         * lyxtext.h:
2384         * text.C (isLastRow, isFirstRow): new functions
2385
2386         * paragraph.h: new width cache member
2387
2388         * rowpainter.C: replace RowList::iterator with Row & where possible
2389
2390         * lyxfunc.C: replace several view()->text with a single call
2391
2392         * toc.C: fix 'unused' warning
2393
2394 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2395
2396         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2397         when woring with stream::pos_type
2398         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2399
2400 2003-10-22  André Pönitz  <poenitz@gmx.net>
2401
2402         * lyxtext.h:
2403         * text.C: use Row & instead of RowList::iterator
2404
2405         * lyxrow.h: rename end() to endpos()
2406
2407         * rowpainter.C:
2408         * text.C:
2409         * text2.C: adjust
2410
2411 2003-10-22  Angus Leeming  <leeming@lyx.org>
2412
2413         * buffer.[Ch] (fully_loaded): new member function, returning true
2414         only when the file has been loaded fully.
2415         Used to prevent the premature generation of previews and by the
2416         citation inset to prevent computation of the natbib-style label.
2417
2418         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2419         templates are all set up.
2420
2421         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2422
2423 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2424
2425         * text.C: fixed an "oops" in the "is a bit silly"
2426         bug fix
2427
2428 2003-10-21  André Pönitz  <poenitz@gmx.net>
2429
2430         * FuncStatus.[Ch]: small stuff, whitespace
2431
2432         * lyxfont.[Ch]: operator<<() for debug reasons
2433
2434         * lyxfunc.C:
2435         * lyxrow_funcs.C:
2436         * lyxtext.h: whitespace, spelling
2437
2438         * paragraph.C: naming of variables
2439
2440         * text.C:
2441         * text2.C: small stuff
2442
2443
2444 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2445
2446         * text.C: (1) finish off the inset display() work;
2447         (2) fix the "is a bit silly" bug (accessing char
2448         past end of par).
2449
2450 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2451
2452         * text.C: re-introduce display() for insets, fixing the
2453         various bugs (stretch of line above, math inset
2454         positioning, ...)
2455
2456 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2457
2458         * text.C (rightMargin): remove spurious semicolon
2459
2460         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2461         1415)
2462
2463 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2464
2465         * text3.C: fix one crash due to wrong cursor def
2466
2467 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2468
2469         * vc-backend.C (scanMaster): make the regex static
2470
2471         * LaTeX.C (scanAuxFile): make the regexs static
2472
2473         * text3.C (doInsertInset, dispatch, dispatch):
2474         * text2.C (cursorUp, cursorDown):
2475         * text.C (selectNextWordToSpellcheck):
2476         * BufferView_pimpl.C (dispatch):
2477         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2478
2479 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2480
2481         * lyxsocket.C: include <cerrno>
2482
2483 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2484
2485         * lyxfunc.C (dispatch): remove textcache stuff
2486
2487         * bufferlist.C (release): remove textcache stuff
2488         (closeAll): ditto
2489
2490         * TextCache.C: delete file
2491         * TextCache.h: delete file
2492
2493         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2494
2495         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2496         delete of the bv_->text.
2497         (resizeCurrentBuffer): remove texcache stuff
2498         (workAreaResize): ditto
2499
2500 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2501
2502         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2503         action.
2504
2505 2003-10-16  André Pönitz  <poenitz@gmx.net>
2506
2507         * lyxrow.[Ch]:
2508         * paragraph.h:
2509         * rowpainter.C:
2510         * text.C:
2511         * text2.C:
2512         * text3.C: speed up by storing y positions per paragraph plus per-row
2513         offset instead of having a 'full' y position in the row.
2514
2515 2003-10-15  André Pönitz  <poenitz@gmx.net>
2516
2517         * iterators.[Ch]:
2518         * iterators.[Ch]:
2519         * undo.[Ch]: make undo aware of inner insets
2520
2521 2003-10-14  Angus Leeming  <leeming@lyx.org>
2522
2523         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2524         static member functions LyX::ref() and LyX::cref.
2525         (lastfiles): new accessor functions for the new lastfiles_ member var.
2526         (addLyXView, views_): add a new LyXView to the list of views_.
2527         (updateInset): loop over all LyXViews to call their own updateInset
2528         member function, returning a pointer to the Buffer owning the inset.
2529
2530         * BufferView_pimpl.C (loadLyXFile):
2531         * MenuBackend.C (expandLastfiles):
2532         * bufferlist.C (MenuWrite, QuitLyX):
2533         lastfiles is no longer a global variable.
2534         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2535
2536         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2537         static function. Access through LyX::cref().emergencyCleanup().
2538
2539 2003-10-14  André Pönitz  <poenitz@gmx.net>
2540
2541         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2542
2543         * undo.[Ch]: restoring part of 'undo in insets'
2544
2545         * Makefile.am:
2546         * undo_funcs.[Ch]: merge with undo.[Ch]
2547
2548         * tabular.C: small cleansing stuff
2549
2550 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2551
2552         * paragraph_funcs.C (readParToken): report unknown insets as error
2553         boxes. Use the outer paragraph as location (also for unknown
2554         tokens).
2555
2556         * factory.C (readInset): do not abort on reading an unknown inset.
2557         Eat it and return 0.
2558
2559 2003-10-13  Angus Leeming  <leeming@lyx.org>
2560
2561         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2562
2563         * lyxrc.C: displayTranslator is now a function,
2564         declared in GraphicsTypes.h.
2565
2566 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2567
2568         * format.C: new placeholder $$a to pass the socket address.
2569
2570         * bufferlist.[Ch]: new function getBufferFromTmp.
2571
2572         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2573           files in the temporary dir.
2574
2575 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2576
2577         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2578
2579         * Makefile.am: add lyxsocket.[Ch].
2580
2581         * lyx_main.C (error_handler): handle SIGPIPE.
2582
2583 2003-10-13  André Pönitz  <poenitz@gmx.net>
2584
2585         * BufferView_pimpl.C:
2586         * lyxtext.h:
2587         * text.C:
2588         * text2.C:
2589         * text3.C:
2590         * undo_funcs.[Ch]: use paroffset_type instead of
2591           ParagraphList::iterators to prevent multiple conversion
2592           (and get a more robust interface)
2593
2594 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2595
2596         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2597         * lyxtext.h: ditto
2598         * text3.C (dispatch): ditto
2599
2600 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2601
2602         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2603         move the onlyfile, use onlyfile instead of foundfile in a couple
2604         of places.
2605
2606         * DepTable.C (update): flush the error stream a bit more
2607
2608 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2609
2610         * lyxserver.C (callback): adjust
2611
2612         * lyxfunc.C (getStatus): add a missing brace in commented code
2613         (ensureBufferClean): reindent
2614         (dispatch): delete version taking a string
2615
2616 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2617
2618         * LaTeX.C (deplog): move found file handlig from here...
2619         (handleFoundFile): .. to new function here.
2620         (deplog): make sure to discover several files mentioned on the
2621         same log line.
2622
2623 2003-10-10  André Pönitz  <poenitz@gmx.net>
2624
2625         * lyxfunc.C:
2626         * lyxtext.h:
2627         * tabular.C:
2628         * text.C:
2629         * text2.C:
2630         * text3.C: fix some of the tabular crashes
2631
2632 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2633
2634         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2635
2636         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2637
2638 2003-10-09  André Pönitz  <poenitz@gmx.net>
2639
2640         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2641
2642         * BufferView.C:
2643         * BufferView_pimpl.C:
2644         * bufferview_funcs.C:
2645         * lyx_cb.C:
2646         * lyxcursor.C:
2647         * lyxfind.C:
2648         * lyxfunc.C:
2649         * lyxtext.h:
2650         * text.C:
2651         * text2.C:
2652         * text3.C:
2653         * text_funcs.[Ch]:
2654         * textcursor.[Ch]:
2655         * undo_funcs.C: adjust
2656
2657 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2658
2659         * text2.C (incrementItemDepth): new function, use a backtracking
2660         algorithm to discover the correct item depth.
2661         (resetEnumCounterIfNeeded): new function, use a backtracking
2662         algorithm to discover if counter reset is needed.
2663         (setCounter): use them. Simplify a bit. Add different labels for
2664         different item depths for itemize.
2665
2666         * paragraph.C (Paragraph): remove initialization of enumdepth
2667         (operator=): ditto
2668
2669         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2670         enumerate and itemize. Change the type of itemdepth to signed char.
2671
2672 2003-10-08  André Pönitz  <poenitz@gmx.net>
2673
2674         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2675           thing assignable.
2676         * text.C:
2677         * text2.C: adjust
2678
2679         * tabular.[Ch]: fix crash after 'row-insert'
2680
2681 2003-10-08  Angus Leeming  <leeming@lyx.org>
2682
2683         Fix doxygen warnings.
2684
2685         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2686         Remove CutAndPaste:: prefix from header file declaration.
2687
2688         * LColor.h (fill): remove LColor:: prefix from declaration.
2689
2690         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2691         use lyx::depth_type rather than Paragraph::depth_type so that
2692         header file and .C file match.
2693
2694         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2695
2696         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2697         * aspell.C: \file aspell_local.C -> \file aspell.C
2698         * gettext.C: \file gettext.C -> \file src/gettext.C
2699         * gettext.h: \file gettext.h -> \file src/gettext.h
2700         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2701         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2702         * text.C: \file text.C -> \file src/text.C
2703
2704         * toc.C: move comment so that doxygen is not confused.
2705
2706 2003-10-07  Angus Leeming  <leeming@lyx.org>
2707
2708         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2709
2710 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2711
2712         * aspell.C:
2713         * aspell_local.h: add forgotten std::string's.
2714
2715 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2716
2717         * LaTeXFeatures.C:
2718         * LyXAction.C:
2719         * factory.C:
2720         * lfuns.h:
2721         * lyxfunc.C:
2722         * text3.C: The Box patch. Fancybox support, minipage, parbox
2723
2724 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2725
2726         * CutAndPaste.h:
2727         * DepTable.h:
2728         * FloatList.h:
2729         * LaTeXFeatures.h:
2730         * ParagraphParameters.h:
2731         * TextCache.h:
2732         * Thesaurus.h:
2733         * bufferlist.h:
2734         * exporter.h:
2735         * importer.h:
2736         * lastfiles.h:
2737         * lyxfind.h:
2738         * lyxfont.h:
2739         * lyxlex.h:
2740         * lyxtextclasslist.h:
2741         * messages.h:
2742         * paragraph.h:
2743         * paragraph_pimpl.C:
2744         * textcursor.h: add <string> and other small fixes to make Lars'
2745         std::string patch compile with STLport.
2746
2747 2003-10-06  Angus Leeming  <leeming@lyx.org>
2748
2749         * LColor.h: Add missing #include <string>.
2750
2751 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2752
2753         * All most all file in all subdirs: Make <string> be the prefered
2754         way of getting to std::string, add using declarations.
2755
2756 2003-10-06  André Pönitz  <poenitz@gmx.net>
2757
2758         * metricsinfo.C: initialize LyXFont before changing attribute.
2759         (fixes the 'math in \emph is upright' bug)
2760
2761 2003-10-06  André Pönitz  <poenitz@gmx.net>
2762
2763         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2764
2765 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2766
2767         * graph.C:
2768         * paragraph_pimpl.C: Small fixes to build using STLport
2769
2770 2003-10-02  André Pönitz  <poenitz@gmx.net>
2771
2772         * lyxfunc.C:
2773         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2774
2775 2003-10-01  André Pönitz  <poenitz@gmx.net>
2776
2777         * factory.C: assert early
2778
2779 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2780
2781         * lyx_main.C: remove the global debug object
2782
2783         * debug.h: adjust for new debugstream
2784
2785         * debug.C: adjust for new debugstream and keep the global debug
2786         object here.
2787
2788 2003-09-22  Angus Leeming  <leeming@lyx.org>
2789
2790         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2791         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2792         an incomplete class LyXFont.
2793
2794 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2795
2796         * factory.C: bug fix in branches
2797
2798 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2799
2800         * lyxfunc.C (processKeySym): adjust
2801         (dispatch): adjust
2802         (dispatch): change arg name from ev to func, adjust
2803         (sendDispatchMessage): ditto
2804
2805         * lyx_main.C (defaultKeyBindings): adjust keybindings
2806         (deadKeyBindings): ditto
2807
2808         * kbsequence.C (addkey): return a FuncRequest
2809
2810         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2811
2812         * kbmap.C (bind): take a FuncRequest as arg, adjust
2813         (read): adjust
2814         (lookup): adjust
2815         (defkey): change to take a FuncRequest as arg, adjust
2816         (findbinding): take a FuncRequest as arg, adjust.
2817
2818         * funcrequest.h (operator=): added
2819
2820         * funcrequest.C (FuncRequest): default kb_action changed from
2821         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2822
2823         * buffer.C (dispatch): simplify
2824         (dispatch): adjust to take a FuncRequest as arg, adjust
2825
2826         * boost.C (assertion_failed): change assertion message slightly
2827
2828         * ToolbarBackend.C (read): simplify
2829
2830         * MenuBackend.C (binding): adjust call to findbinding, add a
2831         message if no binding is found.
2832         (read): simplify
2833         (expandToc): correct by adding a empty FuncRequest
2834
2835         * LyXAction.C: include <boost/assert.hpp>
2836         (isPseudoAction): delete function
2837         (LookupFunc): change name to...
2838         (lookupFunc): this. change return type to FuncRequest.
2839         (getActionName): take kb_action as arg, simplify
2840         (funcHasFlag): add an assert, simplify.
2841
2842 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2843
2844         * toc.C (action): return a FuncRequest, simplify
2845
2846         * lyxfunc.C (processKeySym): adjust
2847         (getStatus): delete version that takes an int.
2848         (getStatus): adjust
2849         (dispatch): delete version that takes action as int
2850         (dispatch): adjust
2851         (sendDispatchMessage): simplify and adjust
2852
2853         * funcrequest.C (getArg): take unsigned int as arg
2854
2855         * ToolbarBackend.C (read): adjust
2856         (add): delete version that takes func as a string.
2857         (getIton): take a FuncRequest as arg
2858
2859         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2860         action.
2861
2862         * MenuBackend.C (MenuItem): add a new construct that only takes a
2863         Kind, simplify the constructor use for submenus.
2864         (add): adjust
2865         (expandLastfiles): adjust
2866         (expandDocuments): adjust
2867         (expandFormats): adjust
2868         (expandFloatListInsert): adjust
2869         (expandFloatInsert): adjust
2870         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2871
2872         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2873         Remove class variables lyx_pseudo_map and lyx_arg_map
2874
2875         * LyXAction.C (searchActionArg): delete function
2876         (getPseudoAction): delete function
2877         (retrieveActionArg): delete function
2878         (LookupFunc): make it return kb_action, simplify.
2879         (getActionName): simplify
2880
2881         * factory.C (createInset): fix new bug
2882
2883 2003-09-19  Angus Leeming  <leeming@lyx.org>
2884
2885         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2886         masterFilename_ parameter in the include inset.
2887
2888         * factory.C (createInset): changes due to the changes to InsetInclude.
2889
2890 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2891
2892         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2893
2894 2003-09-18  Angus Leeming  <leeming@lyx.org>
2895
2896         * buffer.C:
2897         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2898         Inset::fillWithBibKeys.
2899         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2900
2901 2003-09-18  Angus Leeming  <leeming@lyx.org>
2902
2903         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2904         variables.
2905         (ctor): pass and store a 'Buffer const &'
2906         (buffer): new member function.
2907
2908         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2909         '*this' to the LaTeXFeatures ctor.
2910
2911 2003-09-18  Angus Leeming  <leeming@lyx.org>
2912
2913         * LColor.h:
2914         * lyxfont.C:
2915         * lyxfont.h:
2916         * lyxtext.h:
2917         * text.C: rename EnumLColor as LColor_color.
2918
2919 2003-09-18  Angus Leeming  <leeming@lyx.org>
2920
2921         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2922         remove #include "insets/insetbase.h" from cursor.h.
2923
2924 2003-09-18  Angus Leeming  <leeming@lyx.org>
2925
2926         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2927         InsetOld_code to remove #include "inset.h".
2928
2929         * iterators.C: add #include "insets/inset.h"
2930
2931 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2932
2933         * BufferView.C: remove more locking stuff that apparently doesn't
2934         do anything sensible.
2935
2936 2003-09-16  André Pönitz  <poenitz@gmx.net>
2937
2938         * paragraph.[Ch]:
2939         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2940           performance boost.
2941
2942 2003-09-16  Angus Leeming  <leeming@lyx.org>
2943
2944         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2945
2946         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2947         arg/return type.
2948
2949         * paragraph.h: remove #include "lyxfont.h". Forward declare
2950         LyXFont_size.
2951
2952 2003-09-16  Angus Leeming  <leeming@lyx.org>
2953
2954         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2955         of support/textutils.h.
2956         (isWord): move the contents of support/textutils.h's IsWordChar here.
2957
2958         * buffer.C:
2959         * lyxfind.C:
2960         * rowpainter.C:
2961         * text.C:
2962         * text2.C: add #include "paragraph.h".
2963
2964         * rowpainter.C:
2965         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2966
2967 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2968
2969         * main.C:
2970         * lyx_main.C:
2971         * lyx_cb.C:
2972         * buffer.C:
2973         * LaTeX.C: use namespace alias for lyx::support::os
2974
2975 2003-09-16  Angus Leeming  <leeming@lyx.org>
2976
2977         * bufferparams.C:
2978         * bufferview_funcs.C:
2979         * factory.C:
2980         * lyxfunc.C:
2981         * paragraph_pimpl.C:
2982         * rowpainter.C:
2983         * text.C: add #include "LColor.h".
2984
2985 2003-09-16  Angus Leeming  <leeming@lyx.org>
2986
2987         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2988         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2989         return LyXFont &.
2990         Store the FontBits::color variable as an int rather than as an
2991         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2992         file.
2993
2994         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2995         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2996         string calls together.
2997
2998         * lyxrc.C: add #include "LColor.h".
2999
3000 2003-09-15  Angus Leeming  <leeming@lyx.org>
3001
3002         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3003         a cow_ptr.
3004
3005 2003-09-15  Angus Leeming  <leeming@lyx.org>
3006
3007         * LColor.h: add an EnumLColor wrapper for LColor::color.
3008
3009         * lyxfont.[Ch] (color, setColor, realColor):
3010         * lyxtext.h, text.C (backgroundColor):
3011         pass EnumLColor args to/from the functions, rather than LColor::color
3012         ones.
3013
3014         * lyxfont.h:
3015         * lyxtext.h: forward declare EnumLColor.
3016
3017         * lyx_main.C: add #include "LColor.h".
3018
3019 2003-09-15  Angus Leeming  <leeming@lyx.org>
3020
3021         * .cvsignore: add lyx-gtk.
3022
3023 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3024
3025         * Chktex.C
3026         * LaTeX.C
3027         * LaTeXFeatures.C
3028         * ParagraphParameters.C
3029         * Spacing.C
3030         * buffer.C
3031         * bufferparams.C
3032         * bufferview_funcs.C
3033         * chset.C
3034         * counters.C
3035         * funcrequest.C
3036         * lyxfont.C
3037         * lyxgluelength.C
3038         * lyxlength.C
3039         * paragraph.C
3040         * paragraph_funcs.C
3041         * text3.C
3042         * vc-backend.C: remove usage of STRCONV
3043
3044 2003-09-15  Angus Leeming  <leeming@lyx.org>
3045
3046         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3047         explicitly define the color passed to the painter.
3048
3049 2003-09-15  Angus Leeming  <leeming@lyx.org>
3050
3051         * bufferparams.C (BufferParams): reorder member initializers to avoid
3052         compiler warning.
3053
3054 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3055
3056         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3057         * text.C (updateRowPositions): remove an unusual nop
3058
3059 2003-09-12  André Pönitz  <poenitz@gmx.net>
3060
3061         * BufferView_pimpl.C:
3062         * Bullet.C:
3063         * layout.h:
3064         * lyxfunc.C:
3065         * lyxlayout.[Ch]:
3066         * lyxtextclass.C:
3067         * rowpainter.C:
3068         * text.C:
3069         * text2.C:
3070         * Counters.[Ch]: finish the 'automatic counters' job
3071
3072 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3073
3074         * aspell.C: include <boost/assert.cpp> (compile fix)
3075
3076 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3077
3078         * boost.C (assertion_failed): use lyx::support::abort instead of
3079         assert.
3080
3081 2003-09-10  Angus Leeming  <leeming@lyx.org>
3082
3083         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3084         with their _fwd progeny.
3085
3086 2003-09-09  Angus Leeming  <leeming@lyx.org>
3087
3088         134 files throughtout the source tree: replace 'using namespace abc;'
3089         directives with the appropriate 'using abc::xyz;' declarations.
3090
3091 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3092
3093         * boost.C (emergencyCleanup): moved here from LAssert.c
3094         (assertion_failed): new function, called by BOOST_ASSERT
3095
3096         * several files: change Assert to BOOST_ASSERT
3097
3098 2003-09-09  Angus Leeming  <leeming@lyx.org>
3099
3100         * buffer.[Ch]: Add an Impl class and move Buffer's member
3101         variables into it. As a result move several header files out of
3102         buffer.h.
3103
3104         Add header files to lots of .C files all over the tree as a result.
3105
3106 2003-09-09  Angus Leeming  <leeming@lyx.org>
3107
3108         * buffer.[Ch]: make Buffer's member variables private. Add
3109         accessor functions.
3110
3111         Lots of changes all over the tree as a result.
3112
3113 2003-09-08  Angus Leeming  <leeming@lyx.org>
3114
3115         * graph.C: #include <config.h>.
3116
3117 2003-09-08  Angus Leeming  <leeming@lyx.org>
3118
3119         * BranchList.C:
3120         * BufferView.C:
3121         * BufferView_pimpl.C:
3122         * CutAndPaste.C:
3123         * DepTable.C:
3124         * LaTeX.C:
3125         * LaTeXFeatures.C:
3126         * LyXAction.C:
3127         * MenuBackend.C:
3128         * TextCache.C:
3129         * aspell.C:
3130         * buffer.C:
3131         * bufferlist.C:
3132         * changes.C:
3133         * chset.C:
3134         * converter.C:
3135         * counters.C:
3136         * debug.C:
3137         * graph.C:
3138         * ispell.C:
3139         * lyx_cb.C:
3140         * lyxfind.C:
3141         * lyxfunc.C:
3142         * lyxlex_pimpl.C:
3143         * lyxrc.C:
3144         * lyxrow.C:
3145         * paragraph.C:
3146         * rowpainter.C:
3147         * texrow.C:
3148         * text.C:
3149         * text2.C:
3150         * toc.C: remove redundant using directives.
3151
3152 2003-09-07  Angus Leeming  <leeming@lyx.org>
3153
3154         * LaTeXFeatures.h: remove #include "support/types.h".
3155         * ToolbarBackend.h: remove #include <algorithm>.
3156         * changes.h: remove #include <ctime>.
3157         * debug.h: remove #include <iosfwd>.
3158         * graph.h: remove #include "support/std_string.h".
3159         * lyx_main.h: remove #include <csignal>.
3160         * lyxlex_pimpl.h: remove #include <fstream>.
3161         * sgml.h: remove #include <algorithm>, <utility>.
3162         * toc.h: remove #include "support/std_ostream.h".
3163         Add #include <iosfwd>.
3164
3165 2003-09-07  Angus Leeming  <leeming@lyx.org>
3166
3167         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3168
3169         * converter.h: forward declare LatexRunParams.
3170         * encoding.h: remove #include "lyxrc.h".
3171         * lyxtext.h: remove #include "LColor.h".
3172         * lyxtextclass.h: remove #include "support/types.h".
3173         * trans.h: remove #include "tex-accent.h".
3174         * trans_mgr.h: remove #include "tex-accent.h".
3175         * insets/inset.h: remove #include "support/types.h", <vector>.
3176         * insets/insetcollapsable.h: remove #include "LColor.h".
3177         * insets/insetinclude.h: remove #include "dimension.h".
3178         * insets/insetlatexaccent.h: remove #include "dimension.h".
3179         * insets/insetoptarg.h:: remove #include "insettext.h".
3180         * insets/insettext.h: remove #include "dimension.h",
3181         <boost/shared_ptr.hpp>
3182
3183         * insets/renderers.h: add #include "dimension.h".
3184         * insets/updatableinset.h: add #include "support/types.h".
3185
3186         * many .C files: Associated changes.
3187
3188 2003-09-06  Angus Leeming  <leeming@lyx.org>
3189
3190         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3191         one, inside testInvariant.
3192
3193         * PrinterParams.C: new file.
3194         * PrinterParams.[Ch]: move the function bodies out of line.
3195
3196 2003-09-06  Angus Leeming  <leeming@lyx.org>
3197
3198         * ParagraphParameters.h: forward declare ParameterStruct rather than
3199         including its header file.
3200         (depth): moved out-of-line.
3201
3202 2003-09-06  Angus Leeming  <leeming@lyx.org>
3203
3204         * BufferView_pimpl.h:
3205         * kbmap.h:
3206         * kbsequence.h:
3207         * lyxfunc.h: forward declare LyXKeySym rather than
3208         #include "frontends/LyXKeySym.h".
3209
3210         * BufferView_pimpl.C:
3211         * kbmap.C:
3212         * kbsequence.C:
3213         * lyxfunc.C: associated changes.
3214
3215 2003-09-06  Angus Leeming  <leeming@lyx.org>
3216
3217         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3218         As a result, can remove the #include "insets/inset.h" from BufferView.h
3219
3220 2003-09-06  Angus Leeming  <leeming@lyx.org>
3221
3222         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3223         As a result, can remove the #include "insets/inset.h" from BufferView.h
3224
3225 2003-09-06  Angus Leeming  <leeming@lyx.org>
3226
3227         * buffer_funcs.C:
3228         * buffer.h:
3229         * bufferlist.C:
3230         * BufferView.C:
3231         * bufferview_funcs.C:
3232         * BufferView_pimpl.C:
3233         * CutAndPaste.C:
3234         * lyx_cb.C:
3235         * lyxfunc.C:
3236         * paragraph.h:
3237         * ParagraphParameters.C:
3238         * tabular.C:
3239         * text3.C:
3240         * toc.C:
3241         * undo_funcs.C:
3242         * frontends/controllers/ControlDocument.C:
3243         * insets/insetcaption.C: rearrange the #includes into some sort of
3244         coherent order.
3245
3246         * buffer.h: remove #includes ErrorList.h, undo.h
3247
3248 2003-09-06  Angus Leeming  <leeming@lyx.org>
3249
3250         * support/types.h: add a 'depth_type' typedef, used to store the
3251         nesting depth of a paragraph.
3252
3253         * paragraph.h:
3254         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3255         defining explicitly.
3256
3257         * buffer.h:
3258         * paragraph_funcs.h:
3259         * ParagraphParameters.h:
3260         * sgml.h: use lyx::depth_type rather than Paragraph or
3261         ParameterStruct's depth_type.
3262
3263         * buffer.h
3264         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3265
3266         * BufferView.C:
3267         * BufferView_pimpl.C:
3268         * CutAndPaste.C:
3269         * ParagraphParameters.C:
3270         * buffer_funcs.C:
3271         * bufferlist.C:
3272         * bufferview_funcs.C:
3273         * lyx_cb.C:
3274         * lyxfunc.C:
3275         * tabular.C:
3276         * text3.C:
3277         * toc.C:
3278         * undo_funcs.C:
3279         * frontends/LyXView.C:
3280         * frontends/controllers/ControlDocument.C:
3281         * frontends/controllers/ControlErrorList.C:
3282         * insets/insetbibitem.C:
3283         * insets/insetbranch.C:
3284         * insets/insetcaption.C:
3285         * insets/insetcollapsable.C:
3286         * insets/insetenv.C:
3287         * insets/insetert.C:
3288         * insets/insetfloat.C:
3289         * insets/insetfoot.C:
3290         * insets/insetfootlike.C:
3291         * insets/insetnewline.C:
3292         * insets/insetquotes.C:
3293         * insets/insettabular.C:
3294         * insets/insettext.C:
3295         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3296
3297         * frontends/controllers/ControlChanges.C: #include "changes.h".
3298
3299 2003-09-06  Angus Leeming  <leeming@lyx.org>
3300
3301         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3302         than #including paragraph.h.
3303
3304         * ParagraphList.h:
3305         * RowList.h: deleted. Superfluous.
3306
3307         * CutAndPaste.h:
3308         * iterators.h:
3309         * lyxcursor.h:
3310         * lyxtext.h:
3311         * text_funcs.h:
3312         * undo.h:
3313         * undo_funcs.h:
3314         * insets/inset.h:
3315         * insets/insettext.h: use ParagraphList_fwd.h rather than
3316         ParagraphList.h.
3317
3318         * paragraph.h: don't forward declare ParagraphList.
3319
3320         * buffer.h:
3321         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3322         rather than ParagraphList.h. paragraph.h is still needed for the
3323         Paragraph::depth_type parameters.
3324
3325         * textcursor.h: enable it to compile stand-alone in light of the
3326         above changes.
3327
3328         * bufferview_funcs.C:
3329         * iterators.C:
3330         * lyxfunc.C:
3331         * lyxrow_funcs.C:
3332         * paragraph.C:
3333         * rowpainter.C:
3334         * text.C:
3335         * text2.C:
3336         * text3.C:
3337         * text_funcs.C:
3338         * textcursor.C:
3339         * undo.C:
3340         * frontends/controllers/ControlParagraph.C:
3341         * frontends/controllers/ControlTabular.C:
3342         * insets/insetmarginal.C:
3343         * insets/insetminipage.C:
3344         * insets/insetnote.C:
3345         * insets/insetoptarg.C: add header files needed to compile again.
3346
3347 2003-09-06  Angus Leeming  <leeming@lyx.org>
3348
3349         * RowList_fwd.h: new file, forward-declaring Row rather than
3350         #including lyxrow.h.
3351
3352         * lyxrow_funcs.h:
3353         * lyxtext.h:
3354         * paragraph.h:
3355         * insets/insettext.h: use it instead of RowList.h
3356
3357         * bufferview_funcs.C:
3358         * lyxfunc.C:
3359         * lyxrow_funcs.C:
3360         * paragraph.C:
3361         * rowpainter.C:
3362         * text.C:
3363         * text2.C:
3364         * text3.C: #include "RowList.h".
3365
3366 2003-09-05  Angus Leeming  <leeming@lyx.org>
3367
3368         * factory.C (createInset):
3369         * vspace.C (c-tor): replace sscanf call with an istringstream.
3370         * ispell.C: re-add missing HP/UX headers.
3371         * lyxserver.C: re-add missing  os2 headers.
3372
3373 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3374
3375         * BranchList.C:
3376         * graph.C:
3377         * ispell.C:
3378         * lastfiles.C:
3379         * lyx_cb.C:
3380         * lyxserver.C:
3381         * texrow.C:
3382         * text3.C: re-add missing system headers, needed for 2.95.2.
3383
3384 2003-09-05  Angus Leeming  <leeming@lyx.org>
3385
3386         Changes most place everywhere due to the removal of using directives
3387         from support/std_sstream.h.
3388
3389 2003-09-05  Angus Leeming  <leeming@lyx.org>
3390
3391         Replace LString.h with support/std_string.h,
3392         Lsstream.h with support/std_sstream.h,
3393         support/LIstream.h with support/std_istream.h,
3394         support/LOstream.h with support/std_ostream.h.
3395
3396         Changes resulting throughout the tree.
3397
3398 2003-09-05  Angus Leeming  <leeming@lyx.org>
3399
3400         * sgml.h: ensure that the header file can be compiled stand-alone.
3401         * *.C: strip out redundant #includes. (320 in total.)
3402
3403 2003-09-04  Angus Leeming  <leeming@lyx.org>
3404
3405         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3406         here (from getPackages).
3407
3408         * debug.[Ch]: add a new EXTERNAL tag.
3409
3410 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3411
3412         * text2.C (cursorEnd): simplify
3413         (setCursor): adjust
3414         (getColumnNearX): adjust
3415
3416         * text.C (computeBidiTables): adjust
3417         (fill): adjust
3418
3419         * rowpainter.C (paintChars): adjust
3420         (paintSelection): adjust
3421         (paintChangeBar): adjust
3422         (paintText): adjust
3423
3424         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3425         lastPos instead.
3426         (numberOfSeparators): adjust
3427
3428 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3429
3430         * LyXAction.C:
3431         * box.[Ch]:
3432         * lfuns.h:
3433         * lyxfunc.C:
3434         * text3.C: Restricts the mouse click functionality
3435         of insets like bibtex, include, toc and floatlist to the visible
3436         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3437         up the dialogs. Cursor has to be in front of the inset (i.e.
3438         start of row) for this to function.
3439
3440 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3441
3442         * bufferview_funcs.C (currentState): output row information
3443
3444 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3445
3446         * bufferview_funcs.C (currentState): output paragraph position
3447
3448 2003-09-04  Angus Leeming  <leeming@lyx.org>
3449
3450         * FloatList.h: move out #include "Floating.h".
3451         * LaTeX.h: move out #include "DepTable.h".
3452         * LyXAction.h: move out #include "funcrequest.h".
3453         * buffer.h: move out #include "author.h", "iterators.h".
3454         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3455         * lyx_main.h: move out #include "errorlist.h".
3456         * lyxfunc.h: move out #include "FuncStatus.h".
3457         * lyxtext: move out #include "lyxcursor.h".
3458         * paragraph_pimpl.h: move out #include "counters.h".
3459
3460 2003-09-03  Angus Leeming  <leeming@lyx.org>
3461
3462         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3463         preamble_snippets list, enabling us to add snippets to the preamble
3464         only if the snippet was not there already.
3465
3466 2003-09-04  Angus Leeming  <leeming@lyx.org>
3467
3468         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3469
3470 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3471
3472         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3473         update
3474
3475 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3476
3477         * BranchList.C: point fix, earlier forgotten
3478
3479 2003-09-02  Angus Leeming  <leeming@lyx.org>
3480
3481         * box.C (contains): renamed from 'contained' after a fantastic
3482         amount of hot air.
3483
3484 2003-09-02  John Levon  <levon@movementarian.org>
3485
3486         * BufferView.C:
3487         * lyxcursor.h:
3488         * lyxcursor.C:
3489         * lyxfunc.C:
3490         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3491
3492 2003-09-02  John Levon  <levon@movementarian.org>
3493
3494         * text2.C: simplification of cursorEnd(), including partial
3495         fix for bug 1376
3496
3497 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3498
3499         * buffer.C (readFile): add a space
3500
3501 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3502
3503         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3504
3505 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3506
3507         * buffer.C (readFile): new function, take a filename and a
3508         ParagraphList::iterator
3509         (readFile): adjust
3510         (readFile): adjust, make it private. don't use setStream, make
3511         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3512         always contain the filename.
3513
3514         * BufferView.C (insertLyXFile): simplify and make it work for
3515         gzipped files.
3516
3517 2003-08-30  John Levon  <levon@movementarian.org>
3518
3519         * Makefile.am: fix dist (from Kayvan)
3520
3521 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3522
3523         * most files: change to use const Buffer refs
3524
3525 2003-08-27  André Pönitz  <poenitz@gmx.net>
3526
3527         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3528         on top of ownerPar().
3529
3530 2003-08-27  John Levon  <levon@movementarian.org>
3531
3532         * funcrequest.C: properly initialise POD members
3533
3534 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3535
3536         * lyxtext.h (top_y): move top_y from here
3537         * text.C:
3538         * text2.C:
3539         * text3.C:
3540         * BufferView.[Ch]:
3541         * BufferView_pimpl.[Ch]: to here
3542         * frontends/screen.C:
3543         * insets/insettabular.C:
3544         * insets/insettext.C: adjust
3545         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3546
3547 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3548
3549         * BufferView.[Ch]:
3550         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3551
3552 2003-08-26  André Pönitz  <poenitz@gmx.net>
3553
3554         * paragraph_func.[Ch] (outerPar): new function
3555
3556         * paragraph.C:
3557         * paragraph_funcs.C:
3558         * paragraph_funcs.h:
3559         * paragraph_pimpl.C:
3560         * text2.C: remove Inset::par_owner
3561
3562 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3563
3564         * lyxrow_funcs.C:
3565         * lyxtext.h:
3566         * text.C:
3567         * text2.C: eliminates the needFullRow/display() stuff
3568         altogether, putting the logic in metrics/draw in the insets.
3569
3570 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3571
3572         * text2.C (redoParagraphInternal, redoParagraphs):
3573         * text.C (redoParagraph): add a call to updateRowPositions at the
3574         end of each 'metrics-like' call. Remove all others.
3575         (getRow): remove the 'y-computing' version.
3576         (getRowNearY): do not compute nor return the real y. Solve the
3577         'y < 0' problem and simplify.
3578
3579 2003-08-22  Angus Leeming  <leeming@lyx.org>
3580
3581         * *.[Ch]: clean-up of licence and author blurbs.
3582         Also move config.h out of a few .h files and into a few .C files.
3583
3584 2003-08-22  André Pönitz  <poenitz@gmx.net>
3585
3586         * lyxrow.[Ch]: add x_ and *fill_ members
3587
3588         * lyxtext.h:
3589         * text.C:
3590         * rowpainter.C:
3591         * text2.C: adjust/remove prepareToPrint() calls
3592
3593 2003-08-22  André Pönitz  <poenitz@gmx.net>
3594
3595         * lyxrow.[Ch]: add  end_ member
3596
3597         * lyxrow_funcs.C: use LyXRow::end_
3598
3599         * lyxtext.h (singleWidth): add LyXFont parameter
3600
3601         * rowpainter.C:
3602         * text2.C: adjust LyXText::singleWidth() calls
3603
3604         * text.C (redoParagraph): simplify row breaking logic
3605
3606
3607 2003-08-19  André Pönitz  <poenitz@gmx.net>
3608
3609         * funcrequest.C: initialize button_ member
3610
3611         * text3.C:
3612         * rowpainter.[Ch]: interface consolidation
3613
3614 2003-08-18  André Pönitz  <poenitz@gmx.net>
3615
3616         * BufferView.C:
3617         * BufferView_pimpl.C:
3618         * lyxfind.C:
3619         * paragraph_funcs.C:
3620         * rowpainter.C:
3621         * text3.C: remove LyXScreen::draw() and fitCursor calls
3622
3623         * BranchList.h: remove spurious semicolons
3624
3625         * MenuBackend.C: fix branchlist related crash
3626
3627 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3628
3629         * BranchList.[Ch]:
3630         * InsetList.[Ch]:
3631         * LColor.[Ch]:
3632         * LyXAction.C:
3633         * Makefile.am:
3634         * MenuBackend.[Ch]:
3635         * bufferparams.[Ch]:
3636         * factory.C:
3637         * lfuns.h:
3638         * lyxfunc.C:
3639         * text3.C: implements the 'branch inset'
3640         idea. This allows the output of various versions of a document
3641         from a single source version, selectively outputing or suppressing
3642         output of parts of the text.
3643         This implementation contains a 'branch list editor' in a separate
3644         tab of the document settings dialog. Branches are user definable
3645         and have a "display colour" to distinguish them on-screen.
3646
3647         ColorHandler was somewhat cleaned up.
3648         (1) make possible a dynamically growing LColor list by allowing
3649         the graphic context cache to grow along (vector);
3650         (2) eliminate an IMHO unnecessary step in colour allocation.
3651
3652 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3653
3654         * BufferView_pimpl.C: compile fix
3655
3656 2003-08-15  André Pönitz  <poenitz@gmx.net>
3657
3658         * rowpainter.C: remove extra metrics calls
3659
3660         * lyxtext.h: merge the two constructors into a single one,
3661           pass reference to owner's par list
3662
3663         * BufferView_pimpl.C:
3664         * text.C:
3665         * text2.C: adjust
3666
3667 2003-08-15  André Pönitz  <poenitz@gmx.net>
3668
3669         * lyxrow_funcs.[Ch]:
3670         * lyxtext.h:
3671         * paragraph.h:
3672         * paragraph_funcs.C:
3673         * rowpainter.C:
3674         * text.C:
3675         * text2.C:
3676         * text3.C:
3677         * text_funcs.C: split LyXText::rowlist_ into individual
3678         Paragraph::rows_ chunks
3679
3680         * BufferView.[Ch]:
3681         * BufferView_pimpl.[Ch]:
3682         * lyxfind.C:
3683         * lyxtext.h:
3684         * text3.C: remove toggleSelection()
3685
3686 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3687
3688         * bufferlist.C: beautify two alerts (shorter text of buttons)
3689         * buffer.C: Remove redundant ' ' from message
3690         * tabular.h:
3691         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3692         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3693         rename VALIGN_CENTER to VALIGN_MIDDLE
3694
3695 2003-08-11  André Pönitz  <poenitz@gmx.net>
3696
3697         * lyxtext.h (getPar):
3698         * text.C: new function
3699
3700 2003-08-11  André Pönitz  <poenitz@gmx.net>
3701
3702         * Makefile.am:
3703         * tracer.[Ch]: remove unneeded files
3704
3705         * InsetList.[Ch]: remove resizeInsetsLyXText()
3706
3707         * lyxtext.h:
3708         * text.C:
3709         * text2.C:
3710         * text3.C: merge insertParagraphs() and appendParagraph()
3711         remove breakAgain(), update()
3712
3713         * BufferView_pimpl.[Ch]:
3714         * bufferview_funcs.[Ch]:
3715         * lyxfunc.C:
3716         * paragraph.[Ch]:
3717         * rowpainter.C:
3718         * tabular.C: adjust after text & InsetList changes.
3719
3720 2003-08-08  André Pönitz  <poenitz@gmx.net>
3721
3722         * text.C (insertChar, backspace): replace rowlist fiddling
3723         with rebreak of full par
3724
3725         * lyxtext.h:
3726         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3727         checkParagraph, updateInset): removed
3728
3729 2003-08-07  André Pönitz  <poenitz@gmx.net>
3730
3731         * paragraph.C:
3732         * text3.C: merge some LFUN handlers, remove dead code
3733
3734 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3735
3736         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3737
3738 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3739
3740         * text2.C (DEPM): fix part of bug 1255 and 1256
3741
3742 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3743
3744         * BufferView_pimpl.C (workAreaDispatch): change to use
3745         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3746         that are no mouse related.
3747
3748 2003-08-05  André Pönitz  <poenitz@gmx.net>
3749
3750         * BufferView.[Ch]:
3751         * BufferView_pimpl.[Ch]:
3752         * bufferview_funcs.C:
3753         * text2.C:
3754         * text3.C: rip out "deep update"
3755
3756         * textcursor.[Ch] (last_sel_cursor): remove unused member
3757
3758 2003-08-04  André Pönitz  <poenitz@gmx.net>
3759
3760         * BufferView.[Ch]:
3761         * BufferView_pimpl.[Ch]:
3762         * ParagraphParameters.C:
3763         * bufferview_funcs.C:
3764         * lyx_cb.C:
3765         * lyxfind.C:
3766         * lyxfunc.C:
3767         * text.C:
3768         * text2.C:
3769         * text3.C: replace "complicated" BufferView::update(...) calls with
3770         simpler ones.
3771
3772         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3773
3774 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3775
3776         * Makefile.am (lyx_SOURCES): add paper.h
3777
3778 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3779
3780         * Makefile.am: move things around so that both lyx-qt and
3781         lyx-xforms can be built (according to --with-frontend). Then lyx
3782         is a symbolic link to lyx-[firstfrontend]
3783
3784 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3785
3786         * Always use std::endl with lyxerr
3787
3788 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3789
3790         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3791
3792 2003-08-01  André Pönitz  <poenitz@gmx.net>
3793
3794         * BufferView.[Ch]:
3795         * BufferView_pimpl.[Ch]:
3796         * lyxfunc.C:
3797         * text3.C: merge BufferView::repaint() and BufferView::update()
3798
3799 2003-08-01  José Matos  <jamatos@lyx.org>
3800
3801         * buffer.[Ch]: file_format is no longer a buffer data element.
3802
3803 2003-08-01  André Pönitz  <poenitz@gmx.net>
3804
3805         * BufferView.C:
3806         * lyxtext.h:
3807         * text.C:
3808         * text2.C: make redoParagraph more independent of current cursor
3809
3810         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3811         * text.C:
3812         * text2.C: remove unneeded members
3813
3814 2003-07-30  André Pönitz  <poenitz@gmx.net>
3815
3816         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3817
3818         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3819           create a single function...
3820
3821         * paragraph_funcs.C (moveItem): ... here.
3822
3823         * text.C:
3824           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3825
3826 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3827
3828         * LColor.[Ch]: Add comment and greyedout logical colors.
3829
3830 2003-07-30  André Pönitz  <poenitz@gmx.net>
3831
3832         * tabular.C: don't use Assert too heavily. This crashes where it
3833           shouldn't
3834
3835 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3836
3837         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3838         is disabled (bug 1232)
3839
3840 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3841
3842         * factory.C: limited 'arg' scope
3843
3844 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3845
3846         * factory.C: fixed Note submenu issues
3847
3848 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3849
3850         * factory.C: submenu for Note/Comment/Greyedout
3851
3852 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3853
3854         * lyx_main.C (LyX):
3855         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3856
3857 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3858
3859         * LaTeXFeatures.C:
3860         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3861         greyedout. Patch provided by Jürgen Spitzmüller.
3862
3863 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3864
3865         * kbmap.C (read): fix error message when reading bind files
3866
3867 2003-07-29  Angus Leeming  <leeming@lyx.org>
3868
3869         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3870         certainly does not do what it purports to do. I am doing it, and
3871         us, a favour by killing it.
3872
3873 2003-07-28  José Matos  <jamatos@lyx.org>
3874
3875         * buffer.C (readBody, do_writeFile):
3876         * paragraph.C(readParagraph): \end_document replaces \the_end.
3877
3878 2003-07-29  André Pönitz  <poenitz@gmx.net>
3879
3880         * BufferView.[Ch]:
3881         * BufferView_pimpl.[Ch]:
3882         * lyxfunc.C:
3883         * text2.C:
3884         * text3.C:
3885         * textcursor.[Ch]: remove toggleToggle & Co
3886
3887 2003-07-28  José Matos  <jamatos@fep.up.pt>
3888
3889         * buffer.C (readParagraph):
3890         * params_func (readParToken, readParagraph):
3891         * paragraph.C (write): \layout -> \begin_layout.
3892
3893 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3894
3895         * lyxlex_pimpl.C (setFile): clean up slightly.
3896
3897         * bufferparams.h: add compressed var
3898
3899         * buffer_funcs.C (readFile): adjust for LyXLex change
3900         (newFile): ditto + simplify
3901
3902         * buffer.C (writeFile): handle writing of compressed files
3903
3904         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3905         Check if the file is compressed and set a bufferparm if so.
3906
3907         * Makefile.am (lyx_LDADD): remove explicit -lz
3908
3909 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3910
3911         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3912         makeDocBookFile): put the real LyX version in the first line of
3913         the file
3914
3915         * version.h:
3916         * version.C.in: remove lyx_docversion
3917
3918         * tabular.C (write_attribute): add a template-based version to
3919         write enums properly
3920
3921 2003-07-28  André Pönitz  <poenitz@gmx.net>
3922
3923         * lyxtext.h:
3924         * text.C:
3925         * text2.C:
3926         * text3.C: use doubles again for x-coordinates. They are needed.
3927
3928 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3929
3930         * messages.C (getLocaleDir): use lyx_localedir()
3931
3932         * lyxlex_pimpl.C (setFile): compress stuff
3933
3934         * buffer.C (writeFile): add some compression stuff
3935         (do_writeFile): new func, dont call expliti close... will this
3936         breake anything?
3937
3938         * Makefile.am (lyx_LDADD): add -lz
3939
3940 2003-07-28  José Matos  <jamatos@fep.up.pt>
3941
3942         * buffer.C: increment file format.
3943         * paragraph_funcs (readParagraph, readParToken):
3944         * paragraph.C (readParagraph): add \end_layout.
3945
3946 2003-07-27  Angus Leeming  <leeming@lyx.org>
3947
3948         * Makefile.am: remove special casing for configure-time setting of
3949         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3950
3951         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3952         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3953
3954 2003-07-26  André Pönitz  <poenitz@gmx.net>
3955
3956         * paragraph_func.[Ch]:
3957         * paragraph.C (realizeFont): inline it whereever it is used
3958
3959         * rowpainter.C:
3960         * text.C:
3961         * text2.C:
3962         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3963
3964
3965 2003-07-26  André Pönitz  <poenitz@gmx.net>
3966
3967         *       lyxtext.h:
3968         * text.C:
3969         * text2.C: get rid of LyXText::need_break_row
3970
3971 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3972
3973         * toc.[Ch]: put namespace toc inside namespace lyx
3974
3975         * MenuBackend.C (expandToc2): adjust for lyx::toc
3976         (expandToc): ditto
3977
3978         * lyxfunc.C (dispatch): adjust for lyx::find
3979
3980         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3981         lyx::find instead. Reorganize a bit.
3982         (LyXReplace): rename to replace
3983         (LyXFind): rename to find
3984
3985         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3986         (dispatch): ditto
3987
3988 2003-07-26  André Pönitz  <poenitz@gmx.net>
3989
3990         * text.C (setHeightOfRow): restrict scope of temporary variable
3991
3992         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3993           code (never has been used?)
3994
3995 2003-07-27  Asger Alstrup  <alstrup@local>
3996
3997         * text.C (fill): Optimise algorithm to exploit that we can reuse
3998         the LyXFont for many characters.
3999         (setHeightOfRow): Same thing.
4000         (rowBreakPoint): Same thing.
4001
4002 2003-07-26  Asger Alstrup  <alstrup@local>
4003
4004         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4005
4006         * text.C (singleWidth): Spurious font copying in hot-spot
4007         singleWidth avoided. Reorder tests for arabic for efficiency.
4008
4009         * text.C (fill): handle empty paragraphs better.
4010
4011 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4012
4013         * ispell.C:
4014         * encoding.h: add includes
4015
4016         * lyxrc.C: remove reading of bind files
4017
4018         * lyx_main.C (init): setup bindings and menus only if we have a
4019         gui.
4020
4021         * kbmap.C (read): new method. Do the actual reading of bind
4022         files.
4023
4024         * converter.C (dvipdfm_options):
4025         * bufferparams.C:
4026         * lyxrc.C (read):
4027         (output): adapt PAPER_* enums.
4028
4029         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4030
4031         * bufferparams.h: remove paper-related enums from there
4032
4033         * paper.h: New file. A trivial header file to hold paper-related
4034         enums. It should later expand to contain many paper-related
4035         horrors access.
4036
4037         * lyxrc.C: declare extern displayTranslator
4038
4039 2003-07-27  José Matos  <jamatos@fep.up.pt>
4040
4041         * tabular.[Ch] (linuxdoc): add support for tables and figures
4042         (linuxdoc).
4043
4044 2003-07-27  José Matos  <jamatos@fep.up.pt>
4045
4046         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4047         consistency in both functions.
4048         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4049
4050 2003-07-26  Asger Alstrup  <alstrup@local>
4051
4052         * rowpainter.C (paintRows): Change algorithm to work directly on
4053         the insets rather than asking every character in the document
4054         whether its an inset.
4055
4056 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4057
4058         * buffer.C (openFileWrite): factorize some code
4059
4060 2003-07-26  Angus Leeming  <leeming@lyx.org>
4061
4062         * lyx_cb.C:
4063         * lyx_main.[Ch]: replace occurances of system_tempdir with
4064         os::getTmpDir().
4065
4066 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4067
4068         * rename Inset to InsetOld
4069
4070 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4071
4072         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4073         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4074         which I think is a bit clearer. EDIT is gone, since it was
4075         premature optimisation, and broken for mathed anyway.
4076         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4077         with cursor positioning in insets as well (math insets still do not
4078         work, but that's a different story anyway.) It mysteriously
4079         crashes sometimes with undo in the first paragraph, but I'm fairly
4080         confident that this is a compiler bug.
4081
4082 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4083
4084         * paragraph.C (Paragraph): adjust for new clone return type
4085         (operator==): ditto
4086         (copyIntoMinibuffer): ditto
4087
4088 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4089
4090         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4091         by not having a special case, and always doing a full rebreak of
4092         the document after undo.
4093
4094 2003-07-23  Angus Leeming  <leeming@lyx.org>
4095
4096         * factory.C (createInset): InsetExternal::setParams now takes a
4097         Buffer const * arg.
4098
4099 2003-07-23  Angus Leeming  <leeming@lyx.org>
4100
4101         * factory.C (createInset): changed interface to the external and
4102         graphics mailers' string2params functions.
4103
4104 2003-07-23  Angus Leeming  <leeming@lyx.org>
4105
4106         * factory.C (createInset): pass a
4107         Buffer const * parameter to InsetExternalMailer's string2params.
4108
4109 2003-07-22  John Levon  <levon@movementarian.org>
4110
4111         * Thesaurus.h: include the right aiksaurus header
4112
4113 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4114
4115         * MenuBackend.C (expand): check menu shortcuts unconditionally
4116
4117 2003-07-21  Angus Leeming  <leeming@lyx.org>
4118
4119         * factory.C (createInset): pass a
4120         buffer_path parameter to InsetGraphicsMailer's string2params.
4121
4122 2003-07-21  Angus Leeming  <leeming@lyx.org>
4123
4124         * BufferView_pimpl.C (buffer):
4125         * buffer.C (d-tor):
4126         * lyx_main.C (LyX):
4127         * lyxfunc.C (dispatch):
4128         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4129         rather than the grfx shortcut.
4130
4131 2003-07-21  André Pönitz  <poenitz@gmx.net>
4132
4133         * rowpainter.C: remove unused variables
4134
4135         * tabular_funcs.C:
4136         * tabular_funcs.h: move to tabular.C
4137         * Makefile.am: adjust
4138
4139         * tabular.[Ch]: basic optical cleaning
4140
4141         * author.h: pass references, not values
4142
4143 2003-07-18  André Pönitz  <poenitz@gmx.net>
4144
4145         * lyxtext.h:
4146         * metricsinfo.C:
4147         * metricsinfo.h:
4148         * rowpainter.C:
4149         * text.C:
4150         * text2.C:
4151         * text3.C: two-phase drawing for InsetText and InsetTabular
4152         some float -> int changes.
4153
4154 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4155
4156         * lyx_main.C: fix the fix
4157
4158 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4159
4160         * lyx_main.C: fix a crash in batch mode if no files specified
4161         * converter.C: ws
4162
4163 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4164
4165         * format.[Ch] (papersize): moved to BufferParams
4166         * converter.[Ch] (dvips_options): moved to BufferParams
4167         (dvipdfm_options): moved to anon namespace
4168         * bufferparams.[Ch]: added above functions.
4169
4170 2003-07-17  André Pönitz  <poenitz@gmx.net>
4171
4172         * lyxtext.h:
4173         * rowpainter.C:
4174         * text2.C: don't call inset->update() anymore
4175
4176         * metricsinfo.[Ch]: add convenience constructor
4177
4178 2003-07-16  André Pönitz  <poenitz@gmx.net>
4179
4180         * lyxcursor.[Ch]:
4181         * lyxfunc.[Ch]:
4182         * text.C:
4183         * text2.C: replace the LyXCursor::irow_ member with
4184          on-demand computation of the value
4185
4186 2003-07-16  John Levon  <levon@movementarian.org>
4187
4188         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4189
4190 2003-07-15  André Pönitz  <poenitz@gmx.net>
4191
4192         * text.C:
4193         * text2.C: remove no more needed refresh_row
4194
4195 2003-07-15  André Pönitz  <poenitz@gmx.net>
4196
4197         * lyxtext.h:
4198         * rowpainter.C:
4199         * text2.C:
4200         * text3.C: refresh_status tristate -> need_update bool
4201
4202 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4203
4204         * lyxtext.h (init): remove reinit argument (act as if always true)
4205         * text2.C: adjust to that
4206
4207 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4208
4209         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4210         * text3.C: use it to delete selections in some cases
4211         (bugs 441, 673, 702, 954).
4212
4213 2003-07-14  André Pönitz  <poenitz@gmx.net>
4214
4215         * rowpainter.[Ch]: reduce interface
4216
4217 2003-07-14  André Pönitz  <poenitz@gmx.net>
4218
4219         * BufferView_pimpl.C:
4220         * text2.C: adjust after removing unused BufferView * argument
4221
4222 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4223
4224         * text2.C (init): fix a crash fired on resize
4225
4226 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4227
4228         * buffer.[Ch]: added new closing signal
4229         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4230         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4231         BufferView::Pimpl via the closing the signal
4232
4233 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4234
4235         * buffer.[Ch]: take out all bv-related from buffer
4236         * BufferView.C:
4237         * BufferView_pimpl.[Ch]: connect to new signals
4238         * CutAndPaste.C: removed useless asserts
4239         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4240         * lyxvc.[Ch]:
4241         * vc-backend.[Ch]:
4242         * lyxfunc.C: moved view-related funciontality from vc here
4243         * paragraph.C: removed outdated comments
4244         * text.C: ws
4245
4246 2003-07-10  André Pönitz  <poenitz@gmx.net>
4247
4248         * BufferView_pimpl.C:
4249         * tabular.h:
4250         * tabular_funcs.C:
4251         * text.C:
4252         * text2.C: remove InsetText::InnerCache, clean up consequences
4253
4254 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4255
4256         * ispell.C: fix two typos in error messages
4257
4258 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4259
4260         * Extend Note inset to other forms of annotation like Comment
4261         and Greyedout. Right button click gives dialog.
4262
4263         Files modified or added (+):
4264
4265         * insetnote.[Ch]
4266         * FormNote.[Ch]      +
4267         * ControlNote.[Ch]   +
4268         * form_note.fd       +
4269         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4270         frontends/controllers
4271         * xforms/Dialogs.C
4272         * factory.C
4273
4274 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4275
4276         * aspell.C: add missing namespace lyx::support
4277
4278 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4279
4280         * BufferView.[Ch] (newFile): Add
4281         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4282         * LaTeX.[Ch] (message): added this signal and use it
4283         * buffer.[Ch] (busy, message): added these signals and use them
4284         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4285         * converter.C:
4286         * exporter.C:
4287         * format.C:
4288         * importer.C: use buffer signals instead of direct bv calling
4289         * lyx_cb.[Ch] (ShowMessage): removed
4290         * lyx_main.C:
4291         * lyxfunc.C:
4292         * paragraph_funcs.C:
4293         * text2.C: use buffer signals
4294
4295 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4296
4297         * introduce namespace lyx::graphics
4298
4299 2003-07-02  André Pönitz  <poenitz@gmx.net>
4300
4301         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4302
4303 2003-07-01  André Pönitz  <poenitz@gmx.net>
4304
4305         * text.C:
4306         * text2.C:
4307         * text3.C:
4308         * text_funcs.[Ch]:
4309         * textcursor.h:
4310         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4311           text*.C to text_func.C
4312
4313 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4314
4315         * introduce namespace lyx::support
4316
4317 2003-06-30  André Pönitz  <poenitz@gmx.net>
4318
4319         * Chktex.C:
4320         * funcrequest.C:
4321         * lyxtext.h:
4322         * text.C: re-enable --with-included-string
4323
4324 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4325
4326         * textcursor.C: add <config.h>
4327
4328         * text.C (getWord): remove const from word_location arg
4329
4330         * lyxvc.C (getLogFile): fix const type order
4331
4332         * lyxtext.h: remove const from word_location arg, add arg name
4333
4334         * lyxlayout.h: currect type on labeltype.
4335
4336         * importer.C: correct \file
4337
4338         * converter.C (intToFormat): use std:: on ret val, ws changes
4339
4340         * bufferlist.h: correct \file
4341
4342         * buffer.C (makeLinuxDocFile): fix const type order
4343         (makeDocBookFile): ditto
4344         (fillWithBibKeys): use std:: on stdlib args.
4345
4346         * CutAndPaste.C: fix authors.
4347         (availableSelections): use std:: on return vector
4348
4349 2003-06-27  André Pönitz  <poenitz@gmx.net>
4350
4351         * BufferView_pimpl.C:
4352         * bufferview_funcs.C:
4353         * lyxcursor.C:
4354         * lyxcursor.h:
4355         * lyxfunc.C:
4356         * lyxtext.h:
4357         * rowpainter.C:
4358         * text.C:
4359         * text2.C:
4360         * text3.C: remove LyXCursor::row_ member
4361
4362         * lyxtext.h:
4363         * text.C: rename fullRebreak() to partialRebreak() and implement
4364           a fullRebreak() that really bereks fully
4365
4366         * textcursor.h: new struct for cursor-related data
4367
4368 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4369
4370         * lyx_main.C (LyX): get full path of document loaded on the
4371         command line
4372
4373 2003-06-26  André Pönitz  <poenitz@gmx.net>
4374
4375         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4376           remove unused/broken operator>,<,>=.
4377
4378         *       text.C: remove only use of broken operator<= in an Assert().
4379
4380 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4381
4382         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4383         moved errorlist_.clear to showErrorList
4384
4385 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4386
4387         * converter.C (scanLog, runLaTeX):
4388         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4389         move the bv->showErrorList call to the callers
4390         * lyxfunc.C: i.e. here...
4391         * text2.C: and here
4392         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4393         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4394         namespace, the second to...
4395         * buffer_funcs (BufferFormat, parseErrors): added
4396         * errorlist.C (ErrorList(TeXErrors const &)): removed
4397
4398 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4399
4400         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4401
4402 2003-06-24  "Garst R. Reese" <reese@isn.net>
4403
4404         * debug.C: fix typo
4405
4406 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4407
4408         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4409
4410         * version.C.in: change docversion to 1.4
4411
4412 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4413
4414         * buffer.C: fix a bug just introduced
4415
4416 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4417
4418         * buffer.[Ch]: added the parseError signal and use it, removed
4419         sgmlError
4420         * BufferView.[Ch] (addError): moved to ...
4421         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4422         to the Buffer::parseError signal to catch (guess what) parse errors
4423         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4424
4425 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4426
4427         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4428         ability to create a buffer and to return an existing one from
4429         the list. Moved these functions to...
4430         * buffer_funcs.[Ch]: added
4431         * BufferView.[Ch] (loadLyXFile): added
4432         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4433         job removed from bufferlist::loadLyXFile.
4434         * buffer.C (setReadOnly): make it work without view
4435         (i.e added an if (users))
4436
4437 2003-06-19  Angus Leeming  <leeming@lyx.org>
4438
4439         * lfuns.h:
4440         * LyXAction.C (init):
4441         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4442         with LFUN_DIALOG_SHOW <name> <data>.
4443
4444 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4445
4446         * CutAndPaste.C (availableSelections): small compilation fix for
4447         ancient (gcc 2.9x) compilers
4448
4449 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4450
4451         * text3.C (cursorNext): add tmp var
4452
4453         * text2.C (updateCounters): for function calling out of for clause
4454         (replaceSelectionWithString): ditto
4455         (insertStringAsParagraphs): ditto
4456         (getColumnNearX): add tmp var
4457         (setCursorFromCoordinates): add tmp var
4458         (cursorDownParagraph): add tmp var
4459         (deleteEmptyParagraphMechanism): add tmp var
4460
4461         * text.C (insertChar): add tmp var
4462
4463         * rowpainter.C (paintDepthBar): add tmp var
4464
4465         * CutAndPaste.C (availableSelections): potentially check all
4466         paragraphs in a cut to fill the shown strings.
4467
4468 2003-06-18  André Pönitz  <poenitz@gmx.net>
4469
4470         * kbmap.[Ch]: use vector<> instead of list<>
4471
4472 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4473
4474         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4475         pasteSelection with index
4476
4477         * text2.C (pasteSelection): modify, call pasteSelection with index
4478
4479         * paragraph.C (asString): reimplement version with no interval to
4480         call the one with interval.
4481
4482         * lyxtext.h: add index arg to pasteSelection
4483
4484         * MenuBackend.C (MenuItem): handle PasteRecent
4485         (Menu::read::Menutags): add md_pasterecent
4486         (read): handle it
4487         (expandPasteRecent): new function
4488         (expand): use it
4489
4490         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4491
4492         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4493         the limited stack
4494         (availableSelections): new function
4495
4496 2003-06-17  Angus Leeming  <leeming@lyx.org>
4497
4498         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4499
4500 2003-06-17  Angus Leeming  <leeming@lyx.org>
4501
4502         * lfuns.h:
4503         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4504
4505         * lyxfunc.C (dispatch): invoke it.
4506
4507 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4508
4509         * iterators.C (operator++, ParPosition): reintroduce some
4510         const_cast for the benefit of older compilers.
4511
4512 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4513
4514         * text3.C (dispatch): do not modify clipboard when doing
4515         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4516         LFUN_DELETE_SKIP on a selection selection
4517
4518 2003-06-16  André Pönitz  <poenitz@gmx.net>
4519
4520         * BufferView.C:
4521         * buffer.C:
4522         * buffer.h:
4523         * paragraph.C:
4524         * tabular.[Ch]: IU of clone() and getLabelList();
4525
4526 2003-06-13  André Pönitz  <poenitz@gmx.net>
4527
4528         * tabular.h: compactification
4529
4530 2003-06-12  André Pönitz  <poenitz@gmx.net>
4531
4532         * tabular.C:
4533         * tabular.h:
4534         * tabular_funcs.h: some renaming plus whitespace
4535
4536 2003-06-12  André Pönitz  <poenitz@gmx.net>
4537
4538         * BufferView.C:
4539         * BufferView_pimpl.C:
4540         * CutAndPaste.C:
4541         * buffer.C:
4542         * iterators.[Ch]:
4543         * lyxfunc.C:
4544         * text.C:
4545         * toc.C: Return a Paragraph & for ParIterator::operator*()
4546
4547 2003-06-11  John Levon  <levon@movementarian.org>
4548
4549         * lyx_main.C:
4550         * ToolbarBackend.h:
4551         * ToolbarBackend.C: add "Toolbars" section and
4552         put the flags there
4553
4554 2003-06-10  Angus Leeming  <leeming@lyx.org>
4555
4556         * lfuns.h:
4557         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4558
4559         * lyxfunc.C (dispatch): invoke it.
4560
4561 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4562
4563         * main.C: protect <ios> with HAVE_IOS
4564         (main): protect sync_with_stdio with HAVE_IOS
4565
4566 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4567
4568         * text2.C (cutSelection): adjust
4569         (pasteSelection): adjust
4570
4571         * messages.C: handle get of empty string
4572
4573         * main.C (main): use sync_with_stdio(false)
4574
4575         * lyxfunc.C (dispatch): adjust
4576
4577         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4578         (WriteAs): remove unneeded BufferView arg.
4579
4580         * bufferparams.h: use correct types on papersize, papersize2 and
4581         paperpackage.
4582
4583         * bufferparams.C (readToken): adjust for type
4584         (writeLaTeX): add missing cases to switch.
4585
4586         * bufferlist.C (quitWriteBuffer): adjust
4587         (close): adjust
4588
4589         * buffer.C (asciiParagraph): remove some commented code.
4590
4591         * CutAndPaste.C: remove current_view extern variable.
4592         (cutSelection): add BufferParams arg.
4593         (eraseSelection): add BufferParams arg.
4594         (pasteSelection): add Buffer const & arg
4595
4596 2003-06-07  John Levon  <levon@movementarian.org>
4597
4598         * buffer.C:
4599         * paragraph_funcs.C:
4600         * paragraph_pimpl.C:
4601         * text.C:
4602         * text2.C:
4603         * paragraph.h:
4604         * paragraph.C: allow InsetERT to freely space lines,
4605         and some consolidation of code
4606
4607 2003-06-06  José Matos  <jamatos@fep.up.pt>
4608
4609         * buffer.C (makeDocBookFile): fix bug #821
4610
4611 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4612
4613         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4614
4615 2003-06-04  Angus Leeming  <leeming@lyx.org>
4616
4617         * buffer.C: bump format to 224.
4618
4619 2003-06-05  André Pönitz  <poenitz@gmx.net>
4620
4621         * text2.C (redoParagraphs): remove two const_cast<>
4622
4623 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4624
4625         * ParagraphList.h: remove last remnants of NO_STD_LIST
4626
4627 2003-06-03  Angus Leeming  <leeming@lyx.org>
4628
4629         * factory.C (createInset): small change to the way InsetExternal's params
4630         are set.
4631
4632 2003-06-04  André Pönitz  <poenitz@gmx.net>
4633
4634         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4635
4636         * paragraph_pimpl.h:
4637         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4638
4639         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4640
4641         * undo_funcs.C: make some simple cases of undo work again
4642
4643 2003-06-03  John Levon  <levon@movementarian.org>
4644
4645         * ispell.C: HPUX doesn't have sys/select.h
4646         (from Albert Chin)
4647
4648 2003-06-03  John Levon  <levon@movementarian.org>
4649
4650         * CutAndPaste.C: update tabular and include inset
4651         buffer references
4652
4653         * buffer.h:
4654         * paragraph.h:
4655         * paragraph.C: remove owningBuffer(), don't pass Buffer
4656         to clone()
4657
4658         * factory.C: insetGraphicsParams changed
4659
4660 2003-06-02  John Levon  <levon@movementarian.org>
4661
4662         * LyXAction.C:
4663         * factory.C:
4664         * lfuns.h:
4665         * lyxfunc.C:
4666         * text3.C: remove insetparent
4667
4668 2003-06-02  John Levon  <levon@movementarian.org>
4669
4670         * buffer.h:
4671         * buffer.C: fix inset_iterator.end(), move out of line
4672         (bug 1149)
4673
4674 2003-06-01  John Levon  <levon@movementarian.org>
4675
4676         * text3.C: use a proper cut/paste when doing inset
4677         insert (from Jürgen Spitzmüller)
4678
4679 2003-06-01  John Levon  <levon@movementarian.org>
4680
4681         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4682
4683 2003-05-30  André Pönitz  <poenitz@gmx.net>
4684
4685         * rowpainter.C: unify second drawing phase
4686
4687 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4688
4689         * trans_mgr.C: remove one case of current_view
4690
4691         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4692
4693         * paragraph_funcs.h: remove paragraph.h include
4694
4695         * paragraph.h: delete NO_STD_LIST stuff
4696
4697         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4698
4699         * buffer.h: remove paragraph.h include
4700
4701         * ParagraphList.C: delete file
4702
4703         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4704
4705         * toc.C (getTocList): adjust
4706
4707         * paragraph_pimpl.C (validate): adjust
4708
4709         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4710
4711         * paragraph.C (Paragraph): adjust
4712         (getPositionOfInset): use const_iterator, adjust
4713         (bibitem): use const_iterator, adjust
4714         (setInsetOwner): adjust
4715
4716         * iterators.C (operator++): adjust
4717
4718         * InsetList.[Ch]: Replace selfmade iterator with standard
4719         vector::iterator also introduce const_iterator. Remove getPos,
4720         getInset and setInset from InsetTable. Adjust accordingly.
4721
4722         * BufferView.C (lockInset): adjust
4723         (ChangeInsets): adjust
4724
4725         * tabular.[Ch]: delete commented same_id functions
4726
4727 2003-05-28  John Levon  <levon@movementarian.org>
4728
4729         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4730
4731 2003-05-28  André Pönitz  <poenitz@gmx.net>
4732
4733         * metricsinfo.[Ch]: remove 'fullredraw' member
4734
4735 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4736
4737         * lyxtextclass.C (operator): remove caching.
4738
4739 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4740
4741         * text3.C: adjust
4742
4743         * text2.C (cursorBottom): adjust
4744         (setCounter): use ParagraphList::find, adjust
4745
4746         * text.C (workWidth): use ParagraphList::find, adjust
4747
4748         * lyxcursor.C (LyXCursor): adjust
4749
4750         * buffer.C (inset_iterator): adjust
4751
4752         * ParagraphList.h: make iterator(value_type) private, make
4753         ParagraphList a friend of iterator.
4754
4755         * ParagraphList.C (find): new function
4756
4757         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4758
4759 2003-05-27  André Pönitz  <poenitz@gmx.net>
4760
4761         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4762
4763 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4764
4765         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4766
4767 2003-05-26  John Levon  <levon@movementarian.org>
4768
4769         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4770
4771 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4772
4773         * remove same_id from function signatures, adjust.
4774
4775 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4776
4777         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4778
4779         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4780
4781         * paragraph.C (Paragraph): get rid of same_ids parameter
4782
4783         * ParagraphList.C (insert): adjust
4784         (push_back): adjust
4785
4786 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4787
4788         * paragraph_funcs.C (breakParagraph): adjust
4789         (breakParagraphConservative): adjust
4790
4791         * buffer.C (readParagraph): adjust
4792
4793         * ParagraphList.C (insert): take a reference instead of a pointer
4794         (insert): adjust
4795
4796         * paragraph.[Ch] (id): new function
4797
4798         * bufferlist.C (newFile): adjust
4799
4800         * ParagraphList.C (ParagraphList): adjust
4801         (assign): adjust
4802         (push_back): take a reference instead of a pointer.
4803
4804         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4805
4806         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4807         instead.
4808
4809         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4810         set else use old code.
4811
4812         * ParagraphList.C: remove all NO_NEXT code and only compile this
4813         code of NO_STD_LIST is set.
4814
4815 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4816
4817         * BufferView_pimpl.C:
4818         * TextCache.C:
4819         * TextCache.h:
4820         * bufferlist.C:
4821         * errorlist.h:
4822         * format.C:
4823         * format.h:
4824         * graph.C:
4825         * lyxfunc.C:
4826         * lyxrc.C:
4827         * graphics/GraphicsConverter.C:
4828         * graphics/PreviewLoader.C: header adjustment
4829
4830 2003-05-23  Angus Leeming  <leeming@lyx.org>
4831
4832         * LaTeXFeatures.[Ch] (useBabel): new method.
4833         * bufferparams.C (writeLaTeX): use it.
4834
4835 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4836
4837         * ParagraphList.h (set): remove unused function.
4838
4839 2003-05-23  André Pönitz  <poenitz@gmx.net>
4840
4841         * BufferView.C:
4842         * BufferView_pimpl.C:
4843         * buffer.C:
4844         * buffer.h:
4845         * lyxfunc.C:
4846         * undo_funcs.C: setUndo reworked
4847
4848         * iterators.[Ch]: add access to topmost ParagraphList
4849
4850         * lyxtext.[Ch] (workWidth): add a const
4851
4852 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4853
4854         * texrow.[Ch] (increasePos): remove function
4855         * exporter.C (export): removed unused var and outdated comment
4856
4857 2003-05-23  Angus Leeming  <leeming@lyx.org>
4858
4859         * latexrunparams.h: rename fragile as moving_arg.
4860         * paragraph.C (simpleTeXOnePar): ditto.
4861         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4862
4863 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4864
4865         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4866         (createUndo): ditto
4867         (textUndoOrRedo): comment out a currently unused var.
4868
4869         * paragraph.h (NO_NEXT): enable NO_NEXT
4870
4871         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4872
4873         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4874
4875         * exporter.C (Export): adjust for removeAutoInsets removal.
4876
4877         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4878
4879         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4880
4881         * BufferView.[Ch] (removeAutoInsets): delete function
4882
4883 2003-05-22  Angus Leeming  <leeming@lyx.org>
4884
4885         * latexrunparams.h: add a free_spacing variable.
4886
4887         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4888         to pass moving_arg, as the data is stored in runparams.fragile.
4889
4890         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4891         to Inset::latexOptional or to simpleTeXOnePar.
4892
4893         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4894         free_spacing arg to Inset::latexOptional.
4895
4896         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4897         free_spacing arg.
4898
4899 2003-05-22  Angus Leeming  <leeming@lyx.org>
4900
4901         * latexrunparams.h: add fragile and use_babel variables.
4902
4903         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4904         * buffer.C (makeLaTeXFile): store this returned value in
4905         runparams.use_babel, thus passing it to the inset::latex methods.
4906
4907         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4908         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4909
4910         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4911         longer has a fragile arg, as it is stored in runparams.fragile.
4912
4913         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4914         moving_arg parameter as the data is stored in runparams.fragile.
4915
4916         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4917         a fragile parameter as the data is stored in runparams.fragile.
4918
4919 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4920
4921         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4922
4923 2003-05-22  Angus Leeming  <leeming@lyx.org>
4924
4925         * latexrunparams.h: add a 'bool nice' which defaults to false.
4926
4927         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4928         now encapsulated within runparams.
4929
4930         * bufferlist.C (updateIncludedTeXfiles):
4931         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4932
4933 2003-05-22  Angus Leeming  <leeming@lyx.org>
4934
4935         * latexrunparams.h: new file containing struct LatexRunParams.
4936         * Makefile.am: add new file.
4937
4938         * LaTeX.[Ch] (c-tor, run):
4939         * buffer.[Ch] (makeLaTeXFile):
4940         * bufferlist.[Ch] (updateIncludedTeXfiles):
4941         * converter.C (convert, scanLog):
4942         * converter.[Ch] (runLaTeX):
4943         * exporter.C (Export):
4944         * paragraph.[Ch] (simpleTeXOnePar):
4945         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4946         * paragraph_funcs.[Ch] (latexParagraphs):
4947         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4948         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4949         pass around a LatexRunParams parameter.
4950
4951 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4952
4953         * paragraph.[Ch]: remove unused constructor
4954
4955         * ParagraphList.C (erase): new function, taking two iterators
4956
4957 2003-05-22  André Pönitz  <poenitz@gmx.net>
4958
4959         * undo_funcs.C: remove duplicated code
4960
4961         * iterator.[Ch]: operator=
4962
4963 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4964
4965         * tabular.C (SetMultiColumn): ws changes
4966
4967         * rowpainter.C (paintFirst): get rid of a ->previous
4968
4969         * lyx_cb.C (getPossibleLabel): parlist simplification
4970
4971         * BufferView.C (ChangeInsets): simplify slightly.
4972
4973 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4974
4975         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4976         * lfuns.h: new LFUN_SPACE
4977         * lyxfunc.C: protected space has a new lfun
4978         * paragraph_funcs.C: read new space insets
4979         * text3.C:
4980         * factory.C: handle new space insets
4981
4982 2003-05-22  André Pönitz  <poenitz@gmx.net>
4983
4984         * BufferView.C:
4985         * BufferView_pimpl.C:
4986         * buffer.[Ch]:
4987         * lyxfunc.C:
4988         * undo_funcs.C: return a ParIterator from getParFromID.
4989
4990         * iterators.[Ch]: add two const's
4991
4992 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4993
4994         * toc.C (getTocList): adjust
4995
4996         * iterators.[Ch]: rework for parlist
4997
4998         * buffer.C (par_iterator_begin): adjust
4999         (par_iterator_end): adjust
5000
5001         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5002
5003         * BufferView.C (removeAutoInsets): adjust
5004         (ChangeInsets): adjust
5005
5006 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5007
5008         * text.C (top_y): fix bug 1110
5009
5010 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5011
5012         * errorlist.[Ch]: added
5013         * buffer.C:
5014         * BufferView.[Ch]:
5015         * BufferView_pimpl.C:
5016         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5017         instead
5018
5019 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5020
5021         * Makefile.am: ensure that lyx is relinked upon changes to the
5022         various "convenience" libs.
5023
5024 2003-05-20  Angus Leeming  <leeming@lyx.org>
5025
5026         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5027         files are compiled in alphabetical order again.
5028
5029         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5030
5031 2003-05-19  Angus Leeming  <leeming@lyx.org>
5032
5033         * gettext.[Ch]: remove "char const * _(char const *)".
5034
5035 2003-05-19  André Pönitz  <poenitz@gmx.net>
5036
5037         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5038
5039         * Makefile.am:
5040         * BufferView.C:
5041         * DepTable.h:
5042         * LaTeXFeatures.C:
5043         * buffer.C:
5044         * lyxfont.C:
5045         * lyxlex.h:
5046         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5047
5048 2003-05-19  André Pönitz  <poenitz@gmx.net>
5049
5050         * buffer.C:
5051         * lyxlayout.[Ch]:
5052         * lyxtextclass.[Ch]:
5053         * paragraph.C:
5054         * paragraph_funcs.[Ch]:
5055         * text2.C:
5056         * text3.C: more insetenv work
5057
5058 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5059
5060         * ParagraphParameters.C (params2string): small bug fixed
5061
5062 2003-05-16  André Pönitz  <poenitz@gmx.net>
5063
5064         * debug.C:
5065         * bufferview_funcs.C: patch from Kornel Benko to prevent
5066           crash when _(...) is called twice in a statement
5067
5068 2003-05-16  André Pönitz  <poenitz@gmx.net>
5069
5070         * BufferView.C:
5071         * lyxfunc.C:
5072         * text.C:
5073         * text2.C:
5074         * text3.C:
5075         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5076
5077 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5078
5079         * lyx_main.C (init): remove spurious static_cast
5080
5081 2003-05-14  André Pönitz  <poenitz@gmx.net>
5082
5083         * BufferView.C: fix format string
5084
5085 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5086
5087         * BufferView.[Ch] (insertErrors): removed
5088         * BufferView.[Ch] (showErrorList): added
5089         * buffer.C (runChkTeX):
5090         * converter.C (scanLog): call showErrorList instead of inserterrors
5091
5092 2003-05-13  André Pönitz  <poenitz@gmx.net>
5093
5094         * BufferView_pimpl.C:
5095         * buffer.C:
5096         * bufferview_func.C:
5097         * MenuBackend.C:
5098         * lyxfunc.C:
5099         * lyxrc.C:
5100         * tex-accent.C:
5101         * text3.C:
5102         * toc.C:
5103         * tabular_funcs.h: tostr() from its own header
5104
5105         * ParagraphParameters.C:
5106         * ToolbarBackend.C:
5107         * bufferparams.C:
5108         * format.C:
5109         * lyxlex_pimpl.C:
5110         * text3.C: STRCONV()
5111
5112 2003-05-12  André Pönitz  <poenitz@gmx.net>
5113
5114         * BufferView.C:
5115         * BufferView_pimpl.C:
5116         * CutAndPaste.C:
5117         * LaTeX.C:
5118         * LaTeXFeatures.C:
5119         * ParagraphParameters.C:
5120         * buffer.C:
5121         * bufferlist.C:
5122         * bufferparams.C:
5123         * bufferview_funcs.C:
5124         * converter.C:
5125         * counters.C:
5126         * debug.C:
5127         * exporter.C:
5128         * format.C:
5129         * importer.C:
5130         * lyx_cb.C:
5131         * lyx_main.C:
5132         * lyxfont.C:
5133         * lyxfunc.C:
5134         * lyxvc.C:
5135         * paragraph.C:
5136         * paragraph_funcs.C:
5137         * tabular.C:
5138         * tabular_funcs.C:
5139         * text2.C:
5140         * text3.C:  boost::format -> bformat  all over the place
5141
5142
5143 2003-05-09  André Pönitz  <poenitz@gmx.net>
5144
5145         * LColor.[Ch]: Pimpl the #include <map> away
5146
5147 2003-05-09  John Levon  <levon@movementarian.org>
5148
5149         * bufferlist.C: never remove emergency saves
5150
5151 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5152
5153         * Makefile.am: better lib building
5154
5155 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5156
5157         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5158         instead.
5159         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5160         (simpleTeXSpecialChars): adjust
5161         (simpleTeXSpecialChars): adjust
5162         * paragraph.C (simpleTeXOnePar): adjust
5163         * buffer.C (makeLaTeXFile): adjust
5164
5165         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5166
5167         * text2.C (changeDepth): parlist cleanup
5168         (getColumnNearX): ditto
5169
5170         * rowpainter.C (getLabelFont): parlist cleanup
5171
5172         * bufferlist.C (newFile): parlist cleanup
5173
5174         * CutAndPaste.C (eraseSelection): parlist cleanup
5175
5176         * BufferView_pimpl.C (trackChanges): parlist cleanup
5177         (dispatch): ditto
5178
5179         * BufferView.C (lockInset): parlist cleanup.
5180         (ChangeInsets): ditto
5181
5182 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5183
5184         * CutAndPaste.h: Update file header.
5185
5186         * CutAndPaste.C: Update file header.
5187         Store the parts cut out of the Document in a limited_stack.
5188         (copySelection): adjust
5189         (pasteSelection): new function, takes the index in the limited stack.
5190         (nrOfParagraphs): adjust
5191         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5192         simplify error inset insertion.
5193         (checkPastePossible): adjust
5194
5195 2003-05-06  John Levon  <levon@movementarian.org>
5196
5197         * text2.C: don't cast wrap inset to float
5198
5199 2003-05-05  André Pönitz  <poenitz@gmx.net>
5200
5201         * iterator.C:
5202         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5203
5204         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5205           few naked Paragraph *.
5206
5207 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5208
5209         * bufferparams.C: Output warning if a document with missing
5210         TeX document class is loaded
5211         * exporter.C: Disable TeX exports if the document class is missing
5212         * lyxtextclass.C:
5213         * lyxtextclass.h:
5214         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5215         isTeXClassAvailable()
5216
5217 2003-05-03  John Levon  <levon@movementarian.org>
5218
5219         * BufferView.h:
5220         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5221         explicit cursor show/hide
5222
5223         * BufferView_pimpl.h:
5224         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5225         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5226
5227         * lyxfunc.C: hide cursor before dispatching.
5228
5229         * lyx_cb.C:
5230         * lyxfind.C:
5231         * text.C:
5232         * text3.C: remove explicit cursor hides
5233
5234 2003-05-02  André Pönitz  <poenitz@gmx.net>
5235
5236         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5237
5238         * undo_funcs.C:
5239         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5240           linked lists
5241
5242         * text2.C: tiny whitespace
5243
5244 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5245
5246         * undo_funcs.C: almost only ws changes.
5247
5248         * ParagraphList.C (splice): just return if pl is empty.
5249
5250 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5251
5252         * ParagraphList.C (splice): new function.
5253
5254         * CutAndPaste.C (pasteSelection): use it
5255
5256 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5257
5258         * CutAndPaste.C (pasteSelection): remove the last next and
5259         previous from this file.
5260
5261 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5262
5263         * CutAndPaste.C (pasteSelection): more clean up, user proper
5264         ParagraphList functions for pasteing.
5265
5266         * ParagraphList.C (insert): new function, three arg insert
5267
5268 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5269
5270         * ParagraphList.C (insert): new function, three arg insert
5271
5272         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5273         not on paragraphs.
5274
5275 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5276
5277         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5278
5279 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5280
5281         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5282
5283 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5284
5285         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5286         (copySelection): clean up a bit.
5287         (pasteSelection): use make_pair
5288
5289         * ParagraphList.C (ParagraphList): implement copy constructor
5290         (operator=): implement, base on copy constructor.
5291         (assign): new func
5292
5293         * paragraph.C (erase): return a bool
5294
5295         * paragraph_pimpl.C (erasePos): remove function, move contents...
5296         (erase): ... here. Return a bool.
5297         (erase): call erase instead of erasePos.
5298
5299 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5300
5301         * ParagraphList.h: define PitPosPair
5302         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5303         ParagraphList, fix a bug on pasting multiple pars
5304         * text2.C: change interface to C&P
5305
5306 2003-04-30  André Pönitz  <poenitz@gmx.net>
5307
5308         * undo_func.C: revert part of yesterday's patch 2
5309
5310 2003-04-30  John Levon  <levon@movementarian.org>
5311
5312         * LColor.C: s/tabular/table/
5313
5314 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5315
5316         * text3.C (dispatch): do not convert iterator -> pointer
5317         * undo_funcs.C (setCursorParUndo): ditto
5318         * text_funcs.C (transposeChars): ditto
5319
5320         * text2.C (setLayout): ws changes only
5321
5322         * text.C (breakParagraph): do not convert iterator -> pointer
5323         (insertChar): ditto
5324         (acceptChange): ditto
5325         (rejectChange): ditto
5326         (changeCase): ditto
5327         (Delete): ditto
5328         (backspace): ditto
5329
5330         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5331         pointer
5332
5333 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5334
5335         * text3.C (gotoInset): YABG (yet another bad getChar)
5336
5337 2003-04-29  André Pönitz  <poenitz@gmx.net>
5338
5339         * paragraph.h: make operator= private unimplemented as long as
5340           it is unusable
5341
5342         * ParagraphList.C: whitespace
5343
5344         * paragraph.[Ch]:
5345         * paragraph_pimpl.[Ch]:
5346         * paragraph_funcs.C:
5347         * CutAndPaste.C:
5348         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5349
5350         * text2.C:
5351           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5352
5353 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5354
5355         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5356         * paragraph.[Ch] (erase):
5357         * paragraph_pimpl.[Ch] (erase): change return type and value
5358         * text2.C (cutSelection): some rework
5359
5360 2003-04-28  John Levon  <levon@movementarian.org>
5361
5362         * bufferlist.C: changes for unsaved changes dialog
5363
5364 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5365
5366         * bufferlist.C (newFile): set language (messages_) for new
5367         documents also.
5368
5369         * buffer.C (readFile): ws changes only.
5370
5371 2003-04-28  André Pönitz  <poenitz@gmx.net>
5372
5373         * undo_funcs.C:
5374         * lyxfunc.C:
5375         * buffer.[Ch]:
5376         * BufferView_pimpl.C:
5377         * BufferView.C: getParFromID related ParagraphList::iterator changes
5378
5379 2003-04-28  André Pönitz  <poenitz@gmx.net>
5380
5381         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5382           Changes
5383
5384 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5385
5386         * messages.C: remove one more localedir class variable.
5387
5388 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5389
5390         * messages.C (getLocaleDir): singleton generation function
5391         (Pimpl): use it.
5392         (Messages): add a default constructor.
5393
5394         * main.C (main): do not setup localedir here, do not call
5395         gettext_init.
5396
5397         * gettext.C (_): use it.
5398         (gettext_init): delete funciton
5399
5400 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5401
5402         * gettext.C (getLyXMessages): new singleton generating function.
5403
5404         * buffer.C (updateDocLang): adjust
5405
5406         * Makefile.am (messages.o): add target
5407         (main.o): remove target
5408
5409 2003-04-27  John Levon  <levon@movementarian.org>
5410
5411         * bufferlist.C:
5412         * lyx_cb.C:
5413         * lyxfunc.C:
5414         * lyxvc.C: specify cancel button in Alert::prompt
5415
5416 2003-04-26  John Levon  <levon@movementarian.org>
5417
5418         * text3.C:
5419         * lyxfunc.C:
5420         * lfuns.h:
5421         * LyXAction.C: add LFUN_INSET_SETTINGS
5422
5423         * lyxfunc.C: don't enable tabular-feature when there's
5424         just any locking inset
5425
5426 2003-04-26  John Levon  <levon@movementarian.org>
5427
5428         * bufferlist.C: re-add Cancel to buffer close question
5429
5430         * lyxfunc.C: fix import UI a bit
5431
5432 2003-04-25  John Levon  <levon@movementarian.org>
5433
5434         * gettext.C: remove the broken asserts for now
5435
5436 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5437
5438         * messages.C: make case where setlocale cannot comply work better.
5439
5440         * buffer.C (updateDocLang): new function
5441         (changeLanguage): use it
5442         (readFile): use it
5443
5444         * text2.C (setCounter): use B_ a bit.
5445
5446         * lyxlayout.C (Read): be sure to trim the label strings.
5447
5448         * messages.C (Messages): fix typo in comment
5449
5450         * buffer.C (readFile): set message_ after file is loaded.
5451         (makeDocBookFile): remove double return
5452         (changeLanguage): reset message_ upon language change.
5453         (B_): new func, use this to get translated buffer strings.
5454
5455         * main.C: add myself and Jean Marc as authors.
5456
5457 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5458
5459         * messages.[hC]: pimplify Messages, and three different pimpls to be
5460         used in different circumstances.
5461
5462         * gettext.[Ch]: change for use with new message code.
5463
5464 2003-04-24 André Pönitz <poenitz@gmx.net>
5465
5466         * factory.C: support for eqref
5467
5468 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5469
5470         * messages.[Ch]: add missing char
5471
5472         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5473
5474         * messages.[Ch]: New files
5475
5476 2003-04-18  John Levon  <levon@movementarian.org>
5477
5478         * BufferView.h:
5479         * BufferView.C:
5480         * BufferView_pimpl.C:
5481         * lfuns.h:
5482         * LyXAction.C:
5483         * lyxtext.h:
5484         * text2.C: remove layout-copy/paste (bug 778)
5485
5486 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5487
5488         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5489
5490 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5491
5492         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5493         if they succeed. Act accordingly.
5494
5495 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5496
5497         * text2.C (setCharFont): adjust
5498         (setCounter): adjust
5499         (insertStringAsLines): adjust
5500
5501         * text.C (leftMargin): adjust
5502         (setHeightOfRow): adjust
5503
5504         * rowpainter.C (paintFirst): adjust
5505         (paintLast): adjust
5506
5507         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5508         (outerHook): ditto
5509         (isFirstInSequence): ditto
5510         (getEndLabel): ditto
5511         (outerFont): adjust
5512
5513         * paragraph.C (getParLanguage): comment out some hard stuff.
5514
5515         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5516         (sgmlError): ditto
5517         (simpleDocBookOnePar): ditto
5518         (makeDocBookFile): use ParagraphList::iterator
5519
5520         * CutAndPaste.C (pasteSelection): adjust
5521
5522 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5523
5524         * text2.C (getFont): adjust
5525         (getLayoutFont): adjust
5526         (getLabelFont): adjust
5527
5528         * paragraph_funcs.C (TeXOnePar): adjust
5529
5530         * buffer.C (simpleLinuxDocOnePar): adjust
5531         (simpleDocBookOnePar): adjust
5532
5533         * CutAndPaste.C (pasteSelection): adjust
5534
5535         * BufferView.C (getEncoding): adjust
5536
5537         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5538
5539 2003-04-16  John Levon  <levon@movementarian.org>
5540
5541         * lyxfind.C: use parlist stuff for search/changes
5542
5543 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5544
5545         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5546
5547         * text2.C (deleteEmptyParagraphMechanism): adjust
5548
5549         * text2.[Ch] (ownerParagraph): delete func (both of them
5550
5551 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5552
5553         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5554
5555 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5556
5557         * ParagraphList.C: prepare for NO_NEXT
5558
5559 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5560
5561         * text2.C (getFont): adjust
5562         (getLayoutFont): adjust
5563         (getLabelFont): adjust
5564
5565         * paragraph.C (getFont): adjust
5566         (getLabelFont): adjust
5567         (getLayoutFont): adjust
5568
5569         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5570
5571 2003-04-15  John Levon  <levon@movementarian.org>
5572
5573         From Angus Leeming
5574
5575         * lyx_main.C: handle Include in .ui files
5576
5577 2003-04-15  John Levon  <levon@movementarian.org>
5578
5579         * MenuBackend.C: make the doc files length shorter
5580
5581         * ToolbarBackend.h:
5582         * ToolbarBackend.C: handle toolbar placement flags,
5583         Minibuffer
5584
5585 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5586
5587         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5588         adjust
5589
5590         * paragraph_funcs.C (TeXOnePar): adjust
5591
5592         * paragraph.C (getLabelFont): add outerfont arg, adjust
5593         (getLayoutFont): ditto
5594         (simpleTeXOnePar): adjust
5595
5596         * paragraph_pimpl.C (realizeFont): delete func
5597
5598 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5599
5600         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5601         row argument, constify cur argument.
5602
5603 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5604
5605         * text2.C (getFont): adjust
5606         (getLayoutFont): adjust
5607         (getLabelFont): adjust
5608
5609         * paragraph_funcs.C (TeXOnePar): adjust
5610         (outerFont): new func...
5611         (realizeFont): ...moved out from here, changed this to facilitate
5612         transition
5613
5614         * paragraph.C (getFont): take outerfont as arg, adjust
5615         (simpleTeXOnePar): add outerfont arg, adjust
5616
5617         * buffer.C (simpleLinuxDocOnePar): adjust
5618         (simpleDocBookOnePar): adjust
5619
5620         * CutAndPaste.C (pasteSelection): adjust
5621
5622         * BufferView.C (getEncoding): adjust
5623
5624 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5625
5626         * text2.C (setCharFont): adjust
5627         (setCounter): adjust
5628
5629         * text.C (leftMargin): adjust
5630         (setHeightOfRow): adjust
5631
5632         * rowpainter.C (paintFirst): adjust
5633         (paintLast): adjust
5634
5635         * paragraph_pimpl.C (realizeFont): adjust
5636
5637         * paragraph.C (isFirstInSequence): move from here...
5638         * paragraph_funcs.C (isFirstInSequence): ...to here
5639
5640         * paragraph.C (outerHook): move from here...
5641         * paragraph_funcs.C (outerHook): ...to here
5642
5643         * paragraph.C (depthHook): move from here...
5644         * paragraph_funcs.C (depthHook): ...to here
5645
5646         * paragraph.C (getEndLabel): move from here...
5647         * paragraph_funcs.C (getEndLabel): ...to here
5648
5649         * text2.C (realizeFont): move from here...
5650         * paragraph_funcs.C (realizeFont): ...to here
5651
5652 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5653
5654         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5655
5656 2003-04-14  Angus Leeming  <leeming@lyx.org>
5657
5658         * LColor.[Ch]: scrap LColor mathcursor.
5659
5660 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5661
5662         * lyxlex.[Ch] (text): delete function
5663         * trans.C (Load): adjust
5664         * paragraph_funcs.C (readParToken): adjust
5665
5666 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5667
5668         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5669         vector<char> instead of a char[].
5670
5671         * lyxlex_pimpl.C (getString): adjust
5672         (next): adjust
5673         (lex): use getString
5674         (eatLine): adjust
5675         (nextToken): adjust
5676
5677         * lyxlex.C (text): use pimpl_->getString()
5678         (getBool): ditto
5679         (findToken): ditto
5680
5681 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5682
5683         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5684         (makeFontEntriesLayoutSpecific): temp var for par.size()
5685         (setLayout): temp var for ownerParagraphs().end()
5686         (fullRebreak): temp var for rows().end()
5687         (selectionAsString): temp var for boost::next(startpit), realize
5688         that the while really is a regular for loop.
5689         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5690         setCursor in one place.
5691         (setParagraph): temp vr for ownerParagraphs().end()
5692         (updateCounters): make the while loop a for loop
5693         (cutSelection): temp var for ownerParagraphs().end()
5694         (updateInset): make the do {} while() a regular for loop
5695         (getCursorX): use temp vars
5696         (setCurrentFont): use temp vars
5697         (getColumnNearX): use temp vars
5698
5699 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5700
5701         * text.C (transformChar): use temp var for getChar
5702         (computeBidiTables): use temp var for row->par()
5703         (fill): move temp vars for row->par() and pit->layout() earlier in
5704         the function.
5705         (labelFill): use temp var for row->par()
5706         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5707         asc and desc, realize that pit never changes and that firstpit is
5708         just a duplicate and not needed. Exchange rit->par() with pit in a
5709         lot of places.
5710         (breakAgain): use a temp var for boost::next(rit)
5711         (breakAgainOneRow): ditto
5712         (breakParagraph): use a temp var for rows().begin()
5713         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5714         (cursorRightOneWord): use temp var for cursor.par() and
5715         cursor.pos(), remove usage of tmpcursor.
5716         (cursorLeftOneWord): use temp var for cursor.par() and
5717         cursor.pos() only set cur at end of function.
5718
5719 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5720
5721         * text.C, text2.C: exchange all usage of Paragraph::next with
5722         boost::next(ParagraphList::iterator)
5723
5724         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5725
5726         * text2.C (cursorTop): simplify implementation
5727         (cursorBottom): ditto
5728         (setParagraph): use ParagraphList::iterator
5729         (setCurrentFont): adjust
5730         (getColumnNearX): adjust
5731         (cursorRight): adjust
5732         (cursorLeft): remove usage of Paragraph::previous
5733         (cursorUpParagraph): ditto
5734         (deleteEmptyParagraphMechanism): slight cleanup
5735
5736         * text.C (isBoundary): take a Paragraph const & instead of a
5737         pointer as arg.
5738         (addressBreakPoint): ditto
5739         (leftMargin): remove usage of Paragraph::previous.
5740         (setHeightOfRow): ditto
5741         (cursorLeftOneWord): ditto
5742         (selectNextWordToSpellcheck): ditto
5743         (Delete): ditto
5744         (backspace): ditto
5745         (breakParagraph): remove one usage of Paragraph::next
5746         (redoParagraph): ditto
5747         (acceptChange): ditto
5748         (insertChar): adjust
5749         (rowBreakPoint): adjust
5750
5751         * bufferview_funcs.C (toggleAndShow): adjust
5752
5753 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5754
5755         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5756         methods to access it.
5757         * lyxtext.h:
5758         * text.C: Added updateRowPositions to compute all row positions.
5759         Make top_y and getRowNearY() to use the cached y position
5760
5761 2003-04-11  John Levon  <levon@movementarian.org>
5762
5763         * text.C (rowBreakPoint): reintroduce the labelEnd
5764         checks, code copied from the row fill stuff. Deep voodoo.
5765
5766         * text.C (fill): add a comment and debugging for the
5767         next poor soul.
5768
5769 2003-04-11  John Levon  <levon@movementarian.org>
5770
5771         * text.C: make sure fullrow insets get wrapped to the next line,
5772         even when they're in a manual label
5773
5774 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5775
5776         * text2.C (insertParagraph): make it take ParagraphList::iterator
5777         as arg.
5778         (setLayout): make it return ParagraphList::iterator
5779         (redoParagraphs): ditto
5780         (setCounter): ditto
5781         (checkParagraph): ditto
5782
5783         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5784
5785         * text2.C: adjust several funcs.
5786         (realizeFont): take a ParagraphList::iterator as arg.
5787         (getLayoutFont): ditto
5788         (getLabelFont): ditto
5789         (setCharFont): ditto
5790
5791         * text.C: adjust several funcs.
5792
5793 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5794
5795         * text.C (selectNextWordToSpellcheck): don't accidentally
5796         skip insets
5797
5798 2003-04-10  John Levon  <levon@movementarian.org>
5799
5800         * ToolbarBackend.C (getIcon): special handling for
5801         LFUN_MATH_DELIM
5802
5803 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5804
5805         * text2.C (cursorRight): a getChar assert fixed
5806
5807 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5808
5809         * text2.C (getFont): change to take a ParagraphList::iterator
5810         instead of Paragraph*
5811         Adjust several functions.
5812
5813         * text.C (transformChar): change to take a ParagraphList::iterator
5814         instead of Paragraph*
5815         (singleWidth): ditto
5816         Adjust several functions.
5817
5818         * rowpainter.C: adjust several functions
5819         * rowpainter.h:store a ParagraphList::iterator and not a
5820         Paragraph&.
5821
5822
5823 2003-04-09  John Levon  <levon@movementarian.org>
5824
5825         * lyxfunc.C:
5826         * lfuns.h:
5827         * LyXAction.h:
5828         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5829         and the "help" bits as well
5830
5831 2003-04-09  John Levon  <levon@movementarian.org>
5832
5833         * ToolbarBackend.h:
5834         * ToolbarBackend.C: allow multiple toolbars
5835
5836 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5837
5838         * undo_funcs.C (setCursorParUndo): adjust
5839
5840         * text_funcs.C (transposeChars): adjust
5841
5842         * text3.C (gotoNextInset): adjust
5843         (dispatch): adjust
5844
5845         * text2.C (setLayout): adjust
5846         (changeDepth): adjust
5847         (setFont): adjust
5848         (redoParagraphs): adjust
5849         (selectionAsString): adjust
5850         (setParagraph): adjust
5851         (insertInset): adjust
5852         (cutSelection): adjust
5853         (copySelection): adjust
5854         (pasteSelection): adjust
5855         (insertStringAsLines): adjust
5856         (updateInset): adjust
5857         (setCursor): change to take a ParagraphList::iterator parameter
5858         (setCursorIntern): change to take a ParagraphList::iterator parameter
5859         (setCurrentFont): adjust
5860         (cursorLeft): adjust
5861         (cursorRight): adjust
5862         (deleteEmptyParagraphMechanism): adjust
5863
5864         * text.C (breakParagraph): adjust
5865         (insertChar): adjust
5866         (acceptChange): adjust
5867         (rejectChange): adjust
5868         (selectNextWordToSpellcheck): adjust
5869         (changeCase): adjust
5870         (Delete): adjust
5871         (backspace): adjust
5872
5873         * lyxfind.C (SearchForward): adjust
5874         (SearchBackward): adjust
5875         (nextChange): adjust
5876
5877         * lyxcursor.C (par): adjust
5878
5879         * lyxcursor.h: store a ParagraphList::iterator instead of a
5880         Paragraph*
5881
5882         * lyx_cb.C (getPossibleLabel): adjust
5883
5884         * bufferview_funcs.C (toggleAndShow): adjust
5885
5886         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5887         (dispatch): adjust
5888
5889         * BufferView.C (removeAutoInsets): adjust
5890         (lockedInsetStoreUndo): adjust
5891
5892 2003-04-09  John Levon  <levon@movementarian.org>
5893
5894         * ToolbarBackend.C: try icon without argument
5895         if with argument fails
5896
5897 2003-04-08  John Levon  <levon@movementarian.org>
5898
5899         * ToolbarBackend.h:
5900         * ToolbarBackend.C: add getIcon(), handle tooltip,
5901         and change from "Icon" to "Item".
5902
5903 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5904
5905         * BufferView.C (lockInset): another bad getchar crunched
5906
5907 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5908
5909         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5910         again)
5911
5912 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5913
5914         * lyxfind.C (searchForward, searchBackwards): bug 782
5915
5916 2003-04-07  John Levon  <levon@movementarian.org>
5917
5918         * paragraph.C: remove dead comment
5919
5920         * text.C: remove troublesome depth-fiddling code
5921         in leftMargin() and rightMargin() (bug 1017)
5922
5923         * text.C: fix breaking of rows in nested lists
5924         (bug 1004)
5925
5926         * text2.C (updateCounters): fix up depth values
5927         (bug 1013)
5928
5929 2003-04-07  John Levon  <levon@movementarian.org>
5930
5931         * BufferView_pimpl.C: clear message when doc finishes resizing,
5932         and after a mouse event
5933
5934         * lyxfunc.C: clear message after exiting inset
5935
5936 2003-04-07  John Levon  <levon@movementarian.org>
5937
5938         * bufferview_funcs.C: show math status not outside
5939         status in the statusbar
5940
5941 2003-04-07  John Levon  <levon@movementarian.org>
5942
5943         * lyxfunc.C: note status changed after a depth change
5944
5945 2003-04-04  Angus Leeming  <leeming@lyx.org>
5946
5947         * LaTeX.h: move AuxInfo operator==, != out of line.
5948         Remove LaTeX virtual destructor; nothing derives from it.
5949         Move operator()() out of public area and rename it startscript().
5950         Change protected for private.
5951
5952 2003-04-04  Angus Leeming  <leeming@lyx.org>
5953
5954         * lyxfunc.C:
5955         * text2.C: remove unneeded #includes.
5956
5957 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5958
5959         * text2.C (dEPM): fix the heigth of the next row
5960
5961 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5962
5963         * text.C: squashed an invalid getChar requester + some ws changes
5964
5965 2003-04-03  John Levon  <levon@movementarian.org>
5966
5967         * bufferview_funcs.h:
5968         * bufferview_funcs.C:
5969         * lyxfunc.C:
5970         * lyxtext.h:
5971         * text2.C: make getStatus work for the env depth lfuns
5972
5973 2003-04-03  John Levon  <levon@movementarian.org>
5974
5975         * bufferview_funcs.h:
5976         * bufferview_funcs.C:
5977         * lyxfunc.C:
5978         * lyxtext.h:
5979         * text2.C: parlistize decDepth(), by merging it with incDepth()
5980
5981 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5982
5983         * lyxrow.h: store a ParagraphList::iterator instead of a
5984         Paragraph* and adjust other class functions to suit.
5985
5986         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5987         above.
5988
5989 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5990
5991         * text2.C (setCursor): do not anchor to cursor row for the time being
5992
5993 2003-04-02  John Levon  <levon@movementarian.org>
5994
5995         * LyXAction.C:
5996         * lfuns.h:
5997         * lyx_main.C:
5998         * lyxtext.h:
5999         * text.C:
6000         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6001
6002 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6003
6004         * paragraph.h: make ParagraphList and ParagraphList::iterator
6005         friends of Paragraph.
6006
6007         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6008
6009         * ParagraphList.C: Use the private next_ and previous_ from
6010         Paragraph.
6011
6012 2003-04-01  John Levon  <levon@movementarian.org>
6013
6014         * ToolbarBackend.h:
6015         * ToolbarBackend.C:
6016         * Makefile.am: rename, remove defaults gunk
6017
6018         * MenuBackend.h:
6019         * MenuBackend.C: remove defaults gunk
6020
6021         * Languages.h:
6022         * Languages.C: remove defaults gunk
6023
6024         * lyx_main.h:
6025         * lyx_main.C: error out if files couldn't be found.
6026
6027 2003-04-02  John Levon  <levon@movementarian.org>
6028
6029         * text2.C: make incDepth() use parlist
6030
6031 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6032
6033         * undo_funcs.C (firstUndoParagraph): adjust
6034
6035         * text3.C (gotoInset): adjust
6036         (dispatch): adjust, and rewrite loop.
6037
6038         * text2.C (init): adjust, and rewrite loop.
6039         (redoParagraphs): adjust
6040         (updateInset): adjust, and rewrite loop.
6041         (deleteEmptyParagraphMechanism): adjust
6042
6043         * tabular.C (LyXTabular): adjust
6044         (SetMultiColumn): adjust
6045         (TeXRow): adjust
6046
6047         * lyxtext.[Ch] (ownerParagraph): delete function
6048         (ownerParagraphs): new function returns a ParagraphList.
6049
6050         * BufferView.C (removeAutoInsets): adjust
6051         (insertErrors): adjust
6052         (setCursorFromRow): adjust
6053
6054 2003-04-01  Angus Leeming  <leeming@lyx.org>
6055
6056         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6057         in the frontends.
6058
6059 2003-04-02  John Levon  <levon@movementarian.org>
6060
6061         * lyxtext.h:
6062         * text.C:
6063         * Makefile.am:
6064         * text_funcs.h:
6065         * text_funcs.C: make transposeChars a free function
6066
6067         * lyxrow_funcs.C: remove wrong comment
6068
6069 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6070
6071         * lyxtext.h: adjust
6072         * rowpainter.C: adjust
6073         * text.C: adjust
6074         * text2.C: adjust
6075         * text3.C: adjust
6076
6077         * lyxrow_funcs. [Ch]: new files
6078
6079         * lyxrow.[Ch]: remove next and previous pointers
6080         (next,previous): remove accessor functions
6081         (isParEnd): move to lyxrow_funcs
6082         (lastPos): move to lyxrow_funcs
6083         (nextRowIsAllInset): move to lyxrow_funcs
6084         (lastPrintablePos): move to lyxrow_funcs
6085         (numberOfSeparators): move to lyxrow_funcs
6086         (numberOfHfills): move to lyxrow_funcs
6087         (numberOfLabelHfills): move to lyxrow_funcs
6088         (hfillExpansion): move to lyxrow_funcs
6089
6090         * lyxfunc.C: adjust
6091
6092         * bufferview_funcs.C (toggleAndShow): adjust
6093
6094         * RowList.h: Remove class RowList from file leave just a
6095         std::list<Row>.
6096
6097         * RowList.C: delete file
6098
6099         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6100         and lyxrow_funcs.h
6101
6102 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6103
6104         * text3.C (cursorPrevious): adjust
6105         (cursorNext): adjust
6106         (dispatch): adjust
6107
6108         * text2.C (redoHeightOfParagraph): adjust
6109         (redoDrawingOfParagraph): adjust
6110         (setCursor): adjust
6111
6112         * text.C (breakParagraph): adjust
6113         (insertChar): adjust
6114         (backspace): adjust
6115
6116         * rowpainter.C (RowPainter): adjust
6117         (leftMargin): simplify and adjust
6118         (most rowpainter functions): adjust.
6119
6120         * rowpainter.h: store the row as RowList::iterator not as Row*
6121
6122         * lyxcursor.C (row): taka RowList::iterator as arg
6123         (irow): ditto
6124
6125         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6126         of Row*.
6127
6128 2003-04-01  Angus Leeming  <leeming@lyx.org>
6129
6130         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6131         stuff like bool Bool.
6132
6133 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6134
6135         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6136         rewrite a loop
6137
6138 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6139
6140         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6141         RowList::iterator.
6142
6143         * lyxtext.h (rows): drop one version and leve a const variant that
6144         returns a RowList::iterator.
6145
6146 2003-03-31  Angus Leeming  <leeming@lyx.org>
6147
6148         * text.C (fill): ensure that the signature is the same as that in the
6149         header file.
6150
6151 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6152
6153         * text2.C (redoParagraphs): adjust
6154         (updateCounters): adjust
6155         (checkParagraph): adjust
6156         (getColumnNearX): adjust and reformat a bit.
6157
6158         * text.C (top_y): adjust
6159         (workWidth): adjust
6160         (leftMargin): adjust
6161         (prepareToPrint): adjust
6162         (getRow): adjust
6163         (getRowNearY): adjust
6164
6165         * lyxtext.h: make rowlist_ mutable.
6166
6167         * RowList.h: add const_iterator
6168         * RowList.C: adjust for RowList::const_iterator.
6169
6170         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6171         adjust.
6172
6173 2003-03-31  John Levon  <levon@movementarian.org>
6174
6175         * lyxrc.h:
6176         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6177
6178         * lyx_main.C: set default fonts from using lyx_gui funcs
6179
6180         * exporter.C: pdf_mode moved from lyxrc
6181
6182         * lyx_cb.C:
6183         * lyxfunc.C: changes from above
6184
6185 2003-03-31  John Levon  <levon@movementarian.org>
6186
6187         * lyx_main.C: fix to the last fix
6188
6189 2003-03-31  John Levon  <levon@movementarian.org>
6190
6191         * bufferlist.C: "Load original" -> "Load Original"
6192
6193         * converter.C:
6194         * exporter.C:
6195         * importer.C:
6196         * lyx_main.C:
6197         * format.C: more Alert cleanups
6198
6199 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6200
6201         * text2.C (removeParagraph): make it take a RowList::iterator as
6202         arg, adjust.
6203         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6204         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6205
6206         * text.C (anchor_row): make it take a RowList::iterator as arg,
6207         adjust.
6208         (computeBidiTables): make it take a const reference to Row instead
6209         of Row pointer, adjust.
6210         (leftMargin): make it take a RowList::iterator as arg, adjust.
6211         (rowBreakPoint): adjust
6212         (breakAgainOneRow): make it take a RowList::iterator as arg,
6213         adjust.
6214         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6215
6216         * bufferview_funcs.C (toggleAndShow): adjust
6217
6218 2003-03-30  John Levon  <levon@movementarian.org>
6219
6220         * Makefile.am:
6221         * BoostFormat.h:
6222         * boost-inst.C: moved to support
6223
6224         * several files: changes as a result
6225
6226 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6227
6228         * text2.C (LyXText): adjust.
6229         (init): adjust
6230         (removeRow): make it take a RowList::iterator as arg, adjust.
6231         (fullRebreak): adjust
6232         (deleteEmptyParagraphMechanism): adjust
6233         (clearPaint): adjust
6234         (postPaint): adjust
6235
6236         * text.C (top_y): adjust
6237         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6238         (breakAgain): make it take a RowList::iterator as arg, adjust.
6239         (breakParagraph): adjust
6240         (insertChar): adjust
6241         (backspace): adjust
6242
6243         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6244         need_break_row, and refresh_row.
6245
6246         * text3.C (dispatch): adjust
6247
6248         * text2.C (checkParagraph): adjust
6249         (setCursor): adjust
6250         (setCursorFromCoordinates): adjust
6251
6252         * text.C (top_y): adjust
6253         (workWidth): adjust
6254         (getRow): make it return a RowList::iterator, adjust
6255         (getRowNearY): make it return a RowList::iterator, adjust
6256
6257         * text2.C (init): adjust
6258         (insertRow): remove function
6259         (insertParagraph): adjust
6260         (redoParagraphs): adjust
6261         (fullRebreak): adjust
6262         (updateCounters): adjust
6263
6264         * text.C (top_y): rewrite to use RowList iterators.
6265         (top_y): adjust
6266         (setHeightOfRow): rewrite to sue RowList iterators.
6267         (appendParagraph): adjust
6268         (breakAgain): adjust
6269         (breakAgainOneRow): adjust
6270         (breakParagraph): adjust
6271         (getRow): adjust
6272         (getRowNearY): adjust, and remove commented code.
6273
6274         * lyxtext.h (firstRow): delete function
6275         (lastRow): delete function
6276         (rows): new function (const and non-const versions.)
6277         (insertRow): delete function
6278
6279         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6280
6281 2003-03-29  John Levon  <levon@movementarian.org>
6282
6283         * BufferView_pimpl.C: always update scrollbar top
6284         because pasting text when we're anchored could mean we
6285         miss an update altogether
6286
6287 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6288
6289         * text2.C (init): use rowlist_.end() and not 0.
6290         (insertRow): change to take a RowList::iterator as arg, adjust
6291         for this.
6292         (insertParagraph): change to take a RowList::iterator as arg,
6293         adjust for this.
6294         (redoParagraphs): remove some debug msgs.
6295
6296         * text.C (appendParagraph): change to take a RowList::iterator
6297         arg, adjust for this.
6298         (breakAgain): add an assert
6299         (breakAgainOneRow): ditto
6300
6301 2003-03-29  John Levon  <levon@movementarian.org>
6302
6303         * text2.C: do not clear selection after inc/decDepth
6304         (bug 550)
6305
6306 2003-03-29  John Levon  <levon@movementarian.org>
6307
6308         * BufferView.C:
6309         * buffer.C: fix broken strerrors according to Lars
6310
6311 2003-03-29  John Levon  <levon@movementarian.org>
6312
6313         * converters.C: more Alert cleanups
6314
6315 2003-03-29  John Levon  <levon@movementarian.org>
6316
6317         * bufferview_funcs.C: remove pointless Alert
6318
6319         * buffer.C: fix confusing error message when
6320         a template is chmoded 000
6321
6322 2003-03-29  John Levon  <levon@movementarian.org>
6323
6324         * BufferView.C:
6325         * BufferView.h:
6326         * BufferView_pimpl.C: Alert fixes
6327
6328         * Makefile.am:
6329         * tabular.C:
6330         * tabular-old.C: remove unused table compat reading
6331
6332 2003-03-29  John Levon  <levon@movementarian.org>
6333
6334         * BufferView.C:
6335         * buffer.C:
6336         * lyx_cb.h:
6337         * lyx_cb.C: more Alert cleanups
6338
6339         * lyxfunc.C: don't allow chktex if not latex document
6340
6341 2003-03-29  John Levon  <levon@movementarian.org>
6342
6343         * lyx_cb.C:
6344         * BufferView.C:
6345         * buffer.C: warnings pushed down from support/,
6346         kill err_alert
6347
6348 2003-03-29  John Levon  <levon@movementarian.org>
6349
6350         * lyxfunc.C: safety check for C-r (revert)
6351
6352 2003-03-29  John Levon  <levon@movementarian.org>
6353
6354         * bufferlist.h:
6355         * bufferlist.C: several UI fixes using Alert::prompt.
6356         Fix the pointless looping quit code. Fix stupid revert
6357         behaviour (bug 938)
6358
6359         * lyxvc.h:
6360         * lyxvc.C:
6361         * lyx_cb.C: use Alert::prompt
6362
6363         * lyx_main.C: remove a silly question
6364
6365         * lyxfunc.C: remove a couple of silly questions,
6366         use Alert::prompt
6367
6368 2003-03-28  John Levon  <levon@movementarian.org>
6369
6370         * text2.C: fix bug 974 (End on empty par)
6371
6372 2003-03-28  John Levon  <levon@movementarian.org>
6373
6374         * BufferView_pimpl.C:
6375         * LyXAction.C:
6376         * lfuns.h: remove do-nothing math greek lfuns
6377
6378 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6379
6380         * lyxgluelength.h (isValidGlueLength): add default arg on
6381         parameter 2. Remove default arg from friend in class.
6382
6383         * lyxlength.h (isValidLength): add default arg on parameter 2.
6384         Remove default arg from friend in class.
6385
6386         * text2.C (LyXText): adjust, initialize refresh_row.
6387         (init): adjust
6388         (removeRow): adjust
6389         (insertRow): adjust
6390         (insertParagraph): adjst
6391         (redoParagraphs): adjust
6392         (fullRebreak): adjust
6393         (updateCounters): adjust
6394         (deleteEmptyParagraphMechanism): first attempt at fixing a
6395         crashing bug.
6396
6397         * text.C (top_y): adjust
6398         (setHeightOfRow): adjust
6399         (getRow): adjust
6400         (getRowNearY): adjust
6401
6402         * lyxtext.h: include RowList.h
6403         (~LyXText): not needed anymore, deleted.
6404         (firstRow): modify for RowList
6405         (lastRow): new function
6406         Delete firstrow and lastrow class variables, add a Rowlist
6407         rowlist_ class variable.
6408
6409         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6410         paragraph is empty.
6411
6412         * RowList.C (insert): fix case where it == begin().
6413
6414 2003-03-26  Angus Leeming  <leeming@lyx.org>
6415
6416         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6417         the thesaurus dialog.
6418
6419 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6420
6421         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6422
6423         * RowList.[Ch]: new files
6424
6425         * ParagraphList.C (erase): handle the case where it == begin
6426         correctly.
6427
6428 2003-03-25  John Levon  <levon@movementarian.org>
6429
6430         * Makefile.am:
6431         * aspell_local.h:
6432         * aspell.C: add new aspell support
6433
6434         * lyxrc.h:
6435         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6436         have it accessible.
6437
6438 2003-03-25  Angus Leeming  <leeming@lyx.org>
6439
6440         * lfuns.h:
6441         * LyXAction.C (init): new LFUN_INSET_INSERT.
6442
6443         * BufferView_pimpl.C (dispatch): split out part of the
6444         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6445
6446         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6447         LFUN_INSET_APPLY.
6448
6449 2003-03-25  Angus Leeming  <leeming@lyx.org>
6450
6451         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6452
6453 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6454
6455         * text2.C:
6456         * text3.C: remove useless row->height(0)
6457
6458 2003-03-25  John Levon  <levon@movementarian.org>
6459
6460         * lyxtext.h:
6461         * text2.C:
6462         * text3.C: rename the refreshing stuff to better names
6463
6464 2003-03-24  John Levon  <levon@movementarian.org>
6465
6466         * BufferView_pimpl.h:
6467         * BufferView_pimpl.C: update layout choice on a mouse
6468         press/release
6469
6470 2003-03-23  John Levon  <levon@movementarian.org>
6471
6472         * Makefile.am: fix commandtags.h reference
6473
6474 2003-03-22  John Levon  <levon@movementarian.org>
6475
6476         * BufferView_pimpl.C:
6477         * lyxtext.h:
6478         * rowpainter.C:
6479         * rowpainter.h:
6480         * text.C:
6481         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6482
6483 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6484
6485         * lyxtext.h:
6486         * text.C: take the rtl methods out of line
6487
6488 2003-03-21 André Pönitz <poenitz@gmx.net>
6489
6490         * metricsinfo.[Ch]: new files containing structures to be passed around
6491         during the two-phase-drawing...
6492
6493 2003-03-21 André Pönitz <poenitz@gmx.net>
6494
6495         * lyxtextclass.C: read 'environment' tag.
6496
6497 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6498
6499         * text2.C (removeRow): fix bug 964
6500
6501 2003-03-20  John Levon  <levon@movementarian.org>
6502
6503         * rowpainter.C:
6504         * text.C:
6505         * text2.C: paint cleanups. Inset::update() dropped font
6506         parameter
6507
6508 2003-03-19  John Levon  <levon@movementarian.org>
6509
6510         * lyxfunc.C: only fitcursor/markDirty if available()
6511
6512 2003-03-19  John Levon  <levon@movementarian.org>
6513
6514         * commandtags.h: rename to ...
6515
6516         * lfuns.h: ... this, and renumber / cleanup
6517
6518 2003-03-19  John Levon  <levon@movementarian.org>
6519
6520         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6521         fit the cursor after an lfun
6522
6523         * BufferView.h:
6524         * BufferView.C:
6525         * BufferView_pimpl.h:
6526         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6527
6528         * LyXAction.C: layout-character should have ReadOnly
6529
6530         * ParagraphParameters.C:
6531         * buffer.C:
6532         * bufferview_funcs.C:
6533         * lyx_cb.C:
6534         * lyxfind.C:
6535         * lyxtext.h:
6536         * text.C:
6537         * text2.C:
6538         * text3.C:
6539         * undo_funcs.C: changes from above
6540
6541 2003-03-18  John Levon  <levon@movementarian.org>
6542
6543         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6544         remove it from update()
6545
6546         * lyxfunc.C: update layout choice after an lfun
6547
6548         * text3.C: remove extra updateLayoutChoice()s
6549
6550 2003-03-18  John Levon  <levon@movementarian.org>
6551
6552         * text.C: top_y change means full repaint, fix
6553         a drawing bug with cursor movement
6554
6555 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6556
6557         * lyxtext.h:
6558         * text.C:
6559         * text2.C: anchor row on setCursor
6560
6561 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6562
6563         * lyxtext.h: remove almost all mutable keywords
6564         * text.C:
6565         * text2.C:
6566         * text3.C: remove const keywords accordingly
6567
6568 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6569
6570         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6571         anon namespace
6572         (TeXEnvironment): ditto
6573         (TeXOnePar): ditto
6574
6575 2003-03-17  John Levon  <levon@movementarian.org>
6576
6577         * text.C (rowBreakPoint): remove attempt to fix displayed
6578         math insets inside a manual label
6579
6580 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6581
6582         * lyxtext.h: remove BufferView* as first arg from almost all class
6583         functions.
6584         * other files: adjust.
6585
6586 2003-03-17  John Levon  <levon@movementarian.org>
6587
6588         * lyxtext.h:
6589         * undo_funcs.C:
6590         * text2.C: more paint cleanups
6591
6592         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6593
6594         * rowpainter.h:
6595         * rowpainter.C: remove "smart" background painting code
6596
6597 2003-03-16  John Levon  <levon@movementarian.org>
6598
6599         * lyxtext.h:
6600         * text.C:
6601         * text2.C:
6602         * text3.C: add helper functions for setting refresh_row/y
6603
6604 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6605
6606         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6607         newline inset which *can* get inserted in the pass_thru layouts.
6608         This is primarily for literate documents.
6609
6610 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6611
6612         * buffer.C: increment LYX_FORMAT to 223
6613
6614 2003-03-14 André Pönitz <poenitz@gmx.net>
6615
6616         * textclass.h: prepare for environment handling, ws changes
6617         * lyxlayout.C: read latexheader and latexfooter tags
6618
6619 2003-03-14  John Levon  <levon@movementarian.org>
6620
6621         * text2.C: rewrite ::status() a bit
6622
6623 2003-03-13  John Levon  <levon@movementarian.org>
6624
6625         * lyxtext.h: add some docs
6626
6627 2003-03-13  John Levon  <levon@movementarian.org>
6628
6629         * lyxtext.h:
6630         * text.C:
6631         * text2.C:
6632         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6633
6634 2003-03-13  John Levon  <levon@movementarian.org>
6635
6636         * text3.C: fix appendix redrawing
6637
6638 2003-03-13  John Levon  <levon@movementarian.org>
6639
6640         * text.C (setHeightOfRow):
6641         * rowpainter.h:
6642         * rowpainter.C: make appendix mark have the text
6643           "Appendix" so the user knows what it is
6644
6645         * LColor.h:
6646         * LColor.C: s/appendixline/appendix/ from above
6647
6648 2003-03-13  John Levon  <levon@movementarian.org>
6649
6650         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6651
6652         * text.C: fix a getChar(pos) bug properly
6653
6654 2003-03-13  Angus Leeming  <leeming@lyx.org>
6655
6656         * commandtags.h:
6657         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6658         Probably only temporary. Let's see how things pan out.
6659
6660         * BufferView.C (unlockInset):
6661         * BufferView_pimpl.C (fitCursor):
6662         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6663
6664         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6665         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6666
6667         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6668         new functions that convert ParagraphParameters to and from a string.
6669
6670         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6671         BufferView::Pimpl's dispatch.
6672         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6673
6674 2003-03-13 André Pönitz <poenitz@gmx.net>
6675
6676         * lyxfunc.C:
6677         * text3.C:
6678         * factory.C: make it aware of InsetEnv
6679
6680 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6681
6682         * text2.C (setCursor): never ask for one past last
6683         (setCursor): add some debugging messages.
6684
6685         * text.C (singleWidth): never ask for one past last
6686         (singleWidth): ditto
6687         (leftMargin): ditto
6688         (rightMargin): ditto
6689         (rowBreakPoint): ditto
6690         (setHeightOfRow): ditto
6691         (prepareToPrint): ditto
6692
6693         * rowpainter.C (paintBackground): never ask for one past last
6694         (paintText): never ask for one past last
6695
6696         * paragraph_pimpl.C (getChar): make the assert stricter, never
6697         allow the one past last pos to be taken
6698
6699         * paragraph.C (getChar): ws changes only
6700
6701         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6702         (numberOfSeparators): ditto
6703         (numberOfHfills): ditto
6704
6705 2003-03-12  John Levon  <levon@movementarian.org>
6706
6707         * author.h:
6708         * author.C:
6709         * bufferparams.h:
6710         * bufferparams.C:
6711         * paragraph_funcs.C: fix per-buffer authorlists
6712
6713 2003-03-12  John Levon  <levon@movementarian.org>
6714
6715         * text.C: fix newline in right address
6716
6717 2003-03-12  Angus Leeming  <leeming@lyx.org>
6718
6719         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6720         duplicate those in LyXFunc::dispatch.
6721
6722         * commandtags.h:
6723         * LyXAction.C:
6724         * ToolbarDefaults.C:
6725         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6726         Add LFUN_FONTFREE_UPDATE.
6727
6728         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6729         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6730
6731         * bufferview_func.[Ch]: several new functions to facilliate
6732         transfer of data to and from the character dialog.
6733
6734 2003-03-12  John Levon  <levon@movementarian.org>
6735
6736         * buffer.C:
6737         * paragraph.h:
6738         * paragraph.C:
6739         * paragraph_funcs.C:
6740         * paragraph_pimpl.C:
6741         * sgml.C:
6742         * tabular.C:
6743         * text.C:
6744         * text3.C: remove META_NEWLINE in favour of an inset
6745
6746         * rowpainter.h:
6747         * rowpainter.C: remove paintNewline (done by inset)
6748
6749 2003-03-12  John Levon  <levon@movementarian.org>
6750
6751         * paragraph_pimpl.C: complain about bad getChar()s
6752         for a while at least
6753
6754 2003-03-12  John Levon  <levon@movementarian.org>
6755
6756         * buffer.h:
6757         * buffer.C: move paragraph read into a separate function,
6758         a little renaming to reflect that.
6759
6760         * bufferparams.h:
6761         * bufferparams.C: remove the author_ids map, not necessary now
6762
6763         * factory.h:
6764         * factory.C: moved Buffer::readInset to here
6765
6766         * paragraph_funcs.h:
6767         * paragraph_funcs.C: readParagraph free function moved from
6768         buffer.C
6769
6770         * tabular.C: name change
6771
6772 2003-03-12  John Levon  <levon@movementarian.org>
6773
6774         * buffer.C:
6775         * ParagraphParameters.C: move par params input to
6776         a read() method
6777
6778         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6779         behave like a normal read from the stream wrt reading
6780         a line vs. a \\token
6781
6782 2003-03-12  John Levon  <levon@movementarian.org>
6783
6784         * paragraph.C:
6785         * ParagraphParameters.h:
6786         * ParagraphParameters.C: move output code to a
6787         ::write() method
6788
6789 2003-03-12  John Levon  <levon@movementarian.org>
6790
6791         * BufferView.C (insertLyXFile):
6792         * buffer.h:
6793         * buffer.C:
6794         * tabular.C: use a parlist iterator for creating the
6795           document.
6796
6797 2003-03-12  John Levon  <levon@movementarian.org>
6798
6799         * buffer.C: make current_change static local not
6800           static file-scope
6801
6802 2003-03-12  John Levon  <levon@movementarian.org>
6803
6804         * buffer.C: fix insertStringAsLines for change tracking
6805
6806 2003-03-12  John Levon  <levon@movementarian.org>
6807
6808         * BufferView.C:
6809         * tabular.C:
6810         * buffer.h:
6811         * buffer.C:
6812         * bufferparams.h:
6813         * bufferparams.C: move author list into params. Rename some
6814           functions. Move the header reading into a separate token
6815           loop. Move the header token reading into BufferParams.
6816
6817 2003-03-12  John Levon  <levon@movementarian.org>
6818
6819         * changes.C: put debug inside lyxerr.debugging() checks
6820
6821 2003-03-11 André Pönitz <poenitz@gmx.net>
6822
6823         * factory.C: make it aware of InsetHFill
6824
6825 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6826
6827         * buffer.C (latexParagraphs): move function from here...
6828         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6829         args.
6830
6831 2003-03-10  Angus Leeming  <leeming@lyx.org>
6832
6833         * LyXAction.C (init): fix bug in poplating array with multiple entries
6834         with the same LFUN (spotted by JMarc).
6835
6836 2003-03-10  John Levon  <levon@movementarian.org>
6837
6838         * text.C:
6839         * text2.C: move getColumnNearX() near its
6840         only call site
6841
6842 2003-03-10  John Levon  <levon@movementarian.org>
6843
6844         * text.C: fix break before a minipage
6845
6846 2003-03-10  John Levon  <levon@movementarian.org>
6847
6848         * text.C: fix the last commit
6849
6850 2003-03-09  John Levon  <levon@movementarian.org>
6851
6852         * lyxtext.h:
6853         * text.C:
6854         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6855         bug 365 (don't break before insets unless needed). Don't
6856         return a value > last under any circumstances.
6857
6858 2003-03-09  Angus Leeming  <leeming@lyx.org>
6859
6860         * BufferView_pimpl.C (trackChanges, dispatch): call
6861         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6862
6863 2003-03-09  Angus Leeming  <leeming@lyx.org>
6864
6865         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6866         than Dialogs::showAboutlyx().
6867
6868 2003-03-09  Angus Leeming  <leeming@lyx.org>
6869
6870         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6871         than Dialogs::showTabularCreate().
6872
6873 2003-03-09  John Levon  <levon@movementarian.org>
6874
6875         * lyxtext.h:
6876         * text.C:
6877         * text2.C: 3rd arg to nextBreakPoint was always the same.
6878           Use references.
6879
6880 2003-03-08  John Levon  <levon@movementarian.org>
6881
6882         * lyxrow.C:
6883         * paragraph.C:
6884         * paragraph.h:
6885         * rowpainter.C:
6886         * text.C:
6887         * text2.C: Remove the "main" bit from the "main body"
6888           notion.
6889
6890 2003-03-08  John Levon  <levon@movementarian.org>
6891
6892         * text.C (leftMargin): The left margin of an empty
6893         manual label paragraph should not include the label width
6894         string length.
6895
6896         * text.C (prepareToPrint): don't attempt to measure hfills
6897         for empty manual label paragraphs - the answer should be 0
6898
6899 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6900
6901         * CutAndPaste.C: remove commented code and reindent.
6902
6903 2003-03-08  John Levon  <levon@movementarian.org>
6904
6905         * lyxfunc.h:
6906         * lyxfunc.C: move reloadBuffer()
6907
6908         * BufferView.h:
6909         * BufferView.C: to here
6910
6911         * lyxvc.C: add comment
6912
6913         * vc-backend.h:
6914         * vc-backend.C: call bv->reload() to avoid
6915           getStatus() check on MENURELOAD
6916
6917 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6918
6919         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6920         to an old format .dep file.
6921
6922 2003-03-07  Angus Leeming  <leeming@lyx.org>
6923
6924         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6925         when the LFUN_MOUSE_RELEASE should have been handled by
6926         inset->localDispatch.
6927
6928 2003-03-07  Angus Leeming  <leeming@lyx.org>
6929
6930         * BufferView_pimpl.C (dispatch):
6931         * LyXAction.C (init):
6932         * ToolbarDefaults.C (init):
6933         * commandtags.h:
6934         * lyxfunc.C (getStatus):
6935         remove LFUN_INSET_GRAPHICS.
6936
6937         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6938
6939 2003-03-07  Angus Leeming  <leeming@lyx.org>
6940
6941         * commandtags.h:
6942         * LyXAction.C (init):
6943         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6944
6945         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6946
6947         * commandtags.h:
6948         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6949
6950         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6951         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6952
6953 2003-03-07  Angus Leeming  <leeming@lyx.org>
6954
6955         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6956         remove "ert".
6957
6958 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6959
6960         * ParagraphList.C (front): new function
6961         (back): implement
6962
6963 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6964
6965         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6966         and top_row_offset_. removed var first_y.
6967         * text.C (top_y):
6968         * text2.C (LyXText, removeRow):
6969         * text3.C:
6970         * BufferView_pimpl.C:
6971         use these methods instead of using first_y
6972
6973 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6974
6975         * text2.C (pasteSelection): adjust for checkPastePossible
6976
6977         * CutAndPaste.C: remove Paragraph * buf and replace with
6978         ParagraphList paragraphs.
6979         (DeleteBuffer): delete
6980         (cutSelection): change the tc type to textclass_type
6981         (copySelection): change the tc type to textclass_type
6982         (copySelection): adjust for ParagraphList
6983         (pasteSelection): change the tc type to textclass_type
6984         (pasteSelection): adjust for Paragraphlist
6985         (nrOfParagraphs): simplify for ParagraphList
6986         (checkPastePossible): simplify for ParagraphList
6987         (checkPastePossible): remove unused arg
6988
6989         * ParagraphList.C (insert): handle the case where there are no
6990         paragraphs yet.
6991
6992         * CutAndPaste.h: make CutAndPaste a namespace.
6993
6994         * text3.C (dispatch): adjust
6995
6996         * text.C (breakParagraph): add a ParagraphList as arg
6997
6998         * paragraph_funcs.C (breakParagraph): change to take a
6999         BufferParams and a ParagraphList as args.
7000         (breakParagraphConservative): ditto
7001         (mergeParagraph): ditto
7002         (TeXDeeper): add a ParagraphList arg
7003         (TeXEnvironment): ditto
7004         (TeXOnePar): ditto
7005
7006         * buffer.C (readLyXformat2): adjust
7007         (insertStringAsLines): adjust
7008         (latexParagraphs): adjust
7009
7010         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7011         (cutSelection): adjust
7012         (pasteSelection): adjust
7013
7014         * BufferView_pimpl.C (insertInset): adjust
7015
7016 2003-03-05  Angus Leeming  <leeming@lyx.org>
7017
7018         * commandtags.h:
7019         * LyXAction.C (init):
7020         * BufferView_pimpl.C (dispatch):
7021         * lyxfunc.C (getStatus):
7022         remove LFUN_CHILD_INSERT.
7023
7024         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7025
7026 2003-03-05  Angus Leeming  <leeming@lyx.org>
7027
7028         * commandtags.h:
7029         * LyXAction.C (init):
7030         * src/factory.C (createInset):
7031         * lyxfunc.C (getStatus):
7032         * text3.C (dispatch):
7033         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7034
7035         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7036
7037 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7038
7039         * ParagraphList.C (insert): handle insert right before end()
7040         (erase): fix cases where it can be first or last paragraph.
7041
7042 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7043
7044         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7045         Paragraph::next and Paragraph::previous
7046         (TeXOnePar): ditto
7047
7048         * text.C (breakParagraph): adjust
7049
7050         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7051         BufferParams& as arg.
7052         (breakParagraph): use ParagraphList::insert
7053         (breakParagraphConservative): take a Buffer* instead of a
7054         BufferParams& as arg.
7055         (breakParagraphConservative): use ParagraphList::insert.
7056
7057         * buffer.C (insertStringAsLines): un-const it
7058         (insertStringAsLines): adjust
7059
7060         * ParagraphList.C (insert): new function
7061
7062         * CutAndPaste.C (pasteSelection): adjust
7063
7064         * text.C (backspace): adjust
7065
7066         * tabular.C (SetMultiColumn): adjust
7067
7068         * CutAndPaste.C (cutSelection): adjust
7069         (pasteSelection): adjust
7070
7071         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7072         Buffer const * as arg
7073
7074         * ParagraphList.C (erase): new function
7075         * paragraph_funcs.C (mergeParagraph): use it
7076         (mergeParagraph): make it take a Buffer* instead of a
7077         BufferParams* as arg
7078
7079         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7080         as arg
7081         (breakParagraphConservative): ditto
7082
7083         * paragraph.h: remove the breakParagraph friend
7084
7085         * paragraph.C (eraseIntern): new function
7086         (setChange): new function
7087
7088         * paragraph_funcs.C (mergeParagraph): make it take a
7089         ParagraphList::iterator instead of a Paragraph *, adjust
7090         accordingly.
7091
7092         * paragraph.h: move an #endif so that the change tracking stuff
7093         also works in the NO_NEXT case.
7094
7095 2003-03-04  Angus Leeming  <leeming@lyx.org>
7096
7097         * commandtags.h:
7098         * LyXAction.C: new LFUN_INSET_MODIFY.
7099
7100         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7101         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7102
7103 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7104
7105         * several files: ws changes only
7106
7107         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7108         (TeXEnvironment): ditto
7109         (TeXDeeper): ditto
7110
7111         * buffer.C (makeLaTeXFile): adjust
7112         (latexParagraphs): make it take ParagraphList::iterator as args
7113
7114 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7115
7116         * buffer.C (latexParagraphs): adjust
7117
7118         * paragraph.C (TeXOnePar): move function...
7119         (optArgInset): move function...
7120         (TeXEnvironment): move function...
7121         * paragraph_pimpl.C (TeXDeeper): move function...
7122         * paragraph_funcs.C: ...here
7123
7124         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7125
7126 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7127
7128         * buffer.C (readInset): remove compability code for old Figure and
7129         InsetInfo insets
7130
7131 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7132
7133         * buffer.C: ws changes
7134         (readInset):
7135
7136         * BufferView_pimpl.C: ditto
7137         * author.C: ditto
7138         * buffer.h: ditto
7139         * bufferlist.h: ditto
7140         * changes.h: ditto
7141         * lyxfunc.C: ditto
7142
7143 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7144
7145         * converter.[Ch]: split into itself +
7146         * graph.[Ch]
7147         * format.[Ch]
7148         * Makefile.am: += graph.[Ch] + format.[Ch]
7149         * MenuBackend.C
7150         * buffer.C
7151         * exporter.C
7152         * importer.C
7153         * lyx_main.C
7154         * lyxfunc.C
7155         * lyxrc.C: added #include "format.h"
7156
7157 2003-02-27  Angus Leeming  <leeming@lyx.org>
7158
7159         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7160           a label.
7161
7162         * factory.C (createInset): add "label" to the factory.
7163
7164         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7165           string and do no more.
7166
7167 2003-02-27  Angus Leeming  <leeming@lyx.org>
7168
7169         * commandtags.h:
7170         * LyXAction.C (init):
7171         * factory.C (createInset):
7172         * BufferView_pimpl.C (dispatch):
7173           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7174
7175         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7176
7177         * lyxfunc.C (dispatch):
7178         * text3.C (dispatch): pass name to params2string.
7179
7180 2003-02-26  Angus Leeming  <leeming@lyx.org>
7181
7182         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7183           blocks together.
7184           Rearrange the ~includes. Strip out the unnecessary ones.
7185
7186         * factory.C (createInset): reformat.
7187           create new insets for the various LFUN_XYZ_APPLY lfuns.
7188
7189 2003-02-26  John Levon  <levon@movementarian.org>
7190
7191         * lyxrow.h:
7192         * lyxrow.C: add isParStart,isParEnd helpers
7193
7194         * paragraph.h: make isInserted/DeletedText take refs
7195
7196         * paragraph_funcs.h:
7197         * paragraph_funcs.C: remove #if 0'd code
7198
7199         * lyxtext.h:
7200         * text3.C:
7201         * text2.C:
7202         * text.C: use lyxrow helpers above.
7203           Move draw and paint routines to RowPainter.
7204           Make several methods use refs not pointers.
7205           Make backgroundColor() const.
7206           Add markChangeInDraw(), isInInset().
7207           Merge changeRegionCase into changeCase.
7208           Make workWidth() shouldn't-happen code into an Assert.
7209
7210         * rowpainter.h:
7211         * rowpainter.C: new class for painting a row.
7212
7213         * vspace.h:
7214         * vspace.C: make inPixels take a ref
7215
7216 2003-02-26  Angus Leeming  <leeming@lyx.org>
7217
7218         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7219         LFUN_REF_APPLY.
7220
7221 2003-02-25  John Levon  <levon@movementarian.org>
7222
7223         * ispell.C: give the forked command a more accurate name
7224
7225 2003-02-22  John Levon  <levon@movementarian.org>
7226
7227         * toc.h:
7228         * toc.C: make TocItem store an id not a Paragraph *
7229           (bug #913)
7230
7231 2003-02-21  Angus Leeming  <leeming@lyx.org>
7232
7233         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7234           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7235           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7236           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7237           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7238           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7239
7240         * BufferView_pimpl.C (dispatch):
7241         * LyXAction.C (init):
7242         * factory.C (createInset):
7243         * lyxfunc.C (getStatus, dispatch):
7244         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7245
7246 2003-02-21  Angus Leeming  <leeming@lyx.org>
7247
7248         * BufferView_pimpl.C (MenuInsertLyXFile):
7249         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7250         * lyxfunc.C (menuNew, open, doImport):
7251           no longer pass a LyXView & to fileDlg.
7252
7253 2003-02-21  Angus Leeming  <leeming@lyx.org>
7254
7255         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7256         * LyXAction.C: change, BIBKEY to BIBITEM.
7257         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7258         Change InsetBibKey to InsetBibitem.
7259         Change BIBKEY_CODE to BIBITEM_CODE.
7260         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7261         * factory.C: replace insetbib.h with insetbibitem.h.
7262         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7263         * paragraph.C: replace insetbib.h with insetbibitem.h.
7264         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7265         Change bibkey() to bibitem().
7266         * text.C: remove insetbib.h.
7267         * text2.C: replace insetbib.h with insetbibitem.h.
7268         change bibkey() to bibitem().
7269         * text3.C: remove insetbib.h.
7270         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7271
7272 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7273
7274         * lyxrc.C (output): enclose user email in quotes (in case there are
7275         several words)
7276
7277 2003-02-18  John Levon  <levon@movementarian.org>
7278
7279         * buffer.h: add std::
7280
7281 2003-02-17  John Levon  <levon@movementarian.org>
7282
7283         * SpellBase.h:
7284         * ispell.h:
7285         * ispell.C:
7286         * pspell.h:
7287         * pspell.C: reworking. Especially in ispell, a large
7288           number of clean ups and bug fixes.
7289
7290         * lyxfunc.C: fix revert to behave sensibly
7291
7292 2003-02-17 André Pönitz <poenitz@gmx.net>
7293
7294         * LyXAction.C:
7295         * commandtags.h: new LFUN_INSERT_BIBKEY
7296
7297         * layout.h:
7298         * lyxlayout.C:
7299         * buffer.C:
7300         * factory.C:
7301         * text.C:
7302         * text2.C:
7303         * text3.C:
7304         * paragraph.[Ch]:
7305         * paragraph_func.C: remove special bibkey handling
7306
7307 2003-02-17  John Levon  <levon@movementarian.org>
7308
7309         * text.C (Delete): fix case where delete at the end of
7310           the very first paragraph would not merge the pars
7311
7312 2003-02-17  John Levon  <levon@movementarian.org>
7313
7314         * lyxrow.C: fix lastPrintablePos()
7315
7316 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7317
7318         * bufferparams.C (writeLaTeX): add a std:here
7319
7320         * buffer.C: and remove a using directive there
7321
7322 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7323
7324         * buffer.C (makeLaTeXFile): move the code that generates the
7325           preamble...
7326
7327         * bufferparams.C (writeLaTeX): ... in this new method
7328
7329         * LaTeXFeatures.C (getEncodingSet): make const
7330           (getLanguages): make const
7331
7332         * MenuBackend.C (binding): returns the binding associated to this
7333           action
7334           (add): sets the status of each item by calling getStatus. Adds
7335           some intelligence.
7336           (read): add support for OptSubMenu
7337           (expand): remove extra separator at the end of expanded menu
7338
7339 2003-02-15  John Levon  <levon@movementarian.org>
7340
7341         * BufferView.C:
7342         * BufferView_pimpl.C:
7343         * bufferlist.h:
7344         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7345           inset code that had no actual effect. Remove unneeded status
7346           code.
7347
7348 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7349
7350         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7351           in preamble
7352
7353 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7354
7355         * text.C (drawLengthMarker): also draw an arrow marker for
7356           symbolic lengths (medskip...)
7357
7358 2003-02-14  John Levon  <levon@movementarian.org>
7359
7360         * tabular.h:
7361         * tabular.C: better method names
7362
7363 2003-02-14  John Levon  <levon@movementarian.org>
7364
7365         * BufferView_pimpl.C:
7366         * bufferlist.C:
7367         * buffer.C:
7368         * converter.C:
7369         * lyx_cb.C:
7370         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7371           it's a more accurate name. Remove some pointless uses.
7372
7373 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7374
7375         * text2.C (LyXText): change order of initilizers to shut off
7376           warnings
7377
7378 2003-02-14  John Levon  <levon@movementarian.org>
7379
7380         * buffer.C: use ParIterator for getParFromID()
7381
7382         * paragraph.h:
7383         * paragraph.C:
7384         * paragraph_pimpl.h:
7385         * paragraph_pimpl.C: remove unused getParFromID()
7386
7387 2003-02-14  John Levon  <levon@movementarian.org>
7388
7389         * buffer.C: remove some very old #if 0'd parse code
7390
7391 2003-02-13  John Levon  <levon@movementarian.org>
7392
7393         * text.h:
7394         * text.C:
7395         * text2.C: move hfillExpansion(), numberOfSeparators(),
7396           rowLast(), rowLastPrintable(), numberofHfills(),
7397           numberOfLabelHfills() ...
7398
7399         * lyxrow.h:
7400         * lyxrow.C: ... to member functions here.
7401
7402         * paragraph.h:
7403         * paragraph.C:
7404         * lyxtext.h:
7405         * text.C: remove LyXText::beginningOfMainBody(), and call
7406           p->beginningOfMainBody() directly. Move the check for
7407           LABEL_MANUAL into the latter.
7408
7409         * text.h:
7410         * text.C:
7411         * text2.C:
7412         * vspace.C:
7413         * BufferView.h:
7414         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7415
7416         * text.h:
7417         * text.C:
7418         * text2.C:
7419         * text3.C:
7420         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7421           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7422
7423 2003-02-13  John Levon  <levon@movementarian.org>
7424
7425         * CutAndPaste.C: remove debug
7426
7427 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7428
7429         * paragraph.C (asString): remove two unused variables
7430
7431         * lyxtextclass.C (readTitleType):
7432           (Read):
7433           (LyXTextClass): handle new members titletype_ and titlename_
7434
7435         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7436
7437 2003-02-09  John Levon  <levon@movementarian.org>
7438
7439         * buffer.h:
7440         * buffer.C: replace hand-coded list with a map for the dep clean
7441
7442 2003-02-08  John Levon  <levon@movementarian.org>
7443
7444         * LaTeX.C: consolidate code into showRunMessage() helper
7445
7446 2003-02-08  John Levon  <levon@movementarian.org>
7447
7448         * lyxfind.C:
7449         * lyxtext.h:
7450         * text2.C:
7451         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7452           and pass the size in explicitly
7453
7454         * BufferView_pimpl.h:
7455         * BufferView_pimpl.C:
7456         * BufferView.h:
7457         * BufferView.C: add getCurrentChange()
7458
7459         * BufferView_pimpl.h:
7460         * BufferView_pimpl.C: handle change lfuns
7461
7462         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7463           for changes. Mark pasted paragraphs as new.
7464
7465         * support/lyxtime.h:
7466         * support/lyxtime.C:
7467         * DepTable.C: abstract time_t as lyx::time_type
7468
7469         * LColor.h:
7470         * LColor.C: add colours for new text, deleted text, changebars
7471
7472         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7473           package use "usenames" option.
7474
7475         * commandtags.h:
7476         * lyxfunc.C:
7477         * LyXAction.C: add change lfuns
7478
7479         * Makefile.am:
7480         * author.h:
7481         * author.C: author handling
7482
7483         * buffer.h:
7484         * buffer.C: add a per-buffer author list, with first entry as
7485           current author. Handle new .lyx tokens for change tracking. Output
7486           author list to .lyx file. Output dvipost stuff to .tex preamble.
7487           Bump lyx format to 222.
7488
7489         * bufferlist.h:
7490         * bufferlist.C: add setCurrentAuthor() to reset current author details
7491           in all buffers.
7492
7493         * bufferparams.h:
7494         * bufferparams.C: add param for tracking
7495
7496         * bufferview_funcs.C: output change info in minibuffer
7497
7498         * Makefile.am:
7499         * changes.h:
7500         * changes.C: add change-tracking structure
7501
7502         * debug.h:
7503         * debug.C: add CHANGES debug flag
7504
7505         * lyxfind.h:
7506         * lyxfind.C: add code for finding the next change piece
7507
7508         * lyxrc.h:
7509         * lyxrc.C: add user_name and user_email
7510
7511         * lyxrow.h:
7512         * lyxrow.C: add a metric for the top of the text line
7513
7514         * lyxtext.h:
7515         * text.C: implement accept/rejectChange()
7516
7517         * lyxtext.h:
7518         * text.C: paint changebars. Paint new/deleted text in the chosen
7519         colours. Strike through deleted text.
7520
7521         * paragraph.h:
7522         * paragraph.C:
7523         * paragraph_pimpl.h:
7524         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7525           in the current change to the insert functions. Rework erase to
7526           mark text as deleted, adding an eraseIntern() and a range-based
7527           erase(). Implement per-paragraph change lookup and
7528           accept/reject.
7529
7530         * paragraph_funcs.C: Fixup paste for change tracking.
7531
7532         * tabular.C: mark added row/columns as new.
7533
7534         * text.C: fix rowLast() to never return -1. Don't allow
7535           spellchecking of deleted text. Track transpose changes. Don't
7536           allow paragraph break or merge where appropriate.
7537
7538         * text2.C: leave cursor at end of selection after a cut.
7539
7540 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7541
7542         * text.C (getLengthMarkerHeight):
7543         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7544         visible on screen too.
7545
7546 2003-02-07  John Levon  <levon@movementarian.org>
7547
7548         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7549
7550 2003-02-05  Angus Leeming  <leeming@lyx.org>
7551
7552         * lyxserver.C (read_ready): revert my patch of 11 September last year
7553         as it sends PC cpu through the roof. Presumably this means that
7554         the lyxserver will no longer run on an Alpha...
7555
7556 2003-01-30  Angus Leeming  <leeming@lyx.org>
7557
7558         * factory.C (createInset): create an InsetCommandParam of type "index"
7559         and use it to 'do the right thing'.
7560
7561         * text2.C (getStringToIndex): ensure that cursor position is always
7562         reset to the reset_cursor position.
7563
7564 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7565
7566         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7567         disabled.
7568
7569 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7570
7571         * bufferview.C:
7572         * lyxcb.C:
7573         * lyxfunc.C: Output messages with identical spelling, punctuation,
7574         and spaces
7575
7576 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7577
7578         * MenuBackend.C (expandFormats): List only viewable export formats
7579         in "View" menu
7580
7581         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7582         message
7583
7584         * lyxfunc.C (getStatus): Make sure that formats other than
7585         "fax" can also be disabled
7586
7587 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7588
7589         * text3.C (dispatch): put the lfuns that insert insets in 3
7590         groups, and call doInsertInset with appropriate arguments.
7591         (doInsertInset): new function, that creates an inset and inserts
7592         it according to some boolean parameters.
7593
7594 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7595
7596         * buffer.C (readFile): remember to pass on 'par' when calling
7597         readFile recursively.
7598
7599 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7600
7601         * MenuBackend.C (expandFormats): add "..." to import formats.
7602
7603 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7604
7605         * paragraph.C (asString): Remove XForms RTL hacks.
7606
7607 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7608         * buffer.C: fix typo
7609
7610 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7611
7612         * Makefile.am (LIBS): delete var
7613         (lyx_LDADD): add @LIBS@ here instead.
7614
7615 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7616
7617         * Clarify the meaning of "wheel mouse jump"
7618
7619 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7620
7621         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7622         tabular in a float
7623
7624 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7625
7626         * importer.C (Loaders): do not preallocate 3 elements in the
7627         vector, since one ends up with 6 elements otherwise
7628
7629 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7630
7631         * DepTable.C (write): write the file name as last element of the
7632         .dep file (because it may contain spaces)
7633         (read): read info in the right order
7634
7635 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7636
7637         * paragraph_pimpl.C (simpleTeXBlanks):
7638         (simpleTeXSpecialChars):
7639         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7640
7641         * tabular.C (latex): add some missing case statements. Reindent.
7642
7643         * MenuBackend.C (expandToc): remove unused variable.
7644
7645 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7646
7647         * LColor.C:
7648         * LaTeX.C:
7649         * LyXAction.C:
7650         * MenuBackend.C:
7651         * buffer.C:
7652         * exporter.C:
7653         * lyxfunc.C:
7654         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7655         and the like.
7656
7657 2003-01-05  John Levon  <levon@movementarian.org>
7658
7659         * BufferView.h:
7660         * BufferView.C: add getEncoding()
7661
7662         * kbsequence.h:
7663         * kbsequence.C: do not store last keypress
7664
7665         * lyxfunc.h:
7666         * lyxfunc.C: store last keypress here instead. Pass encoding
7667           to getISOEncoded()
7668
7669 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7670
7671         * lyx_main.C (init): remove annoying error message when following
7672         symbolic links (bug #780)
7673
7674 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7675
7676         * text.C (insertChar):
7677         * lyxrc.C (getDescription): remove extra spaces
7678
7679 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7680
7681         * lyxrc.C (getDescription): remove extra spaces
7682
7683 2002-12-20  John Levon  <levon@movementarian.org>
7684
7685         * text3.C: hack fix for page up/down across tall rows
7686
7687 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7688
7689         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7690         not been invoked
7691
7692 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7693
7694         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7695         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7696         thesaurus is not compiled in
7697
7698 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7699
7700         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7701
7702 2002-12-16  Angus Leeming  <leeming@lyx.org>
7703
7704         * lyxrc.[Ch]:
7705         * lyx_main.C (init): remove override_x_deadkeys stuff.
7706
7707 2002-12-12  John Levon  <levon@movementarian.org>
7708
7709         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7710           insert. Only remove shift modifier under strict
7711           circumstances.
7712
7713 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7714
7715         * MenuBackend.C (expandToc): fix crash.
7716
7717 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7718
7719         * MenuBackend.C (expandToc): gettext on float names.
7720
7721 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7722
7723         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7724         implement bool empty() [bug 490]
7725
7726 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7727
7728         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7729
7730 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7731
7732         * several files: ws changes
7733
7734 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7735
7736         * text2.C (setCounter): clean up a bit, use boost.format.
7737         (updateCounters): initialize par upon declaration.
7738
7739         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7740         if the layout exists. We do not just store the layout any more.
7741         (SwitchLayoutsBetweenClasses): use boost.format
7742
7743 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7744
7745         * converter.C (convert): if from and to files are the same, use a
7746         temporary files as intermediary
7747
7748 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7749
7750         * commandtags.h:
7751         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7752
7753 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7754
7755         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7756
7757 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7758
7759         * tabular.C (asciiPrintCell): use string(size, char) instead of
7760         explicit loop.
7761
7762         * sgml.C (openTag): fix order of arguments to string constructor
7763         (closeTag): ditto
7764
7765         * lyxfunc.C (dispatch): use boost.format
7766
7767         * lots of files: change "c" -> 'c'
7768
7769 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7770
7771         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7772
7773 2002-11-25  Angus Leeming  <leeming@lyx.org>
7774
7775         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7776
7777         * lyx_main.C (init): compile fix.
7778
7779 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7780
7781         * lyx_cb.C (start): boost.formatify
7782         do not include <iostream>
7783
7784         * lengthcommon.C: ws only
7785
7786         * boost-inst.C,BoostFormat.h: add more explict instantations
7787
7788 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7789
7790         * lots of files: handle USE_BOOST_FORMAT
7791
7792 2002-11-21  John Levon  <levon@movementarian.org>
7793
7794         * pspell.C: fix compile
7795
7796 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7797
7798         * lyxfunc.C (dispatch): use boost::format
7799         (open): ditto
7800         (doImport): ditto
7801
7802         * lyxfont.C (stateText): use boost::format
7803
7804         * lyx_main.C (LyX): use boost::format
7805         (init): ditto
7806         (queryUserLyXDir): ditto
7807         (readRcFile): ditto
7808         (parse_dbg): ditto
7809         (typedef boost::function): use the recommened syntax.
7810
7811         * importer.C (Import): use boost::format
7812
7813         * debug.C (showLevel): use boost::format
7814
7815         * converter.C (view): use boost::format
7816         (convert): ditto
7817         (move): ditto
7818         (scanLog): ditto
7819
7820         * bufferview_funcs.C (currentState): use boost::format
7821
7822         * bufferlist.C (emergencyWrite): use boost::format
7823
7824         * buffer.C (readLyXformat2): use boost::format
7825         (parseSingleLyXformat2Token): ditto
7826
7827         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7828
7829         * LaTeX.C (run): use boost::format
7830
7831         * Chktex.C (scanLogFile): use boost::format
7832
7833         * BufferView_pimpl.C (savePosition): use boost::format
7834         (restorePosition): ditto
7835         (MenuInsertLyXFile): ditto
7836
7837         * BoostFormat.h: help file for explicit instation.
7838
7839 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7840
7841         * tabular.C (latex): Support for block alignment in fixed width
7842         columns.
7843
7844 2002-11-17  John Levon  <levon@movementarian.org>
7845
7846         * BufferView_pimpl.C:
7847         * lyx_cb.C:
7848         * lyxfunc.C: split filedialog into open/save
7849
7850 2002-11-08  Juergen Vigna  <jug@sad.it>
7851
7852         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7853         by my last patch (hopefully).
7854
7855 2002-11-08  John Levon  <levon@movementarian.org>
7856
7857         * iterators.h:
7858         * iterators.C:
7859         * buffer.h:
7860         * buffer.C:
7861         * paragraph.h:
7862         * paragraph.C:
7863         * toc.h:
7864         * toc.C: ParConstIterator, and use it (from Lars)
7865
7866 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7867
7868         * lyxtextclass.[Ch]: revise and add doxygen comments
7869
7870 2002-11-07  John Levon  <levon@movementarian.org>
7871
7872         * text.C: fix progress value for spellchecker
7873
7874         * toc.C: fix navigate menu for insetwrap inside minipage
7875
7876         * paragraph_funcs.C: added FIXME for suspect code
7877
7878 2002-11-07  John Levon  <levon@movementarian.org>
7879
7880         * BufferView_pimpl.C: fix redrawing of insets
7881           on buffer switch
7882
7883 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7884
7885         * text2.C (updateCounters): fix bug 668
7886
7887 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7888
7889         * text3.C (dispatch): Do not make the buffer dirty when moving the
7890         cursor.
7891
7892 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7893
7894         * vc-backend.C: STRCONV
7895         (scanMaster): ditto
7896
7897         * text2.C (setCounter): STRCONV
7898
7899         * paragraph.C (asString): STRCONV
7900
7901         * lyxlength.C (asString): STRCONV
7902         (asLatexString): ditto
7903
7904         * lyxgluelength.C (asString): STRCONV
7905         (asLatexString): ditto
7906
7907         * lyxfunc.C (dispatch): STRCONV
7908         (open): ditto
7909
7910         * lyxfont.C (stateText): STRCONV
7911
7912         * importer.C (Import): STRCONV
7913
7914         * counters.C (labelItem): STRCONV
7915         (numberLabel): ditto
7916         (numberLabel): remove unused ostringstream o
7917
7918         * chset.C: STRCONV
7919         (loadFile): ditto
7920
7921         * bufferview_funcs.C (currentState): STRCONV
7922
7923         * buffer.C (readFile): STRCONV
7924         (asciiParagraph): ditto
7925         (makeLaTeXFile): ditto
7926
7927         * Spacing.C (writeEnvirBegin): STRCONV
7928
7929         * LaTeXFeatures.C (getLanguages): STRCONV
7930         (getPackages): ditto
7931         (getMacros): ditto
7932         (getBabelOptions): ditto
7933         (getTClassPreamble): ditto
7934         (getLyXSGMLEntities): ditto
7935         (getIncludedFiles): ditto
7936
7937         * LaTeX.C: STRCONV
7938         (run): ditto
7939         (scanAuxFile): ditto
7940         (deplog): ditto
7941
7942         * LString.h: add the STRCONV macros
7943
7944         * BufferView_pimpl.C (savePosition): STRCONV
7945         (restorePosition): ditto
7946         (MenuInsertLyXFile): ditto
7947
7948         * vc-backend.C (scanMaster): change from submatch[...] to
7949         submatch.str(...)
7950
7951         * funcrequest.C: include config.h
7952
7953         * factory.C: include config.h
7954
7955         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7956
7957         * box.C: include config.h
7958
7959         * LaTeX.C (scanAuxFile): change from submatch[...] to
7960         submatch.str(...)
7961         (deplog): ditto
7962
7963 2002-10-25  Angus Leeming  <leeming@lyx.org>
7964
7965         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7966
7967         * ispell.[Ch] (setError): new method.
7968         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7969         Use setError() insetead of goto END.
7970
7971         * lyx_cb.C (AutoSave): move out child process into new class
7972         AutoSaveBuffer.
7973
7974 2002-10-30  John Levon  <levon@movementarian.org>
7975
7976         * text3.C: make start appendix undoable
7977
7978 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7979
7980         * lyxlength.C (inPixels): Fix returned value.
7981
7982         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7983         environment.
7984
7985 2002-10-24  Angus Leeming  <leeming@lyx.org>
7986
7987         * lyxgluelength.h: no need to forward declare BufferParams
7988         or BufferView, so don't.
7989
7990 2002-10-21  John Levon  <levon@movementarian.org>
7991
7992         * BufferView.C: menuUndo ->undo, redo
7993
7994         * BufferView.h: document, remove dead, make some methods private
7995
7996         * paragraph_funcs.h:
7997         * paragraph_funcs.C:
7998         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7999
8000         * buffer.h:
8001         * buffer.C:
8002         * sgml.h:
8003         * sgml.C: move sgml open/close tag into sgml.C
8004
8005         * bufferview_funcs.h: unused prototype
8006
8007         * lyxfunc.h:
8008         * lyxfunc.C: remove unused
8009
8010         * lyxtext.h:
8011         * text.C: remove unused
8012
8013 2002-10-21  John Levon  <levon@movementarian.org>
8014
8015         * BufferView.h:
8016         * BufferView.C:
8017         * BufferView_pimpl.h:
8018         * BufferView_pimpl.C: fix mouse wheel handling based on
8019           patch from Darren Freeman
8020
8021 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8022
8023         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8024
8025 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8026
8027         * lyxlength.C (inPixels): Fix hanfling of negative length.
8028         Fix LyXLength::MU case.
8029
8030 2002-10-16  John Levon  <levon@movementarian.org>
8031
8032         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8033
8034 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8035
8036         * converter.C (view): add support for $$i (file name) and $$p
8037         (file path) for the viewer command. If $$i is not specified, then
8038         it is appended to the command (for compatibility with old syntax)
8039
8040 2002-10-14  Juergen Vigna  <jug@sad.it>
8041
8042         * undo_funcs.C (textHandleUndo): alter the order in which the
8043         new undopar is added to the LyXText, as we have to set first
8044         the right prev/next and then add it as otherwise the rebuild of
8045         LyXText is not correct. Also reset the cursor to the right paragraph,
8046         with this IMO we could remove the hack in "redoParagraphs()".
8047
8048 2002-10-09  Angus Leeming  <leeming@lyx.org>
8049
8050         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8051         to turn off an optimisation if a new inset is to be inserted.
8052
8053 2002-10-11 André Pönitz <poenitz@gmx.net>
8054
8055         * lyxtext.h: make some functions public to allow access
8056         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8057
8058 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8059
8060         * text3.C (dispatch): when changing layout, avoid an infinite loop
8061         [bug #652]
8062
8063 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8064
8065         * lyxrc.C (read): treat a viewer or converter command of "none" as
8066         if it were empty.
8067
8068         * MenuBackend.C (expandFormats): for an update, also allow the
8069         formats that are not viewable
8070
8071         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8072         script if it is newer than the lyxrc.defaults in user directory
8073
8074 2002-10-07 André Pönitz <poenitz@gmx.net>
8075
8076         * text.C: Vitaly Lipatov's small i18n fix
8077
8078 2002-09-25  Angus Leeming  <leeming@lyx.org>
8079
8080         * ispell.h: doxygen fix.
8081
8082 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8083
8084         * buffer.h (readFile): Add a new argument to the method, to allow
8085         reading of old-format templates.
8086
8087 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8088
8089         * toc.C (getTocList): Get TOC from InsetWrap.
8090
8091 2002-09-16  John Levon  <levon@movementarian.org>
8092
8093         * lyxfunc.C: check tabular for cut/copy too
8094
8095 2002-09-12  John Levon  <levon@movementarian.org>
8096
8097         * LyXAction.C: tidy
8098
8099         * factory.h:
8100         * factory.C: add header
8101
8102         * paragraph_funcs.h:
8103         * paragraph_funcs.C: cleanup
8104
8105 2002-09-11  John Levon  <levon@movementarian.org>
8106
8107         * PrinterParams.h: odd/even default to true
8108
8109 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8110
8111         * PrinterParams.h: update printer parameters for new xforms dialog
8112
8113 2002-09-11  Angus Leeming  <leeming@lyx.org>
8114
8115         * lyxserver.C (read_ready): re-write to make it more transparent
8116         and to make it work in coherent fashion under Tru64 Unix.
8117
8118 2002-09-11  André Pönitz <poenitz@gmx.net>
8119
8120         * commandtags.h:
8121         * LyXAction.C:
8122         * text3.C: implement LFUN_WORDSEL
8123
8124 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8125
8126         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8127         make floatlist_ a boost::shared_ptr<FloatList>
8128
8129         * lyxtextclass.C: include FloatList.h
8130         (LyXTextClass): initialize floatlist_
8131         (TextClassTags): add TC_NOFLOAT
8132         (Read): match "nofloat" to TC_NOFLOAT and use it.
8133         (readFloat): modify call to floatlist_
8134         (floats): ditto
8135         (floats): ditto
8136
8137         * FloatList.[Ch] (FloatList): remove commented out float
8138         initialization.
8139         (erase): new function
8140
8141 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8142
8143         * MenuBackend.C (expandToc): fix crash when there is no document
8144         open
8145
8146 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8147
8148         * many files: Add insetwrap.
8149
8150 2002-09-09  John Levon  <levon@movementarian.org>
8151
8152         * text2.C: remove confusing and awkward depth wraparound
8153
8154 2002-09-09  John Levon  <levon@movementarian.org>
8155
8156         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8157
8158         * buffer.h:
8159         * buffer.C: remove getIncludeonlyList()
8160
8161         * paragraph.C:
8162         * lyxfunc.C: remove headers
8163
8164 2002-09-09  Juergen Vigna  <jug@sad.it>
8165
8166         * text.C (getColumnNearX): fix form Michael this is most
8167         probably a cut&paste bug.
8168
8169 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8170
8171         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8172
8173         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8174         references, ws changes.
8175
8176         * text2.C (init): update counters after init
8177         (insertParagraph): no need to set counter on idividual paragraphs.
8178         (setCounter): access the counters object in the textclass object
8179         on in the buffer object.
8180         (updateCounters): ditto
8181
8182         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8183         shared_ptr<Counters> to avoid loading counters.h in all
8184         compilation units.
8185         (LyXTextClass): initialize ctrs_
8186         (TextClassTags): add TC_COUNTER, and ...
8187         (Read): use it here.
8188         (CounterTags): new tags
8189         (readCounter): new function
8190         (counters): new funtion
8191         (defaultLayoutName): return a const reference
8192
8193         * counters.C (Counters): remove contructor
8194         (newCounter): remove a couple of unneeded statements.
8195         (newCounter): simplify a bit.
8196         (numberLabel): some small formatting changes.
8197
8198         * buffer.[Ch]: remove all traces of counters, move the Counters
8199         object to the LyXTextClass.
8200
8201 2002-09-06  Alain Castera  <castera@in2p3.fr>
8202
8203         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8204         package to set the horizontal alignment on fixed width columns.
8205
8206         * lyx_sty.C:
8207         * lyx_sty.h: added tabularnewline macro def.
8208
8209         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8210
8211 2002-09-06  John Levon  <levon@movementarian.org>
8212
8213         * LyXAction.C: tooltips for sub/superscript
8214
8215         * MenuBackend.C: a bit more verbose
8216
8217         * lyxfunc.C: tiny clean
8218
8219         * undo_funcs.C: document undo_frozen
8220
8221 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8222
8223         * counters.C (Counters): add missing algorithm counter.
8224
8225         * text2.C (setCounter): lookup the counter with layouts latexname
8226         instead of by section number.
8227         (setCounter): use a hackish way to lookup the correct enum
8228         counter.
8229         a float name->type change
8230         reset enum couners with counter name directly instead of depth value.
8231
8232         * counters.C (Counters): remove the push_backs, change to use the
8233         float type not the float name.
8234         (labelItem): remove unused string, float name->type change
8235
8236         * counters.h: don't include vector, loose the enums and sects vectors
8237
8238 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8239
8240         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8241         (Read): add float->TC_FLOAT to textclassTags
8242         (Read): and handle it in the switch
8243         (readFloat): new function
8244
8245         * FloatList.C (FloatList): comment out the hardcoded float
8246         definitions.
8247
8248         * lyxlayout.h: ws change.
8249
8250 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8251
8252         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8253
8254 2002-09-03  Angus Leeming  <leeming@lyx.org>
8255
8256         * BufferView_pimpl.h: qualified name is not allowed in member
8257         declaration: WorkArea & Pimpl::workarea() const;
8258
8259         * factory.C: added using std::endl directive.
8260
8261         * text3.C: added using std::find and std::vector directives.
8262
8263 2002-08-29  André Pönitz <poenitz@gmx.net>
8264
8265         * lyxtext.h:
8266         * text2.C: remove unused member number_of_rows
8267
8268         * Makefile.am:
8269         * BufferView2.C: remove file, move contents to...
8270         * BufferView.C: ... here
8271
8272         * BufferView_pimpl.C:
8273         * factory.C: move more inset creation to factory
8274
8275         * vspace.C: avoid direct usage of LyXText, ws changes
8276
8277         * BufferView.[Ch]:
8278                 don't provide direct access to WorkArea, use two simple
8279                 acessors haveSelction() and workHeight() instead
8280
8281
8282 2002-08-29  John Levon  <levon@movementarian.org>
8283
8284         * BufferView_pimpl.C (dispatch): do not continue when
8285           no buffer
8286
8287 2002-08-28  André Pönitz <poenitz@gmx.net>
8288
8289         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8290
8291         * BufferView.h:
8292         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8293
8294 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8295
8296         * buffer.C: increment LYX_FORMAT to 221
8297
8298         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8299         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8300
8301         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8302
8303         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8304
8305 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8306
8307         * factory.C (createInset): use LyXTextClass::floats
8308
8309         * MenuBackend.C (expandFloatListInsert):
8310         (expandFloatInsert):
8311         (expandToc):
8312
8313         * text2.C (setCounter):
8314
8315         * LaTeXFeatures.C (useFloat):
8316         (getFloatDefinitions):
8317
8318         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8319
8320         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8321         floatlist_, with accessor floats().
8322
8323         * FloatList.h: remove global FloatList
8324
8325 2002-08-26  André Pönitz <poenitz@gmx.net>
8326
8327         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8328
8329         * BufferView.h:
8330         * BufferView2.C:
8331         * BufferView_pimpl.C:
8332         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8333
8334 2002-08-25  John Levon  <levon@movementarian.org>
8335
8336         * LyXAction.C: fix margin note description
8337
8338 2002-08-24  John Levon  <levon@movementarian.org>
8339
8340         * buffer.C:
8341         * bufferlist.C:
8342         * bufferview_funcs.C:
8343         * lyxfont.C:
8344         * undo_funcs.C: cleanups
8345
8346         * lyxfunc.C: disable CUT/COPY when no selection
8347
8348 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8349
8350         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8351         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8352
8353         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8354         Add backward compatibility to "mono", "gray" and "no".
8355
8356 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8357
8358         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8359         (and file_format >= 200).
8360
8361 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8362
8363         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8364
8365 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8366
8367         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8368
8369 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8370
8371         * BufferView_pimpl.C:
8372         * LyXAction.C:
8373         * buffer.C:
8374         * commandtags.h:
8375         * lyxfunc.C:
8376         * paragraph.[Ch]:
8377         * text2.C:
8378         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8379         inset and code to make it  work with the paragraph code. The inset
8380         can be anywhere in the paragraph, but will only do the expected
8381         thing in LaTeX if the layout file contains the parameter line
8382                         OptionalArgs    1
8383         (or more generally, a nonzero value) for that layout.
8384
8385 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8386
8387         * paragraph.h: remove the declaration of undefined counters class
8388         function.
8389
8390 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8391
8392         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8393         Dr. Richard Hawkins.
8394
8395 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8396
8397         * paragraph_funcs.h: remove some unneeded includes
8398
8399         * text.C (backspace): pasteParagraph now in global scipe
8400
8401         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8402         (pasteSelection): ditto
8403
8404         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8405         * paragraph_funcs.C (pasteParagraph): ... here
8406
8407 2002-08-20  André Pönitz <poenitz@gmx.net>
8408
8409         * commandtags.h: new LFUNs for swapping/copying table row/colums
8410
8411         * LyXAction.C:
8412         * lyxfunc.C: support for new lfuns
8413
8414 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8415
8416         * tabular.C:
8417         * buffer.[Ch]: remove NO_COMPABILITY stuff
8418
8419 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8420
8421         * boost.C (throw_exception): new file, with helper function for
8422         boost compiled without exceptions.
8423
8424         * paragraph.h:
8425         * lyxlength.C:
8426         * buffer.C:
8427         * ParameterStruct.h:
8428         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8429
8430         * bufferlist.C (emergencyWriteAll): use boost bind
8431
8432         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8433
8434         * text.C: include paragraph_funcs.h
8435         (breakParagraph): breakParagraph is now in global scope
8436
8437         * paragraph_funcs.[Ch]: new files
8438
8439         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8440         global scope
8441
8442         * buffer.C: include paragraph_funcs.h
8443         (insertStringAsLines): breakParagraph is now in global scope
8444
8445         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8446         paragraph_funcs.C
8447
8448         * CutAndPaste.C: include paragraph_funcs.h
8449         (cutSelection): breakParagraphConservative is now in global scope
8450         (pasteSelection): ditto
8451
8452         * buffer.h: declare oprator== and operator!= for
8453         Buffer::inset_iterator
8454
8455         * bufferlist.C (emergencyWrite): don't use fmt(...)
8456
8457         * text3.C: add using std::endl
8458
8459         * BufferView.C (moveCursorUpdate): remove default arg
8460
8461 2002-08-20  André Pönitz <poenitz@gmx.net>
8462
8463         * buffer.[Ch]: move inline functions to .C
8464
8465         * BufferView2.C:
8466         * BufferView_pimpl.C:
8467         * text.C:
8468         * buffer.[Ch]: use improved inset_iterator
8469
8470         * buffer.C:
8471         * paragraph.[Ch]: write one paragraph at a time
8472
8473 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8474
8475         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8476         style if style is not specified.
8477
8478 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8479
8480         * text2.C (setCounter): when searching for right label for a
8481         caption, make sure to recurse to parent insets (so that a caption
8482         in a minipage in a figure float works) (bug #568)
8483
8484 2002-08-20  André Pönitz <poenitz@gmx.net>
8485
8486         * text3.C: new file for LyXText::dispatch() and helpers
8487
8488         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8489
8490         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8491
8492 2002-08-19  André Pönitz <poenitz@gmx.net>
8493
8494         * lyxtext.h:
8495         * text.C: new LyXText::dispatch()
8496
8497         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8498
8499 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8500
8501         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8502
8503         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8504         Hebrew text.
8505
8506 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8507
8508         * Makefile.am: use $(variables) instead of @substitutions@
8509
8510 2002-08-15  André Pönitz <poenitz@gmx.net>
8511
8512         * lyxfunc.C:
8513         * BufferView_pimpl.C: streamlining mathed <-> outer world
8514         interaction
8515
8516         * commandtags.h:
8517         * LyXAction.C: remove unused LFUN_MATH
8518
8519 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8520
8521         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8522
8523 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8524
8525         * paragraph.C (Paragraph): reformat a bit
8526         (cutIntoMinibuffer): use builtin InsetList function instad of
8527         doing it manually.
8528         (getInset): ditto
8529
8530         * buffer.C: include boost/bind.hpp, add using std::for_each
8531         (writeFileAscii): use ParagraphList iterators
8532         (validate): use for_each for validate traversal of paragraphs
8533         (getBibkeyList): use ParagraphList iterators
8534         (resizeInsets): use for_each to resizeInsetsLyXText for all
8535         paragraphs.
8536         (getParFromID): use ParagraphList iterators
8537
8538         * BufferView2.C (lockInset): use paragraph list and iterators
8539
8540 2002-08-14  John Levon  <levon@movementarian.org>
8541
8542         * lyxserver.C: remove spurious xforms include
8543
8544 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8545
8546         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8547
8548 2002-08-13  André Pönitz <poenitz@gmx.net>
8549
8550         * LyXAction.[Ch]:
8551         * lyxfunc.C: further cleaning
8552
8553 2002-08-13  André Pönitz <poenitz@gmx.net>
8554
8555         * funcrequest.h: new constructor
8556
8557         * funcrequest.C: move stuff here from .h
8558
8559         * Makefile.am:
8560         * BufferView_pimpl.C:
8561         * LyXAction.C:
8562         * toc.C:
8563         * lyxfunc.C: subsequent changes
8564
8565         * lyxfunc.h: new view() member function
8566
8567         * lyxfunc.C: subsequent changes
8568
8569 2002-08-13  Angus Leeming  <leeming@lyx.org>
8570
8571         * BufferView2.C:
8572         * BufferView_pimpl.C:
8573         * buffer.C:
8574         * converter.C:
8575         * importer.C:
8576         * lyxfunc.C:
8577         * lyxvc.C:
8578         * toc.C:
8579         * vc-backend.C:
8580         changes due to the changed LyXView interface that now returns references
8581         to member variables not pointers.
8582
8583 2002-08-13  Angus Leeming  <leeming@lyx.org>
8584
8585         * WordLangTuple (word, lang_code): return references to strings,
8586         not strings.
8587
8588         * BufferView.h:
8589         * SpellBase.h:
8590         * lyxtext.h: forward-declare WordLangTuple.
8591
8592         * BufferView2.C:
8593         * ispell.C:
8594         * pspell.C:
8595         * text.C: #include "WordLangTuple.h".
8596
8597         * lyxtext.h:
8598         * text.C: (selectNextWordToSpellcheck): constify return type.
8599
8600 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8601
8602         * buffer.C:
8603         * buffer.h:
8604         * lyxtext.h:
8605         * paragraph.C:
8606         * paragraph_pimpl.h:
8607         * text.C:
8608         * text2.C:
8609         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8610         suggested by Angus.
8611         Made updateCounter always count from start of buffer, and removed
8612         second argument (par).
8613         Reverted floats number display to '#'. Perhaps I'll try again when the
8614         code base is sanitized a bit.
8615
8616 2002-08-12  Angus Leeming  <leeming@lyx.org>
8617
8618         * buffer.[Ch] (getLabelList): constify.
8619
8620 2002-08-07  André Pönitz <poenitz@gmx.net>
8621
8622         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8623
8624         * funcrequest.h: extension to keep mouse (x,y) position
8625
8626 2002-08-12  Juergen Vigna  <jug@sad.it>
8627
8628         * BufferView2.C (insertErrors): forbid undo when inserting error
8629         insets.
8630
8631         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8632
8633 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8634
8635         * ParagraphList.[Ch]: new files
8636
8637         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8638
8639         * BufferView2.C (lockInset): ParagraphList changes
8640         * toc.C: ditto
8641         * text2.C: ditto
8642         * bufferlist.C: ditto
8643         * buffer.h: ditto
8644         * buffer.C: ditto
8645
8646 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8647
8648         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8649         unused class variable counter_,
8650
8651         * paragraph.[Ch] (getFirstCounter): delete unused function
8652
8653         * counters.C: include LAssert.h
8654         (reset): add a new function with no arg, change other version to
8655         not have def. arg and to not allow empty arg.
8656
8657         * text2.C (setCounter): remove empty arg from call to Counters::reset
8658
8659 2002-08-11  John Levon  <levon@movementarian.org>
8660
8661         * Makefile.am: add WordLangTuple.h
8662
8663 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8664
8665         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8666         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8667
8668         * insets/insettext.C: InsetList changes
8669
8670         * graphics/GraphicsSupport.C (operator()): InsetList changes
8671
8672         * toc.C (getTocList): InsetList changes
8673
8674         * paragraph_pimpl.[Ch]: InsetList changes
8675
8676         * paragraph.[Ch]: InsetList changes
8677
8678         * buffer.C (inset_iterator): InsetList changes
8679         (setParagraph): ditto
8680         * buffer.h (inset_iterator): ditto
8681         * iterators.C (operator++): ditto
8682         * iterators.h: ditto
8683
8684         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8685
8686         * InsetList.[Ch]: new files, most InsetList handling moved out of
8687         paragraph.C.
8688
8689         * BufferView2.C (removeAutoInsets): InsetList changes
8690         (lockInset): ditto
8691         (ChangeInsets): ditto
8692
8693 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8694
8695         * paragraph_pimpl.h (empty): new function
8696
8697         * paragraph.[Ch] (empty): new function
8698
8699         * other files: use the new Paragraph::empty function
8700
8701 2002-08-09  John Levon  <levon@movementarian.org>
8702
8703         * lyxtext.h: remove unused refresh_height
8704
8705 2002-08-09  John Levon  <levon@movementarian.org>
8706
8707         * Makefile.am:
8708         * sgml.h:
8709         * sgml.C:
8710         * buffer.C:
8711         * paragraph.h:
8712         * paragraph.C: move sgml char escaping out of paragraph
8713
8714         * paragraph.h:
8715         * paragraph.C: remove id setter
8716
8717         * buffer.C:
8718         * paragraph.C:
8719         * paragraph_pimpl.C: remove dead tex_code_break_column
8720
8721         * bufferview_funcs.C: small cleanup
8722
8723         * lyxfunc.C: remove dead proto
8724
8725         * lyxtext.h: make some stuff private. Remove some dead stuff.
8726
8727         * lyxgluelength.C: make as[LyX]String() readable
8728
8729 2002-08-08  John Levon  <levon@movementarian.org>
8730
8731         * LyXAction.h:
8732         * LyXAction.C:
8733         * MenuBackend.C:
8734         * ToolbarDefaults.C:
8735         * lyxfunc.C:
8736         * lyxrc.C:
8737         * toc.C: lyxaction cleanup
8738
8739 2002-08-08  John Levon  <levon@movementarian.org>
8740
8741         * BufferView2.C: small cleanup
8742
8743         * lyxfind.h:
8744         * lyxfind.C: move unnecessary header into the .C
8745
8746 2002-08-08  John Levon  <levon@movementarian.org>
8747
8748         * funcrequest.h: just tedious nonsense
8749
8750         * lyx_main.h:
8751         * lyx_main.C: cleanups
8752
8753         * buffer.C:
8754         * vspace.C: remove dead header lyx_main.h
8755
8756 2002-08-07  Angus Leeming  <leeming@lyx.org>
8757
8758         * Paragraph.[Ch]:
8759         * paragraph_pimpl.h:
8760         Forward declare class Counters in paragraph.h by moving the ctrs member
8761         variable into Paragraph::Pimpl.
8762         (counters): new method, returning a reference to pimpl_->ctrs.
8763
8764         * text2.C: ensuing changes.
8765
8766 2002-08-07  John Levon  <levon@movementarian.org>
8767
8768         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8769
8770         * BufferView_pimpl.C: announce X selection on double/triple
8771           click
8772
8773         * lyx_main.C: use correct bool in batch dispatch
8774
8775         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8776
8777 2002-08-07  André Pönitz <poenitz@gmx.net>
8778
8779         * funcrequest.h: new class to wrap a kb_action and its argument
8780
8781         * BufferView.[Ch]:
8782         * BufferView_pimpl[Ch]:
8783         * LaTeX.C:
8784         * LyXAction.[Ch]:
8785         * lyxfunc.[Ch]:
8786         * lyxrc.C: subsequent changes
8787
8788
8789 2002-08-07  John Levon  <levon@movementarian.org>
8790
8791         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8792           document options change.
8793
8794 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8795
8796         * counters.[Ch]
8797         * text2.C
8798         * paragraph.[Ch]
8799         * makefile.am: move counters functionality over from
8800         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8801
8802 2002-08-06  John Levon  <levon@movementarian.org>
8803
8804         * WordLangTuple.h: new file for word + language code tuple
8805
8806         * SpellBase.h:
8807         * pspell.h:
8808         * pspell.C:
8809         * ispell.h:
8810         * ispell.C:
8811         * lyxtext.h:
8812         * text.C:
8813         * text2.C:
8814         * BufferView.h:
8815         * BufferView2.C: use WordLangTuple
8816
8817         * layout.h:
8818         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8819
8820 2002-08-06  John Levon  <levon@movementarian.org>
8821
8822         * lyx_main.C: fix cmdline batch handling
8823
8824 2002-08-06  André Pönitz <poenitz@gmx.net>
8825
8826         * lyxrc.C: set default for show_banner to true
8827
8828 2002-08-06  John Levon  <levon@movementarian.org>
8829
8830         * pspell.C: fix a crash, and allow new aspell to work
8831
8832 2002-08-06  John Levon  <levon@movementarian.org>
8833
8834         * lyxfunc.C:
8835         * kbmap.C: small cleanup
8836
8837         * vspace.h:
8838         * vspace.C: add const
8839
8840 2002-08-05  John Levon  <levon@movementarian.org>
8841
8842         * LyXAction.C: back to tabular-insert
8843
8844 2002-08-04  John Levon  <levon@movementarian.org>
8845
8846         * BufferView.h:
8847         * BufferView.C: cosmetic change
8848
8849         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8850
8851         * bufferlist.C:
8852         * buffer.h:
8853         * buffer.C:
8854         * lyxcb.h:
8855         * lyxcb.C:
8856         * lyxserver.C:
8857         * lyxvc.C:
8858         * vc-backend.C:
8859         * BufferView2.C: purge all "Lyx" not "LyX" strings
8860
8861         * lyxcursor.h:
8862         * lyxcursor.C: attempt to add some documentation
8863
8864         * lyxfunc.C:
8865         * commandtags.h:
8866         * LyXAction.C:
8867         * ToolbarDefaults.C:
8868         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8869           merge with LFUN_TABULAR_INSERT
8870
8871         * Makefile.am:
8872         * SpellBase.h:
8873         * ispell.h:
8874         * ispell.C:
8875         * pspell.h:
8876         * pspell.C: split up i/pspell implementations into separate
8877           files, many cleanups
8878
8879         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8880
8881         * text2.C: some cleanup
8882
8883         * lyxfunc.C: don't check for isp_command == "none" any more, it
8884           didn't make any sense
8885
8886 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8887
8888         * counters.[Ch]
8889         * text2.C
8890         * paragraph.[Ch]
8891         * makefile.am: move counters functionality over
8892         from text2.C/paragraph.[Ch] to counters.[Ch], and
8893         make proper C++.
8894 2002-08-02  John Levon  <levon@movementarian.org>
8895
8896         * buffer.C: s/lyxconvert/lyx2lyx/
8897
8898 2002-08-02  Angus Leeming  <leeming@lyx.org>
8899
8900         * lyxlex.C: revert John's change as it breaks reading of the user
8901         preamble.
8902
8903 2002-08-02  Angus Leeming  <leeming@lyx.org>
8904
8905         * importer.C (Import):
8906         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8907         changes due to LyXView::view() now returning a boost::shared_ptr.
8908
8909 2002-08-02  John Levon  <levon@movementarian.org>
8910
8911         * lyxlex.C: small cleanup
8912
8913 2002-08-02  John Levon  <levon@movementarian.org>
8914
8915         * text2.C (status): small cleanup, no logic change
8916
8917 2002-08-01  John Levon  <levon@movementarian.org>
8918
8919         * buffer.h:
8920         * buffer.C (writeFile): don't output alerts, caller
8921           handles this
8922
8923         * bufferlist.C:
8924         * lyx_cb.C: from above
8925
8926         * lyxfunc.C: allow to open non-existent files
8927
8928 2002-07-31  John Levon  <levon@movementarian.org>
8929
8930         * lyxserver.C: don't let incidental errors get
8931           in the way (errno)
8932
8933 2002-07-30  John Levon  <levon@movementarian.org>
8934
8935         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8936
8937 2002-07-30  John Levon  <levon@movementarian.org>
8938
8939         * lyxserver.h:
8940         * lyxserver.C: remove I/O callback too
8941
8942 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8943
8944         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8945         log.
8946
8947 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8948
8949         * many files: strip,frontStrip -> trim,ltrim,rtrim
8950
8951 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8952
8953         * PrinterParams.h: remove extern containsOnly, and include
8954         support/lstrings.h instead.
8955
8956         * LaTeX.C (scanAuxFile): modify because of strip changes
8957         (deplog): ditto
8958         * buffer.C (makeLaTeXFile): ditto
8959         * bufferparams.C (writeFile): ditt
8960         * lyxfont.C (stateText): ditto
8961         * lyxserver.C (read_ready): ditto
8962         * vc-backend.C (scanMaster): ditto
8963
8964         * BufferView_pimpl.h: ws changes
8965
8966         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8967
8968 2002-07-26  André Pönitz <poenitz@gmx.net>
8969
8970         * kb_sequence.C: remove unnedred usings
8971
8972 2002-07-26  Juergen Vigna  <jug@sad.it>
8973
8974         * lyxfind.C (LyXReplace): we have to check better if the returned
8975         text is not of theLockingInset()->getLockingInset().
8976
8977 2002-07-25  Juergen Vigna  <jug@sad.it>
8978
8979         * lyxfind.C (LyXReplace): don't replace if we don't get the
8980         right LyXText.
8981
8982         * undo_funcs.C (createUndo): remove debugging code.
8983
8984 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8985
8986         * buffer.C (parseSingleLyXformat2Token): Use default placement
8987         when reading old floats.
8988
8989         * FloatList.C (FloatList): Change the default placement of figure
8990         and tables to "tbp".
8991
8992 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8993
8994         * MenuBackend.C: using std::max
8995
8996 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8997
8998         * MenuBackend.C (expandToc):
8999         (expandToc2): code moved from xforms menu frontend. It is now
9000         generic and TOCs are transparent to menu frontends.
9001
9002 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9003
9004         * toc.C (getTocList): protect against buf=0
9005
9006         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9007         Menu as first parameter. Now, this calls itself recursively to
9008         expand a whole tree (this will be useful for TOC handling)
9009         (expandFloatInsert): remove 'wide' version of floats
9010
9011         * MenuBackend.h (submenuname): returns the name of the submenu.
9012         (submenu): returns the submenu itself, provided it has been
9013         created by MenuBackend::expand
9014
9015 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9016
9017         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9018         insets which have noFontChange == true. (bug #172)
9019
9020 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9021
9022         * BufferView_pimpl.C: add connection objects and use them...
9023         (Pimpl): here.
9024
9025 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9026
9027         * MenuBackend.C (expandLastfiles):
9028         (expandDocuments):
9029         (expandFormats):
9030         (expandFloatListInsert):
9031         (expandFloatInsert):
9032         (expand): split expand in parts
9033
9034 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9035
9036         * lyx_gui.C: use lyx_gui::exit()
9037
9038 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9039
9040         * LyXAction.C: show the failing pseudo action
9041
9042 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9043
9044         * buffer.C (readFile): Run the lyxconvert script in order to read
9045         old files.
9046
9047 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9048
9049         * LyXAction.C:
9050         * commandtags.h:
9051         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9052
9053 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9054
9055         * LyXAction.C:
9056         * commandtags.h:
9057         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9058
9059 2002-07-22  Herbert Voss  <voss@lyx.org>
9060
9061         * lengthcommon.C:
9062         * lyxlength.[Ch]: add support for the vertical lengths
9063
9064 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9065
9066         * toc.[Ch]: std:: fixes
9067
9068 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9069
9070         * lyxrc.C: do not include lyx_main.h
9071
9072         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9073         for layouts
9074
9075         * lyxrc.C:
9076         * encoding.C:
9077         * bufferlist.C:
9078         * BufferView2.C: include "lyxlex.h"
9079
9080         * tabular.h:
9081         * bufferparams.h: do not #include "lyxlex.h"
9082
9083         * lyxtextclasslist.C (Add): remove method
9084         (classlist): renamed to classlist_
9085
9086         * paragraph_pimpl.C:
9087         * paragraph.C:
9088         * text2.C:
9089         * CutAndPaste.C:
9090         * bufferview_funcs.C:
9091         * bufferlist.C:
9092         * text.C:
9093         * LaTeXFeatures.C:
9094         * buffer.C:
9095         * toc.C (getTocList): use BufferParams::getLyXTextClass
9096
9097         * toc.C (getTocList): use InsetFloat::addToToc
9098
9099         * toc.[Ch]: new files, containing helper functions to handle table
9100         of contents
9101
9102         * lyxfunc.C (dispatch): no need to remove spaces around command
9103         given as a string
9104         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9105         first command of the sequence; it is not very clever, but I do not
9106         have a better idea, actually
9107
9108         * LyXAction.C (LookupFunc): make sure to remove space at the
9109         beginning and end of the command
9110
9111 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9112
9113         * MenuBackend.C (getMenubar): new method: return the menubar of
9114         this menu set
9115         (read): treat differently reading of menu and menubar (in
9116         particular, the menubar has no name now)
9117         (Menu::menubar): remove
9118
9119         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9120         saving is finished
9121
9122 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9123
9124         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9125         a bibitem inset in a RTL paragraph.
9126
9127 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9128
9129         * paragraph_pimpl.C: constify
9130
9131         * BufferView_pimpl.C:
9132         * LaTeX.C:
9133         * lyxfunc.C: fix dispatch in a nicer way
9134
9135 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9136
9137         * lyxfunc.C (dispatch):
9138         * BufferView_pimpl.C:
9139         * BufferView_pimpl.h:
9140         * BufferView.C:
9141         * BufferView.h: rename Dispatch() to dispatch()
9142
9143         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9144
9145         * lyxlayout.C (Read): honor DependsOn tag
9146
9147         * lyxlayout.[Ch] (depends_on): new method
9148
9149         * version.C.in: update lyx_docversion
9150
9151         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9152
9153         * paragraph.C (validate): remove from here...
9154         * paragraph_pimpl.C (validate): ... and move here
9155         (isTextAt): make it const
9156
9157         * buffer.C (getLists): ws cleanup
9158
9159 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9160
9161         * language.C (read): Use iso8859-1 encoding in latex_lang
9162         (this prevents LyX from crashing when using iso10646-1 encoding).
9163
9164 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9165
9166         * text2.C (toggleInset): if cursor is inside an inset, close the
9167         inset and leave cursor _after_ it
9168
9169 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9170
9171         * lyxfunc.C: move minibuffer completion handling out of here
9172
9173 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9174
9175         * BufferView_pimpl.C:
9176         * LaTeX.C: fix dispatch calls
9177
9178 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9179
9180         * text.C (drawChars): Fix Arabic text rendering.
9181
9182 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9183
9184         * LyXAction.C:
9185         * commandtags.h:
9186         * lyxfunc.C: remove message-push/pop
9187
9188         * lyxserver.C:
9189         * lyxfunc.h:
9190         * lyxfunc.C: rationalise some code by removing verboseDispatch
9191           in favour of a bool argument to dispatch()
9192
9193 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9194
9195         * lyx_main.C (init): make sure to read symlinks as absolute paths
9196
9197 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9198
9199         * lyxfunc.h:
9200         * lyxfunc.C: no need for commandshortcut to be a member
9201
9202 2002-07-15  André Pönitz <poenitz@gmx.net>
9203
9204         * converter.C: add support for $$s (scripts from lib/scripts dir)
9205         * lyx_main.C: white space
9206
9207 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9208
9209         * bufferlist.C:
9210         * lyxrc.h:
9211         * lyxrc.C: remove second exit confirmation
9212
9213 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9214
9215         * BufferView.h:
9216         * BufferView.C:
9217         * BufferView2.C:
9218         * BufferView_pimpl.h:
9219         * BufferView_pimpl.C:
9220         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9221
9222 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9223
9224         * MenuBackend.C (expand): add numeric shortcuts to document menu
9225
9226         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9227
9228 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9229
9230         * lyxfont.C (setLyXFamily):
9231         (setLyXSeries):
9232         (setLyXShape):
9233         (setLyXSize):
9234         (setLyXMisc):
9235         (lyxRead):
9236         * debug.C (value):
9237         * buffer.C (asciiParagraph): use ascii_lowercase
9238
9239 2002-07-15  Mike Fabian  <mfabian@suse.de>
9240
9241         * lyxlex_pimpl.C (search_kw):
9242         * lyxlex.C (getLongString):
9243         * converter.h (operator<):
9244         * converter.C (operator<):
9245         * buffer.C (parseSingleLyXformat2Token):
9246         (asciiParagraph):
9247         * ToolbarDefaults.C (read):
9248         * MenuBackend.C (checkShortcuts):
9249         (read):
9250         * LColor.C (getFromGUIName):
9251         (getFromLyXName): use the compare_ascii_no_case instead of
9252         compare_no_case, because in turkish, 'i' is not the lowercase
9253         version of 'I', and thus turkish locale breaks parsing of tags.
9254
9255 2002-07-16  Angus Leeming  <leeming@lyx.org>
9256
9257         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9258         now takes a Buffer const & argument.
9259
9260 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9261
9262         * BufferView.C (resize): check there's a buffer to resize
9263
9264 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9265
9266         * lyxfunc.C: remove dead code
9267
9268         * lyxserver.h:
9269         * lyxserver.C: use lyx_guii::set_read_callback
9270
9271 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9272
9273         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9274         an inset in a RTL paragraph.
9275
9276 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9277
9278         * lyxfunc.C: repaint after a font size update
9279
9280 2002-07-15  André Pönitz <poenitz@gmx.net>
9281
9282         * lyxlength.C: inBP should be able to return negative values
9283
9284 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9285
9286         * lyxfunc.C: use lyx_gui::update_fonts()
9287
9288 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9289
9290         * lyxfunc.C: use lyx_gui::update_color()
9291
9292 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9293
9294         * bufferlist.C:
9295         * lyxfunc.h:
9296         * lyxfunc.C:
9297         * lyxrc.h:
9298         * lyxrc.C: remove file->new asks for name option, and let
9299           buffer-new take an argument
9300
9301 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9302
9303         * BufferView_pimpl.C: remove unneeded extra repaint()
9304
9305 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9306
9307         * LyXAction.C: allow command-sequence with NoBuffer
9308
9309         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9310
9311 2002-07-10  Angus Leeming  <leeming@lyx.org>
9312
9313         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9314
9315 2002-07-09  Angus Leeming  <leeming@lyx.org>
9316
9317         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9318
9319 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9320
9321         * lengthcommon.h: whitespace
9322
9323         * lyxfunc.C: update scrollbar after goto paragraph
9324
9325         * lyxtext.h: factor out page break drawing, and fix it so
9326           page break/added space paints as selected nicely
9327
9328 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9329
9330         * BufferView_pimpl.C: add FIXMEs, clean up a little
9331
9332 2002-07-09  André Pönitz <poenitz@gmx.net>
9333
9334         * lyxfont.[Ch]: support for wasy symbols
9335
9336 2002-07-08  André Pönitz <poenitz@gmx.net>
9337
9338         * BufferView_pimpl.C: apply John's patch for #93.
9339
9340 2002-07-05  Angus Leeming  <leeming@lyx.org>
9341
9342         * BufferView_pimpl.C (buffer): generate previews if desired.
9343
9344         * LColor.h: add "preview" to the color enum.
9345
9346         * LColor.C (LColor): add a corresponding entry to the items array.
9347
9348         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9349         with this buffer.
9350
9351 2002-07-05  Angus Leeming  <leeming@lyx.org>
9352
9353         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9354         The body of the code is now in the method that is passed an ostream &
9355         rather than a file name.
9356         Pass an additional only_preamble parameter, useful for the forthcoming
9357         preview stuff.
9358
9359 2002-07-03  André Pönitz <poenitz@gmx.net>
9360
9361         * lyxfunc.C: simplify getStatus() a bit for math stuff
9362
9363 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9364
9365         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9366
9367 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9368
9369         * text.C (changeRegionCase): do not change case of all the
9370         document when region ends at paragraph end (bug #461)
9371
9372 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9373
9374         * paragraph.C (startTeXParParams):
9375         (endTeXParParams): add \protect when necessary
9376
9377 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9378
9379         * BufferView_pimpl.C (workAreaExpose): remove warning
9380
9381 2002-06-27  Angus Leeming  <leeming@lyx.org>
9382
9383         * Makefile.am: add lyxlayout_ptr_fwd.h.
9384
9385 2002-06-26  André Pönitz <poenitz@gmx.net>
9386
9387         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9388
9389 2002-06-25  Angus Leeming  <leeming@lyx.org>
9390
9391         * lyxfunc.C (dispatch): Comment out the call to
9392         grfx::GCache::changeDisplay. The method no longer exists now that the
9393         pixmap generation part of the graphics loader has been moved into
9394         InsetGraphics.
9395
9396 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9397
9398         * text2.C: layout as layout
9399
9400         * text.C: layout as layout
9401
9402         * tabular.C (OldFormatRead): layout as layout
9403
9404         * paragraph_pimpl.C (TeXDeeper): layout as layout
9405         (realizeFont): layout as layout
9406
9407         * paragraph.C (writeFile): layout as layout
9408         (validate): layout as layout
9409         (getFont): layout as layout
9410         (getLabelFont): layout as layout
9411         (getLayoutFont): layout as layout
9412         (breakParagraph): layout as layout
9413         (stripLeadingSpaces): layout as layout
9414         (getEndLabel): layout as layout
9415         (getMaxDepthAfter): layout as layout
9416         (applyLayout): layout as layout
9417         (TeXOnePar): layout as layout
9418         (simpleTeXOnePar): layout as layout
9419         (TeXEnvironment): layout as layout
9420         (layout): layout as layout
9421         (layout): layout as layout
9422
9423         * lyxtextclass.C (compare_name): new functor to work with
9424         shared_ptr, layout as layout
9425         (Read): layout as layout
9426         (hasLayout): layout as layout
9427         (operator): layout as layout
9428         (delete_layout): layout as layout
9429         (defaultLayout): layout as layout
9430
9431         * lyxlayout_ptr_fwd.h: new file
9432
9433         * lyxlayout.C (Read): layout as layout
9434
9435         * lyx_cb.C (MenuInsertLabel): layout as layout
9436
9437         * bufferlist.C (newFile): layout as layout
9438
9439         * buffer.C (readLyXformat2): layout as layout
9440         (parseSingleLyXformat2Token): layout as layout
9441         (insertStringAsLines): layout as layout
9442         (asciiParagraph): layout as layout
9443         (latexParagraphs): layout as layout
9444         (makeLinuxDocFile): layout as layout
9445         (simpleLinuxDocOnePar): layout as layout
9446         (makeDocBookFile): layout as layout
9447         (simpleDocBookOnePar): layout as layout
9448         (getLists): layout as layout
9449
9450         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9451
9452         * CutAndPaste.C (cutSelection): layout as layout
9453         (pasteSelection): layout as layout
9454         (SwitchLayoutsBetweenClasses): layout as layout
9455
9456         * BufferView_pimpl.C (Dispatch): layout as layout
9457         (smartQuote): layout as layout
9458
9459         * BufferView2.C (unlockInset): layout as layout
9460
9461 2002-06-24  André Pönitz <poenitz@gmx.net>
9462
9463         * lyxfunc.C: fix #487
9464
9465 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9466
9467         * lyxrc.h:
9468         * lyxrc.C:
9469         * lyxfunc.C: remove display_shortcuts, show_banner
9470
9471 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9472
9473         * Buffer_pimpl.C: oops, update on resize
9474
9475 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9476
9477         * buffer.C:
9478         * converter.C:
9479         * exporter.C:
9480         * lyxfunc.C:
9481         * BufferView.h:
9482         * BufferView.C: use repaint()
9483
9484         * BufferView_pimpl.h:
9485         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9486           as it's a clearer description. Remove superfluous
9487           redraws.
9488
9489 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9490
9491         * text.C: fix bug 488. Not ideal, but getting
9492           getWord() to work properly for the insets that
9493           matter is more difficult ...
9494
9495 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9496
9497         * BufferView_pimpl.C:
9498         * LyXAction.C:
9499         * commandtags.h:
9500         * lyxfunc.C: remove the six million index lyxfuncs to just
9501           one, and DTRT (bug 458)
9502
9503 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9504
9505         * BufferView.h:
9506         * BufferView.C:
9507         * BufferView_pimpl.h:
9508         * BufferView_pimpl.C: clean up resize() stuff,
9509           and unnecessary updateScreen()s
9510
9511 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9512
9513         * BufferView.h:
9514         * BufferView.C:
9515         * BufferView_pimpl.h:
9516         * BufferView_pimpl.C:
9517         * lyxfind.h:
9518         * lyxfind.C:
9519         * minibuffer.C: remove focus management of workarea,
9520           not needed. Use screen's greyOut()
9521
9522 2002-06-17  Herbert Voss  <voss@lyx.org>
9523
9524         * converter.C: (convert) do not post a message, when converting
9525         fails, let the calling function decide what to do in this case
9526
9527 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9528
9529         * lyxfunc.C: tidy up a little
9530
9531 2002-06-16    <alstrup@diku.dk>
9532
9533         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9534         Got rid of FORMS_H_LOCATION include. Now we are
9535         GUII.
9536
9537 2002-06-15  LyX Development team  <lyx@rilke>
9538
9539         * buffer.[Ch] (sgmlOpenTag):
9540         (sgmlCloseTag): Added support for avoiding pernicious mixed
9541         content. Return number of lines written.
9542
9543         (makeLinuxDocFile):
9544         (makeDocBookFile): Fixed calls to sgml*Tag.
9545         Simple white space clean.
9546
9547         (simpleDocBookOnePar): Simple white space clean.
9548
9549         * tabular.[Ch] (docBook): Renamed to docbook and got another
9550         argument to related with the pernicious mixed content.
9551
9552         (docbookRow): Fixed calls for docbook inset method.
9553
9554 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9555
9556         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9557         so it's X11 independent.
9558
9559         * kb*.[Ch]: ditto.
9560
9561         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9562
9563 2002-06-15  Lyx Development team  <lyx@electronia>
9564
9565         * intl.h: Renamed getTrans to getTransManager.
9566
9567 2002-06-14  Angus Leeming  <leeming@lyx.org>
9568
9569         * Makefile.am: nuke forgotten stl_string_fwd.h.
9570
9571 2002-06-12  Angus Leeming  <leeming@lyx.org>
9572
9573         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9574
9575 2002-06-13  Angus Leeming  <leeming@lyx.org>
9576
9577         * LaTeX.C:
9578         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9579
9580 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9581
9582         * kbmap.C (getiso): add support for cyrillic and greek
9583
9584 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9585
9586         * BufferView.h:
9587         * BufferView.C:
9588         * BufferView_pimpl.h:
9589         * BufferView_pimpl.C: move bogus scrolling logic
9590           to xforms
9591
9592 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9593
9594         * lyxfunc.C:
9595         * BufferView_pimpl.C: view->resize() change
9596
9597 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9598
9599         * BufferView_pimpl.C: topCursorVisible
9600           prototype change
9601
9602 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9603
9604         * Makefile.am:
9605         * lyx_gui.h:
9606         * lyx_gui.C: move to frontends/
9607
9608         * main.C:
9609         * lyx_main.h:
9610         * lyx_main.C: changes from above
9611
9612 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9613
9614         * intl.C:
9615         * intl.h:
9616         * kbmap.C:
9617         * kbsequence.C:
9618         * lyx_cb.C:
9619         * lyx_main.C: minor tidy
9620
9621 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9622
9623         * BufferView_pimpl.h:
9624         * BufferView_pimpl.C:
9625         * BufferView.h:
9626         * BufferView.C: make painter() const,
9627           remove dead code
9628
9629         * BufferView2.C: use screen() accessor
9630
9631         * lyx_main.h:
9632         * lyx_main.C: some minor cleanup
9633
9634 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9635
9636         * BufferView_pimpl.h:
9637         * BufferView_pimpl.C: remove enter/leaveView,
9638           use workHeight()
9639
9640 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9641
9642         * BufferView.h:
9643         * BufferView.C:
9644         * BufferView2.C:
9645         * BufferView_pimpl.h:
9646         * BufferView_pimpl.C: only construct screen once,
9647           rename
9648
9649         * lyxrc.C: remove pointless comment
9650
9651 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9652
9653         * BufferView.h:
9654         * BufferView.C: remove active() and belowMouse()
9655
9656         * BufferView_pimpl.h:
9657         * BufferView_pimpl.C: use workarea() not workarea_,
9658           and make it use a scoped_ptr instead
9659
9660 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9661
9662         * lyx_gui.C: add debug message on BadWindow
9663
9664 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9665
9666         * sp_spell.C: fdopen is not part of the C++ standard.
9667
9668         * paragraph.C (InsetIterator): use >= instead of ==
9669
9670 2002-06-07  Angus Leeming  <leeming@lyx.org>
9671
9672         Fixes needed to compile with Compaq cxx 6.5.
9673         * BufferView_pimpl.C:
9674         * DepTable.C:
9675         * buffer.C:
9676         * converter.C:
9677         * encoding.C:
9678         * lyx_gui.C:
9679         * lyx_main.C:
9680         * lyxtextclasslist.C:
9681         * minibuffer.C:
9682         * sp_spell.C:
9683         * tabular_funcs.C:
9684         * vc-backend.C:
9685         all c-library variables have been moved into namespace std. Wrap
9686         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9687
9688         * lyxlength.C:
9689         * tabular-old.C:
9690         * tabular.C:
9691         Add a using std::abs declaration.
9692
9693         * kbmap.h (modifier_pair):
9694         * paragraph.h (InsetTable, InsetList):
9695         * lyxfont.h (FontBits):
9696         type definition made public.
9697
9698         * bufferlist.C (emergencyWriteAll): the compiler complains that
9699         there is more than one possible lyx::class_fun template to choose from.
9700         I re-named the void specialisation as lyx::void_class_fun.
9701
9702         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9703
9704         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9705         the compiler is is unable to find tostr in write_attribute.
9706
9707 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9708
9709         * buffer.C (sgmlError): hide #warning
9710
9711 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9712
9713         * xtl/*: get rid of xtl, which is not in use anyway
9714
9715         * LyXAction.C (init):
9716         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9717         were unimplemented xtl experimentation
9718
9719 2002-06-04  André Pönitz <poenitz@gmx.net>
9720
9721         * lyxfunc.C: disable array operation on simple formulae
9722
9723 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9724
9725         * converter.C: constify a bit
9726
9727 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9728
9729         * lyx_gui.C: check xforms version correctly
9730
9731 2002-04-30  Herbert Voss  <voss@lyx.org>
9732
9733         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9734         "keep" option
9735
9736 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9737
9738         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9739           attempt to register it with a VCS)
9740
9741 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9742
9743         * lyx_main.C (init): honor variables LYX_DIR_13x and
9744         LYX_USERDIR_13x
9745
9746 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9747
9748         * buffer.h:
9749         * buffer.C:
9750         * lyx_main.C: fix a crash on bad command line,
9751           and give a useful exit status on error
9752
9753         * lyxfunc.C (doImport): allow -i lyx to work
9754
9755 2002-03-30  André Pönitz <poenitz@gmx.net>
9756
9757         * lyxfunc.C: mathed font changes
9758
9759 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9760
9761         * LaTeX.C:
9762         * importer.h:
9763         * importer.C:
9764         * lyx_sty.h:
9765         * lyx_sty.C:
9766         * lyxlex.C:
9767         * lyxrow.h:
9768         * lyxtext.h:
9769         * paragraph.h:
9770         * paragraph.C:
9771         * texrow.h:
9772         * texrow.C:
9773         * text.C:
9774         * trans_mgr.h: srcdocs, and some minor cleanups
9775
9776 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9777
9778         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9779         call getFont all the time)
9780
9781 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9782
9783         * switch from SigC signals to boost::signals
9784
9785 2002-05-29  André Pönitz <poenitz@gmx.net>
9786
9787         * paragraph_pimpl.C (getChar): don't call size() too often...
9788
9789 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9790
9791         * paragraph_pimpl.C (insertChar): do not try to update tables when
9792         appending (pos == size())
9793
9794         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9795         in order to reduce drastically the number of comparisons needed to
9796         parse a large document
9797
9798 2002-05-29  André Pönitz <poenitz@gmx.net>
9799
9800         * text.C:
9801         * text2.C:
9802         * lyxtextclass.C:
9803         * sp_pspell.h:
9804         * textclasslist.[Ch]:
9805         * sp_ispell.h: whitespace change
9806
9807 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9808
9809         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9810         lyxaction directly now.
9811
9812 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9813
9814         * trans.C:
9815         * lyxfont.C:
9816         * lyxvc.C: remove unused headers
9817
9818 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9819
9820         * Makefile.am:
9821         * buffer.h:
9822         * undostack.h:
9823         * undostack.C:
9824         * undo_funcs.h:
9825         * undo_funcs.C: some cleanups. Use shared_ptr
9826           and a template for the undo stacks.
9827
9828 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9829
9830         * BufferView_pimpl.h:
9831         * BufferView_pimpl.C:
9832         * kbmap.h:
9833         * kbmap.C:
9834         * kbsequence.h:
9835         * kbsequence.C:
9836         * lyxfunc.h:
9837         * lyxfunc.C:
9838         * text2.C: use key_state/mouse_state
9839
9840 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9841
9842         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9843         and LSubstring
9844
9845         * chset.C: change include order
9846         (loadFile): use boost regex and get rid of LRegex and LSubstring
9847
9848         * Makefile.am (BOOST_LIBS): new variable
9849         (lyx_LDADD): use it
9850
9851         * LaTeX.C: change include order.
9852         (scanAuxFile): use boost regex and get rid of LRegex and
9853         LSubstring
9854         (deplog): ditto
9855
9856 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9857
9858         * ColorHandler.h:
9859         * ColorHandler.C:
9860         * FontInfo.h:
9861         * FontInfo.C: moved to frontends/xforms/
9862
9863         * FontLoader.h:
9864         * FontLoader.C: moved into frontends for GUIIzation
9865
9866         * Makefile.am:
9867         * lyx_gui.C:
9868         * lyxfont.C:
9869         * lyxfunc.C: changes from above
9870
9871 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9872
9873         * LColor.C: remove spurious X include
9874
9875         * BufferView_pimpl.C:
9876         * Makefile.am:
9877         * font.h:
9878         * font.C:
9879         * text.C:
9880         * text2.C: move font metrics to frontends/
9881
9882 2002-05-24  Juergen Vigna  <jug@sad.it>
9883
9884         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9885         setting the undo_cursor.
9886
9887         * ParagraphParameters.h: include local includes first.
9888
9889 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9890
9891         * BufferView_pimpl.C:
9892         * BufferView_pimpl.h:
9893         * Makefile.am:
9894         * WorkArea.h:
9895         * WorkArea.C:
9896         * screen.C: move WorkArea into frontends/
9897
9898         * lyxscreen.h:
9899         * screen.C:
9900         * text.C:
9901         * BufferView.C:
9902         * BufferView2.C: move LyXScreen into frontends/
9903
9904         * lyxlookup.h:
9905         * lyxlookup.C:
9906         * lyx_gui.C: move lyxlookup into frontends/xforms/
9907
9908 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9909
9910         * BufferView2.C:
9911         * BufferView_pimpl.C:
9912         * FontLoader.C:
9913         * LyXView.h:
9914         * LyXView.C:
9915         * Makefile.am:
9916         * WorkArea.C:
9917         * XFormsView.h:
9918         * XFormsView.C:
9919         * buffer.C:
9920         * bufferlist.C:
9921         * bufferview_funcs.C:
9922         * converter.C:
9923         * importer.C:
9924         * lyx_cb.C:
9925         * lyx_gui.C:
9926         * lyx_main.C:
9927         * lyx_find.C:
9928         * lyxfunc.C:
9929         * lyxvc.C:
9930         * minibuffer.C:
9931         * text.C:
9932         * text2.C:
9933         * trans.C:
9934         * vc-backend.C: move LyX/XFormsView into frontends/
9935
9936 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9937
9938         * Makefile.am:
9939         * PainterBase.C:
9940         * PainterBase.h:
9941         * Painter.C:
9942         * Painter.h:
9943         * WorkArea.C:
9944         * WorkArea.h:
9945         * screen.C:
9946         * tabular.C:
9947         * text.C:
9948         * text2.C: move Painter to frontends/
9949
9950 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9951
9952         * buffer.C: comment out some some code that depend upon lyx_format
9953         < 220
9954
9955         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9956         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9957
9958         * buffer.h (NO_COMPABILITY): turn off compability
9959
9960         * ColorHandler.C: include scoped_array.hpp
9961
9962         * font.C: Use more specific smart_ptr header.
9963         * Painter.C: ditto
9964         * gettext.C: ditto
9965         * ShareContainer.h: ditto
9966         * lyx_main.h: ditto
9967         * kbmap.h: ditto
9968         * FontInfo.h: ditto
9969         * BufferView_pimpl.h: ditto
9970         * ColorHandler.h: ditto
9971
9972         * kbmap.C (defkey): change call to shared_ptr::reset
9973
9974 2002-05-21  Juergen Vigna  <jug@sad.it>
9975
9976         * buffer.C (insertErtContents): fix to insert ert asis if it is
9977         non empty. Skip it completely if it contains only whitespaces.
9978
9979 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9980
9981         * BufferView_pimpl.C:
9982         * BufferView2.C: clear selection on paste (bug 393)
9983
9984 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9985
9986         * DepTable.C: include ctime
9987
9988 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9989
9990         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9991
9992 2002-05-14  Juergen Vigna  <jug@sad.it>
9993
9994         * text.C (breakParagraph): fixed function to honor the keepempty
9995         layout in the right maner and also to permit the right breaking
9996         algorithm on empty or non empyt keepempty paragraphs.
9997
9998         * paragraph.C (breakParagraph): we have to check also if the par
9999         is really empty (!size()) for isempty otherwise we do the wrong
10000         paragraph break.
10001
10002 2002-05-10  Juergen Vigna  <jug@sad.it>
10003
10004         * buffer.[Ch] : The following are only changes to the ert
10005         compatibility read reading old LaTeX layout and font stuff and
10006         convert it to ERTInsets.
10007
10008         * buffer.h: added isErtInset().
10009
10010         * buffer.C (struct ErtComp): add a fromlayout bool to check
10011         if we're inside a LaTeX layout.
10012         (isErtInset): new helper function.
10013         (insertErtContents): look for other ert insets before this one
10014         and insert the contents there, so that we don't have subsequent
10015         ERT insets with nothing between them. This way we create only one
10016         inset with multiple paragraphs. Also check if we don't insert only
10017         spaces ' ' as they are ignored anyway afterwards in the .tex file
10018         so if we have only spaces we will ignore this latex part in the
10019         new file.
10020         (parseSingleLyXformat2Token \\layout): better compatibility when
10021         reading layout-latex stuff.
10022         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10023         language tag.
10024         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10025         stuff after reading the inset only get the information back from
10026         the stack.
10027
10028 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10029
10030         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10031
10032         * LaTeXFeatures.C (getBabelOptions): New method.
10033
10034 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10035
10036         * BufferView_pimpl.C (Dispatch): work around missing argument for
10037         'layout'
10038
10039 2002-05-08  Juergen Vigna  <jug@sad.it>
10040
10041         * text.C (leftMargin): handle paragraph leftindent.
10042
10043         * paragraph.C (writeFile): write the new \\leftindent tag.
10044         (validate): handle leftindent code.
10045         (TeXEnvironment): handle paragraphleftindent code again.
10046
10047         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10048
10049         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10050         for paragrap_extra indent code and new token \\leftindent.
10051         (latexParagraphs): handle the leftindent as environment.
10052
10053         * ParameterStruct.h: added leftindent support.
10054
10055         * ParagraphParameters.C (leftIndent): added support functions for
10056         the paragraph left indent.
10057
10058         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10059         more appropriate.
10060
10061 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10062
10063         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10064         inside insetERT.
10065
10066         * text.C (computeBidiTables): No bidi in insetERT.
10067
10068         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10069         in RTL documents.
10070
10071 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10072
10073         * version.C.in: pre 5
10074
10075 2002-05-02  José Matos  <jamatos@fep.up.pt>
10076         * buffer.C (makeDocBookFile): white space changes, add newline to
10077         command styles.
10078         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10079
10080         * tabular.C (docBook): fix typo.
10081
10082 2002-05-03  Juergen Vigna  <jug@sad.it>
10083
10084         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10085         change in LyXText as we can not be sure it was not freed.
10086         (drawOneRow): remove unused code.
10087
10088         * text.C (drawInset): redo the calculation of the need_break_row as
10089         it could have a row which was already freed.
10090         (draw): look at the return value of drawInset and return false if
10091         it also returned false.
10092         (paintRowText): look at the return value of draw and return false if
10093         it also returned false.
10094
10095         * lyxtext.h: added bool return type to drawInset() and draw() so that
10096         if we have a change in the row so that the rowbreak has to be redone
10097         we abort drawing as it will be called again.
10098
10099 2002-05-02  Juergen Vigna  <jug@sad.it>
10100
10101         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10102         a change in the maintext also if we're inside an inset.
10103         (Dispatch): set the cursor again after a break line and after the
10104         screen has been updated as it could be we're in a different row.
10105
10106         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10107         to set the cursor behind the pargraph with > size().
10108         (setCursor): check also for the same paragraph when checking where
10109         to put the cursor if we have a NFR inset.
10110
10111         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10112         parts of layout read further up as it still was in the wrong
10113         position.
10114
10115 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10116
10117         * screen.C (drawFromTo): change sine fullRebreak always return
10118         true.
10119
10120         * buffer.C (parseSingleLyXformat2Token): reindent some
10121
10122         * BufferView_pimpl.C (update): change since fullRebreak always
10123         return true.
10124         (Dispatch): git rid of the last hardcoded "Standard"s.
10125
10126 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10127
10128         * text2.[Ch] (fullRebreak): make it return void now that we always
10129         returned true.
10130
10131 2002-04-30  Juergen Vigna  <jug@sad.it>
10132
10133         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10134         ert compatibility check for "latex" layout.
10135
10136 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10137
10138         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10139         minipages: use col% instead of p%, and also use the current font.
10140         (makeLaTeXFile): Fix use babel condition.
10141         (parseSingleLyXformat2Token): Correct font when reading old floats.
10142
10143 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10144
10145         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10146         inserting list of floats.
10147
10148 2002-04-25  Herbert Voss  <voss@lyx.org>
10149
10150         * MenuBackend.C (expand): don't add the graphics extensions to the
10151         export menu
10152
10153 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10154
10155         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10156         non-existing layout, do not complain if it was the default layout
10157         of the original class (bug #342)
10158
10159 2002-04-24  Juergen Vigna  <jug@sad.it>
10160
10161         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10162         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10163
10164 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10165
10166         * buffer.C (getBibkeyList): If using \bibliography, return the
10167         option field with the reference itself. Enables us to provide natbib
10168         support when using \bibliography.
10169
10170 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10171
10172         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10173
10174         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10175         natbib is provided by the LaTeX class.
10176
10177 2002-04-23  Juergen Vigna  <jug@sad.it>
10178
10179         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10180         Wakeup functions.
10181
10182         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10183
10184 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10185
10186         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10187
10188         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10189         ensuremath around textordmasculine, textordfeminine and
10190         textdegree.
10191
10192 2002-04-19  Juergen Vigna  <jug@sad.it>
10193
10194         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10195         reinitializing the buffer otherwise row-dimensions may be wrong.
10196         (update): reset also the selection cursors if they do exits otherwise
10197         their x/y positions may be wrong.
10198
10199         * text2.C (cursorDown): don't enter the inset if we came from a row
10200         above and are one row over the inset.
10201
10202         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10203         really leaving an inset.
10204
10205 2002-04-18  Juergen Vigna  <jug@sad.it>
10206
10207         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10208         of the selected paragraph does not have the selected layout also if
10209         the last one had!
10210
10211         * text2.C (setLayout): fixed bug which did not change last selected
10212         paragraph.
10213
10214         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10215         changed the read and substituted \\end_float with \\end_inset!
10216
10217         * BufferView_pimpl.C (cursorPrevious):
10218         (cursorNext): fixed to make it work with rows heigher than the work
10219         area without moving the cursor only the draw of the row.
10220         (workAreaMotionNotify): fix jumping over high rows.
10221
10222 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10223
10224         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10225         Ressler.
10226
10227 2002-04-16  Juergen Vigna  <jug@sad.it>
10228
10229         * text2.C (setCursor): set also the irow().
10230         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10231         (cursorUp):
10232         (cursorDown): support for locking an inset if the x_fix value goes
10233         inside it. That way I can transverse insets too with cursor up/down.
10234
10235         * lyxrow.h: added irow helper function same as other (i) functions.
10236
10237         * BufferView_pimpl.C (cursorPrevious):
10238         (cursorNext): fixed for insets!
10239
10240 2002-04-15  Juergen Vigna  <jug@sad.it>
10241
10242         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10243         position otherwise it is wrong in some cases.
10244
10245         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10246         inside the inset before the call.
10247
10248 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10249
10250         * buffer.[Ch] (getBibkeyList): make it const.
10251
10252 2002-04-12  Juergen Vigna  <jug@sad.it>
10253
10254         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10255
10256         * text2.C (getCursorX): new helper function
10257         (setCursor): compute also ix_
10258         (setCursorFromCoordinates): set also ix.
10259
10260         * lyxcursor.h: added ix_ and helper functions.
10261
10262         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10263
10264         * buffer.C (insertStringAsLines): dont break paragraph if the this
10265         paragraph is inside an inset which does not permit it!
10266
10267         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10268         also with no chars on this paragraph.
10269         (paintRowText): only paint stuff if it's inside the workarea!
10270
10271         * paragraph.C (breakParagraph): honor keepempty flag and break the
10272         paragraph always below not above.
10273
10274         * BufferView2.C (unlockInset): update the paragraph layout on inset
10275         unlock as we changed paragraph in such a case.
10276
10277         * lyxfind.C (LyXFind): clear the former selection if not found!
10278
10279         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10280         again called in insertChar().
10281
10282         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10283         an inset which uses the whole row!
10284         (rightMargin): ditto.
10285         (insertChar): force a rebreak if we inserted an inset!
10286
10287 2002-03-28  Herbert Voss  <voss@lyx.org>
10288
10289         * lyxlength.[Ch]: add inBP() to get the right PS-point
10290         units (BigPoint). With inPixels we have rounding errors
10291
10292 2002-04-11  Juergen Vigna  <jug@sad.it>
10293
10294         * text2.C (setCursorFromCoordinates): set iy to the right value.
10295         (setCursor): add check if row->previous exists!
10296
10297         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10298         an old float_type as this was the case in the old code!
10299
10300         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10301
10302         * BufferView2.C (showLockedInsetCursor): use iy
10303         (fitLockedInsetCursor): ditto
10304
10305         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10306         locked insets as there we have the right value now.
10307
10308         * lyxcursor.C: added iy_ variable and iy functions to set to the
10309         baseline of cursor-y of the locked inset.
10310
10311         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10312         (setCursor): fixed for insets which need a full row.
10313
10314         * text.C (rowLastPrintable): don't ignore the last space when before
10315         an inset which needs a full row.
10316         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10317         as last character of a row when before a inset which needs a full row.
10318
10319 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10320
10321         * version.C.in: update date
10322
10323         * text2.C (fullRebreak): try to always return true and see what
10324         happens...
10325
10326 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10327
10328         * MenuBackend.C (expand): use Floating::listName
10329
10330         * FloatList.C (FloatList): add listName argument to the built-in
10331         floats
10332
10333         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10334         text associated with the float.
10335
10336 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10337
10338         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10339
10340 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10341
10342         * ShareContainer.h: add a couple of missing typenames.
10343
10344 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10345
10346         * lyxrc.C (getDescription): use _() correctly rather than N_().
10347
10348 2002-03-28  Herbert Voss  <voss@lyx.org>
10349
10350         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10351         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10352
10353 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10354
10355         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10356         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10357
10358 2002-03-29  Juergen Vigna  <jug@sad.it>
10359
10360         * lyxfunc.C (dispatch): add a missing fitCursor call.
10361
10362         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10363         it was scrolled by a cursor move, so return the bool status.
10364
10365         * BufferView.C (fitCursor): return the bool flag also to the outside
10366         world as this is needed.
10367
10368         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10369
10370         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10371         call the edit() as it is not needed (and wrong) IMO.
10372         (workAreaButtonPress): set the screen_first variable before evt.
10373         unlock the inset as this may change screen_first and then we have
10374         a wrong y position for the click!
10375
10376 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10377
10378         * MenuBackend.C (expand): another translation that I missed
10379
10380 2002-03-28  Juergen Vigna  <jug@sad.it>
10381
10382         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10383
10384         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10385
10386 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10387
10388         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10389
10390         * MenuBackend.C (expand): fix export/view/update when there is no
10391         document open.
10392
10393 2002-03-27  Herbert Voss  <voss@lyx.org>
10394
10395         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10396         and text%
10397
10398 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10399
10400         * bufferview_funcs.C (currentState): only show paragraph number
10401         for is DEVEL_VERSION is set.
10402
10403         * lyxfunc.C (dispatch): put warning in INFO channel
10404
10405         * MenuBackend.C (expand): translate the name of floats
10406
10407         * FloatList.C (FloatList): mark the float names for translation
10408
10409         * converter.C (convert): use LibScriptSearch
10410
10411 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10412
10413         * MenuBackend.C (defaults): fix default menu (we might as well get
10414         rid of it...)
10415
10416 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10417
10418         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10419         directory.
10420
10421 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10422
10423         * lyxvc.C: reorder includes.
10424
10425 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10426
10427         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10428           properly
10429
10430 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10431
10432         * CutAndPaste.C: change layouts earlier on paste
10433           to avoid crashing when calling getFont()
10434
10435 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10436
10437         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10438         irritating #error.
10439
10440 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10441
10442         * WorkArea.C: remove 'Pending' debug message.
10443
10444         * most files: ws cleanup
10445
10446         * buffer.[Ch]: ws changes
10447
10448         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10449
10450 2002-03-21  Juergen Vigna  <jug@sad.it>
10451
10452         * tabular.C (SetMultiColumn): collapse also the contents of the
10453         cells and set the last border right. Added a Buffer const * param.
10454
10455 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10456
10457         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10458         linking or not.
10459
10460 2002-03-19  Juergen Vigna  <jug@sad.it>
10461
10462         * text2.C (clearSelection): reset also xsel_cache.
10463
10464         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10465         where it needs to be called (John tells us to do so too :)
10466         (selectionLost): reset sel_cache.
10467
10468         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10469
10470 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10471
10472         * text2.C (setCursorIntern): put debuging code in INSETS channel
10473
10474 2002-03-19  André Pönitz <poenitz@gmx.net>
10475
10476         * lyxfunc.C: tiny whitespace change
10477
10478 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10479
10480         * ToolbarDefaults.C (init):
10481         * LyXAction.C (init):
10482         * commandtags.h:
10483         * BufferView_pimpl.C (Dispatch):
10484         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10485
10486 2002-03-19  Allan Rae  <rae@lyx.org>
10487
10488         * exporter.C (Export): removeAutoInsets before doing anything else.
10489         While I've just introduced a dependency on BufferView this really is
10490         the best place to clean the buffer otherwise you need to cleanup in
10491         a dozen places before calling export or cleanup in a dozen functions
10492         that export calls.
10493
10494         * converter.C (runLaTeX):
10495         (scanLog): Better handling of removeAutoInsets and screen updates.
10496
10497         * lyxfunc.C (dispatch): small whitespace changes
10498
10499 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10500
10501         * WorkArea.C (C_WorkAreaEvent): return a value.
10502         (event_cb): return 1 if we handled the event, 0 otherwise.
10503
10504         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10505
10506 2002-03-18  Juergen Vigna  <jug@sad.it>
10507
10508         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10509         (GetAdditionalWidth): ditto.
10510         (RightLine): ditto.
10511         (LeftLine): ditto.
10512
10513         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10514         inset if we're there actually (probably not used right now but this
10515         is the direction to go for unifying code).
10516         (paste): disable code to clear the selection.
10517
10518         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10519         inside an InsetText and move the check further up as it is in the
10520         wrong place.
10521
10522         * text2.C (pasteSelection): set a selection over the pasted text.
10523
10524 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10525
10526         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10527         and libgraphics to build on Cygwin.
10528
10529 2002-03-15  Juergen Vigna  <jug@sad.it>
10530
10531         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10532         inserting an Inset into the paragraph. I know this is not the best
10533         fix but we already use current_view in CutAndPaste so we will remove
10534         all of it's using at the same time.
10535
10536         * buffer.C (sgmlError): deactivated function till it is rewritten in
10537         the right mode, now it can create problems.
10538
10539         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10540         before accessing it.
10541
10542 2002-03-14  Juergen Vigna  <jug@sad.it>
10543
10544         * undo_funcs.C (textHandleUndo): do the right thing when updating
10545         the inset after the undo/redo.
10546
10547         * text2.C (setCursor): just some testcode for #44 not ready yet.
10548
10549         * undo_funcs.C (textHandleUndo): set the next() and previous()
10550         pointers of the paragraph to 0 before deleting otherwise we have
10551         problems with the Paragraph::[destructor].
10552
10553         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10554         on a paragraph insertion.
10555
10556 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10557
10558         * buffer.C (asciiParagraph): use += operator for char append to
10559         string.
10560
10561         * paragraph.C (getFontSettings): compare >= not just >
10562         (highestFontInRange): ditto
10563         (setFont): ditto
10564
10565 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10566
10567         * paragraph.C: change several algorithm to be more appripriate for
10568         the problem domain. This is lookip in FontList and in the InsetList.
10569
10570 2002-03-13  André Pönitz <poenitz@gmx.net>
10571
10572         * commandtags.h:
10573         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10574
10575 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10576
10577         * commandtags.h:
10578         * LyXAction.C:
10579         * lyxfunc.C:
10580         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10581
10582 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10583
10584         * Painter.C (display): anon helper function, adjust code for this
10585         change.
10586         (pixmap): remove function.
10587
10588         * Painter.h: remove private display variable.
10589
10590         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10591
10592 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10593
10594         * WorkArea.[Ch]: remove figinset_canvas cruft.
10595
10596 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10597
10598         * lyxtextclass.C (operator): add one item cache optimization.
10599
10600         * bufferlist.h: doxy changes
10601
10602         * bufferlist.C: ws changes
10603
10604         * DepTable.[Ch] (ext_exist): place const in the right spot.
10605
10606         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10607         call resizeInsets.
10608         (workAreaExpose): call resizeInsets when the with BufferView changes.
10609         (Dispatch): adjust for protectedBlank removal
10610         (specialChar): call updateInset if the insert went ok.
10611
10612         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10613         specialChar instead.
10614
10615         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10616
10617         * BufferView.h: doxy change
10618
10619         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10620
10621         * lyxtextclass.C (operator[]): remove non-const version
10622         (defaultLayout): remove non-const version
10623
10624 2002-03-12  Juergen Vigna  <jug@sad.it>
10625
10626         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10627         did resize the LyXText too.
10628
10629         * buffer.C (readLyXformat2): set layout information on newly allocated
10630         paragraphs.
10631
10632         * tabular.C (OldFormatRead): set layout information on the paragraph.
10633
10634 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10635
10636         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10637
10638 2002-03-11  Juergen Vigna  <jug@sad.it>
10639
10640         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10641         plainly wrong.
10642         (resizeCurrentBuffer): force also the insets to resize themselfes.
10643         (moveCursorUpdate): fixed up for InsetText.
10644
10645 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10646
10647         * commandtags.h:
10648         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10649         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10650         value of Dialogs::tooltipsEnabled().
10651         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10652
10653 2002-03-08  Juergen Vigna  <jug@sad.it>
10654
10655         * BufferView_pimpl.C (updateInset): update inset inside inset also
10656         if it isn't inside theLockingInset().
10657
10658 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10659
10660         * buffer.C (asciiParagraph): redo some of the word and line length
10661         handling.
10662         (getLists): look for Caption instead of caption.
10663
10664 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10665
10666         * buffer.C (Buffer): initialize niceFile to true
10667         (makeLaTeXFile):
10668         (makeLinuxDocFile):
10669         (makeDocBookFile): make sure niceFile is true on exit
10670
10671 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10672
10673         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10674
10675 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10676
10677         * LyXSendto.C: remove.
10678         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10679         * lyx_gui.C: remove now-redundant comment.
10680         * ColorHandler.h: remove forward declaration of class WorkArea.
10681         * lyxfunc.C: remove #include "WorkArea.h".
10682
10683 2002-03-07  Juergen Vigna  <jug@sad.it>
10684
10685         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10686         got moved away with the DEPM and also set the inset_owner always
10687         right which before could have been omitted.
10688
10689 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10690
10691         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10692         wanted layout is not found.
10693
10694 2002-03-07  Juergen Vigna  <jug@sad.it>
10695
10696         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10697
10698 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10699
10700         * paragraph.C (breakParagraph): use default layout not layout of
10701         prev paragraph.
10702         (Paragraph): clear ParagraphParameters.
10703
10704 2002-03-06  Juergen Vigna  <jug@sad.it>
10705
10706         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10707         otherwise it would not be a valid lenght. Fixed a special case in
10708         the minipage compatibility read where we end the document with a
10709         minipage.
10710
10711         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10712         was set as it could be 0 for InsetTexts first entry.
10713
10714 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10715
10716         * paragraph.C (writeFile): if layout is empty write out
10717         defaultLayoutName().
10718
10719         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10720         file without named layout we set layout to defaultLayoutName().
10721
10722 2002-03-06  Juergen Vigna  <jug@sad.it>
10723
10724         * CutAndPaste.C (copySelection): set layout for new paragraph.
10725
10726         * text.C (prepareToPrint): leave ERT inset left aligned
10727         (leftMargin): don't indent paragraphs inside ERT insets
10728
10729 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10730
10731         * paragraph.C (breakParagraph): dont call clear do the work manually
10732
10733         * paragraph.[Ch] (clear): remove function
10734
10735 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10736
10737         * paragraph.C (Paragraph): dont call clear, the work has already
10738         been done.
10739
10740         * lyxtextclass.C (operator): assert if n is empty
10741
10742         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10743         work manually instead.
10744
10745 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10746
10747         * BufferView_pimpl.C: protect selectionLost against text == 0
10748
10749 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10750
10751         * text.C (breakParagraph): fix a setting layout to '0' problem.
10752
10753 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10754
10755         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10756         final location of file, for the included files, and graphics.
10757
10758 2002-03-05  Juergen Vigna  <jug@sad.it>
10759
10760         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10761
10762 2002-03-04  Juergen Vigna  <jug@sad.it>
10763
10764         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10765
10766         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10767         last column of multicolumn cells.
10768         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10769
10770 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10771
10772         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10773         file if it doesn't go to a temporary file.
10774
10775         * buffer.C (sgmlOpenTag):
10776         (sgmlCloseTag):  remove extra newline insertion.
10777
10778 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10779
10780         * text.C (getRowNearY): comment out debug msg
10781
10782 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10783
10784         * text2.C: first -> first_y
10785
10786         * text.C (getRowNearY): add some attemts at a possible
10787         optimization, not working.
10788
10789         * tabular.[Ch]: add BufferParams to several function so that newly
10790         created paragraph can be initialized to he default layotu for the
10791         buffers textclass.
10792
10793         * tabular-old.C (ReadOld): add buf->params to call of Init
10794
10795         * screen.C: rename text->first to text->first_y
10796
10797         * paragraph.C (breakParagraph): always set layout in the broken
10798         paragraph
10799
10800         * lyxtextclass.C (Read): remove lowercase
10801         (hasLayout): ditto
10802         (operator): ditto
10803         (delete_layout): ditto
10804
10805         * lyxtext.h: rename first -> first_y
10806
10807         * lyxlayout.C (Read): remove lowercase
10808         (name): ditto
10809         (setName): ditto
10810         (obsoleted_by): ditto
10811
10812         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10813
10814         * buffer.C (insertErtContents): add params are to InsetERT
10815         (parseSingleLyXformat2Token): add code to check if a paragraphs
10816         layout really exist.
10817         (parseSingleLyXformat2Token): add params to several inset
10818         constructors
10819         (asciiParagraph): remove lowercase, do the layout comparisons with
10820         no_case
10821
10822         * BufferView_pimpl.C (cursorNext): first -> first_y
10823         (resizeCurrentBuffer): first -> first_y
10824         (updateScrollbar): first -> first_y
10825         (scrollCB): first -> first_y
10826         (workAreaMotionNotify): first -> first_y
10827         (workAreaButtonPress): first -> first_y
10828         (checkInsetHit): first -> first_y
10829         (cursorPrevious): first -> first_y
10830         (cursorNext): first -> first_y
10831         (Dispatch): add buffer_->params to severl inset contructors
10832
10833 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10834
10835         * lyxlayout.C (Read): remove some debug info that I forgot.
10836
10837         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10838         clean up the code slightly.
10839         (makeLinuxDocFile): ditto
10840         (makeDocBookFile): ditto
10841
10842         * text2.C: layout as string
10843
10844         * text.C: layout as string
10845
10846         * paragraph_pimpl.C: layout as string
10847
10848         * paragraph.[Ch]: layout as string
10849
10850         * lyxtextclasslist.[Ch]: layout as string
10851
10852         * lyxtextclass.[Ch]: layout as string
10853
10854         * lyxtext.h: layout as string
10855
10856         * lyxlayout.[Ch]: layout as string
10857
10858         * lyx_cb.C: layout as string
10859
10860         * bufferview_funcs.C: layout as string
10861
10862         * bufferparams.C: layout as string
10863
10864         * buffer.C: layout as string
10865
10866         * LyXView.[Ch]: layout as string
10867
10868         * LaTeXFeatures.[Ch]: layout as string
10869
10870         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10871
10872         * BufferView_pimpl.C: change current_layout to string, remove
10873         lyx::layout_type.
10874         (Dispatch):
10875         (smartQuote):
10876         (insertInset):
10877         (workAreaButtonRelease): layout as string
10878
10879         * BufferView2.C (unlockInset): adjust
10880
10881         * vspace.C (asLatexCommand): use an explict temp variable.
10882
10883 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10884
10885         * Makefile.am: use FRONTEND_*
10886
10887 2002-03-01  Juergen Vigna  <jug@sad.it>
10888
10889         * tabular.C (SetWidthOfMulticolCell): changed to something better
10890         I hope but still work in progress.
10891         (recalculateMulticolumnsOfColumn): renamed function from
10892         recalculateMulticolCells as it is more appropriate now.
10893         (SetWidthOfCell): calculate multicols better.
10894
10895 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10896
10897         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10898
10899         * lyxfunc.C (processKeySym): print sequence also if it is
10900         `deleted' (complete)
10901
10902         * kbsequence.C (print): print sequence even if it is deleted
10903         (complete would be a better word, actually).
10904
10905         * lyxfunc.C (dispatch): print complete options after a prefix key
10906
10907         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10908
10909 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10910
10911         * text2.C (setCharFont): eliminate setCharFont code duplication.
10912
10913 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10914
10915         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10916         LFUN_TABULAR_FEATURE (bug #177)
10917
10918 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10919
10920         * Makefile.am: remove figure.h
10921
10922 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10923
10924         * Bufferview_pimpl.C:
10925         * CutAndPasteC:
10926         * LaTeX.C:
10927         * LyXSendto.C:
10928         * buffer.C:
10929         * bufferlist.C:
10930         * converter.C:
10931         * language.C:
10932         * lyxfunc.C:
10933         * lyxvc.C:
10934         * paragraph.C:
10935         * text.C:
10936         * text2.C: remove #include "lyx_gui_misc.h".
10937
10938         * LaTeX.C: added #include <cstdio>
10939
10940 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10941
10942         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10943         that the paragraph following this one can have.
10944
10945         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10946
10947         * vspace.C (asLatexCommand): fix bogus gcc warning
10948
10949         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10950
10951 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10952
10953         * text2.C (setLayout): get rid of redundant code
10954
10955 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10956
10957         * text2.C (incDepth): make sure depth cannot be increased beyond
10958         reasonable values.
10959
10960 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10961
10962         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10963         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10964
10965         * PainterBase.h (image):
10966         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10967         a LyXImage const *.
10968
10969 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10970
10971         * BufferView.C:
10972         * BufferView.h:
10973         * BufferView_pimpl.C:
10974         * BufferView_pimpl.h:
10975         * LaTeXFeatures.C:
10976         * LyXAction.C:
10977         * LyXView.C:
10978         * Makefile.am:
10979         * UpdateList.h:
10980         * UpdateList.C:
10981         * buffer.C:
10982         * figure.h:
10983         * figureForm.C:
10984         * figureForm.h:
10985         * figure_form.C:
10986         * figure_form.h:
10987         * lyx_cb.C:
10988         * lyx_gui.C:
10989         * lyx_gui_misc.C:
10990         * lyxfunc.C:
10991         * sp_base.h:
10992         * sp_ispell.h:
10993         * sp_pspell.h:
10994         * sp_spell.C: remove fig inset, and the crap house of
10995           cards that follows it
10996
10997 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10998
10999         * Makefile.am:
11000         * lyxserver.C:
11001         * os2_defines.h:
11002         * os2_errortable.h:
11003         * nt_defines.h: move .h into support/
11004
11005         * vms_defines.h: remove
11006
11007         * WorkArea.C: add space in debug output
11008
11009         * text2.C:
11010         * paragraph.C:
11011         * buffer.C: add WITH_WARNINGS
11012
11013         * vc-backend.h:
11014         * vc-backend.C:
11015         * bufferlist.C: s/retrive/retrieve/, add docs
11016
11017         * vspace.h:
11018         * vspace.C:
11019         * kbmap.h:
11020         * lyxlength.h:
11021         * lyxgluelength.h:
11022         * length_common.h:
11023         * chset.h:
11024         * chset.C: add docs
11025
11026         * lyxgui.C: add ID to X error handler
11027
11028         * lyxtestclass.c: fix typo
11029
11030 2002-02-26  Juergen Vigna  <jug@sad.it>
11031
11032         * tabular_funcs.C (write_attribute): changed so that some default
11033         attributes are not written at all.
11034         (getTokenValue): set default values before trying to read the
11035         value so we have the return value always set as default if we don't
11036         find the token we search for.
11037
11038         * tabular.C (Write): write bools as bools not as strings!
11039
11040 2002-02-22  Juergen Vigna  <jug@sad.it>
11041
11042         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11043         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11044
11045         * text.C (leftMargin): don't add an indent for paragraphs inside
11046         tabular cells (fix #208).
11047
11048 2002-02-21  José Matos  <jamatos@fep.up.pt>
11049
11050         * tabular.C (docBook): fixed support for long tables.
11051
11052 2002-02-20  Juergen Vigna  <jug@sad.it>
11053
11054         * text2.C (getFont): get the drawing font of the Inset if this
11055         paragraph is inside an inset (only important for InsetERT for now).
11056
11057         * buffer.C (insertErtContents): use new lanugage params in ERT
11058         constructor.
11059
11060         * CutAndPaste.C: commenting out seemingly uneeded code.
11061
11062 2002-02-19  Allan Rae  <rae@lyx.org>
11063
11064         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11065         Iterators might be simple to use but they also get invalidated.
11066         (removeAutoInsets): renamed saved cursor tracking variables and added
11067         some comments to clarify what everything does.
11068
11069 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11070
11071         * Chktex.C:
11072         * LaTeX.C:
11073         * LyXSendto.C:
11074         * converter.C:
11075         * lyx_cb.C:
11076         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11077         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11078
11079         * lyxfunc.C:
11080         * vc-backend.h: remove #include "support/syscall.h"
11081
11082         * LaTeX.C:
11083         * LyXSendto.C:
11084         * converter.C: rearrange #includes in Lars' approved fashion.
11085
11086         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11087         forward declare class Timeout in the header file.
11088
11089         * XFormsView.C: changes due to the above.
11090
11091         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11092         similar to LyXView.
11093
11094         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11095         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11096
11097 2002-02-18  José Matos  <jamatos@fep.up.pt>
11098
11099         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11100         insets contents.
11101
11102 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11103
11104         * a lot of small ws changes
11105         * add a lot of using std::XXX
11106         * use std construcs some places where approp.
11107         * use some exisint stuff from lyxfunctional where approp.
11108         * Make file changes to use partial linking (lets test this now...)
11109
11110 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11111
11112         * Chktex.C:
11113         * buffer.C:
11114         remove #include "support/syscontr.h" as it's redundant. Always has been.
11115
11116         * Chktex.C:
11117         * LaTeX.C:
11118         * LyXSendto.C:
11119         * converter.C:
11120         * lyx_cb.C:
11121         * vc-backend.C:
11122         change Systemcalls::System to Systemcalls::Wait and
11123         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11124         No change of functionality, just reflects the stripped down Systemcalls
11125         class.
11126
11127 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11128
11129         * debug.[Ch]: add a GRAPHICS type to the enum.
11130
11131 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11132
11133         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11134
11135         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11136         there is an inset.
11137
11138 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11139
11140         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11141         match the changes below.
11142
11143         * text2.C (toggleInset): if there is not editable inset at cursor
11144         position, try to see if cursor is _inside_ a collapsable inset
11145         and close it.
11146
11147 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11148
11149         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11150         document menu has a nice checkbox
11151
11152 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11153
11154         * lyxlength.C (asLatexString): change PW to output as percent of
11155         \textwidth.
11156
11157         * lengthcommon.C: change '%' to 't%'
11158
11159         * lyxfunc.C (dispatch): a few comments from Martin
11160
11161 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11162
11163         * WorkArea.h:
11164         * WorkArea.C:
11165         * BufferView_pimpl.h:
11166         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11167           the X selection.
11168
11169 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11170
11171         * vspace.C (inPixels): fix compiler warning
11172
11173 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11174
11175         * lyxfunc.C (getStatus): fix status message for disabled commands.
11176
11177 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11178
11179         * BufferView_pimpl.C: fix crash on close buffer
11180         during selection (#227)
11181
11182 2002-01-27  Herbert Voss  <voss@lyx.org>
11183
11184         * buffer.C: link old Figure to new graphic inset
11185
11186 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11187
11188         * FontLoader.C (getFontinfo): Change the latex font names in order
11189         to match the names of type1inst.
11190
11191 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11192
11193         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11194
11195         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11196         (extchanged): ditto
11197         (ext_exist): ditto
11198         (remove_files_with_extension): ditto
11199         (remove_file): ditto
11200         (write): ditto
11201
11202         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11203         document is smaller than the work area height. Do not initialize
11204         static variables to 0.
11205
11206 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11207
11208         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11209
11210         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11211         LFUN_LAYOUT_PARAGRAPHS.
11212
11213         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11214         tabular. It is possible to provide a possible cell, which will
11215         typically be the actcell from the corresponding insettabular
11216
11217         * lyxfunc.C (getStatus): small cleanup; disable
11218         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11219         true
11220
11221 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11222
11223         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11224
11225         * paragraph.C (startTeXParParams):
11226         (endTeXParParams): new methods. The LaTeX code to
11227         start/end paragraph formatting
11228         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11229         empty (fixes bug #200)
11230
11231         * vspace.C (inPixels): adapt to the change below
11232         (inPixels): [later] more cleanups (remove unused variables)
11233
11234         * lyxlength.C (inPixels): change to use a width and a height as
11235         parameter.
11236
11237 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11238
11239         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11240         Replaced with \paperwidth
11241
11242         * DepTable.C (insert): add std:: qualifier
11243
11244 2002-01-18  Allan Rae  <rae@lyx.org>
11245
11246         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11247         updated also?
11248
11249         * text.C (drawInset): Turned out I didn't know enough about how
11250         rebreaking worked.  This fixes most of the redraw problems.  I see
11251         an occasional cursor trail when a line is broken now and the cursor
11252         placement can seem out by a few pixels also after a rebreak.
11253
11254 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11255
11256         * buffer.C (parseSingleLyXformat2Token): update because minipage
11257         width is now a LyXLength
11258
11259         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11260
11261         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11262         math insets
11263
11264 2002-01-17  Juergen Vigna  <jug@sad.it>
11265
11266         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11267
11268         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11269         is set correctly and the inset is updated correctly.
11270
11271 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11272
11273         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11274         the beginning of the loop.
11275
11276 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11277
11278         * lyxrc.C: improve help for use_scalable_fonts
11279
11280 2002-01-17  Allan Rae  <rae@lyx.org>
11281
11282         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11283
11284 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11285
11286         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11287         make sure to set their inset_owner to the right value (bug #171)
11288
11289 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11290
11291         * DepTable.h
11292         * DepTable.C: Implement mtime checking to reduce time spent doing
11293         CRCs.
11294
11295 2002-01-16  Juergen Vigna  <jug@sad.it>
11296
11297         * tabular.C (GetAdditionalHeight): one of error fixed.
11298
11299         * lyxrc.C (output): small fix in writing use_pspell.
11300
11301 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11302
11303         * sp_base.h: #include LString.h
11304
11305 2002-01-16  Allan Rae  <rae@lyx.org>
11306
11307         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11308         Can someone check this please?
11309
11310         * text.C (drawInset): It was possible that p.row would be removed by
11311         breakAgainOneRow upsetting a few other settings.  There may be another
11312         small tweak possible by setting need_break_row = 0 when p.row has been
11313         removed but I don't know enough about the logic here.
11314
11315 2002-01-15  Allan Rae  <rae@lyx.org>
11316
11317         * text.C (insertChar): removed conditional truism.
11318
11319         * BufferView2.C (removeAutoInsets): More tweaks.
11320         cur_par_prev could be a stray pointer.  Check for trailing empty line
11321         in case last line was cur_par and only had an error inset on it.
11322
11323 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11324
11325         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11326         absolute
11327
11328         * vc-backend.C (most methods):
11329         * exporter.C (Export):
11330         * converter.C (convert):
11331         (runLaTeX):
11332         * LyXSendto.C (SendtoApplyCB):
11333         * lyxfunc.C (dispatch):
11334         (menuNew):
11335         (open):
11336         (doImport):
11337         * lyx_cb.C (AutoSave):
11338         (InsertAsciiFile):
11339         * BufferView_pimpl.C (MenuInsertLyXFile):
11340         * buffer.C (runChktex): use Buffer::filePath().
11341
11342         * buffer.h: rename filename to filename_; rename filepath to
11343         filepath_ and make it private
11344         (filePath): new method
11345
11346         * buffer.C (writeFile): use fileName()
11347         (getLatexName):
11348
11349         * lyx_main.C (init): fix starting  of LyX when the binary is a
11350         link from so,ewhere else.
11351
11352         * minibuffer.C: include <cctype> for isprint
11353
11354 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11355
11356         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11357         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11358         name clash with InsetCollapsable's width function.
11359
11360 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11361
11362         * lastfiles.C: include <iterator>
11363
11364 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11365
11366         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11367         std::count.
11368
11369         * buffer.C (makeLaTeXFile): ditto.
11370         Also make loop operation more transparent.
11371
11372 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11373
11374         * ToolbarDefaults.C: remove trailing comma closing namespace.
11375
11376         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11377
11378         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11379         as in WorkArea.
11380
11381         * trans.C (Load): comment out unused variable, allowed.
11382
11383 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11384
11385         * minibuffer.[Ch] (append_char): new method to recieve input from the
11386         drop-down completion browser. If a key was pressed, then recieve this
11387         char and append it to the existing string.
11388         (peek_event): modify the positioning data passed to the completion
11389         browser so that it can be placed above the minibuffer rather than below.
11390 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11391
11392         * LyXAction.C (init): alloe error-next for readonly documents.
11393
11394         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11395         count.
11396
11397 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11398
11399         * bufferlist.C (readFile): create the buffer _after_ checking that
11400         the file exists.
11401
11402         * lyxfunc.C (verboseDispatch): fix handling of arguments
11403
11404         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11405
11406         * lyxrc.C: use string::erase() instead of initializing to "".
11407
11408
11409 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11410
11411         * BufferView_pimpl.h:
11412         * BufferView_pimpl.C:
11413         * WorkArea.h:
11414         * WorkArea.C:
11415         * text2.C: tell X when we have made a selection for copying
11416
11417 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11418
11419         * BufferView_pimpl.C (MenuInsertLyXFile):
11420         * lyxfunc.C (menuNew):
11421         (open):
11422         (doImport): add shortcuts to directory buttons
11423
11424         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11425         open a float)
11426
11427         * lyxfunc.C (setStatusMessage):
11428         (getStatusMessage): new methods
11429         (getStatus):use setStatusMessage instead of setErrorMessage
11430         (dispatch): when function is disabled, set error message here
11431         [instead of in getStatus previously]
11432
11433         * BufferView_pimpl.C (workAreaButtonRelease): update
11434         toolbar/menubar here too.
11435
11436 2002-01-13  Allan Rae  <rae@lyx.org>
11437
11438         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11439         Now seems indestructible.  Remaining task is to audit all other
11440         code affected by deleteEmptyParagraphMechanism.  One small quirk
11441         left is that an empty document with an error in the preamble can
11442         be made to report an error but no error box appears.  I don't know
11443         where it goes.
11444         (removeAutoInsets): Improved comments.
11445
11446 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11447
11448         * Thesaurus.h:
11449         * Thesaurus.C: update for Aiksaurus 0.14
11450
11451 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11452
11453         * text2.C (firstParagraph): removed member function, all uses
11454         replaces with ownerParagraph
11455         (redoParagraphs): here
11456         (updateInset): here
11457         (toggleAppendix): here
11458         * BufferView2.C (insertErrors): here
11459         (setCursorFromRow): here
11460
11461 2002-01-13  Allan Rae  <rae@lyx.org>
11462
11463         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11464         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11465         There is still a way to segfault this although you may have to do this
11466         multiple times: Have an InsetERT with an unknown command in it.
11467         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11468         <down-arrow>, <Enter> again, View->DVI, BANG!
11469
11470         * text2.C (setCursor):
11471         (deleteEmptyParagraphMechanism):
11472         * lyxtext.h (setCursor):
11473         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11474         Making use of the return value may help fix other bugs.
11475
11476 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11477
11478         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11479
11480         * LyXView.C (updateMenubar): call MenuBar::update here
11481         (updateToolbar): but not here
11482         (showState): do not update toolbar/menubar
11483
11484         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11485         should need to care about that.
11486
11487         * lyxfunc.C (verboseDispatch): simplify a bit
11488         (getStatus): have a version which takes a pseudoaction, and
11489         another which requires a (kb_action,string).
11490
11491         * LyXAction.C (retrieveActionArg): make it work also when action
11492         is not a pseudo-action.
11493         (getActionName): simplify a bit
11494         (helpText):
11495
11496 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11497
11498         * lyxfunc.C (verboseDispatch): new families of methods with
11499         several ways to specify a command and a bool to indicate whether
11500         the command name and shortcut should be displayed in minibuffer
11501         (eventually, we could extend that to a finer bitmask like
11502         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11503         (dispatch): the pristine dispatch command which just, well,
11504         dispatchs! Note it still sets its result to minibuffer; I'm not
11505         sure we want that.
11506
11507         * lyxfunc.h: remove setHintMessage
11508
11509         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11510
11511 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11512
11513         * BufferView_pimpl.C (specialChar): delete new inset if we have
11514         not been able to insert it.
11515
11516         * kbmap.C: revert to using int instead of kb_action, since all we
11517         are dealing with is pseudo-actions.
11518
11519         * LyXAction.C (searchActionArg): change to return int instead of
11520         kb_action, since the result is a pseudoaction.
11521
11522 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11523
11524         * buffer.C (insertErtContents): Fix (partially) the font bug.
11525
11526 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11527
11528         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11529         as the other one is broken on my machine!
11530
11531 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11532
11533         * commandtags.h:
11534         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11535
11536 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11537
11538         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11539         reflect their actual use. Provide compatibility code for older lyxrc
11540         files.
11541
11542         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11543         FL_NORMAL_STYLE.
11544         change names of popup font variables in line with the changes to lyxrc.C
11545
11546 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11547
11548         * buffer.C (asciiParagraph): avoid outputing a word twice after
11549         an inset.
11550
11551         * lyxrc.C (getDescription): document that document_path and
11552         template_path can be empty.
11553
11554 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11555
11556         * LaTeXFeatures.C (getMacros):
11557         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11558
11559         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11560
11561         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11562         getPackages.
11563         (getPackages): rename feature "floats" to "float". Use an array to
11564         iterate over 'simple' features (i.e. just a \usepackage). Add
11565         handling of "amsmath" (renamed from "amsstyle").
11566
11567 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11568
11569         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11570         features list.
11571
11572 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11573
11574         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11575         FuncStaus::FuncStatus & FuncStaus::some_method().
11576
11577 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11578
11579         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11580         of the func_satus stuff. Edited and massaged in various ways by
11581         JMarc.
11582
11583         * lyxfunc.C (getStatus): use FuncStatus
11584
11585 2002-01-08  Juergen Vigna  <jug@sad.it>
11586
11587         * text.C (nextBreakPoint): use function Inset::isChar().
11588
11589         * paragraph.C (TeXOnePar): use function
11590         Inset::forceDefaultParagraphs.
11591
11592         * buffer.C (latexParagraphs): use function
11593         Inset::forceDefaultParagraphs.
11594
11595 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11596
11597         * lyx_gui.C (init): set the style of the menu popups to
11598         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11599
11600 2002-01-07  Juergen Vigna  <jug@sad.it>
11601
11602         * text.C (setHeightOfRow): small fix
11603         (prepareToPrint): don't look at alignment if we don't have the place
11604         for doing it.
11605
11606 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11607
11608         * box.C: New file. Move the Box methods and functions out of box.h,
11609         following Lars' suggestion.
11610
11611 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11612
11613         * box.h: #include "support/LOstream.h", needed for inlined function.
11614
11615         * lyxtextclass.C:
11616         * lyxtextclasslist.C: added some using std declarations.
11617
11618 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11619
11620         * box.h: make signed dimensions to allow insets wider than
11621           the screen (bug #162)
11622
11623         * BufferView_pimpl.C: add some insetHit debug
11624
11625 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11626
11627         * vc-backend.C: add FIXME
11628
11629 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11630
11631         * lyxfunc.C (getStatus): enable code for showing math font status
11632         in toolbar/menu.
11633
11634 2002-01-07  Juergen Vigna  <jug@sad.it>
11635
11636         * text.C (nextBreakPoint): removed debug output not needed anymore.
11637
11638 2002-01-06  Juergen Vigna  <jug@sad.it>
11639
11640         * text.C (nextBreakPoint): fixed up this function we had this bug
11641         since ever but now hopefully we break row better.
11642         (insertChar): we have to check if an inset is the next char as it
11643         could now happen that a large inset is causing a break.
11644
11645 2002-01-05  Juergen Vigna  <jug@sad.it>
11646
11647         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11648         if it doesn't like to be drawed.
11649
11650 2002-01-04  Juergen Vigna  <jug@sad.it>
11651
11652         * BufferView2.C (lockInset): forgot to set a cursor.
11653
11654         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11655
11656 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11657
11658         * FormMathsPanel.C:
11659         * FormMathsPanel.h
11660         * MathsSymbols.C:
11661         * form_maths_panel.C:
11662         * form_maths_panel.h:
11663         * form_maths_panel.fd: implemented sub- and super- buttons in math
11664         panel.
11665
11666         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11667         (or ^ space) to be used as in TeX (req'd by André).
11668
11669         * lyxfunc.C: Allow ^ and _ again to be used both as
11670         super/subscript (mathed) and as themselves (in text).
11671
11672 2002-01-03  Allan Rae  <rae@lyx.org>
11673
11674         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11675         "LyX" or the filename of the current buffer if it has one.  This is a
11676         modified form of John Levon's patch.
11677
11678         * XFormsView.C (setWindowTitle): also set icon title.
11679
11680         * LyXView.h (setWindowTitle): signature changed.
11681         * XFormsView.h (setWindowTitle): ditto.
11682
11683 2002-01-02  Juergen Vigna  <jug@sad.it>
11684
11685         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11686
11687 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11688
11689         * screen.C (topCursorVisible): introduce a temp var for
11690         text->cursor.row(), handle the case where this row is null. (kindo
11691         hachish)
11692
11693         * text2.C (setCursor): add a couple of asserts.
11694
11695         * paragraph.h (inset_iterator): add -> operator
11696
11697         * paragraph.[Ch] (autoDeleteInsets): remove member function
11698
11699         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11700         cursor pos correctly and handle inset deletion by itself.
11701         (insertErrors): move iterator declaration out of for expression
11702
11703         * lyxtextclass.C: add <algorithm>
11704
11705         * Makefile.am: added the new files to sources, removed layout.C
11706
11707         * layout.C: removed file
11708
11709         * layout.h: remove LYX_DUMMY_LAYOUT
11710
11711         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11712         layout.
11713
11714         * lyxlayout.[Ch]:
11715         * lyxtextclass.[Ch]:
11716         * lyxtextclasslist.[Ch]: new files
11717
11718         * include order changes to a lot of files, also changes because of
11719         the six new files.
11720
11721 2001-12-27  Juergen Vigna  <jug@sad.it>
11722
11723         * buffer.C (asciiParagraph): more fixes.
11724
11725         * tabular.C (ascii): make ascii export support export of only the
11726         data separated by a column-delimiter.
11727         (ascii): better support for ascii export.
11728
11729         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11730
11731 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11732
11733         * tabular_funcs.C: use a "using std::getline" instead of the
11734         previous fix from Angus (necessary for cxx + lyxstring)
11735
11736 2001-12-24  Juergen Vigna  <jug@sad.it>
11737
11738         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11739
11740         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11741         problems. First check a minipage also if we have some ert-contents
11742         (not only on par->size(), second set the right depth of the paragraph
11743         on the relink to the root-paragraph-list!
11744
11745         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11746         which then did not anymore update the main paragraphs on undo/redo!
11747
11748 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11749
11750         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11751         code. Support all font-changing funcs (even those which are not in
11752         menu currently). Support for reporting font settings in
11753         mathed (disabled until Andre provides a function on mathed's side).
11754
11755         * func_status.h (toggle): small helper function to set toggle
11756         state on a flag.
11757
11758 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11759
11760         * tabular_funcs.C: getline -> std::getline
11761
11762 2001-12-21  Juergen Vigna  <jug@sad.it>
11763
11764         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11765         accessed and could be 0 (I couldn't generate this but it seems
11766         Michael could!).
11767
11768 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11769
11770         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11771         * tabular_funcs.h: here and include iosfwd
11772
11773 2001-12-20  Juergen Vigna  <jug@sad.it>
11774
11775         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11776         inside inset but undo_par was.
11777
11778 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11779
11780         * Thesaurus.C: always include <config.h> in sources.
11781
11782         * Painter.h:
11783         * lyxlookup.h:
11784         * box.h: do not include <config.h> in header files
11785
11786         * text.C (paintLastRow): remove unused variable
11787
11788         * text.C (transformChar):
11789         (insertChar):
11790         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11791
11792         * Painter.C (text):
11793         * font.C (width): rewrite to use uppercase() instead of
11794         islower/toupper.
11795
11796         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11797
11798 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11799
11800         * lyxfind.C: clean up of find failure position change
11801
11802 2001-12-20  Juergen Vigna  <jug@sad.it>
11803
11804         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11805
11806         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11807         (TeXRow): added to LaTeX a single tabular row.
11808         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11809         (Latex): simplified and finally good LT-h/f support.
11810         (various_functions): just small adaptions for LT-h/f support.
11811
11812         * tabular_funcs.[hC]: added and moved here all not classfunctions
11813         of LyXTabular.
11814
11815 2001-12-19  Juergen Vigna  <jug@sad.it>
11816
11817         * tabular.[Ch]: better support for longtabular options (not finished
11818         yet!)
11819
11820 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11821
11822         * text.C (paintLastRow): use the label font instead of the font of
11823         the last character to compute the size of *_BOX. This makes more
11824         sense and avoids a crash with empty paragraphs.
11825         Use Painter::rectangle to draw EMPTY_BOX.
11826
11827 2001-12-19  Juergen Vigna  <jug@sad.it>
11828
11829         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11830         the paragraphs if the replaced paragraph is not the first one!
11831         Tried to delete not used paragraphs but does not work yet so for
11832         now it's inside #ifdef's and by default off!
11833
11834 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11835
11836         * MenuBackend.C: include "lyx_main.h" instead of declaring
11837         lastfiles (actually was declared as LastFiles* instead of a
11838         scoped_ptr).
11839
11840 2001-12-17  Juergen Vigna  <jug@sad.it>
11841
11842         * tabular.C (AppendColumn): applied John's fix
11843
11844 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11845
11846         * BufferView.h:
11847         * BufferView.C:
11848         * BufferView_pimpl.h:
11849         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11850
11851         * Makefile.am:
11852         * box.h: new start of class for above
11853
11854         * lyxfunc.C: ignore space-only minibuffer dispatches.
11855           Show the command name when it doesn't exist
11856
11857         * minibuffer.C: don't add empty lines to the history
11858
11859         * minibuffer.C: add a space on dropdown completion
11860
11861 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11862
11863         * text.C: fix line above/below drawing in insets
11864
11865 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11866
11867         * lyxlength.C (LyXLength): Initialize private variables.
11868
11869 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11870
11871         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11872         when inserting error insets.
11873
11874 2001-12-13  Juergen Vigna  <jug@sad.it>
11875
11876         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11877         actually sometimes the before-paragraph.
11878         (setUndo): don't clear the redostack if we're not actually undoing!
11879
11880 2001-12-06  Juergen Vigna  <jug@sad.it>
11881
11882         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11883         and fixed redoing of main paragraph, so we can use it now ;)
11884
11885         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11886
11887 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11888
11889         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11890         Juergen's request
11891
11892 2001-12-13  André Pönitz <poenitz@gmx.net>
11893
11894         * undostack.[Ch]:
11895         * undo_func.C: minor cleanup
11896
11897 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11898
11899         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11900         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11901         font in urw-fonts package which is marked as -urw-fontspecific and
11902         does not work (incidentally, changing the encoding in the
11903         fonts.dir of this package to -adobe-fontspecific fixes the
11904         problem).
11905
11906         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11907         is a crash when undoing first paragraph (Juergen, please take a
11908         look). THis does not mean the undo fix is wrong, just that it
11909         uncovers problems.
11910
11911         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11912         the (Paragraph*) version when needed instead of duplicating the
11913         code.
11914
11915         * text.C (workWidth): use Inset::parOwner to find out where the
11916         inset has been inserted. This is a huge performance gain for large
11917         documents with lots of insets. If Inset::parOwner is not set, fall
11918         back on the brute force method
11919
11920         * paragraph_pimpl.C (insertInset):
11921         * paragraph.C (Paragraph):
11922         (cutIntoMinibuffer): set parOwner of insets when
11923         inserting/removing them
11924
11925         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11926
11927 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11928
11929         * commandtags.h:
11930         * LyXAction.C:
11931         * lyx_main.C:
11932         * lyxfunc.C:
11933         * mathed/formulabase.C:
11934         * mathed/math_cursor.[Ch]:
11935         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11936
11937
11938 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11939
11940         * lyxlength.[Ch] (operator!=): new function
11941
11942 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11943
11944         * text.C (workWidth): use Inset::parOwner to find out where the
11945         inset has been inserted. This is a huge performance gain for large
11946         documents with lots of insets. If Inset::parOwner is not set, fall
11947         back on the brute force method
11948
11949         * paragraph_pimpl.C (insertInset):
11950         * paragraph.C (Paragraph):
11951         (cutIntoMinibuffer): set parOwner of insets when
11952         inserting/removing them
11953
11954         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11955
11956 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11957
11958         * tabular-old.C (getTokenValue):
11959         * tabular.C (getTokenValue):
11960         (write_attribute): new versions for LyXLength
11961         (everywhere): adjust the use of widths
11962
11963         * tabular.h: change the type of widths from string to LyXLength
11964
11965 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11966
11967         * paragraph.C: fixed missing line number count when exporting
11968         Environments to LaTeX file
11969
11970         * buffer.C: added informational message for checking line numbers.
11971
11972 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11973
11974         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11975         paragraph, do the 'double space' part, but not the 'empty
11976         paragraph' one.
11977
11978         * text.C (workWidth): small optimization
11979         (getLengthMarkerHeight): use minimal size for negative lengths.
11980
11981 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11982
11983         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11984
11985         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11986
11987 2001-12-11  André Pönitz <poenitz@gmx.net>
11988
11989         * FontLoader.C:
11990         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11991
11992 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11993
11994         * text2.C: keep selection on a setFont()
11995
11996 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11997
11998         * lyx_cb.C: another bv->text misuse, from insert label
11999
12000 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12001
12002         * kbsequence.h:
12003         * kbsequence.C: re-instate nmodifier mask
12004
12005 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12006
12007         * lyx_main.h: make lyxGUI private.
12008
12009 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12010
12011         * lyxfind.C: place the cursor correctly on failed search
12012
12013 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12014
12015         * text.C (getLengthMarkerHeight): for small heights, the arrows
12016         are not always on top/bottom of the text
12017         (drawLengthMarker): smaller arrows; take the left margin in
12018         account; draw also vfills.
12019         (paintFirstRow):
12020         (paintLastRow): remove special code for vfill and standard spaces,
12021         since everything is handled in drawLengthMarker now.
12022
12023 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12024
12025         * buffer.C (insertErtContents): try to handle font and language
12026         interaction a bit better.g
12027
12028         * ColorHandler.C (updateColor): change the hash to cover the whole
12029         LColor enum, ws cleanup
12030         (getGCLinepars): ditto
12031         (getGCLinepars): only lookup in the linecache once.
12032
12033 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12034
12035         * iterators.C (operator++): Make the iterator more robust
12036
12037         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12038         (John's patch)
12039         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12040
12041 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12042
12043         * lyxtext.h:
12044         * text.C: better added space drawing
12045
12046 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12047
12048         * LyXView.C:
12049         * BufferView2.C: fix layout combo update on inset unlock
12050
12051 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12052
12053         * Makefile.am: don't compile unused files
12054
12055 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12056
12057         * lyxfunc.C:
12058         * commandtags.h:
12059         * LyXAction.C: remove old LFUN_LAYOUTNO
12060
12061 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12062
12063         * paragraph_pimpl.h:
12064         * paragraph_pimpl.C: isTextAt() doesn't need font param
12065
12066 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12067
12068         * lyxlex.h:
12069         * lyxlex.C: little cleanup
12070
12071 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12072
12073         * BufferView_pimpl.C: fix insertAscii for insets
12074
12075 2001-12-05  Juergen Vigna  <jug@sad.it>
12076
12077         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12078         set the right font on the "multi" paragraph paste!
12079
12080 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12081
12082         * trans_decl.h:
12083         * trans_mgr.[Ch]:
12084         * trans.[Ch]:
12085         * lyxgluelength.C:
12086         * lyxlength.C: remove out-commented code.
12087
12088         * BufferView_pimpl:
12089         * CutAndPaste.C:
12090         * DepTable.C:
12091         * buffer.C:
12092         * chset.C:
12093         * lastfiles.C:
12094         * lyxlex.C:
12095         * lyxlex_pimpl.C:
12096         * lyxserver.C:
12097         * screen.C:
12098         * tabular-old.C:
12099         * tabular.C:
12100         * text.C:
12101         * trans_mgr.C:
12102         * vc-backend.C: change "while(" to "while ("
12103
12104         * lyxlength.[Ch]: add zero function to check if length is zero or
12105         not
12106         * lyxgluelength.C: use it
12107
12108 2001-12-05  Allan Rae  <rae@lyx.org>
12109
12110         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12111         Works for 2.95.3, from what I understand of Garst's reports this should
12112         work for other g++ versions.  We're screwed if the abs(int) definition
12113         changed between bugfix releases of gcc.
12114
12115 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12116
12117         * text.C: fix chapter label offset !
12118
12119 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12120
12121         * lyxtext.h:
12122         * text.C: fix hfill at end of line, clean up
12123
12124 2001-12-04  Juergen Vigna  <jug@sad.it>
12125
12126         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12127         that we force an update of the inset and it's owners if neccessary.
12128
12129 2001-12-03  Juergen Vigna  <jug@sad.it>
12130
12131         * text.C (rowLast): simplified code
12132
12133 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12134
12135         * lyxfunc.C: fix show options on timeout
12136
12137 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12138
12139         * screen.C (topCursorVisible): scroll half a page when the cursor
12140         reached top of bottom of screen
12141
12142 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12143
12144         * minibuffer.C: deactivate on loss of focus
12145
12146 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12147
12148         * vspace.[Ch] (operator!=): add operator.
12149
12150 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12151
12152         * BufferView_pimpl.C: refuse to open an inset when
12153         there's a selection.
12154
12155 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12156
12157         * BufferView_pimpl.C: allow to click on RHS of full row insets
12158
12159 2001-11-30  Juergen Vigna  <jug@sad.it>
12160
12161         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12162         insets for undo reasons.
12163
12164 2001-11-28  André Pönitz <poenitz@gmx.net>
12165
12166         * vspace.[Ch]: cosmetical changes
12167
12168 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12169
12170         * LyXAction.h:
12171         * LyXAction.C:
12172         * lyxfunc.h:
12173         * lyxfunc.C:
12174         * kbmap.h:
12175         * kbmap.C:
12176         * lyxrc.C:
12177         * kbsequence.h:
12178         * kbsequence.C: part re-write of old kb code
12179
12180         * Painter.C:
12181         * WorkArea.C: remove Lgb_bug_find_hack
12182
12183 2001-11-30  José Matos <jamatos@fep.up.pt>
12184
12185         * buffer.C (makeDocBookFile): add a comment to point a hack.
12186         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12187         Fixed a double write of labels.
12188
12189 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12190
12191         * LaTeX.C:
12192         * LaTeX.h Fixed bug in LaTeX class where it would not
12193         re-run latex if no depfiles were changed, but the .dvi was removed.
12194
12195 2001-11-28  André Pönitz <poenitz@gmx.net>
12196
12197         * all the files from the change on 2001/11/26:
12198         use lyx::layout_type instead of LyXTextClass::size_type
12199         use lyx::textclass_type instead of LyXTextClassList::size_type
12200
12201 2001-11-29  Juergen Vigna  <jug@sad.it>
12202
12203         * text.C: added support for paragraph::isFreeSpacing()
12204
12205         * buffer.C: same as above
12206
12207         * paragraph.h: inserted isFreeSpacing() function to enable
12208         FreeSpacing inside InsetERT.
12209
12210         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12211         of the paragraph's in the cut/copy buffer to 0!
12212
12213         * text2.C (removeRow): remove the assert as it can!
12214
12215         * lyxtext.h: added helper function firstRow returning firstrow and
12216         made firstrow private again.
12217
12218         * BufferView2.C (lockInset): don't relock if we're already locked!
12219
12220         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12221         the only paragraph.
12222         (removeRow): added Assert::(firstrow)
12223
12224         * debug.C: forgot to add INSETTEXT here.
12225
12226 2001-11-28  Juergen Vigna  <jug@sad.it>
12227
12228         * sp_spell.C (initialize): changed error text to more general
12229         spellchecker command use (not only ispell!)
12230
12231         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12232
12233         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12234
12235 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12236
12237         * vspace.C: initialise lyxgluelength on failure
12238
12239 2001-11-28  Allan Rae  <rae@lyx.org>
12240
12241         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12242         declaration & definition that looks like a function declaration.
12243
12244 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12245
12246         * BufferView2.C (copy):
12247         (copyEnvironment): do not clear the selection when doing a copy.
12248
12249         * text.C (paintFirstRow): compilation fix
12250
12251 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12252
12253         * tabular.C (Latex): correct line count when writing latex.
12254
12255 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12256
12257         * paragraph_pimpl.h:
12258         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12259           bug a bit
12260
12261 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12262
12263         * text.C:
12264         * LColor.h:
12265         * LColor.C: change vfillline->added_space
12266
12267         * text.C: add markers and text for added space
12268
12269         * vspace.C: fix comment
12270
12271 2001-11-28  André Pönitz <poenitz@gmx.net>
12272
12273         * paragraph.C: whitespace changes
12274         * all the other files from the change on 2001/11/26:
12275         change *::pos_type into lyx::pos_type
12276
12277 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12278
12279         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12280         language of the document when inserting error insets.
12281
12282 2001-11-26  André Pönitz <poenitz@gmx.net>
12283
12284         * BufferView_pimpl.[Ch]:
12285         *       CutAndPaste.C:
12286         * buffer.[Ch]:
12287         * lyxcursor.[Ch]:
12288         * lyxfind.C:
12289         * lyxfunc.C:
12290         * lyxrow.[Ch]:
12291         * paragraph.[Ch]:
12292         * paragraph_pimpl.[Ch]:
12293         * sp_spell.C:
12294         * text.C:
12295         * text2.C: reduce header dependencies, introduce type for positions
12296
12297 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12298
12299         * <various>: change to use Alert.h
12300
12301 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12302
12303         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12304         when encountering an unknown token.
12305         (readLyXformat2): Show an error message if there were unknown tokens.
12306
12307 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12308
12309         * BufferView2.C:
12310         * BufferView_pimpl.C:
12311         * buffer.C:
12312         * paragraph.h:
12313         * text.C:
12314         * text2.C: use par->isInset()
12315
12316 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12317
12318         * paragraph_pimpl.h:
12319         * paragraph_pimpl.C: cleanup
12320
12321 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12322
12323         * text2.C (removeRow):
12324         * text.C (setHeightOfRow): remove useless (and costly) call to
12325         getRow.
12326
12327 2001-11-20  Allan Rae  <rae@lyx.org>
12328
12329         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12330         Now need Inset*::checkInsertChar() to return true for appropriate
12331         cases so that the characters in the minibuffer will actually be
12332         inserted.
12333
12334 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12335
12336         * text.C: change the order of the includes.
12337         (workWidth): initialize it at once.
12338         (workWidth): make maxw unsigned
12339         (setHeightOfRow): remove unused variable (inset)
12340         (selectSelectedWord): remove unused variable (inset)
12341         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12342
12343 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12344
12345         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12346         server is not running.
12347         (openConnection):
12348         (closeConnection): add debug info when server is disabled.
12349
12350         * ColorHandler.C (getGCForeground): send debug message to GUI
12351         channel.
12352
12353         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12354
12355         * kbmap.C (bind): modify because return conventions of
12356         kb_sequence::parse have changed.
12357
12358         * kbsequence.C (parse): only ignore spaces and not any stupid
12359         control character. This avoids tests like s[i] <= ' ', which are
12360         guaranteed to fail with 8bit characters and signed chars.
12361         Change return code to string::npos when there have been no error
12362         (0 was a bad idea when error is at first character)
12363
12364 2001-11-14  José Matos  <jamatos@fep.up.pt>
12365
12366         * buffer.h:
12367         * buffer.C (simpleDocBookOnePar): removed unused argument.
12368
12369 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12370
12371         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12372         insets which are part of a word. Paragraph::isLetter takes care of
12373         that now. Use Paragraph::isInset to identify insets.
12374         (selectSelectedWord): do not test for hyphenation break.
12375
12376         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12377         that protected spaces are considered as spaces.
12378
12379         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12380         Inset::isLetter.
12381
12382 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12383
12384         * lyxserver.h:
12385         * lyxserver.C: fix it. and small cleanup.
12386
12387 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12388
12389         * BufferView_pimpl.C: use inline helpers
12390
12391         * LaTeXFeatures.h:
12392         * LaTeXFeatures.C: fix typos
12393
12394         * Spacing.h:
12395         * Spacing.C: move spacing_string into class
12396
12397         * ToolbarDefaults.C: move stuff into namespace anon
12398
12399         * layout.h: update enum
12400
12401         * lyxfunc.C: use better debug
12402
12403         * minibuffer.h: fix typo
12404
12405         * debug.h:
12406         * debug.C:
12407         * WorkArea.C: add and use Debug::WORKAREA
12408
12409         * lyxtext.h:
12410         * text.C:
12411         * text2.C: code re-organisation, inline helpers
12412
12413 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12414
12415         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12416         std::vector.empty().
12417
12418 2001-11-09  Allan Rae  <rae@lyx.org>
12419
12420         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12421         '\n's after tables.  Tabular and ERT inset work now makes this no
12422         longer necessary.
12423
12424 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12425
12426         * minibuffer.h:
12427         * minibuffer.C: fix crash, improve drop-down completion
12428
12429 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12430
12431         * lyxserver.h:
12432         * lyxserver.C: invalidate fd's when doing endPipe()
12433
12434 2001-11-08  José Matos  <jamatos@fep.up.pt>
12435
12436         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12437         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12438
12439         * paragraph.h:
12440         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12441
12442 2001-11-07  José Matos  <jamatos@fep.up.pt>
12443
12444         * buffer.h:
12445         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12446         const qualifier.
12447
12448         * buffer.C (sgmlOpenTag):
12449         * buffer.C (sgmlCloseTag): removed debug info.
12450
12451         * buffer.h (sgmlOpenTag):
12452         * buffer.h (sgmlCloseTag): made public.
12453
12454 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12455
12456         * buffer.C (saveParamsAsDefaults):
12457         * lyx_cb.C (MenuLayoutSave): remove
12458
12459         * LyXAction.C (init):
12460         * commandtags.h:
12461         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12462
12463 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12464
12465         * buffer.C (setPaperStuff): removed from here...
12466
12467         * bufferparams.C (setPaperStuff): ... and moved there.
12468
12469 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12470
12471         * minibuffer.h:
12472         * minibuffer.C:
12473         * XFormsView.C: add support for drop-down completion
12474
12475 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12476
12477         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12478         commands.
12479
12480 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12481
12482         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12483         disabled.
12484
12485 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12486
12487         * lyx_main.C: change ref to known bugs
12488
12489 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12490
12491         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12492         to work around older babel problems.
12493
12494 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12495
12496         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12497
12498 2001-10-24  Juergen Vigna  <jug@sad.it>
12499
12500         * tabular-old.C (ReadOld): below variable changes reflected.
12501
12502         * tabular.[Ch]: added ltType struct for longtable header/footer
12503         defines and changed all instances where they are used. Added
12504         future support for double top/bottom rows.
12505
12506 2001-10-24  José Matos  <jamatos@fep.up.pt>
12507
12508         * buffer.h (docbookHandleCaption):
12509         * buffer.C (docbookHandleCaption): removed unused function.
12510         (makeDocBookFile): moved docbook supported version to v4.1.
12511
12512 2001-10-24  José Matos  <jamatos@fep.up.pt>
12513
12514         * tabular.h:
12515         * tabular.C (docbookRow): new function to export docbook code of a row.
12516         (DocBook): now honors the longtable flags.
12517
12518 2001-10-23  José Matos  <jamatos@fep.up.pt>
12519
12520         * LaTeXFeatures.h:
12521         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12522         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12523
12524         * buffer.C (makeLinuxDocFile):
12525         (makeDocBookFile): reworked the preamble, more clean, and with
12526         support for lyx defined entities. Changed the document declaration
12527         to be more XML friendly.
12528
12529         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12530         if we need to output XML that should be done with a filter.
12531
12532 2001-10-22  Juergen Vigna  <jug@sad.it>
12533
12534         * sp_pspell.h (class PSpell): add alive function needed in the
12535         controller to see if the spellchecker could be started.
12536
12537 2001-10-22  Juergen Vigna  <jug@sad.it>
12538
12539         * buffer.C (insertStringAsLines): modify the font for inserting
12540         chars in certain conditions by calling checkInsertChar(font).
12541
12542 2001-10-19  Juergen Vigna  <jug@sad.it>
12543
12544         * text.C (workWidth): use getRow instead of wrong algorithm.
12545         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12546
12547 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12548
12549         * lyxserver.h:
12550         * lyxserver.C:
12551         * lyx_main.h:
12552         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12553
12554 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12555
12556         * text.C (workWidth): do not search for the exact row when
12557         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12558         optimization for big documents.
12559
12560 2001-10-18  Juergen Vigna  <jug@sad.it>
12561
12562         * text.C (workWidth): new function with added Inset * parameter.
12563
12564 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12565
12566         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12567
12568         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12569         change return type of getColumnNearX.
12570
12571
12572         * text.C (changeRegionCase): use uppercase/lowercase instead of
12573         toupper/tolower.
12574         (leftMargin):
12575         (rightMargin): simplify code by factoring out the uses of
12576         textclasslist.
12577         (labelFill):
12578         (numberOfHfills):
12579         (setHeightOfRow):
12580         (appendParagraph): use Paragraph::size_type
12581
12582 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12583
12584         * vspace.C (asLatexString): add a missing break
12585
12586 2001-10-15  Herbert Voss  <voss@perce.de>
12587
12588         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12589
12590 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12591
12592         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12593         is not available.
12594
12595 2001-10-10  André Pönitz <poenitz@gmx.net>
12596
12597         * lyxfunc.C: removed greek_kb_flag.
12598
12599 2001-10-10  Herbert Voss  <voss@perce.de>
12600
12601         * lyx_main.C: delete global string help_lyxdir.
12602
12603 2001-10-09  Herbert Voss  <voss@perce.de>
12604
12605         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12606
12607         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12608
12609         * lyx_main.C: added global string help_lyxdir.
12610
12611         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12612
12613 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12614
12615         * lyxrc.C (set_font_norm_type): support iso8859-4
12616
12617 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12618
12619         * LaTeX.C (deplog): add another regex for MikTeX
12620
12621 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12622
12623         * lyxrc.C (set_font_norm_type): support iso8859-3
12624
12625 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12626
12627         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12628
12629         * LaTeXFeatures.C: remove special case of french and index
12630
12631         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12632         before \begin{document}). This solves several incompatibilities.
12633
12634 2001-10-03  Garst Reese  <reese@isn.net>
12635
12636         * lyx_cb.C: change CheckTex error msg.
12637
12638 2001-10-03  José Matos  <jamatos@fep.up.pt>
12639
12640         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12641
12642 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12643
12644         * .cvsignore: update
12645
12646         * lyx_main.C (commandLineVersionInfo): use new style version info.
12647
12648         * buffer.C (writeFile):
12649         (makeLaTeXFile):
12650         (makeLinuxDocFile):
12651         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12652
12653         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12654
12655         * version.h: update to use stuff in version.C
12656
12657         * version.C.in: new file. Contains version information determined
12658         at compile time. This is a merging of version.h and
12659         version_info.h.in.
12660
12661 2001-10-03  Juergen Vigna  <jug@sad.it>
12662
12663         * BufferView_pimpl.C (update): don't change "dirty" status in
12664         updateInset call.
12665
12666 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12667
12668         * WorkArea.C (c-tor): re-position version string slightly.
12669
12670 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12671
12672         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12673         revert to previous code.
12674
12675         WorkArea.[Ch]: (show, destroySplash): methods removed.
12676
12677         WorkArea.C: rework code so that it's an amalgam of the codes before and
12678         after the splash screen was moved to WorkArea.
12679
12680 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12681
12682         * lyxrc.C (read):
12683         * vspace.C (inPixels):
12684         (lyx_advance):
12685         * kbmap.C (bind):
12686         * buffer.C (insertStringAsLines):
12687         (asciiParagraph): fix types to be large enough
12688
12689         * lyxlex_pimpl.h: change member status from short to int
12690
12691         * layout.h: fix type of endlabeltype
12692
12693         * kbmap.C (bind):
12694         * kbsequence.C (parse): change return type to string::size_type
12695
12696         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12697         variable
12698
12699         * Bullet.C (bulletSize):
12700         (bulletEntry): do not use short ints as parameters
12701
12702         * BufferView2.C (insertLyXFile): change a char to an int.
12703
12704         * WorkArea.C (WorkArea): remove unneeded floats in computation
12705
12706 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12707
12708         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12709
12710         * paragraph.C (asString): Do not ignore newline/hfill chars when
12711         copying to the clipboard.
12712
12713 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12714
12715         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12716         after a multi-line inset.
12717
12718 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12719
12720         * paragraph.C (validate): Set NeedLyXFootnoteCode
12721
12722 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12723
12724         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12725         and decrease-error to decrease.
12726
12727 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12728
12729         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12730         it more readable (should be equivalent)
12731
12732 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12733
12734         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12735
12736 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12737
12738         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12739         of a cursor (row, etc.) after a character has been deleted
12740         (deleteEmptyParagraphMechanism): call the method above on _all_
12741         cursors held by the LyXText when a double space has been
12742         detected/deleted.
12743
12744 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12745
12746         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12747         pixmap.
12748         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12749
12750         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12751         background. Use greyOut() and the new show() methods to toggle between
12752         the foreground and background. Add code to remove the splash after
12753         its initial showing.
12754
12755         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12756         (create_forms): no longer call Dialogs::showSplash.
12757
12758 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12759
12760         * .cvsignore: add version_info.h
12761
12762 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12763
12764         * version_info.h.in: new file
12765
12766         * Makefile.am: add version_info.h.in
12767
12768         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12769         version_info.h instead of VERSION_INFO
12770
12771 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12772
12773         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12774         The ERT inset now returns string().
12775
12776 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12777
12778         * lyxtext.h, text.C (selectNextWord): renamed as
12779         selectNextWordToSpellcheck.
12780
12781         * text.C (selectNextWordToSpellcheck): Modified to not select
12782         words inside an ERT inset.
12783
12784 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12785
12786         * lyx_cb.C (MenuLayoutSave): change a bit the question
12787
12788         * sp_base.h: include <sys/types.h>
12789
12790 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12791
12792         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12793
12794 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12795
12796         * several files: fix typos in user-visible strings
12797
12798 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12799
12800         * text2.C (pasteSelection): do not set the selection, since it
12801         will be cleared later. Actually, the intent was to fix the way the
12802         selection was set, but I figured rmoving the code was just as good.
12803
12804 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12805
12806         * FontLoader.C (available): Check if font is available without
12807         loading the font.
12808
12809 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12810
12811         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12812
12813 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12814
12815         * lyxrc.[Ch]: added display_graphics variable and associated code.
12816
12817 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12818
12819         * bufferparams.C (hasClassDefaults): new method. Returns true if
12820         the buffer parameters correspond to known class defaults
12821
12822 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12823
12824         * XFormsView.C (show): set minimum size to the main window.
12825
12826 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12827
12828         * text2.C (copySelection):
12829         (cutSelection):
12830         * lyxfind.C (LyXReplace):
12831         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12832         LyXText::selectionAsString.
12833
12834         * paragraph.C (asString): add "label" argument to the second form
12835
12836         * text2.C (selectionAsString): add "label" argument and pass it to
12837         Paragraph::asString.
12838
12839 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12840
12841         * lyx_main.C (commandLineHelp): remove version information
12842
12843 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12844
12845         * lyx_main.C: add -version commandline option
12846
12847 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12848
12849         * paragraph.h: make the optional constructor arg required instead.
12850         some modifications to other files because of this.
12851
12852         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12853
12854         * lyxserver.C (C_LyXComm_callback): make it static
12855
12856         * lyx_main.C (error_handler): make it static
12857
12858         * lyx_gui.C (LyX_XErrHandler): make it static
12859
12860         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12861
12862         * WorkArea.C: make the extern "C" methods static.
12863
12864         * Makefile.am (lyx_LDADD): simplify
12865
12866 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12867
12868         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12869         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12870
12871         * LyXAction.C (init):
12872         * lyxfunc.C (dispatch): associated code removal.
12873
12874 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12875
12876         * lyxfont.h (isSymbolFont): shut off warning
12877
12878         * text.C (setHeightOfRow):
12879         (getVisibleRow): fix crash with empty paragraphs which have a
12880         bottom line
12881
12882 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12883
12884         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12885         code.
12886
12887 2001-09-04  José Matos  <jamatos@fep.up.pt>
12888         * buffer.C
12889         * buffer.h
12890         * tabular.C (docbook): rename docBook method to docbook.
12891
12892 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12893
12894         * Makefile.am: add dependencies to main.o.
12895
12896 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12897
12898         * FontLoader.C (available): Return false if !lyxrc.use_gui
12899
12900 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12901
12902         * FontInfo.C (query):
12903         * converter.C (view):
12904         * importer.C (Import):
12905         * exporter.C (Export): Can not -> cannot.
12906
12907 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12908
12909         * BufferView_pimpl.C: allow to create index inset even if
12910           string is empty
12911
12912 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12913
12914         * buffer.C (getLists): replace boost::tie code with an explicit pair
12915         as boost::tie can break some compilers.
12916
12917         * iterators.h: Added a std:: declaration to the return type of
12918         ParIterator::size.
12919
12920 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12921
12922         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12923           case.
12924
12925 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12926
12927         * iterators.[Ch]: New files. Provide paragraph iterators.
12928
12929         * buffer.C (changeLanguage): Use paragraph iterators.
12930         (isMultiLingual): ditto
12931
12932         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12933
12934 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12935
12936         * FontLoader.C: Support for cmr font.
12937
12938 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12939
12940         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12941         (available): New method.
12942
12943         * FontInfo.C (getFontname): Use scalable fonts even when
12944         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12945         found.
12946
12947 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12948
12949         * converter.C (Formats::view): reverted! Incorrect fix.
12950
12951 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12952
12953         * converter.C (Formats::view): only output the -paper option
12954         if the dvi viewer is xdvi, thereby fixing bug #233429.
12955
12956 2001-08-23  Herbert Voss  <voss@perce>
12957
12958         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12959
12960 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12961
12962         * Spacing.h (Spacing): Set space to Default on in the default
12963         constructor.
12964
12965 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12966
12967         * vc-backend.h (RCS::versionString): add RCS to version
12968         (CVS::versionString): add CVS to version
12969
12970         * vc-backend.C (scanMaster): do not add CVS to version.
12971         (scanMaster): do not add RCS to version
12972
12973         * lyxvc.C (versionString): new method
12974
12975         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12976
12977 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12978
12979         * Spacing.C (set): initialize fval
12980
12981 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12982
12983         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12984         " or \.
12985
12986 2001-08-16  Juergen Vigna  <jug@sad.it>
12987
12988         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12989
12990 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12991
12992         * BufferView_pimpl.C:
12993         * figureForm.C:
12994         * lyxtext.h:
12995         * text2.C: setParagraph takes linespacing now
12996
12997 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12998
12999         * LyxAction.C: add internal LFUN_CITATION_INSERT
13000
13001         * LyXView.C: actually apply fix
13002
13003         * bufferlist.C: fix open non-existent file
13004
13005         * lyxfind.C: fix indentation
13006
13007         * lyxfunc.C: remove unneeded assert, fix typo
13008
13009 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13010
13011         * MenuBackend.C: use "Floatname List"
13012
13013 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13014
13015         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13016         when converting LaTeX layout to insetERT.
13017         Generate a non-collapsed float when reading old float
13018
13019 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13020
13021         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13022         ERT insets.
13023
13024 2001-08-13  Juergen Vigna  <jug@sad.it>
13025
13026         * text.C (fill): return 0 instead of 20 as this seems to be the more
13027         correct value.
13028
13029 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13030
13031         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13032         lyxrc.font_norm.
13033
13034 2001-08-13  Juergen Vigna  <jug@sad.it>
13035
13036         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13037         casesensitive off.
13038         (SearchBackward): comment out the unlocking of the inset_owner this
13039         should not be needed!
13040
13041 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13042
13043         * Many files: Remove inherit_language, and add latex_language
13044
13045         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13046         collapsible insets.
13047
13048 2001-08-10  Juergen Vigna  <jug@sad.it>
13049
13050         * text.C (prepareToPrint): fixed hfill-width in draw!
13051
13052         * BufferView2.C (selectLastWord): save the selection cursor as this
13053         now is cleared in the function LyXText::clearSelection!
13054
13055 2001-08-08  Juergen Vigna  <jug@sad.it>
13056
13057         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13058         BACKSPACE type functions.
13059
13060         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13061         is only cutted from the document but not put in the cut-buffer, where
13062         still the old stuff should be.
13063
13064         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13065
13066         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13067
13068         * tabular.C (SetWidthOfCell): fixed special case where the width
13069         was not updated!
13070         (LeftLine): handle '|' in align_special.
13071         (RightLine): ditto
13072         (LeftAlreadyDrawed): ditto
13073         (SetWidthOfCell): ditto
13074
13075 2001-08-07  Juergen Vigna  <jug@sad.it>
13076
13077         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13078
13079 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13080
13081         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13082         * lyxlex.[hC]: ditto
13083
13084 2001-08-06  Juergen Vigna  <jug@sad.it>
13085
13086         * text.C (getVisibleRow): fix up row clearing a bit.
13087
13088 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13089
13090         * minibuffer.C: make sure the X server sees the changes in the input.
13091
13092 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13093
13094         * paragraph.C (getFont): split into...
13095         (getLabelFont): this
13096         (getLayoutFont): and this
13097         * paragraph_pimpl.C (realizeFont): calling this
13098
13099         * text2.C (getFont): split into...
13100         (getLayoutFont): this
13101         (getLabelFont): and this
13102         (realizeFont): all three calling this
13103
13104         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13105         files where used.
13106
13107 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13108
13109         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13110
13111 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13112
13113         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13114         layouts from the Quote inset insertion.
13115
13116 2001-08-03  Juergen Vigna  <jug@sad.it>
13117
13118         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13119
13120         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13121         only if status not is already CHANGED_IN_DRAW (second level).
13122
13123         * text.C (draw): don't set the need_break_row when inside an
13124         InsetText LyXText.
13125
13126 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13127
13128         * buffer.C (parseSingleLyXformat2Token): handle more latex
13129         conversion cases.
13130
13131         * bufferview_funcs.[hC]: change function names to
13132         begin with small char, adjust other files.
13133
13134 2001-08-02  André Pönitz <poenitz@gmx.net>
13135
13136         * lyxfunc.C:
13137         BufferView_pimpl.C: remove broken special code for math-greek
13138
13139 2001-08-02  Juergen Vigna  <jug@sad.it>
13140
13141         * BufferView_pimpl.C (update): redone this function so that we
13142         update the text again if there was a CHANGE_IN_DRAW.
13143
13144         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13145         (drawFromTo): added a new internal bool which is used by draw() and
13146         redraw() function.
13147         (general): some cursor drawing problems fixed.
13148
13149 2001-08-01  Juergen Vigna  <jug@sad.it>
13150
13151         * lyxfind.C (LyXFind): fixed
13152         (SearchForward): ditto
13153         (SearchBackward): ditto
13154
13155         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13156         spurius drawing of the cursor in the main area.
13157
13158         * text2.C (status): small fix which could lead to a segfault!
13159         (clearSelection): remove unneeded BufferView param.
13160
13161 2001-08-01  André Pönitz <poenitz@gmx.net>
13162
13163         * lyxfunc.C: small change due to changed mathed interface
13164
13165 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13166
13167         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13168
13169 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13170
13171         * lyxfunc.c: fail gracefully if file doesn't exist
13172
13173         * LyXSendto.C:
13174         * buffer.C:
13175         * lyxfunc.C:
13176         * BufferView_pimpl.C: IsDirWriteable() proto changed
13177
13178         * LyXView.C: fix updateWindowTitle() to store the last title
13179
13180 2001-07-31  Juergen Vigna  <jug@sad.it>
13181
13182         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13183         the font (wrong since using of Paragraph::highestFontInRange).
13184
13185         * paragraph.C (highestFontInRange): added a default_size parameter.
13186
13187         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13188         (setHeightOfRow): reformat
13189
13190 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13191
13192         * converter.[hC] + affected files: move to (inital-char)lowercase
13193         function names.
13194
13195         * ParagraphParameters.C (ParagraphParameters): remove commented code
13196
13197         * PainterBase.[Ch]: remove commented code
13198
13199         * LaTeXFeatures.h: add "bool floats" for float.sty
13200
13201         * LaTeXFeatures.C (LaTeXFeatures): init floats
13202         (require): handle float
13203         (getPackages): do it with floats
13204
13205 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13206
13207         * BufferView_pimpl.C (Dispatch): improve handling of
13208         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13209
13210         * commandtags.h: #include lyxfont.h here temporarily to avoid
13211         keybinding bug.
13212
13213         * bufferlist.h: include LString.h here.
13214
13215 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13216
13217         * text2.C (getStringToIndex): new method.
13218
13219 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13220
13221         * *: Reduced header file dependencies all over.
13222
13223 2001-07-30  Baruch Even  <baruch@lyx.org>
13224
13225         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13226
13227 2001-07-29  Baruch Even  <baruch@lyx.org>
13228
13229         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13230
13231 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13232
13233         * ParameterStruct.h (endif): add a default constructor to make
13234         sure that all variables is initialized.
13235
13236         * ParagraphParameters.C (ParagraphParameters): adjust
13237
13238 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13239
13240         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13241         index; also, check that there is something to index, and that it
13242         does not span over several paragraphs.
13243         (doubleClick): use WHOLE_WORD_STRICT for double click.
13244
13245         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13246
13247         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13248         scheme.
13249
13250 2001-07-26  Baruch Even  <baruch@lyx.org>
13251
13252         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13253         an InsetFig figure, backwards compatible reading of old figure code.
13254
13255 2001-07-27  Juergen Vigna  <jug@sad.it>
13256
13257         * text2.C: font.realize function adaption.
13258
13259         * text.C (draw): add a warnings lyxerr text if needed.
13260
13261         * layout.C: font.realize function adaption.
13262
13263         * language.C: add inherit_language and implement it's handlings
13264
13265         * bufferview_funcs.C (StyleReset): remove language parameter from
13266         font creation (should be language_inherit now).
13267
13268         * bufferparams.C (writeFile): handle ignore_language.
13269
13270         * paragraph.C (getFontSettings): the language has to be resolved
13271         otherwise we have problems in LyXFont!
13272
13273         * lyxfont.C (lyxWriteChanges): added document_language parameter
13274         (update): removed unneeded language parameter
13275
13276         * paragraph.C (validate): fixed wrong output of color-package when
13277         using interface colors for certain fonts in certain environments,
13278         which should not seen as that on the final output.
13279
13280 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13281
13282         * BufferView_pimpl.C:
13283         * Thesaurus.h:
13284         * Thesaurus.C:
13285         * Makefile.am:
13286         * commandtags.h:
13287         * LyXAction.C: add thesaurus support
13288
13289         * lyxfind.h:
13290         * lyxfind.C: add "once" parameter, for thesaurus, to not
13291           move to the next match
13292
13293 2001-07-26  Juergen Vigna  <jug@sad.it>
13294
13295         * lyxfont.C (realize): honor ignore_language too!
13296         (resolved): ditto.
13297
13298         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13299
13300         * text.C (draw): one place more for ignore_language to not draw
13301         itself!
13302
13303 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13304
13305         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13306
13307 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13308
13309         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13310         the minipage conversion problem.
13311
13312 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13313
13314         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13315         insert an inset.
13316
13317 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13318
13319         * BufferView.h: don't forward declare WorkArea
13320
13321         * BufferView.C: don't include WorkArea.h
13322
13323 2001-07-25  André Pönitz <poenitz@gmx.net>
13324
13325         * commandtags.h:
13326         * LyXAction.C:
13327         * lyxfunc.C:  new LFUN 'math-space'
13328
13329         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13330
13331 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13332
13333         * text2.C (toggleInset): call open/close
13334
13335 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13336
13337         * lyxfunc.C (dispatch): add debug for the disabled case
13338
13339         * font.C (buttonText): make similar to rectText
13340
13341         * buffer.C (readInset): comment out parsing of insetlist and
13342         insttheorem
13343
13344         * PainterBase.C (rectText): small correction
13345
13346         * BufferView_pimpl.C: comment out insettheorem and insetlist
13347         * LyXAction.C: ditto
13348         * commandtags.h: ditto
13349
13350 2001-07-24  Juergen Vigna  <jug@sad.it>
13351
13352         * text.C (draw): honor the ignore_language.
13353
13354         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13355
13356 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13357
13358         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13359         char inset.
13360
13361 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13362
13363         * lyxtext.h: remove unused (and unimplemented) methods
13364
13365 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13366
13367         * text.C (getVisibleRow): honor background color
13368
13369         * PainterBase.h:
13370         * Painter.h: remove default color argument for fillRectangle
13371
13372         * text.C (backgroundColor): new method
13373
13374 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13375
13376         * text.C (getVisibleRow): adjust
13377
13378         * font.[Ch] (rectText): new method, metrics
13379         (buttonText): new method, metrics
13380
13381         * PainterBase.[hC]: make rectText and buttonText always draw and take
13382         fewer paramteres.
13383
13384 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13385
13386         * ToolbarDefaults.C (read):
13387         * MenuBackend.C (read): allow escaping in all strings
13388
13389         * BufferView_pimpl.C (insertAndEditInset): new method.
13390         (Dispatch): use insertAndEditInset whenever appropriate.
13391
13392         * BufferView_pimpl.C (insertNote): removed
13393
13394         * BufferView_pimpl.C (smartQuote): new method, moved from
13395         BufferView; if an insetquote cannot be inserted, insert a '"'
13396         character instead.
13397
13398         * BufferView2.C: remove insertCorrectQuote();
13399
13400         * lyxfunc.C (getStatus): Add support for all remaingin
13401         inset-insert lfuns.
13402
13403         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13404
13405         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13406         command (necessary to pass " as parameter of self-insert.
13407
13408         * text.C (selectWordWhenUnderCursor):
13409         (selectWord): add word_location parameter
13410         (selectWordWhenUnderCursor): same + remove special code for word
13411         boundary.
13412         (selectNextWord): use kind() to guess type of insetspecialchar,
13413         not latex().
13414
13415         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13416         (insertErtContents): create ert insets as collapsed.
13417         (readInset): better compatibility code for Info inset.
13418
13419 2001-07-20  Juergen Vigna  <jug@sad.it>
13420
13421         * lyxfunc.C (dispatch): use always LyXFind now!
13422
13423         * text2.C (init): add a reinit flag so that the LyXText can be
13424         reinited instead of deleted and reallocated (used in InsetText).
13425
13426         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13427
13428         * text.C: ditto
13429
13430         * text2.C: ditto
13431
13432 2001-07-18  Juergen Vigna  <jug@sad.it>
13433
13434         * text.C (selectNextWord): handle insets inside inset by calling
13435         always the bv->text functions so that we can go up the_locking_inset!
13436
13437         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13438         in strange locations when inside an inset!
13439
13440         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13441         handling to include insets.
13442
13443         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13444
13445 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13446
13447         * LyXAction.C (init):
13448         * commandtags.h:
13449         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13450         LIGATURE_BREAK, since the name is so stupid.
13451
13452 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13453
13454         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13455         InsetInfos.
13456
13457         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13458
13459         * sp_form.[Ch]: remove.
13460
13461         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13462
13463         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13464         InsetInfo.
13465
13466         * src/buffer.C (readInset): ditto.
13467
13468 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13469
13470         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13471         menuSeparator(), endOfSentenceDot(), ldots() and
13472         hyphenationPoint(), which are therefore removed.
13473         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13474
13475         * LyXAction.C (init):
13476         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13477
13478         * paragraph.C (getWord): removed.
13479
13480         * BufferView_pimpl.C (Dispatch): use last word or selection for
13481         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13482
13483         * lyx_main.C (queryUserLyXDir): do not ask before creating
13484         user_dir, except if it has been named explicitely.
13485
13486 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13487
13488         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13489         a document of zero size.
13490
13491 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13492
13493         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13494         approriately in the c-tor and in require().
13495         (getPackages): output the appropriate LaTeX for natbib support.
13496
13497         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13498         variables "use_natbib" and "use_numerical_citations" when reading the
13499         LyX file.
13500         (readInset): read the various natbib cite commands.
13501         (validate): white-space change.
13502
13503         * bufferparams.[Ch]: new variables "bool use_natbib" and
13504         "bool use_numerical_citations".
13505         (writeFile): output them in the LyX file.
13506
13507 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13508
13509         * lyxfunc.C (getStatus): add support for all the inset insertion
13510         commands.
13511
13512         * text2.C (insertInset):
13513         * paragraph.C (insetAllowed):
13514         * BufferView_pimpl.C (insertInset): update to take in account the
13515         renaming of insertInsetAllowed
13516
13517         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13518
13519         * text2.C (getInset): new method. returns inset at cursor position.
13520
13521         * BufferView_pimpl.C (Dispatch): changes because of this.
13522
13523         * LyXAction.C (init): rename open-stuff to inset-toggle.
13524
13525         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13526
13527         * text2.C (toggleInset): renamed from openStuff; use
13528         Inset::open().
13529
13530 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13531
13532         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13533
13534         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13535
13536 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13537
13538         * buffer.C (readLyXformat2): Add filename to the error dialog
13539
13540 2001-07-18  Juergen Vigna  <jug@sad.it>
13541
13542         * tabular.C (GetCellNumber): put an assert here instead of the check!
13543
13544 2001-07-17  Juergen Vigna  <jug@sad.it>
13545
13546         * BufferView_pimpl.C (toggleSelection): adapted too.
13547
13548         * text.C (selectNextWord): adapted for use with insets.
13549         (selectSelectedWord): ditto
13550
13551 2001-07-17  Juergen Vigna  <jug@sad.it>
13552
13553         * sp_spell.C (PSpell): fix initialitation order.
13554
13555 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13556
13557         * paragraph.C: spacing
13558
13559 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13560
13561         * sp_spell.C: repair language selection for pspell
13562
13563 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13564
13565         * lyxfunc.h: change more methods to begin with lower char.
13566
13567 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13568
13569         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13570         for unknown layouts.
13571
13572 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13573
13574         * buffer.C (readLyXformat2): Generate an error dialog if there are
13575         unknown layouts.
13576
13577 2001-07-16  Juergen Vigna  <jug@sad.it>
13578
13579         * sp_spell.C: always compile ISpell part.
13580
13581         * lyxrc.C: added use_pspell entry and it's handling.
13582
13583 2001-07-13  Juergen Vigna  <jug@sad.it>
13584
13585         * sp_spell.C: removed double includes.
13586
13587 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13588
13589         Consistent use of Lsstream.h:
13590         * Lsstream.h: added using std::stringstream for consistencies sake.
13591
13592         * buffer.C: removed using std::stringstream
13593
13594         * lyxfont.C (stateText):
13595         * paragraph.C (asString):
13596         * text.C (selectNextWord, selectSelectedWord):
13597         * text2.C (setCounter):
13598         * vspace.C (asString, asLatexString):
13599         std::ostringstream -> ostringstream.
13600
13601 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13602
13603         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13604         * commandtags.h: add LFUN_HELP_ABOUTLYX
13605         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13606
13607 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13608
13609         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13610         cursorToggle()
13611         * lyx_gui_misc.C: remove spellchecker
13612         * lyxfunc.C: showSpellchecker
13613         * sp_base.h: added
13614         * sp_ispell.h: added
13615         * sp_pspell.h: added
13616         * sp_spell.C: added
13617         * sp_form.[Ch]: removed
13618         * spellchecker.[Ch]: removed
13619
13620 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13621
13622         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13623         is set.
13624         (simpleTeXSpecialChars): Simply print the input character without
13625         any special translation if pass_thru is set.
13626
13627         * layout.h: Added bool pass_thru to layout class for being able to
13628         implement pass through of a paragraph for Literate Programming.
13629
13630         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13631         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13632         * layout.C (Read): add "passthru" to list of layout tags and add
13633         code to set the pass_thru boolean when it is read.
13634
13635 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13636
13637         * trans_decl.h: remove allowed from KmodInfo
13638
13639         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13640         remove allowed code
13641         (Load): adjust
13642
13643         * paragraph_pimpl.C (erase): use boost::prior
13644
13645         * Painter.C (text): use data() instead of c_str() when length is
13646         also provided.
13647         * WorkArea.C (putClipboard): ditto
13648         * font.h (width): ditto
13649
13650         * BufferView2.C: use it-> instead of (*it). for iterators
13651         * texrow.C: ditto
13652         * paragraph_pimpl.C: ditto
13653         * paragraph.C: ditto
13654         * minibuffer.C: ditto
13655         * language.C: ditto
13656         * kbmap.C: ditto
13657         * encoding.C: ditto
13658         * counters.C: ditto
13659         * converter.C: ditto
13660         * chset.C: ditto
13661         * Variables.C: ditto
13662         * TextCache.C: ditto
13663         * MenuBackend.C: ditto
13664         * LyXAction.C: ditto
13665         * LColor.C: ditto
13666         * FloatList.C: ditto
13667         * DepTable.C: ditto
13668         * ColorHandler.C (LyXColorHandler): ditto
13669
13670 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13671
13672         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13673
13674         * text2.C (openStuff): reintroduce this method (which had been
13675         nuked in NEW_INSETS frenzy).
13676
13677         * lyxfunc.C (Dispatch): when an action has not been handled, use
13678         its name in the error message, not its number.
13679
13680         * paragraph.C (inInset): change method name to begin with lowercase.
13681
13682         * undo_funcs.C:
13683         * text2.C: updates because of this.
13684
13685 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13686
13687         * ToolbarDefaults.C (add): add spaces in error message
13688
13689 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13690
13691         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13692         (readLyXformat2): rename return_par to first_par, use lyxlex's
13693         pushToken and remove the manual push handling.
13694         (parseSingleLyXformat2Token): add another ert comp. variable:
13695         in_tabular, rename return_par to first_par. handle newlines better
13696
13697 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13698
13699         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13700
13701 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13702
13703         * text2.C (getParFromID): removed
13704
13705         * buffer.C (getParFromID): new method moved form lyxtext.
13706         * BufferView2.C (insertErrors): adjust
13707         (setCursorFromRow): adjust
13708         * BufferView_pimpl.C (restorePosition): adjust
13709         * lyxfunc.C (Dispatch): adjust
13710         * undo_funcs.C (textUndo): adjust
13711         (textRedo): adjust
13712         (textHandleUndo): adjust
13713         (textHandleUndo): adjust
13714
13715 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13716
13717         * buffer.C: up' the LYX_FORMAT
13718
13719         * lyxfont.h: turn NO_LATEX on as default
13720
13721         * buffer.C (insertErtContents): new methods of tex style compability.
13722         (parseSingleLyXformat2Token): use it several places.
13723         * tabular.C (OldFormatRead): and here
13724
13725 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13726
13727         * text2.C: remove some commented code.
13728         reindent file.
13729
13730         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13731         * trans.C: changes because of the above.
13732
13733 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13734
13735         * text2.C (setCounter): Fix counters bug with bibliography layout.
13736
13737 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13738
13739         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13740         own member functions
13741         (simpleTeXSpecialChars): ditto
13742
13743 2001-07-06  Juergen Vigna  <jug@sad.it>
13744
13745         * a lot of files: changed the access to LyXText::status and the
13746         call of undo-functions.
13747
13748         * undo.[Ch]: added a inset_id to the undo informations.
13749
13750         * undo_funcs.[Ch]: added and moved here all undo functions.
13751
13752         * lyxtext.h: give the status enum a weight, made status_ a private
13753         variable and made accessor functions for it, removed the whole bunch
13754         of undo-functions as they are now in their own file, make some
13755         functions publically available. Added function ownerParagraph with
13756         int parameter.
13757
13758         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13759         made InInset() a const function, added getParFromID() function.
13760
13761         * buffer.[Ch]: added const version for inset_iterator functions,
13762         added getInsetFromID() function.
13763
13764         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13765         changed undo functions for new version.
13766
13767 2001-07-05  Juergen Vigna  <jug@sad.it>
13768
13769         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13770         unknow mechanism does not call the proper constructor but only this
13771         one also if I request the other!?
13772
13773 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13774
13775         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13776
13777         * text2.C (LyXText): use initialization lists.
13778
13779         * lyxtext.h (Selection): initialize set_ and mark_
13780         (init): remove method
13781
13782 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13783
13784         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13785
13786 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13787
13788         * screen.[Ch]: change method names to begin with lowercase
13789
13790         * BufferView_pimpl.C (updateScrollbar): simplify further and
13791         hopefully make it a bit faster.
13792
13793 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13794
13795         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13796         calling directly xforms functions.
13797
13798         * Painter.C (Painter):
13799         * lyx_cb.C (MenuWrite):
13800         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13801         fl_display.
13802
13803         * lyx_gui.C: remove bogus guiruntime extern declaration.
13804
13805 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13806
13807         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13808         in NEW_INSETS
13809         (redoDrawingOfParagraph): ditto
13810         (redoParagraphs): ditto
13811         (cutSelection): don't create a object for CutAndPaste use the
13812         static method directly
13813         (pasteSelection): ditto
13814
13815         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13816         LyXview (+ rename)
13817
13818 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13819
13820         * modifications to some other files because of this.
13821
13822         * Makefile.am (lyx_SOURCES): add XFormsView
13823
13824         * XFormsView.[Ch]: new files
13825
13826         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13827         the main window. Move the gui dependent stuff to XFormsView
13828
13829 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13830
13831         * tabular.C (GetCellInset): update cur_cell also in the row/col
13832         version of this function.
13833
13834         * lyxfunc.C: no need to include figure_form.h here.
13835
13836         * FontLoader.h:
13837         * lyxfunc.h:
13838         * lyxscreen.h:
13839         * text2.C:
13840         * lyxvc.C: no need to include forms.h here.
13841
13842 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13843
13844         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13845
13846         * lyxfunc.C (Dispatch):
13847         * Spacing.C (set):
13848         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13849         constructor argument.
13850
13851 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13852
13853         * paragraph.C (Paragraph): dont't clear, and just set layout.
13854         (makeSameLayout): use params's copy contructor.
13855
13856         * ParagraphParameters.[Ch] (makeSame): delete method
13857
13858 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13859
13860         * Variables.[Ch]: fix indentation, rename set to isSet
13861
13862 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13863
13864         * lyxfunc.C (Dispatch): fix typo
13865
13866 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13867
13868         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13869         upper_bound.
13870
13871         * bufferlist.C: include assert.h for emergencyWrite().
13872
13873 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13874
13875         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13876           give up at last (bug #425202) !
13877
13878 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13879
13880         * lyx_gui_misc.C:
13881         * sp_form.h:
13882         * sp_form.C:
13883         * spellchecker.h:
13884         * spellchecker.C: strip spellchecker options and bring up
13885           preferences tab instead
13886
13887 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13888
13889         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13890         the istringstream constructor
13891
13892 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13893
13894         * paragraph.C (getLayout): fix return value
13895
13896         * paragraph.h: do not declare getLayout as inline.
13897
13898         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13899
13900 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13901
13902         * lyxcursor.h (operator<): new func
13903         (operator>): new func
13904         (operator>=): new func
13905         (operator<=): new func
13906
13907         * text.C (changeCase): use selection.start and selection.end
13908         (changeRegionCase): require from to be <= to. Require par to be a
13909         valid paragraph.
13910
13911         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13912
13913 2001-06-27  Juergen Vigna  <jug@sad.it>
13914
13915         * text.C (cursorLeftOneWord): changed to return the cursor and added
13916         overlay with BufferView * parameter which calls this one.
13917         (getWord): added
13918         (selectWord): use new getWord function.
13919         (changeCase): renamed from changeWordCase as and extended to work
13920         also on selections.
13921
13922         * lyxtext.h: added enum word_location
13923
13924         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13925         changeCase as this operates now also on selections.
13926
13927 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13928
13929         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13930
13931         * many files: send debug output to Debug::INFO instead of
13932         Debug::ANY.
13933
13934         * converter.C (View):
13935         (Convert):
13936         (Move): send debug output to Debug::FILES instead of console.
13937
13938 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13939
13940         * lyxfunc.C (getStatus): use func_status
13941
13942         * func_status.h: new header, describing the results of
13943         LyXFunc::getStatus;
13944
13945         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13946         LFUN_MATH_HALIGN.
13947
13948 2001-06-25  The LyX Project  <jug@sad.it>
13949
13950         * buffer.C (sgmlOpenTag):
13951         (sgmlCloseTag):
13952         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13953
13954 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13955
13956         * text2.C: remove some dead code
13957
13958         * tabular.C (GetCellInset): store the last cell checked (gotten)
13959
13960         * tabular.h: add the helper for the speedup
13961
13962         * lyxtext.h: remove some dead code
13963
13964 2001-06-26  The LyX Project  <Asger>
13965
13966         * paragraph.C: Change export to LaTeX of alignment to
13967         \begin{center} and family for better roundtrip work with reLyX.
13968
13969         * Tune the math drawing a bit.
13970
13971 2001-06-25  The LyX Project  <Asger>
13972
13973         * LColor.C (LColor): New color for math background. New color
13974         for buttons.
13975
13976 2001-06-25  The LyX Project  <jug@sad.it>
13977
13978         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13979
13980         * lyxfunc.C (Open):
13981         * bufferlist.C (newFile): do not restrict to files ending with
13982         .lyx
13983
13984         * BufferView_pimpl.C (MenuInsertLyXFile):
13985
13986 2001-06-24  The LyX Project  <jug@sad.it>
13987
13988         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13989         of compare_no_case
13990
13991 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13992
13993         * lyxtext.h: rename most methods to begin with a small char.
13994         Lots of changes because of this.
13995
13996         * paragraph.C (Paragraph): do not call fitToSize
13997         (erase): call Pimpl::erase
13998         (insertChar): call Pimpl::insertChar
13999         (insertInset): call Pipl::insertInset
14000         (breakParagraph): do not call fitToSize
14001         (breakParagraphConservative): do not call fitToSize
14002         (fitToSize): remove method
14003
14004         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14005
14006 2001-06-24  The LyX Project  <Asger>
14007
14008         * Fix Qt compilation^2
14009
14010 2001-06-24  The LyX Project  <jug@sad.it>
14011
14012         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14013         depthHook(getDepth()-1).
14014
14015         * paragraph.h:
14016         * ParagraphParameters.h:
14017         * ParameterStruct.h: change type of depth to unsigned int ==
14018         depth_type. Many adaptations to other files before of that.
14019
14020 2001-06-24  The LyX Project  <Asger>
14021
14022         * Fix Qt compilation.
14023
14024 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14025
14026         * paragraph.h: renamed several methods to begin with small letter.
14027         several changes to many parts of the code because of this.
14028
14029 2001-06-23  The LyX Project  <jug@sad.it>
14030
14031         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14032         rewritten to discard all double spaces when KeepEmpty is off
14033         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14034         to only handle newlines but not fiddle with spaces and friends.
14035
14036         * lyxfunc.C (MenuNew): when doing 'new from template', use
14037         template_path as default directory
14038
14039 2001-06-23  The LyX Project  <Asger>
14040
14041         * Clean-up of header file includes all over
14042         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14043
14044 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14045
14046         * paragraph.h: renamed from lyxparagraph.h
14047
14048 2001-06-23  Asger  <lyx@violet.home.sad.it>
14049
14050         * Buffer.h: Removed Buffer::resize
14051         * BufferList.h: Removed BufferList::resize
14052         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14053         the document lazily when we change the width, or the font settings.
14054
14055 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14056
14057         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14058
14059 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14060
14061         * buffer.h: remove out of date comment
14062
14063 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14064
14065         * lyxscreen.h:
14066         * screen.C: fix "theoretical" GC leak
14067
14068 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14069
14070         * LaTeX.C (scanAuxFile):
14071         (deplog): remove trailing \r when reading stream (useful under
14072         win32)
14073
14074 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14075
14076         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14077         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14078         and BufferView::theLockingInset(Inset*), so should use them and not
14079         access bv_->text->the_locking_inset directly.
14080
14081         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14082
14083 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14084
14085         * Makefile.am:
14086         * tex-defs.h: remove old unused file
14087
14088 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14089
14090         * BufferView_pimpl.C: fix typo, remove minibuffer message
14091           when buffer has loaded
14092
14093 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14094
14095         * lyxfunc.C (Dispatch): use stringstream
14096         (MenuNew): use stringstream
14097         (Open): use stringstream
14098
14099         * importer.C (Import): use stringstream
14100
14101         * bufferview_funcs.C (CurrentState): use stringstream
14102
14103         * LaTeX.C (run): use stringstream
14104
14105         * BufferView_pimpl.C (savePosition): use stringstream
14106         (restorePosition): use stringstream
14107         (MenuInsertLyXFile): use stringstream
14108
14109 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14110
14111         * BufferView.C:
14112         * Bullet.C:
14113         * ColorHandler.C:
14114         * FontInfo.C:
14115         * FontLoader.C:
14116         * LColor.C:
14117         * LaTeXFeatures.C:
14118         * Painter.C:
14119         * gettext.C:
14120         * lyx_gui_misc.C:
14121         * lyxserver.C:
14122         * vspace.C: removed // -*- C++ -*- as first line.
14123
14124         * lyxfind.h:
14125         * version.h: added // -*- C++ -*- as first line.
14126
14127 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14128
14129         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14130
14131         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14132         of string
14133
14134 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14135
14136         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14137         of floats.
14138
14139 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14140
14141         * gettext.C: include LString.h even when --disable-nls is on.
14142
14143 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14144
14145         * converter.h (Get): changed argument type from int to
14146         FormatList::size_type to avoid unnecessary conversion.
14147
14148         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14149         before using it.
14150
14151 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14152
14153         * gettext.h: include LString.h even when --disable-nls is on.
14154
14155 2001-06-07  Juergen Vigna  <jug@sad.it>
14156
14157         * text.C (BreakAgain): subst spaces with tabs.
14158
14159         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14160         (resizeInsetsLyXText): set force on resizeLyXText.
14161
14162 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14163
14164         * gettext.h (gettext_init):
14165         (locale_init): use a real definition instead of a macro
14166
14167 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14168
14169         * Bufferview_pimpl.C:
14170         * LColor.h:
14171         * LColor.C: further lcolor tidies
14172
14173 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14174
14175         * BufferView_pimpl.C (updateScrollbar): simplify.
14176
14177         * BufferView2.C: don't include insets/insetinfo.h, change
14178         prototype for insertInset and call the Pimpl version. let
14179         updateInset call Pimpl version.
14180
14181         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14182         gotoInset to BufferView::Pimpl
14183
14184 2001-06-01  Juergen Vigna  <jug@sad.it>
14185
14186         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14187         inside a LockingInset (is the update needed at all?).
14188
14189 2001-05-31  Juergen Vigna  <jug@sad.it>
14190
14191         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14192         here not the old one otherwise how should we compare it afterwards
14193         if it's the same!
14194
14195 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14196
14197         * lyxfont.C:
14198         * tabular.C:
14199         * tabular-old.C:
14200         * FontInfo.C: bring C functions into global namespace when
14201         necessary
14202
14203 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14204
14205         * LString.h: make sure config.h has been loaded before LString.h.
14206
14207         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14208         (one for each char read by EatLine!).
14209
14210         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14211         variables.
14212
14213 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14214
14215         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14216         to the same as the par we break from
14217
14218 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14219
14220         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14221
14222         * MenuBackend.C (expand): also create menu entries for wide
14223         versions of the floats.
14224
14225         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14226
14227         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14228
14229         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14230         frontends/Makefile.am
14231
14232         * text2.C: adjust
14233         * text.C: adjust
14234
14235
14236         * tabular.C (getTokenValue): add std::
14237
14238         * tabular-old.C (getTokenValue): add std::
14239         (getTokenValue): ditto
14240         (getTokenValue): ditto
14241
14242         * screen.C (ToggleSelection): adjust
14243
14244         * lyxtext.h: put selection cursors inside a Selection struct.
14245
14246         * lyxfunc.C (moveCursorUpdate): adjust
14247
14248         * lyxfont.C (latexWriteStartChanges): add std::
14249
14250         * lyxfind.C: adjust
14251
14252         * font.h: delete with(char const *, LyXFont const &)
14253
14254         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14255
14256         * FontInfo.C (getFontname): add std::
14257
14258         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14259         (workAreaButtonPress): adjust
14260         (tripleClick): adjust
14261         (update): adjust
14262         (moveCursorUpdate): adjust
14263         (Dispatch): adjust
14264
14265         * BufferView2.C (gotoInset): adjust
14266
14267 2001-05-30  Juergen Vigna  <jug@sad.it>
14268
14269         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14270         to check pspell I add this as default as I now have new pspell
14271         libraries and they seem to use this.
14272
14273 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14274
14275         * text2.C (CutSelection): make the cursor valid before the call to
14276         ClearSelection.
14277
14278 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14279
14280         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14281         relied on 0 terminated strings and other horrors. Bug found due to
14282         the new assert in lyxstring!
14283
14284         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14285         KP_ keys.
14286
14287 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14288
14289         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14290         to latinkeys.bind.
14291
14292         * lyxfunc.C (processKeySym): change method of getting to the
14293         self-insert char.
14294
14295         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14296         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14297         * BufferView_pimpl.[Ch]: here as private methods.
14298
14299 2001-05-28  Juergen Vigna  <jug@sad.it>
14300
14301         * text.C (SetHeightOfRow): added the update() call again as it is
14302         needed to initialize inset dimensions!
14303
14304 2001-05-16  Juergen Vigna  <jug@sad.it>
14305
14306         * text2.C (SetCharFont): Add new function with BufferView * and
14307         bool toggleall parameters for setting insets internal fonts.
14308         (SetFont): Freeze the undo as we may change fonts in Insets and
14309         all this change should be inside only one Undo!
14310
14311         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14312         setting font's in insets as for them we have the SetFont function!
14313
14314 2001-05-15  Juergen Vigna  <jug@sad.it>
14315
14316         * text2.C (ClearSelection): to be sure we REALLY don't have any
14317         selection anymore!
14318
14319         * tabular.C (TeXCellPreamble): fixed the left border problem for
14320         multicolumn cells.
14321
14322 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14323
14324         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14325         dependancy file
14326
14327 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14328
14329         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14330         LFUN_BREAKPARAGRAPH.
14331
14332         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14333         help test to "internal only", similar for LFUN_INSERT_URL
14334
14335         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14336         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14337         auto_region_delete and deadkeys.
14338
14339 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14340
14341         * LColor.h:
14342         * LColor.C: remove some dead entries, tidy a little
14343
14344 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14345
14346         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14347         commented code.
14348         (Dispatch): implement LFUN_ESCAPE
14349
14350         * commandtags.h: add LFUN_ESCAPE
14351
14352         * LyXAction.C (init): add entry for LFUN_ESCAPE
14353
14354         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14355         Remove commented code.
14356         (insertNote): moved here
14357         (open_new_inset): moved here
14358
14359         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14360         BufferView_pimpl
14361
14362 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14363
14364         * kbmap.C (findbinding): clean it up and make it work correctly.
14365
14366         * lyx_main.C (init): do not pass argc and argv as parameters
14367
14368 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14369
14370         * buffer.C: fix path for OS/2 & Win32
14371
14372         * lyx_gui.C:
14373         * lyx_main:
14374         * lyx_main.C: Added os:: class.
14375
14376         * os2_defines.h: update
14377
14378 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14379
14380         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14381         better by trying again with reduced state.
14382
14383 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14384
14385         * lyxrc.C (read): print error about invalid key sequence only when
14386         debugging (because not all latinX keysyms are known to some X
14387         servers)
14388
14389         * kbsequence.C (getiso): add a few std:: qualifiers
14390         (getiso): comment out extra return statement.
14391
14392 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14393
14394         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14395         handling.
14396         (Dispatch): enhance the accent inset a bit. (not perfect)
14397
14398 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14399
14400         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14401
14402 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14403
14404         * bufferlist.C (emergencyWrite): fix assert() call
14405
14406 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14407
14408         * text.C (InsertChar): Added trivial patch to only send the "you
14409         can not do multiple spaces this way" message once during a
14410         session.
14411
14412 2001-05-08  Baruch Even  <baruch@lyx.org>
14413
14414         * Makefile.am: Changed order of libraries to get LyX to link properly
14415         with the gnome frontend.
14416
14417 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14418
14419         * LaTeXFeatures.h: add a std:: qualifier
14420
14421 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14422
14423         * paragraph.C (String): use stringstream
14424
14425 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14426
14427         * paragraph.C (writeFile): remove footflag arg
14428
14429         * buffer.C (makeLaTeXFile): use stringstream
14430         (latexParagraphs): remove footnot gurba
14431
14432         * LaTeXFeatures.C (getPackages): use stringstream
14433         (getMacros): likewise
14434         (getTClassPreamble): likewise
14435         (getFloatDefinitions): new method
14436
14437         * paragraph.C (writeFile): reindent
14438         (Erase): reindent
14439
14440         * WorkArea.h: revert the xpos + etc changes.
14441
14442         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14443
14444         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14445
14446         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14447         (pasteSelection): likewise
14448         * text2.C (CreateUndo): likewise
14449
14450 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14451
14452         * minibuffer.C (peek_event): temporarily reduce the functionality
14453         of the minibuffer (to allow args on lfuns)
14454
14455         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14456         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14457
14458         * buffer.C (readInset): add compability reading of old float
14459         lists, add reading of new style float list.
14460         (readInset): avoid reevaluation of inscmd.getCmdName()
14461         (getLists): reindent
14462
14463         * MenuBackend.C (MenuItem): implement parsing of
14464         md_floatlistinsert and md_floatinsert.
14465         (expand::LastFiles): move initalizaton of iterators out of loop,
14466         avoid reevaluation.
14467         (expand::Documents): introduce typdedef vector<string> Strings,
14468         and use it.
14469         (expand::ExportFormats): introduce typedef vector<Format const *>
14470         Formats, and use it.
14471         (expand): implement FloatListInsert and FloatInsert.
14472
14473         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14474         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14475         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14476
14477         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14478         handling.
14479         (Dispatch::LFUN_FLOAT_LIST): implement
14480
14481 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14482
14483         * LaTeX.C (run): Fix problem with --export code.
14484
14485 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14486
14487         * BufferView.[Ch] (workarea): removed.
14488         (getClipboard) new method; wrapper for workarea()->getClipboard()
14489
14490         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14491         bug.
14492
14493         * WorkArea.h (width, height, xpos, ypos): These methods all
14494         returned the dimensions of the work_area sub-area of WorkArea,
14495         resulting in a position error if the WorkArea were resized. Now
14496         return the dimensions of the entire WorkArea.
14497
14498         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14499
14500 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14501
14502         * LaTeX.C (deplog): correct the syntax of regex reg1
14503
14504 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14505
14506         * undo.C: remove !NEW_INSETS cruft
14507
14508 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14509
14510         * text2.C: remove !NEW_INSETS cruft
14511
14512         * text.C: remove !NEW_INSETS cruft
14513
14514         * tabular.C: remove !NEW_INSETS cruft
14515
14516         * spellchecker.C: remove !NEW_INSETS cruft
14517
14518         * lyxtext.h: remove !NEW_INSETS cruft
14519
14520         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14521
14522         * lyxfunc.C: remove !NEW_INSETS cruft
14523
14524         * lyxfind.C: remove !NEW_INSETS cruft
14525
14526         * lyx_cb.C: remove !NEW_INSETS cruft
14527
14528         * figureForm.C: remove  !NEW_INSETS cruft
14529
14530         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14531
14532         * buffer.[Ch]: remove !NEW_INSETS cruft
14533
14534         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14535
14536         * CutAndPaste.C: remove !NEW_INSETS cruft
14537
14538         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14539
14540         * BufferView2.C: remove !NEW_INSETS cruft
14541
14542         * BufferView.h: remove !NEW_INSETS cruft
14543
14544 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14545
14546         * Lsstream.h: include LString.h before the sstream headers to
14547         fix problem with gcc 2.95.3 and lyxstring
14548
14549 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14550
14551         * lyx_main.C: add using directives when needed for C functions
14552         declared in std:: namespace.
14553
14554 2001-04-27  Juergen Vigna  <jug@sad.it>
14555
14556         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14557         (SetHeightOfRow): comment out the update call should not be needed!
14558
14559 2001-04-13  Juergen Vigna  <jug@sad.it>
14560
14561         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14562         (LyXTabular): tried to minimize operator= operations (and realized
14563         hopfully Lars wish).
14564
14565 2001-04-27  Juergen Vigna  <jug@sad.it>
14566
14567         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14568
14569 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14570
14571         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14572
14573         * buffer.C (readInset): hack to make listof algorithm work
14574
14575         * BufferView_pimpl.C: hack to make listof algorithm work
14576
14577 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14578
14579         * LyXAction.C: removed all !NEW_INSETS cruft
14580         (init): moved lfun_item in method
14581
14582         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14583
14584 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14585
14586         * BufferView2.C (theLockingInset): white space.
14587
14588 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14589
14590         * minibuffer.C: include <iostream>
14591
14592         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14593
14594         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14595
14596         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14597
14598         * text.[Ch] (TransposeChars): new method
14599
14600 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14601
14602         * call message directly through LyXView instead of through LyXFunc
14603         * BufferView2.C: adjust
14604         * BufferView_pimpl.C: adjust
14605         * FontLoader.C: adjust
14606         * buffer.C: adjust
14607         * bufferview_funcs.C: adjust
14608         * converter.C: adjust
14609         * figureForm.C: adjust
14610         * importer.C: adjust
14611         * lyx_cb.C: adjust
14612         * lyx_gui_misc.C: adjust
14613         * lyxfunc.C: adjust
14614         * lyxvc.C: adjust
14615         * text2.C: adjust
14616         + more files in subdirs
14617
14618         * lyxparagraph.h (size): move up int file
14619         (GetLayout): ditto
14620
14621         * adjust all uses of Assert to lyx::Assert.
14622
14623         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14624         lyxfunctional in namespace lyx
14625         * layout.C (hasLayout): ditto
14626         (GetLayout): ditto
14627         (GetLayout): ditto
14628         (delete_layout): ditto
14629         (NumberOfClass): ditto
14630         * converter.C (GetFormat): ditto
14631         (GetNumber): ditto
14632         (Add): ditto
14633         (Delete): ditto
14634         (SetViewer): ditto
14635         * bufferlist.C (getFileNames): ditto
14636         (emergencyWriteAll): ditto
14637         (exists): ditto
14638         (getBuffer): ditto
14639         * MenuBackend.C (hasSubmenu): ditto
14640         (hasMenu): ditto
14641         (getMenu): ditto
14642         * BufferView_pimpl.C (getInsetByCode): ditto
14643
14644 2001-04-18  Juergen Vigna  <jug@sad.it>
14645
14646         * vspace.C (asLatexString): fixed the 100% problem.
14647
14648 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14649
14650         * lyxfunc.C (Dispatch):
14651         * minibuffer.C:
14652         * minibuffer.h: add a few std:: qualifiers
14653
14654 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14655
14656         * minibuffer.[Ch]: reimplement so that commands is initiated and
14657         run from lyxfunc, simplified som handling, and made the completion
14658         and history code for complete. wip.
14659
14660         * lyxfunc.C (processKeySym): call message
14661         (miniDispatch): new temporary method
14662         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14663         (LFUN_MESSAGE): implement
14664         (LFUN_MESSAGE_PUSH): implement
14665         (LFUN_MESSAGE_POP): implement
14666         (initMiniBuffer): the initial/defualt minibuffer message.
14667
14668         * lyxfont.[Ch]: inline some more getters
14669
14670         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14671
14672         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14673
14674         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14675         (AutoSave): use LFUN_MESSAGE
14676         (Reconfigure): ditto
14677
14678         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14679
14680         * figureForm.C: use LFUN_MESSAGE
14681
14682         * converter.C (runLaTeX): use LFUN_MESSAGE
14683
14684         * bufferview_funcs.C: use LFUN_MESSAGE
14685         (Melt): ditto
14686         (changeDepth): ditto
14687
14688         * bufferparams.h: use boost::
14689
14690         * bufferlist.h: inherit privately from noncopyable
14691
14692         * bufferlist.C (loadLyXFile): remove some commented code.
14693
14694         * buffer.C (runChktex): use LFUN_MESSAGE
14695
14696         * ShareContainer.h: inherit privately from noncopyable
14697
14698         * ParagraphParameters.[hC] (depth): inline it.
14699
14700         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14701         methods.
14702         (message): new method
14703         (messagePush): ditto
14704         (messagePop): ditto
14705         (show): init minibuffer
14706         (showState): direct call
14707
14708         * LaTeX.[Ch]: inherit privately from noncopyable
14709         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14710         instead of WriteStatus.
14711
14712         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14713
14714         * BufferView_pimpl.C (buffer): don't init minibuffer
14715         (workAreaButtonPress): use LFUN_MESSAGE
14716         (workAreaButtonRelease): ditto
14717         (savePosition): ditto
14718         (restorePosition): ditto
14719         (MenuInsertLyXFile): ditto
14720         (workAreaExpose): don't init minibuffer
14721         (update): remove commented code, simplify
14722
14723         * BufferView2.C (openStuff): use LFUN_MESSAGE
14724         (toggleFloat): ditto
14725         (menuUndo): ditto
14726         (menuRedo): ditto
14727         (copyEnvironment): ditto
14728         (pasteEnvironment): ditto
14729         (copy): ditto
14730         (cut): ditto
14731         (paste): ditto
14732         (gotoInset): ditto
14733         (updateInset): remove some commented code
14734
14735         * lastfiles.h: inherit privately from noncopyable
14736         * layout.h: ditto
14737         * lyx_gui.h: ditto
14738         * lyx_main.h: ditto
14739         * lyxlex.h: ditto
14740         * lyxlex_pimpl.h: ditto
14741
14742         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14743         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14744         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14745
14746         * LyXAction.h: inherit privately from noncopyable, add methods
14747         func_begin, func_end, returning iterators to the func map.
14748
14749         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14750         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14751         (func_begin): new method
14752         (func_end): new method
14753
14754         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14755         and not)
14756         (copySelection): ditto
14757         (pasteSelection): ditto
14758
14759         * BufferView.C: whitespace change
14760         * BufferView.h: inherit privately from noncopyable
14761
14762 2001-04-16  Allan Rae  <rae@lyx.org>
14763
14764         * tabular-old.C (l_getline):
14765         * spellchecker.C (sc_check_word):
14766         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14767         an unrecognised preprocessor directive.  So ensure they're wrapped.
14768
14769 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14770
14771         * src/exporter.C (Export): Give an error message when path to file
14772         contains spaces.
14773
14774 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14775
14776         * LaTeX.C (deplog): Always check that foundfile exists.
14777
14778 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14779
14780         * lyx_main.h:
14781         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14782
14783 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14784
14785         * tabular.[Ch] (getLabelList): implement new method
14786
14787         * minibuffer.h: comment ouf setTiimer
14788
14789         * minibuffer.C (ExecutingCB): constify res
14790         (peek_event): constify s
14791         (Set): constify ntext
14792         (Init): constify nicename
14793
14794         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14795
14796         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14797         (savePosition): use two params to Minibuffer::Set
14798         (restorePosition): ditto
14799
14800 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14801
14802         * lyx_main.C: include language.h
14803
14804         * Makefile.am (lyx_main.o): add language.h
14805
14806 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14807
14808         * exporter.C:
14809         * paragraph.C:
14810         * screen.C:
14811         * tabular.C:
14812         * CutAndPaste.C: include gettext.h
14813
14814         * lyxfont.h: remove old hack with ON and OFF.
14815
14816         * lyxparagraph.h:
14817         * lyxfont.h: do not include language.h...
14818
14819         * BufferView2.C:
14820         * LaTeXFeatures.C:
14821         * Painter.C:
14822         * bufferview_funcs.C:
14823         * font.C:
14824         * lyxfont.C:
14825         * text.C:
14826         * text2.C:
14827         * trans_mgr.C:
14828         * paragraph.C: ... but do it here instead
14829
14830 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14831
14832         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14833
14834         * tabular.C: small reformat
14835
14836         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14837         NEW_INSETS version
14838         (GetChar): ditto
14839         (BreakParagraph): ditto
14840         (SetOnlyLayout): ditto
14841         (SetLayout): ditto
14842
14843         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14844         with one arg less.
14845
14846         * lastfiles.C: removed most using decl, add std:: where needed
14847
14848         * buffer.C: ws changes
14849
14850         * MenuBackend.C (class compare_format): put into anon namespace
14851         (expand): constify label, names, action, action2
14852         (expand):
14853
14854         * text.C (SingleWidth): constify font
14855         (IsBoundary): constify rtl2
14856         (GetVisibleRow): constify ww
14857
14858         * LaTeX.C (deplog): constify logfile
14859
14860         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14861         start_x, end_x
14862         (workAreaExpose): constify widthChange, heightChange
14863
14864         * lyxrow.C (par): moved
14865         (height): moved
14866         (next): moved
14867         * lyxrow.h: as inlines here
14868
14869         * lyxfont.h (shape): moved from lyxfont.C
14870         (emph): moved from lyxfont.C
14871
14872         * lyxfont.C (LyXFont): use initialization list for all
14873         constructors
14874         (shape): move to lyxfont.h as inline
14875         (emph): move to lyxfont.h as inline
14876
14877
14878 2001-04-04  Juergen Vigna  <jug@sad.it>
14879
14880         * vspace.C: had to include stdio.h for use of sscanf
14881
14882 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14883
14884         * BufferView.h:
14885         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14886         independent of xforms.
14887
14888 2001-04-02  Juergen Vigna  <jug@sad.it>
14889
14890         * spellchecker.C: fixed namespace placing!
14891
14892 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14893
14894         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14895         the LyXParagraph * is 0.
14896
14897 2001-03-29  Juergen Vigna  <jug@sad.it>
14898
14899         * vspace.C: added support for %, c%, p%, l%.
14900         (stringFromUnit): added helper function.
14901         (asLatexString): changed to give right results for the %-values.
14902
14903         * buffer.C: convert the widthp in a width%.
14904
14905 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14906
14907         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14908         figureForm.[Ch].
14909
14910         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14911         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14912
14913         * lyx_cb.[Ch]: see above.
14914
14915         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14916         form1.[Ch].
14917
14918         * form1.[Ch]:
14919         * lyx.[Ch]: replaced by figure_form.[Ch].
14920
14921         * lyx_gui.C:
14922         * lyx_gui_misc.C:
14923         * lyxfunc.C: changed headers associated with above changes.
14924
14925 2001-03-27  Juergen Vigna  <jug@sad.it>
14926
14927         * BufferView_pimpl.C: set the temporary cursor right!
14928
14929 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14930
14931         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14932
14933 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14934
14935         * LString.h: removed "using std::getline"!
14936
14937         * BufferView_pimpl.C (Dispatch): changes due to changes in
14938         InsetInclude::Params.
14939
14940         * buffer.C (tag_name): removed redundant break statements as they were
14941         producing lots of warnings with my compiler.
14942
14943 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14944
14945         * LString.h: add "using std::getline" when using the real <string>.
14946
14947 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14948
14949         * buffer.C: removed bitset usage.
14950         PAR_TAG moved to an anonymous name space.
14951         (tag_name): new funtion, also in the anonymous namespace.
14952         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14953         (makeDocBookFile): clean code. Completed transition from string arrays
14954         to string vectors.
14955         (SimpleDocBookOnePar): code clean.
14956
14957 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14958
14959         * tabular.C: add some comments.
14960
14961 2001-03-22  Juergen Vigna  <jug@sad.it>
14962
14963         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14964         compatibility read a bit and fixed bug with minipage in different
14965         depth.
14966
14967 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14968
14969         * buffer.C (pop_tag): removed.
14970         (push_tag): removed.
14971         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14972         array replaced with vector. Added support for CDATA sections.
14973         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14974         at any nest level.
14975         (makeDocBookFile): XML conformant declaration of CDATA section,
14976         fixed bug related to <emphasis> in the first paragraph char.
14977         (sgmlOpenTag): exclude empty tags.
14978         (sgmlCloseTag): ditto.
14979
14980         * buffer.h (pop_tag): removed.
14981         (push_tag): removed.
14982
14983 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14984
14985         * language.h (Languages): added size_type and size().
14986
14987 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14988
14989         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14990         response on compability reading of minipages. One probliem is that
14991         the old usage of minipages was «flertydig»
14992
14993         * several files here and in subdirs: don't use static at file
14994         scope use anon namespaces instead.
14995
14996 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14997
14998         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14999         LaTeX output. This is necessary for Literate document
15000         processing.
15001
15002 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15003
15004         * buffer.C: insert hfill when needed.
15005
15006         * tabular.C (l_getline): use string::erase, small whitespace change.
15007
15008         * BufferView_pimpl.C: try the anon namespace.
15009         * WorkArea.C: ditto
15010
15011 2001-03-16  Juergen Vigna  <jug@sad.it>
15012
15013         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15014         otherwise it won't open options-dialogs.
15015
15016         * buffer.C: honor pextraWidth(p) on converting minipages.
15017
15018         * tabular.C (l_getline): changed the functions to strip trailing \r.
15019
15020 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15021
15022         * BufferView_pimpl.C:
15023         * minibuffer..C: added "using SigC::slot" declaration.
15024
15025 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15026
15027         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15028
15029         * text2.C: ditto
15030
15031         * text.C: ditto
15032
15033         * paragraph.C: ditto
15034
15035         * lyxtext.h: NO_PEXTRA
15036
15037         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15038
15039         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15040         * ParameterStruct.h: ditto
15041         * ParagraphParameters.h: ditto
15042         * lyxparagraph.h: ditto
15043
15044 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15045
15046         * buffer.C: add compability for minipage alignment.
15047         (latexParagraphs): remove unwanted pextra check.
15048
15049         * several files: remove CXX_WORKING_NAMESPACES
15050
15051         * buffer.C (pop_tag): tie is in namespace boost
15052
15053         * BufferView.h: noncopyable is in namespace boost
15054         * lyxlex.h: ditto
15055         * lyx_main.h: ditto
15056         * lyx_gui.h: ditto
15057         * layout.h: ditto
15058         * lastfiles.h: ditto
15059         * bufferlist.h: ditto
15060         * ShareContainer.h: ditto
15061         * LyXView.h: ditto
15062         * LyXAction.h: ditto
15063         * LaTeX.h: ditto
15064
15065 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15066
15067         * Merging changes from BRANCH_MVC back into HEAD.
15068
15069         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15070
15071 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15072
15073         * BufferView_pimpl.C: change from intl.C
15074
15075         * combox.h:
15076         * combox.C:
15077         * Makefile.am: move combox.*
15078
15079         * form1.h:
15080         * form1.C:
15081         * lyx_gui.C:
15082         * intl.h:
15083         * intl.C: remove dialog (covered by prefs)
15084
15085 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15086
15087         * lyxfunc.C (Dispatch): removed redundant break statement.
15088
15089 2001-03-14  Juergen Vigna  <jug@sad.it>
15090
15091         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15092
15093 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15094
15095         * buffer.C: add hack to fix compability reading of minipages.
15096
15097 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15098
15099         * buffer.C (getLists): Cleanup.
15100
15101 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15102
15103         * lyxfont.C (update): don't honor toggleall on font size.
15104
15105 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15106
15107         * bmtable.c:
15108         * bmtable.h:
15109         * Makefile.am: moved to frontends/xforms/
15110
15111         * lyx_gui_misc.C:
15112         * lyxfunc.C:
15113         * BufferView_pimpl.C: changes for moved mathpanel
15114
15115 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15116
15117         * gettext.h: fix gettext_init() in --disable-nls
15118
15119 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15120
15121         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15122
15123 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15124
15125         * lyx.C:
15126         * lyx.h: strip external form
15127
15128 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15129
15130         * BufferView_pimpl.C: add comment, destroySplash()
15131
15132 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15133
15134         * BufferView_pimpl.C:
15135         * LyXAction.C:
15136         * buffer.C:
15137         * commandtags.h:
15138         * lyxfunc.C: use re-worked insetinclude
15139
15140 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15141
15142         * buffer.C: add using std::stringstream.
15143
15144         * lyx_cb.C: readd using std::ios.
15145
15146         * buffer.C: add using std::map.
15147
15148         * BufferView_pimpl.C: add using std::vector.
15149
15150         * ShareContainer.h: add std:: to swap.
15151
15152         * buffer.h: add some typedefs
15153         * buffer.C (getLists): use them
15154         (getLists): renamed from getTocList.
15155         add a counter for the different float types and use it in the
15156         generated string.
15157         (getLists): use the same counter for the NEW_INSETS and the "non"
15158         NEW_INSETS
15159
15160         * lyx_cb.h: remove unused items, includes, using etc.
15161
15162         * ShareContainer.h: remove some commented code, add more comments
15163         and "documentation".
15164
15165 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15166
15167         * buffer.C (getTocList): make the list also when NEW_INSETS is
15168         defined.
15169
15170         * buffer.h: remove TocType
15171
15172         * buffer.C (getTocList): change to return a map<string,
15173         vector<TocItem> >, implement for dynamic number of list.
15174
15175         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15176         * text2.C (PasteSelection): adjust
15177         * CutAndPaste.C (pasteSelection): adjust
15178
15179         * FloatList.C (FloatList): update from the new_insets branch.
15180         * Floating.[Ch]: ditto
15181         * LaTeXFeatures.C: ditto
15182         * buffer.C: ditto
15183         * lyxlex_pimpl.C: ditto
15184
15185         * paragraph.C (Last): remove when NEW_INSETS is defined.
15186
15187         * other file: changes because of the above.
15188
15189 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15190
15191         * lyxparagraph.h: rename next to next_, previous to previous_,
15192         make them private for NEW_INSETS. Rename Next() to next(),
15193         Previous() to previous().
15194
15195         * other files: changes because of the above.
15196
15197 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15198
15199         * BufferView.h:
15200         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15201         problem.
15202
15203 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15204
15205         * main.C (main): pass lyx_localedir to gettext_init().
15206
15207         * gettext.h: remove locale_init and gettext_init macros
15208
15209         * gettext.C (locale_init): new function
15210         (gettext_init): new function
15211
15212         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15213         setlocale().
15214
15215 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15216
15217         * Moved credits to frontends:
15218         * credits.[Ch]: removed
15219         * credits_form.[Ch]: removed
15220         * lyx_gui_misc.C: remove credits stuff
15221         * Makefile.am:
15222
15223 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15224
15225         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15226
15227         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15228         unneeded destructor.
15229
15230         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15231         a standalone pointer again.
15232
15233         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15234
15235 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15236
15237         * Makefile.am:
15238         * filedlg.h:
15239         * filedlg.C:
15240         * LyXAction.C:
15241         * ToolbarDefaults.C:
15242         * bufferlist.C:
15243         * commandtags.h:
15244         * form1.C:
15245         * form1.h:
15246         * lyx_cb.C:
15247         * lyx_cb.h:
15248         * lyxfunc.h:
15249         * lyxfunc.C:
15250         * BufferView_pimpl.C: use new file dialog in GUII
15251
15252         * lyx_cb.h:
15253         * lyx_cb.C: remove LayoutsCB to Toolbar
15254
15255 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15256
15257         * ShareContainer.h (get): add std:: qualifier
15258
15259 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15260
15261         * ShareContainer.h: define a proper ShareContainer::value_type
15262         type (and use typename to please compaq cxx)
15263
15264 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15265
15266         * lyxparagraph.h: move serveral local vars to
15267         ParameterStruct/ParagraphParameters., use ShareContainer in
15268         FontTable., make vars in FontTable private and add getter and
15269         setter.
15270
15271         * paragraph.C: changes because of the above.
15272
15273         * lyxfont.h: remove copy constructor and copy assignment. (the
15274         default ones is ok), move number inside FontBits. move inlines to
15275         lyxfont.C
15276
15277         * lyxfont.C: add number to initializaton of statics, move several
15278         inlines here. constify several local vars. some whitespace
15279         cleanup. Dont hide outerscope variables.
15280
15281         * Spacing.h: add two new constructors to match the set methods.
15282
15283         * ShareContainer.h: new file, will perhaps be moved to support
15284
15285         * ParameterStruct.h: new file
15286
15287         * ParagraphParameters.h: new file
15288
15289         * ParagraphParameters.C: new file
15290
15291         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15292         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15293
15294         * BufferView_pimpl.C: ParagraphParameter changes.
15295         * buffer.C: Likewise.
15296         * bufferview_funcs.C: Likewise.
15297         * text.C: Likewise.
15298         * text2.C: Likewise.
15299
15300 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15301
15302         * lyxfind.C (LyXReplace): do not redefine default argument in
15303         implementation.
15304         (IsStringInText): ditto
15305         (SearchForward): ditto
15306         (SearchBackward): ditto
15307
15308 2001-03-06  Juergen Vigna  <jug@sad.it>
15309
15310         * lyxfind.C (IsStringInText): put parentes around expressions.
15311
15312 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15313
15314         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15315
15316 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15317
15318         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15319
15320         * stl_string_fwd.h: add comment
15321
15322         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15323
15324         * tabular.h:
15325         * tabular.C: remove unused DocBook methods
15326
15327         * intl.C:
15328         * language.C:
15329         * paragraph.C:
15330         * buffer.C:
15331         killed DO_USE_DEFAULT_LANGUAGE
15332
15333 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15334
15335         * lyx_gui.C: do not include language.h.
15336
15337         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15338         arguments in function implementation.
15339
15340 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15341
15342         * BufferView_pimpl.C: add <ctime>
15343
15344 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15345
15346         * BufferView_pimpl.C: add using std::find_if
15347
15348 2001-02-27  José Matos  <jamatos@fep.up.pt>
15349
15350         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15351         by OnlyPath.
15352
15353 2001-02-11  José Matos  <jamatos@fep.up.pt>
15354
15355         * buffer.C (makeDocBookFile): command styles now have a parameter as
15356         "title" by default.
15357
15358 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15359
15360         * layout_forms.[Ch]: removed
15361         * lyx_cb.[Ch]: out character
15362         * lyx_gui.C: out character
15363         * lyx_gui_misc.C: out character
15364         * bufferview_funcs.C: : out character,
15365         added toggleall as parameter in ToggleAndShow
15366
15367 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15368
15369         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15370
15371         * text2.C (SetCurrentFont): Disable number property at boundary.
15372
15373 2001-02-26  Juergen Vigna  <jug@sad.it>
15374
15375         * lyxfunc.C (getStatus): added a string argument override function so
15376         that this is correctly called from LyXFunc::Dispatch if it contains a
15377         do_not_use_argument which is used!
15378         (Dispatch): added check for "custom" export and call appropriate func.
15379
15380 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15381
15382         * lyxrc.C: Add language_command_local, language_use_babel and
15383         language_global_options.
15384
15385         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15386
15387         * buffer.C (makeLaTeXFile): Use language_use_babel and
15388         language_global_options.
15389
15390 2001-02-23  Juergen Vigna  <jug@sad.it>
15391
15392         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15393         which works with LyXText and putted it inside BufferView. Here now we
15394         only call for that part the BufferView::Dispatch() function.
15395
15396         * BufferView.C (Dispatch): added.
15397
15398         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15399         functions which needs to use a LyXText over from LyXFunc.
15400         (MenuInsertLyXFile): added
15401         (getInsetByCode): added
15402         (moveCursorUpdate): added
15403         (static TEXT): added
15404
15405 2001-02-22  Juergen Vigna  <jug@sad.it>
15406
15407         * BufferView_pimpl.C (update): call a status update to see if LyXText
15408         needs it.
15409
15410 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15411
15412         * vc-backend.C (revert): implement for CVS
15413         (getLog): implement for CVS
15414
15415 2001-02-20  Juergen Vigna  <jug@sad.it>
15416
15417         * text2.C (ClearSelection): added BufferView param for inset_owner call
15418
15419         * lyxfunc.C (TEXT): added this function and use it instead of
15420         directly owner->view()-text of getLyXText().
15421
15422 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15423
15424         * src/layout_forms.C: out preamble
15425         * src/layout_forms.h: out preamble
15426         * src/lyx_cb.C: out preamble
15427         * src/lyx_cb.h: out preamble
15428         * src/lyx_gui.C: out preamble
15429         * src/lyx_gui_misc.C: out preamble
15430         * src/lyxfunc.C: connect with guii preamble
15431
15432 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15433
15434         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15435
15436 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15437
15438         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15439         whether to run bibtex.
15440
15441 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15442
15443         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15444
15445 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15446
15447         * Makefile.am (lyx_SOURCES): removed bibforms.h
15448
15449         * vspace.h: doxygen
15450
15451         * text.C (GetVisibleRow): make several local vars const
15452
15453         * tabular.C: small cleanup.
15454
15455         * lyxserver.C (callback): use compare instead of strncmp
15456
15457         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15458         inlines to after class or to paragraph.C
15459
15460         * lyxfont.h: remove friend operator!=
15461
15462         * converter.h: move friend bool operator< to non friend and after
15463         class def.
15464
15465         * combox.h: small cleanup
15466
15467         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15468         to inlines after class def.
15469
15470         * buffer.C (pop_tag): use string operations instead of strcmp
15471
15472         * bmtable.c: doxygen, small cleanup
15473
15474         * LaTeX.h: remove friend operator==
15475
15476 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15477
15478         * screen.C:
15479         * lyxrc.[Ch]:
15480         * lyxfunc.C:
15481         * lyxfont.[Ch]:
15482         * lyx_cb.C:
15483         * intl.[Ch]:
15484         * commandtags.h:
15485         * buffer.C:
15486         * WorkArea.[Ch]:
15487         * LyXAction.C:
15488         * BufferView_pimpl.C:
15489         * BufferView.[Ch]: remove cruft
15490
15491 2001-02-14  Juergen Vigna  <jug@sad.it>
15492
15493         * lyxfunc.C: removed #if 0 unused code
15494
15495         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15496
15497         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15498
15499         * text2.C (SetSelection): added a BufferView * parameter
15500
15501 2001-02-13  Juergen Vigna  <jug@sad.it>
15502
15503         * lyxfunc.C (Dispatch): fixed protected blank problem.
15504         * BufferView2.C (protectedBlank): added LyxText * parameter.
15505
15506         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15507         (AppendColumn): same as above for column_info.
15508
15509         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15510         (moveCursorUpdate): use a LyXText param for support of InsetText.
15511
15512         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15513         (tripleClick): ditto
15514
15515         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15516
15517         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15518
15519         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15520
15521         * text2.C (SetSelection): set correct update status if inset_owner
15522         (ToggleFree): ditto
15523
15524 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15525
15526         * tabular.C: remove some commented code.
15527
15528 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15529
15530         * BufferView_pimpl.C: call hideSplash()
15531
15532         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15533
15534         * include_form.h:
15535         * bibforms.h: remove
15536
15537         * lyxfunc.C:
15538         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15539           add LFUN_CHILD_CREATE
15540
15541         * counters.h: fix tiny typo
15542
15543         * lyx_cb.C:
15544         * lyx.h:
15545         * lyx_gui.C:
15546         * lyx.C: move splash to frontends/xforms/
15547
15548         * lyx_gui_misc.C: move Include and Bibform to frontends
15549
15550         * lyxvc.h: clarify comment
15551
15552         * vspace.C: tiny housekeeping
15553
15554 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15555
15556         * text.C (PrepareToPrint): RTL Fix.
15557
15558         * paragraph.C (GetUChar): New method.
15559         (String):  Use GetUChar.
15560
15561         * buffer.C (asciiParagraph): Use GetUChar.
15562
15563 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15564
15565         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15566
15567 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15568
15569         * buffer.h:
15570         * buffer.C: rename to getLogName(), handle
15571           build log / latex log nicely
15572
15573 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15574
15575         * MenuBackend.C:
15576         * MenuBackend.h: remove support for reference menuitem type.
15577
15578 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15579
15580         * BufferView_pimpl.C: housekeeping
15581         * BufferView_pimpl.h:
15582         * LyXView.h:
15583         * Makefile.am:
15584         * Timeout.C:
15585         * Timeout.h:
15586         * minibuffer.h: move Timeout GUI-I
15587
15588 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15589
15590         * lyxrc.C (read): Update converters data-structures.
15591
15592 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15593
15594         * LaTeX.h (operator!=): add operator != for Aux_Info
15595
15596 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15597
15598         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15599
15600         * LaTeXLog.C: deleted, useful code moved to Buffer
15601
15602         * buffer.h:
15603         * buffer.C: new function getLatexLogName()
15604
15605         * lyx_gui_misc.C:
15606         * lyx_gui.C:
15607         * lyxvc.C:
15608         * lyxvc.h:
15609         * lyxfunc.C: use frontends for LaTeX and VC logs
15610
15611 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15612
15613         * LaTeX.h: yet another std:: that Allan forgot.
15614
15615         * Variables.C (set): renamed from isset(), because this clashes
15616         with some HP-UX macros (grr).
15617
15618 2001-02-06  Allan Rae  <rae@lyx.org>
15619
15620         * LaTeX.h: Another bug fix.  Missing std:: this time.
15621
15622 2001-02-04  Allan Rae  <rae@lyx.org>
15623
15624         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15625         floats problem. I've left it commented out because it's not quite
15626         correct.  It should also test that the current object is a table or
15627         figure inset.  But I haven't gotten around to figuring out how to do
15628         that.  I *think* it'll be something like: "table" == inset.type()
15629
15630         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15631         bool.
15632
15633 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15634
15635         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15636         all the citation/databases/styles in the auxilary file.
15637         (run): Rerun latex if there was a babel language error.
15638
15639 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15640
15641         * text.C (Backspace): Preserve the font when changing newline char
15642         with a space.
15643         (BreakParagraph): If the cursor is before a space, delete the space.
15644
15645         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15646
15647 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15648
15649         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15650         new argument (code).
15651         (ChangeCitationsIfUnique): New method.
15652
15653         * paragraph.C (GetPositionOfInset): Handle bibkey.
15654
15655 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15656
15657         * BufferView_pimpl.h: change type of Position::par_pos to
15658         LyXParagraph::size_type.
15659
15660 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15661
15662         * BufferView_pimpl.C (savePosition, restorePosition): Write
15663         messages to minibuffer.
15664
15665 2001-01-28  José Matos  <jamatos@fep.up.pt>
15666
15667         * buffer.C (makeDocBookFile): adds support for document language.
15668         A silly restriction on the name of LatexCommand types where removed.
15669         Added support for CDATA sections, allows to chars unescaped, used
15670         among others in code, to avoid escape < and >.
15671
15672 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15673
15674         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15675         saved positions instrad of a stack. Furthermore, a position is
15676         stored using paragraph id/paragraph position.
15677
15678         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15679         Remove LFUN_REF_BACK.
15680
15681 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15682
15683         * converter.C (dvipdfm_options): New method.
15684
15685 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15686
15687         * vspace.C (isValidLength): Fix for empty input string.
15688
15689 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15690
15691         * LyXAction.C (init): change description of LFUN_FIGURE to
15692         "Insert Graphics"
15693
15694 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15695
15696         * LaTeX.C: add using directive
15697
15698 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15699
15700         * MenuBackend.C (expand): Fix the sorting of the formats.
15701
15702 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15703
15704         * lyx_main.C: tiny error message fix
15705
15706 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15707
15708         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15709         calling fl_initialize(). This fixes the problem with ',' as
15710         decimal separator in text files.
15711
15712 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15713
15714         * trans.C (process): Fix the keymap bug.
15715
15716 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15717
15718         * LaTeX.C (scanAuxFiles): New method. Provides support for
15719         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15720         (scanLogFile) Scan for "run BibTeX" messages.
15721
15722         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15723         OT1 font encoding. Also, load the aecompl package if the ae
15724         package is loaded.
15725
15726         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15727
15728 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15729
15730         * texrow.C (increasePos): turn two error messages into debug
15731         messages.
15732
15733 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15734
15735         * LaTeX.C (scanAux): Handle the \@input macro.
15736         (runBibTeX): Use scanAux().
15737
15738         * language.C (latex_options_): New field.
15739
15740         * LaTeXFeatures.C (getMacros): Add language macros.
15741
15742         * buffer.C (makeLaTeXFile): Small fix.
15743
15744 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15745
15746         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15747
15748         * text2.C: add a using directive.
15749
15750 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15751
15752         * BufferView2.C:
15753         * lyx_gui_misc.h:
15754         * lyxfr1.C:
15755         * lyxfunc.C: kill LyXBell.
15756
15757 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15758
15759         * text.C (IsBoundary): Remove the error message
15760
15761         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15762
15763         * lyxrc.C (setDefaults): Correct initialization value for
15764         font_norm_type.
15765
15766 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15767
15768         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15769         gotoError().
15770
15771         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15772         and GotoNextNote().
15773
15774         * src/LyXAction.C: Added reference-next.
15775
15776         * text.C (InsertChar): Use contains instead of strchr.
15777
15778         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15779
15780 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15781
15782         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15783         alignment commands (when needed).
15784
15785         * text.C (InsertChar): Add ':' to number separator chars.