]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
5f2510fc83615fcdab3b6b72e5ba14d52f5f28ba
[lyx.git] / src / ChangeLog
1 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * text2.C (insertInset): move cursor when inserting inset.
4
5 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6
7         * kbmap.C (findbindings): a couple of new methods. returns a
8         container of kb_sequence objects. The real work is done by the
9         private recursive version
10         (printbindings): uses findbindings to print out a bracketed list
11         of bindings (renamed from findbinding).
12
13         * MenuBackend.C (binding): use kb_keymap::findbindings
14
15         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
16
17 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
18
19         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
20
21 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
22
23         * paragraph.C (isWord): return true on insets that report
24         isLetter().
25
26         * text.C (getWord): use Paragraph::isWord to decide what is in a
27         word and what is not; fix bug 1609.
28
29 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
30
31         * tex-strings.C: add "none" to string_paperpackages[], fixes
32         off-by-one-error in the paperpackage selection.
33         
34         * lyxlex.[Ch]:
35         * tex-strings.[Ch]: char const * string[n] 
36         -> char const * const string[]
37
38 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
39
40         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
41         command, return early.
42  
43 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
44
45         * debug.h: add DEBUG to enum and fix size of ANY.
46
47         * debug.C: add support for Debug::DEBUG
48         (showTags): cast errorTags.level to unsigned int
49
50         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
51         (redoCurrentBuffer): ditto
52         (updateScrollbar): ditto
53         * cursor.C (dispatch): ditto
54         * text2.C (setLayout): ditto
55         (setFont): ditto
56         (updateCounters): ditto
57         (editXY): ditto
58         (deleteEmptyParagraphMechanism): ditto
59
60 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
61
62         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
63         annotations to cleanup the Makefile slightly.
64
65 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
66
67         * lyxrc.C: do not set user_email to a default value but use empty
68         instead. The entry used to be translated, which does not work
69         since at the point where lyxrc is constructed there is no
70         translation service available
71
72         * messages.C (getLocaleDir): remove and use directly
73         lyx_localedir() instead
74
75 2004-06-02  Angus Leeming  <leeming@lyx.org>
76
77         Fix crash caused by dereferencing null pointer 'exportdata' in
78         OutputParams by creating a new ExportData variable on the heap,
79         storing it in a boost::shared_ptr.
80         The crash was triggered when generating an Instant Preview
81         of an external inset.
82
83         * Makefile.am: add outputparams.C
84
85         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
86         (c-tor): allocate memory to it.
87
88         * exporter.C (c-tor): associated changes.
89
90 2004-06-01  Angus Leeming  <leeming@lyx.org>
91
92         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
93         contains data before calling isInset(0). (Bug 1513.)
94
95 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
96
97         * exporter.C (checkOverwrite): new method
98         * exporter.C (copyFile): new method
99         * exporter.C (Export): copy referenced files to the document dir
100         * exporter.[Ch]: new class ExportedFile
101         * exporter.[Ch]: new class ExportData. Contains currently the
102         names of referenced external files
103         * outputparams.h: add exportdata member.
104
105 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
106
107         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
108         version.C-tmp
109
110 2004-05-19  Angus Leeming  <leeming@lyx.org>
111
112         * LaTeXFeatures.C:
113         * ToolbarBackend.C:
114         * bufferparams.C:
115         * lyxfunc.C: small changes due to the introduction of namespace
116         lyx::frontend and the moving of namespace biblio to lyx::biblio.
117
118 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
119
120         * text3.C (dispatch): supress update when only moving the cursor
121         * cursor.C (selHandle): remove commented code
122
123 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
124
125         * paragraph.C (startTeXParParams): correct column count
126         * CutAndPaste.C (pasteSelection): remove const_cast
127         * output_docbook.C (docbookParagraphs): remove const_cast
128         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
129         const_cast and return ParagraphList::const_iterator
130         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
131         * output_plaintext.C (writeFileAscii): remove const_cast
132         * paragraph.[Ch] (simpleTeXOnePar): make const
133         * paragraph_funcs.C (outerPar): use const iterators
134         * paragraph_pimpl.C (validate): use const iterators
135         * text.C (setHeightOfRow): use const iterators
136
137 2004-05-17  Angus Leeming  <leeming@lyx.org>
138
139         * lfuns.h:
140         * LyXAction.C (init): new LFUN_INSET_REFRESH.
141
142         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
143         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
144         if the citation engine has changed.
145
146 2004-05-14  José Matos  <jamatos@lyx.org>
147
148         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
149         if the textclass does not provide it. Have it different for sgml and
150         xml.
151         support the language of document.
152         * output_docbook.C (docbookParagraphs):
153         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
154         first anchor as the id of the paragraph, remove special case code.
155         * sgml.C (escapeChar): escape only < & >.
156
157 2004-05-14  Angus Leeming  <leeming@lyx.org>
158
159         * bufferparams.h: move biblio::CiteEngine enum here to minimize
160         dependencies on src/frontends/controllers/biblio.h. Define a
161         CiteEngine_enum wrapper class to enable the enum to be forward
162         declared.
163
164 2004-05-12  Angus Leeming  <leeming@lyx.org>
165
166         * buffer.C: up LYX_FORMAT to 234.
167         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
168         use_numerical_citations with a single biblio::CiteEngine cite_engine
169         variable.
170         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
171
172 2004-05-13  José Matos  <jamatos@lyx.org>
173
174         * converter.h:
175         * converter.C (Converter, readFlags): add xml member.
176         * outputparams.h: add XML flavor.
177         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
178
179 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
180
181         * lyxfunc.C (dispatch):
182         (getStatus): fix handling of LFUN_SEQUENCE
183
184 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
185
186         * debug.C (showLevel): do not forget the end-of-line marker
187
188 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
189
190         * kbmap.C (read): do not stop parsing a bind file when an error
191         occurs (bug 1575)
192
193 2004-04-29  Angus Leeming  <leeming@lyx.org>
194
195         * cursor.C:
196         * factory.C:
197         * pariterator.C:
198         * text2.C: wrap a bunch of #warning statements
199         inside #ifdef WITH_WARNINGS blocks.
200
201 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
202
203         * buffer.C: increment format to 233.
204
205 2004-04-28  Angus Leeming  <leeming@lyx.org>
206
207         * BufferView_pimpl.C:
208         * lyxfunc.C:
209         * text3.C:
210         s/updateToolbar()/updateToolbars()/
211         s/Toolbar.h/Toolbars.h/
212
213 2004-04-28  Angus Leeming  <leeming@lyx.org>
214
215         * BufferView.[Ch] (c-tor):
216         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
217         No longer passes these data to the WorkArea generator.
218
219 2004-04-28  Angus Leeming  <leeming@lyx.org>
220
221         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
222
223 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
224
225         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
226
227 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
228
229         * output_latex.C (TeXEnvironment): make sure that there is a line
230         break before \end{foo} for the last paragraph of a document
231         (TeXOnePar): if the paragraph is at the end of the document (or
232         inset) and the language has to be reset, then make sure that the
233         line break is _before_ the language command, not after (fixes bug
234         1225); also make sure that the language reset command is the first
235         thing after the paragraph (to ensure proper nesting of
236         environments and thus fix bug 1404)
237
238 2004-04-21  John Levon  <levon@movementarian.org>
239
240         * ToolbarBackend.h:
241         * ToolbarBackend.C: make "name" be a programmatic name
242         and a gui_name field.
243
244         * lyxfunc.C: display the minibuffer on M-x
245
246 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
247
248         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
249         (bug 1526)
250
251 2004-04-19  Angus Leeming  <leeming@lyx.org>
252
253         * BufferView_pimpl.C (setBuffer): changed preview interface.
254
255         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
256         possible values.
257
258 2004-04-19  John Levon  <levon@movementarian.org>
259
260         * BufferView_pimpl.C:
261         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
262
263 2004-04-05  Angus Leeming  <leeming@lyx.org>
264
265         * text.C (redoParagraphs): add call to updateCounters(), thereby
266         fixing the missing "Figure #:" label from the caption of a
267         figure float.
268
269 2004-04-13  Angus Leeming  <leeming@lyx.org>
270
271         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
272         cursor is clicked out of an inset.
273
274 2004-04-13  Angus Leeming  <leeming@lyx.org>
275
276         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
277         than an InsetOld one.
278
279 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
280
281         * format.[Ch]: add editor to Format
282         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
283         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
284
285 2004-04-08  André Pönitz  <poenitz@gmx.net>
286
287         * metricsinfo.h: remove PainterInfo::width member
288
289 2004-04-08  Angus Leeming  <leeming@lyx.org>
290
291         * lyx_sty.C (boldsymbol_def): modify so that it outputs
292         "\providecommand" rather than "\newcommand", thereby preventing
293         clashes with packages that define "\boldsymbol" themselves.
294         Eg, beamer.
295
296 2004-04-08  Angus Leeming  <leeming@lyx.org>
297
298         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
299         thereby squashing an unnecessary warning.
300
301 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
302
303         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
304         setBuffer()
305
306 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
307
308         * BufferView.C (setCursor): call redoParagraph (some insets could
309         have been opened)
310         (putSelectionAt): remove the 'double update' trick
311
312         * BufferView_pimpl.C (fitCursor): call refreshPar
313         (workAreaDispatch): remove an uneeded update call
314         (dispatch): remove some manual update calls
315
316         * cursor.[Ch]: remove cached_y_, updatePos
317         (selHandle): set noUpdate when appropriate
318
319         * lyxfunc.C (dispatch): track if we need an update
320
321         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
322
323         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
324         (paintSelection): cheap optimization, do not call cursorX when not
325         needed
326         (paintPars): change signature
327         (refreshPar): add
328         (paintText): adjust
329         (paintTextInset): adjust
330
331         * text.C: adjust
332
333 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
334
335         * lengthcommon.C: compilation fix: remove explicit array size from
336         unit_name[] and friends
337
338 2004-04-05  Angus Leeming  <leeming@lyx.org>
339
340         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
341
342         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
343         present only for the preferences dialog.
344         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
345
346 2004-04-05  Angus Leeming  <leeming@lyx.org>
347
348         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
349         to enable the frontends to export changes to lyxrc correctly.
350
351         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
352
353 2004-04-07  André Pönitz  <poenitz@gmx.net>
354
355         * cursor.[Ch] (selClear, adjust): remove math
356
357         * cursor_slice.C: more agressive assert
358
359         * lyxfunc.C:
360         * BufferView_pimpl.C: rework mouse event dispatch
361
362         * dociterator.C:
363         * paragraph.C:
364         * text2.C:
365         * text3.C: adjust
366
367 2004-04-05  André Pönitz  <poenitz@gmx.net>
368
369         * cursor.[Ch] (valign, halign...): remove unneeded functions
370
371 2004-04-05  Angus Leeming  <leeming@lyx.org>
372
373         * lyxlength.[Ch] (unit_name et al.): const-correct.
374
375 2004-04-05  Angus Leeming  <leeming@lyx.org>
376
377         * BufferView_pimpl.C:
378         * buffer.C:
379         * counters.C:
380         * cursor.C:
381         * lyxfunc.C
382         * paragraph.C:
383         * pariterator.C:
384         * text.C:
385         * text2.C:
386         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
387
388 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
389
390         * text3.C (getStatus): add LFUN_BEGINNINGBUF
391
392 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
393
394         * lyxfind.C: add a couple of inTexted() tests + other small fixes
395         * BufferView_pimpl.[Ch] (getStatus)
396         * BufferView.[Ch] (getStatus): add
397         * lyxfunc.C (getStatus): move lfuns handled in
398         BufferView::dispatch to te function above
399         * Cursor.C (setSelection): set selection() = true
400
401 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
402
403         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
404
405 2004-03-31  Angus Leeming  <leeming@lyx.org>
406
407         * lyxfunc.C (dispatch): Fall through to the generic
408         Dialogs::show("preamble").
409
410 2004-03-31  Angus Leeming  <leeming@lyx.org>
411
412         * lyxfunc.C (dispatch): Fall through to the generic
413         Dialogs::show("spellchecker").
414
415 2004-03-31  Angus Leeming  <leeming@lyx.org>
416
417         * lyxfunc.C (getStatus, dispatch): changed invocation of the
418         preferences dialog.
419
420 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
421
422         * BufferView.C
423         * cursor.[Ch]
424         * dociterator.[Ch]:
425         * insetiterator.[Ch]:
426         * lyxfind.C:
427         * lyxfunc.C:
428         * pariterator.[Ch]:
429         * text2.C:
430         * undo.[Ch]: s/DocumentIterator/DocIterator/g
431
432 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
433
434         * BufferView.C (setCursor, putSelectionAt): call edit to open the
435         insets where we are putting the cursor.
436
437 2004-03-31  Angus Leeming  <leeming@lyx.org>
438
439         * lfuns.h:
440         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
441
442         * lyxrc.[Ch] (read, write): overloaded member functions taking
443         a std::[io]stream arguments.
444
445         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
446
447 2004-03-31  Angus Leeming  <leeming@lyx.org>
448
449         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
450         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
451
452         * lyxtextclass.C (load): if the text class couldn't be loaded, then
453         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
454
455 2004-03-31  Angus Leeming  <leeming@lyx.org>
456
457         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
458         the LFUN_ALL_INSETS_TOGGLE code.
459
460 2004-03-30  Angus Leeming  <leeming@lyx.org>
461
462         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
463         has died. Fall through to the generic Dialogs::show("document").
464
465 2004-03-30  Angus Leeming  <leeming@lyx.org>
466
467         * lfuns.h:
468         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
469         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
470
471         * lyxfunc.C (getStatus, dispatch): define the actions for these
472         lfuns. Little more than a cut and pste job from ControlDocument.C
473
474         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
475
476 2004-03-30  Angus Leeming  <leeming@lyx.org>
477
478         * lfuns.h:
479         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
480         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
481
482         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
483         open/closed state of ollapsable insets. Usage:
484
485         all-inset-toggle <state> <name>, where
486         <state> == "open" || "closed" || "toggle" and
487         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
488
489         * lyxtext.h, text2.C (toggleInset): removed.
490
491         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
492         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
493         now passes LFUN_INSET_TOGGLE to the found inset.
494
495         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
496         is now invoked as "all-insets-toggle toggle branch".
497
498 2004-03-30  Angus Leeming  <leeming@lyx.org>
499
500         * dociterator.C:
501         * insetiterator.C:
502         * pariterator.[Ch]: added/corrected header blurb.
503
504 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
505
506         * dociterator.[Ch]: add an inset_ member
507         (backwardPos): implemented
508         (backwardPos, forwardPos): use inset_ when the stack is empty.
509         (doc_iterator_begin, doc_iterator_end): implemented
510         * pariterator.[Ch]: adjust, add begin, end
511         * insetiterator.[Ch]: adjust, add begin, end
512         * cursor.C:
513         * document.C:
514         * BufferView.C:
515         * BufferView_pimpl.C:
516         * CutAndPaste.C: adjust
517
518 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
519
520         * buffer.C: increment file format to 232.
521         * LaTeXFeatures.C: add bibtopic package.
522         * bufferparams.[Ch]: param \use_bibtopic.
523
524         * lyxrc.[Ch]: add lyxrc bibtex_command
525         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
526
527         * buffer.C: increment file format to 231.
528
529 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
530
531         * dociterator.C: implement forwardPar
532         * iterators.[Ch]: remove, replaced by
533         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
534         * BufferView.C:
535         * BufferView_pimpl.C:
536         * CutAndPaste.C:
537         * buffer.C:
538         * bufferview_funcs.C:
539         * cursor.C:
540         * lyxfind.C
541         * lyxfunc.C
542         * paragraph_funcs.C
543         * toc.C:
544         * Makefile.am: adjust
545
546 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
547
548         * CutAndPaste.C (pasteSelection): fix 2 crashes
549         (eraseSelection): fix a crash
550         * paragraph_funcs.C: remove a warning
551
552 2004-03-28  Angus Leeming  <leeming@lyx.org>
553
554         * lfuns.h:
555         * LyXAction.C (init): new LFUN_PRINT.
556
557         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
558
559 2004-03-27  Angus Leeming  <leeming@lyx.org>
560
561         * lfuns.h:
562         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
563
564         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
565
566 2004-03-27  Angus Leeming  <leeming@lyx.org>
567
568         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
569         insetlist always contains non-null pointers to insets.
570
571 2004-03-26  Angus Leeming  <leeming@lyx.org>
572
573         * src/BufferView_pimpl.C:
574         * src/CutAndPaste.C:
575         * src/buffer.C:
576         * src/iterators.C:
577         * src/output_plaintext.C:
578         * src/outputparams.h:
579         * src/paragraph_funcs.C:
580         * src/rowpainter.C:
581         * src/text.C:
582         * src/text2.C:
583         * src/frontends/controllers/ControlErrorList.C:
584         * src/frontends/gtk/FileDialogPrivate.C:
585         * src/frontends/gtk/GPainter.C:
586         * src/frontends/gtk/GToolbar.C:
587         * src/frontends/qt2/QRef.C:
588         * src/mathed/math_scriptinset.C: squash compiler warnings.
589
590 2004-03-26  Angus Leeming  <leeming@lyx.org>
591
592         * ispell.C (LaunchIspell::start):
593         * lyx_cb.C (AutoSaveBuffer::start):
594         invoke run(DontWait) rather than runNonBlocking().
595
596 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
597
598         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
599
600 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
601
602         * kbsequence.C (print): adjust
603
604         * kbmap.C (printKeySym): rename and change signature
605         (printKey): use LyXKeySym::print()
606
607 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
608
609         * undo.C: add using std::advance to compile for stlport
610
611 2004-03-24  Angus Leeming  <leeming@lyx.org>
612
613         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
614         it leads to a crash when no buffer is present.
615
616 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
617             Martin Vermeer  <martin.vermeer@hut.fi>
618
619         * lyxfunc.C (dispatch):
620         * bufferparams.C (readToken): use the new LColor::setColor
621
622         * LColor.[Ch] (setColor): new version that takes two strings as
623         argument and creates a new color entry if necessary
624
625 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
626
627         * buffer.C (makeLaTeXFile): if the main latex file that is
628         processed is usually a subdocument of some master, then pretend
629         for a while that it is actually the master
630
631 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
632
633         * buffer.C (getLabelList):
634         (getBibkeyList): use getMasterBuffer()
635         (getMasterBuffer): new method. Returns the main document in the
636         case where one is using included documents.
637
638 2004-03-25  André Pönitz  <poenitz@gmx.net>
639
640         * Makefile.am:
641         * iterators.[Ch]:
642         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
643
644         * ParagraphList_fwd.h: change ParagraphList to a std::vector
645
646         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
647         text*.C over here. Rename namespace CutAndPaste to lyx::cap
648
649         * ParameterStruct.h: merge with ParagraphParameters
650
651         * lyxtext.h: remove LyXText::parOffset() and getPar()
652
653         * text3.C: Remove all 'manual' update calls. We do now one per user
654         interaction which is completely sufficient.
655
656         * Bidi.C:
657         * BufferView.[Ch]:
658         * BufferView_pimpl.C:
659         * FontIterator.[Ch]:
660         * MenuBackend.C:
661         * ParagraphParameters.[Ch]:
662         * buffer.C:
663         * buffer.h:
664         * bufferlist.C:
665         * cursor.[Ch]:
666         * cursor_slice.[Ch]:
667         * dociterator.[Ch]:
668         * errorlist.[Ch]:
669         * factory.C:
670         * lfuns.h:
671         * lyxfind.C:
672         * lyxfunc.C:
673         * output_docbook.[Ch]:
674         * output_latex.[Ch]:
675         * output_linuxdoc.[Ch]:
676         * output_plaintext.[Ch]:
677         * paragraph.[Ch]:
678         * paragraph_funcs.[Ch]:
679         * paragraph_pimpl.[Ch]:
680         * rowpainter.C:
681         * tabular.[Ch]:
682         * text.C:
683         * text2.C:
684         * toc.C:
685         * undo.[Ch]: adjust
686
687         * frontends/controllers/ControlDocument.C:
688         * frontends/controllers/ControlErrorList.C:
689         * frontends/controllers/ControlSpellchecker.C:
690         * insets/inset.C:
691         * insets/inset.h:
692         * insets/insetbase.h:
693         * insets/insetbibitem.C:
694         * insets/insetbox.C:
695         * insets/insetbranch.C:
696         * insets/insetcaption.C:
697         * insets/insetcharstyle.C:
698         * insets/insetcharstyle.h:
699         * insets/insetcollapsable.C:
700         * insets/insetcollapsable.h:
701         * insets/insetert.C:
702         * insets/insetfloat.C:
703         * insets/insetfoot.C:
704         * insets/insetmarginal.C:
705         * insets/insetnote.C:
706         * insets/insetoptarg.C:
707         * insets/insettabular.C:
708         * insets/insettext.C:
709         * insets/insettext.h:
710         * insets/insetwrap.C:
711         * mathed/math_mboxinset.C:
712         * mathed/math_nestinset.C:
713         * mathed/math_scriptinset.C:
714         * mathed/math_scriptinset.h:
715         * support/types.h:
716
717 2004-03-24  Angus Leeming  <leeming@lyx.org>
718
719         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
720         deal with any child processes that have finished but are waiting to
721         communicate this fact to the rest of LyX.
722
723 2004-03-24  Angus Leeming  <leeming@lyx.org>
724
725         64-bit compile fixes.
726
727         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
728         (c-tor): pass lyx::pos_types rather than ints.
729
730         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
731         lyx::pos_type.
732
733         * text.C (Delete): compile fix.
734         (getPar): ensure that function declaration is the same as that in
735         the header file.
736
737 2004-03-23  Angus Leeming  <leeming@lyx.org>
738
739         * ispell.C (LaunchIspell):
740         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
741         a boost::shred_ptr rather than a std::auto_ptr.
742
743 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
744
745         * lyxfunc.C (getStatus): handle read-only buffers correctly;
746         handle LFUN_FILE_INSERT_*
747
748         * lyxrc.C (setDefaults, getDescription, output, read):
749         * lyxrc.h: remove ps_command
750
751 2004-03-22  Angus Leeming  <leeming@lyx.org>
752
753         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
754         Ensure that error_handler is processed once only and that all data
755         is saved before attempting to output any warning messages.
756
757         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
758
759 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
760
761         * tabular.C (TeXRow): crash fix (from Kayvan and André)
762
763 2004-03-19  André Pönitz  <poenitz@gmx.net>
764
765         * cursor.[Ch] (reset): take main text inset as argument
766
767         * BufferView: adjust
768         * BufferView_pimpl.C: adjust
769
770         * paragraph.[Ch]: fix completely broken operator=()
771
772 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
773
774         * LColor.C (getFromLyXName): make sure that the color name is used
775         as lowercase.
776
777 2004-03-17  Angus Leeming  <leeming@lyx.org>
778
779         * lfuns.h:
780         * LyXAction.C (init): remove LFUN_FORKS_KILL.
781
782         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
783         dialog and to kill a forked process.
784
785 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
786
787         * text2.C (setCursorFromCoordinates): fix font problem
788
789 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
790
791         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
792         bogus "rebuild cursor" code
793
794 2004-03-11  André Pönitz  <poenitz@gmx.net>
795
796         * buffer.[Ch]: use InsetText instead of LyXText as container for
797         the main lyx text.
798
799         * dociterator.[Ch]: drop the BufferView * member which is not needed
800         anymore after the change to buffer.C
801
802         * paragraph_funcs.C:
803         * text.C:
804         * text2.C:
805         * BufferView.[Ch]:
806         * BufferView_pimpl.[Ch]:
807         * cursor.[Ch]:
808         * cursor_slice.[Ch]: adjust
809
810         * text3.C: fix bug in mathDispatch
811
812 2004-03-08  André Pönitz  <poenitz@gmx.net>
813
814         * undo.[Ch]: use 'StableDocumentIterator' as base for
815         the Undo struct.
816
817 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
818
819         * LaTeXFeatures.C:
820         * bufferparams.[Ch]: add jurabib support and param.
821
822         * LaTeX.C: add FIXME/comment.
823
824 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
825
826         * buffer.C: increment file format to 230.
827
828 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
829
830         * cursor.C (dispatch): avoid infinite loops
831
832 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
833
834         * rowpainter.C (paintSelection): fix x coordinates
835
836 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
837
838         * text.C (rowBreakPoint): fix breaking before displayed insets
839
840 2004-03-01  André Pönitz  <poenitz@gmx.net>
841
842         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
843
844         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
845
846         * Makefile.am:
847         * BufferView.C:
848         * BufferView_pimpl.C:
849         * buffer.C:
850         * lyxfind.C:
851         * lyxfunc.C:
852         * text.C:
853         * text2.C:
854         * text3.C: adjust
855
856 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
857
858         * lyxtext.h:
859         * text.C:
860         * text2.C:
861         * rowpainter.C:
862         * BufferView_pimpl.C: rename textwidth -> maxwidth,
863         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
864
865 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
866
867         * Bidi.[Ch] (computeTables): const correctness
868         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
869         fill_hfill, fill_label_hfill and x from Row
870         * lyxtext.h: prepareToPrint returns a RowMetrics
871         * rowPainter.C: adjust
872         * text.C (prepareToPrint): use width, not textWidth. adjust
873         (redoParagraphInternal, cursorX): adjust
874         * text2.C (getColumnNearX): adjust
875         (init): put a default value to the top LyXText::width
876
877 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
878
879         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
880
881 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
882
883         * lyxtext.h: add FontIterator class
884
885         * text.C (FontIterator, operator*, operator->, operator++): add
886         (rowBreakPoint, setRowWidth): adjust (fixing a
887         rebreaking bug)
888
889 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
890
891         * BufferView_pimpl.C (workAreaDispatch): allow also
892         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
893
894 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
895
896         * text.C (rowBreakPoint): fix a bug showing with very large insets
897
898 2004-02-25  André Pönitz  <poenitz@gmx.net>
899
900         * text3.C:
901         * cursor.[Ch]: move some mathed specific code to mathed
902
903 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
904
905         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
906         use_tempdir in preferences
907         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
908         tempfile creation
909         * lyx_main.C: ensure that tempdir is valid
910         * lyxlex.h: correct typo
911         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
912         * paragraph.[Ch] (isMultiLingual): make const
913         * cursor.[Ch] (openable): make const
914
915 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
916
917         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
918
919 2004-02-20  André Pönitz  <poenitz@gmx.net>
920
921         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
922
923         * cursor.[Ch]: prepare for localized getStatus()
924
925         * lyxtext.h:
926         * tabular.C:
927         * text.C:
928         * text2.C:
929         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
930
931 2004-02-20  André Pönitz  <poenitz@gmx.net>
932
933         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
934
935 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
936
937         * text2.C (setCursorFromCoordinates): switch to absolute coords
938         (cursorUp): adjust
939         (cursorDown): adjust
940         * text3.C (dispatch): adjust
941
942 2004-02-16  André Pönitz  <poenitz@gmx.net>
943
944         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
945           insets/ChangeLog)
946
947         * cursor_slice.[Ch]: remove unneeded acessor function
948
949         * lyxtext.h: rename rtl() to isRTL()
950
951         * rowpainter.C:
952         * tabular.C:
953         * text.C:
954         * text2.C:
955         * text3.C: adjust
956
957 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
958
959         * rowpainter.C (paintSelection): coord fix
960
961 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
962
963         * Spacing.C: compile fix
964
965 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
966
967         * cursor.C (dispatch): restore current_ before returning
968
969 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
970
971         * text2.C (cursorUp, cursorDown): fix coords
972         (moveUp): fix crash
973
974 2004-02-12  André Pönitz  <poenitz@gmx.net>
975
976         * lyxtext.h:
977         * text.C:
978         * text2.C:
979         * text3.C: add LCursor & parameter to most cursor movement functions
980           remove usage of LyXText::cursorRow() and cursorPar()
981
982         * cursor.[Ch]: add textRow() needed members
983
984         * BufferView.C:
985         * BufferView_pimpl.C:
986         * paragraph.[Ch]:
987         * BufferView.C:
988         * BufferView_pimpl.C: adjust
989
990 2004-02-11  André Pönitz  <poenitz@gmx.net>
991
992         * lyxfunc.C:
993         * BufferView.[Ch]:
994         * BufferView_pimpl.C: shift undo/redo handling
995
996         * cursor.[Ch]: fix mathed crash
997
998         * lyxfind.C:
999         * lyxtext.h: move selectionAsText to LCursor
1000
1001         * output_latex.C:
1002         * paragraph.C:
1003         * text.C:
1004         * text2.C:
1005         * text3.C: adjust
1006
1007         * rowpainter.C: fix excessive drawing
1008
1009 2004-02-06  André Pönitz  <poenitz@gmx.net>
1010
1011         * BufferView.[Ch]:
1012         * BufferView_pimpl.[Ch]:
1013         * text3.C: move some text specific LFUN handling
1014
1015 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1016
1017         * text3.C (checkInsetHit): adjust coords
1018         * text2.C (getColumnNearX): adjust coords
1019         (edit): adjust coords
1020         * text.C (getRowNearY): add two asserts
1021
1022 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1023
1024         * converter.C:
1025         * format.C: add using std::distance to compile on gcc 2.95/stlport
1026
1027 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1028
1029         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1030
1031 2004-02-04  André Pönitz  <poenitz@gmx.net>
1032
1033         * BufferView.[Ch] (insertInset):
1034         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1035
1036         * text2.C:
1037         * text3.C: adjust
1038
1039 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1040
1041         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1042         on the default clause of the switch
1043         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1044         wasn't catched by LCursor::dispatch
1045
1046 2004-02-03  André Pönitz  <poenitz@gmx.net>
1047
1048         * BufferView.C:
1049         * cursor.[Ch]: some additional asserts
1050
1051         * undo.[Ch]: remove LyXText dependency in interface
1052
1053         * lyxfunc.C: adjust
1054
1055         * lyxtext.h (firstPar, lastPar): remove dead functions
1056
1057         * text.C:
1058         * text2.C:
1059         * text3.C:
1060         * paragraph.[Ch]: adjust
1061
1062 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1063
1064         * lyxfind.C (find): fix argument order in call to ::find
1065
1066 2004-02-02  André Pönitz  <poenitz@gmx.net>
1067
1068         * cursor.[Ch]: remove direct access to anchor
1069
1070         * text.C: remove findText() hack
1071
1072 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1073
1074         * iterators.[Ch] (lockPath): remove in favour of...
1075         * BufferView.[Ch] (setCursor): this addition
1076         * BufferView.C (putSelectionAt): adjust
1077         * undo.C (performUndoOrRedo): adjust
1078         * lyxfunc.C (dispatch): adjust
1079
1080 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1081
1082         * iterators.C (lockPath): add a missing slice
1083         * undo.C (performUndoOrRedo): remove redundant positioning code
1084
1085 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1086
1087         * vc-backend.C (scanMaster): ";" -> ';'
1088
1089 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1090
1091         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1092         std::binary_function
1093
1094         * lyxtextclass.C (compare_name): rename to...
1095         (LayoutNamesEqual): ...this
1096
1097         * lyxlex_pimpl.C (compare_tags): inherit from
1098         std::binary_function, put back into anon namespace
1099
1100         * lyxfind.C (MatchString): inherig from std::binary_function
1101         (findChange): use empty() istead of !size()
1102
1103         * format.C (FormatNamesEqual): new functor
1104         (getFormat): use it
1105         (getNumber): use it
1106         (add): use it
1107         (erase): use it
1108         (setViewer): use it
1109
1110         * converter.C (compare_Converter): rename to...
1111         (ConverterEqual): ...this, and fixup a bit.
1112         (getConverter): use it, and make function const
1113         (getNumber): use it, and make function const
1114         (add): use it
1115         (erase): use it:
1116
1117         * bufferlist.C: add using boost::bind
1118
1119         * MenuBackend.C (MenuNamesEqual): new functor
1120         (hasMenu): use it, and make function const
1121         (hasSubmenu): use nested bind to get rid of compare_memfun.
1122
1123 2004-01-30  André Pönitz  <poenitz@gmx.net>
1124
1125         * BufferView_pimpl.C:
1126         * cursor.C:
1127         * cursor.h:
1128         * cursor_slice.[Ch]:
1129         * lyxfunc.C:
1130         * lyxtext.h:
1131         * paragraph_funcs.C:
1132         * paragraph_funcs.h:
1133         * rowpainter.C:
1134         * text.C:
1135         * text2.C:
1136         * text3.C: move some of the edit(x,y) handling to the insets
1137         some coordinate changes.
1138
1139 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1140
1141         * text.C: add using statements for std::advance and std::distance
1142
1143         * paragraph.C: add using statement for std::distance
1144
1145         * lyxfind.C: add using statement for std::advance
1146
1147         * cursor.C (region): remove std:: from swap
1148         (openable): use nucleus in stead of operator->
1149
1150         * BufferView.C: add using statements for std::distance and std::swap
1151
1152 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1153
1154         * iterators.C: Remove the pimple, move the needed structures to
1155         the header file. Create accessor for the positions stack.
1156         (asPosIterator): remove function
1157
1158         * PosIterator.C (PosIterator): move constructors to top of file
1159         (PosIterator): reimplement the constructor taking a ParIterator in
1160         terms of setFrom.
1161         (setFrom): new function
1162         (operator!=): inline it
1163
1164 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1165
1166         * lyxfind.C (replaceAll): use std::advance
1167
1168         * iterators.h: inherit from std::iterator.
1169
1170         * PosIterator.C (advance, distance): remove
1171         * PosIterator.h: interit from std::iterator.
1172
1173 2004-01-26  André Pönitz  <poenitz@gmx.net>
1174
1175         * BufferView.[Ch]:
1176         * BufferView_pimpl.[Ch]:
1177         * InsetList.[Ch]:
1178         * PosIterator.[Ch]:
1179         * buffer.h:
1180         * bufferview_funcs.C:
1181         * cursor.[Ch]:
1182         * cursor_slice.h:
1183         * factory.[Ch]:
1184         * iterators.[Ch]:
1185         * lyxfind.C:
1186         * lyxfunc.C:
1187         * lyxtext.h:
1188         * output_docbook.C:
1189         * output_latex.C:
1190         * output_linuxdoc.C:
1191         * output_plaintext.C:
1192         * paragraph.[Ch]:
1193         * paragraph_funcs.[Ch]:
1194         * paragraph_pimpl.[Ch]:
1195         * rowpainter.C:
1196         * tabular.C:
1197         * tabular.h:
1198         * text.C:
1199         * text2.C:
1200         * text3.C: more IU:  dumps most of the rest of the mathcursor
1201     implementation into cursor.[Ch]; "globalize" a bit of it.
1202
1203 2004-01-25  Angus Leeming  <leeming@lyx.org>
1204
1205         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1206
1207 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1208
1209         * LaTeXFeatures.h: add nice_ and nice() const
1210         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1211
1212 2004-01-20  André Pönitz  <poenitz@gmx.net>
1213
1214         * BufferView.[Ch]:
1215         * BufferView_pimpl.C:
1216         * PosIterator.C:
1217         * bufferview_funcs.C:
1218         * cursor.[Ch]:
1219         * cursor_slice.[Ch]:
1220         * factory.C:
1221         * iterators.C:
1222         * lyx_cb.C:
1223         * lyxfind.C:
1224         * lyxfunc.C:
1225         * lyxtext.h:
1226         * rowpainter.C:
1227         * text.C:
1228         * text2.C:
1229         * text3.C:
1230         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1231           LCursor and mathcursor parts to LCursor and InsetBase.
1232
1233 2004-01-15  André Pönitz  <poenitz@gmx.net>
1234
1235         * cursor_slice.[Ch]: add a few covienience functions
1236
1237         * funcrequest.[Ch]: remove BufferView * member
1238
1239         * BufferView_pimpl.C:
1240         * cursor.C:
1241         * factory.[Ch]:
1242         * lyxfind.[Ch]:
1243         * lyxfunc.C:
1244         * lyxtext.h:
1245         * text3.C:
1246         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1247
1248 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1249
1250         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1251         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1252
1253 2004-01-13  André Pönitz  <poenitz@gmx.net>
1254
1255         * textcursor.[Ch]:
1256         * lyxtext.h: hide cursor and selection anchor behind accessor function
1257
1258         * BufferView.C:
1259         * BufferView_pimpl.[Ch]:
1260         * PosIterator.C:
1261         * bufferview_funcs.C:
1262         * cursor.h:
1263         * lyxfind.C:
1264         * lyxfunc.C:
1265         * text.C:
1266         * text2.C:
1267         * text3.C:
1268         * undo.C: adjust
1269
1270         * cursor.h:
1271         * cursor_slice.[Ch]: some integer type changes for inset unification
1272
1273         * lyxcursor.[hC]: remove, it's CursorSlice now.
1274
1275         * Makefile.am:
1276         * BufferView_pimpl.[Ch]:
1277         * bufferview_funcs.C:
1278         * cursor_slice.C:
1279         * lyxtext.h:
1280         * text.C:
1281         * text2.C:
1282         * text3.C:
1283         * textcursor.[Ch]: adjust
1284
1285 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1286
1287         * text2.C (undoSpan): add and use
1288         * text.C (breakParagraph): use undoSpan (fix bug 578)
1289         * lyxtext.h: adjust
1290
1291 2004-01-08  Angus Leeming  <leeming@lyx.org>
1292
1293         * BufferView_pimpl.C (MenuInsertLyXFile):
1294         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1295         * lyxfunc.C (menuNew, open, doImport):
1296         FileFilterList change to the FileDialog open and save functions.
1297
1298 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1299
1300         * ShareContainer.h: make isEqual and isUnique adaptable
1301
1302         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1303
1304 2004-01-07  Angus Leeming  <leeming@lyx.org>
1305
1306         * LyXAction.C:
1307         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1308
1309         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1310
1311         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1312         functions replacing find, replace and replaceAll.
1313
1314         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1315         LFUN_WORDFIND(FORWARD|BACKWARD).
1316
1317 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1318
1319         * text.C (breakParagraph): remove an outdated #warning
1320
1321 2004-01-07  André Pönitz  <poenitz@gmx.net>
1322
1323         * lyxfind.C: somewhat clearer logic
1324
1325         * text.C: prevent crash in cursorX on unitialized row cache
1326
1327 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1328
1329         * lyxcursor.[Ch] (operator>): add
1330         * textcursor.C (selStart, selEnd): use std::min and std::max
1331
1332 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1333
1334         * Chktex.C: include boost/format.hpp
1335
1336 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1337
1338         * InsetList.C: replace functor MathcIt with adaptable functor
1339         InsetTablePosLess
1340         (insetIterator): modify accordingly
1341
1342         * BranchList.h: move the BranchNamesEqual functor here from...
1343         * BranchList.C: ... to here
1344
1345         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1346         SameName and match.
1347         (add): replace a finding loop with std::find_if.
1348
1349 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1350
1351         * output_docbook.C: moving LatexParam functionality into
1352         .layout files
1353
1354 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1355
1356         * buffer.C: increment format to 229.
1357
1358 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1359
1360         * LaTeXFeatures.C:
1361         * lyx_sty.[Ch]: remove minipageindent_def
1362
1363         * LyXAction.C:
1364         * factory.C:
1365         * lfuns.h:
1366         * lyxfunc.C:
1367         * text3.C: remove LFUN_INSET_MINIPAGE
1368
1369 2003-12-28  Angus Leeming  <leeming@lyx.org>
1370
1371         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1372
1373 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1374
1375         * text2.C (setParagraph): fix off-by-one crash
1376
1377 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1378
1379         * output_docbook.C: header stuff for AGU
1380
1381 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1382
1383         * text2.C (redoCursor): remove
1384         * text.C:
1385         * text3.C:
1386         * BufferView_pimpl.C: remove calls to redoCursor and
1387         setCursor(cursor.par(), cursor.pos()) all around
1388
1389 2003-12-15  Angus Leeming  <leeming@lyx.org>
1390
1391         * buffer.C: up the format to 228.
1392
1393 2003-12-15  André Pönitz  <poenitz@gmx.net>
1394
1395         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1396         slices
1397
1398         * Makefile.am:
1399
1400         * BufferView_pimpl.C:
1401         * cursor.[Ch]:
1402         * lyxcursor.[Ch]:
1403         * rowpainter.[Ch]:
1404         * lyxtext.h:
1405         * text.C:
1406         * text2.C:
1407         * text3.C: adjust
1408
1409 2003-12-15  Angus Leeming  <leeming@lyx.org>
1410
1411         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1412         than getFromGUIName to manipulate the color.
1413
1414 2003-12-14  Angus Leeming  <leeming@lyx.org>
1415
1416         * BranchList.[Ch]: minimize the API.
1417         (Branch::getBranch, getColor): now return a 'const &'.
1418         (Branch::setSelected) now returns a bool set to true if the
1419         selection status changes.
1420         (BranchList::clear, size, getColor, setColor, setSelected,
1421         allBranches, allSelected, separator): removed.
1422         (BranchList::find): new functions, returning the Branch with
1423         the given name.
1424         (BranchList::add, remove): return a bool indicating that
1425         the operation was successful.
1426
1427         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1428         new InsetBranch::isBranchSlected member function.
1429
1430         * LColor.[Ch]: mimimize the API.
1431         (fill): renamed as addColor and made private.
1432         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1433         versions of these functions taking a string arg have been removed.
1434
1435         * bufferparams.C (readToken):
1436         * lyxfunc.C (dispatch):
1437         * lyxrc.C (read): changes due to the altered BranchList and
1438         LColor APIs.
1439
1440         * factory.C (createInset, readInset): changes due to altered
1441         InsetBranch c-tor.
1442
1443 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1444
1445         * factory.C:
1446         * lyxfunc.C: remove insetminipage. "minipage-insert"
1447         now produces a frameless minipage box inset.
1448
1449 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1450
1451         * textcursor.[Ch] (selStart,selEnd): add new methods
1452         remove selection::start, end, use LyXCursor::operator<
1453         * lyxcursor.[Ch] (operator<): add
1454         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1455         * BufferView.[Ch] (unsetXSel): add
1456         * text2.C (clearSelection): use unsetXSel,adjust
1457         * text.C: adjust
1458         * text3.C: adjust
1459         * rowpainter.C: adjust
1460         * bufferview_funcs.C (put_selection_at): adjust
1461
1462 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1463
1464         * BufferView_pimpl.C: small coord. correction
1465
1466 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1467
1468         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1469         dragging over the splash screen.
1470
1471 2003-12-11  Angus Leeming  <leeming@lyx.org>
1472
1473         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1474         as it is now handled in LyXText::dispatch.
1475
1476         * text3.C (doInsertInset): remove a level of nesting.
1477
1478 2003-12-11  Angus Leeming  <leeming@lyx.org>
1479
1480         * factory.C (createInset): changes due to the changed interface to
1481         InsetCommandMailer::string2params.
1482
1483 2003-12-10  Angus Leeming  <leeming@lyx.org>
1484
1485         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1486         'dialog-show-new-inset <inset name>'
1487
1488 2003-12-10  Angus Leeming  <leeming@lyx.org>
1489
1490         * buffer.C: up the format to 227.
1491
1492         * factory.C: the box inset is now identified simply by 'Box'.
1493
1494 2003-12-10  Angus Leeming  <leeming@lyx.org>
1495
1496         * buffer.C: up the format to 226.
1497
1498         * factory.C: the note inset is now identified simply by 'Note'.
1499
1500 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1501
1502         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1503         when a pit is enough. Standarize a couple of loops.
1504
1505 2003-12-05  Angus Leeming  <leeming@lyx.org>
1506
1507         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1508         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1509         data to the re-worked "log" dialog.
1510
1511 2003-12-03  André Pönitz  <poenitz@gmx.net>
1512
1513         * PosIterator.C:
1514         * iterators.C:
1515         * lyxtext.h:
1516         * output_latex.C:
1517         * paragraph_funcs.C:
1518         * text.C:
1519         * text2.C: use Inset::getText instead of Inset::getParagraph
1520
1521 2003-12-03  André Pönitz  <poenitz@gmx.net>
1522
1523         * buffer.[Ch]:
1524         * lyxtext.h:
1525         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1526         InsetText::read() as LyXText::read()
1527
1528 2003-12-02  Angus Leeming  <leeming@lyx.org>
1529
1530         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1531         type. Add a comment in the implementation that the function uses
1532         the stream's bad() function rather than fail() as the std::streams
1533         would do.
1534
1535 2003-12-02  André Pönitz  <poenitz@gmx.net>
1536
1537         * lyxlex.[Ch]: make interface more similar to std::stream
1538
1539         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1540
1541 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1542
1543         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1544
1545 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1546
1547         * vspace.[Ch]: remove VSpace::NONE
1548
1549 2003-12-01  André Pönitz  <poenitz@gmx.net>
1550
1551         * buffer.[Ch]:
1552         * lyxtext.h: move ParagraphList member to LyXText
1553         rename LyXText::ownerParagraphs to LyXText::paragraph
1554
1555         * CutAndPaste.C:
1556         * bufferview_funcs.C:
1557         * iterators.[Ch]:
1558         * lyx_cb.C:
1559         * paragraph.C:
1560         * rowpainter.C:
1561         * tabular.C:
1562         * text.C:
1563         * text2.C:
1564         * text3.C: adjust
1565
1566         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1567
1568         * undo.C: fix cursor positioning
1569
1570 2003-12-01  John Levon  <levon@movementarian.org>
1571
1572         * BufferView_pimpl.C: fix a crash on exit with
1573         a buffer open
1574
1575 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1576
1577         * BranchList.C: fix setSelected() method.
1578
1579 2003-11-28  André Pönitz  <poenitz@gmx.net>
1580
1581         * ParagraphParameters.[Ch]:
1582         * ParameterStruct.h: remove space above/below from Paragraph to
1583          InsetVSpace
1584
1585         * BufferView_pimpl.C:
1586         * factory.C:
1587         * lyxfunc.C:
1588         * lyxtext.h:
1589         * output_latex.C:
1590         * paragraph.C:
1591         * paragraph_funcs.C:
1592         * rowpainter.[Ch]:
1593         * text.C:
1594         * text2.C:
1595         * text3.C: adjust
1596
1597 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1598
1599         * factory.C: Syntax change for CharStyles
1600
1601 2003-11-28  André Pönitz  <poenitz@gmx.net>
1602
1603         * BufferView.[Ch]:
1604         * BufferView.[Ch]:
1605         * buffer.[Ch]:
1606         * buffer.[Ch]: move LyXText member
1607
1608 2003-11-28  André Pönitz  <poenitz@gmx.net>
1609
1610         * BufferView.[Ch]: make LyXText * text a private member
1611
1612         * BufferView_pimpl.C:
1613         * cursor.C:
1614         * iterators.C:
1615         * lyx_cb.C:
1616         * lyxfind.C:
1617         * lyxtext.h:
1618         * rowpainter.[Ch]:
1619         * text.C:
1620         * text2.C:
1621         * undo.C: adjust
1622
1623         * output_plaintext.C: cleanup
1624
1625 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1626
1627         * buffer.C:
1628         * lyxtextclass.[Ch]: parametrize SGML document header
1629
1630 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1631
1632         * converter.[Ch]:
1633         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1634         getFlavor().
1635
1636 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1637
1638         * text2.C (setFont): rework using PosIterator (no more recursive)
1639         (setCharFont): no more needed
1640         (setLayout): no more selection cursors fiddling (done by redoCursor)
1641         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1642         destroy remaining ones)
1643
1644 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1645
1646         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1647         * lyxtext.h: ditto
1648         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1649         selection cursors
1650         * lyxfunc.C: adjust
1651         * text3.C: adjust + re-allow multi par depth changes
1652         * textcursor.C: simplify a bit
1653
1654 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1655
1656         * src/buffer.C:
1657         * src/lyxlayout.C:
1658         * src/lyxlayout.h:
1659         * src/lyxtext.h:
1660         * src/output_docbook.C:
1661         * src/output_latex.C:
1662         * src/paragraph.C:
1663         * src/paragraph.h:
1664         * src/sgml.C:
1665         * src/sgml.h:
1666         * src/text2.C: Introducing a number of tags parametrizing various
1667         XML formats that we may want to support
1668
1669 2003-11-25  André Pönitz  <poenitz@gmx.net>
1670
1671         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1672
1673         * lyxtext.h (leftMargin/rightMargin): simplify interface
1674
1675         * rowpainter.C:
1676         * text.C:
1677         * text2.C:
1678         * text3.C: adjust
1679
1680 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1681
1682         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1683         master file to any child files. Fixes bug 546.
1684
1685 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1686
1687         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1688
1689 2003-11-24  André Pönitz  <poenitz@gmx.net>
1690
1691         * rowpainter.C: simplification
1692
1693         * text2.C (updateCounters): remove call to redoParagraph on
1694         changed labels as this is far too expensive.
1695
1696 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1697
1698         * converter.C (convert): fix a crash: this function gets
1699         called with buffer == 0 from importer code.
1700
1701 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1702
1703         * text3.C (cursorPrevious): make sure that we do not compare
1704         iterators form different containers.
1705         (cursorNext): ditto
1706
1707         * rowpainter.C (paintSelection): make sure that we do not compare
1708         iterators from different containers.
1709
1710         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1711         iterators from different ParagraphList containers.
1712         [NEXT] ditto
1713
1714         * text2.C (LyXText): change order of initialization slightly
1715         (operator=): new function. copy all variables except cache_par_
1716         (moveUp): make sure that we do not compare iterators from
1717         different ParagraphList constainers.
1718         (moveDown): ditto
1719
1720         * text.C (firstPar): new function
1721         (lastPar): new function
1722         (endPar): new function
1723
1724         * lyxtext.h: move things around and group public functions, public
1725         variables, private functions, private variables
1726
1727 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1728
1729         * factory.C: change call to InsetERT constructor to avoid
1730         additional invocation of method status
1731         * text2.C (toggleInset): remove redundant update() call
1732         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1733         instead of a Bufferview pointer
1734
1735 2003-11-21  André Pönitz  <poenitz@gmx.net>
1736
1737         * rowpainter.C: simplification
1738
1739 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1740
1741         * text3.C (dispatch): make possible to extend a word/row selection
1742         with the mouse
1743
1744 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1745
1746         * lyxtext.h: x0_,y0_ -> xo_,yo_
1747         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1748         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1749         * rowpainter.C (paintRows): paint full paragraphs
1750
1751 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1752
1753         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1754         screen coordinates)
1755
1756 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1757
1758         * lyxtext.h: add x0_, y0_
1759         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1760         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1761
1762 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1763
1764         * text2.C (setCursorIntern): move the x_target update here *
1765         * text3.C: change some bv() to true/false in calls to
1766         cursorUp/Down/Right/Left
1767         * cursor.C: use helper function.
1768
1769 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1770
1771         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1772         * paragraph_funcs.[Ch]: correct comment
1773         * rowpainter.C: do not paint selections away from bv->cursor()
1774         Fix a long standing selection painting bug.
1775         * text3.C: generalize mouse-selection code to LyXTexts other that
1776         top one
1777         * textcursor.C: do not use y coords if we can use par offsets
1778
1779 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1780
1781         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1782         cursor position after e.g. inset insert)
1783
1784 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1785
1786         * lyxfind.C (replace): adjust to locking removal + some
1787         code simplification
1788
1789 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1790
1791         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1792         of the path
1793
1794 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1795
1796         * lyxlayout.[Ch]:
1797         * output_docbook.C: XML sanitation: new layout
1798         parameters InnerTag and CommandDepth
1799
1800 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1801
1802         * BufferView_pimpl.C:
1803         * factory.C:
1804         * text3.C: Fix the insertion and modification of button-style
1805         insets
1806
1807 2003-11-13  André Pönitz  <poenitz@gmx.net>
1808
1809         * InsetList.[Ch]: remove deleteLyXText
1810
1811         * paragraph.[Ch]: cache beginOfBody position
1812
1813         * Bidi.C:
1814         * text.C:
1815         * text2.C:
1816         * text3.C: remove superfluous update() calls
1817
1818         * vspace.C: cleanup
1819
1820 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1821
1822         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1823         * BufferView.C (fitLockedInsetCursor): remove
1824         * cursor.[Ch] (getDim): add
1825         * text.C (getRowNearY): add faster version
1826         * text3.C: remove some update calls
1827
1828 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1829
1830         * LaTeXFeatures.C:
1831         * LyXAction.C:
1832         * MenuBackend.C:
1833         * MenuBackend.h:
1834         * dispatchresult.h:
1835         * factory.C:
1836         * lfuns.h:
1837         * lyxfunc.C:
1838         * lyxtextclass.C:
1839         * lyxtextclass.h:
1840         * text3.C: The Character Style /XML short element patch.
1841
1842 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1843
1844         * text3.C:
1845         * factory.C: Small step to solving 'unable to insert some insets'
1846         problem
1847
1848 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1849
1850         * cursor.[Ch] (updatePos): new function for updating the y
1851         position of the tip inset
1852         * bufferview_funcs.C (put_selection_at):
1853         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1854
1855 2003-11-11  André Pönitz  <poenitz@gmx.net>
1856
1857         * text.C: remove big comment on invalid Paragraph pointers as it is
1858         not valid anymore
1859
1860 2003-11-11  André Pönitz  <poenitz@gmx.net>
1861
1862         * text_funcs.[Ch]: merge with ...
1863
1864         * text.C: ... this
1865
1866         * lyxtext.h:
1867         * text2.C:
1868         * text3.C: adjust
1869
1870         * Makefile.am: remove text_funcs.[Ch]
1871
1872 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1873
1874         * cursor.C (getPos): return absolute cached y coord
1875
1876         * BufferView_pimpl.C (fitCursor): new simplistic code
1877         (workAreaDispatch): add a fitCursor call
1878
1879 2003-11-10  André Pönitz  <poenitz@gmx.net>
1880
1881         * BufferView.[Ch]:
1882         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1883
1884 2003-11-10  André Pönitz  <poenitz@gmx.net>
1885
1886         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1887         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1888         indicate that the cursor needs to leave an inset
1889
1890         * lyxtext.h: remove inset locking
1891
1892         * cursor.[Ch]: re-implement functionality provided by inset locking
1893
1894         * BufferView.[Ch]:
1895         * BufferView_pimpl.[Ch]:
1896         * LyXAction.C:
1897         * bufferview_funcs.[Ch]:
1898         * factory.C:
1899         * funcrequest.[Ch]:
1900         * iterators.C:
1901         * lyx_cb.C:
1902         * lyxfind.C:
1903         * lyxfunc.C:
1904         * text.C:
1905         * text2.C:
1906         * text3.C:
1907         * undo.C: adjust
1908
1909 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1910
1911         * PosIterator.[Ch]: replace the stack with a vector, add inset
1912         accesor
1913         * iterators.[C]: adjust
1914
1915 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1916
1917         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1918         replaced
1919         * paragraph_funcs.C (readParToken): put the correct id in the
1920         error item, not the id of the top paragraph
1921
1922 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1923
1924         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1925         * bufferview_funcs.C (put_selection_at): use the above
1926
1927 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1928
1929         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1930
1931 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1932
1933         * output_linuxdoc.h:
1934         * output_plaintext.h:
1935         * output.h:
1936         * output_docbook.h: add #include statements
1937
1938 2003-11-05  José Matos  <jamatos@lyx.org>
1939
1940         * output_docbook.[Ch]:
1941         * output_latex.[Ch]:
1942         * output_linuxdoc.[Ch]:
1943         * output_plaintext.[Ch]: New files for output formats.
1944         * output.[Ch]: New file for helper functions.
1945
1946         * buffer.[Ch]:
1947         * paragraph_funcs.[Ch]: output functions moved to new files.
1948
1949         * outputparams.h: rename of latexrunparams.h
1950
1951         * LaTeX.[Ch]:
1952         * buffer.[Ch]:
1953         * bufferlist.[Ch]:
1954         * converter.[Ch]:
1955         * exporter.C:
1956         * paragraph.[Ch]:
1957         * paragraph_funcs.[Ch]:
1958         * paragraph_pimpl.[Ch]:
1959         * tabular.[Ch]: rename ascii to plaintext
1960         and LatexRunParams to OutputParams.
1961
1962 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1963
1964         * iterators.[Ch] (text): require bv argument
1965         * undo.C (recordUndo):
1966         * lyxfunc.C (dispatch):
1967         * bufferview_funcs.C (put_selection_at): adjust
1968
1969 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1970
1971         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1972
1973 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1974
1975         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1976         nestings
1977
1978 2003-11-04  André Pönitz  <poenitz@gmx.net>
1979
1980         * cursor.[Ch]: restructure
1981
1982         * BufferView.[Ch]:
1983         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1984
1985         * iterators.[Ch] (asCursor): remove
1986
1987         * lfuns.h: remove LFUN_INSET_EDIT
1988
1989         * lyxfunc.C:
1990         * tabular.C:
1991         * text.C:
1992         * text2.C:
1993         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1994
1995 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1996
1997         * lyxfind.[Ch]: complete overhaul
1998         * BufferView_pimpl.C:
1999         * lyxfunc.C: adjust
2000         * paragraph.[Ch] (insert): add
2001
2002 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2003
2004         * BufferView.[Ch]:
2005         * lyxtext.h:
2006         * text.C: remove dead spellcheck code
2007
2008 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2009
2010         * dispatchresult.h: add a val setter
2011
2012         * cursor.C (dispatch): use a tempvar for data_[i]
2013
2014 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2015
2016         * PosIterator.[Ch]: compile fix
2017
2018 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2019
2020         * text.C (cursorPar): deactivate the cursor cache
2021
2022 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2023
2024         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2025
2026 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2027
2028         * text3.C (dispatch): adjust for new DisptchResult semantics.
2029
2030         * lyxfunc.C (dispatch): handle update when return from
2031         Cursor::dispatch, adjust for new DispatchResult semantics.
2032
2033         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2034         DispatchResult(true) mean to not update. Add class functions for
2035         setting dispatched and update, as well as reading.
2036
2037         * cursor.C (dispatch): don't handle update here
2038
2039 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2040
2041         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2042         * trans_mgr.C: adjust
2043
2044         * paragraph_funcs.C (readParToken): exception safety
2045
2046         * lyxvc.h: store the vcs pointer in a scoped_ptr
2047         * lyxvc.C: adjust
2048
2049         * lyxsocket.C (serverCallback): exception safety
2050
2051         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2052
2053         * ispell.C (clone): make it return a auto_ptr
2054
2055         * factory.C (createInset): exception safety
2056         (readInset): exception safety
2057
2058         * bufferlist.C (newBuffer): exception safety
2059
2060         * Thesaurus.C (Thesaurus): use initialization for aik_
2061
2062         * MenuBackend.C (expandToc): exception safety.
2063
2064 2003-11-03  André Pönitz  <poenitz@gmx.net>
2065
2066         * buffer.C:
2067         * buffer.h:
2068         * bufferview_funcs.C: remove getInsetFromId()
2069
2070         * lyxcursor.[Ch]:
2071         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2072
2073         * lyxfunc.C:
2074         * text2.C:
2075         * text3.C: adjust
2076
2077 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2078
2079         * PosIterator.C (distance, advance): new
2080         * bufferview_funcs.[Ch] (put_selection_at): new
2081         * iterators.[Ch] (lockPath): new
2082
2083 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2084
2085         * iterators.[Ch] (asPosIterator): added
2086         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2087         * PosIterator.[Ch]: added
2088
2089 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2090
2091         * text3.C:
2092         * lyxfunc.C:
2093         * cursor.C (dispatch):
2094         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2095
2096         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2097         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2098         contructor, add a class function dispatched. Remove operator>=
2099
2100 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2101
2102         * debug.C: only use the default constructor for debugstream
2103         (lyxerr) here.
2104
2105         * main.C (main): include debug.h and setup the lyxerr streambuf
2106         here.
2107
2108 2003-10-31  José Matos  <jamatos@lyx.org>
2109
2110         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2111
2112         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2113         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2114         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2115         * paragraph_pimpl.C (simpleTeXSpecialC):
2116         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2117         add LatexRunParams argument.
2118
2119         * exporter.C (Export): change call accordingly.
2120
2121         * latexrunparams.h: add new member to take care of the other backends.
2122 2003-10-30  José Matos  <jamatos@lyx.org>
2123
2124         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2125         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2126         factorise code for paragraph output.
2127         * buffer.[Ch]:
2128         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2129         move functions.
2130
2131 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2132
2133         * text3.C (dispatch):
2134         * lyxfunc.C (dispatch):
2135         * cursor.C (dispatch):
2136         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2137
2138         * dispatchresult.h: make the dispatch_result_t ctor explicit
2139
2140 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2141
2142         * sgml.[Ch]:
2143         * buffer.C: small refactoring of docbook stuff
2144
2145 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2146
2147         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2148         meaning.
2149
2150 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2151
2152         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2153         operator dispatch_result_t, and operators for == != and >=
2154
2155         * cursor.C (dispatch): adjust for operator dispatch_result_t
2156         removal. comment out call to update
2157
2158         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2159
2160 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2161
2162         * text3.C:
2163         * text2.C:
2164         * text.C:
2165         * lyxtext.h:
2166         * lyxfunc.C:
2167         * cursor.C:
2168         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2169         (dispatch):
2170
2171         * dispatchresult.h: new file, DispatchResult broken out of
2172         insets/insetbase.h
2173
2174         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2175
2176 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2177
2178         * text.C (rowBreakPoint): put a hack inside #if 0
2179
2180 2003-10-28  André Pönitz  <poenitz@gmx.net>
2181
2182         * lyxtext.h:
2183         * metricsinfo.C:
2184         * paragraph_funcs.C:
2185         * rowpainter.C:
2186         * text.C:
2187         * text2.C: general cleanup (lots of small stuff)
2188
2189 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2190
2191         * text2.C (cursorEnd): simple fix to the "end key goes to one
2192         before the end on last row" bug
2193
2194 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2195
2196         * text.C (backspace): fix the "zombie characters"
2197
2198 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2199
2200         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2201
2202 2003-10-27  André Pönitz  <poenitz@gmx.net>
2203
2204         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2205
2206         * factory.C: handle new InsetPagebreak, InsetLine
2207
2208         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2209         and move handling into new InsetPagebreak, InsetLine
2210
2211         * BufferView_pimpl.C:
2212         * LyXAction.C:
2213         * ParagraphParameters.C:
2214         * ParameterStruct.h:
2215         * lyxfunc.C:
2216         * lyxtext.h:
2217         * paragraph.C:
2218         * paragraph.h:
2219         * paragraph_funcs.C:
2220         * paragraph_pimpl.C:
2221         * rowpainter.C:
2222         * text.C:
2223         * text2.C:
2224         * text3.C: adjust
2225
2226 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2227
2228         * text.C:
2229         * lyxrow_funcs.[Ch]:
2230         * Bidi.C:
2231         * paragraph.C:
2232         * lyxtext.h:
2233         * rowpainter.C:
2234         * text2.C:
2235         * text3.C: remove lastPos uses in favour of Row::endpos
2236
2237 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2238
2239         * undo.C (performUndoOrRedo): fix two crashes by setting a
2240         cursor by hand and reordering some calls. Use bv->lockInset instead
2241         of inset->edit because the latter loses cursor information
2242
2243 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2244
2245         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2246         by Martin
2247         (rowBreakPoint): fix width. change point to point + 1.
2248         Add a missing check.
2249
2250 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2251
2252         * MenuBackend.C:
2253         * lyxfunc.C: fix (at least partly) the problems
2254         with the Nav menu and headers inside branch insets
2255         reported by Kayvan
2256
2257 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2258
2259         * paragraph.C (getChar): add strong asserts
2260
2261         * lyxrow_funcs.C (lastPos): remove hideous hack
2262
2263         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2264         (fill): adjust to that (avoid an infinite loop)
2265
2266 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2267
2268         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2269
2270 2003-10-23  André Pönitz  <poenitz@gmx.net>
2271
2272         * RowList_fwd.h: change list<> to vector<> to gain speed
2273         after suggestion from Alfredo
2274
2275 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2276
2277         * lyxtext.h: move the bidi stuff from here...
2278         * text.C: and here
2279         * text2.C: and here
2280         * Bidi.[Ch]: ... to here
2281
2282 2003-10-23  André Pönitz  <poenitz@gmx.net>
2283
2284         * lyxtext.h:
2285         * text.C (isLastRow, isFirstRow): new functions
2286
2287         * paragraph.h: new width cache member
2288
2289         * rowpainter.C: replace RowList::iterator with Row & where possible
2290
2291         * lyxfunc.C: replace several view()->text with a single call
2292
2293         * toc.C: fix 'unused' warning
2294
2295 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2296
2297         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2298         when woring with stream::pos_type
2299         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2300
2301 2003-10-22  André Pönitz  <poenitz@gmx.net>
2302
2303         * lyxtext.h:
2304         * text.C: use Row & instead of RowList::iterator
2305
2306         * lyxrow.h: rename end() to endpos()
2307
2308         * rowpainter.C:
2309         * text.C:
2310         * text2.C: adjust
2311
2312 2003-10-22  Angus Leeming  <leeming@lyx.org>
2313
2314         * buffer.[Ch] (fully_loaded): new member function, returning true
2315         only when the file has been loaded fully.
2316         Used to prevent the premature generation of previews and by the
2317         citation inset to prevent computation of the natbib-style label.
2318
2319         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2320         templates are all set up.
2321
2322         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2323
2324 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2325
2326         * text.C: fixed an "oops" in the "is a bit silly"
2327         bug fix
2328
2329 2003-10-21  André Pönitz  <poenitz@gmx.net>
2330
2331         * FuncStatus.[Ch]: small stuff, whitespace
2332
2333         * lyxfont.[Ch]: operator<<() for debug reasons
2334
2335         * lyxfunc.C:
2336         * lyxrow_funcs.C:
2337         * lyxtext.h: whitespace, spelling
2338
2339         * paragraph.C: naming of variables
2340
2341         * text.C:
2342         * text2.C: small stuff
2343
2344
2345 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2346
2347         * text.C: (1) finish off the inset display() work;
2348         (2) fix the "is a bit silly" bug (accessing char
2349         past end of par).
2350
2351 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2352
2353         * text.C: re-introduce display() for insets, fixing the
2354         various bugs (stretch of line above, math inset
2355         positioning, ...)
2356
2357 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2358
2359         * text.C (rightMargin): remove spurious semicolon
2360
2361         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2362         1415)
2363
2364 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2365
2366         * text3.C: fix one crash due to wrong cursor def
2367
2368 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2369
2370         * vc-backend.C (scanMaster): make the regex static
2371
2372         * LaTeX.C (scanAuxFile): make the regexs static
2373
2374         * text3.C (doInsertInset, dispatch, dispatch):
2375         * text2.C (cursorUp, cursorDown):
2376         * text.C (selectNextWordToSpellcheck):
2377         * BufferView_pimpl.C (dispatch):
2378         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2379
2380 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2381
2382         * lyxsocket.C: include <cerrno>
2383
2384 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2385
2386         * lyxfunc.C (dispatch): remove textcache stuff
2387
2388         * bufferlist.C (release): remove textcache stuff
2389         (closeAll): ditto
2390
2391         * TextCache.C: delete file
2392         * TextCache.h: delete file
2393
2394         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2395
2396         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2397         delete of the bv_->text.
2398         (resizeCurrentBuffer): remove texcache stuff
2399         (workAreaResize): ditto
2400
2401 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2402
2403         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2404         action.
2405
2406 2003-10-16  André Pönitz  <poenitz@gmx.net>
2407
2408         * lyxrow.[Ch]:
2409         * paragraph.h:
2410         * rowpainter.C:
2411         * text.C:
2412         * text2.C:
2413         * text3.C: speed up by storing y positions per paragraph plus per-row
2414         offset instead of having a 'full' y position in the row.
2415
2416 2003-10-15  André Pönitz  <poenitz@gmx.net>
2417
2418         * iterators.[Ch]:
2419         * iterators.[Ch]:
2420         * undo.[Ch]: make undo aware of inner insets
2421
2422 2003-10-14  Angus Leeming  <leeming@lyx.org>
2423
2424         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2425         static member functions LyX::ref() and LyX::cref.
2426         (lastfiles): new accessor functions for the new lastfiles_ member var.
2427         (addLyXView, views_): add a new LyXView to the list of views_.
2428         (updateInset): loop over all LyXViews to call their own updateInset
2429         member function, returning a pointer to the Buffer owning the inset.
2430
2431         * BufferView_pimpl.C (loadLyXFile):
2432         * MenuBackend.C (expandLastfiles):
2433         * bufferlist.C (MenuWrite, QuitLyX):
2434         lastfiles is no longer a global variable.
2435         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2436
2437         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2438         static function. Access through LyX::cref().emergencyCleanup().
2439
2440 2003-10-14  André Pönitz  <poenitz@gmx.net>
2441
2442         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2443
2444         * undo.[Ch]: restoring part of 'undo in insets'
2445
2446         * Makefile.am:
2447         * undo_funcs.[Ch]: merge with undo.[Ch]
2448
2449         * tabular.C: small cleansing stuff
2450
2451 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2452
2453         * paragraph_funcs.C (readParToken): report unknown insets as error
2454         boxes. Use the outer paragraph as location (also for unknown
2455         tokens).
2456
2457         * factory.C (readInset): do not abort on reading an unknown inset.
2458         Eat it and return 0.
2459
2460 2003-10-13  Angus Leeming  <leeming@lyx.org>
2461
2462         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2463
2464         * lyxrc.C: displayTranslator is now a function,
2465         declared in GraphicsTypes.h.
2466
2467 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2468
2469         * format.C: new placeholder $$a to pass the socket address.
2470
2471         * bufferlist.[Ch]: new function getBufferFromTmp.
2472
2473         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2474           files in the temporary dir.
2475
2476 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2477
2478         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2479
2480         * Makefile.am: add lyxsocket.[Ch].
2481
2482         * lyx_main.C (error_handler): handle SIGPIPE.
2483
2484 2003-10-13  André Pönitz  <poenitz@gmx.net>
2485
2486         * BufferView_pimpl.C:
2487         * lyxtext.h:
2488         * text.C:
2489         * text2.C:
2490         * text3.C:
2491         * undo_funcs.[Ch]: use paroffset_type instead of
2492           ParagraphList::iterators to prevent multiple conversion
2493           (and get a more robust interface)
2494
2495 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2496
2497         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2498         * lyxtext.h: ditto
2499         * text3.C (dispatch): ditto
2500
2501 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2502
2503         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2504         move the onlyfile, use onlyfile instead of foundfile in a couple
2505         of places.
2506
2507         * DepTable.C (update): flush the error stream a bit more
2508
2509 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2510
2511         * lyxserver.C (callback): adjust
2512
2513         * lyxfunc.C (getStatus): add a missing brace in commented code
2514         (ensureBufferClean): reindent
2515         (dispatch): delete version taking a string
2516
2517 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2518
2519         * LaTeX.C (deplog): move found file handlig from here...
2520         (handleFoundFile): .. to new function here.
2521         (deplog): make sure to discover several files mentioned on the
2522         same log line.
2523
2524 2003-10-10  André Pönitz  <poenitz@gmx.net>
2525
2526         * lyxfunc.C:
2527         * lyxtext.h:
2528         * tabular.C:
2529         * text.C:
2530         * text2.C:
2531         * text3.C: fix some of the tabular crashes
2532
2533 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2534
2535         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2536
2537         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2538
2539 2003-10-09  André Pönitz  <poenitz@gmx.net>
2540
2541         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2542
2543         * BufferView.C:
2544         * BufferView_pimpl.C:
2545         * bufferview_funcs.C:
2546         * lyx_cb.C:
2547         * lyxcursor.C:
2548         * lyxfind.C:
2549         * lyxfunc.C:
2550         * lyxtext.h:
2551         * text.C:
2552         * text2.C:
2553         * text3.C:
2554         * text_funcs.[Ch]:
2555         * textcursor.[Ch]:
2556         * undo_funcs.C: adjust
2557
2558 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2559
2560         * text2.C (incrementItemDepth): new function, use a backtracking
2561         algorithm to discover the correct item depth.
2562         (resetEnumCounterIfNeeded): new function, use a backtracking
2563         algorithm to discover if counter reset is needed.
2564         (setCounter): use them. Simplify a bit. Add different labels for
2565         different item depths for itemize.
2566
2567         * paragraph.C (Paragraph): remove initialization of enumdepth
2568         (operator=): ditto
2569
2570         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2571         enumerate and itemize. Change the type of itemdepth to signed char.
2572
2573 2003-10-08  André Pönitz  <poenitz@gmx.net>
2574
2575         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2576           thing assignable.
2577         * text.C:
2578         * text2.C: adjust
2579
2580         * tabular.[Ch]: fix crash after 'row-insert'
2581
2582 2003-10-08  Angus Leeming  <leeming@lyx.org>
2583
2584         Fix doxygen warnings.
2585
2586         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2587         Remove CutAndPaste:: prefix from header file declaration.
2588
2589         * LColor.h (fill): remove LColor:: prefix from declaration.
2590
2591         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2592         use lyx::depth_type rather than Paragraph::depth_type so that
2593         header file and .C file match.
2594
2595         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2596
2597         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2598         * aspell.C: \file aspell_local.C -> \file aspell.C
2599         * gettext.C: \file gettext.C -> \file src/gettext.C
2600         * gettext.h: \file gettext.h -> \file src/gettext.h
2601         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2602         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2603         * text.C: \file text.C -> \file src/text.C
2604
2605         * toc.C: move comment so that doxygen is not confused.
2606
2607 2003-10-07  Angus Leeming  <leeming@lyx.org>
2608
2609         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2610
2611 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2612
2613         * aspell.C:
2614         * aspell_local.h: add forgotten std::string's.
2615
2616 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2617
2618         * LaTeXFeatures.C:
2619         * LyXAction.C:
2620         * factory.C:
2621         * lfuns.h:
2622         * lyxfunc.C:
2623         * text3.C: The Box patch. Fancybox support, minipage, parbox
2624
2625 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2626
2627         * CutAndPaste.h:
2628         * DepTable.h:
2629         * FloatList.h:
2630         * LaTeXFeatures.h:
2631         * ParagraphParameters.h:
2632         * TextCache.h:
2633         * Thesaurus.h:
2634         * bufferlist.h:
2635         * exporter.h:
2636         * importer.h:
2637         * lastfiles.h:
2638         * lyxfind.h:
2639         * lyxfont.h:
2640         * lyxlex.h:
2641         * lyxtextclasslist.h:
2642         * messages.h:
2643         * paragraph.h:
2644         * paragraph_pimpl.C:
2645         * textcursor.h: add <string> and other small fixes to make Lars'
2646         std::string patch compile with STLport.
2647
2648 2003-10-06  Angus Leeming  <leeming@lyx.org>
2649
2650         * LColor.h: Add missing #include <string>.
2651
2652 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2653
2654         * All most all file in all subdirs: Make <string> be the prefered
2655         way of getting to std::string, add using declarations.
2656
2657 2003-10-06  André Pönitz  <poenitz@gmx.net>
2658
2659         * metricsinfo.C: initialize LyXFont before changing attribute.
2660         (fixes the 'math in \emph is upright' bug)
2661
2662 2003-10-06  André Pönitz  <poenitz@gmx.net>
2663
2664         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2665
2666 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2667
2668         * graph.C:
2669         * paragraph_pimpl.C: Small fixes to build using STLport
2670
2671 2003-10-02  André Pönitz  <poenitz@gmx.net>
2672
2673         * lyxfunc.C:
2674         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2675
2676 2003-10-01  André Pönitz  <poenitz@gmx.net>
2677
2678         * factory.C: assert early
2679
2680 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2681
2682         * lyx_main.C: remove the global debug object
2683
2684         * debug.h: adjust for new debugstream
2685
2686         * debug.C: adjust for new debugstream and keep the global debug
2687         object here.
2688
2689 2003-09-22  Angus Leeming  <leeming@lyx.org>
2690
2691         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2692         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2693         an incomplete class LyXFont.
2694
2695 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2696
2697         * factory.C: bug fix in branches
2698
2699 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2700
2701         * lyxfunc.C (processKeySym): adjust
2702         (dispatch): adjust
2703         (dispatch): change arg name from ev to func, adjust
2704         (sendDispatchMessage): ditto
2705
2706         * lyx_main.C (defaultKeyBindings): adjust keybindings
2707         (deadKeyBindings): ditto
2708
2709         * kbsequence.C (addkey): return a FuncRequest
2710
2711         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2712
2713         * kbmap.C (bind): take a FuncRequest as arg, adjust
2714         (read): adjust
2715         (lookup): adjust
2716         (defkey): change to take a FuncRequest as arg, adjust
2717         (findbinding): take a FuncRequest as arg, adjust.
2718
2719         * funcrequest.h (operator=): added
2720
2721         * funcrequest.C (FuncRequest): default kb_action changed from
2722         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2723
2724         * buffer.C (dispatch): simplify
2725         (dispatch): adjust to take a FuncRequest as arg, adjust
2726
2727         * boost.C (assertion_failed): change assertion message slightly
2728
2729         * ToolbarBackend.C (read): simplify
2730
2731         * MenuBackend.C (binding): adjust call to findbinding, add a
2732         message if no binding is found.
2733         (read): simplify
2734         (expandToc): correct by adding a empty FuncRequest
2735
2736         * LyXAction.C: include <boost/assert.hpp>
2737         (isPseudoAction): delete function
2738         (LookupFunc): change name to...
2739         (lookupFunc): this. change return type to FuncRequest.
2740         (getActionName): take kb_action as arg, simplify
2741         (funcHasFlag): add an assert, simplify.
2742
2743 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2744
2745         * toc.C (action): return a FuncRequest, simplify
2746
2747         * lyxfunc.C (processKeySym): adjust
2748         (getStatus): delete version that takes an int.
2749         (getStatus): adjust
2750         (dispatch): delete version that takes action as int
2751         (dispatch): adjust
2752         (sendDispatchMessage): simplify and adjust
2753
2754         * funcrequest.C (getArg): take unsigned int as arg
2755
2756         * ToolbarBackend.C (read): adjust
2757         (add): delete version that takes func as a string.
2758         (getIton): take a FuncRequest as arg
2759
2760         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2761         action.
2762
2763         * MenuBackend.C (MenuItem): add a new construct that only takes a
2764         Kind, simplify the constructor use for submenus.
2765         (add): adjust
2766         (expandLastfiles): adjust
2767         (expandDocuments): adjust
2768         (expandFormats): adjust
2769         (expandFloatListInsert): adjust
2770         (expandFloatInsert): adjust
2771         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2772
2773         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2774         Remove class variables lyx_pseudo_map and lyx_arg_map
2775
2776         * LyXAction.C (searchActionArg): delete function
2777         (getPseudoAction): delete function
2778         (retrieveActionArg): delete function
2779         (LookupFunc): make it return kb_action, simplify.
2780         (getActionName): simplify
2781
2782         * factory.C (createInset): fix new bug
2783
2784 2003-09-19  Angus Leeming  <leeming@lyx.org>
2785
2786         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2787         masterFilename_ parameter in the include inset.
2788
2789         * factory.C (createInset): changes due to the changes to InsetInclude.
2790
2791 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2792
2793         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2794
2795 2003-09-18  Angus Leeming  <leeming@lyx.org>
2796
2797         * buffer.C:
2798         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2799         Inset::fillWithBibKeys.
2800         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2801
2802 2003-09-18  Angus Leeming  <leeming@lyx.org>
2803
2804         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2805         variables.
2806         (ctor): pass and store a 'Buffer const &'
2807         (buffer): new member function.
2808
2809         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2810         '*this' to the LaTeXFeatures ctor.
2811
2812 2003-09-18  Angus Leeming  <leeming@lyx.org>
2813
2814         * LColor.h:
2815         * lyxfont.C:
2816         * lyxfont.h:
2817         * lyxtext.h:
2818         * text.C: rename EnumLColor as LColor_color.
2819
2820 2003-09-18  Angus Leeming  <leeming@lyx.org>
2821
2822         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2823         remove #include "insets/insetbase.h" from cursor.h.
2824
2825 2003-09-18  Angus Leeming  <leeming@lyx.org>
2826
2827         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2828         InsetOld_code to remove #include "inset.h".
2829
2830         * iterators.C: add #include "insets/inset.h"
2831
2832 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2833
2834         * BufferView.C: remove more locking stuff that apparently doesn't
2835         do anything sensible.
2836
2837 2003-09-16  André Pönitz  <poenitz@gmx.net>
2838
2839         * paragraph.[Ch]:
2840         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2841           performance boost.
2842
2843 2003-09-16  Angus Leeming  <leeming@lyx.org>
2844
2845         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2846
2847         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2848         arg/return type.
2849
2850         * paragraph.h: remove #include "lyxfont.h". Forward declare
2851         LyXFont_size.
2852
2853 2003-09-16  Angus Leeming  <leeming@lyx.org>
2854
2855         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2856         of support/textutils.h.
2857         (isWord): move the contents of support/textutils.h's IsWordChar here.
2858
2859         * buffer.C:
2860         * lyxfind.C:
2861         * rowpainter.C:
2862         * text.C:
2863         * text2.C: add #include "paragraph.h".
2864
2865         * rowpainter.C:
2866         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2867
2868 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2869
2870         * main.C:
2871         * lyx_main.C:
2872         * lyx_cb.C:
2873         * buffer.C:
2874         * LaTeX.C: use namespace alias for lyx::support::os
2875
2876 2003-09-16  Angus Leeming  <leeming@lyx.org>
2877
2878         * bufferparams.C:
2879         * bufferview_funcs.C:
2880         * factory.C:
2881         * lyxfunc.C:
2882         * paragraph_pimpl.C:
2883         * rowpainter.C:
2884         * text.C: add #include "LColor.h".
2885
2886 2003-09-16  Angus Leeming  <leeming@lyx.org>
2887
2888         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2889         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2890         return LyXFont &.
2891         Store the FontBits::color variable as an int rather than as an
2892         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2893         file.
2894
2895         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2896         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2897         string calls together.
2898
2899         * lyxrc.C: add #include "LColor.h".
2900
2901 2003-09-15  Angus Leeming  <leeming@lyx.org>
2902
2903         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2904         a cow_ptr.
2905
2906 2003-09-15  Angus Leeming  <leeming@lyx.org>
2907
2908         * LColor.h: add an EnumLColor wrapper for LColor::color.
2909
2910         * lyxfont.[Ch] (color, setColor, realColor):
2911         * lyxtext.h, text.C (backgroundColor):
2912         pass EnumLColor args to/from the functions, rather than LColor::color
2913         ones.
2914
2915         * lyxfont.h:
2916         * lyxtext.h: forward declare EnumLColor.
2917
2918         * lyx_main.C: add #include "LColor.h".
2919
2920 2003-09-15  Angus Leeming  <leeming@lyx.org>
2921
2922         * .cvsignore: add lyx-gtk.
2923
2924 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2925
2926         * Chktex.C
2927         * LaTeX.C
2928         * LaTeXFeatures.C
2929         * ParagraphParameters.C
2930         * Spacing.C
2931         * buffer.C
2932         * bufferparams.C
2933         * bufferview_funcs.C
2934         * chset.C
2935         * counters.C
2936         * funcrequest.C
2937         * lyxfont.C
2938         * lyxgluelength.C
2939         * lyxlength.C
2940         * paragraph.C
2941         * paragraph_funcs.C
2942         * text3.C
2943         * vc-backend.C: remove usage of STRCONV
2944
2945 2003-09-15  Angus Leeming  <leeming@lyx.org>
2946
2947         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2948         explicitly define the color passed to the painter.
2949
2950 2003-09-15  Angus Leeming  <leeming@lyx.org>
2951
2952         * bufferparams.C (BufferParams): reorder member initializers to avoid
2953         compiler warning.
2954
2955 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2956
2957         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2958         * text.C (updateRowPositions): remove an unusual nop
2959
2960 2003-09-12  André Pönitz  <poenitz@gmx.net>
2961
2962         * BufferView_pimpl.C:
2963         * Bullet.C:
2964         * layout.h:
2965         * lyxfunc.C:
2966         * lyxlayout.[Ch]:
2967         * lyxtextclass.C:
2968         * rowpainter.C:
2969         * text.C:
2970         * text2.C:
2971         * Counters.[Ch]: finish the 'automatic counters' job
2972
2973 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2974
2975         * aspell.C: include <boost/assert.cpp> (compile fix)
2976
2977 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2978
2979         * boost.C (assertion_failed): use lyx::support::abort instead of
2980         assert.
2981
2982 2003-09-10  Angus Leeming  <leeming@lyx.org>
2983
2984         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2985         with their _fwd progeny.
2986
2987 2003-09-09  Angus Leeming  <leeming@lyx.org>
2988
2989         134 files throughtout the source tree: replace 'using namespace abc;'
2990         directives with the appropriate 'using abc::xyz;' declarations.
2991
2992 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2993
2994         * boost.C (emergencyCleanup): moved here from LAssert.c
2995         (assertion_failed): new function, called by BOOST_ASSERT
2996
2997         * several files: change Assert to BOOST_ASSERT
2998
2999 2003-09-09  Angus Leeming  <leeming@lyx.org>
3000
3001         * buffer.[Ch]: Add an Impl class and move Buffer's member
3002         variables into it. As a result move several header files out of
3003         buffer.h.
3004
3005         Add header files to lots of .C files all over the tree as a result.
3006
3007 2003-09-09  Angus Leeming  <leeming@lyx.org>
3008
3009         * buffer.[Ch]: make Buffer's member variables private. Add
3010         accessor functions.
3011
3012         Lots of changes all over the tree as a result.
3013
3014 2003-09-08  Angus Leeming  <leeming@lyx.org>
3015
3016         * graph.C: #include <config.h>.
3017
3018 2003-09-08  Angus Leeming  <leeming@lyx.org>
3019
3020         * BranchList.C:
3021         * BufferView.C:
3022         * BufferView_pimpl.C:
3023         * CutAndPaste.C:
3024         * DepTable.C:
3025         * LaTeX.C:
3026         * LaTeXFeatures.C:
3027         * LyXAction.C:
3028         * MenuBackend.C:
3029         * TextCache.C:
3030         * aspell.C:
3031         * buffer.C:
3032         * bufferlist.C:
3033         * changes.C:
3034         * chset.C:
3035         * converter.C:
3036         * counters.C:
3037         * debug.C:
3038         * graph.C:
3039         * ispell.C:
3040         * lyx_cb.C:
3041         * lyxfind.C:
3042         * lyxfunc.C:
3043         * lyxlex_pimpl.C:
3044         * lyxrc.C:
3045         * lyxrow.C:
3046         * paragraph.C:
3047         * rowpainter.C:
3048         * texrow.C:
3049         * text.C:
3050         * text2.C:
3051         * toc.C: remove redundant using directives.
3052
3053 2003-09-07  Angus Leeming  <leeming@lyx.org>
3054
3055         * LaTeXFeatures.h: remove #include "support/types.h".
3056         * ToolbarBackend.h: remove #include <algorithm>.
3057         * changes.h: remove #include <ctime>.
3058         * debug.h: remove #include <iosfwd>.
3059         * graph.h: remove #include "support/std_string.h".
3060         * lyx_main.h: remove #include <csignal>.
3061         * lyxlex_pimpl.h: remove #include <fstream>.
3062         * sgml.h: remove #include <algorithm>, <utility>.
3063         * toc.h: remove #include "support/std_ostream.h".
3064         Add #include <iosfwd>.
3065
3066 2003-09-07  Angus Leeming  <leeming@lyx.org>
3067
3068         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3069
3070         * converter.h: forward declare LatexRunParams.
3071         * encoding.h: remove #include "lyxrc.h".
3072         * lyxtext.h: remove #include "LColor.h".
3073         * lyxtextclass.h: remove #include "support/types.h".
3074         * trans.h: remove #include "tex-accent.h".
3075         * trans_mgr.h: remove #include "tex-accent.h".
3076         * insets/inset.h: remove #include "support/types.h", <vector>.
3077         * insets/insetcollapsable.h: remove #include "LColor.h".
3078         * insets/insetinclude.h: remove #include "dimension.h".
3079         * insets/insetlatexaccent.h: remove #include "dimension.h".
3080         * insets/insetoptarg.h:: remove #include "insettext.h".
3081         * insets/insettext.h: remove #include "dimension.h",
3082         <boost/shared_ptr.hpp>
3083
3084         * insets/renderers.h: add #include "dimension.h".
3085         * insets/updatableinset.h: add #include "support/types.h".
3086
3087         * many .C files: Associated changes.
3088
3089 2003-09-06  Angus Leeming  <leeming@lyx.org>
3090
3091         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3092         one, inside testInvariant.
3093
3094         * PrinterParams.C: new file.
3095         * PrinterParams.[Ch]: move the function bodies out of line.
3096
3097 2003-09-06  Angus Leeming  <leeming@lyx.org>
3098
3099         * ParagraphParameters.h: forward declare ParameterStruct rather than
3100         including its header file.
3101         (depth): moved out-of-line.
3102
3103 2003-09-06  Angus Leeming  <leeming@lyx.org>
3104
3105         * BufferView_pimpl.h:
3106         * kbmap.h:
3107         * kbsequence.h:
3108         * lyxfunc.h: forward declare LyXKeySym rather than
3109         #include "frontends/LyXKeySym.h".
3110
3111         * BufferView_pimpl.C:
3112         * kbmap.C:
3113         * kbsequence.C:
3114         * lyxfunc.C: associated changes.
3115
3116 2003-09-06  Angus Leeming  <leeming@lyx.org>
3117
3118         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3119         As a result, can remove the #include "insets/inset.h" from BufferView.h
3120
3121 2003-09-06  Angus Leeming  <leeming@lyx.org>
3122
3123         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3124         As a result, can remove the #include "insets/inset.h" from BufferView.h
3125
3126 2003-09-06  Angus Leeming  <leeming@lyx.org>
3127
3128         * buffer_funcs.C:
3129         * buffer.h:
3130         * bufferlist.C:
3131         * BufferView.C:
3132         * bufferview_funcs.C:
3133         * BufferView_pimpl.C:
3134         * CutAndPaste.C:
3135         * lyx_cb.C:
3136         * lyxfunc.C:
3137         * paragraph.h:
3138         * ParagraphParameters.C:
3139         * tabular.C:
3140         * text3.C:
3141         * toc.C:
3142         * undo_funcs.C:
3143         * frontends/controllers/ControlDocument.C:
3144         * insets/insetcaption.C: rearrange the #includes into some sort of
3145         coherent order.
3146
3147         * buffer.h: remove #includes ErrorList.h, undo.h
3148
3149 2003-09-06  Angus Leeming  <leeming@lyx.org>
3150
3151         * support/types.h: add a 'depth_type' typedef, used to store the
3152         nesting depth of a paragraph.
3153
3154         * paragraph.h:
3155         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3156         defining explicitly.
3157
3158         * buffer.h:
3159         * paragraph_funcs.h:
3160         * ParagraphParameters.h:
3161         * sgml.h: use lyx::depth_type rather than Paragraph or
3162         ParameterStruct's depth_type.
3163
3164         * buffer.h
3165         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3166
3167         * BufferView.C:
3168         * BufferView_pimpl.C:
3169         * CutAndPaste.C:
3170         * ParagraphParameters.C:
3171         * buffer_funcs.C:
3172         * bufferlist.C:
3173         * bufferview_funcs.C:
3174         * lyx_cb.C:
3175         * lyxfunc.C:
3176         * tabular.C:
3177         * text3.C:
3178         * toc.C:
3179         * undo_funcs.C:
3180         * frontends/LyXView.C:
3181         * frontends/controllers/ControlDocument.C:
3182         * frontends/controllers/ControlErrorList.C:
3183         * insets/insetbibitem.C:
3184         * insets/insetbranch.C:
3185         * insets/insetcaption.C:
3186         * insets/insetcollapsable.C:
3187         * insets/insetenv.C:
3188         * insets/insetert.C:
3189         * insets/insetfloat.C:
3190         * insets/insetfoot.C:
3191         * insets/insetfootlike.C:
3192         * insets/insetnewline.C:
3193         * insets/insetquotes.C:
3194         * insets/insettabular.C:
3195         * insets/insettext.C:
3196         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3197
3198         * frontends/controllers/ControlChanges.C: #include "changes.h".
3199
3200 2003-09-06  Angus Leeming  <leeming@lyx.org>
3201
3202         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3203         than #including paragraph.h.
3204
3205         * ParagraphList.h:
3206         * RowList.h: deleted. Superfluous.
3207
3208         * CutAndPaste.h:
3209         * iterators.h:
3210         * lyxcursor.h:
3211         * lyxtext.h:
3212         * text_funcs.h:
3213         * undo.h:
3214         * undo_funcs.h:
3215         * insets/inset.h:
3216         * insets/insettext.h: use ParagraphList_fwd.h rather than
3217         ParagraphList.h.
3218
3219         * paragraph.h: don't forward declare ParagraphList.
3220
3221         * buffer.h:
3222         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3223         rather than ParagraphList.h. paragraph.h is still needed for the
3224         Paragraph::depth_type parameters.
3225
3226         * textcursor.h: enable it to compile stand-alone in light of the
3227         above changes.
3228
3229         * bufferview_funcs.C:
3230         * iterators.C:
3231         * lyxfunc.C:
3232         * lyxrow_funcs.C:
3233         * paragraph.C:
3234         * rowpainter.C:
3235         * text.C:
3236         * text2.C:
3237         * text3.C:
3238         * text_funcs.C:
3239         * textcursor.C:
3240         * undo.C:
3241         * frontends/controllers/ControlParagraph.C:
3242         * frontends/controllers/ControlTabular.C:
3243         * insets/insetmarginal.C:
3244         * insets/insetminipage.C:
3245         * insets/insetnote.C:
3246         * insets/insetoptarg.C: add header files needed to compile again.
3247
3248 2003-09-06  Angus Leeming  <leeming@lyx.org>
3249
3250         * RowList_fwd.h: new file, forward-declaring Row rather than
3251         #including lyxrow.h.
3252
3253         * lyxrow_funcs.h:
3254         * lyxtext.h:
3255         * paragraph.h:
3256         * insets/insettext.h: use it instead of RowList.h
3257
3258         * bufferview_funcs.C:
3259         * lyxfunc.C:
3260         * lyxrow_funcs.C:
3261         * paragraph.C:
3262         * rowpainter.C:
3263         * text.C:
3264         * text2.C:
3265         * text3.C: #include "RowList.h".
3266
3267 2003-09-05  Angus Leeming  <leeming@lyx.org>
3268
3269         * factory.C (createInset):
3270         * vspace.C (c-tor): replace sscanf call with an istringstream.
3271         * ispell.C: re-add missing HP/UX headers.
3272         * lyxserver.C: re-add missing  os2 headers.
3273
3274 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3275
3276         * BranchList.C:
3277         * graph.C:
3278         * ispell.C:
3279         * lastfiles.C:
3280         * lyx_cb.C:
3281         * lyxserver.C:
3282         * texrow.C:
3283         * text3.C: re-add missing system headers, needed for 2.95.2.
3284
3285 2003-09-05  Angus Leeming  <leeming@lyx.org>
3286
3287         Changes most place everywhere due to the removal of using directives
3288         from support/std_sstream.h.
3289
3290 2003-09-05  Angus Leeming  <leeming@lyx.org>
3291
3292         Replace LString.h with support/std_string.h,
3293         Lsstream.h with support/std_sstream.h,
3294         support/LIstream.h with support/std_istream.h,
3295         support/LOstream.h with support/std_ostream.h.
3296
3297         Changes resulting throughout the tree.
3298
3299 2003-09-05  Angus Leeming  <leeming@lyx.org>
3300
3301         * sgml.h: ensure that the header file can be compiled stand-alone.
3302         * *.C: strip out redundant #includes. (320 in total.)
3303
3304 2003-09-04  Angus Leeming  <leeming@lyx.org>
3305
3306         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3307         here (from getPackages).
3308
3309         * debug.[Ch]: add a new EXTERNAL tag.
3310
3311 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3312
3313         * text2.C (cursorEnd): simplify
3314         (setCursor): adjust
3315         (getColumnNearX): adjust
3316
3317         * text.C (computeBidiTables): adjust
3318         (fill): adjust
3319
3320         * rowpainter.C (paintChars): adjust
3321         (paintSelection): adjust
3322         (paintChangeBar): adjust
3323         (paintText): adjust
3324
3325         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3326         lastPos instead.
3327         (numberOfSeparators): adjust
3328
3329 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3330
3331         * LyXAction.C:
3332         * box.[Ch]:
3333         * lfuns.h:
3334         * lyxfunc.C:
3335         * text3.C: Restricts the mouse click functionality
3336         of insets like bibtex, include, toc and floatlist to the visible
3337         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3338         up the dialogs. Cursor has to be in front of the inset (i.e.
3339         start of row) for this to function.
3340
3341 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3342
3343         * bufferview_funcs.C (currentState): output row information
3344
3345 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3346
3347         * bufferview_funcs.C (currentState): output paragraph position
3348
3349 2003-09-04  Angus Leeming  <leeming@lyx.org>
3350
3351         * FloatList.h: move out #include "Floating.h".
3352         * LaTeX.h: move out #include "DepTable.h".
3353         * LyXAction.h: move out #include "funcrequest.h".
3354         * buffer.h: move out #include "author.h", "iterators.h".
3355         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3356         * lyx_main.h: move out #include "errorlist.h".
3357         * lyxfunc.h: move out #include "FuncStatus.h".
3358         * lyxtext: move out #include "lyxcursor.h".
3359         * paragraph_pimpl.h: move out #include "counters.h".
3360
3361 2003-09-03  Angus Leeming  <leeming@lyx.org>
3362
3363         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3364         preamble_snippets list, enabling us to add snippets to the preamble
3365         only if the snippet was not there already.
3366
3367 2003-09-04  Angus Leeming  <leeming@lyx.org>
3368
3369         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3370
3371 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3372
3373         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3374         update
3375
3376 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3377
3378         * BranchList.C: point fix, earlier forgotten
3379
3380 2003-09-02  Angus Leeming  <leeming@lyx.org>
3381
3382         * box.C (contains): renamed from 'contained' after a fantastic
3383         amount of hot air.
3384
3385 2003-09-02  John Levon  <levon@movementarian.org>
3386
3387         * BufferView.C:
3388         * lyxcursor.h:
3389         * lyxcursor.C:
3390         * lyxfunc.C:
3391         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3392
3393 2003-09-02  John Levon  <levon@movementarian.org>
3394
3395         * text2.C: simplification of cursorEnd(), including partial
3396         fix for bug 1376
3397
3398 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3399
3400         * buffer.C (readFile): add a space
3401
3402 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3403
3404         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3405
3406 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3407
3408         * buffer.C (readFile): new function, take a filename and a
3409         ParagraphList::iterator
3410         (readFile): adjust
3411         (readFile): adjust, make it private. don't use setStream, make
3412         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3413         always contain the filename.
3414
3415         * BufferView.C (insertLyXFile): simplify and make it work for
3416         gzipped files.
3417
3418 2003-08-30  John Levon  <levon@movementarian.org>
3419
3420         * Makefile.am: fix dist (from Kayvan)
3421
3422 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3423
3424         * most files: change to use const Buffer refs
3425
3426 2003-08-27  André Pönitz  <poenitz@gmx.net>
3427
3428         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3429         on top of ownerPar().
3430
3431 2003-08-27  John Levon  <levon@movementarian.org>
3432
3433         * funcrequest.C: properly initialise POD members
3434
3435 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3436
3437         * lyxtext.h (top_y): move top_y from here
3438         * text.C:
3439         * text2.C:
3440         * text3.C:
3441         * BufferView.[Ch]:
3442         * BufferView_pimpl.[Ch]: to here
3443         * frontends/screen.C:
3444         * insets/insettabular.C:
3445         * insets/insettext.C: adjust
3446         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3447
3448 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3449
3450         * BufferView.[Ch]:
3451         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3452
3453 2003-08-26  André Pönitz  <poenitz@gmx.net>
3454
3455         * paragraph_func.[Ch] (outerPar): new function
3456
3457         * paragraph.C:
3458         * paragraph_funcs.C:
3459         * paragraph_funcs.h:
3460         * paragraph_pimpl.C:
3461         * text2.C: remove Inset::par_owner
3462
3463 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3464
3465         * lyxrow_funcs.C:
3466         * lyxtext.h:
3467         * text.C:
3468         * text2.C: eliminates the needFullRow/display() stuff
3469         altogether, putting the logic in metrics/draw in the insets.
3470
3471 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3472
3473         * text2.C (redoParagraphInternal, redoParagraphs):
3474         * text.C (redoParagraph): add a call to updateRowPositions at the
3475         end of each 'metrics-like' call. Remove all others.
3476         (getRow): remove the 'y-computing' version.
3477         (getRowNearY): do not compute nor return the real y. Solve the
3478         'y < 0' problem and simplify.
3479
3480 2003-08-22  Angus Leeming  <leeming@lyx.org>
3481
3482         * *.[Ch]: clean-up of licence and author blurbs.
3483         Also move config.h out of a few .h files and into a few .C files.
3484
3485 2003-08-22  André Pönitz  <poenitz@gmx.net>
3486
3487         * lyxrow.[Ch]: add x_ and *fill_ members
3488
3489         * lyxtext.h:
3490         * text.C:
3491         * rowpainter.C:
3492         * text2.C: adjust/remove prepareToPrint() calls
3493
3494 2003-08-22  André Pönitz  <poenitz@gmx.net>
3495
3496         * lyxrow.[Ch]: add  end_ member
3497
3498         * lyxrow_funcs.C: use LyXRow::end_
3499
3500         * lyxtext.h (singleWidth): add LyXFont parameter
3501
3502         * rowpainter.C:
3503         * text2.C: adjust LyXText::singleWidth() calls
3504
3505         * text.C (redoParagraph): simplify row breaking logic
3506
3507
3508 2003-08-19  André Pönitz  <poenitz@gmx.net>
3509
3510         * funcrequest.C: initialize button_ member
3511
3512         * text3.C:
3513         * rowpainter.[Ch]: interface consolidation
3514
3515 2003-08-18  André Pönitz  <poenitz@gmx.net>
3516
3517         * BufferView.C:
3518         * BufferView_pimpl.C:
3519         * lyxfind.C:
3520         * paragraph_funcs.C:
3521         * rowpainter.C:
3522         * text3.C: remove LyXScreen::draw() and fitCursor calls
3523
3524         * BranchList.h: remove spurious semicolons
3525
3526         * MenuBackend.C: fix branchlist related crash
3527
3528 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3529
3530         * BranchList.[Ch]:
3531         * InsetList.[Ch]:
3532         * LColor.[Ch]:
3533         * LyXAction.C:
3534         * Makefile.am:
3535         * MenuBackend.[Ch]:
3536         * bufferparams.[Ch]:
3537         * factory.C:
3538         * lfuns.h:
3539         * lyxfunc.C:
3540         * text3.C: implements the 'branch inset'
3541         idea. This allows the output of various versions of a document
3542         from a single source version, selectively outputing or suppressing
3543         output of parts of the text.
3544         This implementation contains a 'branch list editor' in a separate
3545         tab of the document settings dialog. Branches are user definable
3546         and have a "display colour" to distinguish them on-screen.
3547
3548         ColorHandler was somewhat cleaned up.
3549         (1) make possible a dynamically growing LColor list by allowing
3550         the graphic context cache to grow along (vector);
3551         (2) eliminate an IMHO unnecessary step in colour allocation.
3552
3553 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3554
3555         * BufferView_pimpl.C: compile fix
3556
3557 2003-08-15  André Pönitz  <poenitz@gmx.net>
3558
3559         * rowpainter.C: remove extra metrics calls
3560
3561         * lyxtext.h: merge the two constructors into a single one,
3562           pass reference to owner's par list
3563
3564         * BufferView_pimpl.C:
3565         * text.C:
3566         * text2.C: adjust
3567
3568 2003-08-15  André Pönitz  <poenitz@gmx.net>
3569
3570         * lyxrow_funcs.[Ch]:
3571         * lyxtext.h:
3572         * paragraph.h:
3573         * paragraph_funcs.C:
3574         * rowpainter.C:
3575         * text.C:
3576         * text2.C:
3577         * text3.C:
3578         * text_funcs.C: split LyXText::rowlist_ into individual
3579         Paragraph::rows_ chunks
3580
3581         * BufferView.[Ch]:
3582         * BufferView_pimpl.[Ch]:
3583         * lyxfind.C:
3584         * lyxtext.h:
3585         * text3.C: remove toggleSelection()
3586
3587 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3588
3589         * bufferlist.C: beautify two alerts (shorter text of buttons)
3590         * buffer.C: Remove redundant ' ' from message
3591         * tabular.h:
3592         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3593         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3594         rename VALIGN_CENTER to VALIGN_MIDDLE
3595
3596 2003-08-11  André Pönitz  <poenitz@gmx.net>
3597
3598         * lyxtext.h (getPar):
3599         * text.C: new function
3600
3601 2003-08-11  André Pönitz  <poenitz@gmx.net>
3602
3603         * Makefile.am:
3604         * tracer.[Ch]: remove unneeded files
3605
3606         * InsetList.[Ch]: remove resizeInsetsLyXText()
3607
3608         * lyxtext.h:
3609         * text.C:
3610         * text2.C:
3611         * text3.C: merge insertParagraphs() and appendParagraph()
3612         remove breakAgain(), update()
3613
3614         * BufferView_pimpl.[Ch]:
3615         * bufferview_funcs.[Ch]:
3616         * lyxfunc.C:
3617         * paragraph.[Ch]:
3618         * rowpainter.C:
3619         * tabular.C: adjust after text & InsetList changes.
3620
3621 2003-08-08  André Pönitz  <poenitz@gmx.net>
3622
3623         * text.C (insertChar, backspace): replace rowlist fiddling
3624         with rebreak of full par
3625
3626         * lyxtext.h:
3627         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3628         checkParagraph, updateInset): removed
3629
3630 2003-08-07  André Pönitz  <poenitz@gmx.net>
3631
3632         * paragraph.C:
3633         * text3.C: merge some LFUN handlers, remove dead code
3634
3635 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3636
3637         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3638
3639 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3640
3641         * text2.C (DEPM): fix part of bug 1255 and 1256
3642
3643 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3644
3645         * BufferView_pimpl.C (workAreaDispatch): change to use
3646         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3647         that are no mouse related.
3648
3649 2003-08-05  André Pönitz  <poenitz@gmx.net>
3650
3651         * BufferView.[Ch]:
3652         * BufferView_pimpl.[Ch]:
3653         * bufferview_funcs.C:
3654         * text2.C:
3655         * text3.C: rip out "deep update"
3656
3657         * textcursor.[Ch] (last_sel_cursor): remove unused member
3658
3659 2003-08-04  André Pönitz  <poenitz@gmx.net>
3660
3661         * BufferView.[Ch]:
3662         * BufferView_pimpl.[Ch]:
3663         * ParagraphParameters.C:
3664         * bufferview_funcs.C:
3665         * lyx_cb.C:
3666         * lyxfind.C:
3667         * lyxfunc.C:
3668         * text.C:
3669         * text2.C:
3670         * text3.C: replace "complicated" BufferView::update(...) calls with
3671         simpler ones.
3672
3673         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3674
3675 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3676
3677         * Makefile.am (lyx_SOURCES): add paper.h
3678
3679 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3680
3681         * Makefile.am: move things around so that both lyx-qt and
3682         lyx-xforms can be built (according to --with-frontend). Then lyx
3683         is a symbolic link to lyx-[firstfrontend]
3684
3685 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3686
3687         * Always use std::endl with lyxerr
3688
3689 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3690
3691         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3692
3693 2003-08-01  André Pönitz  <poenitz@gmx.net>
3694
3695         * BufferView.[Ch]:
3696         * BufferView_pimpl.[Ch]:
3697         * lyxfunc.C:
3698         * text3.C: merge BufferView::repaint() and BufferView::update()
3699
3700 2003-08-01  José Matos  <jamatos@lyx.org>
3701
3702         * buffer.[Ch]: file_format is no longer a buffer data element.
3703
3704 2003-08-01  André Pönitz  <poenitz@gmx.net>
3705
3706         * BufferView.C:
3707         * lyxtext.h:
3708         * text.C:
3709         * text2.C: make redoParagraph more independent of current cursor
3710
3711         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3712         * text.C:
3713         * text2.C: remove unneeded members
3714
3715 2003-07-30  André Pönitz  <poenitz@gmx.net>
3716
3717         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3718
3719         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3720           create a single function...
3721
3722         * paragraph_funcs.C (moveItem): ... here.
3723
3724         * text.C:
3725           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3726
3727 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3728
3729         * LColor.[Ch]: Add comment and greyedout logical colors.
3730
3731 2003-07-30  André Pönitz  <poenitz@gmx.net>
3732
3733         * tabular.C: don't use Assert too heavily. This crashes where it
3734           shouldn't
3735
3736 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3737
3738         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3739         is disabled (bug 1232)
3740
3741 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3742
3743         * factory.C: limited 'arg' scope
3744
3745 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3746
3747         * factory.C: fixed Note submenu issues
3748
3749 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3750
3751         * factory.C: submenu for Note/Comment/Greyedout
3752
3753 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3754
3755         * lyx_main.C (LyX):
3756         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3757
3758 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3759
3760         * LaTeXFeatures.C:
3761         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3762         greyedout. Patch provided by Jürgen Spitzmüller.
3763
3764 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3765
3766         * kbmap.C (read): fix error message when reading bind files
3767
3768 2003-07-29  Angus Leeming  <leeming@lyx.org>
3769
3770         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3771         certainly does not do what it purports to do. I am doing it, and
3772         us, a favour by killing it.
3773
3774 2003-07-28  José Matos  <jamatos@lyx.org>
3775
3776         * buffer.C (readBody, do_writeFile):
3777         * paragraph.C(readParagraph): \end_document replaces \the_end.
3778
3779 2003-07-29  André Pönitz  <poenitz@gmx.net>
3780
3781         * BufferView.[Ch]:
3782         * BufferView_pimpl.[Ch]:
3783         * lyxfunc.C:
3784         * text2.C:
3785         * text3.C:
3786         * textcursor.[Ch]: remove toggleToggle & Co
3787
3788 2003-07-28  José Matos  <jamatos@fep.up.pt>
3789
3790         * buffer.C (readParagraph):
3791         * params_func (readParToken, readParagraph):
3792         * paragraph.C (write): \layout -> \begin_layout.
3793
3794 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3795
3796         * lyxlex_pimpl.C (setFile): clean up slightly.
3797
3798         * bufferparams.h: add compressed var
3799
3800         * buffer_funcs.C (readFile): adjust for LyXLex change
3801         (newFile): ditto + simplify
3802
3803         * buffer.C (writeFile): handle writing of compressed files
3804
3805         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3806         Check if the file is compressed and set a bufferparm if so.
3807
3808         * Makefile.am (lyx_LDADD): remove explicit -lz
3809
3810 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3811
3812         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3813         makeDocBookFile): put the real LyX version in the first line of
3814         the file
3815
3816         * version.h:
3817         * version.C.in: remove lyx_docversion
3818
3819         * tabular.C (write_attribute): add a template-based version to
3820         write enums properly
3821
3822 2003-07-28  André Pönitz  <poenitz@gmx.net>
3823
3824         * lyxtext.h:
3825         * text.C:
3826         * text2.C:
3827         * text3.C: use doubles again for x-coordinates. They are needed.
3828
3829 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3830
3831         * messages.C (getLocaleDir): use lyx_localedir()
3832
3833         * lyxlex_pimpl.C (setFile): compress stuff
3834
3835         * buffer.C (writeFile): add some compression stuff
3836         (do_writeFile): new func, dont call expliti close... will this
3837         breake anything?
3838
3839         * Makefile.am (lyx_LDADD): add -lz
3840
3841 2003-07-28  José Matos  <jamatos@fep.up.pt>
3842
3843         * buffer.C: increment file format.
3844         * paragraph_funcs (readParagraph, readParToken):
3845         * paragraph.C (readParagraph): add \end_layout.
3846
3847 2003-07-27  Angus Leeming  <leeming@lyx.org>
3848
3849         * Makefile.am: remove special casing for configure-time setting of
3850         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3851
3852         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3853         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3854
3855 2003-07-26  André Pönitz  <poenitz@gmx.net>
3856
3857         * paragraph_func.[Ch]:
3858         * paragraph.C (realizeFont): inline it whereever it is used
3859
3860         * rowpainter.C:
3861         * text.C:
3862         * text2.C:
3863         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3864
3865
3866 2003-07-26  André Pönitz  <poenitz@gmx.net>
3867
3868         *       lyxtext.h:
3869         * text.C:
3870         * text2.C: get rid of LyXText::need_break_row
3871
3872 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3873
3874         * toc.[Ch]: put namespace toc inside namespace lyx
3875
3876         * MenuBackend.C (expandToc2): adjust for lyx::toc
3877         (expandToc): ditto
3878
3879         * lyxfunc.C (dispatch): adjust for lyx::find
3880
3881         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3882         lyx::find instead. Reorganize a bit.
3883         (LyXReplace): rename to replace
3884         (LyXFind): rename to find
3885
3886         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3887         (dispatch): ditto
3888
3889 2003-07-26  André Pönitz  <poenitz@gmx.net>
3890
3891         * text.C (setHeightOfRow): restrict scope of temporary variable
3892
3893         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3894           code (never has been used?)
3895
3896 2003-07-27  Asger Alstrup  <alstrup@local>
3897
3898         * text.C (fill): Optimise algorithm to exploit that we can reuse
3899         the LyXFont for many characters.
3900         (setHeightOfRow): Same thing.
3901         (rowBreakPoint): Same thing.
3902
3903 2003-07-26  Asger Alstrup  <alstrup@local>
3904
3905         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3906
3907         * text.C (singleWidth): Spurious font copying in hot-spot
3908         singleWidth avoided. Reorder tests for arabic for efficiency.
3909
3910         * text.C (fill): handle empty paragraphs better.
3911
3912 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3913
3914         * ispell.C:
3915         * encoding.h: add includes
3916
3917         * lyxrc.C: remove reading of bind files
3918
3919         * lyx_main.C (init): setup bindings and menus only if we have a
3920         gui.
3921
3922         * kbmap.C (read): new method. Do the actual reading of bind
3923         files.
3924
3925         * converter.C (dvipdfm_options):
3926         * bufferparams.C:
3927         * lyxrc.C (read):
3928         (output): adapt PAPER_* enums.
3929
3930         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3931
3932         * bufferparams.h: remove paper-related enums from there
3933
3934         * paper.h: New file. A trivial header file to hold paper-related
3935         enums. It should later expand to contain many paper-related
3936         horrors access.
3937
3938         * lyxrc.C: declare extern displayTranslator
3939
3940 2003-07-27  José Matos  <jamatos@fep.up.pt>
3941
3942         * tabular.[Ch] (linuxdoc): add support for tables and figures
3943         (linuxdoc).
3944
3945 2003-07-27  José Matos  <jamatos@fep.up.pt>
3946
3947         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3948         consistency in both functions.
3949         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3950
3951 2003-07-26  Asger Alstrup  <alstrup@local>
3952
3953         * rowpainter.C (paintRows): Change algorithm to work directly on
3954         the insets rather than asking every character in the document
3955         whether its an inset.
3956
3957 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3958
3959         * buffer.C (openFileWrite): factorize some code
3960
3961 2003-07-26  Angus Leeming  <leeming@lyx.org>
3962
3963         * lyx_cb.C:
3964         * lyx_main.[Ch]: replace occurances of system_tempdir with
3965         os::getTmpDir().
3966
3967 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3968
3969         * rename Inset to InsetOld
3970
3971 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3972
3973         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3974         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3975         which I think is a bit clearer. EDIT is gone, since it was
3976         premature optimisation, and broken for mathed anyway.
3977         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3978         with cursor positioning in insets as well (math insets still do not
3979         work, but that's a different story anyway.) It mysteriously
3980         crashes sometimes with undo in the first paragraph, but I'm fairly
3981         confident that this is a compiler bug.
3982
3983 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3984
3985         * paragraph.C (Paragraph): adjust for new clone return type
3986         (operator==): ditto
3987         (copyIntoMinibuffer): ditto
3988
3989 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3990
3991         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3992         by not having a special case, and always doing a full rebreak of
3993         the document after undo.
3994
3995 2003-07-23  Angus Leeming  <leeming@lyx.org>
3996
3997         * factory.C (createInset): InsetExternal::setParams now takes a
3998         Buffer const * arg.
3999
4000 2003-07-23  Angus Leeming  <leeming@lyx.org>
4001
4002         * factory.C (createInset): changed interface to the external and
4003         graphics mailers' string2params functions.
4004
4005 2003-07-23  Angus Leeming  <leeming@lyx.org>
4006
4007         * factory.C (createInset): pass a
4008         Buffer const * parameter to InsetExternalMailer's string2params.
4009
4010 2003-07-22  John Levon  <levon@movementarian.org>
4011
4012         * Thesaurus.h: include the right aiksaurus header
4013
4014 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4015
4016         * MenuBackend.C (expand): check menu shortcuts unconditionally
4017
4018 2003-07-21  Angus Leeming  <leeming@lyx.org>
4019
4020         * factory.C (createInset): pass a
4021         buffer_path parameter to InsetGraphicsMailer's string2params.
4022
4023 2003-07-21  Angus Leeming  <leeming@lyx.org>
4024
4025         * BufferView_pimpl.C (buffer):
4026         * buffer.C (d-tor):
4027         * lyx_main.C (LyX):
4028         * lyxfunc.C (dispatch):
4029         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4030         rather than the grfx shortcut.
4031
4032 2003-07-21  André Pönitz  <poenitz@gmx.net>
4033
4034         * rowpainter.C: remove unused variables
4035
4036         * tabular_funcs.C:
4037         * tabular_funcs.h: move to tabular.C
4038         * Makefile.am: adjust
4039
4040         * tabular.[Ch]: basic optical cleaning
4041
4042         * author.h: pass references, not values
4043
4044 2003-07-18  André Pönitz  <poenitz@gmx.net>
4045
4046         * lyxtext.h:
4047         * metricsinfo.C:
4048         * metricsinfo.h:
4049         * rowpainter.C:
4050         * text.C:
4051         * text2.C:
4052         * text3.C: two-phase drawing for InsetText and InsetTabular
4053         some float -> int changes.
4054
4055 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4056
4057         * lyx_main.C: fix the fix
4058
4059 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4060
4061         * lyx_main.C: fix a crash in batch mode if no files specified
4062         * converter.C: ws
4063
4064 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4065
4066         * format.[Ch] (papersize): moved to BufferParams
4067         * converter.[Ch] (dvips_options): moved to BufferParams
4068         (dvipdfm_options): moved to anon namespace
4069         * bufferparams.[Ch]: added above functions.
4070
4071 2003-07-17  André Pönitz  <poenitz@gmx.net>
4072
4073         * lyxtext.h:
4074         * rowpainter.C:
4075         * text2.C: don't call inset->update() anymore
4076
4077         * metricsinfo.[Ch]: add convenience constructor
4078
4079 2003-07-16  André Pönitz  <poenitz@gmx.net>
4080
4081         * lyxcursor.[Ch]:
4082         * lyxfunc.[Ch]:
4083         * text.C:
4084         * text2.C: replace the LyXCursor::irow_ member with
4085          on-demand computation of the value
4086
4087 2003-07-16  John Levon  <levon@movementarian.org>
4088
4089         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4090
4091 2003-07-15  André Pönitz  <poenitz@gmx.net>
4092
4093         * text.C:
4094         * text2.C: remove no more needed refresh_row
4095
4096 2003-07-15  André Pönitz  <poenitz@gmx.net>
4097
4098         * lyxtext.h:
4099         * rowpainter.C:
4100         * text2.C:
4101         * text3.C: refresh_status tristate -> need_update bool
4102
4103 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4104
4105         * lyxtext.h (init): remove reinit argument (act as if always true)
4106         * text2.C: adjust to that
4107
4108 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4109
4110         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4111         * text3.C: use it to delete selections in some cases
4112         (bugs 441, 673, 702, 954).
4113
4114 2003-07-14  André Pönitz  <poenitz@gmx.net>
4115
4116         * rowpainter.[Ch]: reduce interface
4117
4118 2003-07-14  André Pönitz  <poenitz@gmx.net>
4119
4120         * BufferView_pimpl.C:
4121         * text2.C: adjust after removing unused BufferView * argument
4122
4123 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4124
4125         * text2.C (init): fix a crash fired on resize
4126
4127 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4128
4129         * buffer.[Ch]: added new closing signal
4130         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4131         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4132         BufferView::Pimpl via the closing the signal
4133
4134 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4135
4136         * buffer.[Ch]: take out all bv-related from buffer
4137         * BufferView.C:
4138         * BufferView_pimpl.[Ch]: connect to new signals
4139         * CutAndPaste.C: removed useless asserts
4140         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4141         * lyxvc.[Ch]:
4142         * vc-backend.[Ch]:
4143         * lyxfunc.C: moved view-related funciontality from vc here
4144         * paragraph.C: removed outdated comments
4145         * text.C: ws
4146
4147 2003-07-10  André Pönitz  <poenitz@gmx.net>
4148
4149         * BufferView_pimpl.C:
4150         * tabular.h:
4151         * tabular_funcs.C:
4152         * text.C:
4153         * text2.C: remove InsetText::InnerCache, clean up consequences
4154
4155 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4156
4157         * ispell.C: fix two typos in error messages
4158
4159 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4160
4161         * Extend Note inset to other forms of annotation like Comment
4162         and Greyedout. Right button click gives dialog.
4163
4164         Files modified or added (+):
4165
4166         * insetnote.[Ch]
4167         * FormNote.[Ch]      +
4168         * ControlNote.[Ch]   +
4169         * form_note.fd       +
4170         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4171         frontends/controllers
4172         * xforms/Dialogs.C
4173         * factory.C
4174
4175 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4176
4177         * aspell.C: add missing namespace lyx::support
4178
4179 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4180
4181         * BufferView.[Ch] (newFile): Add
4182         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4183         * LaTeX.[Ch] (message): added this signal and use it
4184         * buffer.[Ch] (busy, message): added these signals and use them
4185         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4186         * converter.C:
4187         * exporter.C:
4188         * format.C:
4189         * importer.C: use buffer signals instead of direct bv calling
4190         * lyx_cb.[Ch] (ShowMessage): removed
4191         * lyx_main.C:
4192         * lyxfunc.C:
4193         * paragraph_funcs.C:
4194         * text2.C: use buffer signals
4195
4196 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4197
4198         * introduce namespace lyx::graphics
4199
4200 2003-07-02  André Pönitz  <poenitz@gmx.net>
4201
4202         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4203
4204 2003-07-01  André Pönitz  <poenitz@gmx.net>
4205
4206         * text.C:
4207         * text2.C:
4208         * text3.C:
4209         * text_funcs.[Ch]:
4210         * textcursor.h:
4211         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4212           text*.C to text_func.C
4213
4214 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4215
4216         * introduce namespace lyx::support
4217
4218 2003-06-30  André Pönitz  <poenitz@gmx.net>
4219
4220         * Chktex.C:
4221         * funcrequest.C:
4222         * lyxtext.h:
4223         * text.C: re-enable --with-included-string
4224
4225 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4226
4227         * textcursor.C: add <config.h>
4228
4229         * text.C (getWord): remove const from word_location arg
4230
4231         * lyxvc.C (getLogFile): fix const type order
4232
4233         * lyxtext.h: remove const from word_location arg, add arg name
4234
4235         * lyxlayout.h: currect type on labeltype.
4236
4237         * importer.C: correct \file
4238
4239         * converter.C (intToFormat): use std:: on ret val, ws changes
4240
4241         * bufferlist.h: correct \file
4242
4243         * buffer.C (makeLinuxDocFile): fix const type order
4244         (makeDocBookFile): ditto
4245         (fillWithBibKeys): use std:: on stdlib args.
4246
4247         * CutAndPaste.C: fix authors.
4248         (availableSelections): use std:: on return vector
4249
4250 2003-06-27  André Pönitz  <poenitz@gmx.net>
4251
4252         * BufferView_pimpl.C:
4253         * bufferview_funcs.C:
4254         * lyxcursor.C:
4255         * lyxcursor.h:
4256         * lyxfunc.C:
4257         * lyxtext.h:
4258         * rowpainter.C:
4259         * text.C:
4260         * text2.C:
4261         * text3.C: remove LyXCursor::row_ member
4262
4263         * lyxtext.h:
4264         * text.C: rename fullRebreak() to partialRebreak() and implement
4265           a fullRebreak() that really bereks fully
4266
4267         * textcursor.h: new struct for cursor-related data
4268
4269 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4270
4271         * lyx_main.C (LyX): get full path of document loaded on the
4272         command line
4273
4274 2003-06-26  André Pönitz  <poenitz@gmx.net>
4275
4276         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4277           remove unused/broken operator>,<,>=.
4278
4279         *       text.C: remove only use of broken operator<= in an Assert().
4280
4281 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4282
4283         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4284         moved errorlist_.clear to showErrorList
4285
4286 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4287
4288         * converter.C (scanLog, runLaTeX):
4289         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4290         move the bv->showErrorList call to the callers
4291         * lyxfunc.C: i.e. here...
4292         * text2.C: and here
4293         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4294         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4295         namespace, the second to...
4296         * buffer_funcs (BufferFormat, parseErrors): added
4297         * errorlist.C (ErrorList(TeXErrors const &)): removed
4298
4299 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4300
4301         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4302
4303 2003-06-24  "Garst R. Reese" <reese@isn.net>
4304
4305         * debug.C: fix typo
4306
4307 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4308
4309         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4310
4311         * version.C.in: change docversion to 1.4
4312
4313 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4314
4315         * buffer.C: fix a bug just introduced
4316
4317 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4318
4319         * buffer.[Ch]: added the parseError signal and use it, removed
4320         sgmlError
4321         * BufferView.[Ch] (addError): moved to ...
4322         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4323         to the Buffer::parseError signal to catch (guess what) parse errors
4324         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4325
4326 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4327
4328         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4329         ability to create a buffer and to return an existing one from
4330         the list. Moved these functions to...
4331         * buffer_funcs.[Ch]: added
4332         * BufferView.[Ch] (loadLyXFile): added
4333         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4334         job removed from bufferlist::loadLyXFile.
4335         * buffer.C (setReadOnly): make it work without view
4336         (i.e added an if (users))
4337
4338 2003-06-19  Angus Leeming  <leeming@lyx.org>
4339
4340         * lfuns.h:
4341         * LyXAction.C (init):
4342         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4343         with LFUN_DIALOG_SHOW <name> <data>.
4344
4345 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4346
4347         * CutAndPaste.C (availableSelections): small compilation fix for
4348         ancient (gcc 2.9x) compilers
4349
4350 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4351
4352         * text3.C (cursorNext): add tmp var
4353
4354         * text2.C (updateCounters): for function calling out of for clause
4355         (replaceSelectionWithString): ditto
4356         (insertStringAsParagraphs): ditto
4357         (getColumnNearX): add tmp var
4358         (setCursorFromCoordinates): add tmp var
4359         (cursorDownParagraph): add tmp var
4360         (deleteEmptyParagraphMechanism): add tmp var
4361
4362         * text.C (insertChar): add tmp var
4363
4364         * rowpainter.C (paintDepthBar): add tmp var
4365
4366         * CutAndPaste.C (availableSelections): potentially check all
4367         paragraphs in a cut to fill the shown strings.
4368
4369 2003-06-18  André Pönitz  <poenitz@gmx.net>
4370
4371         * kbmap.[Ch]: use vector<> instead of list<>
4372
4373 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4374
4375         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4376         pasteSelection with index
4377
4378         * text2.C (pasteSelection): modify, call pasteSelection with index
4379
4380         * paragraph.C (asString): reimplement version with no interval to
4381         call the one with interval.
4382
4383         * lyxtext.h: add index arg to pasteSelection
4384
4385         * MenuBackend.C (MenuItem): handle PasteRecent
4386         (Menu::read::Menutags): add md_pasterecent
4387         (read): handle it
4388         (expandPasteRecent): new function
4389         (expand): use it
4390
4391         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4392
4393         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4394         the limited stack
4395         (availableSelections): new function
4396
4397 2003-06-17  Angus Leeming  <leeming@lyx.org>
4398
4399         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4400
4401 2003-06-17  Angus Leeming  <leeming@lyx.org>
4402
4403         * lfuns.h:
4404         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4405
4406         * lyxfunc.C (dispatch): invoke it.
4407
4408 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4409
4410         * iterators.C (operator++, ParPosition): reintroduce some
4411         const_cast for the benefit of older compilers.
4412
4413 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4414
4415         * text3.C (dispatch): do not modify clipboard when doing
4416         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4417         LFUN_DELETE_SKIP on a selection selection
4418
4419 2003-06-16  André Pönitz  <poenitz@gmx.net>
4420
4421         * BufferView.C:
4422         * buffer.C:
4423         * buffer.h:
4424         * paragraph.C:
4425         * tabular.[Ch]: IU of clone() and getLabelList();
4426
4427 2003-06-13  André Pönitz  <poenitz@gmx.net>
4428
4429         * tabular.h: compactification
4430
4431 2003-06-12  André Pönitz  <poenitz@gmx.net>
4432
4433         * tabular.C:
4434         * tabular.h:
4435         * tabular_funcs.h: some renaming plus whitespace
4436
4437 2003-06-12  André Pönitz  <poenitz@gmx.net>
4438
4439         * BufferView.C:
4440         * BufferView_pimpl.C:
4441         * CutAndPaste.C:
4442         * buffer.C:
4443         * iterators.[Ch]:
4444         * lyxfunc.C:
4445         * text.C:
4446         * toc.C: Return a Paragraph & for ParIterator::operator*()
4447
4448 2003-06-11  John Levon  <levon@movementarian.org>
4449
4450         * lyx_main.C:
4451         * ToolbarBackend.h:
4452         * ToolbarBackend.C: add "Toolbars" section and
4453         put the flags there
4454
4455 2003-06-10  Angus Leeming  <leeming@lyx.org>
4456
4457         * lfuns.h:
4458         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4459
4460         * lyxfunc.C (dispatch): invoke it.
4461
4462 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4463
4464         * main.C: protect <ios> with HAVE_IOS
4465         (main): protect sync_with_stdio with HAVE_IOS
4466
4467 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4468
4469         * text2.C (cutSelection): adjust
4470         (pasteSelection): adjust
4471
4472         * messages.C: handle get of empty string
4473
4474         * main.C (main): use sync_with_stdio(false)
4475
4476         * lyxfunc.C (dispatch): adjust
4477
4478         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4479         (WriteAs): remove unneeded BufferView arg.
4480
4481         * bufferparams.h: use correct types on papersize, papersize2 and
4482         paperpackage.
4483
4484         * bufferparams.C (readToken): adjust for type
4485         (writeLaTeX): add missing cases to switch.
4486
4487         * bufferlist.C (quitWriteBuffer): adjust
4488         (close): adjust
4489
4490         * buffer.C (asciiParagraph): remove some commented code.
4491
4492         * CutAndPaste.C: remove current_view extern variable.
4493         (cutSelection): add BufferParams arg.
4494         (eraseSelection): add BufferParams arg.
4495         (pasteSelection): add Buffer const & arg
4496
4497 2003-06-07  John Levon  <levon@movementarian.org>
4498
4499         * buffer.C:
4500         * paragraph_funcs.C:
4501         * paragraph_pimpl.C:
4502         * text.C:
4503         * text2.C:
4504         * paragraph.h:
4505         * paragraph.C: allow InsetERT to freely space lines,
4506         and some consolidation of code
4507
4508 2003-06-06  José Matos  <jamatos@fep.up.pt>
4509
4510         * buffer.C (makeDocBookFile): fix bug #821
4511
4512 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4513
4514         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4515
4516 2003-06-04  Angus Leeming  <leeming@lyx.org>
4517
4518         * buffer.C: bump format to 224.
4519
4520 2003-06-05  André Pönitz  <poenitz@gmx.net>
4521
4522         * text2.C (redoParagraphs): remove two const_cast<>
4523
4524 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4525
4526         * ParagraphList.h: remove last remnants of NO_STD_LIST
4527
4528 2003-06-03  Angus Leeming  <leeming@lyx.org>
4529
4530         * factory.C (createInset): small change to the way InsetExternal's params
4531         are set.
4532
4533 2003-06-04  André Pönitz  <poenitz@gmx.net>
4534
4535         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4536
4537         * paragraph_pimpl.h:
4538         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4539
4540         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4541
4542         * undo_funcs.C: make some simple cases of undo work again
4543
4544 2003-06-03  John Levon  <levon@movementarian.org>
4545
4546         * ispell.C: HPUX doesn't have sys/select.h
4547         (from Albert Chin)
4548
4549 2003-06-03  John Levon  <levon@movementarian.org>
4550
4551         * CutAndPaste.C: update tabular and include inset
4552         buffer references
4553
4554         * buffer.h:
4555         * paragraph.h:
4556         * paragraph.C: remove owningBuffer(), don't pass Buffer
4557         to clone()
4558
4559         * factory.C: insetGraphicsParams changed
4560
4561 2003-06-02  John Levon  <levon@movementarian.org>
4562
4563         * LyXAction.C:
4564         * factory.C:
4565         * lfuns.h:
4566         * lyxfunc.C:
4567         * text3.C: remove insetparent
4568
4569 2003-06-02  John Levon  <levon@movementarian.org>
4570
4571         * buffer.h:
4572         * buffer.C: fix inset_iterator.end(), move out of line
4573         (bug 1149)
4574
4575 2003-06-01  John Levon  <levon@movementarian.org>
4576
4577         * text3.C: use a proper cut/paste when doing inset
4578         insert (from Jürgen Spitzmüller)
4579
4580 2003-06-01  John Levon  <levon@movementarian.org>
4581
4582         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4583
4584 2003-05-30  André Pönitz  <poenitz@gmx.net>
4585
4586         * rowpainter.C: unify second drawing phase
4587
4588 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4589
4590         * trans_mgr.C: remove one case of current_view
4591
4592         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4593
4594         * paragraph_funcs.h: remove paragraph.h include
4595
4596         * paragraph.h: delete NO_STD_LIST stuff
4597
4598         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4599
4600         * buffer.h: remove paragraph.h include
4601
4602         * ParagraphList.C: delete file
4603
4604         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4605
4606         * toc.C (getTocList): adjust
4607
4608         * paragraph_pimpl.C (validate): adjust
4609
4610         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4611
4612         * paragraph.C (Paragraph): adjust
4613         (getPositionOfInset): use const_iterator, adjust
4614         (bibitem): use const_iterator, adjust
4615         (setInsetOwner): adjust
4616
4617         * iterators.C (operator++): adjust
4618
4619         * InsetList.[Ch]: Replace selfmade iterator with standard
4620         vector::iterator also introduce const_iterator. Remove getPos,
4621         getInset and setInset from InsetTable. Adjust accordingly.
4622
4623         * BufferView.C (lockInset): adjust
4624         (ChangeInsets): adjust
4625
4626         * tabular.[Ch]: delete commented same_id functions
4627
4628 2003-05-28  John Levon  <levon@movementarian.org>
4629
4630         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4631
4632 2003-05-28  André Pönitz  <poenitz@gmx.net>
4633
4634         * metricsinfo.[Ch]: remove 'fullredraw' member
4635
4636 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4637
4638         * lyxtextclass.C (operator): remove caching.
4639
4640 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4641
4642         * text3.C: adjust
4643
4644         * text2.C (cursorBottom): adjust
4645         (setCounter): use ParagraphList::find, adjust
4646
4647         * text.C (workWidth): use ParagraphList::find, adjust
4648
4649         * lyxcursor.C (LyXCursor): adjust
4650
4651         * buffer.C (inset_iterator): adjust
4652
4653         * ParagraphList.h: make iterator(value_type) private, make
4654         ParagraphList a friend of iterator.
4655
4656         * ParagraphList.C (find): new function
4657
4658         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4659
4660 2003-05-27  André Pönitz  <poenitz@gmx.net>
4661
4662         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4663
4664 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4665
4666         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4667
4668 2003-05-26  John Levon  <levon@movementarian.org>
4669
4670         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4671
4672 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4673
4674         * remove same_id from function signatures, adjust.
4675
4676 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4677
4678         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4679
4680         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4681
4682         * paragraph.C (Paragraph): get rid of same_ids parameter
4683
4684         * ParagraphList.C (insert): adjust
4685         (push_back): adjust
4686
4687 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4688
4689         * paragraph_funcs.C (breakParagraph): adjust
4690         (breakParagraphConservative): adjust
4691
4692         * buffer.C (readParagraph): adjust
4693
4694         * ParagraphList.C (insert): take a reference instead of a pointer
4695         (insert): adjust
4696
4697         * paragraph.[Ch] (id): new function
4698
4699         * bufferlist.C (newFile): adjust
4700
4701         * ParagraphList.C (ParagraphList): adjust
4702         (assign): adjust
4703         (push_back): take a reference instead of a pointer.
4704
4705         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4706
4707         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4708         instead.
4709
4710         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4711         set else use old code.
4712
4713         * ParagraphList.C: remove all NO_NEXT code and only compile this
4714         code of NO_STD_LIST is set.
4715
4716 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4717
4718         * BufferView_pimpl.C:
4719         * TextCache.C:
4720         * TextCache.h:
4721         * bufferlist.C:
4722         * errorlist.h:
4723         * format.C:
4724         * format.h:
4725         * graph.C:
4726         * lyxfunc.C:
4727         * lyxrc.C:
4728         * graphics/GraphicsConverter.C:
4729         * graphics/PreviewLoader.C: header adjustment
4730
4731 2003-05-23  Angus Leeming  <leeming@lyx.org>
4732
4733         * LaTeXFeatures.[Ch] (useBabel): new method.
4734         * bufferparams.C (writeLaTeX): use it.
4735
4736 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4737
4738         * ParagraphList.h (set): remove unused function.
4739
4740 2003-05-23  André Pönitz  <poenitz@gmx.net>
4741
4742         * BufferView.C:
4743         * BufferView_pimpl.C:
4744         * buffer.C:
4745         * buffer.h:
4746         * lyxfunc.C:
4747         * undo_funcs.C: setUndo reworked
4748
4749         * iterators.[Ch]: add access to topmost ParagraphList
4750
4751         * lyxtext.[Ch] (workWidth): add a const
4752
4753 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4754
4755         * texrow.[Ch] (increasePos): remove function
4756         * exporter.C (export): removed unused var and outdated comment
4757
4758 2003-05-23  Angus Leeming  <leeming@lyx.org>
4759
4760         * latexrunparams.h: rename fragile as moving_arg.
4761         * paragraph.C (simpleTeXOnePar): ditto.
4762         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4763
4764 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4765
4766         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4767         (createUndo): ditto
4768         (textUndoOrRedo): comment out a currently unused var.
4769
4770         * paragraph.h (NO_NEXT): enable NO_NEXT
4771
4772         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4773
4774         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4775
4776         * exporter.C (Export): adjust for removeAutoInsets removal.
4777
4778         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4779
4780         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4781
4782         * BufferView.[Ch] (removeAutoInsets): delete function
4783
4784 2003-05-22  Angus Leeming  <leeming@lyx.org>
4785
4786         * latexrunparams.h: add a free_spacing variable.
4787
4788         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4789         to pass moving_arg, as the data is stored in runparams.fragile.
4790
4791         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4792         to Inset::latexOptional or to simpleTeXOnePar.
4793
4794         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4795         free_spacing arg to Inset::latexOptional.
4796
4797         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4798         free_spacing arg.
4799
4800 2003-05-22  Angus Leeming  <leeming@lyx.org>
4801
4802         * latexrunparams.h: add fragile and use_babel variables.
4803
4804         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4805         * buffer.C (makeLaTeXFile): store this returned value in
4806         runparams.use_babel, thus passing it to the inset::latex methods.
4807
4808         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4809         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4810
4811         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4812         longer has a fragile arg, as it is stored in runparams.fragile.
4813
4814         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4815         moving_arg parameter as the data is stored in runparams.fragile.
4816
4817         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4818         a fragile parameter as the data is stored in runparams.fragile.
4819
4820 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4821
4822         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4823
4824 2003-05-22  Angus Leeming  <leeming@lyx.org>
4825
4826         * latexrunparams.h: add a 'bool nice' which defaults to false.
4827
4828         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4829         now encapsulated within runparams.
4830
4831         * bufferlist.C (updateIncludedTeXfiles):
4832         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4833
4834 2003-05-22  Angus Leeming  <leeming@lyx.org>
4835
4836         * latexrunparams.h: new file containing struct LatexRunParams.
4837         * Makefile.am: add new file.
4838
4839         * LaTeX.[Ch] (c-tor, run):
4840         * buffer.[Ch] (makeLaTeXFile):
4841         * bufferlist.[Ch] (updateIncludedTeXfiles):
4842         * converter.C (convert, scanLog):
4843         * converter.[Ch] (runLaTeX):
4844         * exporter.C (Export):
4845         * paragraph.[Ch] (simpleTeXOnePar):
4846         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4847         * paragraph_funcs.[Ch] (latexParagraphs):
4848         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4849         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4850         pass around a LatexRunParams parameter.
4851
4852 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4853
4854         * paragraph.[Ch]: remove unused constructor
4855
4856         * ParagraphList.C (erase): new function, taking two iterators
4857
4858 2003-05-22  André Pönitz  <poenitz@gmx.net>
4859
4860         * undo_funcs.C: remove duplicated code
4861
4862         * iterator.[Ch]: operator=
4863
4864 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4865
4866         * tabular.C (SetMultiColumn): ws changes
4867
4868         * rowpainter.C (paintFirst): get rid of a ->previous
4869
4870         * lyx_cb.C (getPossibleLabel): parlist simplification
4871
4872         * BufferView.C (ChangeInsets): simplify slightly.
4873
4874 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4875
4876         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4877         * lfuns.h: new LFUN_SPACE
4878         * lyxfunc.C: protected space has a new lfun
4879         * paragraph_funcs.C: read new space insets
4880         * text3.C:
4881         * factory.C: handle new space insets
4882
4883 2003-05-22  André Pönitz  <poenitz@gmx.net>
4884
4885         * BufferView.C:
4886         * BufferView_pimpl.C:
4887         * buffer.[Ch]:
4888         * lyxfunc.C:
4889         * undo_funcs.C: return a ParIterator from getParFromID.
4890
4891         * iterators.[Ch]: add two const's
4892
4893 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4894
4895         * toc.C (getTocList): adjust
4896
4897         * iterators.[Ch]: rework for parlist
4898
4899         * buffer.C (par_iterator_begin): adjust
4900         (par_iterator_end): adjust
4901
4902         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4903
4904         * BufferView.C (removeAutoInsets): adjust
4905         (ChangeInsets): adjust
4906
4907 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4908
4909         * text.C (top_y): fix bug 1110
4910
4911 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4912
4913         * errorlist.[Ch]: added
4914         * buffer.C:
4915         * BufferView.[Ch]:
4916         * BufferView_pimpl.C:
4917         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4918         instead
4919
4920 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4921
4922         * Makefile.am: ensure that lyx is relinked upon changes to the
4923         various "convenience" libs.
4924
4925 2003-05-20  Angus Leeming  <leeming@lyx.org>
4926
4927         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4928         files are compiled in alphabetical order again.
4929
4930         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4931
4932 2003-05-19  Angus Leeming  <leeming@lyx.org>
4933
4934         * gettext.[Ch]: remove "char const * _(char const *)".
4935
4936 2003-05-19  André Pönitz  <poenitz@gmx.net>
4937
4938         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4939
4940         * Makefile.am:
4941         * BufferView.C:
4942         * DepTable.h:
4943         * LaTeXFeatures.C:
4944         * buffer.C:
4945         * lyxfont.C:
4946         * lyxlex.h:
4947         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4948
4949 2003-05-19  André Pönitz  <poenitz@gmx.net>
4950
4951         * buffer.C:
4952         * lyxlayout.[Ch]:
4953         * lyxtextclass.[Ch]:
4954         * paragraph.C:
4955         * paragraph_funcs.[Ch]:
4956         * text2.C:
4957         * text3.C: more insetenv work
4958
4959 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4960
4961         * ParagraphParameters.C (params2string): small bug fixed
4962
4963 2003-05-16  André Pönitz  <poenitz@gmx.net>
4964
4965         * debug.C:
4966         * bufferview_funcs.C: patch from Kornel Benko to prevent
4967           crash when _(...) is called twice in a statement
4968
4969 2003-05-16  André Pönitz  <poenitz@gmx.net>
4970
4971         * BufferView.C:
4972         * lyxfunc.C:
4973         * text.C:
4974         * text2.C:
4975         * text3.C:
4976         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4977
4978 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4979
4980         * lyx_main.C (init): remove spurious static_cast
4981
4982 2003-05-14  André Pönitz  <poenitz@gmx.net>
4983
4984         * BufferView.C: fix format string
4985
4986 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4987
4988         * BufferView.[Ch] (insertErrors): removed
4989         * BufferView.[Ch] (showErrorList): added
4990         * buffer.C (runChkTeX):
4991         * converter.C (scanLog): call showErrorList instead of inserterrors
4992
4993 2003-05-13  André Pönitz  <poenitz@gmx.net>
4994
4995         * BufferView_pimpl.C:
4996         * buffer.C:
4997         * bufferview_func.C:
4998         * MenuBackend.C:
4999         * lyxfunc.C:
5000         * lyxrc.C:
5001         * tex-accent.C:
5002         * text3.C:
5003         * toc.C:
5004         * tabular_funcs.h: tostr() from its own header
5005
5006         * ParagraphParameters.C:
5007         * ToolbarBackend.C:
5008         * bufferparams.C:
5009         * format.C:
5010         * lyxlex_pimpl.C:
5011         * text3.C: STRCONV()
5012
5013 2003-05-12  André Pönitz  <poenitz@gmx.net>
5014
5015         * BufferView.C:
5016         * BufferView_pimpl.C:
5017         * CutAndPaste.C:
5018         * LaTeX.C:
5019         * LaTeXFeatures.C:
5020         * ParagraphParameters.C:
5021         * buffer.C:
5022         * bufferlist.C:
5023         * bufferparams.C:
5024         * bufferview_funcs.C:
5025         * converter.C:
5026         * counters.C:
5027         * debug.C:
5028         * exporter.C:
5029         * format.C:
5030         * importer.C:
5031         * lyx_cb.C:
5032         * lyx_main.C:
5033         * lyxfont.C:
5034         * lyxfunc.C:
5035         * lyxvc.C:
5036         * paragraph.C:
5037         * paragraph_funcs.C:
5038         * tabular.C:
5039         * tabular_funcs.C:
5040         * text2.C:
5041         * text3.C:  boost::format -> bformat  all over the place
5042
5043
5044 2003-05-09  André Pönitz  <poenitz@gmx.net>
5045
5046         * LColor.[Ch]: Pimpl the #include <map> away
5047
5048 2003-05-09  John Levon  <levon@movementarian.org>
5049
5050         * bufferlist.C: never remove emergency saves
5051
5052 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5053
5054         * Makefile.am: better lib building
5055
5056 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5057
5058         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5059         instead.
5060         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5061         (simpleTeXSpecialChars): adjust
5062         (simpleTeXSpecialChars): adjust
5063         * paragraph.C (simpleTeXOnePar): adjust
5064         * buffer.C (makeLaTeXFile): adjust
5065
5066         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5067
5068         * text2.C (changeDepth): parlist cleanup
5069         (getColumnNearX): ditto
5070
5071         * rowpainter.C (getLabelFont): parlist cleanup
5072
5073         * bufferlist.C (newFile): parlist cleanup
5074
5075         * CutAndPaste.C (eraseSelection): parlist cleanup
5076
5077         * BufferView_pimpl.C (trackChanges): parlist cleanup
5078         (dispatch): ditto
5079
5080         * BufferView.C (lockInset): parlist cleanup.
5081         (ChangeInsets): ditto
5082
5083 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5084
5085         * CutAndPaste.h: Update file header.
5086
5087         * CutAndPaste.C: Update file header.
5088         Store the parts cut out of the Document in a limited_stack.
5089         (copySelection): adjust
5090         (pasteSelection): new function, takes the index in the limited stack.
5091         (nrOfParagraphs): adjust
5092         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5093         simplify error inset insertion.
5094         (checkPastePossible): adjust
5095
5096 2003-05-06  John Levon  <levon@movementarian.org>
5097
5098         * text2.C: don't cast wrap inset to float
5099
5100 2003-05-05  André Pönitz  <poenitz@gmx.net>
5101
5102         * iterator.C:
5103         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5104
5105         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5106           few naked Paragraph *.
5107
5108 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5109
5110         * bufferparams.C: Output warning if a document with missing
5111         TeX document class is loaded
5112         * exporter.C: Disable TeX exports if the document class is missing
5113         * lyxtextclass.C:
5114         * lyxtextclass.h:
5115         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5116         isTeXClassAvailable()
5117
5118 2003-05-03  John Levon  <levon@movementarian.org>
5119
5120         * BufferView.h:
5121         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5122         explicit cursor show/hide
5123
5124         * BufferView_pimpl.h:
5125         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5126         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5127
5128         * lyxfunc.C: hide cursor before dispatching.
5129
5130         * lyx_cb.C:
5131         * lyxfind.C:
5132         * text.C:
5133         * text3.C: remove explicit cursor hides
5134
5135 2003-05-02  André Pönitz  <poenitz@gmx.net>
5136
5137         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5138
5139         * undo_funcs.C:
5140         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5141           linked lists
5142
5143         * text2.C: tiny whitespace
5144
5145 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5146
5147         * undo_funcs.C: almost only ws changes.
5148
5149         * ParagraphList.C (splice): just return if pl is empty.
5150
5151 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5152
5153         * ParagraphList.C (splice): new function.
5154
5155         * CutAndPaste.C (pasteSelection): use it
5156
5157 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5158
5159         * CutAndPaste.C (pasteSelection): remove the last next and
5160         previous from this file.
5161
5162 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5163
5164         * CutAndPaste.C (pasteSelection): more clean up, user proper
5165         ParagraphList functions for pasteing.
5166
5167         * ParagraphList.C (insert): new function, three arg insert
5168
5169 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5170
5171         * ParagraphList.C (insert): new function, three arg insert
5172
5173         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5174         not on paragraphs.
5175
5176 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5177
5178         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5179
5180 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5181
5182         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5183
5184 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5185
5186         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5187         (copySelection): clean up a bit.
5188         (pasteSelection): use make_pair
5189
5190         * ParagraphList.C (ParagraphList): implement copy constructor
5191         (operator=): implement, base on copy constructor.
5192         (assign): new func
5193
5194         * paragraph.C (erase): return a bool
5195
5196         * paragraph_pimpl.C (erasePos): remove function, move contents...
5197         (erase): ... here. Return a bool.
5198         (erase): call erase instead of erasePos.
5199
5200 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5201
5202         * ParagraphList.h: define PitPosPair
5203         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5204         ParagraphList, fix a bug on pasting multiple pars
5205         * text2.C: change interface to C&P
5206
5207 2003-04-30  André Pönitz  <poenitz@gmx.net>
5208
5209         * undo_func.C: revert part of yesterday's patch 2
5210
5211 2003-04-30  John Levon  <levon@movementarian.org>
5212
5213         * LColor.C: s/tabular/table/
5214
5215 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5216
5217         * text3.C (dispatch): do not convert iterator -> pointer
5218         * undo_funcs.C (setCursorParUndo): ditto
5219         * text_funcs.C (transposeChars): ditto
5220
5221         * text2.C (setLayout): ws changes only
5222
5223         * text.C (breakParagraph): do not convert iterator -> pointer
5224         (insertChar): ditto
5225         (acceptChange): ditto
5226         (rejectChange): ditto
5227         (changeCase): ditto
5228         (Delete): ditto
5229         (backspace): ditto
5230
5231         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5232         pointer
5233
5234 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5235
5236         * text3.C (gotoInset): YABG (yet another bad getChar)
5237
5238 2003-04-29  André Pönitz  <poenitz@gmx.net>
5239
5240         * paragraph.h: make operator= private unimplemented as long as
5241           it is unusable
5242
5243         * ParagraphList.C: whitespace
5244
5245         * paragraph.[Ch]:
5246         * paragraph_pimpl.[Ch]:
5247         * paragraph_funcs.C:
5248         * CutAndPaste.C:
5249         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5250
5251         * text2.C:
5252           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5253
5254 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5255
5256         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5257         * paragraph.[Ch] (erase):
5258         * paragraph_pimpl.[Ch] (erase): change return type and value
5259         * text2.C (cutSelection): some rework
5260
5261 2003-04-28  John Levon  <levon@movementarian.org>
5262
5263         * bufferlist.C: changes for unsaved changes dialog
5264
5265 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5266
5267         * bufferlist.C (newFile): set language (messages_) for new
5268         documents also.
5269
5270         * buffer.C (readFile): ws changes only.
5271
5272 2003-04-28  André Pönitz  <poenitz@gmx.net>
5273
5274         * undo_funcs.C:
5275         * lyxfunc.C:
5276         * buffer.[Ch]:
5277         * BufferView_pimpl.C:
5278         * BufferView.C: getParFromID related ParagraphList::iterator changes
5279
5280 2003-04-28  André Pönitz  <poenitz@gmx.net>
5281
5282         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5283           Changes
5284
5285 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5286
5287         * messages.C: remove one more localedir class variable.
5288
5289 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5290
5291         * messages.C (getLocaleDir): singleton generation function
5292         (Pimpl): use it.
5293         (Messages): add a default constructor.
5294
5295         * main.C (main): do not setup localedir here, do not call
5296         gettext_init.
5297
5298         * gettext.C (_): use it.
5299         (gettext_init): delete funciton
5300
5301 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5302
5303         * gettext.C (getLyXMessages): new singleton generating function.
5304
5305         * buffer.C (updateDocLang): adjust
5306
5307         * Makefile.am (messages.o): add target
5308         (main.o): remove target
5309
5310 2003-04-27  John Levon  <levon@movementarian.org>
5311
5312         * bufferlist.C:
5313         * lyx_cb.C:
5314         * lyxfunc.C:
5315         * lyxvc.C: specify cancel button in Alert::prompt
5316
5317 2003-04-26  John Levon  <levon@movementarian.org>
5318
5319         * text3.C:
5320         * lyxfunc.C:
5321         * lfuns.h:
5322         * LyXAction.C: add LFUN_INSET_SETTINGS
5323
5324         * lyxfunc.C: don't enable tabular-feature when there's
5325         just any locking inset
5326
5327 2003-04-26  John Levon  <levon@movementarian.org>
5328
5329         * bufferlist.C: re-add Cancel to buffer close question
5330
5331         * lyxfunc.C: fix import UI a bit
5332
5333 2003-04-25  John Levon  <levon@movementarian.org>
5334
5335         * gettext.C: remove the broken asserts for now
5336
5337 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5338
5339         * messages.C: make case where setlocale cannot comply work better.
5340
5341         * buffer.C (updateDocLang): new function
5342         (changeLanguage): use it
5343         (readFile): use it
5344
5345         * text2.C (setCounter): use B_ a bit.
5346
5347         * lyxlayout.C (Read): be sure to trim the label strings.
5348
5349         * messages.C (Messages): fix typo in comment
5350
5351         * buffer.C (readFile): set message_ after file is loaded.
5352         (makeDocBookFile): remove double return
5353         (changeLanguage): reset message_ upon language change.
5354         (B_): new func, use this to get translated buffer strings.
5355
5356         * main.C: add myself and Jean Marc as authors.
5357
5358 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5359
5360         * messages.[hC]: pimplify Messages, and three different pimpls to be
5361         used in different circumstances.
5362
5363         * gettext.[Ch]: change for use with new message code.
5364
5365 2003-04-24 André Pönitz <poenitz@gmx.net>
5366
5367         * factory.C: support for eqref
5368
5369 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5370
5371         * messages.[Ch]: add missing char
5372
5373         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5374
5375         * messages.[Ch]: New files
5376
5377 2003-04-18  John Levon  <levon@movementarian.org>
5378
5379         * BufferView.h:
5380         * BufferView.C:
5381         * BufferView_pimpl.C:
5382         * lfuns.h:
5383         * LyXAction.C:
5384         * lyxtext.h:
5385         * text2.C: remove layout-copy/paste (bug 778)
5386
5387 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5388
5389         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5390
5391 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5392
5393         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5394         if they succeed. Act accordingly.
5395
5396 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5397
5398         * text2.C (setCharFont): adjust
5399         (setCounter): adjust
5400         (insertStringAsLines): adjust
5401
5402         * text.C (leftMargin): adjust
5403         (setHeightOfRow): adjust
5404
5405         * rowpainter.C (paintFirst): adjust
5406         (paintLast): adjust
5407
5408         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5409         (outerHook): ditto
5410         (isFirstInSequence): ditto
5411         (getEndLabel): ditto
5412         (outerFont): adjust
5413
5414         * paragraph.C (getParLanguage): comment out some hard stuff.
5415
5416         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5417         (sgmlError): ditto
5418         (simpleDocBookOnePar): ditto
5419         (makeDocBookFile): use ParagraphList::iterator
5420
5421         * CutAndPaste.C (pasteSelection): adjust
5422
5423 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5424
5425         * text2.C (getFont): adjust
5426         (getLayoutFont): adjust
5427         (getLabelFont): adjust
5428
5429         * paragraph_funcs.C (TeXOnePar): adjust
5430
5431         * buffer.C (simpleLinuxDocOnePar): adjust
5432         (simpleDocBookOnePar): adjust
5433
5434         * CutAndPaste.C (pasteSelection): adjust
5435
5436         * BufferView.C (getEncoding): adjust
5437
5438         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5439
5440 2003-04-16  John Levon  <levon@movementarian.org>
5441
5442         * lyxfind.C: use parlist stuff for search/changes
5443
5444 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5445
5446         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5447
5448         * text2.C (deleteEmptyParagraphMechanism): adjust
5449
5450         * text2.[Ch] (ownerParagraph): delete func (both of them
5451
5452 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5453
5454         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5455
5456 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5457
5458         * ParagraphList.C: prepare for NO_NEXT
5459
5460 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5461
5462         * text2.C (getFont): adjust
5463         (getLayoutFont): adjust
5464         (getLabelFont): adjust
5465
5466         * paragraph.C (getFont): adjust
5467         (getLabelFont): adjust
5468         (getLayoutFont): adjust
5469
5470         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5471
5472 2003-04-15  John Levon  <levon@movementarian.org>
5473
5474         From Angus Leeming
5475
5476         * lyx_main.C: handle Include in .ui files
5477
5478 2003-04-15  John Levon  <levon@movementarian.org>
5479
5480         * MenuBackend.C: make the doc files length shorter
5481
5482         * ToolbarBackend.h:
5483         * ToolbarBackend.C: handle toolbar placement flags,
5484         Minibuffer
5485
5486 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5487
5488         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5489         adjust
5490
5491         * paragraph_funcs.C (TeXOnePar): adjust
5492
5493         * paragraph.C (getLabelFont): add outerfont arg, adjust
5494         (getLayoutFont): ditto
5495         (simpleTeXOnePar): adjust
5496
5497         * paragraph_pimpl.C (realizeFont): delete func
5498
5499 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5500
5501         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5502         row argument, constify cur argument.
5503
5504 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5505
5506         * text2.C (getFont): adjust
5507         (getLayoutFont): adjust
5508         (getLabelFont): adjust
5509
5510         * paragraph_funcs.C (TeXOnePar): adjust
5511         (outerFont): new func...
5512         (realizeFont): ...moved out from here, changed this to facilitate
5513         transition
5514
5515         * paragraph.C (getFont): take outerfont as arg, adjust
5516         (simpleTeXOnePar): add outerfont arg, adjust
5517
5518         * buffer.C (simpleLinuxDocOnePar): adjust
5519         (simpleDocBookOnePar): adjust
5520
5521         * CutAndPaste.C (pasteSelection): adjust
5522
5523         * BufferView.C (getEncoding): adjust
5524
5525 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5526
5527         * text2.C (setCharFont): adjust
5528         (setCounter): adjust
5529
5530         * text.C (leftMargin): adjust
5531         (setHeightOfRow): adjust
5532
5533         * rowpainter.C (paintFirst): adjust
5534         (paintLast): adjust
5535
5536         * paragraph_pimpl.C (realizeFont): adjust
5537
5538         * paragraph.C (isFirstInSequence): move from here...
5539         * paragraph_funcs.C (isFirstInSequence): ...to here
5540
5541         * paragraph.C (outerHook): move from here...
5542         * paragraph_funcs.C (outerHook): ...to here
5543
5544         * paragraph.C (depthHook): move from here...
5545         * paragraph_funcs.C (depthHook): ...to here
5546
5547         * paragraph.C (getEndLabel): move from here...
5548         * paragraph_funcs.C (getEndLabel): ...to here
5549
5550         * text2.C (realizeFont): move from here...
5551         * paragraph_funcs.C (realizeFont): ...to here
5552
5553 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5554
5555         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5556
5557 2003-04-14  Angus Leeming  <leeming@lyx.org>
5558
5559         * LColor.[Ch]: scrap LColor mathcursor.
5560
5561 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5562
5563         * lyxlex.[Ch] (text): delete function
5564         * trans.C (Load): adjust
5565         * paragraph_funcs.C (readParToken): adjust
5566
5567 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5568
5569         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5570         vector<char> instead of a char[].
5571
5572         * lyxlex_pimpl.C (getString): adjust
5573         (next): adjust
5574         (lex): use getString
5575         (eatLine): adjust
5576         (nextToken): adjust
5577
5578         * lyxlex.C (text): use pimpl_->getString()
5579         (getBool): ditto
5580         (findToken): ditto
5581
5582 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5583
5584         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5585         (makeFontEntriesLayoutSpecific): temp var for par.size()
5586         (setLayout): temp var for ownerParagraphs().end()
5587         (fullRebreak): temp var for rows().end()
5588         (selectionAsString): temp var for boost::next(startpit), realize
5589         that the while really is a regular for loop.
5590         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5591         setCursor in one place.
5592         (setParagraph): temp vr for ownerParagraphs().end()
5593         (updateCounters): make the while loop a for loop
5594         (cutSelection): temp var for ownerParagraphs().end()
5595         (updateInset): make the do {} while() a regular for loop
5596         (getCursorX): use temp vars
5597         (setCurrentFont): use temp vars
5598         (getColumnNearX): use temp vars
5599
5600 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5601
5602         * text.C (transformChar): use temp var for getChar
5603         (computeBidiTables): use temp var for row->par()
5604         (fill): move temp vars for row->par() and pit->layout() earlier in
5605         the function.
5606         (labelFill): use temp var for row->par()
5607         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5608         asc and desc, realize that pit never changes and that firstpit is
5609         just a duplicate and not needed. Exchange rit->par() with pit in a
5610         lot of places.
5611         (breakAgain): use a temp var for boost::next(rit)
5612         (breakAgainOneRow): ditto
5613         (breakParagraph): use a temp var for rows().begin()
5614         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5615         (cursorRightOneWord): use temp var for cursor.par() and
5616         cursor.pos(), remove usage of tmpcursor.
5617         (cursorLeftOneWord): use temp var for cursor.par() and
5618         cursor.pos() only set cur at end of function.
5619
5620 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5621
5622         * text.C, text2.C: exchange all usage of Paragraph::next with
5623         boost::next(ParagraphList::iterator)
5624
5625         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5626
5627         * text2.C (cursorTop): simplify implementation
5628         (cursorBottom): ditto
5629         (setParagraph): use ParagraphList::iterator
5630         (setCurrentFont): adjust
5631         (getColumnNearX): adjust
5632         (cursorRight): adjust
5633         (cursorLeft): remove usage of Paragraph::previous
5634         (cursorUpParagraph): ditto
5635         (deleteEmptyParagraphMechanism): slight cleanup
5636
5637         * text.C (isBoundary): take a Paragraph const & instead of a
5638         pointer as arg.
5639         (addressBreakPoint): ditto
5640         (leftMargin): remove usage of Paragraph::previous.
5641         (setHeightOfRow): ditto
5642         (cursorLeftOneWord): ditto
5643         (selectNextWordToSpellcheck): ditto
5644         (Delete): ditto
5645         (backspace): ditto
5646         (breakParagraph): remove one usage of Paragraph::next
5647         (redoParagraph): ditto
5648         (acceptChange): ditto
5649         (insertChar): adjust
5650         (rowBreakPoint): adjust
5651
5652         * bufferview_funcs.C (toggleAndShow): adjust
5653
5654 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5655
5656         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5657         methods to access it.
5658         * lyxtext.h:
5659         * text.C: Added updateRowPositions to compute all row positions.
5660         Make top_y and getRowNearY() to use the cached y position
5661
5662 2003-04-11  John Levon  <levon@movementarian.org>
5663
5664         * text.C (rowBreakPoint): reintroduce the labelEnd
5665         checks, code copied from the row fill stuff. Deep voodoo.
5666
5667         * text.C (fill): add a comment and debugging for the
5668         next poor soul.
5669
5670 2003-04-11  John Levon  <levon@movementarian.org>
5671
5672         * text.C: make sure fullrow insets get wrapped to the next line,
5673         even when they're in a manual label
5674
5675 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5676
5677         * text2.C (insertParagraph): make it take ParagraphList::iterator
5678         as arg.
5679         (setLayout): make it return ParagraphList::iterator
5680         (redoParagraphs): ditto
5681         (setCounter): ditto
5682         (checkParagraph): ditto
5683
5684         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5685
5686         * text2.C: adjust several funcs.
5687         (realizeFont): take a ParagraphList::iterator as arg.
5688         (getLayoutFont): ditto
5689         (getLabelFont): ditto
5690         (setCharFont): ditto
5691
5692         * text.C: adjust several funcs.
5693
5694 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5695
5696         * text.C (selectNextWordToSpellcheck): don't accidentally
5697         skip insets
5698
5699 2003-04-10  John Levon  <levon@movementarian.org>
5700
5701         * ToolbarBackend.C (getIcon): special handling for
5702         LFUN_MATH_DELIM
5703
5704 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5705
5706         * text2.C (cursorRight): a getChar assert fixed
5707
5708 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5709
5710         * text2.C (getFont): change to take a ParagraphList::iterator
5711         instead of Paragraph*
5712         Adjust several functions.
5713
5714         * text.C (transformChar): change to take a ParagraphList::iterator
5715         instead of Paragraph*
5716         (singleWidth): ditto
5717         Adjust several functions.
5718
5719         * rowpainter.C: adjust several functions
5720         * rowpainter.h:store a ParagraphList::iterator and not a
5721         Paragraph&.
5722
5723
5724 2003-04-09  John Levon  <levon@movementarian.org>
5725
5726         * lyxfunc.C:
5727         * lfuns.h:
5728         * LyXAction.h:
5729         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5730         and the "help" bits as well
5731
5732 2003-04-09  John Levon  <levon@movementarian.org>
5733
5734         * ToolbarBackend.h:
5735         * ToolbarBackend.C: allow multiple toolbars
5736
5737 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5738
5739         * undo_funcs.C (setCursorParUndo): adjust
5740
5741         * text_funcs.C (transposeChars): adjust
5742
5743         * text3.C (gotoNextInset): adjust
5744         (dispatch): adjust
5745
5746         * text2.C (setLayout): adjust
5747         (changeDepth): adjust
5748         (setFont): adjust
5749         (redoParagraphs): adjust
5750         (selectionAsString): adjust
5751         (setParagraph): adjust
5752         (insertInset): adjust
5753         (cutSelection): adjust
5754         (copySelection): adjust
5755         (pasteSelection): adjust
5756         (insertStringAsLines): adjust
5757         (updateInset): adjust
5758         (setCursor): change to take a ParagraphList::iterator parameter
5759         (setCursorIntern): change to take a ParagraphList::iterator parameter
5760         (setCurrentFont): adjust
5761         (cursorLeft): adjust
5762         (cursorRight): adjust
5763         (deleteEmptyParagraphMechanism): adjust
5764
5765         * text.C (breakParagraph): adjust
5766         (insertChar): adjust
5767         (acceptChange): adjust
5768         (rejectChange): adjust
5769         (selectNextWordToSpellcheck): adjust
5770         (changeCase): adjust
5771         (Delete): adjust
5772         (backspace): adjust
5773
5774         * lyxfind.C (SearchForward): adjust
5775         (SearchBackward): adjust
5776         (nextChange): adjust
5777
5778         * lyxcursor.C (par): adjust
5779
5780         * lyxcursor.h: store a ParagraphList::iterator instead of a
5781         Paragraph*
5782
5783         * lyx_cb.C (getPossibleLabel): adjust
5784
5785         * bufferview_funcs.C (toggleAndShow): adjust
5786
5787         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5788         (dispatch): adjust
5789
5790         * BufferView.C (removeAutoInsets): adjust
5791         (lockedInsetStoreUndo): adjust
5792
5793 2003-04-09  John Levon  <levon@movementarian.org>
5794
5795         * ToolbarBackend.C: try icon without argument
5796         if with argument fails
5797
5798 2003-04-08  John Levon  <levon@movementarian.org>
5799
5800         * ToolbarBackend.h:
5801         * ToolbarBackend.C: add getIcon(), handle tooltip,
5802         and change from "Icon" to "Item".
5803
5804 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5805
5806         * BufferView.C (lockInset): another bad getchar crunched
5807
5808 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5809
5810         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5811         again)
5812
5813 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5814
5815         * lyxfind.C (searchForward, searchBackwards): bug 782
5816
5817 2003-04-07  John Levon  <levon@movementarian.org>
5818
5819         * paragraph.C: remove dead comment
5820
5821         * text.C: remove troublesome depth-fiddling code
5822         in leftMargin() and rightMargin() (bug 1017)
5823
5824         * text.C: fix breaking of rows in nested lists
5825         (bug 1004)
5826
5827         * text2.C (updateCounters): fix up depth values
5828         (bug 1013)
5829
5830 2003-04-07  John Levon  <levon@movementarian.org>
5831
5832         * BufferView_pimpl.C: clear message when doc finishes resizing,
5833         and after a mouse event
5834
5835         * lyxfunc.C: clear message after exiting inset
5836
5837 2003-04-07  John Levon  <levon@movementarian.org>
5838
5839         * bufferview_funcs.C: show math status not outside
5840         status in the statusbar
5841
5842 2003-04-07  John Levon  <levon@movementarian.org>
5843
5844         * lyxfunc.C: note status changed after a depth change
5845
5846 2003-04-04  Angus Leeming  <leeming@lyx.org>
5847
5848         * LaTeX.h: move AuxInfo operator==, != out of line.
5849         Remove LaTeX virtual destructor; nothing derives from it.
5850         Move operator()() out of public area and rename it startscript().
5851         Change protected for private.
5852
5853 2003-04-04  Angus Leeming  <leeming@lyx.org>
5854
5855         * lyxfunc.C:
5856         * text2.C: remove unneeded #includes.
5857
5858 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5859
5860         * text2.C (dEPM): fix the heigth of the next row
5861
5862 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5863
5864         * text.C: squashed an invalid getChar requester + some ws changes
5865
5866 2003-04-03  John Levon  <levon@movementarian.org>
5867
5868         * bufferview_funcs.h:
5869         * bufferview_funcs.C:
5870         * lyxfunc.C:
5871         * lyxtext.h:
5872         * text2.C: make getStatus work for the env depth lfuns
5873
5874 2003-04-03  John Levon  <levon@movementarian.org>
5875
5876         * bufferview_funcs.h:
5877         * bufferview_funcs.C:
5878         * lyxfunc.C:
5879         * lyxtext.h:
5880         * text2.C: parlistize decDepth(), by merging it with incDepth()
5881
5882 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5883
5884         * lyxrow.h: store a ParagraphList::iterator instead of a
5885         Paragraph* and adjust other class functions to suit.
5886
5887         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5888         above.
5889
5890 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5891
5892         * text2.C (setCursor): do not anchor to cursor row for the time being
5893
5894 2003-04-02  John Levon  <levon@movementarian.org>
5895
5896         * LyXAction.C:
5897         * lfuns.h:
5898         * lyx_main.C:
5899         * lyxtext.h:
5900         * text.C:
5901         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5902
5903 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5904
5905         * paragraph.h: make ParagraphList and ParagraphList::iterator
5906         friends of Paragraph.
5907
5908         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5909
5910         * ParagraphList.C: Use the private next_ and previous_ from
5911         Paragraph.
5912
5913 2003-04-01  John Levon  <levon@movementarian.org>
5914
5915         * ToolbarBackend.h:
5916         * ToolbarBackend.C:
5917         * Makefile.am: rename, remove defaults gunk
5918
5919         * MenuBackend.h:
5920         * MenuBackend.C: remove defaults gunk
5921
5922         * Languages.h:
5923         * Languages.C: remove defaults gunk
5924
5925         * lyx_main.h:
5926         * lyx_main.C: error out if files couldn't be found.
5927
5928 2003-04-02  John Levon  <levon@movementarian.org>
5929
5930         * text2.C: make incDepth() use parlist
5931
5932 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5933
5934         * undo_funcs.C (firstUndoParagraph): adjust
5935
5936         * text3.C (gotoInset): adjust
5937         (dispatch): adjust, and rewrite loop.
5938
5939         * text2.C (init): adjust, and rewrite loop.
5940         (redoParagraphs): adjust
5941         (updateInset): adjust, and rewrite loop.
5942         (deleteEmptyParagraphMechanism): adjust
5943
5944         * tabular.C (LyXTabular): adjust
5945         (SetMultiColumn): adjust
5946         (TeXRow): adjust
5947
5948         * lyxtext.[Ch] (ownerParagraph): delete function
5949         (ownerParagraphs): new function returns a ParagraphList.
5950
5951         * BufferView.C (removeAutoInsets): adjust
5952         (insertErrors): adjust
5953         (setCursorFromRow): adjust
5954
5955 2003-04-01  Angus Leeming  <leeming@lyx.org>
5956
5957         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5958         in the frontends.
5959
5960 2003-04-02  John Levon  <levon@movementarian.org>
5961
5962         * lyxtext.h:
5963         * text.C:
5964         * Makefile.am:
5965         * text_funcs.h:
5966         * text_funcs.C: make transposeChars a free function
5967
5968         * lyxrow_funcs.C: remove wrong comment
5969
5970 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5971
5972         * lyxtext.h: adjust
5973         * rowpainter.C: adjust
5974         * text.C: adjust
5975         * text2.C: adjust
5976         * text3.C: adjust
5977
5978         * lyxrow_funcs. [Ch]: new files
5979
5980         * lyxrow.[Ch]: remove next and previous pointers
5981         (next,previous): remove accessor functions
5982         (isParEnd): move to lyxrow_funcs
5983         (lastPos): move to lyxrow_funcs
5984         (nextRowIsAllInset): move to lyxrow_funcs
5985         (lastPrintablePos): move to lyxrow_funcs
5986         (numberOfSeparators): move to lyxrow_funcs
5987         (numberOfHfills): move to lyxrow_funcs
5988         (numberOfLabelHfills): move to lyxrow_funcs
5989         (hfillExpansion): move to lyxrow_funcs
5990
5991         * lyxfunc.C: adjust
5992
5993         * bufferview_funcs.C (toggleAndShow): adjust
5994
5995         * RowList.h: Remove class RowList from file leave just a
5996         std::list<Row>.
5997
5998         * RowList.C: delete file
5999
6000         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6001         and lyxrow_funcs.h
6002
6003 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6004
6005         * text3.C (cursorPrevious): adjust
6006         (cursorNext): adjust
6007         (dispatch): adjust
6008
6009         * text2.C (redoHeightOfParagraph): adjust
6010         (redoDrawingOfParagraph): adjust
6011         (setCursor): adjust
6012
6013         * text.C (breakParagraph): adjust
6014         (insertChar): adjust
6015         (backspace): adjust
6016
6017         * rowpainter.C (RowPainter): adjust
6018         (leftMargin): simplify and adjust
6019         (most rowpainter functions): adjust.
6020
6021         * rowpainter.h: store the row as RowList::iterator not as Row*
6022
6023         * lyxcursor.C (row): taka RowList::iterator as arg
6024         (irow): ditto
6025
6026         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6027         of Row*.
6028
6029 2003-04-01  Angus Leeming  <leeming@lyx.org>
6030
6031         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6032         stuff like bool Bool.
6033
6034 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6035
6036         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6037         rewrite a loop
6038
6039 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6040
6041         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6042         RowList::iterator.
6043
6044         * lyxtext.h (rows): drop one version and leve a const variant that
6045         returns a RowList::iterator.
6046
6047 2003-03-31  Angus Leeming  <leeming@lyx.org>
6048
6049         * text.C (fill): ensure that the signature is the same as that in the
6050         header file.
6051
6052 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6053
6054         * text2.C (redoParagraphs): adjust
6055         (updateCounters): adjust
6056         (checkParagraph): adjust
6057         (getColumnNearX): adjust and reformat a bit.
6058
6059         * text.C (top_y): adjust
6060         (workWidth): adjust
6061         (leftMargin): adjust
6062         (prepareToPrint): adjust
6063         (getRow): adjust
6064         (getRowNearY): adjust
6065
6066         * lyxtext.h: make rowlist_ mutable.
6067
6068         * RowList.h: add const_iterator
6069         * RowList.C: adjust for RowList::const_iterator.
6070
6071         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6072         adjust.
6073
6074 2003-03-31  John Levon  <levon@movementarian.org>
6075
6076         * lyxrc.h:
6077         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6078
6079         * lyx_main.C: set default fonts from using lyx_gui funcs
6080
6081         * exporter.C: pdf_mode moved from lyxrc
6082
6083         * lyx_cb.C:
6084         * lyxfunc.C: changes from above
6085
6086 2003-03-31  John Levon  <levon@movementarian.org>
6087
6088         * lyx_main.C: fix to the last fix
6089
6090 2003-03-31  John Levon  <levon@movementarian.org>
6091
6092         * bufferlist.C: "Load original" -> "Load Original"
6093
6094         * converter.C:
6095         * exporter.C:
6096         * importer.C:
6097         * lyx_main.C:
6098         * format.C: more Alert cleanups
6099
6100 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6101
6102         * text2.C (removeParagraph): make it take a RowList::iterator as
6103         arg, adjust.
6104         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6105         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6106
6107         * text.C (anchor_row): make it take a RowList::iterator as arg,
6108         adjust.
6109         (computeBidiTables): make it take a const reference to Row instead
6110         of Row pointer, adjust.
6111         (leftMargin): make it take a RowList::iterator as arg, adjust.
6112         (rowBreakPoint): adjust
6113         (breakAgainOneRow): make it take a RowList::iterator as arg,
6114         adjust.
6115         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6116
6117         * bufferview_funcs.C (toggleAndShow): adjust
6118
6119 2003-03-30  John Levon  <levon@movementarian.org>
6120
6121         * Makefile.am:
6122         * BoostFormat.h:
6123         * boost-inst.C: moved to support
6124
6125         * several files: changes as a result
6126
6127 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6128
6129         * text2.C (LyXText): adjust.
6130         (init): adjust
6131         (removeRow): make it take a RowList::iterator as arg, adjust.
6132         (fullRebreak): adjust
6133         (deleteEmptyParagraphMechanism): adjust
6134         (clearPaint): adjust
6135         (postPaint): adjust
6136
6137         * text.C (top_y): adjust
6138         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6139         (breakAgain): make it take a RowList::iterator as arg, adjust.
6140         (breakParagraph): adjust
6141         (insertChar): adjust
6142         (backspace): adjust
6143
6144         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6145         need_break_row, and refresh_row.
6146
6147         * text3.C (dispatch): adjust
6148
6149         * text2.C (checkParagraph): adjust
6150         (setCursor): adjust
6151         (setCursorFromCoordinates): adjust
6152
6153         * text.C (top_y): adjust
6154         (workWidth): adjust
6155         (getRow): make it return a RowList::iterator, adjust
6156         (getRowNearY): make it return a RowList::iterator, adjust
6157
6158         * text2.C (init): adjust
6159         (insertRow): remove function
6160         (insertParagraph): adjust
6161         (redoParagraphs): adjust
6162         (fullRebreak): adjust
6163         (updateCounters): adjust
6164
6165         * text.C (top_y): rewrite to use RowList iterators.
6166         (top_y): adjust
6167         (setHeightOfRow): rewrite to sue RowList iterators.
6168         (appendParagraph): adjust
6169         (breakAgain): adjust
6170         (breakAgainOneRow): adjust
6171         (breakParagraph): adjust
6172         (getRow): adjust
6173         (getRowNearY): adjust, and remove commented code.
6174
6175         * lyxtext.h (firstRow): delete function
6176         (lastRow): delete function
6177         (rows): new function (const and non-const versions.)
6178         (insertRow): delete function
6179
6180         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6181
6182 2003-03-29  John Levon  <levon@movementarian.org>
6183
6184         * BufferView_pimpl.C: always update scrollbar top
6185         because pasting text when we're anchored could mean we
6186         miss an update altogether
6187
6188 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6189
6190         * text2.C (init): use rowlist_.end() and not 0.
6191         (insertRow): change to take a RowList::iterator as arg, adjust
6192         for this.
6193         (insertParagraph): change to take a RowList::iterator as arg,
6194         adjust for this.
6195         (redoParagraphs): remove some debug msgs.
6196
6197         * text.C (appendParagraph): change to take a RowList::iterator
6198         arg, adjust for this.
6199         (breakAgain): add an assert
6200         (breakAgainOneRow): ditto
6201
6202 2003-03-29  John Levon  <levon@movementarian.org>
6203
6204         * text2.C: do not clear selection after inc/decDepth
6205         (bug 550)
6206
6207 2003-03-29  John Levon  <levon@movementarian.org>
6208
6209         * BufferView.C:
6210         * buffer.C: fix broken strerrors according to Lars
6211
6212 2003-03-29  John Levon  <levon@movementarian.org>
6213
6214         * converters.C: more Alert cleanups
6215
6216 2003-03-29  John Levon  <levon@movementarian.org>
6217
6218         * bufferview_funcs.C: remove pointless Alert
6219
6220         * buffer.C: fix confusing error message when
6221         a template is chmoded 000
6222
6223 2003-03-29  John Levon  <levon@movementarian.org>
6224
6225         * BufferView.C:
6226         * BufferView.h:
6227         * BufferView_pimpl.C: Alert fixes
6228
6229         * Makefile.am:
6230         * tabular.C:
6231         * tabular-old.C: remove unused table compat reading
6232
6233 2003-03-29  John Levon  <levon@movementarian.org>
6234
6235         * BufferView.C:
6236         * buffer.C:
6237         * lyx_cb.h:
6238         * lyx_cb.C: more Alert cleanups
6239
6240         * lyxfunc.C: don't allow chktex if not latex document
6241
6242 2003-03-29  John Levon  <levon@movementarian.org>
6243
6244         * lyx_cb.C:
6245         * BufferView.C:
6246         * buffer.C: warnings pushed down from support/,
6247         kill err_alert
6248
6249 2003-03-29  John Levon  <levon@movementarian.org>
6250
6251         * lyxfunc.C: safety check for C-r (revert)
6252
6253 2003-03-29  John Levon  <levon@movementarian.org>
6254
6255         * bufferlist.h:
6256         * bufferlist.C: several UI fixes using Alert::prompt.
6257         Fix the pointless looping quit code. Fix stupid revert
6258         behaviour (bug 938)
6259
6260         * lyxvc.h:
6261         * lyxvc.C:
6262         * lyx_cb.C: use Alert::prompt
6263
6264         * lyx_main.C: remove a silly question
6265
6266         * lyxfunc.C: remove a couple of silly questions,
6267         use Alert::prompt
6268
6269 2003-03-28  John Levon  <levon@movementarian.org>
6270
6271         * text2.C: fix bug 974 (End on empty par)
6272
6273 2003-03-28  John Levon  <levon@movementarian.org>
6274
6275         * BufferView_pimpl.C:
6276         * LyXAction.C:
6277         * lfuns.h: remove do-nothing math greek lfuns
6278
6279 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6280
6281         * lyxgluelength.h (isValidGlueLength): add default arg on
6282         parameter 2. Remove default arg from friend in class.
6283
6284         * lyxlength.h (isValidLength): add default arg on parameter 2.
6285         Remove default arg from friend in class.
6286
6287         * text2.C (LyXText): adjust, initialize refresh_row.
6288         (init): adjust
6289         (removeRow): adjust
6290         (insertRow): adjust
6291         (insertParagraph): adjst
6292         (redoParagraphs): adjust
6293         (fullRebreak): adjust
6294         (updateCounters): adjust
6295         (deleteEmptyParagraphMechanism): first attempt at fixing a
6296         crashing bug.
6297
6298         * text.C (top_y): adjust
6299         (setHeightOfRow): adjust
6300         (getRow): adjust
6301         (getRowNearY): adjust
6302
6303         * lyxtext.h: include RowList.h
6304         (~LyXText): not needed anymore, deleted.
6305         (firstRow): modify for RowList
6306         (lastRow): new function
6307         Delete firstrow and lastrow class variables, add a Rowlist
6308         rowlist_ class variable.
6309
6310         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6311         paragraph is empty.
6312
6313         * RowList.C (insert): fix case where it == begin().
6314
6315 2003-03-26  Angus Leeming  <leeming@lyx.org>
6316
6317         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6318         the thesaurus dialog.
6319
6320 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6321
6322         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6323
6324         * RowList.[Ch]: new files
6325
6326         * ParagraphList.C (erase): handle the case where it == begin
6327         correctly.
6328
6329 2003-03-25  John Levon  <levon@movementarian.org>
6330
6331         * Makefile.am:
6332         * aspell_local.h:
6333         * aspell.C: add new aspell support
6334
6335         * lyxrc.h:
6336         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6337         have it accessible.
6338
6339 2003-03-25  Angus Leeming  <leeming@lyx.org>
6340
6341         * lfuns.h:
6342         * LyXAction.C (init): new LFUN_INSET_INSERT.
6343
6344         * BufferView_pimpl.C (dispatch): split out part of the
6345         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6346
6347         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6348         LFUN_INSET_APPLY.
6349
6350 2003-03-25  Angus Leeming  <leeming@lyx.org>
6351
6352         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6353
6354 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6355
6356         * text2.C:
6357         * text3.C: remove useless row->height(0)
6358
6359 2003-03-25  John Levon  <levon@movementarian.org>
6360
6361         * lyxtext.h:
6362         * text2.C:
6363         * text3.C: rename the refreshing stuff to better names
6364
6365 2003-03-24  John Levon  <levon@movementarian.org>
6366
6367         * BufferView_pimpl.h:
6368         * BufferView_pimpl.C: update layout choice on a mouse
6369         press/release
6370
6371 2003-03-23  John Levon  <levon@movementarian.org>
6372
6373         * Makefile.am: fix commandtags.h reference
6374
6375 2003-03-22  John Levon  <levon@movementarian.org>
6376
6377         * BufferView_pimpl.C:
6378         * lyxtext.h:
6379         * rowpainter.C:
6380         * rowpainter.h:
6381         * text.C:
6382         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6383
6384 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6385
6386         * lyxtext.h:
6387         * text.C: take the rtl methods out of line
6388
6389 2003-03-21 André Pönitz <poenitz@gmx.net>
6390
6391         * metricsinfo.[Ch]: new files containing structures to be passed around
6392         during the two-phase-drawing...
6393
6394 2003-03-21 André Pönitz <poenitz@gmx.net>
6395
6396         * lyxtextclass.C: read 'environment' tag.
6397
6398 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6399
6400         * text2.C (removeRow): fix bug 964
6401
6402 2003-03-20  John Levon  <levon@movementarian.org>
6403
6404         * rowpainter.C:
6405         * text.C:
6406         * text2.C: paint cleanups. Inset::update() dropped font
6407         parameter
6408
6409 2003-03-19  John Levon  <levon@movementarian.org>
6410
6411         * lyxfunc.C: only fitcursor/markDirty if available()
6412
6413 2003-03-19  John Levon  <levon@movementarian.org>
6414
6415         * commandtags.h: rename to ...
6416
6417         * lfuns.h: ... this, and renumber / cleanup
6418
6419 2003-03-19  John Levon  <levon@movementarian.org>
6420
6421         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6422         fit the cursor after an lfun
6423
6424         * BufferView.h:
6425         * BufferView.C:
6426         * BufferView_pimpl.h:
6427         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6428
6429         * LyXAction.C: layout-character should have ReadOnly
6430
6431         * ParagraphParameters.C:
6432         * buffer.C:
6433         * bufferview_funcs.C:
6434         * lyx_cb.C:
6435         * lyxfind.C:
6436         * lyxtext.h:
6437         * text.C:
6438         * text2.C:
6439         * text3.C:
6440         * undo_funcs.C: changes from above
6441
6442 2003-03-18  John Levon  <levon@movementarian.org>
6443
6444         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6445         remove it from update()
6446
6447         * lyxfunc.C: update layout choice after an lfun
6448
6449         * text3.C: remove extra updateLayoutChoice()s
6450
6451 2003-03-18  John Levon  <levon@movementarian.org>
6452
6453         * text.C: top_y change means full repaint, fix
6454         a drawing bug with cursor movement
6455
6456 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6457
6458         * lyxtext.h:
6459         * text.C:
6460         * text2.C: anchor row on setCursor
6461
6462 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6463
6464         * lyxtext.h: remove almost all mutable keywords
6465         * text.C:
6466         * text2.C:
6467         * text3.C: remove const keywords accordingly
6468
6469 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6470
6471         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6472         anon namespace
6473         (TeXEnvironment): ditto
6474         (TeXOnePar): ditto
6475
6476 2003-03-17  John Levon  <levon@movementarian.org>
6477
6478         * text.C (rowBreakPoint): remove attempt to fix displayed
6479         math insets inside a manual label
6480
6481 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6482
6483         * lyxtext.h: remove BufferView* as first arg from almost all class
6484         functions.
6485         * other files: adjust.
6486
6487 2003-03-17  John Levon  <levon@movementarian.org>
6488
6489         * lyxtext.h:
6490         * undo_funcs.C:
6491         * text2.C: more paint cleanups
6492
6493         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6494
6495         * rowpainter.h:
6496         * rowpainter.C: remove "smart" background painting code
6497
6498 2003-03-16  John Levon  <levon@movementarian.org>
6499
6500         * lyxtext.h:
6501         * text.C:
6502         * text2.C:
6503         * text3.C: add helper functions for setting refresh_row/y
6504
6505 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6506
6507         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6508         newline inset which *can* get inserted in the pass_thru layouts.
6509         This is primarily for literate documents.
6510
6511 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6512
6513         * buffer.C: increment LYX_FORMAT to 223
6514
6515 2003-03-14 André Pönitz <poenitz@gmx.net>
6516
6517         * textclass.h: prepare for environment handling, ws changes
6518         * lyxlayout.C: read latexheader and latexfooter tags
6519
6520 2003-03-14  John Levon  <levon@movementarian.org>
6521
6522         * text2.C: rewrite ::status() a bit
6523
6524 2003-03-13  John Levon  <levon@movementarian.org>
6525
6526         * lyxtext.h: add some docs
6527
6528 2003-03-13  John Levon  <levon@movementarian.org>
6529
6530         * lyxtext.h:
6531         * text.C:
6532         * text2.C:
6533         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6534
6535 2003-03-13  John Levon  <levon@movementarian.org>
6536
6537         * text3.C: fix appendix redrawing
6538
6539 2003-03-13  John Levon  <levon@movementarian.org>
6540
6541         * text.C (setHeightOfRow):
6542         * rowpainter.h:
6543         * rowpainter.C: make appendix mark have the text
6544           "Appendix" so the user knows what it is
6545
6546         * LColor.h:
6547         * LColor.C: s/appendixline/appendix/ from above
6548
6549 2003-03-13  John Levon  <levon@movementarian.org>
6550
6551         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6552
6553         * text.C: fix a getChar(pos) bug properly
6554
6555 2003-03-13  Angus Leeming  <leeming@lyx.org>
6556
6557         * commandtags.h:
6558         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6559         Probably only temporary. Let's see how things pan out.
6560
6561         * BufferView.C (unlockInset):
6562         * BufferView_pimpl.C (fitCursor):
6563         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6564
6565         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6566         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6567
6568         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6569         new functions that convert ParagraphParameters to and from a string.
6570
6571         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6572         BufferView::Pimpl's dispatch.
6573         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6574
6575 2003-03-13 André Pönitz <poenitz@gmx.net>
6576
6577         * lyxfunc.C:
6578         * text3.C:
6579         * factory.C: make it aware of InsetEnv
6580
6581 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6582
6583         * text2.C (setCursor): never ask for one past last
6584         (setCursor): add some debugging messages.
6585
6586         * text.C (singleWidth): never ask for one past last
6587         (singleWidth): ditto
6588         (leftMargin): ditto
6589         (rightMargin): ditto
6590         (rowBreakPoint): ditto
6591         (setHeightOfRow): ditto
6592         (prepareToPrint): ditto
6593
6594         * rowpainter.C (paintBackground): never ask for one past last
6595         (paintText): never ask for one past last
6596
6597         * paragraph_pimpl.C (getChar): make the assert stricter, never
6598         allow the one past last pos to be taken
6599
6600         * paragraph.C (getChar): ws changes only
6601
6602         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6603         (numberOfSeparators): ditto
6604         (numberOfHfills): ditto
6605
6606 2003-03-12  John Levon  <levon@movementarian.org>
6607
6608         * author.h:
6609         * author.C:
6610         * bufferparams.h:
6611         * bufferparams.C:
6612         * paragraph_funcs.C: fix per-buffer authorlists
6613
6614 2003-03-12  John Levon  <levon@movementarian.org>
6615
6616         * text.C: fix newline in right address
6617
6618 2003-03-12  Angus Leeming  <leeming@lyx.org>
6619
6620         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6621         duplicate those in LyXFunc::dispatch.
6622
6623         * commandtags.h:
6624         * LyXAction.C:
6625         * ToolbarDefaults.C:
6626         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6627         Add LFUN_FONTFREE_UPDATE.
6628
6629         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6630         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6631
6632         * bufferview_func.[Ch]: several new functions to facilliate
6633         transfer of data to and from the character dialog.
6634
6635 2003-03-12  John Levon  <levon@movementarian.org>
6636
6637         * buffer.C:
6638         * paragraph.h:
6639         * paragraph.C:
6640         * paragraph_funcs.C:
6641         * paragraph_pimpl.C:
6642         * sgml.C:
6643         * tabular.C:
6644         * text.C:
6645         * text3.C: remove META_NEWLINE in favour of an inset
6646
6647         * rowpainter.h:
6648         * rowpainter.C: remove paintNewline (done by inset)
6649
6650 2003-03-12  John Levon  <levon@movementarian.org>
6651
6652         * paragraph_pimpl.C: complain about bad getChar()s
6653         for a while at least
6654
6655 2003-03-12  John Levon  <levon@movementarian.org>
6656
6657         * buffer.h:
6658         * buffer.C: move paragraph read into a separate function,
6659         a little renaming to reflect that.
6660
6661         * bufferparams.h:
6662         * bufferparams.C: remove the author_ids map, not necessary now
6663
6664         * factory.h:
6665         * factory.C: moved Buffer::readInset to here
6666
6667         * paragraph_funcs.h:
6668         * paragraph_funcs.C: readParagraph free function moved from
6669         buffer.C
6670
6671         * tabular.C: name change
6672
6673 2003-03-12  John Levon  <levon@movementarian.org>
6674
6675         * buffer.C:
6676         * ParagraphParameters.C: move par params input to
6677         a read() method
6678
6679         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6680         behave like a normal read from the stream wrt reading
6681         a line vs. a \\token
6682
6683 2003-03-12  John Levon  <levon@movementarian.org>
6684
6685         * paragraph.C:
6686         * ParagraphParameters.h:
6687         * ParagraphParameters.C: move output code to a
6688         ::write() method
6689
6690 2003-03-12  John Levon  <levon@movementarian.org>
6691
6692         * BufferView.C (insertLyXFile):
6693         * buffer.h:
6694         * buffer.C:
6695         * tabular.C: use a parlist iterator for creating the
6696           document.
6697
6698 2003-03-12  John Levon  <levon@movementarian.org>
6699
6700         * buffer.C: make current_change static local not
6701           static file-scope
6702
6703 2003-03-12  John Levon  <levon@movementarian.org>
6704
6705         * buffer.C: fix insertStringAsLines for change tracking
6706
6707 2003-03-12  John Levon  <levon@movementarian.org>
6708
6709         * BufferView.C:
6710         * tabular.C:
6711         * buffer.h:
6712         * buffer.C:
6713         * bufferparams.h:
6714         * bufferparams.C: move author list into params. Rename some
6715           functions. Move the header reading into a separate token
6716           loop. Move the header token reading into BufferParams.
6717
6718 2003-03-12  John Levon  <levon@movementarian.org>
6719
6720         * changes.C: put debug inside lyxerr.debugging() checks
6721
6722 2003-03-11 André Pönitz <poenitz@gmx.net>
6723
6724         * factory.C: make it aware of InsetHFill
6725
6726 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6727
6728         * buffer.C (latexParagraphs): move function from here...
6729         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6730         args.
6731
6732 2003-03-10  Angus Leeming  <leeming@lyx.org>
6733
6734         * LyXAction.C (init): fix bug in poplating array with multiple entries
6735         with the same LFUN (spotted by JMarc).
6736
6737 2003-03-10  John Levon  <levon@movementarian.org>
6738
6739         * text.C:
6740         * text2.C: move getColumnNearX() near its
6741         only call site
6742
6743 2003-03-10  John Levon  <levon@movementarian.org>
6744
6745         * text.C: fix break before a minipage
6746
6747 2003-03-10  John Levon  <levon@movementarian.org>
6748
6749         * text.C: fix the last commit
6750
6751 2003-03-09  John Levon  <levon@movementarian.org>
6752
6753         * lyxtext.h:
6754         * text.C:
6755         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6756         bug 365 (don't break before insets unless needed). Don't
6757         return a value > last under any circumstances.
6758
6759 2003-03-09  Angus Leeming  <leeming@lyx.org>
6760
6761         * BufferView_pimpl.C (trackChanges, dispatch): call
6762         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6763
6764 2003-03-09  Angus Leeming  <leeming@lyx.org>
6765
6766         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6767         than Dialogs::showAboutlyx().
6768
6769 2003-03-09  Angus Leeming  <leeming@lyx.org>
6770
6771         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6772         than Dialogs::showTabularCreate().
6773
6774 2003-03-09  John Levon  <levon@movementarian.org>
6775
6776         * lyxtext.h:
6777         * text.C:
6778         * text2.C: 3rd arg to nextBreakPoint was always the same.
6779           Use references.
6780
6781 2003-03-08  John Levon  <levon@movementarian.org>
6782
6783         * lyxrow.C:
6784         * paragraph.C:
6785         * paragraph.h:
6786         * rowpainter.C:
6787         * text.C:
6788         * text2.C: Remove the "main" bit from the "main body"
6789           notion.
6790
6791 2003-03-08  John Levon  <levon@movementarian.org>
6792
6793         * text.C (leftMargin): The left margin of an empty
6794         manual label paragraph should not include the label width
6795         string length.
6796
6797         * text.C (prepareToPrint): don't attempt to measure hfills
6798         for empty manual label paragraphs - the answer should be 0
6799
6800 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6801
6802         * CutAndPaste.C: remove commented code and reindent.
6803
6804 2003-03-08  John Levon  <levon@movementarian.org>
6805
6806         * lyxfunc.h:
6807         * lyxfunc.C: move reloadBuffer()
6808
6809         * BufferView.h:
6810         * BufferView.C: to here
6811
6812         * lyxvc.C: add comment
6813
6814         * vc-backend.h:
6815         * vc-backend.C: call bv->reload() to avoid
6816           getStatus() check on MENURELOAD
6817
6818 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6819
6820         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6821         to an old format .dep file.
6822
6823 2003-03-07  Angus Leeming  <leeming@lyx.org>
6824
6825         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6826         when the LFUN_MOUSE_RELEASE should have been handled by
6827         inset->localDispatch.
6828
6829 2003-03-07  Angus Leeming  <leeming@lyx.org>
6830
6831         * BufferView_pimpl.C (dispatch):
6832         * LyXAction.C (init):
6833         * ToolbarDefaults.C (init):
6834         * commandtags.h:
6835         * lyxfunc.C (getStatus):
6836         remove LFUN_INSET_GRAPHICS.
6837
6838         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6839
6840 2003-03-07  Angus Leeming  <leeming@lyx.org>
6841
6842         * commandtags.h:
6843         * LyXAction.C (init):
6844         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6845
6846         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6847
6848         * commandtags.h:
6849         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6850
6851         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6852         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6853
6854 2003-03-07  Angus Leeming  <leeming@lyx.org>
6855
6856         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6857         remove "ert".
6858
6859 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6860
6861         * ParagraphList.C (front): new function
6862         (back): implement
6863
6864 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6865
6866         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6867         and top_row_offset_. removed var first_y.
6868         * text.C (top_y):
6869         * text2.C (LyXText, removeRow):
6870         * text3.C:
6871         * BufferView_pimpl.C:
6872         use these methods instead of using first_y
6873
6874 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6875
6876         * text2.C (pasteSelection): adjust for checkPastePossible
6877
6878         * CutAndPaste.C: remove Paragraph * buf and replace with
6879         ParagraphList paragraphs.
6880         (DeleteBuffer): delete
6881         (cutSelection): change the tc type to textclass_type
6882         (copySelection): change the tc type to textclass_type
6883         (copySelection): adjust for ParagraphList
6884         (pasteSelection): change the tc type to textclass_type
6885         (pasteSelection): adjust for Paragraphlist
6886         (nrOfParagraphs): simplify for ParagraphList
6887         (checkPastePossible): simplify for ParagraphList
6888         (checkPastePossible): remove unused arg
6889
6890         * ParagraphList.C (insert): handle the case where there are no
6891         paragraphs yet.
6892
6893         * CutAndPaste.h: make CutAndPaste a namespace.
6894
6895         * text3.C (dispatch): adjust
6896
6897         * text.C (breakParagraph): add a ParagraphList as arg
6898
6899         * paragraph_funcs.C (breakParagraph): change to take a
6900         BufferParams and a ParagraphList as args.
6901         (breakParagraphConservative): ditto
6902         (mergeParagraph): ditto
6903         (TeXDeeper): add a ParagraphList arg
6904         (TeXEnvironment): ditto
6905         (TeXOnePar): ditto
6906
6907         * buffer.C (readLyXformat2): adjust
6908         (insertStringAsLines): adjust
6909         (latexParagraphs): adjust
6910
6911         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6912         (cutSelection): adjust
6913         (pasteSelection): adjust
6914
6915         * BufferView_pimpl.C (insertInset): adjust
6916
6917 2003-03-05  Angus Leeming  <leeming@lyx.org>
6918
6919         * commandtags.h:
6920         * LyXAction.C (init):
6921         * BufferView_pimpl.C (dispatch):
6922         * lyxfunc.C (getStatus):
6923         remove LFUN_CHILD_INSERT.
6924
6925         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6926
6927 2003-03-05  Angus Leeming  <leeming@lyx.org>
6928
6929         * commandtags.h:
6930         * LyXAction.C (init):
6931         * src/factory.C (createInset):
6932         * lyxfunc.C (getStatus):
6933         * text3.C (dispatch):
6934         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6935
6936         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6937
6938 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6939
6940         * ParagraphList.C (insert): handle insert right before end()
6941         (erase): fix cases where it can be first or last paragraph.
6942
6943 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6944
6945         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6946         Paragraph::next and Paragraph::previous
6947         (TeXOnePar): ditto
6948
6949         * text.C (breakParagraph): adjust
6950
6951         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6952         BufferParams& as arg.
6953         (breakParagraph): use ParagraphList::insert
6954         (breakParagraphConservative): take a Buffer* instead of a
6955         BufferParams& as arg.
6956         (breakParagraphConservative): use ParagraphList::insert.
6957
6958         * buffer.C (insertStringAsLines): un-const it
6959         (insertStringAsLines): adjust
6960
6961         * ParagraphList.C (insert): new function
6962
6963         * CutAndPaste.C (pasteSelection): adjust
6964
6965         * text.C (backspace): adjust
6966
6967         * tabular.C (SetMultiColumn): adjust
6968
6969         * CutAndPaste.C (cutSelection): adjust
6970         (pasteSelection): adjust
6971
6972         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6973         Buffer const * as arg
6974
6975         * ParagraphList.C (erase): new function
6976         * paragraph_funcs.C (mergeParagraph): use it
6977         (mergeParagraph): make it take a Buffer* instead of a
6978         BufferParams* as arg
6979
6980         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6981         as arg
6982         (breakParagraphConservative): ditto
6983
6984         * paragraph.h: remove the breakParagraph friend
6985
6986         * paragraph.C (eraseIntern): new function
6987         (setChange): new function
6988
6989         * paragraph_funcs.C (mergeParagraph): make it take a
6990         ParagraphList::iterator instead of a Paragraph *, adjust
6991         accordingly.
6992
6993         * paragraph.h: move an #endif so that the change tracking stuff
6994         also works in the NO_NEXT case.
6995
6996 2003-03-04  Angus Leeming  <leeming@lyx.org>
6997
6998         * commandtags.h:
6999         * LyXAction.C: new LFUN_INSET_MODIFY.
7000
7001         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7002         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7003
7004 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7005
7006         * several files: ws changes only
7007
7008         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7009         (TeXEnvironment): ditto
7010         (TeXDeeper): ditto
7011
7012         * buffer.C (makeLaTeXFile): adjust
7013         (latexParagraphs): make it take ParagraphList::iterator as args
7014
7015 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7016
7017         * buffer.C (latexParagraphs): adjust
7018
7019         * paragraph.C (TeXOnePar): move function...
7020         (optArgInset): move function...
7021         (TeXEnvironment): move function...
7022         * paragraph_pimpl.C (TeXDeeper): move function...
7023         * paragraph_funcs.C: ...here
7024
7025         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7026
7027 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7028
7029         * buffer.C (readInset): remove compability code for old Figure and
7030         InsetInfo insets
7031
7032 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7033
7034         * buffer.C: ws changes
7035         (readInset):
7036
7037         * BufferView_pimpl.C: ditto
7038         * author.C: ditto
7039         * buffer.h: ditto
7040         * bufferlist.h: ditto
7041         * changes.h: ditto
7042         * lyxfunc.C: ditto
7043
7044 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7045
7046         * converter.[Ch]: split into itself +
7047         * graph.[Ch]
7048         * format.[Ch]
7049         * Makefile.am: += graph.[Ch] + format.[Ch]
7050         * MenuBackend.C
7051         * buffer.C
7052         * exporter.C
7053         * importer.C
7054         * lyx_main.C
7055         * lyxfunc.C
7056         * lyxrc.C: added #include "format.h"
7057
7058 2003-02-27  Angus Leeming  <leeming@lyx.org>
7059
7060         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7061           a label.
7062
7063         * factory.C (createInset): add "label" to the factory.
7064
7065         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7066           string and do no more.
7067
7068 2003-02-27  Angus Leeming  <leeming@lyx.org>
7069
7070         * commandtags.h:
7071         * LyXAction.C (init):
7072         * factory.C (createInset):
7073         * BufferView_pimpl.C (dispatch):
7074           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7075
7076         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7077
7078         * lyxfunc.C (dispatch):
7079         * text3.C (dispatch): pass name to params2string.
7080
7081 2003-02-26  Angus Leeming  <leeming@lyx.org>
7082
7083         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7084           blocks together.
7085           Rearrange the ~includes. Strip out the unnecessary ones.
7086
7087         * factory.C (createInset): reformat.
7088           create new insets for the various LFUN_XYZ_APPLY lfuns.
7089
7090 2003-02-26  John Levon  <levon@movementarian.org>
7091
7092         * lyxrow.h:
7093         * lyxrow.C: add isParStart,isParEnd helpers
7094
7095         * paragraph.h: make isInserted/DeletedText take refs
7096
7097         * paragraph_funcs.h:
7098         * paragraph_funcs.C: remove #if 0'd code
7099
7100         * lyxtext.h:
7101         * text3.C:
7102         * text2.C:
7103         * text.C: use lyxrow helpers above.
7104           Move draw and paint routines to RowPainter.
7105           Make several methods use refs not pointers.
7106           Make backgroundColor() const.
7107           Add markChangeInDraw(), isInInset().
7108           Merge changeRegionCase into changeCase.
7109           Make workWidth() shouldn't-happen code into an Assert.
7110
7111         * rowpainter.h:
7112         * rowpainter.C: new class for painting a row.
7113
7114         * vspace.h:
7115         * vspace.C: make inPixels take a ref
7116
7117 2003-02-26  Angus Leeming  <leeming@lyx.org>
7118
7119         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7120         LFUN_REF_APPLY.
7121
7122 2003-02-25  John Levon  <levon@movementarian.org>
7123
7124         * ispell.C: give the forked command a more accurate name
7125
7126 2003-02-22  John Levon  <levon@movementarian.org>
7127
7128         * toc.h:
7129         * toc.C: make TocItem store an id not a Paragraph *
7130           (bug #913)
7131
7132 2003-02-21  Angus Leeming  <leeming@lyx.org>
7133
7134         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7135           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7136           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7137           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7138           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7139           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7140
7141         * BufferView_pimpl.C (dispatch):
7142         * LyXAction.C (init):
7143         * factory.C (createInset):
7144         * lyxfunc.C (getStatus, dispatch):
7145         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7146
7147 2003-02-21  Angus Leeming  <leeming@lyx.org>
7148
7149         * BufferView_pimpl.C (MenuInsertLyXFile):
7150         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7151         * lyxfunc.C (menuNew, open, doImport):
7152           no longer pass a LyXView & to fileDlg.
7153
7154 2003-02-21  Angus Leeming  <leeming@lyx.org>
7155
7156         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7157         * LyXAction.C: change, BIBKEY to BIBITEM.
7158         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7159         Change InsetBibKey to InsetBibitem.
7160         Change BIBKEY_CODE to BIBITEM_CODE.
7161         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7162         * factory.C: replace insetbib.h with insetbibitem.h.
7163         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7164         * paragraph.C: replace insetbib.h with insetbibitem.h.
7165         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7166         Change bibkey() to bibitem().
7167         * text.C: remove insetbib.h.
7168         * text2.C: replace insetbib.h with insetbibitem.h.
7169         change bibkey() to bibitem().
7170         * text3.C: remove insetbib.h.
7171         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7172
7173 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7174
7175         * lyxrc.C (output): enclose user email in quotes (in case there are
7176         several words)
7177
7178 2003-02-18  John Levon  <levon@movementarian.org>
7179
7180         * buffer.h: add std::
7181
7182 2003-02-17  John Levon  <levon@movementarian.org>
7183
7184         * SpellBase.h:
7185         * ispell.h:
7186         * ispell.C:
7187         * pspell.h:
7188         * pspell.C: reworking. Especially in ispell, a large
7189           number of clean ups and bug fixes.
7190
7191         * lyxfunc.C: fix revert to behave sensibly
7192
7193 2003-02-17 André Pönitz <poenitz@gmx.net>
7194
7195         * LyXAction.C:
7196         * commandtags.h: new LFUN_INSERT_BIBKEY
7197
7198         * layout.h:
7199         * lyxlayout.C:
7200         * buffer.C:
7201         * factory.C:
7202         * text.C:
7203         * text2.C:
7204         * text3.C:
7205         * paragraph.[Ch]:
7206         * paragraph_func.C: remove special bibkey handling
7207
7208 2003-02-17  John Levon  <levon@movementarian.org>
7209
7210         * text.C (Delete): fix case where delete at the end of
7211           the very first paragraph would not merge the pars
7212
7213 2003-02-17  John Levon  <levon@movementarian.org>
7214
7215         * lyxrow.C: fix lastPrintablePos()
7216
7217 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7218
7219         * bufferparams.C (writeLaTeX): add a std:here
7220
7221         * buffer.C: and remove a using directive there
7222
7223 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7224
7225         * buffer.C (makeLaTeXFile): move the code that generates the
7226           preamble...
7227
7228         * bufferparams.C (writeLaTeX): ... in this new method
7229
7230         * LaTeXFeatures.C (getEncodingSet): make const
7231           (getLanguages): make const
7232
7233         * MenuBackend.C (binding): returns the binding associated to this
7234           action
7235           (add): sets the status of each item by calling getStatus. Adds
7236           some intelligence.
7237           (read): add support for OptSubMenu
7238           (expand): remove extra separator at the end of expanded menu
7239
7240 2003-02-15  John Levon  <levon@movementarian.org>
7241
7242         * BufferView.C:
7243         * BufferView_pimpl.C:
7244         * bufferlist.h:
7245         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7246           inset code that had no actual effect. Remove unneeded status
7247           code.
7248
7249 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7250
7251         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7252           in preamble
7253
7254 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7255
7256         * text.C (drawLengthMarker): also draw an arrow marker for
7257           symbolic lengths (medskip...)
7258
7259 2003-02-14  John Levon  <levon@movementarian.org>
7260
7261         * tabular.h:
7262         * tabular.C: better method names
7263
7264 2003-02-14  John Levon  <levon@movementarian.org>
7265
7266         * BufferView_pimpl.C:
7267         * bufferlist.C:
7268         * buffer.C:
7269         * converter.C:
7270         * lyx_cb.C:
7271         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7272           it's a more accurate name. Remove some pointless uses.
7273
7274 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7275
7276         * text2.C (LyXText): change order of initilizers to shut off
7277           warnings
7278
7279 2003-02-14  John Levon  <levon@movementarian.org>
7280
7281         * buffer.C: use ParIterator for getParFromID()
7282
7283         * paragraph.h:
7284         * paragraph.C:
7285         * paragraph_pimpl.h:
7286         * paragraph_pimpl.C: remove unused getParFromID()
7287
7288 2003-02-14  John Levon  <levon@movementarian.org>
7289
7290         * buffer.C: remove some very old #if 0'd parse code
7291
7292 2003-02-13  John Levon  <levon@movementarian.org>
7293
7294         * text.h:
7295         * text.C:
7296         * text2.C: move hfillExpansion(), numberOfSeparators(),
7297           rowLast(), rowLastPrintable(), numberofHfills(),
7298           numberOfLabelHfills() ...
7299
7300         * lyxrow.h:
7301         * lyxrow.C: ... to member functions here.
7302
7303         * paragraph.h:
7304         * paragraph.C:
7305         * lyxtext.h:
7306         * text.C: remove LyXText::beginningOfMainBody(), and call
7307           p->beginningOfMainBody() directly. Move the check for
7308           LABEL_MANUAL into the latter.
7309
7310         * text.h:
7311         * text.C:
7312         * text2.C:
7313         * vspace.C:
7314         * BufferView.h:
7315         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7316
7317         * text.h:
7318         * text.C:
7319         * text2.C:
7320         * text3.C:
7321         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7322           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7323
7324 2003-02-13  John Levon  <levon@movementarian.org>
7325
7326         * CutAndPaste.C: remove debug
7327
7328 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7329
7330         * paragraph.C (asString): remove two unused variables
7331
7332         * lyxtextclass.C (readTitleType):
7333           (Read):
7334           (LyXTextClass): handle new members titletype_ and titlename_
7335
7336         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7337
7338 2003-02-09  John Levon  <levon@movementarian.org>
7339
7340         * buffer.h:
7341         * buffer.C: replace hand-coded list with a map for the dep clean
7342
7343 2003-02-08  John Levon  <levon@movementarian.org>
7344
7345         * LaTeX.C: consolidate code into showRunMessage() helper
7346
7347 2003-02-08  John Levon  <levon@movementarian.org>
7348
7349         * lyxfind.C:
7350         * lyxtext.h:
7351         * text2.C:
7352         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7353           and pass the size in explicitly
7354
7355         * BufferView_pimpl.h:
7356         * BufferView_pimpl.C:
7357         * BufferView.h:
7358         * BufferView.C: add getCurrentChange()
7359
7360         * BufferView_pimpl.h:
7361         * BufferView_pimpl.C: handle change lfuns
7362
7363         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7364           for changes. Mark pasted paragraphs as new.
7365
7366         * support/lyxtime.h:
7367         * support/lyxtime.C:
7368         * DepTable.C: abstract time_t as lyx::time_type
7369
7370         * LColor.h:
7371         * LColor.C: add colours for new text, deleted text, changebars
7372
7373         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7374           package use "usenames" option.
7375
7376         * commandtags.h:
7377         * lyxfunc.C:
7378         * LyXAction.C: add change lfuns
7379
7380         * Makefile.am:
7381         * author.h:
7382         * author.C: author handling
7383
7384         * buffer.h:
7385         * buffer.C: add a per-buffer author list, with first entry as
7386           current author. Handle new .lyx tokens for change tracking. Output
7387           author list to .lyx file. Output dvipost stuff to .tex preamble.
7388           Bump lyx format to 222.
7389
7390         * bufferlist.h:
7391         * bufferlist.C: add setCurrentAuthor() to reset current author details
7392           in all buffers.
7393
7394         * bufferparams.h:
7395         * bufferparams.C: add param for tracking
7396
7397         * bufferview_funcs.C: output change info in minibuffer
7398
7399         * Makefile.am:
7400         * changes.h:
7401         * changes.C: add change-tracking structure
7402
7403         * debug.h:
7404         * debug.C: add CHANGES debug flag
7405
7406         * lyxfind.h:
7407         * lyxfind.C: add code for finding the next change piece
7408
7409         * lyxrc.h:
7410         * lyxrc.C: add user_name and user_email
7411
7412         * lyxrow.h:
7413         * lyxrow.C: add a metric for the top of the text line
7414
7415         * lyxtext.h:
7416         * text.C: implement accept/rejectChange()
7417
7418         * lyxtext.h:
7419         * text.C: paint changebars. Paint new/deleted text in the chosen
7420         colours. Strike through deleted text.
7421
7422         * paragraph.h:
7423         * paragraph.C:
7424         * paragraph_pimpl.h:
7425         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7426           in the current change to the insert functions. Rework erase to
7427           mark text as deleted, adding an eraseIntern() and a range-based
7428           erase(). Implement per-paragraph change lookup and
7429           accept/reject.
7430
7431         * paragraph_funcs.C: Fixup paste for change tracking.
7432
7433         * tabular.C: mark added row/columns as new.
7434
7435         * text.C: fix rowLast() to never return -1. Don't allow
7436           spellchecking of deleted text. Track transpose changes. Don't
7437           allow paragraph break or merge where appropriate.
7438
7439         * text2.C: leave cursor at end of selection after a cut.
7440
7441 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7442
7443         * text.C (getLengthMarkerHeight):
7444         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7445         visible on screen too.
7446
7447 2003-02-07  John Levon  <levon@movementarian.org>
7448
7449         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7450
7451 2003-02-05  Angus Leeming  <leeming@lyx.org>
7452
7453         * lyxserver.C (read_ready): revert my patch of 11 September last year
7454         as it sends PC cpu through the roof. Presumably this means that
7455         the lyxserver will no longer run on an Alpha...
7456
7457 2003-01-30  Angus Leeming  <leeming@lyx.org>
7458
7459         * factory.C (createInset): create an InsetCommandParam of type "index"
7460         and use it to 'do the right thing'.
7461
7462         * text2.C (getStringToIndex): ensure that cursor position is always
7463         reset to the reset_cursor position.
7464
7465 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7466
7467         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7468         disabled.
7469
7470 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7471
7472         * bufferview.C:
7473         * lyxcb.C:
7474         * lyxfunc.C: Output messages with identical spelling, punctuation,
7475         and spaces
7476
7477 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7478
7479         * MenuBackend.C (expandFormats): List only viewable export formats
7480         in "View" menu
7481
7482         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7483         message
7484
7485         * lyxfunc.C (getStatus): Make sure that formats other than
7486         "fax" can also be disabled
7487
7488 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7489
7490         * text3.C (dispatch): put the lfuns that insert insets in 3
7491         groups, and call doInsertInset with appropriate arguments.
7492         (doInsertInset): new function, that creates an inset and inserts
7493         it according to some boolean parameters.
7494
7495 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7496
7497         * buffer.C (readFile): remember to pass on 'par' when calling
7498         readFile recursively.
7499
7500 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7501
7502         * MenuBackend.C (expandFormats): add "..." to import formats.
7503
7504 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7505
7506         * paragraph.C (asString): Remove XForms RTL hacks.
7507
7508 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7509         * buffer.C: fix typo
7510
7511 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7512
7513         * Makefile.am (LIBS): delete var
7514         (lyx_LDADD): add @LIBS@ here instead.
7515
7516 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7517
7518         * Clarify the meaning of "wheel mouse jump"
7519
7520 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7521
7522         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7523         tabular in a float
7524
7525 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7526
7527         * importer.C (Loaders): do not preallocate 3 elements in the
7528         vector, since one ends up with 6 elements otherwise
7529
7530 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7531
7532         * DepTable.C (write): write the file name as last element of the
7533         .dep file (because it may contain spaces)
7534         (read): read info in the right order
7535
7536 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7537
7538         * paragraph_pimpl.C (simpleTeXBlanks):
7539         (simpleTeXSpecialChars):
7540         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7541
7542         * tabular.C (latex): add some missing case statements. Reindent.
7543
7544         * MenuBackend.C (expandToc): remove unused variable.
7545
7546 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7547
7548         * LColor.C:
7549         * LaTeX.C:
7550         * LyXAction.C:
7551         * MenuBackend.C:
7552         * buffer.C:
7553         * exporter.C:
7554         * lyxfunc.C:
7555         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7556         and the like.
7557
7558 2003-01-05  John Levon  <levon@movementarian.org>
7559
7560         * BufferView.h:
7561         * BufferView.C: add getEncoding()
7562
7563         * kbsequence.h:
7564         * kbsequence.C: do not store last keypress
7565
7566         * lyxfunc.h:
7567         * lyxfunc.C: store last keypress here instead. Pass encoding
7568           to getISOEncoded()
7569
7570 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7571
7572         * lyx_main.C (init): remove annoying error message when following
7573         symbolic links (bug #780)
7574
7575 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7576
7577         * text.C (insertChar):
7578         * lyxrc.C (getDescription): remove extra spaces
7579
7580 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7581
7582         * lyxrc.C (getDescription): remove extra spaces
7583
7584 2002-12-20  John Levon  <levon@movementarian.org>
7585
7586         * text3.C: hack fix for page up/down across tall rows
7587
7588 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7589
7590         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7591         not been invoked
7592
7593 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7594
7595         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7596         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7597         thesaurus is not compiled in
7598
7599 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7600
7601         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7602
7603 2002-12-16  Angus Leeming  <leeming@lyx.org>
7604
7605         * lyxrc.[Ch]:
7606         * lyx_main.C (init): remove override_x_deadkeys stuff.
7607
7608 2002-12-12  John Levon  <levon@movementarian.org>
7609
7610         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7611           insert. Only remove shift modifier under strict
7612           circumstances.
7613
7614 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7615
7616         * MenuBackend.C (expandToc): fix crash.
7617
7618 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7619
7620         * MenuBackend.C (expandToc): gettext on float names.
7621
7622 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7623
7624         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7625         implement bool empty() [bug 490]
7626
7627 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7628
7629         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7630
7631 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7632
7633         * several files: ws changes
7634
7635 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7636
7637         * text2.C (setCounter): clean up a bit, use boost.format.
7638         (updateCounters): initialize par upon declaration.
7639
7640         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7641         if the layout exists. We do not just store the layout any more.
7642         (SwitchLayoutsBetweenClasses): use boost.format
7643
7644 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7645
7646         * converter.C (convert): if from and to files are the same, use a
7647         temporary files as intermediary
7648
7649 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7650
7651         * commandtags.h:
7652         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7653
7654 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7655
7656         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7657
7658 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7659
7660         * tabular.C (asciiPrintCell): use string(size, char) instead of
7661         explicit loop.
7662
7663         * sgml.C (openTag): fix order of arguments to string constructor
7664         (closeTag): ditto
7665
7666         * lyxfunc.C (dispatch): use boost.format
7667
7668         * lots of files: change "c" -> 'c'
7669
7670 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7671
7672         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7673
7674 2002-11-25  Angus Leeming  <leeming@lyx.org>
7675
7676         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7677
7678         * lyx_main.C (init): compile fix.
7679
7680 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7681
7682         * lyx_cb.C (start): boost.formatify
7683         do not include <iostream>
7684
7685         * lengthcommon.C: ws only
7686
7687         * boost-inst.C,BoostFormat.h: add more explict instantations
7688
7689 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7690
7691         * lots of files: handle USE_BOOST_FORMAT
7692
7693 2002-11-21  John Levon  <levon@movementarian.org>
7694
7695         * pspell.C: fix compile
7696
7697 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7698
7699         * lyxfunc.C (dispatch): use boost::format
7700         (open): ditto
7701         (doImport): ditto
7702
7703         * lyxfont.C (stateText): use boost::format
7704
7705         * lyx_main.C (LyX): use boost::format
7706         (init): ditto
7707         (queryUserLyXDir): ditto
7708         (readRcFile): ditto
7709         (parse_dbg): ditto
7710         (typedef boost::function): use the recommened syntax.
7711
7712         * importer.C (Import): use boost::format
7713
7714         * debug.C (showLevel): use boost::format
7715
7716         * converter.C (view): use boost::format
7717         (convert): ditto
7718         (move): ditto
7719         (scanLog): ditto
7720
7721         * bufferview_funcs.C (currentState): use boost::format
7722
7723         * bufferlist.C (emergencyWrite): use boost::format
7724
7725         * buffer.C (readLyXformat2): use boost::format
7726         (parseSingleLyXformat2Token): ditto
7727
7728         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7729
7730         * LaTeX.C (run): use boost::format
7731
7732         * Chktex.C (scanLogFile): use boost::format
7733
7734         * BufferView_pimpl.C (savePosition): use boost::format
7735         (restorePosition): ditto
7736         (MenuInsertLyXFile): ditto
7737
7738         * BoostFormat.h: help file for explicit instation.
7739
7740 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7741
7742         * tabular.C (latex): Support for block alignment in fixed width
7743         columns.
7744
7745 2002-11-17  John Levon  <levon@movementarian.org>
7746
7747         * BufferView_pimpl.C:
7748         * lyx_cb.C:
7749         * lyxfunc.C: split filedialog into open/save
7750
7751 2002-11-08  Juergen Vigna  <jug@sad.it>
7752
7753         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7754         by my last patch (hopefully).
7755
7756 2002-11-08  John Levon  <levon@movementarian.org>
7757
7758         * iterators.h:
7759         * iterators.C:
7760         * buffer.h:
7761         * buffer.C:
7762         * paragraph.h:
7763         * paragraph.C:
7764         * toc.h:
7765         * toc.C: ParConstIterator, and use it (from Lars)
7766
7767 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7768
7769         * lyxtextclass.[Ch]: revise and add doxygen comments
7770
7771 2002-11-07  John Levon  <levon@movementarian.org>
7772
7773         * text.C: fix progress value for spellchecker
7774
7775         * toc.C: fix navigate menu for insetwrap inside minipage
7776
7777         * paragraph_funcs.C: added FIXME for suspect code
7778
7779 2002-11-07  John Levon  <levon@movementarian.org>
7780
7781         * BufferView_pimpl.C: fix redrawing of insets
7782           on buffer switch
7783
7784 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7785
7786         * text2.C (updateCounters): fix bug 668
7787
7788 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7789
7790         * text3.C (dispatch): Do not make the buffer dirty when moving the
7791         cursor.
7792
7793 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7794
7795         * vc-backend.C: STRCONV
7796         (scanMaster): ditto
7797
7798         * text2.C (setCounter): STRCONV
7799
7800         * paragraph.C (asString): STRCONV
7801
7802         * lyxlength.C (asString): STRCONV
7803         (asLatexString): ditto
7804
7805         * lyxgluelength.C (asString): STRCONV
7806         (asLatexString): ditto
7807
7808         * lyxfunc.C (dispatch): STRCONV
7809         (open): ditto
7810
7811         * lyxfont.C (stateText): STRCONV
7812
7813         * importer.C (Import): STRCONV
7814
7815         * counters.C (labelItem): STRCONV
7816         (numberLabel): ditto
7817         (numberLabel): remove unused ostringstream o
7818
7819         * chset.C: STRCONV
7820         (loadFile): ditto
7821
7822         * bufferview_funcs.C (currentState): STRCONV
7823
7824         * buffer.C (readFile): STRCONV
7825         (asciiParagraph): ditto
7826         (makeLaTeXFile): ditto
7827
7828         * Spacing.C (writeEnvirBegin): STRCONV
7829
7830         * LaTeXFeatures.C (getLanguages): STRCONV
7831         (getPackages): ditto
7832         (getMacros): ditto
7833         (getBabelOptions): ditto
7834         (getTClassPreamble): ditto
7835         (getLyXSGMLEntities): ditto
7836         (getIncludedFiles): ditto
7837
7838         * LaTeX.C: STRCONV
7839         (run): ditto
7840         (scanAuxFile): ditto
7841         (deplog): ditto
7842
7843         * LString.h: add the STRCONV macros
7844
7845         * BufferView_pimpl.C (savePosition): STRCONV
7846         (restorePosition): ditto
7847         (MenuInsertLyXFile): ditto
7848
7849         * vc-backend.C (scanMaster): change from submatch[...] to
7850         submatch.str(...)
7851
7852         * funcrequest.C: include config.h
7853
7854         * factory.C: include config.h
7855
7856         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7857
7858         * box.C: include config.h
7859
7860         * LaTeX.C (scanAuxFile): change from submatch[...] to
7861         submatch.str(...)
7862         (deplog): ditto
7863
7864 2002-10-25  Angus Leeming  <leeming@lyx.org>
7865
7866         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7867
7868         * ispell.[Ch] (setError): new method.
7869         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7870         Use setError() insetead of goto END.
7871
7872         * lyx_cb.C (AutoSave): move out child process into new class
7873         AutoSaveBuffer.
7874
7875 2002-10-30  John Levon  <levon@movementarian.org>
7876
7877         * text3.C: make start appendix undoable
7878
7879 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7880
7881         * lyxlength.C (inPixels): Fix returned value.
7882
7883         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7884         environment.
7885
7886 2002-10-24  Angus Leeming  <leeming@lyx.org>
7887
7888         * lyxgluelength.h: no need to forward declare BufferParams
7889         or BufferView, so don't.
7890
7891 2002-10-21  John Levon  <levon@movementarian.org>
7892
7893         * BufferView.C: menuUndo ->undo, redo
7894
7895         * BufferView.h: document, remove dead, make some methods private
7896
7897         * paragraph_funcs.h:
7898         * paragraph_funcs.C:
7899         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7900
7901         * buffer.h:
7902         * buffer.C:
7903         * sgml.h:
7904         * sgml.C: move sgml open/close tag into sgml.C
7905
7906         * bufferview_funcs.h: unused prototype
7907
7908         * lyxfunc.h:
7909         * lyxfunc.C: remove unused
7910
7911         * lyxtext.h:
7912         * text.C: remove unused
7913
7914 2002-10-21  John Levon  <levon@movementarian.org>
7915
7916         * BufferView.h:
7917         * BufferView.C:
7918         * BufferView_pimpl.h:
7919         * BufferView_pimpl.C: fix mouse wheel handling based on
7920           patch from Darren Freeman
7921
7922 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7923
7924         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7925
7926 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7927
7928         * lyxlength.C (inPixels): Fix hanfling of negative length.
7929         Fix LyXLength::MU case.
7930
7931 2002-10-16  John Levon  <levon@movementarian.org>
7932
7933         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7934
7935 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7936
7937         * converter.C (view): add support for $$i (file name) and $$p
7938         (file path) for the viewer command. If $$i is not specified, then
7939         it is appended to the command (for compatibility with old syntax)
7940
7941 2002-10-14  Juergen Vigna  <jug@sad.it>
7942
7943         * undo_funcs.C (textHandleUndo): alter the order in which the
7944         new undopar is added to the LyXText, as we have to set first
7945         the right prev/next and then add it as otherwise the rebuild of
7946         LyXText is not correct. Also reset the cursor to the right paragraph,
7947         with this IMO we could remove the hack in "redoParagraphs()".
7948
7949 2002-10-09  Angus Leeming  <leeming@lyx.org>
7950
7951         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7952         to turn off an optimisation if a new inset is to be inserted.
7953
7954 2002-10-11 André Pönitz <poenitz@gmx.net>
7955
7956         * lyxtext.h: make some functions public to allow access
7957         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7958
7959 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7960
7961         * text3.C (dispatch): when changing layout, avoid an infinite loop
7962         [bug #652]
7963
7964 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7965
7966         * lyxrc.C (read): treat a viewer or converter command of "none" as
7967         if it were empty.
7968
7969         * MenuBackend.C (expandFormats): for an update, also allow the
7970         formats that are not viewable
7971
7972         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7973         script if it is newer than the lyxrc.defaults in user directory
7974
7975 2002-10-07 André Pönitz <poenitz@gmx.net>
7976
7977         * text.C: Vitaly Lipatov's small i18n fix
7978
7979 2002-09-25  Angus Leeming  <leeming@lyx.org>
7980
7981         * ispell.h: doxygen fix.
7982
7983 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7984
7985         * buffer.h (readFile): Add a new argument to the method, to allow
7986         reading of old-format templates.
7987
7988 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7989
7990         * toc.C (getTocList): Get TOC from InsetWrap.
7991
7992 2002-09-16  John Levon  <levon@movementarian.org>
7993
7994         * lyxfunc.C: check tabular for cut/copy too
7995
7996 2002-09-12  John Levon  <levon@movementarian.org>
7997
7998         * LyXAction.C: tidy
7999
8000         * factory.h:
8001         * factory.C: add header
8002
8003         * paragraph_funcs.h:
8004         * paragraph_funcs.C: cleanup
8005
8006 2002-09-11  John Levon  <levon@movementarian.org>
8007
8008         * PrinterParams.h: odd/even default to true
8009
8010 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8011
8012         * PrinterParams.h: update printer parameters for new xforms dialog
8013
8014 2002-09-11  Angus Leeming  <leeming@lyx.org>
8015
8016         * lyxserver.C (read_ready): re-write to make it more transparent
8017         and to make it work in coherent fashion under Tru64 Unix.
8018
8019 2002-09-11  André Pönitz <poenitz@gmx.net>
8020
8021         * commandtags.h:
8022         * LyXAction.C:
8023         * text3.C: implement LFUN_WORDSEL
8024
8025 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8026
8027         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8028         make floatlist_ a boost::shared_ptr<FloatList>
8029
8030         * lyxtextclass.C: include FloatList.h
8031         (LyXTextClass): initialize floatlist_
8032         (TextClassTags): add TC_NOFLOAT
8033         (Read): match "nofloat" to TC_NOFLOAT and use it.
8034         (readFloat): modify call to floatlist_
8035         (floats): ditto
8036         (floats): ditto
8037
8038         * FloatList.[Ch] (FloatList): remove commented out float
8039         initialization.
8040         (erase): new function
8041
8042 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8043
8044         * MenuBackend.C (expandToc): fix crash when there is no document
8045         open
8046
8047 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8048
8049         * many files: Add insetwrap.
8050
8051 2002-09-09  John Levon  <levon@movementarian.org>
8052
8053         * text2.C: remove confusing and awkward depth wraparound
8054
8055 2002-09-09  John Levon  <levon@movementarian.org>
8056
8057         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8058
8059         * buffer.h:
8060         * buffer.C: remove getIncludeonlyList()
8061
8062         * paragraph.C:
8063         * lyxfunc.C: remove headers
8064
8065 2002-09-09  Juergen Vigna  <jug@sad.it>
8066
8067         * text.C (getColumnNearX): fix form Michael this is most
8068         probably a cut&paste bug.
8069
8070 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8071
8072         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8073
8074         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8075         references, ws changes.
8076
8077         * text2.C (init): update counters after init
8078         (insertParagraph): no need to set counter on idividual paragraphs.
8079         (setCounter): access the counters object in the textclass object
8080         on in the buffer object.
8081         (updateCounters): ditto
8082
8083         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8084         shared_ptr<Counters> to avoid loading counters.h in all
8085         compilation units.
8086         (LyXTextClass): initialize ctrs_
8087         (TextClassTags): add TC_COUNTER, and ...
8088         (Read): use it here.
8089         (CounterTags): new tags
8090         (readCounter): new function
8091         (counters): new funtion
8092         (defaultLayoutName): return a const reference
8093
8094         * counters.C (Counters): remove contructor
8095         (newCounter): remove a couple of unneeded statements.
8096         (newCounter): simplify a bit.
8097         (numberLabel): some small formatting changes.
8098
8099         * buffer.[Ch]: remove all traces of counters, move the Counters
8100         object to the LyXTextClass.
8101
8102 2002-09-06  Alain Castera  <castera@in2p3.fr>
8103
8104         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8105         package to set the horizontal alignment on fixed width columns.
8106
8107         * lyx_sty.C:
8108         * lyx_sty.h: added tabularnewline macro def.
8109
8110         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8111
8112 2002-09-06  John Levon  <levon@movementarian.org>
8113
8114         * LyXAction.C: tooltips for sub/superscript
8115
8116         * MenuBackend.C: a bit more verbose
8117
8118         * lyxfunc.C: tiny clean
8119
8120         * undo_funcs.C: document undo_frozen
8121
8122 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8123
8124         * counters.C (Counters): add missing algorithm counter.
8125
8126         * text2.C (setCounter): lookup the counter with layouts latexname
8127         instead of by section number.
8128         (setCounter): use a hackish way to lookup the correct enum
8129         counter.
8130         a float name->type change
8131         reset enum couners with counter name directly instead of depth value.
8132
8133         * counters.C (Counters): remove the push_backs, change to use the
8134         float type not the float name.
8135         (labelItem): remove unused string, float name->type change
8136
8137         * counters.h: don't include vector, loose the enums and sects vectors
8138
8139 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8140
8141         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8142         (Read): add float->TC_FLOAT to textclassTags
8143         (Read): and handle it in the switch
8144         (readFloat): new function
8145
8146         * FloatList.C (FloatList): comment out the hardcoded float
8147         definitions.
8148
8149         * lyxlayout.h: ws change.
8150
8151 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8152
8153         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8154
8155 2002-09-03  Angus Leeming  <leeming@lyx.org>
8156
8157         * BufferView_pimpl.h: qualified name is not allowed in member
8158         declaration: WorkArea & Pimpl::workarea() const;
8159
8160         * factory.C: added using std::endl directive.
8161
8162         * text3.C: added using std::find and std::vector directives.
8163
8164 2002-08-29  André Pönitz <poenitz@gmx.net>
8165
8166         * lyxtext.h:
8167         * text2.C: remove unused member number_of_rows
8168
8169         * Makefile.am:
8170         * BufferView2.C: remove file, move contents to...
8171         * BufferView.C: ... here
8172
8173         * BufferView_pimpl.C:
8174         * factory.C: move more inset creation to factory
8175
8176         * vspace.C: avoid direct usage of LyXText, ws changes
8177
8178         * BufferView.[Ch]:
8179                 don't provide direct access to WorkArea, use two simple
8180                 acessors haveSelction() and workHeight() instead
8181
8182
8183 2002-08-29  John Levon  <levon@movementarian.org>
8184
8185         * BufferView_pimpl.C (dispatch): do not continue when
8186           no buffer
8187
8188 2002-08-28  André Pönitz <poenitz@gmx.net>
8189
8190         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8191
8192         * BufferView.h:
8193         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8194
8195 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8196
8197         * buffer.C: increment LYX_FORMAT to 221
8198
8199         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8200         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8201
8202         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8203
8204         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8205
8206 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8207
8208         * factory.C (createInset): use LyXTextClass::floats
8209
8210         * MenuBackend.C (expandFloatListInsert):
8211         (expandFloatInsert):
8212         (expandToc):
8213
8214         * text2.C (setCounter):
8215
8216         * LaTeXFeatures.C (useFloat):
8217         (getFloatDefinitions):
8218
8219         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8220
8221         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8222         floatlist_, with accessor floats().
8223
8224         * FloatList.h: remove global FloatList
8225
8226 2002-08-26  André Pönitz <poenitz@gmx.net>
8227
8228         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8229
8230         * BufferView.h:
8231         * BufferView2.C:
8232         * BufferView_pimpl.C:
8233         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8234
8235 2002-08-25  John Levon  <levon@movementarian.org>
8236
8237         * LyXAction.C: fix margin note description
8238
8239 2002-08-24  John Levon  <levon@movementarian.org>
8240
8241         * buffer.C:
8242         * bufferlist.C:
8243         * bufferview_funcs.C:
8244         * lyxfont.C:
8245         * undo_funcs.C: cleanups
8246
8247         * lyxfunc.C: disable CUT/COPY when no selection
8248
8249 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8250
8251         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8252         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8253
8254         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8255         Add backward compatibility to "mono", "gray" and "no".
8256
8257 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8258
8259         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8260         (and file_format >= 200).
8261
8262 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8263
8264         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8265
8266 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8267
8268         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8269
8270 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8271
8272         * BufferView_pimpl.C:
8273         * LyXAction.C:
8274         * buffer.C:
8275         * commandtags.h:
8276         * lyxfunc.C:
8277         * paragraph.[Ch]:
8278         * text2.C:
8279         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8280         inset and code to make it  work with the paragraph code. The inset
8281         can be anywhere in the paragraph, but will only do the expected
8282         thing in LaTeX if the layout file contains the parameter line
8283                         OptionalArgs    1
8284         (or more generally, a nonzero value) for that layout.
8285
8286 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8287
8288         * paragraph.h: remove the declaration of undefined counters class
8289         function.
8290
8291 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8292
8293         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8294         Dr. Richard Hawkins.
8295
8296 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8297
8298         * paragraph_funcs.h: remove some unneeded includes
8299
8300         * text.C (backspace): pasteParagraph now in global scipe
8301
8302         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8303         (pasteSelection): ditto
8304
8305         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8306         * paragraph_funcs.C (pasteParagraph): ... here
8307
8308 2002-08-20  André Pönitz <poenitz@gmx.net>
8309
8310         * commandtags.h: new LFUNs for swapping/copying table row/colums
8311
8312         * LyXAction.C:
8313         * lyxfunc.C: support for new lfuns
8314
8315 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8316
8317         * tabular.C:
8318         * buffer.[Ch]: remove NO_COMPABILITY stuff
8319
8320 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8321
8322         * boost.C (throw_exception): new file, with helper function for
8323         boost compiled without exceptions.
8324
8325         * paragraph.h:
8326         * lyxlength.C:
8327         * buffer.C:
8328         * ParameterStruct.h:
8329         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8330
8331         * bufferlist.C (emergencyWriteAll): use boost bind
8332
8333         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8334
8335         * text.C: include paragraph_funcs.h
8336         (breakParagraph): breakParagraph is now in global scope
8337
8338         * paragraph_funcs.[Ch]: new files
8339
8340         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8341         global scope
8342
8343         * buffer.C: include paragraph_funcs.h
8344         (insertStringAsLines): breakParagraph is now in global scope
8345
8346         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8347         paragraph_funcs.C
8348
8349         * CutAndPaste.C: include paragraph_funcs.h
8350         (cutSelection): breakParagraphConservative is now in global scope
8351         (pasteSelection): ditto
8352
8353         * buffer.h: declare oprator== and operator!= for
8354         Buffer::inset_iterator
8355
8356         * bufferlist.C (emergencyWrite): don't use fmt(...)
8357
8358         * text3.C: add using std::endl
8359
8360         * BufferView.C (moveCursorUpdate): remove default arg
8361
8362 2002-08-20  André Pönitz <poenitz@gmx.net>
8363
8364         * buffer.[Ch]: move inline functions to .C
8365
8366         * BufferView2.C:
8367         * BufferView_pimpl.C:
8368         * text.C:
8369         * buffer.[Ch]: use improved inset_iterator
8370
8371         * buffer.C:
8372         * paragraph.[Ch]: write one paragraph at a time
8373
8374 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8375
8376         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8377         style if style is not specified.
8378
8379 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8380
8381         * text2.C (setCounter): when searching for right label for a
8382         caption, make sure to recurse to parent insets (so that a caption
8383         in a minipage in a figure float works) (bug #568)
8384
8385 2002-08-20  André Pönitz <poenitz@gmx.net>
8386
8387         * text3.C: new file for LyXText::dispatch() and helpers
8388
8389         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8390
8391         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8392
8393 2002-08-19  André Pönitz <poenitz@gmx.net>
8394
8395         * lyxtext.h:
8396         * text.C: new LyXText::dispatch()
8397
8398         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8399
8400 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8401
8402         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8403
8404         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8405         Hebrew text.
8406
8407 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8408
8409         * Makefile.am: use $(variables) instead of @substitutions@
8410
8411 2002-08-15  André Pönitz <poenitz@gmx.net>
8412
8413         * lyxfunc.C:
8414         * BufferView_pimpl.C: streamlining mathed <-> outer world
8415         interaction
8416
8417         * commandtags.h:
8418         * LyXAction.C: remove unused LFUN_MATH
8419
8420 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8421
8422         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8423
8424 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8425
8426         * paragraph.C (Paragraph): reformat a bit
8427         (cutIntoMinibuffer): use builtin InsetList function instad of
8428         doing it manually.
8429         (getInset): ditto
8430
8431         * buffer.C: include boost/bind.hpp, add using std::for_each
8432         (writeFileAscii): use ParagraphList iterators
8433         (validate): use for_each for validate traversal of paragraphs
8434         (getBibkeyList): use ParagraphList iterators
8435         (resizeInsets): use for_each to resizeInsetsLyXText for all
8436         paragraphs.
8437         (getParFromID): use ParagraphList iterators
8438
8439         * BufferView2.C (lockInset): use paragraph list and iterators
8440
8441 2002-08-14  John Levon  <levon@movementarian.org>
8442
8443         * lyxserver.C: remove spurious xforms include
8444
8445 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8446
8447         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8448
8449 2002-08-13  André Pönitz <poenitz@gmx.net>
8450
8451         * LyXAction.[Ch]:
8452         * lyxfunc.C: further cleaning
8453
8454 2002-08-13  André Pönitz <poenitz@gmx.net>
8455
8456         * funcrequest.h: new constructor
8457
8458         * funcrequest.C: move stuff here from .h
8459
8460         * Makefile.am:
8461         * BufferView_pimpl.C:
8462         * LyXAction.C:
8463         * toc.C:
8464         * lyxfunc.C: subsequent changes
8465
8466         * lyxfunc.h: new view() member function
8467
8468         * lyxfunc.C: subsequent changes
8469
8470 2002-08-13  Angus Leeming  <leeming@lyx.org>
8471
8472         * BufferView2.C:
8473         * BufferView_pimpl.C:
8474         * buffer.C:
8475         * converter.C:
8476         * importer.C:
8477         * lyxfunc.C:
8478         * lyxvc.C:
8479         * toc.C:
8480         * vc-backend.C:
8481         changes due to the changed LyXView interface that now returns references
8482         to member variables not pointers.
8483
8484 2002-08-13  Angus Leeming  <leeming@lyx.org>
8485
8486         * WordLangTuple (word, lang_code): return references to strings,
8487         not strings.
8488
8489         * BufferView.h:
8490         * SpellBase.h:
8491         * lyxtext.h: forward-declare WordLangTuple.
8492
8493         * BufferView2.C:
8494         * ispell.C:
8495         * pspell.C:
8496         * text.C: #include "WordLangTuple.h".
8497
8498         * lyxtext.h:
8499         * text.C: (selectNextWordToSpellcheck): constify return type.
8500
8501 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8502
8503         * buffer.C:
8504         * buffer.h:
8505         * lyxtext.h:
8506         * paragraph.C:
8507         * paragraph_pimpl.h:
8508         * text.C:
8509         * text2.C:
8510         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8511         suggested by Angus.
8512         Made updateCounter always count from start of buffer, and removed
8513         second argument (par).
8514         Reverted floats number display to '#'. Perhaps I'll try again when the
8515         code base is sanitized a bit.
8516
8517 2002-08-12  Angus Leeming  <leeming@lyx.org>
8518
8519         * buffer.[Ch] (getLabelList): constify.
8520
8521 2002-08-07  André Pönitz <poenitz@gmx.net>
8522
8523         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8524
8525         * funcrequest.h: extension to keep mouse (x,y) position
8526
8527 2002-08-12  Juergen Vigna  <jug@sad.it>
8528
8529         * BufferView2.C (insertErrors): forbid undo when inserting error
8530         insets.
8531
8532         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8533
8534 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8535
8536         * ParagraphList.[Ch]: new files
8537
8538         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8539
8540         * BufferView2.C (lockInset): ParagraphList changes
8541         * toc.C: ditto
8542         * text2.C: ditto
8543         * bufferlist.C: ditto
8544         * buffer.h: ditto
8545         * buffer.C: ditto
8546
8547 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8548
8549         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8550         unused class variable counter_,
8551
8552         * paragraph.[Ch] (getFirstCounter): delete unused function
8553
8554         * counters.C: include LAssert.h
8555         (reset): add a new function with no arg, change other version to
8556         not have def. arg and to not allow empty arg.
8557
8558         * text2.C (setCounter): remove empty arg from call to Counters::reset
8559
8560 2002-08-11  John Levon  <levon@movementarian.org>
8561
8562         * Makefile.am: add WordLangTuple.h
8563
8564 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8565
8566         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8567         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8568
8569         * insets/insettext.C: InsetList changes
8570
8571         * graphics/GraphicsSupport.C (operator()): InsetList changes
8572
8573         * toc.C (getTocList): InsetList changes
8574
8575         * paragraph_pimpl.[Ch]: InsetList changes
8576
8577         * paragraph.[Ch]: InsetList changes
8578
8579         * buffer.C (inset_iterator): InsetList changes
8580         (setParagraph): ditto
8581         * buffer.h (inset_iterator): ditto
8582         * iterators.C (operator++): ditto
8583         * iterators.h: ditto
8584
8585         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8586
8587         * InsetList.[Ch]: new files, most InsetList handling moved out of
8588         paragraph.C.
8589
8590         * BufferView2.C (removeAutoInsets): InsetList changes
8591         (lockInset): ditto
8592         (ChangeInsets): ditto
8593
8594 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8595
8596         * paragraph_pimpl.h (empty): new function
8597
8598         * paragraph.[Ch] (empty): new function
8599
8600         * other files: use the new Paragraph::empty function
8601
8602 2002-08-09  John Levon  <levon@movementarian.org>
8603
8604         * lyxtext.h: remove unused refresh_height
8605
8606 2002-08-09  John Levon  <levon@movementarian.org>
8607
8608         * Makefile.am:
8609         * sgml.h:
8610         * sgml.C:
8611         * buffer.C:
8612         * paragraph.h:
8613         * paragraph.C: move sgml char escaping out of paragraph
8614
8615         * paragraph.h:
8616         * paragraph.C: remove id setter
8617
8618         * buffer.C:
8619         * paragraph.C:
8620         * paragraph_pimpl.C: remove dead tex_code_break_column
8621
8622         * bufferview_funcs.C: small cleanup
8623
8624         * lyxfunc.C: remove dead proto
8625
8626         * lyxtext.h: make some stuff private. Remove some dead stuff.
8627
8628         * lyxgluelength.C: make as[LyX]String() readable
8629
8630 2002-08-08  John Levon  <levon@movementarian.org>
8631
8632         * LyXAction.h:
8633         * LyXAction.C:
8634         * MenuBackend.C:
8635         * ToolbarDefaults.C:
8636         * lyxfunc.C:
8637         * lyxrc.C:
8638         * toc.C: lyxaction cleanup
8639
8640 2002-08-08  John Levon  <levon@movementarian.org>
8641
8642         * BufferView2.C: small cleanup
8643
8644         * lyxfind.h:
8645         * lyxfind.C: move unnecessary header into the .C
8646
8647 2002-08-08  John Levon  <levon@movementarian.org>
8648
8649         * funcrequest.h: just tedious nonsense
8650
8651         * lyx_main.h:
8652         * lyx_main.C: cleanups
8653
8654         * buffer.C:
8655         * vspace.C: remove dead header lyx_main.h
8656
8657 2002-08-07  Angus Leeming  <leeming@lyx.org>
8658
8659         * Paragraph.[Ch]:
8660         * paragraph_pimpl.h:
8661         Forward declare class Counters in paragraph.h by moving the ctrs member
8662         variable into Paragraph::Pimpl.
8663         (counters): new method, returning a reference to pimpl_->ctrs.
8664
8665         * text2.C: ensuing changes.
8666
8667 2002-08-07  John Levon  <levon@movementarian.org>
8668
8669         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8670
8671         * BufferView_pimpl.C: announce X selection on double/triple
8672           click
8673
8674         * lyx_main.C: use correct bool in batch dispatch
8675
8676         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8677
8678 2002-08-07  André Pönitz <poenitz@gmx.net>
8679
8680         * funcrequest.h: new class to wrap a kb_action and its argument
8681
8682         * BufferView.[Ch]:
8683         * BufferView_pimpl[Ch]:
8684         * LaTeX.C:
8685         * LyXAction.[Ch]:
8686         * lyxfunc.[Ch]:
8687         * lyxrc.C: subsequent changes
8688
8689
8690 2002-08-07  John Levon  <levon@movementarian.org>
8691
8692         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8693           document options change.
8694
8695 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8696
8697         * counters.[Ch]
8698         * text2.C
8699         * paragraph.[Ch]
8700         * makefile.am: move counters functionality over from
8701         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8702
8703 2002-08-06  John Levon  <levon@movementarian.org>
8704
8705         * WordLangTuple.h: new file for word + language code tuple
8706
8707         * SpellBase.h:
8708         * pspell.h:
8709         * pspell.C:
8710         * ispell.h:
8711         * ispell.C:
8712         * lyxtext.h:
8713         * text.C:
8714         * text2.C:
8715         * BufferView.h:
8716         * BufferView2.C: use WordLangTuple
8717
8718         * layout.h:
8719         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8720
8721 2002-08-06  John Levon  <levon@movementarian.org>
8722
8723         * lyx_main.C: fix cmdline batch handling
8724
8725 2002-08-06  André Pönitz <poenitz@gmx.net>
8726
8727         * lyxrc.C: set default for show_banner to true
8728
8729 2002-08-06  John Levon  <levon@movementarian.org>
8730
8731         * pspell.C: fix a crash, and allow new aspell to work
8732
8733 2002-08-06  John Levon  <levon@movementarian.org>
8734
8735         * lyxfunc.C:
8736         * kbmap.C: small cleanup
8737
8738         * vspace.h:
8739         * vspace.C: add const
8740
8741 2002-08-05  John Levon  <levon@movementarian.org>
8742
8743         * LyXAction.C: back to tabular-insert
8744
8745 2002-08-04  John Levon  <levon@movementarian.org>
8746
8747         * BufferView.h:
8748         * BufferView.C: cosmetic change
8749
8750         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8751
8752         * bufferlist.C:
8753         * buffer.h:
8754         * buffer.C:
8755         * lyxcb.h:
8756         * lyxcb.C:
8757         * lyxserver.C:
8758         * lyxvc.C:
8759         * vc-backend.C:
8760         * BufferView2.C: purge all "Lyx" not "LyX" strings
8761
8762         * lyxcursor.h:
8763         * lyxcursor.C: attempt to add some documentation
8764
8765         * lyxfunc.C:
8766         * commandtags.h:
8767         * LyXAction.C:
8768         * ToolbarDefaults.C:
8769         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8770           merge with LFUN_TABULAR_INSERT
8771
8772         * Makefile.am:
8773         * SpellBase.h:
8774         * ispell.h:
8775         * ispell.C:
8776         * pspell.h:
8777         * pspell.C: split up i/pspell implementations into separate
8778           files, many cleanups
8779
8780         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8781
8782         * text2.C: some cleanup
8783
8784         * lyxfunc.C: don't check for isp_command == "none" any more, it
8785           didn't make any sense
8786
8787 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8788
8789         * counters.[Ch]
8790         * text2.C
8791         * paragraph.[Ch]
8792         * makefile.am: move counters functionality over
8793         from text2.C/paragraph.[Ch] to counters.[Ch], and
8794         make proper C++.
8795 2002-08-02  John Levon  <levon@movementarian.org>
8796
8797         * buffer.C: s/lyxconvert/lyx2lyx/
8798
8799 2002-08-02  Angus Leeming  <leeming@lyx.org>
8800
8801         * lyxlex.C: revert John's change as it breaks reading of the user
8802         preamble.
8803
8804 2002-08-02  Angus Leeming  <leeming@lyx.org>
8805
8806         * importer.C (Import):
8807         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8808         changes due to LyXView::view() now returning a boost::shared_ptr.
8809
8810 2002-08-02  John Levon  <levon@movementarian.org>
8811
8812         * lyxlex.C: small cleanup
8813
8814 2002-08-02  John Levon  <levon@movementarian.org>
8815
8816         * text2.C (status): small cleanup, no logic change
8817
8818 2002-08-01  John Levon  <levon@movementarian.org>
8819
8820         * buffer.h:
8821         * buffer.C (writeFile): don't output alerts, caller
8822           handles this
8823
8824         * bufferlist.C:
8825         * lyx_cb.C: from above
8826
8827         * lyxfunc.C: allow to open non-existent files
8828
8829 2002-07-31  John Levon  <levon@movementarian.org>
8830
8831         * lyxserver.C: don't let incidental errors get
8832           in the way (errno)
8833
8834 2002-07-30  John Levon  <levon@movementarian.org>
8835
8836         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8837
8838 2002-07-30  John Levon  <levon@movementarian.org>
8839
8840         * lyxserver.h:
8841         * lyxserver.C: remove I/O callback too
8842
8843 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8844
8845         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8846         log.
8847
8848 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8849
8850         * many files: strip,frontStrip -> trim,ltrim,rtrim
8851
8852 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8853
8854         * PrinterParams.h: remove extern containsOnly, and include
8855         support/lstrings.h instead.
8856
8857         * LaTeX.C (scanAuxFile): modify because of strip changes
8858         (deplog): ditto
8859         * buffer.C (makeLaTeXFile): ditto
8860         * bufferparams.C (writeFile): ditt
8861         * lyxfont.C (stateText): ditto
8862         * lyxserver.C (read_ready): ditto
8863         * vc-backend.C (scanMaster): ditto
8864
8865         * BufferView_pimpl.h: ws changes
8866
8867         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8868
8869 2002-07-26  André Pönitz <poenitz@gmx.net>
8870
8871         * kb_sequence.C: remove unnedred usings
8872
8873 2002-07-26  Juergen Vigna  <jug@sad.it>
8874
8875         * lyxfind.C (LyXReplace): we have to check better if the returned
8876         text is not of theLockingInset()->getLockingInset().
8877
8878 2002-07-25  Juergen Vigna  <jug@sad.it>
8879
8880         * lyxfind.C (LyXReplace): don't replace if we don't get the
8881         right LyXText.
8882
8883         * undo_funcs.C (createUndo): remove debugging code.
8884
8885 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8886
8887         * buffer.C (parseSingleLyXformat2Token): Use default placement
8888         when reading old floats.
8889
8890         * FloatList.C (FloatList): Change the default placement of figure
8891         and tables to "tbp".
8892
8893 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8894
8895         * MenuBackend.C: using std::max
8896
8897 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8898
8899         * MenuBackend.C (expandToc):
8900         (expandToc2): code moved from xforms menu frontend. It is now
8901         generic and TOCs are transparent to menu frontends.
8902
8903 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8904
8905         * toc.C (getTocList): protect against buf=0
8906
8907         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8908         Menu as first parameter. Now, this calls itself recursively to
8909         expand a whole tree (this will be useful for TOC handling)
8910         (expandFloatInsert): remove 'wide' version of floats
8911
8912         * MenuBackend.h (submenuname): returns the name of the submenu.
8913         (submenu): returns the submenu itself, provided it has been
8914         created by MenuBackend::expand
8915
8916 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8917
8918         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8919         insets which have noFontChange == true. (bug #172)
8920
8921 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8922
8923         * BufferView_pimpl.C: add connection objects and use them...
8924         (Pimpl): here.
8925
8926 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8927
8928         * MenuBackend.C (expandLastfiles):
8929         (expandDocuments):
8930         (expandFormats):
8931         (expandFloatListInsert):
8932         (expandFloatInsert):
8933         (expand): split expand in parts
8934
8935 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8936
8937         * lyx_gui.C: use lyx_gui::exit()
8938
8939 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8940
8941         * LyXAction.C: show the failing pseudo action
8942
8943 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8944
8945         * buffer.C (readFile): Run the lyxconvert script in order to read
8946         old files.
8947
8948 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8949
8950         * LyXAction.C:
8951         * commandtags.h:
8952         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8953
8954 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8955
8956         * LyXAction.C:
8957         * commandtags.h:
8958         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8959
8960 2002-07-22  Herbert Voss  <voss@lyx.org>
8961
8962         * lengthcommon.C:
8963         * lyxlength.[Ch]: add support for the vertical lengths
8964
8965 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8966
8967         * toc.[Ch]: std:: fixes
8968
8969 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8970
8971         * lyxrc.C: do not include lyx_main.h
8972
8973         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8974         for layouts
8975
8976         * lyxrc.C:
8977         * encoding.C:
8978         * bufferlist.C:
8979         * BufferView2.C: include "lyxlex.h"
8980
8981         * tabular.h:
8982         * bufferparams.h: do not #include "lyxlex.h"
8983
8984         * lyxtextclasslist.C (Add): remove method
8985         (classlist): renamed to classlist_
8986
8987         * paragraph_pimpl.C:
8988         * paragraph.C:
8989         * text2.C:
8990         * CutAndPaste.C:
8991         * bufferview_funcs.C:
8992         * bufferlist.C:
8993         * text.C:
8994         * LaTeXFeatures.C:
8995         * buffer.C:
8996         * toc.C (getTocList): use BufferParams::getLyXTextClass
8997
8998         * toc.C (getTocList): use InsetFloat::addToToc
8999
9000         * toc.[Ch]: new files, containing helper functions to handle table
9001         of contents
9002
9003         * lyxfunc.C (dispatch): no need to remove spaces around command
9004         given as a string
9005         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9006         first command of the sequence; it is not very clever, but I do not
9007         have a better idea, actually
9008
9009         * LyXAction.C (LookupFunc): make sure to remove space at the
9010         beginning and end of the command
9011
9012 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9013
9014         * MenuBackend.C (getMenubar): new method: return the menubar of
9015         this menu set
9016         (read): treat differently reading of menu and menubar (in
9017         particular, the menubar has no name now)
9018         (Menu::menubar): remove
9019
9020         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9021         saving is finished
9022
9023 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9024
9025         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9026         a bibitem inset in a RTL paragraph.
9027
9028 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9029
9030         * paragraph_pimpl.C: constify
9031
9032         * BufferView_pimpl.C:
9033         * LaTeX.C:
9034         * lyxfunc.C: fix dispatch in a nicer way
9035
9036 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9037
9038         * lyxfunc.C (dispatch):
9039         * BufferView_pimpl.C:
9040         * BufferView_pimpl.h:
9041         * BufferView.C:
9042         * BufferView.h: rename Dispatch() to dispatch()
9043
9044         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9045
9046         * lyxlayout.C (Read): honor DependsOn tag
9047
9048         * lyxlayout.[Ch] (depends_on): new method
9049
9050         * version.C.in: update lyx_docversion
9051
9052         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9053
9054         * paragraph.C (validate): remove from here...
9055         * paragraph_pimpl.C (validate): ... and move here
9056         (isTextAt): make it const
9057
9058         * buffer.C (getLists): ws cleanup
9059
9060 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9061
9062         * language.C (read): Use iso8859-1 encoding in latex_lang
9063         (this prevents LyX from crashing when using iso10646-1 encoding).
9064
9065 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9066
9067         * text2.C (toggleInset): if cursor is inside an inset, close the
9068         inset and leave cursor _after_ it
9069
9070 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9071
9072         * lyxfunc.C: move minibuffer completion handling out of here
9073
9074 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9075
9076         * BufferView_pimpl.C:
9077         * LaTeX.C: fix dispatch calls
9078
9079 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9080
9081         * text.C (drawChars): Fix Arabic text rendering.
9082
9083 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9084
9085         * LyXAction.C:
9086         * commandtags.h:
9087         * lyxfunc.C: remove message-push/pop
9088
9089         * lyxserver.C:
9090         * lyxfunc.h:
9091         * lyxfunc.C: rationalise some code by removing verboseDispatch
9092           in favour of a bool argument to dispatch()
9093
9094 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9095
9096         * lyx_main.C (init): make sure to read symlinks as absolute paths
9097
9098 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9099
9100         * lyxfunc.h:
9101         * lyxfunc.C: no need for commandshortcut to be a member
9102
9103 2002-07-15  André Pönitz <poenitz@gmx.net>
9104
9105         * converter.C: add support for $$s (scripts from lib/scripts dir)
9106         * lyx_main.C: white space
9107
9108 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9109
9110         * bufferlist.C:
9111         * lyxrc.h:
9112         * lyxrc.C: remove second exit confirmation
9113
9114 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9115
9116         * BufferView.h:
9117         * BufferView.C:
9118         * BufferView2.C:
9119         * BufferView_pimpl.h:
9120         * BufferView_pimpl.C:
9121         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9122
9123 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9124
9125         * MenuBackend.C (expand): add numeric shortcuts to document menu
9126
9127         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9128
9129 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9130
9131         * lyxfont.C (setLyXFamily):
9132         (setLyXSeries):
9133         (setLyXShape):
9134         (setLyXSize):
9135         (setLyXMisc):
9136         (lyxRead):
9137         * debug.C (value):
9138         * buffer.C (asciiParagraph): use ascii_lowercase
9139
9140 2002-07-15  Mike Fabian  <mfabian@suse.de>
9141
9142         * lyxlex_pimpl.C (search_kw):
9143         * lyxlex.C (getLongString):
9144         * converter.h (operator<):
9145         * converter.C (operator<):
9146         * buffer.C (parseSingleLyXformat2Token):
9147         (asciiParagraph):
9148         * ToolbarDefaults.C (read):
9149         * MenuBackend.C (checkShortcuts):
9150         (read):
9151         * LColor.C (getFromGUIName):
9152         (getFromLyXName): use the compare_ascii_no_case instead of
9153         compare_no_case, because in turkish, 'i' is not the lowercase
9154         version of 'I', and thus turkish locale breaks parsing of tags.
9155
9156 2002-07-16  Angus Leeming  <leeming@lyx.org>
9157
9158         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9159         now takes a Buffer const & argument.
9160
9161 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9162
9163         * BufferView.C (resize): check there's a buffer to resize
9164
9165 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9166
9167         * lyxfunc.C: remove dead code
9168
9169         * lyxserver.h:
9170         * lyxserver.C: use lyx_guii::set_read_callback
9171
9172 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9173
9174         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9175         an inset in a RTL paragraph.
9176
9177 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9178
9179         * lyxfunc.C: repaint after a font size update
9180
9181 2002-07-15  André Pönitz <poenitz@gmx.net>
9182
9183         * lyxlength.C: inBP should be able to return negative values
9184
9185 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9186
9187         * lyxfunc.C: use lyx_gui::update_fonts()
9188
9189 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9190
9191         * lyxfunc.C: use lyx_gui::update_color()
9192
9193 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9194
9195         * bufferlist.C:
9196         * lyxfunc.h:
9197         * lyxfunc.C:
9198         * lyxrc.h:
9199         * lyxrc.C: remove file->new asks for name option, and let
9200           buffer-new take an argument
9201
9202 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9203
9204         * BufferView_pimpl.C: remove unneeded extra repaint()
9205
9206 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9207
9208         * LyXAction.C: allow command-sequence with NoBuffer
9209
9210         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9211
9212 2002-07-10  Angus Leeming  <leeming@lyx.org>
9213
9214         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9215
9216 2002-07-09  Angus Leeming  <leeming@lyx.org>
9217
9218         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9219
9220 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9221
9222         * lengthcommon.h: whitespace
9223
9224         * lyxfunc.C: update scrollbar after goto paragraph
9225
9226         * lyxtext.h: factor out page break drawing, and fix it so
9227           page break/added space paints as selected nicely
9228
9229 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9230
9231         * BufferView_pimpl.C: add FIXMEs, clean up a little
9232
9233 2002-07-09  André Pönitz <poenitz@gmx.net>
9234
9235         * lyxfont.[Ch]: support for wasy symbols
9236
9237 2002-07-08  André Pönitz <poenitz@gmx.net>
9238
9239         * BufferView_pimpl.C: apply John's patch for #93.
9240
9241 2002-07-05  Angus Leeming  <leeming@lyx.org>
9242
9243         * BufferView_pimpl.C (buffer): generate previews if desired.
9244
9245         * LColor.h: add "preview" to the color enum.
9246
9247         * LColor.C (LColor): add a corresponding entry to the items array.
9248
9249         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9250         with this buffer.
9251
9252 2002-07-05  Angus Leeming  <leeming@lyx.org>
9253
9254         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9255         The body of the code is now in the method that is passed an ostream &
9256         rather than a file name.
9257         Pass an additional only_preamble parameter, useful for the forthcoming
9258         preview stuff.
9259
9260 2002-07-03  André Pönitz <poenitz@gmx.net>
9261
9262         * lyxfunc.C: simplify getStatus() a bit for math stuff
9263
9264 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9265
9266         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9267
9268 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9269
9270         * text.C (changeRegionCase): do not change case of all the
9271         document when region ends at paragraph end (bug #461)
9272
9273 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9274
9275         * paragraph.C (startTeXParParams):
9276         (endTeXParParams): add \protect when necessary
9277
9278 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9279
9280         * BufferView_pimpl.C (workAreaExpose): remove warning
9281
9282 2002-06-27  Angus Leeming  <leeming@lyx.org>
9283
9284         * Makefile.am: add lyxlayout_ptr_fwd.h.
9285
9286 2002-06-26  André Pönitz <poenitz@gmx.net>
9287
9288         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9289
9290 2002-06-25  Angus Leeming  <leeming@lyx.org>
9291
9292         * lyxfunc.C (dispatch): Comment out the call to
9293         grfx::GCache::changeDisplay. The method no longer exists now that the
9294         pixmap generation part of the graphics loader has been moved into
9295         InsetGraphics.
9296
9297 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9298
9299         * text2.C: layout as layout
9300
9301         * text.C: layout as layout
9302
9303         * tabular.C (OldFormatRead): layout as layout
9304
9305         * paragraph_pimpl.C (TeXDeeper): layout as layout
9306         (realizeFont): layout as layout
9307
9308         * paragraph.C (writeFile): layout as layout
9309         (validate): layout as layout
9310         (getFont): layout as layout
9311         (getLabelFont): layout as layout
9312         (getLayoutFont): layout as layout
9313         (breakParagraph): layout as layout
9314         (stripLeadingSpaces): layout as layout
9315         (getEndLabel): layout as layout
9316         (getMaxDepthAfter): layout as layout
9317         (applyLayout): layout as layout
9318         (TeXOnePar): layout as layout
9319         (simpleTeXOnePar): layout as layout
9320         (TeXEnvironment): layout as layout
9321         (layout): layout as layout
9322         (layout): layout as layout
9323
9324         * lyxtextclass.C (compare_name): new functor to work with
9325         shared_ptr, layout as layout
9326         (Read): layout as layout
9327         (hasLayout): layout as layout
9328         (operator): layout as layout
9329         (delete_layout): layout as layout
9330         (defaultLayout): layout as layout
9331
9332         * lyxlayout_ptr_fwd.h: new file
9333
9334         * lyxlayout.C (Read): layout as layout
9335
9336         * lyx_cb.C (MenuInsertLabel): layout as layout
9337
9338         * bufferlist.C (newFile): layout as layout
9339
9340         * buffer.C (readLyXformat2): layout as layout
9341         (parseSingleLyXformat2Token): layout as layout
9342         (insertStringAsLines): layout as layout
9343         (asciiParagraph): layout as layout
9344         (latexParagraphs): layout as layout
9345         (makeLinuxDocFile): layout as layout
9346         (simpleLinuxDocOnePar): layout as layout
9347         (makeDocBookFile): layout as layout
9348         (simpleDocBookOnePar): layout as layout
9349         (getLists): layout as layout
9350
9351         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9352
9353         * CutAndPaste.C (cutSelection): layout as layout
9354         (pasteSelection): layout as layout
9355         (SwitchLayoutsBetweenClasses): layout as layout
9356
9357         * BufferView_pimpl.C (Dispatch): layout as layout
9358         (smartQuote): layout as layout
9359
9360         * BufferView2.C (unlockInset): layout as layout
9361
9362 2002-06-24  André Pönitz <poenitz@gmx.net>
9363
9364         * lyxfunc.C: fix #487
9365
9366 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9367
9368         * lyxrc.h:
9369         * lyxrc.C:
9370         * lyxfunc.C: remove display_shortcuts, show_banner
9371
9372 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9373
9374         * Buffer_pimpl.C: oops, update on resize
9375
9376 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9377
9378         * buffer.C:
9379         * converter.C:
9380         * exporter.C:
9381         * lyxfunc.C:
9382         * BufferView.h:
9383         * BufferView.C: use repaint()
9384
9385         * BufferView_pimpl.h:
9386         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9387           as it's a clearer description. Remove superfluous
9388           redraws.
9389
9390 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9391
9392         * text.C: fix bug 488. Not ideal, but getting
9393           getWord() to work properly for the insets that
9394           matter is more difficult ...
9395
9396 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9397
9398         * BufferView_pimpl.C:
9399         * LyXAction.C:
9400         * commandtags.h:
9401         * lyxfunc.C: remove the six million index lyxfuncs to just
9402           one, and DTRT (bug 458)
9403
9404 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9405
9406         * BufferView.h:
9407         * BufferView.C:
9408         * BufferView_pimpl.h:
9409         * BufferView_pimpl.C: clean up resize() stuff,
9410           and unnecessary updateScreen()s
9411
9412 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9413
9414         * BufferView.h:
9415         * BufferView.C:
9416         * BufferView_pimpl.h:
9417         * BufferView_pimpl.C:
9418         * lyxfind.h:
9419         * lyxfind.C:
9420         * minibuffer.C: remove focus management of workarea,
9421           not needed. Use screen's greyOut()
9422
9423 2002-06-17  Herbert Voss  <voss@lyx.org>
9424
9425         * converter.C: (convert) do not post a message, when converting
9426         fails, let the calling function decide what to do in this case
9427
9428 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9429
9430         * lyxfunc.C: tidy up a little
9431
9432 2002-06-16    <alstrup@diku.dk>
9433
9434         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9435         Got rid of FORMS_H_LOCATION include. Now we are
9436         GUII.
9437
9438 2002-06-15  LyX Development team  <lyx@rilke>
9439
9440         * buffer.[Ch] (sgmlOpenTag):
9441         (sgmlCloseTag): Added support for avoiding pernicious mixed
9442         content. Return number of lines written.
9443
9444         (makeLinuxDocFile):
9445         (makeDocBookFile): Fixed calls to sgml*Tag.
9446         Simple white space clean.
9447
9448         (simpleDocBookOnePar): Simple white space clean.
9449
9450         * tabular.[Ch] (docBook): Renamed to docbook and got another
9451         argument to related with the pernicious mixed content.
9452
9453         (docbookRow): Fixed calls for docbook inset method.
9454
9455 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9456
9457         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9458         so it's X11 independent.
9459
9460         * kb*.[Ch]: ditto.
9461
9462         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9463
9464 2002-06-15  Lyx Development team  <lyx@electronia>
9465
9466         * intl.h: Renamed getTrans to getTransManager.
9467
9468 2002-06-14  Angus Leeming  <leeming@lyx.org>
9469
9470         * Makefile.am: nuke forgotten stl_string_fwd.h.
9471
9472 2002-06-12  Angus Leeming  <leeming@lyx.org>
9473
9474         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9475
9476 2002-06-13  Angus Leeming  <leeming@lyx.org>
9477
9478         * LaTeX.C:
9479         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9480
9481 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9482
9483         * kbmap.C (getiso): add support for cyrillic and greek
9484
9485 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9486
9487         * BufferView.h:
9488         * BufferView.C:
9489         * BufferView_pimpl.h:
9490         * BufferView_pimpl.C: move bogus scrolling logic
9491           to xforms
9492
9493 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9494
9495         * lyxfunc.C:
9496         * BufferView_pimpl.C: view->resize() change
9497
9498 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9499
9500         * BufferView_pimpl.C: topCursorVisible
9501           prototype change
9502
9503 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9504
9505         * Makefile.am:
9506         * lyx_gui.h:
9507         * lyx_gui.C: move to frontends/
9508
9509         * main.C:
9510         * lyx_main.h:
9511         * lyx_main.C: changes from above
9512
9513 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9514
9515         * intl.C:
9516         * intl.h:
9517         * kbmap.C:
9518         * kbsequence.C:
9519         * lyx_cb.C:
9520         * lyx_main.C: minor tidy
9521
9522 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9523
9524         * BufferView_pimpl.h:
9525         * BufferView_pimpl.C:
9526         * BufferView.h:
9527         * BufferView.C: make painter() const,
9528           remove dead code
9529
9530         * BufferView2.C: use screen() accessor
9531
9532         * lyx_main.h:
9533         * lyx_main.C: some minor cleanup
9534
9535 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9536
9537         * BufferView_pimpl.h:
9538         * BufferView_pimpl.C: remove enter/leaveView,
9539           use workHeight()
9540
9541 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9542
9543         * BufferView.h:
9544         * BufferView.C:
9545         * BufferView2.C:
9546         * BufferView_pimpl.h:
9547         * BufferView_pimpl.C: only construct screen once,
9548           rename
9549
9550         * lyxrc.C: remove pointless comment
9551
9552 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9553
9554         * BufferView.h:
9555         * BufferView.C: remove active() and belowMouse()
9556
9557         * BufferView_pimpl.h:
9558         * BufferView_pimpl.C: use workarea() not workarea_,
9559           and make it use a scoped_ptr instead
9560
9561 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9562
9563         * lyx_gui.C: add debug message on BadWindow
9564
9565 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9566
9567         * sp_spell.C: fdopen is not part of the C++ standard.
9568
9569         * paragraph.C (InsetIterator): use >= instead of ==
9570
9571 2002-06-07  Angus Leeming  <leeming@lyx.org>
9572
9573         Fixes needed to compile with Compaq cxx 6.5.
9574         * BufferView_pimpl.C:
9575         * DepTable.C:
9576         * buffer.C:
9577         * converter.C:
9578         * encoding.C:
9579         * lyx_gui.C:
9580         * lyx_main.C:
9581         * lyxtextclasslist.C:
9582         * minibuffer.C:
9583         * sp_spell.C:
9584         * tabular_funcs.C:
9585         * vc-backend.C:
9586         all c-library variables have been moved into namespace std. Wrap
9587         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9588
9589         * lyxlength.C:
9590         * tabular-old.C:
9591         * tabular.C:
9592         Add a using std::abs declaration.
9593
9594         * kbmap.h (modifier_pair):
9595         * paragraph.h (InsetTable, InsetList):
9596         * lyxfont.h (FontBits):
9597         type definition made public.
9598
9599         * bufferlist.C (emergencyWriteAll): the compiler complains that
9600         there is more than one possible lyx::class_fun template to choose from.
9601         I re-named the void specialisation as lyx::void_class_fun.
9602
9603         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9604
9605         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9606         the compiler is is unable to find tostr in write_attribute.
9607
9608 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9609
9610         * buffer.C (sgmlError): hide #warning
9611
9612 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9613
9614         * xtl/*: get rid of xtl, which is not in use anyway
9615
9616         * LyXAction.C (init):
9617         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9618         were unimplemented xtl experimentation
9619
9620 2002-06-04  André Pönitz <poenitz@gmx.net>
9621
9622         * lyxfunc.C: disable array operation on simple formulae
9623
9624 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9625
9626         * converter.C: constify a bit
9627
9628 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9629
9630         * lyx_gui.C: check xforms version correctly
9631
9632 2002-04-30  Herbert Voss  <voss@lyx.org>
9633
9634         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9635         "keep" option
9636
9637 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9638
9639         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9640           attempt to register it with a VCS)
9641
9642 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9643
9644         * lyx_main.C (init): honor variables LYX_DIR_13x and
9645         LYX_USERDIR_13x
9646
9647 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9648
9649         * buffer.h:
9650         * buffer.C:
9651         * lyx_main.C: fix a crash on bad command line,
9652           and give a useful exit status on error
9653
9654         * lyxfunc.C (doImport): allow -i lyx to work
9655
9656 2002-03-30  André Pönitz <poenitz@gmx.net>
9657
9658         * lyxfunc.C: mathed font changes
9659
9660 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9661
9662         * LaTeX.C:
9663         * importer.h:
9664         * importer.C:
9665         * lyx_sty.h:
9666         * lyx_sty.C:
9667         * lyxlex.C:
9668         * lyxrow.h:
9669         * lyxtext.h:
9670         * paragraph.h:
9671         * paragraph.C:
9672         * texrow.h:
9673         * texrow.C:
9674         * text.C:
9675         * trans_mgr.h: srcdocs, and some minor cleanups
9676
9677 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9678
9679         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9680         call getFont all the time)
9681
9682 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9683
9684         * switch from SigC signals to boost::signals
9685
9686 2002-05-29  André Pönitz <poenitz@gmx.net>
9687
9688         * paragraph_pimpl.C (getChar): don't call size() too often...
9689
9690 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9691
9692         * paragraph_pimpl.C (insertChar): do not try to update tables when
9693         appending (pos == size())
9694
9695         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9696         in order to reduce drastically the number of comparisons needed to
9697         parse a large document
9698
9699 2002-05-29  André Pönitz <poenitz@gmx.net>
9700
9701         * text.C:
9702         * text2.C:
9703         * lyxtextclass.C:
9704         * sp_pspell.h:
9705         * textclasslist.[Ch]:
9706         * sp_ispell.h: whitespace change
9707
9708 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9709
9710         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9711         lyxaction directly now.
9712
9713 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9714
9715         * trans.C:
9716         * lyxfont.C:
9717         * lyxvc.C: remove unused headers
9718
9719 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9720
9721         * Makefile.am:
9722         * buffer.h:
9723         * undostack.h:
9724         * undostack.C:
9725         * undo_funcs.h:
9726         * undo_funcs.C: some cleanups. Use shared_ptr
9727           and a template for the undo stacks.
9728
9729 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9730
9731         * BufferView_pimpl.h:
9732         * BufferView_pimpl.C:
9733         * kbmap.h:
9734         * kbmap.C:
9735         * kbsequence.h:
9736         * kbsequence.C:
9737         * lyxfunc.h:
9738         * lyxfunc.C:
9739         * text2.C: use key_state/mouse_state
9740
9741 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9742
9743         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9744         and LSubstring
9745
9746         * chset.C: change include order
9747         (loadFile): use boost regex and get rid of LRegex and LSubstring
9748
9749         * Makefile.am (BOOST_LIBS): new variable
9750         (lyx_LDADD): use it
9751
9752         * LaTeX.C: change include order.
9753         (scanAuxFile): use boost regex and get rid of LRegex and
9754         LSubstring
9755         (deplog): ditto
9756
9757 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9758
9759         * ColorHandler.h:
9760         * ColorHandler.C:
9761         * FontInfo.h:
9762         * FontInfo.C: moved to frontends/xforms/
9763
9764         * FontLoader.h:
9765         * FontLoader.C: moved into frontends for GUIIzation
9766
9767         * Makefile.am:
9768         * lyx_gui.C:
9769         * lyxfont.C:
9770         * lyxfunc.C: changes from above
9771
9772 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9773
9774         * LColor.C: remove spurious X include
9775
9776         * BufferView_pimpl.C:
9777         * Makefile.am:
9778         * font.h:
9779         * font.C:
9780         * text.C:
9781         * text2.C: move font metrics to frontends/
9782
9783 2002-05-24  Juergen Vigna  <jug@sad.it>
9784
9785         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9786         setting the undo_cursor.
9787
9788         * ParagraphParameters.h: include local includes first.
9789
9790 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9791
9792         * BufferView_pimpl.C:
9793         * BufferView_pimpl.h:
9794         * Makefile.am:
9795         * WorkArea.h:
9796         * WorkArea.C:
9797         * screen.C: move WorkArea into frontends/
9798
9799         * lyxscreen.h:
9800         * screen.C:
9801         * text.C:
9802         * BufferView.C:
9803         * BufferView2.C: move LyXScreen into frontends/
9804
9805         * lyxlookup.h:
9806         * lyxlookup.C:
9807         * lyx_gui.C: move lyxlookup into frontends/xforms/
9808
9809 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9810
9811         * BufferView2.C:
9812         * BufferView_pimpl.C:
9813         * FontLoader.C:
9814         * LyXView.h:
9815         * LyXView.C:
9816         * Makefile.am:
9817         * WorkArea.C:
9818         * XFormsView.h:
9819         * XFormsView.C:
9820         * buffer.C:
9821         * bufferlist.C:
9822         * bufferview_funcs.C:
9823         * converter.C:
9824         * importer.C:
9825         * lyx_cb.C:
9826         * lyx_gui.C:
9827         * lyx_main.C:
9828         * lyx_find.C:
9829         * lyxfunc.C:
9830         * lyxvc.C:
9831         * minibuffer.C:
9832         * text.C:
9833         * text2.C:
9834         * trans.C:
9835         * vc-backend.C: move LyX/XFormsView into frontends/
9836
9837 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9838
9839         * Makefile.am:
9840         * PainterBase.C:
9841         * PainterBase.h:
9842         * Painter.C:
9843         * Painter.h:
9844         * WorkArea.C:
9845         * WorkArea.h:
9846         * screen.C:
9847         * tabular.C:
9848         * text.C:
9849         * text2.C: move Painter to frontends/
9850
9851 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9852
9853         * buffer.C: comment out some some code that depend upon lyx_format
9854         < 220
9855
9856         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9857         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9858
9859         * buffer.h (NO_COMPABILITY): turn off compability
9860
9861         * ColorHandler.C: include scoped_array.hpp
9862
9863         * font.C: Use more specific smart_ptr header.
9864         * Painter.C: ditto
9865         * gettext.C: ditto
9866         * ShareContainer.h: ditto
9867         * lyx_main.h: ditto
9868         * kbmap.h: ditto
9869         * FontInfo.h: ditto
9870         * BufferView_pimpl.h: ditto
9871         * ColorHandler.h: ditto
9872
9873         * kbmap.C (defkey): change call to shared_ptr::reset
9874
9875 2002-05-21  Juergen Vigna  <jug@sad.it>
9876
9877         * buffer.C (insertErtContents): fix to insert ert asis if it is
9878         non empty. Skip it completely if it contains only whitespaces.
9879
9880 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9881
9882         * BufferView_pimpl.C:
9883         * BufferView2.C: clear selection on paste (bug 393)
9884
9885 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9886
9887         * DepTable.C: include ctime
9888
9889 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9890
9891         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9892
9893 2002-05-14  Juergen Vigna  <jug@sad.it>
9894
9895         * text.C (breakParagraph): fixed function to honor the keepempty
9896         layout in the right maner and also to permit the right breaking
9897         algorithm on empty or non empyt keepempty paragraphs.
9898
9899         * paragraph.C (breakParagraph): we have to check also if the par
9900         is really empty (!size()) for isempty otherwise we do the wrong
9901         paragraph break.
9902
9903 2002-05-10  Juergen Vigna  <jug@sad.it>
9904
9905         * buffer.[Ch] : The following are only changes to the ert
9906         compatibility read reading old LaTeX layout and font stuff and
9907         convert it to ERTInsets.
9908
9909         * buffer.h: added isErtInset().
9910
9911         * buffer.C (struct ErtComp): add a fromlayout bool to check
9912         if we're inside a LaTeX layout.
9913         (isErtInset): new helper function.
9914         (insertErtContents): look for other ert insets before this one
9915         and insert the contents there, so that we don't have subsequent
9916         ERT insets with nothing between them. This way we create only one
9917         inset with multiple paragraphs. Also check if we don't insert only
9918         spaces ' ' as they are ignored anyway afterwards in the .tex file
9919         so if we have only spaces we will ignore this latex part in the
9920         new file.
9921         (parseSingleLyXformat2Token \\layout): better compatibility when
9922         reading layout-latex stuff.
9923         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9924         language tag.
9925         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9926         stuff after reading the inset only get the information back from
9927         the stack.
9928
9929 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9930
9931         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9932
9933         * LaTeXFeatures.C (getBabelOptions): New method.
9934
9935 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9936
9937         * BufferView_pimpl.C (Dispatch): work around missing argument for
9938         'layout'
9939
9940 2002-05-08  Juergen Vigna  <jug@sad.it>
9941
9942         * text.C (leftMargin): handle paragraph leftindent.
9943
9944         * paragraph.C (writeFile): write the new \\leftindent tag.
9945         (validate): handle leftindent code.
9946         (TeXEnvironment): handle paragraphleftindent code again.
9947
9948         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9949
9950         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9951         for paragrap_extra indent code and new token \\leftindent.
9952         (latexParagraphs): handle the leftindent as environment.
9953
9954         * ParameterStruct.h: added leftindent support.
9955
9956         * ParagraphParameters.C (leftIndent): added support functions for
9957         the paragraph left indent.
9958
9959         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9960         more appropriate.
9961
9962 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9963
9964         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9965         inside insetERT.
9966
9967         * text.C (computeBidiTables): No bidi in insetERT.
9968
9969         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9970         in RTL documents.
9971
9972 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9973
9974         * version.C.in: pre 5
9975
9976 2002-05-02  José Matos  <jamatos@fep.up.pt>
9977         * buffer.C (makeDocBookFile): white space changes, add newline to
9978         command styles.
9979         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9980
9981         * tabular.C (docBook): fix typo.
9982
9983 2002-05-03  Juergen Vigna  <jug@sad.it>
9984
9985         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9986         change in LyXText as we can not be sure it was not freed.
9987         (drawOneRow): remove unused code.
9988
9989         * text.C (drawInset): redo the calculation of the need_break_row as
9990         it could have a row which was already freed.
9991         (draw): look at the return value of drawInset and return false if
9992         it also returned false.
9993         (paintRowText): look at the return value of draw and return false if
9994         it also returned false.
9995
9996         * lyxtext.h: added bool return type to drawInset() and draw() so that
9997         if we have a change in the row so that the rowbreak has to be redone
9998         we abort drawing as it will be called again.
9999
10000 2002-05-02  Juergen Vigna  <jug@sad.it>
10001
10002         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10003         a change in the maintext also if we're inside an inset.
10004         (Dispatch): set the cursor again after a break line and after the
10005         screen has been updated as it could be we're in a different row.
10006
10007         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10008         to set the cursor behind the pargraph with > size().
10009         (setCursor): check also for the same paragraph when checking where
10010         to put the cursor if we have a NFR inset.
10011
10012         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10013         parts of layout read further up as it still was in the wrong
10014         position.
10015
10016 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10017
10018         * screen.C (drawFromTo): change sine fullRebreak always return
10019         true.
10020
10021         * buffer.C (parseSingleLyXformat2Token): reindent some
10022
10023         * BufferView_pimpl.C (update): change since fullRebreak always
10024         return true.
10025         (Dispatch): git rid of the last hardcoded "Standard"s.
10026
10027 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10028
10029         * text2.[Ch] (fullRebreak): make it return void now that we always
10030         returned true.
10031
10032 2002-04-30  Juergen Vigna  <jug@sad.it>
10033
10034         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10035         ert compatibility check for "latex" layout.
10036
10037 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10038
10039         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10040         minipages: use col% instead of p%, and also use the current font.
10041         (makeLaTeXFile): Fix use babel condition.
10042         (parseSingleLyXformat2Token): Correct font when reading old floats.
10043
10044 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10045
10046         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10047         inserting list of floats.
10048
10049 2002-04-25  Herbert Voss  <voss@lyx.org>
10050
10051         * MenuBackend.C (expand): don't add the graphics extensions to the
10052         export menu
10053
10054 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10055
10056         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10057         non-existing layout, do not complain if it was the default layout
10058         of the original class (bug #342)
10059
10060 2002-04-24  Juergen Vigna  <jug@sad.it>
10061
10062         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10063         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10064
10065 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10066
10067         * buffer.C (getBibkeyList): If using \bibliography, return the
10068         option field with the reference itself. Enables us to provide natbib
10069         support when using \bibliography.
10070
10071 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10072
10073         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10074
10075         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10076         natbib is provided by the LaTeX class.
10077
10078 2002-04-23  Juergen Vigna  <jug@sad.it>
10079
10080         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10081         Wakeup functions.
10082
10083         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10084
10085 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10086
10087         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10088
10089         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10090         ensuremath around textordmasculine, textordfeminine and
10091         textdegree.
10092
10093 2002-04-19  Juergen Vigna  <jug@sad.it>
10094
10095         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10096         reinitializing the buffer otherwise row-dimensions may be wrong.
10097         (update): reset also the selection cursors if they do exits otherwise
10098         their x/y positions may be wrong.
10099
10100         * text2.C (cursorDown): don't enter the inset if we came from a row
10101         above and are one row over the inset.
10102
10103         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10104         really leaving an inset.
10105
10106 2002-04-18  Juergen Vigna  <jug@sad.it>
10107
10108         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10109         of the selected paragraph does not have the selected layout also if
10110         the last one had!
10111
10112         * text2.C (setLayout): fixed bug which did not change last selected
10113         paragraph.
10114
10115         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10116         changed the read and substituted \\end_float with \\end_inset!
10117
10118         * BufferView_pimpl.C (cursorPrevious):
10119         (cursorNext): fixed to make it work with rows heigher than the work
10120         area without moving the cursor only the draw of the row.
10121         (workAreaMotionNotify): fix jumping over high rows.
10122
10123 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10124
10125         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10126         Ressler.
10127
10128 2002-04-16  Juergen Vigna  <jug@sad.it>
10129
10130         * text2.C (setCursor): set also the irow().
10131         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10132         (cursorUp):
10133         (cursorDown): support for locking an inset if the x_fix value goes
10134         inside it. That way I can transverse insets too with cursor up/down.
10135
10136         * lyxrow.h: added irow helper function same as other (i) functions.
10137
10138         * BufferView_pimpl.C (cursorPrevious):
10139         (cursorNext): fixed for insets!
10140
10141 2002-04-15  Juergen Vigna  <jug@sad.it>
10142
10143         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10144         position otherwise it is wrong in some cases.
10145
10146         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10147         inside the inset before the call.
10148
10149 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10150
10151         * buffer.[Ch] (getBibkeyList): make it const.
10152
10153 2002-04-12  Juergen Vigna  <jug@sad.it>
10154
10155         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10156
10157         * text2.C (getCursorX): new helper function
10158         (setCursor): compute also ix_
10159         (setCursorFromCoordinates): set also ix.
10160
10161         * lyxcursor.h: added ix_ and helper functions.
10162
10163         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10164
10165         * buffer.C (insertStringAsLines): dont break paragraph if the this
10166         paragraph is inside an inset which does not permit it!
10167
10168         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10169         also with no chars on this paragraph.
10170         (paintRowText): only paint stuff if it's inside the workarea!
10171
10172         * paragraph.C (breakParagraph): honor keepempty flag and break the
10173         paragraph always below not above.
10174
10175         * BufferView2.C (unlockInset): update the paragraph layout on inset
10176         unlock as we changed paragraph in such a case.
10177
10178         * lyxfind.C (LyXFind): clear the former selection if not found!
10179
10180         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10181         again called in insertChar().
10182
10183         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10184         an inset which uses the whole row!
10185         (rightMargin): ditto.
10186         (insertChar): force a rebreak if we inserted an inset!
10187
10188 2002-03-28  Herbert Voss  <voss@lyx.org>
10189
10190         * lyxlength.[Ch]: add inBP() to get the right PS-point
10191         units (BigPoint). With inPixels we have rounding errors
10192
10193 2002-04-11  Juergen Vigna  <jug@sad.it>
10194
10195         * text2.C (setCursorFromCoordinates): set iy to the right value.
10196         (setCursor): add check if row->previous exists!
10197
10198         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10199         an old float_type as this was the case in the old code!
10200
10201         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10202
10203         * BufferView2.C (showLockedInsetCursor): use iy
10204         (fitLockedInsetCursor): ditto
10205
10206         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10207         locked insets as there we have the right value now.
10208
10209         * lyxcursor.C: added iy_ variable and iy functions to set to the
10210         baseline of cursor-y of the locked inset.
10211
10212         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10213         (setCursor): fixed for insets which need a full row.
10214
10215         * text.C (rowLastPrintable): don't ignore the last space when before
10216         an inset which needs a full row.
10217         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10218         as last character of a row when before a inset which needs a full row.
10219
10220 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10221
10222         * version.C.in: update date
10223
10224         * text2.C (fullRebreak): try to always return true and see what
10225         happens...
10226
10227 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10228
10229         * MenuBackend.C (expand): use Floating::listName
10230
10231         * FloatList.C (FloatList): add listName argument to the built-in
10232         floats
10233
10234         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10235         text associated with the float.
10236
10237 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10238
10239         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10240
10241 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10242
10243         * ShareContainer.h: add a couple of missing typenames.
10244
10245 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10246
10247         * lyxrc.C (getDescription): use _() correctly rather than N_().
10248
10249 2002-03-28  Herbert Voss  <voss@lyx.org>
10250
10251         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10252         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10253
10254 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10255
10256         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10257         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10258
10259 2002-03-29  Juergen Vigna  <jug@sad.it>
10260
10261         * lyxfunc.C (dispatch): add a missing fitCursor call.
10262
10263         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10264         it was scrolled by a cursor move, so return the bool status.
10265
10266         * BufferView.C (fitCursor): return the bool flag also to the outside
10267         world as this is needed.
10268
10269         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10270
10271         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10272         call the edit() as it is not needed (and wrong) IMO.
10273         (workAreaButtonPress): set the screen_first variable before evt.
10274         unlock the inset as this may change screen_first and then we have
10275         a wrong y position for the click!
10276
10277 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10278
10279         * MenuBackend.C (expand): another translation that I missed
10280
10281 2002-03-28  Juergen Vigna  <jug@sad.it>
10282
10283         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10284
10285         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10286
10287 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10288
10289         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10290
10291         * MenuBackend.C (expand): fix export/view/update when there is no
10292         document open.
10293
10294 2002-03-27  Herbert Voss  <voss@lyx.org>
10295
10296         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10297         and text%
10298
10299 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10300
10301         * bufferview_funcs.C (currentState): only show paragraph number
10302         for is DEVEL_VERSION is set.
10303
10304         * lyxfunc.C (dispatch): put warning in INFO channel
10305
10306         * MenuBackend.C (expand): translate the name of floats
10307
10308         * FloatList.C (FloatList): mark the float names for translation
10309
10310         * converter.C (convert): use LibScriptSearch
10311
10312 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10313
10314         * MenuBackend.C (defaults): fix default menu (we might as well get
10315         rid of it...)
10316
10317 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10318
10319         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10320         directory.
10321
10322 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10323
10324         * lyxvc.C: reorder includes.
10325
10326 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10327
10328         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10329           properly
10330
10331 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10332
10333         * CutAndPaste.C: change layouts earlier on paste
10334           to avoid crashing when calling getFont()
10335
10336 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10337
10338         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10339         irritating #error.
10340
10341 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10342
10343         * WorkArea.C: remove 'Pending' debug message.
10344
10345         * most files: ws cleanup
10346
10347         * buffer.[Ch]: ws changes
10348
10349         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10350
10351 2002-03-21  Juergen Vigna  <jug@sad.it>
10352
10353         * tabular.C (SetMultiColumn): collapse also the contents of the
10354         cells and set the last border right. Added a Buffer const * param.
10355
10356 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10357
10358         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10359         linking or not.
10360
10361 2002-03-19  Juergen Vigna  <jug@sad.it>
10362
10363         * text2.C (clearSelection): reset also xsel_cache.
10364
10365         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10366         where it needs to be called (John tells us to do so too :)
10367         (selectionLost): reset sel_cache.
10368
10369         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10370
10371 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10372
10373         * text2.C (setCursorIntern): put debuging code in INSETS channel
10374
10375 2002-03-19  André Pönitz <poenitz@gmx.net>
10376
10377         * lyxfunc.C: tiny whitespace change
10378
10379 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10380
10381         * ToolbarDefaults.C (init):
10382         * LyXAction.C (init):
10383         * commandtags.h:
10384         * BufferView_pimpl.C (Dispatch):
10385         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10386
10387 2002-03-19  Allan Rae  <rae@lyx.org>
10388
10389         * exporter.C (Export): removeAutoInsets before doing anything else.
10390         While I've just introduced a dependency on BufferView this really is
10391         the best place to clean the buffer otherwise you need to cleanup in
10392         a dozen places before calling export or cleanup in a dozen functions
10393         that export calls.
10394
10395         * converter.C (runLaTeX):
10396         (scanLog): Better handling of removeAutoInsets and screen updates.
10397
10398         * lyxfunc.C (dispatch): small whitespace changes
10399
10400 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10401
10402         * WorkArea.C (C_WorkAreaEvent): return a value.
10403         (event_cb): return 1 if we handled the event, 0 otherwise.
10404
10405         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10406
10407 2002-03-18  Juergen Vigna  <jug@sad.it>
10408
10409         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10410         (GetAdditionalWidth): ditto.
10411         (RightLine): ditto.
10412         (LeftLine): ditto.
10413
10414         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10415         inset if we're there actually (probably not used right now but this
10416         is the direction to go for unifying code).
10417         (paste): disable code to clear the selection.
10418
10419         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10420         inside an InsetText and move the check further up as it is in the
10421         wrong place.
10422
10423         * text2.C (pasteSelection): set a selection over the pasted text.
10424
10425 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10426
10427         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10428         and libgraphics to build on Cygwin.
10429
10430 2002-03-15  Juergen Vigna  <jug@sad.it>
10431
10432         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10433         inserting an Inset into the paragraph. I know this is not the best
10434         fix but we already use current_view in CutAndPaste so we will remove
10435         all of it's using at the same time.
10436
10437         * buffer.C (sgmlError): deactivated function till it is rewritten in
10438         the right mode, now it can create problems.
10439
10440         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10441         before accessing it.
10442
10443 2002-03-14  Juergen Vigna  <jug@sad.it>
10444
10445         * undo_funcs.C (textHandleUndo): do the right thing when updating
10446         the inset after the undo/redo.
10447
10448         * text2.C (setCursor): just some testcode for #44 not ready yet.
10449
10450         * undo_funcs.C (textHandleUndo): set the next() and previous()
10451         pointers of the paragraph to 0 before deleting otherwise we have
10452         problems with the Paragraph::[destructor].
10453
10454         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10455         on a paragraph insertion.
10456
10457 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10458
10459         * buffer.C (asciiParagraph): use += operator for char append to
10460         string.
10461
10462         * paragraph.C (getFontSettings): compare >= not just >
10463         (highestFontInRange): ditto
10464         (setFont): ditto
10465
10466 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10467
10468         * paragraph.C: change several algorithm to be more appripriate for
10469         the problem domain. This is lookip in FontList and in the InsetList.
10470
10471 2002-03-13  André Pönitz <poenitz@gmx.net>
10472
10473         * commandtags.h:
10474         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10475
10476 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10477
10478         * commandtags.h:
10479         * LyXAction.C:
10480         * lyxfunc.C:
10481         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10482
10483 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10484
10485         * Painter.C (display): anon helper function, adjust code for this
10486         change.
10487         (pixmap): remove function.
10488
10489         * Painter.h: remove private display variable.
10490
10491         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10492
10493 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10494
10495         * WorkArea.[Ch]: remove figinset_canvas cruft.
10496
10497 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10498
10499         * lyxtextclass.C (operator): add one item cache optimization.
10500
10501         * bufferlist.h: doxy changes
10502
10503         * bufferlist.C: ws changes
10504
10505         * DepTable.[Ch] (ext_exist): place const in the right spot.
10506
10507         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10508         call resizeInsets.
10509         (workAreaExpose): call resizeInsets when the with BufferView changes.
10510         (Dispatch): adjust for protectedBlank removal
10511         (specialChar): call updateInset if the insert went ok.
10512
10513         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10514         specialChar instead.
10515
10516         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10517
10518         * BufferView.h: doxy change
10519
10520         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10521
10522         * lyxtextclass.C (operator[]): remove non-const version
10523         (defaultLayout): remove non-const version
10524
10525 2002-03-12  Juergen Vigna  <jug@sad.it>
10526
10527         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10528         did resize the LyXText too.
10529
10530         * buffer.C (readLyXformat2): set layout information on newly allocated
10531         paragraphs.
10532
10533         * tabular.C (OldFormatRead): set layout information on the paragraph.
10534
10535 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10536
10537         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10538
10539 2002-03-11  Juergen Vigna  <jug@sad.it>
10540
10541         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10542         plainly wrong.
10543         (resizeCurrentBuffer): force also the insets to resize themselfes.
10544         (moveCursorUpdate): fixed up for InsetText.
10545
10546 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10547
10548         * commandtags.h:
10549         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10550         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10551         value of Dialogs::tooltipsEnabled().
10552         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10553
10554 2002-03-08  Juergen Vigna  <jug@sad.it>
10555
10556         * BufferView_pimpl.C (updateInset): update inset inside inset also
10557         if it isn't inside theLockingInset().
10558
10559 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10560
10561         * buffer.C (asciiParagraph): redo some of the word and line length
10562         handling.
10563         (getLists): look for Caption instead of caption.
10564
10565 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10566
10567         * buffer.C (Buffer): initialize niceFile to true
10568         (makeLaTeXFile):
10569         (makeLinuxDocFile):
10570         (makeDocBookFile): make sure niceFile is true on exit
10571
10572 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10573
10574         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10575
10576 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10577
10578         * LyXSendto.C: remove.
10579         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10580         * lyx_gui.C: remove now-redundant comment.
10581         * ColorHandler.h: remove forward declaration of class WorkArea.
10582         * lyxfunc.C: remove #include "WorkArea.h".
10583
10584 2002-03-07  Juergen Vigna  <jug@sad.it>
10585
10586         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10587         got moved away with the DEPM and also set the inset_owner always
10588         right which before could have been omitted.
10589
10590 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10591
10592         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10593         wanted layout is not found.
10594
10595 2002-03-07  Juergen Vigna  <jug@sad.it>
10596
10597         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10598
10599 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10600
10601         * paragraph.C (breakParagraph): use default layout not layout of
10602         prev paragraph.
10603         (Paragraph): clear ParagraphParameters.
10604
10605 2002-03-06  Juergen Vigna  <jug@sad.it>
10606
10607         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10608         otherwise it would not be a valid lenght. Fixed a special case in
10609         the minipage compatibility read where we end the document with a
10610         minipage.
10611
10612         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10613         was set as it could be 0 for InsetTexts first entry.
10614
10615 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10616
10617         * paragraph.C (writeFile): if layout is empty write out
10618         defaultLayoutName().
10619
10620         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10621         file without named layout we set layout to defaultLayoutName().
10622
10623 2002-03-06  Juergen Vigna  <jug@sad.it>
10624
10625         * CutAndPaste.C (copySelection): set layout for new paragraph.
10626
10627         * text.C (prepareToPrint): leave ERT inset left aligned
10628         (leftMargin): don't indent paragraphs inside ERT insets
10629
10630 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10631
10632         * paragraph.C (breakParagraph): dont call clear do the work manually
10633
10634         * paragraph.[Ch] (clear): remove function
10635
10636 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10637
10638         * paragraph.C (Paragraph): dont call clear, the work has already
10639         been done.
10640
10641         * lyxtextclass.C (operator): assert if n is empty
10642
10643         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10644         work manually instead.
10645
10646 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10647
10648         * BufferView_pimpl.C: protect selectionLost against text == 0
10649
10650 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10651
10652         * text.C (breakParagraph): fix a setting layout to '0' problem.
10653
10654 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10655
10656         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10657         final location of file, for the included files, and graphics.
10658
10659 2002-03-05  Juergen Vigna  <jug@sad.it>
10660
10661         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10662
10663 2002-03-04  Juergen Vigna  <jug@sad.it>
10664
10665         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10666
10667         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10668         last column of multicolumn cells.
10669         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10670
10671 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10672
10673         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10674         file if it doesn't go to a temporary file.
10675
10676         * buffer.C (sgmlOpenTag):
10677         (sgmlCloseTag):  remove extra newline insertion.
10678
10679 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10680
10681         * text.C (getRowNearY): comment out debug msg
10682
10683 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10684
10685         * text2.C: first -> first_y
10686
10687         * text.C (getRowNearY): add some attemts at a possible
10688         optimization, not working.
10689
10690         * tabular.[Ch]: add BufferParams to several function so that newly
10691         created paragraph can be initialized to he default layotu for the
10692         buffers textclass.
10693
10694         * tabular-old.C (ReadOld): add buf->params to call of Init
10695
10696         * screen.C: rename text->first to text->first_y
10697
10698         * paragraph.C (breakParagraph): always set layout in the broken
10699         paragraph
10700
10701         * lyxtextclass.C (Read): remove lowercase
10702         (hasLayout): ditto
10703         (operator): ditto
10704         (delete_layout): ditto
10705
10706         * lyxtext.h: rename first -> first_y
10707
10708         * lyxlayout.C (Read): remove lowercase
10709         (name): ditto
10710         (setName): ditto
10711         (obsoleted_by): ditto
10712
10713         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10714
10715         * buffer.C (insertErtContents): add params are to InsetERT
10716         (parseSingleLyXformat2Token): add code to check if a paragraphs
10717         layout really exist.
10718         (parseSingleLyXformat2Token): add params to several inset
10719         constructors
10720         (asciiParagraph): remove lowercase, do the layout comparisons with
10721         no_case
10722
10723         * BufferView_pimpl.C (cursorNext): first -> first_y
10724         (resizeCurrentBuffer): first -> first_y
10725         (updateScrollbar): first -> first_y
10726         (scrollCB): first -> first_y
10727         (workAreaMotionNotify): first -> first_y
10728         (workAreaButtonPress): first -> first_y
10729         (checkInsetHit): first -> first_y
10730         (cursorPrevious): first -> first_y
10731         (cursorNext): first -> first_y
10732         (Dispatch): add buffer_->params to severl inset contructors
10733
10734 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10735
10736         * lyxlayout.C (Read): remove some debug info that I forgot.
10737
10738         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10739         clean up the code slightly.
10740         (makeLinuxDocFile): ditto
10741         (makeDocBookFile): ditto
10742
10743         * text2.C: layout as string
10744
10745         * text.C: layout as string
10746
10747         * paragraph_pimpl.C: layout as string
10748
10749         * paragraph.[Ch]: layout as string
10750
10751         * lyxtextclasslist.[Ch]: layout as string
10752
10753         * lyxtextclass.[Ch]: layout as string
10754
10755         * lyxtext.h: layout as string
10756
10757         * lyxlayout.[Ch]: layout as string
10758
10759         * lyx_cb.C: layout as string
10760
10761         * bufferview_funcs.C: layout as string
10762
10763         * bufferparams.C: layout as string
10764
10765         * buffer.C: layout as string
10766
10767         * LyXView.[Ch]: layout as string
10768
10769         * LaTeXFeatures.[Ch]: layout as string
10770
10771         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10772
10773         * BufferView_pimpl.C: change current_layout to string, remove
10774         lyx::layout_type.
10775         (Dispatch):
10776         (smartQuote):
10777         (insertInset):
10778         (workAreaButtonRelease): layout as string
10779
10780         * BufferView2.C (unlockInset): adjust
10781
10782         * vspace.C (asLatexCommand): use an explict temp variable.
10783
10784 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10785
10786         * Makefile.am: use FRONTEND_*
10787
10788 2002-03-01  Juergen Vigna  <jug@sad.it>
10789
10790         * tabular.C (SetWidthOfMulticolCell): changed to something better
10791         I hope but still work in progress.
10792         (recalculateMulticolumnsOfColumn): renamed function from
10793         recalculateMulticolCells as it is more appropriate now.
10794         (SetWidthOfCell): calculate multicols better.
10795
10796 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10797
10798         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10799
10800         * lyxfunc.C (processKeySym): print sequence also if it is
10801         `deleted' (complete)
10802
10803         * kbsequence.C (print): print sequence even if it is deleted
10804         (complete would be a better word, actually).
10805
10806         * lyxfunc.C (dispatch): print complete options after a prefix key
10807
10808         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10809
10810 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10811
10812         * text2.C (setCharFont): eliminate setCharFont code duplication.
10813
10814 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10815
10816         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10817         LFUN_TABULAR_FEATURE (bug #177)
10818
10819 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10820
10821         * Makefile.am: remove figure.h
10822
10823 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10824
10825         * Bufferview_pimpl.C:
10826         * CutAndPasteC:
10827         * LaTeX.C:
10828         * LyXSendto.C:
10829         * buffer.C:
10830         * bufferlist.C:
10831         * converter.C:
10832         * language.C:
10833         * lyxfunc.C:
10834         * lyxvc.C:
10835         * paragraph.C:
10836         * text.C:
10837         * text2.C: remove #include "lyx_gui_misc.h".
10838
10839         * LaTeX.C: added #include <cstdio>
10840
10841 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10842
10843         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10844         that the paragraph following this one can have.
10845
10846         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10847
10848         * vspace.C (asLatexCommand): fix bogus gcc warning
10849
10850         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10851
10852 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10853
10854         * text2.C (setLayout): get rid of redundant code
10855
10856 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10857
10858         * text2.C (incDepth): make sure depth cannot be increased beyond
10859         reasonable values.
10860
10861 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10862
10863         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10864         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10865
10866         * PainterBase.h (image):
10867         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10868         a LyXImage const *.
10869
10870 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10871
10872         * BufferView.C:
10873         * BufferView.h:
10874         * BufferView_pimpl.C:
10875         * BufferView_pimpl.h:
10876         * LaTeXFeatures.C:
10877         * LyXAction.C:
10878         * LyXView.C:
10879         * Makefile.am:
10880         * UpdateList.h:
10881         * UpdateList.C:
10882         * buffer.C:
10883         * figure.h:
10884         * figureForm.C:
10885         * figureForm.h:
10886         * figure_form.C:
10887         * figure_form.h:
10888         * lyx_cb.C:
10889         * lyx_gui.C:
10890         * lyx_gui_misc.C:
10891         * lyxfunc.C:
10892         * sp_base.h:
10893         * sp_ispell.h:
10894         * sp_pspell.h:
10895         * sp_spell.C: remove fig inset, and the crap house of
10896           cards that follows it
10897
10898 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10899
10900         * Makefile.am:
10901         * lyxserver.C:
10902         * os2_defines.h:
10903         * os2_errortable.h:
10904         * nt_defines.h: move .h into support/
10905
10906         * vms_defines.h: remove
10907
10908         * WorkArea.C: add space in debug output
10909
10910         * text2.C:
10911         * paragraph.C:
10912         * buffer.C: add WITH_WARNINGS
10913
10914         * vc-backend.h:
10915         * vc-backend.C:
10916         * bufferlist.C: s/retrive/retrieve/, add docs
10917
10918         * vspace.h:
10919         * vspace.C:
10920         * kbmap.h:
10921         * lyxlength.h:
10922         * lyxgluelength.h:
10923         * length_common.h:
10924         * chset.h:
10925         * chset.C: add docs
10926
10927         * lyxgui.C: add ID to X error handler
10928
10929         * lyxtestclass.c: fix typo
10930
10931 2002-02-26  Juergen Vigna  <jug@sad.it>
10932
10933         * tabular_funcs.C (write_attribute): changed so that some default
10934         attributes are not written at all.
10935         (getTokenValue): set default values before trying to read the
10936         value so we have the return value always set as default if we don't
10937         find the token we search for.
10938
10939         * tabular.C (Write): write bools as bools not as strings!
10940
10941 2002-02-22  Juergen Vigna  <jug@sad.it>
10942
10943         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10944         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10945
10946         * text.C (leftMargin): don't add an indent for paragraphs inside
10947         tabular cells (fix #208).
10948
10949 2002-02-21  José Matos  <jamatos@fep.up.pt>
10950
10951         * tabular.C (docBook): fixed support for long tables.
10952
10953 2002-02-20  Juergen Vigna  <jug@sad.it>
10954
10955         * text2.C (getFont): get the drawing font of the Inset if this
10956         paragraph is inside an inset (only important for InsetERT for now).
10957
10958         * buffer.C (insertErtContents): use new lanugage params in ERT
10959         constructor.
10960
10961         * CutAndPaste.C: commenting out seemingly uneeded code.
10962
10963 2002-02-19  Allan Rae  <rae@lyx.org>
10964
10965         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10966         Iterators might be simple to use but they also get invalidated.
10967         (removeAutoInsets): renamed saved cursor tracking variables and added
10968         some comments to clarify what everything does.
10969
10970 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10971
10972         * Chktex.C:
10973         * LaTeX.C:
10974         * LyXSendto.C:
10975         * converter.C:
10976         * lyx_cb.C:
10977         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10978         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10979
10980         * lyxfunc.C:
10981         * vc-backend.h: remove #include "support/syscall.h"
10982
10983         * LaTeX.C:
10984         * LyXSendto.C:
10985         * converter.C: rearrange #includes in Lars' approved fashion.
10986
10987         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10988         forward declare class Timeout in the header file.
10989
10990         * XFormsView.C: changes due to the above.
10991
10992         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10993         similar to LyXView.
10994
10995         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10996         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10997
10998 2002-02-18  José Matos  <jamatos@fep.up.pt>
10999
11000         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11001         insets contents.
11002
11003 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11004
11005         * a lot of small ws changes
11006         * add a lot of using std::XXX
11007         * use std construcs some places where approp.
11008         * use some exisint stuff from lyxfunctional where approp.
11009         * Make file changes to use partial linking (lets test this now...)
11010
11011 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11012
11013         * Chktex.C:
11014         * buffer.C:
11015         remove #include "support/syscontr.h" as it's redundant. Always has been.
11016
11017         * Chktex.C:
11018         * LaTeX.C:
11019         * LyXSendto.C:
11020         * converter.C:
11021         * lyx_cb.C:
11022         * vc-backend.C:
11023         change Systemcalls::System to Systemcalls::Wait and
11024         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11025         No change of functionality, just reflects the stripped down Systemcalls
11026         class.
11027
11028 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11029
11030         * debug.[Ch]: add a GRAPHICS type to the enum.
11031
11032 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11033
11034         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11035
11036         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11037         there is an inset.
11038
11039 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11040
11041         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11042         match the changes below.
11043
11044         * text2.C (toggleInset): if there is not editable inset at cursor
11045         position, try to see if cursor is _inside_ a collapsable inset
11046         and close it.
11047
11048 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11049
11050         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11051         document menu has a nice checkbox
11052
11053 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11054
11055         * lyxlength.C (asLatexString): change PW to output as percent of
11056         \textwidth.
11057
11058         * lengthcommon.C: change '%' to 't%'
11059
11060         * lyxfunc.C (dispatch): a few comments from Martin
11061
11062 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11063
11064         * WorkArea.h:
11065         * WorkArea.C:
11066         * BufferView_pimpl.h:
11067         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11068           the X selection.
11069
11070 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11071
11072         * vspace.C (inPixels): fix compiler warning
11073
11074 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11075
11076         * lyxfunc.C (getStatus): fix status message for disabled commands.
11077
11078 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11079
11080         * BufferView_pimpl.C: fix crash on close buffer
11081         during selection (#227)
11082
11083 2002-01-27  Herbert Voss  <voss@lyx.org>
11084
11085         * buffer.C: link old Figure to new graphic inset
11086
11087 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11088
11089         * FontLoader.C (getFontinfo): Change the latex font names in order
11090         to match the names of type1inst.
11091
11092 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11093
11094         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11095
11096         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11097         (extchanged): ditto
11098         (ext_exist): ditto
11099         (remove_files_with_extension): ditto
11100         (remove_file): ditto
11101         (write): ditto
11102
11103         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11104         document is smaller than the work area height. Do not initialize
11105         static variables to 0.
11106
11107 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11108
11109         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11110
11111         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11112         LFUN_LAYOUT_PARAGRAPHS.
11113
11114         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11115         tabular. It is possible to provide a possible cell, which will
11116         typically be the actcell from the corresponding insettabular
11117
11118         * lyxfunc.C (getStatus): small cleanup; disable
11119         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11120         true
11121
11122 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11123
11124         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11125
11126         * paragraph.C (startTeXParParams):
11127         (endTeXParParams): new methods. The LaTeX code to
11128         start/end paragraph formatting
11129         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11130         empty (fixes bug #200)
11131
11132         * vspace.C (inPixels): adapt to the change below
11133         (inPixels): [later] more cleanups (remove unused variables)
11134
11135         * lyxlength.C (inPixels): change to use a width and a height as
11136         parameter.
11137
11138 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11139
11140         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11141         Replaced with \paperwidth
11142
11143         * DepTable.C (insert): add std:: qualifier
11144
11145 2002-01-18  Allan Rae  <rae@lyx.org>
11146
11147         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11148         updated also?
11149
11150         * text.C (drawInset): Turned out I didn't know enough about how
11151         rebreaking worked.  This fixes most of the redraw problems.  I see
11152         an occasional cursor trail when a line is broken now and the cursor
11153         placement can seem out by a few pixels also after a rebreak.
11154
11155 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11156
11157         * buffer.C (parseSingleLyXformat2Token): update because minipage
11158         width is now a LyXLength
11159
11160         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11161
11162         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11163         math insets
11164
11165 2002-01-17  Juergen Vigna  <jug@sad.it>
11166
11167         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11168
11169         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11170         is set correctly and the inset is updated correctly.
11171
11172 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11173
11174         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11175         the beginning of the loop.
11176
11177 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11178
11179         * lyxrc.C: improve help for use_scalable_fonts
11180
11181 2002-01-17  Allan Rae  <rae@lyx.org>
11182
11183         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11184
11185 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11186
11187         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11188         make sure to set their inset_owner to the right value (bug #171)
11189
11190 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11191
11192         * DepTable.h
11193         * DepTable.C: Implement mtime checking to reduce time spent doing
11194         CRCs.
11195
11196 2002-01-16  Juergen Vigna  <jug@sad.it>
11197
11198         * tabular.C (GetAdditionalHeight): one of error fixed.
11199
11200         * lyxrc.C (output): small fix in writing use_pspell.
11201
11202 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11203
11204         * sp_base.h: #include LString.h
11205
11206 2002-01-16  Allan Rae  <rae@lyx.org>
11207
11208         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11209         Can someone check this please?
11210
11211         * text.C (drawInset): It was possible that p.row would be removed by
11212         breakAgainOneRow upsetting a few other settings.  There may be another
11213         small tweak possible by setting need_break_row = 0 when p.row has been
11214         removed but I don't know enough about the logic here.
11215
11216 2002-01-15  Allan Rae  <rae@lyx.org>
11217
11218         * text.C (insertChar): removed conditional truism.
11219
11220         * BufferView2.C (removeAutoInsets): More tweaks.
11221         cur_par_prev could be a stray pointer.  Check for trailing empty line
11222         in case last line was cur_par and only had an error inset on it.
11223
11224 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11225
11226         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11227         absolute
11228
11229         * vc-backend.C (most methods):
11230         * exporter.C (Export):
11231         * converter.C (convert):
11232         (runLaTeX):
11233         * LyXSendto.C (SendtoApplyCB):
11234         * lyxfunc.C (dispatch):
11235         (menuNew):
11236         (open):
11237         (doImport):
11238         * lyx_cb.C (AutoSave):
11239         (InsertAsciiFile):
11240         * BufferView_pimpl.C (MenuInsertLyXFile):
11241         * buffer.C (runChktex): use Buffer::filePath().
11242
11243         * buffer.h: rename filename to filename_; rename filepath to
11244         filepath_ and make it private
11245         (filePath): new method
11246
11247         * buffer.C (writeFile): use fileName()
11248         (getLatexName):
11249
11250         * lyx_main.C (init): fix starting  of LyX when the binary is a
11251         link from so,ewhere else.
11252
11253         * minibuffer.C: include <cctype> for isprint
11254
11255 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11256
11257         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11258         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11259         name clash with InsetCollapsable's width function.
11260
11261 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11262
11263         * lastfiles.C: include <iterator>
11264
11265 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11266
11267         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11268         std::count.
11269
11270         * buffer.C (makeLaTeXFile): ditto.
11271         Also make loop operation more transparent.
11272
11273 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11274
11275         * ToolbarDefaults.C: remove trailing comma closing namespace.
11276
11277         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11278
11279         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11280         as in WorkArea.
11281
11282         * trans.C (Load): comment out unused variable, allowed.
11283
11284 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11285
11286         * minibuffer.[Ch] (append_char): new method to recieve input from the
11287         drop-down completion browser. If a key was pressed, then recieve this
11288         char and append it to the existing string.
11289         (peek_event): modify the positioning data passed to the completion
11290         browser so that it can be placed above the minibuffer rather than below.
11291 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11292
11293         * LyXAction.C (init): alloe error-next for readonly documents.
11294
11295         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11296         count.
11297
11298 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11299
11300         * bufferlist.C (readFile): create the buffer _after_ checking that
11301         the file exists.
11302
11303         * lyxfunc.C (verboseDispatch): fix handling of arguments
11304
11305         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11306
11307         * lyxrc.C: use string::erase() instead of initializing to "".
11308
11309
11310 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11311
11312         * BufferView_pimpl.h:
11313         * BufferView_pimpl.C:
11314         * WorkArea.h:
11315         * WorkArea.C:
11316         * text2.C: tell X when we have made a selection for copying
11317
11318 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11319
11320         * BufferView_pimpl.C (MenuInsertLyXFile):
11321         * lyxfunc.C (menuNew):
11322         (open):
11323         (doImport): add shortcuts to directory buttons
11324
11325         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11326         open a float)
11327
11328         * lyxfunc.C (setStatusMessage):
11329         (getStatusMessage): new methods
11330         (getStatus):use setStatusMessage instead of setErrorMessage
11331         (dispatch): when function is disabled, set error message here
11332         [instead of in getStatus previously]
11333
11334         * BufferView_pimpl.C (workAreaButtonRelease): update
11335         toolbar/menubar here too.
11336
11337 2002-01-13  Allan Rae  <rae@lyx.org>
11338
11339         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11340         Now seems indestructible.  Remaining task is to audit all other
11341         code affected by deleteEmptyParagraphMechanism.  One small quirk
11342         left is that an empty document with an error in the preamble can
11343         be made to report an error but no error box appears.  I don't know
11344         where it goes.
11345         (removeAutoInsets): Improved comments.
11346
11347 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11348
11349         * Thesaurus.h:
11350         * Thesaurus.C: update for Aiksaurus 0.14
11351
11352 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11353
11354         * text2.C (firstParagraph): removed member function, all uses
11355         replaces with ownerParagraph
11356         (redoParagraphs): here
11357         (updateInset): here
11358         (toggleAppendix): here
11359         * BufferView2.C (insertErrors): here
11360         (setCursorFromRow): here
11361
11362 2002-01-13  Allan Rae  <rae@lyx.org>
11363
11364         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11365         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11366         There is still a way to segfault this although you may have to do this
11367         multiple times: Have an InsetERT with an unknown command in it.
11368         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11369         <down-arrow>, <Enter> again, View->DVI, BANG!
11370
11371         * text2.C (setCursor):
11372         (deleteEmptyParagraphMechanism):
11373         * lyxtext.h (setCursor):
11374         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11375         Making use of the return value may help fix other bugs.
11376
11377 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11378
11379         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11380
11381         * LyXView.C (updateMenubar): call MenuBar::update here
11382         (updateToolbar): but not here
11383         (showState): do not update toolbar/menubar
11384
11385         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11386         should need to care about that.
11387
11388         * lyxfunc.C (verboseDispatch): simplify a bit
11389         (getStatus): have a version which takes a pseudoaction, and
11390         another which requires a (kb_action,string).
11391
11392         * LyXAction.C (retrieveActionArg): make it work also when action
11393         is not a pseudo-action.
11394         (getActionName): simplify a bit
11395         (helpText):
11396
11397 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11398
11399         * lyxfunc.C (verboseDispatch): new families of methods with
11400         several ways to specify a command and a bool to indicate whether
11401         the command name and shortcut should be displayed in minibuffer
11402         (eventually, we could extend that to a finer bitmask like
11403         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11404         (dispatch): the pristine dispatch command which just, well,
11405         dispatchs! Note it still sets its result to minibuffer; I'm not
11406         sure we want that.
11407
11408         * lyxfunc.h: remove setHintMessage
11409
11410         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11411
11412 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11413
11414         * BufferView_pimpl.C (specialChar): delete new inset if we have
11415         not been able to insert it.
11416
11417         * kbmap.C: revert to using int instead of kb_action, since all we
11418         are dealing with is pseudo-actions.
11419
11420         * LyXAction.C (searchActionArg): change to return int instead of
11421         kb_action, since the result is a pseudoaction.
11422
11423 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11424
11425         * buffer.C (insertErtContents): Fix (partially) the font bug.
11426
11427 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11428
11429         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11430         as the other one is broken on my machine!
11431
11432 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11433
11434         * commandtags.h:
11435         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11436
11437 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11438
11439         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11440         reflect their actual use. Provide compatibility code for older lyxrc
11441         files.
11442
11443         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11444         FL_NORMAL_STYLE.
11445         change names of popup font variables in line with the changes to lyxrc.C
11446
11447 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11448
11449         * buffer.C (asciiParagraph): avoid outputing a word twice after
11450         an inset.
11451
11452         * lyxrc.C (getDescription): document that document_path and
11453         template_path can be empty.
11454
11455 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11456
11457         * LaTeXFeatures.C (getMacros):
11458         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11459
11460         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11461
11462         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11463         getPackages.
11464         (getPackages): rename feature "floats" to "float". Use an array to
11465         iterate over 'simple' features (i.e. just a \usepackage). Add
11466         handling of "amsmath" (renamed from "amsstyle").
11467
11468 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11469
11470         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11471         features list.
11472
11473 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11474
11475         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11476         FuncStaus::FuncStatus & FuncStaus::some_method().
11477
11478 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11479
11480         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11481         of the func_satus stuff. Edited and massaged in various ways by
11482         JMarc.
11483
11484         * lyxfunc.C (getStatus): use FuncStatus
11485
11486 2002-01-08  Juergen Vigna  <jug@sad.it>
11487
11488         * text.C (nextBreakPoint): use function Inset::isChar().
11489
11490         * paragraph.C (TeXOnePar): use function
11491         Inset::forceDefaultParagraphs.
11492
11493         * buffer.C (latexParagraphs): use function
11494         Inset::forceDefaultParagraphs.
11495
11496 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11497
11498         * lyx_gui.C (init): set the style of the menu popups to
11499         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11500
11501 2002-01-07  Juergen Vigna  <jug@sad.it>
11502
11503         * text.C (setHeightOfRow): small fix
11504         (prepareToPrint): don't look at alignment if we don't have the place
11505         for doing it.
11506
11507 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11508
11509         * box.C: New file. Move the Box methods and functions out of box.h,
11510         following Lars' suggestion.
11511
11512 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11513
11514         * box.h: #include "support/LOstream.h", needed for inlined function.
11515
11516         * lyxtextclass.C:
11517         * lyxtextclasslist.C: added some using std declarations.
11518
11519 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11520
11521         * box.h: make signed dimensions to allow insets wider than
11522           the screen (bug #162)
11523
11524         * BufferView_pimpl.C: add some insetHit debug
11525
11526 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11527
11528         * vc-backend.C: add FIXME
11529
11530 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11531
11532         * lyxfunc.C (getStatus): enable code for showing math font status
11533         in toolbar/menu.
11534
11535 2002-01-07  Juergen Vigna  <jug@sad.it>
11536
11537         * text.C (nextBreakPoint): removed debug output not needed anymore.
11538
11539 2002-01-06  Juergen Vigna  <jug@sad.it>
11540
11541         * text.C (nextBreakPoint): fixed up this function we had this bug
11542         since ever but now hopefully we break row better.
11543         (insertChar): we have to check if an inset is the next char as it
11544         could now happen that a large inset is causing a break.
11545
11546 2002-01-05  Juergen Vigna  <jug@sad.it>
11547
11548         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11549         if it doesn't like to be drawed.
11550
11551 2002-01-04  Juergen Vigna  <jug@sad.it>
11552
11553         * BufferView2.C (lockInset): forgot to set a cursor.
11554
11555         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11556
11557 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11558
11559         * FormMathsPanel.C:
11560         * FormMathsPanel.h
11561         * MathsSymbols.C:
11562         * form_maths_panel.C:
11563         * form_maths_panel.h:
11564         * form_maths_panel.fd: implemented sub- and super- buttons in math
11565         panel.
11566
11567         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11568         (or ^ space) to be used as in TeX (req'd by André).
11569
11570         * lyxfunc.C: Allow ^ and _ again to be used both as
11571         super/subscript (mathed) and as themselves (in text).
11572
11573 2002-01-03  Allan Rae  <rae@lyx.org>
11574
11575         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11576         "LyX" or the filename of the current buffer if it has one.  This is a
11577         modified form of John Levon's patch.
11578
11579         * XFormsView.C (setWindowTitle): also set icon title.
11580
11581         * LyXView.h (setWindowTitle): signature changed.
11582         * XFormsView.h (setWindowTitle): ditto.
11583
11584 2002-01-02  Juergen Vigna  <jug@sad.it>
11585
11586         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11587
11588 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11589
11590         * screen.C (topCursorVisible): introduce a temp var for
11591         text->cursor.row(), handle the case where this row is null. (kindo
11592         hachish)
11593
11594         * text2.C (setCursor): add a couple of asserts.
11595
11596         * paragraph.h (inset_iterator): add -> operator
11597
11598         * paragraph.[Ch] (autoDeleteInsets): remove member function
11599
11600         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11601         cursor pos correctly and handle inset deletion by itself.
11602         (insertErrors): move iterator declaration out of for expression
11603
11604         * lyxtextclass.C: add <algorithm>
11605
11606         * Makefile.am: added the new files to sources, removed layout.C
11607
11608         * layout.C: removed file
11609
11610         * layout.h: remove LYX_DUMMY_LAYOUT
11611
11612         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11613         layout.
11614
11615         * lyxlayout.[Ch]:
11616         * lyxtextclass.[Ch]:
11617         * lyxtextclasslist.[Ch]: new files
11618
11619         * include order changes to a lot of files, also changes because of
11620         the six new files.
11621
11622 2001-12-27  Juergen Vigna  <jug@sad.it>
11623
11624         * buffer.C (asciiParagraph): more fixes.
11625
11626         * tabular.C (ascii): make ascii export support export of only the
11627         data separated by a column-delimiter.
11628         (ascii): better support for ascii export.
11629
11630         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11631
11632 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11633
11634         * tabular_funcs.C: use a "using std::getline" instead of the
11635         previous fix from Angus (necessary for cxx + lyxstring)
11636
11637 2001-12-24  Juergen Vigna  <jug@sad.it>
11638
11639         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11640
11641         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11642         problems. First check a minipage also if we have some ert-contents
11643         (not only on par->size(), second set the right depth of the paragraph
11644         on the relink to the root-paragraph-list!
11645
11646         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11647         which then did not anymore update the main paragraphs on undo/redo!
11648
11649 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11650
11651         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11652         code. Support all font-changing funcs (even those which are not in
11653         menu currently). Support for reporting font settings in
11654         mathed (disabled until Andre provides a function on mathed's side).
11655
11656         * func_status.h (toggle): small helper function to set toggle
11657         state on a flag.
11658
11659 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11660
11661         * tabular_funcs.C: getline -> std::getline
11662
11663 2001-12-21  Juergen Vigna  <jug@sad.it>
11664
11665         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11666         accessed and could be 0 (I couldn't generate this but it seems
11667         Michael could!).
11668
11669 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11670
11671         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11672         * tabular_funcs.h: here and include iosfwd
11673
11674 2001-12-20  Juergen Vigna  <jug@sad.it>
11675
11676         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11677         inside inset but undo_par was.
11678
11679 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11680
11681         * Thesaurus.C: always include <config.h> in sources.
11682
11683         * Painter.h:
11684         * lyxlookup.h:
11685         * box.h: do not include <config.h> in header files
11686
11687         * text.C (paintLastRow): remove unused variable
11688
11689         * text.C (transformChar):
11690         (insertChar):
11691         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11692
11693         * Painter.C (text):
11694         * font.C (width): rewrite to use uppercase() instead of
11695         islower/toupper.
11696
11697         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11698
11699 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11700
11701         * lyxfind.C: clean up of find failure position change
11702
11703 2001-12-20  Juergen Vigna  <jug@sad.it>
11704
11705         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11706
11707         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11708         (TeXRow): added to LaTeX a single tabular row.
11709         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11710         (Latex): simplified and finally good LT-h/f support.
11711         (various_functions): just small adaptions for LT-h/f support.
11712
11713         * tabular_funcs.[hC]: added and moved here all not classfunctions
11714         of LyXTabular.
11715
11716 2001-12-19  Juergen Vigna  <jug@sad.it>
11717
11718         * tabular.[Ch]: better support for longtabular options (not finished
11719         yet!)
11720
11721 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11722
11723         * text.C (paintLastRow): use the label font instead of the font of
11724         the last character to compute the size of *_BOX. This makes more
11725         sense and avoids a crash with empty paragraphs.
11726         Use Painter::rectangle to draw EMPTY_BOX.
11727
11728 2001-12-19  Juergen Vigna  <jug@sad.it>
11729
11730         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11731         the paragraphs if the replaced paragraph is not the first one!
11732         Tried to delete not used paragraphs but does not work yet so for
11733         now it's inside #ifdef's and by default off!
11734
11735 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11736
11737         * MenuBackend.C: include "lyx_main.h" instead of declaring
11738         lastfiles (actually was declared as LastFiles* instead of a
11739         scoped_ptr).
11740
11741 2001-12-17  Juergen Vigna  <jug@sad.it>
11742
11743         * tabular.C (AppendColumn): applied John's fix
11744
11745 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11746
11747         * BufferView.h:
11748         * BufferView.C:
11749         * BufferView_pimpl.h:
11750         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11751
11752         * Makefile.am:
11753         * box.h: new start of class for above
11754
11755         * lyxfunc.C: ignore space-only minibuffer dispatches.
11756           Show the command name when it doesn't exist
11757
11758         * minibuffer.C: don't add empty lines to the history
11759
11760         * minibuffer.C: add a space on dropdown completion
11761
11762 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11763
11764         * text.C: fix line above/below drawing in insets
11765
11766 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11767
11768         * lyxlength.C (LyXLength): Initialize private variables.
11769
11770 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11771
11772         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11773         when inserting error insets.
11774
11775 2001-12-13  Juergen Vigna  <jug@sad.it>
11776
11777         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11778         actually sometimes the before-paragraph.
11779         (setUndo): don't clear the redostack if we're not actually undoing!
11780
11781 2001-12-06  Juergen Vigna  <jug@sad.it>
11782
11783         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11784         and fixed redoing of main paragraph, so we can use it now ;)
11785
11786         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11787
11788 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11789
11790         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11791         Juergen's request
11792
11793 2001-12-13  André Pönitz <poenitz@gmx.net>
11794
11795         * undostack.[Ch]:
11796         * undo_func.C: minor cleanup
11797
11798 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11799
11800         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11801         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11802         font in urw-fonts package which is marked as -urw-fontspecific and
11803         does not work (incidentally, changing the encoding in the
11804         fonts.dir of this package to -adobe-fontspecific fixes the
11805         problem).
11806
11807         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11808         is a crash when undoing first paragraph (Juergen, please take a
11809         look). THis does not mean the undo fix is wrong, just that it
11810         uncovers problems.
11811
11812         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11813         the (Paragraph*) version when needed instead of duplicating the
11814         code.
11815
11816         * text.C (workWidth): use Inset::parOwner to find out where the
11817         inset has been inserted. This is a huge performance gain for large
11818         documents with lots of insets. If Inset::parOwner is not set, fall
11819         back on the brute force method
11820
11821         * paragraph_pimpl.C (insertInset):
11822         * paragraph.C (Paragraph):
11823         (cutIntoMinibuffer): set parOwner of insets when
11824         inserting/removing them
11825
11826         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11827
11828 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11829
11830         * commandtags.h:
11831         * LyXAction.C:
11832         * lyx_main.C:
11833         * lyxfunc.C:
11834         * mathed/formulabase.C:
11835         * mathed/math_cursor.[Ch]:
11836         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11837
11838
11839 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11840
11841         * lyxlength.[Ch] (operator!=): new function
11842
11843 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11844
11845         * text.C (workWidth): use Inset::parOwner to find out where the
11846         inset has been inserted. This is a huge performance gain for large
11847         documents with lots of insets. If Inset::parOwner is not set, fall
11848         back on the brute force method
11849
11850         * paragraph_pimpl.C (insertInset):
11851         * paragraph.C (Paragraph):
11852         (cutIntoMinibuffer): set parOwner of insets when
11853         inserting/removing them
11854
11855         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11856
11857 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11858
11859         * tabular-old.C (getTokenValue):
11860         * tabular.C (getTokenValue):
11861         (write_attribute): new versions for LyXLength
11862         (everywhere): adjust the use of widths
11863
11864         * tabular.h: change the type of widths from string to LyXLength
11865
11866 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11867
11868         * paragraph.C: fixed missing line number count when exporting
11869         Environments to LaTeX file
11870
11871         * buffer.C: added informational message for checking line numbers.
11872
11873 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11874
11875         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11876         paragraph, do the 'double space' part, but not the 'empty
11877         paragraph' one.
11878
11879         * text.C (workWidth): small optimization
11880         (getLengthMarkerHeight): use minimal size for negative lengths.
11881
11882 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11883
11884         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11885
11886         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11887
11888 2001-12-11  André Pönitz <poenitz@gmx.net>
11889
11890         * FontLoader.C:
11891         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11892
11893 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11894
11895         * text2.C: keep selection on a setFont()
11896
11897 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11898
11899         * lyx_cb.C: another bv->text misuse, from insert label
11900
11901 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11902
11903         * kbsequence.h:
11904         * kbsequence.C: re-instate nmodifier mask
11905
11906 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11907
11908         * lyx_main.h: make lyxGUI private.
11909
11910 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11911
11912         * lyxfind.C: place the cursor correctly on failed search
11913
11914 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11915
11916         * text.C (getLengthMarkerHeight): for small heights, the arrows
11917         are not always on top/bottom of the text
11918         (drawLengthMarker): smaller arrows; take the left margin in
11919         account; draw also vfills.
11920         (paintFirstRow):
11921         (paintLastRow): remove special code for vfill and standard spaces,
11922         since everything is handled in drawLengthMarker now.
11923
11924 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11925
11926         * buffer.C (insertErtContents): try to handle font and language
11927         interaction a bit better.g
11928
11929         * ColorHandler.C (updateColor): change the hash to cover the whole
11930         LColor enum, ws cleanup
11931         (getGCLinepars): ditto
11932         (getGCLinepars): only lookup in the linecache once.
11933
11934 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11935
11936         * iterators.C (operator++): Make the iterator more robust
11937
11938         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11939         (John's patch)
11940         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11941
11942 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11943
11944         * lyxtext.h:
11945         * text.C: better added space drawing
11946
11947 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11948
11949         * LyXView.C:
11950         * BufferView2.C: fix layout combo update on inset unlock
11951
11952 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11953
11954         * Makefile.am: don't compile unused files
11955
11956 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11957
11958         * lyxfunc.C:
11959         * commandtags.h:
11960         * LyXAction.C: remove old LFUN_LAYOUTNO
11961
11962 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11963
11964         * paragraph_pimpl.h:
11965         * paragraph_pimpl.C: isTextAt() doesn't need font param
11966
11967 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11968
11969         * lyxlex.h:
11970         * lyxlex.C: little cleanup
11971
11972 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11973
11974         * BufferView_pimpl.C: fix insertAscii for insets
11975
11976 2001-12-05  Juergen Vigna  <jug@sad.it>
11977
11978         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11979         set the right font on the "multi" paragraph paste!
11980
11981 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11982
11983         * trans_decl.h:
11984         * trans_mgr.[Ch]:
11985         * trans.[Ch]:
11986         * lyxgluelength.C:
11987         * lyxlength.C: remove out-commented code.
11988
11989         * BufferView_pimpl:
11990         * CutAndPaste.C:
11991         * DepTable.C:
11992         * buffer.C:
11993         * chset.C:
11994         * lastfiles.C:
11995         * lyxlex.C:
11996         * lyxlex_pimpl.C:
11997         * lyxserver.C:
11998         * screen.C:
11999         * tabular-old.C:
12000         * tabular.C:
12001         * text.C:
12002         * trans_mgr.C:
12003         * vc-backend.C: change "while(" to "while ("
12004
12005         * lyxlength.[Ch]: add zero function to check if length is zero or
12006         not
12007         * lyxgluelength.C: use it
12008
12009 2001-12-05  Allan Rae  <rae@lyx.org>
12010
12011         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12012         Works for 2.95.3, from what I understand of Garst's reports this should
12013         work for other g++ versions.  We're screwed if the abs(int) definition
12014         changed between bugfix releases of gcc.
12015
12016 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12017
12018         * text.C: fix chapter label offset !
12019
12020 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12021
12022         * lyxtext.h:
12023         * text.C: fix hfill at end of line, clean up
12024
12025 2001-12-04  Juergen Vigna  <jug@sad.it>
12026
12027         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12028         that we force an update of the inset and it's owners if neccessary.
12029
12030 2001-12-03  Juergen Vigna  <jug@sad.it>
12031
12032         * text.C (rowLast): simplified code
12033
12034 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12035
12036         * lyxfunc.C: fix show options on timeout
12037
12038 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12039
12040         * screen.C (topCursorVisible): scroll half a page when the cursor
12041         reached top of bottom of screen
12042
12043 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12044
12045         * minibuffer.C: deactivate on loss of focus
12046
12047 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12048
12049         * vspace.[Ch] (operator!=): add operator.
12050
12051 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12052
12053         * BufferView_pimpl.C: refuse to open an inset when
12054         there's a selection.
12055
12056 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12057
12058         * BufferView_pimpl.C: allow to click on RHS of full row insets
12059
12060 2001-11-30  Juergen Vigna  <jug@sad.it>
12061
12062         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12063         insets for undo reasons.
12064
12065 2001-11-28  André Pönitz <poenitz@gmx.net>
12066
12067         * vspace.[Ch]: cosmetical changes
12068
12069 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12070
12071         * LyXAction.h:
12072         * LyXAction.C:
12073         * lyxfunc.h:
12074         * lyxfunc.C:
12075         * kbmap.h:
12076         * kbmap.C:
12077         * lyxrc.C:
12078         * kbsequence.h:
12079         * kbsequence.C: part re-write of old kb code
12080
12081         * Painter.C:
12082         * WorkArea.C: remove Lgb_bug_find_hack
12083
12084 2001-11-30  José Matos <jamatos@fep.up.pt>
12085
12086         * buffer.C (makeDocBookFile): add a comment to point a hack.
12087         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12088         Fixed a double write of labels.
12089
12090 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12091
12092         * LaTeX.C:
12093         * LaTeX.h Fixed bug in LaTeX class where it would not
12094         re-run latex if no depfiles were changed, but the .dvi was removed.
12095
12096 2001-11-28  André Pönitz <poenitz@gmx.net>
12097
12098         * all the files from the change on 2001/11/26:
12099         use lyx::layout_type instead of LyXTextClass::size_type
12100         use lyx::textclass_type instead of LyXTextClassList::size_type
12101
12102 2001-11-29  Juergen Vigna  <jug@sad.it>
12103
12104         * text.C: added support for paragraph::isFreeSpacing()
12105
12106         * buffer.C: same as above
12107
12108         * paragraph.h: inserted isFreeSpacing() function to enable
12109         FreeSpacing inside InsetERT.
12110
12111         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12112         of the paragraph's in the cut/copy buffer to 0!
12113
12114         * text2.C (removeRow): remove the assert as it can!
12115
12116         * lyxtext.h: added helper function firstRow returning firstrow and
12117         made firstrow private again.
12118
12119         * BufferView2.C (lockInset): don't relock if we're already locked!
12120
12121         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12122         the only paragraph.
12123         (removeRow): added Assert::(firstrow)
12124
12125         * debug.C: forgot to add INSETTEXT here.
12126
12127 2001-11-28  Juergen Vigna  <jug@sad.it>
12128
12129         * sp_spell.C (initialize): changed error text to more general
12130         spellchecker command use (not only ispell!)
12131
12132         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12133
12134         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12135
12136 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12137
12138         * vspace.C: initialise lyxgluelength on failure
12139
12140 2001-11-28  Allan Rae  <rae@lyx.org>
12141
12142         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12143         declaration & definition that looks like a function declaration.
12144
12145 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12146
12147         * BufferView2.C (copy):
12148         (copyEnvironment): do not clear the selection when doing a copy.
12149
12150         * text.C (paintFirstRow): compilation fix
12151
12152 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12153
12154         * tabular.C (Latex): correct line count when writing latex.
12155
12156 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12157
12158         * paragraph_pimpl.h:
12159         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12160           bug a bit
12161
12162 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12163
12164         * text.C:
12165         * LColor.h:
12166         * LColor.C: change vfillline->added_space
12167
12168         * text.C: add markers and text for added space
12169
12170         * vspace.C: fix comment
12171
12172 2001-11-28  André Pönitz <poenitz@gmx.net>
12173
12174         * paragraph.C: whitespace changes
12175         * all the other files from the change on 2001/11/26:
12176         change *::pos_type into lyx::pos_type
12177
12178 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12179
12180         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12181         language of the document when inserting error insets.
12182
12183 2001-11-26  André Pönitz <poenitz@gmx.net>
12184
12185         * BufferView_pimpl.[Ch]:
12186         *       CutAndPaste.C:
12187         * buffer.[Ch]:
12188         * lyxcursor.[Ch]:
12189         * lyxfind.C:
12190         * lyxfunc.C:
12191         * lyxrow.[Ch]:
12192         * paragraph.[Ch]:
12193         * paragraph_pimpl.[Ch]:
12194         * sp_spell.C:
12195         * text.C:
12196         * text2.C: reduce header dependencies, introduce type for positions
12197
12198 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12199
12200         * <various>: change to use Alert.h
12201
12202 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12203
12204         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12205         when encountering an unknown token.
12206         (readLyXformat2): Show an error message if there were unknown tokens.
12207
12208 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12209
12210         * BufferView2.C:
12211         * BufferView_pimpl.C:
12212         * buffer.C:
12213         * paragraph.h:
12214         * text.C:
12215         * text2.C: use par->isInset()
12216
12217 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12218
12219         * paragraph_pimpl.h:
12220         * paragraph_pimpl.C: cleanup
12221
12222 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12223
12224         * text2.C (removeRow):
12225         * text.C (setHeightOfRow): remove useless (and costly) call to
12226         getRow.
12227
12228 2001-11-20  Allan Rae  <rae@lyx.org>
12229
12230         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12231         Now need Inset*::checkInsertChar() to return true for appropriate
12232         cases so that the characters in the minibuffer will actually be
12233         inserted.
12234
12235 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12236
12237         * text.C: change the order of the includes.
12238         (workWidth): initialize it at once.
12239         (workWidth): make maxw unsigned
12240         (setHeightOfRow): remove unused variable (inset)
12241         (selectSelectedWord): remove unused variable (inset)
12242         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12243
12244 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12245
12246         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12247         server is not running.
12248         (openConnection):
12249         (closeConnection): add debug info when server is disabled.
12250
12251         * ColorHandler.C (getGCForeground): send debug message to GUI
12252         channel.
12253
12254         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12255
12256         * kbmap.C (bind): modify because return conventions of
12257         kb_sequence::parse have changed.
12258
12259         * kbsequence.C (parse): only ignore spaces and not any stupid
12260         control character. This avoids tests like s[i] <= ' ', which are
12261         guaranteed to fail with 8bit characters and signed chars.
12262         Change return code to string::npos when there have been no error
12263         (0 was a bad idea when error is at first character)
12264
12265 2001-11-14  José Matos  <jamatos@fep.up.pt>
12266
12267         * buffer.h:
12268         * buffer.C (simpleDocBookOnePar): removed unused argument.
12269
12270 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12271
12272         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12273         insets which are part of a word. Paragraph::isLetter takes care of
12274         that now. Use Paragraph::isInset to identify insets.
12275         (selectSelectedWord): do not test for hyphenation break.
12276
12277         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12278         that protected spaces are considered as spaces.
12279
12280         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12281         Inset::isLetter.
12282
12283 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12284
12285         * lyxserver.h:
12286         * lyxserver.C: fix it. and small cleanup.
12287
12288 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12289
12290         * BufferView_pimpl.C: use inline helpers
12291
12292         * LaTeXFeatures.h:
12293         * LaTeXFeatures.C: fix typos
12294
12295         * Spacing.h:
12296         * Spacing.C: move spacing_string into class
12297
12298         * ToolbarDefaults.C: move stuff into namespace anon
12299
12300         * layout.h: update enum
12301
12302         * lyxfunc.C: use better debug
12303
12304         * minibuffer.h: fix typo
12305
12306         * debug.h:
12307         * debug.C:
12308         * WorkArea.C: add and use Debug::WORKAREA
12309
12310         * lyxtext.h:
12311         * text.C:
12312         * text2.C: code re-organisation, inline helpers
12313
12314 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12315
12316         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12317         std::vector.empty().
12318
12319 2001-11-09  Allan Rae  <rae@lyx.org>
12320
12321         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12322         '\n's after tables.  Tabular and ERT inset work now makes this no
12323         longer necessary.
12324
12325 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12326
12327         * minibuffer.h:
12328         * minibuffer.C: fix crash, improve drop-down completion
12329
12330 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12331
12332         * lyxserver.h:
12333         * lyxserver.C: invalidate fd's when doing endPipe()
12334
12335 2001-11-08  José Matos  <jamatos@fep.up.pt>
12336
12337         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12338         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12339
12340         * paragraph.h:
12341         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12342
12343 2001-11-07  José Matos  <jamatos@fep.up.pt>
12344
12345         * buffer.h:
12346         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12347         const qualifier.
12348
12349         * buffer.C (sgmlOpenTag):
12350         * buffer.C (sgmlCloseTag): removed debug info.
12351
12352         * buffer.h (sgmlOpenTag):
12353         * buffer.h (sgmlCloseTag): made public.
12354
12355 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12356
12357         * buffer.C (saveParamsAsDefaults):
12358         * lyx_cb.C (MenuLayoutSave): remove
12359
12360         * LyXAction.C (init):
12361         * commandtags.h:
12362         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12363
12364 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12365
12366         * buffer.C (setPaperStuff): removed from here...
12367
12368         * bufferparams.C (setPaperStuff): ... and moved there.
12369
12370 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12371
12372         * minibuffer.h:
12373         * minibuffer.C:
12374         * XFormsView.C: add support for drop-down completion
12375
12376 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12377
12378         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12379         commands.
12380
12381 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12382
12383         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12384         disabled.
12385
12386 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12387
12388         * lyx_main.C: change ref to known bugs
12389
12390 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12391
12392         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12393         to work around older babel problems.
12394
12395 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12396
12397         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12398
12399 2001-10-24  Juergen Vigna  <jug@sad.it>
12400
12401         * tabular-old.C (ReadOld): below variable changes reflected.
12402
12403         * tabular.[Ch]: added ltType struct for longtable header/footer
12404         defines and changed all instances where they are used. Added
12405         future support for double top/bottom rows.
12406
12407 2001-10-24  José Matos  <jamatos@fep.up.pt>
12408
12409         * buffer.h (docbookHandleCaption):
12410         * buffer.C (docbookHandleCaption): removed unused function.
12411         (makeDocBookFile): moved docbook supported version to v4.1.
12412
12413 2001-10-24  José Matos  <jamatos@fep.up.pt>
12414
12415         * tabular.h:
12416         * tabular.C (docbookRow): new function to export docbook code of a row.
12417         (DocBook): now honors the longtable flags.
12418
12419 2001-10-23  José Matos  <jamatos@fep.up.pt>
12420
12421         * LaTeXFeatures.h:
12422         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12423         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12424
12425         * buffer.C (makeLinuxDocFile):
12426         (makeDocBookFile): reworked the preamble, more clean, and with
12427         support for lyx defined entities. Changed the document declaration
12428         to be more XML friendly.
12429
12430         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12431         if we need to output XML that should be done with a filter.
12432
12433 2001-10-22  Juergen Vigna  <jug@sad.it>
12434
12435         * sp_pspell.h (class PSpell): add alive function needed in the
12436         controller to see if the spellchecker could be started.
12437
12438 2001-10-22  Juergen Vigna  <jug@sad.it>
12439
12440         * buffer.C (insertStringAsLines): modify the font for inserting
12441         chars in certain conditions by calling checkInsertChar(font).
12442
12443 2001-10-19  Juergen Vigna  <jug@sad.it>
12444
12445         * text.C (workWidth): use getRow instead of wrong algorithm.
12446         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12447
12448 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12449
12450         * lyxserver.h:
12451         * lyxserver.C:
12452         * lyx_main.h:
12453         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12454
12455 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12456
12457         * text.C (workWidth): do not search for the exact row when
12458         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12459         optimization for big documents.
12460
12461 2001-10-18  Juergen Vigna  <jug@sad.it>
12462
12463         * text.C (workWidth): new function with added Inset * parameter.
12464
12465 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12466
12467         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12468
12469         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12470         change return type of getColumnNearX.
12471
12472
12473         * text.C (changeRegionCase): use uppercase/lowercase instead of
12474         toupper/tolower.
12475         (leftMargin):
12476         (rightMargin): simplify code by factoring out the uses of
12477         textclasslist.
12478         (labelFill):
12479         (numberOfHfills):
12480         (setHeightOfRow):
12481         (appendParagraph): use Paragraph::size_type
12482
12483 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12484
12485         * vspace.C (asLatexString): add a missing break
12486
12487 2001-10-15  Herbert Voss  <voss@perce.de>
12488
12489         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12490
12491 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12492
12493         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12494         is not available.
12495
12496 2001-10-10  André Pönitz <poenitz@gmx.net>
12497
12498         * lyxfunc.C: removed greek_kb_flag.
12499
12500 2001-10-10  Herbert Voss  <voss@perce.de>
12501
12502         * lyx_main.C: delete global string help_lyxdir.
12503
12504 2001-10-09  Herbert Voss  <voss@perce.de>
12505
12506         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12507
12508         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12509
12510         * lyx_main.C: added global string help_lyxdir.
12511
12512         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12513
12514 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12515
12516         * lyxrc.C (set_font_norm_type): support iso8859-4
12517
12518 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12519
12520         * LaTeX.C (deplog): add another regex for MikTeX
12521
12522 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12523
12524         * lyxrc.C (set_font_norm_type): support iso8859-3
12525
12526 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12527
12528         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12529
12530         * LaTeXFeatures.C: remove special case of french and index
12531
12532         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12533         before \begin{document}). This solves several incompatibilities.
12534
12535 2001-10-03  Garst Reese  <reese@isn.net>
12536
12537         * lyx_cb.C: change CheckTex error msg.
12538
12539 2001-10-03  José Matos  <jamatos@fep.up.pt>
12540
12541         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12542
12543 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12544
12545         * .cvsignore: update
12546
12547         * lyx_main.C (commandLineVersionInfo): use new style version info.
12548
12549         * buffer.C (writeFile):
12550         (makeLaTeXFile):
12551         (makeLinuxDocFile):
12552         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12553
12554         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12555
12556         * version.h: update to use stuff in version.C
12557
12558         * version.C.in: new file. Contains version information determined
12559         at compile time. This is a merging of version.h and
12560         version_info.h.in.
12561
12562 2001-10-03  Juergen Vigna  <jug@sad.it>
12563
12564         * BufferView_pimpl.C (update): don't change "dirty" status in
12565         updateInset call.
12566
12567 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12568
12569         * WorkArea.C (c-tor): re-position version string slightly.
12570
12571 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12572
12573         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12574         revert to previous code.
12575
12576         WorkArea.[Ch]: (show, destroySplash): methods removed.
12577
12578         WorkArea.C: rework code so that it's an amalgam of the codes before and
12579         after the splash screen was moved to WorkArea.
12580
12581 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12582
12583         * lyxrc.C (read):
12584         * vspace.C (inPixels):
12585         (lyx_advance):
12586         * kbmap.C (bind):
12587         * buffer.C (insertStringAsLines):
12588         (asciiParagraph): fix types to be large enough
12589
12590         * lyxlex_pimpl.h: change member status from short to int
12591
12592         * layout.h: fix type of endlabeltype
12593
12594         * kbmap.C (bind):
12595         * kbsequence.C (parse): change return type to string::size_type
12596
12597         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12598         variable
12599
12600         * Bullet.C (bulletSize):
12601         (bulletEntry): do not use short ints as parameters
12602
12603         * BufferView2.C (insertLyXFile): change a char to an int.
12604
12605         * WorkArea.C (WorkArea): remove unneeded floats in computation
12606
12607 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12608
12609         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12610
12611         * paragraph.C (asString): Do not ignore newline/hfill chars when
12612         copying to the clipboard.
12613
12614 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12615
12616         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12617         after a multi-line inset.
12618
12619 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12620
12621         * paragraph.C (validate): Set NeedLyXFootnoteCode
12622
12623 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12624
12625         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12626         and decrease-error to decrease.
12627
12628 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12629
12630         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12631         it more readable (should be equivalent)
12632
12633 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12634
12635         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12636
12637 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12638
12639         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12640         of a cursor (row, etc.) after a character has been deleted
12641         (deleteEmptyParagraphMechanism): call the method above on _all_
12642         cursors held by the LyXText when a double space has been
12643         detected/deleted.
12644
12645 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12646
12647         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12648         pixmap.
12649         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12650
12651         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12652         background. Use greyOut() and the new show() methods to toggle between
12653         the foreground and background. Add code to remove the splash after
12654         its initial showing.
12655
12656         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12657         (create_forms): no longer call Dialogs::showSplash.
12658
12659 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12660
12661         * .cvsignore: add version_info.h
12662
12663 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12664
12665         * version_info.h.in: new file
12666
12667         * Makefile.am: add version_info.h.in
12668
12669         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12670         version_info.h instead of VERSION_INFO
12671
12672 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12673
12674         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12675         The ERT inset now returns string().
12676
12677 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12678
12679         * lyxtext.h, text.C (selectNextWord): renamed as
12680         selectNextWordToSpellcheck.
12681
12682         * text.C (selectNextWordToSpellcheck): Modified to not select
12683         words inside an ERT inset.
12684
12685 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12686
12687         * lyx_cb.C (MenuLayoutSave): change a bit the question
12688
12689         * sp_base.h: include <sys/types.h>
12690
12691 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12692
12693         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12694
12695 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12696
12697         * several files: fix typos in user-visible strings
12698
12699 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12700
12701         * text2.C (pasteSelection): do not set the selection, since it
12702         will be cleared later. Actually, the intent was to fix the way the
12703         selection was set, but I figured rmoving the code was just as good.
12704
12705 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12706
12707         * FontLoader.C (available): Check if font is available without
12708         loading the font.
12709
12710 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12711
12712         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12713
12714 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12715
12716         * lyxrc.[Ch]: added display_graphics variable and associated code.
12717
12718 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12719
12720         * bufferparams.C (hasClassDefaults): new method. Returns true if
12721         the buffer parameters correspond to known class defaults
12722
12723 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12724
12725         * XFormsView.C (show): set minimum size to the main window.
12726
12727 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12728
12729         * text2.C (copySelection):
12730         (cutSelection):
12731         * lyxfind.C (LyXReplace):
12732         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12733         LyXText::selectionAsString.
12734
12735         * paragraph.C (asString): add "label" argument to the second form
12736
12737         * text2.C (selectionAsString): add "label" argument and pass it to
12738         Paragraph::asString.
12739
12740 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12741
12742         * lyx_main.C (commandLineHelp): remove version information
12743
12744 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12745
12746         * lyx_main.C: add -version commandline option
12747
12748 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12749
12750         * paragraph.h: make the optional constructor arg required instead.
12751         some modifications to other files because of this.
12752
12753         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12754
12755         * lyxserver.C (C_LyXComm_callback): make it static
12756
12757         * lyx_main.C (error_handler): make it static
12758
12759         * lyx_gui.C (LyX_XErrHandler): make it static
12760
12761         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12762
12763         * WorkArea.C: make the extern "C" methods static.
12764
12765         * Makefile.am (lyx_LDADD): simplify
12766
12767 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12768
12769         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12770         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12771
12772         * LyXAction.C (init):
12773         * lyxfunc.C (dispatch): associated code removal.
12774
12775 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12776
12777         * lyxfont.h (isSymbolFont): shut off warning
12778
12779         * text.C (setHeightOfRow):
12780         (getVisibleRow): fix crash with empty paragraphs which have a
12781         bottom line
12782
12783 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12784
12785         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12786         code.
12787
12788 2001-09-04  José Matos  <jamatos@fep.up.pt>
12789         * buffer.C
12790         * buffer.h
12791         * tabular.C (docbook): rename docBook method to docbook.
12792
12793 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12794
12795         * Makefile.am: add dependencies to main.o.
12796
12797 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12798
12799         * FontLoader.C (available): Return false if !lyxrc.use_gui
12800
12801 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12802
12803         * FontInfo.C (query):
12804         * converter.C (view):
12805         * importer.C (Import):
12806         * exporter.C (Export): Can not -> cannot.
12807
12808 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12809
12810         * BufferView_pimpl.C: allow to create index inset even if
12811           string is empty
12812
12813 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12814
12815         * buffer.C (getLists): replace boost::tie code with an explicit pair
12816         as boost::tie can break some compilers.
12817
12818         * iterators.h: Added a std:: declaration to the return type of
12819         ParIterator::size.
12820
12821 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12822
12823         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12824           case.
12825
12826 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12827
12828         * iterators.[Ch]: New files. Provide paragraph iterators.
12829
12830         * buffer.C (changeLanguage): Use paragraph iterators.
12831         (isMultiLingual): ditto
12832
12833         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12834
12835 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12836
12837         * FontLoader.C: Support for cmr font.
12838
12839 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12840
12841         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12842         (available): New method.
12843
12844         * FontInfo.C (getFontname): Use scalable fonts even when
12845         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12846         found.
12847
12848 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12849
12850         * converter.C (Formats::view): reverted! Incorrect fix.
12851
12852 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12853
12854         * converter.C (Formats::view): only output the -paper option
12855         if the dvi viewer is xdvi, thereby fixing bug #233429.
12856
12857 2001-08-23  Herbert Voss  <voss@perce>
12858
12859         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12860
12861 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12862
12863         * Spacing.h (Spacing): Set space to Default on in the default
12864         constructor.
12865
12866 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12867
12868         * vc-backend.h (RCS::versionString): add RCS to version
12869         (CVS::versionString): add CVS to version
12870
12871         * vc-backend.C (scanMaster): do not add CVS to version.
12872         (scanMaster): do not add RCS to version
12873
12874         * lyxvc.C (versionString): new method
12875
12876         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12877
12878 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12879
12880         * Spacing.C (set): initialize fval
12881
12882 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12883
12884         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12885         " or \.
12886
12887 2001-08-16  Juergen Vigna  <jug@sad.it>
12888
12889         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12890
12891 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12892
12893         * BufferView_pimpl.C:
12894         * figureForm.C:
12895         * lyxtext.h:
12896         * text2.C: setParagraph takes linespacing now
12897
12898 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12899
12900         * LyxAction.C: add internal LFUN_CITATION_INSERT
12901
12902         * LyXView.C: actually apply fix
12903
12904         * bufferlist.C: fix open non-existent file
12905
12906         * lyxfind.C: fix indentation
12907
12908         * lyxfunc.C: remove unneeded assert, fix typo
12909
12910 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12911
12912         * MenuBackend.C: use "Floatname List"
12913
12914 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12915
12916         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12917         when converting LaTeX layout to insetERT.
12918         Generate a non-collapsed float when reading old float
12919
12920 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12921
12922         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12923         ERT insets.
12924
12925 2001-08-13  Juergen Vigna  <jug@sad.it>
12926
12927         * text.C (fill): return 0 instead of 20 as this seems to be the more
12928         correct value.
12929
12930 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12931
12932         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12933         lyxrc.font_norm.
12934
12935 2001-08-13  Juergen Vigna  <jug@sad.it>
12936
12937         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12938         casesensitive off.
12939         (SearchBackward): comment out the unlocking of the inset_owner this
12940         should not be needed!
12941
12942 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12943
12944         * Many files: Remove inherit_language, and add latex_language
12945
12946         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12947         collapsible insets.
12948
12949 2001-08-10  Juergen Vigna  <jug@sad.it>
12950
12951         * text.C (prepareToPrint): fixed hfill-width in draw!
12952
12953         * BufferView2.C (selectLastWord): save the selection cursor as this
12954         now is cleared in the function LyXText::clearSelection!
12955
12956 2001-08-08  Juergen Vigna  <jug@sad.it>
12957
12958         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12959         BACKSPACE type functions.
12960
12961         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12962         is only cutted from the document but not put in the cut-buffer, where
12963         still the old stuff should be.
12964
12965         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12966
12967         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12968
12969         * tabular.C (SetWidthOfCell): fixed special case where the width
12970         was not updated!
12971         (LeftLine): handle '|' in align_special.
12972         (RightLine): ditto
12973         (LeftAlreadyDrawed): ditto
12974         (SetWidthOfCell): ditto
12975
12976 2001-08-07  Juergen Vigna  <jug@sad.it>
12977
12978         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12979
12980 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12981
12982         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12983         * lyxlex.[hC]: ditto
12984
12985 2001-08-06  Juergen Vigna  <jug@sad.it>
12986
12987         * text.C (getVisibleRow): fix up row clearing a bit.
12988
12989 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12990
12991         * minibuffer.C: make sure the X server sees the changes in the input.
12992
12993 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12994
12995         * paragraph.C (getFont): split into...
12996         (getLabelFont): this
12997         (getLayoutFont): and this
12998         * paragraph_pimpl.C (realizeFont): calling this
12999
13000         * text2.C (getFont): split into...
13001         (getLayoutFont): this
13002         (getLabelFont): and this
13003         (realizeFont): all three calling this
13004
13005         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13006         files where used.
13007
13008 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13009
13010         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13011
13012 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13013
13014         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13015         layouts from the Quote inset insertion.
13016
13017 2001-08-03  Juergen Vigna  <jug@sad.it>
13018
13019         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13020
13021         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13022         only if status not is already CHANGED_IN_DRAW (second level).
13023
13024         * text.C (draw): don't set the need_break_row when inside an
13025         InsetText LyXText.
13026
13027 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13028
13029         * buffer.C (parseSingleLyXformat2Token): handle more latex
13030         conversion cases.
13031
13032         * bufferview_funcs.[hC]: change function names to
13033         begin with small char, adjust other files.
13034
13035 2001-08-02  André Pönitz <poenitz@gmx.net>
13036
13037         * lyxfunc.C:
13038         BufferView_pimpl.C: remove broken special code for math-greek
13039
13040 2001-08-02  Juergen Vigna  <jug@sad.it>
13041
13042         * BufferView_pimpl.C (update): redone this function so that we
13043         update the text again if there was a CHANGE_IN_DRAW.
13044
13045         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13046         (drawFromTo): added a new internal bool which is used by draw() and
13047         redraw() function.
13048         (general): some cursor drawing problems fixed.
13049
13050 2001-08-01  Juergen Vigna  <jug@sad.it>
13051
13052         * lyxfind.C (LyXFind): fixed
13053         (SearchForward): ditto
13054         (SearchBackward): ditto
13055
13056         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13057         spurius drawing of the cursor in the main area.
13058
13059         * text2.C (status): small fix which could lead to a segfault!
13060         (clearSelection): remove unneeded BufferView param.
13061
13062 2001-08-01  André Pönitz <poenitz@gmx.net>
13063
13064         * lyxfunc.C: small change due to changed mathed interface
13065
13066 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13067
13068         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13069
13070 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13071
13072         * lyxfunc.c: fail gracefully if file doesn't exist
13073
13074         * LyXSendto.C:
13075         * buffer.C:
13076         * lyxfunc.C:
13077         * BufferView_pimpl.C: IsDirWriteable() proto changed
13078
13079         * LyXView.C: fix updateWindowTitle() to store the last title
13080
13081 2001-07-31  Juergen Vigna  <jug@sad.it>
13082
13083         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13084         the font (wrong since using of Paragraph::highestFontInRange).
13085
13086         * paragraph.C (highestFontInRange): added a default_size parameter.
13087
13088         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13089         (setHeightOfRow): reformat
13090
13091 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13092
13093         * converter.[hC] + affected files: move to (inital-char)lowercase
13094         function names.
13095
13096         * ParagraphParameters.C (ParagraphParameters): remove commented code
13097
13098         * PainterBase.[Ch]: remove commented code
13099
13100         * LaTeXFeatures.h: add "bool floats" for float.sty
13101
13102         * LaTeXFeatures.C (LaTeXFeatures): init floats
13103         (require): handle float
13104         (getPackages): do it with floats
13105
13106 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13107
13108         * BufferView_pimpl.C (Dispatch): improve handling of
13109         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13110
13111         * commandtags.h: #include lyxfont.h here temporarily to avoid
13112         keybinding bug.
13113
13114         * bufferlist.h: include LString.h here.
13115
13116 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13117
13118         * text2.C (getStringToIndex): new method.
13119
13120 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13121
13122         * *: Reduced header file dependencies all over.
13123
13124 2001-07-30  Baruch Even  <baruch@lyx.org>
13125
13126         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13127
13128 2001-07-29  Baruch Even  <baruch@lyx.org>
13129
13130         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13131
13132 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13133
13134         * ParameterStruct.h (endif): add a default constructor to make
13135         sure that all variables is initialized.
13136
13137         * ParagraphParameters.C (ParagraphParameters): adjust
13138
13139 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13140
13141         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13142         index; also, check that there is something to index, and that it
13143         does not span over several paragraphs.
13144         (doubleClick): use WHOLE_WORD_STRICT for double click.
13145
13146         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13147
13148         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13149         scheme.
13150
13151 2001-07-26  Baruch Even  <baruch@lyx.org>
13152
13153         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13154         an InsetFig figure, backwards compatible reading of old figure code.
13155
13156 2001-07-27  Juergen Vigna  <jug@sad.it>
13157
13158         * text2.C: font.realize function adaption.
13159
13160         * text.C (draw): add a warnings lyxerr text if needed.
13161
13162         * layout.C: font.realize function adaption.
13163
13164         * language.C: add inherit_language and implement it's handlings
13165
13166         * bufferview_funcs.C (StyleReset): remove language parameter from
13167         font creation (should be language_inherit now).
13168
13169         * bufferparams.C (writeFile): handle ignore_language.
13170
13171         * paragraph.C (getFontSettings): the language has to be resolved
13172         otherwise we have problems in LyXFont!
13173
13174         * lyxfont.C (lyxWriteChanges): added document_language parameter
13175         (update): removed unneeded language parameter
13176
13177         * paragraph.C (validate): fixed wrong output of color-package when
13178         using interface colors for certain fonts in certain environments,
13179         which should not seen as that on the final output.
13180
13181 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13182
13183         * BufferView_pimpl.C:
13184         * Thesaurus.h:
13185         * Thesaurus.C:
13186         * Makefile.am:
13187         * commandtags.h:
13188         * LyXAction.C: add thesaurus support
13189
13190         * lyxfind.h:
13191         * lyxfind.C: add "once" parameter, for thesaurus, to not
13192           move to the next match
13193
13194 2001-07-26  Juergen Vigna  <jug@sad.it>
13195
13196         * lyxfont.C (realize): honor ignore_language too!
13197         (resolved): ditto.
13198
13199         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13200
13201         * text.C (draw): one place more for ignore_language to not draw
13202         itself!
13203
13204 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13205
13206         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13207
13208 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13209
13210         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13211         the minipage conversion problem.
13212
13213 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13214
13215         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13216         insert an inset.
13217
13218 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13219
13220         * BufferView.h: don't forward declare WorkArea
13221
13222         * BufferView.C: don't include WorkArea.h
13223
13224 2001-07-25  André Pönitz <poenitz@gmx.net>
13225
13226         * commandtags.h:
13227         * LyXAction.C:
13228         * lyxfunc.C:  new LFUN 'math-space'
13229
13230         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13231
13232 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13233
13234         * text2.C (toggleInset): call open/close
13235
13236 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13237
13238         * lyxfunc.C (dispatch): add debug for the disabled case
13239
13240         * font.C (buttonText): make similar to rectText
13241
13242         * buffer.C (readInset): comment out parsing of insetlist and
13243         insttheorem
13244
13245         * PainterBase.C (rectText): small correction
13246
13247         * BufferView_pimpl.C: comment out insettheorem and insetlist
13248         * LyXAction.C: ditto
13249         * commandtags.h: ditto
13250
13251 2001-07-24  Juergen Vigna  <jug@sad.it>
13252
13253         * text.C (draw): honor the ignore_language.
13254
13255         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13256
13257 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13258
13259         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13260         char inset.
13261
13262 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13263
13264         * lyxtext.h: remove unused (and unimplemented) methods
13265
13266 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13267
13268         * text.C (getVisibleRow): honor background color
13269
13270         * PainterBase.h:
13271         * Painter.h: remove default color argument for fillRectangle
13272
13273         * text.C (backgroundColor): new method
13274
13275 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13276
13277         * text.C (getVisibleRow): adjust
13278
13279         * font.[Ch] (rectText): new method, metrics
13280         (buttonText): new method, metrics
13281
13282         * PainterBase.[hC]: make rectText and buttonText always draw and take
13283         fewer paramteres.
13284
13285 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13286
13287         * ToolbarDefaults.C (read):
13288         * MenuBackend.C (read): allow escaping in all strings
13289
13290         * BufferView_pimpl.C (insertAndEditInset): new method.
13291         (Dispatch): use insertAndEditInset whenever appropriate.
13292
13293         * BufferView_pimpl.C (insertNote): removed
13294
13295         * BufferView_pimpl.C (smartQuote): new method, moved from
13296         BufferView; if an insetquote cannot be inserted, insert a '"'
13297         character instead.
13298
13299         * BufferView2.C: remove insertCorrectQuote();
13300
13301         * lyxfunc.C (getStatus): Add support for all remaingin
13302         inset-insert lfuns.
13303
13304         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13305
13306         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13307         command (necessary to pass " as parameter of self-insert.
13308
13309         * text.C (selectWordWhenUnderCursor):
13310         (selectWord): add word_location parameter
13311         (selectWordWhenUnderCursor): same + remove special code for word
13312         boundary.
13313         (selectNextWord): use kind() to guess type of insetspecialchar,
13314         not latex().
13315
13316         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13317         (insertErtContents): create ert insets as collapsed.
13318         (readInset): better compatibility code for Info inset.
13319
13320 2001-07-20  Juergen Vigna  <jug@sad.it>
13321
13322         * lyxfunc.C (dispatch): use always LyXFind now!
13323
13324         * text2.C (init): add a reinit flag so that the LyXText can be
13325         reinited instead of deleted and reallocated (used in InsetText).
13326
13327         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13328
13329         * text.C: ditto
13330
13331         * text2.C: ditto
13332
13333 2001-07-18  Juergen Vigna  <jug@sad.it>
13334
13335         * text.C (selectNextWord): handle insets inside inset by calling
13336         always the bv->text functions so that we can go up the_locking_inset!
13337
13338         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13339         in strange locations when inside an inset!
13340
13341         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13342         handling to include insets.
13343
13344         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13345
13346 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13347
13348         * LyXAction.C (init):
13349         * commandtags.h:
13350         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13351         LIGATURE_BREAK, since the name is so stupid.
13352
13353 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13354
13355         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13356         InsetInfos.
13357
13358         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13359
13360         * sp_form.[Ch]: remove.
13361
13362         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13363
13364         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13365         InsetInfo.
13366
13367         * src/buffer.C (readInset): ditto.
13368
13369 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13370
13371         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13372         menuSeparator(), endOfSentenceDot(), ldots() and
13373         hyphenationPoint(), which are therefore removed.
13374         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13375
13376         * LyXAction.C (init):
13377         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13378
13379         * paragraph.C (getWord): removed.
13380
13381         * BufferView_pimpl.C (Dispatch): use last word or selection for
13382         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13383
13384         * lyx_main.C (queryUserLyXDir): do not ask before creating
13385         user_dir, except if it has been named explicitely.
13386
13387 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13388
13389         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13390         a document of zero size.
13391
13392 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13393
13394         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13395         approriately in the c-tor and in require().
13396         (getPackages): output the appropriate LaTeX for natbib support.
13397
13398         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13399         variables "use_natbib" and "use_numerical_citations" when reading the
13400         LyX file.
13401         (readInset): read the various natbib cite commands.
13402         (validate): white-space change.
13403
13404         * bufferparams.[Ch]: new variables "bool use_natbib" and
13405         "bool use_numerical_citations".
13406         (writeFile): output them in the LyX file.
13407
13408 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13409
13410         * lyxfunc.C (getStatus): add support for all the inset insertion
13411         commands.
13412
13413         * text2.C (insertInset):
13414         * paragraph.C (insetAllowed):
13415         * BufferView_pimpl.C (insertInset): update to take in account the
13416         renaming of insertInsetAllowed
13417
13418         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13419
13420         * text2.C (getInset): new method. returns inset at cursor position.
13421
13422         * BufferView_pimpl.C (Dispatch): changes because of this.
13423
13424         * LyXAction.C (init): rename open-stuff to inset-toggle.
13425
13426         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13427
13428         * text2.C (toggleInset): renamed from openStuff; use
13429         Inset::open().
13430
13431 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13432
13433         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13434
13435         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13436
13437 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13438
13439         * buffer.C (readLyXformat2): Add filename to the error dialog
13440
13441 2001-07-18  Juergen Vigna  <jug@sad.it>
13442
13443         * tabular.C (GetCellNumber): put an assert here instead of the check!
13444
13445 2001-07-17  Juergen Vigna  <jug@sad.it>
13446
13447         * BufferView_pimpl.C (toggleSelection): adapted too.
13448
13449         * text.C (selectNextWord): adapted for use with insets.
13450         (selectSelectedWord): ditto
13451
13452 2001-07-17  Juergen Vigna  <jug@sad.it>
13453
13454         * sp_spell.C (PSpell): fix initialitation order.
13455
13456 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13457
13458         * paragraph.C: spacing
13459
13460 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13461
13462         * sp_spell.C: repair language selection for pspell
13463
13464 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13465
13466         * lyxfunc.h: change more methods to begin with lower char.
13467
13468 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13469
13470         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13471         for unknown layouts.
13472
13473 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13474
13475         * buffer.C (readLyXformat2): Generate an error dialog if there are
13476         unknown layouts.
13477
13478 2001-07-16  Juergen Vigna  <jug@sad.it>
13479
13480         * sp_spell.C: always compile ISpell part.
13481
13482         * lyxrc.C: added use_pspell entry and it's handling.
13483
13484 2001-07-13  Juergen Vigna  <jug@sad.it>
13485
13486         * sp_spell.C: removed double includes.
13487
13488 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13489
13490         Consistent use of Lsstream.h:
13491         * Lsstream.h: added using std::stringstream for consistencies sake.
13492
13493         * buffer.C: removed using std::stringstream
13494
13495         * lyxfont.C (stateText):
13496         * paragraph.C (asString):
13497         * text.C (selectNextWord, selectSelectedWord):
13498         * text2.C (setCounter):
13499         * vspace.C (asString, asLatexString):
13500         std::ostringstream -> ostringstream.
13501
13502 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13503
13504         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13505         * commandtags.h: add LFUN_HELP_ABOUTLYX
13506         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13507
13508 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13509
13510         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13511         cursorToggle()
13512         * lyx_gui_misc.C: remove spellchecker
13513         * lyxfunc.C: showSpellchecker
13514         * sp_base.h: added
13515         * sp_ispell.h: added
13516         * sp_pspell.h: added
13517         * sp_spell.C: added
13518         * sp_form.[Ch]: removed
13519         * spellchecker.[Ch]: removed
13520
13521 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13522
13523         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13524         is set.
13525         (simpleTeXSpecialChars): Simply print the input character without
13526         any special translation if pass_thru is set.
13527
13528         * layout.h: Added bool pass_thru to layout class for being able to
13529         implement pass through of a paragraph for Literate Programming.
13530
13531         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13532         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13533         * layout.C (Read): add "passthru" to list of layout tags and add
13534         code to set the pass_thru boolean when it is read.
13535
13536 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13537
13538         * trans_decl.h: remove allowed from KmodInfo
13539
13540         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13541         remove allowed code
13542         (Load): adjust
13543
13544         * paragraph_pimpl.C (erase): use boost::prior
13545
13546         * Painter.C (text): use data() instead of c_str() when length is
13547         also provided.
13548         * WorkArea.C (putClipboard): ditto
13549         * font.h (width): ditto
13550
13551         * BufferView2.C: use it-> instead of (*it). for iterators
13552         * texrow.C: ditto
13553         * paragraph_pimpl.C: ditto
13554         * paragraph.C: ditto
13555         * minibuffer.C: ditto
13556         * language.C: ditto
13557         * kbmap.C: ditto
13558         * encoding.C: ditto
13559         * counters.C: ditto
13560         * converter.C: ditto
13561         * chset.C: ditto
13562         * Variables.C: ditto
13563         * TextCache.C: ditto
13564         * MenuBackend.C: ditto
13565         * LyXAction.C: ditto
13566         * LColor.C: ditto
13567         * FloatList.C: ditto
13568         * DepTable.C: ditto
13569         * ColorHandler.C (LyXColorHandler): ditto
13570
13571 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13572
13573         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13574
13575         * text2.C (openStuff): reintroduce this method (which had been
13576         nuked in NEW_INSETS frenzy).
13577
13578         * lyxfunc.C (Dispatch): when an action has not been handled, use
13579         its name in the error message, not its number.
13580
13581         * paragraph.C (inInset): change method name to begin with lowercase.
13582
13583         * undo_funcs.C:
13584         * text2.C: updates because of this.
13585
13586 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13587
13588         * ToolbarDefaults.C (add): add spaces in error message
13589
13590 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13591
13592         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13593         (readLyXformat2): rename return_par to first_par, use lyxlex's
13594         pushToken and remove the manual push handling.
13595         (parseSingleLyXformat2Token): add another ert comp. variable:
13596         in_tabular, rename return_par to first_par. handle newlines better
13597
13598 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13599
13600         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13601
13602 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13603
13604         * text2.C (getParFromID): removed
13605
13606         * buffer.C (getParFromID): new method moved form lyxtext.
13607         * BufferView2.C (insertErrors): adjust
13608         (setCursorFromRow): adjust
13609         * BufferView_pimpl.C (restorePosition): adjust
13610         * lyxfunc.C (Dispatch): adjust
13611         * undo_funcs.C (textUndo): adjust
13612         (textRedo): adjust
13613         (textHandleUndo): adjust
13614         (textHandleUndo): adjust
13615
13616 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13617
13618         * buffer.C: up' the LYX_FORMAT
13619
13620         * lyxfont.h: turn NO_LATEX on as default
13621
13622         * buffer.C (insertErtContents): new methods of tex style compability.
13623         (parseSingleLyXformat2Token): use it several places.
13624         * tabular.C (OldFormatRead): and here
13625
13626 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13627
13628         * text2.C: remove some commented code.
13629         reindent file.
13630
13631         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13632         * trans.C: changes because of the above.
13633
13634 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13635
13636         * text2.C (setCounter): Fix counters bug with bibliography layout.
13637
13638 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13639
13640         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13641         own member functions
13642         (simpleTeXSpecialChars): ditto
13643
13644 2001-07-06  Juergen Vigna  <jug@sad.it>
13645
13646         * a lot of files: changed the access to LyXText::status and the
13647         call of undo-functions.
13648
13649         * undo.[Ch]: added a inset_id to the undo informations.
13650
13651         * undo_funcs.[Ch]: added and moved here all undo functions.
13652
13653         * lyxtext.h: give the status enum a weight, made status_ a private
13654         variable and made accessor functions for it, removed the whole bunch
13655         of undo-functions as they are now in their own file, make some
13656         functions publically available. Added function ownerParagraph with
13657         int parameter.
13658
13659         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13660         made InInset() a const function, added getParFromID() function.
13661
13662         * buffer.[Ch]: added const version for inset_iterator functions,
13663         added getInsetFromID() function.
13664
13665         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13666         changed undo functions for new version.
13667
13668 2001-07-05  Juergen Vigna  <jug@sad.it>
13669
13670         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13671         unknow mechanism does not call the proper constructor but only this
13672         one also if I request the other!?
13673
13674 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13675
13676         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13677
13678         * text2.C (LyXText): use initialization lists.
13679
13680         * lyxtext.h (Selection): initialize set_ and mark_
13681         (init): remove method
13682
13683 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13684
13685         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13686
13687 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13688
13689         * screen.[Ch]: change method names to begin with lowercase
13690
13691         * BufferView_pimpl.C (updateScrollbar): simplify further and
13692         hopefully make it a bit faster.
13693
13694 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13695
13696         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13697         calling directly xforms functions.
13698
13699         * Painter.C (Painter):
13700         * lyx_cb.C (MenuWrite):
13701         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13702         fl_display.
13703
13704         * lyx_gui.C: remove bogus guiruntime extern declaration.
13705
13706 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13707
13708         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13709         in NEW_INSETS
13710         (redoDrawingOfParagraph): ditto
13711         (redoParagraphs): ditto
13712         (cutSelection): don't create a object for CutAndPaste use the
13713         static method directly
13714         (pasteSelection): ditto
13715
13716         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13717         LyXview (+ rename)
13718
13719 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13720
13721         * modifications to some other files because of this.
13722
13723         * Makefile.am (lyx_SOURCES): add XFormsView
13724
13725         * XFormsView.[Ch]: new files
13726
13727         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13728         the main window. Move the gui dependent stuff to XFormsView
13729
13730 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13731
13732         * tabular.C (GetCellInset): update cur_cell also in the row/col
13733         version of this function.
13734
13735         * lyxfunc.C: no need to include figure_form.h here.
13736
13737         * FontLoader.h:
13738         * lyxfunc.h:
13739         * lyxscreen.h:
13740         * text2.C:
13741         * lyxvc.C: no need to include forms.h here.
13742
13743 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13744
13745         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13746
13747         * lyxfunc.C (Dispatch):
13748         * Spacing.C (set):
13749         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13750         constructor argument.
13751
13752 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13753
13754         * paragraph.C (Paragraph): dont't clear, and just set layout.
13755         (makeSameLayout): use params's copy contructor.
13756
13757         * ParagraphParameters.[Ch] (makeSame): delete method
13758
13759 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13760
13761         * Variables.[Ch]: fix indentation, rename set to isSet
13762
13763 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13764
13765         * lyxfunc.C (Dispatch): fix typo
13766
13767 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13768
13769         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13770         upper_bound.
13771
13772         * bufferlist.C: include assert.h for emergencyWrite().
13773
13774 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13775
13776         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13777           give up at last (bug #425202) !
13778
13779 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13780
13781         * lyx_gui_misc.C:
13782         * sp_form.h:
13783         * sp_form.C:
13784         * spellchecker.h:
13785         * spellchecker.C: strip spellchecker options and bring up
13786           preferences tab instead
13787
13788 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13789
13790         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13791         the istringstream constructor
13792
13793 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13794
13795         * paragraph.C (getLayout): fix return value
13796
13797         * paragraph.h: do not declare getLayout as inline.
13798
13799         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13800
13801 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13802
13803         * lyxcursor.h (operator<): new func
13804         (operator>): new func
13805         (operator>=): new func
13806         (operator<=): new func
13807
13808         * text.C (changeCase): use selection.start and selection.end
13809         (changeRegionCase): require from to be <= to. Require par to be a
13810         valid paragraph.
13811
13812         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13813
13814 2001-06-27  Juergen Vigna  <jug@sad.it>
13815
13816         * text.C (cursorLeftOneWord): changed to return the cursor and added
13817         overlay with BufferView * parameter which calls this one.
13818         (getWord): added
13819         (selectWord): use new getWord function.
13820         (changeCase): renamed from changeWordCase as and extended to work
13821         also on selections.
13822
13823         * lyxtext.h: added enum word_location
13824
13825         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13826         changeCase as this operates now also on selections.
13827
13828 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13829
13830         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13831
13832         * many files: send debug output to Debug::INFO instead of
13833         Debug::ANY.
13834
13835         * converter.C (View):
13836         (Convert):
13837         (Move): send debug output to Debug::FILES instead of console.
13838
13839 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13840
13841         * lyxfunc.C (getStatus): use func_status
13842
13843         * func_status.h: new header, describing the results of
13844         LyXFunc::getStatus;
13845
13846         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13847         LFUN_MATH_HALIGN.
13848
13849 2001-06-25  The LyX Project  <jug@sad.it>
13850
13851         * buffer.C (sgmlOpenTag):
13852         (sgmlCloseTag):
13853         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13854
13855 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13856
13857         * text2.C: remove some dead code
13858
13859         * tabular.C (GetCellInset): store the last cell checked (gotten)
13860
13861         * tabular.h: add the helper for the speedup
13862
13863         * lyxtext.h: remove some dead code
13864
13865 2001-06-26  The LyX Project  <Asger>
13866
13867         * paragraph.C: Change export to LaTeX of alignment to
13868         \begin{center} and family for better roundtrip work with reLyX.
13869
13870         * Tune the math drawing a bit.
13871
13872 2001-06-25  The LyX Project  <Asger>
13873
13874         * LColor.C (LColor): New color for math background. New color
13875         for buttons.
13876
13877 2001-06-25  The LyX Project  <jug@sad.it>
13878
13879         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13880
13881         * lyxfunc.C (Open):
13882         * bufferlist.C (newFile): do not restrict to files ending with
13883         .lyx
13884
13885         * BufferView_pimpl.C (MenuInsertLyXFile):
13886
13887 2001-06-24  The LyX Project  <jug@sad.it>
13888
13889         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13890         of compare_no_case
13891
13892 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13893
13894         * lyxtext.h: rename most methods to begin with a small char.
13895         Lots of changes because of this.
13896
13897         * paragraph.C (Paragraph): do not call fitToSize
13898         (erase): call Pimpl::erase
13899         (insertChar): call Pimpl::insertChar
13900         (insertInset): call Pipl::insertInset
13901         (breakParagraph): do not call fitToSize
13902         (breakParagraphConservative): do not call fitToSize
13903         (fitToSize): remove method
13904
13905         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13906
13907 2001-06-24  The LyX Project  <Asger>
13908
13909         * Fix Qt compilation^2
13910
13911 2001-06-24  The LyX Project  <jug@sad.it>
13912
13913         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13914         depthHook(getDepth()-1).
13915
13916         * paragraph.h:
13917         * ParagraphParameters.h:
13918         * ParameterStruct.h: change type of depth to unsigned int ==
13919         depth_type. Many adaptations to other files before of that.
13920
13921 2001-06-24  The LyX Project  <Asger>
13922
13923         * Fix Qt compilation.
13924
13925 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13926
13927         * paragraph.h: renamed several methods to begin with small letter.
13928         several changes to many parts of the code because of this.
13929
13930 2001-06-23  The LyX Project  <jug@sad.it>
13931
13932         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13933         rewritten to discard all double spaces when KeepEmpty is off
13934         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13935         to only handle newlines but not fiddle with spaces and friends.
13936
13937         * lyxfunc.C (MenuNew): when doing 'new from template', use
13938         template_path as default directory
13939
13940 2001-06-23  The LyX Project  <Asger>
13941
13942         * Clean-up of header file includes all over
13943         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13944
13945 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13946
13947         * paragraph.h: renamed from lyxparagraph.h
13948
13949 2001-06-23  Asger  <lyx@violet.home.sad.it>
13950
13951         * Buffer.h: Removed Buffer::resize
13952         * BufferList.h: Removed BufferList::resize
13953         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13954         the document lazily when we change the width, or the font settings.
13955
13956 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13957
13958         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13959
13960 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13961
13962         * buffer.h: remove out of date comment
13963
13964 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13965
13966         * lyxscreen.h:
13967         * screen.C: fix "theoretical" GC leak
13968
13969 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13970
13971         * LaTeX.C (scanAuxFile):
13972         (deplog): remove trailing \r when reading stream (useful under
13973         win32)
13974
13975 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13976
13977         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13978         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13979         and BufferView::theLockingInset(Inset*), so should use them and not
13980         access bv_->text->the_locking_inset directly.
13981
13982         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13983
13984 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13985
13986         * Makefile.am:
13987         * tex-defs.h: remove old unused file
13988
13989 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13990
13991         * BufferView_pimpl.C: fix typo, remove minibuffer message
13992           when buffer has loaded
13993
13994 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13995
13996         * lyxfunc.C (Dispatch): use stringstream
13997         (MenuNew): use stringstream
13998         (Open): use stringstream
13999
14000         * importer.C (Import): use stringstream
14001
14002         * bufferview_funcs.C (CurrentState): use stringstream
14003
14004         * LaTeX.C (run): use stringstream
14005
14006         * BufferView_pimpl.C (savePosition): use stringstream
14007         (restorePosition): use stringstream
14008         (MenuInsertLyXFile): use stringstream
14009
14010 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14011
14012         * BufferView.C:
14013         * Bullet.C:
14014         * ColorHandler.C:
14015         * FontInfo.C:
14016         * FontLoader.C:
14017         * LColor.C:
14018         * LaTeXFeatures.C:
14019         * Painter.C:
14020         * gettext.C:
14021         * lyx_gui_misc.C:
14022         * lyxserver.C:
14023         * vspace.C: removed // -*- C++ -*- as first line.
14024
14025         * lyxfind.h:
14026         * version.h: added // -*- C++ -*- as first line.
14027
14028 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14029
14030         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14031
14032         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14033         of string
14034
14035 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14036
14037         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14038         of floats.
14039
14040 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14041
14042         * gettext.C: include LString.h even when --disable-nls is on.
14043
14044 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14045
14046         * converter.h (Get): changed argument type from int to
14047         FormatList::size_type to avoid unnecessary conversion.
14048
14049         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14050         before using it.
14051
14052 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14053
14054         * gettext.h: include LString.h even when --disable-nls is on.
14055
14056 2001-06-07  Juergen Vigna  <jug@sad.it>
14057
14058         * text.C (BreakAgain): subst spaces with tabs.
14059
14060         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14061         (resizeInsetsLyXText): set force on resizeLyXText.
14062
14063 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14064
14065         * gettext.h (gettext_init):
14066         (locale_init): use a real definition instead of a macro
14067
14068 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14069
14070         * Bufferview_pimpl.C:
14071         * LColor.h:
14072         * LColor.C: further lcolor tidies
14073
14074 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14075
14076         * BufferView_pimpl.C (updateScrollbar): simplify.
14077
14078         * BufferView2.C: don't include insets/insetinfo.h, change
14079         prototype for insertInset and call the Pimpl version. let
14080         updateInset call Pimpl version.
14081
14082         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14083         gotoInset to BufferView::Pimpl
14084
14085 2001-06-01  Juergen Vigna  <jug@sad.it>
14086
14087         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14088         inside a LockingInset (is the update needed at all?).
14089
14090 2001-05-31  Juergen Vigna  <jug@sad.it>
14091
14092         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14093         here not the old one otherwise how should we compare it afterwards
14094         if it's the same!
14095
14096 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14097
14098         * lyxfont.C:
14099         * tabular.C:
14100         * tabular-old.C:
14101         * FontInfo.C: bring C functions into global namespace when
14102         necessary
14103
14104 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14105
14106         * LString.h: make sure config.h has been loaded before LString.h.
14107
14108         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14109         (one for each char read by EatLine!).
14110
14111         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14112         variables.
14113
14114 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14115
14116         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14117         to the same as the par we break from
14118
14119 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14120
14121         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14122
14123         * MenuBackend.C (expand): also create menu entries for wide
14124         versions of the floats.
14125
14126         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14127
14128         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14129
14130         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14131         frontends/Makefile.am
14132
14133         * text2.C: adjust
14134         * text.C: adjust
14135
14136
14137         * tabular.C (getTokenValue): add std::
14138
14139         * tabular-old.C (getTokenValue): add std::
14140         (getTokenValue): ditto
14141         (getTokenValue): ditto
14142
14143         * screen.C (ToggleSelection): adjust
14144
14145         * lyxtext.h: put selection cursors inside a Selection struct.
14146
14147         * lyxfunc.C (moveCursorUpdate): adjust
14148
14149         * lyxfont.C (latexWriteStartChanges): add std::
14150
14151         * lyxfind.C: adjust
14152
14153         * font.h: delete with(char const *, LyXFont const &)
14154
14155         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14156
14157         * FontInfo.C (getFontname): add std::
14158
14159         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14160         (workAreaButtonPress): adjust
14161         (tripleClick): adjust
14162         (update): adjust
14163         (moveCursorUpdate): adjust
14164         (Dispatch): adjust
14165
14166         * BufferView2.C (gotoInset): adjust
14167
14168 2001-05-30  Juergen Vigna  <jug@sad.it>
14169
14170         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14171         to check pspell I add this as default as I now have new pspell
14172         libraries and they seem to use this.
14173
14174 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14175
14176         * text2.C (CutSelection): make the cursor valid before the call to
14177         ClearSelection.
14178
14179 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14180
14181         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14182         relied on 0 terminated strings and other horrors. Bug found due to
14183         the new assert in lyxstring!
14184
14185         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14186         KP_ keys.
14187
14188 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14189
14190         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14191         to latinkeys.bind.
14192
14193         * lyxfunc.C (processKeySym): change method of getting to the
14194         self-insert char.
14195
14196         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14197         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14198         * BufferView_pimpl.[Ch]: here as private methods.
14199
14200 2001-05-28  Juergen Vigna  <jug@sad.it>
14201
14202         * text.C (SetHeightOfRow): added the update() call again as it is
14203         needed to initialize inset dimensions!
14204
14205 2001-05-16  Juergen Vigna  <jug@sad.it>
14206
14207         * text2.C (SetCharFont): Add new function with BufferView * and
14208         bool toggleall parameters for setting insets internal fonts.
14209         (SetFont): Freeze the undo as we may change fonts in Insets and
14210         all this change should be inside only one Undo!
14211
14212         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14213         setting font's in insets as for them we have the SetFont function!
14214
14215 2001-05-15  Juergen Vigna  <jug@sad.it>
14216
14217         * text2.C (ClearSelection): to be sure we REALLY don't have any
14218         selection anymore!
14219
14220         * tabular.C (TeXCellPreamble): fixed the left border problem for
14221         multicolumn cells.
14222
14223 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14224
14225         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14226         dependancy file
14227
14228 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14229
14230         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14231         LFUN_BREAKPARAGRAPH.
14232
14233         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14234         help test to "internal only", similar for LFUN_INSERT_URL
14235
14236         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14237         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14238         auto_region_delete and deadkeys.
14239
14240 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14241
14242         * LColor.h:
14243         * LColor.C: remove some dead entries, tidy a little
14244
14245 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14246
14247         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14248         commented code.
14249         (Dispatch): implement LFUN_ESCAPE
14250
14251         * commandtags.h: add LFUN_ESCAPE
14252
14253         * LyXAction.C (init): add entry for LFUN_ESCAPE
14254
14255         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14256         Remove commented code.
14257         (insertNote): moved here
14258         (open_new_inset): moved here
14259
14260         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14261         BufferView_pimpl
14262
14263 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14264
14265         * kbmap.C (findbinding): clean it up and make it work correctly.
14266
14267         * lyx_main.C (init): do not pass argc and argv as parameters
14268
14269 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14270
14271         * buffer.C: fix path for OS/2 & Win32
14272
14273         * lyx_gui.C:
14274         * lyx_main:
14275         * lyx_main.C: Added os:: class.
14276
14277         * os2_defines.h: update
14278
14279 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14280
14281         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14282         better by trying again with reduced state.
14283
14284 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14285
14286         * lyxrc.C (read): print error about invalid key sequence only when
14287         debugging (because not all latinX keysyms are known to some X
14288         servers)
14289
14290         * kbsequence.C (getiso): add a few std:: qualifiers
14291         (getiso): comment out extra return statement.
14292
14293 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14294
14295         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14296         handling.
14297         (Dispatch): enhance the accent inset a bit. (not perfect)
14298
14299 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14300
14301         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14302
14303 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14304
14305         * bufferlist.C (emergencyWrite): fix assert() call
14306
14307 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14308
14309         * text.C (InsertChar): Added trivial patch to only send the "you
14310         can not do multiple spaces this way" message once during a
14311         session.
14312
14313 2001-05-08  Baruch Even  <baruch@lyx.org>
14314
14315         * Makefile.am: Changed order of libraries to get LyX to link properly
14316         with the gnome frontend.
14317
14318 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14319
14320         * LaTeXFeatures.h: add a std:: qualifier
14321
14322 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14323
14324         * paragraph.C (String): use stringstream
14325
14326 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14327
14328         * paragraph.C (writeFile): remove footflag arg
14329
14330         * buffer.C (makeLaTeXFile): use stringstream
14331         (latexParagraphs): remove footnot gurba
14332
14333         * LaTeXFeatures.C (getPackages): use stringstream
14334         (getMacros): likewise
14335         (getTClassPreamble): likewise
14336         (getFloatDefinitions): new method
14337
14338         * paragraph.C (writeFile): reindent
14339         (Erase): reindent
14340
14341         * WorkArea.h: revert the xpos + etc changes.
14342
14343         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14344
14345         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14346
14347         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14348         (pasteSelection): likewise
14349         * text2.C (CreateUndo): likewise
14350
14351 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14352
14353         * minibuffer.C (peek_event): temporarily reduce the functionality
14354         of the minibuffer (to allow args on lfuns)
14355
14356         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14357         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14358
14359         * buffer.C (readInset): add compability reading of old float
14360         lists, add reading of new style float list.
14361         (readInset): avoid reevaluation of inscmd.getCmdName()
14362         (getLists): reindent
14363
14364         * MenuBackend.C (MenuItem): implement parsing of
14365         md_floatlistinsert and md_floatinsert.
14366         (expand::LastFiles): move initalizaton of iterators out of loop,
14367         avoid reevaluation.
14368         (expand::Documents): introduce typdedef vector<string> Strings,
14369         and use it.
14370         (expand::ExportFormats): introduce typedef vector<Format const *>
14371         Formats, and use it.
14372         (expand): implement FloatListInsert and FloatInsert.
14373
14374         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14375         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14376         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14377
14378         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14379         handling.
14380         (Dispatch::LFUN_FLOAT_LIST): implement
14381
14382 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14383
14384         * LaTeX.C (run): Fix problem with --export code.
14385
14386 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14387
14388         * BufferView.[Ch] (workarea): removed.
14389         (getClipboard) new method; wrapper for workarea()->getClipboard()
14390
14391         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14392         bug.
14393
14394         * WorkArea.h (width, height, xpos, ypos): These methods all
14395         returned the dimensions of the work_area sub-area of WorkArea,
14396         resulting in a position error if the WorkArea were resized. Now
14397         return the dimensions of the entire WorkArea.
14398
14399         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14400
14401 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14402
14403         * LaTeX.C (deplog): correct the syntax of regex reg1
14404
14405 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14406
14407         * undo.C: remove !NEW_INSETS cruft
14408
14409 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14410
14411         * text2.C: remove !NEW_INSETS cruft
14412
14413         * text.C: remove !NEW_INSETS cruft
14414
14415         * tabular.C: remove !NEW_INSETS cruft
14416
14417         * spellchecker.C: remove !NEW_INSETS cruft
14418
14419         * lyxtext.h: remove !NEW_INSETS cruft
14420
14421         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14422
14423         * lyxfunc.C: remove !NEW_INSETS cruft
14424
14425         * lyxfind.C: remove !NEW_INSETS cruft
14426
14427         * lyx_cb.C: remove !NEW_INSETS cruft
14428
14429         * figureForm.C: remove  !NEW_INSETS cruft
14430
14431         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14432
14433         * buffer.[Ch]: remove !NEW_INSETS cruft
14434
14435         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14436
14437         * CutAndPaste.C: remove !NEW_INSETS cruft
14438
14439         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14440
14441         * BufferView2.C: remove !NEW_INSETS cruft
14442
14443         * BufferView.h: remove !NEW_INSETS cruft
14444
14445 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14446
14447         * Lsstream.h: include LString.h before the sstream headers to
14448         fix problem with gcc 2.95.3 and lyxstring
14449
14450 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14451
14452         * lyx_main.C: add using directives when needed for C functions
14453         declared in std:: namespace.
14454
14455 2001-04-27  Juergen Vigna  <jug@sad.it>
14456
14457         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14458         (SetHeightOfRow): comment out the update call should not be needed!
14459
14460 2001-04-13  Juergen Vigna  <jug@sad.it>
14461
14462         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14463         (LyXTabular): tried to minimize operator= operations (and realized
14464         hopfully Lars wish).
14465
14466 2001-04-27  Juergen Vigna  <jug@sad.it>
14467
14468         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14469
14470 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14471
14472         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14473
14474         * buffer.C (readInset): hack to make listof algorithm work
14475
14476         * BufferView_pimpl.C: hack to make listof algorithm work
14477
14478 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14479
14480         * LyXAction.C: removed all !NEW_INSETS cruft
14481         (init): moved lfun_item in method
14482
14483         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14484
14485 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14486
14487         * BufferView2.C (theLockingInset): white space.
14488
14489 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14490
14491         * minibuffer.C: include <iostream>
14492
14493         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14494
14495         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14496
14497         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14498
14499         * text.[Ch] (TransposeChars): new method
14500
14501 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14502
14503         * call message directly through LyXView instead of through LyXFunc
14504         * BufferView2.C: adjust
14505         * BufferView_pimpl.C: adjust
14506         * FontLoader.C: adjust
14507         * buffer.C: adjust
14508         * bufferview_funcs.C: adjust
14509         * converter.C: adjust
14510         * figureForm.C: adjust
14511         * importer.C: adjust
14512         * lyx_cb.C: adjust
14513         * lyx_gui_misc.C: adjust
14514         * lyxfunc.C: adjust
14515         * lyxvc.C: adjust
14516         * text2.C: adjust
14517         + more files in subdirs
14518
14519         * lyxparagraph.h (size): move up int file
14520         (GetLayout): ditto
14521
14522         * adjust all uses of Assert to lyx::Assert.
14523
14524         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14525         lyxfunctional in namespace lyx
14526         * layout.C (hasLayout): ditto
14527         (GetLayout): ditto
14528         (GetLayout): ditto
14529         (delete_layout): ditto
14530         (NumberOfClass): ditto
14531         * converter.C (GetFormat): ditto
14532         (GetNumber): ditto
14533         (Add): ditto
14534         (Delete): ditto
14535         (SetViewer): ditto
14536         * bufferlist.C (getFileNames): ditto
14537         (emergencyWriteAll): ditto
14538         (exists): ditto
14539         (getBuffer): ditto
14540         * MenuBackend.C (hasSubmenu): ditto
14541         (hasMenu): ditto
14542         (getMenu): ditto
14543         * BufferView_pimpl.C (getInsetByCode): ditto
14544
14545 2001-04-18  Juergen Vigna  <jug@sad.it>
14546
14547         * vspace.C (asLatexString): fixed the 100% problem.
14548
14549 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14550
14551         * lyxfunc.C (Dispatch):
14552         * minibuffer.C:
14553         * minibuffer.h: add a few std:: qualifiers
14554
14555 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14556
14557         * minibuffer.[Ch]: reimplement so that commands is initiated and
14558         run from lyxfunc, simplified som handling, and made the completion
14559         and history code for complete. wip.
14560
14561         * lyxfunc.C (processKeySym): call message
14562         (miniDispatch): new temporary method
14563         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14564         (LFUN_MESSAGE): implement
14565         (LFUN_MESSAGE_PUSH): implement
14566         (LFUN_MESSAGE_POP): implement
14567         (initMiniBuffer): the initial/defualt minibuffer message.
14568
14569         * lyxfont.[Ch]: inline some more getters
14570
14571         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14572
14573         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14574
14575         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14576         (AutoSave): use LFUN_MESSAGE
14577         (Reconfigure): ditto
14578
14579         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14580
14581         * figureForm.C: use LFUN_MESSAGE
14582
14583         * converter.C (runLaTeX): use LFUN_MESSAGE
14584
14585         * bufferview_funcs.C: use LFUN_MESSAGE
14586         (Melt): ditto
14587         (changeDepth): ditto
14588
14589         * bufferparams.h: use boost::
14590
14591         * bufferlist.h: inherit privately from noncopyable
14592
14593         * bufferlist.C (loadLyXFile): remove some commented code.
14594
14595         * buffer.C (runChktex): use LFUN_MESSAGE
14596
14597         * ShareContainer.h: inherit privately from noncopyable
14598
14599         * ParagraphParameters.[hC] (depth): inline it.
14600
14601         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14602         methods.
14603         (message): new method
14604         (messagePush): ditto
14605         (messagePop): ditto
14606         (show): init minibuffer
14607         (showState): direct call
14608
14609         * LaTeX.[Ch]: inherit privately from noncopyable
14610         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14611         instead of WriteStatus.
14612
14613         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14614
14615         * BufferView_pimpl.C (buffer): don't init minibuffer
14616         (workAreaButtonPress): use LFUN_MESSAGE
14617         (workAreaButtonRelease): ditto
14618         (savePosition): ditto
14619         (restorePosition): ditto
14620         (MenuInsertLyXFile): ditto
14621         (workAreaExpose): don't init minibuffer
14622         (update): remove commented code, simplify
14623
14624         * BufferView2.C (openStuff): use LFUN_MESSAGE
14625         (toggleFloat): ditto
14626         (menuUndo): ditto
14627         (menuRedo): ditto
14628         (copyEnvironment): ditto
14629         (pasteEnvironment): ditto
14630         (copy): ditto
14631         (cut): ditto
14632         (paste): ditto
14633         (gotoInset): ditto
14634         (updateInset): remove some commented code
14635
14636         * lastfiles.h: inherit privately from noncopyable
14637         * layout.h: ditto
14638         * lyx_gui.h: ditto
14639         * lyx_main.h: ditto
14640         * lyxlex.h: ditto
14641         * lyxlex_pimpl.h: ditto
14642
14643         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14644         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14645         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14646
14647         * LyXAction.h: inherit privately from noncopyable, add methods
14648         func_begin, func_end, returning iterators to the func map.
14649
14650         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14651         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14652         (func_begin): new method
14653         (func_end): new method
14654
14655         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14656         and not)
14657         (copySelection): ditto
14658         (pasteSelection): ditto
14659
14660         * BufferView.C: whitespace change
14661         * BufferView.h: inherit privately from noncopyable
14662
14663 2001-04-16  Allan Rae  <rae@lyx.org>
14664
14665         * tabular-old.C (l_getline):
14666         * spellchecker.C (sc_check_word):
14667         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14668         an unrecognised preprocessor directive.  So ensure they're wrapped.
14669
14670 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14671
14672         * src/exporter.C (Export): Give an error message when path to file
14673         contains spaces.
14674
14675 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14676
14677         * LaTeX.C (deplog): Always check that foundfile exists.
14678
14679 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14680
14681         * lyx_main.h:
14682         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14683
14684 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14685
14686         * tabular.[Ch] (getLabelList): implement new method
14687
14688         * minibuffer.h: comment ouf setTiimer
14689
14690         * minibuffer.C (ExecutingCB): constify res
14691         (peek_event): constify s
14692         (Set): constify ntext
14693         (Init): constify nicename
14694
14695         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14696
14697         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14698         (savePosition): use two params to Minibuffer::Set
14699         (restorePosition): ditto
14700
14701 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14702
14703         * lyx_main.C: include language.h
14704
14705         * Makefile.am (lyx_main.o): add language.h
14706
14707 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14708
14709         * exporter.C:
14710         * paragraph.C:
14711         * screen.C:
14712         * tabular.C:
14713         * CutAndPaste.C: include gettext.h
14714
14715         * lyxfont.h: remove old hack with ON and OFF.
14716
14717         * lyxparagraph.h:
14718         * lyxfont.h: do not include language.h...
14719
14720         * BufferView2.C:
14721         * LaTeXFeatures.C:
14722         * Painter.C:
14723         * bufferview_funcs.C:
14724         * font.C:
14725         * lyxfont.C:
14726         * text.C:
14727         * text2.C:
14728         * trans_mgr.C:
14729         * paragraph.C: ... but do it here instead
14730
14731 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14732
14733         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14734
14735         * tabular.C: small reformat
14736
14737         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14738         NEW_INSETS version
14739         (GetChar): ditto
14740         (BreakParagraph): ditto
14741         (SetOnlyLayout): ditto
14742         (SetLayout): ditto
14743
14744         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14745         with one arg less.
14746
14747         * lastfiles.C: removed most using decl, add std:: where needed
14748
14749         * buffer.C: ws changes
14750
14751         * MenuBackend.C (class compare_format): put into anon namespace
14752         (expand): constify label, names, action, action2
14753         (expand):
14754
14755         * text.C (SingleWidth): constify font
14756         (IsBoundary): constify rtl2
14757         (GetVisibleRow): constify ww
14758
14759         * LaTeX.C (deplog): constify logfile
14760
14761         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14762         start_x, end_x
14763         (workAreaExpose): constify widthChange, heightChange
14764
14765         * lyxrow.C (par): moved
14766         (height): moved
14767         (next): moved
14768         * lyxrow.h: as inlines here
14769
14770         * lyxfont.h (shape): moved from lyxfont.C
14771         (emph): moved from lyxfont.C
14772
14773         * lyxfont.C (LyXFont): use initialization list for all
14774         constructors
14775         (shape): move to lyxfont.h as inline
14776         (emph): move to lyxfont.h as inline
14777
14778
14779 2001-04-04  Juergen Vigna  <jug@sad.it>
14780
14781         * vspace.C: had to include stdio.h for use of sscanf
14782
14783 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14784
14785         * BufferView.h:
14786         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14787         independent of xforms.
14788
14789 2001-04-02  Juergen Vigna  <jug@sad.it>
14790
14791         * spellchecker.C: fixed namespace placing!
14792
14793 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14794
14795         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14796         the LyXParagraph * is 0.
14797
14798 2001-03-29  Juergen Vigna  <jug@sad.it>
14799
14800         * vspace.C: added support for %, c%, p%, l%.
14801         (stringFromUnit): added helper function.
14802         (asLatexString): changed to give right results for the %-values.
14803
14804         * buffer.C: convert the widthp in a width%.
14805
14806 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14807
14808         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14809         figureForm.[Ch].
14810
14811         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14812         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14813
14814         * lyx_cb.[Ch]: see above.
14815
14816         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14817         form1.[Ch].
14818
14819         * form1.[Ch]:
14820         * lyx.[Ch]: replaced by figure_form.[Ch].
14821
14822         * lyx_gui.C:
14823         * lyx_gui_misc.C:
14824         * lyxfunc.C: changed headers associated with above changes.
14825
14826 2001-03-27  Juergen Vigna  <jug@sad.it>
14827
14828         * BufferView_pimpl.C: set the temporary cursor right!
14829
14830 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14831
14832         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14833
14834 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14835
14836         * LString.h: removed "using std::getline"!
14837
14838         * BufferView_pimpl.C (Dispatch): changes due to changes in
14839         InsetInclude::Params.
14840
14841         * buffer.C (tag_name): removed redundant break statements as they were
14842         producing lots of warnings with my compiler.
14843
14844 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14845
14846         * LString.h: add "using std::getline" when using the real <string>.
14847
14848 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14849
14850         * buffer.C: removed bitset usage.
14851         PAR_TAG moved to an anonymous name space.
14852         (tag_name): new funtion, also in the anonymous namespace.
14853         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14854         (makeDocBookFile): clean code. Completed transition from string arrays
14855         to string vectors.
14856         (SimpleDocBookOnePar): code clean.
14857
14858 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14859
14860         * tabular.C: add some comments.
14861
14862 2001-03-22  Juergen Vigna  <jug@sad.it>
14863
14864         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14865         compatibility read a bit and fixed bug with minipage in different
14866         depth.
14867
14868 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14869
14870         * buffer.C (pop_tag): removed.
14871         (push_tag): removed.
14872         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14873         array replaced with vector. Added support for CDATA sections.
14874         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14875         at any nest level.
14876         (makeDocBookFile): XML conformant declaration of CDATA section,
14877         fixed bug related to <emphasis> in the first paragraph char.
14878         (sgmlOpenTag): exclude empty tags.
14879         (sgmlCloseTag): ditto.
14880
14881         * buffer.h (pop_tag): removed.
14882         (push_tag): removed.
14883
14884 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14885
14886         * language.h (Languages): added size_type and size().
14887
14888 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14889
14890         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14891         response on compability reading of minipages. One probliem is that
14892         the old usage of minipages was «flertydig»
14893
14894         * several files here and in subdirs: don't use static at file
14895         scope use anon namespaces instead.
14896
14897 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14898
14899         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14900         LaTeX output. This is necessary for Literate document
14901         processing.
14902
14903 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14904
14905         * buffer.C: insert hfill when needed.
14906
14907         * tabular.C (l_getline): use string::erase, small whitespace change.
14908
14909         * BufferView_pimpl.C: try the anon namespace.
14910         * WorkArea.C: ditto
14911
14912 2001-03-16  Juergen Vigna  <jug@sad.it>
14913
14914         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14915         otherwise it won't open options-dialogs.
14916
14917         * buffer.C: honor pextraWidth(p) on converting minipages.
14918
14919         * tabular.C (l_getline): changed the functions to strip trailing \r.
14920
14921 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14922
14923         * BufferView_pimpl.C:
14924         * minibuffer..C: added "using SigC::slot" declaration.
14925
14926 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14927
14928         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14929
14930         * text2.C: ditto
14931
14932         * text.C: ditto
14933
14934         * paragraph.C: ditto
14935
14936         * lyxtext.h: NO_PEXTRA
14937
14938         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14939
14940         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14941         * ParameterStruct.h: ditto
14942         * ParagraphParameters.h: ditto
14943         * lyxparagraph.h: ditto
14944
14945 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14946
14947         * buffer.C: add compability for minipage alignment.
14948         (latexParagraphs): remove unwanted pextra check.
14949
14950         * several files: remove CXX_WORKING_NAMESPACES
14951
14952         * buffer.C (pop_tag): tie is in namespace boost
14953
14954         * BufferView.h: noncopyable is in namespace boost
14955         * lyxlex.h: ditto
14956         * lyx_main.h: ditto
14957         * lyx_gui.h: ditto
14958         * layout.h: ditto
14959         * lastfiles.h: ditto
14960         * bufferlist.h: ditto
14961         * ShareContainer.h: ditto
14962         * LyXView.h: ditto
14963         * LyXAction.h: ditto
14964         * LaTeX.h: ditto
14965
14966 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14967
14968         * Merging changes from BRANCH_MVC back into HEAD.
14969
14970         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14971
14972 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14973
14974         * BufferView_pimpl.C: change from intl.C
14975
14976         * combox.h:
14977         * combox.C:
14978         * Makefile.am: move combox.*
14979
14980         * form1.h:
14981         * form1.C:
14982         * lyx_gui.C:
14983         * intl.h:
14984         * intl.C: remove dialog (covered by prefs)
14985
14986 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14987
14988         * lyxfunc.C (Dispatch): removed redundant break statement.
14989
14990 2001-03-14  Juergen Vigna  <jug@sad.it>
14991
14992         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14993
14994 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14995
14996         * buffer.C: add hack to fix compability reading of minipages.
14997
14998 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14999
15000         * buffer.C (getLists): Cleanup.
15001
15002 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15003
15004         * lyxfont.C (update): don't honor toggleall on font size.
15005
15006 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15007
15008         * bmtable.c:
15009         * bmtable.h:
15010         * Makefile.am: moved to frontends/xforms/
15011
15012         * lyx_gui_misc.C:
15013         * lyxfunc.C:
15014         * BufferView_pimpl.C: changes for moved mathpanel
15015
15016 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15017
15018         * gettext.h: fix gettext_init() in --disable-nls
15019
15020 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15021
15022         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15023
15024 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15025
15026         * lyx.C:
15027         * lyx.h: strip external form
15028
15029 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15030
15031         * BufferView_pimpl.C: add comment, destroySplash()
15032
15033 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15034
15035         * BufferView_pimpl.C:
15036         * LyXAction.C:
15037         * buffer.C:
15038         * commandtags.h:
15039         * lyxfunc.C: use re-worked insetinclude
15040
15041 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15042
15043         * buffer.C: add using std::stringstream.
15044
15045         * lyx_cb.C: readd using std::ios.
15046
15047         * buffer.C: add using std::map.
15048
15049         * BufferView_pimpl.C: add using std::vector.
15050
15051         * ShareContainer.h: add std:: to swap.
15052
15053         * buffer.h: add some typedefs
15054         * buffer.C (getLists): use them
15055         (getLists): renamed from getTocList.
15056         add a counter for the different float types and use it in the
15057         generated string.
15058         (getLists): use the same counter for the NEW_INSETS and the "non"
15059         NEW_INSETS
15060
15061         * lyx_cb.h: remove unused items, includes, using etc.
15062
15063         * ShareContainer.h: remove some commented code, add more comments
15064         and "documentation".
15065
15066 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15067
15068         * buffer.C (getTocList): make the list also when NEW_INSETS is
15069         defined.
15070
15071         * buffer.h: remove TocType
15072
15073         * buffer.C (getTocList): change to return a map<string,
15074         vector<TocItem> >, implement for dynamic number of list.
15075
15076         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15077         * text2.C (PasteSelection): adjust
15078         * CutAndPaste.C (pasteSelection): adjust
15079
15080         * FloatList.C (FloatList): update from the new_insets branch.
15081         * Floating.[Ch]: ditto
15082         * LaTeXFeatures.C: ditto
15083         * buffer.C: ditto
15084         * lyxlex_pimpl.C: ditto
15085
15086         * paragraph.C (Last): remove when NEW_INSETS is defined.
15087
15088         * other file: changes because of the above.
15089
15090 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15091
15092         * lyxparagraph.h: rename next to next_, previous to previous_,
15093         make them private for NEW_INSETS. Rename Next() to next(),
15094         Previous() to previous().
15095
15096         * other files: changes because of the above.
15097
15098 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15099
15100         * BufferView.h:
15101         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15102         problem.
15103
15104 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15105
15106         * main.C (main): pass lyx_localedir to gettext_init().
15107
15108         * gettext.h: remove locale_init and gettext_init macros
15109
15110         * gettext.C (locale_init): new function
15111         (gettext_init): new function
15112
15113         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15114         setlocale().
15115
15116 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15117
15118         * Moved credits to frontends:
15119         * credits.[Ch]: removed
15120         * credits_form.[Ch]: removed
15121         * lyx_gui_misc.C: remove credits stuff
15122         * Makefile.am:
15123
15124 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15125
15126         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15127
15128         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15129         unneeded destructor.
15130
15131         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15132         a standalone pointer again.
15133
15134         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15135
15136 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15137
15138         * Makefile.am:
15139         * filedlg.h:
15140         * filedlg.C:
15141         * LyXAction.C:
15142         * ToolbarDefaults.C:
15143         * bufferlist.C:
15144         * commandtags.h:
15145         * form1.C:
15146         * form1.h:
15147         * lyx_cb.C:
15148         * lyx_cb.h:
15149         * lyxfunc.h:
15150         * lyxfunc.C:
15151         * BufferView_pimpl.C: use new file dialog in GUII
15152
15153         * lyx_cb.h:
15154         * lyx_cb.C: remove LayoutsCB to Toolbar
15155
15156 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15157
15158         * ShareContainer.h (get): add std:: qualifier
15159
15160 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15161
15162         * ShareContainer.h: define a proper ShareContainer::value_type
15163         type (and use typename to please compaq cxx)
15164
15165 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15166
15167         * lyxparagraph.h: move serveral local vars to
15168         ParameterStruct/ParagraphParameters., use ShareContainer in
15169         FontTable., make vars in FontTable private and add getter and
15170         setter.
15171
15172         * paragraph.C: changes because of the above.
15173
15174         * lyxfont.h: remove copy constructor and copy assignment. (the
15175         default ones is ok), move number inside FontBits. move inlines to
15176         lyxfont.C
15177
15178         * lyxfont.C: add number to initializaton of statics, move several
15179         inlines here. constify several local vars. some whitespace
15180         cleanup. Dont hide outerscope variables.
15181
15182         * Spacing.h: add two new constructors to match the set methods.
15183
15184         * ShareContainer.h: new file, will perhaps be moved to support
15185
15186         * ParameterStruct.h: new file
15187
15188         * ParagraphParameters.h: new file
15189
15190         * ParagraphParameters.C: new file
15191
15192         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15193         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15194
15195         * BufferView_pimpl.C: ParagraphParameter changes.
15196         * buffer.C: Likewise.
15197         * bufferview_funcs.C: Likewise.
15198         * text.C: Likewise.
15199         * text2.C: Likewise.
15200
15201 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15202
15203         * lyxfind.C (LyXReplace): do not redefine default argument in
15204         implementation.
15205         (IsStringInText): ditto
15206         (SearchForward): ditto
15207         (SearchBackward): ditto
15208
15209 2001-03-06  Juergen Vigna  <jug@sad.it>
15210
15211         * lyxfind.C (IsStringInText): put parentes around expressions.
15212
15213 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15214
15215         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15216
15217 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15218
15219         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15220
15221         * stl_string_fwd.h: add comment
15222
15223         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15224
15225         * tabular.h:
15226         * tabular.C: remove unused DocBook methods
15227
15228         * intl.C:
15229         * language.C:
15230         * paragraph.C:
15231         * buffer.C:
15232         killed DO_USE_DEFAULT_LANGUAGE
15233
15234 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15235
15236         * lyx_gui.C: do not include language.h.
15237
15238         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15239         arguments in function implementation.
15240
15241 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15242
15243         * BufferView_pimpl.C: add <ctime>
15244
15245 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15246
15247         * BufferView_pimpl.C: add using std::find_if
15248
15249 2001-02-27  José Matos  <jamatos@fep.up.pt>
15250
15251         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15252         by OnlyPath.
15253
15254 2001-02-11  José Matos  <jamatos@fep.up.pt>
15255
15256         * buffer.C (makeDocBookFile): command styles now have a parameter as
15257         "title" by default.
15258
15259 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15260
15261         * layout_forms.[Ch]: removed
15262         * lyx_cb.[Ch]: out character
15263         * lyx_gui.C: out character
15264         * lyx_gui_misc.C: out character
15265         * bufferview_funcs.C: : out character,
15266         added toggleall as parameter in ToggleAndShow
15267
15268 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15269
15270         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15271
15272         * text2.C (SetCurrentFont): Disable number property at boundary.
15273
15274 2001-02-26  Juergen Vigna  <jug@sad.it>
15275
15276         * lyxfunc.C (getStatus): added a string argument override function so
15277         that this is correctly called from LyXFunc::Dispatch if it contains a
15278         do_not_use_argument which is used!
15279         (Dispatch): added check for "custom" export and call appropriate func.
15280
15281 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15282
15283         * lyxrc.C: Add language_command_local, language_use_babel and
15284         language_global_options.
15285
15286         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15287
15288         * buffer.C (makeLaTeXFile): Use language_use_babel and
15289         language_global_options.
15290
15291 2001-02-23  Juergen Vigna  <jug@sad.it>
15292
15293         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15294         which works with LyXText and putted it inside BufferView. Here now we
15295         only call for that part the BufferView::Dispatch() function.
15296
15297         * BufferView.C (Dispatch): added.
15298
15299         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15300         functions which needs to use a LyXText over from LyXFunc.
15301         (MenuInsertLyXFile): added
15302         (getInsetByCode): added
15303         (moveCursorUpdate): added
15304         (static TEXT): added
15305
15306 2001-02-22  Juergen Vigna  <jug@sad.it>
15307
15308         * BufferView_pimpl.C (update): call a status update to see if LyXText
15309         needs it.
15310
15311 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15312
15313         * vc-backend.C (revert): implement for CVS
15314         (getLog): implement for CVS
15315
15316 2001-02-20  Juergen Vigna  <jug@sad.it>
15317
15318         * text2.C (ClearSelection): added BufferView param for inset_owner call
15319
15320         * lyxfunc.C (TEXT): added this function and use it instead of
15321         directly owner->view()-text of getLyXText().
15322
15323 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15324
15325         * src/layout_forms.C: out preamble
15326         * src/layout_forms.h: out preamble
15327         * src/lyx_cb.C: out preamble
15328         * src/lyx_cb.h: out preamble
15329         * src/lyx_gui.C: out preamble
15330         * src/lyx_gui_misc.C: out preamble
15331         * src/lyxfunc.C: connect with guii preamble
15332
15333 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15334
15335         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15336
15337 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15338
15339         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15340         whether to run bibtex.
15341
15342 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15343
15344         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15345
15346 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15347
15348         * Makefile.am (lyx_SOURCES): removed bibforms.h
15349
15350         * vspace.h: doxygen
15351
15352         * text.C (GetVisibleRow): make several local vars const
15353
15354         * tabular.C: small cleanup.
15355
15356         * lyxserver.C (callback): use compare instead of strncmp
15357
15358         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15359         inlines to after class or to paragraph.C
15360
15361         * lyxfont.h: remove friend operator!=
15362
15363         * converter.h: move friend bool operator< to non friend and after
15364         class def.
15365
15366         * combox.h: small cleanup
15367
15368         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15369         to inlines after class def.
15370
15371         * buffer.C (pop_tag): use string operations instead of strcmp
15372
15373         * bmtable.c: doxygen, small cleanup
15374
15375         * LaTeX.h: remove friend operator==
15376
15377 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15378
15379         * screen.C:
15380         * lyxrc.[Ch]:
15381         * lyxfunc.C:
15382         * lyxfont.[Ch]:
15383         * lyx_cb.C:
15384         * intl.[Ch]:
15385         * commandtags.h:
15386         * buffer.C:
15387         * WorkArea.[Ch]:
15388         * LyXAction.C:
15389         * BufferView_pimpl.C:
15390         * BufferView.[Ch]: remove cruft
15391
15392 2001-02-14  Juergen Vigna  <jug@sad.it>
15393
15394         * lyxfunc.C: removed #if 0 unused code
15395
15396         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15397
15398         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15399
15400         * text2.C (SetSelection): added a BufferView * parameter
15401
15402 2001-02-13  Juergen Vigna  <jug@sad.it>
15403
15404         * lyxfunc.C (Dispatch): fixed protected blank problem.
15405         * BufferView2.C (protectedBlank): added LyxText * parameter.
15406
15407         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15408         (AppendColumn): same as above for column_info.
15409
15410         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15411         (moveCursorUpdate): use a LyXText param for support of InsetText.
15412
15413         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15414         (tripleClick): ditto
15415
15416         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15417
15418         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15419
15420         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15421
15422         * text2.C (SetSelection): set correct update status if inset_owner
15423         (ToggleFree): ditto
15424
15425 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15426
15427         * tabular.C: remove some commented code.
15428
15429 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15430
15431         * BufferView_pimpl.C: call hideSplash()
15432
15433         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15434
15435         * include_form.h:
15436         * bibforms.h: remove
15437
15438         * lyxfunc.C:
15439         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15440           add LFUN_CHILD_CREATE
15441
15442         * counters.h: fix tiny typo
15443
15444         * lyx_cb.C:
15445         * lyx.h:
15446         * lyx_gui.C:
15447         * lyx.C: move splash to frontends/xforms/
15448
15449         * lyx_gui_misc.C: move Include and Bibform to frontends
15450
15451         * lyxvc.h: clarify comment
15452
15453         * vspace.C: tiny housekeeping
15454
15455 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15456
15457         * text.C (PrepareToPrint): RTL Fix.
15458
15459         * paragraph.C (GetUChar): New method.
15460         (String):  Use GetUChar.
15461
15462         * buffer.C (asciiParagraph): Use GetUChar.
15463
15464 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15465
15466         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15467
15468 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15469
15470         * buffer.h:
15471         * buffer.C: rename to getLogName(), handle
15472           build log / latex log nicely
15473
15474 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15475
15476         * MenuBackend.C:
15477         * MenuBackend.h: remove support for reference menuitem type.
15478
15479 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15480
15481         * BufferView_pimpl.C: housekeeping
15482         * BufferView_pimpl.h:
15483         * LyXView.h:
15484         * Makefile.am:
15485         * Timeout.C:
15486         * Timeout.h:
15487         * minibuffer.h: move Timeout GUI-I
15488
15489 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15490
15491         * lyxrc.C (read): Update converters data-structures.
15492
15493 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15494
15495         * LaTeX.h (operator!=): add operator != for Aux_Info
15496
15497 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15498
15499         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15500
15501         * LaTeXLog.C: deleted, useful code moved to Buffer
15502
15503         * buffer.h:
15504         * buffer.C: new function getLatexLogName()
15505
15506         * lyx_gui_misc.C:
15507         * lyx_gui.C:
15508         * lyxvc.C:
15509         * lyxvc.h:
15510         * lyxfunc.C: use frontends for LaTeX and VC logs
15511
15512 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15513
15514         * LaTeX.h: yet another std:: that Allan forgot.
15515
15516         * Variables.C (set): renamed from isset(), because this clashes
15517         with some HP-UX macros (grr).
15518
15519 2001-02-06  Allan Rae  <rae@lyx.org>
15520
15521         * LaTeX.h: Another bug fix.  Missing std:: this time.
15522
15523 2001-02-04  Allan Rae  <rae@lyx.org>
15524
15525         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15526         floats problem. I've left it commented out because it's not quite
15527         correct.  It should also test that the current object is a table or
15528         figure inset.  But I haven't gotten around to figuring out how to do
15529         that.  I *think* it'll be something like: "table" == inset.type()
15530
15531         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15532         bool.
15533
15534 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15535
15536         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15537         all the citation/databases/styles in the auxilary file.
15538         (run): Rerun latex if there was a babel language error.
15539
15540 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15541
15542         * text.C (Backspace): Preserve the font when changing newline char
15543         with a space.
15544         (BreakParagraph): If the cursor is before a space, delete the space.
15545
15546         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15547
15548 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15549
15550         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15551         new argument (code).
15552         (ChangeCitationsIfUnique): New method.
15553
15554         * paragraph.C (GetPositionOfInset): Handle bibkey.
15555
15556 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15557
15558         * BufferView_pimpl.h: change type of Position::par_pos to
15559         LyXParagraph::size_type.
15560
15561 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15562
15563         * BufferView_pimpl.C (savePosition, restorePosition): Write
15564         messages to minibuffer.
15565
15566 2001-01-28  José Matos  <jamatos@fep.up.pt>
15567
15568         * buffer.C (makeDocBookFile): adds support for document language.
15569         A silly restriction on the name of LatexCommand types where removed.
15570         Added support for CDATA sections, allows to chars unescaped, used
15571         among others in code, to avoid escape < and >.
15572
15573 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15574
15575         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15576         saved positions instrad of a stack. Furthermore, a position is
15577         stored using paragraph id/paragraph position.
15578
15579         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15580         Remove LFUN_REF_BACK.
15581
15582 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15583
15584         * converter.C (dvipdfm_options): New method.
15585
15586 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15587
15588         * vspace.C (isValidLength): Fix for empty input string.
15589
15590 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15591
15592         * LyXAction.C (init): change description of LFUN_FIGURE to
15593         "Insert Graphics"
15594
15595 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15596
15597         * LaTeX.C: add using directive
15598
15599 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15600
15601         * MenuBackend.C (expand): Fix the sorting of the formats.
15602
15603 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15604
15605         * lyx_main.C: tiny error message fix
15606
15607 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15608
15609         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15610         calling fl_initialize(). This fixes the problem with ',' as
15611         decimal separator in text files.
15612
15613 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15614
15615         * trans.C (process): Fix the keymap bug.
15616
15617 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15618
15619         * LaTeX.C (scanAuxFiles): New method. Provides support for
15620         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15621         (scanLogFile) Scan for "run BibTeX" messages.
15622
15623         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15624         OT1 font encoding. Also, load the aecompl package if the ae
15625         package is loaded.
15626
15627         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15628
15629 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15630
15631         * texrow.C (increasePos): turn two error messages into debug
15632         messages.
15633
15634 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15635
15636         * LaTeX.C (scanAux): Handle the \@input macro.
15637         (runBibTeX): Use scanAux().
15638
15639         * language.C (latex_options_): New field.
15640
15641         * LaTeXFeatures.C (getMacros): Add language macros.
15642
15643         * buffer.C (makeLaTeXFile): Small fix.
15644
15645 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15646
15647         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15648
15649         * text2.C: add a using directive.
15650
15651 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15652
15653         * BufferView2.C:
15654         * lyx_gui_misc.h:
15655         * lyxfr1.C:
15656         * lyxfunc.C: kill LyXBell.
15657
15658 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15659
15660         * text.C (IsBoundary): Remove the error message
15661
15662         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15663
15664         * lyxrc.C (setDefaults): Correct initialization value for
15665         font_norm_type.
15666
15667 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15668
15669         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15670         gotoError().
15671
15672         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15673         and GotoNextNote().
15674
15675         * src/LyXAction.C: Added reference-next.
15676
15677         * text.C (InsertChar): Use contains instead of strchr.
15678
15679         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15680
15681 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15682
15683         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15684         alignment commands (when needed).
15685
15686         * text.C (InsertChar): Add ':' to number separator chars.