]> git.lyx.org Git - features.git/blob - src/ChangeLog
change "support/std_sstream.h" to <sstream>
[features.git] / src / ChangeLog
1 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
2
3         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
4         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
5         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
6         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
7         * ParagraphParameters.C, LaTeXFeatures.C: replace
8         "support/std_sstream.h" with <sstream>
9
10 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
11
12         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
13         * lyxsocket.C (LyXServerSocket): ditto
14         (serverCallback): ditto
15
16 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
17
18         * LaTeXFeatures.C: check release date when loading jurabib.
19
20 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
21
22         * lyxserver.C (startPipe): call register_socket_callback
23         (endPipe): call unregister_socket_callback
24
25 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
26
27         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
28         (LyXServerSocket): register the callback
29         (LyXServerSocket): unregister the callback
30         (fd): delete function
31         (serverCallback): improve error checking and setup the callbacks.
32         (dataCallback): change arg to fd.
33         (writeln): new func (copied fro the client socket) used for server
34         write to client.
35         (LyXDataSocket): simplify
36         (~LyXDataSocket): close ann unregiser callback
37         (server): delete function
38         (fd): delete function
39         (readln): small changes, improve some std::string usage
40         (writeln): constify a bit
41
42 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
43
44         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
45         Qt frontend
46
47 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
48
49         * BufferView_pimpl.C (setBuffer): set the layout combox value only
50         after it has been populated
51
52 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
53
54         * text2.C (insertInset): move cursor when inserting inset.
55
56 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
57
58         * kbmap.C (findbindings): a couple of new methods. returns a
59         container of kb_sequence objects. The real work is done by the
60         private recursive version
61         (printbindings): uses findbindings to print out a bracketed list
62         of bindings (renamed from findbinding).
63
64         * MenuBackend.C (binding): use kb_keymap::findbindings
65
66         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
67
68 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
69
70         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
71
72 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
73
74         * paragraph.C (isWord): return true on insets that report
75         isLetter().
76
77         * text.C (getWord): use Paragraph::isWord to decide what is in a
78         word and what is not; fix bug 1609.
79
80 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
81
82         * tex-strings.C: add "none" to string_paperpackages[], fixes
83         off-by-one-error in the paperpackage selection.
84
85         * lyxlex.[Ch]:
86         * tex-strings.[Ch]: char const * string[n]
87         -> char const * const string[]
88
89 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
90
91         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
92         command, return early.
93
94 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
95
96         * debug.h: add DEBUG to enum and fix size of ANY.
97
98         * debug.C: add support for Debug::DEBUG
99         (showTags): cast errorTags.level to unsigned int
100
101         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
102         (redoCurrentBuffer): ditto
103         (updateScrollbar): ditto
104         * cursor.C (dispatch): ditto
105         * text2.C (setLayout): ditto
106         (setFont): ditto
107         (updateCounters): ditto
108         (editXY): ditto
109         (deleteEmptyParagraphMechanism): ditto
110
111 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
112
113         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
114         annotations to cleanup the Makefile slightly.
115
116 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
117
118         * lyxrc.C: do not set user_email to a default value but use empty
119         instead. The entry used to be translated, which does not work
120         since at the point where lyxrc is constructed there is no
121         translation service available
122
123         * messages.C (getLocaleDir): remove and use directly
124         lyx_localedir() instead
125
126 2004-06-02  Angus Leeming  <leeming@lyx.org>
127
128         Fix crash caused by dereferencing null pointer 'exportdata' in
129         OutputParams by creating a new ExportData variable on the heap,
130         storing it in a boost::shared_ptr.
131         The crash was triggered when generating an Instant Preview
132         of an external inset.
133
134         * Makefile.am: add outputparams.C
135
136         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
137         (c-tor): allocate memory to it.
138
139         * exporter.C (c-tor): associated changes.
140
141 2004-06-01  Angus Leeming  <leeming@lyx.org>
142
143         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
144         contains data before calling isInset(0). (Bug 1513.)
145
146 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
147
148         * exporter.C (checkOverwrite): new method
149         * exporter.C (copyFile): new method
150         * exporter.C (Export): copy referenced files to the document dir
151         * exporter.[Ch]: new class ExportedFile
152         * exporter.[Ch]: new class ExportData. Contains currently the
153         names of referenced external files
154         * outputparams.h: add exportdata member.
155
156 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
157
158         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
159         version.C-tmp
160
161 2004-05-19  Angus Leeming  <leeming@lyx.org>
162
163         * LaTeXFeatures.C:
164         * ToolbarBackend.C:
165         * bufferparams.C:
166         * lyxfunc.C: small changes due to the introduction of namespace
167         lyx::frontend and the moving of namespace biblio to lyx::biblio.
168
169 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
170
171         * text3.C (dispatch): supress update when only moving the cursor
172         * cursor.C (selHandle): remove commented code
173
174 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
175
176         * paragraph.C (startTeXParParams): correct column count
177         * CutAndPaste.C (pasteSelection): remove const_cast
178         * output_docbook.C (docbookParagraphs): remove const_cast
179         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
180         const_cast and return ParagraphList::const_iterator
181         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
182         * output_plaintext.C (writeFileAscii): remove const_cast
183         * paragraph.[Ch] (simpleTeXOnePar): make const
184         * paragraph_funcs.C (outerPar): use const iterators
185         * paragraph_pimpl.C (validate): use const iterators
186         * text.C (setHeightOfRow): use const iterators
187
188 2004-05-17  Angus Leeming  <leeming@lyx.org>
189
190         * lfuns.h:
191         * LyXAction.C (init): new LFUN_INSET_REFRESH.
192
193         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
194         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
195         if the citation engine has changed.
196
197 2004-05-14  José Matos  <jamatos@lyx.org>
198
199         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
200         if the textclass does not provide it. Have it different for sgml and
201         xml.
202         support the language of document.
203         * output_docbook.C (docbookParagraphs):
204         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
205         first anchor as the id of the paragraph, remove special case code.
206         * sgml.C (escapeChar): escape only < & >.
207
208 2004-05-14  Angus Leeming  <leeming@lyx.org>
209
210         * bufferparams.h: move biblio::CiteEngine enum here to minimize
211         dependencies on src/frontends/controllers/biblio.h. Define a
212         CiteEngine_enum wrapper class to enable the enum to be forward
213         declared.
214
215 2004-05-12  Angus Leeming  <leeming@lyx.org>
216
217         * buffer.C: up LYX_FORMAT to 234.
218         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
219         use_numerical_citations with a single biblio::CiteEngine cite_engine
220         variable.
221         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
222
223 2004-05-13  José Matos  <jamatos@lyx.org>
224
225         * converter.h:
226         * converter.C (Converter, readFlags): add xml member.
227         * outputparams.h: add XML flavor.
228         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
229
230 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
231
232         * lyxfunc.C (dispatch):
233         (getStatus): fix handling of LFUN_SEQUENCE
234
235 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
236
237         * debug.C (showLevel): do not forget the end-of-line marker
238
239 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
240
241         * kbmap.C (read): do not stop parsing a bind file when an error
242         occurs (bug 1575)
243
244 2004-04-29  Angus Leeming  <leeming@lyx.org>
245
246         * cursor.C:
247         * factory.C:
248         * pariterator.C:
249         * text2.C: wrap a bunch of #warning statements
250         inside #ifdef WITH_WARNINGS blocks.
251
252 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
253
254         * buffer.C: increment format to 233.
255
256 2004-04-28  Angus Leeming  <leeming@lyx.org>
257
258         * BufferView_pimpl.C:
259         * lyxfunc.C:
260         * text3.C:
261         s/updateToolbar()/updateToolbars()/
262         s/Toolbar.h/Toolbars.h/
263
264 2004-04-28  Angus Leeming  <leeming@lyx.org>
265
266         * BufferView.[Ch] (c-tor):
267         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
268         No longer passes these data to the WorkArea generator.
269
270 2004-04-28  Angus Leeming  <leeming@lyx.org>
271
272         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
273
274 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
275
276         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
277
278 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
279
280         * output_latex.C (TeXEnvironment): make sure that there is a line
281         break before \end{foo} for the last paragraph of a document
282         (TeXOnePar): if the paragraph is at the end of the document (or
283         inset) and the language has to be reset, then make sure that the
284         line break is _before_ the language command, not after (fixes bug
285         1225); also make sure that the language reset command is the first
286         thing after the paragraph (to ensure proper nesting of
287         environments and thus fix bug 1404)
288
289 2004-04-21  John Levon  <levon@movementarian.org>
290
291         * ToolbarBackend.h:
292         * ToolbarBackend.C: make "name" be a programmatic name
293         and a gui_name field.
294
295         * lyxfunc.C: display the minibuffer on M-x
296
297 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
298
299         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
300         (bug 1526)
301
302 2004-04-19  Angus Leeming  <leeming@lyx.org>
303
304         * BufferView_pimpl.C (setBuffer): changed preview interface.
305
306         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
307         possible values.
308
309 2004-04-19  John Levon  <levon@movementarian.org>
310
311         * BufferView_pimpl.C:
312         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
313
314 2004-04-05  Angus Leeming  <leeming@lyx.org>
315
316         * text.C (redoParagraphs): add call to updateCounters(), thereby
317         fixing the missing "Figure #:" label from the caption of a
318         figure float.
319
320 2004-04-13  Angus Leeming  <leeming@lyx.org>
321
322         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
323         cursor is clicked out of an inset.
324
325 2004-04-13  Angus Leeming  <leeming@lyx.org>
326
327         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
328         than an InsetOld one.
329
330 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
331
332         * format.[Ch]: add editor to Format
333         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
334         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
335
336 2004-04-08  André Pönitz  <poenitz@gmx.net>
337
338         * metricsinfo.h: remove PainterInfo::width member
339
340 2004-04-08  Angus Leeming  <leeming@lyx.org>
341
342         * lyx_sty.C (boldsymbol_def): modify so that it outputs
343         "\providecommand" rather than "\newcommand", thereby preventing
344         clashes with packages that define "\boldsymbol" themselves.
345         Eg, beamer.
346
347 2004-04-08  Angus Leeming  <leeming@lyx.org>
348
349         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
350         thereby squashing an unnecessary warning.
351
352 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
353
354         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
355         setBuffer()
356
357 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
358
359         * BufferView.C (setCursor): call redoParagraph (some insets could
360         have been opened)
361         (putSelectionAt): remove the 'double update' trick
362
363         * BufferView_pimpl.C (fitCursor): call refreshPar
364         (workAreaDispatch): remove an uneeded update call
365         (dispatch): remove some manual update calls
366
367         * cursor.[Ch]: remove cached_y_, updatePos
368         (selHandle): set noUpdate when appropriate
369
370         * lyxfunc.C (dispatch): track if we need an update
371
372         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
373
374         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
375         (paintSelection): cheap optimization, do not call cursorX when not
376         needed
377         (paintPars): change signature
378         (refreshPar): add
379         (paintText): adjust
380         (paintTextInset): adjust
381
382         * text.C: adjust
383
384 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
385
386         * lengthcommon.C: compilation fix: remove explicit array size from
387         unit_name[] and friends
388
389 2004-04-05  Angus Leeming  <leeming@lyx.org>
390
391         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
392
393         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
394         present only for the preferences dialog.
395         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
396
397 2004-04-05  Angus Leeming  <leeming@lyx.org>
398
399         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
400         to enable the frontends to export changes to lyxrc correctly.
401
402         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
403
404 2004-04-07  André Pönitz  <poenitz@gmx.net>
405
406         * cursor.[Ch] (selClear, adjust): remove math
407
408         * cursor_slice.C: more agressive assert
409
410         * lyxfunc.C:
411         * BufferView_pimpl.C: rework mouse event dispatch
412
413         * dociterator.C:
414         * paragraph.C:
415         * text2.C:
416         * text3.C: adjust
417
418 2004-04-05  André Pönitz  <poenitz@gmx.net>
419
420         * cursor.[Ch] (valign, halign...): remove unneeded functions
421
422 2004-04-05  Angus Leeming  <leeming@lyx.org>
423
424         * lyxlength.[Ch] (unit_name et al.): const-correct.
425
426 2004-04-05  Angus Leeming  <leeming@lyx.org>
427
428         * BufferView_pimpl.C:
429         * buffer.C:
430         * counters.C:
431         * cursor.C:
432         * lyxfunc.C
433         * paragraph.C:
434         * pariterator.C:
435         * text.C:
436         * text2.C:
437         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
438
439 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
440
441         * text3.C (getStatus): add LFUN_BEGINNINGBUF
442
443 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
444
445         * lyxfind.C: add a couple of inTexted() tests + other small fixes
446         * BufferView_pimpl.[Ch] (getStatus)
447         * BufferView.[Ch] (getStatus): add
448         * lyxfunc.C (getStatus): move lfuns handled in
449         BufferView::dispatch to te function above
450         * Cursor.C (setSelection): set selection() = true
451
452 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
453
454         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
455
456 2004-03-31  Angus Leeming  <leeming@lyx.org>
457
458         * lyxfunc.C (dispatch): Fall through to the generic
459         Dialogs::show("preamble").
460
461 2004-03-31  Angus Leeming  <leeming@lyx.org>
462
463         * lyxfunc.C (dispatch): Fall through to the generic
464         Dialogs::show("spellchecker").
465
466 2004-03-31  Angus Leeming  <leeming@lyx.org>
467
468         * lyxfunc.C (getStatus, dispatch): changed invocation of the
469         preferences dialog.
470
471 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
472
473         * BufferView.C
474         * cursor.[Ch]
475         * dociterator.[Ch]:
476         * insetiterator.[Ch]:
477         * lyxfind.C:
478         * lyxfunc.C:
479         * pariterator.[Ch]:
480         * text2.C:
481         * undo.[Ch]: s/DocumentIterator/DocIterator/g
482
483 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
484
485         * BufferView.C (setCursor, putSelectionAt): call edit to open the
486         insets where we are putting the cursor.
487
488 2004-03-31  Angus Leeming  <leeming@lyx.org>
489
490         * lfuns.h:
491         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
492
493         * lyxrc.[Ch] (read, write): overloaded member functions taking
494         a std::[io]stream arguments.
495
496         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
497
498 2004-03-31  Angus Leeming  <leeming@lyx.org>
499
500         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
501         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
502
503         * lyxtextclass.C (load): if the text class couldn't be loaded, then
504         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
505
506 2004-03-31  Angus Leeming  <leeming@lyx.org>
507
508         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
509         the LFUN_ALL_INSETS_TOGGLE code.
510
511 2004-03-30  Angus Leeming  <leeming@lyx.org>
512
513         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
514         has died. Fall through to the generic Dialogs::show("document").
515
516 2004-03-30  Angus Leeming  <leeming@lyx.org>
517
518         * lfuns.h:
519         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
520         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
521
522         * lyxfunc.C (getStatus, dispatch): define the actions for these
523         lfuns. Little more than a cut and pste job from ControlDocument.C
524
525         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
526
527 2004-03-30  Angus Leeming  <leeming@lyx.org>
528
529         * lfuns.h:
530         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
531         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
532
533         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
534         open/closed state of ollapsable insets. Usage:
535
536         all-inset-toggle <state> <name>, where
537         <state> == "open" || "closed" || "toggle" and
538         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
539
540         * lyxtext.h, text2.C (toggleInset): removed.
541
542         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
543         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
544         now passes LFUN_INSET_TOGGLE to the found inset.
545
546         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
547         is now invoked as "all-insets-toggle toggle branch".
548
549 2004-03-30  Angus Leeming  <leeming@lyx.org>
550
551         * dociterator.C:
552         * insetiterator.C:
553         * pariterator.[Ch]: added/corrected header blurb.
554
555 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
556
557         * dociterator.[Ch]: add an inset_ member
558         (backwardPos): implemented
559         (backwardPos, forwardPos): use inset_ when the stack is empty.
560         (doc_iterator_begin, doc_iterator_end): implemented
561         * pariterator.[Ch]: adjust, add begin, end
562         * insetiterator.[Ch]: adjust, add begin, end
563         * cursor.C:
564         * document.C:
565         * BufferView.C:
566         * BufferView_pimpl.C:
567         * CutAndPaste.C: adjust
568
569 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
570
571         * buffer.C: increment file format to 232.
572         * LaTeXFeatures.C: add bibtopic package.
573         * bufferparams.[Ch]: param \use_bibtopic.
574
575         * lyxrc.[Ch]: add lyxrc bibtex_command
576         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
577
578         * buffer.C: increment file format to 231.
579
580 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
581
582         * dociterator.C: implement forwardPar
583         * iterators.[Ch]: remove, replaced by
584         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
585         * BufferView.C:
586         * BufferView_pimpl.C:
587         * CutAndPaste.C:
588         * buffer.C:
589         * bufferview_funcs.C:
590         * cursor.C:
591         * lyxfind.C
592         * lyxfunc.C
593         * paragraph_funcs.C
594         * toc.C:
595         * Makefile.am: adjust
596
597 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
598
599         * CutAndPaste.C (pasteSelection): fix 2 crashes
600         (eraseSelection): fix a crash
601         * paragraph_funcs.C: remove a warning
602
603 2004-03-28  Angus Leeming  <leeming@lyx.org>
604
605         * lfuns.h:
606         * LyXAction.C (init): new LFUN_PRINT.
607
608         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
609
610 2004-03-27  Angus Leeming  <leeming@lyx.org>
611
612         * lfuns.h:
613         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
614
615         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
616
617 2004-03-27  Angus Leeming  <leeming@lyx.org>
618
619         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
620         insetlist always contains non-null pointers to insets.
621
622 2004-03-26  Angus Leeming  <leeming@lyx.org>
623
624         * src/BufferView_pimpl.C:
625         * src/CutAndPaste.C:
626         * src/buffer.C:
627         * src/iterators.C:
628         * src/output_plaintext.C:
629         * src/outputparams.h:
630         * src/paragraph_funcs.C:
631         * src/rowpainter.C:
632         * src/text.C:
633         * src/text2.C:
634         * src/frontends/controllers/ControlErrorList.C:
635         * src/frontends/gtk/FileDialogPrivate.C:
636         * src/frontends/gtk/GPainter.C:
637         * src/frontends/gtk/GToolbar.C:
638         * src/frontends/qt2/QRef.C:
639         * src/mathed/math_scriptinset.C: squash compiler warnings.
640
641 2004-03-26  Angus Leeming  <leeming@lyx.org>
642
643         * ispell.C (LaunchIspell::start):
644         * lyx_cb.C (AutoSaveBuffer::start):
645         invoke run(DontWait) rather than runNonBlocking().
646
647 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
648
649         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
650
651 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
652
653         * kbsequence.C (print): adjust
654
655         * kbmap.C (printKeySym): rename and change signature
656         (printKey): use LyXKeySym::print()
657
658 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
659
660         * undo.C: add using std::advance to compile for stlport
661
662 2004-03-24  Angus Leeming  <leeming@lyx.org>
663
664         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
665         it leads to a crash when no buffer is present.
666
667 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
668             Martin Vermeer  <martin.vermeer@hut.fi>
669
670         * lyxfunc.C (dispatch):
671         * bufferparams.C (readToken): use the new LColor::setColor
672
673         * LColor.[Ch] (setColor): new version that takes two strings as
674         argument and creates a new color entry if necessary
675
676 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
677
678         * buffer.C (makeLaTeXFile): if the main latex file that is
679         processed is usually a subdocument of some master, then pretend
680         for a while that it is actually the master
681
682 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
683
684         * buffer.C (getLabelList):
685         (getBibkeyList): use getMasterBuffer()
686         (getMasterBuffer): new method. Returns the main document in the
687         case where one is using included documents.
688
689 2004-03-25  André Pönitz  <poenitz@gmx.net>
690
691         * Makefile.am:
692         * iterators.[Ch]:
693         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
694
695         * ParagraphList_fwd.h: change ParagraphList to a std::vector
696
697         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
698         text*.C over here. Rename namespace CutAndPaste to lyx::cap
699
700         * ParameterStruct.h: merge with ParagraphParameters
701
702         * lyxtext.h: remove LyXText::parOffset() and getPar()
703
704         * text3.C: Remove all 'manual' update calls. We do now one per user
705         interaction which is completely sufficient.
706
707         * Bidi.C:
708         * BufferView.[Ch]:
709         * BufferView_pimpl.C:
710         * FontIterator.[Ch]:
711         * MenuBackend.C:
712         * ParagraphParameters.[Ch]:
713         * buffer.C:
714         * buffer.h:
715         * bufferlist.C:
716         * cursor.[Ch]:
717         * cursor_slice.[Ch]:
718         * dociterator.[Ch]:
719         * errorlist.[Ch]:
720         * factory.C:
721         * lfuns.h:
722         * lyxfind.C:
723         * lyxfunc.C:
724         * output_docbook.[Ch]:
725         * output_latex.[Ch]:
726         * output_linuxdoc.[Ch]:
727         * output_plaintext.[Ch]:
728         * paragraph.[Ch]:
729         * paragraph_funcs.[Ch]:
730         * paragraph_pimpl.[Ch]:
731         * rowpainter.C:
732         * tabular.[Ch]:
733         * text.C:
734         * text2.C:
735         * toc.C:
736         * undo.[Ch]: adjust
737
738         * frontends/controllers/ControlDocument.C:
739         * frontends/controllers/ControlErrorList.C:
740         * frontends/controllers/ControlSpellchecker.C:
741         * insets/inset.C:
742         * insets/inset.h:
743         * insets/insetbase.h:
744         * insets/insetbibitem.C:
745         * insets/insetbox.C:
746         * insets/insetbranch.C:
747         * insets/insetcaption.C:
748         * insets/insetcharstyle.C:
749         * insets/insetcharstyle.h:
750         * insets/insetcollapsable.C:
751         * insets/insetcollapsable.h:
752         * insets/insetert.C:
753         * insets/insetfloat.C:
754         * insets/insetfoot.C:
755         * insets/insetmarginal.C:
756         * insets/insetnote.C:
757         * insets/insetoptarg.C:
758         * insets/insettabular.C:
759         * insets/insettext.C:
760         * insets/insettext.h:
761         * insets/insetwrap.C:
762         * mathed/math_mboxinset.C:
763         * mathed/math_nestinset.C:
764         * mathed/math_scriptinset.C:
765         * mathed/math_scriptinset.h:
766         * support/types.h:
767
768 2004-03-24  Angus Leeming  <leeming@lyx.org>
769
770         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
771         deal with any child processes that have finished but are waiting to
772         communicate this fact to the rest of LyX.
773
774 2004-03-24  Angus Leeming  <leeming@lyx.org>
775
776         64-bit compile fixes.
777
778         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
779         (c-tor): pass lyx::pos_types rather than ints.
780
781         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
782         lyx::pos_type.
783
784         * text.C (Delete): compile fix.
785         (getPar): ensure that function declaration is the same as that in
786         the header file.
787
788 2004-03-23  Angus Leeming  <leeming@lyx.org>
789
790         * ispell.C (LaunchIspell):
791         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
792         a boost::shred_ptr rather than a std::auto_ptr.
793
794 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
795
796         * lyxfunc.C (getStatus): handle read-only buffers correctly;
797         handle LFUN_FILE_INSERT_*
798
799         * lyxrc.C (setDefaults, getDescription, output, read):
800         * lyxrc.h: remove ps_command
801
802 2004-03-22  Angus Leeming  <leeming@lyx.org>
803
804         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
805         Ensure that error_handler is processed once only and that all data
806         is saved before attempting to output any warning messages.
807
808         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
809
810 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
811
812         * tabular.C (TeXRow): crash fix (from Kayvan and André)
813
814 2004-03-19  André Pönitz  <poenitz@gmx.net>
815
816         * cursor.[Ch] (reset): take main text inset as argument
817
818         * BufferView: adjust
819         * BufferView_pimpl.C: adjust
820
821         * paragraph.[Ch]: fix completely broken operator=()
822
823 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
824
825         * LColor.C (getFromLyXName): make sure that the color name is used
826         as lowercase.
827
828 2004-03-17  Angus Leeming  <leeming@lyx.org>
829
830         * lfuns.h:
831         * LyXAction.C (init): remove LFUN_FORKS_KILL.
832
833         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
834         dialog and to kill a forked process.
835
836 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
837
838         * text2.C (setCursorFromCoordinates): fix font problem
839
840 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
841
842         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
843         bogus "rebuild cursor" code
844
845 2004-03-11  André Pönitz  <poenitz@gmx.net>
846
847         * buffer.[Ch]: use InsetText instead of LyXText as container for
848         the main lyx text.
849
850         * dociterator.[Ch]: drop the BufferView * member which is not needed
851         anymore after the change to buffer.C
852
853         * paragraph_funcs.C:
854         * text.C:
855         * text2.C:
856         * BufferView.[Ch]:
857         * BufferView_pimpl.[Ch]:
858         * cursor.[Ch]:
859         * cursor_slice.[Ch]: adjust
860
861         * text3.C: fix bug in mathDispatch
862
863 2004-03-08  André Pönitz  <poenitz@gmx.net>
864
865         * undo.[Ch]: use 'StableDocumentIterator' as base for
866         the Undo struct.
867
868 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
869
870         * LaTeXFeatures.C:
871         * bufferparams.[Ch]: add jurabib support and param.
872
873         * LaTeX.C: add FIXME/comment.
874
875 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
876
877         * buffer.C: increment file format to 230.
878
879 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
880
881         * cursor.C (dispatch): avoid infinite loops
882
883 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
884
885         * rowpainter.C (paintSelection): fix x coordinates
886
887 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
888
889         * text.C (rowBreakPoint): fix breaking before displayed insets
890
891 2004-03-01  André Pönitz  <poenitz@gmx.net>
892
893         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
894
895         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
896
897         * Makefile.am:
898         * BufferView.C:
899         * BufferView_pimpl.C:
900         * buffer.C:
901         * lyxfind.C:
902         * lyxfunc.C:
903         * text.C:
904         * text2.C:
905         * text3.C: adjust
906
907 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
908
909         * lyxtext.h:
910         * text.C:
911         * text2.C:
912         * rowpainter.C:
913         * BufferView_pimpl.C: rename textwidth -> maxwidth,
914         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
915
916 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
917
918         * Bidi.[Ch] (computeTables): const correctness
919         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
920         fill_hfill, fill_label_hfill and x from Row
921         * lyxtext.h: prepareToPrint returns a RowMetrics
922         * rowPainter.C: adjust
923         * text.C (prepareToPrint): use width, not textWidth. adjust
924         (redoParagraphInternal, cursorX): adjust
925         * text2.C (getColumnNearX): adjust
926         (init): put a default value to the top LyXText::width
927
928 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
929
930         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
931
932 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
933
934         * lyxtext.h: add FontIterator class
935
936         * text.C (FontIterator, operator*, operator->, operator++): add
937         (rowBreakPoint, setRowWidth): adjust (fixing a
938         rebreaking bug)
939
940 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
941
942         * BufferView_pimpl.C (workAreaDispatch): allow also
943         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
944
945 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
946
947         * text.C (rowBreakPoint): fix a bug showing with very large insets
948
949 2004-02-25  André Pönitz  <poenitz@gmx.net>
950
951         * text3.C:
952         * cursor.[Ch]: move some mathed specific code to mathed
953
954 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
955
956         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
957         use_tempdir in preferences
958         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
959         tempfile creation
960         * lyx_main.C: ensure that tempdir is valid
961         * lyxlex.h: correct typo
962         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
963         * paragraph.[Ch] (isMultiLingual): make const
964         * cursor.[Ch] (openable): make const
965
966 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
967
968         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
969
970 2004-02-20  André Pönitz  <poenitz@gmx.net>
971
972         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
973
974         * cursor.[Ch]: prepare for localized getStatus()
975
976         * lyxtext.h:
977         * tabular.C:
978         * text.C:
979         * text2.C:
980         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
981
982 2004-02-20  André Pönitz  <poenitz@gmx.net>
983
984         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
985
986 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
987
988         * text2.C (setCursorFromCoordinates): switch to absolute coords
989         (cursorUp): adjust
990         (cursorDown): adjust
991         * text3.C (dispatch): adjust
992
993 2004-02-16  André Pönitz  <poenitz@gmx.net>
994
995         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
996           insets/ChangeLog)
997
998         * cursor_slice.[Ch]: remove unneeded acessor function
999
1000         * lyxtext.h: rename rtl() to isRTL()
1001
1002         * rowpainter.C:
1003         * tabular.C:
1004         * text.C:
1005         * text2.C:
1006         * text3.C: adjust
1007
1008 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1009
1010         * rowpainter.C (paintSelection): coord fix
1011
1012 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1013
1014         * Spacing.C: compile fix
1015
1016 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1017
1018         * cursor.C (dispatch): restore current_ before returning
1019
1020 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1021
1022         * text2.C (cursorUp, cursorDown): fix coords
1023         (moveUp): fix crash
1024
1025 2004-02-12  André Pönitz  <poenitz@gmx.net>
1026
1027         * lyxtext.h:
1028         * text.C:
1029         * text2.C:
1030         * text3.C: add LCursor & parameter to most cursor movement functions
1031           remove usage of LyXText::cursorRow() and cursorPar()
1032
1033         * cursor.[Ch]: add textRow() needed members
1034
1035         * BufferView.C:
1036         * BufferView_pimpl.C:
1037         * paragraph.[Ch]:
1038         * BufferView.C:
1039         * BufferView_pimpl.C: adjust
1040
1041 2004-02-11  André Pönitz  <poenitz@gmx.net>
1042
1043         * lyxfunc.C:
1044         * BufferView.[Ch]:
1045         * BufferView_pimpl.C: shift undo/redo handling
1046
1047         * cursor.[Ch]: fix mathed crash
1048
1049         * lyxfind.C:
1050         * lyxtext.h: move selectionAsText to LCursor
1051
1052         * output_latex.C:
1053         * paragraph.C:
1054         * text.C:
1055         * text2.C:
1056         * text3.C: adjust
1057
1058         * rowpainter.C: fix excessive drawing
1059
1060 2004-02-06  André Pönitz  <poenitz@gmx.net>
1061
1062         * BufferView.[Ch]:
1063         * BufferView_pimpl.[Ch]:
1064         * text3.C: move some text specific LFUN handling
1065
1066 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1067
1068         * text3.C (checkInsetHit): adjust coords
1069         * text2.C (getColumnNearX): adjust coords
1070         (edit): adjust coords
1071         * text.C (getRowNearY): add two asserts
1072
1073 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1074
1075         * converter.C:
1076         * format.C: add using std::distance to compile on gcc 2.95/stlport
1077
1078 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1079
1080         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1081
1082 2004-02-04  André Pönitz  <poenitz@gmx.net>
1083
1084         * BufferView.[Ch] (insertInset):
1085         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1086
1087         * text2.C:
1088         * text3.C: adjust
1089
1090 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1091
1092         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1093         on the default clause of the switch
1094         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1095         wasn't catched by LCursor::dispatch
1096
1097 2004-02-03  André Pönitz  <poenitz@gmx.net>
1098
1099         * BufferView.C:
1100         * cursor.[Ch]: some additional asserts
1101
1102         * undo.[Ch]: remove LyXText dependency in interface
1103
1104         * lyxfunc.C: adjust
1105
1106         * lyxtext.h (firstPar, lastPar): remove dead functions
1107
1108         * text.C:
1109         * text2.C:
1110         * text3.C:
1111         * paragraph.[Ch]: adjust
1112
1113 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1114
1115         * lyxfind.C (find): fix argument order in call to ::find
1116
1117 2004-02-02  André Pönitz  <poenitz@gmx.net>
1118
1119         * cursor.[Ch]: remove direct access to anchor
1120
1121         * text.C: remove findText() hack
1122
1123 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1124
1125         * iterators.[Ch] (lockPath): remove in favour of...
1126         * BufferView.[Ch] (setCursor): this addition
1127         * BufferView.C (putSelectionAt): adjust
1128         * undo.C (performUndoOrRedo): adjust
1129         * lyxfunc.C (dispatch): adjust
1130
1131 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1132
1133         * iterators.C (lockPath): add a missing slice
1134         * undo.C (performUndoOrRedo): remove redundant positioning code
1135
1136 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1137
1138         * vc-backend.C (scanMaster): ";" -> ';'
1139
1140 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1141
1142         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1143         std::binary_function
1144
1145         * lyxtextclass.C (compare_name): rename to...
1146         (LayoutNamesEqual): ...this
1147
1148         * lyxlex_pimpl.C (compare_tags): inherit from
1149         std::binary_function, put back into anon namespace
1150
1151         * lyxfind.C (MatchString): inherig from std::binary_function
1152         (findChange): use empty() istead of !size()
1153
1154         * format.C (FormatNamesEqual): new functor
1155         (getFormat): use it
1156         (getNumber): use it
1157         (add): use it
1158         (erase): use it
1159         (setViewer): use it
1160
1161         * converter.C (compare_Converter): rename to...
1162         (ConverterEqual): ...this, and fixup a bit.
1163         (getConverter): use it, and make function const
1164         (getNumber): use it, and make function const
1165         (add): use it
1166         (erase): use it:
1167
1168         * bufferlist.C: add using boost::bind
1169
1170         * MenuBackend.C (MenuNamesEqual): new functor
1171         (hasMenu): use it, and make function const
1172         (hasSubmenu): use nested bind to get rid of compare_memfun.
1173
1174 2004-01-30  André Pönitz  <poenitz@gmx.net>
1175
1176         * BufferView_pimpl.C:
1177         * cursor.C:
1178         * cursor.h:
1179         * cursor_slice.[Ch]:
1180         * lyxfunc.C:
1181         * lyxtext.h:
1182         * paragraph_funcs.C:
1183         * paragraph_funcs.h:
1184         * rowpainter.C:
1185         * text.C:
1186         * text2.C:
1187         * text3.C: move some of the edit(x,y) handling to the insets
1188         some coordinate changes.
1189
1190 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1191
1192         * text.C: add using statements for std::advance and std::distance
1193
1194         * paragraph.C: add using statement for std::distance
1195
1196         * lyxfind.C: add using statement for std::advance
1197
1198         * cursor.C (region): remove std:: from swap
1199         (openable): use nucleus in stead of operator->
1200
1201         * BufferView.C: add using statements for std::distance and std::swap
1202
1203 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1204
1205         * iterators.C: Remove the pimple, move the needed structures to
1206         the header file. Create accessor for the positions stack.
1207         (asPosIterator): remove function
1208
1209         * PosIterator.C (PosIterator): move constructors to top of file
1210         (PosIterator): reimplement the constructor taking a ParIterator in
1211         terms of setFrom.
1212         (setFrom): new function
1213         (operator!=): inline it
1214
1215 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1216
1217         * lyxfind.C (replaceAll): use std::advance
1218
1219         * iterators.h: inherit from std::iterator.
1220
1221         * PosIterator.C (advance, distance): remove
1222         * PosIterator.h: interit from std::iterator.
1223
1224 2004-01-26  André Pönitz  <poenitz@gmx.net>
1225
1226         * BufferView.[Ch]:
1227         * BufferView_pimpl.[Ch]:
1228         * InsetList.[Ch]:
1229         * PosIterator.[Ch]:
1230         * buffer.h:
1231         * bufferview_funcs.C:
1232         * cursor.[Ch]:
1233         * cursor_slice.h:
1234         * factory.[Ch]:
1235         * iterators.[Ch]:
1236         * lyxfind.C:
1237         * lyxfunc.C:
1238         * lyxtext.h:
1239         * output_docbook.C:
1240         * output_latex.C:
1241         * output_linuxdoc.C:
1242         * output_plaintext.C:
1243         * paragraph.[Ch]:
1244         * paragraph_funcs.[Ch]:
1245         * paragraph_pimpl.[Ch]:
1246         * rowpainter.C:
1247         * tabular.C:
1248         * tabular.h:
1249         * text.C:
1250         * text2.C:
1251         * text3.C: more IU:  dumps most of the rest of the mathcursor
1252     implementation into cursor.[Ch]; "globalize" a bit of it.
1253
1254 2004-01-25  Angus Leeming  <leeming@lyx.org>
1255
1256         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1257
1258 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1259
1260         * LaTeXFeatures.h: add nice_ and nice() const
1261         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1262
1263 2004-01-20  André Pönitz  <poenitz@gmx.net>
1264
1265         * BufferView.[Ch]:
1266         * BufferView_pimpl.C:
1267         * PosIterator.C:
1268         * bufferview_funcs.C:
1269         * cursor.[Ch]:
1270         * cursor_slice.[Ch]:
1271         * factory.C:
1272         * iterators.C:
1273         * lyx_cb.C:
1274         * lyxfind.C:
1275         * lyxfunc.C:
1276         * lyxtext.h:
1277         * rowpainter.C:
1278         * text.C:
1279         * text2.C:
1280         * text3.C:
1281         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1282           LCursor and mathcursor parts to LCursor and InsetBase.
1283
1284 2004-01-15  André Pönitz  <poenitz@gmx.net>
1285
1286         * cursor_slice.[Ch]: add a few covienience functions
1287
1288         * funcrequest.[Ch]: remove BufferView * member
1289
1290         * BufferView_pimpl.C:
1291         * cursor.C:
1292         * factory.[Ch]:
1293         * lyxfind.[Ch]:
1294         * lyxfunc.C:
1295         * lyxtext.h:
1296         * text3.C:
1297         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1298
1299 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1300
1301         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1302         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1303
1304 2004-01-13  André Pönitz  <poenitz@gmx.net>
1305
1306         * textcursor.[Ch]:
1307         * lyxtext.h: hide cursor and selection anchor behind accessor function
1308
1309         * BufferView.C:
1310         * BufferView_pimpl.[Ch]:
1311         * PosIterator.C:
1312         * bufferview_funcs.C:
1313         * cursor.h:
1314         * lyxfind.C:
1315         * lyxfunc.C:
1316         * text.C:
1317         * text2.C:
1318         * text3.C:
1319         * undo.C: adjust
1320
1321         * cursor.h:
1322         * cursor_slice.[Ch]: some integer type changes for inset unification
1323
1324         * lyxcursor.[hC]: remove, it's CursorSlice now.
1325
1326         * Makefile.am:
1327         * BufferView_pimpl.[Ch]:
1328         * bufferview_funcs.C:
1329         * cursor_slice.C:
1330         * lyxtext.h:
1331         * text.C:
1332         * text2.C:
1333         * text3.C:
1334         * textcursor.[Ch]: adjust
1335
1336 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1337
1338         * text2.C (undoSpan): add and use
1339         * text.C (breakParagraph): use undoSpan (fix bug 578)
1340         * lyxtext.h: adjust
1341
1342 2004-01-08  Angus Leeming  <leeming@lyx.org>
1343
1344         * BufferView_pimpl.C (MenuInsertLyXFile):
1345         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1346         * lyxfunc.C (menuNew, open, doImport):
1347         FileFilterList change to the FileDialog open and save functions.
1348
1349 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1350
1351         * ShareContainer.h: make isEqual and isUnique adaptable
1352
1353         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1354
1355 2004-01-07  Angus Leeming  <leeming@lyx.org>
1356
1357         * LyXAction.C:
1358         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1359
1360         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1361
1362         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1363         functions replacing find, replace and replaceAll.
1364
1365         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1366         LFUN_WORDFIND(FORWARD|BACKWARD).
1367
1368 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1369
1370         * text.C (breakParagraph): remove an outdated #warning
1371
1372 2004-01-07  André Pönitz  <poenitz@gmx.net>
1373
1374         * lyxfind.C: somewhat clearer logic
1375
1376         * text.C: prevent crash in cursorX on unitialized row cache
1377
1378 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1379
1380         * lyxcursor.[Ch] (operator>): add
1381         * textcursor.C (selStart, selEnd): use std::min and std::max
1382
1383 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1384
1385         * Chktex.C: include boost/format.hpp
1386
1387 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1388
1389         * InsetList.C: replace functor MathcIt with adaptable functor
1390         InsetTablePosLess
1391         (insetIterator): modify accordingly
1392
1393         * BranchList.h: move the BranchNamesEqual functor here from...
1394         * BranchList.C: ... to here
1395
1396         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1397         SameName and match.
1398         (add): replace a finding loop with std::find_if.
1399
1400 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1401
1402         * output_docbook.C: moving LatexParam functionality into
1403         .layout files
1404
1405 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1406
1407         * buffer.C: increment format to 229.
1408
1409 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1410
1411         * LaTeXFeatures.C:
1412         * lyx_sty.[Ch]: remove minipageindent_def
1413
1414         * LyXAction.C:
1415         * factory.C:
1416         * lfuns.h:
1417         * lyxfunc.C:
1418         * text3.C: remove LFUN_INSET_MINIPAGE
1419
1420 2003-12-28  Angus Leeming  <leeming@lyx.org>
1421
1422         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1423
1424 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1425
1426         * text2.C (setParagraph): fix off-by-one crash
1427
1428 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1429
1430         * output_docbook.C: header stuff for AGU
1431
1432 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1433
1434         * text2.C (redoCursor): remove
1435         * text.C:
1436         * text3.C:
1437         * BufferView_pimpl.C: remove calls to redoCursor and
1438         setCursor(cursor.par(), cursor.pos()) all around
1439
1440 2003-12-15  Angus Leeming  <leeming@lyx.org>
1441
1442         * buffer.C: up the format to 228.
1443
1444 2003-12-15  André Pönitz  <poenitz@gmx.net>
1445
1446         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1447         slices
1448
1449         * Makefile.am:
1450
1451         * BufferView_pimpl.C:
1452         * cursor.[Ch]:
1453         * lyxcursor.[Ch]:
1454         * rowpainter.[Ch]:
1455         * lyxtext.h:
1456         * text.C:
1457         * text2.C:
1458         * text3.C: adjust
1459
1460 2003-12-15  Angus Leeming  <leeming@lyx.org>
1461
1462         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1463         than getFromGUIName to manipulate the color.
1464
1465 2003-12-14  Angus Leeming  <leeming@lyx.org>
1466
1467         * BranchList.[Ch]: minimize the API.
1468         (Branch::getBranch, getColor): now return a 'const &'.
1469         (Branch::setSelected) now returns a bool set to true if the
1470         selection status changes.
1471         (BranchList::clear, size, getColor, setColor, setSelected,
1472         allBranches, allSelected, separator): removed.
1473         (BranchList::find): new functions, returning the Branch with
1474         the given name.
1475         (BranchList::add, remove): return a bool indicating that
1476         the operation was successful.
1477
1478         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1479         new InsetBranch::isBranchSlected member function.
1480
1481         * LColor.[Ch]: mimimize the API.
1482         (fill): renamed as addColor and made private.
1483         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1484         versions of these functions taking a string arg have been removed.
1485
1486         * bufferparams.C (readToken):
1487         * lyxfunc.C (dispatch):
1488         * lyxrc.C (read): changes due to the altered BranchList and
1489         LColor APIs.
1490
1491         * factory.C (createInset, readInset): changes due to altered
1492         InsetBranch c-tor.
1493
1494 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1495
1496         * factory.C:
1497         * lyxfunc.C: remove insetminipage. "minipage-insert"
1498         now produces a frameless minipage box inset.
1499
1500 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1501
1502         * textcursor.[Ch] (selStart,selEnd): add new methods
1503         remove selection::start, end, use LyXCursor::operator<
1504         * lyxcursor.[Ch] (operator<): add
1505         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1506         * BufferView.[Ch] (unsetXSel): add
1507         * text2.C (clearSelection): use unsetXSel,adjust
1508         * text.C: adjust
1509         * text3.C: adjust
1510         * rowpainter.C: adjust
1511         * bufferview_funcs.C (put_selection_at): adjust
1512
1513 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1514
1515         * BufferView_pimpl.C: small coord. correction
1516
1517 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1518
1519         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1520         dragging over the splash screen.
1521
1522 2003-12-11  Angus Leeming  <leeming@lyx.org>
1523
1524         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1525         as it is now handled in LyXText::dispatch.
1526
1527         * text3.C (doInsertInset): remove a level of nesting.
1528
1529 2003-12-11  Angus Leeming  <leeming@lyx.org>
1530
1531         * factory.C (createInset): changes due to the changed interface to
1532         InsetCommandMailer::string2params.
1533
1534 2003-12-10  Angus Leeming  <leeming@lyx.org>
1535
1536         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1537         'dialog-show-new-inset <inset name>'
1538
1539 2003-12-10  Angus Leeming  <leeming@lyx.org>
1540
1541         * buffer.C: up the format to 227.
1542
1543         * factory.C: the box inset is now identified simply by 'Box'.
1544
1545 2003-12-10  Angus Leeming  <leeming@lyx.org>
1546
1547         * buffer.C: up the format to 226.
1548
1549         * factory.C: the note inset is now identified simply by 'Note'.
1550
1551 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1552
1553         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1554         when a pit is enough. Standarize a couple of loops.
1555
1556 2003-12-05  Angus Leeming  <leeming@lyx.org>
1557
1558         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1559         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1560         data to the re-worked "log" dialog.
1561
1562 2003-12-03  André Pönitz  <poenitz@gmx.net>
1563
1564         * PosIterator.C:
1565         * iterators.C:
1566         * lyxtext.h:
1567         * output_latex.C:
1568         * paragraph_funcs.C:
1569         * text.C:
1570         * text2.C: use Inset::getText instead of Inset::getParagraph
1571
1572 2003-12-03  André Pönitz  <poenitz@gmx.net>
1573
1574         * buffer.[Ch]:
1575         * lyxtext.h:
1576         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1577         InsetText::read() as LyXText::read()
1578
1579 2003-12-02  Angus Leeming  <leeming@lyx.org>
1580
1581         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1582         type. Add a comment in the implementation that the function uses
1583         the stream's bad() function rather than fail() as the std::streams
1584         would do.
1585
1586 2003-12-02  André Pönitz  <poenitz@gmx.net>
1587
1588         * lyxlex.[Ch]: make interface more similar to std::stream
1589
1590         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1591
1592 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1593
1594         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1595
1596 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1597
1598         * vspace.[Ch]: remove VSpace::NONE
1599
1600 2003-12-01  André Pönitz  <poenitz@gmx.net>
1601
1602         * buffer.[Ch]:
1603         * lyxtext.h: move ParagraphList member to LyXText
1604         rename LyXText::ownerParagraphs to LyXText::paragraph
1605
1606         * CutAndPaste.C:
1607         * bufferview_funcs.C:
1608         * iterators.[Ch]:
1609         * lyx_cb.C:
1610         * paragraph.C:
1611         * rowpainter.C:
1612         * tabular.C:
1613         * text.C:
1614         * text2.C:
1615         * text3.C: adjust
1616
1617         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1618
1619         * undo.C: fix cursor positioning
1620
1621 2003-12-01  John Levon  <levon@movementarian.org>
1622
1623         * BufferView_pimpl.C: fix a crash on exit with
1624         a buffer open
1625
1626 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1627
1628         * BranchList.C: fix setSelected() method.
1629
1630 2003-11-28  André Pönitz  <poenitz@gmx.net>
1631
1632         * ParagraphParameters.[Ch]:
1633         * ParameterStruct.h: remove space above/below from Paragraph to
1634          InsetVSpace
1635
1636         * BufferView_pimpl.C:
1637         * factory.C:
1638         * lyxfunc.C:
1639         * lyxtext.h:
1640         * output_latex.C:
1641         * paragraph.C:
1642         * paragraph_funcs.C:
1643         * rowpainter.[Ch]:
1644         * text.C:
1645         * text2.C:
1646         * text3.C: adjust
1647
1648 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1649
1650         * factory.C: Syntax change for CharStyles
1651
1652 2003-11-28  André Pönitz  <poenitz@gmx.net>
1653
1654         * BufferView.[Ch]:
1655         * BufferView.[Ch]:
1656         * buffer.[Ch]:
1657         * buffer.[Ch]: move LyXText member
1658
1659 2003-11-28  André Pönitz  <poenitz@gmx.net>
1660
1661         * BufferView.[Ch]: make LyXText * text a private member
1662
1663         * BufferView_pimpl.C:
1664         * cursor.C:
1665         * iterators.C:
1666         * lyx_cb.C:
1667         * lyxfind.C:
1668         * lyxtext.h:
1669         * rowpainter.[Ch]:
1670         * text.C:
1671         * text2.C:
1672         * undo.C: adjust
1673
1674         * output_plaintext.C: cleanup
1675
1676 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1677
1678         * buffer.C:
1679         * lyxtextclass.[Ch]: parametrize SGML document header
1680
1681 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1682
1683         * converter.[Ch]:
1684         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1685         getFlavor().
1686
1687 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1688
1689         * text2.C (setFont): rework using PosIterator (no more recursive)
1690         (setCharFont): no more needed
1691         (setLayout): no more selection cursors fiddling (done by redoCursor)
1692         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1693         destroy remaining ones)
1694
1695 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1696
1697         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1698         * lyxtext.h: ditto
1699         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1700         selection cursors
1701         * lyxfunc.C: adjust
1702         * text3.C: adjust + re-allow multi par depth changes
1703         * textcursor.C: simplify a bit
1704
1705 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1706
1707         * src/buffer.C:
1708         * src/lyxlayout.C:
1709         * src/lyxlayout.h:
1710         * src/lyxtext.h:
1711         * src/output_docbook.C:
1712         * src/output_latex.C:
1713         * src/paragraph.C:
1714         * src/paragraph.h:
1715         * src/sgml.C:
1716         * src/sgml.h:
1717         * src/text2.C: Introducing a number of tags parametrizing various
1718         XML formats that we may want to support
1719
1720 2003-11-25  André Pönitz  <poenitz@gmx.net>
1721
1722         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1723
1724         * lyxtext.h (leftMargin/rightMargin): simplify interface
1725
1726         * rowpainter.C:
1727         * text.C:
1728         * text2.C:
1729         * text3.C: adjust
1730
1731 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1732
1733         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1734         master file to any child files. Fixes bug 546.
1735
1736 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1737
1738         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1739
1740 2003-11-24  André Pönitz  <poenitz@gmx.net>
1741
1742         * rowpainter.C: simplification
1743
1744         * text2.C (updateCounters): remove call to redoParagraph on
1745         changed labels as this is far too expensive.
1746
1747 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1748
1749         * converter.C (convert): fix a crash: this function gets
1750         called with buffer == 0 from importer code.
1751
1752 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1753
1754         * text3.C (cursorPrevious): make sure that we do not compare
1755         iterators form different containers.
1756         (cursorNext): ditto
1757
1758         * rowpainter.C (paintSelection): make sure that we do not compare
1759         iterators from different containers.
1760
1761         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1762         iterators from different ParagraphList containers.
1763         [NEXT] ditto
1764
1765         * text2.C (LyXText): change order of initialization slightly
1766         (operator=): new function. copy all variables except cache_par_
1767         (moveUp): make sure that we do not compare iterators from
1768         different ParagraphList constainers.
1769         (moveDown): ditto
1770
1771         * text.C (firstPar): new function
1772         (lastPar): new function
1773         (endPar): new function
1774
1775         * lyxtext.h: move things around and group public functions, public
1776         variables, private functions, private variables
1777
1778 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1779
1780         * factory.C: change call to InsetERT constructor to avoid
1781         additional invocation of method status
1782         * text2.C (toggleInset): remove redundant update() call
1783         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1784         instead of a Bufferview pointer
1785
1786 2003-11-21  André Pönitz  <poenitz@gmx.net>
1787
1788         * rowpainter.C: simplification
1789
1790 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1791
1792         * text3.C (dispatch): make possible to extend a word/row selection
1793         with the mouse
1794
1795 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1796
1797         * lyxtext.h: x0_,y0_ -> xo_,yo_
1798         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1799         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1800         * rowpainter.C (paintRows): paint full paragraphs
1801
1802 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1803
1804         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1805         screen coordinates)
1806
1807 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1808
1809         * lyxtext.h: add x0_, y0_
1810         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1811         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1812
1813 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1814
1815         * text2.C (setCursorIntern): move the x_target update here *
1816         * text3.C: change some bv() to true/false in calls to
1817         cursorUp/Down/Right/Left
1818         * cursor.C: use helper function.
1819
1820 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1821
1822         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1823         * paragraph_funcs.[Ch]: correct comment
1824         * rowpainter.C: do not paint selections away from bv->cursor()
1825         Fix a long standing selection painting bug.
1826         * text3.C: generalize mouse-selection code to LyXTexts other that
1827         top one
1828         * textcursor.C: do not use y coords if we can use par offsets
1829
1830 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1831
1832         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1833         cursor position after e.g. inset insert)
1834
1835 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1836
1837         * lyxfind.C (replace): adjust to locking removal + some
1838         code simplification
1839
1840 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1841
1842         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1843         of the path
1844
1845 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1846
1847         * lyxlayout.[Ch]:
1848         * output_docbook.C: XML sanitation: new layout
1849         parameters InnerTag and CommandDepth
1850
1851 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1852
1853         * BufferView_pimpl.C:
1854         * factory.C:
1855         * text3.C: Fix the insertion and modification of button-style
1856         insets
1857
1858 2003-11-13  André Pönitz  <poenitz@gmx.net>
1859
1860         * InsetList.[Ch]: remove deleteLyXText
1861
1862         * paragraph.[Ch]: cache beginOfBody position
1863
1864         * Bidi.C:
1865         * text.C:
1866         * text2.C:
1867         * text3.C: remove superfluous update() calls
1868
1869         * vspace.C: cleanup
1870
1871 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1872
1873         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1874         * BufferView.C (fitLockedInsetCursor): remove
1875         * cursor.[Ch] (getDim): add
1876         * text.C (getRowNearY): add faster version
1877         * text3.C: remove some update calls
1878
1879 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1880
1881         * LaTeXFeatures.C:
1882         * LyXAction.C:
1883         * MenuBackend.C:
1884         * MenuBackend.h:
1885         * dispatchresult.h:
1886         * factory.C:
1887         * lfuns.h:
1888         * lyxfunc.C:
1889         * lyxtextclass.C:
1890         * lyxtextclass.h:
1891         * text3.C: The Character Style /XML short element patch.
1892
1893 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1894
1895         * text3.C:
1896         * factory.C: Small step to solving 'unable to insert some insets'
1897         problem
1898
1899 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1900
1901         * cursor.[Ch] (updatePos): new function for updating the y
1902         position of the tip inset
1903         * bufferview_funcs.C (put_selection_at):
1904         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1905
1906 2003-11-11  André Pönitz  <poenitz@gmx.net>
1907
1908         * text.C: remove big comment on invalid Paragraph pointers as it is
1909         not valid anymore
1910
1911 2003-11-11  André Pönitz  <poenitz@gmx.net>
1912
1913         * text_funcs.[Ch]: merge with ...
1914
1915         * text.C: ... this
1916
1917         * lyxtext.h:
1918         * text2.C:
1919         * text3.C: adjust
1920
1921         * Makefile.am: remove text_funcs.[Ch]
1922
1923 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1924
1925         * cursor.C (getPos): return absolute cached y coord
1926
1927         * BufferView_pimpl.C (fitCursor): new simplistic code
1928         (workAreaDispatch): add a fitCursor call
1929
1930 2003-11-10  André Pönitz  <poenitz@gmx.net>
1931
1932         * BufferView.[Ch]:
1933         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1934
1935 2003-11-10  André Pönitz  <poenitz@gmx.net>
1936
1937         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1938         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1939         indicate that the cursor needs to leave an inset
1940
1941         * lyxtext.h: remove inset locking
1942
1943         * cursor.[Ch]: re-implement functionality provided by inset locking
1944
1945         * BufferView.[Ch]:
1946         * BufferView_pimpl.[Ch]:
1947         * LyXAction.C:
1948         * bufferview_funcs.[Ch]:
1949         * factory.C:
1950         * funcrequest.[Ch]:
1951         * iterators.C:
1952         * lyx_cb.C:
1953         * lyxfind.C:
1954         * lyxfunc.C:
1955         * text.C:
1956         * text2.C:
1957         * text3.C:
1958         * undo.C: adjust
1959
1960 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1961
1962         * PosIterator.[Ch]: replace the stack with a vector, add inset
1963         accesor
1964         * iterators.[C]: adjust
1965
1966 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1967
1968         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1969         replaced
1970         * paragraph_funcs.C (readParToken): put the correct id in the
1971         error item, not the id of the top paragraph
1972
1973 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1974
1975         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1976         * bufferview_funcs.C (put_selection_at): use the above
1977
1978 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1979
1980         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1981
1982 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1983
1984         * output_linuxdoc.h:
1985         * output_plaintext.h:
1986         * output.h:
1987         * output_docbook.h: add #include statements
1988
1989 2003-11-05  José Matos  <jamatos@lyx.org>
1990
1991         * output_docbook.[Ch]:
1992         * output_latex.[Ch]:
1993         * output_linuxdoc.[Ch]:
1994         * output_plaintext.[Ch]: New files for output formats.
1995         * output.[Ch]: New file for helper functions.
1996
1997         * buffer.[Ch]:
1998         * paragraph_funcs.[Ch]: output functions moved to new files.
1999
2000         * outputparams.h: rename of latexrunparams.h
2001
2002         * LaTeX.[Ch]:
2003         * buffer.[Ch]:
2004         * bufferlist.[Ch]:
2005         * converter.[Ch]:
2006         * exporter.C:
2007         * paragraph.[Ch]:
2008         * paragraph_funcs.[Ch]:
2009         * paragraph_pimpl.[Ch]:
2010         * tabular.[Ch]: rename ascii to plaintext
2011         and LatexRunParams to OutputParams.
2012
2013 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2014
2015         * iterators.[Ch] (text): require bv argument
2016         * undo.C (recordUndo):
2017         * lyxfunc.C (dispatch):
2018         * bufferview_funcs.C (put_selection_at): adjust
2019
2020 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2021
2022         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2023
2024 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2025
2026         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2027         nestings
2028
2029 2003-11-04  André Pönitz  <poenitz@gmx.net>
2030
2031         * cursor.[Ch]: restructure
2032
2033         * BufferView.[Ch]:
2034         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2035
2036         * iterators.[Ch] (asCursor): remove
2037
2038         * lfuns.h: remove LFUN_INSET_EDIT
2039
2040         * lyxfunc.C:
2041         * tabular.C:
2042         * text.C:
2043         * text2.C:
2044         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2045
2046 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2047
2048         * lyxfind.[Ch]: complete overhaul
2049         * BufferView_pimpl.C:
2050         * lyxfunc.C: adjust
2051         * paragraph.[Ch] (insert): add
2052
2053 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2054
2055         * BufferView.[Ch]:
2056         * lyxtext.h:
2057         * text.C: remove dead spellcheck code
2058
2059 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2060
2061         * dispatchresult.h: add a val setter
2062
2063         * cursor.C (dispatch): use a tempvar for data_[i]
2064
2065 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2066
2067         * PosIterator.[Ch]: compile fix
2068
2069 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2070
2071         * text.C (cursorPar): deactivate the cursor cache
2072
2073 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2074
2075         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2076
2077 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2078
2079         * text3.C (dispatch): adjust for new DisptchResult semantics.
2080
2081         * lyxfunc.C (dispatch): handle update when return from
2082         Cursor::dispatch, adjust for new DispatchResult semantics.
2083
2084         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2085         DispatchResult(true) mean to not update. Add class functions for
2086         setting dispatched and update, as well as reading.
2087
2088         * cursor.C (dispatch): don't handle update here
2089
2090 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2091
2092         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2093         * trans_mgr.C: adjust
2094
2095         * paragraph_funcs.C (readParToken): exception safety
2096
2097         * lyxvc.h: store the vcs pointer in a scoped_ptr
2098         * lyxvc.C: adjust
2099
2100         * lyxsocket.C (serverCallback): exception safety
2101
2102         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2103
2104         * ispell.C (clone): make it return a auto_ptr
2105
2106         * factory.C (createInset): exception safety
2107         (readInset): exception safety
2108
2109         * bufferlist.C (newBuffer): exception safety
2110
2111         * Thesaurus.C (Thesaurus): use initialization for aik_
2112
2113         * MenuBackend.C (expandToc): exception safety.
2114
2115 2003-11-03  André Pönitz  <poenitz@gmx.net>
2116
2117         * buffer.C:
2118         * buffer.h:
2119         * bufferview_funcs.C: remove getInsetFromId()
2120
2121         * lyxcursor.[Ch]:
2122         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2123
2124         * lyxfunc.C:
2125         * text2.C:
2126         * text3.C: adjust
2127
2128 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2129
2130         * PosIterator.C (distance, advance): new
2131         * bufferview_funcs.[Ch] (put_selection_at): new
2132         * iterators.[Ch] (lockPath): new
2133
2134 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2135
2136         * iterators.[Ch] (asPosIterator): added
2137         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2138         * PosIterator.[Ch]: added
2139
2140 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2141
2142         * text3.C:
2143         * lyxfunc.C:
2144         * cursor.C (dispatch):
2145         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2146
2147         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2148         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2149         contructor, add a class function dispatched. Remove operator>=
2150
2151 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2152
2153         * debug.C: only use the default constructor for debugstream
2154         (lyxerr) here.
2155
2156         * main.C (main): include debug.h and setup the lyxerr streambuf
2157         here.
2158
2159 2003-10-31  José Matos  <jamatos@lyx.org>
2160
2161         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2162
2163         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2164         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2165         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2166         * paragraph_pimpl.C (simpleTeXSpecialC):
2167         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2168         add LatexRunParams argument.
2169
2170         * exporter.C (Export): change call accordingly.
2171
2172         * latexrunparams.h: add new member to take care of the other backends.
2173 2003-10-30  José Matos  <jamatos@lyx.org>
2174
2175         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2176         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2177         factorise code for paragraph output.
2178         * buffer.[Ch]:
2179         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2180         move functions.
2181
2182 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2183
2184         * text3.C (dispatch):
2185         * lyxfunc.C (dispatch):
2186         * cursor.C (dispatch):
2187         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2188
2189         * dispatchresult.h: make the dispatch_result_t ctor explicit
2190
2191 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2192
2193         * sgml.[Ch]:
2194         * buffer.C: small refactoring of docbook stuff
2195
2196 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2197
2198         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2199         meaning.
2200
2201 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2202
2203         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2204         operator dispatch_result_t, and operators for == != and >=
2205
2206         * cursor.C (dispatch): adjust for operator dispatch_result_t
2207         removal. comment out call to update
2208
2209         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2210
2211 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2212
2213         * text3.C:
2214         * text2.C:
2215         * text.C:
2216         * lyxtext.h:
2217         * lyxfunc.C:
2218         * cursor.C:
2219         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2220         (dispatch):
2221
2222         * dispatchresult.h: new file, DispatchResult broken out of
2223         insets/insetbase.h
2224
2225         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2226
2227 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2228
2229         * text.C (rowBreakPoint): put a hack inside #if 0
2230
2231 2003-10-28  André Pönitz  <poenitz@gmx.net>
2232
2233         * lyxtext.h:
2234         * metricsinfo.C:
2235         * paragraph_funcs.C:
2236         * rowpainter.C:
2237         * text.C:
2238         * text2.C: general cleanup (lots of small stuff)
2239
2240 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2241
2242         * text2.C (cursorEnd): simple fix to the "end key goes to one
2243         before the end on last row" bug
2244
2245 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2246
2247         * text.C (backspace): fix the "zombie characters"
2248
2249 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2250
2251         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2252
2253 2003-10-27  André Pönitz  <poenitz@gmx.net>
2254
2255         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2256
2257         * factory.C: handle new InsetPagebreak, InsetLine
2258
2259         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2260         and move handling into new InsetPagebreak, InsetLine
2261
2262         * BufferView_pimpl.C:
2263         * LyXAction.C:
2264         * ParagraphParameters.C:
2265         * ParameterStruct.h:
2266         * lyxfunc.C:
2267         * lyxtext.h:
2268         * paragraph.C:
2269         * paragraph.h:
2270         * paragraph_funcs.C:
2271         * paragraph_pimpl.C:
2272         * rowpainter.C:
2273         * text.C:
2274         * text2.C:
2275         * text3.C: adjust
2276
2277 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2278
2279         * text.C:
2280         * lyxrow_funcs.[Ch]:
2281         * Bidi.C:
2282         * paragraph.C:
2283         * lyxtext.h:
2284         * rowpainter.C:
2285         * text2.C:
2286         * text3.C: remove lastPos uses in favour of Row::endpos
2287
2288 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2289
2290         * undo.C (performUndoOrRedo): fix two crashes by setting a
2291         cursor by hand and reordering some calls. Use bv->lockInset instead
2292         of inset->edit because the latter loses cursor information
2293
2294 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2295
2296         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2297         by Martin
2298         (rowBreakPoint): fix width. change point to point + 1.
2299         Add a missing check.
2300
2301 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2302
2303         * MenuBackend.C:
2304         * lyxfunc.C: fix (at least partly) the problems
2305         with the Nav menu and headers inside branch insets
2306         reported by Kayvan
2307
2308 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2309
2310         * paragraph.C (getChar): add strong asserts
2311
2312         * lyxrow_funcs.C (lastPos): remove hideous hack
2313
2314         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2315         (fill): adjust to that (avoid an infinite loop)
2316
2317 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2318
2319         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2320
2321 2003-10-23  André Pönitz  <poenitz@gmx.net>
2322
2323         * RowList_fwd.h: change list<> to vector<> to gain speed
2324         after suggestion from Alfredo
2325
2326 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2327
2328         * lyxtext.h: move the bidi stuff from here...
2329         * text.C: and here
2330         * text2.C: and here
2331         * Bidi.[Ch]: ... to here
2332
2333 2003-10-23  André Pönitz  <poenitz@gmx.net>
2334
2335         * lyxtext.h:
2336         * text.C (isLastRow, isFirstRow): new functions
2337
2338         * paragraph.h: new width cache member
2339
2340         * rowpainter.C: replace RowList::iterator with Row & where possible
2341
2342         * lyxfunc.C: replace several view()->text with a single call
2343
2344         * toc.C: fix 'unused' warning
2345
2346 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2347
2348         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2349         when woring with stream::pos_type
2350         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2351
2352 2003-10-22  André Pönitz  <poenitz@gmx.net>
2353
2354         * lyxtext.h:
2355         * text.C: use Row & instead of RowList::iterator
2356
2357         * lyxrow.h: rename end() to endpos()
2358
2359         * rowpainter.C:
2360         * text.C:
2361         * text2.C: adjust
2362
2363 2003-10-22  Angus Leeming  <leeming@lyx.org>
2364
2365         * buffer.[Ch] (fully_loaded): new member function, returning true
2366         only when the file has been loaded fully.
2367         Used to prevent the premature generation of previews and by the
2368         citation inset to prevent computation of the natbib-style label.
2369
2370         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2371         templates are all set up.
2372
2373         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2374
2375 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2376
2377         * text.C: fixed an "oops" in the "is a bit silly"
2378         bug fix
2379
2380 2003-10-21  André Pönitz  <poenitz@gmx.net>
2381
2382         * FuncStatus.[Ch]: small stuff, whitespace
2383
2384         * lyxfont.[Ch]: operator<<() for debug reasons
2385
2386         * lyxfunc.C:
2387         * lyxrow_funcs.C:
2388         * lyxtext.h: whitespace, spelling
2389
2390         * paragraph.C: naming of variables
2391
2392         * text.C:
2393         * text2.C: small stuff
2394
2395
2396 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2397
2398         * text.C: (1) finish off the inset display() work;
2399         (2) fix the "is a bit silly" bug (accessing char
2400         past end of par).
2401
2402 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2403
2404         * text.C: re-introduce display() for insets, fixing the
2405         various bugs (stretch of line above, math inset
2406         positioning, ...)
2407
2408 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2409
2410         * text.C (rightMargin): remove spurious semicolon
2411
2412         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2413         1415)
2414
2415 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2416
2417         * text3.C: fix one crash due to wrong cursor def
2418
2419 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2420
2421         * vc-backend.C (scanMaster): make the regex static
2422
2423         * LaTeX.C (scanAuxFile): make the regexs static
2424
2425         * text3.C (doInsertInset, dispatch, dispatch):
2426         * text2.C (cursorUp, cursorDown):
2427         * text.C (selectNextWordToSpellcheck):
2428         * BufferView_pimpl.C (dispatch):
2429         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2430
2431 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2432
2433         * lyxsocket.C: include <cerrno>
2434
2435 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2436
2437         * lyxfunc.C (dispatch): remove textcache stuff
2438
2439         * bufferlist.C (release): remove textcache stuff
2440         (closeAll): ditto
2441
2442         * TextCache.C: delete file
2443         * TextCache.h: delete file
2444
2445         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2446
2447         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2448         delete of the bv_->text.
2449         (resizeCurrentBuffer): remove texcache stuff
2450         (workAreaResize): ditto
2451
2452 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2453
2454         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2455         action.
2456
2457 2003-10-16  André Pönitz  <poenitz@gmx.net>
2458
2459         * lyxrow.[Ch]:
2460         * paragraph.h:
2461         * rowpainter.C:
2462         * text.C:
2463         * text2.C:
2464         * text3.C: speed up by storing y positions per paragraph plus per-row
2465         offset instead of having a 'full' y position in the row.
2466
2467 2003-10-15  André Pönitz  <poenitz@gmx.net>
2468
2469         * iterators.[Ch]:
2470         * iterators.[Ch]:
2471         * undo.[Ch]: make undo aware of inner insets
2472
2473 2003-10-14  Angus Leeming  <leeming@lyx.org>
2474
2475         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2476         static member functions LyX::ref() and LyX::cref.
2477         (lastfiles): new accessor functions for the new lastfiles_ member var.
2478         (addLyXView, views_): add a new LyXView to the list of views_.
2479         (updateInset): loop over all LyXViews to call their own updateInset
2480         member function, returning a pointer to the Buffer owning the inset.
2481
2482         * BufferView_pimpl.C (loadLyXFile):
2483         * MenuBackend.C (expandLastfiles):
2484         * bufferlist.C (MenuWrite, QuitLyX):
2485         lastfiles is no longer a global variable.
2486         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2487
2488         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2489         static function. Access through LyX::cref().emergencyCleanup().
2490
2491 2003-10-14  André Pönitz  <poenitz@gmx.net>
2492
2493         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2494
2495         * undo.[Ch]: restoring part of 'undo in insets'
2496
2497         * Makefile.am:
2498         * undo_funcs.[Ch]: merge with undo.[Ch]
2499
2500         * tabular.C: small cleansing stuff
2501
2502 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2503
2504         * paragraph_funcs.C (readParToken): report unknown insets as error
2505         boxes. Use the outer paragraph as location (also for unknown
2506         tokens).
2507
2508         * factory.C (readInset): do not abort on reading an unknown inset.
2509         Eat it and return 0.
2510
2511 2003-10-13  Angus Leeming  <leeming@lyx.org>
2512
2513         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2514
2515         * lyxrc.C: displayTranslator is now a function,
2516         declared in GraphicsTypes.h.
2517
2518 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2519
2520         * format.C: new placeholder $$a to pass the socket address.
2521
2522         * bufferlist.[Ch]: new function getBufferFromTmp.
2523
2524         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2525           files in the temporary dir.
2526
2527 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2528
2529         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2530
2531         * Makefile.am: add lyxsocket.[Ch].
2532
2533         * lyx_main.C (error_handler): handle SIGPIPE.
2534
2535 2003-10-13  André Pönitz  <poenitz@gmx.net>
2536
2537         * BufferView_pimpl.C:
2538         * lyxtext.h:
2539         * text.C:
2540         * text2.C:
2541         * text3.C:
2542         * undo_funcs.[Ch]: use paroffset_type instead of
2543           ParagraphList::iterators to prevent multiple conversion
2544           (and get a more robust interface)
2545
2546 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2547
2548         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2549         * lyxtext.h: ditto
2550         * text3.C (dispatch): ditto
2551
2552 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2553
2554         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2555         move the onlyfile, use onlyfile instead of foundfile in a couple
2556         of places.
2557
2558         * DepTable.C (update): flush the error stream a bit more
2559
2560 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2561
2562         * lyxserver.C (callback): adjust
2563
2564         * lyxfunc.C (getStatus): add a missing brace in commented code
2565         (ensureBufferClean): reindent
2566         (dispatch): delete version taking a string
2567
2568 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2569
2570         * LaTeX.C (deplog): move found file handlig from here...
2571         (handleFoundFile): .. to new function here.
2572         (deplog): make sure to discover several files mentioned on the
2573         same log line.
2574
2575 2003-10-10  André Pönitz  <poenitz@gmx.net>
2576
2577         * lyxfunc.C:
2578         * lyxtext.h:
2579         * tabular.C:
2580         * text.C:
2581         * text2.C:
2582         * text3.C: fix some of the tabular crashes
2583
2584 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2585
2586         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2587
2588         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2589
2590 2003-10-09  André Pönitz  <poenitz@gmx.net>
2591
2592         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2593
2594         * BufferView.C:
2595         * BufferView_pimpl.C:
2596         * bufferview_funcs.C:
2597         * lyx_cb.C:
2598         * lyxcursor.C:
2599         * lyxfind.C:
2600         * lyxfunc.C:
2601         * lyxtext.h:
2602         * text.C:
2603         * text2.C:
2604         * text3.C:
2605         * text_funcs.[Ch]:
2606         * textcursor.[Ch]:
2607         * undo_funcs.C: adjust
2608
2609 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2610
2611         * text2.C (incrementItemDepth): new function, use a backtracking
2612         algorithm to discover the correct item depth.
2613         (resetEnumCounterIfNeeded): new function, use a backtracking
2614         algorithm to discover if counter reset is needed.
2615         (setCounter): use them. Simplify a bit. Add different labels for
2616         different item depths for itemize.
2617
2618         * paragraph.C (Paragraph): remove initialization of enumdepth
2619         (operator=): ditto
2620
2621         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2622         enumerate and itemize. Change the type of itemdepth to signed char.
2623
2624 2003-10-08  André Pönitz  <poenitz@gmx.net>
2625
2626         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2627           thing assignable.
2628         * text.C:
2629         * text2.C: adjust
2630
2631         * tabular.[Ch]: fix crash after 'row-insert'
2632
2633 2003-10-08  Angus Leeming  <leeming@lyx.org>
2634
2635         Fix doxygen warnings.
2636
2637         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2638         Remove CutAndPaste:: prefix from header file declaration.
2639
2640         * LColor.h (fill): remove LColor:: prefix from declaration.
2641
2642         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2643         use lyx::depth_type rather than Paragraph::depth_type so that
2644         header file and .C file match.
2645
2646         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2647
2648         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2649         * aspell.C: \file aspell_local.C -> \file aspell.C
2650         * gettext.C: \file gettext.C -> \file src/gettext.C
2651         * gettext.h: \file gettext.h -> \file src/gettext.h
2652         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2653         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2654         * text.C: \file text.C -> \file src/text.C
2655
2656         * toc.C: move comment so that doxygen is not confused.
2657
2658 2003-10-07  Angus Leeming  <leeming@lyx.org>
2659
2660         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2661
2662 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2663
2664         * aspell.C:
2665         * aspell_local.h: add forgotten std::string's.
2666
2667 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2668
2669         * LaTeXFeatures.C:
2670         * LyXAction.C:
2671         * factory.C:
2672         * lfuns.h:
2673         * lyxfunc.C:
2674         * text3.C: The Box patch. Fancybox support, minipage, parbox
2675
2676 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2677
2678         * CutAndPaste.h:
2679         * DepTable.h:
2680         * FloatList.h:
2681         * LaTeXFeatures.h:
2682         * ParagraphParameters.h:
2683         * TextCache.h:
2684         * Thesaurus.h:
2685         * bufferlist.h:
2686         * exporter.h:
2687         * importer.h:
2688         * lastfiles.h:
2689         * lyxfind.h:
2690         * lyxfont.h:
2691         * lyxlex.h:
2692         * lyxtextclasslist.h:
2693         * messages.h:
2694         * paragraph.h:
2695         * paragraph_pimpl.C:
2696         * textcursor.h: add <string> and other small fixes to make Lars'
2697         std::string patch compile with STLport.
2698
2699 2003-10-06  Angus Leeming  <leeming@lyx.org>
2700
2701         * LColor.h: Add missing #include <string>.
2702
2703 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2704
2705         * All most all file in all subdirs: Make <string> be the prefered
2706         way of getting to std::string, add using declarations.
2707
2708 2003-10-06  André Pönitz  <poenitz@gmx.net>
2709
2710         * metricsinfo.C: initialize LyXFont before changing attribute.
2711         (fixes the 'math in \emph is upright' bug)
2712
2713 2003-10-06  André Pönitz  <poenitz@gmx.net>
2714
2715         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2716
2717 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2718
2719         * graph.C:
2720         * paragraph_pimpl.C: Small fixes to build using STLport
2721
2722 2003-10-02  André Pönitz  <poenitz@gmx.net>
2723
2724         * lyxfunc.C:
2725         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2726
2727 2003-10-01  André Pönitz  <poenitz@gmx.net>
2728
2729         * factory.C: assert early
2730
2731 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2732
2733         * lyx_main.C: remove the global debug object
2734
2735         * debug.h: adjust for new debugstream
2736
2737         * debug.C: adjust for new debugstream and keep the global debug
2738         object here.
2739
2740 2003-09-22  Angus Leeming  <leeming@lyx.org>
2741
2742         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2743         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2744         an incomplete class LyXFont.
2745
2746 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2747
2748         * factory.C: bug fix in branches
2749
2750 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2751
2752         * lyxfunc.C (processKeySym): adjust
2753         (dispatch): adjust
2754         (dispatch): change arg name from ev to func, adjust
2755         (sendDispatchMessage): ditto
2756
2757         * lyx_main.C (defaultKeyBindings): adjust keybindings
2758         (deadKeyBindings): ditto
2759
2760         * kbsequence.C (addkey): return a FuncRequest
2761
2762         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2763
2764         * kbmap.C (bind): take a FuncRequest as arg, adjust
2765         (read): adjust
2766         (lookup): adjust
2767         (defkey): change to take a FuncRequest as arg, adjust
2768         (findbinding): take a FuncRequest as arg, adjust.
2769
2770         * funcrequest.h (operator=): added
2771
2772         * funcrequest.C (FuncRequest): default kb_action changed from
2773         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2774
2775         * buffer.C (dispatch): simplify
2776         (dispatch): adjust to take a FuncRequest as arg, adjust
2777
2778         * boost.C (assertion_failed): change assertion message slightly
2779
2780         * ToolbarBackend.C (read): simplify
2781
2782         * MenuBackend.C (binding): adjust call to findbinding, add a
2783         message if no binding is found.
2784         (read): simplify
2785         (expandToc): correct by adding a empty FuncRequest
2786
2787         * LyXAction.C: include <boost/assert.hpp>
2788         (isPseudoAction): delete function
2789         (LookupFunc): change name to...
2790         (lookupFunc): this. change return type to FuncRequest.
2791         (getActionName): take kb_action as arg, simplify
2792         (funcHasFlag): add an assert, simplify.
2793
2794 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2795
2796         * toc.C (action): return a FuncRequest, simplify
2797
2798         * lyxfunc.C (processKeySym): adjust
2799         (getStatus): delete version that takes an int.
2800         (getStatus): adjust
2801         (dispatch): delete version that takes action as int
2802         (dispatch): adjust
2803         (sendDispatchMessage): simplify and adjust
2804
2805         * funcrequest.C (getArg): take unsigned int as arg
2806
2807         * ToolbarBackend.C (read): adjust
2808         (add): delete version that takes func as a string.
2809         (getIton): take a FuncRequest as arg
2810
2811         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2812         action.
2813
2814         * MenuBackend.C (MenuItem): add a new construct that only takes a
2815         Kind, simplify the constructor use for submenus.
2816         (add): adjust
2817         (expandLastfiles): adjust
2818         (expandDocuments): adjust
2819         (expandFormats): adjust
2820         (expandFloatListInsert): adjust
2821         (expandFloatInsert): adjust
2822         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2823
2824         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2825         Remove class variables lyx_pseudo_map and lyx_arg_map
2826
2827         * LyXAction.C (searchActionArg): delete function
2828         (getPseudoAction): delete function
2829         (retrieveActionArg): delete function
2830         (LookupFunc): make it return kb_action, simplify.
2831         (getActionName): simplify
2832
2833         * factory.C (createInset): fix new bug
2834
2835 2003-09-19  Angus Leeming  <leeming@lyx.org>
2836
2837         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2838         masterFilename_ parameter in the include inset.
2839
2840         * factory.C (createInset): changes due to the changes to InsetInclude.
2841
2842 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2843
2844         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2845
2846 2003-09-18  Angus Leeming  <leeming@lyx.org>
2847
2848         * buffer.C:
2849         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2850         Inset::fillWithBibKeys.
2851         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2852
2853 2003-09-18  Angus Leeming  <leeming@lyx.org>
2854
2855         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2856         variables.
2857         (ctor): pass and store a 'Buffer const &'
2858         (buffer): new member function.
2859
2860         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2861         '*this' to the LaTeXFeatures ctor.
2862
2863 2003-09-18  Angus Leeming  <leeming@lyx.org>
2864
2865         * LColor.h:
2866         * lyxfont.C:
2867         * lyxfont.h:
2868         * lyxtext.h:
2869         * text.C: rename EnumLColor as LColor_color.
2870
2871 2003-09-18  Angus Leeming  <leeming@lyx.org>
2872
2873         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2874         remove #include "insets/insetbase.h" from cursor.h.
2875
2876 2003-09-18  Angus Leeming  <leeming@lyx.org>
2877
2878         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2879         InsetOld_code to remove #include "inset.h".
2880
2881         * iterators.C: add #include "insets/inset.h"
2882
2883 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2884
2885         * BufferView.C: remove more locking stuff that apparently doesn't
2886         do anything sensible.
2887
2888 2003-09-16  André Pönitz  <poenitz@gmx.net>
2889
2890         * paragraph.[Ch]:
2891         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2892           performance boost.
2893
2894 2003-09-16  Angus Leeming  <leeming@lyx.org>
2895
2896         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2897
2898         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2899         arg/return type.
2900
2901         * paragraph.h: remove #include "lyxfont.h". Forward declare
2902         LyXFont_size.
2903
2904 2003-09-16  Angus Leeming  <leeming@lyx.org>
2905
2906         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2907         of support/textutils.h.
2908         (isWord): move the contents of support/textutils.h's IsWordChar here.
2909
2910         * buffer.C:
2911         * lyxfind.C:
2912         * rowpainter.C:
2913         * text.C:
2914         * text2.C: add #include "paragraph.h".
2915
2916         * rowpainter.C:
2917         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2918
2919 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2920
2921         * main.C:
2922         * lyx_main.C:
2923         * lyx_cb.C:
2924         * buffer.C:
2925         * LaTeX.C: use namespace alias for lyx::support::os
2926
2927 2003-09-16  Angus Leeming  <leeming@lyx.org>
2928
2929         * bufferparams.C:
2930         * bufferview_funcs.C:
2931         * factory.C:
2932         * lyxfunc.C:
2933         * paragraph_pimpl.C:
2934         * rowpainter.C:
2935         * text.C: add #include "LColor.h".
2936
2937 2003-09-16  Angus Leeming  <leeming@lyx.org>
2938
2939         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2940         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2941         return LyXFont &.
2942         Store the FontBits::color variable as an int rather than as an
2943         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2944         file.
2945
2946         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2947         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2948         string calls together.
2949
2950         * lyxrc.C: add #include "LColor.h".
2951
2952 2003-09-15  Angus Leeming  <leeming@lyx.org>
2953
2954         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2955         a cow_ptr.
2956
2957 2003-09-15  Angus Leeming  <leeming@lyx.org>
2958
2959         * LColor.h: add an EnumLColor wrapper for LColor::color.
2960
2961         * lyxfont.[Ch] (color, setColor, realColor):
2962         * lyxtext.h, text.C (backgroundColor):
2963         pass EnumLColor args to/from the functions, rather than LColor::color
2964         ones.
2965
2966         * lyxfont.h:
2967         * lyxtext.h: forward declare EnumLColor.
2968
2969         * lyx_main.C: add #include "LColor.h".
2970
2971 2003-09-15  Angus Leeming  <leeming@lyx.org>
2972
2973         * .cvsignore: add lyx-gtk.
2974
2975 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2976
2977         * Chktex.C
2978         * LaTeX.C
2979         * LaTeXFeatures.C
2980         * ParagraphParameters.C
2981         * Spacing.C
2982         * buffer.C
2983         * bufferparams.C
2984         * bufferview_funcs.C
2985         * chset.C
2986         * counters.C
2987         * funcrequest.C
2988         * lyxfont.C
2989         * lyxgluelength.C
2990         * lyxlength.C
2991         * paragraph.C
2992         * paragraph_funcs.C
2993         * text3.C
2994         * vc-backend.C: remove usage of STRCONV
2995
2996 2003-09-15  Angus Leeming  <leeming@lyx.org>
2997
2998         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2999         explicitly define the color passed to the painter.
3000
3001 2003-09-15  Angus Leeming  <leeming@lyx.org>
3002
3003         * bufferparams.C (BufferParams): reorder member initializers to avoid
3004         compiler warning.
3005
3006 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3007
3008         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3009         * text.C (updateRowPositions): remove an unusual nop
3010
3011 2003-09-12  André Pönitz  <poenitz@gmx.net>
3012
3013         * BufferView_pimpl.C:
3014         * Bullet.C:
3015         * layout.h:
3016         * lyxfunc.C:
3017         * lyxlayout.[Ch]:
3018         * lyxtextclass.C:
3019         * rowpainter.C:
3020         * text.C:
3021         * text2.C:
3022         * Counters.[Ch]: finish the 'automatic counters' job
3023
3024 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3025
3026         * aspell.C: include <boost/assert.cpp> (compile fix)
3027
3028 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3029
3030         * boost.C (assertion_failed): use lyx::support::abort instead of
3031         assert.
3032
3033 2003-09-10  Angus Leeming  <leeming@lyx.org>
3034
3035         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3036         with their _fwd progeny.
3037
3038 2003-09-09  Angus Leeming  <leeming@lyx.org>
3039
3040         134 files throughtout the source tree: replace 'using namespace abc;'
3041         directives with the appropriate 'using abc::xyz;' declarations.
3042
3043 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3044
3045         * boost.C (emergencyCleanup): moved here from LAssert.c
3046         (assertion_failed): new function, called by BOOST_ASSERT
3047
3048         * several files: change Assert to BOOST_ASSERT
3049
3050 2003-09-09  Angus Leeming  <leeming@lyx.org>
3051
3052         * buffer.[Ch]: Add an Impl class and move Buffer's member
3053         variables into it. As a result move several header files out of
3054         buffer.h.
3055
3056         Add header files to lots of .C files all over the tree as a result.
3057
3058 2003-09-09  Angus Leeming  <leeming@lyx.org>
3059
3060         * buffer.[Ch]: make Buffer's member variables private. Add
3061         accessor functions.
3062
3063         Lots of changes all over the tree as a result.
3064
3065 2003-09-08  Angus Leeming  <leeming@lyx.org>
3066
3067         * graph.C: #include <config.h>.
3068
3069 2003-09-08  Angus Leeming  <leeming@lyx.org>
3070
3071         * BranchList.C:
3072         * BufferView.C:
3073         * BufferView_pimpl.C:
3074         * CutAndPaste.C:
3075         * DepTable.C:
3076         * LaTeX.C:
3077         * LaTeXFeatures.C:
3078         * LyXAction.C:
3079         * MenuBackend.C:
3080         * TextCache.C:
3081         * aspell.C:
3082         * buffer.C:
3083         * bufferlist.C:
3084         * changes.C:
3085         * chset.C:
3086         * converter.C:
3087         * counters.C:
3088         * debug.C:
3089         * graph.C:
3090         * ispell.C:
3091         * lyx_cb.C:
3092         * lyxfind.C:
3093         * lyxfunc.C:
3094         * lyxlex_pimpl.C:
3095         * lyxrc.C:
3096         * lyxrow.C:
3097         * paragraph.C:
3098         * rowpainter.C:
3099         * texrow.C:
3100         * text.C:
3101         * text2.C:
3102         * toc.C: remove redundant using directives.
3103
3104 2003-09-07  Angus Leeming  <leeming@lyx.org>
3105
3106         * LaTeXFeatures.h: remove #include "support/types.h".
3107         * ToolbarBackend.h: remove #include <algorithm>.
3108         * changes.h: remove #include <ctime>.
3109         * debug.h: remove #include <iosfwd>.
3110         * graph.h: remove #include "support/std_string.h".
3111         * lyx_main.h: remove #include <csignal>.
3112         * lyxlex_pimpl.h: remove #include <fstream>.
3113         * sgml.h: remove #include <algorithm>, <utility>.
3114         * toc.h: remove #include "support/std_ostream.h".
3115         Add #include <iosfwd>.
3116
3117 2003-09-07  Angus Leeming  <leeming@lyx.org>
3118
3119         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3120
3121         * converter.h: forward declare LatexRunParams.
3122         * encoding.h: remove #include "lyxrc.h".
3123         * lyxtext.h: remove #include "LColor.h".
3124         * lyxtextclass.h: remove #include "support/types.h".
3125         * trans.h: remove #include "tex-accent.h".
3126         * trans_mgr.h: remove #include "tex-accent.h".
3127         * insets/inset.h: remove #include "support/types.h", <vector>.
3128         * insets/insetcollapsable.h: remove #include "LColor.h".
3129         * insets/insetinclude.h: remove #include "dimension.h".
3130         * insets/insetlatexaccent.h: remove #include "dimension.h".
3131         * insets/insetoptarg.h:: remove #include "insettext.h".
3132         * insets/insettext.h: remove #include "dimension.h",
3133         <boost/shared_ptr.hpp>
3134
3135         * insets/renderers.h: add #include "dimension.h".
3136         * insets/updatableinset.h: add #include "support/types.h".
3137
3138         * many .C files: Associated changes.
3139
3140 2003-09-06  Angus Leeming  <leeming@lyx.org>
3141
3142         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3143         one, inside testInvariant.
3144
3145         * PrinterParams.C: new file.
3146         * PrinterParams.[Ch]: move the function bodies out of line.
3147
3148 2003-09-06  Angus Leeming  <leeming@lyx.org>
3149
3150         * ParagraphParameters.h: forward declare ParameterStruct rather than
3151         including its header file.
3152         (depth): moved out-of-line.
3153
3154 2003-09-06  Angus Leeming  <leeming@lyx.org>
3155
3156         * BufferView_pimpl.h:
3157         * kbmap.h:
3158         * kbsequence.h:
3159         * lyxfunc.h: forward declare LyXKeySym rather than
3160         #include "frontends/LyXKeySym.h".
3161
3162         * BufferView_pimpl.C:
3163         * kbmap.C:
3164         * kbsequence.C:
3165         * lyxfunc.C: associated changes.
3166
3167 2003-09-06  Angus Leeming  <leeming@lyx.org>
3168
3169         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3170         As a result, can remove the #include "insets/inset.h" from BufferView.h
3171
3172 2003-09-06  Angus Leeming  <leeming@lyx.org>
3173
3174         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3175         As a result, can remove the #include "insets/inset.h" from BufferView.h
3176
3177 2003-09-06  Angus Leeming  <leeming@lyx.org>
3178
3179         * buffer_funcs.C:
3180         * buffer.h:
3181         * bufferlist.C:
3182         * BufferView.C:
3183         * bufferview_funcs.C:
3184         * BufferView_pimpl.C:
3185         * CutAndPaste.C:
3186         * lyx_cb.C:
3187         * lyxfunc.C:
3188         * paragraph.h:
3189         * ParagraphParameters.C:
3190         * tabular.C:
3191         * text3.C:
3192         * toc.C:
3193         * undo_funcs.C:
3194         * frontends/controllers/ControlDocument.C:
3195         * insets/insetcaption.C: rearrange the #includes into some sort of
3196         coherent order.
3197
3198         * buffer.h: remove #includes ErrorList.h, undo.h
3199
3200 2003-09-06  Angus Leeming  <leeming@lyx.org>
3201
3202         * support/types.h: add a 'depth_type' typedef, used to store the
3203         nesting depth of a paragraph.
3204
3205         * paragraph.h:
3206         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3207         defining explicitly.
3208
3209         * buffer.h:
3210         * paragraph_funcs.h:
3211         * ParagraphParameters.h:
3212         * sgml.h: use lyx::depth_type rather than Paragraph or
3213         ParameterStruct's depth_type.
3214
3215         * buffer.h
3216         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3217
3218         * BufferView.C:
3219         * BufferView_pimpl.C:
3220         * CutAndPaste.C:
3221         * ParagraphParameters.C:
3222         * buffer_funcs.C:
3223         * bufferlist.C:
3224         * bufferview_funcs.C:
3225         * lyx_cb.C:
3226         * lyxfunc.C:
3227         * tabular.C:
3228         * text3.C:
3229         * toc.C:
3230         * undo_funcs.C:
3231         * frontends/LyXView.C:
3232         * frontends/controllers/ControlDocument.C:
3233         * frontends/controllers/ControlErrorList.C:
3234         * insets/insetbibitem.C:
3235         * insets/insetbranch.C:
3236         * insets/insetcaption.C:
3237         * insets/insetcollapsable.C:
3238         * insets/insetenv.C:
3239         * insets/insetert.C:
3240         * insets/insetfloat.C:
3241         * insets/insetfoot.C:
3242         * insets/insetfootlike.C:
3243         * insets/insetnewline.C:
3244         * insets/insetquotes.C:
3245         * insets/insettabular.C:
3246         * insets/insettext.C:
3247         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3248
3249         * frontends/controllers/ControlChanges.C: #include "changes.h".
3250
3251 2003-09-06  Angus Leeming  <leeming@lyx.org>
3252
3253         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3254         than #including paragraph.h.
3255
3256         * ParagraphList.h:
3257         * RowList.h: deleted. Superfluous.
3258
3259         * CutAndPaste.h:
3260         * iterators.h:
3261         * lyxcursor.h:
3262         * lyxtext.h:
3263         * text_funcs.h:
3264         * undo.h:
3265         * undo_funcs.h:
3266         * insets/inset.h:
3267         * insets/insettext.h: use ParagraphList_fwd.h rather than
3268         ParagraphList.h.
3269
3270         * paragraph.h: don't forward declare ParagraphList.
3271
3272         * buffer.h:
3273         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3274         rather than ParagraphList.h. paragraph.h is still needed for the
3275         Paragraph::depth_type parameters.
3276
3277         * textcursor.h: enable it to compile stand-alone in light of the
3278         above changes.
3279
3280         * bufferview_funcs.C:
3281         * iterators.C:
3282         * lyxfunc.C:
3283         * lyxrow_funcs.C:
3284         * paragraph.C:
3285         * rowpainter.C:
3286         * text.C:
3287         * text2.C:
3288         * text3.C:
3289         * text_funcs.C:
3290         * textcursor.C:
3291         * undo.C:
3292         * frontends/controllers/ControlParagraph.C:
3293         * frontends/controllers/ControlTabular.C:
3294         * insets/insetmarginal.C:
3295         * insets/insetminipage.C:
3296         * insets/insetnote.C:
3297         * insets/insetoptarg.C: add header files needed to compile again.
3298
3299 2003-09-06  Angus Leeming  <leeming@lyx.org>
3300
3301         * RowList_fwd.h: new file, forward-declaring Row rather than
3302         #including lyxrow.h.
3303
3304         * lyxrow_funcs.h:
3305         * lyxtext.h:
3306         * paragraph.h:
3307         * insets/insettext.h: use it instead of RowList.h
3308
3309         * bufferview_funcs.C:
3310         * lyxfunc.C:
3311         * lyxrow_funcs.C:
3312         * paragraph.C:
3313         * rowpainter.C:
3314         * text.C:
3315         * text2.C:
3316         * text3.C: #include "RowList.h".
3317
3318 2003-09-05  Angus Leeming  <leeming@lyx.org>
3319
3320         * factory.C (createInset):
3321         * vspace.C (c-tor): replace sscanf call with an istringstream.
3322         * ispell.C: re-add missing HP/UX headers.
3323         * lyxserver.C: re-add missing  os2 headers.
3324
3325 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3326
3327         * BranchList.C:
3328         * graph.C:
3329         * ispell.C:
3330         * lastfiles.C:
3331         * lyx_cb.C:
3332         * lyxserver.C:
3333         * texrow.C:
3334         * text3.C: re-add missing system headers, needed for 2.95.2.
3335
3336 2003-09-05  Angus Leeming  <leeming@lyx.org>
3337
3338         Changes most place everywhere due to the removal of using directives
3339         from support/std_sstream.h.
3340
3341 2003-09-05  Angus Leeming  <leeming@lyx.org>
3342
3343         Replace LString.h with support/std_string.h,
3344         Lsstream.h with support/std_sstream.h,
3345         support/LIstream.h with support/std_istream.h,
3346         support/LOstream.h with support/std_ostream.h.
3347
3348         Changes resulting throughout the tree.
3349
3350 2003-09-05  Angus Leeming  <leeming@lyx.org>
3351
3352         * sgml.h: ensure that the header file can be compiled stand-alone.
3353         * *.C: strip out redundant #includes. (320 in total.)
3354
3355 2003-09-04  Angus Leeming  <leeming@lyx.org>
3356
3357         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3358         here (from getPackages).
3359
3360         * debug.[Ch]: add a new EXTERNAL tag.
3361
3362 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3363
3364         * text2.C (cursorEnd): simplify
3365         (setCursor): adjust
3366         (getColumnNearX): adjust
3367
3368         * text.C (computeBidiTables): adjust
3369         (fill): adjust
3370
3371         * rowpainter.C (paintChars): adjust
3372         (paintSelection): adjust
3373         (paintChangeBar): adjust
3374         (paintText): adjust
3375
3376         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3377         lastPos instead.
3378         (numberOfSeparators): adjust
3379
3380 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3381
3382         * LyXAction.C:
3383         * box.[Ch]:
3384         * lfuns.h:
3385         * lyxfunc.C:
3386         * text3.C: Restricts the mouse click functionality
3387         of insets like bibtex, include, toc and floatlist to the visible
3388         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3389         up the dialogs. Cursor has to be in front of the inset (i.e.
3390         start of row) for this to function.
3391
3392 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3393
3394         * bufferview_funcs.C (currentState): output row information
3395
3396 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3397
3398         * bufferview_funcs.C (currentState): output paragraph position
3399
3400 2003-09-04  Angus Leeming  <leeming@lyx.org>
3401
3402         * FloatList.h: move out #include "Floating.h".
3403         * LaTeX.h: move out #include "DepTable.h".
3404         * LyXAction.h: move out #include "funcrequest.h".
3405         * buffer.h: move out #include "author.h", "iterators.h".
3406         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3407         * lyx_main.h: move out #include "errorlist.h".
3408         * lyxfunc.h: move out #include "FuncStatus.h".
3409         * lyxtext: move out #include "lyxcursor.h".
3410         * paragraph_pimpl.h: move out #include "counters.h".
3411
3412 2003-09-03  Angus Leeming  <leeming@lyx.org>
3413
3414         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3415         preamble_snippets list, enabling us to add snippets to the preamble
3416         only if the snippet was not there already.
3417
3418 2003-09-04  Angus Leeming  <leeming@lyx.org>
3419
3420         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3421
3422 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3423
3424         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3425         update
3426
3427 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3428
3429         * BranchList.C: point fix, earlier forgotten
3430
3431 2003-09-02  Angus Leeming  <leeming@lyx.org>
3432
3433         * box.C (contains): renamed from 'contained' after a fantastic
3434         amount of hot air.
3435
3436 2003-09-02  John Levon  <levon@movementarian.org>
3437
3438         * BufferView.C:
3439         * lyxcursor.h:
3440         * lyxcursor.C:
3441         * lyxfunc.C:
3442         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3443
3444 2003-09-02  John Levon  <levon@movementarian.org>
3445
3446         * text2.C: simplification of cursorEnd(), including partial
3447         fix for bug 1376
3448
3449 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3450
3451         * buffer.C (readFile): add a space
3452
3453 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3454
3455         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3456
3457 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3458
3459         * buffer.C (readFile): new function, take a filename and a
3460         ParagraphList::iterator
3461         (readFile): adjust
3462         (readFile): adjust, make it private. don't use setStream, make
3463         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3464         always contain the filename.
3465
3466         * BufferView.C (insertLyXFile): simplify and make it work for
3467         gzipped files.
3468
3469 2003-08-30  John Levon  <levon@movementarian.org>
3470
3471         * Makefile.am: fix dist (from Kayvan)
3472
3473 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3474
3475         * most files: change to use const Buffer refs
3476
3477 2003-08-27  André Pönitz  <poenitz@gmx.net>
3478
3479         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3480         on top of ownerPar().
3481
3482 2003-08-27  John Levon  <levon@movementarian.org>
3483
3484         * funcrequest.C: properly initialise POD members
3485
3486 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3487
3488         * lyxtext.h (top_y): move top_y from here
3489         * text.C:
3490         * text2.C:
3491         * text3.C:
3492         * BufferView.[Ch]:
3493         * BufferView_pimpl.[Ch]: to here
3494         * frontends/screen.C:
3495         * insets/insettabular.C:
3496         * insets/insettext.C: adjust
3497         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3498
3499 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3500
3501         * BufferView.[Ch]:
3502         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3503
3504 2003-08-26  André Pönitz  <poenitz@gmx.net>
3505
3506         * paragraph_func.[Ch] (outerPar): new function
3507
3508         * paragraph.C:
3509         * paragraph_funcs.C:
3510         * paragraph_funcs.h:
3511         * paragraph_pimpl.C:
3512         * text2.C: remove Inset::par_owner
3513
3514 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3515
3516         * lyxrow_funcs.C:
3517         * lyxtext.h:
3518         * text.C:
3519         * text2.C: eliminates the needFullRow/display() stuff
3520         altogether, putting the logic in metrics/draw in the insets.
3521
3522 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3523
3524         * text2.C (redoParagraphInternal, redoParagraphs):
3525         * text.C (redoParagraph): add a call to updateRowPositions at the
3526         end of each 'metrics-like' call. Remove all others.
3527         (getRow): remove the 'y-computing' version.
3528         (getRowNearY): do not compute nor return the real y. Solve the
3529         'y < 0' problem and simplify.
3530
3531 2003-08-22  Angus Leeming  <leeming@lyx.org>
3532
3533         * *.[Ch]: clean-up of licence and author blurbs.
3534         Also move config.h out of a few .h files and into a few .C files.
3535
3536 2003-08-22  André Pönitz  <poenitz@gmx.net>
3537
3538         * lyxrow.[Ch]: add x_ and *fill_ members
3539
3540         * lyxtext.h:
3541         * text.C:
3542         * rowpainter.C:
3543         * text2.C: adjust/remove prepareToPrint() calls
3544
3545 2003-08-22  André Pönitz  <poenitz@gmx.net>
3546
3547         * lyxrow.[Ch]: add  end_ member
3548
3549         * lyxrow_funcs.C: use LyXRow::end_
3550
3551         * lyxtext.h (singleWidth): add LyXFont parameter
3552
3553         * rowpainter.C:
3554         * text2.C: adjust LyXText::singleWidth() calls
3555
3556         * text.C (redoParagraph): simplify row breaking logic
3557
3558
3559 2003-08-19  André Pönitz  <poenitz@gmx.net>
3560
3561         * funcrequest.C: initialize button_ member
3562
3563         * text3.C:
3564         * rowpainter.[Ch]: interface consolidation
3565
3566 2003-08-18  André Pönitz  <poenitz@gmx.net>
3567
3568         * BufferView.C:
3569         * BufferView_pimpl.C:
3570         * lyxfind.C:
3571         * paragraph_funcs.C:
3572         * rowpainter.C:
3573         * text3.C: remove LyXScreen::draw() and fitCursor calls
3574
3575         * BranchList.h: remove spurious semicolons
3576
3577         * MenuBackend.C: fix branchlist related crash
3578
3579 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3580
3581         * BranchList.[Ch]:
3582         * InsetList.[Ch]:
3583         * LColor.[Ch]:
3584         * LyXAction.C:
3585         * Makefile.am:
3586         * MenuBackend.[Ch]:
3587         * bufferparams.[Ch]:
3588         * factory.C:
3589         * lfuns.h:
3590         * lyxfunc.C:
3591         * text3.C: implements the 'branch inset'
3592         idea. This allows the output of various versions of a document
3593         from a single source version, selectively outputing or suppressing
3594         output of parts of the text.
3595         This implementation contains a 'branch list editor' in a separate
3596         tab of the document settings dialog. Branches are user definable
3597         and have a "display colour" to distinguish them on-screen.
3598
3599         ColorHandler was somewhat cleaned up.
3600         (1) make possible a dynamically growing LColor list by allowing
3601         the graphic context cache to grow along (vector);
3602         (2) eliminate an IMHO unnecessary step in colour allocation.
3603
3604 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3605
3606         * BufferView_pimpl.C: compile fix
3607
3608 2003-08-15  André Pönitz  <poenitz@gmx.net>
3609
3610         * rowpainter.C: remove extra metrics calls
3611
3612         * lyxtext.h: merge the two constructors into a single one,
3613           pass reference to owner's par list
3614
3615         * BufferView_pimpl.C:
3616         * text.C:
3617         * text2.C: adjust
3618
3619 2003-08-15  André Pönitz  <poenitz@gmx.net>
3620
3621         * lyxrow_funcs.[Ch]:
3622         * lyxtext.h:
3623         * paragraph.h:
3624         * paragraph_funcs.C:
3625         * rowpainter.C:
3626         * text.C:
3627         * text2.C:
3628         * text3.C:
3629         * text_funcs.C: split LyXText::rowlist_ into individual
3630         Paragraph::rows_ chunks
3631
3632         * BufferView.[Ch]:
3633         * BufferView_pimpl.[Ch]:
3634         * lyxfind.C:
3635         * lyxtext.h:
3636         * text3.C: remove toggleSelection()
3637
3638 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3639
3640         * bufferlist.C: beautify two alerts (shorter text of buttons)
3641         * buffer.C: Remove redundant ' ' from message
3642         * tabular.h:
3643         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3644         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3645         rename VALIGN_CENTER to VALIGN_MIDDLE
3646
3647 2003-08-11  André Pönitz  <poenitz@gmx.net>
3648
3649         * lyxtext.h (getPar):
3650         * text.C: new function
3651
3652 2003-08-11  André Pönitz  <poenitz@gmx.net>
3653
3654         * Makefile.am:
3655         * tracer.[Ch]: remove unneeded files
3656
3657         * InsetList.[Ch]: remove resizeInsetsLyXText()
3658
3659         * lyxtext.h:
3660         * text.C:
3661         * text2.C:
3662         * text3.C: merge insertParagraphs() and appendParagraph()
3663         remove breakAgain(), update()
3664
3665         * BufferView_pimpl.[Ch]:
3666         * bufferview_funcs.[Ch]:
3667         * lyxfunc.C:
3668         * paragraph.[Ch]:
3669         * rowpainter.C:
3670         * tabular.C: adjust after text & InsetList changes.
3671
3672 2003-08-08  André Pönitz  <poenitz@gmx.net>
3673
3674         * text.C (insertChar, backspace): replace rowlist fiddling
3675         with rebreak of full par
3676
3677         * lyxtext.h:
3678         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3679         checkParagraph, updateInset): removed
3680
3681 2003-08-07  André Pönitz  <poenitz@gmx.net>
3682
3683         * paragraph.C:
3684         * text3.C: merge some LFUN handlers, remove dead code
3685
3686 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3687
3688         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3689
3690 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3691
3692         * text2.C (DEPM): fix part of bug 1255 and 1256
3693
3694 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3695
3696         * BufferView_pimpl.C (workAreaDispatch): change to use
3697         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3698         that are no mouse related.
3699
3700 2003-08-05  André Pönitz  <poenitz@gmx.net>
3701
3702         * BufferView.[Ch]:
3703         * BufferView_pimpl.[Ch]:
3704         * bufferview_funcs.C:
3705         * text2.C:
3706         * text3.C: rip out "deep update"
3707
3708         * textcursor.[Ch] (last_sel_cursor): remove unused member
3709
3710 2003-08-04  André Pönitz  <poenitz@gmx.net>
3711
3712         * BufferView.[Ch]:
3713         * BufferView_pimpl.[Ch]:
3714         * ParagraphParameters.C:
3715         * bufferview_funcs.C:
3716         * lyx_cb.C:
3717         * lyxfind.C:
3718         * lyxfunc.C:
3719         * text.C:
3720         * text2.C:
3721         * text3.C: replace "complicated" BufferView::update(...) calls with
3722         simpler ones.
3723
3724         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3725
3726 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3727
3728         * Makefile.am (lyx_SOURCES): add paper.h
3729
3730 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3731
3732         * Makefile.am: move things around so that both lyx-qt and
3733         lyx-xforms can be built (according to --with-frontend). Then lyx
3734         is a symbolic link to lyx-[firstfrontend]
3735
3736 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3737
3738         * Always use std::endl with lyxerr
3739
3740 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3741
3742         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3743
3744 2003-08-01  André Pönitz  <poenitz@gmx.net>
3745
3746         * BufferView.[Ch]:
3747         * BufferView_pimpl.[Ch]:
3748         * lyxfunc.C:
3749         * text3.C: merge BufferView::repaint() and BufferView::update()
3750
3751 2003-08-01  José Matos  <jamatos@lyx.org>
3752
3753         * buffer.[Ch]: file_format is no longer a buffer data element.
3754
3755 2003-08-01  André Pönitz  <poenitz@gmx.net>
3756
3757         * BufferView.C:
3758         * lyxtext.h:
3759         * text.C:
3760         * text2.C: make redoParagraph more independent of current cursor
3761
3762         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3763         * text.C:
3764         * text2.C: remove unneeded members
3765
3766 2003-07-30  André Pönitz  <poenitz@gmx.net>
3767
3768         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3769
3770         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3771           create a single function...
3772
3773         * paragraph_funcs.C (moveItem): ... here.
3774
3775         * text.C:
3776           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3777
3778 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3779
3780         * LColor.[Ch]: Add comment and greyedout logical colors.
3781
3782 2003-07-30  André Pönitz  <poenitz@gmx.net>
3783
3784         * tabular.C: don't use Assert too heavily. This crashes where it
3785           shouldn't
3786
3787 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3788
3789         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3790         is disabled (bug 1232)
3791
3792 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3793
3794         * factory.C: limited 'arg' scope
3795
3796 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3797
3798         * factory.C: fixed Note submenu issues
3799
3800 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3801
3802         * factory.C: submenu for Note/Comment/Greyedout
3803
3804 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3805
3806         * lyx_main.C (LyX):
3807         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3808
3809 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3810
3811         * LaTeXFeatures.C:
3812         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3813         greyedout. Patch provided by Jürgen Spitzmüller.
3814
3815 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3816
3817         * kbmap.C (read): fix error message when reading bind files
3818
3819 2003-07-29  Angus Leeming  <leeming@lyx.org>
3820
3821         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3822         certainly does not do what it purports to do. I am doing it, and
3823         us, a favour by killing it.
3824
3825 2003-07-28  José Matos  <jamatos@lyx.org>
3826
3827         * buffer.C (readBody, do_writeFile):
3828         * paragraph.C(readParagraph): \end_document replaces \the_end.
3829
3830 2003-07-29  André Pönitz  <poenitz@gmx.net>
3831
3832         * BufferView.[Ch]:
3833         * BufferView_pimpl.[Ch]:
3834         * lyxfunc.C:
3835         * text2.C:
3836         * text3.C:
3837         * textcursor.[Ch]: remove toggleToggle & Co
3838
3839 2003-07-28  José Matos  <jamatos@fep.up.pt>
3840
3841         * buffer.C (readParagraph):
3842         * params_func (readParToken, readParagraph):
3843         * paragraph.C (write): \layout -> \begin_layout.
3844
3845 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3846
3847         * lyxlex_pimpl.C (setFile): clean up slightly.
3848
3849         * bufferparams.h: add compressed var
3850
3851         * buffer_funcs.C (readFile): adjust for LyXLex change
3852         (newFile): ditto + simplify
3853
3854         * buffer.C (writeFile): handle writing of compressed files
3855
3856         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3857         Check if the file is compressed and set a bufferparm if so.
3858
3859         * Makefile.am (lyx_LDADD): remove explicit -lz
3860
3861 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3862
3863         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3864         makeDocBookFile): put the real LyX version in the first line of
3865         the file
3866
3867         * version.h:
3868         * version.C.in: remove lyx_docversion
3869
3870         * tabular.C (write_attribute): add a template-based version to
3871         write enums properly
3872
3873 2003-07-28  André Pönitz  <poenitz@gmx.net>
3874
3875         * lyxtext.h:
3876         * text.C:
3877         * text2.C:
3878         * text3.C: use doubles again for x-coordinates. They are needed.
3879
3880 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3881
3882         * messages.C (getLocaleDir): use lyx_localedir()
3883
3884         * lyxlex_pimpl.C (setFile): compress stuff
3885
3886         * buffer.C (writeFile): add some compression stuff
3887         (do_writeFile): new func, dont call expliti close... will this
3888         breake anything?
3889
3890         * Makefile.am (lyx_LDADD): add -lz
3891
3892 2003-07-28  José Matos  <jamatos@fep.up.pt>
3893
3894         * buffer.C: increment file format.
3895         * paragraph_funcs (readParagraph, readParToken):
3896         * paragraph.C (readParagraph): add \end_layout.
3897
3898 2003-07-27  Angus Leeming  <leeming@lyx.org>
3899
3900         * Makefile.am: remove special casing for configure-time setting of
3901         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3902
3903         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3904         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3905
3906 2003-07-26  André Pönitz  <poenitz@gmx.net>
3907
3908         * paragraph_func.[Ch]:
3909         * paragraph.C (realizeFont): inline it whereever it is used
3910
3911         * rowpainter.C:
3912         * text.C:
3913         * text2.C:
3914         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3915
3916
3917 2003-07-26  André Pönitz  <poenitz@gmx.net>
3918
3919         *       lyxtext.h:
3920         * text.C:
3921         * text2.C: get rid of LyXText::need_break_row
3922
3923 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3924
3925         * toc.[Ch]: put namespace toc inside namespace lyx
3926
3927         * MenuBackend.C (expandToc2): adjust for lyx::toc
3928         (expandToc): ditto
3929
3930         * lyxfunc.C (dispatch): adjust for lyx::find
3931
3932         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3933         lyx::find instead. Reorganize a bit.
3934         (LyXReplace): rename to replace
3935         (LyXFind): rename to find
3936
3937         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3938         (dispatch): ditto
3939
3940 2003-07-26  André Pönitz  <poenitz@gmx.net>
3941
3942         * text.C (setHeightOfRow): restrict scope of temporary variable
3943
3944         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3945           code (never has been used?)
3946
3947 2003-07-27  Asger Alstrup  <alstrup@local>
3948
3949         * text.C (fill): Optimise algorithm to exploit that we can reuse
3950         the LyXFont for many characters.
3951         (setHeightOfRow): Same thing.
3952         (rowBreakPoint): Same thing.
3953
3954 2003-07-26  Asger Alstrup  <alstrup@local>
3955
3956         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3957
3958         * text.C (singleWidth): Spurious font copying in hot-spot
3959         singleWidth avoided. Reorder tests for arabic for efficiency.
3960
3961         * text.C (fill): handle empty paragraphs better.
3962
3963 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3964
3965         * ispell.C:
3966         * encoding.h: add includes
3967
3968         * lyxrc.C: remove reading of bind files
3969
3970         * lyx_main.C (init): setup bindings and menus only if we have a
3971         gui.
3972
3973         * kbmap.C (read): new method. Do the actual reading of bind
3974         files.
3975
3976         * converter.C (dvipdfm_options):
3977         * bufferparams.C:
3978         * lyxrc.C (read):
3979         (output): adapt PAPER_* enums.
3980
3981         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3982
3983         * bufferparams.h: remove paper-related enums from there
3984
3985         * paper.h: New file. A trivial header file to hold paper-related
3986         enums. It should later expand to contain many paper-related
3987         horrors access.
3988
3989         * lyxrc.C: declare extern displayTranslator
3990
3991 2003-07-27  José Matos  <jamatos@fep.up.pt>
3992
3993         * tabular.[Ch] (linuxdoc): add support for tables and figures
3994         (linuxdoc).
3995
3996 2003-07-27  José Matos  <jamatos@fep.up.pt>
3997
3998         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3999         consistency in both functions.
4000         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4001
4002 2003-07-26  Asger Alstrup  <alstrup@local>
4003
4004         * rowpainter.C (paintRows): Change algorithm to work directly on
4005         the insets rather than asking every character in the document
4006         whether its an inset.
4007
4008 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4009
4010         * buffer.C (openFileWrite): factorize some code
4011
4012 2003-07-26  Angus Leeming  <leeming@lyx.org>
4013
4014         * lyx_cb.C:
4015         * lyx_main.[Ch]: replace occurances of system_tempdir with
4016         os::getTmpDir().
4017
4018 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4019
4020         * rename Inset to InsetOld
4021
4022 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4023
4024         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4025         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4026         which I think is a bit clearer. EDIT is gone, since it was
4027         premature optimisation, and broken for mathed anyway.
4028         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4029         with cursor positioning in insets as well (math insets still do not
4030         work, but that's a different story anyway.) It mysteriously
4031         crashes sometimes with undo in the first paragraph, but I'm fairly
4032         confident that this is a compiler bug.
4033
4034 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4035
4036         * paragraph.C (Paragraph): adjust for new clone return type
4037         (operator==): ditto
4038         (copyIntoMinibuffer): ditto
4039
4040 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4041
4042         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4043         by not having a special case, and always doing a full rebreak of
4044         the document after undo.
4045
4046 2003-07-23  Angus Leeming  <leeming@lyx.org>
4047
4048         * factory.C (createInset): InsetExternal::setParams now takes a
4049         Buffer const * arg.
4050
4051 2003-07-23  Angus Leeming  <leeming@lyx.org>
4052
4053         * factory.C (createInset): changed interface to the external and
4054         graphics mailers' string2params functions.
4055
4056 2003-07-23  Angus Leeming  <leeming@lyx.org>
4057
4058         * factory.C (createInset): pass a
4059         Buffer const * parameter to InsetExternalMailer's string2params.
4060
4061 2003-07-22  John Levon  <levon@movementarian.org>
4062
4063         * Thesaurus.h: include the right aiksaurus header
4064
4065 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4066
4067         * MenuBackend.C (expand): check menu shortcuts unconditionally
4068
4069 2003-07-21  Angus Leeming  <leeming@lyx.org>
4070
4071         * factory.C (createInset): pass a
4072         buffer_path parameter to InsetGraphicsMailer's string2params.
4073
4074 2003-07-21  Angus Leeming  <leeming@lyx.org>
4075
4076         * BufferView_pimpl.C (buffer):
4077         * buffer.C (d-tor):
4078         * lyx_main.C (LyX):
4079         * lyxfunc.C (dispatch):
4080         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4081         rather than the grfx shortcut.
4082
4083 2003-07-21  André Pönitz  <poenitz@gmx.net>
4084
4085         * rowpainter.C: remove unused variables
4086
4087         * tabular_funcs.C:
4088         * tabular_funcs.h: move to tabular.C
4089         * Makefile.am: adjust
4090
4091         * tabular.[Ch]: basic optical cleaning
4092
4093         * author.h: pass references, not values
4094
4095 2003-07-18  André Pönitz  <poenitz@gmx.net>
4096
4097         * lyxtext.h:
4098         * metricsinfo.C:
4099         * metricsinfo.h:
4100         * rowpainter.C:
4101         * text.C:
4102         * text2.C:
4103         * text3.C: two-phase drawing for InsetText and InsetTabular
4104         some float -> int changes.
4105
4106 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4107
4108         * lyx_main.C: fix the fix
4109
4110 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4111
4112         * lyx_main.C: fix a crash in batch mode if no files specified
4113         * converter.C: ws
4114
4115 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4116
4117         * format.[Ch] (papersize): moved to BufferParams
4118         * converter.[Ch] (dvips_options): moved to BufferParams
4119         (dvipdfm_options): moved to anon namespace
4120         * bufferparams.[Ch]: added above functions.
4121
4122 2003-07-17  André Pönitz  <poenitz@gmx.net>
4123
4124         * lyxtext.h:
4125         * rowpainter.C:
4126         * text2.C: don't call inset->update() anymore
4127
4128         * metricsinfo.[Ch]: add convenience constructor
4129
4130 2003-07-16  André Pönitz  <poenitz@gmx.net>
4131
4132         * lyxcursor.[Ch]:
4133         * lyxfunc.[Ch]:
4134         * text.C:
4135         * text2.C: replace the LyXCursor::irow_ member with
4136          on-demand computation of the value
4137
4138 2003-07-16  John Levon  <levon@movementarian.org>
4139
4140         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4141
4142 2003-07-15  André Pönitz  <poenitz@gmx.net>
4143
4144         * text.C:
4145         * text2.C: remove no more needed refresh_row
4146
4147 2003-07-15  André Pönitz  <poenitz@gmx.net>
4148
4149         * lyxtext.h:
4150         * rowpainter.C:
4151         * text2.C:
4152         * text3.C: refresh_status tristate -> need_update bool
4153
4154 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4155
4156         * lyxtext.h (init): remove reinit argument (act as if always true)
4157         * text2.C: adjust to that
4158
4159 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4160
4161         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4162         * text3.C: use it to delete selections in some cases
4163         (bugs 441, 673, 702, 954).
4164
4165 2003-07-14  André Pönitz  <poenitz@gmx.net>
4166
4167         * rowpainter.[Ch]: reduce interface
4168
4169 2003-07-14  André Pönitz  <poenitz@gmx.net>
4170
4171         * BufferView_pimpl.C:
4172         * text2.C: adjust after removing unused BufferView * argument
4173
4174 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4175
4176         * text2.C (init): fix a crash fired on resize
4177
4178 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4179
4180         * buffer.[Ch]: added new closing signal
4181         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4182         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4183         BufferView::Pimpl via the closing the signal
4184
4185 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4186
4187         * buffer.[Ch]: take out all bv-related from buffer
4188         * BufferView.C:
4189         * BufferView_pimpl.[Ch]: connect to new signals
4190         * CutAndPaste.C: removed useless asserts
4191         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4192         * lyxvc.[Ch]:
4193         * vc-backend.[Ch]:
4194         * lyxfunc.C: moved view-related funciontality from vc here
4195         * paragraph.C: removed outdated comments
4196         * text.C: ws
4197
4198 2003-07-10  André Pönitz  <poenitz@gmx.net>
4199
4200         * BufferView_pimpl.C:
4201         * tabular.h:
4202         * tabular_funcs.C:
4203         * text.C:
4204         * text2.C: remove InsetText::InnerCache, clean up consequences
4205
4206 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4207
4208         * ispell.C: fix two typos in error messages
4209
4210 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4211
4212         * Extend Note inset to other forms of annotation like Comment
4213         and Greyedout. Right button click gives dialog.
4214
4215         Files modified or added (+):
4216
4217         * insetnote.[Ch]
4218         * FormNote.[Ch]      +
4219         * ControlNote.[Ch]   +
4220         * form_note.fd       +
4221         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4222         frontends/controllers
4223         * xforms/Dialogs.C
4224         * factory.C
4225
4226 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4227
4228         * aspell.C: add missing namespace lyx::support
4229
4230 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4231
4232         * BufferView.[Ch] (newFile): Add
4233         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4234         * LaTeX.[Ch] (message): added this signal and use it
4235         * buffer.[Ch] (busy, message): added these signals and use them
4236         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4237         * converter.C:
4238         * exporter.C:
4239         * format.C:
4240         * importer.C: use buffer signals instead of direct bv calling
4241         * lyx_cb.[Ch] (ShowMessage): removed
4242         * lyx_main.C:
4243         * lyxfunc.C:
4244         * paragraph_funcs.C:
4245         * text2.C: use buffer signals
4246
4247 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4248
4249         * introduce namespace lyx::graphics
4250
4251 2003-07-02  André Pönitz  <poenitz@gmx.net>
4252
4253         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4254
4255 2003-07-01  André Pönitz  <poenitz@gmx.net>
4256
4257         * text.C:
4258         * text2.C:
4259         * text3.C:
4260         * text_funcs.[Ch]:
4261         * textcursor.h:
4262         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4263           text*.C to text_func.C
4264
4265 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4266
4267         * introduce namespace lyx::support
4268
4269 2003-06-30  André Pönitz  <poenitz@gmx.net>
4270
4271         * Chktex.C:
4272         * funcrequest.C:
4273         * lyxtext.h:
4274         * text.C: re-enable --with-included-string
4275
4276 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4277
4278         * textcursor.C: add <config.h>
4279
4280         * text.C (getWord): remove const from word_location arg
4281
4282         * lyxvc.C (getLogFile): fix const type order
4283
4284         * lyxtext.h: remove const from word_location arg, add arg name
4285
4286         * lyxlayout.h: currect type on labeltype.
4287
4288         * importer.C: correct \file
4289
4290         * converter.C (intToFormat): use std:: on ret val, ws changes
4291
4292         * bufferlist.h: correct \file
4293
4294         * buffer.C (makeLinuxDocFile): fix const type order
4295         (makeDocBookFile): ditto
4296         (fillWithBibKeys): use std:: on stdlib args.
4297
4298         * CutAndPaste.C: fix authors.
4299         (availableSelections): use std:: on return vector
4300
4301 2003-06-27  André Pönitz  <poenitz@gmx.net>
4302
4303         * BufferView_pimpl.C:
4304         * bufferview_funcs.C:
4305         * lyxcursor.C:
4306         * lyxcursor.h:
4307         * lyxfunc.C:
4308         * lyxtext.h:
4309         * rowpainter.C:
4310         * text.C:
4311         * text2.C:
4312         * text3.C: remove LyXCursor::row_ member
4313
4314         * lyxtext.h:
4315         * text.C: rename fullRebreak() to partialRebreak() and implement
4316           a fullRebreak() that really bereks fully
4317
4318         * textcursor.h: new struct for cursor-related data
4319
4320 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4321
4322         * lyx_main.C (LyX): get full path of document loaded on the
4323         command line
4324
4325 2003-06-26  André Pönitz  <poenitz@gmx.net>
4326
4327         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4328           remove unused/broken operator>,<,>=.
4329
4330         *       text.C: remove only use of broken operator<= in an Assert().
4331
4332 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4333
4334         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4335         moved errorlist_.clear to showErrorList
4336
4337 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4338
4339         * converter.C (scanLog, runLaTeX):
4340         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4341         move the bv->showErrorList call to the callers
4342         * lyxfunc.C: i.e. here...
4343         * text2.C: and here
4344         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4345         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4346         namespace, the second to...
4347         * buffer_funcs (BufferFormat, parseErrors): added
4348         * errorlist.C (ErrorList(TeXErrors const &)): removed
4349
4350 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4351
4352         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4353
4354 2003-06-24  "Garst R. Reese" <reese@isn.net>
4355
4356         * debug.C: fix typo
4357
4358 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4359
4360         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4361
4362         * version.C.in: change docversion to 1.4
4363
4364 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4365
4366         * buffer.C: fix a bug just introduced
4367
4368 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4369
4370         * buffer.[Ch]: added the parseError signal and use it, removed
4371         sgmlError
4372         * BufferView.[Ch] (addError): moved to ...
4373         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4374         to the Buffer::parseError signal to catch (guess what) parse errors
4375         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4376
4377 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4378
4379         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4380         ability to create a buffer and to return an existing one from
4381         the list. Moved these functions to...
4382         * buffer_funcs.[Ch]: added
4383         * BufferView.[Ch] (loadLyXFile): added
4384         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4385         job removed from bufferlist::loadLyXFile.
4386         * buffer.C (setReadOnly): make it work without view
4387         (i.e added an if (users))
4388
4389 2003-06-19  Angus Leeming  <leeming@lyx.org>
4390
4391         * lfuns.h:
4392         * LyXAction.C (init):
4393         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4394         with LFUN_DIALOG_SHOW <name> <data>.
4395
4396 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4397
4398         * CutAndPaste.C (availableSelections): small compilation fix for
4399         ancient (gcc 2.9x) compilers
4400
4401 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4402
4403         * text3.C (cursorNext): add tmp var
4404
4405         * text2.C (updateCounters): for function calling out of for clause
4406         (replaceSelectionWithString): ditto
4407         (insertStringAsParagraphs): ditto
4408         (getColumnNearX): add tmp var
4409         (setCursorFromCoordinates): add tmp var
4410         (cursorDownParagraph): add tmp var
4411         (deleteEmptyParagraphMechanism): add tmp var
4412
4413         * text.C (insertChar): add tmp var
4414
4415         * rowpainter.C (paintDepthBar): add tmp var
4416
4417         * CutAndPaste.C (availableSelections): potentially check all
4418         paragraphs in a cut to fill the shown strings.
4419
4420 2003-06-18  André Pönitz  <poenitz@gmx.net>
4421
4422         * kbmap.[Ch]: use vector<> instead of list<>
4423
4424 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4425
4426         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4427         pasteSelection with index
4428
4429         * text2.C (pasteSelection): modify, call pasteSelection with index
4430
4431         * paragraph.C (asString): reimplement version with no interval to
4432         call the one with interval.
4433
4434         * lyxtext.h: add index arg to pasteSelection
4435
4436         * MenuBackend.C (MenuItem): handle PasteRecent
4437         (Menu::read::Menutags): add md_pasterecent
4438         (read): handle it
4439         (expandPasteRecent): new function
4440         (expand): use it
4441
4442         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4443
4444         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4445         the limited stack
4446         (availableSelections): new function
4447
4448 2003-06-17  Angus Leeming  <leeming@lyx.org>
4449
4450         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4451
4452 2003-06-17  Angus Leeming  <leeming@lyx.org>
4453
4454         * lfuns.h:
4455         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4456
4457         * lyxfunc.C (dispatch): invoke it.
4458
4459 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4460
4461         * iterators.C (operator++, ParPosition): reintroduce some
4462         const_cast for the benefit of older compilers.
4463
4464 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4465
4466         * text3.C (dispatch): do not modify clipboard when doing
4467         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4468         LFUN_DELETE_SKIP on a selection selection
4469
4470 2003-06-16  André Pönitz  <poenitz@gmx.net>
4471
4472         * BufferView.C:
4473         * buffer.C:
4474         * buffer.h:
4475         * paragraph.C:
4476         * tabular.[Ch]: IU of clone() and getLabelList();
4477
4478 2003-06-13  André Pönitz  <poenitz@gmx.net>
4479
4480         * tabular.h: compactification
4481
4482 2003-06-12  André Pönitz  <poenitz@gmx.net>
4483
4484         * tabular.C:
4485         * tabular.h:
4486         * tabular_funcs.h: some renaming plus whitespace
4487
4488 2003-06-12  André Pönitz  <poenitz@gmx.net>
4489
4490         * BufferView.C:
4491         * BufferView_pimpl.C:
4492         * CutAndPaste.C:
4493         * buffer.C:
4494         * iterators.[Ch]:
4495         * lyxfunc.C:
4496         * text.C:
4497         * toc.C: Return a Paragraph & for ParIterator::operator*()
4498
4499 2003-06-11  John Levon  <levon@movementarian.org>
4500
4501         * lyx_main.C:
4502         * ToolbarBackend.h:
4503         * ToolbarBackend.C: add "Toolbars" section and
4504         put the flags there
4505
4506 2003-06-10  Angus Leeming  <leeming@lyx.org>
4507
4508         * lfuns.h:
4509         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4510
4511         * lyxfunc.C (dispatch): invoke it.
4512
4513 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4514
4515         * main.C: protect <ios> with HAVE_IOS
4516         (main): protect sync_with_stdio with HAVE_IOS
4517
4518 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4519
4520         * text2.C (cutSelection): adjust
4521         (pasteSelection): adjust
4522
4523         * messages.C: handle get of empty string
4524
4525         * main.C (main): use sync_with_stdio(false)
4526
4527         * lyxfunc.C (dispatch): adjust
4528
4529         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4530         (WriteAs): remove unneeded BufferView arg.
4531
4532         * bufferparams.h: use correct types on papersize, papersize2 and
4533         paperpackage.
4534
4535         * bufferparams.C (readToken): adjust for type
4536         (writeLaTeX): add missing cases to switch.
4537
4538         * bufferlist.C (quitWriteBuffer): adjust
4539         (close): adjust
4540
4541         * buffer.C (asciiParagraph): remove some commented code.
4542
4543         * CutAndPaste.C: remove current_view extern variable.
4544         (cutSelection): add BufferParams arg.
4545         (eraseSelection): add BufferParams arg.
4546         (pasteSelection): add Buffer const & arg
4547
4548 2003-06-07  John Levon  <levon@movementarian.org>
4549
4550         * buffer.C:
4551         * paragraph_funcs.C:
4552         * paragraph_pimpl.C:
4553         * text.C:
4554         * text2.C:
4555         * paragraph.h:
4556         * paragraph.C: allow InsetERT to freely space lines,
4557         and some consolidation of code
4558
4559 2003-06-06  José Matos  <jamatos@fep.up.pt>
4560
4561         * buffer.C (makeDocBookFile): fix bug #821
4562
4563 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4564
4565         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4566
4567 2003-06-04  Angus Leeming  <leeming@lyx.org>
4568
4569         * buffer.C: bump format to 224.
4570
4571 2003-06-05  André Pönitz  <poenitz@gmx.net>
4572
4573         * text2.C (redoParagraphs): remove two const_cast<>
4574
4575 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4576
4577         * ParagraphList.h: remove last remnants of NO_STD_LIST
4578
4579 2003-06-03  Angus Leeming  <leeming@lyx.org>
4580
4581         * factory.C (createInset): small change to the way InsetExternal's params
4582         are set.
4583
4584 2003-06-04  André Pönitz  <poenitz@gmx.net>
4585
4586         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4587
4588         * paragraph_pimpl.h:
4589         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4590
4591         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4592
4593         * undo_funcs.C: make some simple cases of undo work again
4594
4595 2003-06-03  John Levon  <levon@movementarian.org>
4596
4597         * ispell.C: HPUX doesn't have sys/select.h
4598         (from Albert Chin)
4599
4600 2003-06-03  John Levon  <levon@movementarian.org>
4601
4602         * CutAndPaste.C: update tabular and include inset
4603         buffer references
4604
4605         * buffer.h:
4606         * paragraph.h:
4607         * paragraph.C: remove owningBuffer(), don't pass Buffer
4608         to clone()
4609
4610         * factory.C: insetGraphicsParams changed
4611
4612 2003-06-02  John Levon  <levon@movementarian.org>
4613
4614         * LyXAction.C:
4615         * factory.C:
4616         * lfuns.h:
4617         * lyxfunc.C:
4618         * text3.C: remove insetparent
4619
4620 2003-06-02  John Levon  <levon@movementarian.org>
4621
4622         * buffer.h:
4623         * buffer.C: fix inset_iterator.end(), move out of line
4624         (bug 1149)
4625
4626 2003-06-01  John Levon  <levon@movementarian.org>
4627
4628         * text3.C: use a proper cut/paste when doing inset
4629         insert (from Jürgen Spitzmüller)
4630
4631 2003-06-01  John Levon  <levon@movementarian.org>
4632
4633         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4634
4635 2003-05-30  André Pönitz  <poenitz@gmx.net>
4636
4637         * rowpainter.C: unify second drawing phase
4638
4639 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4640
4641         * trans_mgr.C: remove one case of current_view
4642
4643         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4644
4645         * paragraph_funcs.h: remove paragraph.h include
4646
4647         * paragraph.h: delete NO_STD_LIST stuff
4648
4649         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4650
4651         * buffer.h: remove paragraph.h include
4652
4653         * ParagraphList.C: delete file
4654
4655         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4656
4657         * toc.C (getTocList): adjust
4658
4659         * paragraph_pimpl.C (validate): adjust
4660
4661         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4662
4663         * paragraph.C (Paragraph): adjust
4664         (getPositionOfInset): use const_iterator, adjust
4665         (bibitem): use const_iterator, adjust
4666         (setInsetOwner): adjust
4667
4668         * iterators.C (operator++): adjust
4669
4670         * InsetList.[Ch]: Replace selfmade iterator with standard
4671         vector::iterator also introduce const_iterator. Remove getPos,
4672         getInset and setInset from InsetTable. Adjust accordingly.
4673
4674         * BufferView.C (lockInset): adjust
4675         (ChangeInsets): adjust
4676
4677         * tabular.[Ch]: delete commented same_id functions
4678
4679 2003-05-28  John Levon  <levon@movementarian.org>
4680
4681         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4682
4683 2003-05-28  André Pönitz  <poenitz@gmx.net>
4684
4685         * metricsinfo.[Ch]: remove 'fullredraw' member
4686
4687 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4688
4689         * lyxtextclass.C (operator): remove caching.
4690
4691 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4692
4693         * text3.C: adjust
4694
4695         * text2.C (cursorBottom): adjust
4696         (setCounter): use ParagraphList::find, adjust
4697
4698         * text.C (workWidth): use ParagraphList::find, adjust
4699
4700         * lyxcursor.C (LyXCursor): adjust
4701
4702         * buffer.C (inset_iterator): adjust
4703
4704         * ParagraphList.h: make iterator(value_type) private, make
4705         ParagraphList a friend of iterator.
4706
4707         * ParagraphList.C (find): new function
4708
4709         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4710
4711 2003-05-27  André Pönitz  <poenitz@gmx.net>
4712
4713         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4714
4715 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4716
4717         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4718
4719 2003-05-26  John Levon  <levon@movementarian.org>
4720
4721         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4722
4723 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4724
4725         * remove same_id from function signatures, adjust.
4726
4727 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4728
4729         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4730
4731         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4732
4733         * paragraph.C (Paragraph): get rid of same_ids parameter
4734
4735         * ParagraphList.C (insert): adjust
4736         (push_back): adjust
4737
4738 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4739
4740         * paragraph_funcs.C (breakParagraph): adjust
4741         (breakParagraphConservative): adjust
4742
4743         * buffer.C (readParagraph): adjust
4744
4745         * ParagraphList.C (insert): take a reference instead of a pointer
4746         (insert): adjust
4747
4748         * paragraph.[Ch] (id): new function
4749
4750         * bufferlist.C (newFile): adjust
4751
4752         * ParagraphList.C (ParagraphList): adjust
4753         (assign): adjust
4754         (push_back): take a reference instead of a pointer.
4755
4756         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4757
4758         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4759         instead.
4760
4761         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4762         set else use old code.
4763
4764         * ParagraphList.C: remove all NO_NEXT code and only compile this
4765         code of NO_STD_LIST is set.
4766
4767 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4768
4769         * BufferView_pimpl.C:
4770         * TextCache.C:
4771         * TextCache.h:
4772         * bufferlist.C:
4773         * errorlist.h:
4774         * format.C:
4775         * format.h:
4776         * graph.C:
4777         * lyxfunc.C:
4778         * lyxrc.C:
4779         * graphics/GraphicsConverter.C:
4780         * graphics/PreviewLoader.C: header adjustment
4781
4782 2003-05-23  Angus Leeming  <leeming@lyx.org>
4783
4784         * LaTeXFeatures.[Ch] (useBabel): new method.
4785         * bufferparams.C (writeLaTeX): use it.
4786
4787 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4788
4789         * ParagraphList.h (set): remove unused function.
4790
4791 2003-05-23  André Pönitz  <poenitz@gmx.net>
4792
4793         * BufferView.C:
4794         * BufferView_pimpl.C:
4795         * buffer.C:
4796         * buffer.h:
4797         * lyxfunc.C:
4798         * undo_funcs.C: setUndo reworked
4799
4800         * iterators.[Ch]: add access to topmost ParagraphList
4801
4802         * lyxtext.[Ch] (workWidth): add a const
4803
4804 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4805
4806         * texrow.[Ch] (increasePos): remove function
4807         * exporter.C (export): removed unused var and outdated comment
4808
4809 2003-05-23  Angus Leeming  <leeming@lyx.org>
4810
4811         * latexrunparams.h: rename fragile as moving_arg.
4812         * paragraph.C (simpleTeXOnePar): ditto.
4813         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4814
4815 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4816
4817         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4818         (createUndo): ditto
4819         (textUndoOrRedo): comment out a currently unused var.
4820
4821         * paragraph.h (NO_NEXT): enable NO_NEXT
4822
4823         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4824
4825         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4826
4827         * exporter.C (Export): adjust for removeAutoInsets removal.
4828
4829         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4830
4831         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4832
4833         * BufferView.[Ch] (removeAutoInsets): delete function
4834
4835 2003-05-22  Angus Leeming  <leeming@lyx.org>
4836
4837         * latexrunparams.h: add a free_spacing variable.
4838
4839         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4840         to pass moving_arg, as the data is stored in runparams.fragile.
4841
4842         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4843         to Inset::latexOptional or to simpleTeXOnePar.
4844
4845         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4846         free_spacing arg to Inset::latexOptional.
4847
4848         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4849         free_spacing arg.
4850
4851 2003-05-22  Angus Leeming  <leeming@lyx.org>
4852
4853         * latexrunparams.h: add fragile and use_babel variables.
4854
4855         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4856         * buffer.C (makeLaTeXFile): store this returned value in
4857         runparams.use_babel, thus passing it to the inset::latex methods.
4858
4859         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4860         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4861
4862         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4863         longer has a fragile arg, as it is stored in runparams.fragile.
4864
4865         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4866         moving_arg parameter as the data is stored in runparams.fragile.
4867
4868         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4869         a fragile parameter as the data is stored in runparams.fragile.
4870
4871 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4872
4873         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4874
4875 2003-05-22  Angus Leeming  <leeming@lyx.org>
4876
4877         * latexrunparams.h: add a 'bool nice' which defaults to false.
4878
4879         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4880         now encapsulated within runparams.
4881
4882         * bufferlist.C (updateIncludedTeXfiles):
4883         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4884
4885 2003-05-22  Angus Leeming  <leeming@lyx.org>
4886
4887         * latexrunparams.h: new file containing struct LatexRunParams.
4888         * Makefile.am: add new file.
4889
4890         * LaTeX.[Ch] (c-tor, run):
4891         * buffer.[Ch] (makeLaTeXFile):
4892         * bufferlist.[Ch] (updateIncludedTeXfiles):
4893         * converter.C (convert, scanLog):
4894         * converter.[Ch] (runLaTeX):
4895         * exporter.C (Export):
4896         * paragraph.[Ch] (simpleTeXOnePar):
4897         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4898         * paragraph_funcs.[Ch] (latexParagraphs):
4899         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4900         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4901         pass around a LatexRunParams parameter.
4902
4903 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4904
4905         * paragraph.[Ch]: remove unused constructor
4906
4907         * ParagraphList.C (erase): new function, taking two iterators
4908
4909 2003-05-22  André Pönitz  <poenitz@gmx.net>
4910
4911         * undo_funcs.C: remove duplicated code
4912
4913         * iterator.[Ch]: operator=
4914
4915 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4916
4917         * tabular.C (SetMultiColumn): ws changes
4918
4919         * rowpainter.C (paintFirst): get rid of a ->previous
4920
4921         * lyx_cb.C (getPossibleLabel): parlist simplification
4922
4923         * BufferView.C (ChangeInsets): simplify slightly.
4924
4925 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4926
4927         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4928         * lfuns.h: new LFUN_SPACE
4929         * lyxfunc.C: protected space has a new lfun
4930         * paragraph_funcs.C: read new space insets
4931         * text3.C:
4932         * factory.C: handle new space insets
4933
4934 2003-05-22  André Pönitz  <poenitz@gmx.net>
4935
4936         * BufferView.C:
4937         * BufferView_pimpl.C:
4938         * buffer.[Ch]:
4939         * lyxfunc.C:
4940         * undo_funcs.C: return a ParIterator from getParFromID.
4941
4942         * iterators.[Ch]: add two const's
4943
4944 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4945
4946         * toc.C (getTocList): adjust
4947
4948         * iterators.[Ch]: rework for parlist
4949
4950         * buffer.C (par_iterator_begin): adjust
4951         (par_iterator_end): adjust
4952
4953         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4954
4955         * BufferView.C (removeAutoInsets): adjust
4956         (ChangeInsets): adjust
4957
4958 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4959
4960         * text.C (top_y): fix bug 1110
4961
4962 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4963
4964         * errorlist.[Ch]: added
4965         * buffer.C:
4966         * BufferView.[Ch]:
4967         * BufferView_pimpl.C:
4968         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4969         instead
4970
4971 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4972
4973         * Makefile.am: ensure that lyx is relinked upon changes to the
4974         various "convenience" libs.
4975
4976 2003-05-20  Angus Leeming  <leeming@lyx.org>
4977
4978         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4979         files are compiled in alphabetical order again.
4980
4981         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4982
4983 2003-05-19  Angus Leeming  <leeming@lyx.org>
4984
4985         * gettext.[Ch]: remove "char const * _(char const *)".
4986
4987 2003-05-19  André Pönitz  <poenitz@gmx.net>
4988
4989         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4990
4991         * Makefile.am:
4992         * BufferView.C:
4993         * DepTable.h:
4994         * LaTeXFeatures.C:
4995         * buffer.C:
4996         * lyxfont.C:
4997         * lyxlex.h:
4998         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4999
5000 2003-05-19  André Pönitz  <poenitz@gmx.net>
5001
5002         * buffer.C:
5003         * lyxlayout.[Ch]:
5004         * lyxtextclass.[Ch]:
5005         * paragraph.C:
5006         * paragraph_funcs.[Ch]:
5007         * text2.C:
5008         * text3.C: more insetenv work
5009
5010 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5011
5012         * ParagraphParameters.C (params2string): small bug fixed
5013
5014 2003-05-16  André Pönitz  <poenitz@gmx.net>
5015
5016         * debug.C:
5017         * bufferview_funcs.C: patch from Kornel Benko to prevent
5018           crash when _(...) is called twice in a statement
5019
5020 2003-05-16  André Pönitz  <poenitz@gmx.net>
5021
5022         * BufferView.C:
5023         * lyxfunc.C:
5024         * text.C:
5025         * text2.C:
5026         * text3.C:
5027         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5028
5029 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5030
5031         * lyx_main.C (init): remove spurious static_cast
5032
5033 2003-05-14  André Pönitz  <poenitz@gmx.net>
5034
5035         * BufferView.C: fix format string
5036
5037 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5038
5039         * BufferView.[Ch] (insertErrors): removed
5040         * BufferView.[Ch] (showErrorList): added
5041         * buffer.C (runChkTeX):
5042         * converter.C (scanLog): call showErrorList instead of inserterrors
5043
5044 2003-05-13  André Pönitz  <poenitz@gmx.net>
5045
5046         * BufferView_pimpl.C:
5047         * buffer.C:
5048         * bufferview_func.C:
5049         * MenuBackend.C:
5050         * lyxfunc.C:
5051         * lyxrc.C:
5052         * tex-accent.C:
5053         * text3.C:
5054         * toc.C:
5055         * tabular_funcs.h: tostr() from its own header
5056
5057         * ParagraphParameters.C:
5058         * ToolbarBackend.C:
5059         * bufferparams.C:
5060         * format.C:
5061         * lyxlex_pimpl.C:
5062         * text3.C: STRCONV()
5063
5064 2003-05-12  André Pönitz  <poenitz@gmx.net>
5065
5066         * BufferView.C:
5067         * BufferView_pimpl.C:
5068         * CutAndPaste.C:
5069         * LaTeX.C:
5070         * LaTeXFeatures.C:
5071         * ParagraphParameters.C:
5072         * buffer.C:
5073         * bufferlist.C:
5074         * bufferparams.C:
5075         * bufferview_funcs.C:
5076         * converter.C:
5077         * counters.C:
5078         * debug.C:
5079         * exporter.C:
5080         * format.C:
5081         * importer.C:
5082         * lyx_cb.C:
5083         * lyx_main.C:
5084         * lyxfont.C:
5085         * lyxfunc.C:
5086         * lyxvc.C:
5087         * paragraph.C:
5088         * paragraph_funcs.C:
5089         * tabular.C:
5090         * tabular_funcs.C:
5091         * text2.C:
5092         * text3.C:  boost::format -> bformat  all over the place
5093
5094
5095 2003-05-09  André Pönitz  <poenitz@gmx.net>
5096
5097         * LColor.[Ch]: Pimpl the #include <map> away
5098
5099 2003-05-09  John Levon  <levon@movementarian.org>
5100
5101         * bufferlist.C: never remove emergency saves
5102
5103 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5104
5105         * Makefile.am: better lib building
5106
5107 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5108
5109         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5110         instead.
5111         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5112         (simpleTeXSpecialChars): adjust
5113         (simpleTeXSpecialChars): adjust
5114         * paragraph.C (simpleTeXOnePar): adjust
5115         * buffer.C (makeLaTeXFile): adjust
5116
5117         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5118
5119         * text2.C (changeDepth): parlist cleanup
5120         (getColumnNearX): ditto
5121
5122         * rowpainter.C (getLabelFont): parlist cleanup
5123
5124         * bufferlist.C (newFile): parlist cleanup
5125
5126         * CutAndPaste.C (eraseSelection): parlist cleanup
5127
5128         * BufferView_pimpl.C (trackChanges): parlist cleanup
5129         (dispatch): ditto
5130
5131         * BufferView.C (lockInset): parlist cleanup.
5132         (ChangeInsets): ditto
5133
5134 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5135
5136         * CutAndPaste.h: Update file header.
5137
5138         * CutAndPaste.C: Update file header.
5139         Store the parts cut out of the Document in a limited_stack.
5140         (copySelection): adjust
5141         (pasteSelection): new function, takes the index in the limited stack.
5142         (nrOfParagraphs): adjust
5143         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5144         simplify error inset insertion.
5145         (checkPastePossible): adjust
5146
5147 2003-05-06  John Levon  <levon@movementarian.org>
5148
5149         * text2.C: don't cast wrap inset to float
5150
5151 2003-05-05  André Pönitz  <poenitz@gmx.net>
5152
5153         * iterator.C:
5154         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5155
5156         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5157           few naked Paragraph *.
5158
5159 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5160
5161         * bufferparams.C: Output warning if a document with missing
5162         TeX document class is loaded
5163         * exporter.C: Disable TeX exports if the document class is missing
5164         * lyxtextclass.C:
5165         * lyxtextclass.h:
5166         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5167         isTeXClassAvailable()
5168
5169 2003-05-03  John Levon  <levon@movementarian.org>
5170
5171         * BufferView.h:
5172         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5173         explicit cursor show/hide
5174
5175         * BufferView_pimpl.h:
5176         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5177         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5178
5179         * lyxfunc.C: hide cursor before dispatching.
5180
5181         * lyx_cb.C:
5182         * lyxfind.C:
5183         * text.C:
5184         * text3.C: remove explicit cursor hides
5185
5186 2003-05-02  André Pönitz  <poenitz@gmx.net>
5187
5188         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5189
5190         * undo_funcs.C:
5191         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5192           linked lists
5193
5194         * text2.C: tiny whitespace
5195
5196 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5197
5198         * undo_funcs.C: almost only ws changes.
5199
5200         * ParagraphList.C (splice): just return if pl is empty.
5201
5202 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5203
5204         * ParagraphList.C (splice): new function.
5205
5206         * CutAndPaste.C (pasteSelection): use it
5207
5208 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5209
5210         * CutAndPaste.C (pasteSelection): remove the last next and
5211         previous from this file.
5212
5213 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5214
5215         * CutAndPaste.C (pasteSelection): more clean up, user proper
5216         ParagraphList functions for pasteing.
5217
5218         * ParagraphList.C (insert): new function, three arg insert
5219
5220 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5221
5222         * ParagraphList.C (insert): new function, three arg insert
5223
5224         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5225         not on paragraphs.
5226
5227 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5228
5229         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5230
5231 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5232
5233         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5234
5235 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5236
5237         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5238         (copySelection): clean up a bit.
5239         (pasteSelection): use make_pair
5240
5241         * ParagraphList.C (ParagraphList): implement copy constructor
5242         (operator=): implement, base on copy constructor.
5243         (assign): new func
5244
5245         * paragraph.C (erase): return a bool
5246
5247         * paragraph_pimpl.C (erasePos): remove function, move contents...
5248         (erase): ... here. Return a bool.
5249         (erase): call erase instead of erasePos.
5250
5251 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5252
5253         * ParagraphList.h: define PitPosPair
5254         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5255         ParagraphList, fix a bug on pasting multiple pars
5256         * text2.C: change interface to C&P
5257
5258 2003-04-30  André Pönitz  <poenitz@gmx.net>
5259
5260         * undo_func.C: revert part of yesterday's patch 2
5261
5262 2003-04-30  John Levon  <levon@movementarian.org>
5263
5264         * LColor.C: s/tabular/table/
5265
5266 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5267
5268         * text3.C (dispatch): do not convert iterator -> pointer
5269         * undo_funcs.C (setCursorParUndo): ditto
5270         * text_funcs.C (transposeChars): ditto
5271
5272         * text2.C (setLayout): ws changes only
5273
5274         * text.C (breakParagraph): do not convert iterator -> pointer
5275         (insertChar): ditto
5276         (acceptChange): ditto
5277         (rejectChange): ditto
5278         (changeCase): ditto
5279         (Delete): ditto
5280         (backspace): ditto
5281
5282         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5283         pointer
5284
5285 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5286
5287         * text3.C (gotoInset): YABG (yet another bad getChar)
5288
5289 2003-04-29  André Pönitz  <poenitz@gmx.net>
5290
5291         * paragraph.h: make operator= private unimplemented as long as
5292           it is unusable
5293
5294         * ParagraphList.C: whitespace
5295
5296         * paragraph.[Ch]:
5297         * paragraph_pimpl.[Ch]:
5298         * paragraph_funcs.C:
5299         * CutAndPaste.C:
5300         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5301
5302         * text2.C:
5303           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5304
5305 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5306
5307         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5308         * paragraph.[Ch] (erase):
5309         * paragraph_pimpl.[Ch] (erase): change return type and value
5310         * text2.C (cutSelection): some rework
5311
5312 2003-04-28  John Levon  <levon@movementarian.org>
5313
5314         * bufferlist.C: changes for unsaved changes dialog
5315
5316 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5317
5318         * bufferlist.C (newFile): set language (messages_) for new
5319         documents also.
5320
5321         * buffer.C (readFile): ws changes only.
5322
5323 2003-04-28  André Pönitz  <poenitz@gmx.net>
5324
5325         * undo_funcs.C:
5326         * lyxfunc.C:
5327         * buffer.[Ch]:
5328         * BufferView_pimpl.C:
5329         * BufferView.C: getParFromID related ParagraphList::iterator changes
5330
5331 2003-04-28  André Pönitz  <poenitz@gmx.net>
5332
5333         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5334           Changes
5335
5336 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5337
5338         * messages.C: remove one more localedir class variable.
5339
5340 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5341
5342         * messages.C (getLocaleDir): singleton generation function
5343         (Pimpl): use it.
5344         (Messages): add a default constructor.
5345
5346         * main.C (main): do not setup localedir here, do not call
5347         gettext_init.
5348
5349         * gettext.C (_): use it.
5350         (gettext_init): delete funciton
5351
5352 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5353
5354         * gettext.C (getLyXMessages): new singleton generating function.
5355
5356         * buffer.C (updateDocLang): adjust
5357
5358         * Makefile.am (messages.o): add target
5359         (main.o): remove target
5360
5361 2003-04-27  John Levon  <levon@movementarian.org>
5362
5363         * bufferlist.C:
5364         * lyx_cb.C:
5365         * lyxfunc.C:
5366         * lyxvc.C: specify cancel button in Alert::prompt
5367
5368 2003-04-26  John Levon  <levon@movementarian.org>
5369
5370         * text3.C:
5371         * lyxfunc.C:
5372         * lfuns.h:
5373         * LyXAction.C: add LFUN_INSET_SETTINGS
5374
5375         * lyxfunc.C: don't enable tabular-feature when there's
5376         just any locking inset
5377
5378 2003-04-26  John Levon  <levon@movementarian.org>
5379
5380         * bufferlist.C: re-add Cancel to buffer close question
5381
5382         * lyxfunc.C: fix import UI a bit
5383
5384 2003-04-25  John Levon  <levon@movementarian.org>
5385
5386         * gettext.C: remove the broken asserts for now
5387
5388 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5389
5390         * messages.C: make case where setlocale cannot comply work better.
5391
5392         * buffer.C (updateDocLang): new function
5393         (changeLanguage): use it
5394         (readFile): use it
5395
5396         * text2.C (setCounter): use B_ a bit.
5397
5398         * lyxlayout.C (Read): be sure to trim the label strings.
5399
5400         * messages.C (Messages): fix typo in comment
5401
5402         * buffer.C (readFile): set message_ after file is loaded.
5403         (makeDocBookFile): remove double return
5404         (changeLanguage): reset message_ upon language change.
5405         (B_): new func, use this to get translated buffer strings.
5406
5407         * main.C: add myself and Jean Marc as authors.
5408
5409 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5410
5411         * messages.[hC]: pimplify Messages, and three different pimpls to be
5412         used in different circumstances.
5413
5414         * gettext.[Ch]: change for use with new message code.
5415
5416 2003-04-24 André Pönitz <poenitz@gmx.net>
5417
5418         * factory.C: support for eqref
5419
5420 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5421
5422         * messages.[Ch]: add missing char
5423
5424         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5425
5426         * messages.[Ch]: New files
5427
5428 2003-04-18  John Levon  <levon@movementarian.org>
5429
5430         * BufferView.h:
5431         * BufferView.C:
5432         * BufferView_pimpl.C:
5433         * lfuns.h:
5434         * LyXAction.C:
5435         * lyxtext.h:
5436         * text2.C: remove layout-copy/paste (bug 778)
5437
5438 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5439
5440         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5441
5442 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5443
5444         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5445         if they succeed. Act accordingly.
5446
5447 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5448
5449         * text2.C (setCharFont): adjust
5450         (setCounter): adjust
5451         (insertStringAsLines): adjust
5452
5453         * text.C (leftMargin): adjust
5454         (setHeightOfRow): adjust
5455
5456         * rowpainter.C (paintFirst): adjust
5457         (paintLast): adjust
5458
5459         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5460         (outerHook): ditto
5461         (isFirstInSequence): ditto
5462         (getEndLabel): ditto
5463         (outerFont): adjust
5464
5465         * paragraph.C (getParLanguage): comment out some hard stuff.
5466
5467         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5468         (sgmlError): ditto
5469         (simpleDocBookOnePar): ditto
5470         (makeDocBookFile): use ParagraphList::iterator
5471
5472         * CutAndPaste.C (pasteSelection): adjust
5473
5474 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5475
5476         * text2.C (getFont): adjust
5477         (getLayoutFont): adjust
5478         (getLabelFont): adjust
5479
5480         * paragraph_funcs.C (TeXOnePar): adjust
5481
5482         * buffer.C (simpleLinuxDocOnePar): adjust
5483         (simpleDocBookOnePar): adjust
5484
5485         * CutAndPaste.C (pasteSelection): adjust
5486
5487         * BufferView.C (getEncoding): adjust
5488
5489         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5490
5491 2003-04-16  John Levon  <levon@movementarian.org>
5492
5493         * lyxfind.C: use parlist stuff for search/changes
5494
5495 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5496
5497         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5498
5499         * text2.C (deleteEmptyParagraphMechanism): adjust
5500
5501         * text2.[Ch] (ownerParagraph): delete func (both of them
5502
5503 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5504
5505         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5506
5507 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5508
5509         * ParagraphList.C: prepare for NO_NEXT
5510
5511 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5512
5513         * text2.C (getFont): adjust
5514         (getLayoutFont): adjust
5515         (getLabelFont): adjust
5516
5517         * paragraph.C (getFont): adjust
5518         (getLabelFont): adjust
5519         (getLayoutFont): adjust
5520
5521         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5522
5523 2003-04-15  John Levon  <levon@movementarian.org>
5524
5525         From Angus Leeming
5526
5527         * lyx_main.C: handle Include in .ui files
5528
5529 2003-04-15  John Levon  <levon@movementarian.org>
5530
5531         * MenuBackend.C: make the doc files length shorter
5532
5533         * ToolbarBackend.h:
5534         * ToolbarBackend.C: handle toolbar placement flags,
5535         Minibuffer
5536
5537 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5538
5539         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5540         adjust
5541
5542         * paragraph_funcs.C (TeXOnePar): adjust
5543
5544         * paragraph.C (getLabelFont): add outerfont arg, adjust
5545         (getLayoutFont): ditto
5546         (simpleTeXOnePar): adjust
5547
5548         * paragraph_pimpl.C (realizeFont): delete func
5549
5550 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5551
5552         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5553         row argument, constify cur argument.
5554
5555 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5556
5557         * text2.C (getFont): adjust
5558         (getLayoutFont): adjust
5559         (getLabelFont): adjust
5560
5561         * paragraph_funcs.C (TeXOnePar): adjust
5562         (outerFont): new func...
5563         (realizeFont): ...moved out from here, changed this to facilitate
5564         transition
5565
5566         * paragraph.C (getFont): take outerfont as arg, adjust
5567         (simpleTeXOnePar): add outerfont arg, adjust
5568
5569         * buffer.C (simpleLinuxDocOnePar): adjust
5570         (simpleDocBookOnePar): adjust
5571
5572         * CutAndPaste.C (pasteSelection): adjust
5573
5574         * BufferView.C (getEncoding): adjust
5575
5576 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5577
5578         * text2.C (setCharFont): adjust
5579         (setCounter): adjust
5580
5581         * text.C (leftMargin): adjust
5582         (setHeightOfRow): adjust
5583
5584         * rowpainter.C (paintFirst): adjust
5585         (paintLast): adjust
5586
5587         * paragraph_pimpl.C (realizeFont): adjust
5588
5589         * paragraph.C (isFirstInSequence): move from here...
5590         * paragraph_funcs.C (isFirstInSequence): ...to here
5591
5592         * paragraph.C (outerHook): move from here...
5593         * paragraph_funcs.C (outerHook): ...to here
5594
5595         * paragraph.C (depthHook): move from here...
5596         * paragraph_funcs.C (depthHook): ...to here
5597
5598         * paragraph.C (getEndLabel): move from here...
5599         * paragraph_funcs.C (getEndLabel): ...to here
5600
5601         * text2.C (realizeFont): move from here...
5602         * paragraph_funcs.C (realizeFont): ...to here
5603
5604 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5605
5606         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5607
5608 2003-04-14  Angus Leeming  <leeming@lyx.org>
5609
5610         * LColor.[Ch]: scrap LColor mathcursor.
5611
5612 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5613
5614         * lyxlex.[Ch] (text): delete function
5615         * trans.C (Load): adjust
5616         * paragraph_funcs.C (readParToken): adjust
5617
5618 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5619
5620         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5621         vector<char> instead of a char[].
5622
5623         * lyxlex_pimpl.C (getString): adjust
5624         (next): adjust
5625         (lex): use getString
5626         (eatLine): adjust
5627         (nextToken): adjust
5628
5629         * lyxlex.C (text): use pimpl_->getString()
5630         (getBool): ditto
5631         (findToken): ditto
5632
5633 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5634
5635         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5636         (makeFontEntriesLayoutSpecific): temp var for par.size()
5637         (setLayout): temp var for ownerParagraphs().end()
5638         (fullRebreak): temp var for rows().end()
5639         (selectionAsString): temp var for boost::next(startpit), realize
5640         that the while really is a regular for loop.
5641         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5642         setCursor in one place.
5643         (setParagraph): temp vr for ownerParagraphs().end()
5644         (updateCounters): make the while loop a for loop
5645         (cutSelection): temp var for ownerParagraphs().end()
5646         (updateInset): make the do {} while() a regular for loop
5647         (getCursorX): use temp vars
5648         (setCurrentFont): use temp vars
5649         (getColumnNearX): use temp vars
5650
5651 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5652
5653         * text.C (transformChar): use temp var for getChar
5654         (computeBidiTables): use temp var for row->par()
5655         (fill): move temp vars for row->par() and pit->layout() earlier in
5656         the function.
5657         (labelFill): use temp var for row->par()
5658         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5659         asc and desc, realize that pit never changes and that firstpit is
5660         just a duplicate and not needed. Exchange rit->par() with pit in a
5661         lot of places.
5662         (breakAgain): use a temp var for boost::next(rit)
5663         (breakAgainOneRow): ditto
5664         (breakParagraph): use a temp var for rows().begin()
5665         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5666         (cursorRightOneWord): use temp var for cursor.par() and
5667         cursor.pos(), remove usage of tmpcursor.
5668         (cursorLeftOneWord): use temp var for cursor.par() and
5669         cursor.pos() only set cur at end of function.
5670
5671 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5672
5673         * text.C, text2.C: exchange all usage of Paragraph::next with
5674         boost::next(ParagraphList::iterator)
5675
5676         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5677
5678         * text2.C (cursorTop): simplify implementation
5679         (cursorBottom): ditto
5680         (setParagraph): use ParagraphList::iterator
5681         (setCurrentFont): adjust
5682         (getColumnNearX): adjust
5683         (cursorRight): adjust
5684         (cursorLeft): remove usage of Paragraph::previous
5685         (cursorUpParagraph): ditto
5686         (deleteEmptyParagraphMechanism): slight cleanup
5687
5688         * text.C (isBoundary): take a Paragraph const & instead of a
5689         pointer as arg.
5690         (addressBreakPoint): ditto
5691         (leftMargin): remove usage of Paragraph::previous.
5692         (setHeightOfRow): ditto
5693         (cursorLeftOneWord): ditto
5694         (selectNextWordToSpellcheck): ditto
5695         (Delete): ditto
5696         (backspace): ditto
5697         (breakParagraph): remove one usage of Paragraph::next
5698         (redoParagraph): ditto
5699         (acceptChange): ditto
5700         (insertChar): adjust
5701         (rowBreakPoint): adjust
5702
5703         * bufferview_funcs.C (toggleAndShow): adjust
5704
5705 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5706
5707         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5708         methods to access it.
5709         * lyxtext.h:
5710         * text.C: Added updateRowPositions to compute all row positions.
5711         Make top_y and getRowNearY() to use the cached y position
5712
5713 2003-04-11  John Levon  <levon@movementarian.org>
5714
5715         * text.C (rowBreakPoint): reintroduce the labelEnd
5716         checks, code copied from the row fill stuff. Deep voodoo.
5717
5718         * text.C (fill): add a comment and debugging for the
5719         next poor soul.
5720
5721 2003-04-11  John Levon  <levon@movementarian.org>
5722
5723         * text.C: make sure fullrow insets get wrapped to the next line,
5724         even when they're in a manual label
5725
5726 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5727
5728         * text2.C (insertParagraph): make it take ParagraphList::iterator
5729         as arg.
5730         (setLayout): make it return ParagraphList::iterator
5731         (redoParagraphs): ditto
5732         (setCounter): ditto
5733         (checkParagraph): ditto
5734
5735         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5736
5737         * text2.C: adjust several funcs.
5738         (realizeFont): take a ParagraphList::iterator as arg.
5739         (getLayoutFont): ditto
5740         (getLabelFont): ditto
5741         (setCharFont): ditto
5742
5743         * text.C: adjust several funcs.
5744
5745 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5746
5747         * text.C (selectNextWordToSpellcheck): don't accidentally
5748         skip insets
5749
5750 2003-04-10  John Levon  <levon@movementarian.org>
5751
5752         * ToolbarBackend.C (getIcon): special handling for
5753         LFUN_MATH_DELIM
5754
5755 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5756
5757         * text2.C (cursorRight): a getChar assert fixed
5758
5759 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5760
5761         * text2.C (getFont): change to take a ParagraphList::iterator
5762         instead of Paragraph*
5763         Adjust several functions.
5764
5765         * text.C (transformChar): change to take a ParagraphList::iterator
5766         instead of Paragraph*
5767         (singleWidth): ditto
5768         Adjust several functions.
5769
5770         * rowpainter.C: adjust several functions
5771         * rowpainter.h:store a ParagraphList::iterator and not a
5772         Paragraph&.
5773
5774
5775 2003-04-09  John Levon  <levon@movementarian.org>
5776
5777         * lyxfunc.C:
5778         * lfuns.h:
5779         * LyXAction.h:
5780         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5781         and the "help" bits as well
5782
5783 2003-04-09  John Levon  <levon@movementarian.org>
5784
5785         * ToolbarBackend.h:
5786         * ToolbarBackend.C: allow multiple toolbars
5787
5788 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5789
5790         * undo_funcs.C (setCursorParUndo): adjust
5791
5792         * text_funcs.C (transposeChars): adjust
5793
5794         * text3.C (gotoNextInset): adjust
5795         (dispatch): adjust
5796
5797         * text2.C (setLayout): adjust
5798         (changeDepth): adjust
5799         (setFont): adjust
5800         (redoParagraphs): adjust
5801         (selectionAsString): adjust
5802         (setParagraph): adjust
5803         (insertInset): adjust
5804         (cutSelection): adjust
5805         (copySelection): adjust
5806         (pasteSelection): adjust
5807         (insertStringAsLines): adjust
5808         (updateInset): adjust
5809         (setCursor): change to take a ParagraphList::iterator parameter
5810         (setCursorIntern): change to take a ParagraphList::iterator parameter
5811         (setCurrentFont): adjust
5812         (cursorLeft): adjust
5813         (cursorRight): adjust
5814         (deleteEmptyParagraphMechanism): adjust
5815
5816         * text.C (breakParagraph): adjust
5817         (insertChar): adjust
5818         (acceptChange): adjust
5819         (rejectChange): adjust
5820         (selectNextWordToSpellcheck): adjust
5821         (changeCase): adjust
5822         (Delete): adjust
5823         (backspace): adjust
5824
5825         * lyxfind.C (SearchForward): adjust
5826         (SearchBackward): adjust
5827         (nextChange): adjust
5828
5829         * lyxcursor.C (par): adjust
5830
5831         * lyxcursor.h: store a ParagraphList::iterator instead of a
5832         Paragraph*
5833
5834         * lyx_cb.C (getPossibleLabel): adjust
5835
5836         * bufferview_funcs.C (toggleAndShow): adjust
5837
5838         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5839         (dispatch): adjust
5840
5841         * BufferView.C (removeAutoInsets): adjust
5842         (lockedInsetStoreUndo): adjust
5843
5844 2003-04-09  John Levon  <levon@movementarian.org>
5845
5846         * ToolbarBackend.C: try icon without argument
5847         if with argument fails
5848
5849 2003-04-08  John Levon  <levon@movementarian.org>
5850
5851         * ToolbarBackend.h:
5852         * ToolbarBackend.C: add getIcon(), handle tooltip,
5853         and change from "Icon" to "Item".
5854
5855 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5856
5857         * BufferView.C (lockInset): another bad getchar crunched
5858
5859 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5860
5861         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5862         again)
5863
5864 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5865
5866         * lyxfind.C (searchForward, searchBackwards): bug 782
5867
5868 2003-04-07  John Levon  <levon@movementarian.org>
5869
5870         * paragraph.C: remove dead comment
5871
5872         * text.C: remove troublesome depth-fiddling code
5873         in leftMargin() and rightMargin() (bug 1017)
5874
5875         * text.C: fix breaking of rows in nested lists
5876         (bug 1004)
5877
5878         * text2.C (updateCounters): fix up depth values
5879         (bug 1013)
5880
5881 2003-04-07  John Levon  <levon@movementarian.org>
5882
5883         * BufferView_pimpl.C: clear message when doc finishes resizing,
5884         and after a mouse event
5885
5886         * lyxfunc.C: clear message after exiting inset
5887
5888 2003-04-07  John Levon  <levon@movementarian.org>
5889
5890         * bufferview_funcs.C: show math status not outside
5891         status in the statusbar
5892
5893 2003-04-07  John Levon  <levon@movementarian.org>
5894
5895         * lyxfunc.C: note status changed after a depth change
5896
5897 2003-04-04  Angus Leeming  <leeming@lyx.org>
5898
5899         * LaTeX.h: move AuxInfo operator==, != out of line.
5900         Remove LaTeX virtual destructor; nothing derives from it.
5901         Move operator()() out of public area and rename it startscript().
5902         Change protected for private.
5903
5904 2003-04-04  Angus Leeming  <leeming@lyx.org>
5905
5906         * lyxfunc.C:
5907         * text2.C: remove unneeded #includes.
5908
5909 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5910
5911         * text2.C (dEPM): fix the heigth of the next row
5912
5913 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5914
5915         * text.C: squashed an invalid getChar requester + some ws changes
5916
5917 2003-04-03  John Levon  <levon@movementarian.org>
5918
5919         * bufferview_funcs.h:
5920         * bufferview_funcs.C:
5921         * lyxfunc.C:
5922         * lyxtext.h:
5923         * text2.C: make getStatus work for the env depth lfuns
5924
5925 2003-04-03  John Levon  <levon@movementarian.org>
5926
5927         * bufferview_funcs.h:
5928         * bufferview_funcs.C:
5929         * lyxfunc.C:
5930         * lyxtext.h:
5931         * text2.C: parlistize decDepth(), by merging it with incDepth()
5932
5933 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5934
5935         * lyxrow.h: store a ParagraphList::iterator instead of a
5936         Paragraph* and adjust other class functions to suit.
5937
5938         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5939         above.
5940
5941 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5942
5943         * text2.C (setCursor): do not anchor to cursor row for the time being
5944
5945 2003-04-02  John Levon  <levon@movementarian.org>
5946
5947         * LyXAction.C:
5948         * lfuns.h:
5949         * lyx_main.C:
5950         * lyxtext.h:
5951         * text.C:
5952         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5953
5954 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5955
5956         * paragraph.h: make ParagraphList and ParagraphList::iterator
5957         friends of Paragraph.
5958
5959         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5960
5961         * ParagraphList.C: Use the private next_ and previous_ from
5962         Paragraph.
5963
5964 2003-04-01  John Levon  <levon@movementarian.org>
5965
5966         * ToolbarBackend.h:
5967         * ToolbarBackend.C:
5968         * Makefile.am: rename, remove defaults gunk
5969
5970         * MenuBackend.h:
5971         * MenuBackend.C: remove defaults gunk
5972
5973         * Languages.h:
5974         * Languages.C: remove defaults gunk
5975
5976         * lyx_main.h:
5977         * lyx_main.C: error out if files couldn't be found.
5978
5979 2003-04-02  John Levon  <levon@movementarian.org>
5980
5981         * text2.C: make incDepth() use parlist
5982
5983 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5984
5985         * undo_funcs.C (firstUndoParagraph): adjust
5986
5987         * text3.C (gotoInset): adjust
5988         (dispatch): adjust, and rewrite loop.
5989
5990         * text2.C (init): adjust, and rewrite loop.
5991         (redoParagraphs): adjust
5992         (updateInset): adjust, and rewrite loop.
5993         (deleteEmptyParagraphMechanism): adjust
5994
5995         * tabular.C (LyXTabular): adjust
5996         (SetMultiColumn): adjust
5997         (TeXRow): adjust
5998
5999         * lyxtext.[Ch] (ownerParagraph): delete function
6000         (ownerParagraphs): new function returns a ParagraphList.
6001
6002         * BufferView.C (removeAutoInsets): adjust
6003         (insertErrors): adjust
6004         (setCursorFromRow): adjust
6005
6006 2003-04-01  Angus Leeming  <leeming@lyx.org>
6007
6008         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6009         in the frontends.
6010
6011 2003-04-02  John Levon  <levon@movementarian.org>
6012
6013         * lyxtext.h:
6014         * text.C:
6015         * Makefile.am:
6016         * text_funcs.h:
6017         * text_funcs.C: make transposeChars a free function
6018
6019         * lyxrow_funcs.C: remove wrong comment
6020
6021 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6022
6023         * lyxtext.h: adjust
6024         * rowpainter.C: adjust
6025         * text.C: adjust
6026         * text2.C: adjust
6027         * text3.C: adjust
6028
6029         * lyxrow_funcs. [Ch]: new files
6030
6031         * lyxrow.[Ch]: remove next and previous pointers
6032         (next,previous): remove accessor functions
6033         (isParEnd): move to lyxrow_funcs
6034         (lastPos): move to lyxrow_funcs
6035         (nextRowIsAllInset): move to lyxrow_funcs
6036         (lastPrintablePos): move to lyxrow_funcs
6037         (numberOfSeparators): move to lyxrow_funcs
6038         (numberOfHfills): move to lyxrow_funcs
6039         (numberOfLabelHfills): move to lyxrow_funcs
6040         (hfillExpansion): move to lyxrow_funcs
6041
6042         * lyxfunc.C: adjust
6043
6044         * bufferview_funcs.C (toggleAndShow): adjust
6045
6046         * RowList.h: Remove class RowList from file leave just a
6047         std::list<Row>.
6048
6049         * RowList.C: delete file
6050
6051         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6052         and lyxrow_funcs.h
6053
6054 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6055
6056         * text3.C (cursorPrevious): adjust
6057         (cursorNext): adjust
6058         (dispatch): adjust
6059
6060         * text2.C (redoHeightOfParagraph): adjust
6061         (redoDrawingOfParagraph): adjust
6062         (setCursor): adjust
6063
6064         * text.C (breakParagraph): adjust
6065         (insertChar): adjust
6066         (backspace): adjust
6067
6068         * rowpainter.C (RowPainter): adjust
6069         (leftMargin): simplify and adjust
6070         (most rowpainter functions): adjust.
6071
6072         * rowpainter.h: store the row as RowList::iterator not as Row*
6073
6074         * lyxcursor.C (row): taka RowList::iterator as arg
6075         (irow): ditto
6076
6077         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6078         of Row*.
6079
6080 2003-04-01  Angus Leeming  <leeming@lyx.org>
6081
6082         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6083         stuff like bool Bool.
6084
6085 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6086
6087         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6088         rewrite a loop
6089
6090 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6091
6092         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6093         RowList::iterator.
6094
6095         * lyxtext.h (rows): drop one version and leve a const variant that
6096         returns a RowList::iterator.
6097
6098 2003-03-31  Angus Leeming  <leeming@lyx.org>
6099
6100         * text.C (fill): ensure that the signature is the same as that in the
6101         header file.
6102
6103 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6104
6105         * text2.C (redoParagraphs): adjust
6106         (updateCounters): adjust
6107         (checkParagraph): adjust
6108         (getColumnNearX): adjust and reformat a bit.
6109
6110         * text.C (top_y): adjust
6111         (workWidth): adjust
6112         (leftMargin): adjust
6113         (prepareToPrint): adjust
6114         (getRow): adjust
6115         (getRowNearY): adjust
6116
6117         * lyxtext.h: make rowlist_ mutable.
6118
6119         * RowList.h: add const_iterator
6120         * RowList.C: adjust for RowList::const_iterator.
6121
6122         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6123         adjust.
6124
6125 2003-03-31  John Levon  <levon@movementarian.org>
6126
6127         * lyxrc.h:
6128         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6129
6130         * lyx_main.C: set default fonts from using lyx_gui funcs
6131
6132         * exporter.C: pdf_mode moved from lyxrc
6133
6134         * lyx_cb.C:
6135         * lyxfunc.C: changes from above
6136
6137 2003-03-31  John Levon  <levon@movementarian.org>
6138
6139         * lyx_main.C: fix to the last fix
6140
6141 2003-03-31  John Levon  <levon@movementarian.org>
6142
6143         * bufferlist.C: "Load original" -> "Load Original"
6144
6145         * converter.C:
6146         * exporter.C:
6147         * importer.C:
6148         * lyx_main.C:
6149         * format.C: more Alert cleanups
6150
6151 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6152
6153         * text2.C (removeParagraph): make it take a RowList::iterator as
6154         arg, adjust.
6155         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6156         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6157
6158         * text.C (anchor_row): make it take a RowList::iterator as arg,
6159         adjust.
6160         (computeBidiTables): make it take a const reference to Row instead
6161         of Row pointer, adjust.
6162         (leftMargin): make it take a RowList::iterator as arg, adjust.
6163         (rowBreakPoint): adjust
6164         (breakAgainOneRow): make it take a RowList::iterator as arg,
6165         adjust.
6166         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6167
6168         * bufferview_funcs.C (toggleAndShow): adjust
6169
6170 2003-03-30  John Levon  <levon@movementarian.org>
6171
6172         * Makefile.am:
6173         * BoostFormat.h:
6174         * boost-inst.C: moved to support
6175
6176         * several files: changes as a result
6177
6178 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6179
6180         * text2.C (LyXText): adjust.
6181         (init): adjust
6182         (removeRow): make it take a RowList::iterator as arg, adjust.
6183         (fullRebreak): adjust
6184         (deleteEmptyParagraphMechanism): adjust
6185         (clearPaint): adjust
6186         (postPaint): adjust
6187
6188         * text.C (top_y): adjust
6189         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6190         (breakAgain): make it take a RowList::iterator as arg, adjust.
6191         (breakParagraph): adjust
6192         (insertChar): adjust
6193         (backspace): adjust
6194
6195         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6196         need_break_row, and refresh_row.
6197
6198         * text3.C (dispatch): adjust
6199
6200         * text2.C (checkParagraph): adjust
6201         (setCursor): adjust
6202         (setCursorFromCoordinates): adjust
6203
6204         * text.C (top_y): adjust
6205         (workWidth): adjust
6206         (getRow): make it return a RowList::iterator, adjust
6207         (getRowNearY): make it return a RowList::iterator, adjust
6208
6209         * text2.C (init): adjust
6210         (insertRow): remove function
6211         (insertParagraph): adjust
6212         (redoParagraphs): adjust
6213         (fullRebreak): adjust
6214         (updateCounters): adjust
6215
6216         * text.C (top_y): rewrite to use RowList iterators.
6217         (top_y): adjust
6218         (setHeightOfRow): rewrite to sue RowList iterators.
6219         (appendParagraph): adjust
6220         (breakAgain): adjust
6221         (breakAgainOneRow): adjust
6222         (breakParagraph): adjust
6223         (getRow): adjust
6224         (getRowNearY): adjust, and remove commented code.
6225
6226         * lyxtext.h (firstRow): delete function
6227         (lastRow): delete function
6228         (rows): new function (const and non-const versions.)
6229         (insertRow): delete function
6230
6231         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6232
6233 2003-03-29  John Levon  <levon@movementarian.org>
6234
6235         * BufferView_pimpl.C: always update scrollbar top
6236         because pasting text when we're anchored could mean we
6237         miss an update altogether
6238
6239 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6240
6241         * text2.C (init): use rowlist_.end() and not 0.
6242         (insertRow): change to take a RowList::iterator as arg, adjust
6243         for this.
6244         (insertParagraph): change to take a RowList::iterator as arg,
6245         adjust for this.
6246         (redoParagraphs): remove some debug msgs.
6247
6248         * text.C (appendParagraph): change to take a RowList::iterator
6249         arg, adjust for this.
6250         (breakAgain): add an assert
6251         (breakAgainOneRow): ditto
6252
6253 2003-03-29  John Levon  <levon@movementarian.org>
6254
6255         * text2.C: do not clear selection after inc/decDepth
6256         (bug 550)
6257
6258 2003-03-29  John Levon  <levon@movementarian.org>
6259
6260         * BufferView.C:
6261         * buffer.C: fix broken strerrors according to Lars
6262
6263 2003-03-29  John Levon  <levon@movementarian.org>
6264
6265         * converters.C: more Alert cleanups
6266
6267 2003-03-29  John Levon  <levon@movementarian.org>
6268
6269         * bufferview_funcs.C: remove pointless Alert
6270
6271         * buffer.C: fix confusing error message when
6272         a template is chmoded 000
6273
6274 2003-03-29  John Levon  <levon@movementarian.org>
6275
6276         * BufferView.C:
6277         * BufferView.h:
6278         * BufferView_pimpl.C: Alert fixes
6279
6280         * Makefile.am:
6281         * tabular.C:
6282         * tabular-old.C: remove unused table compat reading
6283
6284 2003-03-29  John Levon  <levon@movementarian.org>
6285
6286         * BufferView.C:
6287         * buffer.C:
6288         * lyx_cb.h:
6289         * lyx_cb.C: more Alert cleanups
6290
6291         * lyxfunc.C: don't allow chktex if not latex document
6292
6293 2003-03-29  John Levon  <levon@movementarian.org>
6294
6295         * lyx_cb.C:
6296         * BufferView.C:
6297         * buffer.C: warnings pushed down from support/,
6298         kill err_alert
6299
6300 2003-03-29  John Levon  <levon@movementarian.org>
6301
6302         * lyxfunc.C: safety check for C-r (revert)
6303
6304 2003-03-29  John Levon  <levon@movementarian.org>
6305
6306         * bufferlist.h:
6307         * bufferlist.C: several UI fixes using Alert::prompt.
6308         Fix the pointless looping quit code. Fix stupid revert
6309         behaviour (bug 938)
6310
6311         * lyxvc.h:
6312         * lyxvc.C:
6313         * lyx_cb.C: use Alert::prompt
6314
6315         * lyx_main.C: remove a silly question
6316
6317         * lyxfunc.C: remove a couple of silly questions,
6318         use Alert::prompt
6319
6320 2003-03-28  John Levon  <levon@movementarian.org>
6321
6322         * text2.C: fix bug 974 (End on empty par)
6323
6324 2003-03-28  John Levon  <levon@movementarian.org>
6325
6326         * BufferView_pimpl.C:
6327         * LyXAction.C:
6328         * lfuns.h: remove do-nothing math greek lfuns
6329
6330 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6331
6332         * lyxgluelength.h (isValidGlueLength): add default arg on
6333         parameter 2. Remove default arg from friend in class.
6334
6335         * lyxlength.h (isValidLength): add default arg on parameter 2.
6336         Remove default arg from friend in class.
6337
6338         * text2.C (LyXText): adjust, initialize refresh_row.
6339         (init): adjust
6340         (removeRow): adjust
6341         (insertRow): adjust
6342         (insertParagraph): adjst
6343         (redoParagraphs): adjust
6344         (fullRebreak): adjust
6345         (updateCounters): adjust
6346         (deleteEmptyParagraphMechanism): first attempt at fixing a
6347         crashing bug.
6348
6349         * text.C (top_y): adjust
6350         (setHeightOfRow): adjust
6351         (getRow): adjust
6352         (getRowNearY): adjust
6353
6354         * lyxtext.h: include RowList.h
6355         (~LyXText): not needed anymore, deleted.
6356         (firstRow): modify for RowList
6357         (lastRow): new function
6358         Delete firstrow and lastrow class variables, add a Rowlist
6359         rowlist_ class variable.
6360
6361         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6362         paragraph is empty.
6363
6364         * RowList.C (insert): fix case where it == begin().
6365
6366 2003-03-26  Angus Leeming  <leeming@lyx.org>
6367
6368         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6369         the thesaurus dialog.
6370
6371 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6372
6373         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6374
6375         * RowList.[Ch]: new files
6376
6377         * ParagraphList.C (erase): handle the case where it == begin
6378         correctly.
6379
6380 2003-03-25  John Levon  <levon@movementarian.org>
6381
6382         * Makefile.am:
6383         * aspell_local.h:
6384         * aspell.C: add new aspell support
6385
6386         * lyxrc.h:
6387         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6388         have it accessible.
6389
6390 2003-03-25  Angus Leeming  <leeming@lyx.org>
6391
6392         * lfuns.h:
6393         * LyXAction.C (init): new LFUN_INSET_INSERT.
6394
6395         * BufferView_pimpl.C (dispatch): split out part of the
6396         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6397
6398         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6399         LFUN_INSET_APPLY.
6400
6401 2003-03-25  Angus Leeming  <leeming@lyx.org>
6402
6403         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6404
6405 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6406
6407         * text2.C:
6408         * text3.C: remove useless row->height(0)
6409
6410 2003-03-25  John Levon  <levon@movementarian.org>
6411
6412         * lyxtext.h:
6413         * text2.C:
6414         * text3.C: rename the refreshing stuff to better names
6415
6416 2003-03-24  John Levon  <levon@movementarian.org>
6417
6418         * BufferView_pimpl.h:
6419         * BufferView_pimpl.C: update layout choice on a mouse
6420         press/release
6421
6422 2003-03-23  John Levon  <levon@movementarian.org>
6423
6424         * Makefile.am: fix commandtags.h reference
6425
6426 2003-03-22  John Levon  <levon@movementarian.org>
6427
6428         * BufferView_pimpl.C:
6429         * lyxtext.h:
6430         * rowpainter.C:
6431         * rowpainter.h:
6432         * text.C:
6433         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6434
6435 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6436
6437         * lyxtext.h:
6438         * text.C: take the rtl methods out of line
6439
6440 2003-03-21 André Pönitz <poenitz@gmx.net>
6441
6442         * metricsinfo.[Ch]: new files containing structures to be passed around
6443         during the two-phase-drawing...
6444
6445 2003-03-21 André Pönitz <poenitz@gmx.net>
6446
6447         * lyxtextclass.C: read 'environment' tag.
6448
6449 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6450
6451         * text2.C (removeRow): fix bug 964
6452
6453 2003-03-20  John Levon  <levon@movementarian.org>
6454
6455         * rowpainter.C:
6456         * text.C:
6457         * text2.C: paint cleanups. Inset::update() dropped font
6458         parameter
6459
6460 2003-03-19  John Levon  <levon@movementarian.org>
6461
6462         * lyxfunc.C: only fitcursor/markDirty if available()
6463
6464 2003-03-19  John Levon  <levon@movementarian.org>
6465
6466         * commandtags.h: rename to ...
6467
6468         * lfuns.h: ... this, and renumber / cleanup
6469
6470 2003-03-19  John Levon  <levon@movementarian.org>
6471
6472         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6473         fit the cursor after an lfun
6474
6475         * BufferView.h:
6476         * BufferView.C:
6477         * BufferView_pimpl.h:
6478         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6479
6480         * LyXAction.C: layout-character should have ReadOnly
6481
6482         * ParagraphParameters.C:
6483         * buffer.C:
6484         * bufferview_funcs.C:
6485         * lyx_cb.C:
6486         * lyxfind.C:
6487         * lyxtext.h:
6488         * text.C:
6489         * text2.C:
6490         * text3.C:
6491         * undo_funcs.C: changes from above
6492
6493 2003-03-18  John Levon  <levon@movementarian.org>
6494
6495         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6496         remove it from update()
6497
6498         * lyxfunc.C: update layout choice after an lfun
6499
6500         * text3.C: remove extra updateLayoutChoice()s
6501
6502 2003-03-18  John Levon  <levon@movementarian.org>
6503
6504         * text.C: top_y change means full repaint, fix
6505         a drawing bug with cursor movement
6506
6507 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6508
6509         * lyxtext.h:
6510         * text.C:
6511         * text2.C: anchor row on setCursor
6512
6513 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6514
6515         * lyxtext.h: remove almost all mutable keywords
6516         * text.C:
6517         * text2.C:
6518         * text3.C: remove const keywords accordingly
6519
6520 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6521
6522         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6523         anon namespace
6524         (TeXEnvironment): ditto
6525         (TeXOnePar): ditto
6526
6527 2003-03-17  John Levon  <levon@movementarian.org>
6528
6529         * text.C (rowBreakPoint): remove attempt to fix displayed
6530         math insets inside a manual label
6531
6532 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6533
6534         * lyxtext.h: remove BufferView* as first arg from almost all class
6535         functions.
6536         * other files: adjust.
6537
6538 2003-03-17  John Levon  <levon@movementarian.org>
6539
6540         * lyxtext.h:
6541         * undo_funcs.C:
6542         * text2.C: more paint cleanups
6543
6544         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6545
6546         * rowpainter.h:
6547         * rowpainter.C: remove "smart" background painting code
6548
6549 2003-03-16  John Levon  <levon@movementarian.org>
6550
6551         * lyxtext.h:
6552         * text.C:
6553         * text2.C:
6554         * text3.C: add helper functions for setting refresh_row/y
6555
6556 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6557
6558         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6559         newline inset which *can* get inserted in the pass_thru layouts.
6560         This is primarily for literate documents.
6561
6562 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6563
6564         * buffer.C: increment LYX_FORMAT to 223
6565
6566 2003-03-14 André Pönitz <poenitz@gmx.net>
6567
6568         * textclass.h: prepare for environment handling, ws changes
6569         * lyxlayout.C: read latexheader and latexfooter tags
6570
6571 2003-03-14  John Levon  <levon@movementarian.org>
6572
6573         * text2.C: rewrite ::status() a bit
6574
6575 2003-03-13  John Levon  <levon@movementarian.org>
6576
6577         * lyxtext.h: add some docs
6578
6579 2003-03-13  John Levon  <levon@movementarian.org>
6580
6581         * lyxtext.h:
6582         * text.C:
6583         * text2.C:
6584         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6585
6586 2003-03-13  John Levon  <levon@movementarian.org>
6587
6588         * text3.C: fix appendix redrawing
6589
6590 2003-03-13  John Levon  <levon@movementarian.org>
6591
6592         * text.C (setHeightOfRow):
6593         * rowpainter.h:
6594         * rowpainter.C: make appendix mark have the text
6595           "Appendix" so the user knows what it is
6596
6597         * LColor.h:
6598         * LColor.C: s/appendixline/appendix/ from above
6599
6600 2003-03-13  John Levon  <levon@movementarian.org>
6601
6602         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6603
6604         * text.C: fix a getChar(pos) bug properly
6605
6606 2003-03-13  Angus Leeming  <leeming@lyx.org>
6607
6608         * commandtags.h:
6609         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6610         Probably only temporary. Let's see how things pan out.
6611
6612         * BufferView.C (unlockInset):
6613         * BufferView_pimpl.C (fitCursor):
6614         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6615
6616         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6617         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6618
6619         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6620         new functions that convert ParagraphParameters to and from a string.
6621
6622         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6623         BufferView::Pimpl's dispatch.
6624         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6625
6626 2003-03-13 André Pönitz <poenitz@gmx.net>
6627
6628         * lyxfunc.C:
6629         * text3.C:
6630         * factory.C: make it aware of InsetEnv
6631
6632 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6633
6634         * text2.C (setCursor): never ask for one past last
6635         (setCursor): add some debugging messages.
6636
6637         * text.C (singleWidth): never ask for one past last
6638         (singleWidth): ditto
6639         (leftMargin): ditto
6640         (rightMargin): ditto
6641         (rowBreakPoint): ditto
6642         (setHeightOfRow): ditto
6643         (prepareToPrint): ditto
6644
6645         * rowpainter.C (paintBackground): never ask for one past last
6646         (paintText): never ask for one past last
6647
6648         * paragraph_pimpl.C (getChar): make the assert stricter, never
6649         allow the one past last pos to be taken
6650
6651         * paragraph.C (getChar): ws changes only
6652
6653         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6654         (numberOfSeparators): ditto
6655         (numberOfHfills): ditto
6656
6657 2003-03-12  John Levon  <levon@movementarian.org>
6658
6659         * author.h:
6660         * author.C:
6661         * bufferparams.h:
6662         * bufferparams.C:
6663         * paragraph_funcs.C: fix per-buffer authorlists
6664
6665 2003-03-12  John Levon  <levon@movementarian.org>
6666
6667         * text.C: fix newline in right address
6668
6669 2003-03-12  Angus Leeming  <leeming@lyx.org>
6670
6671         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6672         duplicate those in LyXFunc::dispatch.
6673
6674         * commandtags.h:
6675         * LyXAction.C:
6676         * ToolbarDefaults.C:
6677         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6678         Add LFUN_FONTFREE_UPDATE.
6679
6680         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6681         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6682
6683         * bufferview_func.[Ch]: several new functions to facilliate
6684         transfer of data to and from the character dialog.
6685
6686 2003-03-12  John Levon  <levon@movementarian.org>
6687
6688         * buffer.C:
6689         * paragraph.h:
6690         * paragraph.C:
6691         * paragraph_funcs.C:
6692         * paragraph_pimpl.C:
6693         * sgml.C:
6694         * tabular.C:
6695         * text.C:
6696         * text3.C: remove META_NEWLINE in favour of an inset
6697
6698         * rowpainter.h:
6699         * rowpainter.C: remove paintNewline (done by inset)
6700
6701 2003-03-12  John Levon  <levon@movementarian.org>
6702
6703         * paragraph_pimpl.C: complain about bad getChar()s
6704         for a while at least
6705
6706 2003-03-12  John Levon  <levon@movementarian.org>
6707
6708         * buffer.h:
6709         * buffer.C: move paragraph read into a separate function,
6710         a little renaming to reflect that.
6711
6712         * bufferparams.h:
6713         * bufferparams.C: remove the author_ids map, not necessary now
6714
6715         * factory.h:
6716         * factory.C: moved Buffer::readInset to here
6717
6718         * paragraph_funcs.h:
6719         * paragraph_funcs.C: readParagraph free function moved from
6720         buffer.C
6721
6722         * tabular.C: name change
6723
6724 2003-03-12  John Levon  <levon@movementarian.org>
6725
6726         * buffer.C:
6727         * ParagraphParameters.C: move par params input to
6728         a read() method
6729
6730         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6731         behave like a normal read from the stream wrt reading
6732         a line vs. a \\token
6733
6734 2003-03-12  John Levon  <levon@movementarian.org>
6735
6736         * paragraph.C:
6737         * ParagraphParameters.h:
6738         * ParagraphParameters.C: move output code to a
6739         ::write() method
6740
6741 2003-03-12  John Levon  <levon@movementarian.org>
6742
6743         * BufferView.C (insertLyXFile):
6744         * buffer.h:
6745         * buffer.C:
6746         * tabular.C: use a parlist iterator for creating the
6747           document.
6748
6749 2003-03-12  John Levon  <levon@movementarian.org>
6750
6751         * buffer.C: make current_change static local not
6752           static file-scope
6753
6754 2003-03-12  John Levon  <levon@movementarian.org>
6755
6756         * buffer.C: fix insertStringAsLines for change tracking
6757
6758 2003-03-12  John Levon  <levon@movementarian.org>
6759
6760         * BufferView.C:
6761         * tabular.C:
6762         * buffer.h:
6763         * buffer.C:
6764         * bufferparams.h:
6765         * bufferparams.C: move author list into params. Rename some
6766           functions. Move the header reading into a separate token
6767           loop. Move the header token reading into BufferParams.
6768
6769 2003-03-12  John Levon  <levon@movementarian.org>
6770
6771         * changes.C: put debug inside lyxerr.debugging() checks
6772
6773 2003-03-11 André Pönitz <poenitz@gmx.net>
6774
6775         * factory.C: make it aware of InsetHFill
6776
6777 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6778
6779         * buffer.C (latexParagraphs): move function from here...
6780         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6781         args.
6782
6783 2003-03-10  Angus Leeming  <leeming@lyx.org>
6784
6785         * LyXAction.C (init): fix bug in poplating array with multiple entries
6786         with the same LFUN (spotted by JMarc).
6787
6788 2003-03-10  John Levon  <levon@movementarian.org>
6789
6790         * text.C:
6791         * text2.C: move getColumnNearX() near its
6792         only call site
6793
6794 2003-03-10  John Levon  <levon@movementarian.org>
6795
6796         * text.C: fix break before a minipage
6797
6798 2003-03-10  John Levon  <levon@movementarian.org>
6799
6800         * text.C: fix the last commit
6801
6802 2003-03-09  John Levon  <levon@movementarian.org>
6803
6804         * lyxtext.h:
6805         * text.C:
6806         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6807         bug 365 (don't break before insets unless needed). Don't
6808         return a value > last under any circumstances.
6809
6810 2003-03-09  Angus Leeming  <leeming@lyx.org>
6811
6812         * BufferView_pimpl.C (trackChanges, dispatch): call
6813         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6814
6815 2003-03-09  Angus Leeming  <leeming@lyx.org>
6816
6817         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6818         than Dialogs::showAboutlyx().
6819
6820 2003-03-09  Angus Leeming  <leeming@lyx.org>
6821
6822         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6823         than Dialogs::showTabularCreate().
6824
6825 2003-03-09  John Levon  <levon@movementarian.org>
6826
6827         * lyxtext.h:
6828         * text.C:
6829         * text2.C: 3rd arg to nextBreakPoint was always the same.
6830           Use references.
6831
6832 2003-03-08  John Levon  <levon@movementarian.org>
6833
6834         * lyxrow.C:
6835         * paragraph.C:
6836         * paragraph.h:
6837         * rowpainter.C:
6838         * text.C:
6839         * text2.C: Remove the "main" bit from the "main body"
6840           notion.
6841
6842 2003-03-08  John Levon  <levon@movementarian.org>
6843
6844         * text.C (leftMargin): The left margin of an empty
6845         manual label paragraph should not include the label width
6846         string length.
6847
6848         * text.C (prepareToPrint): don't attempt to measure hfills
6849         for empty manual label paragraphs - the answer should be 0
6850
6851 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6852
6853         * CutAndPaste.C: remove commented code and reindent.
6854
6855 2003-03-08  John Levon  <levon@movementarian.org>
6856
6857         * lyxfunc.h:
6858         * lyxfunc.C: move reloadBuffer()
6859
6860         * BufferView.h:
6861         * BufferView.C: to here
6862
6863         * lyxvc.C: add comment
6864
6865         * vc-backend.h:
6866         * vc-backend.C: call bv->reload() to avoid
6867           getStatus() check on MENURELOAD
6868
6869 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6870
6871         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6872         to an old format .dep file.
6873
6874 2003-03-07  Angus Leeming  <leeming@lyx.org>
6875
6876         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6877         when the LFUN_MOUSE_RELEASE should have been handled by
6878         inset->localDispatch.
6879
6880 2003-03-07  Angus Leeming  <leeming@lyx.org>
6881
6882         * BufferView_pimpl.C (dispatch):
6883         * LyXAction.C (init):
6884         * ToolbarDefaults.C (init):
6885         * commandtags.h:
6886         * lyxfunc.C (getStatus):
6887         remove LFUN_INSET_GRAPHICS.
6888
6889         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6890
6891 2003-03-07  Angus Leeming  <leeming@lyx.org>
6892
6893         * commandtags.h:
6894         * LyXAction.C (init):
6895         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6896
6897         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6898
6899         * commandtags.h:
6900         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6901
6902         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6903         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6904
6905 2003-03-07  Angus Leeming  <leeming@lyx.org>
6906
6907         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6908         remove "ert".
6909
6910 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6911
6912         * ParagraphList.C (front): new function
6913         (back): implement
6914
6915 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6916
6917         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6918         and top_row_offset_. removed var first_y.
6919         * text.C (top_y):
6920         * text2.C (LyXText, removeRow):
6921         * text3.C:
6922         * BufferView_pimpl.C:
6923         use these methods instead of using first_y
6924
6925 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6926
6927         * text2.C (pasteSelection): adjust for checkPastePossible
6928
6929         * CutAndPaste.C: remove Paragraph * buf and replace with
6930         ParagraphList paragraphs.
6931         (DeleteBuffer): delete
6932         (cutSelection): change the tc type to textclass_type
6933         (copySelection): change the tc type to textclass_type
6934         (copySelection): adjust for ParagraphList
6935         (pasteSelection): change the tc type to textclass_type
6936         (pasteSelection): adjust for Paragraphlist
6937         (nrOfParagraphs): simplify for ParagraphList
6938         (checkPastePossible): simplify for ParagraphList
6939         (checkPastePossible): remove unused arg
6940
6941         * ParagraphList.C (insert): handle the case where there are no
6942         paragraphs yet.
6943
6944         * CutAndPaste.h: make CutAndPaste a namespace.
6945
6946         * text3.C (dispatch): adjust
6947
6948         * text.C (breakParagraph): add a ParagraphList as arg
6949
6950         * paragraph_funcs.C (breakParagraph): change to take a
6951         BufferParams and a ParagraphList as args.
6952         (breakParagraphConservative): ditto
6953         (mergeParagraph): ditto
6954         (TeXDeeper): add a ParagraphList arg
6955         (TeXEnvironment): ditto
6956         (TeXOnePar): ditto
6957
6958         * buffer.C (readLyXformat2): adjust
6959         (insertStringAsLines): adjust
6960         (latexParagraphs): adjust
6961
6962         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6963         (cutSelection): adjust
6964         (pasteSelection): adjust
6965
6966         * BufferView_pimpl.C (insertInset): adjust
6967
6968 2003-03-05  Angus Leeming  <leeming@lyx.org>
6969
6970         * commandtags.h:
6971         * LyXAction.C (init):
6972         * BufferView_pimpl.C (dispatch):
6973         * lyxfunc.C (getStatus):
6974         remove LFUN_CHILD_INSERT.
6975
6976         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6977
6978 2003-03-05  Angus Leeming  <leeming@lyx.org>
6979
6980         * commandtags.h:
6981         * LyXAction.C (init):
6982         * src/factory.C (createInset):
6983         * lyxfunc.C (getStatus):
6984         * text3.C (dispatch):
6985         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6986
6987         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6988
6989 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6990
6991         * ParagraphList.C (insert): handle insert right before end()
6992         (erase): fix cases where it can be first or last paragraph.
6993
6994 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6995
6996         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6997         Paragraph::next and Paragraph::previous
6998         (TeXOnePar): ditto
6999
7000         * text.C (breakParagraph): adjust
7001
7002         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7003         BufferParams& as arg.
7004         (breakParagraph): use ParagraphList::insert
7005         (breakParagraphConservative): take a Buffer* instead of a
7006         BufferParams& as arg.
7007         (breakParagraphConservative): use ParagraphList::insert.
7008
7009         * buffer.C (insertStringAsLines): un-const it
7010         (insertStringAsLines): adjust
7011
7012         * ParagraphList.C (insert): new function
7013
7014         * CutAndPaste.C (pasteSelection): adjust
7015
7016         * text.C (backspace): adjust
7017
7018         * tabular.C (SetMultiColumn): adjust
7019
7020         * CutAndPaste.C (cutSelection): adjust
7021         (pasteSelection): adjust
7022
7023         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7024         Buffer const * as arg
7025
7026         * ParagraphList.C (erase): new function
7027         * paragraph_funcs.C (mergeParagraph): use it
7028         (mergeParagraph): make it take a Buffer* instead of a
7029         BufferParams* as arg
7030
7031         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7032         as arg
7033         (breakParagraphConservative): ditto
7034
7035         * paragraph.h: remove the breakParagraph friend
7036
7037         * paragraph.C (eraseIntern): new function
7038         (setChange): new function
7039
7040         * paragraph_funcs.C (mergeParagraph): make it take a
7041         ParagraphList::iterator instead of a Paragraph *, adjust
7042         accordingly.
7043
7044         * paragraph.h: move an #endif so that the change tracking stuff
7045         also works in the NO_NEXT case.
7046
7047 2003-03-04  Angus Leeming  <leeming@lyx.org>
7048
7049         * commandtags.h:
7050         * LyXAction.C: new LFUN_INSET_MODIFY.
7051
7052         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7053         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7054
7055 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7056
7057         * several files: ws changes only
7058
7059         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7060         (TeXEnvironment): ditto
7061         (TeXDeeper): ditto
7062
7063         * buffer.C (makeLaTeXFile): adjust
7064         (latexParagraphs): make it take ParagraphList::iterator as args
7065
7066 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7067
7068         * buffer.C (latexParagraphs): adjust
7069
7070         * paragraph.C (TeXOnePar): move function...
7071         (optArgInset): move function...
7072         (TeXEnvironment): move function...
7073         * paragraph_pimpl.C (TeXDeeper): move function...
7074         * paragraph_funcs.C: ...here
7075
7076         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7077
7078 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7079
7080         * buffer.C (readInset): remove compability code for old Figure and
7081         InsetInfo insets
7082
7083 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7084
7085         * buffer.C: ws changes
7086         (readInset):
7087
7088         * BufferView_pimpl.C: ditto
7089         * author.C: ditto
7090         * buffer.h: ditto
7091         * bufferlist.h: ditto
7092         * changes.h: ditto
7093         * lyxfunc.C: ditto
7094
7095 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7096
7097         * converter.[Ch]: split into itself +
7098         * graph.[Ch]
7099         * format.[Ch]
7100         * Makefile.am: += graph.[Ch] + format.[Ch]
7101         * MenuBackend.C
7102         * buffer.C
7103         * exporter.C
7104         * importer.C
7105         * lyx_main.C
7106         * lyxfunc.C
7107         * lyxrc.C: added #include "format.h"
7108
7109 2003-02-27  Angus Leeming  <leeming@lyx.org>
7110
7111         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7112           a label.
7113
7114         * factory.C (createInset): add "label" to the factory.
7115
7116         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7117           string and do no more.
7118
7119 2003-02-27  Angus Leeming  <leeming@lyx.org>
7120
7121         * commandtags.h:
7122         * LyXAction.C (init):
7123         * factory.C (createInset):
7124         * BufferView_pimpl.C (dispatch):
7125           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7126
7127         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7128
7129         * lyxfunc.C (dispatch):
7130         * text3.C (dispatch): pass name to params2string.
7131
7132 2003-02-26  Angus Leeming  <leeming@lyx.org>
7133
7134         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7135           blocks together.
7136           Rearrange the ~includes. Strip out the unnecessary ones.
7137
7138         * factory.C (createInset): reformat.
7139           create new insets for the various LFUN_XYZ_APPLY lfuns.
7140
7141 2003-02-26  John Levon  <levon@movementarian.org>
7142
7143         * lyxrow.h:
7144         * lyxrow.C: add isParStart,isParEnd helpers
7145
7146         * paragraph.h: make isInserted/DeletedText take refs
7147
7148         * paragraph_funcs.h:
7149         * paragraph_funcs.C: remove #if 0'd code
7150
7151         * lyxtext.h:
7152         * text3.C:
7153         * text2.C:
7154         * text.C: use lyxrow helpers above.
7155           Move draw and paint routines to RowPainter.
7156           Make several methods use refs not pointers.
7157           Make backgroundColor() const.
7158           Add markChangeInDraw(), isInInset().
7159           Merge changeRegionCase into changeCase.
7160           Make workWidth() shouldn't-happen code into an Assert.
7161
7162         * rowpainter.h:
7163         * rowpainter.C: new class for painting a row.
7164
7165         * vspace.h:
7166         * vspace.C: make inPixels take a ref
7167
7168 2003-02-26  Angus Leeming  <leeming@lyx.org>
7169
7170         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7171         LFUN_REF_APPLY.
7172
7173 2003-02-25  John Levon  <levon@movementarian.org>
7174
7175         * ispell.C: give the forked command a more accurate name
7176
7177 2003-02-22  John Levon  <levon@movementarian.org>
7178
7179         * toc.h:
7180         * toc.C: make TocItem store an id not a Paragraph *
7181           (bug #913)
7182
7183 2003-02-21  Angus Leeming  <leeming@lyx.org>
7184
7185         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7186           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7187           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7188           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7189           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7190           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7191
7192         * BufferView_pimpl.C (dispatch):
7193         * LyXAction.C (init):
7194         * factory.C (createInset):
7195         * lyxfunc.C (getStatus, dispatch):
7196         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7197
7198 2003-02-21  Angus Leeming  <leeming@lyx.org>
7199
7200         * BufferView_pimpl.C (MenuInsertLyXFile):
7201         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7202         * lyxfunc.C (menuNew, open, doImport):
7203           no longer pass a LyXView & to fileDlg.
7204
7205 2003-02-21  Angus Leeming  <leeming@lyx.org>
7206
7207         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7208         * LyXAction.C: change, BIBKEY to BIBITEM.
7209         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7210         Change InsetBibKey to InsetBibitem.
7211         Change BIBKEY_CODE to BIBITEM_CODE.
7212         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7213         * factory.C: replace insetbib.h with insetbibitem.h.
7214         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7215         * paragraph.C: replace insetbib.h with insetbibitem.h.
7216         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7217         Change bibkey() to bibitem().
7218         * text.C: remove insetbib.h.
7219         * text2.C: replace insetbib.h with insetbibitem.h.
7220         change bibkey() to bibitem().
7221         * text3.C: remove insetbib.h.
7222         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7223
7224 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7225
7226         * lyxrc.C (output): enclose user email in quotes (in case there are
7227         several words)
7228
7229 2003-02-18  John Levon  <levon@movementarian.org>
7230
7231         * buffer.h: add std::
7232
7233 2003-02-17  John Levon  <levon@movementarian.org>
7234
7235         * SpellBase.h:
7236         * ispell.h:
7237         * ispell.C:
7238         * pspell.h:
7239         * pspell.C: reworking. Especially in ispell, a large
7240           number of clean ups and bug fixes.
7241
7242         * lyxfunc.C: fix revert to behave sensibly
7243
7244 2003-02-17 André Pönitz <poenitz@gmx.net>
7245
7246         * LyXAction.C:
7247         * commandtags.h: new LFUN_INSERT_BIBKEY
7248
7249         * layout.h:
7250         * lyxlayout.C:
7251         * buffer.C:
7252         * factory.C:
7253         * text.C:
7254         * text2.C:
7255         * text3.C:
7256         * paragraph.[Ch]:
7257         * paragraph_func.C: remove special bibkey handling
7258
7259 2003-02-17  John Levon  <levon@movementarian.org>
7260
7261         * text.C (Delete): fix case where delete at the end of
7262           the very first paragraph would not merge the pars
7263
7264 2003-02-17  John Levon  <levon@movementarian.org>
7265
7266         * lyxrow.C: fix lastPrintablePos()
7267
7268 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7269
7270         * bufferparams.C (writeLaTeX): add a std:here
7271
7272         * buffer.C: and remove a using directive there
7273
7274 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7275
7276         * buffer.C (makeLaTeXFile): move the code that generates the
7277           preamble...
7278
7279         * bufferparams.C (writeLaTeX): ... in this new method
7280
7281         * LaTeXFeatures.C (getEncodingSet): make const
7282           (getLanguages): make const
7283
7284         * MenuBackend.C (binding): returns the binding associated to this
7285           action
7286           (add): sets the status of each item by calling getStatus. Adds
7287           some intelligence.
7288           (read): add support for OptSubMenu
7289           (expand): remove extra separator at the end of expanded menu
7290
7291 2003-02-15  John Levon  <levon@movementarian.org>
7292
7293         * BufferView.C:
7294         * BufferView_pimpl.C:
7295         * bufferlist.h:
7296         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7297           inset code that had no actual effect. Remove unneeded status
7298           code.
7299
7300 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7301
7302         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7303           in preamble
7304
7305 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7306
7307         * text.C (drawLengthMarker): also draw an arrow marker for
7308           symbolic lengths (medskip...)
7309
7310 2003-02-14  John Levon  <levon@movementarian.org>
7311
7312         * tabular.h:
7313         * tabular.C: better method names
7314
7315 2003-02-14  John Levon  <levon@movementarian.org>
7316
7317         * BufferView_pimpl.C:
7318         * bufferlist.C:
7319         * buffer.C:
7320         * converter.C:
7321         * lyx_cb.C:
7322         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7323           it's a more accurate name. Remove some pointless uses.
7324
7325 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7326
7327         * text2.C (LyXText): change order of initilizers to shut off
7328           warnings
7329
7330 2003-02-14  John Levon  <levon@movementarian.org>
7331
7332         * buffer.C: use ParIterator for getParFromID()
7333
7334         * paragraph.h:
7335         * paragraph.C:
7336         * paragraph_pimpl.h:
7337         * paragraph_pimpl.C: remove unused getParFromID()
7338
7339 2003-02-14  John Levon  <levon@movementarian.org>
7340
7341         * buffer.C: remove some very old #if 0'd parse code
7342
7343 2003-02-13  John Levon  <levon@movementarian.org>
7344
7345         * text.h:
7346         * text.C:
7347         * text2.C: move hfillExpansion(), numberOfSeparators(),
7348           rowLast(), rowLastPrintable(), numberofHfills(),
7349           numberOfLabelHfills() ...
7350
7351         * lyxrow.h:
7352         * lyxrow.C: ... to member functions here.
7353
7354         * paragraph.h:
7355         * paragraph.C:
7356         * lyxtext.h:
7357         * text.C: remove LyXText::beginningOfMainBody(), and call
7358           p->beginningOfMainBody() directly. Move the check for
7359           LABEL_MANUAL into the latter.
7360
7361         * text.h:
7362         * text.C:
7363         * text2.C:
7364         * vspace.C:
7365         * BufferView.h:
7366         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7367
7368         * text.h:
7369         * text.C:
7370         * text2.C:
7371         * text3.C:
7372         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7373           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7374
7375 2003-02-13  John Levon  <levon@movementarian.org>
7376
7377         * CutAndPaste.C: remove debug
7378
7379 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7380
7381         * paragraph.C (asString): remove two unused variables
7382
7383         * lyxtextclass.C (readTitleType):
7384           (Read):
7385           (LyXTextClass): handle new members titletype_ and titlename_
7386
7387         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7388
7389 2003-02-09  John Levon  <levon@movementarian.org>
7390
7391         * buffer.h:
7392         * buffer.C: replace hand-coded list with a map for the dep clean
7393
7394 2003-02-08  John Levon  <levon@movementarian.org>
7395
7396         * LaTeX.C: consolidate code into showRunMessage() helper
7397
7398 2003-02-08  John Levon  <levon@movementarian.org>
7399
7400         * lyxfind.C:
7401         * lyxtext.h:
7402         * text2.C:
7403         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7404           and pass the size in explicitly
7405
7406         * BufferView_pimpl.h:
7407         * BufferView_pimpl.C:
7408         * BufferView.h:
7409         * BufferView.C: add getCurrentChange()
7410
7411         * BufferView_pimpl.h:
7412         * BufferView_pimpl.C: handle change lfuns
7413
7414         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7415           for changes. Mark pasted paragraphs as new.
7416
7417         * support/lyxtime.h:
7418         * support/lyxtime.C:
7419         * DepTable.C: abstract time_t as lyx::time_type
7420
7421         * LColor.h:
7422         * LColor.C: add colours for new text, deleted text, changebars
7423
7424         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7425           package use "usenames" option.
7426
7427         * commandtags.h:
7428         * lyxfunc.C:
7429         * LyXAction.C: add change lfuns
7430
7431         * Makefile.am:
7432         * author.h:
7433         * author.C: author handling
7434
7435         * buffer.h:
7436         * buffer.C: add a per-buffer author list, with first entry as
7437           current author. Handle new .lyx tokens for change tracking. Output
7438           author list to .lyx file. Output dvipost stuff to .tex preamble.
7439           Bump lyx format to 222.
7440
7441         * bufferlist.h:
7442         * bufferlist.C: add setCurrentAuthor() to reset current author details
7443           in all buffers.
7444
7445         * bufferparams.h:
7446         * bufferparams.C: add param for tracking
7447
7448         * bufferview_funcs.C: output change info in minibuffer
7449
7450         * Makefile.am:
7451         * changes.h:
7452         * changes.C: add change-tracking structure
7453
7454         * debug.h:
7455         * debug.C: add CHANGES debug flag
7456
7457         * lyxfind.h:
7458         * lyxfind.C: add code for finding the next change piece
7459
7460         * lyxrc.h:
7461         * lyxrc.C: add user_name and user_email
7462
7463         * lyxrow.h:
7464         * lyxrow.C: add a metric for the top of the text line
7465
7466         * lyxtext.h:
7467         * text.C: implement accept/rejectChange()
7468
7469         * lyxtext.h:
7470         * text.C: paint changebars. Paint new/deleted text in the chosen
7471         colours. Strike through deleted text.
7472
7473         * paragraph.h:
7474         * paragraph.C:
7475         * paragraph_pimpl.h:
7476         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7477           in the current change to the insert functions. Rework erase to
7478           mark text as deleted, adding an eraseIntern() and a range-based
7479           erase(). Implement per-paragraph change lookup and
7480           accept/reject.
7481
7482         * paragraph_funcs.C: Fixup paste for change tracking.
7483
7484         * tabular.C: mark added row/columns as new.
7485
7486         * text.C: fix rowLast() to never return -1. Don't allow
7487           spellchecking of deleted text. Track transpose changes. Don't
7488           allow paragraph break or merge where appropriate.
7489
7490         * text2.C: leave cursor at end of selection after a cut.
7491
7492 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7493
7494         * text.C (getLengthMarkerHeight):
7495         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7496         visible on screen too.
7497
7498 2003-02-07  John Levon  <levon@movementarian.org>
7499
7500         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7501
7502 2003-02-05  Angus Leeming  <leeming@lyx.org>
7503
7504         * lyxserver.C (read_ready): revert my patch of 11 September last year
7505         as it sends PC cpu through the roof. Presumably this means that
7506         the lyxserver will no longer run on an Alpha...
7507
7508 2003-01-30  Angus Leeming  <leeming@lyx.org>
7509
7510         * factory.C (createInset): create an InsetCommandParam of type "index"
7511         and use it to 'do the right thing'.
7512
7513         * text2.C (getStringToIndex): ensure that cursor position is always
7514         reset to the reset_cursor position.
7515
7516 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7517
7518         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7519         disabled.
7520
7521 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7522
7523         * bufferview.C:
7524         * lyxcb.C:
7525         * lyxfunc.C: Output messages with identical spelling, punctuation,
7526         and spaces
7527
7528 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7529
7530         * MenuBackend.C (expandFormats): List only viewable export formats
7531         in "View" menu
7532
7533         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7534         message
7535
7536         * lyxfunc.C (getStatus): Make sure that formats other than
7537         "fax" can also be disabled
7538
7539 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7540
7541         * text3.C (dispatch): put the lfuns that insert insets in 3
7542         groups, and call doInsertInset with appropriate arguments.
7543         (doInsertInset): new function, that creates an inset and inserts
7544         it according to some boolean parameters.
7545
7546 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7547
7548         * buffer.C (readFile): remember to pass on 'par' when calling
7549         readFile recursively.
7550
7551 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7552
7553         * MenuBackend.C (expandFormats): add "..." to import formats.
7554
7555 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7556
7557         * paragraph.C (asString): Remove XForms RTL hacks.
7558
7559 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7560         * buffer.C: fix typo
7561
7562 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7563
7564         * Makefile.am (LIBS): delete var
7565         (lyx_LDADD): add @LIBS@ here instead.
7566
7567 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7568
7569         * Clarify the meaning of "wheel mouse jump"
7570
7571 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7572
7573         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7574         tabular in a float
7575
7576 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7577
7578         * importer.C (Loaders): do not preallocate 3 elements in the
7579         vector, since one ends up with 6 elements otherwise
7580
7581 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7582
7583         * DepTable.C (write): write the file name as last element of the
7584         .dep file (because it may contain spaces)
7585         (read): read info in the right order
7586
7587 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7588
7589         * paragraph_pimpl.C (simpleTeXBlanks):
7590         (simpleTeXSpecialChars):
7591         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7592
7593         * tabular.C (latex): add some missing case statements. Reindent.
7594
7595         * MenuBackend.C (expandToc): remove unused variable.
7596
7597 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7598
7599         * LColor.C:
7600         * LaTeX.C:
7601         * LyXAction.C:
7602         * MenuBackend.C:
7603         * buffer.C:
7604         * exporter.C:
7605         * lyxfunc.C:
7606         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7607         and the like.
7608
7609 2003-01-05  John Levon  <levon@movementarian.org>
7610
7611         * BufferView.h:
7612         * BufferView.C: add getEncoding()
7613
7614         * kbsequence.h:
7615         * kbsequence.C: do not store last keypress
7616
7617         * lyxfunc.h:
7618         * lyxfunc.C: store last keypress here instead. Pass encoding
7619           to getISOEncoded()
7620
7621 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7622
7623         * lyx_main.C (init): remove annoying error message when following
7624         symbolic links (bug #780)
7625
7626 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7627
7628         * text.C (insertChar):
7629         * lyxrc.C (getDescription): remove extra spaces
7630
7631 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7632
7633         * lyxrc.C (getDescription): remove extra spaces
7634
7635 2002-12-20  John Levon  <levon@movementarian.org>
7636
7637         * text3.C: hack fix for page up/down across tall rows
7638
7639 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7640
7641         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7642         not been invoked
7643
7644 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7645
7646         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7647         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7648         thesaurus is not compiled in
7649
7650 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7651
7652         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7653
7654 2002-12-16  Angus Leeming  <leeming@lyx.org>
7655
7656         * lyxrc.[Ch]:
7657         * lyx_main.C (init): remove override_x_deadkeys stuff.
7658
7659 2002-12-12  John Levon  <levon@movementarian.org>
7660
7661         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7662           insert. Only remove shift modifier under strict
7663           circumstances.
7664
7665 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7666
7667         * MenuBackend.C (expandToc): fix crash.
7668
7669 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7670
7671         * MenuBackend.C (expandToc): gettext on float names.
7672
7673 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7674
7675         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7676         implement bool empty() [bug 490]
7677
7678 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7679
7680         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7681
7682 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7683
7684         * several files: ws changes
7685
7686 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7687
7688         * text2.C (setCounter): clean up a bit, use boost.format.
7689         (updateCounters): initialize par upon declaration.
7690
7691         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7692         if the layout exists. We do not just store the layout any more.
7693         (SwitchLayoutsBetweenClasses): use boost.format
7694
7695 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7696
7697         * converter.C (convert): if from and to files are the same, use a
7698         temporary files as intermediary
7699
7700 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7701
7702         * commandtags.h:
7703         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7704
7705 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7706
7707         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7708
7709 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7710
7711         * tabular.C (asciiPrintCell): use string(size, char) instead of
7712         explicit loop.
7713
7714         * sgml.C (openTag): fix order of arguments to string constructor
7715         (closeTag): ditto
7716
7717         * lyxfunc.C (dispatch): use boost.format
7718
7719         * lots of files: change "c" -> 'c'
7720
7721 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7722
7723         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7724
7725 2002-11-25  Angus Leeming  <leeming@lyx.org>
7726
7727         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7728
7729         * lyx_main.C (init): compile fix.
7730
7731 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7732
7733         * lyx_cb.C (start): boost.formatify
7734         do not include <iostream>
7735
7736         * lengthcommon.C: ws only
7737
7738         * boost-inst.C,BoostFormat.h: add more explict instantations
7739
7740 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7741
7742         * lots of files: handle USE_BOOST_FORMAT
7743
7744 2002-11-21  John Levon  <levon@movementarian.org>
7745
7746         * pspell.C: fix compile
7747
7748 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7749
7750         * lyxfunc.C (dispatch): use boost::format
7751         (open): ditto
7752         (doImport): ditto
7753
7754         * lyxfont.C (stateText): use boost::format
7755
7756         * lyx_main.C (LyX): use boost::format
7757         (init): ditto
7758         (queryUserLyXDir): ditto
7759         (readRcFile): ditto
7760         (parse_dbg): ditto
7761         (typedef boost::function): use the recommened syntax.
7762
7763         * importer.C (Import): use boost::format
7764
7765         * debug.C (showLevel): use boost::format
7766
7767         * converter.C (view): use boost::format
7768         (convert): ditto
7769         (move): ditto
7770         (scanLog): ditto
7771
7772         * bufferview_funcs.C (currentState): use boost::format
7773
7774         * bufferlist.C (emergencyWrite): use boost::format
7775
7776         * buffer.C (readLyXformat2): use boost::format
7777         (parseSingleLyXformat2Token): ditto
7778
7779         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7780
7781         * LaTeX.C (run): use boost::format
7782
7783         * Chktex.C (scanLogFile): use boost::format
7784
7785         * BufferView_pimpl.C (savePosition): use boost::format
7786         (restorePosition): ditto
7787         (MenuInsertLyXFile): ditto
7788
7789         * BoostFormat.h: help file for explicit instation.
7790
7791 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7792
7793         * tabular.C (latex): Support for block alignment in fixed width
7794         columns.
7795
7796 2002-11-17  John Levon  <levon@movementarian.org>
7797
7798         * BufferView_pimpl.C:
7799         * lyx_cb.C:
7800         * lyxfunc.C: split filedialog into open/save
7801
7802 2002-11-08  Juergen Vigna  <jug@sad.it>
7803
7804         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7805         by my last patch (hopefully).
7806
7807 2002-11-08  John Levon  <levon@movementarian.org>
7808
7809         * iterators.h:
7810         * iterators.C:
7811         * buffer.h:
7812         * buffer.C:
7813         * paragraph.h:
7814         * paragraph.C:
7815         * toc.h:
7816         * toc.C: ParConstIterator, and use it (from Lars)
7817
7818 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7819
7820         * lyxtextclass.[Ch]: revise and add doxygen comments
7821
7822 2002-11-07  John Levon  <levon@movementarian.org>
7823
7824         * text.C: fix progress value for spellchecker
7825
7826         * toc.C: fix navigate menu for insetwrap inside minipage
7827
7828         * paragraph_funcs.C: added FIXME for suspect code
7829
7830 2002-11-07  John Levon  <levon@movementarian.org>
7831
7832         * BufferView_pimpl.C: fix redrawing of insets
7833           on buffer switch
7834
7835 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7836
7837         * text2.C (updateCounters): fix bug 668
7838
7839 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7840
7841         * text3.C (dispatch): Do not make the buffer dirty when moving the
7842         cursor.
7843
7844 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7845
7846         * vc-backend.C: STRCONV
7847         (scanMaster): ditto
7848
7849         * text2.C (setCounter): STRCONV
7850
7851         * paragraph.C (asString): STRCONV
7852
7853         * lyxlength.C (asString): STRCONV
7854         (asLatexString): ditto
7855
7856         * lyxgluelength.C (asString): STRCONV
7857         (asLatexString): ditto
7858
7859         * lyxfunc.C (dispatch): STRCONV
7860         (open): ditto
7861
7862         * lyxfont.C (stateText): STRCONV
7863
7864         * importer.C (Import): STRCONV
7865
7866         * counters.C (labelItem): STRCONV
7867         (numberLabel): ditto
7868         (numberLabel): remove unused ostringstream o
7869
7870         * chset.C: STRCONV
7871         (loadFile): ditto
7872
7873         * bufferview_funcs.C (currentState): STRCONV
7874
7875         * buffer.C (readFile): STRCONV
7876         (asciiParagraph): ditto
7877         (makeLaTeXFile): ditto
7878
7879         * Spacing.C (writeEnvirBegin): STRCONV
7880
7881         * LaTeXFeatures.C (getLanguages): STRCONV
7882         (getPackages): ditto
7883         (getMacros): ditto
7884         (getBabelOptions): ditto
7885         (getTClassPreamble): ditto
7886         (getLyXSGMLEntities): ditto
7887         (getIncludedFiles): ditto
7888
7889         * LaTeX.C: STRCONV
7890         (run): ditto
7891         (scanAuxFile): ditto
7892         (deplog): ditto
7893
7894         * LString.h: add the STRCONV macros
7895
7896         * BufferView_pimpl.C (savePosition): STRCONV
7897         (restorePosition): ditto
7898         (MenuInsertLyXFile): ditto
7899
7900         * vc-backend.C (scanMaster): change from submatch[...] to
7901         submatch.str(...)
7902
7903         * funcrequest.C: include config.h
7904
7905         * factory.C: include config.h
7906
7907         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7908
7909         * box.C: include config.h
7910
7911         * LaTeX.C (scanAuxFile): change from submatch[...] to
7912         submatch.str(...)
7913         (deplog): ditto
7914
7915 2002-10-25  Angus Leeming  <leeming@lyx.org>
7916
7917         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7918
7919         * ispell.[Ch] (setError): new method.
7920         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7921         Use setError() insetead of goto END.
7922
7923         * lyx_cb.C (AutoSave): move out child process into new class
7924         AutoSaveBuffer.
7925
7926 2002-10-30  John Levon  <levon@movementarian.org>
7927
7928         * text3.C: make start appendix undoable
7929
7930 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7931
7932         * lyxlength.C (inPixels): Fix returned value.
7933
7934         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7935         environment.
7936
7937 2002-10-24  Angus Leeming  <leeming@lyx.org>
7938
7939         * lyxgluelength.h: no need to forward declare BufferParams
7940         or BufferView, so don't.
7941
7942 2002-10-21  John Levon  <levon@movementarian.org>
7943
7944         * BufferView.C: menuUndo ->undo, redo
7945
7946         * BufferView.h: document, remove dead, make some methods private
7947
7948         * paragraph_funcs.h:
7949         * paragraph_funcs.C:
7950         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7951
7952         * buffer.h:
7953         * buffer.C:
7954         * sgml.h:
7955         * sgml.C: move sgml open/close tag into sgml.C
7956
7957         * bufferview_funcs.h: unused prototype
7958
7959         * lyxfunc.h:
7960         * lyxfunc.C: remove unused
7961
7962         * lyxtext.h:
7963         * text.C: remove unused
7964
7965 2002-10-21  John Levon  <levon@movementarian.org>
7966
7967         * BufferView.h:
7968         * BufferView.C:
7969         * BufferView_pimpl.h:
7970         * BufferView_pimpl.C: fix mouse wheel handling based on
7971           patch from Darren Freeman
7972
7973 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7974
7975         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7976
7977 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7978
7979         * lyxlength.C (inPixels): Fix hanfling of negative length.
7980         Fix LyXLength::MU case.
7981
7982 2002-10-16  John Levon  <levon@movementarian.org>
7983
7984         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7985
7986 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7987
7988         * converter.C (view): add support for $$i (file name) and $$p
7989         (file path) for the viewer command. If $$i is not specified, then
7990         it is appended to the command (for compatibility with old syntax)
7991
7992 2002-10-14  Juergen Vigna  <jug@sad.it>
7993
7994         * undo_funcs.C (textHandleUndo): alter the order in which the
7995         new undopar is added to the LyXText, as we have to set first
7996         the right prev/next and then add it as otherwise the rebuild of
7997         LyXText is not correct. Also reset the cursor to the right paragraph,
7998         with this IMO we could remove the hack in "redoParagraphs()".
7999
8000 2002-10-09  Angus Leeming  <leeming@lyx.org>
8001
8002         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8003         to turn off an optimisation if a new inset is to be inserted.
8004
8005 2002-10-11 André Pönitz <poenitz@gmx.net>
8006
8007         * lyxtext.h: make some functions public to allow access
8008         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8009
8010 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8011
8012         * text3.C (dispatch): when changing layout, avoid an infinite loop
8013         [bug #652]
8014
8015 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8016
8017         * lyxrc.C (read): treat a viewer or converter command of "none" as
8018         if it were empty.
8019
8020         * MenuBackend.C (expandFormats): for an update, also allow the
8021         formats that are not viewable
8022
8023         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8024         script if it is newer than the lyxrc.defaults in user directory
8025
8026 2002-10-07 André Pönitz <poenitz@gmx.net>
8027
8028         * text.C: Vitaly Lipatov's small i18n fix
8029
8030 2002-09-25  Angus Leeming  <leeming@lyx.org>
8031
8032         * ispell.h: doxygen fix.
8033
8034 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8035
8036         * buffer.h (readFile): Add a new argument to the method, to allow
8037         reading of old-format templates.
8038
8039 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8040
8041         * toc.C (getTocList): Get TOC from InsetWrap.
8042
8043 2002-09-16  John Levon  <levon@movementarian.org>
8044
8045         * lyxfunc.C: check tabular for cut/copy too
8046
8047 2002-09-12  John Levon  <levon@movementarian.org>
8048
8049         * LyXAction.C: tidy
8050
8051         * factory.h:
8052         * factory.C: add header
8053
8054         * paragraph_funcs.h:
8055         * paragraph_funcs.C: cleanup
8056
8057 2002-09-11  John Levon  <levon@movementarian.org>
8058
8059         * PrinterParams.h: odd/even default to true
8060
8061 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8062
8063         * PrinterParams.h: update printer parameters for new xforms dialog
8064
8065 2002-09-11  Angus Leeming  <leeming@lyx.org>
8066
8067         * lyxserver.C (read_ready): re-write to make it more transparent
8068         and to make it work in coherent fashion under Tru64 Unix.
8069
8070 2002-09-11  André Pönitz <poenitz@gmx.net>
8071
8072         * commandtags.h:
8073         * LyXAction.C:
8074         * text3.C: implement LFUN_WORDSEL
8075
8076 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8077
8078         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8079         make floatlist_ a boost::shared_ptr<FloatList>
8080
8081         * lyxtextclass.C: include FloatList.h
8082         (LyXTextClass): initialize floatlist_
8083         (TextClassTags): add TC_NOFLOAT
8084         (Read): match "nofloat" to TC_NOFLOAT and use it.
8085         (readFloat): modify call to floatlist_
8086         (floats): ditto
8087         (floats): ditto
8088
8089         * FloatList.[Ch] (FloatList): remove commented out float
8090         initialization.
8091         (erase): new function
8092
8093 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8094
8095         * MenuBackend.C (expandToc): fix crash when there is no document
8096         open
8097
8098 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8099
8100         * many files: Add insetwrap.
8101
8102 2002-09-09  John Levon  <levon@movementarian.org>
8103
8104         * text2.C: remove confusing and awkward depth wraparound
8105
8106 2002-09-09  John Levon  <levon@movementarian.org>
8107
8108         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8109
8110         * buffer.h:
8111         * buffer.C: remove getIncludeonlyList()
8112
8113         * paragraph.C:
8114         * lyxfunc.C: remove headers
8115
8116 2002-09-09  Juergen Vigna  <jug@sad.it>
8117
8118         * text.C (getColumnNearX): fix form Michael this is most
8119         probably a cut&paste bug.
8120
8121 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8122
8123         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8124
8125         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8126         references, ws changes.
8127
8128         * text2.C (init): update counters after init
8129         (insertParagraph): no need to set counter on idividual paragraphs.
8130         (setCounter): access the counters object in the textclass object
8131         on in the buffer object.
8132         (updateCounters): ditto
8133
8134         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8135         shared_ptr<Counters> to avoid loading counters.h in all
8136         compilation units.
8137         (LyXTextClass): initialize ctrs_
8138         (TextClassTags): add TC_COUNTER, and ...
8139         (Read): use it here.
8140         (CounterTags): new tags
8141         (readCounter): new function
8142         (counters): new funtion
8143         (defaultLayoutName): return a const reference
8144
8145         * counters.C (Counters): remove contructor
8146         (newCounter): remove a couple of unneeded statements.
8147         (newCounter): simplify a bit.
8148         (numberLabel): some small formatting changes.
8149
8150         * buffer.[Ch]: remove all traces of counters, move the Counters
8151         object to the LyXTextClass.
8152
8153 2002-09-06  Alain Castera  <castera@in2p3.fr>
8154
8155         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8156         package to set the horizontal alignment on fixed width columns.
8157
8158         * lyx_sty.C:
8159         * lyx_sty.h: added tabularnewline macro def.
8160
8161         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8162
8163 2002-09-06  John Levon  <levon@movementarian.org>
8164
8165         * LyXAction.C: tooltips for sub/superscript
8166
8167         * MenuBackend.C: a bit more verbose
8168
8169         * lyxfunc.C: tiny clean
8170
8171         * undo_funcs.C: document undo_frozen
8172
8173 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8174
8175         * counters.C (Counters): add missing algorithm counter.
8176
8177         * text2.C (setCounter): lookup the counter with layouts latexname
8178         instead of by section number.
8179         (setCounter): use a hackish way to lookup the correct enum
8180         counter.
8181         a float name->type change
8182         reset enum couners with counter name directly instead of depth value.
8183
8184         * counters.C (Counters): remove the push_backs, change to use the
8185         float type not the float name.
8186         (labelItem): remove unused string, float name->type change
8187
8188         * counters.h: don't include vector, loose the enums and sects vectors
8189
8190 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8191
8192         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8193         (Read): add float->TC_FLOAT to textclassTags
8194         (Read): and handle it in the switch
8195         (readFloat): new function
8196
8197         * FloatList.C (FloatList): comment out the hardcoded float
8198         definitions.
8199
8200         * lyxlayout.h: ws change.
8201
8202 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8203
8204         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8205
8206 2002-09-03  Angus Leeming  <leeming@lyx.org>
8207
8208         * BufferView_pimpl.h: qualified name is not allowed in member
8209         declaration: WorkArea & Pimpl::workarea() const;
8210
8211         * factory.C: added using std::endl directive.
8212
8213         * text3.C: added using std::find and std::vector directives.
8214
8215 2002-08-29  André Pönitz <poenitz@gmx.net>
8216
8217         * lyxtext.h:
8218         * text2.C: remove unused member number_of_rows
8219
8220         * Makefile.am:
8221         * BufferView2.C: remove file, move contents to...
8222         * BufferView.C: ... here
8223
8224         * BufferView_pimpl.C:
8225         * factory.C: move more inset creation to factory
8226
8227         * vspace.C: avoid direct usage of LyXText, ws changes
8228
8229         * BufferView.[Ch]:
8230                 don't provide direct access to WorkArea, use two simple
8231                 acessors haveSelction() and workHeight() instead
8232
8233
8234 2002-08-29  John Levon  <levon@movementarian.org>
8235
8236         * BufferView_pimpl.C (dispatch): do not continue when
8237           no buffer
8238
8239 2002-08-28  André Pönitz <poenitz@gmx.net>
8240
8241         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8242
8243         * BufferView.h:
8244         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8245
8246 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8247
8248         * buffer.C: increment LYX_FORMAT to 221
8249
8250         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8251         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8252
8253         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8254
8255         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8256
8257 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8258
8259         * factory.C (createInset): use LyXTextClass::floats
8260
8261         * MenuBackend.C (expandFloatListInsert):
8262         (expandFloatInsert):
8263         (expandToc):
8264
8265         * text2.C (setCounter):
8266
8267         * LaTeXFeatures.C (useFloat):
8268         (getFloatDefinitions):
8269
8270         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8271
8272         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8273         floatlist_, with accessor floats().
8274
8275         * FloatList.h: remove global FloatList
8276
8277 2002-08-26  André Pönitz <poenitz@gmx.net>
8278
8279         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8280
8281         * BufferView.h:
8282         * BufferView2.C:
8283         * BufferView_pimpl.C:
8284         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8285
8286 2002-08-25  John Levon  <levon@movementarian.org>
8287
8288         * LyXAction.C: fix margin note description
8289
8290 2002-08-24  John Levon  <levon@movementarian.org>
8291
8292         * buffer.C:
8293         * bufferlist.C:
8294         * bufferview_funcs.C:
8295         * lyxfont.C:
8296         * undo_funcs.C: cleanups
8297
8298         * lyxfunc.C: disable CUT/COPY when no selection
8299
8300 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8301
8302         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8303         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8304
8305         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8306         Add backward compatibility to "mono", "gray" and "no".
8307
8308 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8309
8310         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8311         (and file_format >= 200).
8312
8313 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8314
8315         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8316
8317 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8318
8319         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8320
8321 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8322
8323         * BufferView_pimpl.C:
8324         * LyXAction.C:
8325         * buffer.C:
8326         * commandtags.h:
8327         * lyxfunc.C:
8328         * paragraph.[Ch]:
8329         * text2.C:
8330         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8331         inset and code to make it  work with the paragraph code. The inset
8332         can be anywhere in the paragraph, but will only do the expected
8333         thing in LaTeX if the layout file contains the parameter line
8334                         OptionalArgs    1
8335         (or more generally, a nonzero value) for that layout.
8336
8337 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8338
8339         * paragraph.h: remove the declaration of undefined counters class
8340         function.
8341
8342 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8343
8344         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8345         Dr. Richard Hawkins.
8346
8347 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8348
8349         * paragraph_funcs.h: remove some unneeded includes
8350
8351         * text.C (backspace): pasteParagraph now in global scipe
8352
8353         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8354         (pasteSelection): ditto
8355
8356         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8357         * paragraph_funcs.C (pasteParagraph): ... here
8358
8359 2002-08-20  André Pönitz <poenitz@gmx.net>
8360
8361         * commandtags.h: new LFUNs for swapping/copying table row/colums
8362
8363         * LyXAction.C:
8364         * lyxfunc.C: support for new lfuns
8365
8366 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8367
8368         * tabular.C:
8369         * buffer.[Ch]: remove NO_COMPABILITY stuff
8370
8371 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8372
8373         * boost.C (throw_exception): new file, with helper function for
8374         boost compiled without exceptions.
8375
8376         * paragraph.h:
8377         * lyxlength.C:
8378         * buffer.C:
8379         * ParameterStruct.h:
8380         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8381
8382         * bufferlist.C (emergencyWriteAll): use boost bind
8383
8384         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8385
8386         * text.C: include paragraph_funcs.h
8387         (breakParagraph): breakParagraph is now in global scope
8388
8389         * paragraph_funcs.[Ch]: new files
8390
8391         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8392         global scope
8393
8394         * buffer.C: include paragraph_funcs.h
8395         (insertStringAsLines): breakParagraph is now in global scope
8396
8397         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8398         paragraph_funcs.C
8399
8400         * CutAndPaste.C: include paragraph_funcs.h
8401         (cutSelection): breakParagraphConservative is now in global scope
8402         (pasteSelection): ditto
8403
8404         * buffer.h: declare oprator== and operator!= for
8405         Buffer::inset_iterator
8406
8407         * bufferlist.C (emergencyWrite): don't use fmt(...)
8408
8409         * text3.C: add using std::endl
8410
8411         * BufferView.C (moveCursorUpdate): remove default arg
8412
8413 2002-08-20  André Pönitz <poenitz@gmx.net>
8414
8415         * buffer.[Ch]: move inline functions to .C
8416
8417         * BufferView2.C:
8418         * BufferView_pimpl.C:
8419         * text.C:
8420         * buffer.[Ch]: use improved inset_iterator
8421
8422         * buffer.C:
8423         * paragraph.[Ch]: write one paragraph at a time
8424
8425 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8426
8427         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8428         style if style is not specified.
8429
8430 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8431
8432         * text2.C (setCounter): when searching for right label for a
8433         caption, make sure to recurse to parent insets (so that a caption
8434         in a minipage in a figure float works) (bug #568)
8435
8436 2002-08-20  André Pönitz <poenitz@gmx.net>
8437
8438         * text3.C: new file for LyXText::dispatch() and helpers
8439
8440         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8441
8442         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8443
8444 2002-08-19  André Pönitz <poenitz@gmx.net>
8445
8446         * lyxtext.h:
8447         * text.C: new LyXText::dispatch()
8448
8449         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8450
8451 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8452
8453         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8454
8455         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8456         Hebrew text.
8457
8458 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8459
8460         * Makefile.am: use $(variables) instead of @substitutions@
8461
8462 2002-08-15  André Pönitz <poenitz@gmx.net>
8463
8464         * lyxfunc.C:
8465         * BufferView_pimpl.C: streamlining mathed <-> outer world
8466         interaction
8467
8468         * commandtags.h:
8469         * LyXAction.C: remove unused LFUN_MATH
8470
8471 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8472
8473         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8474
8475 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8476
8477         * paragraph.C (Paragraph): reformat a bit
8478         (cutIntoMinibuffer): use builtin InsetList function instad of
8479         doing it manually.
8480         (getInset): ditto
8481
8482         * buffer.C: include boost/bind.hpp, add using std::for_each
8483         (writeFileAscii): use ParagraphList iterators
8484         (validate): use for_each for validate traversal of paragraphs
8485         (getBibkeyList): use ParagraphList iterators
8486         (resizeInsets): use for_each to resizeInsetsLyXText for all
8487         paragraphs.
8488         (getParFromID): use ParagraphList iterators
8489
8490         * BufferView2.C (lockInset): use paragraph list and iterators
8491
8492 2002-08-14  John Levon  <levon@movementarian.org>
8493
8494         * lyxserver.C: remove spurious xforms include
8495
8496 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8497
8498         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8499
8500 2002-08-13  André Pönitz <poenitz@gmx.net>
8501
8502         * LyXAction.[Ch]:
8503         * lyxfunc.C: further cleaning
8504
8505 2002-08-13  André Pönitz <poenitz@gmx.net>
8506
8507         * funcrequest.h: new constructor
8508
8509         * funcrequest.C: move stuff here from .h
8510
8511         * Makefile.am:
8512         * BufferView_pimpl.C:
8513         * LyXAction.C:
8514         * toc.C:
8515         * lyxfunc.C: subsequent changes
8516
8517         * lyxfunc.h: new view() member function
8518
8519         * lyxfunc.C: subsequent changes
8520
8521 2002-08-13  Angus Leeming  <leeming@lyx.org>
8522
8523         * BufferView2.C:
8524         * BufferView_pimpl.C:
8525         * buffer.C:
8526         * converter.C:
8527         * importer.C:
8528         * lyxfunc.C:
8529         * lyxvc.C:
8530         * toc.C:
8531         * vc-backend.C:
8532         changes due to the changed LyXView interface that now returns references
8533         to member variables not pointers.
8534
8535 2002-08-13  Angus Leeming  <leeming@lyx.org>
8536
8537         * WordLangTuple (word, lang_code): return references to strings,
8538         not strings.
8539
8540         * BufferView.h:
8541         * SpellBase.h:
8542         * lyxtext.h: forward-declare WordLangTuple.
8543
8544         * BufferView2.C:
8545         * ispell.C:
8546         * pspell.C:
8547         * text.C: #include "WordLangTuple.h".
8548
8549         * lyxtext.h:
8550         * text.C: (selectNextWordToSpellcheck): constify return type.
8551
8552 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8553
8554         * buffer.C:
8555         * buffer.h:
8556         * lyxtext.h:
8557         * paragraph.C:
8558         * paragraph_pimpl.h:
8559         * text.C:
8560         * text2.C:
8561         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8562         suggested by Angus.
8563         Made updateCounter always count from start of buffer, and removed
8564         second argument (par).
8565         Reverted floats number display to '#'. Perhaps I'll try again when the
8566         code base is sanitized a bit.
8567
8568 2002-08-12  Angus Leeming  <leeming@lyx.org>
8569
8570         * buffer.[Ch] (getLabelList): constify.
8571
8572 2002-08-07  André Pönitz <poenitz@gmx.net>
8573
8574         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8575
8576         * funcrequest.h: extension to keep mouse (x,y) position
8577
8578 2002-08-12  Juergen Vigna  <jug@sad.it>
8579
8580         * BufferView2.C (insertErrors): forbid undo when inserting error
8581         insets.
8582
8583         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8584
8585 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8586
8587         * ParagraphList.[Ch]: new files
8588
8589         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8590
8591         * BufferView2.C (lockInset): ParagraphList changes
8592         * toc.C: ditto
8593         * text2.C: ditto
8594         * bufferlist.C: ditto
8595         * buffer.h: ditto
8596         * buffer.C: ditto
8597
8598 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8599
8600         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8601         unused class variable counter_,
8602
8603         * paragraph.[Ch] (getFirstCounter): delete unused function
8604
8605         * counters.C: include LAssert.h
8606         (reset): add a new function with no arg, change other version to
8607         not have def. arg and to not allow empty arg.
8608
8609         * text2.C (setCounter): remove empty arg from call to Counters::reset
8610
8611 2002-08-11  John Levon  <levon@movementarian.org>
8612
8613         * Makefile.am: add WordLangTuple.h
8614
8615 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8616
8617         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8618         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8619
8620         * insets/insettext.C: InsetList changes
8621
8622         * graphics/GraphicsSupport.C (operator()): InsetList changes
8623
8624         * toc.C (getTocList): InsetList changes
8625
8626         * paragraph_pimpl.[Ch]: InsetList changes
8627
8628         * paragraph.[Ch]: InsetList changes
8629
8630         * buffer.C (inset_iterator): InsetList changes
8631         (setParagraph): ditto
8632         * buffer.h (inset_iterator): ditto
8633         * iterators.C (operator++): ditto
8634         * iterators.h: ditto
8635
8636         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8637
8638         * InsetList.[Ch]: new files, most InsetList handling moved out of
8639         paragraph.C.
8640
8641         * BufferView2.C (removeAutoInsets): InsetList changes
8642         (lockInset): ditto
8643         (ChangeInsets): ditto
8644
8645 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8646
8647         * paragraph_pimpl.h (empty): new function
8648
8649         * paragraph.[Ch] (empty): new function
8650
8651         * other files: use the new Paragraph::empty function
8652
8653 2002-08-09  John Levon  <levon@movementarian.org>
8654
8655         * lyxtext.h: remove unused refresh_height
8656
8657 2002-08-09  John Levon  <levon@movementarian.org>
8658
8659         * Makefile.am:
8660         * sgml.h:
8661         * sgml.C:
8662         * buffer.C:
8663         * paragraph.h:
8664         * paragraph.C: move sgml char escaping out of paragraph
8665
8666         * paragraph.h:
8667         * paragraph.C: remove id setter
8668
8669         * buffer.C:
8670         * paragraph.C:
8671         * paragraph_pimpl.C: remove dead tex_code_break_column
8672
8673         * bufferview_funcs.C: small cleanup
8674
8675         * lyxfunc.C: remove dead proto
8676
8677         * lyxtext.h: make some stuff private. Remove some dead stuff.
8678
8679         * lyxgluelength.C: make as[LyX]String() readable
8680
8681 2002-08-08  John Levon  <levon@movementarian.org>
8682
8683         * LyXAction.h:
8684         * LyXAction.C:
8685         * MenuBackend.C:
8686         * ToolbarDefaults.C:
8687         * lyxfunc.C:
8688         * lyxrc.C:
8689         * toc.C: lyxaction cleanup
8690
8691 2002-08-08  John Levon  <levon@movementarian.org>
8692
8693         * BufferView2.C: small cleanup
8694
8695         * lyxfind.h:
8696         * lyxfind.C: move unnecessary header into the .C
8697
8698 2002-08-08  John Levon  <levon@movementarian.org>
8699
8700         * funcrequest.h: just tedious nonsense
8701
8702         * lyx_main.h:
8703         * lyx_main.C: cleanups
8704
8705         * buffer.C:
8706         * vspace.C: remove dead header lyx_main.h
8707
8708 2002-08-07  Angus Leeming  <leeming@lyx.org>
8709
8710         * Paragraph.[Ch]:
8711         * paragraph_pimpl.h:
8712         Forward declare class Counters in paragraph.h by moving the ctrs member
8713         variable into Paragraph::Pimpl.
8714         (counters): new method, returning a reference to pimpl_->ctrs.
8715
8716         * text2.C: ensuing changes.
8717
8718 2002-08-07  John Levon  <levon@movementarian.org>
8719
8720         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8721
8722         * BufferView_pimpl.C: announce X selection on double/triple
8723           click
8724
8725         * lyx_main.C: use correct bool in batch dispatch
8726
8727         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8728
8729 2002-08-07  André Pönitz <poenitz@gmx.net>
8730
8731         * funcrequest.h: new class to wrap a kb_action and its argument
8732
8733         * BufferView.[Ch]:
8734         * BufferView_pimpl[Ch]:
8735         * LaTeX.C:
8736         * LyXAction.[Ch]:
8737         * lyxfunc.[Ch]:
8738         * lyxrc.C: subsequent changes
8739
8740
8741 2002-08-07  John Levon  <levon@movementarian.org>
8742
8743         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8744           document options change.
8745
8746 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8747
8748         * counters.[Ch]
8749         * text2.C
8750         * paragraph.[Ch]
8751         * makefile.am: move counters functionality over from
8752         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8753
8754 2002-08-06  John Levon  <levon@movementarian.org>
8755
8756         * WordLangTuple.h: new file for word + language code tuple
8757
8758         * SpellBase.h:
8759         * pspell.h:
8760         * pspell.C:
8761         * ispell.h:
8762         * ispell.C:
8763         * lyxtext.h:
8764         * text.C:
8765         * text2.C:
8766         * BufferView.h:
8767         * BufferView2.C: use WordLangTuple
8768
8769         * layout.h:
8770         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8771
8772 2002-08-06  John Levon  <levon@movementarian.org>
8773
8774         * lyx_main.C: fix cmdline batch handling
8775
8776 2002-08-06  André Pönitz <poenitz@gmx.net>
8777
8778         * lyxrc.C: set default for show_banner to true
8779
8780 2002-08-06  John Levon  <levon@movementarian.org>
8781
8782         * pspell.C: fix a crash, and allow new aspell to work
8783
8784 2002-08-06  John Levon  <levon@movementarian.org>
8785
8786         * lyxfunc.C:
8787         * kbmap.C: small cleanup
8788
8789         * vspace.h:
8790         * vspace.C: add const
8791
8792 2002-08-05  John Levon  <levon@movementarian.org>
8793
8794         * LyXAction.C: back to tabular-insert
8795
8796 2002-08-04  John Levon  <levon@movementarian.org>
8797
8798         * BufferView.h:
8799         * BufferView.C: cosmetic change
8800
8801         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8802
8803         * bufferlist.C:
8804         * buffer.h:
8805         * buffer.C:
8806         * lyxcb.h:
8807         * lyxcb.C:
8808         * lyxserver.C:
8809         * lyxvc.C:
8810         * vc-backend.C:
8811         * BufferView2.C: purge all "Lyx" not "LyX" strings
8812
8813         * lyxcursor.h:
8814         * lyxcursor.C: attempt to add some documentation
8815
8816         * lyxfunc.C:
8817         * commandtags.h:
8818         * LyXAction.C:
8819         * ToolbarDefaults.C:
8820         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8821           merge with LFUN_TABULAR_INSERT
8822
8823         * Makefile.am:
8824         * SpellBase.h:
8825         * ispell.h:
8826         * ispell.C:
8827         * pspell.h:
8828         * pspell.C: split up i/pspell implementations into separate
8829           files, many cleanups
8830
8831         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8832
8833         * text2.C: some cleanup
8834
8835         * lyxfunc.C: don't check for isp_command == "none" any more, it
8836           didn't make any sense
8837
8838 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8839
8840         * counters.[Ch]
8841         * text2.C
8842         * paragraph.[Ch]
8843         * makefile.am: move counters functionality over
8844         from text2.C/paragraph.[Ch] to counters.[Ch], and
8845         make proper C++.
8846 2002-08-02  John Levon  <levon@movementarian.org>
8847
8848         * buffer.C: s/lyxconvert/lyx2lyx/
8849
8850 2002-08-02  Angus Leeming  <leeming@lyx.org>
8851
8852         * lyxlex.C: revert John's change as it breaks reading of the user
8853         preamble.
8854
8855 2002-08-02  Angus Leeming  <leeming@lyx.org>
8856
8857         * importer.C (Import):
8858         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8859         changes due to LyXView::view() now returning a boost::shared_ptr.
8860
8861 2002-08-02  John Levon  <levon@movementarian.org>
8862
8863         * lyxlex.C: small cleanup
8864
8865 2002-08-02  John Levon  <levon@movementarian.org>
8866
8867         * text2.C (status): small cleanup, no logic change
8868
8869 2002-08-01  John Levon  <levon@movementarian.org>
8870
8871         * buffer.h:
8872         * buffer.C (writeFile): don't output alerts, caller
8873           handles this
8874
8875         * bufferlist.C:
8876         * lyx_cb.C: from above
8877
8878         * lyxfunc.C: allow to open non-existent files
8879
8880 2002-07-31  John Levon  <levon@movementarian.org>
8881
8882         * lyxserver.C: don't let incidental errors get
8883           in the way (errno)
8884
8885 2002-07-30  John Levon  <levon@movementarian.org>
8886
8887         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8888
8889 2002-07-30  John Levon  <levon@movementarian.org>
8890
8891         * lyxserver.h:
8892         * lyxserver.C: remove I/O callback too
8893
8894 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8895
8896         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8897         log.
8898
8899 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8900
8901         * many files: strip,frontStrip -> trim,ltrim,rtrim
8902
8903 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8904
8905         * PrinterParams.h: remove extern containsOnly, and include
8906         support/lstrings.h instead.
8907
8908         * LaTeX.C (scanAuxFile): modify because of strip changes
8909         (deplog): ditto
8910         * buffer.C (makeLaTeXFile): ditto
8911         * bufferparams.C (writeFile): ditt
8912         * lyxfont.C (stateText): ditto
8913         * lyxserver.C (read_ready): ditto
8914         * vc-backend.C (scanMaster): ditto
8915
8916         * BufferView_pimpl.h: ws changes
8917
8918         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8919
8920 2002-07-26  André Pönitz <poenitz@gmx.net>
8921
8922         * kb_sequence.C: remove unnedred usings
8923
8924 2002-07-26  Juergen Vigna  <jug@sad.it>
8925
8926         * lyxfind.C (LyXReplace): we have to check better if the returned
8927         text is not of theLockingInset()->getLockingInset().
8928
8929 2002-07-25  Juergen Vigna  <jug@sad.it>
8930
8931         * lyxfind.C (LyXReplace): don't replace if we don't get the
8932         right LyXText.
8933
8934         * undo_funcs.C (createUndo): remove debugging code.
8935
8936 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8937
8938         * buffer.C (parseSingleLyXformat2Token): Use default placement
8939         when reading old floats.
8940
8941         * FloatList.C (FloatList): Change the default placement of figure
8942         and tables to "tbp".
8943
8944 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8945
8946         * MenuBackend.C: using std::max
8947
8948 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8949
8950         * MenuBackend.C (expandToc):
8951         (expandToc2): code moved from xforms menu frontend. It is now
8952         generic and TOCs are transparent to menu frontends.
8953
8954 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8955
8956         * toc.C (getTocList): protect against buf=0
8957
8958         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8959         Menu as first parameter. Now, this calls itself recursively to
8960         expand a whole tree (this will be useful for TOC handling)
8961         (expandFloatInsert): remove 'wide' version of floats
8962
8963         * MenuBackend.h (submenuname): returns the name of the submenu.
8964         (submenu): returns the submenu itself, provided it has been
8965         created by MenuBackend::expand
8966
8967 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8968
8969         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8970         insets which have noFontChange == true. (bug #172)
8971
8972 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8973
8974         * BufferView_pimpl.C: add connection objects and use them...
8975         (Pimpl): here.
8976
8977 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8978
8979         * MenuBackend.C (expandLastfiles):
8980         (expandDocuments):
8981         (expandFormats):
8982         (expandFloatListInsert):
8983         (expandFloatInsert):
8984         (expand): split expand in parts
8985
8986 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8987
8988         * lyx_gui.C: use lyx_gui::exit()
8989
8990 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8991
8992         * LyXAction.C: show the failing pseudo action
8993
8994 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8995
8996         * buffer.C (readFile): Run the lyxconvert script in order to read
8997         old files.
8998
8999 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9000
9001         * LyXAction.C:
9002         * commandtags.h:
9003         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9004
9005 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9006
9007         * LyXAction.C:
9008         * commandtags.h:
9009         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9010
9011 2002-07-22  Herbert Voss  <voss@lyx.org>
9012
9013         * lengthcommon.C:
9014         * lyxlength.[Ch]: add support for the vertical lengths
9015
9016 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9017
9018         * toc.[Ch]: std:: fixes
9019
9020 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9021
9022         * lyxrc.C: do not include lyx_main.h
9023
9024         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9025         for layouts
9026
9027         * lyxrc.C:
9028         * encoding.C:
9029         * bufferlist.C:
9030         * BufferView2.C: include "lyxlex.h"
9031
9032         * tabular.h:
9033         * bufferparams.h: do not #include "lyxlex.h"
9034
9035         * lyxtextclasslist.C (Add): remove method
9036         (classlist): renamed to classlist_
9037
9038         * paragraph_pimpl.C:
9039         * paragraph.C:
9040         * text2.C:
9041         * CutAndPaste.C:
9042         * bufferview_funcs.C:
9043         * bufferlist.C:
9044         * text.C:
9045         * LaTeXFeatures.C:
9046         * buffer.C:
9047         * toc.C (getTocList): use BufferParams::getLyXTextClass
9048
9049         * toc.C (getTocList): use InsetFloat::addToToc
9050
9051         * toc.[Ch]: new files, containing helper functions to handle table
9052         of contents
9053
9054         * lyxfunc.C (dispatch): no need to remove spaces around command
9055         given as a string
9056         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9057         first command of the sequence; it is not very clever, but I do not
9058         have a better idea, actually
9059
9060         * LyXAction.C (LookupFunc): make sure to remove space at the
9061         beginning and end of the command
9062
9063 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9064
9065         * MenuBackend.C (getMenubar): new method: return the menubar of
9066         this menu set
9067         (read): treat differently reading of menu and menubar (in
9068         particular, the menubar has no name now)
9069         (Menu::menubar): remove
9070
9071         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9072         saving is finished
9073
9074 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9075
9076         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9077         a bibitem inset in a RTL paragraph.
9078
9079 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9080
9081         * paragraph_pimpl.C: constify
9082
9083         * BufferView_pimpl.C:
9084         * LaTeX.C:
9085         * lyxfunc.C: fix dispatch in a nicer way
9086
9087 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9088
9089         * lyxfunc.C (dispatch):
9090         * BufferView_pimpl.C:
9091         * BufferView_pimpl.h:
9092         * BufferView.C:
9093         * BufferView.h: rename Dispatch() to dispatch()
9094
9095         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9096
9097         * lyxlayout.C (Read): honor DependsOn tag
9098
9099         * lyxlayout.[Ch] (depends_on): new method
9100
9101         * version.C.in: update lyx_docversion
9102
9103         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9104
9105         * paragraph.C (validate): remove from here...
9106         * paragraph_pimpl.C (validate): ... and move here
9107         (isTextAt): make it const
9108
9109         * buffer.C (getLists): ws cleanup
9110
9111 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9112
9113         * language.C (read): Use iso8859-1 encoding in latex_lang
9114         (this prevents LyX from crashing when using iso10646-1 encoding).
9115
9116 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9117
9118         * text2.C (toggleInset): if cursor is inside an inset, close the
9119         inset and leave cursor _after_ it
9120
9121 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9122
9123         * lyxfunc.C: move minibuffer completion handling out of here
9124
9125 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9126
9127         * BufferView_pimpl.C:
9128         * LaTeX.C: fix dispatch calls
9129
9130 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9131
9132         * text.C (drawChars): Fix Arabic text rendering.
9133
9134 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9135
9136         * LyXAction.C:
9137         * commandtags.h:
9138         * lyxfunc.C: remove message-push/pop
9139
9140         * lyxserver.C:
9141         * lyxfunc.h:
9142         * lyxfunc.C: rationalise some code by removing verboseDispatch
9143           in favour of a bool argument to dispatch()
9144
9145 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9146
9147         * lyx_main.C (init): make sure to read symlinks as absolute paths
9148
9149 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9150
9151         * lyxfunc.h:
9152         * lyxfunc.C: no need for commandshortcut to be a member
9153
9154 2002-07-15  André Pönitz <poenitz@gmx.net>
9155
9156         * converter.C: add support for $$s (scripts from lib/scripts dir)
9157         * lyx_main.C: white space
9158
9159 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9160
9161         * bufferlist.C:
9162         * lyxrc.h:
9163         * lyxrc.C: remove second exit confirmation
9164
9165 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9166
9167         * BufferView.h:
9168         * BufferView.C:
9169         * BufferView2.C:
9170         * BufferView_pimpl.h:
9171         * BufferView_pimpl.C:
9172         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9173
9174 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9175
9176         * MenuBackend.C (expand): add numeric shortcuts to document menu
9177
9178         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9179
9180 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9181
9182         * lyxfont.C (setLyXFamily):
9183         (setLyXSeries):
9184         (setLyXShape):
9185         (setLyXSize):
9186         (setLyXMisc):
9187         (lyxRead):
9188         * debug.C (value):
9189         * buffer.C (asciiParagraph): use ascii_lowercase
9190
9191 2002-07-15  Mike Fabian  <mfabian@suse.de>
9192
9193         * lyxlex_pimpl.C (search_kw):
9194         * lyxlex.C (getLongString):
9195         * converter.h (operator<):
9196         * converter.C (operator<):
9197         * buffer.C (parseSingleLyXformat2Token):
9198         (asciiParagraph):
9199         * ToolbarDefaults.C (read):
9200         * MenuBackend.C (checkShortcuts):
9201         (read):
9202         * LColor.C (getFromGUIName):
9203         (getFromLyXName): use the compare_ascii_no_case instead of
9204         compare_no_case, because in turkish, 'i' is not the lowercase
9205         version of 'I', and thus turkish locale breaks parsing of tags.
9206
9207 2002-07-16  Angus Leeming  <leeming@lyx.org>
9208
9209         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9210         now takes a Buffer const & argument.
9211
9212 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9213
9214         * BufferView.C (resize): check there's a buffer to resize
9215
9216 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9217
9218         * lyxfunc.C: remove dead code
9219
9220         * lyxserver.h:
9221         * lyxserver.C: use lyx_guii::set_read_callback
9222
9223 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9224
9225         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9226         an inset in a RTL paragraph.
9227
9228 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9229
9230         * lyxfunc.C: repaint after a font size update
9231
9232 2002-07-15  André Pönitz <poenitz@gmx.net>
9233
9234         * lyxlength.C: inBP should be able to return negative values
9235
9236 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9237
9238         * lyxfunc.C: use lyx_gui::update_fonts()
9239
9240 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9241
9242         * lyxfunc.C: use lyx_gui::update_color()
9243
9244 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9245
9246         * bufferlist.C:
9247         * lyxfunc.h:
9248         * lyxfunc.C:
9249         * lyxrc.h:
9250         * lyxrc.C: remove file->new asks for name option, and let
9251           buffer-new take an argument
9252
9253 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9254
9255         * BufferView_pimpl.C: remove unneeded extra repaint()
9256
9257 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9258
9259         * LyXAction.C: allow command-sequence with NoBuffer
9260
9261         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9262
9263 2002-07-10  Angus Leeming  <leeming@lyx.org>
9264
9265         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9266
9267 2002-07-09  Angus Leeming  <leeming@lyx.org>
9268
9269         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9270
9271 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9272
9273         * lengthcommon.h: whitespace
9274
9275         * lyxfunc.C: update scrollbar after goto paragraph
9276
9277         * lyxtext.h: factor out page break drawing, and fix it so
9278           page break/added space paints as selected nicely
9279
9280 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9281
9282         * BufferView_pimpl.C: add FIXMEs, clean up a little
9283
9284 2002-07-09  André Pönitz <poenitz@gmx.net>
9285
9286         * lyxfont.[Ch]: support for wasy symbols
9287
9288 2002-07-08  André Pönitz <poenitz@gmx.net>
9289
9290         * BufferView_pimpl.C: apply John's patch for #93.
9291
9292 2002-07-05  Angus Leeming  <leeming@lyx.org>
9293
9294         * BufferView_pimpl.C (buffer): generate previews if desired.
9295
9296         * LColor.h: add "preview" to the color enum.
9297
9298         * LColor.C (LColor): add a corresponding entry to the items array.
9299
9300         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9301         with this buffer.
9302
9303 2002-07-05  Angus Leeming  <leeming@lyx.org>
9304
9305         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9306         The body of the code is now in the method that is passed an ostream &
9307         rather than a file name.
9308         Pass an additional only_preamble parameter, useful for the forthcoming
9309         preview stuff.
9310
9311 2002-07-03  André Pönitz <poenitz@gmx.net>
9312
9313         * lyxfunc.C: simplify getStatus() a bit for math stuff
9314
9315 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9316
9317         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9318
9319 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9320
9321         * text.C (changeRegionCase): do not change case of all the
9322         document when region ends at paragraph end (bug #461)
9323
9324 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9325
9326         * paragraph.C (startTeXParParams):
9327         (endTeXParParams): add \protect when necessary
9328
9329 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9330
9331         * BufferView_pimpl.C (workAreaExpose): remove warning
9332
9333 2002-06-27  Angus Leeming  <leeming@lyx.org>
9334
9335         * Makefile.am: add lyxlayout_ptr_fwd.h.
9336
9337 2002-06-26  André Pönitz <poenitz@gmx.net>
9338
9339         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9340
9341 2002-06-25  Angus Leeming  <leeming@lyx.org>
9342
9343         * lyxfunc.C (dispatch): Comment out the call to
9344         grfx::GCache::changeDisplay. The method no longer exists now that the
9345         pixmap generation part of the graphics loader has been moved into
9346         InsetGraphics.
9347
9348 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9349
9350         * text2.C: layout as layout
9351
9352         * text.C: layout as layout
9353
9354         * tabular.C (OldFormatRead): layout as layout
9355
9356         * paragraph_pimpl.C (TeXDeeper): layout as layout
9357         (realizeFont): layout as layout
9358
9359         * paragraph.C (writeFile): layout as layout
9360         (validate): layout as layout
9361         (getFont): layout as layout
9362         (getLabelFont): layout as layout
9363         (getLayoutFont): layout as layout
9364         (breakParagraph): layout as layout
9365         (stripLeadingSpaces): layout as layout
9366         (getEndLabel): layout as layout
9367         (getMaxDepthAfter): layout as layout
9368         (applyLayout): layout as layout
9369         (TeXOnePar): layout as layout
9370         (simpleTeXOnePar): layout as layout
9371         (TeXEnvironment): layout as layout
9372         (layout): layout as layout
9373         (layout): layout as layout
9374
9375         * lyxtextclass.C (compare_name): new functor to work with
9376         shared_ptr, layout as layout
9377         (Read): layout as layout
9378         (hasLayout): layout as layout
9379         (operator): layout as layout
9380         (delete_layout): layout as layout
9381         (defaultLayout): layout as layout
9382
9383         * lyxlayout_ptr_fwd.h: new file
9384
9385         * lyxlayout.C (Read): layout as layout
9386
9387         * lyx_cb.C (MenuInsertLabel): layout as layout
9388
9389         * bufferlist.C (newFile): layout as layout
9390
9391         * buffer.C (readLyXformat2): layout as layout
9392         (parseSingleLyXformat2Token): layout as layout
9393         (insertStringAsLines): layout as layout
9394         (asciiParagraph): layout as layout
9395         (latexParagraphs): layout as layout
9396         (makeLinuxDocFile): layout as layout
9397         (simpleLinuxDocOnePar): layout as layout
9398         (makeDocBookFile): layout as layout
9399         (simpleDocBookOnePar): layout as layout
9400         (getLists): layout as layout
9401
9402         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9403
9404         * CutAndPaste.C (cutSelection): layout as layout
9405         (pasteSelection): layout as layout
9406         (SwitchLayoutsBetweenClasses): layout as layout
9407
9408         * BufferView_pimpl.C (Dispatch): layout as layout
9409         (smartQuote): layout as layout
9410
9411         * BufferView2.C (unlockInset): layout as layout
9412
9413 2002-06-24  André Pönitz <poenitz@gmx.net>
9414
9415         * lyxfunc.C: fix #487
9416
9417 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9418
9419         * lyxrc.h:
9420         * lyxrc.C:
9421         * lyxfunc.C: remove display_shortcuts, show_banner
9422
9423 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9424
9425         * Buffer_pimpl.C: oops, update on resize
9426
9427 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9428
9429         * buffer.C:
9430         * converter.C:
9431         * exporter.C:
9432         * lyxfunc.C:
9433         * BufferView.h:
9434         * BufferView.C: use repaint()
9435
9436         * BufferView_pimpl.h:
9437         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9438           as it's a clearer description. Remove superfluous
9439           redraws.
9440
9441 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9442
9443         * text.C: fix bug 488. Not ideal, but getting
9444           getWord() to work properly for the insets that
9445           matter is more difficult ...
9446
9447 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9448
9449         * BufferView_pimpl.C:
9450         * LyXAction.C:
9451         * commandtags.h:
9452         * lyxfunc.C: remove the six million index lyxfuncs to just
9453           one, and DTRT (bug 458)
9454
9455 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9456
9457         * BufferView.h:
9458         * BufferView.C:
9459         * BufferView_pimpl.h:
9460         * BufferView_pimpl.C: clean up resize() stuff,
9461           and unnecessary updateScreen()s
9462
9463 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9464
9465         * BufferView.h:
9466         * BufferView.C:
9467         * BufferView_pimpl.h:
9468         * BufferView_pimpl.C:
9469         * lyxfind.h:
9470         * lyxfind.C:
9471         * minibuffer.C: remove focus management of workarea,
9472           not needed. Use screen's greyOut()
9473
9474 2002-06-17  Herbert Voss  <voss@lyx.org>
9475
9476         * converter.C: (convert) do not post a message, when converting
9477         fails, let the calling function decide what to do in this case
9478
9479 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9480
9481         * lyxfunc.C: tidy up a little
9482
9483 2002-06-16    <alstrup@diku.dk>
9484
9485         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9486         Got rid of FORMS_H_LOCATION include. Now we are
9487         GUII.
9488
9489 2002-06-15  LyX Development team  <lyx@rilke>
9490
9491         * buffer.[Ch] (sgmlOpenTag):
9492         (sgmlCloseTag): Added support for avoiding pernicious mixed
9493         content. Return number of lines written.
9494
9495         (makeLinuxDocFile):
9496         (makeDocBookFile): Fixed calls to sgml*Tag.
9497         Simple white space clean.
9498
9499         (simpleDocBookOnePar): Simple white space clean.
9500
9501         * tabular.[Ch] (docBook): Renamed to docbook and got another
9502         argument to related with the pernicious mixed content.
9503
9504         (docbookRow): Fixed calls for docbook inset method.
9505
9506 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9507
9508         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9509         so it's X11 independent.
9510
9511         * kb*.[Ch]: ditto.
9512
9513         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9514
9515 2002-06-15  Lyx Development team  <lyx@electronia>
9516
9517         * intl.h: Renamed getTrans to getTransManager.
9518
9519 2002-06-14  Angus Leeming  <leeming@lyx.org>
9520
9521         * Makefile.am: nuke forgotten stl_string_fwd.h.
9522
9523 2002-06-12  Angus Leeming  <leeming@lyx.org>
9524
9525         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9526
9527 2002-06-13  Angus Leeming  <leeming@lyx.org>
9528
9529         * LaTeX.C:
9530         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9531
9532 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9533
9534         * kbmap.C (getiso): add support for cyrillic and greek
9535
9536 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9537
9538         * BufferView.h:
9539         * BufferView.C:
9540         * BufferView_pimpl.h:
9541         * BufferView_pimpl.C: move bogus scrolling logic
9542           to xforms
9543
9544 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9545
9546         * lyxfunc.C:
9547         * BufferView_pimpl.C: view->resize() change
9548
9549 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9550
9551         * BufferView_pimpl.C: topCursorVisible
9552           prototype change
9553
9554 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9555
9556         * Makefile.am:
9557         * lyx_gui.h:
9558         * lyx_gui.C: move to frontends/
9559
9560         * main.C:
9561         * lyx_main.h:
9562         * lyx_main.C: changes from above
9563
9564 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9565
9566         * intl.C:
9567         * intl.h:
9568         * kbmap.C:
9569         * kbsequence.C:
9570         * lyx_cb.C:
9571         * lyx_main.C: minor tidy
9572
9573 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9574
9575         * BufferView_pimpl.h:
9576         * BufferView_pimpl.C:
9577         * BufferView.h:
9578         * BufferView.C: make painter() const,
9579           remove dead code
9580
9581         * BufferView2.C: use screen() accessor
9582
9583         * lyx_main.h:
9584         * lyx_main.C: some minor cleanup
9585
9586 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9587
9588         * BufferView_pimpl.h:
9589         * BufferView_pimpl.C: remove enter/leaveView,
9590           use workHeight()
9591
9592 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9593
9594         * BufferView.h:
9595         * BufferView.C:
9596         * BufferView2.C:
9597         * BufferView_pimpl.h:
9598         * BufferView_pimpl.C: only construct screen once,
9599           rename
9600
9601         * lyxrc.C: remove pointless comment
9602
9603 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9604
9605         * BufferView.h:
9606         * BufferView.C: remove active() and belowMouse()
9607
9608         * BufferView_pimpl.h:
9609         * BufferView_pimpl.C: use workarea() not workarea_,
9610           and make it use a scoped_ptr instead
9611
9612 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9613
9614         * lyx_gui.C: add debug message on BadWindow
9615
9616 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9617
9618         * sp_spell.C: fdopen is not part of the C++ standard.
9619
9620         * paragraph.C (InsetIterator): use >= instead of ==
9621
9622 2002-06-07  Angus Leeming  <leeming@lyx.org>
9623
9624         Fixes needed to compile with Compaq cxx 6.5.
9625         * BufferView_pimpl.C:
9626         * DepTable.C:
9627         * buffer.C:
9628         * converter.C:
9629         * encoding.C:
9630         * lyx_gui.C:
9631         * lyx_main.C:
9632         * lyxtextclasslist.C:
9633         * minibuffer.C:
9634         * sp_spell.C:
9635         * tabular_funcs.C:
9636         * vc-backend.C:
9637         all c-library variables have been moved into namespace std. Wrap
9638         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9639
9640         * lyxlength.C:
9641         * tabular-old.C:
9642         * tabular.C:
9643         Add a using std::abs declaration.
9644
9645         * kbmap.h (modifier_pair):
9646         * paragraph.h (InsetTable, InsetList):
9647         * lyxfont.h (FontBits):
9648         type definition made public.
9649
9650         * bufferlist.C (emergencyWriteAll): the compiler complains that
9651         there is more than one possible lyx::class_fun template to choose from.
9652         I re-named the void specialisation as lyx::void_class_fun.
9653
9654         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9655
9656         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9657         the compiler is is unable to find tostr in write_attribute.
9658
9659 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9660
9661         * buffer.C (sgmlError): hide #warning
9662
9663 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9664
9665         * xtl/*: get rid of xtl, which is not in use anyway
9666
9667         * LyXAction.C (init):
9668         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9669         were unimplemented xtl experimentation
9670
9671 2002-06-04  André Pönitz <poenitz@gmx.net>
9672
9673         * lyxfunc.C: disable array operation on simple formulae
9674
9675 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9676
9677         * converter.C: constify a bit
9678
9679 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9680
9681         * lyx_gui.C: check xforms version correctly
9682
9683 2002-04-30  Herbert Voss  <voss@lyx.org>
9684
9685         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9686         "keep" option
9687
9688 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9689
9690         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9691           attempt to register it with a VCS)
9692
9693 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9694
9695         * lyx_main.C (init): honor variables LYX_DIR_13x and
9696         LYX_USERDIR_13x
9697
9698 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9699
9700         * buffer.h:
9701         * buffer.C:
9702         * lyx_main.C: fix a crash on bad command line,
9703           and give a useful exit status on error
9704
9705         * lyxfunc.C (doImport): allow -i lyx to work
9706
9707 2002-03-30  André Pönitz <poenitz@gmx.net>
9708
9709         * lyxfunc.C: mathed font changes
9710
9711 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9712
9713         * LaTeX.C:
9714         * importer.h:
9715         * importer.C:
9716         * lyx_sty.h:
9717         * lyx_sty.C:
9718         * lyxlex.C:
9719         * lyxrow.h:
9720         * lyxtext.h:
9721         * paragraph.h:
9722         * paragraph.C:
9723         * texrow.h:
9724         * texrow.C:
9725         * text.C:
9726         * trans_mgr.h: srcdocs, and some minor cleanups
9727
9728 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9729
9730         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9731         call getFont all the time)
9732
9733 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9734
9735         * switch from SigC signals to boost::signals
9736
9737 2002-05-29  André Pönitz <poenitz@gmx.net>
9738
9739         * paragraph_pimpl.C (getChar): don't call size() too often...
9740
9741 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9742
9743         * paragraph_pimpl.C (insertChar): do not try to update tables when
9744         appending (pos == size())
9745
9746         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9747         in order to reduce drastically the number of comparisons needed to
9748         parse a large document
9749
9750 2002-05-29  André Pönitz <poenitz@gmx.net>
9751
9752         * text.C:
9753         * text2.C:
9754         * lyxtextclass.C:
9755         * sp_pspell.h:
9756         * textclasslist.[Ch]:
9757         * sp_ispell.h: whitespace change
9758
9759 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9760
9761         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9762         lyxaction directly now.
9763
9764 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9765
9766         * trans.C:
9767         * lyxfont.C:
9768         * lyxvc.C: remove unused headers
9769
9770 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9771
9772         * Makefile.am:
9773         * buffer.h:
9774         * undostack.h:
9775         * undostack.C:
9776         * undo_funcs.h:
9777         * undo_funcs.C: some cleanups. Use shared_ptr
9778           and a template for the undo stacks.
9779
9780 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9781
9782         * BufferView_pimpl.h:
9783         * BufferView_pimpl.C:
9784         * kbmap.h:
9785         * kbmap.C:
9786         * kbsequence.h:
9787         * kbsequence.C:
9788         * lyxfunc.h:
9789         * lyxfunc.C:
9790         * text2.C: use key_state/mouse_state
9791
9792 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9793
9794         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9795         and LSubstring
9796
9797         * chset.C: change include order
9798         (loadFile): use boost regex and get rid of LRegex and LSubstring
9799
9800         * Makefile.am (BOOST_LIBS): new variable
9801         (lyx_LDADD): use it
9802
9803         * LaTeX.C: change include order.
9804         (scanAuxFile): use boost regex and get rid of LRegex and
9805         LSubstring
9806         (deplog): ditto
9807
9808 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9809
9810         * ColorHandler.h:
9811         * ColorHandler.C:
9812         * FontInfo.h:
9813         * FontInfo.C: moved to frontends/xforms/
9814
9815         * FontLoader.h:
9816         * FontLoader.C: moved into frontends for GUIIzation
9817
9818         * Makefile.am:
9819         * lyx_gui.C:
9820         * lyxfont.C:
9821         * lyxfunc.C: changes from above
9822
9823 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9824
9825         * LColor.C: remove spurious X include
9826
9827         * BufferView_pimpl.C:
9828         * Makefile.am:
9829         * font.h:
9830         * font.C:
9831         * text.C:
9832         * text2.C: move font metrics to frontends/
9833
9834 2002-05-24  Juergen Vigna  <jug@sad.it>
9835
9836         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9837         setting the undo_cursor.
9838
9839         * ParagraphParameters.h: include local includes first.
9840
9841 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9842
9843         * BufferView_pimpl.C:
9844         * BufferView_pimpl.h:
9845         * Makefile.am:
9846         * WorkArea.h:
9847         * WorkArea.C:
9848         * screen.C: move WorkArea into frontends/
9849
9850         * lyxscreen.h:
9851         * screen.C:
9852         * text.C:
9853         * BufferView.C:
9854         * BufferView2.C: move LyXScreen into frontends/
9855
9856         * lyxlookup.h:
9857         * lyxlookup.C:
9858         * lyx_gui.C: move lyxlookup into frontends/xforms/
9859
9860 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9861
9862         * BufferView2.C:
9863         * BufferView_pimpl.C:
9864         * FontLoader.C:
9865         * LyXView.h:
9866         * LyXView.C:
9867         * Makefile.am:
9868         * WorkArea.C:
9869         * XFormsView.h:
9870         * XFormsView.C:
9871         * buffer.C:
9872         * bufferlist.C:
9873         * bufferview_funcs.C:
9874         * converter.C:
9875         * importer.C:
9876         * lyx_cb.C:
9877         * lyx_gui.C:
9878         * lyx_main.C:
9879         * lyx_find.C:
9880         * lyxfunc.C:
9881         * lyxvc.C:
9882         * minibuffer.C:
9883         * text.C:
9884         * text2.C:
9885         * trans.C:
9886         * vc-backend.C: move LyX/XFormsView into frontends/
9887
9888 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9889
9890         * Makefile.am:
9891         * PainterBase.C:
9892         * PainterBase.h:
9893         * Painter.C:
9894         * Painter.h:
9895         * WorkArea.C:
9896         * WorkArea.h:
9897         * screen.C:
9898         * tabular.C:
9899         * text.C:
9900         * text2.C: move Painter to frontends/
9901
9902 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9903
9904         * buffer.C: comment out some some code that depend upon lyx_format
9905         < 220
9906
9907         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9908         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9909
9910         * buffer.h (NO_COMPABILITY): turn off compability
9911
9912         * ColorHandler.C: include scoped_array.hpp
9913
9914         * font.C: Use more specific smart_ptr header.
9915         * Painter.C: ditto
9916         * gettext.C: ditto
9917         * ShareContainer.h: ditto
9918         * lyx_main.h: ditto
9919         * kbmap.h: ditto
9920         * FontInfo.h: ditto
9921         * BufferView_pimpl.h: ditto
9922         * ColorHandler.h: ditto
9923
9924         * kbmap.C (defkey): change call to shared_ptr::reset
9925
9926 2002-05-21  Juergen Vigna  <jug@sad.it>
9927
9928         * buffer.C (insertErtContents): fix to insert ert asis if it is
9929         non empty. Skip it completely if it contains only whitespaces.
9930
9931 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9932
9933         * BufferView_pimpl.C:
9934         * BufferView2.C: clear selection on paste (bug 393)
9935
9936 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9937
9938         * DepTable.C: include ctime
9939
9940 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9941
9942         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9943
9944 2002-05-14  Juergen Vigna  <jug@sad.it>
9945
9946         * text.C (breakParagraph): fixed function to honor the keepempty
9947         layout in the right maner and also to permit the right breaking
9948         algorithm on empty or non empyt keepempty paragraphs.
9949
9950         * paragraph.C (breakParagraph): we have to check also if the par
9951         is really empty (!size()) for isempty otherwise we do the wrong
9952         paragraph break.
9953
9954 2002-05-10  Juergen Vigna  <jug@sad.it>
9955
9956         * buffer.[Ch] : The following are only changes to the ert
9957         compatibility read reading old LaTeX layout and font stuff and
9958         convert it to ERTInsets.
9959
9960         * buffer.h: added isErtInset().
9961
9962         * buffer.C (struct ErtComp): add a fromlayout bool to check
9963         if we're inside a LaTeX layout.
9964         (isErtInset): new helper function.
9965         (insertErtContents): look for other ert insets before this one
9966         and insert the contents there, so that we don't have subsequent
9967         ERT insets with nothing between them. This way we create only one
9968         inset with multiple paragraphs. Also check if we don't insert only
9969         spaces ' ' as they are ignored anyway afterwards in the .tex file
9970         so if we have only spaces we will ignore this latex part in the
9971         new file.
9972         (parseSingleLyXformat2Token \\layout): better compatibility when
9973         reading layout-latex stuff.
9974         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9975         language tag.
9976         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9977         stuff after reading the inset only get the information back from
9978         the stack.
9979
9980 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9981
9982         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9983
9984         * LaTeXFeatures.C (getBabelOptions): New method.
9985
9986 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9987
9988         * BufferView_pimpl.C (Dispatch): work around missing argument for
9989         'layout'
9990
9991 2002-05-08  Juergen Vigna  <jug@sad.it>
9992
9993         * text.C (leftMargin): handle paragraph leftindent.
9994
9995         * paragraph.C (writeFile): write the new \\leftindent tag.
9996         (validate): handle leftindent code.
9997         (TeXEnvironment): handle paragraphleftindent code again.
9998
9999         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10000
10001         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10002         for paragrap_extra indent code and new token \\leftindent.
10003         (latexParagraphs): handle the leftindent as environment.
10004
10005         * ParameterStruct.h: added leftindent support.
10006
10007         * ParagraphParameters.C (leftIndent): added support functions for
10008         the paragraph left indent.
10009
10010         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10011         more appropriate.
10012
10013 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10014
10015         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10016         inside insetERT.
10017
10018         * text.C (computeBidiTables): No bidi in insetERT.
10019
10020         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10021         in RTL documents.
10022
10023 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10024
10025         * version.C.in: pre 5
10026
10027 2002-05-02  José Matos  <jamatos@fep.up.pt>
10028         * buffer.C (makeDocBookFile): white space changes, add newline to
10029         command styles.
10030         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10031
10032         * tabular.C (docBook): fix typo.
10033
10034 2002-05-03  Juergen Vigna  <jug@sad.it>
10035
10036         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10037         change in LyXText as we can not be sure it was not freed.
10038         (drawOneRow): remove unused code.
10039
10040         * text.C (drawInset): redo the calculation of the need_break_row as
10041         it could have a row which was already freed.
10042         (draw): look at the return value of drawInset and return false if
10043         it also returned false.
10044         (paintRowText): look at the return value of draw and return false if
10045         it also returned false.
10046
10047         * lyxtext.h: added bool return type to drawInset() and draw() so that
10048         if we have a change in the row so that the rowbreak has to be redone
10049         we abort drawing as it will be called again.
10050
10051 2002-05-02  Juergen Vigna  <jug@sad.it>
10052
10053         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10054         a change in the maintext also if we're inside an inset.
10055         (Dispatch): set the cursor again after a break line and after the
10056         screen has been updated as it could be we're in a different row.
10057
10058         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10059         to set the cursor behind the pargraph with > size().
10060         (setCursor): check also for the same paragraph when checking where
10061         to put the cursor if we have a NFR inset.
10062
10063         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10064         parts of layout read further up as it still was in the wrong
10065         position.
10066
10067 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10068
10069         * screen.C (drawFromTo): change sine fullRebreak always return
10070         true.
10071
10072         * buffer.C (parseSingleLyXformat2Token): reindent some
10073
10074         * BufferView_pimpl.C (update): change since fullRebreak always
10075         return true.
10076         (Dispatch): git rid of the last hardcoded "Standard"s.
10077
10078 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10079
10080         * text2.[Ch] (fullRebreak): make it return void now that we always
10081         returned true.
10082
10083 2002-04-30  Juergen Vigna  <jug@sad.it>
10084
10085         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10086         ert compatibility check for "latex" layout.
10087
10088 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10089
10090         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10091         minipages: use col% instead of p%, and also use the current font.
10092         (makeLaTeXFile): Fix use babel condition.
10093         (parseSingleLyXformat2Token): Correct font when reading old floats.
10094
10095 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10096
10097         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10098         inserting list of floats.
10099
10100 2002-04-25  Herbert Voss  <voss@lyx.org>
10101
10102         * MenuBackend.C (expand): don't add the graphics extensions to the
10103         export menu
10104
10105 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10106
10107         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10108         non-existing layout, do not complain if it was the default layout
10109         of the original class (bug #342)
10110
10111 2002-04-24  Juergen Vigna  <jug@sad.it>
10112
10113         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10114         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10115
10116 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10117
10118         * buffer.C (getBibkeyList): If using \bibliography, return the
10119         option field with the reference itself. Enables us to provide natbib
10120         support when using \bibliography.
10121
10122 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10123
10124         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10125
10126         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10127         natbib is provided by the LaTeX class.
10128
10129 2002-04-23  Juergen Vigna  <jug@sad.it>
10130
10131         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10132         Wakeup functions.
10133
10134         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10135
10136 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10137
10138         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10139
10140         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10141         ensuremath around textordmasculine, textordfeminine and
10142         textdegree.
10143
10144 2002-04-19  Juergen Vigna  <jug@sad.it>
10145
10146         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10147         reinitializing the buffer otherwise row-dimensions may be wrong.
10148         (update): reset also the selection cursors if they do exits otherwise
10149         their x/y positions may be wrong.
10150
10151         * text2.C (cursorDown): don't enter the inset if we came from a row
10152         above and are one row over the inset.
10153
10154         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10155         really leaving an inset.
10156
10157 2002-04-18  Juergen Vigna  <jug@sad.it>
10158
10159         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10160         of the selected paragraph does not have the selected layout also if
10161         the last one had!
10162
10163         * text2.C (setLayout): fixed bug which did not change last selected
10164         paragraph.
10165
10166         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10167         changed the read and substituted \\end_float with \\end_inset!
10168
10169         * BufferView_pimpl.C (cursorPrevious):
10170         (cursorNext): fixed to make it work with rows heigher than the work
10171         area without moving the cursor only the draw of the row.
10172         (workAreaMotionNotify): fix jumping over high rows.
10173
10174 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10175
10176         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10177         Ressler.
10178
10179 2002-04-16  Juergen Vigna  <jug@sad.it>
10180
10181         * text2.C (setCursor): set also the irow().
10182         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10183         (cursorUp):
10184         (cursorDown): support for locking an inset if the x_fix value goes
10185         inside it. That way I can transverse insets too with cursor up/down.
10186
10187         * lyxrow.h: added irow helper function same as other (i) functions.
10188
10189         * BufferView_pimpl.C (cursorPrevious):
10190         (cursorNext): fixed for insets!
10191
10192 2002-04-15  Juergen Vigna  <jug@sad.it>
10193
10194         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10195         position otherwise it is wrong in some cases.
10196
10197         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10198         inside the inset before the call.
10199
10200 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10201
10202         * buffer.[Ch] (getBibkeyList): make it const.
10203
10204 2002-04-12  Juergen Vigna  <jug@sad.it>
10205
10206         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10207
10208         * text2.C (getCursorX): new helper function
10209         (setCursor): compute also ix_
10210         (setCursorFromCoordinates): set also ix.
10211
10212         * lyxcursor.h: added ix_ and helper functions.
10213
10214         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10215
10216         * buffer.C (insertStringAsLines): dont break paragraph if the this
10217         paragraph is inside an inset which does not permit it!
10218
10219         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10220         also with no chars on this paragraph.
10221         (paintRowText): only paint stuff if it's inside the workarea!
10222
10223         * paragraph.C (breakParagraph): honor keepempty flag and break the
10224         paragraph always below not above.
10225
10226         * BufferView2.C (unlockInset): update the paragraph layout on inset
10227         unlock as we changed paragraph in such a case.
10228
10229         * lyxfind.C (LyXFind): clear the former selection if not found!
10230
10231         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10232         again called in insertChar().
10233
10234         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10235         an inset which uses the whole row!
10236         (rightMargin): ditto.
10237         (insertChar): force a rebreak if we inserted an inset!
10238
10239 2002-03-28  Herbert Voss  <voss@lyx.org>
10240
10241         * lyxlength.[Ch]: add inBP() to get the right PS-point
10242         units (BigPoint). With inPixels we have rounding errors
10243
10244 2002-04-11  Juergen Vigna  <jug@sad.it>
10245
10246         * text2.C (setCursorFromCoordinates): set iy to the right value.
10247         (setCursor): add check if row->previous exists!
10248
10249         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10250         an old float_type as this was the case in the old code!
10251
10252         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10253
10254         * BufferView2.C (showLockedInsetCursor): use iy
10255         (fitLockedInsetCursor): ditto
10256
10257         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10258         locked insets as there we have the right value now.
10259
10260         * lyxcursor.C: added iy_ variable and iy functions to set to the
10261         baseline of cursor-y of the locked inset.
10262
10263         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10264         (setCursor): fixed for insets which need a full row.
10265
10266         * text.C (rowLastPrintable): don't ignore the last space when before
10267         an inset which needs a full row.
10268         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10269         as last character of a row when before a inset which needs a full row.
10270
10271 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10272
10273         * version.C.in: update date
10274
10275         * text2.C (fullRebreak): try to always return true and see what
10276         happens...
10277
10278 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10279
10280         * MenuBackend.C (expand): use Floating::listName
10281
10282         * FloatList.C (FloatList): add listName argument to the built-in
10283         floats
10284
10285         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10286         text associated with the float.
10287
10288 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10289
10290         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10291
10292 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10293
10294         * ShareContainer.h: add a couple of missing typenames.
10295
10296 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10297
10298         * lyxrc.C (getDescription): use _() correctly rather than N_().
10299
10300 2002-03-28  Herbert Voss  <voss@lyx.org>
10301
10302         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10303         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10304
10305 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10306
10307         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10308         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10309
10310 2002-03-29  Juergen Vigna  <jug@sad.it>
10311
10312         * lyxfunc.C (dispatch): add a missing fitCursor call.
10313
10314         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10315         it was scrolled by a cursor move, so return the bool status.
10316
10317         * BufferView.C (fitCursor): return the bool flag also to the outside
10318         world as this is needed.
10319
10320         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10321
10322         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10323         call the edit() as it is not needed (and wrong) IMO.
10324         (workAreaButtonPress): set the screen_first variable before evt.
10325         unlock the inset as this may change screen_first and then we have
10326         a wrong y position for the click!
10327
10328 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10329
10330         * MenuBackend.C (expand): another translation that I missed
10331
10332 2002-03-28  Juergen Vigna  <jug@sad.it>
10333
10334         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10335
10336         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10337
10338 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10339
10340         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10341
10342         * MenuBackend.C (expand): fix export/view/update when there is no
10343         document open.
10344
10345 2002-03-27  Herbert Voss  <voss@lyx.org>
10346
10347         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10348         and text%
10349
10350 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10351
10352         * bufferview_funcs.C (currentState): only show paragraph number
10353         for is DEVEL_VERSION is set.
10354
10355         * lyxfunc.C (dispatch): put warning in INFO channel
10356
10357         * MenuBackend.C (expand): translate the name of floats
10358
10359         * FloatList.C (FloatList): mark the float names for translation
10360
10361         * converter.C (convert): use LibScriptSearch
10362
10363 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10364
10365         * MenuBackend.C (defaults): fix default menu (we might as well get
10366         rid of it...)
10367
10368 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10369
10370         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10371         directory.
10372
10373 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10374
10375         * lyxvc.C: reorder includes.
10376
10377 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10378
10379         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10380           properly
10381
10382 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10383
10384         * CutAndPaste.C: change layouts earlier on paste
10385           to avoid crashing when calling getFont()
10386
10387 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10388
10389         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10390         irritating #error.
10391
10392 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10393
10394         * WorkArea.C: remove 'Pending' debug message.
10395
10396         * most files: ws cleanup
10397
10398         * buffer.[Ch]: ws changes
10399
10400         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10401
10402 2002-03-21  Juergen Vigna  <jug@sad.it>
10403
10404         * tabular.C (SetMultiColumn): collapse also the contents of the
10405         cells and set the last border right. Added a Buffer const * param.
10406
10407 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10408
10409         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10410         linking or not.
10411
10412 2002-03-19  Juergen Vigna  <jug@sad.it>
10413
10414         * text2.C (clearSelection): reset also xsel_cache.
10415
10416         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10417         where it needs to be called (John tells us to do so too :)
10418         (selectionLost): reset sel_cache.
10419
10420         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10421
10422 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10423
10424         * text2.C (setCursorIntern): put debuging code in INSETS channel
10425
10426 2002-03-19  André Pönitz <poenitz@gmx.net>
10427
10428         * lyxfunc.C: tiny whitespace change
10429
10430 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10431
10432         * ToolbarDefaults.C (init):
10433         * LyXAction.C (init):
10434         * commandtags.h:
10435         * BufferView_pimpl.C (Dispatch):
10436         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10437
10438 2002-03-19  Allan Rae  <rae@lyx.org>
10439
10440         * exporter.C (Export): removeAutoInsets before doing anything else.
10441         While I've just introduced a dependency on BufferView this really is
10442         the best place to clean the buffer otherwise you need to cleanup in
10443         a dozen places before calling export or cleanup in a dozen functions
10444         that export calls.
10445
10446         * converter.C (runLaTeX):
10447         (scanLog): Better handling of removeAutoInsets and screen updates.
10448
10449         * lyxfunc.C (dispatch): small whitespace changes
10450
10451 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10452
10453         * WorkArea.C (C_WorkAreaEvent): return a value.
10454         (event_cb): return 1 if we handled the event, 0 otherwise.
10455
10456         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10457
10458 2002-03-18  Juergen Vigna  <jug@sad.it>
10459
10460         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10461         (GetAdditionalWidth): ditto.
10462         (RightLine): ditto.
10463         (LeftLine): ditto.
10464
10465         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10466         inset if we're there actually (probably not used right now but this
10467         is the direction to go for unifying code).
10468         (paste): disable code to clear the selection.
10469
10470         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10471         inside an InsetText and move the check further up as it is in the
10472         wrong place.
10473
10474         * text2.C (pasteSelection): set a selection over the pasted text.
10475
10476 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10477
10478         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10479         and libgraphics to build on Cygwin.
10480
10481 2002-03-15  Juergen Vigna  <jug@sad.it>
10482
10483         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10484         inserting an Inset into the paragraph. I know this is not the best
10485         fix but we already use current_view in CutAndPaste so we will remove
10486         all of it's using at the same time.
10487
10488         * buffer.C (sgmlError): deactivated function till it is rewritten in
10489         the right mode, now it can create problems.
10490
10491         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10492         before accessing it.
10493
10494 2002-03-14  Juergen Vigna  <jug@sad.it>
10495
10496         * undo_funcs.C (textHandleUndo): do the right thing when updating
10497         the inset after the undo/redo.
10498
10499         * text2.C (setCursor): just some testcode for #44 not ready yet.
10500
10501         * undo_funcs.C (textHandleUndo): set the next() and previous()
10502         pointers of the paragraph to 0 before deleting otherwise we have
10503         problems with the Paragraph::[destructor].
10504
10505         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10506         on a paragraph insertion.
10507
10508 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10509
10510         * buffer.C (asciiParagraph): use += operator for char append to
10511         string.
10512
10513         * paragraph.C (getFontSettings): compare >= not just >
10514         (highestFontInRange): ditto
10515         (setFont): ditto
10516
10517 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10518
10519         * paragraph.C: change several algorithm to be more appripriate for
10520         the problem domain. This is lookip in FontList and in the InsetList.
10521
10522 2002-03-13  André Pönitz <poenitz@gmx.net>
10523
10524         * commandtags.h:
10525         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10526
10527 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10528
10529         * commandtags.h:
10530         * LyXAction.C:
10531         * lyxfunc.C:
10532         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10533
10534 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10535
10536         * Painter.C (display): anon helper function, adjust code for this
10537         change.
10538         (pixmap): remove function.
10539
10540         * Painter.h: remove private display variable.
10541
10542         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10543
10544 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10545
10546         * WorkArea.[Ch]: remove figinset_canvas cruft.
10547
10548 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10549
10550         * lyxtextclass.C (operator): add one item cache optimization.
10551
10552         * bufferlist.h: doxy changes
10553
10554         * bufferlist.C: ws changes
10555
10556         * DepTable.[Ch] (ext_exist): place const in the right spot.
10557
10558         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10559         call resizeInsets.
10560         (workAreaExpose): call resizeInsets when the with BufferView changes.
10561         (Dispatch): adjust for protectedBlank removal
10562         (specialChar): call updateInset if the insert went ok.
10563
10564         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10565         specialChar instead.
10566
10567         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10568
10569         * BufferView.h: doxy change
10570
10571         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10572
10573         * lyxtextclass.C (operator[]): remove non-const version
10574         (defaultLayout): remove non-const version
10575
10576 2002-03-12  Juergen Vigna  <jug@sad.it>
10577
10578         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10579         did resize the LyXText too.
10580
10581         * buffer.C (readLyXformat2): set layout information on newly allocated
10582         paragraphs.
10583
10584         * tabular.C (OldFormatRead): set layout information on the paragraph.
10585
10586 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10587
10588         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10589
10590 2002-03-11  Juergen Vigna  <jug@sad.it>
10591
10592         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10593         plainly wrong.
10594         (resizeCurrentBuffer): force also the insets to resize themselfes.
10595         (moveCursorUpdate): fixed up for InsetText.
10596
10597 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10598
10599         * commandtags.h:
10600         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10601         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10602         value of Dialogs::tooltipsEnabled().
10603         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10604
10605 2002-03-08  Juergen Vigna  <jug@sad.it>
10606
10607         * BufferView_pimpl.C (updateInset): update inset inside inset also
10608         if it isn't inside theLockingInset().
10609
10610 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10611
10612         * buffer.C (asciiParagraph): redo some of the word and line length
10613         handling.
10614         (getLists): look for Caption instead of caption.
10615
10616 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10617
10618         * buffer.C (Buffer): initialize niceFile to true
10619         (makeLaTeXFile):
10620         (makeLinuxDocFile):
10621         (makeDocBookFile): make sure niceFile is true on exit
10622
10623 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10624
10625         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10626
10627 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10628
10629         * LyXSendto.C: remove.
10630         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10631         * lyx_gui.C: remove now-redundant comment.
10632         * ColorHandler.h: remove forward declaration of class WorkArea.
10633         * lyxfunc.C: remove #include "WorkArea.h".
10634
10635 2002-03-07  Juergen Vigna  <jug@sad.it>
10636
10637         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10638         got moved away with the DEPM and also set the inset_owner always
10639         right which before could have been omitted.
10640
10641 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10642
10643         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10644         wanted layout is not found.
10645
10646 2002-03-07  Juergen Vigna  <jug@sad.it>
10647
10648         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10649
10650 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10651
10652         * paragraph.C (breakParagraph): use default layout not layout of
10653         prev paragraph.
10654         (Paragraph): clear ParagraphParameters.
10655
10656 2002-03-06  Juergen Vigna  <jug@sad.it>
10657
10658         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10659         otherwise it would not be a valid lenght. Fixed a special case in
10660         the minipage compatibility read where we end the document with a
10661         minipage.
10662
10663         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10664         was set as it could be 0 for InsetTexts first entry.
10665
10666 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10667
10668         * paragraph.C (writeFile): if layout is empty write out
10669         defaultLayoutName().
10670
10671         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10672         file without named layout we set layout to defaultLayoutName().
10673
10674 2002-03-06  Juergen Vigna  <jug@sad.it>
10675
10676         * CutAndPaste.C (copySelection): set layout for new paragraph.
10677
10678         * text.C (prepareToPrint): leave ERT inset left aligned
10679         (leftMargin): don't indent paragraphs inside ERT insets
10680
10681 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10682
10683         * paragraph.C (breakParagraph): dont call clear do the work manually
10684
10685         * paragraph.[Ch] (clear): remove function
10686
10687 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10688
10689         * paragraph.C (Paragraph): dont call clear, the work has already
10690         been done.
10691
10692         * lyxtextclass.C (operator): assert if n is empty
10693
10694         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10695         work manually instead.
10696
10697 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10698
10699         * BufferView_pimpl.C: protect selectionLost against text == 0
10700
10701 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10702
10703         * text.C (breakParagraph): fix a setting layout to '0' problem.
10704
10705 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10706
10707         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10708         final location of file, for the included files, and graphics.
10709
10710 2002-03-05  Juergen Vigna  <jug@sad.it>
10711
10712         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10713
10714 2002-03-04  Juergen Vigna  <jug@sad.it>
10715
10716         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10717
10718         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10719         last column of multicolumn cells.
10720         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10721
10722 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10723
10724         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10725         file if it doesn't go to a temporary file.
10726
10727         * buffer.C (sgmlOpenTag):
10728         (sgmlCloseTag):  remove extra newline insertion.
10729
10730 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10731
10732         * text.C (getRowNearY): comment out debug msg
10733
10734 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10735
10736         * text2.C: first -> first_y
10737
10738         * text.C (getRowNearY): add some attemts at a possible
10739         optimization, not working.
10740
10741         * tabular.[Ch]: add BufferParams to several function so that newly
10742         created paragraph can be initialized to he default layotu for the
10743         buffers textclass.
10744
10745         * tabular-old.C (ReadOld): add buf->params to call of Init
10746
10747         * screen.C: rename text->first to text->first_y
10748
10749         * paragraph.C (breakParagraph): always set layout in the broken
10750         paragraph
10751
10752         * lyxtextclass.C (Read): remove lowercase
10753         (hasLayout): ditto
10754         (operator): ditto
10755         (delete_layout): ditto
10756
10757         * lyxtext.h: rename first -> first_y
10758
10759         * lyxlayout.C (Read): remove lowercase
10760         (name): ditto
10761         (setName): ditto
10762         (obsoleted_by): ditto
10763
10764         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10765
10766         * buffer.C (insertErtContents): add params are to InsetERT
10767         (parseSingleLyXformat2Token): add code to check if a paragraphs
10768         layout really exist.
10769         (parseSingleLyXformat2Token): add params to several inset
10770         constructors
10771         (asciiParagraph): remove lowercase, do the layout comparisons with
10772         no_case
10773
10774         * BufferView_pimpl.C (cursorNext): first -> first_y
10775         (resizeCurrentBuffer): first -> first_y
10776         (updateScrollbar): first -> first_y
10777         (scrollCB): first -> first_y
10778         (workAreaMotionNotify): first -> first_y
10779         (workAreaButtonPress): first -> first_y
10780         (checkInsetHit): first -> first_y
10781         (cursorPrevious): first -> first_y
10782         (cursorNext): first -> first_y
10783         (Dispatch): add buffer_->params to severl inset contructors
10784
10785 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10786
10787         * lyxlayout.C (Read): remove some debug info that I forgot.
10788
10789         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10790         clean up the code slightly.
10791         (makeLinuxDocFile): ditto
10792         (makeDocBookFile): ditto
10793
10794         * text2.C: layout as string
10795
10796         * text.C: layout as string
10797
10798         * paragraph_pimpl.C: layout as string
10799
10800         * paragraph.[Ch]: layout as string
10801
10802         * lyxtextclasslist.[Ch]: layout as string
10803
10804         * lyxtextclass.[Ch]: layout as string
10805
10806         * lyxtext.h: layout as string
10807
10808         * lyxlayout.[Ch]: layout as string
10809
10810         * lyx_cb.C: layout as string
10811
10812         * bufferview_funcs.C: layout as string
10813
10814         * bufferparams.C: layout as string
10815
10816         * buffer.C: layout as string
10817
10818         * LyXView.[Ch]: layout as string
10819
10820         * LaTeXFeatures.[Ch]: layout as string
10821
10822         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10823
10824         * BufferView_pimpl.C: change current_layout to string, remove
10825         lyx::layout_type.
10826         (Dispatch):
10827         (smartQuote):
10828         (insertInset):
10829         (workAreaButtonRelease): layout as string
10830
10831         * BufferView2.C (unlockInset): adjust
10832
10833         * vspace.C (asLatexCommand): use an explict temp variable.
10834
10835 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10836
10837         * Makefile.am: use FRONTEND_*
10838
10839 2002-03-01  Juergen Vigna  <jug@sad.it>
10840
10841         * tabular.C (SetWidthOfMulticolCell): changed to something better
10842         I hope but still work in progress.
10843         (recalculateMulticolumnsOfColumn): renamed function from
10844         recalculateMulticolCells as it is more appropriate now.
10845         (SetWidthOfCell): calculate multicols better.
10846
10847 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10848
10849         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10850
10851         * lyxfunc.C (processKeySym): print sequence also if it is
10852         `deleted' (complete)
10853
10854         * kbsequence.C (print): print sequence even if it is deleted
10855         (complete would be a better word, actually).
10856
10857         * lyxfunc.C (dispatch): print complete options after a prefix key
10858
10859         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10860
10861 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10862
10863         * text2.C (setCharFont): eliminate setCharFont code duplication.
10864
10865 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10866
10867         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10868         LFUN_TABULAR_FEATURE (bug #177)
10869
10870 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10871
10872         * Makefile.am: remove figure.h
10873
10874 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10875
10876         * Bufferview_pimpl.C:
10877         * CutAndPasteC:
10878         * LaTeX.C:
10879         * LyXSendto.C:
10880         * buffer.C:
10881         * bufferlist.C:
10882         * converter.C:
10883         * language.C:
10884         * lyxfunc.C:
10885         * lyxvc.C:
10886         * paragraph.C:
10887         * text.C:
10888         * text2.C: remove #include "lyx_gui_misc.h".
10889
10890         * LaTeX.C: added #include <cstdio>
10891
10892 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10893
10894         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10895         that the paragraph following this one can have.
10896
10897         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10898
10899         * vspace.C (asLatexCommand): fix bogus gcc warning
10900
10901         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10902
10903 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10904
10905         * text2.C (setLayout): get rid of redundant code
10906
10907 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10908
10909         * text2.C (incDepth): make sure depth cannot be increased beyond
10910         reasonable values.
10911
10912 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10913
10914         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10915         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10916
10917         * PainterBase.h (image):
10918         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10919         a LyXImage const *.
10920
10921 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10922
10923         * BufferView.C:
10924         * BufferView.h:
10925         * BufferView_pimpl.C:
10926         * BufferView_pimpl.h:
10927         * LaTeXFeatures.C:
10928         * LyXAction.C:
10929         * LyXView.C:
10930         * Makefile.am:
10931         * UpdateList.h:
10932         * UpdateList.C:
10933         * buffer.C:
10934         * figure.h:
10935         * figureForm.C:
10936         * figureForm.h:
10937         * figure_form.C:
10938         * figure_form.h:
10939         * lyx_cb.C:
10940         * lyx_gui.C:
10941         * lyx_gui_misc.C:
10942         * lyxfunc.C:
10943         * sp_base.h:
10944         * sp_ispell.h:
10945         * sp_pspell.h:
10946         * sp_spell.C: remove fig inset, and the crap house of
10947           cards that follows it
10948
10949 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10950
10951         * Makefile.am:
10952         * lyxserver.C:
10953         * os2_defines.h:
10954         * os2_errortable.h:
10955         * nt_defines.h: move .h into support/
10956
10957         * vms_defines.h: remove
10958
10959         * WorkArea.C: add space in debug output
10960
10961         * text2.C:
10962         * paragraph.C:
10963         * buffer.C: add WITH_WARNINGS
10964
10965         * vc-backend.h:
10966         * vc-backend.C:
10967         * bufferlist.C: s/retrive/retrieve/, add docs
10968
10969         * vspace.h:
10970         * vspace.C:
10971         * kbmap.h:
10972         * lyxlength.h:
10973         * lyxgluelength.h:
10974         * length_common.h:
10975         * chset.h:
10976         * chset.C: add docs
10977
10978         * lyxgui.C: add ID to X error handler
10979
10980         * lyxtestclass.c: fix typo
10981
10982 2002-02-26  Juergen Vigna  <jug@sad.it>
10983
10984         * tabular_funcs.C (write_attribute): changed so that some default
10985         attributes are not written at all.
10986         (getTokenValue): set default values before trying to read the
10987         value so we have the return value always set as default if we don't
10988         find the token we search for.
10989
10990         * tabular.C (Write): write bools as bools not as strings!
10991
10992 2002-02-22  Juergen Vigna  <jug@sad.it>
10993
10994         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10995         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10996
10997         * text.C (leftMargin): don't add an indent for paragraphs inside
10998         tabular cells (fix #208).
10999
11000 2002-02-21  José Matos  <jamatos@fep.up.pt>
11001
11002         * tabular.C (docBook): fixed support for long tables.
11003
11004 2002-02-20  Juergen Vigna  <jug@sad.it>
11005
11006         * text2.C (getFont): get the drawing font of the Inset if this
11007         paragraph is inside an inset (only important for InsetERT for now).
11008
11009         * buffer.C (insertErtContents): use new lanugage params in ERT
11010         constructor.
11011
11012         * CutAndPaste.C: commenting out seemingly uneeded code.
11013
11014 2002-02-19  Allan Rae  <rae@lyx.org>
11015
11016         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11017         Iterators might be simple to use but they also get invalidated.
11018         (removeAutoInsets): renamed saved cursor tracking variables and added
11019         some comments to clarify what everything does.
11020
11021 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11022
11023         * Chktex.C:
11024         * LaTeX.C:
11025         * LyXSendto.C:
11026         * converter.C:
11027         * lyx_cb.C:
11028         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11029         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11030
11031         * lyxfunc.C:
11032         * vc-backend.h: remove #include "support/syscall.h"
11033
11034         * LaTeX.C:
11035         * LyXSendto.C:
11036         * converter.C: rearrange #includes in Lars' approved fashion.
11037
11038         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11039         forward declare class Timeout in the header file.
11040
11041         * XFormsView.C: changes due to the above.
11042
11043         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11044         similar to LyXView.
11045
11046         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11047         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11048
11049 2002-02-18  José Matos  <jamatos@fep.up.pt>
11050
11051         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11052         insets contents.
11053
11054 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11055
11056         * a lot of small ws changes
11057         * add a lot of using std::XXX
11058         * use std construcs some places where approp.
11059         * use some exisint stuff from lyxfunctional where approp.
11060         * Make file changes to use partial linking (lets test this now...)
11061
11062 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11063
11064         * Chktex.C:
11065         * buffer.C:
11066         remove #include "support/syscontr.h" as it's redundant. Always has been.
11067
11068         * Chktex.C:
11069         * LaTeX.C:
11070         * LyXSendto.C:
11071         * converter.C:
11072         * lyx_cb.C:
11073         * vc-backend.C:
11074         change Systemcalls::System to Systemcalls::Wait and
11075         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11076         No change of functionality, just reflects the stripped down Systemcalls
11077         class.
11078
11079 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11080
11081         * debug.[Ch]: add a GRAPHICS type to the enum.
11082
11083 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11084
11085         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11086
11087         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11088         there is an inset.
11089
11090 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11091
11092         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11093         match the changes below.
11094
11095         * text2.C (toggleInset): if there is not editable inset at cursor
11096         position, try to see if cursor is _inside_ a collapsable inset
11097         and close it.
11098
11099 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11100
11101         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11102         document menu has a nice checkbox
11103
11104 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11105
11106         * lyxlength.C (asLatexString): change PW to output as percent of
11107         \textwidth.
11108
11109         * lengthcommon.C: change '%' to 't%'
11110
11111         * lyxfunc.C (dispatch): a few comments from Martin
11112
11113 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11114
11115         * WorkArea.h:
11116         * WorkArea.C:
11117         * BufferView_pimpl.h:
11118         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11119           the X selection.
11120
11121 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11122
11123         * vspace.C (inPixels): fix compiler warning
11124
11125 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11126
11127         * lyxfunc.C (getStatus): fix status message for disabled commands.
11128
11129 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11130
11131         * BufferView_pimpl.C: fix crash on close buffer
11132         during selection (#227)
11133
11134 2002-01-27  Herbert Voss  <voss@lyx.org>
11135
11136         * buffer.C: link old Figure to new graphic inset
11137
11138 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11139
11140         * FontLoader.C (getFontinfo): Change the latex font names in order
11141         to match the names of type1inst.
11142
11143 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11144
11145         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11146
11147         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11148         (extchanged): ditto
11149         (ext_exist): ditto
11150         (remove_files_with_extension): ditto
11151         (remove_file): ditto
11152         (write): ditto
11153
11154         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11155         document is smaller than the work area height. Do not initialize
11156         static variables to 0.
11157
11158 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11159
11160         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11161
11162         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11163         LFUN_LAYOUT_PARAGRAPHS.
11164
11165         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11166         tabular. It is possible to provide a possible cell, which will
11167         typically be the actcell from the corresponding insettabular
11168
11169         * lyxfunc.C (getStatus): small cleanup; disable
11170         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11171         true
11172
11173 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11174
11175         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11176
11177         * paragraph.C (startTeXParParams):
11178         (endTeXParParams): new methods. The LaTeX code to
11179         start/end paragraph formatting
11180         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11181         empty (fixes bug #200)
11182
11183         * vspace.C (inPixels): adapt to the change below
11184         (inPixels): [later] more cleanups (remove unused variables)
11185
11186         * lyxlength.C (inPixels): change to use a width and a height as
11187         parameter.
11188
11189 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11190
11191         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11192         Replaced with \paperwidth
11193
11194         * DepTable.C (insert): add std:: qualifier
11195
11196 2002-01-18  Allan Rae  <rae@lyx.org>
11197
11198         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11199         updated also?
11200
11201         * text.C (drawInset): Turned out I didn't know enough about how
11202         rebreaking worked.  This fixes most of the redraw problems.  I see
11203         an occasional cursor trail when a line is broken now and the cursor
11204         placement can seem out by a few pixels also after a rebreak.
11205
11206 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11207
11208         * buffer.C (parseSingleLyXformat2Token): update because minipage
11209         width is now a LyXLength
11210
11211         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11212
11213         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11214         math insets
11215
11216 2002-01-17  Juergen Vigna  <jug@sad.it>
11217
11218         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11219
11220         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11221         is set correctly and the inset is updated correctly.
11222
11223 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11224
11225         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11226         the beginning of the loop.
11227
11228 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11229
11230         * lyxrc.C: improve help for use_scalable_fonts
11231
11232 2002-01-17  Allan Rae  <rae@lyx.org>
11233
11234         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11235
11236 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11237
11238         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11239         make sure to set their inset_owner to the right value (bug #171)
11240
11241 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11242
11243         * DepTable.h
11244         * DepTable.C: Implement mtime checking to reduce time spent doing
11245         CRCs.
11246
11247 2002-01-16  Juergen Vigna  <jug@sad.it>
11248
11249         * tabular.C (GetAdditionalHeight): one of error fixed.
11250
11251         * lyxrc.C (output): small fix in writing use_pspell.
11252
11253 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11254
11255         * sp_base.h: #include LString.h
11256
11257 2002-01-16  Allan Rae  <rae@lyx.org>
11258
11259         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11260         Can someone check this please?
11261
11262         * text.C (drawInset): It was possible that p.row would be removed by
11263         breakAgainOneRow upsetting a few other settings.  There may be another
11264         small tweak possible by setting need_break_row = 0 when p.row has been
11265         removed but I don't know enough about the logic here.
11266
11267 2002-01-15  Allan Rae  <rae@lyx.org>
11268
11269         * text.C (insertChar): removed conditional truism.
11270
11271         * BufferView2.C (removeAutoInsets): More tweaks.
11272         cur_par_prev could be a stray pointer.  Check for trailing empty line
11273         in case last line was cur_par and only had an error inset on it.
11274
11275 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11276
11277         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11278         absolute
11279
11280         * vc-backend.C (most methods):
11281         * exporter.C (Export):
11282         * converter.C (convert):
11283         (runLaTeX):
11284         * LyXSendto.C (SendtoApplyCB):
11285         * lyxfunc.C (dispatch):
11286         (menuNew):
11287         (open):
11288         (doImport):
11289         * lyx_cb.C (AutoSave):
11290         (InsertAsciiFile):
11291         * BufferView_pimpl.C (MenuInsertLyXFile):
11292         * buffer.C (runChktex): use Buffer::filePath().
11293
11294         * buffer.h: rename filename to filename_; rename filepath to
11295         filepath_ and make it private
11296         (filePath): new method
11297
11298         * buffer.C (writeFile): use fileName()
11299         (getLatexName):
11300
11301         * lyx_main.C (init): fix starting  of LyX when the binary is a
11302         link from so,ewhere else.
11303
11304         * minibuffer.C: include <cctype> for isprint
11305
11306 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11307
11308         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11309         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11310         name clash with InsetCollapsable's width function.
11311
11312 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11313
11314         * lastfiles.C: include <iterator>
11315
11316 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11317
11318         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11319         std::count.
11320
11321         * buffer.C (makeLaTeXFile): ditto.
11322         Also make loop operation more transparent.
11323
11324 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11325
11326         * ToolbarDefaults.C: remove trailing comma closing namespace.
11327
11328         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11329
11330         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11331         as in WorkArea.
11332
11333         * trans.C (Load): comment out unused variable, allowed.
11334
11335 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11336
11337         * minibuffer.[Ch] (append_char): new method to recieve input from the
11338         drop-down completion browser. If a key was pressed, then recieve this
11339         char and append it to the existing string.
11340         (peek_event): modify the positioning data passed to the completion
11341         browser so that it can be placed above the minibuffer rather than below.
11342 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11343
11344         * LyXAction.C (init): alloe error-next for readonly documents.
11345
11346         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11347         count.
11348
11349 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11350
11351         * bufferlist.C (readFile): create the buffer _after_ checking that
11352         the file exists.
11353
11354         * lyxfunc.C (verboseDispatch): fix handling of arguments
11355
11356         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11357
11358         * lyxrc.C: use string::erase() instead of initializing to "".
11359
11360
11361 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11362
11363         * BufferView_pimpl.h:
11364         * BufferView_pimpl.C:
11365         * WorkArea.h:
11366         * WorkArea.C:
11367         * text2.C: tell X when we have made a selection for copying
11368
11369 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11370
11371         * BufferView_pimpl.C (MenuInsertLyXFile):
11372         * lyxfunc.C (menuNew):
11373         (open):
11374         (doImport): add shortcuts to directory buttons
11375
11376         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11377         open a float)
11378
11379         * lyxfunc.C (setStatusMessage):
11380         (getStatusMessage): new methods
11381         (getStatus):use setStatusMessage instead of setErrorMessage
11382         (dispatch): when function is disabled, set error message here
11383         [instead of in getStatus previously]
11384
11385         * BufferView_pimpl.C (workAreaButtonRelease): update
11386         toolbar/menubar here too.
11387
11388 2002-01-13  Allan Rae  <rae@lyx.org>
11389
11390         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11391         Now seems indestructible.  Remaining task is to audit all other
11392         code affected by deleteEmptyParagraphMechanism.  One small quirk
11393         left is that an empty document with an error in the preamble can
11394         be made to report an error but no error box appears.  I don't know
11395         where it goes.
11396         (removeAutoInsets): Improved comments.
11397
11398 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11399
11400         * Thesaurus.h:
11401         * Thesaurus.C: update for Aiksaurus 0.14
11402
11403 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11404
11405         * text2.C (firstParagraph): removed member function, all uses
11406         replaces with ownerParagraph
11407         (redoParagraphs): here
11408         (updateInset): here
11409         (toggleAppendix): here
11410         * BufferView2.C (insertErrors): here
11411         (setCursorFromRow): here
11412
11413 2002-01-13  Allan Rae  <rae@lyx.org>
11414
11415         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11416         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11417         There is still a way to segfault this although you may have to do this
11418         multiple times: Have an InsetERT with an unknown command in it.
11419         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11420         <down-arrow>, <Enter> again, View->DVI, BANG!
11421
11422         * text2.C (setCursor):
11423         (deleteEmptyParagraphMechanism):
11424         * lyxtext.h (setCursor):
11425         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11426         Making use of the return value may help fix other bugs.
11427
11428 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11429
11430         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11431
11432         * LyXView.C (updateMenubar): call MenuBar::update here
11433         (updateToolbar): but not here
11434         (showState): do not update toolbar/menubar
11435
11436         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11437         should need to care about that.
11438
11439         * lyxfunc.C (verboseDispatch): simplify a bit
11440         (getStatus): have a version which takes a pseudoaction, and
11441         another which requires a (kb_action,string).
11442
11443         * LyXAction.C (retrieveActionArg): make it work also when action
11444         is not a pseudo-action.
11445         (getActionName): simplify a bit
11446         (helpText):
11447
11448 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11449
11450         * lyxfunc.C (verboseDispatch): new families of methods with
11451         several ways to specify a command and a bool to indicate whether
11452         the command name and shortcut should be displayed in minibuffer
11453         (eventually, we could extend that to a finer bitmask like
11454         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11455         (dispatch): the pristine dispatch command which just, well,
11456         dispatchs! Note it still sets its result to minibuffer; I'm not
11457         sure we want that.
11458
11459         * lyxfunc.h: remove setHintMessage
11460
11461         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11462
11463 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11464
11465         * BufferView_pimpl.C (specialChar): delete new inset if we have
11466         not been able to insert it.
11467
11468         * kbmap.C: revert to using int instead of kb_action, since all we
11469         are dealing with is pseudo-actions.
11470
11471         * LyXAction.C (searchActionArg): change to return int instead of
11472         kb_action, since the result is a pseudoaction.
11473
11474 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11475
11476         * buffer.C (insertErtContents): Fix (partially) the font bug.
11477
11478 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11479
11480         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11481         as the other one is broken on my machine!
11482
11483 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11484
11485         * commandtags.h:
11486         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11487
11488 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11489
11490         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11491         reflect their actual use. Provide compatibility code for older lyxrc
11492         files.
11493
11494         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11495         FL_NORMAL_STYLE.
11496         change names of popup font variables in line with the changes to lyxrc.C
11497
11498 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11499
11500         * buffer.C (asciiParagraph): avoid outputing a word twice after
11501         an inset.
11502
11503         * lyxrc.C (getDescription): document that document_path and
11504         template_path can be empty.
11505
11506 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11507
11508         * LaTeXFeatures.C (getMacros):
11509         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11510
11511         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11512
11513         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11514         getPackages.
11515         (getPackages): rename feature "floats" to "float". Use an array to
11516         iterate over 'simple' features (i.e. just a \usepackage). Add
11517         handling of "amsmath" (renamed from "amsstyle").
11518
11519 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11520
11521         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11522         features list.
11523
11524 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11525
11526         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11527         FuncStaus::FuncStatus & FuncStaus::some_method().
11528
11529 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11530
11531         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11532         of the func_satus stuff. Edited and massaged in various ways by
11533         JMarc.
11534
11535         * lyxfunc.C (getStatus): use FuncStatus
11536
11537 2002-01-08  Juergen Vigna  <jug@sad.it>
11538
11539         * text.C (nextBreakPoint): use function Inset::isChar().
11540
11541         * paragraph.C (TeXOnePar): use function
11542         Inset::forceDefaultParagraphs.
11543
11544         * buffer.C (latexParagraphs): use function
11545         Inset::forceDefaultParagraphs.
11546
11547 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11548
11549         * lyx_gui.C (init): set the style of the menu popups to
11550         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11551
11552 2002-01-07  Juergen Vigna  <jug@sad.it>
11553
11554         * text.C (setHeightOfRow): small fix
11555         (prepareToPrint): don't look at alignment if we don't have the place
11556         for doing it.
11557
11558 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11559
11560         * box.C: New file. Move the Box methods and functions out of box.h,
11561         following Lars' suggestion.
11562
11563 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11564
11565         * box.h: #include "support/LOstream.h", needed for inlined function.
11566
11567         * lyxtextclass.C:
11568         * lyxtextclasslist.C: added some using std declarations.
11569
11570 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11571
11572         * box.h: make signed dimensions to allow insets wider than
11573           the screen (bug #162)
11574
11575         * BufferView_pimpl.C: add some insetHit debug
11576
11577 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11578
11579         * vc-backend.C: add FIXME
11580
11581 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11582
11583         * lyxfunc.C (getStatus): enable code for showing math font status
11584         in toolbar/menu.
11585
11586 2002-01-07  Juergen Vigna  <jug@sad.it>
11587
11588         * text.C (nextBreakPoint): removed debug output not needed anymore.
11589
11590 2002-01-06  Juergen Vigna  <jug@sad.it>
11591
11592         * text.C (nextBreakPoint): fixed up this function we had this bug
11593         since ever but now hopefully we break row better.
11594         (insertChar): we have to check if an inset is the next char as it
11595         could now happen that a large inset is causing a break.
11596
11597 2002-01-05  Juergen Vigna  <jug@sad.it>
11598
11599         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11600         if it doesn't like to be drawed.
11601
11602 2002-01-04  Juergen Vigna  <jug@sad.it>
11603
11604         * BufferView2.C (lockInset): forgot to set a cursor.
11605
11606         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11607
11608 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11609
11610         * FormMathsPanel.C:
11611         * FormMathsPanel.h
11612         * MathsSymbols.C:
11613         * form_maths_panel.C:
11614         * form_maths_panel.h:
11615         * form_maths_panel.fd: implemented sub- and super- buttons in math
11616         panel.
11617
11618         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11619         (or ^ space) to be used as in TeX (req'd by André).
11620
11621         * lyxfunc.C: Allow ^ and _ again to be used both as
11622         super/subscript (mathed) and as themselves (in text).
11623
11624 2002-01-03  Allan Rae  <rae@lyx.org>
11625
11626         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11627         "LyX" or the filename of the current buffer if it has one.  This is a
11628         modified form of John Levon's patch.
11629
11630         * XFormsView.C (setWindowTitle): also set icon title.
11631
11632         * LyXView.h (setWindowTitle): signature changed.
11633         * XFormsView.h (setWindowTitle): ditto.
11634
11635 2002-01-02  Juergen Vigna  <jug@sad.it>
11636
11637         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11638
11639 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11640
11641         * screen.C (topCursorVisible): introduce a temp var for
11642         text->cursor.row(), handle the case where this row is null. (kindo
11643         hachish)
11644
11645         * text2.C (setCursor): add a couple of asserts.
11646
11647         * paragraph.h (inset_iterator): add -> operator
11648
11649         * paragraph.[Ch] (autoDeleteInsets): remove member function
11650
11651         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11652         cursor pos correctly and handle inset deletion by itself.
11653         (insertErrors): move iterator declaration out of for expression
11654
11655         * lyxtextclass.C: add <algorithm>
11656
11657         * Makefile.am: added the new files to sources, removed layout.C
11658
11659         * layout.C: removed file
11660
11661         * layout.h: remove LYX_DUMMY_LAYOUT
11662
11663         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11664         layout.
11665
11666         * lyxlayout.[Ch]:
11667         * lyxtextclass.[Ch]:
11668         * lyxtextclasslist.[Ch]: new files
11669
11670         * include order changes to a lot of files, also changes because of
11671         the six new files.
11672
11673 2001-12-27  Juergen Vigna  <jug@sad.it>
11674
11675         * buffer.C (asciiParagraph): more fixes.
11676
11677         * tabular.C (ascii): make ascii export support export of only the
11678         data separated by a column-delimiter.
11679         (ascii): better support for ascii export.
11680
11681         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11682
11683 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11684
11685         * tabular_funcs.C: use a "using std::getline" instead of the
11686         previous fix from Angus (necessary for cxx + lyxstring)
11687
11688 2001-12-24  Juergen Vigna  <jug@sad.it>
11689
11690         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11691
11692         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11693         problems. First check a minipage also if we have some ert-contents
11694         (not only on par->size(), second set the right depth of the paragraph
11695         on the relink to the root-paragraph-list!
11696
11697         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11698         which then did not anymore update the main paragraphs on undo/redo!
11699
11700 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11701
11702         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11703         code. Support all font-changing funcs (even those which are not in
11704         menu currently). Support for reporting font settings in
11705         mathed (disabled until Andre provides a function on mathed's side).
11706
11707         * func_status.h (toggle): small helper function to set toggle
11708         state on a flag.
11709
11710 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11711
11712         * tabular_funcs.C: getline -> std::getline
11713
11714 2001-12-21  Juergen Vigna  <jug@sad.it>
11715
11716         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11717         accessed and could be 0 (I couldn't generate this but it seems
11718         Michael could!).
11719
11720 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11721
11722         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11723         * tabular_funcs.h: here and include iosfwd
11724
11725 2001-12-20  Juergen Vigna  <jug@sad.it>
11726
11727         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11728         inside inset but undo_par was.
11729
11730 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11731
11732         * Thesaurus.C: always include <config.h> in sources.
11733
11734         * Painter.h:
11735         * lyxlookup.h:
11736         * box.h: do not include <config.h> in header files
11737
11738         * text.C (paintLastRow): remove unused variable
11739
11740         * text.C (transformChar):
11741         (insertChar):
11742         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11743
11744         * Painter.C (text):
11745         * font.C (width): rewrite to use uppercase() instead of
11746         islower/toupper.
11747
11748         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11749
11750 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11751
11752         * lyxfind.C: clean up of find failure position change
11753
11754 2001-12-20  Juergen Vigna  <jug@sad.it>
11755
11756         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11757
11758         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11759         (TeXRow): added to LaTeX a single tabular row.
11760         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11761         (Latex): simplified and finally good LT-h/f support.
11762         (various_functions): just small adaptions for LT-h/f support.
11763
11764         * tabular_funcs.[hC]: added and moved here all not classfunctions
11765         of LyXTabular.
11766
11767 2001-12-19  Juergen Vigna  <jug@sad.it>
11768
11769         * tabular.[Ch]: better support for longtabular options (not finished
11770         yet!)
11771
11772 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11773
11774         * text.C (paintLastRow): use the label font instead of the font of
11775         the last character to compute the size of *_BOX. This makes more
11776         sense and avoids a crash with empty paragraphs.
11777         Use Painter::rectangle to draw EMPTY_BOX.
11778
11779 2001-12-19  Juergen Vigna  <jug@sad.it>
11780
11781         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11782         the paragraphs if the replaced paragraph is not the first one!
11783         Tried to delete not used paragraphs but does not work yet so for
11784         now it's inside #ifdef's and by default off!
11785
11786 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11787
11788         * MenuBackend.C: include "lyx_main.h" instead of declaring
11789         lastfiles (actually was declared as LastFiles* instead of a
11790         scoped_ptr).
11791
11792 2001-12-17  Juergen Vigna  <jug@sad.it>
11793
11794         * tabular.C (AppendColumn): applied John's fix
11795
11796 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11797
11798         * BufferView.h:
11799         * BufferView.C:
11800         * BufferView_pimpl.h:
11801         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11802
11803         * Makefile.am:
11804         * box.h: new start of class for above
11805
11806         * lyxfunc.C: ignore space-only minibuffer dispatches.
11807           Show the command name when it doesn't exist
11808
11809         * minibuffer.C: don't add empty lines to the history
11810
11811         * minibuffer.C: add a space on dropdown completion
11812
11813 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11814
11815         * text.C: fix line above/below drawing in insets
11816
11817 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11818
11819         * lyxlength.C (LyXLength): Initialize private variables.
11820
11821 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11822
11823         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11824         when inserting error insets.
11825
11826 2001-12-13  Juergen Vigna  <jug@sad.it>
11827
11828         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11829         actually sometimes the before-paragraph.
11830         (setUndo): don't clear the redostack if we're not actually undoing!
11831
11832 2001-12-06  Juergen Vigna  <jug@sad.it>
11833
11834         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11835         and fixed redoing of main paragraph, so we can use it now ;)
11836
11837         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11838
11839 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11840
11841         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11842         Juergen's request
11843
11844 2001-12-13  André Pönitz <poenitz@gmx.net>
11845
11846         * undostack.[Ch]:
11847         * undo_func.C: minor cleanup
11848
11849 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11850
11851         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11852         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11853         font in urw-fonts package which is marked as -urw-fontspecific and
11854         does not work (incidentally, changing the encoding in the
11855         fonts.dir of this package to -adobe-fontspecific fixes the
11856         problem).
11857
11858         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11859         is a crash when undoing first paragraph (Juergen, please take a
11860         look). THis does not mean the undo fix is wrong, just that it
11861         uncovers problems.
11862
11863         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11864         the (Paragraph*) version when needed instead of duplicating the
11865         code.
11866
11867         * text.C (workWidth): use Inset::parOwner to find out where the
11868         inset has been inserted. This is a huge performance gain for large
11869         documents with lots of insets. If Inset::parOwner is not set, fall
11870         back on the brute force method
11871
11872         * paragraph_pimpl.C (insertInset):
11873         * paragraph.C (Paragraph):
11874         (cutIntoMinibuffer): set parOwner of insets when
11875         inserting/removing them
11876
11877         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11878
11879 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11880
11881         * commandtags.h:
11882         * LyXAction.C:
11883         * lyx_main.C:
11884         * lyxfunc.C:
11885         * mathed/formulabase.C:
11886         * mathed/math_cursor.[Ch]:
11887         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11888
11889
11890 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11891
11892         * lyxlength.[Ch] (operator!=): new function
11893
11894 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11895
11896         * text.C (workWidth): use Inset::parOwner to find out where the
11897         inset has been inserted. This is a huge performance gain for large
11898         documents with lots of insets. If Inset::parOwner is not set, fall
11899         back on the brute force method
11900
11901         * paragraph_pimpl.C (insertInset):
11902         * paragraph.C (Paragraph):
11903         (cutIntoMinibuffer): set parOwner of insets when
11904         inserting/removing them
11905
11906         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11907
11908 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11909
11910         * tabular-old.C (getTokenValue):
11911         * tabular.C (getTokenValue):
11912         (write_attribute): new versions for LyXLength
11913         (everywhere): adjust the use of widths
11914
11915         * tabular.h: change the type of widths from string to LyXLength
11916
11917 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11918
11919         * paragraph.C: fixed missing line number count when exporting
11920         Environments to LaTeX file
11921
11922         * buffer.C: added informational message for checking line numbers.
11923
11924 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11925
11926         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11927         paragraph, do the 'double space' part, but not the 'empty
11928         paragraph' one.
11929
11930         * text.C (workWidth): small optimization
11931         (getLengthMarkerHeight): use minimal size for negative lengths.
11932
11933 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11934
11935         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11936
11937         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11938
11939 2001-12-11  André Pönitz <poenitz@gmx.net>
11940
11941         * FontLoader.C:
11942         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11943
11944 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11945
11946         * text2.C: keep selection on a setFont()
11947
11948 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11949
11950         * lyx_cb.C: another bv->text misuse, from insert label
11951
11952 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11953
11954         * kbsequence.h:
11955         * kbsequence.C: re-instate nmodifier mask
11956
11957 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11958
11959         * lyx_main.h: make lyxGUI private.
11960
11961 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11962
11963         * lyxfind.C: place the cursor correctly on failed search
11964
11965 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11966
11967         * text.C (getLengthMarkerHeight): for small heights, the arrows
11968         are not always on top/bottom of the text
11969         (drawLengthMarker): smaller arrows; take the left margin in
11970         account; draw also vfills.
11971         (paintFirstRow):
11972         (paintLastRow): remove special code for vfill and standard spaces,
11973         since everything is handled in drawLengthMarker now.
11974
11975 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11976
11977         * buffer.C (insertErtContents): try to handle font and language
11978         interaction a bit better.g
11979
11980         * ColorHandler.C (updateColor): change the hash to cover the whole
11981         LColor enum, ws cleanup
11982         (getGCLinepars): ditto
11983         (getGCLinepars): only lookup in the linecache once.
11984
11985 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11986
11987         * iterators.C (operator++): Make the iterator more robust
11988
11989         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11990         (John's patch)
11991         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11992
11993 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11994
11995         * lyxtext.h:
11996         * text.C: better added space drawing
11997
11998 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11999
12000         * LyXView.C:
12001         * BufferView2.C: fix layout combo update on inset unlock
12002
12003 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12004
12005         * Makefile.am: don't compile unused files
12006
12007 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12008
12009         * lyxfunc.C:
12010         * commandtags.h:
12011         * LyXAction.C: remove old LFUN_LAYOUTNO
12012
12013 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12014
12015         * paragraph_pimpl.h:
12016         * paragraph_pimpl.C: isTextAt() doesn't need font param
12017
12018 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12019
12020         * lyxlex.h:
12021         * lyxlex.C: little cleanup
12022
12023 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12024
12025         * BufferView_pimpl.C: fix insertAscii for insets
12026
12027 2001-12-05  Juergen Vigna  <jug@sad.it>
12028
12029         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12030         set the right font on the "multi" paragraph paste!
12031
12032 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12033
12034         * trans_decl.h:
12035         * trans_mgr.[Ch]:
12036         * trans.[Ch]:
12037         * lyxgluelength.C:
12038         * lyxlength.C: remove out-commented code.
12039
12040         * BufferView_pimpl:
12041         * CutAndPaste.C:
12042         * DepTable.C:
12043         * buffer.C:
12044         * chset.C:
12045         * lastfiles.C:
12046         * lyxlex.C:
12047         * lyxlex_pimpl.C:
12048         * lyxserver.C:
12049         * screen.C:
12050         * tabular-old.C:
12051         * tabular.C:
12052         * text.C:
12053         * trans_mgr.C:
12054         * vc-backend.C: change "while(" to "while ("
12055
12056         * lyxlength.[Ch]: add zero function to check if length is zero or
12057         not
12058         * lyxgluelength.C: use it
12059
12060 2001-12-05  Allan Rae  <rae@lyx.org>
12061
12062         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12063         Works for 2.95.3, from what I understand of Garst's reports this should
12064         work for other g++ versions.  We're screwed if the abs(int) definition
12065         changed between bugfix releases of gcc.
12066
12067 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12068
12069         * text.C: fix chapter label offset !
12070
12071 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12072
12073         * lyxtext.h:
12074         * text.C: fix hfill at end of line, clean up
12075
12076 2001-12-04  Juergen Vigna  <jug@sad.it>
12077
12078         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12079         that we force an update of the inset and it's owners if neccessary.
12080
12081 2001-12-03  Juergen Vigna  <jug@sad.it>
12082
12083         * text.C (rowLast): simplified code
12084
12085 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12086
12087         * lyxfunc.C: fix show options on timeout
12088
12089 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12090
12091         * screen.C (topCursorVisible): scroll half a page when the cursor
12092         reached top of bottom of screen
12093
12094 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12095
12096         * minibuffer.C: deactivate on loss of focus
12097
12098 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12099
12100         * vspace.[Ch] (operator!=): add operator.
12101
12102 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12103
12104         * BufferView_pimpl.C: refuse to open an inset when
12105         there's a selection.
12106
12107 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12108
12109         * BufferView_pimpl.C: allow to click on RHS of full row insets
12110
12111 2001-11-30  Juergen Vigna  <jug@sad.it>
12112
12113         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12114         insets for undo reasons.
12115
12116 2001-11-28  André Pönitz <poenitz@gmx.net>
12117
12118         * vspace.[Ch]: cosmetical changes
12119
12120 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12121
12122         * LyXAction.h:
12123         * LyXAction.C:
12124         * lyxfunc.h:
12125         * lyxfunc.C:
12126         * kbmap.h:
12127         * kbmap.C:
12128         * lyxrc.C:
12129         * kbsequence.h:
12130         * kbsequence.C: part re-write of old kb code
12131
12132         * Painter.C:
12133         * WorkArea.C: remove Lgb_bug_find_hack
12134
12135 2001-11-30  José Matos <jamatos@fep.up.pt>
12136
12137         * buffer.C (makeDocBookFile): add a comment to point a hack.
12138         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12139         Fixed a double write of labels.
12140
12141 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12142
12143         * LaTeX.C:
12144         * LaTeX.h Fixed bug in LaTeX class where it would not
12145         re-run latex if no depfiles were changed, but the .dvi was removed.
12146
12147 2001-11-28  André Pönitz <poenitz@gmx.net>
12148
12149         * all the files from the change on 2001/11/26:
12150         use lyx::layout_type instead of LyXTextClass::size_type
12151         use lyx::textclass_type instead of LyXTextClassList::size_type
12152
12153 2001-11-29  Juergen Vigna  <jug@sad.it>
12154
12155         * text.C: added support for paragraph::isFreeSpacing()
12156
12157         * buffer.C: same as above
12158
12159         * paragraph.h: inserted isFreeSpacing() function to enable
12160         FreeSpacing inside InsetERT.
12161
12162         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12163         of the paragraph's in the cut/copy buffer to 0!
12164
12165         * text2.C (removeRow): remove the assert as it can!
12166
12167         * lyxtext.h: added helper function firstRow returning firstrow and
12168         made firstrow private again.
12169
12170         * BufferView2.C (lockInset): don't relock if we're already locked!
12171
12172         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12173         the only paragraph.
12174         (removeRow): added Assert::(firstrow)
12175
12176         * debug.C: forgot to add INSETTEXT here.
12177
12178 2001-11-28  Juergen Vigna  <jug@sad.it>
12179
12180         * sp_spell.C (initialize): changed error text to more general
12181         spellchecker command use (not only ispell!)
12182
12183         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12184
12185         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12186
12187 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12188
12189         * vspace.C: initialise lyxgluelength on failure
12190
12191 2001-11-28  Allan Rae  <rae@lyx.org>
12192
12193         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12194         declaration & definition that looks like a function declaration.
12195
12196 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12197
12198         * BufferView2.C (copy):
12199         (copyEnvironment): do not clear the selection when doing a copy.
12200
12201         * text.C (paintFirstRow): compilation fix
12202
12203 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12204
12205         * tabular.C (Latex): correct line count when writing latex.
12206
12207 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12208
12209         * paragraph_pimpl.h:
12210         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12211           bug a bit
12212
12213 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12214
12215         * text.C:
12216         * LColor.h:
12217         * LColor.C: change vfillline->added_space
12218
12219         * text.C: add markers and text for added space
12220
12221         * vspace.C: fix comment
12222
12223 2001-11-28  André Pönitz <poenitz@gmx.net>
12224
12225         * paragraph.C: whitespace changes
12226         * all the other files from the change on 2001/11/26:
12227         change *::pos_type into lyx::pos_type
12228
12229 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12230
12231         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12232         language of the document when inserting error insets.
12233
12234 2001-11-26  André Pönitz <poenitz@gmx.net>
12235
12236         * BufferView_pimpl.[Ch]:
12237         *       CutAndPaste.C:
12238         * buffer.[Ch]:
12239         * lyxcursor.[Ch]:
12240         * lyxfind.C:
12241         * lyxfunc.C:
12242         * lyxrow.[Ch]:
12243         * paragraph.[Ch]:
12244         * paragraph_pimpl.[Ch]:
12245         * sp_spell.C:
12246         * text.C:
12247         * text2.C: reduce header dependencies, introduce type for positions
12248
12249 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12250
12251         * <various>: change to use Alert.h
12252
12253 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12254
12255         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12256         when encountering an unknown token.
12257         (readLyXformat2): Show an error message if there were unknown tokens.
12258
12259 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12260
12261         * BufferView2.C:
12262         * BufferView_pimpl.C:
12263         * buffer.C:
12264         * paragraph.h:
12265         * text.C:
12266         * text2.C: use par->isInset()
12267
12268 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12269
12270         * paragraph_pimpl.h:
12271         * paragraph_pimpl.C: cleanup
12272
12273 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12274
12275         * text2.C (removeRow):
12276         * text.C (setHeightOfRow): remove useless (and costly) call to
12277         getRow.
12278
12279 2001-11-20  Allan Rae  <rae@lyx.org>
12280
12281         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12282         Now need Inset*::checkInsertChar() to return true for appropriate
12283         cases so that the characters in the minibuffer will actually be
12284         inserted.
12285
12286 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12287
12288         * text.C: change the order of the includes.
12289         (workWidth): initialize it at once.
12290         (workWidth): make maxw unsigned
12291         (setHeightOfRow): remove unused variable (inset)
12292         (selectSelectedWord): remove unused variable (inset)
12293         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12294
12295 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12296
12297         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12298         server is not running.
12299         (openConnection):
12300         (closeConnection): add debug info when server is disabled.
12301
12302         * ColorHandler.C (getGCForeground): send debug message to GUI
12303         channel.
12304
12305         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12306
12307         * kbmap.C (bind): modify because return conventions of
12308         kb_sequence::parse have changed.
12309
12310         * kbsequence.C (parse): only ignore spaces and not any stupid
12311         control character. This avoids tests like s[i] <= ' ', which are
12312         guaranteed to fail with 8bit characters and signed chars.
12313         Change return code to string::npos when there have been no error
12314         (0 was a bad idea when error is at first character)
12315
12316 2001-11-14  José Matos  <jamatos@fep.up.pt>
12317
12318         * buffer.h:
12319         * buffer.C (simpleDocBookOnePar): removed unused argument.
12320
12321 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12322
12323         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12324         insets which are part of a word. Paragraph::isLetter takes care of
12325         that now. Use Paragraph::isInset to identify insets.
12326         (selectSelectedWord): do not test for hyphenation break.
12327
12328         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12329         that protected spaces are considered as spaces.
12330
12331         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12332         Inset::isLetter.
12333
12334 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12335
12336         * lyxserver.h:
12337         * lyxserver.C: fix it. and small cleanup.
12338
12339 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12340
12341         * BufferView_pimpl.C: use inline helpers
12342
12343         * LaTeXFeatures.h:
12344         * LaTeXFeatures.C: fix typos
12345
12346         * Spacing.h:
12347         * Spacing.C: move spacing_string into class
12348
12349         * ToolbarDefaults.C: move stuff into namespace anon
12350
12351         * layout.h: update enum
12352
12353         * lyxfunc.C: use better debug
12354
12355         * minibuffer.h: fix typo
12356
12357         * debug.h:
12358         * debug.C:
12359         * WorkArea.C: add and use Debug::WORKAREA
12360
12361         * lyxtext.h:
12362         * text.C:
12363         * text2.C: code re-organisation, inline helpers
12364
12365 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12366
12367         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12368         std::vector.empty().
12369
12370 2001-11-09  Allan Rae  <rae@lyx.org>
12371
12372         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12373         '\n's after tables.  Tabular and ERT inset work now makes this no
12374         longer necessary.
12375
12376 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12377
12378         * minibuffer.h:
12379         * minibuffer.C: fix crash, improve drop-down completion
12380
12381 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12382
12383         * lyxserver.h:
12384         * lyxserver.C: invalidate fd's when doing endPipe()
12385
12386 2001-11-08  José Matos  <jamatos@fep.up.pt>
12387
12388         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12389         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12390
12391         * paragraph.h:
12392         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12393
12394 2001-11-07  José Matos  <jamatos@fep.up.pt>
12395
12396         * buffer.h:
12397         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12398         const qualifier.
12399
12400         * buffer.C (sgmlOpenTag):
12401         * buffer.C (sgmlCloseTag): removed debug info.
12402
12403         * buffer.h (sgmlOpenTag):
12404         * buffer.h (sgmlCloseTag): made public.
12405
12406 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12407
12408         * buffer.C (saveParamsAsDefaults):
12409         * lyx_cb.C (MenuLayoutSave): remove
12410
12411         * LyXAction.C (init):
12412         * commandtags.h:
12413         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12414
12415 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12416
12417         * buffer.C (setPaperStuff): removed from here...
12418
12419         * bufferparams.C (setPaperStuff): ... and moved there.
12420
12421 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12422
12423         * minibuffer.h:
12424         * minibuffer.C:
12425         * XFormsView.C: add support for drop-down completion
12426
12427 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12428
12429         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12430         commands.
12431
12432 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12433
12434         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12435         disabled.
12436
12437 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12438
12439         * lyx_main.C: change ref to known bugs
12440
12441 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12442
12443         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12444         to work around older babel problems.
12445
12446 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12447
12448         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12449
12450 2001-10-24  Juergen Vigna  <jug@sad.it>
12451
12452         * tabular-old.C (ReadOld): below variable changes reflected.
12453
12454         * tabular.[Ch]: added ltType struct for longtable header/footer
12455         defines and changed all instances where they are used. Added
12456         future support for double top/bottom rows.
12457
12458 2001-10-24  José Matos  <jamatos@fep.up.pt>
12459
12460         * buffer.h (docbookHandleCaption):
12461         * buffer.C (docbookHandleCaption): removed unused function.
12462         (makeDocBookFile): moved docbook supported version to v4.1.
12463
12464 2001-10-24  José Matos  <jamatos@fep.up.pt>
12465
12466         * tabular.h:
12467         * tabular.C (docbookRow): new function to export docbook code of a row.
12468         (DocBook): now honors the longtable flags.
12469
12470 2001-10-23  José Matos  <jamatos@fep.up.pt>
12471
12472         * LaTeXFeatures.h:
12473         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12474         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12475
12476         * buffer.C (makeLinuxDocFile):
12477         (makeDocBookFile): reworked the preamble, more clean, and with
12478         support for lyx defined entities. Changed the document declaration
12479         to be more XML friendly.
12480
12481         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12482         if we need to output XML that should be done with a filter.
12483
12484 2001-10-22  Juergen Vigna  <jug@sad.it>
12485
12486         * sp_pspell.h (class PSpell): add alive function needed in the
12487         controller to see if the spellchecker could be started.
12488
12489 2001-10-22  Juergen Vigna  <jug@sad.it>
12490
12491         * buffer.C (insertStringAsLines): modify the font for inserting
12492         chars in certain conditions by calling checkInsertChar(font).
12493
12494 2001-10-19  Juergen Vigna  <jug@sad.it>
12495
12496         * text.C (workWidth): use getRow instead of wrong algorithm.
12497         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12498
12499 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12500
12501         * lyxserver.h:
12502         * lyxserver.C:
12503         * lyx_main.h:
12504         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12505
12506 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12507
12508         * text.C (workWidth): do not search for the exact row when
12509         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12510         optimization for big documents.
12511
12512 2001-10-18  Juergen Vigna  <jug@sad.it>
12513
12514         * text.C (workWidth): new function with added Inset * parameter.
12515
12516 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12517
12518         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12519
12520         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12521         change return type of getColumnNearX.
12522
12523
12524         * text.C (changeRegionCase): use uppercase/lowercase instead of
12525         toupper/tolower.
12526         (leftMargin):
12527         (rightMargin): simplify code by factoring out the uses of
12528         textclasslist.
12529         (labelFill):
12530         (numberOfHfills):
12531         (setHeightOfRow):
12532         (appendParagraph): use Paragraph::size_type
12533
12534 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12535
12536         * vspace.C (asLatexString): add a missing break
12537
12538 2001-10-15  Herbert Voss  <voss@perce.de>
12539
12540         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12541
12542 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12543
12544         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12545         is not available.
12546
12547 2001-10-10  André Pönitz <poenitz@gmx.net>
12548
12549         * lyxfunc.C: removed greek_kb_flag.
12550
12551 2001-10-10  Herbert Voss  <voss@perce.de>
12552
12553         * lyx_main.C: delete global string help_lyxdir.
12554
12555 2001-10-09  Herbert Voss  <voss@perce.de>
12556
12557         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12558
12559         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12560
12561         * lyx_main.C: added global string help_lyxdir.
12562
12563         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12564
12565 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12566
12567         * lyxrc.C (set_font_norm_type): support iso8859-4
12568
12569 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12570
12571         * LaTeX.C (deplog): add another regex for MikTeX
12572
12573 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12574
12575         * lyxrc.C (set_font_norm_type): support iso8859-3
12576
12577 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12578
12579         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12580
12581         * LaTeXFeatures.C: remove special case of french and index
12582
12583         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12584         before \begin{document}). This solves several incompatibilities.
12585
12586 2001-10-03  Garst Reese  <reese@isn.net>
12587
12588         * lyx_cb.C: change CheckTex error msg.
12589
12590 2001-10-03  José Matos  <jamatos@fep.up.pt>
12591
12592         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12593
12594 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12595
12596         * .cvsignore: update
12597
12598         * lyx_main.C (commandLineVersionInfo): use new style version info.
12599
12600         * buffer.C (writeFile):
12601         (makeLaTeXFile):
12602         (makeLinuxDocFile):
12603         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12604
12605         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12606
12607         * version.h: update to use stuff in version.C
12608
12609         * version.C.in: new file. Contains version information determined
12610         at compile time. This is a merging of version.h and
12611         version_info.h.in.
12612
12613 2001-10-03  Juergen Vigna  <jug@sad.it>
12614
12615         * BufferView_pimpl.C (update): don't change "dirty" status in
12616         updateInset call.
12617
12618 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12619
12620         * WorkArea.C (c-tor): re-position version string slightly.
12621
12622 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12623
12624         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12625         revert to previous code.
12626
12627         WorkArea.[Ch]: (show, destroySplash): methods removed.
12628
12629         WorkArea.C: rework code so that it's an amalgam of the codes before and
12630         after the splash screen was moved to WorkArea.
12631
12632 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12633
12634         * lyxrc.C (read):
12635         * vspace.C (inPixels):
12636         (lyx_advance):
12637         * kbmap.C (bind):
12638         * buffer.C (insertStringAsLines):
12639         (asciiParagraph): fix types to be large enough
12640
12641         * lyxlex_pimpl.h: change member status from short to int
12642
12643         * layout.h: fix type of endlabeltype
12644
12645         * kbmap.C (bind):
12646         * kbsequence.C (parse): change return type to string::size_type
12647
12648         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12649         variable
12650
12651         * Bullet.C (bulletSize):
12652         (bulletEntry): do not use short ints as parameters
12653
12654         * BufferView2.C (insertLyXFile): change a char to an int.
12655
12656         * WorkArea.C (WorkArea): remove unneeded floats in computation
12657
12658 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12659
12660         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12661
12662         * paragraph.C (asString): Do not ignore newline/hfill chars when
12663         copying to the clipboard.
12664
12665 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12666
12667         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12668         after a multi-line inset.
12669
12670 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12671
12672         * paragraph.C (validate): Set NeedLyXFootnoteCode
12673
12674 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12675
12676         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12677         and decrease-error to decrease.
12678
12679 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12680
12681         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12682         it more readable (should be equivalent)
12683
12684 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12685
12686         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12687
12688 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12689
12690         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12691         of a cursor (row, etc.) after a character has been deleted
12692         (deleteEmptyParagraphMechanism): call the method above on _all_
12693         cursors held by the LyXText when a double space has been
12694         detected/deleted.
12695
12696 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12697
12698         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12699         pixmap.
12700         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12701
12702         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12703         background. Use greyOut() and the new show() methods to toggle between
12704         the foreground and background. Add code to remove the splash after
12705         its initial showing.
12706
12707         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12708         (create_forms): no longer call Dialogs::showSplash.
12709
12710 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12711
12712         * .cvsignore: add version_info.h
12713
12714 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12715
12716         * version_info.h.in: new file
12717
12718         * Makefile.am: add version_info.h.in
12719
12720         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12721         version_info.h instead of VERSION_INFO
12722
12723 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12724
12725         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12726         The ERT inset now returns string().
12727
12728 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12729
12730         * lyxtext.h, text.C (selectNextWord): renamed as
12731         selectNextWordToSpellcheck.
12732
12733         * text.C (selectNextWordToSpellcheck): Modified to not select
12734         words inside an ERT inset.
12735
12736 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12737
12738         * lyx_cb.C (MenuLayoutSave): change a bit the question
12739
12740         * sp_base.h: include <sys/types.h>
12741
12742 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12743
12744         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12745
12746 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12747
12748         * several files: fix typos in user-visible strings
12749
12750 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12751
12752         * text2.C (pasteSelection): do not set the selection, since it
12753         will be cleared later. Actually, the intent was to fix the way the
12754         selection was set, but I figured rmoving the code was just as good.
12755
12756 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12757
12758         * FontLoader.C (available): Check if font is available without
12759         loading the font.
12760
12761 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12762
12763         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12764
12765 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12766
12767         * lyxrc.[Ch]: added display_graphics variable and associated code.
12768
12769 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12770
12771         * bufferparams.C (hasClassDefaults): new method. Returns true if
12772         the buffer parameters correspond to known class defaults
12773
12774 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12775
12776         * XFormsView.C (show): set minimum size to the main window.
12777
12778 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12779
12780         * text2.C (copySelection):
12781         (cutSelection):
12782         * lyxfind.C (LyXReplace):
12783         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12784         LyXText::selectionAsString.
12785
12786         * paragraph.C (asString): add "label" argument to the second form
12787
12788         * text2.C (selectionAsString): add "label" argument and pass it to
12789         Paragraph::asString.
12790
12791 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12792
12793         * lyx_main.C (commandLineHelp): remove version information
12794
12795 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12796
12797         * lyx_main.C: add -version commandline option
12798
12799 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12800
12801         * paragraph.h: make the optional constructor arg required instead.
12802         some modifications to other files because of this.
12803
12804         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12805
12806         * lyxserver.C (C_LyXComm_callback): make it static
12807
12808         * lyx_main.C (error_handler): make it static
12809
12810         * lyx_gui.C (LyX_XErrHandler): make it static
12811
12812         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12813
12814         * WorkArea.C: make the extern "C" methods static.
12815
12816         * Makefile.am (lyx_LDADD): simplify
12817
12818 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12819
12820         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12821         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12822
12823         * LyXAction.C (init):
12824         * lyxfunc.C (dispatch): associated code removal.
12825
12826 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12827
12828         * lyxfont.h (isSymbolFont): shut off warning
12829
12830         * text.C (setHeightOfRow):
12831         (getVisibleRow): fix crash with empty paragraphs which have a
12832         bottom line
12833
12834 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12835
12836         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12837         code.
12838
12839 2001-09-04  José Matos  <jamatos@fep.up.pt>
12840         * buffer.C
12841         * buffer.h
12842         * tabular.C (docbook): rename docBook method to docbook.
12843
12844 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12845
12846         * Makefile.am: add dependencies to main.o.
12847
12848 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12849
12850         * FontLoader.C (available): Return false if !lyxrc.use_gui
12851
12852 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12853
12854         * FontInfo.C (query):
12855         * converter.C (view):
12856         * importer.C (Import):
12857         * exporter.C (Export): Can not -> cannot.
12858
12859 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12860
12861         * BufferView_pimpl.C: allow to create index inset even if
12862           string is empty
12863
12864 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12865
12866         * buffer.C (getLists): replace boost::tie code with an explicit pair
12867         as boost::tie can break some compilers.
12868
12869         * iterators.h: Added a std:: declaration to the return type of
12870         ParIterator::size.
12871
12872 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12873
12874         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12875           case.
12876
12877 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12878
12879         * iterators.[Ch]: New files. Provide paragraph iterators.
12880
12881         * buffer.C (changeLanguage): Use paragraph iterators.
12882         (isMultiLingual): ditto
12883
12884         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12885
12886 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12887
12888         * FontLoader.C: Support for cmr font.
12889
12890 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12891
12892         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12893         (available): New method.
12894
12895         * FontInfo.C (getFontname): Use scalable fonts even when
12896         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12897         found.
12898
12899 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12900
12901         * converter.C (Formats::view): reverted! Incorrect fix.
12902
12903 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12904
12905         * converter.C (Formats::view): only output the -paper option
12906         if the dvi viewer is xdvi, thereby fixing bug #233429.
12907
12908 2001-08-23  Herbert Voss  <voss@perce>
12909
12910         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12911
12912 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12913
12914         * Spacing.h (Spacing): Set space to Default on in the default
12915         constructor.
12916
12917 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12918
12919         * vc-backend.h (RCS::versionString): add RCS to version
12920         (CVS::versionString): add CVS to version
12921
12922         * vc-backend.C (scanMaster): do not add CVS to version.
12923         (scanMaster): do not add RCS to version
12924
12925         * lyxvc.C (versionString): new method
12926
12927         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12928
12929 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12930
12931         * Spacing.C (set): initialize fval
12932
12933 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12934
12935         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12936         " or \.
12937
12938 2001-08-16  Juergen Vigna  <jug@sad.it>
12939
12940         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12941
12942 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12943
12944         * BufferView_pimpl.C:
12945         * figureForm.C:
12946         * lyxtext.h:
12947         * text2.C: setParagraph takes linespacing now
12948
12949 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12950
12951         * LyxAction.C: add internal LFUN_CITATION_INSERT
12952
12953         * LyXView.C: actually apply fix
12954
12955         * bufferlist.C: fix open non-existent file
12956
12957         * lyxfind.C: fix indentation
12958
12959         * lyxfunc.C: remove unneeded assert, fix typo
12960
12961 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12962
12963         * MenuBackend.C: use "Floatname List"
12964
12965 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12966
12967         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12968         when converting LaTeX layout to insetERT.
12969         Generate a non-collapsed float when reading old float
12970
12971 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12972
12973         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12974         ERT insets.
12975
12976 2001-08-13  Juergen Vigna  <jug@sad.it>
12977
12978         * text.C (fill): return 0 instead of 20 as this seems to be the more
12979         correct value.
12980
12981 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12982
12983         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12984         lyxrc.font_norm.
12985
12986 2001-08-13  Juergen Vigna  <jug@sad.it>
12987
12988         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12989         casesensitive off.
12990         (SearchBackward): comment out the unlocking of the inset_owner this
12991         should not be needed!
12992
12993 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12994
12995         * Many files: Remove inherit_language, and add latex_language
12996
12997         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12998         collapsible insets.
12999
13000 2001-08-10  Juergen Vigna  <jug@sad.it>
13001
13002         * text.C (prepareToPrint): fixed hfill-width in draw!
13003
13004         * BufferView2.C (selectLastWord): save the selection cursor as this
13005         now is cleared in the function LyXText::clearSelection!
13006
13007 2001-08-08  Juergen Vigna  <jug@sad.it>
13008
13009         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13010         BACKSPACE type functions.
13011
13012         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13013         is only cutted from the document but not put in the cut-buffer, where
13014         still the old stuff should be.
13015
13016         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13017
13018         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13019
13020         * tabular.C (SetWidthOfCell): fixed special case where the width
13021         was not updated!
13022         (LeftLine): handle '|' in align_special.
13023         (RightLine): ditto
13024         (LeftAlreadyDrawed): ditto
13025         (SetWidthOfCell): ditto
13026
13027 2001-08-07  Juergen Vigna  <jug@sad.it>
13028
13029         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13030
13031 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13032
13033         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13034         * lyxlex.[hC]: ditto
13035
13036 2001-08-06  Juergen Vigna  <jug@sad.it>
13037
13038         * text.C (getVisibleRow): fix up row clearing a bit.
13039
13040 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13041
13042         * minibuffer.C: make sure the X server sees the changes in the input.
13043
13044 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13045
13046         * paragraph.C (getFont): split into...
13047         (getLabelFont): this
13048         (getLayoutFont): and this
13049         * paragraph_pimpl.C (realizeFont): calling this
13050
13051         * text2.C (getFont): split into...
13052         (getLayoutFont): this
13053         (getLabelFont): and this
13054         (realizeFont): all three calling this
13055
13056         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13057         files where used.
13058
13059 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13060
13061         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13062
13063 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13064
13065         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13066         layouts from the Quote inset insertion.
13067
13068 2001-08-03  Juergen Vigna  <jug@sad.it>
13069
13070         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13071
13072         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13073         only if status not is already CHANGED_IN_DRAW (second level).
13074
13075         * text.C (draw): don't set the need_break_row when inside an
13076         InsetText LyXText.
13077
13078 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13079
13080         * buffer.C (parseSingleLyXformat2Token): handle more latex
13081         conversion cases.
13082
13083         * bufferview_funcs.[hC]: change function names to
13084         begin with small char, adjust other files.
13085
13086 2001-08-02  André Pönitz <poenitz@gmx.net>
13087
13088         * lyxfunc.C:
13089         BufferView_pimpl.C: remove broken special code for math-greek
13090
13091 2001-08-02  Juergen Vigna  <jug@sad.it>
13092
13093         * BufferView_pimpl.C (update): redone this function so that we
13094         update the text again if there was a CHANGE_IN_DRAW.
13095
13096         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13097         (drawFromTo): added a new internal bool which is used by draw() and
13098         redraw() function.
13099         (general): some cursor drawing problems fixed.
13100
13101 2001-08-01  Juergen Vigna  <jug@sad.it>
13102
13103         * lyxfind.C (LyXFind): fixed
13104         (SearchForward): ditto
13105         (SearchBackward): ditto
13106
13107         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13108         spurius drawing of the cursor in the main area.
13109
13110         * text2.C (status): small fix which could lead to a segfault!
13111         (clearSelection): remove unneeded BufferView param.
13112
13113 2001-08-01  André Pönitz <poenitz@gmx.net>
13114
13115         * lyxfunc.C: small change due to changed mathed interface
13116
13117 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13118
13119         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13120
13121 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13122
13123         * lyxfunc.c: fail gracefully if file doesn't exist
13124
13125         * LyXSendto.C:
13126         * buffer.C:
13127         * lyxfunc.C:
13128         * BufferView_pimpl.C: IsDirWriteable() proto changed
13129
13130         * LyXView.C: fix updateWindowTitle() to store the last title
13131
13132 2001-07-31  Juergen Vigna  <jug@sad.it>
13133
13134         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13135         the font (wrong since using of Paragraph::highestFontInRange).
13136
13137         * paragraph.C (highestFontInRange): added a default_size parameter.
13138
13139         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13140         (setHeightOfRow): reformat
13141
13142 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13143
13144         * converter.[hC] + affected files: move to (inital-char)lowercase
13145         function names.
13146
13147         * ParagraphParameters.C (ParagraphParameters): remove commented code
13148
13149         * PainterBase.[Ch]: remove commented code
13150
13151         * LaTeXFeatures.h: add "bool floats" for float.sty
13152
13153         * LaTeXFeatures.C (LaTeXFeatures): init floats
13154         (require): handle float
13155         (getPackages): do it with floats
13156
13157 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13158
13159         * BufferView_pimpl.C (Dispatch): improve handling of
13160         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13161
13162         * commandtags.h: #include lyxfont.h here temporarily to avoid
13163         keybinding bug.
13164
13165         * bufferlist.h: include LString.h here.
13166
13167 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13168
13169         * text2.C (getStringToIndex): new method.
13170
13171 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13172
13173         * *: Reduced header file dependencies all over.
13174
13175 2001-07-30  Baruch Even  <baruch@lyx.org>
13176
13177         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13178
13179 2001-07-29  Baruch Even  <baruch@lyx.org>
13180
13181         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13182
13183 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13184
13185         * ParameterStruct.h (endif): add a default constructor to make
13186         sure that all variables is initialized.
13187
13188         * ParagraphParameters.C (ParagraphParameters): adjust
13189
13190 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13191
13192         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13193         index; also, check that there is something to index, and that it
13194         does not span over several paragraphs.
13195         (doubleClick): use WHOLE_WORD_STRICT for double click.
13196
13197         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13198
13199         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13200         scheme.
13201
13202 2001-07-26  Baruch Even  <baruch@lyx.org>
13203
13204         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13205         an InsetFig figure, backwards compatible reading of old figure code.
13206
13207 2001-07-27  Juergen Vigna  <jug@sad.it>
13208
13209         * text2.C: font.realize function adaption.
13210
13211         * text.C (draw): add a warnings lyxerr text if needed.
13212
13213         * layout.C: font.realize function adaption.
13214
13215         * language.C: add inherit_language and implement it's handlings
13216
13217         * bufferview_funcs.C (StyleReset): remove language parameter from
13218         font creation (should be language_inherit now).
13219
13220         * bufferparams.C (writeFile): handle ignore_language.
13221
13222         * paragraph.C (getFontSettings): the language has to be resolved
13223         otherwise we have problems in LyXFont!
13224
13225         * lyxfont.C (lyxWriteChanges): added document_language parameter
13226         (update): removed unneeded language parameter
13227
13228         * paragraph.C (validate): fixed wrong output of color-package when
13229         using interface colors for certain fonts in certain environments,
13230         which should not seen as that on the final output.
13231
13232 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13233
13234         * BufferView_pimpl.C:
13235         * Thesaurus.h:
13236         * Thesaurus.C:
13237         * Makefile.am:
13238         * commandtags.h:
13239         * LyXAction.C: add thesaurus support
13240
13241         * lyxfind.h:
13242         * lyxfind.C: add "once" parameter, for thesaurus, to not
13243           move to the next match
13244
13245 2001-07-26  Juergen Vigna  <jug@sad.it>
13246
13247         * lyxfont.C (realize): honor ignore_language too!
13248         (resolved): ditto.
13249
13250         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13251
13252         * text.C (draw): one place more for ignore_language to not draw
13253         itself!
13254
13255 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13256
13257         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13258
13259 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13260
13261         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13262         the minipage conversion problem.
13263
13264 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13265
13266         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13267         insert an inset.
13268
13269 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13270
13271         * BufferView.h: don't forward declare WorkArea
13272
13273         * BufferView.C: don't include WorkArea.h
13274
13275 2001-07-25  André Pönitz <poenitz@gmx.net>
13276
13277         * commandtags.h:
13278         * LyXAction.C:
13279         * lyxfunc.C:  new LFUN 'math-space'
13280
13281         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13282
13283 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13284
13285         * text2.C (toggleInset): call open/close
13286
13287 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13288
13289         * lyxfunc.C (dispatch): add debug for the disabled case
13290
13291         * font.C (buttonText): make similar to rectText
13292
13293         * buffer.C (readInset): comment out parsing of insetlist and
13294         insttheorem
13295
13296         * PainterBase.C (rectText): small correction
13297
13298         * BufferView_pimpl.C: comment out insettheorem and insetlist
13299         * LyXAction.C: ditto
13300         * commandtags.h: ditto
13301
13302 2001-07-24  Juergen Vigna  <jug@sad.it>
13303
13304         * text.C (draw): honor the ignore_language.
13305
13306         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13307
13308 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13309
13310         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13311         char inset.
13312
13313 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13314
13315         * lyxtext.h: remove unused (and unimplemented) methods
13316
13317 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13318
13319         * text.C (getVisibleRow): honor background color
13320
13321         * PainterBase.h:
13322         * Painter.h: remove default color argument for fillRectangle
13323
13324         * text.C (backgroundColor): new method
13325
13326 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13327
13328         * text.C (getVisibleRow): adjust
13329
13330         * font.[Ch] (rectText): new method, metrics
13331         (buttonText): new method, metrics
13332
13333         * PainterBase.[hC]: make rectText and buttonText always draw and take
13334         fewer paramteres.
13335
13336 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13337
13338         * ToolbarDefaults.C (read):
13339         * MenuBackend.C (read): allow escaping in all strings
13340
13341         * BufferView_pimpl.C (insertAndEditInset): new method.
13342         (Dispatch): use insertAndEditInset whenever appropriate.
13343
13344         * BufferView_pimpl.C (insertNote): removed
13345
13346         * BufferView_pimpl.C (smartQuote): new method, moved from
13347         BufferView; if an insetquote cannot be inserted, insert a '"'
13348         character instead.
13349
13350         * BufferView2.C: remove insertCorrectQuote();
13351
13352         * lyxfunc.C (getStatus): Add support for all remaingin
13353         inset-insert lfuns.
13354
13355         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13356
13357         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13358         command (necessary to pass " as parameter of self-insert.
13359
13360         * text.C (selectWordWhenUnderCursor):
13361         (selectWord): add word_location parameter
13362         (selectWordWhenUnderCursor): same + remove special code for word
13363         boundary.
13364         (selectNextWord): use kind() to guess type of insetspecialchar,
13365         not latex().
13366
13367         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13368         (insertErtContents): create ert insets as collapsed.
13369         (readInset): better compatibility code for Info inset.
13370
13371 2001-07-20  Juergen Vigna  <jug@sad.it>
13372
13373         * lyxfunc.C (dispatch): use always LyXFind now!
13374
13375         * text2.C (init): add a reinit flag so that the LyXText can be
13376         reinited instead of deleted and reallocated (used in InsetText).
13377
13378         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13379
13380         * text.C: ditto
13381
13382         * text2.C: ditto
13383
13384 2001-07-18  Juergen Vigna  <jug@sad.it>
13385
13386         * text.C (selectNextWord): handle insets inside inset by calling
13387         always the bv->text functions so that we can go up the_locking_inset!
13388
13389         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13390         in strange locations when inside an inset!
13391
13392         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13393         handling to include insets.
13394
13395         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13396
13397 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13398
13399         * LyXAction.C (init):
13400         * commandtags.h:
13401         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13402         LIGATURE_BREAK, since the name is so stupid.
13403
13404 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13405
13406         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13407         InsetInfos.
13408
13409         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13410
13411         * sp_form.[Ch]: remove.
13412
13413         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13414
13415         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13416         InsetInfo.
13417
13418         * src/buffer.C (readInset): ditto.
13419
13420 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13421
13422         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13423         menuSeparator(), endOfSentenceDot(), ldots() and
13424         hyphenationPoint(), which are therefore removed.
13425         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13426
13427         * LyXAction.C (init):
13428         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13429
13430         * paragraph.C (getWord): removed.
13431
13432         * BufferView_pimpl.C (Dispatch): use last word or selection for
13433         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13434
13435         * lyx_main.C (queryUserLyXDir): do not ask before creating
13436         user_dir, except if it has been named explicitely.
13437
13438 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13439
13440         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13441         a document of zero size.
13442
13443 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13444
13445         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13446         approriately in the c-tor and in require().
13447         (getPackages): output the appropriate LaTeX for natbib support.
13448
13449         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13450         variables "use_natbib" and "use_numerical_citations" when reading the
13451         LyX file.
13452         (readInset): read the various natbib cite commands.
13453         (validate): white-space change.
13454
13455         * bufferparams.[Ch]: new variables "bool use_natbib" and
13456         "bool use_numerical_citations".
13457         (writeFile): output them in the LyX file.
13458
13459 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13460
13461         * lyxfunc.C (getStatus): add support for all the inset insertion
13462         commands.
13463
13464         * text2.C (insertInset):
13465         * paragraph.C (insetAllowed):
13466         * BufferView_pimpl.C (insertInset): update to take in account the
13467         renaming of insertInsetAllowed
13468
13469         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13470
13471         * text2.C (getInset): new method. returns inset at cursor position.
13472
13473         * BufferView_pimpl.C (Dispatch): changes because of this.
13474
13475         * LyXAction.C (init): rename open-stuff to inset-toggle.
13476
13477         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13478
13479         * text2.C (toggleInset): renamed from openStuff; use
13480         Inset::open().
13481
13482 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13483
13484         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13485
13486         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13487
13488 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13489
13490         * buffer.C (readLyXformat2): Add filename to the error dialog
13491
13492 2001-07-18  Juergen Vigna  <jug@sad.it>
13493
13494         * tabular.C (GetCellNumber): put an assert here instead of the check!
13495
13496 2001-07-17  Juergen Vigna  <jug@sad.it>
13497
13498         * BufferView_pimpl.C (toggleSelection): adapted too.
13499
13500         * text.C (selectNextWord): adapted for use with insets.
13501         (selectSelectedWord): ditto
13502
13503 2001-07-17  Juergen Vigna  <jug@sad.it>
13504
13505         * sp_spell.C (PSpell): fix initialitation order.
13506
13507 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13508
13509         * paragraph.C: spacing
13510
13511 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13512
13513         * sp_spell.C: repair language selection for pspell
13514
13515 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13516
13517         * lyxfunc.h: change more methods to begin with lower char.
13518
13519 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13520
13521         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13522         for unknown layouts.
13523
13524 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13525
13526         * buffer.C (readLyXformat2): Generate an error dialog if there are
13527         unknown layouts.
13528
13529 2001-07-16  Juergen Vigna  <jug@sad.it>
13530
13531         * sp_spell.C: always compile ISpell part.
13532
13533         * lyxrc.C: added use_pspell entry and it's handling.
13534
13535 2001-07-13  Juergen Vigna  <jug@sad.it>
13536
13537         * sp_spell.C: removed double includes.
13538
13539 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13540
13541         Consistent use of Lsstream.h:
13542         * Lsstream.h: added using std::stringstream for consistencies sake.
13543
13544         * buffer.C: removed using std::stringstream
13545
13546         * lyxfont.C (stateText):
13547         * paragraph.C (asString):
13548         * text.C (selectNextWord, selectSelectedWord):
13549         * text2.C (setCounter):
13550         * vspace.C (asString, asLatexString):
13551         std::ostringstream -> ostringstream.
13552
13553 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13554
13555         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13556         * commandtags.h: add LFUN_HELP_ABOUTLYX
13557         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13558
13559 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13560
13561         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13562         cursorToggle()
13563         * lyx_gui_misc.C: remove spellchecker
13564         * lyxfunc.C: showSpellchecker
13565         * sp_base.h: added
13566         * sp_ispell.h: added
13567         * sp_pspell.h: added
13568         * sp_spell.C: added
13569         * sp_form.[Ch]: removed
13570         * spellchecker.[Ch]: removed
13571
13572 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13573
13574         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13575         is set.
13576         (simpleTeXSpecialChars): Simply print the input character without
13577         any special translation if pass_thru is set.
13578
13579         * layout.h: Added bool pass_thru to layout class for being able to
13580         implement pass through of a paragraph for Literate Programming.
13581
13582         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13583         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13584         * layout.C (Read): add "passthru" to list of layout tags and add
13585         code to set the pass_thru boolean when it is read.
13586
13587 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13588
13589         * trans_decl.h: remove allowed from KmodInfo
13590
13591         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13592         remove allowed code
13593         (Load): adjust
13594
13595         * paragraph_pimpl.C (erase): use boost::prior
13596
13597         * Painter.C (text): use data() instead of c_str() when length is
13598         also provided.
13599         * WorkArea.C (putClipboard): ditto
13600         * font.h (width): ditto
13601
13602         * BufferView2.C: use it-> instead of (*it). for iterators
13603         * texrow.C: ditto
13604         * paragraph_pimpl.C: ditto
13605         * paragraph.C: ditto
13606         * minibuffer.C: ditto
13607         * language.C: ditto
13608         * kbmap.C: ditto
13609         * encoding.C: ditto
13610         * counters.C: ditto
13611         * converter.C: ditto
13612         * chset.C: ditto
13613         * Variables.C: ditto
13614         * TextCache.C: ditto
13615         * MenuBackend.C: ditto
13616         * LyXAction.C: ditto
13617         * LColor.C: ditto
13618         * FloatList.C: ditto
13619         * DepTable.C: ditto
13620         * ColorHandler.C (LyXColorHandler): ditto
13621
13622 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13623
13624         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13625
13626         * text2.C (openStuff): reintroduce this method (which had been
13627         nuked in NEW_INSETS frenzy).
13628
13629         * lyxfunc.C (Dispatch): when an action has not been handled, use
13630         its name in the error message, not its number.
13631
13632         * paragraph.C (inInset): change method name to begin with lowercase.
13633
13634         * undo_funcs.C:
13635         * text2.C: updates because of this.
13636
13637 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13638
13639         * ToolbarDefaults.C (add): add spaces in error message
13640
13641 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13642
13643         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13644         (readLyXformat2): rename return_par to first_par, use lyxlex's
13645         pushToken and remove the manual push handling.
13646         (parseSingleLyXformat2Token): add another ert comp. variable:
13647         in_tabular, rename return_par to first_par. handle newlines better
13648
13649 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13650
13651         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13652
13653 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13654
13655         * text2.C (getParFromID): removed
13656
13657         * buffer.C (getParFromID): new method moved form lyxtext.
13658         * BufferView2.C (insertErrors): adjust
13659         (setCursorFromRow): adjust
13660         * BufferView_pimpl.C (restorePosition): adjust
13661         * lyxfunc.C (Dispatch): adjust
13662         * undo_funcs.C (textUndo): adjust
13663         (textRedo): adjust
13664         (textHandleUndo): adjust
13665         (textHandleUndo): adjust
13666
13667 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13668
13669         * buffer.C: up' the LYX_FORMAT
13670
13671         * lyxfont.h: turn NO_LATEX on as default
13672
13673         * buffer.C (insertErtContents): new methods of tex style compability.
13674         (parseSingleLyXformat2Token): use it several places.
13675         * tabular.C (OldFormatRead): and here
13676
13677 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13678
13679         * text2.C: remove some commented code.
13680         reindent file.
13681
13682         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13683         * trans.C: changes because of the above.
13684
13685 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13686
13687         * text2.C (setCounter): Fix counters bug with bibliography layout.
13688
13689 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13690
13691         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13692         own member functions
13693         (simpleTeXSpecialChars): ditto
13694
13695 2001-07-06  Juergen Vigna  <jug@sad.it>
13696
13697         * a lot of files: changed the access to LyXText::status and the
13698         call of undo-functions.
13699
13700         * undo.[Ch]: added a inset_id to the undo informations.
13701
13702         * undo_funcs.[Ch]: added and moved here all undo functions.
13703
13704         * lyxtext.h: give the status enum a weight, made status_ a private
13705         variable and made accessor functions for it, removed the whole bunch
13706         of undo-functions as they are now in their own file, make some
13707         functions publically available. Added function ownerParagraph with
13708         int parameter.
13709
13710         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13711         made InInset() a const function, added getParFromID() function.
13712
13713         * buffer.[Ch]: added const version for inset_iterator functions,
13714         added getInsetFromID() function.
13715
13716         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13717         changed undo functions for new version.
13718
13719 2001-07-05  Juergen Vigna  <jug@sad.it>
13720
13721         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13722         unknow mechanism does not call the proper constructor but only this
13723         one also if I request the other!?
13724
13725 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13726
13727         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13728
13729         * text2.C (LyXText): use initialization lists.
13730
13731         * lyxtext.h (Selection): initialize set_ and mark_
13732         (init): remove method
13733
13734 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13735
13736         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13737
13738 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13739
13740         * screen.[Ch]: change method names to begin with lowercase
13741
13742         * BufferView_pimpl.C (updateScrollbar): simplify further and
13743         hopefully make it a bit faster.
13744
13745 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13746
13747         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13748         calling directly xforms functions.
13749
13750         * Painter.C (Painter):
13751         * lyx_cb.C (MenuWrite):
13752         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13753         fl_display.
13754
13755         * lyx_gui.C: remove bogus guiruntime extern declaration.
13756
13757 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13758
13759         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13760         in NEW_INSETS
13761         (redoDrawingOfParagraph): ditto
13762         (redoParagraphs): ditto
13763         (cutSelection): don't create a object for CutAndPaste use the
13764         static method directly
13765         (pasteSelection): ditto
13766
13767         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13768         LyXview (+ rename)
13769
13770 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13771
13772         * modifications to some other files because of this.
13773
13774         * Makefile.am (lyx_SOURCES): add XFormsView
13775
13776         * XFormsView.[Ch]: new files
13777
13778         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13779         the main window. Move the gui dependent stuff to XFormsView
13780
13781 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13782
13783         * tabular.C (GetCellInset): update cur_cell also in the row/col
13784         version of this function.
13785
13786         * lyxfunc.C: no need to include figure_form.h here.
13787
13788         * FontLoader.h:
13789         * lyxfunc.h:
13790         * lyxscreen.h:
13791         * text2.C:
13792         * lyxvc.C: no need to include forms.h here.
13793
13794 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13795
13796         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13797
13798         * lyxfunc.C (Dispatch):
13799         * Spacing.C (set):
13800         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13801         constructor argument.
13802
13803 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13804
13805         * paragraph.C (Paragraph): dont't clear, and just set layout.
13806         (makeSameLayout): use params's copy contructor.
13807
13808         * ParagraphParameters.[Ch] (makeSame): delete method
13809
13810 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13811
13812         * Variables.[Ch]: fix indentation, rename set to isSet
13813
13814 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13815
13816         * lyxfunc.C (Dispatch): fix typo
13817
13818 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13819
13820         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13821         upper_bound.
13822
13823         * bufferlist.C: include assert.h for emergencyWrite().
13824
13825 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13826
13827         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13828           give up at last (bug #425202) !
13829
13830 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13831
13832         * lyx_gui_misc.C:
13833         * sp_form.h:
13834         * sp_form.C:
13835         * spellchecker.h:
13836         * spellchecker.C: strip spellchecker options and bring up
13837           preferences tab instead
13838
13839 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13840
13841         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13842         the istringstream constructor
13843
13844 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13845
13846         * paragraph.C (getLayout): fix return value
13847
13848         * paragraph.h: do not declare getLayout as inline.
13849
13850         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13851
13852 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13853
13854         * lyxcursor.h (operator<): new func
13855         (operator>): new func
13856         (operator>=): new func
13857         (operator<=): new func
13858
13859         * text.C (changeCase): use selection.start and selection.end
13860         (changeRegionCase): require from to be <= to. Require par to be a
13861         valid paragraph.
13862
13863         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13864
13865 2001-06-27  Juergen Vigna  <jug@sad.it>
13866
13867         * text.C (cursorLeftOneWord): changed to return the cursor and added
13868         overlay with BufferView * parameter which calls this one.
13869         (getWord): added
13870         (selectWord): use new getWord function.
13871         (changeCase): renamed from changeWordCase as and extended to work
13872         also on selections.
13873
13874         * lyxtext.h: added enum word_location
13875
13876         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13877         changeCase as this operates now also on selections.
13878
13879 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13880
13881         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13882
13883         * many files: send debug output to Debug::INFO instead of
13884         Debug::ANY.
13885
13886         * converter.C (View):
13887         (Convert):
13888         (Move): send debug output to Debug::FILES instead of console.
13889
13890 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13891
13892         * lyxfunc.C (getStatus): use func_status
13893
13894         * func_status.h: new header, describing the results of
13895         LyXFunc::getStatus;
13896
13897         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13898         LFUN_MATH_HALIGN.
13899
13900 2001-06-25  The LyX Project  <jug@sad.it>
13901
13902         * buffer.C (sgmlOpenTag):
13903         (sgmlCloseTag):
13904         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13905
13906 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13907
13908         * text2.C: remove some dead code
13909
13910         * tabular.C (GetCellInset): store the last cell checked (gotten)
13911
13912         * tabular.h: add the helper for the speedup
13913
13914         * lyxtext.h: remove some dead code
13915
13916 2001-06-26  The LyX Project  <Asger>
13917
13918         * paragraph.C: Change export to LaTeX of alignment to
13919         \begin{center} and family for better roundtrip work with reLyX.
13920
13921         * Tune the math drawing a bit.
13922
13923 2001-06-25  The LyX Project  <Asger>
13924
13925         * LColor.C (LColor): New color for math background. New color
13926         for buttons.
13927
13928 2001-06-25  The LyX Project  <jug@sad.it>
13929
13930         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13931
13932         * lyxfunc.C (Open):
13933         * bufferlist.C (newFile): do not restrict to files ending with
13934         .lyx
13935
13936         * BufferView_pimpl.C (MenuInsertLyXFile):
13937
13938 2001-06-24  The LyX Project  <jug@sad.it>
13939
13940         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13941         of compare_no_case
13942
13943 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13944
13945         * lyxtext.h: rename most methods to begin with a small char.
13946         Lots of changes because of this.
13947
13948         * paragraph.C (Paragraph): do not call fitToSize
13949         (erase): call Pimpl::erase
13950         (insertChar): call Pimpl::insertChar
13951         (insertInset): call Pipl::insertInset
13952         (breakParagraph): do not call fitToSize
13953         (breakParagraphConservative): do not call fitToSize
13954         (fitToSize): remove method
13955
13956         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13957
13958 2001-06-24  The LyX Project  <Asger>
13959
13960         * Fix Qt compilation^2
13961
13962 2001-06-24  The LyX Project  <jug@sad.it>
13963
13964         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13965         depthHook(getDepth()-1).
13966
13967         * paragraph.h:
13968         * ParagraphParameters.h:
13969         * ParameterStruct.h: change type of depth to unsigned int ==
13970         depth_type. Many adaptations to other files before of that.
13971
13972 2001-06-24  The LyX Project  <Asger>
13973
13974         * Fix Qt compilation.
13975
13976 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13977
13978         * paragraph.h: renamed several methods to begin with small letter.
13979         several changes to many parts of the code because of this.
13980
13981 2001-06-23  The LyX Project  <jug@sad.it>
13982
13983         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13984         rewritten to discard all double spaces when KeepEmpty is off
13985         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13986         to only handle newlines but not fiddle with spaces and friends.
13987
13988         * lyxfunc.C (MenuNew): when doing 'new from template', use
13989         template_path as default directory
13990
13991 2001-06-23  The LyX Project  <Asger>
13992
13993         * Clean-up of header file includes all over
13994         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13995
13996 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13997
13998         * paragraph.h: renamed from lyxparagraph.h
13999
14000 2001-06-23  Asger  <lyx@violet.home.sad.it>
14001
14002         * Buffer.h: Removed Buffer::resize
14003         * BufferList.h: Removed BufferList::resize
14004         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14005         the document lazily when we change the width, or the font settings.
14006
14007 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14008
14009         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14010
14011 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14012
14013         * buffer.h: remove out of date comment
14014
14015 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14016
14017         * lyxscreen.h:
14018         * screen.C: fix "theoretical" GC leak
14019
14020 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14021
14022         * LaTeX.C (scanAuxFile):
14023         (deplog): remove trailing \r when reading stream (useful under
14024         win32)
14025
14026 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14027
14028         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14029         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14030         and BufferView::theLockingInset(Inset*), so should use them and not
14031         access bv_->text->the_locking_inset directly.
14032
14033         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14034
14035 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14036
14037         * Makefile.am:
14038         * tex-defs.h: remove old unused file
14039
14040 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14041
14042         * BufferView_pimpl.C: fix typo, remove minibuffer message
14043           when buffer has loaded
14044
14045 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14046
14047         * lyxfunc.C (Dispatch): use stringstream
14048         (MenuNew): use stringstream
14049         (Open): use stringstream
14050
14051         * importer.C (Import): use stringstream
14052
14053         * bufferview_funcs.C (CurrentState): use stringstream
14054
14055         * LaTeX.C (run): use stringstream
14056
14057         * BufferView_pimpl.C (savePosition): use stringstream
14058         (restorePosition): use stringstream
14059         (MenuInsertLyXFile): use stringstream
14060
14061 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14062
14063         * BufferView.C:
14064         * Bullet.C:
14065         * ColorHandler.C:
14066         * FontInfo.C:
14067         * FontLoader.C:
14068         * LColor.C:
14069         * LaTeXFeatures.C:
14070         * Painter.C:
14071         * gettext.C:
14072         * lyx_gui_misc.C:
14073         * lyxserver.C:
14074         * vspace.C: removed // -*- C++ -*- as first line.
14075
14076         * lyxfind.h:
14077         * version.h: added // -*- C++ -*- as first line.
14078
14079 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14080
14081         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14082
14083         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14084         of string
14085
14086 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14087
14088         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14089         of floats.
14090
14091 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14092
14093         * gettext.C: include LString.h even when --disable-nls is on.
14094
14095 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14096
14097         * converter.h (Get): changed argument type from int to
14098         FormatList::size_type to avoid unnecessary conversion.
14099
14100         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14101         before using it.
14102
14103 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14104
14105         * gettext.h: include LString.h even when --disable-nls is on.
14106
14107 2001-06-07  Juergen Vigna  <jug@sad.it>
14108
14109         * text.C (BreakAgain): subst spaces with tabs.
14110
14111         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14112         (resizeInsetsLyXText): set force on resizeLyXText.
14113
14114 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14115
14116         * gettext.h (gettext_init):
14117         (locale_init): use a real definition instead of a macro
14118
14119 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14120
14121         * Bufferview_pimpl.C:
14122         * LColor.h:
14123         * LColor.C: further lcolor tidies
14124
14125 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14126
14127         * BufferView_pimpl.C (updateScrollbar): simplify.
14128
14129         * BufferView2.C: don't include insets/insetinfo.h, change
14130         prototype for insertInset and call the Pimpl version. let
14131         updateInset call Pimpl version.
14132
14133         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14134         gotoInset to BufferView::Pimpl
14135
14136 2001-06-01  Juergen Vigna  <jug@sad.it>
14137
14138         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14139         inside a LockingInset (is the update needed at all?).
14140
14141 2001-05-31  Juergen Vigna  <jug@sad.it>
14142
14143         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14144         here not the old one otherwise how should we compare it afterwards
14145         if it's the same!
14146
14147 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14148
14149         * lyxfont.C:
14150         * tabular.C:
14151         * tabular-old.C:
14152         * FontInfo.C: bring C functions into global namespace when
14153         necessary
14154
14155 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14156
14157         * LString.h: make sure config.h has been loaded before LString.h.
14158
14159         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14160         (one for each char read by EatLine!).
14161
14162         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14163         variables.
14164
14165 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14166
14167         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14168         to the same as the par we break from
14169
14170 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14171
14172         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14173
14174         * MenuBackend.C (expand): also create menu entries for wide
14175         versions of the floats.
14176
14177         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14178
14179         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14180
14181         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14182         frontends/Makefile.am
14183
14184         * text2.C: adjust
14185         * text.C: adjust
14186
14187
14188         * tabular.C (getTokenValue): add std::
14189
14190         * tabular-old.C (getTokenValue): add std::
14191         (getTokenValue): ditto
14192         (getTokenValue): ditto
14193
14194         * screen.C (ToggleSelection): adjust
14195
14196         * lyxtext.h: put selection cursors inside a Selection struct.
14197
14198         * lyxfunc.C (moveCursorUpdate): adjust
14199
14200         * lyxfont.C (latexWriteStartChanges): add std::
14201
14202         * lyxfind.C: adjust
14203
14204         * font.h: delete with(char const *, LyXFont const &)
14205
14206         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14207
14208         * FontInfo.C (getFontname): add std::
14209
14210         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14211         (workAreaButtonPress): adjust
14212         (tripleClick): adjust
14213         (update): adjust
14214         (moveCursorUpdate): adjust
14215         (Dispatch): adjust
14216
14217         * BufferView2.C (gotoInset): adjust
14218
14219 2001-05-30  Juergen Vigna  <jug@sad.it>
14220
14221         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14222         to check pspell I add this as default as I now have new pspell
14223         libraries and they seem to use this.
14224
14225 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14226
14227         * text2.C (CutSelection): make the cursor valid before the call to
14228         ClearSelection.
14229
14230 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14231
14232         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14233         relied on 0 terminated strings and other horrors. Bug found due to
14234         the new assert in lyxstring!
14235
14236         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14237         KP_ keys.
14238
14239 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14240
14241         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14242         to latinkeys.bind.
14243
14244         * lyxfunc.C (processKeySym): change method of getting to the
14245         self-insert char.
14246
14247         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14248         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14249         * BufferView_pimpl.[Ch]: here as private methods.
14250
14251 2001-05-28  Juergen Vigna  <jug@sad.it>
14252
14253         * text.C (SetHeightOfRow): added the update() call again as it is
14254         needed to initialize inset dimensions!
14255
14256 2001-05-16  Juergen Vigna  <jug@sad.it>
14257
14258         * text2.C (SetCharFont): Add new function with BufferView * and
14259         bool toggleall parameters for setting insets internal fonts.
14260         (SetFont): Freeze the undo as we may change fonts in Insets and
14261         all this change should be inside only one Undo!
14262
14263         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14264         setting font's in insets as for them we have the SetFont function!
14265
14266 2001-05-15  Juergen Vigna  <jug@sad.it>
14267
14268         * text2.C (ClearSelection): to be sure we REALLY don't have any
14269         selection anymore!
14270
14271         * tabular.C (TeXCellPreamble): fixed the left border problem for
14272         multicolumn cells.
14273
14274 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14275
14276         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14277         dependancy file
14278
14279 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14280
14281         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14282         LFUN_BREAKPARAGRAPH.
14283
14284         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14285         help test to "internal only", similar for LFUN_INSERT_URL
14286
14287         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14288         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14289         auto_region_delete and deadkeys.
14290
14291 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14292
14293         * LColor.h:
14294         * LColor.C: remove some dead entries, tidy a little
14295
14296 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14297
14298         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14299         commented code.
14300         (Dispatch): implement LFUN_ESCAPE
14301
14302         * commandtags.h: add LFUN_ESCAPE
14303
14304         * LyXAction.C (init): add entry for LFUN_ESCAPE
14305
14306         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14307         Remove commented code.
14308         (insertNote): moved here
14309         (open_new_inset): moved here
14310
14311         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14312         BufferView_pimpl
14313
14314 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14315
14316         * kbmap.C (findbinding): clean it up and make it work correctly.
14317
14318         * lyx_main.C (init): do not pass argc and argv as parameters
14319
14320 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14321
14322         * buffer.C: fix path for OS/2 & Win32
14323
14324         * lyx_gui.C:
14325         * lyx_main:
14326         * lyx_main.C: Added os:: class.
14327
14328         * os2_defines.h: update
14329
14330 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14331
14332         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14333         better by trying again with reduced state.
14334
14335 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14336
14337         * lyxrc.C (read): print error about invalid key sequence only when
14338         debugging (because not all latinX keysyms are known to some X
14339         servers)
14340
14341         * kbsequence.C (getiso): add a few std:: qualifiers
14342         (getiso): comment out extra return statement.
14343
14344 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14345
14346         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14347         handling.
14348         (Dispatch): enhance the accent inset a bit. (not perfect)
14349
14350 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14351
14352         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14353
14354 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14355
14356         * bufferlist.C (emergencyWrite): fix assert() call
14357
14358 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14359
14360         * text.C (InsertChar): Added trivial patch to only send the "you
14361         can not do multiple spaces this way" message once during a
14362         session.
14363
14364 2001-05-08  Baruch Even  <baruch@lyx.org>
14365
14366         * Makefile.am: Changed order of libraries to get LyX to link properly
14367         with the gnome frontend.
14368
14369 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14370
14371         * LaTeXFeatures.h: add a std:: qualifier
14372
14373 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14374
14375         * paragraph.C (String): use stringstream
14376
14377 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14378
14379         * paragraph.C (writeFile): remove footflag arg
14380
14381         * buffer.C (makeLaTeXFile): use stringstream
14382         (latexParagraphs): remove footnot gurba
14383
14384         * LaTeXFeatures.C (getPackages): use stringstream
14385         (getMacros): likewise
14386         (getTClassPreamble): likewise
14387         (getFloatDefinitions): new method
14388
14389         * paragraph.C (writeFile): reindent
14390         (Erase): reindent
14391
14392         * WorkArea.h: revert the xpos + etc changes.
14393
14394         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14395
14396         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14397
14398         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14399         (pasteSelection): likewise
14400         * text2.C (CreateUndo): likewise
14401
14402 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14403
14404         * minibuffer.C (peek_event): temporarily reduce the functionality
14405         of the minibuffer (to allow args on lfuns)
14406
14407         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14408         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14409
14410         * buffer.C (readInset): add compability reading of old float
14411         lists, add reading of new style float list.
14412         (readInset): avoid reevaluation of inscmd.getCmdName()
14413         (getLists): reindent
14414
14415         * MenuBackend.C (MenuItem): implement parsing of
14416         md_floatlistinsert and md_floatinsert.
14417         (expand::LastFiles): move initalizaton of iterators out of loop,
14418         avoid reevaluation.
14419         (expand::Documents): introduce typdedef vector<string> Strings,
14420         and use it.
14421         (expand::ExportFormats): introduce typedef vector<Format const *>
14422         Formats, and use it.
14423         (expand): implement FloatListInsert and FloatInsert.
14424
14425         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14426         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14427         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14428
14429         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14430         handling.
14431         (Dispatch::LFUN_FLOAT_LIST): implement
14432
14433 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14434
14435         * LaTeX.C (run): Fix problem with --export code.
14436
14437 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14438
14439         * BufferView.[Ch] (workarea): removed.
14440         (getClipboard) new method; wrapper for workarea()->getClipboard()
14441
14442         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14443         bug.
14444
14445         * WorkArea.h (width, height, xpos, ypos): These methods all
14446         returned the dimensions of the work_area sub-area of WorkArea,
14447         resulting in a position error if the WorkArea were resized. Now
14448         return the dimensions of the entire WorkArea.
14449
14450         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14451
14452 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14453
14454         * LaTeX.C (deplog): correct the syntax of regex reg1
14455
14456 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14457
14458         * undo.C: remove !NEW_INSETS cruft
14459
14460 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14461
14462         * text2.C: remove !NEW_INSETS cruft
14463
14464         * text.C: remove !NEW_INSETS cruft
14465
14466         * tabular.C: remove !NEW_INSETS cruft
14467
14468         * spellchecker.C: remove !NEW_INSETS cruft
14469
14470         * lyxtext.h: remove !NEW_INSETS cruft
14471
14472         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14473
14474         * lyxfunc.C: remove !NEW_INSETS cruft
14475
14476         * lyxfind.C: remove !NEW_INSETS cruft
14477
14478         * lyx_cb.C: remove !NEW_INSETS cruft
14479
14480         * figureForm.C: remove  !NEW_INSETS cruft
14481
14482         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14483
14484         * buffer.[Ch]: remove !NEW_INSETS cruft
14485
14486         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14487
14488         * CutAndPaste.C: remove !NEW_INSETS cruft
14489
14490         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14491
14492         * BufferView2.C: remove !NEW_INSETS cruft
14493
14494         * BufferView.h: remove !NEW_INSETS cruft
14495
14496 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14497
14498         * Lsstream.h: include LString.h before the sstream headers to
14499         fix problem with gcc 2.95.3 and lyxstring
14500
14501 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14502
14503         * lyx_main.C: add using directives when needed for C functions
14504         declared in std:: namespace.
14505
14506 2001-04-27  Juergen Vigna  <jug@sad.it>
14507
14508         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14509         (SetHeightOfRow): comment out the update call should not be needed!
14510
14511 2001-04-13  Juergen Vigna  <jug@sad.it>
14512
14513         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14514         (LyXTabular): tried to minimize operator= operations (and realized
14515         hopfully Lars wish).
14516
14517 2001-04-27  Juergen Vigna  <jug@sad.it>
14518
14519         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14520
14521 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14522
14523         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14524
14525         * buffer.C (readInset): hack to make listof algorithm work
14526
14527         * BufferView_pimpl.C: hack to make listof algorithm work
14528
14529 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14530
14531         * LyXAction.C: removed all !NEW_INSETS cruft
14532         (init): moved lfun_item in method
14533
14534         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14535
14536 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14537
14538         * BufferView2.C (theLockingInset): white space.
14539
14540 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14541
14542         * minibuffer.C: include <iostream>
14543
14544         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14545
14546         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14547
14548         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14549
14550         * text.[Ch] (TransposeChars): new method
14551
14552 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14553
14554         * call message directly through LyXView instead of through LyXFunc
14555         * BufferView2.C: adjust
14556         * BufferView_pimpl.C: adjust
14557         * FontLoader.C: adjust
14558         * buffer.C: adjust
14559         * bufferview_funcs.C: adjust
14560         * converter.C: adjust
14561         * figureForm.C: adjust
14562         * importer.C: adjust
14563         * lyx_cb.C: adjust
14564         * lyx_gui_misc.C: adjust
14565         * lyxfunc.C: adjust
14566         * lyxvc.C: adjust
14567         * text2.C: adjust
14568         + more files in subdirs
14569
14570         * lyxparagraph.h (size): move up int file
14571         (GetLayout): ditto
14572
14573         * adjust all uses of Assert to lyx::Assert.
14574
14575         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14576         lyxfunctional in namespace lyx
14577         * layout.C (hasLayout): ditto
14578         (GetLayout): ditto
14579         (GetLayout): ditto
14580         (delete_layout): ditto
14581         (NumberOfClass): ditto
14582         * converter.C (GetFormat): ditto
14583         (GetNumber): ditto
14584         (Add): ditto
14585         (Delete): ditto
14586         (SetViewer): ditto
14587         * bufferlist.C (getFileNames): ditto
14588         (emergencyWriteAll): ditto
14589         (exists): ditto
14590         (getBuffer): ditto
14591         * MenuBackend.C (hasSubmenu): ditto
14592         (hasMenu): ditto
14593         (getMenu): ditto
14594         * BufferView_pimpl.C (getInsetByCode): ditto
14595
14596 2001-04-18  Juergen Vigna  <jug@sad.it>
14597
14598         * vspace.C (asLatexString): fixed the 100% problem.
14599
14600 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14601
14602         * lyxfunc.C (Dispatch):
14603         * minibuffer.C:
14604         * minibuffer.h: add a few std:: qualifiers
14605
14606 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14607
14608         * minibuffer.[Ch]: reimplement so that commands is initiated and
14609         run from lyxfunc, simplified som handling, and made the completion
14610         and history code for complete. wip.
14611
14612         * lyxfunc.C (processKeySym): call message
14613         (miniDispatch): new temporary method
14614         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14615         (LFUN_MESSAGE): implement
14616         (LFUN_MESSAGE_PUSH): implement
14617         (LFUN_MESSAGE_POP): implement
14618         (initMiniBuffer): the initial/defualt minibuffer message.
14619
14620         * lyxfont.[Ch]: inline some more getters
14621
14622         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14623
14624         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14625
14626         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14627         (AutoSave): use LFUN_MESSAGE
14628         (Reconfigure): ditto
14629
14630         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14631
14632         * figureForm.C: use LFUN_MESSAGE
14633
14634         * converter.C (runLaTeX): use LFUN_MESSAGE
14635
14636         * bufferview_funcs.C: use LFUN_MESSAGE
14637         (Melt): ditto
14638         (changeDepth): ditto
14639
14640         * bufferparams.h: use boost::
14641
14642         * bufferlist.h: inherit privately from noncopyable
14643
14644         * bufferlist.C (loadLyXFile): remove some commented code.
14645
14646         * buffer.C (runChktex): use LFUN_MESSAGE
14647
14648         * ShareContainer.h: inherit privately from noncopyable
14649
14650         * ParagraphParameters.[hC] (depth): inline it.
14651
14652         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14653         methods.
14654         (message): new method
14655         (messagePush): ditto
14656         (messagePop): ditto
14657         (show): init minibuffer
14658         (showState): direct call
14659
14660         * LaTeX.[Ch]: inherit privately from noncopyable
14661         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14662         instead of WriteStatus.
14663
14664         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14665
14666         * BufferView_pimpl.C (buffer): don't init minibuffer
14667         (workAreaButtonPress): use LFUN_MESSAGE
14668         (workAreaButtonRelease): ditto
14669         (savePosition): ditto
14670         (restorePosition): ditto
14671         (MenuInsertLyXFile): ditto
14672         (workAreaExpose): don't init minibuffer
14673         (update): remove commented code, simplify
14674
14675         * BufferView2.C (openStuff): use LFUN_MESSAGE
14676         (toggleFloat): ditto
14677         (menuUndo): ditto
14678         (menuRedo): ditto
14679         (copyEnvironment): ditto
14680         (pasteEnvironment): ditto
14681         (copy): ditto
14682         (cut): ditto
14683         (paste): ditto
14684         (gotoInset): ditto
14685         (updateInset): remove some commented code
14686
14687         * lastfiles.h: inherit privately from noncopyable
14688         * layout.h: ditto
14689         * lyx_gui.h: ditto
14690         * lyx_main.h: ditto
14691         * lyxlex.h: ditto
14692         * lyxlex_pimpl.h: ditto
14693
14694         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14695         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14696         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14697
14698         * LyXAction.h: inherit privately from noncopyable, add methods
14699         func_begin, func_end, returning iterators to the func map.
14700
14701         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14702         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14703         (func_begin): new method
14704         (func_end): new method
14705
14706         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14707         and not)
14708         (copySelection): ditto
14709         (pasteSelection): ditto
14710
14711         * BufferView.C: whitespace change
14712         * BufferView.h: inherit privately from noncopyable
14713
14714 2001-04-16  Allan Rae  <rae@lyx.org>
14715
14716         * tabular-old.C (l_getline):
14717         * spellchecker.C (sc_check_word):
14718         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14719         an unrecognised preprocessor directive.  So ensure they're wrapped.
14720
14721 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14722
14723         * src/exporter.C (Export): Give an error message when path to file
14724         contains spaces.
14725
14726 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14727
14728         * LaTeX.C (deplog): Always check that foundfile exists.
14729
14730 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14731
14732         * lyx_main.h:
14733         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14734
14735 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14736
14737         * tabular.[Ch] (getLabelList): implement new method
14738
14739         * minibuffer.h: comment ouf setTiimer
14740
14741         * minibuffer.C (ExecutingCB): constify res
14742         (peek_event): constify s
14743         (Set): constify ntext
14744         (Init): constify nicename
14745
14746         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14747
14748         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14749         (savePosition): use two params to Minibuffer::Set
14750         (restorePosition): ditto
14751
14752 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14753
14754         * lyx_main.C: include language.h
14755
14756         * Makefile.am (lyx_main.o): add language.h
14757
14758 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14759
14760         * exporter.C:
14761         * paragraph.C:
14762         * screen.C:
14763         * tabular.C:
14764         * CutAndPaste.C: include gettext.h
14765
14766         * lyxfont.h: remove old hack with ON and OFF.
14767
14768         * lyxparagraph.h:
14769         * lyxfont.h: do not include language.h...
14770
14771         * BufferView2.C:
14772         * LaTeXFeatures.C:
14773         * Painter.C:
14774         * bufferview_funcs.C:
14775         * font.C:
14776         * lyxfont.C:
14777         * text.C:
14778         * text2.C:
14779         * trans_mgr.C:
14780         * paragraph.C: ... but do it here instead
14781
14782 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14783
14784         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14785
14786         * tabular.C: small reformat
14787
14788         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14789         NEW_INSETS version
14790         (GetChar): ditto
14791         (BreakParagraph): ditto
14792         (SetOnlyLayout): ditto
14793         (SetLayout): ditto
14794
14795         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14796         with one arg less.
14797
14798         * lastfiles.C: removed most using decl, add std:: where needed
14799
14800         * buffer.C: ws changes
14801
14802         * MenuBackend.C (class compare_format): put into anon namespace
14803         (expand): constify label, names, action, action2
14804         (expand):
14805
14806         * text.C (SingleWidth): constify font
14807         (IsBoundary): constify rtl2
14808         (GetVisibleRow): constify ww
14809
14810         * LaTeX.C (deplog): constify logfile
14811
14812         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14813         start_x, end_x
14814         (workAreaExpose): constify widthChange, heightChange
14815
14816         * lyxrow.C (par): moved
14817         (height): moved
14818         (next): moved
14819         * lyxrow.h: as inlines here
14820
14821         * lyxfont.h (shape): moved from lyxfont.C
14822         (emph): moved from lyxfont.C
14823
14824         * lyxfont.C (LyXFont): use initialization list for all
14825         constructors
14826         (shape): move to lyxfont.h as inline
14827         (emph): move to lyxfont.h as inline
14828
14829
14830 2001-04-04  Juergen Vigna  <jug@sad.it>
14831
14832         * vspace.C: had to include stdio.h for use of sscanf
14833
14834 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14835
14836         * BufferView.h:
14837         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14838         independent of xforms.
14839
14840 2001-04-02  Juergen Vigna  <jug@sad.it>
14841
14842         * spellchecker.C: fixed namespace placing!
14843
14844 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14845
14846         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14847         the LyXParagraph * is 0.
14848
14849 2001-03-29  Juergen Vigna  <jug@sad.it>
14850
14851         * vspace.C: added support for %, c%, p%, l%.
14852         (stringFromUnit): added helper function.
14853         (asLatexString): changed to give right results for the %-values.
14854
14855         * buffer.C: convert the widthp in a width%.
14856
14857 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14858
14859         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14860         figureForm.[Ch].
14861
14862         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14863         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14864
14865         * lyx_cb.[Ch]: see above.
14866
14867         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14868         form1.[Ch].
14869
14870         * form1.[Ch]:
14871         * lyx.[Ch]: replaced by figure_form.[Ch].
14872
14873         * lyx_gui.C:
14874         * lyx_gui_misc.C:
14875         * lyxfunc.C: changed headers associated with above changes.
14876
14877 2001-03-27  Juergen Vigna  <jug@sad.it>
14878
14879         * BufferView_pimpl.C: set the temporary cursor right!
14880
14881 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14882
14883         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14884
14885 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14886
14887         * LString.h: removed "using std::getline"!
14888
14889         * BufferView_pimpl.C (Dispatch): changes due to changes in
14890         InsetInclude::Params.
14891
14892         * buffer.C (tag_name): removed redundant break statements as they were
14893         producing lots of warnings with my compiler.
14894
14895 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14896
14897         * LString.h: add "using std::getline" when using the real <string>.
14898
14899 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14900
14901         * buffer.C: removed bitset usage.
14902         PAR_TAG moved to an anonymous name space.
14903         (tag_name): new funtion, also in the anonymous namespace.
14904         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14905         (makeDocBookFile): clean code. Completed transition from string arrays
14906         to string vectors.
14907         (SimpleDocBookOnePar): code clean.
14908
14909 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14910
14911         * tabular.C: add some comments.
14912
14913 2001-03-22  Juergen Vigna  <jug@sad.it>
14914
14915         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14916         compatibility read a bit and fixed bug with minipage in different
14917         depth.
14918
14919 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14920
14921         * buffer.C (pop_tag): removed.
14922         (push_tag): removed.
14923         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14924         array replaced with vector. Added support for CDATA sections.
14925         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14926         at any nest level.
14927         (makeDocBookFile): XML conformant declaration of CDATA section,
14928         fixed bug related to <emphasis> in the first paragraph char.
14929         (sgmlOpenTag): exclude empty tags.
14930         (sgmlCloseTag): ditto.
14931
14932         * buffer.h (pop_tag): removed.
14933         (push_tag): removed.
14934
14935 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14936
14937         * language.h (Languages): added size_type and size().
14938
14939 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14940
14941         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14942         response on compability reading of minipages. One probliem is that
14943         the old usage of minipages was «flertydig»
14944
14945         * several files here and in subdirs: don't use static at file
14946         scope use anon namespaces instead.
14947
14948 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14949
14950         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14951         LaTeX output. This is necessary for Literate document
14952         processing.
14953
14954 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14955
14956         * buffer.C: insert hfill when needed.
14957
14958         * tabular.C (l_getline): use string::erase, small whitespace change.
14959
14960         * BufferView_pimpl.C: try the anon namespace.
14961         * WorkArea.C: ditto
14962
14963 2001-03-16  Juergen Vigna  <jug@sad.it>
14964
14965         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14966         otherwise it won't open options-dialogs.
14967
14968         * buffer.C: honor pextraWidth(p) on converting minipages.
14969
14970         * tabular.C (l_getline): changed the functions to strip trailing \r.
14971
14972 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14973
14974         * BufferView_pimpl.C:
14975         * minibuffer..C: added "using SigC::slot" declaration.
14976
14977 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14978
14979         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14980
14981         * text2.C: ditto
14982
14983         * text.C: ditto
14984
14985         * paragraph.C: ditto
14986
14987         * lyxtext.h: NO_PEXTRA
14988
14989         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14990
14991         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14992         * ParameterStruct.h: ditto
14993         * ParagraphParameters.h: ditto
14994         * lyxparagraph.h: ditto
14995
14996 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14997
14998         * buffer.C: add compability for minipage alignment.
14999         (latexParagraphs): remove unwanted pextra check.
15000
15001         * several files: remove CXX_WORKING_NAMESPACES
15002
15003         * buffer.C (pop_tag): tie is in namespace boost
15004
15005         * BufferView.h: noncopyable is in namespace boost
15006         * lyxlex.h: ditto
15007         * lyx_main.h: ditto
15008         * lyx_gui.h: ditto
15009         * layout.h: ditto
15010         * lastfiles.h: ditto
15011         * bufferlist.h: ditto
15012         * ShareContainer.h: ditto
15013         * LyXView.h: ditto
15014         * LyXAction.h: ditto
15015         * LaTeX.h: ditto
15016
15017 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15018
15019         * Merging changes from BRANCH_MVC back into HEAD.
15020
15021         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15022
15023 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15024
15025         * BufferView_pimpl.C: change from intl.C
15026
15027         * combox.h:
15028         * combox.C:
15029         * Makefile.am: move combox.*
15030
15031         * form1.h:
15032         * form1.C:
15033         * lyx_gui.C:
15034         * intl.h:
15035         * intl.C: remove dialog (covered by prefs)
15036
15037 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15038
15039         * lyxfunc.C (Dispatch): removed redundant break statement.
15040
15041 2001-03-14  Juergen Vigna  <jug@sad.it>
15042
15043         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15044
15045 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15046
15047         * buffer.C: add hack to fix compability reading of minipages.
15048
15049 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15050
15051         * buffer.C (getLists): Cleanup.
15052
15053 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15054
15055         * lyxfont.C (update): don't honor toggleall on font size.
15056
15057 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15058
15059         * bmtable.c:
15060         * bmtable.h:
15061         * Makefile.am: moved to frontends/xforms/
15062
15063         * lyx_gui_misc.C:
15064         * lyxfunc.C:
15065         * BufferView_pimpl.C: changes for moved mathpanel
15066
15067 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15068
15069         * gettext.h: fix gettext_init() in --disable-nls
15070
15071 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15072
15073         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15074
15075 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15076
15077         * lyx.C:
15078         * lyx.h: strip external form
15079
15080 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15081
15082         * BufferView_pimpl.C: add comment, destroySplash()
15083
15084 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15085
15086         * BufferView_pimpl.C:
15087         * LyXAction.C:
15088         * buffer.C:
15089         * commandtags.h:
15090         * lyxfunc.C: use re-worked insetinclude
15091
15092 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15093
15094         * buffer.C: add using std::stringstream.
15095
15096         * lyx_cb.C: readd using std::ios.
15097
15098         * buffer.C: add using std::map.
15099
15100         * BufferView_pimpl.C: add using std::vector.
15101
15102         * ShareContainer.h: add std:: to swap.
15103
15104         * buffer.h: add some typedefs
15105         * buffer.C (getLists): use them
15106         (getLists): renamed from getTocList.
15107         add a counter for the different float types and use it in the
15108         generated string.
15109         (getLists): use the same counter for the NEW_INSETS and the "non"
15110         NEW_INSETS
15111
15112         * lyx_cb.h: remove unused items, includes, using etc.
15113
15114         * ShareContainer.h: remove some commented code, add more comments
15115         and "documentation".
15116
15117 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15118
15119         * buffer.C (getTocList): make the list also when NEW_INSETS is
15120         defined.
15121
15122         * buffer.h: remove TocType
15123
15124         * buffer.C (getTocList): change to return a map<string,
15125         vector<TocItem> >, implement for dynamic number of list.
15126
15127         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15128         * text2.C (PasteSelection): adjust
15129         * CutAndPaste.C (pasteSelection): adjust
15130
15131         * FloatList.C (FloatList): update from the new_insets branch.
15132         * Floating.[Ch]: ditto
15133         * LaTeXFeatures.C: ditto
15134         * buffer.C: ditto
15135         * lyxlex_pimpl.C: ditto
15136
15137         * paragraph.C (Last): remove when NEW_INSETS is defined.
15138
15139         * other file: changes because of the above.
15140
15141 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15142
15143         * lyxparagraph.h: rename next to next_, previous to previous_,
15144         make them private for NEW_INSETS. Rename Next() to next(),
15145         Previous() to previous().
15146
15147         * other files: changes because of the above.
15148
15149 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15150
15151         * BufferView.h:
15152         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15153         problem.
15154
15155 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15156
15157         * main.C (main): pass lyx_localedir to gettext_init().
15158
15159         * gettext.h: remove locale_init and gettext_init macros
15160
15161         * gettext.C (locale_init): new function
15162         (gettext_init): new function
15163
15164         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15165         setlocale().
15166
15167 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15168
15169         * Moved credits to frontends:
15170         * credits.[Ch]: removed
15171         * credits_form.[Ch]: removed
15172         * lyx_gui_misc.C: remove credits stuff
15173         * Makefile.am:
15174
15175 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15176
15177         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15178
15179         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15180         unneeded destructor.
15181
15182         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15183         a standalone pointer again.
15184
15185         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15186
15187 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15188
15189         * Makefile.am:
15190         * filedlg.h:
15191         * filedlg.C:
15192         * LyXAction.C:
15193         * ToolbarDefaults.C:
15194         * bufferlist.C:
15195         * commandtags.h:
15196         * form1.C:
15197         * form1.h:
15198         * lyx_cb.C:
15199         * lyx_cb.h:
15200         * lyxfunc.h:
15201         * lyxfunc.C:
15202         * BufferView_pimpl.C: use new file dialog in GUII
15203
15204         * lyx_cb.h:
15205         * lyx_cb.C: remove LayoutsCB to Toolbar
15206
15207 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15208
15209         * ShareContainer.h (get): add std:: qualifier
15210
15211 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15212
15213         * ShareContainer.h: define a proper ShareContainer::value_type
15214         type (and use typename to please compaq cxx)
15215
15216 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15217
15218         * lyxparagraph.h: move serveral local vars to
15219         ParameterStruct/ParagraphParameters., use ShareContainer in
15220         FontTable., make vars in FontTable private and add getter and
15221         setter.
15222
15223         * paragraph.C: changes because of the above.
15224
15225         * lyxfont.h: remove copy constructor and copy assignment. (the
15226         default ones is ok), move number inside FontBits. move inlines to
15227         lyxfont.C
15228
15229         * lyxfont.C: add number to initializaton of statics, move several
15230         inlines here. constify several local vars. some whitespace
15231         cleanup. Dont hide outerscope variables.
15232
15233         * Spacing.h: add two new constructors to match the set methods.
15234
15235         * ShareContainer.h: new file, will perhaps be moved to support
15236
15237         * ParameterStruct.h: new file
15238
15239         * ParagraphParameters.h: new file
15240
15241         * ParagraphParameters.C: new file
15242
15243         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15244         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15245
15246         * BufferView_pimpl.C: ParagraphParameter changes.
15247         * buffer.C: Likewise.
15248         * bufferview_funcs.C: Likewise.
15249         * text.C: Likewise.
15250         * text2.C: Likewise.
15251
15252 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15253
15254         * lyxfind.C (LyXReplace): do not redefine default argument in
15255         implementation.
15256         (IsStringInText): ditto
15257         (SearchForward): ditto
15258         (SearchBackward): ditto
15259
15260 2001-03-06  Juergen Vigna  <jug@sad.it>
15261
15262         * lyxfind.C (IsStringInText): put parentes around expressions.
15263
15264 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15265
15266         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15267
15268 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15269
15270         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15271
15272         * stl_string_fwd.h: add comment
15273
15274         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15275
15276         * tabular.h:
15277         * tabular.C: remove unused DocBook methods
15278
15279         * intl.C:
15280         * language.C:
15281         * paragraph.C:
15282         * buffer.C:
15283         killed DO_USE_DEFAULT_LANGUAGE
15284
15285 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15286
15287         * lyx_gui.C: do not include language.h.
15288
15289         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15290         arguments in function implementation.
15291
15292 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15293
15294         * BufferView_pimpl.C: add <ctime>
15295
15296 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15297
15298         * BufferView_pimpl.C: add using std::find_if
15299
15300 2001-02-27  José Matos  <jamatos@fep.up.pt>
15301
15302         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15303         by OnlyPath.
15304
15305 2001-02-11  José Matos  <jamatos@fep.up.pt>
15306
15307         * buffer.C (makeDocBookFile): command styles now have a parameter as
15308         "title" by default.
15309
15310 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15311
15312         * layout_forms.[Ch]: removed
15313         * lyx_cb.[Ch]: out character
15314         * lyx_gui.C: out character
15315         * lyx_gui_misc.C: out character
15316         * bufferview_funcs.C: : out character,
15317         added toggleall as parameter in ToggleAndShow
15318
15319 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15320
15321         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15322
15323         * text2.C (SetCurrentFont): Disable number property at boundary.
15324
15325 2001-02-26  Juergen Vigna  <jug@sad.it>
15326
15327         * lyxfunc.C (getStatus): added a string argument override function so
15328         that this is correctly called from LyXFunc::Dispatch if it contains a
15329         do_not_use_argument which is used!
15330         (Dispatch): added check for "custom" export and call appropriate func.
15331
15332 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15333
15334         * lyxrc.C: Add language_command_local, language_use_babel and
15335         language_global_options.
15336
15337         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15338
15339         * buffer.C (makeLaTeXFile): Use language_use_babel and
15340         language_global_options.
15341
15342 2001-02-23  Juergen Vigna  <jug@sad.it>
15343
15344         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15345         which works with LyXText and putted it inside BufferView. Here now we
15346         only call for that part the BufferView::Dispatch() function.
15347
15348         * BufferView.C (Dispatch): added.
15349
15350         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15351         functions which needs to use a LyXText over from LyXFunc.
15352         (MenuInsertLyXFile): added
15353         (getInsetByCode): added
15354         (moveCursorUpdate): added
15355         (static TEXT): added
15356
15357 2001-02-22  Juergen Vigna  <jug@sad.it>
15358
15359         * BufferView_pimpl.C (update): call a status update to see if LyXText
15360         needs it.
15361
15362 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15363
15364         * vc-backend.C (revert): implement for CVS
15365         (getLog): implement for CVS
15366
15367 2001-02-20  Juergen Vigna  <jug@sad.it>
15368
15369         * text2.C (ClearSelection): added BufferView param for inset_owner call
15370
15371         * lyxfunc.C (TEXT): added this function and use it instead of
15372         directly owner->view()-text of getLyXText().
15373
15374 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15375
15376         * src/layout_forms.C: out preamble
15377         * src/layout_forms.h: out preamble
15378         * src/lyx_cb.C: out preamble
15379         * src/lyx_cb.h: out preamble
15380         * src/lyx_gui.C: out preamble
15381         * src/lyx_gui_misc.C: out preamble
15382         * src/lyxfunc.C: connect with guii preamble
15383
15384 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15385
15386         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15387
15388 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15389
15390         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15391         whether to run bibtex.
15392
15393 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15394
15395         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15396
15397 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15398
15399         * Makefile.am (lyx_SOURCES): removed bibforms.h
15400
15401         * vspace.h: doxygen
15402
15403         * text.C (GetVisibleRow): make several local vars const
15404
15405         * tabular.C: small cleanup.
15406
15407         * lyxserver.C (callback): use compare instead of strncmp
15408
15409         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15410         inlines to after class or to paragraph.C
15411
15412         * lyxfont.h: remove friend operator!=
15413
15414         * converter.h: move friend bool operator< to non friend and after
15415         class def.
15416
15417         * combox.h: small cleanup
15418
15419         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15420         to inlines after class def.
15421
15422         * buffer.C (pop_tag): use string operations instead of strcmp
15423
15424         * bmtable.c: doxygen, small cleanup
15425
15426         * LaTeX.h: remove friend operator==
15427
15428 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15429
15430         * screen.C:
15431         * lyxrc.[Ch]:
15432         * lyxfunc.C:
15433         * lyxfont.[Ch]:
15434         * lyx_cb.C:
15435         * intl.[Ch]:
15436         * commandtags.h:
15437         * buffer.C:
15438         * WorkArea.[Ch]:
15439         * LyXAction.C:
15440         * BufferView_pimpl.C:
15441         * BufferView.[Ch]: remove cruft
15442
15443 2001-02-14  Juergen Vigna  <jug@sad.it>
15444
15445         * lyxfunc.C: removed #if 0 unused code
15446
15447         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15448
15449         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15450
15451         * text2.C (SetSelection): added a BufferView * parameter
15452
15453 2001-02-13  Juergen Vigna  <jug@sad.it>
15454
15455         * lyxfunc.C (Dispatch): fixed protected blank problem.
15456         * BufferView2.C (protectedBlank): added LyxText * parameter.
15457
15458         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15459         (AppendColumn): same as above for column_info.
15460
15461         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15462         (moveCursorUpdate): use a LyXText param for support of InsetText.
15463
15464         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15465         (tripleClick): ditto
15466
15467         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15468
15469         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15470
15471         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15472
15473         * text2.C (SetSelection): set correct update status if inset_owner
15474         (ToggleFree): ditto
15475
15476 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15477
15478         * tabular.C: remove some commented code.
15479
15480 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15481
15482         * BufferView_pimpl.C: call hideSplash()
15483
15484         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15485
15486         * include_form.h:
15487         * bibforms.h: remove
15488
15489         * lyxfunc.C:
15490         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15491           add LFUN_CHILD_CREATE
15492
15493         * counters.h: fix tiny typo
15494
15495         * lyx_cb.C:
15496         * lyx.h:
15497         * lyx_gui.C:
15498         * lyx.C: move splash to frontends/xforms/
15499
15500         * lyx_gui_misc.C: move Include and Bibform to frontends
15501
15502         * lyxvc.h: clarify comment
15503
15504         * vspace.C: tiny housekeeping
15505
15506 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15507
15508         * text.C (PrepareToPrint): RTL Fix.
15509
15510         * paragraph.C (GetUChar): New method.
15511         (String):  Use GetUChar.
15512
15513         * buffer.C (asciiParagraph): Use GetUChar.
15514
15515 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15516
15517         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15518
15519 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15520
15521         * buffer.h:
15522         * buffer.C: rename to getLogName(), handle
15523           build log / latex log nicely
15524
15525 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15526
15527         * MenuBackend.C:
15528         * MenuBackend.h: remove support for reference menuitem type.
15529
15530 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15531
15532         * BufferView_pimpl.C: housekeeping
15533         * BufferView_pimpl.h:
15534         * LyXView.h:
15535         * Makefile.am:
15536         * Timeout.C:
15537         * Timeout.h:
15538         * minibuffer.h: move Timeout GUI-I
15539
15540 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15541
15542         * lyxrc.C (read): Update converters data-structures.
15543
15544 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15545
15546         * LaTeX.h (operator!=): add operator != for Aux_Info
15547
15548 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15549
15550         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15551
15552         * LaTeXLog.C: deleted, useful code moved to Buffer
15553
15554         * buffer.h:
15555         * buffer.C: new function getLatexLogName()
15556
15557         * lyx_gui_misc.C:
15558         * lyx_gui.C:
15559         * lyxvc.C:
15560         * lyxvc.h:
15561         * lyxfunc.C: use frontends for LaTeX and VC logs
15562
15563 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15564
15565         * LaTeX.h: yet another std:: that Allan forgot.
15566
15567         * Variables.C (set): renamed from isset(), because this clashes
15568         with some HP-UX macros (grr).
15569
15570 2001-02-06  Allan Rae  <rae@lyx.org>
15571
15572         * LaTeX.h: Another bug fix.  Missing std:: this time.
15573
15574 2001-02-04  Allan Rae  <rae@lyx.org>
15575
15576         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15577         floats problem. I've left it commented out because it's not quite
15578         correct.  It should also test that the current object is a table or
15579         figure inset.  But I haven't gotten around to figuring out how to do
15580         that.  I *think* it'll be something like: "table" == inset.type()
15581
15582         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15583         bool.
15584
15585 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15586
15587         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15588         all the citation/databases/styles in the auxilary file.
15589         (run): Rerun latex if there was a babel language error.
15590
15591 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15592
15593         * text.C (Backspace): Preserve the font when changing newline char
15594         with a space.
15595         (BreakParagraph): If the cursor is before a space, delete the space.
15596
15597         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15598
15599 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15600
15601         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15602         new argument (code).
15603         (ChangeCitationsIfUnique): New method.
15604
15605         * paragraph.C (GetPositionOfInset): Handle bibkey.
15606
15607 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15608
15609         * BufferView_pimpl.h: change type of Position::par_pos to
15610         LyXParagraph::size_type.
15611
15612 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15613
15614         * BufferView_pimpl.C (savePosition, restorePosition): Write
15615         messages to minibuffer.
15616
15617 2001-01-28  José Matos  <jamatos@fep.up.pt>
15618
15619         * buffer.C (makeDocBookFile): adds support for document language.
15620         A silly restriction on the name of LatexCommand types where removed.
15621         Added support for CDATA sections, allows to chars unescaped, used
15622         among others in code, to avoid escape < and >.
15623
15624 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15625
15626         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15627         saved positions instrad of a stack. Furthermore, a position is
15628         stored using paragraph id/paragraph position.
15629
15630         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15631         Remove LFUN_REF_BACK.
15632
15633 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15634
15635         * converter.C (dvipdfm_options): New method.
15636
15637 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15638
15639         * vspace.C (isValidLength): Fix for empty input string.
15640
15641 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15642
15643         * LyXAction.C (init): change description of LFUN_FIGURE to
15644         "Insert Graphics"
15645
15646 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15647
15648         * LaTeX.C: add using directive
15649
15650 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15651
15652         * MenuBackend.C (expand): Fix the sorting of the formats.
15653
15654 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15655
15656         * lyx_main.C: tiny error message fix
15657
15658 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15659
15660         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15661         calling fl_initialize(). This fixes the problem with ',' as
15662         decimal separator in text files.
15663
15664 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15665
15666         * trans.C (process): Fix the keymap bug.
15667
15668 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15669
15670         * LaTeX.C (scanAuxFiles): New method. Provides support for
15671         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15672         (scanLogFile) Scan for "run BibTeX" messages.
15673
15674         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15675         OT1 font encoding. Also, load the aecompl package if the ae
15676         package is loaded.
15677
15678         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15679
15680 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15681
15682         * texrow.C (increasePos): turn two error messages into debug
15683         messages.
15684
15685 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15686
15687         * LaTeX.C (scanAux): Handle the \@input macro.
15688         (runBibTeX): Use scanAux().
15689
15690         * language.C (latex_options_): New field.
15691
15692         * LaTeXFeatures.C (getMacros): Add language macros.
15693
15694         * buffer.C (makeLaTeXFile): Small fix.
15695
15696 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15697
15698         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15699
15700         * text2.C: add a using directive.
15701
15702 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15703
15704         * BufferView2.C:
15705         * lyx_gui_misc.h:
15706         * lyxfr1.C:
15707         * lyxfunc.C: kill LyXBell.
15708
15709 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15710
15711         * text.C (IsBoundary): Remove the error message
15712
15713         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15714
15715         * lyxrc.C (setDefaults): Correct initialization value for
15716         font_norm_type.
15717
15718 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15719
15720         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15721         gotoError().
15722
15723         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15724         and GotoNextNote().
15725
15726         * src/LyXAction.C: Added reference-next.
15727
15728         * text.C (InsertChar): Use contains instead of strchr.
15729
15730         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15731
15732 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15733
15734         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15735         alignment commands (when needed).
15736
15737         * text.C (InsertChar): Add ':' to number separator chars.